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%2FIjzZWRiHglSuYhJMPP0l6O7Sgst2%2F5314511493922816%2Ffoto8257jpg-1673903111294.jpg&uploadType=resumable&upload_id=ADPycdsZsD13P0JIunWD7WTHjrL2Kosm6NdOKXX0c-K_jYFPHvVjlFeV8MmlqLjWQjf8b2Nc3Tye7OErpBM72BrL8lCQ5bqQBplr","image_url":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/foto8257jpg-1673903111294.jpg","rotation":88.80845824527815,"thumbnail_gcs_filename":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/thumb_foto8257jpg-1673903111294.jpg","title":"Receção","version":"v4","gcs_filename":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/foto8257jpg-1673903111294.jpg","folder":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816","filename":"foto8257jpg-1673903111294.jpg","thumbnail_image_url":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/thumb_foto8257jpg-1673903111294.jpg","is_stereo":false,"photo_type":"360_mono","id":"4928506492354560","updated_date":"2023-01-16T21:05:11.295Z","created_date":"2023-01-16T21:05:11.295Z","sort_order":1,"status":"active","has_anaglyph":false,"index":0},{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FIjzZWRiHglSuYhJMPP0l6O7Sgst2%2F5314511493922816%2Ffoto8258jpg-1673903111433.jpg&uploadType=resumable&upload_id=ADPycdvz5nzyFAp9hqog3pcf-GGL2l5yEu_6Qeto1x5s1vvCWJ0kSAeNHRt531tL5kmJrS1NloL8EnYs7sekXO4dcgitkQ","image_url":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/foto8258jpg-1673903111433.jpg","rotation":192.74300228200752,"thumbnail_gcs_filename":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/thumb_foto8258jpg-1673903111433.jpg","title":"Beauty Shop 1","version":"v4","gcs_filename":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/foto8258jpg-1673903111433.jpg","folder":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816","filename":"foto8258jpg-1673903111433.jpg","thumbnail_image_url":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/thumb_foto8258jpg-1673903111433.jpg","is_stereo":false,"photo_type":"360_mono","updated_date":"2023-01-16T21:05:11.435Z","id":"5860511845449728","created_date":"2023-01-16T21:05:11.435Z","sort_order":2,"status":"active","has_anaglyph":false,"index":1},{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FIjzZWRiHglSuYhJMPP0l6O7Sgst2%2F5314511493922816%2Ffoto8261jpg-1673903111109.jpg&uploadType=resumable&upload_id=ADPycduL0TtzSCEhRKXtl3oeoWNXri3CtHUEkHnDf6S6pvILynlz6vIGJ9Qu-VuVLNv6OFDLekvHtZx6QvIxCZjOA-0fv-xpovXr","image_url":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/foto8261jpg-1673903111109.jpg","rotation":10.864963468876681,"thumbnail_gcs_filename":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/thumb_foto8261jpg-1673903111109.jpg","title":"Beauty Shop 2","version":"v4","gcs_filename":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/foto8261jpg-1673903111109.jpg","filename":"foto8261jpg-1673903111109.jpg","folder":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816","is_stereo":false,"thumbnail_image_url":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/thumb_foto8261jpg-1673903111109.jpg","photo_type":"360_mono","updated_date":"2023-01-16T21:05:11.110Z","id":"6463484770385920","created_date":"2023-01-16T21:05:11.110Z","sort_order":3,"status":"active","has_anaglyph":false,"index":2},{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FIjzZWRiHglSuYhJMPP0l6O7Sgst2%2F5314511493922816%2Ffoto8265jpg-1673903198579.jpg&uploadType=resumable&upload_id=ADPycdtmLcqZ4xBgAaMKZj_w84KatvyE2B9TSMkgDsFk8cg12BHU9HIePPFWWzEjWk7fJtW5UqGVsvq7yHGUZRgw4_jXELz_nSPz","image_url":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/foto8265jpg-1673903198579.jpg","rotation":169.59550735872236,"thumbnail_gcs_filename":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/thumb_foto8265jpg-1673903198579.jpg","title":"Salao","version":"v4","gcs_filename":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/foto8265jpg-1673903198579.jpg","folder":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816","filename":"foto8265jpg-1673903198579.jpg","is_stereo":false,"thumbnail_image_url":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/thumb_foto8265jpg-1673903198579.jpg","photo_type":"360_mono","id":"4947405204094976","updated_date":"2023-01-16T21:06:38.580Z","created_date":"2023-01-16T21:06:38.580Z","sort_order":4,"status":"active","has_anaglyph":false,"index":3},{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FIjzZWRiHglSuYhJMPP0l6O7Sgst2%2F5314511493922816%2Ffoto8266jpg-1673903198597.jpg&uploadType=resumable&upload_id=ADPycdtAfE0QQv0Kre89DVkQb1z0nVq80iXitNzynCJfDYOMO92tKrUXbzPfqaoLMTscIJoTtGDW5ytz8fondlxl5Z-M8g","image_url":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/foto8266jpg-1673903198597.jpg","rotation":212.68193355255895,"thumbnail_gcs_filename":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/thumb_foto8266jpg-1673903198597.jpg","title":"Salao 2","version":"v4","gcs_filename":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/foto8266jpg-1673903198597.jpg","filename":"foto8266jpg-1673903198597.jpg","folder":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816","thumbnail_image_url":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/thumb_foto8266jpg-1673903198597.jpg","is_stereo":false,"photo_type":"360_mono","updated_date":"2023-01-16T21:06:38.597Z","created_date":"2023-01-16T21:06:38.597Z","id":"4814043097333760","sort_order":5,"status":"active","has_anaglyph":false,"index":4},{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FIjzZWRiHglSuYhJMPP0l6O7Sgst2%2F5314511493922816%2Ffoto8267jpg-1673903198584.jpg&uploadType=resumable&upload_id=ADPycdvGpm9XXV29rBr-vjJt2i-62q3WVCTxihT2c0mYEJT-4MOtRic2N0xb3p0X5t8pELlMTnvUm8EhPehqk9_OGQ1hHA","image_url":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/foto8267jpg-1673903198584.jpg","rotation":281.7806436453346,"thumbnail_gcs_filename":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/thumb_foto8267jpg-1673903198584.jpg","title":"Salao 3","version":"v4","gcs_filename":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/foto8267jpg-1673903198584.jpg","folder":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816","filename":"foto8267jpg-1673903198584.jpg","is_stereo":false,"thumbnail_image_url":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/thumb_foto8267jpg-1673903198584.jpg","photo_type":"360_mono","updated_date":"2023-01-16T21:06:38.584Z","created_date":"2023-01-16T21:06:38.584Z","id":"5619652143087616","sort_order":6,"status":"active","has_anaglyph":false,"index":5},{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FIjzZWRiHglSuYhJMPP0l6O7Sgst2%2F5314511493922816%2Ffoto8268jpg-1673903288347.jpg&uploadType=resumable&upload_id=ADPycdsEbYVwy0ulJegA-75iUYcd_7J_x2ed0EmoqX-Fe3LLBO-1r2fRnZUkI0tweP_59TijRAhX2_H4RNsXKXwlOzWd","image_url":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/foto8268jpg-1673903288347.jpg","rotation":0,"thumbnail_gcs_filename":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/thumb_foto8268jpg-1673903288347.jpg","title":"Corredor","version":"v3","gcs_filename":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/foto8268jpg-1673903288347.jpg","folder":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816","filename":"foto8268jpg-1673903288347.jpg","thumbnail_image_url":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/thumb_foto8268jpg-1673903288347.jpg","is_stereo":false,"photo_type":"360_mono","updated_date":"2023-01-16T21:08:08.348Z","created_date":"2023-01-16T21:08:08.348Z","id":"5297561892028416","sort_order":7,"status":"active","has_anaglyph":false,"index":6},{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FIjzZWRiHglSuYhJMPP0l6O7Sgst2%2F5314511493922816%2Ffoto8269jpg-1673903288274.jpg&uploadType=resumable&upload_id=ADPycdvc8EQu57vSkCaWGpTgaKKHM3Q2EBqPecTmHSCOWnPtFtGsexmDxnSylCHkdfO_PMSOS6gkC7EaSmQcGPAIkId9a_-SYvFu","image_url":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/foto8269jpg-1673903288274.jpg","rotation":98.09037452639303,"thumbnail_gcs_filename":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/thumb_foto8269jpg-1673903288274.jpg","title":"Estudio ","version":"v4","gcs_filename":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/foto8269jpg-1673903288274.jpg","filename":"foto8269jpg-1673903288274.jpg","folder":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816","thumbnail_image_url":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/thumb_foto8269jpg-1673903288274.jpg","is_stereo":false,"photo_type":"360_mono","created_date":"2023-01-16T21:08:08.274Z","id":"6073305110937600","updated_date":"2023-01-16T21:08:08.274Z","sort_order":8,"status":"active","has_anaglyph":false,"index":7},{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FIjzZWRiHglSuYhJMPP0l6O7Sgst2%2F5314511493922816%2Ffoto8270jpg-1673903288286.jpg&uploadType=resumable&upload_id=ADPycdsbTFDZPhHbli-0vdILe7TPsE3Lyh_2fpINFJneIyL58BVReFbl0fCZuNb9YjpolaOeQfOleOjFBFQkyxDa0eNjW10jvmCi","image_url":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/foto8270jpg-1673903288286.jpg","rotation":195.1494250215547,"thumbnail_gcs_filename":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/thumb_foto8270jpg-1673903288286.jpg","title":"Estudio 2","version":"v4","gcs_filename":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/foto8270jpg-1673903288286.jpg","filename":"foto8270jpg-1673903288286.jpg","folder":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816","thumbnail_image_url":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/thumb_foto8270jpg-1673903288286.jpg","is_stereo":false,"photo_type":"360_mono","updated_date":"2023-01-16T21:08:08.286Z","created_date":"2023-01-16T21:08:08.286Z","id":"4598254914240512","sort_order":9,"status":"active","has_anaglyph":false,"index":8}]; console.log('num photos: ' + window.photos.length); window.photosMap = {"4928506492354560":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FIjzZWRiHglSuYhJMPP0l6O7Sgst2%2F5314511493922816%2Ffoto8257jpg-1673903111294.jpg&uploadType=resumable&upload_id=ADPycdsZsD13P0JIunWD7WTHjrL2Kosm6NdOKXX0c-K_jYFPHvVjlFeV8MmlqLjWQjf8b2Nc3Tye7OErpBM72BrL8lCQ5bqQBplr","image_url":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/foto8257jpg-1673903111294.jpg","rotation":88.80845824527815,"thumbnail_gcs_filename":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/thumb_foto8257jpg-1673903111294.jpg","title":"Receção","version":"v4","gcs_filename":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/foto8257jpg-1673903111294.jpg","folder":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816","filename":"foto8257jpg-1673903111294.jpg","thumbnail_image_url":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/thumb_foto8257jpg-1673903111294.jpg","is_stereo":false,"photo_type":"360_mono","id":"4928506492354560","updated_date":"2023-01-16T21:05:11.295Z","created_date":"2023-01-16T21:05:11.295Z","sort_order":1,"status":"active","has_anaglyph":false,"index":0},"5860511845449728":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FIjzZWRiHglSuYhJMPP0l6O7Sgst2%2F5314511493922816%2Ffoto8258jpg-1673903111433.jpg&uploadType=resumable&upload_id=ADPycdvz5nzyFAp9hqog3pcf-GGL2l5yEu_6Qeto1x5s1vvCWJ0kSAeNHRt531tL5kmJrS1NloL8EnYs7sekXO4dcgitkQ","image_url":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/foto8258jpg-1673903111433.jpg","rotation":192.74300228200752,"thumbnail_gcs_filename":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/thumb_foto8258jpg-1673903111433.jpg","title":"Beauty Shop 1","version":"v4","gcs_filename":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/foto8258jpg-1673903111433.jpg","folder":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816","filename":"foto8258jpg-1673903111433.jpg","thumbnail_image_url":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/thumb_foto8258jpg-1673903111433.jpg","is_stereo":false,"photo_type":"360_mono","updated_date":"2023-01-16T21:05:11.435Z","id":"5860511845449728","created_date":"2023-01-16T21:05:11.435Z","sort_order":2,"status":"active","has_anaglyph":false,"index":1},"6463484770385920":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FIjzZWRiHglSuYhJMPP0l6O7Sgst2%2F5314511493922816%2Ffoto8261jpg-1673903111109.jpg&uploadType=resumable&upload_id=ADPycduL0TtzSCEhRKXtl3oeoWNXri3CtHUEkHnDf6S6pvILynlz6vIGJ9Qu-VuVLNv6OFDLekvHtZx6QvIxCZjOA-0fv-xpovXr","image_url":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/foto8261jpg-1673903111109.jpg","rotation":10.864963468876681,"thumbnail_gcs_filename":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/thumb_foto8261jpg-1673903111109.jpg","title":"Beauty Shop 2","version":"v4","gcs_filename":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/foto8261jpg-1673903111109.jpg","filename":"foto8261jpg-1673903111109.jpg","folder":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816","is_stereo":false,"thumbnail_image_url":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/thumb_foto8261jpg-1673903111109.jpg","photo_type":"360_mono","updated_date":"2023-01-16T21:05:11.110Z","id":"6463484770385920","created_date":"2023-01-16T21:05:11.110Z","sort_order":3,"status":"active","has_anaglyph":false,"index":2},"4947405204094976":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FIjzZWRiHglSuYhJMPP0l6O7Sgst2%2F5314511493922816%2Ffoto8265jpg-1673903198579.jpg&uploadType=resumable&upload_id=ADPycdtmLcqZ4xBgAaMKZj_w84KatvyE2B9TSMkgDsFk8cg12BHU9HIePPFWWzEjWk7fJtW5UqGVsvq7yHGUZRgw4_jXELz_nSPz","image_url":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/foto8265jpg-1673903198579.jpg","rotation":169.59550735872236,"thumbnail_gcs_filename":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/thumb_foto8265jpg-1673903198579.jpg","title":"Salao","version":"v4","gcs_filename":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/foto8265jpg-1673903198579.jpg","folder":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816","filename":"foto8265jpg-1673903198579.jpg","is_stereo":false,"thumbnail_image_url":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/thumb_foto8265jpg-1673903198579.jpg","photo_type":"360_mono","id":"4947405204094976","updated_date":"2023-01-16T21:06:38.580Z","created_date":"2023-01-16T21:06:38.580Z","sort_order":4,"status":"active","has_anaglyph":false,"index":3},"4814043097333760":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FIjzZWRiHglSuYhJMPP0l6O7Sgst2%2F5314511493922816%2Ffoto8266jpg-1673903198597.jpg&uploadType=resumable&upload_id=ADPycdtAfE0QQv0Kre89DVkQb1z0nVq80iXitNzynCJfDYOMO92tKrUXbzPfqaoLMTscIJoTtGDW5ytz8fondlxl5Z-M8g","image_url":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/foto8266jpg-1673903198597.jpg","rotation":212.68193355255895,"thumbnail_gcs_filename":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/thumb_foto8266jpg-1673903198597.jpg","title":"Salao 2","version":"v4","gcs_filename":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/foto8266jpg-1673903198597.jpg","filename":"foto8266jpg-1673903198597.jpg","folder":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816","thumbnail_image_url":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/thumb_foto8266jpg-1673903198597.jpg","is_stereo":false,"photo_type":"360_mono","updated_date":"2023-01-16T21:06:38.597Z","created_date":"2023-01-16T21:06:38.597Z","id":"4814043097333760","sort_order":5,"status":"active","has_anaglyph":false,"index":4},"5619652143087616":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FIjzZWRiHglSuYhJMPP0l6O7Sgst2%2F5314511493922816%2Ffoto8267jpg-1673903198584.jpg&uploadType=resumable&upload_id=ADPycdvGpm9XXV29rBr-vjJt2i-62q3WVCTxihT2c0mYEJT-4MOtRic2N0xb3p0X5t8pELlMTnvUm8EhPehqk9_OGQ1hHA","image_url":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/foto8267jpg-1673903198584.jpg","rotation":281.7806436453346,"thumbnail_gcs_filename":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/thumb_foto8267jpg-1673903198584.jpg","title":"Salao 3","version":"v4","gcs_filename":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/foto8267jpg-1673903198584.jpg","folder":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816","filename":"foto8267jpg-1673903198584.jpg","is_stereo":false,"thumbnail_image_url":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/thumb_foto8267jpg-1673903198584.jpg","photo_type":"360_mono","updated_date":"2023-01-16T21:06:38.584Z","created_date":"2023-01-16T21:06:38.584Z","id":"5619652143087616","sort_order":6,"status":"active","has_anaglyph":false,"index":5},"5297561892028416":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FIjzZWRiHglSuYhJMPP0l6O7Sgst2%2F5314511493922816%2Ffoto8268jpg-1673903288347.jpg&uploadType=resumable&upload_id=ADPycdsEbYVwy0ulJegA-75iUYcd_7J_x2ed0EmoqX-Fe3LLBO-1r2fRnZUkI0tweP_59TijRAhX2_H4RNsXKXwlOzWd","image_url":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/foto8268jpg-1673903288347.jpg","rotation":0,"thumbnail_gcs_filename":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/thumb_foto8268jpg-1673903288347.jpg","title":"Corredor","version":"v3","gcs_filename":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/foto8268jpg-1673903288347.jpg","folder":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816","filename":"foto8268jpg-1673903288347.jpg","thumbnail_image_url":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/thumb_foto8268jpg-1673903288347.jpg","is_stereo":false,"photo_type":"360_mono","updated_date":"2023-01-16T21:08:08.348Z","created_date":"2023-01-16T21:08:08.348Z","id":"5297561892028416","sort_order":7,"status":"active","has_anaglyph":false,"index":6},"6073305110937600":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FIjzZWRiHglSuYhJMPP0l6O7Sgst2%2F5314511493922816%2Ffoto8269jpg-1673903288274.jpg&uploadType=resumable&upload_id=ADPycdvc8EQu57vSkCaWGpTgaKKHM3Q2EBqPecTmHSCOWnPtFtGsexmDxnSylCHkdfO_PMSOS6gkC7EaSmQcGPAIkId9a_-SYvFu","image_url":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/foto8269jpg-1673903288274.jpg","rotation":98.09037452639303,"thumbnail_gcs_filename":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/thumb_foto8269jpg-1673903288274.jpg","title":"Estudio ","version":"v4","gcs_filename":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/foto8269jpg-1673903288274.jpg","filename":"foto8269jpg-1673903288274.jpg","folder":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816","thumbnail_image_url":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/thumb_foto8269jpg-1673903288274.jpg","is_stereo":false,"photo_type":"360_mono","created_date":"2023-01-16T21:08:08.274Z","id":"6073305110937600","updated_date":"2023-01-16T21:08:08.274Z","sort_order":8,"status":"active","has_anaglyph":false,"index":7},"4598254914240512":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FIjzZWRiHglSuYhJMPP0l6O7Sgst2%2F5314511493922816%2Ffoto8270jpg-1673903288286.jpg&uploadType=resumable&upload_id=ADPycdsbTFDZPhHbli-0vdILe7TPsE3Lyh_2fpINFJneIyL58BVReFbl0fCZuNb9YjpolaOeQfOleOjFBFQkyxDa0eNjW10jvmCi","image_url":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/foto8270jpg-1673903288286.jpg","rotation":195.1494250215547,"thumbnail_gcs_filename":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/thumb_foto8270jpg-1673903288286.jpg","title":"Estudio 2","version":"v4","gcs_filename":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/foto8270jpg-1673903288286.jpg","filename":"foto8270jpg-1673903288286.jpg","folder":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816","thumbnail_image_url":"/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/thumb_foto8270jpg-1673903288286.jpg","is_stereo":false,"photo_type":"360_mono","updated_date":"2023-01-16T21:08:08.286Z","created_date":"2023-01-16T21:08:08.286Z","id":"4598254914240512","sort_order":9,"status":"active","has_anaglyph":false,"index":8}}; 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 = "5314511493922816"; window.tourUid = "IjzZWRiHglSuYhJMPP0l6O7Sgst2"; window.customUrl = "http://www.orbix360.com"; window.tourSlug = "domus-center"; window.template = '360_mono'; window.template_category = '360'; window.tourShortCode = "ReMlPnXsz"; 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['4928506492354560'] = 0; window.current_image_index = 0; window.current_image_id = 4928506492354560 window.photo_indexes['5860511845449728'] = 1; window.photo_indexes['6463484770385920'] = 2; window.photo_indexes['4947405204094976'] = 3; window.photo_indexes['4814043097333760'] = 4; window.photo_indexes['5619652143087616'] = 5; window.photo_indexes['5297561892028416'] = 6; window.photo_indexes['6073305110937600'] = 7; window.photo_indexes['4598254914240512'] = 8; 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-/AOh14GjbXonAvPR15YFm5tp6HmN_hy61oV4DdraBgkFK=s96-c'; window.user_profile_name = 'Design Plus Lab'; window.shortURLRoot = 'https://orbix360.com'; window.image_url = 'https://storage.googleapis.com/orbix360-prod-images/users/IjzZWRiHglSuYhJMPP0l6O7Sgst2/5314511493922816/thumb_foto8257jpg-1673903111294.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":[],"id":4928506492354560,"hotspots":[{"from":4928506492354560,"to":5860511845449728,"position":{"x":-0.9201584355747209,"y":-0.05093765583078027,"z":-0.3882187639194522},"id":"hotspot_4928506492354560_5860511845449728","toTitle":"Beauty Shop 1"},{"from":4928506492354560,"to":6463484770385920,"id":"hotspot_4928506492354560_6463484770385920","position":{"x":-0.7641434157706084,"y":-0.029188478424756626,"z":-0.6443856553816779},"toTitle":"Beauty Shop 2"},{"from":4928506492354560,"id":"hotspot_4928506492354560_4947405204094976","to":4947405204094976,"position":{"x":-0.22421007246162042,"y":0.0038162217146488846,"z":0.9745333651848866},"toTitle":"Salao"},{"from":4928506492354560,"id":"hotspot_4928506492354560_5297561892028416","to":5297561892028416,"position":{"x":0.8149286411744969,"y":0.02934770717919237,"z":0.5788177795099358},"toTitle":"Corredor"}]},{"infoHotspots":[],"id":5860511845449728,"hotspots":[{"from":5860511845449728,"id":"hotspot_5860511845449728_4928506492354560","position":{"x":0.8983676495747948,"y":-0.03734742368440201,"z":0.43765367145906225},"to":4928506492354560,"toTitle":"Receção"},{"from":5860511845449728,"to":6463484770385920,"position":{"x":0.002993138278589195,"y":-0.06739917106430005,"z":-0.997721600880271},"id":"hotspot_5860511845449728_6463484770385920","toTitle":"Beauty Shop 2"}]},{"infoHotspots":[],"id":6463484770385920,"hotspots":[{"from":6463484770385920,"id":"hotspot_6463484770385920_5860511845449728","position":{"x":0.07886475558649093,"y":-0.06020309239666204,"z":-0.9950657958105897},"to":5860511845449728,"toTitle":"Beauty Shop 1"},{"from":6463484770385920,"position":{"x":-0.4792040777365329,"y":-0.01687720315884629,"z":-0.8775412308799023},"to":4928506492354560,"id":"hotspot_6463484770385920_4928506492354560","toTitle":"Receção"}]},{"infoHotspots":[],"id":4947405204094976,"hotspots":[{"from":4947405204094976,"to":4928506492354560,"id":"hotspot_4947405204094976_4928506492354560","position":{"x":-0.4438842654844326,"y":-0.014126411484597501,"z":0.8959727693149574},"toTitle":"Receção"},{"from":4947405204094976,"position":{"x":0.3318034702451499,"y":-0.06672486041264691,"z":-0.9409857863624661},"id":"hotspot_4947405204094976_4814043097333760","to":4814043097333760,"toTitle":"Salao 2"},{"from":4947405204094976,"position":{"x":0.7251523987231095,"y":-0.02709690895638031,"z":-0.6880550531397396},"id":"hotspot_4947405204094976_5619652143087616","to":5619652143087616,"toTitle":"Salao 3"}]},{"infoHotspots":[],"id":4814043097333760,"hotspots":[{"from":4814043097333760,"id":"hotspot_4814043097333760_4947405204094976","to":4947405204094976,"position":{"x":-0.823194525037947,"y":-0.05416975549142035,"z":0.5651693653565704},"toTitle":"Salao"},{"from":4814043097333760,"to":4928506492354560,"id":"hotspot_4814043097333760_4928506492354560","position":{"x":-0.5482962090245992,"y":-0.009959807389361423,"z":0.8362248916445981},"toTitle":"Receção"},{"from":4814043097333760,"position":{"x":0.9921627997192901,"y":-0.10289850194885454,"z":-0.07088636787042717},"to":5619652143087616,"id":"hotspot_4814043097333760_5619652143087616","toTitle":"Salao 3"}]},{"infoHotspots":[],"id":5619652143087616,"hotspots":[{"from":5619652143087616,"position":{"x":-0.9777542824313719,"y":-0.039618293193460885,"z":0.20597804259568556},"to":4814043097333760,"id":"hotspot_5619652143087616_4814043097333760","toTitle":"Salao 2"},{"from":5619652143087616,"id":"hotspot_5619652143087616_4947405204094976","to":4947405204094976,"position":{"x":-0.8303011977668977,"y":0.0031344930303424615,"z":0.5573061061394335},"toTitle":"Salao"}]},{"infoHotspots":[],"id":5297561892028416,"hotspots":[{"from":5297561892028416,"id":"hotspot_5297561892028416_4928506492354560","to":4928506492354560,"position":{"x":-0.1036446192968607,"y":-0.012274576612949381,"z":0.9945386506615927},"toTitle":"Receção"},{"from":5297561892028416,"to":6073305110937600,"id":"hotspot_5297561892028416_6073305110937600","position":{"x":-0.9914859326426587,"y":-0.05493669101140143,"z":0.11805763572270621},"toTitle":"Estudio "},{"from":5297561892028416,"to":4598254914240512,"position":{"x":0.02941652084672734,"y":-0.006644383881017693,"z":-0.9995451567908854},"id":"hotspot_5297561892028416_4598254914240512","toTitle":"Estudio 2"}]},{"infoHotspots":[],"id":6073305110937600,"hotspots":[{"from":6073305110937600,"position":{"x":-0.9549815835832827,"y":-0.06411651272463267,"z":0.2896536687369898},"id":"hotspot_6073305110937600_5297561892028416","to":5297561892028416,"toTitle":"Corredor"}]},{"infoHotspots":[],"id":4598254914240512,"hotspots":[{"from":4598254914240512,"position":{"x":-0.4955926046630032,"y":-0.018241209434190234,"z":-0.8683635347489659},"to":5297561892028416,"id":"hotspot_4598254914240512_5297561892028416","toTitle":"Corredor"}]}],"autorotate":{"enabled":false},"versionNumber":3}; window.brandingAllowed = false; 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;