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 = [{"preview_gcs_filename":"/users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5152081975443456/preview_lrjpg-1522774665275.jpg","resumable_upload_uri":"https://www.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2Fsn4iLJyuI5Y6LMBmIQrqSelGxJK2%2F5152081975443456%2Flrjpg-1522774665275.jpg&uploadType=resumable&upload_id=AEnB2UooZi-tHy8YeUSO07B5miLyeHQC1OJxdwUYCj0tewHbeQUsR8dRzLKU3j37prgYflWhAnOf7B1Wd5HD2hjzgFrMJjM7ew","image_url":"/users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5152081975443456/lrjpg-1522774665275.jpg","rotation":49.59691041972093,"thumbnail_gcs_filename":"/users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5152081975443456/thumb_lrjpg-1522774665275.jpg","title":"Livingroom","version":"v4","gcs_filename":"/users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5152081975443456/lrjpg-1522774665275.jpg","folder":"/users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5152081975443456","filename":"lrjpg-1522774665275.jpg","thumbnail_image_url":"/users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5152081975443456/thumb_lrjpg-1522774665275.jpg","is_stereo":true,"preview_image_url":"/users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5152081975443456/preview_lrjpg-1522774665275.jpg","photo_type":"360_stereo","audio_url":"https://storage.googleapis.com/orbix360-prod-images/users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5152081975443456/sequence-012mp3-1522844384684.mp3","updated_date":"2018-04-03T16:57:45.276Z","created_date":"2018-04-03T16:57:45.276Z","sort_order":1,"status":"active","id":"5769200056401920","has_anaglyph":false,"index":0},{"preview_gcs_filename":"/users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5152081975443456/preview_bathfromkarlos-moore_360_camera003_view_03_smalljpg-1522842814828.jpg","resumable_upload_uri":"https://www.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2Fsn4iLJyuI5Y6LMBmIQrqSelGxJK2%2F5152081975443456%2Fbathfromkarlos-moore_360_camera003_view_03_smalljpg-1522842814828.jpg&uploadType=resumable&upload_id=AEnB2UoqEOLIl6Mwi9SJsoBGDFHeRyx-0JGZbpYJ7mhZmu0eMcxu_s6oTohF1zG2qmmNFK1JnvI-4b8jMxicZy5D66MNrI2E9w","image_url":"/users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5152081975443456/bathfromkarlos-moore_360_camera003_view_03_smalljpg-1522842814828.jpg","rotation":21.246116880050522,"thumbnail_gcs_filename":"/users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5152081975443456/thumb_bathfromkarlos-moore_360_camera003_view_03_smalljpg-1522842814828.jpg","title":"Bedroom","version":"v4","gcs_filename":"/users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5152081975443456/bathfromkarlos-moore_360_camera003_view_03_smalljpg-1522842814828.jpg","folder":"/users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5152081975443456","filename":"bathfromkarlos-moore_360_camera003_view_03_smalljpg-1522842814828.jpg","thumbnail_image_url":"/users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5152081975443456/thumb_bathfromkarlos-moore_360_camera003_view_03_smalljpg-1522842814828.jpg","is_stereo":true,"preview_image_url":"/users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5152081975443456/preview_bathfromkarlos-moore_360_camera003_view_03_smalljpg-1522842814828.jpg","photo_type":"360_stereo","audio_url":"https://storage.googleapis.com/orbix360-prod-images/users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5152081975443456/sequence-02_1mp3-1522931916901.mp3","updated_date":"2018-04-04T11:53:34.829Z","created_date":"2018-04-04T11:53:34.829Z","sort_order":2,"status":"active","id":"5637945855836160","has_anaglyph":false,"index":1},{"preview_gcs_filename":"/users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5152081975443456/preview_lr-2jpg-1522774665284.jpg","resumable_upload_uri":"https://www.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2Fsn4iLJyuI5Y6LMBmIQrqSelGxJK2%2F5152081975443456%2Flr-2jpg-1522774665284.jpg&uploadType=resumable&upload_id=AEnB2UqiD145TSqPvOeEwCsLGyGhQQfB0vKqIVf1iPzoF1Z9PW4WK9LtUy8h27OH_U82PYmIVEKcq_76sXlRrsOJOSgg7b7bsg","image_url":"/users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5152081975443456/lr-2jpg-1522774665284.jpg","rotation":164.53224412296453,"thumbnail_gcs_filename":"/users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5152081975443456/thumb_lr-2jpg-1522774665284.jpg","title":"Bathroom","version":"v4","gcs_filename":"/users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5152081975443456/lr-2jpg-1522774665284.jpg","filename":"lr-2jpg-1522774665284.jpg","folder":"/users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5152081975443456","thumbnail_image_url":"/users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5152081975443456/thumb_lr-2jpg-1522774665284.jpg","is_stereo":true,"preview_image_url":"/users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5152081975443456/preview_lr-2jpg-1522774665284.jpg","photo_type":"360_stereo","audio_url":"https://storage.googleapis.com/orbix360-prod-images/users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5152081975443456/sequence-032mp3-1522844415814.mp3","updated_date":"2018-04-03T16:57:45.284Z","created_date":"2018-04-03T16:57:45.284Z","sort_order":3,"status":"active","id":"5691306529521664","has_anaglyph":false,"index":2}]; console.log('num photos: ' + window.photos.length); window.photosMap = {"5769200056401920":{"preview_gcs_filename":"/users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5152081975443456/preview_lrjpg-1522774665275.jpg","resumable_upload_uri":"https://www.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2Fsn4iLJyuI5Y6LMBmIQrqSelGxJK2%2F5152081975443456%2Flrjpg-1522774665275.jpg&uploadType=resumable&upload_id=AEnB2UooZi-tHy8YeUSO07B5miLyeHQC1OJxdwUYCj0tewHbeQUsR8dRzLKU3j37prgYflWhAnOf7B1Wd5HD2hjzgFrMJjM7ew","image_url":"/users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5152081975443456/lrjpg-1522774665275.jpg","rotation":49.59691041972093,"thumbnail_gcs_filename":"/users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5152081975443456/thumb_lrjpg-1522774665275.jpg","title":"Livingroom","version":"v4","gcs_filename":"/users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5152081975443456/lrjpg-1522774665275.jpg","folder":"/users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5152081975443456","filename":"lrjpg-1522774665275.jpg","thumbnail_image_url":"/users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5152081975443456/thumb_lrjpg-1522774665275.jpg","is_stereo":true,"preview_image_url":"/users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5152081975443456/preview_lrjpg-1522774665275.jpg","photo_type":"360_stereo","audio_url":"https://storage.googleapis.com/orbix360-prod-images/users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5152081975443456/sequence-012mp3-1522844384684.mp3","updated_date":"2018-04-03T16:57:45.276Z","created_date":"2018-04-03T16:57:45.276Z","sort_order":1,"status":"active","id":"5769200056401920","has_anaglyph":false,"index":0},"5637945855836160":{"preview_gcs_filename":"/users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5152081975443456/preview_bathfromkarlos-moore_360_camera003_view_03_smalljpg-1522842814828.jpg","resumable_upload_uri":"https://www.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2Fsn4iLJyuI5Y6LMBmIQrqSelGxJK2%2F5152081975443456%2Fbathfromkarlos-moore_360_camera003_view_03_smalljpg-1522842814828.jpg&uploadType=resumable&upload_id=AEnB2UoqEOLIl6Mwi9SJsoBGDFHeRyx-0JGZbpYJ7mhZmu0eMcxu_s6oTohF1zG2qmmNFK1JnvI-4b8jMxicZy5D66MNrI2E9w","image_url":"/users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5152081975443456/bathfromkarlos-moore_360_camera003_view_03_smalljpg-1522842814828.jpg","rotation":21.246116880050522,"thumbnail_gcs_filename":"/users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5152081975443456/thumb_bathfromkarlos-moore_360_camera003_view_03_smalljpg-1522842814828.jpg","title":"Bedroom","version":"v4","gcs_filename":"/users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5152081975443456/bathfromkarlos-moore_360_camera003_view_03_smalljpg-1522842814828.jpg","folder":"/users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5152081975443456","filename":"bathfromkarlos-moore_360_camera003_view_03_smalljpg-1522842814828.jpg","thumbnail_image_url":"/users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5152081975443456/thumb_bathfromkarlos-moore_360_camera003_view_03_smalljpg-1522842814828.jpg","is_stereo":true,"preview_image_url":"/users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5152081975443456/preview_bathfromkarlos-moore_360_camera003_view_03_smalljpg-1522842814828.jpg","photo_type":"360_stereo","audio_url":"https://storage.googleapis.com/orbix360-prod-images/users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5152081975443456/sequence-02_1mp3-1522931916901.mp3","updated_date":"2018-04-04T11:53:34.829Z","created_date":"2018-04-04T11:53:34.829Z","sort_order":2,"status":"active","id":"5637945855836160","has_anaglyph":false,"index":1},"5691306529521664":{"preview_gcs_filename":"/users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5152081975443456/preview_lr-2jpg-1522774665284.jpg","resumable_upload_uri":"https://www.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2Fsn4iLJyuI5Y6LMBmIQrqSelGxJK2%2F5152081975443456%2Flr-2jpg-1522774665284.jpg&uploadType=resumable&upload_id=AEnB2UqiD145TSqPvOeEwCsLGyGhQQfB0vKqIVf1iPzoF1Z9PW4WK9LtUy8h27OH_U82PYmIVEKcq_76sXlRrsOJOSgg7b7bsg","image_url":"/users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5152081975443456/lr-2jpg-1522774665284.jpg","rotation":164.53224412296453,"thumbnail_gcs_filename":"/users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5152081975443456/thumb_lr-2jpg-1522774665284.jpg","title":"Bathroom","version":"v4","gcs_filename":"/users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5152081975443456/lr-2jpg-1522774665284.jpg","filename":"lr-2jpg-1522774665284.jpg","folder":"/users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5152081975443456","thumbnail_image_url":"/users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5152081975443456/thumb_lr-2jpg-1522774665284.jpg","is_stereo":true,"preview_image_url":"/users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5152081975443456/preview_lr-2jpg-1522774665284.jpg","photo_type":"360_stereo","audio_url":"https://storage.googleapis.com/orbix360-prod-images/users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5152081975443456/sequence-032mp3-1522844415814.mp3","updated_date":"2018-04-03T16:57:45.284Z","created_date":"2018-04-03T16:57:45.284Z","sort_order":3,"status":"active","id":"5691306529521664","has_anaglyph":false,"index":2}}; 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 = "5152081975443456"; window.tourUid = "sn4iLJyuI5Y6LMBmIQrqSelGxJK2"; window.customUrl = "https://www.orbix360.com"; window.tourSlug = "open-space-studio"; window.template = ''; window.template_category = ''; window.tourShortCode = "LvxRnY4To"; 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['5769200056401920'] = 0; window.current_image_index = 0; window.current_image_id = 5769200056401920 window.photo_indexes['5637945855836160'] = 1; window.photo_indexes['5691306529521664'] = 2; 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://storage.googleapis.com/orbix360-prod-images/orbix360_default.jpg'; window.user_profile_name = 'Orbix360'; window.shortURLRoot = 'https://orbix360.com'; window.image_url = 'https://storage.googleapis.com/orbix360-prod-images/users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/5152081975443456/thumb_lrjpg-1522774665275.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":[{"toTitle":"Eco-Minded Wood Materials","description":"Reclaimed and renewable wood surfaces are used throughout the home.","from":5769200056401920,"id":"hotspot_5769200056401920_info_1522793865964","to":null,"position":{"x":0.7425279783606513,"y":-0.017318039887910076,"z":-0.6695911340856334},"type":"info","title":"Eco-Minded Wood Materials","version":"v3"},{"toTitle":"Sky lights","description":"All even numbered units on floors 1-5 feature solar filtered skylights.","from":5769200056401920,"position":{"x":0.17606195591734053,"y":0.3357831092060084,"z":-0.9253387980899247},"to":null,"id":"hotspot_5769200056401920_info_1522793827186","type":"info","title":"Sky lights","version":"v3"},{"toTitle":"Collection of Objects","description":"A collection of objects in the same material will give a focus point while keeping the space minimal.","from":5769200056401920,"to":null,"id":"hotspot_5769200056401920_info_1522798622390","position":{"x":-0.9295862222248639,"y":-0.27605736263063413,"z":0.24425762626195446},"type":"info","title":"Collection of Objects","version":"v3"}],"id":"5769200056401920","hotspots":[{"toTitle":"Bedroom","from":5769200056401920,"id":"hotspot_5769200056401920_5637945855836160","to":5637945855836160,"position":{"x":0.9023697856746177,"y":-0.048559483947031856,"z":-0.42821810613324446},"type":"","version":"v3"}]},{"infoHotspots":[{"toTitle":"Wooden Floors","description":"The light wooden flooring creates an easy-going atmosphere.","from":5637945855836160,"to":null,"id":"hotspot_5637945855836160_info_1522843646848","position":{"x":-0.41869006987630186,"y":-0.4326851511796564,"z":-0.7984248150800521},"title":"Wooden Floors","type":"info","version":"v3"},{"toTitle":"Eco-Minded Wood Materials","description":"Reclaimed and renewable wood surfaces are used throughout the home.","from":5637945855836160,"position":{"x":0.94993813743297,"y":0.16931506528901874,"z":0.26258321293745185},"id":"hotspot_5637945855836160_info_1522843014364","to":null,"type":"info","title":"Eco-Minded Wood Materials","version":"v3"}],"id":"5637945855836160","hotspots":[{"toTitle":"Bathroom","from":5637945855836160,"to":5691306529521664,"id":"hotspot_5637945855836160_5691306529521664","position":{"x":0.7894903802692692,"y":-0.04449510383201177,"z":-0.6121479602165341},"type":"","version":"v3"},{"toTitle":"Livingroom","from":5637945855836160,"position":{"x":-0.6261251416168434,"y":-0.06543525133083125,"z":-0.7769720296886875},"id":"hotspot_5637945855836160_5769200056401920","to":5769200056401920,"type":"","version":"v3"}]},{"infoHotspots":[{"toTitle":"Framed photos","description":"These nature close-ups increase and bring nature into the space.","from":5691306529521664,"id":"hotspot_5691306529521664_info_1522797156138","to":null,"position":{"x":0.9459950335051988,"y":0.10025624206757754,"z":-0.30828895943576295},"title":"Framed photos","type":"info","version":"v3"},{"toTitle":"Clean yet memorizing","description":"The juxtaposition of the routine and unusual gives this bath visual excitement while retaining a comfortable vibe.","from":5691306529521664,"position":{"x":0.42608964743487676,"y":0.01322505324590969,"z":0.904584274855287},"to":null,"id":"hotspot_5691306529521664_info_1522793960626","title":"Clean yet memorizing","type":"info","version":"v3"},{"toTitle":"Floor and backsplash tiles","description":"The aesthetics of the tiles make reference to the famous parks. This model has different designs that are combined alternately, coming in the same box.","from":5691306529521664,"to":null,"id":"hotspot_5691306529521664_info_1522797657600","position":{"x":-0.44210049049797945,"y":-0.44455951492225404,"z":0.7790468496782053},"title":"Floor and backsplash tiles","type":"info","version":"v3"},{"toTitle":"Wooden floors","description":"The light wooden flooring creates an easy-going atmosphere.","from":5691306529521664,"position":{"x":-0.46807779700945534,"y":-0.22911664259621786,"z":-0.8534686520500986},"to":null,"id":"hotspot_5691306529521664_info_1522797287260","type":"info","title":"Wooden floors","version":"v3"},{"toTitle":"Hardware and fixtures","description":"Golden details might just be the ultimate luxury statement. Not overdoing it is the key to success. It gives a fresh and stunning look to the washroom.","from":5691306529521664,"id":"hotspot_5691306529521664_info_1522797086062","position":{"x":0.6596644851849796,"y":-0.2940032773194678,"z":0.6916681573638099},"to":null,"type":"info","title":"Hardware and fixtures","version":"v3"},{"toTitle":"Center-table","description":"A dark glass center-table in your living room is a great way to bring transparency into your living room. Besides being functional, the aesthetic is gorgeous.","from":5691306529521664,"to":null,"position":{"x":0.11572751827375212,"y":-0.5847583059929775,"z":-0.8029102472172227},"id":"hotspot_5691306529521664_info_1522797403436","title":"Center-table","type":"info","version":"v3"},{"toTitle":"Subway tiles","description":"Using subway tiles may add a traditional feel to a place, but their look certainly never gets old.","from":5691306529521664,"position":{"x":-0.6925068409509758,"y":0.014304698342426475,"z":0.7212694717242871},"to":null,"id":"hotspot_5691306529521664_info_1522798530840","type":"info","title":"Subway tiles","version":"v3"},{"toTitle":"Stained wood","description":"Wood can be beautifully integrated into a variety of aesthetics while contributing a soothing natural vibe.","from":5691306529521664,"id":"hotspot_5691306529521664_info_1522797349360","position":{"x":-0.20560966919287746,"y":-0.027090678963104305,"z":-0.9782590449608496},"to":null,"type":"info","title":"Stained wood","version":"v3"}],"id":"5691306529521664","hotspots":[{"toTitle":"Bedroom","from":5691306529521664,"id":"hotspot_5691306529521664_5637945855836160","position":{"x":-0.8247840499969876,"y":-0.07308736542759808,"z":-0.560704474643657},"to":5637945855836160,"type":"","version":"v3"},{"toTitle":"Livingroom","from":5691306529521664,"position":{"x":0.003867010452989197,"y":-0.05396793366567735,"z":-0.9985351813361478},"to":5769200056401920,"id":"hotspot_5691306529521664_5769200056401920","type":"","version":"v3"}]}],"autorotate":{"orbs":[],"enabled":true},"version":"v1","versionNumber":2}; 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;