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%2FpEDcWIlnlHMJAvMFDqH4FZbQlCo2%2F4736185110888448%2F001-gs2645jpg-1725644156555.JPG&uploadType=resumable&upload_id=AD-8ljvHYVa63sd1LbZhdfMkAl0UezaHXhmj5NZIzpFkTcQW6-GdxoflMMfo5HQ-zH3weZK0ZWeM7PwZv27OPu98sQl23KRXkeHSQocvWV7dnCGUxA","image_url":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/4736185110888448/001-gs2645jpg-1725644156555.JPG","rotation":0,"thumbnail_gcs_filename":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/4736185110888448/thumb_001-gs2645jpg-1725644156555.JPG","version":"v3","gcs_filename":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/4736185110888448/001-gs2645jpg-1725644156555.JPG","filename":"001-gs2645jpg-1725644156555.JPG","folder":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/4736185110888448","thumbnail_image_url":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/4736185110888448/thumb_001-gs2645jpg-1725644156555.JPG","is_stereo":false,"photo_type":"360_mono","created_date":"2024-09-06T17:35:56.559Z","updated_date":"2024-09-06T17:35:56.559Z","sort_order":1,"status":"active","id":"5977934378565632","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%2FpEDcWIlnlHMJAvMFDqH4FZbQlCo2%2F4736185110888448%2F002-gs2646jpg-1725644156526.JPG&uploadType=resumable&upload_id=AD-8ljuExuz-sIjs-wjqijILTRAePcxHLJIm76KCROb7W-PQgJS_AMt0IFYpKujdwo-uuOelG4xxx9jSBf4uut05a8nISWNIg3Nv0UDOvcrelbtYIQ","image_url":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/4736185110888448/002-gs2646jpg-1725644156526.JPG","rotation":0,"thumbnail_gcs_filename":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/4736185110888448/thumb_002-gs2646jpg-1725644156526.JPG","version":"v3","gcs_filename":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/4736185110888448/002-gs2646jpg-1725644156526.JPG","filename":"002-gs2646jpg-1725644156526.JPG","folder":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/4736185110888448","thumbnail_image_url":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/4736185110888448/thumb_002-gs2646jpg-1725644156526.JPG","is_stereo":false,"photo_type":"360_mono","created_date":"2024-09-06T17:35:56.526Z","updated_date":"2024-09-06T17:35:56.526Z","sort_order":2,"status":"active","id":"4809428689747968","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%2FpEDcWIlnlHMJAvMFDqH4FZbQlCo2%2F4736185110888448%2F02-gs2596jpg-1725644156716.JPG&uploadType=resumable&upload_id=AD-8ljs81_7FY1BgjISPyn2iOrZWNCMn9ejj7dDXjRYYFf4csZuquB-cxaZASZsr42J6gG8sCFWHwWfGHS7josJy0v-LGCifxjBCCjzSemm1PQ2ExA","image_url":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/4736185110888448/02-gs2596jpg-1725644156716.JPG","rotation":-175.3250853100308,"thumbnail_gcs_filename":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/4736185110888448/thumb_02-gs2596jpg-1725644156716.JPG","version":"v4","gcs_filename":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/4736185110888448/02-gs2596jpg-1725644156716.JPG","filename":"02-gs2596jpg-1725644156716.JPG","folder":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/4736185110888448","thumbnail_image_url":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/4736185110888448/thumb_02-gs2596jpg-1725644156716.JPG","is_stereo":false,"photo_type":"360_mono","created_date":"2024-09-06T17:35:56.717Z","updated_date":"2024-09-06T17:35:56.717Z","id":"5763597122666496","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%2FpEDcWIlnlHMJAvMFDqH4FZbQlCo2%2F4736185110888448%2F02-gs2596rotate-180jpg-1725648010719.jpg&uploadType=resumable&upload_id=AD-8lju3RJQAY9qqN-5i_7dI3Ak-Eo5UV_-gfSEIpyaYYTQ_sGaknNeok49YmhPsjIMjehC21QW89I5EDgX7gPjVKjmLiscWz8mkitfBSSliBgp1TA","image_url":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/4736185110888448/02-gs2596rotate-180jpg-1725648010719.jpg","rotation":0,"thumbnail_gcs_filename":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/4736185110888448/thumb_02-gs2596rotate-180jpg-1725648010719.jpg","version":"v3","gcs_filename":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/4736185110888448/02-gs2596rotate-180jpg-1725648010719.jpg","filename":"02-gs2596rotate-180jpg-1725648010719.jpg","folder":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/4736185110888448","thumbnail_image_url":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/4736185110888448/thumb_02-gs2596rotate-180jpg-1725648010719.jpg","is_stereo":false,"photo_type":"360_mono","created_date":"2024-09-06T18:40:10.720Z","updated_date":"2024-09-06T18:40:10.720Z","sort_order":6,"status":"active","id":"5414984425144320","has_anaglyph":false,"index":3,"title":"Photo 4"}]; console.log('num photos: ' + window.photos.length); window.photosMap = {"5977934378565632":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FpEDcWIlnlHMJAvMFDqH4FZbQlCo2%2F4736185110888448%2F001-gs2645jpg-1725644156555.JPG&uploadType=resumable&upload_id=AD-8ljvHYVa63sd1LbZhdfMkAl0UezaHXhmj5NZIzpFkTcQW6-GdxoflMMfo5HQ-zH3weZK0ZWeM7PwZv27OPu98sQl23KRXkeHSQocvWV7dnCGUxA","image_url":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/4736185110888448/001-gs2645jpg-1725644156555.JPG","rotation":0,"thumbnail_gcs_filename":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/4736185110888448/thumb_001-gs2645jpg-1725644156555.JPG","version":"v3","gcs_filename":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/4736185110888448/001-gs2645jpg-1725644156555.JPG","filename":"001-gs2645jpg-1725644156555.JPG","folder":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/4736185110888448","thumbnail_image_url":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/4736185110888448/thumb_001-gs2645jpg-1725644156555.JPG","is_stereo":false,"photo_type":"360_mono","created_date":"2024-09-06T17:35:56.559Z","updated_date":"2024-09-06T17:35:56.559Z","sort_order":1,"status":"active","id":"5977934378565632","has_anaglyph":false,"index":0,"title":"Photo 1"},"4809428689747968":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FpEDcWIlnlHMJAvMFDqH4FZbQlCo2%2F4736185110888448%2F002-gs2646jpg-1725644156526.JPG&uploadType=resumable&upload_id=AD-8ljuExuz-sIjs-wjqijILTRAePcxHLJIm76KCROb7W-PQgJS_AMt0IFYpKujdwo-uuOelG4xxx9jSBf4uut05a8nISWNIg3Nv0UDOvcrelbtYIQ","image_url":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/4736185110888448/002-gs2646jpg-1725644156526.JPG","rotation":0,"thumbnail_gcs_filename":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/4736185110888448/thumb_002-gs2646jpg-1725644156526.JPG","version":"v3","gcs_filename":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/4736185110888448/002-gs2646jpg-1725644156526.JPG","filename":"002-gs2646jpg-1725644156526.JPG","folder":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/4736185110888448","thumbnail_image_url":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/4736185110888448/thumb_002-gs2646jpg-1725644156526.JPG","is_stereo":false,"photo_type":"360_mono","created_date":"2024-09-06T17:35:56.526Z","updated_date":"2024-09-06T17:35:56.526Z","sort_order":2,"status":"active","id":"4809428689747968","has_anaglyph":false,"index":1,"title":"Photo 2"},"5763597122666496":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FpEDcWIlnlHMJAvMFDqH4FZbQlCo2%2F4736185110888448%2F02-gs2596jpg-1725644156716.JPG&uploadType=resumable&upload_id=AD-8ljs81_7FY1BgjISPyn2iOrZWNCMn9ejj7dDXjRYYFf4csZuquB-cxaZASZsr42J6gG8sCFWHwWfGHS7josJy0v-LGCifxjBCCjzSemm1PQ2ExA","image_url":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/4736185110888448/02-gs2596jpg-1725644156716.JPG","rotation":-175.3250853100308,"thumbnail_gcs_filename":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/4736185110888448/thumb_02-gs2596jpg-1725644156716.JPG","version":"v4","gcs_filename":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/4736185110888448/02-gs2596jpg-1725644156716.JPG","filename":"02-gs2596jpg-1725644156716.JPG","folder":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/4736185110888448","thumbnail_image_url":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/4736185110888448/thumb_02-gs2596jpg-1725644156716.JPG","is_stereo":false,"photo_type":"360_mono","created_date":"2024-09-06T17:35:56.717Z","updated_date":"2024-09-06T17:35:56.717Z","id":"5763597122666496","sort_order":3,"status":"active","has_anaglyph":false,"index":2,"title":"Photo 3"},"5414984425144320":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FpEDcWIlnlHMJAvMFDqH4FZbQlCo2%2F4736185110888448%2F02-gs2596rotate-180jpg-1725648010719.jpg&uploadType=resumable&upload_id=AD-8lju3RJQAY9qqN-5i_7dI3Ak-Eo5UV_-gfSEIpyaYYTQ_sGaknNeok49YmhPsjIMjehC21QW89I5EDgX7gPjVKjmLiscWz8mkitfBSSliBgp1TA","image_url":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/4736185110888448/02-gs2596rotate-180jpg-1725648010719.jpg","rotation":0,"thumbnail_gcs_filename":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/4736185110888448/thumb_02-gs2596rotate-180jpg-1725648010719.jpg","version":"v3","gcs_filename":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/4736185110888448/02-gs2596rotate-180jpg-1725648010719.jpg","filename":"02-gs2596rotate-180jpg-1725648010719.jpg","folder":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/4736185110888448","thumbnail_image_url":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/4736185110888448/thumb_02-gs2596rotate-180jpg-1725648010719.jpg","is_stereo":false,"photo_type":"360_mono","created_date":"2024-09-06T18:40:10.720Z","updated_date":"2024-09-06T18:40:10.720Z","sort_order":6,"status":"active","id":"5414984425144320","has_anaglyph":false,"index":3,"title":"Photo 4"}}; 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 = "4736185110888448"; window.tourUid = "pEDcWIlnlHMJAvMFDqH4FZbQlCo2"; window.customUrl = ""; window.tourSlug = "bryce-canyon"; window.template = '360_mono'; window.template_category = '360'; window.tourShortCode = "g4P31S38w"; 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['5977934378565632'] = 0; window.current_image_index = 0; window.current_image_id = 5977934378565632 window.photo_indexes['4809428689747968'] = 1; window.photo_indexes['5763597122666496'] = 2; window.photo_indexes['5414984425144320'] = 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 = 'Rob Andres'; window.shortURLRoot = 'https://orbix360.com'; window.image_url = 'https://storage.googleapis.com/orbix360-prod-images/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/4736185110888448/thumb_001-gs2645jpg-1725644156555.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":5977934378565632,"hotspots":[]},{"infoHotspots":[],"id":4809428689747968,"hotspots":[]},{"infoHotspots":[],"id":5763597122666496,"hotspots":[]},{"infoHotspots":[],"id":5414984425144320,"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') ? 'https://storage.googleapis.com/orbix360-prod-images/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/branding/nadir-1725321537386.png' : '/images/orbix_nadir.png'; window.editMode = false;