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":"3601png-1737581107894.png","folder":"/users/Ijgg4fqWX9PvVjLsR4Lkhii1pBl2/4900022988570624","gcs_filename":"/users/Ijgg4fqWX9PvVjLsR4Lkhii1pBl2/4900022988570624/3601png-1737581107894.png","image_url":"/users/Ijgg4fqWX9PvVjLsR4Lkhii1pBl2/4900022988570624/3601png-1737581107894.png","thumbnail_gcs_filename":"/users/Ijgg4fqWX9PvVjLsR4Lkhii1pBl2/4900022988570624/thumb_3601png-1737581107894.png","thumbnail_image_url":"/users/Ijgg4fqWX9PvVjLsR4Lkhii1pBl2/4900022988570624/thumb_3601png-1737581107894.png","rotation":0,"photo_type":"360_mono","is_stereo":false,"sort_order":1,"status":"active","created_date":"2025-01-22T21:25:07.895Z","updated_date":"2025-01-22T21:25:07.895Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FIjgg4fqWX9PvVjLsR4Lkhii1pBl2%2F4900022988570624%2F3601png-1737581107894.png&uploadType=resumable&upload_id=AFIdbgTTuqlJ73iQB1wMOo1eEggmlkTqEsBnTYFVr7gywY9ebnNLdUBLiypZvPmk76wD1niEnhNT_aq1wDGPSTszQrKuv129qKsXqacC-VkL7Q","id":"6577872246407168","title":"Entrada","has_anaglyph":false,"index":0},{"filename":"3602png-1737581107874.png","folder":"/users/Ijgg4fqWX9PvVjLsR4Lkhii1pBl2/4900022988570624","gcs_filename":"/users/Ijgg4fqWX9PvVjLsR4Lkhii1pBl2/4900022988570624/3602png-1737581107874.png","image_url":"/users/Ijgg4fqWX9PvVjLsR4Lkhii1pBl2/4900022988570624/3602png-1737581107874.png","thumbnail_gcs_filename":"/users/Ijgg4fqWX9PvVjLsR4Lkhii1pBl2/4900022988570624/thumb_3602png-1737581107874.png","thumbnail_image_url":"/users/Ijgg4fqWX9PvVjLsR4Lkhii1pBl2/4900022988570624/thumb_3602png-1737581107874.png","rotation":0,"photo_type":"360_mono","is_stereo":false,"sort_order":2,"status":"active","created_date":"2025-01-22T21:25:07.874Z","updated_date":"2025-01-22T21:25:07.874Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FIjgg4fqWX9PvVjLsR4Lkhii1pBl2%2F4900022988570624%2F3602png-1737581107874.png&uploadType=resumable&upload_id=AFIdbgQfsCsomCKeJcHlc7QkDebSaCx-Tfzv4TjUG_gTfmC-trsUobXTgxnwAoF5WXxJLYOyNi-e72VpGTBxGo18Sno5v0C_jBSUX2w_6A_FAgg","id":"4819896078696448","title":"Mesas","has_anaglyph":false,"index":1},{"filename":"3603png-1737581107896.png","folder":"/users/Ijgg4fqWX9PvVjLsR4Lkhii1pBl2/4900022988570624","gcs_filename":"/users/Ijgg4fqWX9PvVjLsR4Lkhii1pBl2/4900022988570624/3603png-1737581107896.png","image_url":"/users/Ijgg4fqWX9PvVjLsR4Lkhii1pBl2/4900022988570624/3603png-1737581107896.png","thumbnail_gcs_filename":"/users/Ijgg4fqWX9PvVjLsR4Lkhii1pBl2/4900022988570624/thumb_3603png-1737581107896.png","thumbnail_image_url":"/users/Ijgg4fqWX9PvVjLsR4Lkhii1pBl2/4900022988570624/thumb_3603png-1737581107896.png","rotation":0,"photo_type":"360_mono","is_stereo":false,"sort_order":3,"status":"active","created_date":"2025-01-22T21:25:07.897Z","updated_date":"2025-01-22T21:25:07.897Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FIjgg4fqWX9PvVjLsR4Lkhii1pBl2%2F4900022988570624%2F3603png-1737581107896.png&uploadType=resumable&upload_id=AFIdbgSuLn6-jxhmunP7Ls6EMHhLxegfDN6rT8O-edm3hRfHqdBO6rOzwCqrYW4krqUHoICu0yxl54Vrgmu5_h6LShS0WR9uh3QAsymIIrWeVdo","id":"6011131715911680","title":"Barra","has_anaglyph":false,"index":2}]; console.log('num photos: ' + window.photos.length); window.photosMap = {"6577872246407168":{"filename":"3601png-1737581107894.png","folder":"/users/Ijgg4fqWX9PvVjLsR4Lkhii1pBl2/4900022988570624","gcs_filename":"/users/Ijgg4fqWX9PvVjLsR4Lkhii1pBl2/4900022988570624/3601png-1737581107894.png","image_url":"/users/Ijgg4fqWX9PvVjLsR4Lkhii1pBl2/4900022988570624/3601png-1737581107894.png","thumbnail_gcs_filename":"/users/Ijgg4fqWX9PvVjLsR4Lkhii1pBl2/4900022988570624/thumb_3601png-1737581107894.png","thumbnail_image_url":"/users/Ijgg4fqWX9PvVjLsR4Lkhii1pBl2/4900022988570624/thumb_3601png-1737581107894.png","rotation":0,"photo_type":"360_mono","is_stereo":false,"sort_order":1,"status":"active","created_date":"2025-01-22T21:25:07.895Z","updated_date":"2025-01-22T21:25:07.895Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FIjgg4fqWX9PvVjLsR4Lkhii1pBl2%2F4900022988570624%2F3601png-1737581107894.png&uploadType=resumable&upload_id=AFIdbgTTuqlJ73iQB1wMOo1eEggmlkTqEsBnTYFVr7gywY9ebnNLdUBLiypZvPmk76wD1niEnhNT_aq1wDGPSTszQrKuv129qKsXqacC-VkL7Q","id":"6577872246407168","title":"Entrada","has_anaglyph":false,"index":0},"4819896078696448":{"filename":"3602png-1737581107874.png","folder":"/users/Ijgg4fqWX9PvVjLsR4Lkhii1pBl2/4900022988570624","gcs_filename":"/users/Ijgg4fqWX9PvVjLsR4Lkhii1pBl2/4900022988570624/3602png-1737581107874.png","image_url":"/users/Ijgg4fqWX9PvVjLsR4Lkhii1pBl2/4900022988570624/3602png-1737581107874.png","thumbnail_gcs_filename":"/users/Ijgg4fqWX9PvVjLsR4Lkhii1pBl2/4900022988570624/thumb_3602png-1737581107874.png","thumbnail_image_url":"/users/Ijgg4fqWX9PvVjLsR4Lkhii1pBl2/4900022988570624/thumb_3602png-1737581107874.png","rotation":0,"photo_type":"360_mono","is_stereo":false,"sort_order":2,"status":"active","created_date":"2025-01-22T21:25:07.874Z","updated_date":"2025-01-22T21:25:07.874Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FIjgg4fqWX9PvVjLsR4Lkhii1pBl2%2F4900022988570624%2F3602png-1737581107874.png&uploadType=resumable&upload_id=AFIdbgQfsCsomCKeJcHlc7QkDebSaCx-Tfzv4TjUG_gTfmC-trsUobXTgxnwAoF5WXxJLYOyNi-e72VpGTBxGo18Sno5v0C_jBSUX2w_6A_FAgg","id":"4819896078696448","title":"Mesas","has_anaglyph":false,"index":1},"6011131715911680":{"filename":"3603png-1737581107896.png","folder":"/users/Ijgg4fqWX9PvVjLsR4Lkhii1pBl2/4900022988570624","gcs_filename":"/users/Ijgg4fqWX9PvVjLsR4Lkhii1pBl2/4900022988570624/3603png-1737581107896.png","image_url":"/users/Ijgg4fqWX9PvVjLsR4Lkhii1pBl2/4900022988570624/3603png-1737581107896.png","thumbnail_gcs_filename":"/users/Ijgg4fqWX9PvVjLsR4Lkhii1pBl2/4900022988570624/thumb_3603png-1737581107896.png","thumbnail_image_url":"/users/Ijgg4fqWX9PvVjLsR4Lkhii1pBl2/4900022988570624/thumb_3603png-1737581107896.png","rotation":0,"photo_type":"360_mono","is_stereo":false,"sort_order":3,"status":"active","created_date":"2025-01-22T21:25:07.897Z","updated_date":"2025-01-22T21:25:07.897Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FIjgg4fqWX9PvVjLsR4Lkhii1pBl2%2F4900022988570624%2F3603png-1737581107896.png&uploadType=resumable&upload_id=AFIdbgSuLn6-jxhmunP7Ls6EMHhLxegfDN6rT8O-edm3hRfHqdBO6rOzwCqrYW4krqUHoICu0yxl54Vrgmu5_h6LShS0WR9uh3QAsymIIrWeVdo","id":"6011131715911680","title":"Barra","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 = "4900022988570624"; window.tourUid = "Ijgg4fqWX9PvVjLsR4Lkhii1pBl2"; window.customUrl = "http://www.orbix360.com"; window.tourSlug = "a-tomar-alguito"; window.template = '360_mono'; window.template_category = '360'; window.tourShortCode = "9hPi3t8l5"; 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['6577872246407168'] = 0; window.current_image_index = 0; window.current_image_id = 6577872246407168 window.photo_indexes['4819896078696448'] = 1; window.photo_indexes['6011131715911680'] = 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/ACg8ocK-ED4Ic6RMoE9nxOS7BFytzq7UsIwu9rVqfvDmhOd-ULBwVfI=s96-c'; window.user_profile_name = 'Alejandro Proskahuer (Proskahuer & Inmerso)'; window.shortURLRoot = 'https://orbix360.com'; window.image_url = 'https://storage.googleapis.com/orbix360-prod-images/users/Ijgg4fqWX9PvVjLsR4Lkhii1pBl2/4900022988570624/thumb_3601png-1737581107894.png.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":false},"orbs":[{"id":6577872246407168,"hotspots":[],"infoHotspots":[]},{"id":4819896078696448,"hotspots":[],"infoHotspots":[]},{"id":6011131715911680,"hotspots":[],"infoHotspots":[]}]}; 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;