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":"img20250827090036493jpg-1756282626453.JPG","folder":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5355621689851904","gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5355621689851904/img20250827090036493jpg-1756282626453.JPG","image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5355621689851904/img20250827090036493jpg-1756282626453.JPG","thumbnail_gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5355621689851904/thumb_img20250827090036493jpg-1756282626453.JPG","thumbnail_image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5355621689851904/thumb_img20250827090036493jpg-1756282626453.JPG","rotation":0,"photo_type":"360_mono","is_stereo":false,"sort_order":1,"status":"active","created_date":"2025-08-27T08:17:06.454Z","updated_date":"2025-08-27T08:17:06.454Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FStvQBn7UXrYdel0l2nQRHWnSKpf1%2F5355621689851904%2Fimg20250827090036493jpg-1756282626453.JPG&uploadType=resumable&upload_id=ABgVH8_zZ3TAMwR3Ecj62sTGfAUCuitzF8y5D3fNVXE_o52its2uHQ_YEJoojJrVnO6loxef5cKbkC91YB3qGMZIxxWbIeSKd-9yaN580W_huGs","id":"6504888299159552","title":"Outdoor Environment","has_anaglyph":false,"index":0},{"filename":"img20250827090059243jpg-1756282626321.JPG","folder":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5355621689851904","gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5355621689851904/img20250827090059243jpg-1756282626321.JPG","image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5355621689851904/img20250827090059243jpg-1756282626321.JPG","thumbnail_gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5355621689851904/thumb_img20250827090059243jpg-1756282626321.JPG","thumbnail_image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5355621689851904/thumb_img20250827090059243jpg-1756282626321.JPG","rotation":0,"photo_type":"360_mono","is_stereo":false,"sort_order":2,"status":"active","created_date":"2025-08-27T08:17:06.328Z","updated_date":"2025-08-27T08:17:06.328Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FStvQBn7UXrYdel0l2nQRHWnSKpf1%2F5355621689851904%2Fimg20250827090059243jpg-1756282626321.JPG&uploadType=resumable&upload_id=ABgVH89Ryexats8tBiQmJSyYrgdwucx9cLKSf_fvXy_2hPPlTfiaE6b3RRjG7P8F9y354xb0x6B_s3cBpg2CwsGlhBMoyb78Edj9qVBNCF_eETo","id":"5465986243231744","title":"Mud Kitchen","has_anaglyph":false,"index":1},{"filename":"img20250827090130917jpg-1756282626461.JPG","folder":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5355621689851904","gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5355621689851904/img20250827090130917jpg-1756282626461.JPG","image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5355621689851904/img20250827090130917jpg-1756282626461.JPG","thumbnail_gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5355621689851904/thumb_img20250827090130917jpg-1756282626461.JPG","thumbnail_image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5355621689851904/thumb_img20250827090130917jpg-1756282626461.JPG","rotation":0,"photo_type":"360_mono","is_stereo":false,"sort_order":4,"status":"active","created_date":"2025-08-27T08:17:06.462Z","updated_date":"2025-08-27T08:17:06.462Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FStvQBn7UXrYdel0l2nQRHWnSKpf1%2F5355621689851904%2Fimg20250827090130917jpg-1756282626461.JPG&uploadType=resumable&upload_id=ABgVH8_P76UX2NkVn5Oe6nXxTxw-iWMFxPZqESHUHJXHWq65oHaYfR46dKXdmaMd97B0_TZucaxVnWPgSUVsV04473NqPbO-hzbkfeSdiq0FRaY","id":"6078867741605888","title":"Station Play(Indoor)","has_anaglyph":false,"index":2},{"filename":"img20250827090111302jpg-1756282626427.JPG","folder":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5355621689851904","gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5355621689851904/img20250827090111302jpg-1756282626427.JPG","image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5355621689851904/img20250827090111302jpg-1756282626427.JPG","thumbnail_gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5355621689851904/thumb_img20250827090111302jpg-1756282626427.JPG","thumbnail_image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5355621689851904/thumb_img20250827090111302jpg-1756282626427.JPG","rotation":0,"photo_type":"360_mono","is_stereo":false,"sort_order":3,"status":"active","created_date":"2025-08-27T08:17:06.428Z","updated_date":"2025-08-27T08:17:06.428Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FStvQBn7UXrYdel0l2nQRHWnSKpf1%2F5355621689851904%2Fimg20250827090111302jpg-1756282626427.JPG&uploadType=resumable&upload_id=ABgVH8-naHZmhUGXaIYWJqWsqUAZrxlN3i9WCioGw_UhzQqCLlzlCOhQS4rfPE_Zs27LlZN6wSN2b6xBwMez9fETOyBIOhXLMZpFr3LUy-Vg-dM","id":"4834494638981120","title":"Light & Shadow","has_anaglyph":false,"index":3}]; console.log('num photos: ' + window.photos.length); window.photosMap = {"6504888299159552":{"filename":"img20250827090036493jpg-1756282626453.JPG","folder":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5355621689851904","gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5355621689851904/img20250827090036493jpg-1756282626453.JPG","image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5355621689851904/img20250827090036493jpg-1756282626453.JPG","thumbnail_gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5355621689851904/thumb_img20250827090036493jpg-1756282626453.JPG","thumbnail_image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5355621689851904/thumb_img20250827090036493jpg-1756282626453.JPG","rotation":0,"photo_type":"360_mono","is_stereo":false,"sort_order":1,"status":"active","created_date":"2025-08-27T08:17:06.454Z","updated_date":"2025-08-27T08:17:06.454Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FStvQBn7UXrYdel0l2nQRHWnSKpf1%2F5355621689851904%2Fimg20250827090036493jpg-1756282626453.JPG&uploadType=resumable&upload_id=ABgVH8_zZ3TAMwR3Ecj62sTGfAUCuitzF8y5D3fNVXE_o52its2uHQ_YEJoojJrVnO6loxef5cKbkC91YB3qGMZIxxWbIeSKd-9yaN580W_huGs","id":"6504888299159552","title":"Outdoor Environment","has_anaglyph":false,"index":0},"5465986243231744":{"filename":"img20250827090059243jpg-1756282626321.JPG","folder":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5355621689851904","gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5355621689851904/img20250827090059243jpg-1756282626321.JPG","image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5355621689851904/img20250827090059243jpg-1756282626321.JPG","thumbnail_gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5355621689851904/thumb_img20250827090059243jpg-1756282626321.JPG","thumbnail_image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5355621689851904/thumb_img20250827090059243jpg-1756282626321.JPG","rotation":0,"photo_type":"360_mono","is_stereo":false,"sort_order":2,"status":"active","created_date":"2025-08-27T08:17:06.328Z","updated_date":"2025-08-27T08:17:06.328Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FStvQBn7UXrYdel0l2nQRHWnSKpf1%2F5355621689851904%2Fimg20250827090059243jpg-1756282626321.JPG&uploadType=resumable&upload_id=ABgVH89Ryexats8tBiQmJSyYrgdwucx9cLKSf_fvXy_2hPPlTfiaE6b3RRjG7P8F9y354xb0x6B_s3cBpg2CwsGlhBMoyb78Edj9qVBNCF_eETo","id":"5465986243231744","title":"Mud Kitchen","has_anaglyph":false,"index":1},"4834494638981120":{"filename":"img20250827090111302jpg-1756282626427.JPG","folder":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5355621689851904","gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5355621689851904/img20250827090111302jpg-1756282626427.JPG","image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5355621689851904/img20250827090111302jpg-1756282626427.JPG","thumbnail_gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5355621689851904/thumb_img20250827090111302jpg-1756282626427.JPG","thumbnail_image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5355621689851904/thumb_img20250827090111302jpg-1756282626427.JPG","rotation":0,"photo_type":"360_mono","is_stereo":false,"sort_order":3,"status":"active","created_date":"2025-08-27T08:17:06.428Z","updated_date":"2025-08-27T08:17:06.428Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FStvQBn7UXrYdel0l2nQRHWnSKpf1%2F5355621689851904%2Fimg20250827090111302jpg-1756282626427.JPG&uploadType=resumable&upload_id=ABgVH8-naHZmhUGXaIYWJqWsqUAZrxlN3i9WCioGw_UhzQqCLlzlCOhQS4rfPE_Zs27LlZN6wSN2b6xBwMez9fETOyBIOhXLMZpFr3LUy-Vg-dM","id":"4834494638981120","title":"Light & Shadow","has_anaglyph":false,"index":3},"6078867741605888":{"filename":"img20250827090130917jpg-1756282626461.JPG","folder":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5355621689851904","gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5355621689851904/img20250827090130917jpg-1756282626461.JPG","image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5355621689851904/img20250827090130917jpg-1756282626461.JPG","thumbnail_gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5355621689851904/thumb_img20250827090130917jpg-1756282626461.JPG","thumbnail_image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5355621689851904/thumb_img20250827090130917jpg-1756282626461.JPG","rotation":0,"photo_type":"360_mono","is_stereo":false,"sort_order":4,"status":"active","created_date":"2025-08-27T08:17:06.462Z","updated_date":"2025-08-27T08:17:06.462Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FStvQBn7UXrYdel0l2nQRHWnSKpf1%2F5355621689851904%2Fimg20250827090130917jpg-1756282626461.JPG&uploadType=resumable&upload_id=ABgVH8_P76UX2NkVn5Oe6nXxTxw-iWMFxPZqESHUHJXHWq65oHaYfR46dKXdmaMd97B0_TZucaxVnWPgSUVsV04473NqPbO-hzbkfeSdiq0FRaY","id":"6078867741605888","title":"Station Play(Indoor)","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 = "5355621689851904"; window.tourUid = "StvQBn7UXrYdel0l2nQRHWnSKpf1"; window.customUrl = "https://kiddy123.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['6504888299159552'] = 0; window.current_image_index = 0; window.current_image_id = 6504888299159552 window.photo_indexes['5465986243231744'] = 1; window.photo_indexes['6078867741605888'] = 2; window.photo_indexes['4834494638981120'] = 3; 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 = 'Orbi-3310788280'; window.shortURLRoot = 'https://orbix360.com'; window.image_url = 'https://storage.googleapis.com/orbix360-prod-images/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5355621689851904/thumb_img20250827090036493jpg-1756282626453.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":6504888299159552,"hotspots":[{"id":"hotspot_6504888299159552_5465986243231744","from":6504888299159552,"to":5465986243231744,"position":{"x":0.15483781127044902,"y":-0.031959472940575266,"z":0.9874228295367377},"toTitle":"Mud Kitchen"},{"id":"hotspot_6504888299159552_6078867741605888","from":6504888299159552,"to":6078867741605888,"position":{"x":0.6483555800683125,"y":0.031873043917279846,"z":-0.7606701984866562},"toTitle":"Station Play(Indoor)"}],"infoHotspots":[],"plugins":[{"pluginId":"4826070998056960","instanceId":"plugin_4826070998056960_1756368364568","instanceName":"Image","templateFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/4826070998056960/v3/template.html","schemaFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/4826070998056960/v3/schema.json","scriptFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/4826070998056960/v3/script.js","position":{"x":"0.1","y":"-0.9","z":"0.01"},"rotation":{"x":"-100","y":"65","z":"0"},"scale":{"x":"1","y":"1","z":"1"},"src":"https://storage.googleapis.com/orbix360-prod-assets/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5355621689851904/6504888299159552/plugin_4826070998056960_1756368364568/Piccoli Kindergarten Happy Garden.png","width":3,"height":"3","visible":true,"shader":"flat","transparent":true,"opacity":"1.0","side":"front","repeat":"1 1","additional_components":""}]},{"id":5465986243231744,"hotspots":[{"id":"hotspot_5465986243231744_6504888299159552","from":5465986243231744,"to":6504888299159552,"position":{"x":-0.24702432690969847,"y":0.0004822994013051079,"z":-0.969009158523333},"toTitle":"Outdoor Environment"},{"id":"hotspot_5465986243231744_6078867741605888","from":5465986243231744,"to":6078867741605888,"position":{"x":0.10973247245081937,"y":-0.1465504434506348,"z":-0.983098037844778},"toTitle":"Station Play(Indoor)"}],"infoHotspots":[],"plugins":[{"pluginId":"4826070998056960","instanceId":"plugin_4826070998056960_1756368401237","instanceName":"Image","templateFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/4826070998056960/v3/template.html","schemaFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/4826070998056960/v3/schema.json","scriptFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/4826070998056960/v3/script.js","position":{"x":"0.1","y":"-0.9","z":"0.01"},"rotation":{"x":"-100","y":"65","z":"0"},"scale":{"x":"1","y":"1","z":"1"},"src":"https://storage.googleapis.com/orbix360-prod-assets/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5355621689851904/5465986243231744/plugin_4826070998056960_1756368401237/Piccoli Kindergarten Happy Garden.png","width":3,"height":"3","visible":true,"shader":"flat","transparent":true,"opacity":"1.0","side":"front","repeat":"1 1","additional_components":""}]},{"id":6078867741605888,"hotspots":[{"id":"hotspot_6078867741605888_5465986243231744","from":6078867741605888,"to":5465986243231744,"position":{"x":-0.8262860076897148,"y":-0.018959303881450895,"z":0.5629315929067434},"toTitle":"Mud Kitchen"},{"id":"hotspot_6078867741605888_6504888299159552","from":6078867741605888,"to":6504888299159552,"position":{"x":-0.07431635931303963,"y":0.017040660037623386,"z":0.9970891106836627},"toTitle":"Outdoor Environment"},{"id":"hotspot_6078867741605888_4834494638981120","from":6078867741605888,"to":4834494638981120,"position":{"x":0.9774332565044951,"y":0.05299078396674221,"z":0.20449011197025704},"toTitle":"Light & Shadow"}],"infoHotspots":[],"plugins":[{"pluginId":"4826070998056960","instanceId":"plugin_4826070998056960_1756368427187","instanceName":"Image","templateFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/4826070998056960/v3/template.html","schemaFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/4826070998056960/v3/schema.json","scriptFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/4826070998056960/v3/script.js","position":{"x":"0.1","y":"-0.9","z":"0.01"},"rotation":{"x":"-100","y":"65","z":"0"},"scale":{"x":"1","y":"1","z":"1"},"src":"https://storage.googleapis.com/orbix360-prod-assets/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5355621689851904/6078867741605888/plugin_4826070998056960_1756368427187/Piccoli Kindergarten Happy Garden.png","width":3,"height":"3","visible":true,"shader":"flat","transparent":true,"opacity":"1.0","side":"front","repeat":"1 1","additional_components":""}]},{"id":4834494638981120,"hotspots":[{"id":"hotspot_4834494638981120_6504888299159552","from":4834494638981120,"to":6504888299159552,"position":{"x":-0.4705968495290917,"y":0.15812457369468425,"z":0.8680640669945783},"toTitle":"Outdoor Environment"},{"id":"hotspot_4834494638981120_6078867741605888","from":4834494638981120,"to":6078867741605888,"position":{"x":-0.4006925599071024,"y":-0.04779154613191552,"z":0.9149652674027656},"toTitle":"Station Play(Indoor)"}],"infoHotspots":[],"plugins":[{"pluginId":"4826070998056960","instanceId":"plugin_4826070998056960_1756368453702","instanceName":"Image","templateFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/4826070998056960/v3/template.html","schemaFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/4826070998056960/v3/schema.json","scriptFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/4826070998056960/v3/script.js","position":{"x":"0.1","y":"-0.9","z":"0.01"},"rotation":{"x":"-100","y":"65","z":"0"},"scale":{"x":"1","y":"1","z":"1"},"src":"https://storage.googleapis.com/orbix360-prod-assets/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5355621689851904/4834494638981120/plugin_4826070998056960_1756368453702/Piccoli Kindergarten Happy Garden.png","width":3,"height":"3","visible":true,"shader":"flat","transparent":true,"opacity":"1.0","side":"front","repeat":"1 1","additional_components":""}]}]}; window.brandingAllowed = true; window.upgradeCheckoutSessionStatus = ''; window.isUpgradeSubscriptionValid = false; window.isPro = (window.brandingAllowed || window.isUpgradeSubscriptionValid); window.nadirLogoURL = (window.brandingAllowed || isUpgradeSubscriptionValid) ? 'https://storage.googleapis.com/orbix360-prod-images/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/branding/nadir-1729253472432.png' : '/images/orbix_nadir.png'; window.editMode = false;