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":"img20260305103828032jpg-1772695547225.jpg","folder":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4819891175555072","gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4819891175555072/img20260305103828032jpg-1772695547225.jpg","image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4819891175555072/img20260305103828032jpg-1772695547225.jpg","thumbnail_gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4819891175555072/thumb_img20260305103828032jpg-1772695547225.jpg","thumbnail_image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4819891175555072/thumb_img20260305103828032jpg-1772695547225.jpg","rotation":0,"photo_type":"360_mono","is_stereo":false,"sort_order":1,"status":"active","created_date":"2026-03-05T07:25:47.227Z","updated_date":"2026-03-05T07:25:47.227Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FStvQBn7UXrYdel0l2nQRHWnSKpf1%2F4819891175555072%2Fimg20260305103828032jpg-1772695547225.jpg&uploadType=resumable&upload_id=AGQBYWzB7EXcrZ1TlpSuTqc5Xb95CgCU637xxr2dZQgqzRRcCAdOEDJh2ZekhioIRKjHRCZv0he3w39038pR3BbpXHLneInjRKffmW2URaWE5Q","id":"6362157425885184","title":"Playground","has_anaglyph":false,"index":0},{"filename":"img20260305105714530jpg-1772695547081.JPG","folder":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4819891175555072","gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4819891175555072/img20260305105714530jpg-1772695547081.JPG","image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4819891175555072/img20260305105714530jpg-1772695547081.JPG","thumbnail_gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4819891175555072/thumb_img20260305105714530jpg-1772695547081.JPG","thumbnail_image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4819891175555072/thumb_img20260305105714530jpg-1772695547081.JPG","rotation":0,"photo_type":"360_mono","is_stereo":false,"sort_order":3,"status":"active","created_date":"2026-03-05T07:25:47.082Z","updated_date":"2026-03-05T07:25:47.082Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FStvQBn7UXrYdel0l2nQRHWnSKpf1%2F4819891175555072%2Fimg20260305105714530jpg-1772695547081.JPG&uploadType=resumable&upload_id=AGQBYWw3MkDVnivBcQpKCI0R_yt_T6ifbxQ756icmGeNS4GWIUT7Jx5NdtkTxjJVFuubUdeKa4apNZ9XKTN9qyDp0gKIcxYcCSDimtMkbG_FWqI","id":"5938534533824512","title":"Classroom","has_anaglyph":false,"index":1},{"filename":"img20260305104704409jpg-1772695549435.JPG","folder":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4819891175555072","gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4819891175555072/img20260305104704409jpg-1772695549435.JPG","image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4819891175555072/img20260305104704409jpg-1772695549435.JPG","thumbnail_gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4819891175555072/thumb_img20260305104704409jpg-1772695549435.JPG","thumbnail_image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4819891175555072/thumb_img20260305104704409jpg-1772695549435.JPG","rotation":0,"photo_type":"360_mono","is_stereo":false,"sort_order":2,"status":"active","created_date":"2026-03-05T07:25:49.437Z","updated_date":"2026-03-05T07:25:49.437Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FStvQBn7UXrYdel0l2nQRHWnSKpf1%2F4819891175555072%2Fimg20260305104704409jpg-1772695549435.JPG&uploadType=resumable&upload_id=AGQBYWzXg3ReAwvbg-6w0ki17vcudH4XcYzUavkno9nCqUXnogGKuilD1VNCCQDwTXNvW5GMaZpcjbp80GcYSzZ9GI6t81_dyvTiKhBsFOBdyw","id":"5313740675219456","title":"Dinning Area","has_anaglyph":false,"index":2},{"filename":"img20260305112629028jpg-1772695549566.jpg","folder":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4819891175555072","gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4819891175555072/img20260305112629028jpg-1772695549566.jpg","image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4819891175555072/img20260305112629028jpg-1772695549566.jpg","thumbnail_gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4819891175555072/thumb_img20260305112629028jpg-1772695549566.jpg","thumbnail_image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4819891175555072/thumb_img20260305112629028jpg-1772695549566.jpg","rotation":0,"photo_type":"360_mono","is_stereo":false,"sort_order":4,"status":"active","created_date":"2026-03-05T07:25:49.567Z","updated_date":"2026-03-05T07:25:49.567Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FStvQBn7UXrYdel0l2nQRHWnSKpf1%2F4819891175555072%2Fimg20260305112629028jpg-1772695549566.jpg&uploadType=resumable&upload_id=AGQBYWwATYgWzi7U8JR2JUWgqAER70OOrW0QKsUXnry4A4U6VDJue-JQ4H5lSTU8rBitoJr2BjC5nG-SvMypwBbW6vz68NdQxoH9DbduVRWc7w","id":"4868549883461632","title":"Multipurpose Hall ","has_anaglyph":false,"index":3}]; console.log('num photos: ' + window.photos.length); window.photosMap = {"6362157425885184":{"filename":"img20260305103828032jpg-1772695547225.jpg","folder":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4819891175555072","gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4819891175555072/img20260305103828032jpg-1772695547225.jpg","image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4819891175555072/img20260305103828032jpg-1772695547225.jpg","thumbnail_gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4819891175555072/thumb_img20260305103828032jpg-1772695547225.jpg","thumbnail_image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4819891175555072/thumb_img20260305103828032jpg-1772695547225.jpg","rotation":0,"photo_type":"360_mono","is_stereo":false,"sort_order":1,"status":"active","created_date":"2026-03-05T07:25:47.227Z","updated_date":"2026-03-05T07:25:47.227Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FStvQBn7UXrYdel0l2nQRHWnSKpf1%2F4819891175555072%2Fimg20260305103828032jpg-1772695547225.jpg&uploadType=resumable&upload_id=AGQBYWzB7EXcrZ1TlpSuTqc5Xb95CgCU637xxr2dZQgqzRRcCAdOEDJh2ZekhioIRKjHRCZv0he3w39038pR3BbpXHLneInjRKffmW2URaWE5Q","id":"6362157425885184","title":"Playground","has_anaglyph":false,"index":0},"5313740675219456":{"filename":"img20260305104704409jpg-1772695549435.JPG","folder":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4819891175555072","gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4819891175555072/img20260305104704409jpg-1772695549435.JPG","image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4819891175555072/img20260305104704409jpg-1772695549435.JPG","thumbnail_gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4819891175555072/thumb_img20260305104704409jpg-1772695549435.JPG","thumbnail_image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4819891175555072/thumb_img20260305104704409jpg-1772695549435.JPG","rotation":0,"photo_type":"360_mono","is_stereo":false,"sort_order":2,"status":"active","created_date":"2026-03-05T07:25:49.437Z","updated_date":"2026-03-05T07:25:49.437Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FStvQBn7UXrYdel0l2nQRHWnSKpf1%2F4819891175555072%2Fimg20260305104704409jpg-1772695549435.JPG&uploadType=resumable&upload_id=AGQBYWzXg3ReAwvbg-6w0ki17vcudH4XcYzUavkno9nCqUXnogGKuilD1VNCCQDwTXNvW5GMaZpcjbp80GcYSzZ9GI6t81_dyvTiKhBsFOBdyw","id":"5313740675219456","title":"Dinning Area","has_anaglyph":false,"index":2},"5938534533824512":{"filename":"img20260305105714530jpg-1772695547081.JPG","folder":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4819891175555072","gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4819891175555072/img20260305105714530jpg-1772695547081.JPG","image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4819891175555072/img20260305105714530jpg-1772695547081.JPG","thumbnail_gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4819891175555072/thumb_img20260305105714530jpg-1772695547081.JPG","thumbnail_image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4819891175555072/thumb_img20260305105714530jpg-1772695547081.JPG","rotation":0,"photo_type":"360_mono","is_stereo":false,"sort_order":3,"status":"active","created_date":"2026-03-05T07:25:47.082Z","updated_date":"2026-03-05T07:25:47.082Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FStvQBn7UXrYdel0l2nQRHWnSKpf1%2F4819891175555072%2Fimg20260305105714530jpg-1772695547081.JPG&uploadType=resumable&upload_id=AGQBYWw3MkDVnivBcQpKCI0R_yt_T6ifbxQ756icmGeNS4GWIUT7Jx5NdtkTxjJVFuubUdeKa4apNZ9XKTN9qyDp0gKIcxYcCSDimtMkbG_FWqI","id":"5938534533824512","title":"Classroom","has_anaglyph":false,"index":1},"4868549883461632":{"filename":"img20260305112629028jpg-1772695549566.jpg","folder":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4819891175555072","gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4819891175555072/img20260305112629028jpg-1772695549566.jpg","image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4819891175555072/img20260305112629028jpg-1772695549566.jpg","thumbnail_gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4819891175555072/thumb_img20260305112629028jpg-1772695549566.jpg","thumbnail_image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4819891175555072/thumb_img20260305112629028jpg-1772695549566.jpg","rotation":0,"photo_type":"360_mono","is_stereo":false,"sort_order":4,"status":"active","created_date":"2026-03-05T07:25:49.567Z","updated_date":"2026-03-05T07:25:49.567Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FStvQBn7UXrYdel0l2nQRHWnSKpf1%2F4819891175555072%2Fimg20260305112629028jpg-1772695549566.jpg&uploadType=resumable&upload_id=AGQBYWwATYgWzi7U8JR2JUWgqAER70OOrW0QKsUXnry4A4U6VDJue-JQ4H5lSTU8rBitoJr2BjC5nG-SvMypwBbW6vz68NdQxoH9DbduVRWc7w","id":"4868549883461632","title":"Multipurpose Hall ","has_anaglyph":false,"index":3}}; 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 = "4819891175555072"; 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['6362157425885184'] = 0; window.current_image_index = 0; window.current_image_id = 6362157425885184 window.photo_indexes['5938534533824512'] = 1; window.photo_indexes['5313740675219456'] = 2; window.photo_indexes['4868549883461632'] = 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/4819891175555072/thumb_img20260305103828032jpg-1772695547225.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":6362157425885184,"hotspots":[{"id":"hotspot_6362157425885184_5938534533824512","from":6362157425885184,"to":5938534533824512,"position":{"x":-0.09624521218663387,"y":-0.019414417033595307,"z":-0.9951682970947154},"toTitle":"Classroom"},{"id":"hotspot_6362157425885184_5313740675219456","from":6362157425885184,"to":5313740675219456,"position":{"x":0.3808594514770355,"y":-0.01016333199992847,"z":-0.9245770843489853},"toTitle":"Dinning Area"},{"id":"hotspot_6362157425885184_4868549883461632","from":6362157425885184,"to":4868549883461632,"position":{"x":0.775008258235458,"y":0.03701649076856205,"z":-0.6308660547834402},"toTitle":"Multipurpose Hall "}],"infoHotspots":[],"plugins":[{"pluginId":"4826070998056960","instanceId":"plugin_4826070998056960_1772696032475","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/4819891175555072/6362157425885184/plugin_4826070998056960_1772696032475/Johan Preschool.png","width":3,"height":"3","visible":true,"shader":"flat","transparent":true,"opacity":"1.0","side":"front","repeat":"1 1","additional_components":""}]},{"id":5938534533824512,"hotspots":[{"id":"hotspot_5938534533824512_4868549883461632","from":5938534533824512,"to":4868549883461632,"position":{"x":-0.9997588503520307,"y":-0.006239888496728705,"z":-0.021054807867430723},"toTitle":"Multipurpose Hall "},{"id":"hotspot_5938534533824512_5313740675219456","from":5938534533824512,"to":5313740675219456,"position":{"x":-0.7427805914044872,"y":-0.006699955556488556,"z":0.6695013843363893},"toTitle":"Dinning Area"},{"id":"hotspot_5938534533824512_6362157425885184","from":5938534533824512,"to":6362157425885184,"position":{"x":0.34254532290751966,"y":-0.045709812227611106,"z":-0.9383886800363161},"toTitle":"Playground"}],"infoHotspots":[],"plugins":[{"pluginId":"4826070998056960","instanceId":"plugin_4826070998056960_1772696064033","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/4819891175555072/5938534533824512/plugin_4826070998056960_1772696064033/Johan Preschool.png","width":3,"height":"3","visible":true,"shader":"flat","transparent":true,"opacity":"1.0","side":"front","repeat":"1 1","additional_components":""}]},{"id":5313740675219456,"hotspots":[{"id":"hotspot_5313740675219456_4868549883461632","from":5313740675219456,"to":4868549883461632,"position":{"x":0.28158386845395,"y":0.040087620192445536,"z":0.9586988618611241},"toTitle":"Multipurpose Hall "},{"id":"hotspot_5313740675219456_6362157425885184","from":5313740675219456,"to":6362157425885184,"position":{"x":-0.46299205047330394,"y":-0.014688215181830243,"z":0.8862407221140868},"toTitle":"Playground"}],"infoHotspots":[],"plugins":[{"pluginId":"4826070998056960","instanceId":"plugin_4826070998056960_1772696092131","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/4819891175555072/5313740675219456/plugin_4826070998056960_1772696092131/Johan Preschool.png","width":3,"height":"3","visible":true,"shader":"flat","transparent":true,"opacity":"1.0","side":"front","repeat":"1 1","additional_components":""}]},{"id":4868549883461632,"hotspots":[{"id":"hotspot_4868549883461632_6362157425885184","from":4868549883461632,"to":6362157425885184,"position":{"x":-0.5728445948325174,"y":-0.09870483758395715,"z":-0.8136992228143599},"toTitle":"Playground"},{"id":"hotspot_4868549883461632_5313740675219456","from":4868549883461632,"to":5313740675219456,"position":{"x":0.19518467527015224,"y":-0.07766390269576502,"z":-0.9776866884425439},"toTitle":"Dinning Area"}],"infoHotspots":[],"plugins":[{"pluginId":"4826070998056960","instanceId":"plugin_4826070998056960_1772696120014","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/4819891175555072/4868549883461632/plugin_4826070998056960_1772696120014/Johan Preschool.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;