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 = [{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2Fe9LOLapQQnSU7BpDYohPtuL6xvG3%2F6384047628484608%2F127a0983-2jpg-1717604038296.jpg&uploadType=resumable&upload_id=ABPtcPqFG_Vs6eYuSwNBDhcH4GtwbWAkZUgeLMSlM8wPPD2s-XYqBJ_-xisytBsZQ9QZPfBx8JGwG_7MY8s7wE5EMn2TZrtxrTnMe7hvTTeOYKKlDg","image_url":"/users/e9LOLapQQnSU7BpDYohPtuL6xvG3/6384047628484608/127a0983-2jpg-1717604038296.jpg","rotation":0,"thumbnail_gcs_filename":"/users/e9LOLapQQnSU7BpDYohPtuL6xvG3/6384047628484608/thumb_127a0983-2jpg-1717604038296.jpg","title":"Basilica do Sant'Andrea della valle","version":"v3","gcs_filename":"/users/e9LOLapQQnSU7BpDYohPtuL6xvG3/6384047628484608/127a0983-2jpg-1717604038296.jpg","filename":"127a0983-2jpg-1717604038296.jpg","folder":"/users/e9LOLapQQnSU7BpDYohPtuL6xvG3/6384047628484608","thumbnail_image_url":"/users/e9LOLapQQnSU7BpDYohPtuL6xvG3/6384047628484608/thumb_127a0983-2jpg-1717604038296.jpg","is_stereo":true,"photo_type":"360_stereo","created_date":"2024-06-05T16:13:58.296Z","updated_date":"2024-06-05T16:13:58.296Z","id":"4929336400412672","sort_order":4,"status":"active","has_anaglyph":true,"index":0},{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2Fe9LOLapQQnSU7BpDYohPtuL6xvG3%2F6384047628484608%2F127a0987-avec-accentuation-nr-copie2jpg-1717603912469.JPG&uploadType=resumable&upload_id=ABPtcPpX2Iv22Qm6GkiTYSJX8UZduFXPQKEO2myORS0-cMEFMzHKaqisSCIbVftCIykFuuktHjLnuWYZili6pFRpKgPADXUzJUXp4OxM82LJepeM","image_url":"/users/e9LOLapQQnSU7BpDYohPtuL6xvG3/6384047628484608/127a0987-avec-accentuation-nr-copie2jpg-1717603912469.JPG","rotation":0,"thumbnail_gcs_filename":"/users/e9LOLapQQnSU7BpDYohPtuL6xvG3/6384047628484608/thumb_127a0987-avec-accentuation-nr-copie2jpg-1717603912469.JPG","title":"Basilica do Sant'Andrea della valle","version":"v3","gcs_filename":"/users/e9LOLapQQnSU7BpDYohPtuL6xvG3/6384047628484608/127a0987-avec-accentuation-nr-copie2jpg-1717603912469.JPG","filename":"127a0987-avec-accentuation-nr-copie2jpg-1717603912469.JPG","folder":"/users/e9LOLapQQnSU7BpDYohPtuL6xvG3/6384047628484608","thumbnail_image_url":"/users/e9LOLapQQnSU7BpDYohPtuL6xvG3/6384047628484608/thumb_127a0987-avec-accentuation-nr-copie2jpg-1717603912469.JPG","is_stereo":true,"photo_type":"180_stereo","created_date":"2024-06-05T16:11:52.472Z","updated_date":"2024-06-05T16:11:52.472Z","id":"6023804562178048","sort_order":1,"status":"active","has_anaglyph":true,"index":1},{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2Fe9LOLapQQnSU7BpDYohPtuL6xvG3%2F6384047628484608%2F127a1020jpg-1717604038303.JPG&uploadType=resumable&upload_id=ABPtcPqsltoNcrjfmuIU78_kseA36Wl8AYc2XJPMqhFgq0wZ-SG9HwgGlhr8jKZ-IPF1zhY99KIUHDYDF8oFfbQk3ScV-rnntMEEGtVeyNoJU9c9eQ","image_url":"/users/e9LOLapQQnSU7BpDYohPtuL6xvG3/6384047628484608/127a1020jpg-1717604038303.JPG","rotation":0,"thumbnail_gcs_filename":"/users/e9LOLapQQnSU7BpDYohPtuL6xvG3/6384047628484608/thumb_127a1020jpg-1717604038303.JPG","title":"Basilica do Sant'Andrea della valle","version":"v3","gcs_filename":"/users/e9LOLapQQnSU7BpDYohPtuL6xvG3/6384047628484608/127a1020jpg-1717604038303.JPG","filename":"127a1020jpg-1717604038303.JPG","folder":"/users/e9LOLapQQnSU7BpDYohPtuL6xvG3/6384047628484608","thumbnail_image_url":"/users/e9LOLapQQnSU7BpDYohPtuL6xvG3/6384047628484608/thumb_127a1020jpg-1717604038303.JPG","is_stereo":true,"photo_type":"360_stereo","created_date":"2024-06-05T16:13:58.304Z","updated_date":"2024-06-05T16:13:58.304Z","id":"4746119504461824","sort_order":5,"status":"active","has_anaglyph":true,"index":2},{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2Fe9LOLapQQnSU7BpDYohPtuL6xvG3%2F6384047628484608%2F127a1024-avec-accentuation-nr-copie2jpg-1717603912371.JPG&uploadType=resumable&upload_id=ABPtcPolRFD1ksZgz3vqZ1qM5peudCuwrdn0_FJVT22Lt7TgoZoEBOUhCcPRP9QNEun1NkK-EJR4A4ct2I1wXfHYuNf0EN7ty4blCbVwHzWf2R6a","image_url":"/users/e9LOLapQQnSU7BpDYohPtuL6xvG3/6384047628484608/127a1024-avec-accentuation-nr-copie2jpg-1717603912371.JPG","rotation":0,"thumbnail_gcs_filename":"/users/e9LOLapQQnSU7BpDYohPtuL6xvG3/6384047628484608/thumb_127a1024-avec-accentuation-nr-copie2jpg-1717603912371.JPG","title":"Sanctuaire San Salvatore in Lauro","version":"v3","gcs_filename":"/users/e9LOLapQQnSU7BpDYohPtuL6xvG3/6384047628484608/127a1024-avec-accentuation-nr-copie2jpg-1717603912371.JPG","filename":"127a1024-avec-accentuation-nr-copie2jpg-1717603912371.JPG","folder":"/users/e9LOLapQQnSU7BpDYohPtuL6xvG3/6384047628484608","thumbnail_image_url":"/users/e9LOLapQQnSU7BpDYohPtuL6xvG3/6384047628484608/thumb_127a1024-avec-accentuation-nr-copie2jpg-1717603912371.JPG","is_stereo":true,"photo_type":"180_stereo","created_date":"2024-06-05T16:11:52.372Z","updated_date":"2024-06-05T16:11:52.372Z","id":"4976672744931328","sort_order":2,"status":"active","has_anaglyph":true,"index":3},{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2Fe9LOLapQQnSU7BpDYohPtuL6xvG3%2F6384047628484608%2F127a1026-avec-accentuation-nr-copie2jpg-1717603912372.JPG&uploadType=resumable&upload_id=ABPtcPq31peHNduCrUN6xvYexjIl5asx9RCAwb9ZVeJMj4TBuEUw9zlpOW3lnN0_Vm0Wn0G1CQNHGQg0yYvKrZf5bsp1WZawMQlh7i0u3nwZIkLt","image_url":"/users/e9LOLapQQnSU7BpDYohPtuL6xvG3/6384047628484608/127a1026-avec-accentuation-nr-copie2jpg-1717603912372.JPG","rotation":0,"thumbnail_gcs_filename":"/users/e9LOLapQQnSU7BpDYohPtuL6xvG3/6384047628484608/thumb_127a1026-avec-accentuation-nr-copie2jpg-1717603912372.JPG","title":"Sanctuaire San Salvatore in Lauro","version":"v3","gcs_filename":"/users/e9LOLapQQnSU7BpDYohPtuL6xvG3/6384047628484608/127a1026-avec-accentuation-nr-copie2jpg-1717603912372.JPG","filename":"127a1026-avec-accentuation-nr-copie2jpg-1717603912372.JPG","folder":"/users/e9LOLapQQnSU7BpDYohPtuL6xvG3/6384047628484608","thumbnail_image_url":"/users/e9LOLapQQnSU7BpDYohPtuL6xvG3/6384047628484608/thumb_127a1026-avec-accentuation-nr-copie2jpg-1717603912372.JPG","is_stereo":true,"photo_type":"180_stereo","created_date":"2024-06-05T16:11:52.373Z","updated_date":"2024-06-05T16:11:52.373Z","id":"5564869455642624","sort_order":3,"status":"active","has_anaglyph":true,"index":4}]; console.log('num photos: ' + window.photos.length); window.photosMap = {"6023804562178048":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2Fe9LOLapQQnSU7BpDYohPtuL6xvG3%2F6384047628484608%2F127a0987-avec-accentuation-nr-copie2jpg-1717603912469.JPG&uploadType=resumable&upload_id=ABPtcPpX2Iv22Qm6GkiTYSJX8UZduFXPQKEO2myORS0-cMEFMzHKaqisSCIbVftCIykFuuktHjLnuWYZili6pFRpKgPADXUzJUXp4OxM82LJepeM","image_url":"/users/e9LOLapQQnSU7BpDYohPtuL6xvG3/6384047628484608/127a0987-avec-accentuation-nr-copie2jpg-1717603912469.JPG","rotation":0,"thumbnail_gcs_filename":"/users/e9LOLapQQnSU7BpDYohPtuL6xvG3/6384047628484608/thumb_127a0987-avec-accentuation-nr-copie2jpg-1717603912469.JPG","title":"Basilica do Sant'Andrea della valle","version":"v3","gcs_filename":"/users/e9LOLapQQnSU7BpDYohPtuL6xvG3/6384047628484608/127a0987-avec-accentuation-nr-copie2jpg-1717603912469.JPG","filename":"127a0987-avec-accentuation-nr-copie2jpg-1717603912469.JPG","folder":"/users/e9LOLapQQnSU7BpDYohPtuL6xvG3/6384047628484608","thumbnail_image_url":"/users/e9LOLapQQnSU7BpDYohPtuL6xvG3/6384047628484608/thumb_127a0987-avec-accentuation-nr-copie2jpg-1717603912469.JPG","is_stereo":true,"photo_type":"180_stereo","created_date":"2024-06-05T16:11:52.472Z","updated_date":"2024-06-05T16:11:52.472Z","id":"6023804562178048","sort_order":1,"status":"active","has_anaglyph":true,"index":1},"4976672744931328":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2Fe9LOLapQQnSU7BpDYohPtuL6xvG3%2F6384047628484608%2F127a1024-avec-accentuation-nr-copie2jpg-1717603912371.JPG&uploadType=resumable&upload_id=ABPtcPolRFD1ksZgz3vqZ1qM5peudCuwrdn0_FJVT22Lt7TgoZoEBOUhCcPRP9QNEun1NkK-EJR4A4ct2I1wXfHYuNf0EN7ty4blCbVwHzWf2R6a","image_url":"/users/e9LOLapQQnSU7BpDYohPtuL6xvG3/6384047628484608/127a1024-avec-accentuation-nr-copie2jpg-1717603912371.JPG","rotation":0,"thumbnail_gcs_filename":"/users/e9LOLapQQnSU7BpDYohPtuL6xvG3/6384047628484608/thumb_127a1024-avec-accentuation-nr-copie2jpg-1717603912371.JPG","title":"Sanctuaire San Salvatore in Lauro","version":"v3","gcs_filename":"/users/e9LOLapQQnSU7BpDYohPtuL6xvG3/6384047628484608/127a1024-avec-accentuation-nr-copie2jpg-1717603912371.JPG","filename":"127a1024-avec-accentuation-nr-copie2jpg-1717603912371.JPG","folder":"/users/e9LOLapQQnSU7BpDYohPtuL6xvG3/6384047628484608","thumbnail_image_url":"/users/e9LOLapQQnSU7BpDYohPtuL6xvG3/6384047628484608/thumb_127a1024-avec-accentuation-nr-copie2jpg-1717603912371.JPG","is_stereo":true,"photo_type":"180_stereo","created_date":"2024-06-05T16:11:52.372Z","updated_date":"2024-06-05T16:11:52.372Z","id":"4976672744931328","sort_order":2,"status":"active","has_anaglyph":true,"index":3},"5564869455642624":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2Fe9LOLapQQnSU7BpDYohPtuL6xvG3%2F6384047628484608%2F127a1026-avec-accentuation-nr-copie2jpg-1717603912372.JPG&uploadType=resumable&upload_id=ABPtcPq31peHNduCrUN6xvYexjIl5asx9RCAwb9ZVeJMj4TBuEUw9zlpOW3lnN0_Vm0Wn0G1CQNHGQg0yYvKrZf5bsp1WZawMQlh7i0u3nwZIkLt","image_url":"/users/e9LOLapQQnSU7BpDYohPtuL6xvG3/6384047628484608/127a1026-avec-accentuation-nr-copie2jpg-1717603912372.JPG","rotation":0,"thumbnail_gcs_filename":"/users/e9LOLapQQnSU7BpDYohPtuL6xvG3/6384047628484608/thumb_127a1026-avec-accentuation-nr-copie2jpg-1717603912372.JPG","title":"Sanctuaire San Salvatore in Lauro","version":"v3","gcs_filename":"/users/e9LOLapQQnSU7BpDYohPtuL6xvG3/6384047628484608/127a1026-avec-accentuation-nr-copie2jpg-1717603912372.JPG","filename":"127a1026-avec-accentuation-nr-copie2jpg-1717603912372.JPG","folder":"/users/e9LOLapQQnSU7BpDYohPtuL6xvG3/6384047628484608","thumbnail_image_url":"/users/e9LOLapQQnSU7BpDYohPtuL6xvG3/6384047628484608/thumb_127a1026-avec-accentuation-nr-copie2jpg-1717603912372.JPG","is_stereo":true,"photo_type":"180_stereo","created_date":"2024-06-05T16:11:52.373Z","updated_date":"2024-06-05T16:11:52.373Z","id":"5564869455642624","sort_order":3,"status":"active","has_anaglyph":true,"index":4},"4929336400412672":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2Fe9LOLapQQnSU7BpDYohPtuL6xvG3%2F6384047628484608%2F127a0983-2jpg-1717604038296.jpg&uploadType=resumable&upload_id=ABPtcPqFG_Vs6eYuSwNBDhcH4GtwbWAkZUgeLMSlM8wPPD2s-XYqBJ_-xisytBsZQ9QZPfBx8JGwG_7MY8s7wE5EMn2TZrtxrTnMe7hvTTeOYKKlDg","image_url":"/users/e9LOLapQQnSU7BpDYohPtuL6xvG3/6384047628484608/127a0983-2jpg-1717604038296.jpg","rotation":0,"thumbnail_gcs_filename":"/users/e9LOLapQQnSU7BpDYohPtuL6xvG3/6384047628484608/thumb_127a0983-2jpg-1717604038296.jpg","title":"Basilica do Sant'Andrea della valle","version":"v3","gcs_filename":"/users/e9LOLapQQnSU7BpDYohPtuL6xvG3/6384047628484608/127a0983-2jpg-1717604038296.jpg","filename":"127a0983-2jpg-1717604038296.jpg","folder":"/users/e9LOLapQQnSU7BpDYohPtuL6xvG3/6384047628484608","thumbnail_image_url":"/users/e9LOLapQQnSU7BpDYohPtuL6xvG3/6384047628484608/thumb_127a0983-2jpg-1717604038296.jpg","is_stereo":true,"photo_type":"360_stereo","created_date":"2024-06-05T16:13:58.296Z","updated_date":"2024-06-05T16:13:58.296Z","id":"4929336400412672","sort_order":4,"status":"active","has_anaglyph":true,"index":0},"4746119504461824":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2Fe9LOLapQQnSU7BpDYohPtuL6xvG3%2F6384047628484608%2F127a1020jpg-1717604038303.JPG&uploadType=resumable&upload_id=ABPtcPqsltoNcrjfmuIU78_kseA36Wl8AYc2XJPMqhFgq0wZ-SG9HwgGlhr8jKZ-IPF1zhY99KIUHDYDF8oFfbQk3ScV-rnntMEEGtVeyNoJU9c9eQ","image_url":"/users/e9LOLapQQnSU7BpDYohPtuL6xvG3/6384047628484608/127a1020jpg-1717604038303.JPG","rotation":0,"thumbnail_gcs_filename":"/users/e9LOLapQQnSU7BpDYohPtuL6xvG3/6384047628484608/thumb_127a1020jpg-1717604038303.JPG","title":"Basilica do Sant'Andrea della valle","version":"v3","gcs_filename":"/users/e9LOLapQQnSU7BpDYohPtuL6xvG3/6384047628484608/127a1020jpg-1717604038303.JPG","filename":"127a1020jpg-1717604038303.JPG","folder":"/users/e9LOLapQQnSU7BpDYohPtuL6xvG3/6384047628484608","thumbnail_image_url":"/users/e9LOLapQQnSU7BpDYohPtuL6xvG3/6384047628484608/thumb_127a1020jpg-1717604038303.JPG","is_stereo":true,"photo_type":"360_stereo","created_date":"2024-06-05T16:13:58.304Z","updated_date":"2024-06-05T16:13:58.304Z","id":"4746119504461824","sort_order":5,"status":"active","has_anaglyph":true,"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 = "6384047628484608"; window.tourUid = "e9LOLapQQnSU7BpDYohPtuL6xvG3"; window.customUrl = "http://www.orbix360.com"; window.tourSlug = "rome-eglises-01"; window.template = '180_stereo'; window.template_category = '360'; window.tourShortCode = "vKz_eKGXL"; 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['4929336400412672'] = 0; window.current_image_index = 0; window.current_image_id = 4929336400412672 window.photo_indexes['6023804562178048'] = 1; window.photo_indexes['4746119504461824'] = 2; window.photo_indexes['4976672744931328'] = 3; window.photo_indexes['5564869455642624'] = 4; 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/AAcHTtcGQd504Xvfn-3om-tvJNM6DttrJD7Pl3detBoNiYv9npo=s96-c'; window.user_profile_name = 'Michel Bordeleau'; window.shortURLRoot = 'https://orbix360.com'; window.image_url = 'https://storage.googleapis.com/orbix360-prod-images/users/e9LOLapQQnSU7BpDYohPtuL6xvG3/6384047628484608/thumb_127a0983-2jpg-1717604038296.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 = {"orbs":[{"infoHotspots":[{"description":"L'église Sant'Andrea della Valle est une basilique mineure et l’une des grandes églises baroques de Rome. Construite à partir de 1591, elle se situe aujourd'hui sur le Corso Vittorio Emanuele II, artère principale de Rome percée en 1885. Sa coupole est la deuxième de Rome par ses dimensions après celle de la basilique Saint-Pierre. ","from":4929336400412672,"id":"hotspot_4929336400412672_info_1717624494943","to":"info","position":{"x":-0.39309573906546597,"y":-0.5349490750621748,"z":-0.7478671185569657},"title":"Basilica do Sant'Andrea della valle"}],"id":4929336400412672,"hotspots":[]},{"infoHotspots":[{"description":"","from":6023804562178048,"id":"hotspot_6023804562178048_info_1717624552934","to":"info","position":{"x":-0.3767193745675272,"y":-0.5421357518514419,"z":-0.7511133998205086},"title":"Basilica do Sant'Andrea della valle"}],"id":6023804562178048,"hotspots":[]},{"infoHotspots":[{"description":"","from":4746119504461824,"id":"hotspot_4746119504461824_info_1717624561614","to":"info","position":{"x":-0.3800586293119344,"y":-0.540528569368995,"z":-0.7505893044677902},"title":"Basilica do Sant'Andrea della valle"}],"id":4746119504461824,"hotspots":[]},{"infoHotspots":[{"description":"","from":4976672744931328,"id":"hotspot_4976672744931328_info_1717624580837","to":"info","position":{"x":-0.3760045527166018,"y":-0.5477925799555007,"z":-0.7473579234089143},"title":"Sanctuaire San Salvatore in Lauro"}],"id":4976672744931328,"hotspots":[]},{"infoHotspots":[{"description":"","from":5564869455642624,"id":"hotspot_5564869455642624_info_1717624601358","to":"info","position":{"x":0.03532020708704008,"y":-0.03532020708704294,"z":-0.9987517038496891},"title":"Sanctuaire San Salvatore in Lauro"}],"id":5564869455642624,"hotspots":[]}],"autorotate":{"enabled":false},"versionNumber":3}; 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;