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%2F6ELHK3rd0JU0xHOgUazMaLNADum2%2F6549858433368064%2Fescena-01jpg-1618349840323.jpg&uploadType=resumable&upload_id=ABg5-UwcDXmjVWz4SfUo525buKjb1IiDdmABMJeJc9eNIaacFSyWwsScg0bv1q67vTChd9vTCA-8qcoDUWJb4ou5nSw1AEl7tA","image_url":"/users/6ELHK3rd0JU0xHOgUazMaLNADum2/6549858433368064/escena-01jpg-1618349840323.jpg","rotation":0,"thumbnail_gcs_filename":"/users/6ELHK3rd0JU0xHOgUazMaLNADum2/6549858433368064/thumb_escena-01jpg-1618349840323.jpg","version":"v3","gcs_filename":"/users/6ELHK3rd0JU0xHOgUazMaLNADum2/6549858433368064/escena-01jpg-1618349840323.jpg","folder":"/users/6ELHK3rd0JU0xHOgUazMaLNADum2/6549858433368064","filename":"1-1jpg-1610558895859.jpg","is_stereo":false,"thumbnail_image_url":"/users/6ELHK3rd0JU0xHOgUazMaLNADum2/6549858433368064/thumb_escena-01jpg-1618349840323.jpg","photo_type":"360_mono","audio_url":"https://storage.googleapis.com/orbix360-prod-images/users/6ELHK3rd0JU0xHOgUazMaLNADum2/6549858433368064/Más que solo comprar.mp3","created_date":"2021-01-13T17:28:15.860Z","id":"5021914573570048","updated_date":"2021-01-13T17:28:15.860Z","sort_order":1,"status":"active","has_anaglyph":false,"title":"Photo 1"},{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2F6ELHK3rd0JU0xHOgUazMaLNADum2%2F6549858433368064%2Fescena-02jpg-1618349862197.jpg&uploadType=resumable&upload_id=ABg5-UwgBfV7qQARJ650XyNLWAfHyXUeChdgG7KLUYFpL1EmO2VChieyRIdhpOmLIvoNxrtzJe9T0ctDGbcH4eWdWtD0o9lDog","image_url":"/users/6ELHK3rd0JU0xHOgUazMaLNADum2/6549858433368064/escena-02jpg-1618349862197.jpg","rotation":0,"thumbnail_gcs_filename":"/users/6ELHK3rd0JU0xHOgUazMaLNADum2/6549858433368064/thumb_escena-02jpg-1618349862197.jpg","version":"v3","gcs_filename":"/users/6ELHK3rd0JU0xHOgUazMaLNADum2/6549858433368064/escena-02jpg-1618349862197.jpg","filename":"2-1jpg-1610558895930.jpg","folder":"/users/6ELHK3rd0JU0xHOgUazMaLNADum2/6549858433368064","thumbnail_image_url":"/users/6ELHK3rd0JU0xHOgUazMaLNADum2/6549858433368064/thumb_escena-02jpg-1618349862197.jpg","is_stereo":false,"photo_type":"360_mono","audio_url":"https://storage.googleapis.com/orbix360-prod-images/users/6ELHK3rd0JU0xHOgUazMaLNADum2/6549858433368064/y si no tienen lo que busco.mp3","created_date":"2021-01-13T17:28:15.931Z","updated_date":"2021-01-13T17:28:15.931Z","id":"5159046554320896","sort_order":2,"status":"active","has_anaglyph":false,"title":"Photo 2"}]; console.log('num photos: ' + window.photos.length); window.photosMap = {"5021914573570048":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2F6ELHK3rd0JU0xHOgUazMaLNADum2%2F6549858433368064%2Fescena-01jpg-1618349840323.jpg&uploadType=resumable&upload_id=ABg5-UwcDXmjVWz4SfUo525buKjb1IiDdmABMJeJc9eNIaacFSyWwsScg0bv1q67vTChd9vTCA-8qcoDUWJb4ou5nSw1AEl7tA","image_url":"/users/6ELHK3rd0JU0xHOgUazMaLNADum2/6549858433368064/escena-01jpg-1618349840323.jpg","rotation":0,"thumbnail_gcs_filename":"/users/6ELHK3rd0JU0xHOgUazMaLNADum2/6549858433368064/thumb_escena-01jpg-1618349840323.jpg","version":"v3","gcs_filename":"/users/6ELHK3rd0JU0xHOgUazMaLNADum2/6549858433368064/escena-01jpg-1618349840323.jpg","folder":"/users/6ELHK3rd0JU0xHOgUazMaLNADum2/6549858433368064","filename":"1-1jpg-1610558895859.jpg","is_stereo":false,"thumbnail_image_url":"/users/6ELHK3rd0JU0xHOgUazMaLNADum2/6549858433368064/thumb_escena-01jpg-1618349840323.jpg","photo_type":"360_mono","audio_url":"https://storage.googleapis.com/orbix360-prod-images/users/6ELHK3rd0JU0xHOgUazMaLNADum2/6549858433368064/Más que solo comprar.mp3","created_date":"2021-01-13T17:28:15.860Z","id":"5021914573570048","updated_date":"2021-01-13T17:28:15.860Z","sort_order":1,"status":"active","has_anaglyph":false,"title":"Photo 1"},"5159046554320896":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2F6ELHK3rd0JU0xHOgUazMaLNADum2%2F6549858433368064%2Fescena-02jpg-1618349862197.jpg&uploadType=resumable&upload_id=ABg5-UwgBfV7qQARJ650XyNLWAfHyXUeChdgG7KLUYFpL1EmO2VChieyRIdhpOmLIvoNxrtzJe9T0ctDGbcH4eWdWtD0o9lDog","image_url":"/users/6ELHK3rd0JU0xHOgUazMaLNADum2/6549858433368064/escena-02jpg-1618349862197.jpg","rotation":0,"thumbnail_gcs_filename":"/users/6ELHK3rd0JU0xHOgUazMaLNADum2/6549858433368064/thumb_escena-02jpg-1618349862197.jpg","version":"v3","gcs_filename":"/users/6ELHK3rd0JU0xHOgUazMaLNADum2/6549858433368064/escena-02jpg-1618349862197.jpg","filename":"2-1jpg-1610558895930.jpg","folder":"/users/6ELHK3rd0JU0xHOgUazMaLNADum2/6549858433368064","thumbnail_image_url":"/users/6ELHK3rd0JU0xHOgUazMaLNADum2/6549858433368064/thumb_escena-02jpg-1618349862197.jpg","is_stereo":false,"photo_type":"360_mono","audio_url":"https://storage.googleapis.com/orbix360-prod-images/users/6ELHK3rd0JU0xHOgUazMaLNADum2/6549858433368064/y si no tienen lo que busco.mp3","created_date":"2021-01-13T17:28:15.931Z","updated_date":"2021-01-13T17:28:15.931Z","id":"5159046554320896","sort_order":2,"status":"active","has_anaglyph":false,"title":"Photo 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 = "6549858433368064"; window.tourUid = "6ELHK3rd0JU0xHOgUazMaLNADum2"; window.customUrl = ""; window.tourSlug = "banca-multiple"; window.template = '360_mono'; window.template_category = ''; window.tourShortCode = "N7BaKmMHS"; 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['5021914573570048'] = 0; window.current_image_index = 0; window.current_image_id = 5021914573570048 window.photo_indexes['5159046554320896'] = 1; 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-2523518516'; window.shortURLRoot = 'https://orbix360.com'; window.image_url = 'https://storage.googleapis.com/orbix360-prod-images/users/6ELHK3rd0JU0xHOgUazMaLNADum2/6549858433368064/thumb_escena-01jpg-1618349840323.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":[{"id":5021914573570048,"hotspots":[],"infoHotspots":[]},{"id":5159046554320896,"hotspots":[],"infoHotspots":[]}],"autorotate":{"enabled":false},"versionNumber":2}; window.brandingAllowed = true; 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;