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 = [{"image_url":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/img2023042207490300181jpg-1682184327222.jpg","rotation":0,"thumbnail_gcs_filename":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/thumb_img2023042207490300181jpg-1682184327222.jpg","title":"Dining","version":"v3","gcs_filename":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/img2023042207490300181jpg-1682184327222.jpg","filename":"img2023042207490300181jpg-1682184327222.jpg","folder":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912","thumbnail_image_url":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/thumb_img2023042207490300181jpg-1682184327222.jpg","is_stereo":false,"photo_type":"360_mono","created_date":"2023-04-22T17:25:27.222Z","updated_date":"2023-04-22T17:25:27.222Z","id":"5131102834393088","sort_order":13,"status":"active","has_anaglyph":false,"index":0},{"image_url":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/img2023042207495500183jpg-1682184327170.jpg","rotation":0,"thumbnail_gcs_filename":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/thumb_img2023042207495500183jpg-1682184327170.jpg","title":"Living","version":"v3","gcs_filename":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/img2023042207495500183jpg-1682184327170.jpg","filename":"img2023042207495500183jpg-1682184327170.jpg","folder":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912","thumbnail_image_url":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/thumb_img2023042207495500183jpg-1682184327170.jpg","is_stereo":false,"photo_type":"360_mono","created_date":"2023-04-22T17:25:27.171Z","updated_date":"2023-04-22T17:25:27.171Z","id":"5072840697053184","sort_order":14,"status":"active","has_anaglyph":false,"index":1},{"image_url":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/img2023042207453800168jpg-1682184327149.jpg","rotation":0,"thumbnail_gcs_filename":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/thumb_img2023042207453800168jpg-1682184327149.jpg","title":"Center","version":"v3","gcs_filename":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/img2023042207453800168jpg-1682184327149.jpg","filename":"img2023042207453800168jpg-1682184327149.jpg","folder":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912","thumbnail_image_url":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/thumb_img2023042207453800168jpg-1682184327149.jpg","is_stereo":false,"photo_type":"360_mono","created_date":"2023-04-22T17:25:27.151Z","updated_date":"2023-04-22T17:25:27.151Z","id":"5443352392630272","sort_order":12,"status":"active","has_anaglyph":false,"index":2},{"image_url":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/img2023042207435200167jpg-1682184327151.jpg","rotation":0,"thumbnail_gcs_filename":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/thumb_img2023042207435200167jpg-1682184327151.jpg","title":"Bed","version":"v3","gcs_filename":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/img2023042207435200167jpg-1682184327151.jpg","filename":"img2023042207435200167jpg-1682184327151.jpg","folder":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912","thumbnail_image_url":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/thumb_img2023042207435200167jpg-1682184327151.jpg","is_stereo":false,"photo_type":"360_mono","created_date":"2023-04-22T17:25:27.152Z","updated_date":"2023-04-22T17:25:27.152Z","id":"6319208262533120","sort_order":11,"status":"active","has_anaglyph":false,"index":3},{"image_url":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/img2023042207421000162jpg-1682184327047.jpg","rotation":0,"thumbnail_gcs_filename":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/thumb_img2023042207421000162jpg-1682184327047.jpg","title":"Bathroom","version":"v3","gcs_filename":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/img2023042207421000162jpg-1682184327047.jpg","filename":"img2023042207421000162jpg-1682184327047.jpg","folder":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912","thumbnail_image_url":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/thumb_img2023042207421000162jpg-1682184327047.jpg","is_stereo":false,"photo_type":"360_mono","created_date":"2023-04-22T17:25:27.048Z","updated_date":"2023-04-22T17:25:27.048Z","id":"4833014924181504","sort_order":10,"status":"active","has_anaglyph":false,"index":4},{"image_url":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/img2019082512574900096jpg-1623780339337.jpg","rotation":-72.42186530453526,"thumbnail_gcs_filename":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/thumb_img2019082512574900096jpg-1623780339337.jpg","title":"Hot Tub 2","version":"v4","gcs_filename":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/img2019082512574900096jpg-1623780339337.jpg","folder":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912","filename":"img2019082512574900096jpg-1623780339337.jpg","is_stereo":false,"thumbnail_image_url":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/thumb_img2019082512574900096jpg-1623780339337.jpg","photo_type":"360_mono","updated_date":"2021-06-15T18:05:39.337Z","created_date":"2021-06-15T18:05:39.337Z","id":"6518618787414016","sort_order":9,"status":"active","has_anaglyph":false,"index":5},{"image_url":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/img2019082512565400095jpg-1623780341681.jpg","rotation":0,"thumbnail_gcs_filename":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/thumb_img2019082512565400095jpg-1623780341681.jpg","title":"Hot Tub 1","version":"v3","gcs_filename":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/img2019082512565400095jpg-1623780341681.jpg","filename":"img2019082512565400095jpg-1623780341681.jpg","folder":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912","is_stereo":false,"thumbnail_image_url":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/thumb_img2019082512565400095jpg-1623780341681.jpg","photo_type":"360_mono","id":"6560143672082432","updated_date":"2021-06-15T18:05:41.683Z","created_date":"2021-06-15T18:05:41.683Z","sort_order":8,"status":"active","has_anaglyph":false,"index":6},{"image_url":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/img2019082512441200080jpg-1623780195902.jpg","rotation":36.325524211295,"thumbnail_gcs_filename":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/thumb_img2019082512441200080jpg-1623780195902.jpg","title":"Deck 1","version":"v4","gcs_filename":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/img2019082512441200080jpg-1623780195902.jpg","filename":"img2019082512441200080jpg-1623780195902.jpg","folder":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912","is_stereo":false,"thumbnail_image_url":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/thumb_img2019082512441200080jpg-1623780195902.jpg","photo_type":"360_mono","updated_date":"2021-06-15T18:03:15.902Z","created_date":"2021-06-15T18:03:15.902Z","id":"6306308437311488","sort_order":1,"status":"active","has_anaglyph":false,"index":7},{"image_url":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/img2019082512455300082jpg-1623780341715.jpg","rotation":188.3885230390155,"thumbnail_gcs_filename":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/thumb_img2019082512455300082jpg-1623780341715.jpg","title":"Deck 2","version":"v4","gcs_filename":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/img2019082512455300082jpg-1623780341715.jpg","filename":"img2019082512455300082jpg-1623780341715.jpg","folder":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912","thumbnail_image_url":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/thumb_img2019082512455300082jpg-1623780341715.jpg","is_stereo":false,"photo_type":"360_mono","updated_date":"2021-06-15T18:05:41.717Z","id":"5921464855298048","created_date":"2021-06-15T18:05:41.717Z","sort_order":2,"status":"active","has_anaglyph":false,"index":8}]; console.log('num photos: ' + window.photos.length); window.photosMap = {"6306308437311488":{"image_url":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/img2019082512441200080jpg-1623780195902.jpg","rotation":36.325524211295,"thumbnail_gcs_filename":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/thumb_img2019082512441200080jpg-1623780195902.jpg","title":"Deck 1","version":"v4","gcs_filename":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/img2019082512441200080jpg-1623780195902.jpg","filename":"img2019082512441200080jpg-1623780195902.jpg","folder":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912","is_stereo":false,"thumbnail_image_url":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/thumb_img2019082512441200080jpg-1623780195902.jpg","photo_type":"360_mono","updated_date":"2021-06-15T18:03:15.902Z","created_date":"2021-06-15T18:03:15.902Z","id":"6306308437311488","sort_order":1,"status":"active","has_anaglyph":false,"index":7},"5921464855298048":{"image_url":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/img2019082512455300082jpg-1623780341715.jpg","rotation":188.3885230390155,"thumbnail_gcs_filename":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/thumb_img2019082512455300082jpg-1623780341715.jpg","title":"Deck 2","version":"v4","gcs_filename":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/img2019082512455300082jpg-1623780341715.jpg","filename":"img2019082512455300082jpg-1623780341715.jpg","folder":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912","thumbnail_image_url":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/thumb_img2019082512455300082jpg-1623780341715.jpg","is_stereo":false,"photo_type":"360_mono","updated_date":"2021-06-15T18:05:41.717Z","id":"5921464855298048","created_date":"2021-06-15T18:05:41.717Z","sort_order":2,"status":"active","has_anaglyph":false,"index":8},"6560143672082432":{"image_url":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/img2019082512565400095jpg-1623780341681.jpg","rotation":0,"thumbnail_gcs_filename":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/thumb_img2019082512565400095jpg-1623780341681.jpg","title":"Hot Tub 1","version":"v3","gcs_filename":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/img2019082512565400095jpg-1623780341681.jpg","filename":"img2019082512565400095jpg-1623780341681.jpg","folder":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912","is_stereo":false,"thumbnail_image_url":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/thumb_img2019082512565400095jpg-1623780341681.jpg","photo_type":"360_mono","id":"6560143672082432","updated_date":"2021-06-15T18:05:41.683Z","created_date":"2021-06-15T18:05:41.683Z","sort_order":8,"status":"active","has_anaglyph":false,"index":6},"6518618787414016":{"image_url":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/img2019082512574900096jpg-1623780339337.jpg","rotation":-72.42186530453526,"thumbnail_gcs_filename":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/thumb_img2019082512574900096jpg-1623780339337.jpg","title":"Hot Tub 2","version":"v4","gcs_filename":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/img2019082512574900096jpg-1623780339337.jpg","folder":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912","filename":"img2019082512574900096jpg-1623780339337.jpg","is_stereo":false,"thumbnail_image_url":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/thumb_img2019082512574900096jpg-1623780339337.jpg","photo_type":"360_mono","updated_date":"2021-06-15T18:05:39.337Z","created_date":"2021-06-15T18:05:39.337Z","id":"6518618787414016","sort_order":9,"status":"active","has_anaglyph":false,"index":5},"4833014924181504":{"image_url":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/img2023042207421000162jpg-1682184327047.jpg","rotation":0,"thumbnail_gcs_filename":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/thumb_img2023042207421000162jpg-1682184327047.jpg","title":"Bathroom","version":"v3","gcs_filename":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/img2023042207421000162jpg-1682184327047.jpg","filename":"img2023042207421000162jpg-1682184327047.jpg","folder":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912","thumbnail_image_url":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/thumb_img2023042207421000162jpg-1682184327047.jpg","is_stereo":false,"photo_type":"360_mono","created_date":"2023-04-22T17:25:27.048Z","updated_date":"2023-04-22T17:25:27.048Z","id":"4833014924181504","sort_order":10,"status":"active","has_anaglyph":false,"index":4},"6319208262533120":{"image_url":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/img2023042207435200167jpg-1682184327151.jpg","rotation":0,"thumbnail_gcs_filename":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/thumb_img2023042207435200167jpg-1682184327151.jpg","title":"Bed","version":"v3","gcs_filename":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/img2023042207435200167jpg-1682184327151.jpg","filename":"img2023042207435200167jpg-1682184327151.jpg","folder":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912","thumbnail_image_url":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/thumb_img2023042207435200167jpg-1682184327151.jpg","is_stereo":false,"photo_type":"360_mono","created_date":"2023-04-22T17:25:27.152Z","updated_date":"2023-04-22T17:25:27.152Z","id":"6319208262533120","sort_order":11,"status":"active","has_anaglyph":false,"index":3},"5443352392630272":{"image_url":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/img2023042207453800168jpg-1682184327149.jpg","rotation":0,"thumbnail_gcs_filename":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/thumb_img2023042207453800168jpg-1682184327149.jpg","title":"Center","version":"v3","gcs_filename":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/img2023042207453800168jpg-1682184327149.jpg","filename":"img2023042207453800168jpg-1682184327149.jpg","folder":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912","thumbnail_image_url":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/thumb_img2023042207453800168jpg-1682184327149.jpg","is_stereo":false,"photo_type":"360_mono","created_date":"2023-04-22T17:25:27.151Z","updated_date":"2023-04-22T17:25:27.151Z","id":"5443352392630272","sort_order":12,"status":"active","has_anaglyph":false,"index":2},"5131102834393088":{"image_url":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/img2023042207490300181jpg-1682184327222.jpg","rotation":0,"thumbnail_gcs_filename":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/thumb_img2023042207490300181jpg-1682184327222.jpg","title":"Dining","version":"v3","gcs_filename":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/img2023042207490300181jpg-1682184327222.jpg","filename":"img2023042207490300181jpg-1682184327222.jpg","folder":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912","thumbnail_image_url":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/thumb_img2023042207490300181jpg-1682184327222.jpg","is_stereo":false,"photo_type":"360_mono","created_date":"2023-04-22T17:25:27.222Z","updated_date":"2023-04-22T17:25:27.222Z","id":"5131102834393088","sort_order":13,"status":"active","has_anaglyph":false,"index":0},"5072840697053184":{"image_url":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/img2023042207495500183jpg-1682184327170.jpg","rotation":0,"thumbnail_gcs_filename":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/thumb_img2023042207495500183jpg-1682184327170.jpg","title":"Living","version":"v3","gcs_filename":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/img2023042207495500183jpg-1682184327170.jpg","filename":"img2023042207495500183jpg-1682184327170.jpg","folder":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912","thumbnail_image_url":"/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/thumb_img2023042207495500183jpg-1682184327170.jpg","is_stereo":false,"photo_type":"360_mono","created_date":"2023-04-22T17:25:27.171Z","updated_date":"2023-04-22T17:25:27.171Z","id":"5072840697053184","sort_order":14,"status":"active","has_anaglyph":false,"index":1}}; if (window.is_static) { window.photosRoot = 'https://images.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.orbix360.com'; window.pluginsRoot = 'https://storage.googleapis.com/orbix360-prod-plugins/'; } window.minterUrl = 'https://minter.orbix360.com'; window.tourId = "4909178040614912"; // 052: the tour sound's Loop / Play once choice (absent = loop). window.tourAudioLoop = true; window.tourUid = "B6Jf4NxfUoaShVhXppQPeBTHEyx2"; // 090: bandwidth usage reporter (frontend/js/usage_reporter.js); absent or disabled = no reports. window.usageReport = {"enabled":true,"roots":["https://images.orbix360.com/","https://storage.googleapis.com/orbix360-prod-images/","https://storage.googleapis.com/orbix360-prod-plugins/","https://storage.googleapis.com/orbix360-prod-assets/"],"externalHosts":["player.vimeo.com","vod-progressive.akamaized.net","vimeocdn.com"],"edit":false}; window.usageReport.viewer = 'legacy'; window.isTourOwner = false; window.customUrl = ""; window.tourSlug = "classic-cabin"; window.template = '360_mono'; window.template_category = ''; window.tourShortCode = "NEsseFvRJ"; 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['5131102834393088'] = 0; window.current_image_index = 0; window.current_image_id = 5131102834393088 window.photo_indexes['5072840697053184'] = 1; window.photo_indexes['5443352392630272'] = 2; window.photo_indexes['6319208262533120'] = 3; window.photo_indexes['4833014924181504'] = 4; window.photo_indexes['6518618787414016'] = 5; window.photo_indexes['6560143672082432'] = 6; window.photo_indexes['6306308437311488'] = 7; window.photo_indexes['5921464855298048'] = 8; 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/ACg8ocLgLdiK4F_TJ608W9yAe3Ov3wCZHxvmJijg3xPE_ymmzA=s96-c'; window.user_profile_name = 'Golden Anchor Cabins'; window.shortURLRoot = 'https://orbix360.com'; window.image_url = 'https://images.orbix360.com/users/B6Jf4NxfUoaShVhXppQPeBTHEyx2/4909178040614912/thumb_img2023042207490300181jpg-1682184327222.jpg.play.jpg'; window.image_url_root = 'https://images.orbix360.com'; window.cloudFunctionsRoot = 'https://us-central1-orbix360-prod.cloudfunctions.net'; window.timeSinceRestartRotation = 0; window.initialState = {"orbs":[{"infoHotspots":[],"id":5131102834393088,"hotspots":[{"toTitle":"Hot Tub 1","from":5131102834393088,"id":"hotspot_5131102834393088_6560143672082432","to":6560143672082432,"position":{"x":-0.9821538296575589,"y":-0.04404867763229162,"z":0.182848486151341}},{"toTitle":"Deck 1","from":5131102834393088,"id":"hotspot_5131102834393088_6306308437311488","to":6306308437311488,"position":{"x":0.9754616968771924,"y":-0.0644547802002547,"z":0.210523298555778}},{"from":5131102834393088,"id":"hotspot_5131102834393088_5443352392630272","to":5443352392630272,"position":{"x":-0.9018103860551081,"y":-0.02102213508573465,"z":0.4316203162961331},"toTitle":"Center"},{"from":5131102834393088,"id":"hotspot_5131102834393088_6319208262533120","to":6319208262533120,"position":{"x":-0.6969924718462097,"y":-0.02945063546387526,"z":0.7164734149014074},"toTitle":"Bed"},{"from":5131102834393088,"id":"hotspot_5131102834393088_5072840697053184","to":5072840697053184,"position":{"x":-0.6764624361426629,"y":-0.03939333533955766,"z":-0.7354228291389646},"toTitle":"Living"}]},{"infoHotspots":[],"id":5072840697053184,"hotspots":[{"from":5072840697053184,"id":"hotspot_5072840697053184_6319208262533120","to":6319208262533120,"position":{"x":-0.9934713430723939,"y":0.043950425828710706,"z":0.10527606833183398},"toTitle":"Bed"},{"from":5072840697053184,"id":"hotspot_5072840697053184_5443352392630272","to":5443352392630272,"position":{"x":-0.9917334245979994,"y":0.04569384491674991,"z":-0.11990365745817937},"toTitle":"Center"},{"from":5072840697053184,"id":"hotspot_5072840697053184_4833014924181504","to":4833014924181504,"position":{"x":-0.9343164486819491,"y":0.02765037824064704,"z":0.35537055351491925},"toTitle":"Bathroom"},{"from":5072840697053184,"id":"hotspot_5072840697053184_6560143672082432","to":6560143672082432,"position":{"x":-0.7951428855432078,"y":0.009889823870376437,"z":-0.6063414738856598},"toTitle":"Hot Tub 1"},{"from":5072840697053184,"id":"hotspot_5072840697053184_6306308437311488","to":6306308437311488,"position":{"x":0.1958684798154135,"y":-0.0762393295726474,"z":0.977662059835152},"toTitle":"Deck 1"},{"from":5072840697053184,"id":"hotspot_5072840697053184_5131102834393088","to":5131102834393088,"position":{"x":-0.09120576046757772,"y":-0.05892683022340322,"z":0.9940870877027592},"toTitle":"Dining"}]},{"infoHotspots":[],"id":5443352392630272,"hotspots":[{"from":5443352392630272,"id":"hotspot_5443352392630272_5131102834393088","to":5131102834393088,"position":{"x":-0.3475541573528816,"y":0.028012598162191513,"z":-0.9372413787551915},"toTitle":"Dining"},{"from":5443352392630272,"id":"hotspot_5443352392630272_5072840697053184","to":5072840697053184,"position":{"x":-0.8853679034462038,"y":-0.021156910582609587,"z":-0.4644093675647303},"toTitle":"Living"},{"from":5443352392630272,"id":"hotspot_5443352392630272_6319208262533120","to":6319208262533120,"position":{"x":0.983734832275611,"y":-0.03845628551503713,"z":0.17546194422740613},"toTitle":"Bed"},{"from":5443352392630272,"id":"hotspot_5443352392630272_4833014924181504","to":4833014924181504,"position":{"x":0.9930377941719637,"y":-0.030550681892172454,"z":-0.11376552721279164},"toTitle":"Bathroom"},{"from":5443352392630272,"id":"hotspot_5443352392630272_6560143672082432","to":6560143672082432,"position":{"x":-0.1390222911680065,"y":-0.11829624071747062,"z":0.98319825162096},"toTitle":"Hot Tub 1"},{"from":5443352392630272,"id":"hotspot_5443352392630272_6518618787414016","to":6518618787414016,"position":{"x":-0.8680703665631474,"y":-0.145434946367083,"z":0.4746604207958848},"toTitle":"Hot Tub 2"},{"from":5443352392630272,"id":"hotspot_5443352392630272_6306308437311488","to":6306308437311488,"position":{"x":-0.08044522192323633,"y":0.0330297971205547,"z":-0.9962116234876485},"toTitle":"Deck 1"}]},{"infoHotspots":[],"id":6319208262533120,"hotspots":[{"from":6319208262533120,"id":"hotspot_6319208262533120_6560143672082432","to":6560143672082432,"position":{"x":-0.6867978715535773,"y":-0.07774661319879429,"z":-0.7226784539237302},"toTitle":"Hot Tub 1"},{"from":6319208262533120,"id":"hotspot_6319208262533120_6518618787414016","to":6518618787414016,"position":{"x":-0.32422162028386825,"y":-0.020653016883069194,"z":-0.9457556734348102},"toTitle":"Hot Tub 2"},{"from":6319208262533120,"id":"hotspot_6319208262533120_4833014924181504","to":4833014924181504,"position":{"x":0.9645859266418839,"y":-0.02092246451757219,"z":-0.2629377124014905},"toTitle":"Bathroom"},{"from":6319208262533120,"id":"hotspot_6319208262533120_5072840697053184","to":5072840697053184,"position":{"x":0.07021174277794011,"y":0.02525407097353993,"z":-0.9972123861421638},"toTitle":"Living"}]},{"infoHotspots":[],"id":4833014924181504,"hotspots":[{"from":4833014924181504,"id":"hotspot_4833014924181504_5921464855298048","to":5921464855298048,"position":{"x":-0.5453082725706455,"y":0.011789761065537429,"z":-0.8381526647336011},"toTitle":"Deck 2"},{"from":4833014924181504,"id":"hotspot_4833014924181504_6319208262533120","to":6319208262533120,"position":{"x":0.9724182315404521,"y":-0.027110459363383868,"z":0.23166313034414032},"toTitle":"Bed"}]},{"infoHotspots":[],"id":6518618787414016,"hotspots":[{"toTitle":"Hot Tub 1","from":6518618787414016,"to":6560143672082432,"id":"hotspot_6518618787414016_6560143672082432","position":{"x":-0.9998308575068663,"y":0.0032219034903903415,"z":0.018107338705159813}}]},{"infoHotspots":[],"id":6560143672082432,"hotspots":[{"toTitle":"Hot Tub 2","from":6560143672082432,"id":"hotspot_6560143672082432_6518618787414016","position":{"x":-0.998804398028889,"y":-0.03636466132326144,"z":0.032670872118651904},"to":6518618787414016},{"from":6560143672082432,"id":"hotspot_6560143672082432_5443352392630272","to":5443352392630272,"position":{"x":-0.8681413380316544,"y":-0.0018009375791880702,"z":0.4963137856481972},"toTitle":"Center"}]},{"infoHotspots":[],"id":6306308437311488,"hotspots":[{"toTitle":"Deck 2","from":6306308437311488,"position":{"x":-0.3190172734739721,"y":0.006640352940588731,"z":-0.9477256380082041},"id":"hotspot_6306308437311488_5921464855298048","to":5921464855298048},{"toTitle":"Hot Tub 1","from":6306308437311488,"id":"hotspot_6306308437311488_6560143672082432","to":6560143672082432,"position":{"x":0.785925285642503,"y":-0.023188775212948032,"z":-0.6178864993604196}},{"from":6306308437311488,"id":"hotspot_6306308437311488_5131102834393088","to":5131102834393088,"position":{"x":0.2571500780544942,"y":-0.02067540000332364,"z":-0.966150280852451},"toTitle":"Dining"}]},{"infoHotspots":[],"id":5921464855298048,"hotspots":[{"toTitle":"Deck 1","from":5921464855298048,"to":6306308437311488,"id":"hotspot_5921464855298048_6306308437311488","position":{"x":0.9371542466260031,"y":-0.02390097523043462,"z":-0.34809576471695625}},{"from":5921464855298048,"id":"hotspot_5921464855298048_5131102834393088","to":5131102834393088,"position":{"x":0.5417241009165675,"y":0.008267887209224467,"z":-0.8405156991557221},"toTitle":"Dining"}]}],"autorotate":{"enabled":false},"versionNumber":3}; window.brandingAllowed = true; window.isOwner = false; // 045: owner-only prompts route to the Premium Tour page window.upgradeCheckoutSessionStatus = ''; window.isUpgradeSubscriptionValid = false; window.isPro = true; // 072: the shared entitlement rule // 029: free-plan limits from functions/common/plan_limits.js; read by // add_photos_dropzone.js (image cap, file size), which keeps fallbacks. window.planLimits = {"freeMaxMultiImageTours":2,"freeMaxSingleImageTours":-1,"freeMaxImagesPerTour":5,"freeMaxFileBytes":20000000,"multiImageLimitCutoffDate":"2026-10-11T00:00:00Z","freeMultiImageBonusPerUpgradedTour":2,"freeMultiImageBonusPerSharedTour":1,"freeMultiImageShareCreditVisitors":1,"freeMultiImageBonusForUseCase":1,"freeMaxMultiImageToursWithBonus":10,"freeMultiImageShareBonusEnabled":true,"freeMultiImageLimitEnabled":true}; window.tourTemplates = {"vr":["blank-scene","environment-scene","home-scene","nft-gallery","nft-gallery-simple","nft-gallery-room"],"noUpload":["blank-scene","environment-scene","home-scene","nft-gallery","nft-gallery-simple","nft-gallery-room","spatial-video","real-estate"],"flat":["flat","flat_stereo","nft_flat_stereo"]}; // 038: offer prices from functions/common/prices.js (display strings, cents); read by nothing yet. window.prices = {"currency":"usd","proMonthly":{"amount":999,"interval":"month","perMonth":999,"display":"$9.99","perMonthDisplay":"$9.99"},"proYearly":{"amount":9900,"interval":"year","perMonth":825,"display":"$99.00","perMonthDisplay":"$8.25"},"tourMonthly":{"amount":299,"interval":"month","perMonth":299,"display":"$2.99","perMonthDisplay":"$2.99"},"tourConversionCredit":{"amount":300,"display":"$3.00"},"tourComparison":{"count":4,"total":1196,"totalDisplay":"$11.96"}}; window.nadirLogoURL = window.isPro ? '/images/powered-by-orbix_nadir.png' : '/images/orbix_nadir.png'; window.editMode = false; // #325 feature flag: screen-space nav hotspot dock. Environment default from // app_config.NAV_DOCK_ENABLED; overridable per page load with ?navdock=on|off // (this script runs in the viewer page's context, so location.search is the // tour page's query string). Flag off = pre-#325 world-anchored nav hotspots. window.navDockEnabled = false; (function () { try { var navdock = new URLSearchParams(window.location.search).get('navdock'); if (navdock === 'on' || navdock === 'yes') { window.navDockEnabled = true; } else if (navdock === 'off' || navdock === 'no') { window.navDockEnabled = false; } } catch (e) { /* keep the environment default */ } })();