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":"rr-urbanismo-1-panorma-1294jpg-1735323541560.jpg","folder":"/users/qJyyQL4z4NgllRb9nSSFR29AlNg1/4918552299569152","gcs_filename":"/users/qJyyQL4z4NgllRb9nSSFR29AlNg1/4918552299569152/rr-urbanismo-1-panorma-1294jpg-1735323541560.jpg","image_url":"/users/qJyyQL4z4NgllRb9nSSFR29AlNg1/4918552299569152/rr-urbanismo-1-panorma-1294jpg-1735323541560.jpg","thumbnail_gcs_filename":"/users/qJyyQL4z4NgllRb9nSSFR29AlNg1/4918552299569152/thumb_rr-urbanismo-1-panorma-1294jpg-1735323541560.jpg","thumbnail_image_url":"/users/qJyyQL4z4NgllRb9nSSFR29AlNg1/4918552299569152/thumb_rr-urbanismo-1-panorma-1294jpg-1735323541560.jpg","rotation":-10.542423430407142,"photo_type":"360_mono","is_stereo":false,"sort_order":4,"status":"active","created_date":"2024-12-27T18:19:01.561Z","updated_date":"2024-12-27T18:19:01.561Z","version":"v4","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FqJyyQL4z4NgllRb9nSSFR29AlNg1%2F4918552299569152%2Frr-urbanismo-1-panorma-1294jpg-1735323541560.jpg&uploadType=resumable&upload_id=AFiumC4Jtv6t0wwjOzLQ0Oa0_nzcO1u-sTLlF-d2E_h8bArg3jOkViRxjU8159eFomV2S4KrYXqDFGeXh3c-OQF3Jwh2lWp5RtlKTfQkFlQksBg","id":"6681873470193664","title":"Photo 1","audio_url":"https://storage.googleapis.com/orbix360-prod-images/users/qJyyQL4z4NgllRb9nSSFR29AlNg1/4918552299569152/focus-loop-corporate-music-114297.mp3","has_anaglyph":false,"index":0},{"filename":"rr-urbanismo-1-panorma-129jpg-1735323541614.jpg","folder":"/users/qJyyQL4z4NgllRb9nSSFR29AlNg1/4918552299569152","gcs_filename":"/users/qJyyQL4z4NgllRb9nSSFR29AlNg1/4918552299569152/rr-urbanismo-1-panorma-129jpg-1735323541614.jpg","image_url":"/users/qJyyQL4z4NgllRb9nSSFR29AlNg1/4918552299569152/rr-urbanismo-1-panorma-129jpg-1735323541614.jpg","thumbnail_gcs_filename":"/users/qJyyQL4z4NgllRb9nSSFR29AlNg1/4918552299569152/thumb_rr-urbanismo-1-panorma-129jpg-1735323541614.jpg","thumbnail_image_url":"/users/qJyyQL4z4NgllRb9nSSFR29AlNg1/4918552299569152/thumb_rr-urbanismo-1-panorma-129jpg-1735323541614.jpg","rotation":0,"photo_type":"360_mono","is_stereo":false,"sort_order":1,"status":"active","created_date":"2024-12-27T18:19:01.615Z","updated_date":"2024-12-27T18:19:01.615Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FqJyyQL4z4NgllRb9nSSFR29AlNg1%2F4918552299569152%2Frr-urbanismo-1-panorma-129jpg-1735323541614.jpg&uploadType=resumable&upload_id=AFiumC6RlKRhL3-29lV1L8PvHKj5RJVeLrJnirIIuPYRRwNPgFFOJtCoYzLEDAGO51V0fSG_q3kcXyN85A4Pil7CO8R8kRodSjN4ejZyuz1Hwg","id":"6366768362684416","title":"Photo 2","audio_url":"https://storage.googleapis.com/orbix360-prod-images/users/qJyyQL4z4NgllRb9nSSFR29AlNg1/4918552299569152/focus-loop-corporate-music-114297.mp3","has_anaglyph":false,"index":1},{"filename":"rr-urbanismo-1-panorma-1293jpg-1735323541617.jpg","folder":"/users/qJyyQL4z4NgllRb9nSSFR29AlNg1/4918552299569152","gcs_filename":"/users/qJyyQL4z4NgllRb9nSSFR29AlNg1/4918552299569152/rr-urbanismo-1-panorma-1293jpg-1735323541617.jpg","image_url":"/users/qJyyQL4z4NgllRb9nSSFR29AlNg1/4918552299569152/rr-urbanismo-1-panorma-1293jpg-1735323541617.jpg","thumbnail_gcs_filename":"/users/qJyyQL4z4NgllRb9nSSFR29AlNg1/4918552299569152/thumb_rr-urbanismo-1-panorma-1293jpg-1735323541617.jpg","thumbnail_image_url":"/users/qJyyQL4z4NgllRb9nSSFR29AlNg1/4918552299569152/thumb_rr-urbanismo-1-panorma-1293jpg-1735323541617.jpg","rotation":0,"photo_type":"360_mono","is_stereo":false,"sort_order":3,"status":"active","created_date":"2024-12-27T18:19:01.618Z","updated_date":"2024-12-27T18:19:01.618Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FqJyyQL4z4NgllRb9nSSFR29AlNg1%2F4918552299569152%2Frr-urbanismo-1-panorma-1293jpg-1735323541617.jpg&uploadType=resumable&upload_id=AFiumC4Y2JpSwGlrUathAOPqMrtIvd0wiSmLtNHOfKZ5nyO62qKJeXNTJ4zPOksa96LtaQxIHtEm07nCBpUVhowCBqnkwfCRFfTvU9RceNOQGw","id":"4641179889041408","audio_url":"https://storage.googleapis.com/orbix360-prod-images/users/qJyyQL4z4NgllRb9nSSFR29AlNg1/4918552299569152/focus-loop-corporate-music-114297.mp3","has_anaglyph":false,"index":2,"title":"Photo 3"},{"filename":"rr-urbanismo-1-panorma-1292jpg-1735323541431.jpg","folder":"/users/qJyyQL4z4NgllRb9nSSFR29AlNg1/4918552299569152","gcs_filename":"/users/qJyyQL4z4NgllRb9nSSFR29AlNg1/4918552299569152/rr-urbanismo-1-panorma-1292jpg-1735323541431.jpg","image_url":"/users/qJyyQL4z4NgllRb9nSSFR29AlNg1/4918552299569152/rr-urbanismo-1-panorma-1292jpg-1735323541431.jpg","thumbnail_gcs_filename":"/users/qJyyQL4z4NgllRb9nSSFR29AlNg1/4918552299569152/thumb_rr-urbanismo-1-panorma-1292jpg-1735323541431.jpg","thumbnail_image_url":"/users/qJyyQL4z4NgllRb9nSSFR29AlNg1/4918552299569152/thumb_rr-urbanismo-1-panorma-1292jpg-1735323541431.jpg","rotation":0,"photo_type":"360_mono","is_stereo":false,"sort_order":2,"status":"active","created_date":"2024-12-27T18:19:01.432Z","updated_date":"2024-12-27T18:19:01.432Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FqJyyQL4z4NgllRb9nSSFR29AlNg1%2F4918552299569152%2Frr-urbanismo-1-panorma-1292jpg-1735323541431.jpg&uploadType=resumable&upload_id=AFiumC6Ctth8iUaaFKmW-kXp8PnS13nT6lq7fCRBQ0nllSBVNDc98ctvw0cRjtR3RpKZBMH4pWOjgzsuqjLDyDknNXjnGpJMAk05aboaXDmSpQ","id":"6044452206411776","title":"Photo 4","audio_url":"https://storage.googleapis.com/orbix360-prod-images/users/qJyyQL4z4NgllRb9nSSFR29AlNg1/4918552299569152/focus-loop-corporate-music-114297.mp3","has_anaglyph":false,"index":3}]; console.log('num photos: ' + window.photos.length); window.photosMap = {"6366768362684416":{"filename":"rr-urbanismo-1-panorma-129jpg-1735323541614.jpg","folder":"/users/qJyyQL4z4NgllRb9nSSFR29AlNg1/4918552299569152","gcs_filename":"/users/qJyyQL4z4NgllRb9nSSFR29AlNg1/4918552299569152/rr-urbanismo-1-panorma-129jpg-1735323541614.jpg","image_url":"/users/qJyyQL4z4NgllRb9nSSFR29AlNg1/4918552299569152/rr-urbanismo-1-panorma-129jpg-1735323541614.jpg","thumbnail_gcs_filename":"/users/qJyyQL4z4NgllRb9nSSFR29AlNg1/4918552299569152/thumb_rr-urbanismo-1-panorma-129jpg-1735323541614.jpg","thumbnail_image_url":"/users/qJyyQL4z4NgllRb9nSSFR29AlNg1/4918552299569152/thumb_rr-urbanismo-1-panorma-129jpg-1735323541614.jpg","rotation":0,"photo_type":"360_mono","is_stereo":false,"sort_order":1,"status":"active","created_date":"2024-12-27T18:19:01.615Z","updated_date":"2024-12-27T18:19:01.615Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FqJyyQL4z4NgllRb9nSSFR29AlNg1%2F4918552299569152%2Frr-urbanismo-1-panorma-129jpg-1735323541614.jpg&uploadType=resumable&upload_id=AFiumC6RlKRhL3-29lV1L8PvHKj5RJVeLrJnirIIuPYRRwNPgFFOJtCoYzLEDAGO51V0fSG_q3kcXyN85A4Pil7CO8R8kRodSjN4ejZyuz1Hwg","id":"6366768362684416","title":"Photo 2","audio_url":"https://storage.googleapis.com/orbix360-prod-images/users/qJyyQL4z4NgllRb9nSSFR29AlNg1/4918552299569152/focus-loop-corporate-music-114297.mp3","has_anaglyph":false,"index":1},"6044452206411776":{"filename":"rr-urbanismo-1-panorma-1292jpg-1735323541431.jpg","folder":"/users/qJyyQL4z4NgllRb9nSSFR29AlNg1/4918552299569152","gcs_filename":"/users/qJyyQL4z4NgllRb9nSSFR29AlNg1/4918552299569152/rr-urbanismo-1-panorma-1292jpg-1735323541431.jpg","image_url":"/users/qJyyQL4z4NgllRb9nSSFR29AlNg1/4918552299569152/rr-urbanismo-1-panorma-1292jpg-1735323541431.jpg","thumbnail_gcs_filename":"/users/qJyyQL4z4NgllRb9nSSFR29AlNg1/4918552299569152/thumb_rr-urbanismo-1-panorma-1292jpg-1735323541431.jpg","thumbnail_image_url":"/users/qJyyQL4z4NgllRb9nSSFR29AlNg1/4918552299569152/thumb_rr-urbanismo-1-panorma-1292jpg-1735323541431.jpg","rotation":0,"photo_type":"360_mono","is_stereo":false,"sort_order":2,"status":"active","created_date":"2024-12-27T18:19:01.432Z","updated_date":"2024-12-27T18:19:01.432Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FqJyyQL4z4NgllRb9nSSFR29AlNg1%2F4918552299569152%2Frr-urbanismo-1-panorma-1292jpg-1735323541431.jpg&uploadType=resumable&upload_id=AFiumC6Ctth8iUaaFKmW-kXp8PnS13nT6lq7fCRBQ0nllSBVNDc98ctvw0cRjtR3RpKZBMH4pWOjgzsuqjLDyDknNXjnGpJMAk05aboaXDmSpQ","id":"6044452206411776","title":"Photo 4","audio_url":"https://storage.googleapis.com/orbix360-prod-images/users/qJyyQL4z4NgllRb9nSSFR29AlNg1/4918552299569152/focus-loop-corporate-music-114297.mp3","has_anaglyph":false,"index":3},"4641179889041408":{"filename":"rr-urbanismo-1-panorma-1293jpg-1735323541617.jpg","folder":"/users/qJyyQL4z4NgllRb9nSSFR29AlNg1/4918552299569152","gcs_filename":"/users/qJyyQL4z4NgllRb9nSSFR29AlNg1/4918552299569152/rr-urbanismo-1-panorma-1293jpg-1735323541617.jpg","image_url":"/users/qJyyQL4z4NgllRb9nSSFR29AlNg1/4918552299569152/rr-urbanismo-1-panorma-1293jpg-1735323541617.jpg","thumbnail_gcs_filename":"/users/qJyyQL4z4NgllRb9nSSFR29AlNg1/4918552299569152/thumb_rr-urbanismo-1-panorma-1293jpg-1735323541617.jpg","thumbnail_image_url":"/users/qJyyQL4z4NgllRb9nSSFR29AlNg1/4918552299569152/thumb_rr-urbanismo-1-panorma-1293jpg-1735323541617.jpg","rotation":0,"photo_type":"360_mono","is_stereo":false,"sort_order":3,"status":"active","created_date":"2024-12-27T18:19:01.618Z","updated_date":"2024-12-27T18:19:01.618Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FqJyyQL4z4NgllRb9nSSFR29AlNg1%2F4918552299569152%2Frr-urbanismo-1-panorma-1293jpg-1735323541617.jpg&uploadType=resumable&upload_id=AFiumC4Y2JpSwGlrUathAOPqMrtIvd0wiSmLtNHOfKZ5nyO62qKJeXNTJ4zPOksa96LtaQxIHtEm07nCBpUVhowCBqnkwfCRFfTvU9RceNOQGw","id":"4641179889041408","audio_url":"https://storage.googleapis.com/orbix360-prod-images/users/qJyyQL4z4NgllRb9nSSFR29AlNg1/4918552299569152/focus-loop-corporate-music-114297.mp3","has_anaglyph":false,"index":2,"title":"Photo 3"},"6681873470193664":{"filename":"rr-urbanismo-1-panorma-1294jpg-1735323541560.jpg","folder":"/users/qJyyQL4z4NgllRb9nSSFR29AlNg1/4918552299569152","gcs_filename":"/users/qJyyQL4z4NgllRb9nSSFR29AlNg1/4918552299569152/rr-urbanismo-1-panorma-1294jpg-1735323541560.jpg","image_url":"/users/qJyyQL4z4NgllRb9nSSFR29AlNg1/4918552299569152/rr-urbanismo-1-panorma-1294jpg-1735323541560.jpg","thumbnail_gcs_filename":"/users/qJyyQL4z4NgllRb9nSSFR29AlNg1/4918552299569152/thumb_rr-urbanismo-1-panorma-1294jpg-1735323541560.jpg","thumbnail_image_url":"/users/qJyyQL4z4NgllRb9nSSFR29AlNg1/4918552299569152/thumb_rr-urbanismo-1-panorma-1294jpg-1735323541560.jpg","rotation":-10.542423430407142,"photo_type":"360_mono","is_stereo":false,"sort_order":4,"status":"active","created_date":"2024-12-27T18:19:01.561Z","updated_date":"2024-12-27T18:19:01.561Z","version":"v4","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FqJyyQL4z4NgllRb9nSSFR29AlNg1%2F4918552299569152%2Frr-urbanismo-1-panorma-1294jpg-1735323541560.jpg&uploadType=resumable&upload_id=AFiumC4Jtv6t0wwjOzLQ0Oa0_nzcO1u-sTLlF-d2E_h8bArg3jOkViRxjU8159eFomV2S4KrYXqDFGeXh3c-OQF3Jwh2lWp5RtlKTfQkFlQksBg","id":"6681873470193664","title":"Photo 1","audio_url":"https://storage.googleapis.com/orbix360-prod-images/users/qJyyQL4z4NgllRb9nSSFR29AlNg1/4918552299569152/focus-loop-corporate-music-114297.mp3","has_anaglyph":false,"index":0}}; 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 = "4918552299569152"; window.tourUid = "qJyyQL4z4NgllRb9nSSFR29AlNg1"; window.customUrl = "http://www.orbix360.com"; window.tourSlug = "ruitoque-resort"; window.template = '360_mono'; window.template_category = '360'; window.tourShortCode = "criXZDxbJ"; 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['6681873470193664'] = 0; window.current_image_index = 0; window.current_image_id = 6681873470193664 window.photo_indexes['6366768362684416'] = 1; window.photo_indexes['4641179889041408'] = 2; window.photo_indexes['6044452206411776'] = 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 = 'https://lh3.googleusercontent.com/a/ACg8ocJ3XyMPu_Doi6xMMFwp4EVg1hK1ternmuQ7JTOujh_DSbiPnJM=s96-c'; window.user_profile_name = 'Miguel Mantilla'; window.shortURLRoot = 'https://orbix360.com'; window.image_url = 'https://storage.googleapis.com/orbix360-prod-images/users/qJyyQL4z4NgllRb9nSSFR29AlNg1/4918552299569152/thumb_rr-urbanismo-1-panorma-1294jpg-1735323541560.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":6681873470193664,"hotspots":[{"id":"hotspot_6681873470193664_6366768362684416","from":6681873470193664,"to":6366768362684416,"position":{"x":-0.28566206847445863,"y":-0.15675547401886314,"z":-0.9454231348978168},"toTitle":"Photo 2"}],"infoHotspots":[]},{"id":6366768362684416,"hotspots":[{"id":"hotspot_6366768362684416_4641179889041408","from":6366768362684416,"to":4641179889041408,"position":{"x":-0.013197144939818183,"y":-0.05711197644570635,"z":-0.9982805505026643},"toTitle":"Photo 3"},{"id":"hotspot_6366768362684416_6681873470193664","from":6366768362684416,"to":6681873470193664,"position":{"x":0.9346539086111236,"y":0.33944561173333654,"z":0.105824136154897},"toTitle":"Photo 1"},{"id":"hotspot_6366768362684416_6044452206411776","from":6366768362684416,"to":6044452206411776,"position":{"x":-0.5207960618439392,"y":-0.022900223060908324,"z":-0.8533739167279514},"toTitle":"Photo 4"}],"infoHotspots":[]},{"id":4641179889041408,"hotspots":[{"id":"hotspot_4641179889041408_6044452206411776","from":4641179889041408,"to":6044452206411776,"position":{"x":0.7362004098949462,"y":-0.08914657677349679,"z":-0.6708664877008541},"toTitle":"Photo 4"},{"id":"hotspot_4641179889041408_6366768362684416","from":4641179889041408,"to":6366768362684416,"position":{"x":-0.8751184740561381,"y":-0.13160128280631583,"z":-0.4656702252983206},"toTitle":"Photo 2"}],"infoHotspots":[]},{"id":6044452206411776,"hotspots":[{"id":"hotspot_6044452206411776_4641179889041408","from":6044452206411776,"to":4641179889041408,"position":{"x":-0.8710636320516167,"y":-0.05961909324905258,"z":-0.48753842170356815},"toTitle":"Photo 3"}],"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;