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%2FeMP5pzmNxOOZUabdwOPBoKQCYNC3%2F5912677987647488%2Fimg8961png-1722264173410.png&uploadType=resumable&upload_id=AHxI1nN8MDXKZDR-MzYZ4h2FtWGHR7K0Dp-vU6Bv3MMecydVQ3ljWe2nazY0Yl2LXoibML2nZsymB5t14rChm4SNFuFQ0joAeAHRpUPMFVisegA9cA","image_url":"/users/eMP5pzmNxOOZUabdwOPBoKQCYNC3/5912677987647488/img8961png-1722264173410.png","rotation":0,"thumbnail_gcs_filename":"/users/eMP5pzmNxOOZUabdwOPBoKQCYNC3/5912677987647488/thumb_img8961png-1722264173410.png","version":"v3","gcs_filename":"/users/eMP5pzmNxOOZUabdwOPBoKQCYNC3/5912677987647488/img8961png-1722264173410.png","filename":"img8961png-1722264173410.png","folder":"/users/eMP5pzmNxOOZUabdwOPBoKQCYNC3/5912677987647488","thumbnail_image_url":"/users/eMP5pzmNxOOZUabdwOPBoKQCYNC3/5912677987647488/thumb_img8961png-1722264173410.png","is_stereo":false,"photo_type":"360_mono","created_date":"2024-07-29T14:42:53.411Z","updated_date":"2024-07-29T14:42:53.411Z","sort_order":1,"status":"active","id":"5414690958082048","has_anaglyph":false,"title":"Photo 1"}]; console.log('num photos: ' + window.photos.length); window.photosMap = {"5414690958082048":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FeMP5pzmNxOOZUabdwOPBoKQCYNC3%2F5912677987647488%2Fimg8961png-1722264173410.png&uploadType=resumable&upload_id=AHxI1nN8MDXKZDR-MzYZ4h2FtWGHR7K0Dp-vU6Bv3MMecydVQ3ljWe2nazY0Yl2LXoibML2nZsymB5t14rChm4SNFuFQ0joAeAHRpUPMFVisegA9cA","image_url":"/users/eMP5pzmNxOOZUabdwOPBoKQCYNC3/5912677987647488/img8961png-1722264173410.png","rotation":0,"thumbnail_gcs_filename":"/users/eMP5pzmNxOOZUabdwOPBoKQCYNC3/5912677987647488/thumb_img8961png-1722264173410.png","version":"v3","gcs_filename":"/users/eMP5pzmNxOOZUabdwOPBoKQCYNC3/5912677987647488/img8961png-1722264173410.png","filename":"img8961png-1722264173410.png","folder":"/users/eMP5pzmNxOOZUabdwOPBoKQCYNC3/5912677987647488","thumbnail_image_url":"/users/eMP5pzmNxOOZUabdwOPBoKQCYNC3/5912677987647488/thumb_img8961png-1722264173410.png","is_stereo":false,"photo_type":"360_mono","created_date":"2024-07-29T14:42:53.411Z","updated_date":"2024-07-29T14:42:53.411Z","sort_order":1,"status":"active","id":"5414690958082048","has_anaglyph":false,"title":"Photo 1"}}; 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 = "5912677987647488"; window.tourUid = "eMP5pzmNxOOZUabdwOPBoKQCYNC3"; window.customUrl = "http://www.orbix360.com"; window.tourSlug = ""; window.template = ''; window.template_category = ''; window.tourShortCode = ""; 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['5414690958082048'] = 0; window.current_image_index = 0; window.current_image_id = 5414690958082048 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 = 'https://lh3.googleusercontent.com/a-/ALV-UjVymlHN2bwGTqjFbBo3rEQoh7M2JE6lPTtKi5ebUWnwsyXjYlFJ-Gbt5fLMXh99QNJg3NpI_yLkwNm2p6n4K3i0RdiSw7MpD8jdhHNSD2_0DnN_pnkshcdQLs40bdT_WiWvj-dZvU-jcf4J0hF9vmYC5OVW-P4SNg8p65IfSGf837yOXRQpUUsaUM5DK6KqtcsbaKbxTw3Ed918U2Xsb3YO4Fv0iAkbzVSosuAtNcPXhSUaK02dZAX0Hquwv8TjIIg1GPKSodlFa-oUSnGLha4rvc8nRm15YxtTy3vlXmPs8dqXHAjQ3o1Yp7IGeDWy8_Rxubba1U9x-B8hEKBKym5qZhVIciyRvJ5JHvHLGRFrmyH1bE55RKzF-NpcZxnVcH93J-0sB-fI9zrEOtDaprLmykkfLcOH_BDZtJTXn1MNNMLA6-zhCF21cc4yDmXm18W6vp-XxMBWIv2yym_U4QaBGRpulc1x3Q75XBLYD2cSH-M0XK2Ky3xYd3uFt5uC_bJNX_Rhi0NsoIWju4ieJJrALSmNmz40xfVK7emp9wWLV9wTUlw_YXoQvHv6r_iHOvSmUOjSrgtKVmT3ZkH7q45oQiqsFgECIrgxiIy9z4X5l4OuLEFRU4Bml3szlnsUvhmKtQb_Q1pqtonSDweU4e5KhEfNUgdLbjvPpd0T7b_qXHZfo21yTO-_x7J1yIS9rLlXnbU9ygAQ_m_98MGPXqWIFx7V-iz6vy7UF9geb4ESkK3Ce6dxUTqdFrmNR8XHbk5PZUNflL108VOo03wgqHCkWA9Sb_U_IY9xvxKnc6HSuixHhV0XShJAL6GbhpM1jYERukLzOCMwW1_YIPZS8tWFBTseKkYaRbD2MEDRua1ly9ishyPX6mr9MYosnfhNUqE9vwatjMnZQxzZUePNhLOkdaBdLcSz_-_msl95i31sibX-Fmn-PzSmHMAeOBboEYw=s96-c'; window.user_profile_name = 'Maileigh Holdstock'; window.shortURLRoot = 'https://orbix360.com'; window.image_url = 'https://storage.googleapis.com/orbix360-prod-images/users/eMP5pzmNxOOZUabdwOPBoKQCYNC3/5912677987647488/thumb_img8961png-1722264173410.png.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":[{"id":5414690958082048,"hotspots":[],"infoHotspots":[]}],"autorotate":{"enabled":false},"versionNumber":2}; window.brandingAllowed = false; window.upgradeCheckoutSessionStatus = ''; window.isUpgradeSubscriptionValid = false; window.isPro = (window.brandingAllowed || window.isUpgradeSubscriptionValid); window.nadirLogoURL = (window.brandingAllowed || isUpgradeSubscriptionValid) ? '/images/powered-by-orbix_nadir.png' : '/images/orbix_nadir.png'; window.editMode = false;