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 = [{"preview_gcs_filename":"/users/KeLQbuJ9JJfTEtDrzw84w9fVe133/5204407566204928/preview_20200309_181537_749jpg-1583846728815.jpg","resumable_upload_uri":"https://www.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FKeLQbuJ9JJfTEtDrzw84w9fVe133%2F5204407566204928%2F20200309_181537_749jpg-1583846728815.jpg&uploadType=resumable&upload_id=AEnB2Uq3kVMC7WFdSEDo_B0BvBHsIL3Ab-NGOPYcY5ZbhRjjYY7wDYlGXqFcZribQxf3Co4t9A2AHlL_YRRQRMqGrQ2WE4JlKg5Y5uN_Hn-gEqRaWhb6FLc","image_url":"/users/KeLQbuJ9JJfTEtDrzw84w9fVe133/5204407566204928/20200309_181537_749jpg-1583846728815.jpg","rotation":0,"thumbnail_gcs_filename":"/users/KeLQbuJ9JJfTEtDrzw84w9fVe133/5204407566204928/thumb_20200309_181537_749jpg-1583846728815.jpg","title":"Office without wall scroll","version":"v3","gcs_filename":"/users/KeLQbuJ9JJfTEtDrzw84w9fVe133/5204407566204928/20200309_181537_749jpg-1583846728815.jpg","folder":"/users/KeLQbuJ9JJfTEtDrzw84w9fVe133/5204407566204928","filename":"20200309_181537_749jpg-1583846728815.jpg","is_stereo":false,"thumbnail_image_url":"/users/KeLQbuJ9JJfTEtDrzw84w9fVe133/5204407566204928/thumb_20200309_181537_749jpg-1583846728815.jpg","preview_image_url":"/users/KeLQbuJ9JJfTEtDrzw84w9fVe133/5204407566204928/preview_20200309_181537_749jpg-1583846728815.jpg","photo_type":"360_mono","updated_date":"2020-03-10T13:25:28.816Z","created_date":"2020-03-10T13:25:28.816Z","sort_order":1,"status":"active","id":"6305002989551616","has_anaglyph":false,"index":0}]; console.log('num photos: ' + window.photos.length); window.photosMap = {"6305002989551616":{"preview_gcs_filename":"/users/KeLQbuJ9JJfTEtDrzw84w9fVe133/5204407566204928/preview_20200309_181537_749jpg-1583846728815.jpg","resumable_upload_uri":"https://www.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FKeLQbuJ9JJfTEtDrzw84w9fVe133%2F5204407566204928%2F20200309_181537_749jpg-1583846728815.jpg&uploadType=resumable&upload_id=AEnB2Uq3kVMC7WFdSEDo_B0BvBHsIL3Ab-NGOPYcY5ZbhRjjYY7wDYlGXqFcZribQxf3Co4t9A2AHlL_YRRQRMqGrQ2WE4JlKg5Y5uN_Hn-gEqRaWhb6FLc","image_url":"/users/KeLQbuJ9JJfTEtDrzw84w9fVe133/5204407566204928/20200309_181537_749jpg-1583846728815.jpg","rotation":0,"thumbnail_gcs_filename":"/users/KeLQbuJ9JJfTEtDrzw84w9fVe133/5204407566204928/thumb_20200309_181537_749jpg-1583846728815.jpg","title":"Office without wall scroll","version":"v3","gcs_filename":"/users/KeLQbuJ9JJfTEtDrzw84w9fVe133/5204407566204928/20200309_181537_749jpg-1583846728815.jpg","folder":"/users/KeLQbuJ9JJfTEtDrzw84w9fVe133/5204407566204928","filename":"20200309_181537_749jpg-1583846728815.jpg","is_stereo":false,"thumbnail_image_url":"/users/KeLQbuJ9JJfTEtDrzw84w9fVe133/5204407566204928/thumb_20200309_181537_749jpg-1583846728815.jpg","preview_image_url":"/users/KeLQbuJ9JJfTEtDrzw84w9fVe133/5204407566204928/preview_20200309_181537_749jpg-1583846728815.jpg","photo_type":"360_mono","updated_date":"2020-03-10T13:25:28.816Z","created_date":"2020-03-10T13:25:28.816Z","sort_order":1,"status":"active","id":"6305002989551616","has_anaglyph":false,"index":0}}; 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 = "5204407566204928"; window.tourUid = "KeLQbuJ9JJfTEtDrzw84w9fVe133"; window.customUrl = "http://www.orbix360.com"; window.tourSlug = "preparing-to-upgrade-to-an-index"; window.template = ''; window.template_category = ''; window.tourShortCode = "RffsATveA"; 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['6305002989551616'] = 0; window.current_image_index = 0; window.current_image_id = 6305002989551616 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-/AOh14GjgzEBd8lMLogaJtmaRcsLnZaaYV7ttQRewDUUDNw=s96-c'; window.user_profile_name = 'Denzel Thomas'; window.shortURLRoot = 'https://orbix360.com'; window.image_url = 'https://storage.googleapis.com/orbix360-prod-images/users/KeLQbuJ9JJfTEtDrzw84w9fVe133/5204407566204928/thumb_20200309_181537_749jpg-1583846728815.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":[{"description":"I am not sure where to move this curio. Might just cover the glass for now.","from":6305002989551616,"id":"hotspot_6305002989551616_info_1583846888263","position":{"x":0.03805900410884042,"y":-0.3258824119427909,"z":-0.9446439359846611},"to":"info","title":"Reflective suface "},{"description":"Will these blinds work or do I need curtains? ","from":6305002989551616,"position":{"x":-0.6566130548926002,"y":-0.1692176058130354,"z":-0.7349997945765097},"id":"hotspot_6305002989551616_info_1583846941416","to":"info","title":"Windows"},{"description":"Will these blinds work or do I need curtains? ","from":6305002989551616,"to":"info","id":"hotspot_6305002989551616_info_1583846959216","position":{"x":0.9775251817594068,"y":-0.16921760581303555,"z":-0.12573750796458052},"title":"Windows"},{"description":"I have not rehung them since the fire. I was able to bounce a laser from a laser measure off the frame so I'm going to hang them in another room.","from":6305002989551616,"id":"hotspot_6305002989551616_info_1583847091663","position":{"x":0.6263985646705026,"y":-0.5327065212280794,"z":0.5690769723155313},"to":"info","title":"Posters"},{"description":"I plan on putting the base stations just below the current Rift cameras.","from":6305002989551616,"to":"info","position":{"x":-0.904634530703822,"y":0.29524491891539656,"z":-0.3073545244711988},"id":"hotspot_6305002989551616_info_1583847166912","title":"Current Rift Sensor"},{"description":"I plan on putting the base stations just below the current Rift cameras.","from":6305002989551616,"to":"info","position":{"x":0.6585265317502152,"y":0.38909809792589956,"z":0.6441626170242106},"id":"hotspot_6305002989551616_info_1583847182232","title":"Current Rift Sensor"}],"flatImages":[],"id":6305002989551616,"hotspots":[]}],"autorotate":{"enabled":false},"versionNumber":3}; window.brandingAllowed = false; 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;