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%2FBtfAuh8KP5Vudiu0hWdgOjkVnnJ3%2F6019174757302272%2Fimg2021080717091900009jpg-1628498827080.jpg&uploadType=resumable&upload_id=ADPycdsnclbUVFctVGuhd6V3tfr43cj_jBIlhsKLLf7EY2OpqEb-aD1wwCqmGG_bSYuykqBfZw_Y85Ycbnojfi9489Snot2iUA","image_url":"/users/BtfAuh8KP5Vudiu0hWdgOjkVnnJ3/6019174757302272/img2021080717091900009jpg-1628498827080.jpg","rotation":0,"thumbnail_gcs_filename":"/users/BtfAuh8KP5Vudiu0hWdgOjkVnnJ3/6019174757302272/thumb_img2021080717091900009jpg-1628498827080.jpg","version":"v3","gcs_filename":"/users/BtfAuh8KP5Vudiu0hWdgOjkVnnJ3/6019174757302272/img2021080717091900009jpg-1628498827080.jpg","filename":"img2021080717091900009jpg-1628498827080.jpg","folder":"/users/BtfAuh8KP5Vudiu0hWdgOjkVnnJ3/6019174757302272","is_stereo":true,"thumbnail_image_url":"/users/BtfAuh8KP5Vudiu0hWdgOjkVnnJ3/6019174757302272/thumb_img2021080717091900009jpg-1628498827080.jpg","photo_type":"180_stereo","created_date":"2021-08-09T08:47:07.081Z","updated_date":"2021-08-09T08:47:07.081Z","sort_order":1,"status":"active","id":"4550887976468480","has_anaglyph":true,"index":0,"title":"Photo 1"},{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FBtfAuh8KP5Vudiu0hWdgOjkVnnJ3%2F6019174757302272%2Fimg2021080717093000010jpg-1628498828963.jpg&uploadType=resumable&upload_id=ADPycdvW_aWV8rfEi-uz-_5qFbfb06TZGm25oWSUXtYaPYsDLK_IpEzo39B1RmdW4_beryGDyTPu7BHl-SIm4mbtD6DrJenzlg","image_url":"/users/BtfAuh8KP5Vudiu0hWdgOjkVnnJ3/6019174757302272/img2021080717093000010jpg-1628498828963.jpg","rotation":0,"thumbnail_gcs_filename":"/users/BtfAuh8KP5Vudiu0hWdgOjkVnnJ3/6019174757302272/thumb_img2021080717093000010jpg-1628498828963.jpg","version":"v3","gcs_filename":"/users/BtfAuh8KP5Vudiu0hWdgOjkVnnJ3/6019174757302272/img2021080717093000010jpg-1628498828963.jpg","folder":"/users/BtfAuh8KP5Vudiu0hWdgOjkVnnJ3/6019174757302272","filename":"img2021080717093000010jpg-1628498828963.jpg","thumbnail_image_url":"/users/BtfAuh8KP5Vudiu0hWdgOjkVnnJ3/6019174757302272/thumb_img2021080717093000010jpg-1628498828963.jpg","is_stereo":true,"photo_type":"180_stereo","updated_date":"2021-08-09T08:47:08.965Z","created_date":"2021-08-09T08:47:08.965Z","sort_order":2,"status":"active","id":"6603181391872000","has_anaglyph":true,"index":1,"title":"Photo 2"},{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FBtfAuh8KP5Vudiu0hWdgOjkVnnJ3%2F6019174757302272%2Fimg2021080719224900030jpg-1628498827035.jpg&uploadType=resumable&upload_id=ADPycdtdAl8z7_xleNo9NJchVWx1hOXsqCrsxMejXyiMahnzFwO1IoDmMuL58mXCd-O6YZGhcZtF5n7HuNBQxEQ5Pdw-1_KuPw","image_url":"/users/BtfAuh8KP5Vudiu0hWdgOjkVnnJ3/6019174757302272/img2021080719224900030jpg-1628498827035.jpg","rotation":0,"thumbnail_gcs_filename":"/users/BtfAuh8KP5Vudiu0hWdgOjkVnnJ3/6019174757302272/thumb_img2021080719224900030jpg-1628498827035.jpg","version":"v3","gcs_filename":"/users/BtfAuh8KP5Vudiu0hWdgOjkVnnJ3/6019174757302272/img2021080719224900030jpg-1628498827035.jpg","filename":"img2021080719224900030jpg-1628498827035.jpg","folder":"/users/BtfAuh8KP5Vudiu0hWdgOjkVnnJ3/6019174757302272","thumbnail_image_url":"/users/BtfAuh8KP5Vudiu0hWdgOjkVnnJ3/6019174757302272/thumb_img2021080719224900030jpg-1628498827035.jpg","is_stereo":true,"photo_type":"180_stereo","created_date":"2021-08-09T08:47:07.035Z","updated_date":"2021-08-09T08:47:07.035Z","sort_order":3,"status":"active","id":"4811355395719168","has_anaglyph":true,"index":2,"title":"Photo 3"},{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FBtfAuh8KP5Vudiu0hWdgOjkVnnJ3%2F6019174757302272%2Fimg2021080719254300033jpg-1628498827046.jpg&uploadType=resumable&upload_id=ADPycduIrNbR-JisQuqrbEVR1Nrud7_oAOBApzY_QZOo07Zwsk_gFuEb1cBcf7Y3mgR02v_45rnWdNcZob4oOX_cMstqKRMpSQ","image_url":"/users/BtfAuh8KP5Vudiu0hWdgOjkVnnJ3/6019174757302272/img2021080719254300033jpg-1628498827046.jpg","rotation":0,"thumbnail_gcs_filename":"/users/BtfAuh8KP5Vudiu0hWdgOjkVnnJ3/6019174757302272/thumb_img2021080719254300033jpg-1628498827046.jpg","version":"v3","gcs_filename":"/users/BtfAuh8KP5Vudiu0hWdgOjkVnnJ3/6019174757302272/img2021080719254300033jpg-1628498827046.jpg","filename":"img2021080719254300033jpg-1628498827046.jpg","folder":"/users/BtfAuh8KP5Vudiu0hWdgOjkVnnJ3/6019174757302272","thumbnail_image_url":"/users/BtfAuh8KP5Vudiu0hWdgOjkVnnJ3/6019174757302272/thumb_img2021080719254300033jpg-1628498827046.jpg","is_stereo":true,"photo_type":"180_stereo","created_date":"2021-08-09T08:47:07.047Z","updated_date":"2021-08-09T08:47:07.047Z","sort_order":4,"status":"active","id":"5456224803880960","has_anaglyph":true,"index":3,"title":"Photo 4"},{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FBtfAuh8KP5Vudiu0hWdgOjkVnnJ3%2F6019174757302272%2Fimg2021080719263900034jpg-1628498829090.jpg&uploadType=resumable&upload_id=ADPycdsPTLUQxbLDZ8ZpKckdl6dXo8HiaSWxrwSqlMrOgLBhF5F1j9znZQgC-BK6ImBv4okdnZwUPyycg0OaemOtJ9K3zIRYLg","image_url":"/users/BtfAuh8KP5Vudiu0hWdgOjkVnnJ3/6019174757302272/img2021080719263900034jpg-1628498829090.jpg","rotation":0,"thumbnail_gcs_filename":"/users/BtfAuh8KP5Vudiu0hWdgOjkVnnJ3/6019174757302272/thumb_img2021080719263900034jpg-1628498829090.jpg","version":"v3","gcs_filename":"/users/BtfAuh8KP5Vudiu0hWdgOjkVnnJ3/6019174757302272/img2021080719263900034jpg-1628498829090.jpg","filename":"img2021080719263900034jpg-1628498829090.jpg","folder":"/users/BtfAuh8KP5Vudiu0hWdgOjkVnnJ3/6019174757302272","is_stereo":true,"thumbnail_image_url":"/users/BtfAuh8KP5Vudiu0hWdgOjkVnnJ3/6019174757302272/thumb_img2021080719263900034jpg-1628498829090.jpg","photo_type":"180_stereo","created_date":"2021-08-09T08:47:09.092Z","updated_date":"2021-08-09T08:47:09.092Z","sort_order":5,"status":"active","id":"5546266108887040","has_anaglyph":true,"index":4,"title":"Photo 5"}]; console.log('num photos: ' + window.photos.length); window.photosMap = {"4550887976468480":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FBtfAuh8KP5Vudiu0hWdgOjkVnnJ3%2F6019174757302272%2Fimg2021080717091900009jpg-1628498827080.jpg&uploadType=resumable&upload_id=ADPycdsnclbUVFctVGuhd6V3tfr43cj_jBIlhsKLLf7EY2OpqEb-aD1wwCqmGG_bSYuykqBfZw_Y85Ycbnojfi9489Snot2iUA","image_url":"/users/BtfAuh8KP5Vudiu0hWdgOjkVnnJ3/6019174757302272/img2021080717091900009jpg-1628498827080.jpg","rotation":0,"thumbnail_gcs_filename":"/users/BtfAuh8KP5Vudiu0hWdgOjkVnnJ3/6019174757302272/thumb_img2021080717091900009jpg-1628498827080.jpg","version":"v3","gcs_filename":"/users/BtfAuh8KP5Vudiu0hWdgOjkVnnJ3/6019174757302272/img2021080717091900009jpg-1628498827080.jpg","filename":"img2021080717091900009jpg-1628498827080.jpg","folder":"/users/BtfAuh8KP5Vudiu0hWdgOjkVnnJ3/6019174757302272","is_stereo":true,"thumbnail_image_url":"/users/BtfAuh8KP5Vudiu0hWdgOjkVnnJ3/6019174757302272/thumb_img2021080717091900009jpg-1628498827080.jpg","photo_type":"180_stereo","created_date":"2021-08-09T08:47:07.081Z","updated_date":"2021-08-09T08:47:07.081Z","sort_order":1,"status":"active","id":"4550887976468480","has_anaglyph":true,"index":0,"title":"Photo 1"},"6603181391872000":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FBtfAuh8KP5Vudiu0hWdgOjkVnnJ3%2F6019174757302272%2Fimg2021080717093000010jpg-1628498828963.jpg&uploadType=resumable&upload_id=ADPycdvW_aWV8rfEi-uz-_5qFbfb06TZGm25oWSUXtYaPYsDLK_IpEzo39B1RmdW4_beryGDyTPu7BHl-SIm4mbtD6DrJenzlg","image_url":"/users/BtfAuh8KP5Vudiu0hWdgOjkVnnJ3/6019174757302272/img2021080717093000010jpg-1628498828963.jpg","rotation":0,"thumbnail_gcs_filename":"/users/BtfAuh8KP5Vudiu0hWdgOjkVnnJ3/6019174757302272/thumb_img2021080717093000010jpg-1628498828963.jpg","version":"v3","gcs_filename":"/users/BtfAuh8KP5Vudiu0hWdgOjkVnnJ3/6019174757302272/img2021080717093000010jpg-1628498828963.jpg","folder":"/users/BtfAuh8KP5Vudiu0hWdgOjkVnnJ3/6019174757302272","filename":"img2021080717093000010jpg-1628498828963.jpg","thumbnail_image_url":"/users/BtfAuh8KP5Vudiu0hWdgOjkVnnJ3/6019174757302272/thumb_img2021080717093000010jpg-1628498828963.jpg","is_stereo":true,"photo_type":"180_stereo","updated_date":"2021-08-09T08:47:08.965Z","created_date":"2021-08-09T08:47:08.965Z","sort_order":2,"status":"active","id":"6603181391872000","has_anaglyph":true,"index":1,"title":"Photo 2"},"4811355395719168":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FBtfAuh8KP5Vudiu0hWdgOjkVnnJ3%2F6019174757302272%2Fimg2021080719224900030jpg-1628498827035.jpg&uploadType=resumable&upload_id=ADPycdtdAl8z7_xleNo9NJchVWx1hOXsqCrsxMejXyiMahnzFwO1IoDmMuL58mXCd-O6YZGhcZtF5n7HuNBQxEQ5Pdw-1_KuPw","image_url":"/users/BtfAuh8KP5Vudiu0hWdgOjkVnnJ3/6019174757302272/img2021080719224900030jpg-1628498827035.jpg","rotation":0,"thumbnail_gcs_filename":"/users/BtfAuh8KP5Vudiu0hWdgOjkVnnJ3/6019174757302272/thumb_img2021080719224900030jpg-1628498827035.jpg","version":"v3","gcs_filename":"/users/BtfAuh8KP5Vudiu0hWdgOjkVnnJ3/6019174757302272/img2021080719224900030jpg-1628498827035.jpg","filename":"img2021080719224900030jpg-1628498827035.jpg","folder":"/users/BtfAuh8KP5Vudiu0hWdgOjkVnnJ3/6019174757302272","thumbnail_image_url":"/users/BtfAuh8KP5Vudiu0hWdgOjkVnnJ3/6019174757302272/thumb_img2021080719224900030jpg-1628498827035.jpg","is_stereo":true,"photo_type":"180_stereo","created_date":"2021-08-09T08:47:07.035Z","updated_date":"2021-08-09T08:47:07.035Z","sort_order":3,"status":"active","id":"4811355395719168","has_anaglyph":true,"index":2,"title":"Photo 3"},"5456224803880960":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FBtfAuh8KP5Vudiu0hWdgOjkVnnJ3%2F6019174757302272%2Fimg2021080719254300033jpg-1628498827046.jpg&uploadType=resumable&upload_id=ADPycduIrNbR-JisQuqrbEVR1Nrud7_oAOBApzY_QZOo07Zwsk_gFuEb1cBcf7Y3mgR02v_45rnWdNcZob4oOX_cMstqKRMpSQ","image_url":"/users/BtfAuh8KP5Vudiu0hWdgOjkVnnJ3/6019174757302272/img2021080719254300033jpg-1628498827046.jpg","rotation":0,"thumbnail_gcs_filename":"/users/BtfAuh8KP5Vudiu0hWdgOjkVnnJ3/6019174757302272/thumb_img2021080719254300033jpg-1628498827046.jpg","version":"v3","gcs_filename":"/users/BtfAuh8KP5Vudiu0hWdgOjkVnnJ3/6019174757302272/img2021080719254300033jpg-1628498827046.jpg","filename":"img2021080719254300033jpg-1628498827046.jpg","folder":"/users/BtfAuh8KP5Vudiu0hWdgOjkVnnJ3/6019174757302272","thumbnail_image_url":"/users/BtfAuh8KP5Vudiu0hWdgOjkVnnJ3/6019174757302272/thumb_img2021080719254300033jpg-1628498827046.jpg","is_stereo":true,"photo_type":"180_stereo","created_date":"2021-08-09T08:47:07.047Z","updated_date":"2021-08-09T08:47:07.047Z","sort_order":4,"status":"active","id":"5456224803880960","has_anaglyph":true,"index":3,"title":"Photo 4"},"5546266108887040":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FBtfAuh8KP5Vudiu0hWdgOjkVnnJ3%2F6019174757302272%2Fimg2021080719263900034jpg-1628498829090.jpg&uploadType=resumable&upload_id=ADPycdsPTLUQxbLDZ8ZpKckdl6dXo8HiaSWxrwSqlMrOgLBhF5F1j9znZQgC-BK6ImBv4okdnZwUPyycg0OaemOtJ9K3zIRYLg","image_url":"/users/BtfAuh8KP5Vudiu0hWdgOjkVnnJ3/6019174757302272/img2021080719263900034jpg-1628498829090.jpg","rotation":0,"thumbnail_gcs_filename":"/users/BtfAuh8KP5Vudiu0hWdgOjkVnnJ3/6019174757302272/thumb_img2021080719263900034jpg-1628498829090.jpg","version":"v3","gcs_filename":"/users/BtfAuh8KP5Vudiu0hWdgOjkVnnJ3/6019174757302272/img2021080719263900034jpg-1628498829090.jpg","filename":"img2021080719263900034jpg-1628498829090.jpg","folder":"/users/BtfAuh8KP5Vudiu0hWdgOjkVnnJ3/6019174757302272","is_stereo":true,"thumbnail_image_url":"/users/BtfAuh8KP5Vudiu0hWdgOjkVnnJ3/6019174757302272/thumb_img2021080719263900034jpg-1628498829090.jpg","photo_type":"180_stereo","created_date":"2021-08-09T08:47:09.092Z","updated_date":"2021-08-09T08:47:09.092Z","sort_order":5,"status":"active","id":"5546266108887040","has_anaglyph":true,"index":4,"title":"Photo 5"}}; 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 = "6019174757302272"; window.tourUid = "BtfAuh8KP5Vudiu0hWdgOjkVnnJ3"; window.customUrl = "http://www.orbix360.com"; window.tourSlug = "caorle-4"; window.template = '180_stereo'; window.template_category = ''; window.tourShortCode = "PGSKip7Vw"; 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['4550887976468480'] = 0; window.current_image_index = 0; window.current_image_id = 4550887976468480 window.photo_indexes['6603181391872000'] = 1; window.photo_indexes['4811355395719168'] = 2; window.photo_indexes['5456224803880960'] = 3; window.photo_indexes['5546266108887040'] = 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-/AOh14GhD0Sr9sj3c-EwtUVnljsTlMT3sBemdTIwqBJRR=s96-c'; window.user_profile_name = 'jahoo3d'; window.shortURLRoot = 'https://orbix360.com'; window.image_url = 'https://storage.googleapis.com/orbix360-prod-images/users/BtfAuh8KP5Vudiu0hWdgOjkVnnJ3/6019174757302272/thumb_img2021080717091900009jpg-1628498827080.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":"Κουτσίκος !","from":4550887976468480,"id":"hotspot_4550887976468480_info_1628498899680","to":"info","position":{"x":0.04465550365402786,"y":0.3061402008351827,"z":-0.9509385171639643},"title":"Caorle"}],"id":4550887976468480,"hotspots":[]},{"infoHotspots":[],"id":6603181391872000,"hotspots":[]},{"infoHotspots":[],"id":4811355395719168,"hotspots":[]},{"infoHotspots":[],"id":5456224803880960,"hotspots":[]},{"infoHotspots":[],"id":5546266108887040,"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;