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/5mqlDwlNNKT4LWsdsvf5NmlK2WM2/6467831000465408/blank-scenepng-1607893351155.png","rotation":0,"thumbnail_gcs_filename":"/users/5mqlDwlNNKT4LWsdsvf5NmlK2WM2/6467831000465408/thumb_blank-scenepng-1607893351155.png","version":"v3","gcs_filename":"/users/5mqlDwlNNKT4LWsdsvf5NmlK2WM2/6467831000465408/blank-scenepng-1607893351155.png","filename":"blank-scenepng-1607893351155.png","folder":"/users/5mqlDwlNNKT4LWsdsvf5NmlK2WM2/6467831000465408","is_stereo":false,"thumbnail_image_url":"/users/5mqlDwlNNKT4LWsdsvf5NmlK2WM2/6467831000465408/thumb_blank-scenepng-1607893351155.png","photo_type":"360_mono","updated_date":"2020-12-13T21:02:31.155Z","created_date":"2020-12-13T21:02:31.155Z","sort_order":1,"status":"active","id":"5051218934104064","has_anaglyph":false,"index":0,"title":"Photo 1"}]; console.log('num photos: ' + window.photos.length); window.photosMap = {"5051218934104064":{"image_url":"/users/5mqlDwlNNKT4LWsdsvf5NmlK2WM2/6467831000465408/blank-scenepng-1607893351155.png","rotation":0,"thumbnail_gcs_filename":"/users/5mqlDwlNNKT4LWsdsvf5NmlK2WM2/6467831000465408/thumb_blank-scenepng-1607893351155.png","version":"v3","gcs_filename":"/users/5mqlDwlNNKT4LWsdsvf5NmlK2WM2/6467831000465408/blank-scenepng-1607893351155.png","filename":"blank-scenepng-1607893351155.png","folder":"/users/5mqlDwlNNKT4LWsdsvf5NmlK2WM2/6467831000465408","is_stereo":false,"thumbnail_image_url":"/users/5mqlDwlNNKT4LWsdsvf5NmlK2WM2/6467831000465408/thumb_blank-scenepng-1607893351155.png","photo_type":"360_mono","updated_date":"2020-12-13T21:02:31.155Z","created_date":"2020-12-13T21:02:31.155Z","sort_order":1,"status":"active","id":"5051218934104064","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 = "6467831000465408"; window.tourUid = "5mqlDwlNNKT4LWsdsvf5NmlK2WM2"; window.customUrl = "http://www.karlosmoore.com"; window.tourSlug = "rainbows"; window.template = 'blank-scene'; window.template_category = ''; window.tourShortCode = "EpGcRXThL"; 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['5051218934104064'] = 0; window.current_image_index = 0; window.current_image_id = 5051218934104064 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://lh5.googleusercontent.com/-CBQHm0OifAY/AAAAAAAAAAI/AAAAAAAAAKI/cbnSbsgKbKA/photo.jpg'; window.user_profile_name = 'K'; window.shortURLRoot = 'https://orbix360.com'; window.image_url = 'https://storage.googleapis.com/orbix360-prod-images/users/5mqlDwlNNKT4LWsdsvf5NmlK2WM2/6467831000465408/thumb_blank-scenepng-1607893351155.png.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","side":"double","visible":true,"theta_start":"10","instanceName":"Curved Image","src":"https://storage.googleapis.com/orbix360-prod-assets/users/5mqlDwlNNKT4LWsdsvf5NmlK2WM2/6467831000465408/5051218934104064/plugin_5923375964749824_1607893453992/94283726_max.jpg","pluginId":"5923375964749824","rotation":{"x":"0","y":"90","z":"90"},"scale":{"x":"10","y":"1","z":"1"},"instanceId":"plugin_5923375964749824_1607893453992","theta_length":"100","repeat":"-1 1","width":1.3333333333333333,"additional_components":"","scriptFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5923375964749824/v3/script.js","templateFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5923375964749824/v3/template.html","position":{"x":"-1.7763568394002506e-16","y":"-6.600000000000003","z":"-4.199999999999999"},"opacity":"1.0","radius":"-24","schemaFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5923375964749824/v3/schema.json","height":"1"}],"hotspots":[],"id":5051218934104064}],"versionNumber":3,"autorotate":{"enabled":false}}; 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;