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 = [{"image_url":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/4703810324791296/360blackjpg-1597333378453.jpg","rotation":2.406422739549077,"thumbnail_gcs_filename":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/4703810324791296/thumb_360blackjpg-1597333378453.jpg","version":"v4","gcs_filename":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/4703810324791296/360blackjpg-1597333378453.jpg","folder":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/4703810324791296","filename":"360blackjpg-1597333378453.jpg","thumbnail_image_url":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/4703810324791296/thumb_360blackjpg-1597333378453.jpg","is_stereo":false,"photo_type":"360_mono","id":"5802235594276864","created_date":"2020-08-13T15:42:58.453Z","updated_date":"2020-08-13T15:42:58.453Z","sort_order":1,"status":"active","has_anaglyph":false,"index":0,"title":"Photo 1"}]; console.log('num photos: ' + window.photos.length); window.photosMap = {"5802235594276864":{"image_url":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/4703810324791296/360blackjpg-1597333378453.jpg","rotation":2.406422739549077,"thumbnail_gcs_filename":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/4703810324791296/thumb_360blackjpg-1597333378453.jpg","version":"v4","gcs_filename":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/4703810324791296/360blackjpg-1597333378453.jpg","folder":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/4703810324791296","filename":"360blackjpg-1597333378453.jpg","thumbnail_image_url":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/4703810324791296/thumb_360blackjpg-1597333378453.jpg","is_stereo":false,"photo_type":"360_mono","id":"5802235594276864","created_date":"2020-08-13T15:42:58.453Z","updated_date":"2020-08-13T15:42:58.453Z","sort_order":1,"status":"active","has_anaglyph":false,"index":0,"title":"Photo 1"}}; 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 = "4703810324791296"; window.tourUid = "h8h3eOiMFTVUooRZ86teiHO914m1"; window.customUrl = "https://linktr.ee/pareidoliaist"; window.tourSlug = "slide-show"; window.template = 'flat_stereo'; window.template_category = ''; window.tourShortCode = "N9xmJWAif"; 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 = true; window.photo_indexes['5802235594276864'] = 0; window.current_image_index = 0; window.current_image_id = 5802235594276864 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/-PSggI1QTKnM/AAAAAAAAAAI/AAAAAAAAAnE/ACRKs6XJbMU/photo.jpg'; window.user_profile_name = 'Perry Dolia'; window.shortURLRoot = 'https://orbix360.com'; window.image_url = 'https://storage.googleapis.com/orbix360-prod-images/users/h8h3eOiMFTVUooRZ86teiHO914m1/4703810324791296/thumb_360blackjpg-1597333378453.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":[{"plugins":[{"instanceName":"Stereo Slideshow","pluginId":"5484892083191808","scale":{"x":"1","y":"1","z":"1"},"instanceId":"plugin_5484892083191808_1597333410726","scriptFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5484892083191808/v1/script.js","height":"1","src8":"https://storage.googleapis.com/orbix360-prod-assets/users/h8h3eOiMFTVUooRZ86teiHO914m1/4703810324791296/5802235594276864/plugin_5484892083191808_1597333410726/Festival3D-Dance-Valley-Festival-4680_050_cs.jpg","visible":true,"src5":"https://storage.googleapis.com/orbix360-prod-assets/users/h8h3eOiMFTVUooRZ86teiHO914m1/4703810324791296/5802235594276864/plugin_5484892083191808_1597333410726/Festival3D-Holi-Festival-697_104_cs.jpg","src4":"","src7":"https://storage.googleapis.com/orbix360-prod-assets/users/h8h3eOiMFTVUooRZ86teiHO914m1/4703810324791296/5802235594276864/plugin_5484892083191808_1597333410726/Festival3D-Dance-Valley-Festival-469_036_cs.jpg","rotation":{"x":"0","y":"-2.177239621497038","z":"0"},"src6":"https://storage.googleapis.com/orbix360-prod-assets/users/h8h3eOiMFTVUooRZ86teiHO914m1/4703810324791296/5802235594276864/plugin_5484892083191808_1597333410726/Festival3D-Melkweg-149_027_cs (1).jpg","width5":1.5,"width4":"1.33","width3":1.5,"width2":"1.26","width1":"1.33","width8":1.5,"width7":1.5,"width6":"1.33","src1":"https://storage.googleapis.com/orbix360-prod-plugins/defaults/images/3D_statue_ocean.jpg","additional_components":"","src3":"https://storage.googleapis.com/orbix360-prod-assets/users/h8h3eOiMFTVUooRZ86teiHO914m1/4703810324791296/5802235594276864/plugin_5484892083191808_1597333410726/Festival3D-Beeckesteinpop-126_050_cs.jpg","src2":"https://storage.googleapis.com/orbix360-prod-plugins/defaults/images/cup.jpg","position":{"x":"0.06833225578025112","y":"1.6100134993925132","z":"-1.7973516321342604"},"templateFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5484892083191808/v1/template.html","schemaFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5484892083191808/v1/schema.json"},{"visible":true,"instanceName":"Stereo Image","src":"https://storage.googleapis.com/orbix360-prod-assets/users/h8h3eOiMFTVUooRZ86teiHO914m1/4703810324791296/5802235594276864/plugin_4783859468075008_1597333642758/Festival3D-Bevrijdingspop-299_068_cs.jpg","pluginId":"4783859468075008","rotation":{"x":"0","y":"-70.35921724206497","z":"0"},"scale":{"x":"1","y":"1","z":"1"},"instanceId":"plugin_4783859468075008_1597333642758","width":"1.5","additional_components":"","scriptFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/4783859468075008/v1/script.js","templateFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/4783859468075008/v1/template.html","position":{"x":"1.746035557485951","y":"1.5766294887699778","z":"-0.410780897387155"},"schemaFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/4783859468075008/v1/schema.json","height":"1"}],"flatImages":[{"is_stereo":true,"src":"https://storage.googleapis.com/orbix360-prod-images/users/h8h3eOiMFTVUooRZ86teiHO914m1/4703810324791296/Festival3D-Elfia-Arcen-252_086_cs.jpg","width":1200,"scale_multiplier":1,"position":{"x":-0.9510565162951535,"y":0,"z":-0.30901699437494745},"id":"flat_image_5802235594276864_1597333383279","height":800},{"src":"https://storage.googleapis.com/orbix360-prod-images/users/h8h3eOiMFTVUooRZ86teiHO914m1/4703810324791296/Festival3D-Holi-Festival-697_104_cs.jpg","is_stereo":true,"width":1200,"scale_multiplier":1,"position":{"x":0.5877852522924732,"y":0,"z":0.8090169943749473},"id":"flat_image_5802235594276864_1597333382646","height":800},{"src":"https://storage.googleapis.com/orbix360-prod-images/users/h8h3eOiMFTVUooRZ86teiHO914m1/4703810324791296/Festival3D-Melkweg-149_027_cs (1).jpg","is_stereo":true,"width":1200,"scale_multiplier":1,"position":{"x":-0.5877852522924732,"y":0,"z":0.8090169943749473},"id":"flat_image_5802235594276864_1597333381863","height":800}],"id":5802235594276864,"hotspots":[]}],"autorotate":{"enabled":false},"versionNumber":3}; window.brandingAllowed = true; window.upgradeCheckoutSessionStatus = ''; window.isPro = (window.brandingAllowed || window.upgradeCheckoutSessionStatus == 'complete'); window.nadirLogoURL = (window.brandingAllowed || window.upgradeCheckoutSessionStatus == 'complete') ? 'https://storage.googleapis.com/orbix360-prod-images/users/h8h3eOiMFTVUooRZ86teiHO914m1/branding/nadir.png' : '/images/orbix_nadir.png'; window.editMode = false;