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/6550532239917056/360blackjpg-1644077594022.jpg","rotation":0,"thumbnail_gcs_filename":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6550532239917056/thumb_360blackjpg-1644077594022.jpg","version":"v3","gcs_filename":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6550532239917056/360blackjpg-1644077594022.jpg","folder":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6550532239917056","filename":"360blackjpg-1644077594022.jpg","thumbnail_image_url":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6550532239917056/thumb_360blackjpg-1644077594022.jpg","is_stereo":false,"photo_type":"360_mono","created_date":"2022-02-05T16:13:14.022Z","updated_date":"2022-02-05T16:13:14.022Z","sort_order":1,"status":"active","id":"4971892247101440","has_anaglyph":false,"index":0,"title":"Photo 1"}]; console.log('num photos: ' + window.photos.length); window.photosMap = {"4971892247101440":{"image_url":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6550532239917056/360blackjpg-1644077594022.jpg","rotation":0,"thumbnail_gcs_filename":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6550532239917056/thumb_360blackjpg-1644077594022.jpg","version":"v3","gcs_filename":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6550532239917056/360blackjpg-1644077594022.jpg","folder":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6550532239917056","filename":"360blackjpg-1644077594022.jpg","thumbnail_image_url":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6550532239917056/thumb_360blackjpg-1644077594022.jpg","is_stereo":false,"photo_type":"360_mono","created_date":"2022-02-05T16:13:14.022Z","updated_date":"2022-02-05T16:13:14.022Z","sort_order":1,"status":"active","id":"4971892247101440","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 = "6550532239917056"; window.tourUid = "h8h3eOiMFTVUooRZ86teiHO914m1"; window.customUrl = "https://linktr.ee/pareidoliaist"; window.tourSlug = "nft"; window.template = 'blank-scene'; window.template_category = ''; window.tourShortCode = "r3bwNRQPH"; 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['4971892247101440'] = 0; window.current_image_index = 0; window.current_image_id = 4971892247101440 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/6550532239917056/thumb_360blackjpg-1644077594022.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":[{"shader":"standard","visible":true,"color":"purple","instanceName":"Ground","pluginId":5205799592787968,"texture":"https://storage.googleapis.com/orbix360-prod-plugins/defaults/images/grid.png","rotation":{"x":"0","y":"0","z":"0"},"scale":{"x":"20","y":"0.1","z":"20"},"instanceId":"plugin_5205799592787968_$EUqvocg6P","pluginName":"Ground","repeat":"5 5","additional_components":"","scriptFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5205799592787968/script.js","templateFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5205799592787968/template.html","position":{"x":"0","y":"0","z":"0"},"opacity":"1.0","schemaFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5205799592787968/schema.json"},{"image":"https://storage.googleapis.com/orbix360-prod-plugins/defaults/images/stars.jpeg","shader":"flat","side":"double","visible":true,"color":"orange","instanceName":"Sky","pluginId":5089611680317440,"rotation":{"x":"0","y":"0","z":"0"},"scale":{"x":"1","y":"1","z":"1"},"instanceId":"plugin_5089611680317440_$7s8oXBjdG","pluginName":"Sky","repeat":"1 1","additional_components":"","scriptFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5089611680317440/script.js","position":{"x":"0","y":"1","z":"-3"},"templateFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5089611680317440/template.html","opacity":"1.0","radius":"1100","schemaFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5089611680317440/schema.json"},{"visible":true,"token_additional_components":"","label_rotation":"0 0 0","instanceName":"NFT","pluginId":"4881895594655744","label_scale":"1 1 1","rotation":{"x":"0","y":"-356.8381148074764","z":"0"},"label_additional_components":"","scale":{"x":"1","y":"1","z":"1"},"token":"{\"id\":655962,\"owner\":\"tz2VZBU9YChy2VwDpHHLbcZYz4nR3TRMNA91\",\"title\":\"Ruboku cube\",\"description\":\"A color ruboku cube for the game\",\"artifactUri\":\"ipfs://QmP358voqvcFYkistC89PBzZFZV3MSRz5r6md4GxQKohdR\",\"displayUri\":\"ipfs://QmeK83XGdWsx24BguEki2G1Yn18YZzQw5GPQJ7K88EJWG6\",\"metadata\":{\"\":\"ipfs://QmY8Yjnrs7gxWRzC9htNXAK5ryhSAT8uBfeQWa3kG9hpsT\",\"name\":\"Ruboku cube\",\"description\":\"A color ruboku cube for the game\",\"tags\":[\"game\",\"color\",\"ruboku\",\"perry\",\"\"],\"symbol\":\"OBJKT\",\"artifactUri\":\"ipfs://QmP358voqvcFYkistC89PBzZFZV3MSRz5r6md4GxQKohdR\",\"displayUri\":\"ipfs://QmeK83XGdWsx24BguEki2G1Yn18YZzQw5GPQJ7K88EJWG6\",\"thumbnailUri\":\"ipfs://QmNrhZHUaEqxhyLfqoq1mtHSipkWHeT31LNHb1QEbDHgnc\",\"creators\":[\"tz2VZBU9YChy2VwDpHHLbcZYz4nR3TRMNA91\"],\"formats\":[{\"uri\":\"ipfs://QmP358voqvcFYkistC89PBzZFZV3MSRz5r6md4GxQKohdR\",\"mimeType\":\"image/png\"}],\"decimals\":0,\"isBooleanAmount\":false,\"shouldPreferSymbol\":false}}","label_position":"1.5 0 0.01","token_rotation":"0 0 0","token_scale":"1 1 1","instanceId":"plugin_4881895594655744_1644082874782","scriptFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/4881895594655744/v2/script.js","position":{"x":"4.2875642761684585","y":"1.2004265301541375","z":"-1.4438577216823654"},"templateFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/4881895594655744/v2/template.html","label_visible":true,"schemaFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/4881895594655744/v2/schema.json","token_position":"0 0 0"}],"id":4971892247101440,"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;