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/vHBTrf5ZViWgpSugoZ8AgaD4ojs1/5081301241561088/blank_scenepng-1592776620850.png","rotation":0,"thumbnail_gcs_filename":"/users/vHBTrf5ZViWgpSugoZ8AgaD4ojs1/5081301241561088/thumb_blank_scenepng-1592776620850.png","version":"v3","gcs_filename":"/users/vHBTrf5ZViWgpSugoZ8AgaD4ojs1/5081301241561088/blank_scenepng-1592776620850.png","folder":"/users/vHBTrf5ZViWgpSugoZ8AgaD4ojs1/5081301241561088","filename":"blank_scenepng-1592776620850.png","is_stereo":false,"thumbnail_image_url":"/users/vHBTrf5ZViWgpSugoZ8AgaD4ojs1/5081301241561088/thumb_blank_scenepng-1592776620850.png","photo_type":"360_mono","created_date":"2020-06-21T21:57:00.850Z","updated_date":"2020-06-21T21:57:00.850Z","sort_order":1,"status":"active","id":"6273652882407424","has_anaglyph":false,"index":0,"title":"Photo 1"}]; console.log('num photos: ' + window.photos.length); window.photosMap = {"6273652882407424":{"image_url":"/users/vHBTrf5ZViWgpSugoZ8AgaD4ojs1/5081301241561088/blank_scenepng-1592776620850.png","rotation":0,"thumbnail_gcs_filename":"/users/vHBTrf5ZViWgpSugoZ8AgaD4ojs1/5081301241561088/thumb_blank_scenepng-1592776620850.png","version":"v3","gcs_filename":"/users/vHBTrf5ZViWgpSugoZ8AgaD4ojs1/5081301241561088/blank_scenepng-1592776620850.png","folder":"/users/vHBTrf5ZViWgpSugoZ8AgaD4ojs1/5081301241561088","filename":"blank_scenepng-1592776620850.png","is_stereo":false,"thumbnail_image_url":"/users/vHBTrf5ZViWgpSugoZ8AgaD4ojs1/5081301241561088/thumb_blank_scenepng-1592776620850.png","photo_type":"360_mono","created_date":"2020-06-21T21:57:00.850Z","updated_date":"2020-06-21T21:57:00.850Z","sort_order":1,"status":"active","id":"6273652882407424","has_anaglyph":false,"index":0,"title":"Photo 1"}}; if (window.is_static) { window.photosRoot = 'https://images-qa.orbix360.com'; // TODO: after we create all the local schema/template folders, change this to empty string window.pluginsRoot = 'plugins/'; } else { window.photosRoot = 'https://images-qa.orbix360.com'; window.pluginsRoot = 'https://storage.googleapis.com/orbix360-qa-plugins/'; } window.minterUrl = 'https://minter-qa.orbix360.com'; window.tourId = "5081301241561088"; window.tourUid = "vHBTrf5ZViWgpSugoZ8AgaD4ojs1"; window.customUrl = "http://www.orbix360.com"; window.tourSlug = "3dvr-enviroment-orb"; window.template = ''; window.template_category = ''; window.tourShortCode = "DqHpTAns9"; 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['6273652882407424'] = 0; window.current_image_index = 0; window.current_image_id = 6273652882407424 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://lh4.googleusercontent.com/-A4mZYeQfC2M/AAAAAAAAAAI/AAAAAAAAAAA/AMZuuclAIIGW7PLZ_oTCZDWcohr43oMWcA/s96-c/photo.jpg'; window.user_profile_name = 'Dario Komljenovic'; window.shortURLRoot = 'https://qa.orbix360.com'; window.image_url = 'https://images-qa.orbix360.com/users/vHBTrf5ZViWgpSugoZ8AgaD4ojs1/5081301241561088/thumb_blank_scenepng-1592776620850.png.play.jpg'; window.image_url_root = 'https://images-qa.orbix360.com'; window.cloudFunctionsRoot = 'https://us-central1-orbix360-qa.cloudfunctions.net'; window.timeSinceRestartRotation = 0; window.initialState = {"orbs":[{"plugins":[{"instanceName":"Environment","pluginId":"5714990547861504","groundYScale":"3","rotation":{"x":0,"y":0,"z":0},"scale":{"x":1,"y":1,"z":1},"preset":"forest","playArea":"1","instanceId":"plugin_5714990547861504_1592776622170","pluginName":"Environment","ground":"flat","scriptFilename":"users/ZIGqF6yhmEZl3yjaK4dEF8ajipl1/5714990547861504/script.js","position":{"x":0,"y":0,"z":0},"templateFilename":"users/ZIGqF6yhmEZl3yjaK4dEF8ajipl1/5714990547861504/template.html","schemaFilename":"users/ZIGqF6yhmEZl3yjaK4dEF8ajipl1/5714990547861504/schema.json"}],"id":6273652882407424,"hotspots":[]}],"versionNumber":2,"autorotate":{"enabled":false}}; window.brandingAllowed = false; window.upgradeCheckoutSessionStatus = ''; window.isUpgradeSubscriptionValid = false; window.isPro = (window.brandingAllowed || window.isUpgradeSubscriptionValid); window.nadirLogoURL = (window.brandingAllowed || isUpgradeSubscriptionValid) ? '/images/powered-by-orbix_nadir.png' : '/images/orbix_nadir.png'; window.editMode = false;