(function() { var embededObj; var EmbeddedVR = function() { return new EmbeddedVR.init(); }; EmbeddedVR.init = function() { this.currentScriptUrl = null; this.thumbnailUrl = 'https://irl-sec-theviewer-stage-prod.s3-accelerate.amazonaws.com/rendergraph.viewer.01@gmail.com/4d5db8ee-3a41-4065-8bc7-4c1229f68d85/f5945853-67fd-4e2f-96c5-457297cd6ae7?timestamp=2021-07-04T16:05:26.746Z'; this.galleryId = '4d5db8ee-3a41-4065-8bc7-4c1229f68d85'; this.options = { isFullScreenAvailable : true, isThumbnailAvailable : false, isShareNativeAvailable : false, isVrModeAvailable : true, isFloorPlanAvailable : true, isSharedExperienceAvailable : false, }; window.addEventListener("load", appendExternalScripts); } EmbeddedVR.prototype = { resolveVrView : function() { return this; }, showViewer : function() { setTimeout(function(){ var krpanoDiv = document.getElementById('krpanoViewerId'); if (!krpanoDiv) { EmbeddedVR.prototype.showViewer(); } else { krpanoDiv.classList.add('krpanoViewerTransition'); } },700); }, createThumbnail : function() { var wrapperThumbnail = document.createElement('div'); wrapperThumbnail.className = 'wrapperThumbnail'; var thumbnailDiv = document.createElement('img'); thumbnailDiv.id = 'thumbnail'; thumbnailDiv.className = 'thumbnailDiv'; thumbnailDiv.src = this.thumbnailUrl; thumbnailDiv.onclick = onClickThumbnail.bind(thumbnailDiv); wrapperThumbnail.appendChild(thumbnailDiv); this.parentDiv.appendChild(wrapperThumbnail); return this; }, getCurrentScript : function() { return this.currentScriptUrl; }, resolveCurrentScriptUrl : function() { this.parentDiv = document.currentScript.parentElement; this.currentScriptUrl = document.currentScript.src; this.currentScriptUrl = this.currentScriptUrl.substr(0, this.currentScriptUrl.lastIndexOf("/") + 1); return this; }, appendGtmIframe : function() { var iframe = document.createElement('iframe'); iframe.src = this.getCurrentScript() + 'embedJS?galleryId=4d5db8ee-3a41-4065-8bc7-4c1229f68d85&spaceId=09033985-2923-41b8-bbbb-8906fcfbf2ce'; iframe.scrolling = "no"; iframe.frameborder = "0"; iframe.width = "1"; iframe.height = "1"; iframe.style.display = "none"; document.body.appendChild(iframe); } }; function onClickThumbnail(evt) { var krpanoDiv = document.getElementById('krpanoViewerId'); this.parentNode.removeChild(this); initializeViewer(); } function scriptExist(scriptId) { return !(!document.getElementById(scriptId)); } async function appendExternalScripts() { if (!scriptExist("theViewer-krpano")) { let krpanoScript = document.createElement('script'); krpanoScript.id = "theViewer-krpano"; krpanoScript.type = "text/javascript"; krpanoScript.async = true; krpanoScript.src = embededObj.getCurrentScript() +"html/theViewer/script/libs/krpano/krpano.js"; document.head.appendChild(krpanoScript); } if (!scriptExist("theViewer-shareEmbed")) { let requireScript = document.createElement('script'); requireScript.id = "theViewer-shareEmbed"; requireScript.type = "text/javascript"; requireScript.setAttribute('data-main', embededObj.getCurrentScript() + 'html/theViewer/script/req/shareEmbedRequires.js?timestamp=' + Date.now()); requireScript.async = true; requireScript.src = embededObj.getCurrentScript() + "html/theViewer/script/node_modules/requirejs/require.js?timestamp=" + Date.now(); document.head.appendChild(requireScript); } if (!scriptExist("theViewer-font")) { let link = document.createElement('link'); link.id = "theViewer-font"; link.rel = "stylesheet"; link.async = true; link.href = "https://fonts.googleapis.com/css?family=Roboto:100,300,400,700"; document.head.appendChild(link); } if (!scriptExist("theViewer-style")) { let link = document.createElement('link'); link.id = "theViewer-style"; link.rel = "stylesheet"; link.async = true; link.href = "https://fonts.googleapis.com/css?family=Roboto:100,300,400,700"; link.href = embededObj.getCurrentScript() + 'html/theViewer/css/embedViewer.css?timestamp=' + Date.now(); document.head.appendChild(link); } } if (!Array.isArray(window.mainShareFunction)) { window.mainShareFunction = []; } window.mainShareFunction.push((function(thev, thevProxy) { embededObj.krpanoViewer = thev; embededObj.theViewerProxy = thevProxy; if (!embededObj.options.isThumbnailAvailable) { initializeViewer(); } else { embededObj.createThumbnail(); } })); function initializeViewer() { requirejs(["app/utils"], function(utils) { utils.setUrlPrefix(embededObj.getCurrentScript()); requirejs(["app/shareEmbed", "social/socialCounters"], function(share, socialCounters) { window.theViewerAppVersion = 'v3.22'; var theViewerParams = window.theViewer || {}; theViewerParams.GalleryUnparsed = '{\"Id\":null,\"Name\":null,\"Description\":null,\"SpaceId\":null,\"ContentUrl\":null,\"ThumbnailId\":null,\"ThumbnailContentId\":null,\"ThumbnailMime\":null,\"ThumbnailTimestamp\":null,\"ThumbnailVersionId\":null,\"Galleries\":[{\"OrigId\":null,\"Name\":\"1.A.5.4\",\"Description\":null,\"ContentUrl\":\"https:\/\/irl-sec-theviewer-stage-prod.s3-accelerate.amazonaws.com\/rendergraph.viewer.01@gmail.com\/\",\"SpaceName\":\"rendergraph.viewer.01@gmail.com\",\"SpaceType\":\"UserSpace\",\"Order\":null,\"Timestamp\":\"2021-07-07T12:07:57.965Z\",\"ThumbnailContent\":{\"Id\":\"f5945853-67fd-4e2f-96c5-457297cd6ae7\",\"OrigId\":null,\"Type\":\"IMAGE\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"rquv1hUtkvo6DKTXHzgPmBWNwf8sA1gO\",\"Timestamp\":\"2021-07-04T16:05:26.746Z\",\"OriginalName\":null,\"Name\":\"1.A.5.4.jpg\",\"Size\":null},\"CustomSettings\":null,\"ExtendedView\":null,\"Archived\":false,\"MiniMap\":{\"OrigId\":null,\"Name\":\"1.A.5.4.jpg\",\"Content\":{\"Id\":\"698b9062-7faf-466a-b3ce-dabe568d7ad9\",\"OrigId\":null,\"Type\":\"IMAGE\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"Hm7q1FEDkt00TTRi4JIx205Z_Jg2MXK.\",\"Timestamp\":\"2021-07-04T16:05:13.384Z\",\"OriginalName\":\"1.A.5.4.jpg\",\"Name\":\"uploadContent\",\"Size\":112701},\"Warps\":[{\"Id\":\"4832fb32-f3cc-4ea1-9702-6a983fb1c9a6\",\"OrigId\":null,\"Longitude\":-100.79,\"Latitude\":41.06,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Soggiorno\",\"DestinationId\":\"6fbfae5b-0300-4ab9-9c1c-af8bc861c2aa\",\"DestinationType\":\"Pano\",\"LandingAngle\":null,\"Style\":null},{\"Id\":\"4eb6324f-6fa5-4631-a101-0cef08e5d35a\",\"OrigId\":null,\"Longitude\":-70.48,\"Latitude\":-39.67,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Terrazzo\",\"DestinationId\":\"993ade7e-d909-42b4-aa4a-088c0c71c213\",\"DestinationType\":\"Pano\",\"LandingAngle\":null,\"Style\":null},{\"Id\":\"8e335298-5edb-4c2c-af00-4d830a101baa\",\"OrigId\":null,\"Longitude\":27.87,\"Latitude\":40.24,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Disimpegno\",\"DestinationId\":\"83cc0afc-2d11-4f02-84ba-bcedc55b14d2\",\"DestinationType\":\"Pano\",\"LandingAngle\":null,\"Style\":null},{\"Id\":\"5bc81d13-e256-4ac8-82d2-d1badca2a11c\",\"OrigId\":null,\"Longitude\":26.02,\"Latitude\":7.7,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Bagno\",\"DestinationId\":\"7f4c9a6a-2f0d-4964-90c4-fabc6909475d\",\"DestinationType\":\"Pano\",\"LandingAngle\":null,\"Style\":null},{\"Id\":\"390c2c1a-9ff6-44a3-834f-cb3b7bf835a6\",\"OrigId\":null,\"Longitude\":69.94,\"Latitude\":36.94,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Camera da letto\",\"DestinationId\":\"dd8fe663-94c6-42a1-b509-23a0508d0f2c\",\"DestinationType\":\"Pano\",\"LandingAngle\":null,\"Style\":null}],\"InfoSpots\":null,\"SoundSpots\":null,\"MediaSpots\":null,\"Id\":\"afb084d1-3e75-421a-a6c7-60a3a6496c91\"},\"Bgm\":null,\"Panos\":[{\"OrigId\":null,\"Name\":\"soggiorno_HD.effectsResult.jpg\",\"LandingAngle\":-128.05101066226698,\"MultiresolutionData\":null,\"MultiresolutionPath\":null,\"Content\":{\"Id\":\"beb0868b-e7d8-4260-ab8d-13ec07bfefe3\",\"OrigId\":null,\"Type\":null,\"Mime\":\"image\/jpeg\",\"VersionId\":\"i7OTq25o5Ypqnwzhh3n4V29IkOg47ebH\",\"Timestamp\":\"2021-07-04T16:00:34.769Z\",\"OriginalName\":null,\"Name\":null,\"Size\":null},\"Type\":\"SphericalStereoStandard\",\"Resolution\":5000,\"Order\":null,\"Thumbnail\":{\"Id\":\"8f78a54b-6cfc-479b-b6c1-b3be7c0f9456\",\"OrigId\":null,\"Type\":\"IMAGE\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"N28IAMKU11gM56eW8ErsmvliV2n051VM\",\"Timestamp\":\"2021-07-04T16:00:34.769Z\",\"OriginalName\":null,\"Name\":\"1.A.5.4\",\"Size\":null},\"Preview\":{\"Id\":\"preview-beb0868b-e7d8-4260-ab8d-13ec07bfefe3\",\"OrigId\":null,\"Type\":\"PANO\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"Xa7xkUoRMlPAYCSWRKjpT.bd0iKmAuuM\",\"Timestamp\":\"2021-07-04T16:00:31.491Z\",\"OriginalName\":null,\"Name\":\"soggiorno_HD.effectsResult.jpg\",\"Size\":null},\"Depthmap\":null,\"Bgm\":null,\"Warps\":[{\"Id\":\"a0ec67ea-e0cd-46c1-b656-1d5021ccc580\",\"OrigId\":null,\"Longitude\":-148.78488240346118,\"Latitude\":1.2295895770846281,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Disimpegno\",\"DestinationId\":\"83cc0afc-2d11-4f02-84ba-bcedc55b14d2\",\"DestinationType\":\"Pano\",\"LandingAngle\":null,\"Style\":null},{\"Id\":\"e42d3e3f-6029-4e7f-9f08-382f129737d9\",\"OrigId\":null,\"Longitude\":-81.1188720180956,\"Latitude\":1.9024515154719566,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Balcone\",\"DestinationId\":\"993ade7e-d909-42b4-aa4a-088c0c71c213\",\"DestinationType\":\"Pano\",\"LandingAngle\":null,\"Style\":null},{\"Id\":\"7df17d60-eb41-40c1-8ab4-4cc4b235dbdc\",\"OrigId\":null,\"Longitude\":102.59674251265719,\"Latitude\":-1.136515310394002,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Piantina\",\"DestinationId\":\"afb084d1-3e75-421a-a6c7-60a3a6496c91\",\"DestinationType\":\"MiniMap\",\"LandingAngle\":null,\"Style\":null}],\"InfoSpots\":[],\"SoundSpots\":[],\"MediaSpots\":[],\"AnimationSpots\":[],\"AnimationVideoSpots\":[],\"VideoSpots\":[],\"BoundingBoxes\":[],\"TransparentSpots\":[],\"TransparentPublicSpots\":[],\"DepthmapTransparentSpots\":[],\"CustomSettings\":null,\"AudioSettings\":{\"UseDefaults\":true,\"VideoAudio\":true,\"GalleryAudio\":true,\"PanoAudio\":true},\"Timestamp\":\"2021-07-04T16:00:34.769Z\",\"ContentVersionId\":\"i7OTq25o5Ypqnwzhh3n4V29IkOg47ebH\",\"ContentMime\":\"image\/jpeg\",\"Multiresolution\":false,\"ContentId\":\"beb0868b-e7d8-4260-ab8d-13ec07bfefe3\",\"Id\":\"6fbfae5b-0300-4ab9-9c1c-af8bc861c2aa\"},{\"OrigId\":null,\"Name\":\"camera2.effectsResult.jpg\",\"LandingAngle\":-97.28874730687303,\"MultiresolutionData\":null,\"MultiresolutionPath\":null,\"Content\":{\"Id\":\"e2ba3747-de2b-44e2-b108-99ee5cea25ed\",\"OrigId\":null,\"Type\":null,\"Mime\":\"image\/jpeg\",\"VersionId\":\"xuS.5P7WD2fDz78tZNVJXSRPtx93r34A\",\"Timestamp\":\"2021-07-04T16:00:23.180Z\",\"OriginalName\":null,\"Name\":null,\"Size\":null},\"Type\":\"SphericalStereoStandard\",\"Resolution\":5000,\"Order\":null,\"Thumbnail\":{\"Id\":\"1faa7fee-d487-4950-b8fb-cca57644eba4\",\"OrigId\":null,\"Type\":\"IMAGE\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"SQ5O0WSO0X5WfKmhD.0m3.SjpvzIRL._\",\"Timestamp\":\"2021-07-04T16:00:23.180Z\",\"OriginalName\":null,\"Name\":\"1.A.5.4\",\"Size\":null},\"Preview\":{\"Id\":\"preview-e2ba3747-de2b-44e2-b108-99ee5cea25ed\",\"OrigId\":null,\"Type\":\"PANO\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"IZGCJbuHuqSEp5Gf.0ItoeNmpsqwutkW\",\"Timestamp\":\"2021-07-04T16:00:20.253Z\",\"OriginalName\":null,\"Name\":\"camera2.effectsResult.jpg\",\"Size\":null},\"Depthmap\":null,\"Bgm\":null,\"Warps\":[{\"Id\":\"077a0e84-6756-484b-b223-277619efb3b1\",\"OrigId\":null,\"Longitude\":11.89013880904588,\"Latitude\":3.625633017723162,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Disimpegno\",\"DestinationId\":\"83cc0afc-2d11-4f02-84ba-bcedc55b14d2\",\"DestinationType\":\"Pano\",\"LandingAngle\":null,\"Style\":null}],\"InfoSpots\":[],\"SoundSpots\":[],\"MediaSpots\":[],\"AnimationSpots\":[],\"AnimationVideoSpots\":[],\"VideoSpots\":[],\"BoundingBoxes\":[],\"TransparentSpots\":[],\"TransparentPublicSpots\":[],\"DepthmapTransparentSpots\":[],\"CustomSettings\":null,\"AudioSettings\":{\"UseDefaults\":true,\"VideoAudio\":true,\"GalleryAudio\":true,\"PanoAudio\":true},\"Timestamp\":\"2021-07-04T16:00:23.180Z\",\"ContentVersionId\":\"xuS.5P7WD2fDz78tZNVJXSRPtx93r34A\",\"ContentMime\":\"image\/jpeg\",\"Multiresolution\":false,\"ContentId\":\"e2ba3747-de2b-44e2-b108-99ee5cea25ed\",\"Id\":\"dd8fe663-94c6-42a1-b509-23a0508d0f2c\"},{\"OrigId\":null,\"Name\":\"Balcone_a_5_4.effectsResult_SFONDO5.jpg\",\"LandingAngle\":null,\"MultiresolutionData\":null,\"MultiresolutionPath\":null,\"Content\":{\"Id\":\"d450b68c-fc79-46e1-a28d-552d5a17c465\",\"OrigId\":null,\"Type\":null,\"Mime\":\"image\/jpeg\",\"VersionId\":\"sIbYVxZgtxL0Uj7sexCzUmJA3pMVEtdi\",\"Timestamp\":\"2021-07-07T12:06:33.331Z\",\"OriginalName\":null,\"Name\":null,\"Size\":null},\"Type\":\"SphericalStereoStandard\",\"Resolution\":5000,\"Order\":null,\"Thumbnail\":{\"Id\":\"ae9ab74e-ca4e-4e90-839b-6641fd3070df\",\"OrigId\":null,\"Type\":\"IMAGE\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"XWMNofKdjil1aQTaIbBzd9jc7jf2N1sc\",\"Timestamp\":\"2021-07-04T16:00:10.962Z\",\"OriginalName\":null,\"Name\":\"1.A.5.4\",\"Size\":null},\"Preview\":{\"Id\":\"preview-d450b68c-fc79-46e1-a28d-552d5a17c465\",\"OrigId\":null,\"Type\":\"PANO\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"ORWMdEYuvrq97P3FXxE2RAz3LRDz73LH\",\"Timestamp\":\"2021-07-07T12:06:33.216Z\",\"OriginalName\":null,\"Name\":\"Balcone_a_5_4.effectsResult_SFONDO5.jpg\",\"Size\":null},\"Depthmap\":null,\"Bgm\":null,\"Warps\":[{\"Id\":\"950dfa12-f368-4d33-a85a-593500777286\",\"OrigId\":null,\"Longitude\":-139.52147573951183,\"Latitude\":2.6533157591325476,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Soggiorno\",\"DestinationId\":\"6fbfae5b-0300-4ab9-9c1c-af8bc861c2aa\",\"DestinationType\":\"Pano\",\"LandingAngle\":null,\"Style\":null}],\"InfoSpots\":[],\"SoundSpots\":[],\"MediaSpots\":[],\"AnimationSpots\":[],\"AnimationVideoSpots\":[],\"VideoSpots\":[],\"BoundingBoxes\":[],\"TransparentSpots\":[],\"TransparentPublicSpots\":[],\"DepthmapTransparentSpots\":[],\"CustomSettings\":null,\"AudioSettings\":{\"UseDefaults\":true,\"VideoAudio\":true,\"GalleryAudio\":true,\"PanoAudio\":true},\"Timestamp\":\"2021-07-07T12:06:33.331Z\",\"ContentVersionId\":\"sIbYVxZgtxL0Uj7sexCzUmJA3pMVEtdi\",\"ContentMime\":\"image\/jpeg\",\"Multiresolution\":false,\"ContentId\":\"d450b68c-fc79-46e1-a28d-552d5a17c465\",\"Id\":\"993ade7e-d909-42b4-aa4a-088c0c71c213\"},{\"OrigId\":null,\"Name\":\"bagno.effectsResult.jpg\",\"LandingAngle\":null,\"MultiresolutionData\":null,\"MultiresolutionPath\":null,\"Content\":{\"Id\":\"f3c513ae-deba-4b0d-b650-b0a38b5d2a79\",\"OrigId\":null,\"Type\":null,\"Mime\":\"image\/jpeg\",\"VersionId\":\"G7WSfQCgtJB89q1Ljn5D.n5fCALBZOK.\",\"Timestamp\":\"2021-07-04T15:59:59.130Z\",\"OriginalName\":null,\"Name\":null,\"Size\":null},\"Type\":\"SphericalStereoStandard\",\"Resolution\":5000,\"Order\":null,\"Thumbnail\":{\"Id\":\"ca398ecb-3d71-4801-82c3-7321053c879e\",\"OrigId\":null,\"Type\":\"IMAGE\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"ARunXGah__Nzp90miD91.OWuxYRDGT2k\",\"Timestamp\":\"2021-07-04T15:59:59.130Z\",\"OriginalName\":null,\"Name\":\"1.A.5.4\",\"Size\":null},\"Preview\":{\"Id\":\"preview-f3c513ae-deba-4b0d-b650-b0a38b5d2a79\",\"OrigId\":null,\"Type\":\"PANO\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"lyP1heU9ku2.QWcTXIlm1NNqQ4h8Qsgl\",\"Timestamp\":\"2021-07-04T15:59:55.566Z\",\"OriginalName\":null,\"Name\":\"bagno.effectsResult.jpg\",\"Size\":null},\"Depthmap\":null,\"Bgm\":null,\"Warps\":[{\"Id\":\"b424aa7a-43af-45a0-8b38-cbdcea30e209\",\"OrigId\":null,\"Longitude\":108.82298465153511,\"Latitude\":2.6276906915522273,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Disimpegno\",\"DestinationId\":\"83cc0afc-2d11-4f02-84ba-bcedc55b14d2\",\"DestinationType\":\"Pano\",\"LandingAngle\":null,\"Style\":null}],\"InfoSpots\":[],\"SoundSpots\":[],\"MediaSpots\":[],\"AnimationSpots\":[],\"AnimationVideoSpots\":[],\"VideoSpots\":[],\"BoundingBoxes\":[],\"TransparentSpots\":[],\"TransparentPublicSpots\":[],\"DepthmapTransparentSpots\":[],\"CustomSettings\":null,\"AudioSettings\":{\"UseDefaults\":true,\"VideoAudio\":true,\"GalleryAudio\":true,\"PanoAudio\":true},\"Timestamp\":\"2021-07-04T15:59:59.130Z\",\"ContentVersionId\":\"G7WSfQCgtJB89q1Ljn5D.n5fCALBZOK.\",\"ContentMime\":\"image\/jpeg\",\"Multiresolution\":false,\"ContentId\":\"f3c513ae-deba-4b0d-b650-b0a38b5d2a79\",\"Id\":\"7f4c9a6a-2f0d-4964-90c4-fabc6909475d\"},{\"OrigId\":null,\"Name\":\"disimpegno.effectsResult.jpg\",\"LandingAngle\":null,\"MultiresolutionData\":null,\"MultiresolutionPath\":null,\"Content\":{\"Id\":\"f585f270-b4fe-41c4-aee8-d36161212ca8\",\"OrigId\":null,\"Type\":null,\"Mime\":\"image\/jpeg\",\"VersionId\":\"OBnU5N6IkOqmNBBNnu3pDNdHyqx78Xs_\",\"Timestamp\":\"2021-07-04T15:59:46.450Z\",\"OriginalName\":null,\"Name\":null,\"Size\":null},\"Type\":\"SphericalStereoStandard\",\"Resolution\":5000,\"Order\":null,\"Thumbnail\":{\"Id\":\"1f2181d0-4064-4458-b44d-eb92d2b05cfc\",\"OrigId\":null,\"Type\":\"IMAGE\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"VyDTBZFf4dZBoBpr_IwwLh9eUG91kYSY\",\"Timestamp\":\"2021-07-04T15:59:43.723Z\",\"OriginalName\":null,\"Name\":\"1.A.5.4\",\"Size\":null},\"Preview\":{\"Id\":\"preview-f585f270-b4fe-41c4-aee8-d36161212ca8\",\"OrigId\":null,\"Type\":\"PANO\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"loHtNPdHq2TDeEd9FvfhupPAowdPeFOF\",\"Timestamp\":\"2021-07-04T15:59:41.061Z\",\"OriginalName\":null,\"Name\":\"disimpegno.effectsResult.jpg\",\"Size\":null},\"Depthmap\":null,\"Bgm\":null,\"Warps\":[{\"Id\":\"08457df3-1008-4a6a-ab9b-e90c73bc7d5f\",\"OrigId\":null,\"Longitude\":-134.1800915422758,\"Latitude\":4.1688804037896015,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Camera da letto\",\"DestinationId\":\"dd8fe663-94c6-42a1-b509-23a0508d0f2c\",\"DestinationType\":\"Pano\",\"LandingAngle\":null,\"Style\":null},{\"Id\":\"2c6b113f-5b5d-4e6c-945b-653ca23c9eb4\",\"OrigId\":null,\"Longitude\":-77.0142069117179,\"Latitude\":4.99005002750928,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Bagno\",\"DestinationId\":\"7f4c9a6a-2f0d-4964-90c4-fabc6909475d\",\"DestinationType\":\"Pano\",\"LandingAngle\":null,\"Style\":null},{\"Id\":\"af5afcd7-5f0c-4551-85ae-7ac42bdecc80\",\"OrigId\":null,\"Longitude\":14.380140086480992,\"Latitude\":4.245686864498426,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Soggiorno\",\"DestinationId\":\"6fbfae5b-0300-4ab9-9c1c-af8bc861c2aa\",\"DestinationType\":\"Pano\",\"LandingAngle\":null,\"Style\":null}],\"InfoSpots\":[],\"SoundSpots\":[],\"MediaSpots\":[],\"AnimationSpots\":[],\"AnimationVideoSpots\":[],\"VideoSpots\":[],\"BoundingBoxes\":[],\"TransparentSpots\":[],\"TransparentPublicSpots\":[],\"DepthmapTransparentSpots\":[],\"CustomSettings\":null,\"AudioSettings\":{\"UseDefaults\":true,\"VideoAudio\":true,\"GalleryAudio\":true,\"PanoAudio\":true},\"Timestamp\":\"2021-07-04T15:59:46.450Z\",\"ContentVersionId\":\"OBnU5N6IkOqmNBBNnu3pDNdHyqx78Xs_\",\"ContentMime\":\"image\/jpeg\",\"Multiresolution\":false,\"ContentId\":\"f585f270-b4fe-41c4-aee8-d36161212ca8\",\"Id\":\"83cc0afc-2d11-4f02-84ba-bcedc55b14d2\"}],\"Videos\":[],\"ThumbnailVersionId\":\"rquv1hUtkvo6DKTXHzgPmBWNwf8sA1gO\",\"ThumbnailTimestamp\":\"2021-07-04T16:05:26.746Z\",\"ThumbnailId\":\"f5945853-67fd-4e2f-96c5-457297cd6ae7\",\"ThumbnailMime\":\"image\/jpeg\",\"ShareableType\":\"GALLERY\",\"Id\":\"4d5db8ee-3a41-4065-8bc7-4c1229f68d85\"}],\"Projects\":[],\"ExtendedView\":null,\"CustomSettings\":{\"ContentUrl\":\"https:\/\/irl-sec-theviewer-stage-prod.s3-accelerate.amazonaws.com\/rendergraph.viewer.01@gmail.com\/\",\"Logo\":{\"Id\":\"51b9bb8f-55e6-441f-bca4-69fb68785769\",\"OrigId\":null,\"Type\":\"IMAGE\",\"Mime\":\"image\/png\",\"VersionId\":\"2ItWhMMnFix4WXOsSGQmW4kp4qI.gLqZ\",\"Timestamp\":\"2019-06-17T17:35:44.828Z\",\"OriginalName\":\"Logo_CMB2_per_Theviewer.png\",\"Name\":\"uploadContent\",\"Size\":99149,\"BeanVersion\":4,\"CreationDate\":1560791662458,\"LastUpdateDate\":1560792944875},\"SplashScreen\":null,\"SplashScreenPortrait\":null,\"LandingPano\":null,\"Warp\":null,\"Warp2\":null,\"FloorplanSpot\":null,\"InfoSpot\":null,\"Watermark\":null,\"ImageSpot\":null,\"VideoSpot\":null,\"ViewerSettings\":{\"Fov\":\"90\",\"FovMax\":\"90\",\"FovMin\":\"90\",\"Zoom\":false,\"Autorotate\":false,\"AutorotateDelay\":12,\"KeybRotateSpeed\":10.0,\"HeatmapActivated\":null,\"AnalyticsWebActivated\":true,\"AnalyticsNativeActivated\":null,\"SharedExpPerUser\":false,\"AllowVR\":false,\"SidePanel\":false,\"NavigatorAutoCenter\":false,\"FacebookName\":null,\"TransitionAnimation\":\"BLEND(1, easeInCubic)\",\"InfoSpotWidth\":\"200\",\"LikesActivated\":false,\"ShareLinkProtected\":false},\"SidePanelSettings\":{\"ViewMode\":null},\"GeneralSpaceSettings\":{\"SortType\":\"DATE ASC\"},\"Timestamp\":null},\"StatusCode\":0,\"Tier\":\"studio\",\"UserInfo\":{\"Tier\":\"studio\",\"TierLevel\":\"2000\",\"Name\":\"rendergraph.viewer.01@gmail.com\",\"Locale\":\"it\",\"RootSpaceId\":\"8ac33a4c-a8d6-4de3-9baf-ae8a22370978\",\"PhotonRegion\":\"eu\",\"Hash\":null,\"ProfileInfo\":{\"Id\":\"1662540e-dd8a-49e7-a7c1-d347add98b31\",\"ContentUrl\":\"https:\/\/irl-sec-theviewer-stage-prod.s3-accelerate.amazonaws.com\/rendergraph.viewer.01@gmail.com\/\",\"Logo\":{\"Id\":\"51b9bb8f-55e6-441f-bca4-69fb68785769\",\"OrigId\":null,\"Type\":\"IMAGE\",\"Mime\":\"image\/png\",\"VersionId\":\"2ItWhMMnFix4WXOsSGQmW4kp4qI.gLqZ\",\"Timestamp\":\"2019-06-17T17:35:44.828Z\",\"OriginalName\":\"Logo_CMB2_per_Theviewer.png\",\"Name\":\"uploadContent\",\"Size\":99149,\"BeanVersion\":4,\"CreationDate\":1560791662458,\"LastUpdateDate\":1560792944875},\"SplashScreen\":null,\"SplashScreenPortrait\":null,\"LandingPano\":null,\"Warp\":null,\"Warp2\":null,\"FloorplanSpot\":null,\"InfoSpot\":null,\"Watermark\":null,\"ImageSpot\":null,\"VideoSpot\":null,\"FovMin\":\"90\",\"FovMax\":\"90\",\"Fov\":\"90\",\"Zoom\":false,\"Autorotate\":false,\"HeatmapActivated\":null,\"AnalyticsNativeActivated\":null,\"AnalyticsWebActivated\":true,\"SharedExpPerUser\":false,\"AllowVR\":false,\"SidePanel\":false,\"NavigatorAutoCenter\":false,\"TransitionAnimation\":\"BLEND(1, easeInCubic)\",\"InfoSpotWidth\":null,\"AutorotateDelay\":12,\"KeybRotateSpeed\":null,\"LikesActivated\":null,\"GeneralSpaceSettings\":{\"SortType\":\"DATE ASC\"},\"Trial\":false},\"UserStatus\":\"ACTIVE\",\"PublicId\":\"09033985-2923-41b8-bbbb-8906fcfbf2ce\",\"Email\":\"rendergraph.viewer.01@gmail.com\",\"Organization\":false,\"MainOrganization\":{\"Code\":\"rendergraph.viewer.01@gmail.com\",\"Name\":\"rendergraph.viewer.01@gmail.com\",\"SpaceId\":\"8ac33a4c-a8d6-4de3-9baf-ae8a22370978\"},\"AllUserOrganizations\":null,\"UserFullName\":\"RENDERGRAPH\",\"Trial\":false},\"ShareableType\":\"PROJECT\"}'; theViewerParams.isSharedExperienceAvailable = embededObj.options.isSharedExperienceAvailable; theViewerParams.isFullScreenAvailable = embededObj.options.isFullScreenAvailable; theViewerParams.isVrModeAvailable = embededObj.options.isVrModeAvailable; if (embededObj.options.isShareNativeAvailable) { theViewerParams.SpaceId = '09033985-2923-41b8-bbbb-8906fcfbf2ce'; } if (embededObj.parentDiv.id === "") { embededObj.parentDiv.id = embededObj.galleryId; } var krpanoViewerObj = new embededObj.krpanoViewer(embededObj.parentDiv.id, 'krpano-' + utils.generateId(), embededObj.options); var krpanoViewerProxyObj = new embededObj.theViewerProxy(krpanoViewerObj); registerProxy(krpanoViewerObj, krpanoViewerProxyObj); share.runShare(theViewerParams, krpanoViewerObj, krpanoViewerProxyObj); embededObj.appendGtmIframe(); socialCounters.increaseViewCount(embededObj.galleryId, embededObj.getCurrentScript()); }); }); } function registerProxy(krpanoViewer, theVProxy) { if (!window.theViewerProxy) { var map = {}; theVProxy.krpanoViewer = krpanoViewer; map[krpanoViewer.krpanoId] = theVProxy; window.theViewerProxy = { map : map, get : function(id) { return function(mp) { thev = mp[id].krpanoViewer; return mp[id]; }(map); }, set : function(key, value) { this.map[key] = value; } } } else { theVProxy.krpanoViewer = krpanoViewer; window.theViewerProxy.set(krpanoViewer.krpanoId, theVProxy); } } window.fireEventIfConsentGiven = function (eventType, eventData, callback){ if(window.theViewer && window.theViewer.event && window.theViewer.event.fireEvent){ window.theViewer.event.fireEvent(eventType, eventData, callback); } if (typeof callback !== 'undefined'){ callback(); } } window.initDeferredViewerAnalytics = function(callback){ let eventRequireScript = document.createElement('script'); eventRequireScript.id = "theViewer-analytics"; eventRequireScript.async = true; eventRequireScript.src = embededObj.getCurrentScript() + 'html/theViewer/script/req/eventRequiresDeferred.js?buildTimestamp=' + Date.now(); document.head.appendChild(eventRequireScript); if (typeof callback !== 'undefined'){ callback(); } } window.initDeferredViewerAnalytics = function(callback){ let eventRequireScript = document.createElement('script'); eventRequireScript.id = "theViewer-analytics"; eventRequireScript.async = true; eventRequireScript.src = embededObj.getCurrentScript() + 'html/theViewer/script/req/eventRequiresDeferred.js?buildTimestamp=' + Date.now(); document.head.appendChild(eventRequireScript); if (typeof callback !== 'undefined'){ callback(); } } EmbeddedVR.init.prototype = EmbeddedVR.prototype; embededObj = EmbeddedVR(); embededObj .resolveCurrentScriptUrl(); })();