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 = [{"filename":"panoramatiny-home-landscape-132024-10-18-07-55-32jpg-1729254801962.jpg","folder":"/users/4teCUE2jtDWhWUMORvUzRE7ye4r2/6635693277184000","gcs_filename":"/users/4teCUE2jtDWhWUMORvUzRE7ye4r2/6635693277184000/panoramatiny-home-landscape-132024-10-18-07-55-32jpg-1729254801962.jpg","image_url":"/users/4teCUE2jtDWhWUMORvUzRE7ye4r2/6635693277184000/panoramatiny-home-landscape-132024-10-18-07-55-32jpg-1729254801962.jpg","thumbnail_gcs_filename":"/users/4teCUE2jtDWhWUMORvUzRE7ye4r2/6635693277184000/thumb_panoramatiny-home-landscape-132024-10-18-07-55-32jpg-1729254801962.jpg","thumbnail_image_url":"/users/4teCUE2jtDWhWUMORvUzRE7ye4r2/6635693277184000/thumb_panoramatiny-home-landscape-132024-10-18-07-55-32jpg-1729254801962.jpg","rotation":0,"photo_type":"360_pano","is_stereo":false,"sort_order":2,"status":"active","created_date":"2024-10-18T12:33:21.963Z","updated_date":"2024-10-18T12:33:21.963Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2F4teCUE2jtDWhWUMORvUzRE7ye4r2%2F6635693277184000%2Fpanoramatiny-home-landscape-132024-10-18-07-55-32jpg-1729254801962.jpg&uploadType=resumable&upload_id=AHmUCY3rhrH725YjesSdoL_RBDP5unMhHV41Vi1htFko0D4ovgHLyicKpLWH7RrwDg2CbARUnZbEiXaX-DEOCu6YdGT6Tvt3iWMZ_BpXHSL9Ps6Pag","id":"6546083213737984","title":"Kitchen","has_anaglyph":false,"index":0},{"filename":"panoramatiny-home-landscape-132024-10-18-08-06-45jpg-1729254654342.jpg","folder":"/users/4teCUE2jtDWhWUMORvUzRE7ye4r2/6635693277184000","gcs_filename":"/users/4teCUE2jtDWhWUMORvUzRE7ye4r2/6635693277184000/panoramatiny-home-landscape-132024-10-18-08-06-45jpg-1729254654342.jpg","image_url":"/users/4teCUE2jtDWhWUMORvUzRE7ye4r2/6635693277184000/panoramatiny-home-landscape-132024-10-18-08-06-45jpg-1729254654342.jpg","thumbnail_gcs_filename":"/users/4teCUE2jtDWhWUMORvUzRE7ye4r2/6635693277184000/thumb_panoramatiny-home-landscape-132024-10-18-08-06-45jpg-1729254654342.jpg","thumbnail_image_url":"/users/4teCUE2jtDWhWUMORvUzRE7ye4r2/6635693277184000/thumb_panoramatiny-home-landscape-132024-10-18-08-06-45jpg-1729254654342.jpg","rotation":0,"photo_type":"360_pano","is_stereo":false,"sort_order":1,"status":"active","created_date":"2024-10-18T12:30:54.343Z","updated_date":"2024-10-18T12:30:54.343Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2F4teCUE2jtDWhWUMORvUzRE7ye4r2%2F6635693277184000%2Fpanoramatiny-home-landscape-132024-10-18-08-06-45jpg-1729254654342.jpg&uploadType=resumable&upload_id=AHmUCY20IoSmWLMG1UFBnTIoiijVCgWB9fqJAGadG5j4n2LM6u6eaVEfhAr86fhRZlibZeZ5EJXvmXvCzNXmh8cuzxKOIrN4vmrnGHPBbuLB-X2u","id":"5255822156234752","title":"Bedroom","has_anaglyph":false,"index":1},{"filename":"panoramatiny-home-landscape-132024-10-18-07-36-20jpg-1729254801969.jpg","folder":"/users/4teCUE2jtDWhWUMORvUzRE7ye4r2/6635693277184000","gcs_filename":"/users/4teCUE2jtDWhWUMORvUzRE7ye4r2/6635693277184000/panoramatiny-home-landscape-132024-10-18-07-36-20jpg-1729254801969.jpg","image_url":"/users/4teCUE2jtDWhWUMORvUzRE7ye4r2/6635693277184000/panoramatiny-home-landscape-132024-10-18-07-36-20jpg-1729254801969.jpg","thumbnail_gcs_filename":"/users/4teCUE2jtDWhWUMORvUzRE7ye4r2/6635693277184000/thumb_panoramatiny-home-landscape-132024-10-18-07-36-20jpg-1729254801969.jpg","thumbnail_image_url":"/users/4teCUE2jtDWhWUMORvUzRE7ye4r2/6635693277184000/thumb_panoramatiny-home-landscape-132024-10-18-07-36-20jpg-1729254801969.jpg","rotation":0,"photo_type":"360_pano","is_stereo":false,"sort_order":3,"status":"active","created_date":"2024-10-18T12:33:21.970Z","updated_date":"2024-10-18T12:33:21.970Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2F4teCUE2jtDWhWUMORvUzRE7ye4r2%2F6635693277184000%2Fpanoramatiny-home-landscape-132024-10-18-07-36-20jpg-1729254801969.jpg&uploadType=resumable&upload_id=AHmUCY36whQAw5cYxS4bA6KltvKTzmYJCqcT0dZYI34sOEE8lCgu6nYvd7b-PaW2Qix0QcftmN-qtPS9Jr1kL5Hsd1ai9YOj3muyiwgosnkjTkia","id":"6613456084008960","title":"Living Room","has_anaglyph":false,"index":2}]; console.log('num photos: ' + window.photos.length); window.photosMap = {"5255822156234752":{"filename":"panoramatiny-home-landscape-132024-10-18-08-06-45jpg-1729254654342.jpg","folder":"/users/4teCUE2jtDWhWUMORvUzRE7ye4r2/6635693277184000","gcs_filename":"/users/4teCUE2jtDWhWUMORvUzRE7ye4r2/6635693277184000/panoramatiny-home-landscape-132024-10-18-08-06-45jpg-1729254654342.jpg","image_url":"/users/4teCUE2jtDWhWUMORvUzRE7ye4r2/6635693277184000/panoramatiny-home-landscape-132024-10-18-08-06-45jpg-1729254654342.jpg","thumbnail_gcs_filename":"/users/4teCUE2jtDWhWUMORvUzRE7ye4r2/6635693277184000/thumb_panoramatiny-home-landscape-132024-10-18-08-06-45jpg-1729254654342.jpg","thumbnail_image_url":"/users/4teCUE2jtDWhWUMORvUzRE7ye4r2/6635693277184000/thumb_panoramatiny-home-landscape-132024-10-18-08-06-45jpg-1729254654342.jpg","rotation":0,"photo_type":"360_pano","is_stereo":false,"sort_order":1,"status":"active","created_date":"2024-10-18T12:30:54.343Z","updated_date":"2024-10-18T12:30:54.343Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2F4teCUE2jtDWhWUMORvUzRE7ye4r2%2F6635693277184000%2Fpanoramatiny-home-landscape-132024-10-18-08-06-45jpg-1729254654342.jpg&uploadType=resumable&upload_id=AHmUCY20IoSmWLMG1UFBnTIoiijVCgWB9fqJAGadG5j4n2LM6u6eaVEfhAr86fhRZlibZeZ5EJXvmXvCzNXmh8cuzxKOIrN4vmrnGHPBbuLB-X2u","id":"5255822156234752","title":"Bedroom","has_anaglyph":false,"index":1},"6546083213737984":{"filename":"panoramatiny-home-landscape-132024-10-18-07-55-32jpg-1729254801962.jpg","folder":"/users/4teCUE2jtDWhWUMORvUzRE7ye4r2/6635693277184000","gcs_filename":"/users/4teCUE2jtDWhWUMORvUzRE7ye4r2/6635693277184000/panoramatiny-home-landscape-132024-10-18-07-55-32jpg-1729254801962.jpg","image_url":"/users/4teCUE2jtDWhWUMORvUzRE7ye4r2/6635693277184000/panoramatiny-home-landscape-132024-10-18-07-55-32jpg-1729254801962.jpg","thumbnail_gcs_filename":"/users/4teCUE2jtDWhWUMORvUzRE7ye4r2/6635693277184000/thumb_panoramatiny-home-landscape-132024-10-18-07-55-32jpg-1729254801962.jpg","thumbnail_image_url":"/users/4teCUE2jtDWhWUMORvUzRE7ye4r2/6635693277184000/thumb_panoramatiny-home-landscape-132024-10-18-07-55-32jpg-1729254801962.jpg","rotation":0,"photo_type":"360_pano","is_stereo":false,"sort_order":2,"status":"active","created_date":"2024-10-18T12:33:21.963Z","updated_date":"2024-10-18T12:33:21.963Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2F4teCUE2jtDWhWUMORvUzRE7ye4r2%2F6635693277184000%2Fpanoramatiny-home-landscape-132024-10-18-07-55-32jpg-1729254801962.jpg&uploadType=resumable&upload_id=AHmUCY3rhrH725YjesSdoL_RBDP5unMhHV41Vi1htFko0D4ovgHLyicKpLWH7RrwDg2CbARUnZbEiXaX-DEOCu6YdGT6Tvt3iWMZ_BpXHSL9Ps6Pag","id":"6546083213737984","title":"Kitchen","has_anaglyph":false,"index":0},"6613456084008960":{"filename":"panoramatiny-home-landscape-132024-10-18-07-36-20jpg-1729254801969.jpg","folder":"/users/4teCUE2jtDWhWUMORvUzRE7ye4r2/6635693277184000","gcs_filename":"/users/4teCUE2jtDWhWUMORvUzRE7ye4r2/6635693277184000/panoramatiny-home-landscape-132024-10-18-07-36-20jpg-1729254801969.jpg","image_url":"/users/4teCUE2jtDWhWUMORvUzRE7ye4r2/6635693277184000/panoramatiny-home-landscape-132024-10-18-07-36-20jpg-1729254801969.jpg","thumbnail_gcs_filename":"/users/4teCUE2jtDWhWUMORvUzRE7ye4r2/6635693277184000/thumb_panoramatiny-home-landscape-132024-10-18-07-36-20jpg-1729254801969.jpg","thumbnail_image_url":"/users/4teCUE2jtDWhWUMORvUzRE7ye4r2/6635693277184000/thumb_panoramatiny-home-landscape-132024-10-18-07-36-20jpg-1729254801969.jpg","rotation":0,"photo_type":"360_pano","is_stereo":false,"sort_order":3,"status":"active","created_date":"2024-10-18T12:33:21.970Z","updated_date":"2024-10-18T12:33:21.970Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2F4teCUE2jtDWhWUMORvUzRE7ye4r2%2F6635693277184000%2Fpanoramatiny-home-landscape-132024-10-18-07-36-20jpg-1729254801969.jpg&uploadType=resumable&upload_id=AHmUCY36whQAw5cYxS4bA6KltvKTzmYJCqcT0dZYI34sOEE8lCgu6nYvd7b-PaW2Qix0QcftmN-qtPS9Jr1kL5Hsd1ai9YOj3muyiwgosnkjTkia","id":"6613456084008960","title":"Living Room","has_anaglyph":false,"index":2}}; 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 = "6635693277184000"; window.tourUid = "4teCUE2jtDWhWUMORvUzRE7ye4r2"; window.customUrl = "http://www.orbix360.com"; window.tourSlug = "tiny-home"; window.template = '360_pano'; window.template_category = ''; window.tourShortCode = "8mUC-QC3t"; 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['6546083213737984'] = 0; window.current_image_index = 0; window.current_image_id = 6546083213737984 window.photo_indexes['5255822156234752'] = 1; window.photo_indexes['6613456084008960'] = 2; 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/ACg8ocJLeb6mBNPEtPF6jOPitslGkRdqJuSEXx3AjgiqgtN4CPOpKQ=s96-c'; window.user_profile_name = 'Suzuki Lin'; window.shortURLRoot = 'https://orbix360.com'; window.image_url = 'https://storage.googleapis.com/orbix360-prod-images/users/4teCUE2jtDWhWUMORvUzRE7ye4r2/6635693277184000/thumb_panoramatiny-home-landscape-132024-10-18-07-55-32jpg-1729254801962.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 = {"versionNumber":3,"autorotate":{"enabled":true},"orbs":[{"id":6546083213737984,"hotspots":[{"id":"hotspot_6546083213737984_6613456084008960","from":6546083213737984,"to":6613456084008960,"position":{"x":0.9098176040987253,"y":-0.1643529174680504,"z":-0.3810774800375844},"toTitle":"Living Room"},{"id":"hotspot_6546083213737984_5255822156234752","from":6546083213737984,"to":5255822156234752,"position":{"x":0.9399785936543424,"y":0.24385668489802,"z":-0.23869260713761636},"toTitle":"Bedroom"}],"infoHotspots":[],"plugins":[]},{"id":5255822156234752,"hotspots":[{"id":"hotspot_5255822156234752_6546083213737984","from":5255822156234752,"to":6546083213737984,"position":{"x":-0.8197493100839165,"y":-0.5288533349962855,"z":-0.21982997675533186},"toTitle":"Kitchen"}],"infoHotspots":[],"plugins":[]},{"id":6613456084008960,"hotspots":[{"id":"hotspot_6613456084008960_5255822156234752","from":6613456084008960,"to":5255822156234752,"position":{"x":-0.837561059250849,"y":-0.1827835904111113,"z":-0.5148607880806414},"toTitle":"Bedroom"}],"infoHotspots":[]}]}; window.brandingAllowed = false; window.upgradeCheckoutSessionStatus = 'complete'; 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;