window.firstImageLoaded = false; window.muted = true; // TODO: when change to javascript check URL param window.queryString = window.location.search; window.urlParams = new URLSearchParams(queryString); window.anaglyph = false; const anaglyphParam = urlParams.get('anaglyph'); if (anaglyphParam) { window.anaglyph = anaglyphParam === 'yes'; } window.photos = [{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FErYjlnNfL2eT692ORBUMzulrdrq2%2F5347853180338176%2Fexterior-revisedjpg-1708103013930.jpg&uploadType=resumable&upload_id=ABPtcPqpj_2sUBk31GbgGFKYDlYPvCUdtTLLDclvYgYwLa4IFqHSsYUoOgmMr_XsvwMLTvFVrnzq_gyllhazTYpkhwI9YXRENjTxFZHmzHbhxD2B0Q","image_url":"/users/ErYjlnNfL2eT692ORBUMzulrdrq2/5347853180338176/exterior-revisedjpg-1708103013930.jpg","rotation":180.1379307891309,"thumbnail_gcs_filename":"/users/ErYjlnNfL2eT692ORBUMzulrdrq2/5347853180338176/thumb_exterior-revisedjpg-1708103013930.jpg","version":"v4","gcs_filename":"/users/ErYjlnNfL2eT692ORBUMzulrdrq2/5347853180338176/exterior-revisedjpg-1708103013930.jpg","filename":"exterior-revisedjpg-1708103013930.jpg","folder":"/users/ErYjlnNfL2eT692ORBUMzulrdrq2/5347853180338176","thumbnail_image_url":"/users/ErYjlnNfL2eT692ORBUMzulrdrq2/5347853180338176/thumb_exterior-revisedjpg-1708103013930.jpg","is_stereo":false,"photo_type":"360_mono","created_date":"2024-02-16T17:03:33.930Z","updated_date":"2024-02-16T17:03:33.930Z","id":"4883941347557376","sort_order":1,"status":"active","has_anaglyph":false,"index":0,"title":"Photo 1"},{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FErYjlnNfL2eT692ORBUMzulrdrq2%2F5347853180338176%2Fimg2023032308114900mergedjpg-1708119250242.jpg&uploadType=resumable&upload_id=ABPtcPoNNkK-eCofzO7eVOQ6GPXOxCYA0r45xZb5Ug31ckaiaHavdzlQn9TE30DlDR68qE9RRWY_r4rdJlaX7hquTOd08cKt_5AJ1RAh0ezuxSYH","image_url":"/users/ErYjlnNfL2eT692ORBUMzulrdrq2/5347853180338176/img2023032308114900mergedjpg-1708119250242.jpg","rotation":-48.93059570417233,"thumbnail_gcs_filename":"/users/ErYjlnNfL2eT692ORBUMzulrdrq2/5347853180338176/thumb_img2023032308114900mergedjpg-1708119250242.jpg","version":"v4","gcs_filename":"/users/ErYjlnNfL2eT692ORBUMzulrdrq2/5347853180338176/img2023032308114900mergedjpg-1708119250242.jpg","filename":"img2023032308114900mergedjpg-1708119250242.jpg","folder":"/users/ErYjlnNfL2eT692ORBUMzulrdrq2/5347853180338176","thumbnail_image_url":"/users/ErYjlnNfL2eT692ORBUMzulrdrq2/5347853180338176/thumb_img2023032308114900mergedjpg-1708119250242.jpg","is_stereo":false,"photo_type":"360_mono","created_date":"2024-02-16T21:34:10.243Z","updated_date":"2024-02-16T21:34:10.243Z","id":"4785315543777280","sort_order":4,"status":"active","has_anaglyph":false,"index":1,"title":"Photo 2"},{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FErYjlnNfL2eT692ORBUMzulrdrq2%2F5347853180338176%2Fimg2023032308212800mergedjpg-1708119201385.jpg&uploadType=resumable&upload_id=ABPtcPo3k9xRZOBfqVIXivDYmvFCsUtle3qZo2ovHhaurE7anSPWA86tuFppAesOXnC1Pmcdlnr7rg6RD5PWrjCo77n01aS7qsQn0Z0DDONEPTH9","image_url":"/users/ErYjlnNfL2eT692ORBUMzulrdrq2/5347853180338176/img2023032308212800mergedjpg-1708119201385.jpg","rotation":284.4162495029401,"thumbnail_gcs_filename":"/users/ErYjlnNfL2eT692ORBUMzulrdrq2/5347853180338176/thumb_img2023032308212800mergedjpg-1708119201385.jpg","version":"v4","gcs_filename":"/users/ErYjlnNfL2eT692ORBUMzulrdrq2/5347853180338176/img2023032308212800mergedjpg-1708119201385.jpg","filename":"img2023032308212800mergedjpg-1708119201385.jpg","folder":"/users/ErYjlnNfL2eT692ORBUMzulrdrq2/5347853180338176","thumbnail_image_url":"/users/ErYjlnNfL2eT692ORBUMzulrdrq2/5347853180338176/thumb_img2023032308212800mergedjpg-1708119201385.jpg","is_stereo":false,"photo_type":"360_mono","created_date":"2024-02-16T21:33:21.386Z","updated_date":"2024-02-16T21:33:21.386Z","id":"5199487830065152","sort_order":3,"status":"active","has_anaglyph":false,"index":2,"title":"Photo 3"},{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FErYjlnNfL2eT692ORBUMzulrdrq2%2F5347853180338176%2Fimg2023032308230200mergedjpg-1708118967408.jpg&uploadType=resumable&upload_id=ABPtcPqvnbz2xmyWE1IMh58axhN-ae7mImIEPQKv_KVlzjykXtVWpAst9BFfxH37jxiPWJSsW1N7OSqtOnrKq7b8iRN2i7hLUWniL1dETnfgRvfm3Q","image_url":"/users/ErYjlnNfL2eT692ORBUMzulrdrq2/5347853180338176/img2023032308230200mergedjpg-1708118967408.jpg","rotation":0,"thumbnail_gcs_filename":"/users/ErYjlnNfL2eT692ORBUMzulrdrq2/5347853180338176/thumb_img2023032308230200mergedjpg-1708118967408.jpg","version":"v3","gcs_filename":"/users/ErYjlnNfL2eT692ORBUMzulrdrq2/5347853180338176/img2023032308230200mergedjpg-1708118967408.jpg","filename":"img2023032308230200mergedjpg-1708118967408.jpg","folder":"/users/ErYjlnNfL2eT692ORBUMzulrdrq2/5347853180338176","thumbnail_image_url":"/users/ErYjlnNfL2eT692ORBUMzulrdrq2/5347853180338176/thumb_img2023032308230200mergedjpg-1708118967408.jpg","is_stereo":false,"photo_type":"360_mono","created_date":"2024-02-16T21:29:27.408Z","updated_date":"2024-02-16T21:29:27.408Z","sort_order":2,"status":"active","id":"4912225737244672","has_anaglyph":false,"index":3,"title":"Photo 4"}]; console.log('num photos: ' + window.photos.length); window.photosMap = {"4883941347557376":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FErYjlnNfL2eT692ORBUMzulrdrq2%2F5347853180338176%2Fexterior-revisedjpg-1708103013930.jpg&uploadType=resumable&upload_id=ABPtcPqpj_2sUBk31GbgGFKYDlYPvCUdtTLLDclvYgYwLa4IFqHSsYUoOgmMr_XsvwMLTvFVrnzq_gyllhazTYpkhwI9YXRENjTxFZHmzHbhxD2B0Q","image_url":"/users/ErYjlnNfL2eT692ORBUMzulrdrq2/5347853180338176/exterior-revisedjpg-1708103013930.jpg","rotation":180.1379307891309,"thumbnail_gcs_filename":"/users/ErYjlnNfL2eT692ORBUMzulrdrq2/5347853180338176/thumb_exterior-revisedjpg-1708103013930.jpg","version":"v4","gcs_filename":"/users/ErYjlnNfL2eT692ORBUMzulrdrq2/5347853180338176/exterior-revisedjpg-1708103013930.jpg","filename":"exterior-revisedjpg-1708103013930.jpg","folder":"/users/ErYjlnNfL2eT692ORBUMzulrdrq2/5347853180338176","thumbnail_image_url":"/users/ErYjlnNfL2eT692ORBUMzulrdrq2/5347853180338176/thumb_exterior-revisedjpg-1708103013930.jpg","is_stereo":false,"photo_type":"360_mono","created_date":"2024-02-16T17:03:33.930Z","updated_date":"2024-02-16T17:03:33.930Z","id":"4883941347557376","sort_order":1,"status":"active","has_anaglyph":false,"index":0,"title":"Photo 1"},"4912225737244672":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FErYjlnNfL2eT692ORBUMzulrdrq2%2F5347853180338176%2Fimg2023032308230200mergedjpg-1708118967408.jpg&uploadType=resumable&upload_id=ABPtcPqvnbz2xmyWE1IMh58axhN-ae7mImIEPQKv_KVlzjykXtVWpAst9BFfxH37jxiPWJSsW1N7OSqtOnrKq7b8iRN2i7hLUWniL1dETnfgRvfm3Q","image_url":"/users/ErYjlnNfL2eT692ORBUMzulrdrq2/5347853180338176/img2023032308230200mergedjpg-1708118967408.jpg","rotation":0,"thumbnail_gcs_filename":"/users/ErYjlnNfL2eT692ORBUMzulrdrq2/5347853180338176/thumb_img2023032308230200mergedjpg-1708118967408.jpg","version":"v3","gcs_filename":"/users/ErYjlnNfL2eT692ORBUMzulrdrq2/5347853180338176/img2023032308230200mergedjpg-1708118967408.jpg","filename":"img2023032308230200mergedjpg-1708118967408.jpg","folder":"/users/ErYjlnNfL2eT692ORBUMzulrdrq2/5347853180338176","thumbnail_image_url":"/users/ErYjlnNfL2eT692ORBUMzulrdrq2/5347853180338176/thumb_img2023032308230200mergedjpg-1708118967408.jpg","is_stereo":false,"photo_type":"360_mono","created_date":"2024-02-16T21:29:27.408Z","updated_date":"2024-02-16T21:29:27.408Z","sort_order":2,"status":"active","id":"4912225737244672","has_anaglyph":false,"index":3,"title":"Photo 4"},"5199487830065152":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FErYjlnNfL2eT692ORBUMzulrdrq2%2F5347853180338176%2Fimg2023032308212800mergedjpg-1708119201385.jpg&uploadType=resumable&upload_id=ABPtcPo3k9xRZOBfqVIXivDYmvFCsUtle3qZo2ovHhaurE7anSPWA86tuFppAesOXnC1Pmcdlnr7rg6RD5PWrjCo77n01aS7qsQn0Z0DDONEPTH9","image_url":"/users/ErYjlnNfL2eT692ORBUMzulrdrq2/5347853180338176/img2023032308212800mergedjpg-1708119201385.jpg","rotation":284.4162495029401,"thumbnail_gcs_filename":"/users/ErYjlnNfL2eT692ORBUMzulrdrq2/5347853180338176/thumb_img2023032308212800mergedjpg-1708119201385.jpg","version":"v4","gcs_filename":"/users/ErYjlnNfL2eT692ORBUMzulrdrq2/5347853180338176/img2023032308212800mergedjpg-1708119201385.jpg","filename":"img2023032308212800mergedjpg-1708119201385.jpg","folder":"/users/ErYjlnNfL2eT692ORBUMzulrdrq2/5347853180338176","thumbnail_image_url":"/users/ErYjlnNfL2eT692ORBUMzulrdrq2/5347853180338176/thumb_img2023032308212800mergedjpg-1708119201385.jpg","is_stereo":false,"photo_type":"360_mono","created_date":"2024-02-16T21:33:21.386Z","updated_date":"2024-02-16T21:33:21.386Z","id":"5199487830065152","sort_order":3,"status":"active","has_anaglyph":false,"index":2,"title":"Photo 3"},"4785315543777280":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FErYjlnNfL2eT692ORBUMzulrdrq2%2F5347853180338176%2Fimg2023032308114900mergedjpg-1708119250242.jpg&uploadType=resumable&upload_id=ABPtcPoNNkK-eCofzO7eVOQ6GPXOxCYA0r45xZb5Ug31ckaiaHavdzlQn9TE30DlDR68qE9RRWY_r4rdJlaX7hquTOd08cKt_5AJ1RAh0ezuxSYH","image_url":"/users/ErYjlnNfL2eT692ORBUMzulrdrq2/5347853180338176/img2023032308114900mergedjpg-1708119250242.jpg","rotation":-48.93059570417233,"thumbnail_gcs_filename":"/users/ErYjlnNfL2eT692ORBUMzulrdrq2/5347853180338176/thumb_img2023032308114900mergedjpg-1708119250242.jpg","version":"v4","gcs_filename":"/users/ErYjlnNfL2eT692ORBUMzulrdrq2/5347853180338176/img2023032308114900mergedjpg-1708119250242.jpg","filename":"img2023032308114900mergedjpg-1708119250242.jpg","folder":"/users/ErYjlnNfL2eT692ORBUMzulrdrq2/5347853180338176","thumbnail_image_url":"/users/ErYjlnNfL2eT692ORBUMzulrdrq2/5347853180338176/thumb_img2023032308114900mergedjpg-1708119250242.jpg","is_stereo":false,"photo_type":"360_mono","created_date":"2024-02-16T21:34:10.243Z","updated_date":"2024-02-16T21:34:10.243Z","id":"4785315543777280","sort_order":4,"status":"active","has_anaglyph":false,"index":1,"title":"Photo 2"}}; if (window.is_static) { window.photosRoot = 'https://storage.googleapis.com/orbix360-prod-images'; // TODO: after we create all the local schema/template folders, change this to empty string window.pluginsRoot = 'plugins/'; } else { window.photosRoot = 'https://storage.googleapis.com/orbix360-prod-images'; window.pluginsRoot = 'https://storage.googleapis.com/orbix360-prod-plugins/'; } window.minterUrl = 'https://minter.orbix360.com'; window.tourId = "5347853180338176"; window.tourUid = "ErYjlnNfL2eT692ORBUMzulrdrq2"; window.customUrl = ""; window.tourSlug = "web-chandler"; window.template = '360_mono'; window.template_category = '360'; window.tourShortCode = "LQit_fG9z"; window.room = ''; window.mask = ''; window.current_image_index = 0; // todo: use photo object instead of correlated arrays window.nextImageToLoad = 1; window.photo_indexes = {}; window.im = false; window.photo_indexes['4883941347557376'] = 0; window.current_image_index = 0; window.current_image_id = 4883941347557376 window.photo_indexes['4785315543777280'] = 1; window.photo_indexes['5199487830065152'] = 2; window.photo_indexes['4912225737244672'] = 3; window.current_info_hotspot = null; window.current_explore_page = 1; let savedCurrentExplorePage = window.localStorage.getItem('current_explore_page'); if (savedCurrentExplorePage) { window.current_explore_page = Number(savedCurrentExplorePage); } window.current_explore_filter = 'featured'; let savedCurrentExploreFilter = window.localStorage.getItem('current_explore_filter'); if (savedCurrentExploreFilter) { window.current_explore_filter = savedCurrentExploreFilter; } window.user_profile_image = '/images/profile-icon.png'; window.user_profile_name = 'Orbi-2521092122'; window.shortURLRoot = 'https://orbix360.com'; window.image_url = 'https://storage.googleapis.com/orbix360-prod-images/users/ErYjlnNfL2eT692ORBUMzulrdrq2/5347853180338176/thumb_exterior-revisedjpg-1708103013930.jpg.play.jpg'; window.image_url_root = 'https://storage.googleapis.com/orbix360-prod-images'; window.cloudFunctionsRoot = 'https://us-central1-orbix360-prod.cloudfunctions.net'; window.timeSinceRestartRotation = 0; window.initialState = {"orbs":[{"infoHotspots":[],"id":4883941347557376,"hotspots":[]},{"infoHotspots":[],"id":4785315543777280,"hotspots":[]},{"infoHotspots":[],"id":5199487830065152,"hotspots":[]},{"infoHotspots":[],"id":4912225737244672,"hotspots":[]}],"autorotate":{"enabled":false},"versionNumber":3}; window.brandingAllowed = true; window.upgradeCheckoutSessionStatus = ''; window.isPro = (window.brandingAllowed || window.upgradeCheckoutSessionStatus == 'complete'); window.nadirLogoURL = (window.brandingAllowed || window.upgradeCheckoutSessionStatus == 'complete') ? '/images/powered-by-orbix_nadir.png' : '/images/orbix_nadir.png'; window.editMode = false;