(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/recentspaces@gmail.com/bfb15962-b1bd-491b-8a18-0d0afdfbb827/66db9aa8-28a1-47fe-ac8d-2dd7478c6ae6?timestamp=2023-02-02T09:37:22.889Z'; this.galleryId = 'bfb15962-b1bd-491b-8a18-0d0afdfbb827'; this.options = { isFullScreenAvailable : true, isThumbnailAvailable : false, isShareNativeAvailable : true, 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=bfb15962-b1bd-491b-8a18-0d0afdfbb827&spaceId=e99dffda-dafb-47d8-8050-19e28c9b3d70'; 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\":\"The Rowe\",\"Description\":null,\"ContentUrl\":\"https:\/\/irl-sec-theviewer-stage-prod.s3-accelerate.amazonaws.com\/recentspaces@gmail.com\/\",\"SpaceName\":\"recentspaces@gmail.com\",\"SpaceType\":\"UserSpace\",\"Order\":null,\"Timestamp\":\"2023-08-22T08:28:01.629664561Z\",\"ThumbnailContent\":{\"Id\":\"66db9aa8-28a1-47fe-ac8d-2dd7478c6ae6\",\"OrigId\":null,\"Type\":\"IMAGE\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"3BIfJla3qSUXIQ2DSw8SDe7pD1EUrFjK\",\"Timestamp\":\"2023-02-02T09:37:22.889Z\",\"OriginalName\":null,\"Name\":\"The Rowe\",\"Size\":null},\"CustomSettings\":{\"ContentUrl\":\"https:\/\/irl-sec-theviewer-stage-prod.s3-accelerate.amazonaws.com\/recentspaces@gmail.com\/\",\"Logo\":{\"Id\":\"d00c4f17-9982-4f23-8b15-f707e4ec2ec1\",\"OrigId\":null,\"Type\":\"IMAGE\",\"Mime\":\"image\/png\",\"VersionId\":null,\"Timestamp\":\"2023-02-02T10:02:57.409Z\",\"OriginalName\":\"the_rowe_small.png\",\"Name\":\"uploadContent\",\"Size\":17354},\"SplashScreen\":null,\"SplashScreenPortrait\":null,\"LandingPano\":null,\"Warp\":null,\"Warp2\":null,\"FloorplanSpot\":null,\"InfoSpot\":null,\"Watermark\":{\"Id\":\"f84f7089-5097-4b95-a110-a008afe9b75a\",\"OrigId\":null,\"Type\":\"IMAGE\",\"Mime\":\"image\/png\",\"VersionId\":null,\"Timestamp\":\"2023-02-02T09:48:55.322Z\",\"OriginalName\":\"RS001_WORDMARK_SMALL_WHITE_WATERMARK.png\",\"Name\":\"uploadContent\",\"Size\":3414},\"ImageSpot\":null,\"VideoSpot\":null,\"ViewerSettings\":{\"Fov\":null,\"FovMax\":null,\"FovMin\":null,\"Zoom\":null,\"Autorotate\":null,\"AutorotateDelay\":null,\"KeybRotateSpeed\":null,\"HeatmapActivated\":null,\"AnalyticsWebActivated\":null,\"AnalyticsNativeActivated\":null,\"SharedExpPerUser\":null,\"AllowVR\":null,\"SidePanel\":null,\"NavigatorAutoCenter\":null,\"FacebookName\":null,\"TransitionAnimation\":null,\"InfoSpotWidth\":null,\"LikesActivated\":false,\"ShareLinkProtected\":null},\"SidePanelSettings\":{\"ViewMode\":null},\"GeneralSpaceSettings\":{\"SortType\":null},\"Timestamp\":\"2023-08-22T08:29:14.969876782Z\"},\"ExtendedView\":null,\"Archived\":false,\"MiniMap\":null,\"Bgm\":null,\"Panos\":[{\"OrigId\":null,\"Name\":\"0179_360_Entrance_Final_Image-SRGB-Full_optimised.jpg\",\"LandingAngle\":null,\"MultiresolutionData\":null,\"MultiresolutionPath\":null,\"Content\":{\"Id\":\"83f941cc-2011-4401-a624-6f8a48e17d7e\",\"OrigId\":null,\"Type\":null,\"Mime\":\"image\/jpeg\",\"VersionId\":\"DPZfkeiRGVcGAZQZXVamc7_FCQCtppWf\",\"Timestamp\":\"2023-02-02T09:37:22.889Z\",\"OriginalName\":null,\"Name\":null,\"Size\":null},\"Type\":\"SphericalMonoStandard\",\"Resolution\":8000,\"Order\":null,\"Thumbnail\":{\"Id\":\"48dcd722-648a-49fa-999e-fd38e7ac961d\",\"OrigId\":null,\"Type\":\"IMAGE\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"4oY1K0h2dsf0aVZZkmtDAtnrdoTs6.IC\",\"Timestamp\":\"2023-02-02T09:37:20.607Z\",\"OriginalName\":null,\"Name\":\"The Rowe\",\"Size\":null},\"Preview\":{\"Id\":\"preview-83f941cc-2011-4401-a624-6f8a48e17d7e\",\"OrigId\":null,\"Type\":\"PANO\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"9WhWlEibD3gkZXe3mjiO5yuSjXEb0_YP\",\"Timestamp\":\"2023-02-02T09:37:18.787Z\",\"OriginalName\":null,\"Name\":\"0179_360_Entrance_Final_Image-SRGB-Full_optimised.jpg\",\"Size\":null},\"Depthmap\":null,\"Bgm\":null,\"Warps\":[{\"Id\":\"5cc314b6-43ed-4621-9b7c-cdd90fda28f0\",\"OrigId\":null,\"Longitude\":-1.1934894239820437,\"Latitude\":-9.547371607606944,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"CAFE\",\"DestinationId\":\"5c00b7b6-d7a3-4cdb-9cfa-01a635fb5d66\",\"DestinationType\":\"Pano\",\"LandingAngle\":0.25,\"Style\":null},{\"Id\":\"92521575-6f23-45fc-8441-1c4bf5eb5a4c\",\"OrigId\":null,\"Longitude\":-105.85822675961515,\"Latitude\":-1.2355353769900044,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Office Floor\",\"DestinationId\":\"ad2ea024-e513-49b6-a3af-b732dde13929\",\"DestinationType\":\"Pano\",\"LandingAngle\":30.53040730089062,\"Style\":null}],\"InfoSpots\":[],\"SoundSpots\":[],\"MediaSpots\":[],\"AnimationSpots\":[],\"AnimationVideoSpots\":[],\"VideoSpots\":[],\"BoundingBoxes\":[],\"TransparentSpots\":[],\"TransparentPublicSpots\":[],\"DepthmapTransparentSpots\":[],\"CustomSettings\":null,\"AudioSettings\":{\"UseDefaults\":true,\"VideoAudio\":true,\"GalleryAudio\":true,\"PanoAudio\":true},\"Timestamp\":\"2023-02-02T09:37:22.889Z\",\"ContentId\":\"83f941cc-2011-4401-a624-6f8a48e17d7e\",\"Multiresolution\":false,\"ContentVersionId\":\"DPZfkeiRGVcGAZQZXVamc7_FCQCtppWf\",\"ContentMime\":\"image\/jpeg\",\"Id\":\"0bed8218-6b0b-4917-941e-6abe3d791bf9\"},{\"OrigId\":null,\"Name\":\"CAM_360_KITCHEN.0000-Recovered.jpg\",\"LandingAngle\":null,\"MultiresolutionData\":\"512,640,1280,2560\",\"MultiresolutionPath\":\"%s\/l%l\/%v\/l%l_%s_%v_%h\",\"Content\":{\"Id\":\"eacca0f6-f990-4f4f-91bf-5a8db0dc9f9a\",\"OrigId\":null,\"Type\":null,\"Mime\":\"image\/jpeg\",\"VersionId\":\"oqfx1Mc2uSOV1w5ltbNegmSDxKS4Q042\",\"Timestamp\":\"2023-08-22T08:24:52.161705211Z\",\"OriginalName\":null,\"Name\":null,\"Size\":null},\"Type\":\"SphericalMonoStandard\",\"Resolution\":8000,\"Order\":null,\"Thumbnail\":{\"Id\":\"721ca597-ad41-4b77-9278-06df635f1dac\",\"OrigId\":null,\"Type\":\"IMAGE\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"B7rQ.dSxQIY97jgfNBjIl8rxy8rDbJ5i\",\"Timestamp\":\"2023-08-22T08:22:56.366267398Z\",\"OriginalName\":null,\"Name\":\"The Rowe\",\"Size\":null},\"Preview\":{\"Id\":\"preview-eacca0f6-f990-4f4f-91bf-5a8db0dc9f9a\",\"OrigId\":null,\"Type\":\"PANO\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"AGZSDEAvn6hlT_gaZBd3CWbx86yC6XOY\",\"Timestamp\":\"2023-08-22T08:24:52.102071134Z\",\"OriginalName\":null,\"Name\":\"CAM_360_KITCHEN.0000-Recovered.jpg\",\"Size\":null},\"Depthmap\":null,\"Bgm\":null,\"Warps\":[{\"Id\":\"0bab7c64-2e51-484b-80f7-378f8a5c7d81\",\"OrigId\":null,\"Longitude\":-101.49785378390561,\"Latitude\":-1.7948907156253457,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Office\",\"DestinationId\":\"ad2ea024-e513-49b6-a3af-b732dde13929\",\"DestinationType\":\"Pano\",\"LandingAngle\":208.07004923442398,\"Style\":null},{\"Id\":\"4e6ec42f-3bf7-4616-8a32-781cc8442a6e\",\"OrigId\":null,\"Longitude\":60.004644590019325,\"Latitude\":-1.1690297774547238,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Entrance\",\"DestinationId\":\"0bed8218-6b0b-4917-941e-6abe3d791bf9\",\"DestinationType\":\"Pano\",\"LandingAngle\":89.92136211218839,\"Style\":null}],\"InfoSpots\":[],\"SoundSpots\":[],\"MediaSpots\":[],\"AnimationSpots\":[],\"AnimationVideoSpots\":[],\"VideoSpots\":[],\"BoundingBoxes\":[],\"TransparentSpots\":[],\"TransparentPublicSpots\":[],\"DepthmapTransparentSpots\":[],\"CustomSettings\":null,\"AudioSettings\":{\"UseDefaults\":true,\"VideoAudio\":true,\"GalleryAudio\":true,\"PanoAudio\":true},\"Timestamp\":\"2023-08-22T08:24:52.161705211Z\",\"ContentId\":\"eacca0f6-f990-4f4f-91bf-5a8db0dc9f9a\",\"Multiresolution\":true,\"ContentVersionId\":\"oqfx1Mc2uSOV1w5ltbNegmSDxKS4Q042\",\"ContentMime\":\"image\/jpeg\",\"Id\":\"65a68dbd-0867-424e-8037-9f66d90df4fd\"},{\"OrigId\":null,\"Name\":\"Cam_Corner_360_02.jpg\",\"LandingAngle\":null,\"MultiresolutionData\":null,\"MultiresolutionPath\":null,\"Content\":{\"Id\":\"9b93876c-5a6c-46a6-8736-7000b3d30078\",\"OrigId\":null,\"Type\":null,\"Mime\":\"image\/jpeg\",\"VersionId\":\"RmjC11cQ2EfwnWkgYMqVTC9pbjT5Z0lo\",\"Timestamp\":\"2023-08-22T08:22:25.842413683Z\",\"OriginalName\":null,\"Name\":null,\"Size\":null},\"Type\":\"SphericalMonoStandard\",\"Resolution\":8000,\"Order\":null,\"Thumbnail\":{\"Id\":\"c1079c99-07ac-45f6-af6c-c7993bc25d18\",\"OrigId\":null,\"Type\":\"IMAGE\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"HolQkFf3whfQh.309fmkNCbAPvIN0nks\",\"Timestamp\":\"2023-08-22T08:22:25.842386283Z\",\"OriginalName\":null,\"Name\":\"The Rowe\",\"Size\":null},\"Preview\":{\"Id\":\"preview-9b93876c-5a6c-46a6-8736-7000b3d30078\",\"OrigId\":null,\"Type\":\"PANO\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"6MYu5nQXZgNbWliER7G1IA_pKrILeCbd\",\"Timestamp\":\"2023-08-22T08:22:20.111587561Z\",\"OriginalName\":null,\"Name\":\"Cam_Corner_360_02.jpg\",\"Size\":null},\"Depthmap\":null,\"Bgm\":null,\"Warps\":[{\"Id\":\"33139f43-df7b-4acd-ab92-7e1f7ffc0a92\",\"OrigId\":null,\"Longitude\":29.154740644289006,\"Latitude\":-2.5387012952187265,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Kitchen\",\"DestinationId\":\"65a68dbd-0867-424e-8037-9f66d90df4fd\",\"DestinationType\":\"Pano\",\"LandingAngle\":93.92514794110168,\"Style\":null}],\"InfoSpots\":[],\"SoundSpots\":[],\"MediaSpots\":[],\"AnimationSpots\":[],\"AnimationVideoSpots\":[],\"VideoSpots\":[],\"BoundingBoxes\":[],\"TransparentSpots\":[],\"TransparentPublicSpots\":[],\"DepthmapTransparentSpots\":[],\"CustomSettings\":null,\"AudioSettings\":{\"UseDefaults\":true,\"VideoAudio\":true,\"GalleryAudio\":true,\"PanoAudio\":true},\"Timestamp\":\"2023-08-22T08:22:25.842413683Z\",\"ContentId\":\"9b93876c-5a6c-46a6-8736-7000b3d30078\",\"Multiresolution\":false,\"ContentVersionId\":\"RmjC11cQ2EfwnWkgYMqVTC9pbjT5Z0lo\",\"ContentMime\":\"image\/jpeg\",\"Id\":\"ad2ea024-e513-49b6-a3af-b732dde13929\"},{\"OrigId\":null,\"Name\":\"0179_360_Cafe_Final_Image-SRGB-Full_optimised.jpg\",\"LandingAngle\":null,\"MultiresolutionData\":null,\"MultiresolutionPath\":null,\"Content\":{\"Id\":\"a9a3b45a-c36c-4ce9-8cbf-d40ee29cdd5c\",\"OrigId\":null,\"Type\":null,\"Mime\":\"image\/jpeg\",\"VersionId\":\"TsDAwsvy60RS8qxQgPxVPoxHy2v8Gdql\",\"Timestamp\":\"2023-02-02T09:37:28.213Z\",\"OriginalName\":null,\"Name\":null,\"Size\":null},\"Type\":\"SphericalMonoStandard\",\"Resolution\":8000,\"Order\":null,\"Thumbnail\":{\"Id\":\"4a3753eb-c0b4-49bd-aaf4-b4dbbd16d90e\",\"OrigId\":null,\"Type\":\"IMAGE\",\"Mime\":\"image\/jpeg\",\"VersionId\":\".Bzog7xgVurpLYbHyLw13iPRlCncV5xw\",\"Timestamp\":\"2023-02-02T09:37:28.213Z\",\"OriginalName\":null,\"Name\":\"The Rowe\",\"Size\":null},\"Preview\":{\"Id\":\"preview-a9a3b45a-c36c-4ce9-8cbf-d40ee29cdd5c\",\"OrigId\":null,\"Type\":\"PANO\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"Yf3xb1Pv_tzYdesEIZbl7eGftiga.mIn\",\"Timestamp\":\"2023-02-02T09:37:26.337Z\",\"OriginalName\":null,\"Name\":\"0179_360_Cafe_Final_Image-SRGB-Full_optimised.jpg\",\"Size\":null},\"Depthmap\":null,\"Bgm\":null,\"Warps\":[{\"Id\":\"c1809489-7a43-4ddf-af05-a9ceda3a9e7c\",\"OrigId\":null,\"Longitude\":-90.39321693108792,\"Latitude\":-11.388056604538743,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"ENTRANCE\",\"DestinationId\":\"0bed8218-6b0b-4917-941e-6abe3d791bf9\",\"DestinationType\":\"Pano\",\"LandingAngle\":-0.25,\"Style\":null},{\"Id\":\"da885a68-6c84-41b7-9331-167511d433cb\",\"OrigId\":null,\"Longitude\":-55.43040684043632,\"Latitude\":-0.5517259563105397,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Office Floor\",\"DestinationId\":\"ad2ea024-e513-49b6-a3af-b732dde13929\",\"DestinationType\":\"Pano\",\"LandingAngle\":29.39843559412987,\"Style\":null}],\"InfoSpots\":[],\"SoundSpots\":[],\"MediaSpots\":[],\"AnimationSpots\":[],\"AnimationVideoSpots\":[],\"VideoSpots\":[],\"BoundingBoxes\":[],\"TransparentSpots\":[],\"TransparentPublicSpots\":[],\"DepthmapTransparentSpots\":[],\"CustomSettings\":null,\"AudioSettings\":{\"UseDefaults\":true,\"VideoAudio\":true,\"GalleryAudio\":true,\"PanoAudio\":true},\"Timestamp\":\"2023-02-02T09:37:28.213Z\",\"ContentId\":\"a9a3b45a-c36c-4ce9-8cbf-d40ee29cdd5c\",\"Multiresolution\":false,\"ContentVersionId\":\"TsDAwsvy60RS8qxQgPxVPoxHy2v8Gdql\",\"ContentMime\":\"image\/jpeg\",\"Id\":\"5c00b7b6-d7a3-4cdb-9cfa-01a635fb5d66\"}],\"Videos\":[],\"ThumbnailId\":\"66db9aa8-28a1-47fe-ac8d-2dd7478c6ae6\",\"ThumbnailTimestamp\":\"2023-02-02T09:37:22.889Z\",\"ShareableType\":\"GALLERY\",\"ThumbnailMime\":\"image\/jpeg\",\"ThumbnailVersionId\":\"3BIfJla3qSUXIQ2DSw8SDe7pD1EUrFjK\",\"Id\":\"bfb15962-b1bd-491b-8a18-0d0afdfbb827\"}],\"Projects\":[],\"ExtendedView\":null,\"CustomSettings\":null,\"StatusCode\":0,\"Tier\":\"premium\",\"UserInfo\":{\"Tier\":\"premium\",\"TierLevel\":\"1500\",\"Name\":\"recentspaces@gmail.com\",\"Locale\":null,\"RootSpaceId\":\"e99dffda-dafb-47d8-8050-19e28c9b3d70\",\"PhotonRegion\":\"eu\",\"Hash\":null,\"ProfileInfo\":{\"Id\":\"e4a30b14-ceb2-4771-a328-b08e8c75e90c\",\"ContentUrl\":\"https:\/\/irl-sec-theviewer-stage-prod.s3-accelerate.amazonaws.com\/recentspaces@gmail.com\/\",\"Logo\":null,\"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\":false,\"SharedExpPerUser\":false,\"AllowVR\":false,\"SidePanel\":false,\"NavigatorAutoCenter\":false,\"TransitionAnimation\":\"BLEND(1, easeInCubic)\",\"InfoSpotWidth\":null,\"AutorotateDelay\":12,\"KeybRotateSpeed\":null,\"LikesActivated\":null,\"GeneralSpaceSettings\":{\"SortType\":null},\"Trial\":false},\"UserStatus\":\"ACTIVE\",\"PublicId\":\"e99dffda-dafb-47d8-8050-19e28c9b3d70\",\"Email\":\"recentspaces@gmail.com\",\"Organization\":false,\"MainOrganization\":{\"Code\":\"recentspaces@gmail.com\",\"Name\":\"recentspaces@gmail.com\",\"SpaceId\":\"e99dffda-dafb-47d8-8050-19e28c9b3d70\"},\"AllUserOrganizations\":null,\"UserFullName\":\"recentspaces@gmail.com\",\"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 = 'e99dffda-dafb-47d8-8050-19e28c9b3d70'; } 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(); })();