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/6518190624473088/360blackjpg-1643936268182.jpg","rotation":0,"thumbnail_gcs_filename":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6518190624473088/thumb_360blackjpg-1643936268182.jpg","version":"v3","gcs_filename":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6518190624473088/360blackjpg-1643936268182.jpg","filename":"360blackjpg-1643936268182.jpg","folder":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6518190624473088","is_stereo":false,"thumbnail_image_url":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6518190624473088/thumb_360blackjpg-1643936268182.jpg","photo_type":"360_mono","created_date":"2022-02-04T00:57:48.182Z","updated_date":"2022-02-04T00:57:48.182Z","sort_order":1,"status":"active","id":"5872536780800000","has_anaglyph":false,"index":0,"title":"Photo 1"}]; console.log('num photos: ' + window.photos.length); window.photosMap = {"5872536780800000":{"image_url":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6518190624473088/360blackjpg-1643936268182.jpg","rotation":0,"thumbnail_gcs_filename":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6518190624473088/thumb_360blackjpg-1643936268182.jpg","version":"v3","gcs_filename":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6518190624473088/360blackjpg-1643936268182.jpg","filename":"360blackjpg-1643936268182.jpg","folder":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6518190624473088","is_stereo":false,"thumbnail_image_url":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6518190624473088/thumb_360blackjpg-1643936268182.jpg","photo_type":"360_mono","created_date":"2022-02-04T00:57:48.182Z","updated_date":"2022-02-04T00:57:48.182Z","sort_order":1,"status":"active","id":"5872536780800000","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 = "6518190624473088"; window.tourUid = "h8h3eOiMFTVUooRZ86teiHO914m1"; window.customUrl = "https://linktr.ee/pareidoliaist"; window.tourSlug = "gallery"; window.template = 'blank-scene'; window.template_category = ''; window.tourShortCode = "gbsiwSsOr"; 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['5872536780800000'] = 0; window.current_image_index = 0; window.current_image_id = 5872536780800000 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/6518190624473088/thumb_360blackjpg-1643936268182.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","texture":"https://storage.googleapis.com/orbix360-prod-plugins/defaults/images/grid.png","pluginId":5205799592787968,"rotation":{"x":"0","y":"0","z":"0"},"scale":{"x":"20","y":"0.1","z":"20"},"instanceId":"plugin_5205799592787968_$u9Zv-75zx","pluginName":"Ground","repeat":"5 5","additional_components":"","scriptFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5205799592787968/script.js","position":{"x":"0","y":"0","z":"0"},"templateFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5205799592787968/template.html","opacity":"1.0","schemaFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5205799592787968/schema.json"},{"image":"https://storage.googleapis.com/orbix360-prod-plugins/defaults/images/stars.jpeg","color":"#FFF","instanceName":"Sky","pluginId":5089611680317440,"rotation":{"x":0,"y":0,"z":0},"scale":{"x":1,"y":1,"z":1},"instanceId":"plugin_5089611680317440_$fM0UYgB3X","pluginName":"Sky","additional_components":"","scriptFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5089611680317440/script.js","templateFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5089611680317440/template.html","position":{"x":0,"y":1,"z":-3},"schemaFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5089611680317440/schema.json","radius":"1100"},{"token_additional_components":"","visible":true,"instanceName":"NFT","label_rotation":"0 0 0","pluginId":"4881895594655744","label_scale":"1 1 1","rotation":{"x":"0","y":"0","z":"0"},"scale":{"x":"1","y":"1","z":"1"},"label_additional_components":"","token":"{\"id\":100,\"owner\":\"tz2VZBU9YChy2VwDpHHLbcZYz4nR3TRMNA91\",\"title\":\"Dreams #8\",\"description\":\"Beautifully hand drawn image. Each combination plays with the balance between character and negative space. Original supply: 14\",\"artifactUri\":\"ipfs://QmcvrhgxpfH8bQM6vETFkBXwTSrN3CjkUTkHGVDtTcrWjF\",\"displayUri\":\"ipfs://QmcvrhgxpfH8bQM6vETFkBXwTSrN3CjkUTkHGVDtTcrWjF\",\"number_of_editions\":1,\"metadata\":{\"\":\"ipfs://QmTmeRvGSPauXkFGEF6eJUwwmiMp1HEx4kNs6ca6G1mENJ\",\"number_of_editions\":1,\"tags\":[\"perrydolia\"],\"royalties\":1000,\"royalties_split_map\":[{\"address\":\"tz2VZBU9YChy2VwDpHHLbcZYz4nR3TRMNA91\",\"percentage\":10000}],\"artifactUri\":\"ipfs://QmcvrhgxpfH8bQM6vETFkBXwTSrN3CjkUTkHGVDtTcrWjF\",\"displayUri\":\"ipfs://QmcvrhgxpfH8bQM6vETFkBXwTSrN3CjkUTkHGVDtTcrWjF\",\"thumbnailUri\":\"ipfs://QmUnKwvkAth7iGWddReThLtMT6UDfFo2cJVf4AiPz8saPX\",\"formats\":[{\"fileSize\":\"252\",\"mimeType\":\"image/png\"}],\"name\":\"Dreams #8\",\"collection_name\":\"Dreams\",\"category\":\"Collectibles\",\"minter\":\"tz2VZBU9YChy2VwDpHHLbcZYz4nR3TRMNA91\",\"creators\":[\"tz2VZBU9YChy2VwDpHHLbcZYz4nR3TRMNA91\"],\"description\":\"Beautifully hand drawn image. Each combination plays with the balance between character and negative space. Original supply: 14\",\"attributes\":[],\"editions_id\":\"4\",\"decimals\":0,\"isBooleanAmount\":true}}","label_position":"1.5 0 0.01","token_rotation":"0 0 0","instanceId":"plugin_4881895594655744_1643936311145","token_scale":"1 1 1","scriptFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/4881895594655744/v2/script.js","templateFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/4881895594655744/v2/template.html","label_visible":true,"position":{"x":"0.37903918127544123","y":"1.8798536762787774","z":"-4.977751622864614"},"schemaFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/4881895594655744/v2/schema.json","token_position":"0 0 0"},{"visible":true,"token_additional_components":"","instanceName":"NFT copy","label_rotation":"0 0 0","pluginId":"4881895594655744","rotation":{"x":"0","y":"0","z":"0"},"label_scale":"1 1 1","label_additional_components":"","scale":{"x":"1","y":"1","z":"1"},"token":"{\"id\":112,\"owner\":\"KT1BQv5ynR5rV1Wf42iBgZP4cERgjn4ihbBx\",\"title\":\"Dreams #13\",\"description\":\"Beautifully hand drawn image with random colors, hues, overlays, rotations, flipping and cropping. Each combination plays with the balance between character and negative space. \\\"Dreams\\\" is a followup series to \\\"Muse\\\". Dreams original supply: 14\",\"artifactUri\":\"ipfs://Qmc3rUfLXCaDrLiDmwUg1gpG7YhVKa5NC3oZXZL7epNtvb\",\"displayUri\":\"ipfs://Qmc3rUfLXCaDrLiDmwUg1gpG7YhVKa5NC3oZXZL7epNtvb\",\"edition_number\":\"1\",\"number_of_editions\":1,\"metadata\":{\"\":\"ipfs://QmasRYB9RqXLduPAWLhiDwveALPyjRzENknq1P8Df7ioa3\",\"edition_number\":\"1\",\"number_of_editions\":1,\"tags\":[\"dreams\",\"procreate\",\"autonomous\"],\"royalties\":1000,\"royalties_split_map\":[{\"address\":\"tz2VZBU9YChy2VwDpHHLbcZYz4nR3TRMNA91\",\"percentage\":10000}],\"artifactUri\":\"ipfs://Qmc3rUfLXCaDrLiDmwUg1gpG7YhVKa5NC3oZXZL7epNtvb\",\"displayUri\":\"ipfs://Qmc3rUfLXCaDrLiDmwUg1gpG7YhVKa5NC3oZXZL7epNtvb\",\"thumbnailUri\":\"ipfs://QmTyT66LtA4hcsamXC1wTBGzXrSPZ2PbWTWiX4As5MrNec\",\"formats\":[{\"fileSize\":\"251\",\"mimeType\":\"image/png\"}],\"name\":\"Dreams #13\",\"collection_name\":\"Dreams\",\"category\":\"Collectibles\",\"minter\":\"tz2VZBU9YChy2VwDpHHLbcZYz4nR3TRMNA91\",\"creators\":[\"tz2VZBU9YChy2VwDpHHLbcZYz4nR3TRMNA91\"],\"description\":\"Beautifully hand drawn image with random colors, hues, overlays, rotations, flipping and cropping. Each combination plays with the balance between character and negative space. \\\"Dreams\\\" is a followup series to \\\"Muse\\\". Dreams original supply: 14\",\"attributes\":[],\"editions_id\":\"4\",\"decimals\":0,\"isBooleanAmount\":true},\"sale\":{\"id\":17106514,\"seller\":\"tz2VZBU9YChy2VwDpHHLbcZYz4nR3TRMNA91\",\"price\":10,\"mutez\":10000000,\"saleToken\":{\"address\":\"KT1Nf6V7fje6ELNgD6hkKfc3SXaDNVFAifEX\",\"tokenId\":112},\"saleId\":47,\"type\":\"fixedPrice\"}}","label_position":"1.5 0 0.01","token_rotation":"0 0 0","instanceId":"plugin_4881895594655744_1643936328966","token_scale":"1 1 1","scriptFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/4881895594655744/v2/script.js","position":{"x":"-3.0209608187245593","y":"1.8798536762787774","z":"-4.977751622864614"},"templateFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/4881895594655744/v2/template.html","label_visible":true,"schemaFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/4881895594655744/v2/schema.json","token_position":"0 0 0"},{"visible":true,"token_additional_components":"","label_rotation":"0 0 0","instanceName":"NFT copy","pluginId":"4881895594655744","label_scale":"1 1 1","rotation":{"x":"0","y":"0","z":"0"},"label_additional_components":"","scale":{"x":"1","y":"1","z":"1"},"token":"{\"id\":121,\"owner\":\"tz2VZBU9YChy2VwDpHHLbcZYz4nR3TRMNA91\",\"title\":\"Songs Of The Machine \",\"description\":\"Songs Of The Machine explores movement and form. 2200x2220 .gif animation \",\"artifactUri\":\"ipfs://QmcZtHjwTAnbAVSFFq8zbraTRJkbCcPcts7A3xDPhzvAXw\",\"displayUri\":\"ipfs://QmcZtHjwTAnbAVSFFq8zbraTRJkbCcPcts7A3xDPhzvAXw\",\"edition_number\":\"1\",\"number_of_editions\":1,\"metadata\":{\"\":\"ipfs://QmZk3DURsxhTdRkXNmBgZDE7RPFVskpD821RLfXtHuMmF5\",\"edition_number\":\"1\",\"number_of_editions\":1,\"tags\":[\"autonomous\",\"drawing\",\"pen\",\"ink\",\"gif\"],\"royalties\":1000,\"royalties_split_map\":[{\"address\":\"tz2VZBU9YChy2VwDpHHLbcZYz4nR3TRMNA91\",\"percentage\":10000}],\"artifactUri\":\"ipfs://QmcZtHjwTAnbAVSFFq8zbraTRJkbCcPcts7A3xDPhzvAXw\",\"displayUri\":\"ipfs://QmcZtHjwTAnbAVSFFq8zbraTRJkbCcPcts7A3xDPhzvAXw\",\"thumbnailUri\":\"ipfs://QmNcUojbp6E2chn3zzhzm6VnU4sUw4UT5ahADkEjQ3F8vB\",\"formats\":[{\"fileSize\":\"252\",\"mimeType\":\"image/gif\"}],\"name\":\"Songs Of The Machine \",\"collection_name\":\"Autonomous\",\"category\":\"Art\",\"minter\":\"tz2VZBU9YChy2VwDpHHLbcZYz4nR3TRMNA91\",\"creators\":[\"tz2VZBU9YChy2VwDpHHLbcZYz4nR3TRMNA91\"],\"description\":\"Songs Of The Machine explores movement and form. 2200x2220 .gif animation \",\"attributes\":[],\"editions_id\":\"4\",\"decimals\":0,\"isBooleanAmount\":true},\"sale\":{\"id\":17954815,\"seller\":\"tz2VZBU9YChy2VwDpHHLbcZYz4nR3TRMNA91\",\"price\":20,\"mutez\":20000000,\"saleToken\":{\"address\":\"KT1Nf6V7fje6ELNgD6hkKfc3SXaDNVFAifEX\",\"tokenId\":121},\"saleId\":65,\"type\":\"fixedPrice\"}}","label_position":"1.5 0 0.01","token_rotation":"0 0 0","token_scale":"1 1 1","instanceId":"plugin_4881895594655744_1643936349423","scriptFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/4881895594655744/v2/script.js","position":{"x":"3.7790391812754422","y":"1.8798536762787774","z":"-4.977751622864614"},"label_visible":true,"templateFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/4881895594655744/v2/template.html","schemaFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/4881895594655744/v2/schema.json","token_position":"0 0 0"}],"id":5872536780800000,"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;