{"id":5861,"date":"2024-10-24T22:26:12","date_gmt":"2024-10-24T20:26:12","guid":{"rendered":"https:\/\/www.leschambres.it\/?page_id=5861"},"modified":"2024-10-25T20:23:36","modified_gmt":"2024-10-25T18:23:36","slug":"santa-teresa-a-360","status":"publish","type":"page","link":"https:\/\/www.leschambres.it\/index.php\/santa-teresa-a-360\/","title":{"rendered":"Santa Teresa a 360"},"content":{"rendered":"<style>#pano5880 div.pnlm-orientation-button {\n                    display: none;\n                }\n            .wpvr-floor-map .floor-plan-pointer.add-pulse:before {\n                border: 17px solid #cca92c;\n            }\n            @-webkit-keyframes pulse {\n                0% {\n                    -webkit-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0.7);\n                }\n                70% {\n                    -webkit-box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);\n                }\n                100% {\n                    -webkit-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);\n                }\n            }\n            @keyframes pulse {\n                0% {\n                    -moz-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0.7);\n                    box-shadow: 0 0 0 0 rgba(204, 169, 44, 0.7);\n                }\n                70% {\n                    -moz-box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);\n                    box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);\n                }\n                100% {\n                    -moz-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);\n                    box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);\n                }\n            }<\/style><div id=\"master-container\" class=\"wpvr-cardboard  \" style=\"max-width:600px; width: 100%; height: 400px; border-radius:0px; direction:ltr; border : 0px none none\"><div id=\"pano25880\" class=\"pano-wrap pano-left\" style=\"width: 49%; border-radius:0px;\"><div id=\"center-pointer25880\" class=\"vr-pointer-container\"><span class=\"center-pointer\"><\/span><\/div><\/div><div id=\"pano5880\" class=\"pano-wrap pano-right\" style=\"width: 100%; border-radius:0px;\"><div class=\"explainer\" id=\"explainer5880\" style=\"display: none\"><span class=\"close-explainer-video\"><i class=\"fa fa-times\"><\/i><\/span><\/div><div class=\"wpvr-floor-map\" id=\"wpvr-floor-map5880\" style=\"display: none\"><span class=\"close-floor-map-plan\"><i class=\"fa fa-times\"><\/i><\/span><img loading=\"lazy\" src=\"\"><\/div><div class=\"wpvr-hotspot-tweak-contents-wrapper\" style=\"display: none\"><i class=\"fa fa-times cross\" data-id=\"5880\"><\/i><div class=\"wpvr-hotspot-tweak-contents-flex\"><div class=\"wpvr-hotspot-tweak-contents\"><\/div><\/div><\/div><div class=\"custom-ifram-wrapper\" style=\"display: none;\"><i class=\"fa fa-times cross\" data-id=\"5880\"><\/i><div class=\"custom-ifram-flex\"><div class=\"custom-ifram\"><\/div><\/div><\/div><\/div><\/div><script>jQuery(document).ready(function() {var response = [{\"panoid\":\"pano5880\"},{\"autoLoad\":true,\"showControls\":true,\"compass\":false,\"orientationOnByDefault\":false,\"mouseZoom\":true,\"draggable\":true,\"disableKeyboardCtrl\":false,\"keyboardZoom\":true,\"preview\":\"\",\"default\":{\"firstScene\":\"g8f6PS0X\",\"sceneFadeDuration\":\"\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50},\"scenes\":{\"g8f6PS0X\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.leschambres.it\\\/wp-content\\\/uploads\\\/2024\\\/10\\\/IMG_20241012_171303_348-scaled.jpeg\",\"pitch\":null,\"yaw\":null,\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"vaov\":180,\"haov\":360,\"hotSpots\":[]}}}];var scenes = response[1];if(scenes) {var scenedata = scenes.scenes;for(var i in scenedata) {var scenehotspot = scenedata[i].hotSpots;for(var i = 0; i < scenehotspot.length; i++) {if(scenehotspot[i][\"clickHandlerArgs\"] != \"\") {scenehotspot[i][\"clickHandlerFunc\"] = wpvrhotspot;}if(scenehotspot[i][\"createTooltipArgs\"] != \"\") {scenehotspot[i][\"createTooltipFunc\"] = wpvrtooltip;}}}}var panoshow5880 = pannellum.viewer(response[0][\"panoid\"], scenes);var response_duplicate = [{\"panoid\":\"pano5880\"},{\"autoLoad\":true,\"showControls\":true,\"compass\":false,\"orientationOnByDefault\":false,\"mouseZoom\":true,\"draggable\":true,\"disableKeyboardCtrl\":false,\"keyboardZoom\":true,\"preview\":\"\",\"default\":{\"firstScene\":\"g8f6PS0X\",\"sceneFadeDuration\":\"\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50},\"scenes\":{\"g8f6PS0X\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/www.leschambres.it\\\/wp-content\\\/uploads\\\/2024\\\/10\\\/IMG_20241012_171303_348-scaled.jpeg\",\"pitch\":null,\"yaw\":null,\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"vaov\":180,\"haov\":360,\"hotSpots\":[]}},\"autoRotate\":false}];var scenes_duplicate = response_duplicate[1];if(scenes_duplicate) {var scenedata = scenes_duplicate.scenes;for(var i in scenedata) {var scenehotspot = scenedata[i].hotSpots;for(var i = 0; i < scenehotspot.length; i++) {if(scenehotspot[i][\"clickHandlerArgs\"] != \"\") {scenehotspot[i][\"clickHandlerFunc\"] = wpvrhotspot;}if(scenehotspot[i][\"createTooltipArgs\"] != \"\") {scenehotspot[i][\"createTooltipFunc\"] = wpvrtooltip;}}}}var vr_mode = \"off\";jQuery(\"#pano5880 .wpvr-floor-map .floor-plan-pointer\").on(\"click\",function(){\n           var scene_id = jQuery(this).attr(\"scene_id\");\n           panoshow5880.loadScene(scene_id)\n           jQuery(\".floor-plan-pointer\").removeClass(\"add-pulse\")\n           jQuery(this).addClass(\"add-pulse\")\n    });\n    panoshow5880.on(\"mousemove\", function (data){\n        jQuery(\".add-pulse\").css({\"transform\":\"rotate(\"+data.yaw+\"deg)\"});\n    });\npanoshow5880.on(\"load\", function (){\n    \n\/\/              if(localStorage.getItem(\"vr_mode\") == \"off\") {\n               if( vr_mode == \"off\") {\n                  jQuery(\".vr-mode-title\").hide();\n             } \n             else {\n                jQuery(\"#pano25880 .pnlm-compass.pnlm-controls.pnlm-control\").css(\"display\",\"none\");\n                jQuery(\"#pano5880 .pnlm-compass.pnlm-controls.pnlm-control\").css(\"display\",\"none\");\n                jQuery(\"#pano25880 .pnlm-panorama-info\").hide();\n                jQuery(\"#pano5880 .pnlm-panorama-info\").hide();\n                jQuery(\".vr-mode-title\").show();\n             }\n             \n    \n          if (jQuery(\"#pano5880\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n               jQuery(\"#controls5880\").css(\"bottom\", \"55px\");\n           }\n           else {\n             jQuery(\"#controls5880\").css(\"bottom\", \"5px\");\n           }\n        });\n        if (scenes.autoRotate) {\n          panoshow5880.on(\"load\", function (){\n           setTimeout(function(){ panoshow5880.startAutoRotate(scenes.autoRotate, 0); }, 3000);\n          });\n          panoshow5880.on(\"scenechange\", function (){\n           setTimeout(function(){ panoshow5880.startAutoRotate(scenes.autoRotate, 0); }, 3000);\n          });\n        }\n        var touchtime = 0;\n    jQuery(document).on(\"click\",\"#explainer_button_5880\",function() {\n        jQuery(\"#explainer5880\").slideToggle();\n        \/\/ jQuery(\".explainer\").slideToggle();\n      });\n\n      jQuery(document).on(\"click\",\".close-explainer-video\",function() {\n        jQuery(this).parent(\".explainer\").hide();\n      });\n      jQuery(document).on(\"click\",\"#pano5880\",function(event) {\n        var isActiveModal = event.target.closest(\".custom-ifram-wrapper\");\n        var isForm = event.target.closest(\".wpvr-hotspot-tweak-contents\");\n        if( isActiveModal == null && isForm == null){\n             jQuery(\".custom-ifram-wrapper\").hide();\n             jQuery(this).removeClass(\"show-modal\");\n             jQuery(\".wpvr-hotspot-tweak-contents-wrapper\").hide(\"show-modal\");\n        }else if(isForm != null){\n            jQuery(this).addClass(\"show-modal\");\n        }\n      });\n\n    \n    jQuery(document).on(\"click\",\"#floor_map_button_5880\",function() {\n        jQuery(\"#wpvr-floor-map5880\").toggle().removeClass(\"fullwindow\");\n      });\n\n      jQuery(document).on(\"dblclick\",\"#wpvr-floor-map5880\",function(){\n        jQuery(this).addClass(\"fullwindow\");\n        jQuery(this).parents(\".pano-wrap\").addClass(\"show-modal\");\n      });\n      \n      jQuery(document).on(\"click\",\".close-floor-map-plan\",function() {\n        jQuery(this).parent(\".wpvr-floor-map\").hide();\n        jQuery(this).parent(\".wpvr-floor-map\").removeClass(\"fullwindow\");\n        jQuery(this).parents(\".pano-wrap\").removeClass(\"show-modal\");\n      });\n\n    \n          jQuery(document).ready(function($){\n            jQuery(\"#sccontrols5880\").hide();\n            jQuery(\".wpvr_slider_nav\").hide();\n              jQuery(\".vrgctrl5880\").html('<i class=\"fa fa-angle-up\"><\/i>');\n          });\n          \n          var slide5880 = \"down\";\n          jQuery(document).on(\"click\",\"#vrgcontrols5880\",function() {\n\n            if (slide5880 == \"up\") {\n              jQuery(\".vrgctrl5880\").empty();\n              jQuery(\".vrgctrl5880\").html('<i class=\"fa fa-angle-up\"><\/i>');\n              slide5880 = \"down\";\n            }\n            else {\n              jQuery(\".vrgctrl5880\").empty();\n              jQuery(\".vrgctrl5880\").html('<i class=\"fa fa-angle-down\"><\/i>');\n              slide5880 = \"up\";\n            }\n            jQuery(\".wpvr_slider_nav\").slideToggle();\n            jQuery(\"#sccontrols5880\").slideToggle();\n          });\n          \n        jQuery(\"#pano5880\").children(\".pnlm-ui\").find(\".pnlm-load-button p\").text(\"Click To Load Panorama\")\n        jQuery(\"#pano5880 .pnlm-title-box\").on(\"mouseenter\", function(){\n                jQuery(this).attr(\"title\", jQuery(this).text());\n            });\n            jQuery(\"#pano5880 .pnlm-title-box\").on(\"mouseleave\", function(){\n                jQuery(this).removeAttr(\"title\");\n            });});<\/script>","protected":false},"excerpt":{"rendered":"","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/www.leschambres.it\/index.php\/wp-json\/wp\/v2\/pages\/5861"}],"collection":[{"href":"https:\/\/www.leschambres.it\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.leschambres.it\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.leschambres.it\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.leschambres.it\/index.php\/wp-json\/wp\/v2\/comments?post=5861"}],"version-history":[{"count":9,"href":"https:\/\/www.leschambres.it\/index.php\/wp-json\/wp\/v2\/pages\/5861\/revisions"}],"predecessor-version":[{"id":5886,"href":"https:\/\/www.leschambres.it\/index.php\/wp-json\/wp\/v2\/pages\/5861\/revisions\/5886"}],"wp:attachment":[{"href":"https:\/\/www.leschambres.it\/index.php\/wp-json\/wp\/v2\/media?parent=5861"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}