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 = [{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FVD1Qq718ZbRWD4jqzfeBSb6W9SV2%2F5210701748502528%2Fdji0870jpg-1650910714424.JPG&uploadType=resumable&upload_id=ADPycduOmzFMFxARsyAiPLIRxS8kS4h9-m5ocwoTJxV9-yczQfEsYJ5ZxTWyNBFvQ7k7jF4XyKh_hPOiTpffS91SwVqWJA","image_url":"/users/VD1Qq718ZbRWD4jqzfeBSb6W9SV2/5210701748502528/dji0870jpg-1650910714424.JPG","rotation":0,"thumbnail_gcs_filename":"/users/VD1Qq718ZbRWD4jqzfeBSb6W9SV2/5210701748502528/thumb_dji0870jpg-1650910714424.JPG","version":"v3","gcs_filename":"/users/VD1Qq718ZbRWD4jqzfeBSb6W9SV2/5210701748502528/dji0870jpg-1650910714424.JPG","filename":"dji0870jpg-1650910714424.JPG","folder":"/users/VD1Qq718ZbRWD4jqzfeBSb6W9SV2/5210701748502528","is_stereo":false,"thumbnail_image_url":"/users/VD1Qq718ZbRWD4jqzfeBSb6W9SV2/5210701748502528/thumb_dji0870jpg-1650910714424.JPG","photo_type":"360_pano","created_date":"2022-04-25T18:18:34.424Z","updated_date":"2022-04-25T18:18:34.424Z","sort_order":1,"status":"active","id":"4732324298096640","has_anaglyph":false,"index":0,"title":"Photo 1"}]; console.log('num photos: ' + window.photos.length); window.photosMap = {"4732324298096640":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FVD1Qq718ZbRWD4jqzfeBSb6W9SV2%2F5210701748502528%2Fdji0870jpg-1650910714424.JPG&uploadType=resumable&upload_id=ADPycduOmzFMFxARsyAiPLIRxS8kS4h9-m5ocwoTJxV9-yczQfEsYJ5ZxTWyNBFvQ7k7jF4XyKh_hPOiTpffS91SwVqWJA","image_url":"/users/VD1Qq718ZbRWD4jqzfeBSb6W9SV2/5210701748502528/dji0870jpg-1650910714424.JPG","rotation":0,"thumbnail_gcs_filename":"/users/VD1Qq718ZbRWD4jqzfeBSb6W9SV2/5210701748502528/thumb_dji0870jpg-1650910714424.JPG","version":"v3","gcs_filename":"/users/VD1Qq718ZbRWD4jqzfeBSb6W9SV2/5210701748502528/dji0870jpg-1650910714424.JPG","filename":"dji0870jpg-1650910714424.JPG","folder":"/users/VD1Qq718ZbRWD4jqzfeBSb6W9SV2/5210701748502528","is_stereo":false,"thumbnail_image_url":"/users/VD1Qq718ZbRWD4jqzfeBSb6W9SV2/5210701748502528/thumb_dji0870jpg-1650910714424.JPG","photo_type":"360_pano","created_date":"2022-04-25T18:18:34.424Z","updated_date":"2022-04-25T18:18:34.424Z","sort_order":1,"status":"active","id":"4732324298096640","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 = "5210701748502528"; window.tourUid = "VD1Qq718ZbRWD4jqzfeBSb6W9SV2"; window.customUrl = ""; window.tourSlug = "lot-316-eddie-ward-way-silver-city-nm153-ac"; window.template = '360_pano'; window.template_category = ''; window.tourShortCode = "95DMjeqsj"; 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['4732324298096640'] = 0; window.current_image_index = 0; window.current_image_id = 4732324298096640 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/a-/AOh14GjTgVWviuSYwYlSpGTFspcGJNX9UxXK60q59JNqQw=s96-c'; window.user_profile_name = 'Brendan H'; window.shortURLRoot = 'https://orbix360.com'; window.image_url = 'https://storage.googleapis.com/orbix360-prod-images/users/VD1Qq718ZbRWD4jqzfeBSb6W9SV2/5210701748502528/thumb_dji0870jpg-1650910714424.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":[{"infoHotspots":[{"description":"Eastern lotline of the property.","from":4732324298096640,"to":"info","id":"hotspot_4732324298096640_info_1650910955784","position":{"x":-0.3482299248261503,"y":-0.20840003163400936,"z":-0.9139504068988195},"title":"N Eddie Ward Way"},{"description":"","from":4732324298096640,"to":"info","position":{"x":-0.3202526421372519,"y":-0.19470453252865855,"z":0.9271075397260589},"id":"hotspot_4732324298096640_info_1650911227618","title":"Cottonwood Rd"},{"description":"","from":4732324298096640,"to":"info","id":"hotspot_4732324298096640_info_1650911377963","position":{"x":-0.9372874653979899,"y":0.11739392058975061,"z":0.3281933494395938},"title":"Gomez Peak"},{"description":"","from":4732324298096640,"id":"hotspot_4732324298096640_info_1650911394344","position":{"x":-0.7801420100405623,"y":0.10548315397914051,"z":0.6166455614017538},"to":"info","title":"Eighty Mountain"},{"description":"","from":4732324298096640,"id":"hotspot_4732324298096640_info_1650911435909","position":{"x":-0.2701002104930743,"y":0.13522783920824621,"z":0.9532886801985355},"to":"info","title":"Bear Mountain"},{"description":"","from":4732324298096640,"position":{"x":0.08372002676981423,"y":0.08957880065069589,"z":0.9924548330234704},"to":"info","id":"hotspot_4732324298096640_info_1650911462107","title":"McComas Peak"}],"id":4732324298096640,"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') ? '/images/powered-by-orbix_nadir.png' : '/images/orbix_nadir.png'; window.editMode = false;