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 = []; console.log('num photos: ' + window.photos.length); window.photosMap = {}; if (window.is_static) { window.photosRoot = 'https://images-qa.orbix360.com'; // TODO: after we create all the local schema/template folders, change this to empty string window.pluginsRoot = 'plugins/'; } else { window.photosRoot = 'https://images-qa.orbix360.com'; window.pluginsRoot = 'https://storage.googleapis.com/orbix360-qa-plugins/'; } window.minterUrl = 'https://minter-qa.orbix360.com'; window.tourId = "6244405631516672"; window.tourUid = "ZIGqF6yhmEZl3yjaK4dEF8ajipl1"; window.customUrl = "https://orbix360.com"; window.tourSlug = "spatialtest"; window.template = ''; window.template_category = ''; window.tourShortCode = "-WvZQJtlS"; 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 = true; 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 = 'jim prucey'; window.shortURLRoot = 'https://qa.orbix360.com'; window.image_url = ''; window.image_url_root = 'https://images-qa.orbix360.com'; window.cloudFunctionsRoot = 'https://us-central1-orbix360-qa.cloudfunctions.net'; window.timeSinceRestartRotation = 0; window.initialState = {"orbs":[],"autorotate":{"enabled":false},"versionNumber":2}; window.brandingAllowed = true; window.upgradeCheckoutSessionStatus = ''; window.isUpgradeSubscriptionValid = false; window.isPro = (window.brandingAllowed || window.isUpgradeSubscriptionValid); window.nadirLogoURL = (window.brandingAllowed || isUpgradeSubscriptionValid) ? 'https://images-qa.orbix360.com/users/ZIGqF6yhmEZl3yjaK4dEF8ajipl1/branding/nadir.png' : '/images/orbix_nadir.png'; window.editMode = false;