{"id":120284,"date":"2025-01-01T12:55:30","date_gmt":"2025-01-01T18:55:30","guid":{"rendered":"https:\/\/leon-mexico.com\/?p=120284"},"modified":"2025-03-31T12:19:38","modified_gmt":"2025-03-31T18:19:38","slug":"explora-el-palacio-municipal-de-leon-recorrido-virtual-en-360-grados","status":"publish","type":"post","link":"https:\/\/leon-mexico.com\/en\/blog\/lugares-que-conocer\/explora-el-palacio-municipal-de-leon-recorrido-virtual-en-360-grados\/","title":{"rendered":"Explora el Palacio Municipal de Le\u00f3n: Recorrido Virtual en 360 Grados"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><div data-parent=\"true\" class=\"vc_row row-container\" id=\"row-unique-0\"><div class=\"row triple-top-padding no-bottom-padding single-h-padding limit-width row-parent\"><div class=\"wpb_row row-inner\"><div class=\"wpb_column pos-top pos-center align_center column_parent col-lg-12 single-internal-gutter\"><div class=\"uncol style-light font-136269\"  ><div class=\"uncoltable\"><div class=\"uncell\" ><div class=\"uncont no-block-padding col-custom-width\" style=\" max-width:804px;\" ><div class=\"uncode_text_column text-lead\" ><\/p>\n<p style=\"text-align: justify;\">Este imponente edificio no solo es la sede del gobierno municipal, sino tambi\u00e9n un testimonio viviente de la rica herencia cultural de Le\u00f3n.<\/p>\n<p>\n<\/div><div class=\"vc_custom_heading_wrap \"><div class=\"heading-text el-text\" ><h4 class=\"h4\" ><span>Un Viaje en el Tiempo<\/span><\/h4><\/div><div class=\"clear\"><\/div><\/div><div class=\"uncode_text_column text-lead\" ><\/p>\n<p style=\"text-align: justify;\">El actual <em>Palacio Municipal<\/em> fue edificado sobre parte de lo que fue el Colegio Grande del Seminario de los Padres Paulinos, quienes abandonaron la ciudad en 1860. Su arquitectura pertenece al orden j\u00f3nico, que destaca por su elegancia y proporciones arm\u00f3nicas. Entre 1861 y 1867, el edificio se utiliz\u00f3 como cuartel del ej\u00e9rcito militar durante la intervenci\u00f3n francesa, lo que a\u00f1ade una capa m\u00e1s a su interesante historia.<\/p>\n<p style=\"text-align: justify;\">Tras estos a\u00f1os de uso militar, se llevaron a cabo obras de reconstrucci\u00f3n que respetaron la arquitectura original, bajo la direcci\u00f3n del Coronel Octaviano Rosado. Desde el 21 de marzo de 1869, el edificio ha sido la sede del Gobierno Municipal, convirti\u00e9ndose en un s\u00edmbolo de la ciudad y en el lugar donde naci\u00f3 el primer Ayuntamiento, representando a los ciudadanos.<\/p>\n<p style=\"text-align: justify;\">Al recorrer sus instalaciones, los visitantes pueden observar la magn\u00edfica arquitectura que combina elementos tradicionales con toques contempor\u00e1neos, creando una atm\u00f3sfera que invita a explorar y reflexionar sobre la historia de Le\u00f3n.<\/p>\n<p>\n<\/div>\n\t<div class=\"wpb_raw_code wpb_raw_html \" >\n\t\t<div class=\"wpb_wrapper\">\n\t\t\t<center><style>#pano120483 div.pnlm-orientation-button {\n                    display: none;\n                }<\/style><div id=\"master-container\" class=\"wpvr-cardboard \" style=\"max-width:600px; width: 100%; height: 400px; border-radius:; direction:ltr; \"><div id=\"pano2120483\" class=\"pano-wrap pano-left\" style=\"width: 49%; border-radius:\"><div id=\"center-pointer2120483\" class=\"vr-pointer-container\"><span class=\"center-pointer\"><\/span><\/div><\/div><div id=\"pano120483\" class=\"pano-wrap pano-right\" style=\"width: 100%;\"><div class=\"explainer\" id=\"explainer120483\" style=\"display: none\"><span class=\"close-explainer-video\"><i class=\"fa fa-times\"><\/i><\/span><\/div><div class=\"wpvr-floor-map\" id=\"wpvr-floor-map120483\" style=\"display: none\"><span class=\"close-floor-map-plan\"><i class=\"fa fa-times\"><\/i><\/span><img decoding=\"async\" loading=\"lazy\" src=\"\"><\/div><div class=\"wpvr-hotspot-tweak-contents-wrapper\" style=\"display: none\"><i class=\"fa fa-times cross\" data-id=\"120483\"><\/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=\"120483\"><\/i><div class=\"custom-ifram-flex\"><div class=\"custom-ifram\"><\/div><\/div><\/div><\/div><\/div><script>(function ($) {jQuery(document).ready(function() {var response = [{\"panoid\":\"pano120483\"},{\"autoLoad\":true,\"showControls\":true,\"orientationSupport\":\"false\",\"compass\":false,\"orientationOnByDefault\":false,\"mouseZoom\":false,\"draggable\":false,\"disableKeyboardCtrl\":false,\"keyboardZoom\":false,\"preview\":\"\",\"autoRotate\":\"-5\",\"default\":{\"firstScene\":\"lO7Bxbx6\",\"sceneFadeDuration\":\"\"},\"scenes\":{\"lO7Bxbx6\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/leon-mexico.com\\\/wp-content\\\/uploads\\\/2025\\\/03\\\/lgvl-blog1-250325-g5.jpg\",\"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].type === \"info\") {    scenehotspot[i][\"clickHandlerFunc\"] = wpvrhotspot;} else if(scenehotspot[i].type === \"scene\") {    scenehotspot[i][\"clickHandlerArgs\"] = scenehotspot[i][\"text\"];}if(scenehotspot[i][\"createTooltipArgs\"] != \"\") {scenehotspot[i][\"createTooltipFunc\"] = wpvrtooltip;}}}}var panoshow120483 = pannellum.viewer(response[0][\"panoid\"], scenes);\n  \n        if(!wpvr_public.is_pro_active || !wpvr_public.is_license_active) {\n            panoshow120483.on(\"load\", function() {\n                jQuery(\".pnlm-panorama-info\").hide();\n                jQuery(\".pnlm-compass\").hide();\n            });\n            \n            panoshow120483.on(\"scenechange\", function() {\n                jQuery(\".pnlm-panorama-info\").hide();\n                jQuery(\".pnlm-compass\").hide();\n            });\n        }var response_duplicate = [{\"panoid\":\"pano120483\"},{\"autoLoad\":true,\"showControls\":true,\"orientationSupport\":\"false\",\"compass\":false,\"orientationOnByDefault\":false,\"mouseZoom\":false,\"draggable\":false,\"disableKeyboardCtrl\":false,\"keyboardZoom\":false,\"preview\":\"\",\"autoRotate\":false,\"default\":{\"firstScene\":\"lO7Bxbx6\",\"sceneFadeDuration\":\"\"},\"scenes\":{\"lO7Bxbx6\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/leon-mexico.com\\\/wp-content\\\/uploads\\\/2025\\\/03\\\/lgvl-blog1-250325-g5.jpg\",\"pitch\":null,\"yaw\":null,\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"vaov\":180,\"haov\":360,\"hotSpots\":[]}}}];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(\"#pano120483 .wpvr-floor-map .floor-plan-pointer\").on(\"click\",function(){\n           var scene_id = jQuery(this).attr(\"scene_id\");\n           panoshow120483.loadScene(scene_id)\n           jQuery(\".floor-plan-pointer\").removeClass(\"add-pulse\")\n           jQuery(this).addClass(\"add-pulse\")\n        });panoshow120483.on(\"mousemove\", function (data){\n            jQuery(\".add-pulse\").css({\"transform\":\"rotate(\"+data.yaw+\"deg)\"});\n        });\n    const node = document.querySelector(\".add-pulse\");\n        panoshow120483.on(\"compasschange\", function (data){\n            \/\/ const node = document.querySelector(\".add-pulse\");\n            \/\/ node.style.transform = data;\n            \/\/ jQuery(\".add-pulse\").css({\"transform\":data});\n            });panoshow120483.on(\"load\", function (){\n            \/\/ if(localStorage.getItem(\"vr_mode\") == \"off\") {\n            if(vr_mode == \"off\") {\n                  jQuery(\".vr-mode-title\").hide();\n                } else {\n                jQuery(\"#pano2120483 .pnlm-compass.pnlm-controls.pnlm-control\").css(\"display\",\"none\");\n                jQuery(\"#pano120483 .pnlm-compass.pnlm-controls.pnlm-control\").css(\"display\",\"none\");\n                jQuery(\"#pano2120483 .pnlm-panorama-info\").hide();\n                jQuery(\"#pano120483 .pnlm-panorama-info\").hide();\n                jQuery(\".vr-mode-title\").show();\n             }\n            setTimeout(() => {\n                window.dispatchEvent(new Event(\"resize\"));\n            }, 200);\n\t\t\t\t\t\tif (jQuery(\"#pano120483\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n\t               jQuery(\"#controls120483\").css(\"bottom\", \"80px\");\n\t           }\n\t           else {\n\t             jQuery(\"#controls120483\").css(\"bottom\", \"5px\");\n\t           }\n\t\t\t\t\t});panoshow120483.on(\"render\", function (){\n              window.dispatchEvent(new Event(\"resize\"));\n            });if (scenes.autoRotate) {\n\t\t\t\t\t\tpanoshow120483.on(\"load\", function (){\n\t\t\t\t\t\t setTimeout(function(){ panoshow120483.startAutoRotate(scenes.autoRotate, 0); }, 3000);\n\t\t\t\t\t\t});\n\t\t\t\t\t\tpanoshow120483.on(\"scenechange\", function (){\n\t\t\t\t\t\t setTimeout(function(){ panoshow120483.startAutoRotate(scenes.autoRotate, 0); }, 3000);\n\t\t\t\t\t\t});\n\t\t\t\t\t}var touchtime = 0;jQuery(document).on(\"click\",\"#explainer_button_120483\",function() {\n                    jQuery(\"#explainer120483\").slideToggle(function(){\n                    var $explainerVideoId = jQuery(\"#explainer120483\");\n                    var $explainerVideoIframe = $explainerVideoId.find(\"iframe\");\n                    var explainerVideoIframSrc = $explainerVideoIframe.attr(\"src\");\n                    $explainerVideoIframe.attr(\"src\", \"\");\n                    $explainerVideoIframe.attr(\"src\", explainerVideoIframSrc);\n        });\n            });\n            jQuery(document).on(\"click\", \".close-explainer-video\", function() {\n              var $explainer = jQuery(this).parent(\".explainer\");\n              var $iframe = $explainer.find(\"iframe\");\n              var el_src = $iframe.attr(\"src\");\n              $iframe.attr(\"src\", \"\");\n              $explainer.hide();\n              $iframe.attr(\"src\", el_src);\n            });\n      jQuery(document).on(\"click\",\"#pano120483\",function(event) {\n        var isActiveModal = event.target.closest(\".custom-ifram-wrapper\");\n        var isForm = event.target.closest(\".wpvr-hotspot-tweak-contents\");\n        var isHotspot = event.target.closest(\".pnlm-hotspot-base\");\n        if( isActiveModal == null && isForm == null && isHotspot == null){\n             jQuery(\".custom-ifram-wrapper .custom-ifram\").empty();\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      });jQuery(document).on(\"click\",\"#floor_map_button_120483\",function() {\n                jQuery(\"#wpvr-floor-map120483\").toggle().removeClass(\"fullwindow\");\n              });\n              jQuery(document).on(\"dblclick\",\"#wpvr-floor-map120483\",function(){\n                jQuery(this).addClass(\"fullwindow\");\n                jQuery(this).parents(\".pano-wrap\").addClass(\"show-modal\");\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              });jQuery(document).ready(function($){\n\t\t              jQuery(\"#sccontrols120483\").hide();\n                      jQuery(\"#pano120483 .wpvr_slider_nav\").hide();\n\t\t              jQuery(\".vrgctrl120483\").html('<i class=\"fa fa-angle-up\"><\/i>');\n\t\t          });var slide120483 = \"down\";\n\t\t          jQuery(document).on(\"click\",\"#vrgcontrols120483\",function() {\n\t\t            if (slide120483 == \"up\") {\n\t\t              jQuery(\".vrgctrl120483\").empty();\n\t\t              jQuery(\".vrgctrl120483\").html('<i class=\"fa fa-angle-up\"><\/i>');\n\t\t              slide120483 = \"down\";\n\t\t            }\n\t\t            else {\n\t\t              jQuery(\".vrgctrl120483\").empty();\n\t\t              jQuery(\".vrgctrl120483\").html('<i class=\"fa fa-angle-down\"><\/i>');\n\t\t              slide120483 = \"up\";\n\t\t            }\n                    jQuery(\"#pano120483 .wpvr_slider_nav\").slideToggle(); \n                    jQuery(\"#sccontrols120483\").slideToggle(function(){\n                        if (jQuery(\".elementor-edit-mode .elementor-widget-container\").length) {\n                            if (jQuery(this).is(\":visible\")) {\n                                jQuery(\".elementor-edit-mode  .elementor-widget-container .wpvr-cardboard .pnlm-container #sccontrols120483\").css({\n                                    \"display\": \"flex\",\n                                    \"justify-content\": \"center\",\n                                    \"align-items\": \"center\",\n                                    \"gap\": \"15px\"\n                                });\n                            }\n                        }\n                        if (jQuery(\".bricks-is-frontend\").length) {\n                            if (jQuery(this).is(\":visible\")) {\n                            jQuery(\".bricks-is-frontend .wpvr-cardboard .pnlm-container #sccontrols120483\").css({\n                                    \"display\": \"flex\",\n                                    \"justify-content\": \"center\",\n                                    \"align-items\": \"center\"\n                                });\n                            }\n                        }              \n                    });\n          });jQuery(\".elementor-tab-title\").click(function(){\n                      var element_id;\n                      var pano_id;\n                      var element_id = this.id;\n                      element_id = element_id.split(\"-\");\n                      element_id = element_id[3];\n                      jQuery(\"#elementor-tab-content-\"+element_id).find(\"#master-container\").children(\"div\").eq(1).addClass(\"awwww\");\n                      var pano_id = jQuery(\".awwww\").attr(\"id\");\n                      jQuery(\"#elementor-tab-content-\"+element_id).find(\"#master-container\").children(\"div\").eq(1).removeClass(\"awwww\");;\n                      if (pano_id != undefined) {\n                        pano_id = pano_id.split(\"o\");\n                        pano_id = pano_id[1];\n                        if (pano_id == \"120483\") {\n                          jQuery(\"#pano120483\").children(\".pnlm-render-container\").remove();\n                          jQuery(\"#pano120483\").children(\".pnlm-ui\").remove();\n                          panoshow120483 = pannellum.viewer(response[0][\"panoid\"], scenes);\n                          jQuery(\"#pano120483\").children(\".pnlm-ui\").find(\".pnlm-load-button p\").text(\"Click To Load Panorama\")\n                          setTimeout(function() {\n                                \/\/   panoshow120483.loadScene(\"lO7Bxbx6\");\n                                  window.dispatchEvent(new Event(\"resize\"));\n                                  if (jQuery(\"#pano120483\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n                                       jQuery(\"#controls120483\").css(\"bottom\", \"55px\");\n                                   } else {\n                                     jQuery(\"#controls120483\").css(\"bottom\", \"5px\");\n                                   }\n                          }, 200);\n                        }\n                      }\n            });jQuery(\".geodir-tab-head dd, #vr-tour-tab\").click(function(){\n              jQuery(\"#pano120483\").children(\".pnlm-render-container\").remove();\n              jQuery(\"#pano120483\").children(\".pnlm-ui\").remove();\n              panoshow120483 = pannellum.viewer(response[0][\"panoid\"], scenes);\n              setTimeout(function() {\n                      panoshow120483.loadScene(\"lO7Bxbx6\");\n                      window.dispatchEvent(new Event(\"resize\"));\n                      if (jQuery(\"#pano120483\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n                           jQuery(\"#controls120483\").css(\"bottom\", \"55px\");\n                       }\n                       else {\n                         jQuery(\"#controls120483\").css(\"bottom\", \"5px\");\n                       }\n              }, 200);\n            });\n            jQuery(\"#pano120483\").children(\".pnlm-ui\").find(\".pnlm-load-button p\").text(\"Click To Load Panorama\")\n            jQuery(\"#pano120483 .pnlm-title-box\").on(\"mouseenter\", function(){\n                jQuery(this).attr(\"title\", jQuery(this).text());\n            });\n            jQuery(\"#pano120483 .pnlm-title-box\").on(\"mouseleave\", function(){\n                jQuery(this).removeAttr(\"title\");\n            });});})(jQuery);<\/script><\/center>\n\t\t<\/div>\n\t<\/div>\n<div class=\"vc_row row-internal row-container\"><div class=\"row row-child\"><div class=\"wpb_row row-inner\"><div class=\"wpb_column pos-middle pos-center align_left column_child col-lg-6 single-internal-gutter\"><div class=\"uncol style-light\" ><div class=\"uncoltable\"><div class=\"uncell no-block-padding\" ><div class=\"uncont\" >\n\t<div class=\"wpb_raw_code wpb_raw_html \" >\n\t\t<div class=\"wpb_wrapper\">\n\t\t\t<center><style>#pano120290 div.pnlm-orientation-button {\n                    display: none;\n                }<\/style><div id=\"master-container\" class=\"wpvr-cardboard \" style=\"max-width:600px; width: 100%; height: 400px; border-radius:; direction:ltr; \"><div id=\"pano2120290\" class=\"pano-wrap pano-left\" style=\"width: 49%; border-radius:\"><div id=\"center-pointer2120290\" class=\"vr-pointer-container\"><span class=\"center-pointer\"><\/span><\/div><\/div><div id=\"pano120290\" class=\"pano-wrap pano-right\" style=\"width: 100%;\"><div class=\"explainer\" id=\"explainer120290\" style=\"display: none\"><span class=\"close-explainer-video\"><i class=\"fa fa-times\"><\/i><\/span><\/div><div class=\"wpvr-floor-map\" id=\"wpvr-floor-map120290\" style=\"display: none\"><span class=\"close-floor-map-plan\"><i class=\"fa fa-times\"><\/i><\/span><img decoding=\"async\" loading=\"lazy\" src=\"\"><\/div><div class=\"wpvr-hotspot-tweak-contents-wrapper\" style=\"display: none\"><i class=\"fa fa-times cross\" data-id=\"120290\"><\/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=\"120290\"><\/i><div class=\"custom-ifram-flex\"><div class=\"custom-ifram\"><\/div><\/div><\/div><\/div><\/div><script>(function ($) {jQuery(document).ready(function() {var response = [{\"panoid\":\"pano120290\"},{\"autoLoad\":true,\"showControls\":true,\"orientationSupport\":\"false\",\"compass\":false,\"orientationOnByDefault\":false,\"mouseZoom\":true,\"draggable\":true,\"disableKeyboardCtrl\":false,\"keyboardZoom\":true,\"preview\":\"\",\"autoRotate\":\"-5\",\"default\":{\"firstScene\":\"IAmcVIY9\",\"sceneFadeDuration\":\"\"},\"scenes\":{\"IAmcVIY9\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/leon-mexico.com\\\/wp-content\\\/uploads\\\/2025\\\/03\\\/IMG_20250325_095945_862_edit.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"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].type === \"info\") {    scenehotspot[i][\"clickHandlerFunc\"] = wpvrhotspot;} else if(scenehotspot[i].type === \"scene\") {    scenehotspot[i][\"clickHandlerArgs\"] = scenehotspot[i][\"text\"];}if(scenehotspot[i][\"createTooltipArgs\"] != \"\") {scenehotspot[i][\"createTooltipFunc\"] = wpvrtooltip;}}}}var panoshow120290 = pannellum.viewer(response[0][\"panoid\"], scenes);\n  \n        if(!wpvr_public.is_pro_active || !wpvr_public.is_license_active) {\n            panoshow120290.on(\"load\", function() {\n                jQuery(\".pnlm-panorama-info\").hide();\n                jQuery(\".pnlm-compass\").hide();\n            });\n            \n            panoshow120290.on(\"scenechange\", function() {\n                jQuery(\".pnlm-panorama-info\").hide();\n                jQuery(\".pnlm-compass\").hide();\n            });\n        }var response_duplicate = [{\"panoid\":\"pano120290\"},{\"autoLoad\":true,\"showControls\":true,\"orientationSupport\":\"false\",\"compass\":false,\"orientationOnByDefault\":false,\"mouseZoom\":true,\"draggable\":true,\"disableKeyboardCtrl\":false,\"keyboardZoom\":true,\"preview\":\"\",\"autoRotate\":false,\"default\":{\"firstScene\":\"IAmcVIY9\",\"sceneFadeDuration\":\"\"},\"scenes\":{\"IAmcVIY9\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/leon-mexico.com\\\/wp-content\\\/uploads\\\/2025\\\/03\\\/IMG_20250325_095945_862_edit.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[]}}}];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(\"#pano120290 .wpvr-floor-map .floor-plan-pointer\").on(\"click\",function(){\n           var scene_id = jQuery(this).attr(\"scene_id\");\n           panoshow120290.loadScene(scene_id)\n           jQuery(\".floor-plan-pointer\").removeClass(\"add-pulse\")\n           jQuery(this).addClass(\"add-pulse\")\n        });panoshow120290.on(\"mousemove\", function (data){\n            jQuery(\".add-pulse\").css({\"transform\":\"rotate(\"+data.yaw+\"deg)\"});\n        });\n    const node = document.querySelector(\".add-pulse\");\n        panoshow120290.on(\"compasschange\", function (data){\n            \/\/ const node = document.querySelector(\".add-pulse\");\n            \/\/ node.style.transform = data;\n            \/\/ jQuery(\".add-pulse\").css({\"transform\":data});\n            });panoshow120290.on(\"load\", function (){\n            \/\/ if(localStorage.getItem(\"vr_mode\") == \"off\") {\n            if(vr_mode == \"off\") {\n                  jQuery(\".vr-mode-title\").hide();\n                } else {\n                jQuery(\"#pano2120290 .pnlm-compass.pnlm-controls.pnlm-control\").css(\"display\",\"none\");\n                jQuery(\"#pano120290 .pnlm-compass.pnlm-controls.pnlm-control\").css(\"display\",\"none\");\n                jQuery(\"#pano2120290 .pnlm-panorama-info\").hide();\n                jQuery(\"#pano120290 .pnlm-panorama-info\").hide();\n                jQuery(\".vr-mode-title\").show();\n             }\n            setTimeout(() => {\n                window.dispatchEvent(new Event(\"resize\"));\n            }, 200);\n\t\t\t\t\t\tif (jQuery(\"#pano120290\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n\t               jQuery(\"#controls120290\").css(\"bottom\", \"80px\");\n\t           }\n\t           else {\n\t             jQuery(\"#controls120290\").css(\"bottom\", \"5px\");\n\t           }\n\t\t\t\t\t});panoshow120290.on(\"render\", function (){\n              window.dispatchEvent(new Event(\"resize\"));\n            });if (scenes.autoRotate) {\n\t\t\t\t\t\tpanoshow120290.on(\"load\", function (){\n\t\t\t\t\t\t setTimeout(function(){ panoshow120290.startAutoRotate(scenes.autoRotate, 0); }, 3000);\n\t\t\t\t\t\t});\n\t\t\t\t\t\tpanoshow120290.on(\"scenechange\", function (){\n\t\t\t\t\t\t setTimeout(function(){ panoshow120290.startAutoRotate(scenes.autoRotate, 0); }, 3000);\n\t\t\t\t\t\t});\n\t\t\t\t\t}var touchtime = 0;jQuery(document).on(\"click\",\"#explainer_button_120290\",function() {\n                    jQuery(\"#explainer120290\").slideToggle(function(){\n                    var $explainerVideoId = jQuery(\"#explainer120290\");\n                    var $explainerVideoIframe = $explainerVideoId.find(\"iframe\");\n                    var explainerVideoIframSrc = $explainerVideoIframe.attr(\"src\");\n                    $explainerVideoIframe.attr(\"src\", \"\");\n                    $explainerVideoIframe.attr(\"src\", explainerVideoIframSrc);\n        });\n            });\n            jQuery(document).on(\"click\", \".close-explainer-video\", function() {\n              var $explainer = jQuery(this).parent(\".explainer\");\n              var $iframe = $explainer.find(\"iframe\");\n              var el_src = $iframe.attr(\"src\");\n              $iframe.attr(\"src\", \"\");\n              $explainer.hide();\n              $iframe.attr(\"src\", el_src);\n            });\n      jQuery(document).on(\"click\",\"#pano120290\",function(event) {\n        var isActiveModal = event.target.closest(\".custom-ifram-wrapper\");\n        var isForm = event.target.closest(\".wpvr-hotspot-tweak-contents\");\n        var isHotspot = event.target.closest(\".pnlm-hotspot-base\");\n        if( isActiveModal == null && isForm == null && isHotspot == null){\n             jQuery(\".custom-ifram-wrapper .custom-ifram\").empty();\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      });jQuery(document).on(\"click\",\"#floor_map_button_120290\",function() {\n                jQuery(\"#wpvr-floor-map120290\").toggle().removeClass(\"fullwindow\");\n              });\n              jQuery(document).on(\"dblclick\",\"#wpvr-floor-map120290\",function(){\n                jQuery(this).addClass(\"fullwindow\");\n                jQuery(this).parents(\".pano-wrap\").addClass(\"show-modal\");\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              });jQuery(document).ready(function($){\n\t\t              jQuery(\"#sccontrols120290\").hide();\n                      jQuery(\"#pano120290 .wpvr_slider_nav\").hide();\n\t\t              jQuery(\".vrgctrl120290\").html('<i class=\"fa fa-angle-up\"><\/i>');\n\t\t          });var slide120290 = \"down\";\n\t\t          jQuery(document).on(\"click\",\"#vrgcontrols120290\",function() {\n\t\t            if (slide120290 == \"up\") {\n\t\t              jQuery(\".vrgctrl120290\").empty();\n\t\t              jQuery(\".vrgctrl120290\").html('<i class=\"fa fa-angle-up\"><\/i>');\n\t\t              slide120290 = \"down\";\n\t\t            }\n\t\t            else {\n\t\t              jQuery(\".vrgctrl120290\").empty();\n\t\t              jQuery(\".vrgctrl120290\").html('<i class=\"fa fa-angle-down\"><\/i>');\n\t\t              slide120290 = \"up\";\n\t\t            }\n                    jQuery(\"#pano120290 .wpvr_slider_nav\").slideToggle(); \n                    jQuery(\"#sccontrols120290\").slideToggle(function(){\n                        if (jQuery(\".elementor-edit-mode .elementor-widget-container\").length) {\n                            if (jQuery(this).is(\":visible\")) {\n                                jQuery(\".elementor-edit-mode  .elementor-widget-container .wpvr-cardboard .pnlm-container #sccontrols120290\").css({\n                                    \"display\": \"flex\",\n                                    \"justify-content\": \"center\",\n                                    \"align-items\": \"center\",\n                                    \"gap\": \"15px\"\n                                });\n                            }\n                        }\n                        if (jQuery(\".bricks-is-frontend\").length) {\n                            if (jQuery(this).is(\":visible\")) {\n                            jQuery(\".bricks-is-frontend .wpvr-cardboard .pnlm-container #sccontrols120290\").css({\n                                    \"display\": \"flex\",\n                                    \"justify-content\": \"center\",\n                                    \"align-items\": \"center\"\n                                });\n                            }\n                        }              \n                    });\n          });jQuery(\".elementor-tab-title\").click(function(){\n                      var element_id;\n                      var pano_id;\n                      var element_id = this.id;\n                      element_id = element_id.split(\"-\");\n                      element_id = element_id[3];\n                      jQuery(\"#elementor-tab-content-\"+element_id).find(\"#master-container\").children(\"div\").eq(1).addClass(\"awwww\");\n                      var pano_id = jQuery(\".awwww\").attr(\"id\");\n                      jQuery(\"#elementor-tab-content-\"+element_id).find(\"#master-container\").children(\"div\").eq(1).removeClass(\"awwww\");;\n                      if (pano_id != undefined) {\n                        pano_id = pano_id.split(\"o\");\n                        pano_id = pano_id[1];\n                        if (pano_id == \"120290\") {\n                          jQuery(\"#pano120290\").children(\".pnlm-render-container\").remove();\n                          jQuery(\"#pano120290\").children(\".pnlm-ui\").remove();\n                          panoshow120290 = pannellum.viewer(response[0][\"panoid\"], scenes);\n                          jQuery(\"#pano120290\").children(\".pnlm-ui\").find(\".pnlm-load-button p\").text(\"Click To Load Panorama\")\n                          setTimeout(function() {\n                                \/\/   panoshow120290.loadScene(\"IAmcVIY9\");\n                                  window.dispatchEvent(new Event(\"resize\"));\n                                  if (jQuery(\"#pano120290\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n                                       jQuery(\"#controls120290\").css(\"bottom\", \"55px\");\n                                   } else {\n                                     jQuery(\"#controls120290\").css(\"bottom\", \"5px\");\n                                   }\n                          }, 200);\n                        }\n                      }\n            });jQuery(\".geodir-tab-head dd, #vr-tour-tab\").click(function(){\n              jQuery(\"#pano120290\").children(\".pnlm-render-container\").remove();\n              jQuery(\"#pano120290\").children(\".pnlm-ui\").remove();\n              panoshow120290 = pannellum.viewer(response[0][\"panoid\"], scenes);\n              setTimeout(function() {\n                      panoshow120290.loadScene(\"IAmcVIY9\");\n                      window.dispatchEvent(new Event(\"resize\"));\n                      if (jQuery(\"#pano120290\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n                           jQuery(\"#controls120290\").css(\"bottom\", \"55px\");\n                       }\n                       else {\n                         jQuery(\"#controls120290\").css(\"bottom\", \"5px\");\n                       }\n              }, 200);\n            });\n            jQuery(\"#pano120290\").children(\".pnlm-ui\").find(\".pnlm-load-button p\").text(\"Click To Load Panorama\")\n            jQuery(\"#pano120290 .pnlm-title-box\").on(\"mouseenter\", function(){\n                jQuery(this).attr(\"title\", jQuery(this).text());\n            });\n            jQuery(\"#pano120290 .pnlm-title-box\").on(\"mouseleave\", function(){\n                jQuery(this).removeAttr(\"title\");\n            });});})(jQuery);<\/script><\/center>\n\n\t\t<\/div>\n\t<\/div>\n\n\t<div class=\"wpb_raw_code wpb_raw_html \" >\n\t\t<div class=\"wpb_wrapper\">\n\t\t\t<center>Oops! It seems that the entered tour doesn't exist. Please enter correct shortcode.<br><\/center>\n\t\t<\/div>\n\t<\/div>\n<\/div><\/div><\/div><\/div><\/div><div class=\"wpb_column pos-middle pos-center align_center column_child col-lg-6 single-internal-gutter\"><div class=\"uncol style-light\" ><div class=\"uncoltable\"><div class=\"uncell no-block-padding\" ><div class=\"uncont\" ><div class=\"vc_custom_heading_wrap \"><div class=\"heading-text el-text\" ><h4 class=\"h4\" ><span>Un Espacio de Comunidad<\/span><\/h4><\/div><div class=\"clear\"><\/div><\/div><div class=\"uncode_text_column text-lead\" ><p>Luis Alegre, cronista de la ciudad, destaca la importancia de los edificios emblem\u00e1ticos, se\u00f1alando que la Casa Municipal es el lugar m\u00e1s significativo, ya que simboliza el sentido de comunidad. &#8220;Su nombre oficial, como dice en la puerta desde que lo hicieron, es <em>Casa Municipal.<\/em> Esto da una idea de mantener un sentido de comunidad, de que esa casa es de todos, que nos representa a todos y todas&#8221;, detalla Alegre.<\/p>\n<\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><div class=\"vc_custom_heading_wrap \"><div class=\"heading-text el-text\" ><h4 class=\"h4\" ><span>Arte y Monumentos<\/span><\/h4><\/div><div class=\"clear\"><\/div><\/div><div class=\"uncode_text_column text-lead\" ><\/p>\n<p style=\"text-align: justify;\">Al visitar el Palacio Municipal, no te pierdas la estatua de bronce de Benito Ju\u00e1rez, ubicada en el patio de la Casa Municipal. Esta escultura fue erigida en conmemoraci\u00f3n del centenario de su muerte en 1972 y se ha convertido en un punto de referencia durante las ceremonias en su honor.<\/p>\n<p style=\"text-align: justify;\">Los murales pintados por el maestro leon\u00e9s Jes\u00fas Gallardo en 1972-73 adornan los descansos de las escaleras principales y el pasillo de la planta alta del patio central, ofreciendo una rica representaci\u00f3n art\u00edstica que complementa la historia del lugar.<\/p>\n<p>\n<\/div><div class=\"vc_row row-internal row-container\"><div class=\"row row-child\"><div class=\"wpb_row row-inner\"><div class=\"wpb_column pos-top pos-center align_center column_child col-lg-12 single-internal-gutter\"><div class=\"uncol style-light\" ><div class=\"uncoltable\"><div class=\"uncell no-block-padding\" ><div class=\"uncont\" >\n\t<div class=\"wpb_raw_code wpb_raw_html \" >\n\t\t<div class=\"wpb_wrapper\">\n\t\t\t<center><style>#pano120299 div.pnlm-orientation-button {\n                    display: none;\n                }<\/style><div id=\"master-container\" class=\"wpvr-cardboard \" style=\"max-width:600px; width: 100%; height: 400px; border-radius:; direction:ltr; \"><div id=\"pano2120299\" class=\"pano-wrap pano-left\" style=\"width: 49%; border-radius:\"><div id=\"center-pointer2120299\" class=\"vr-pointer-container\"><span class=\"center-pointer\"><\/span><\/div><\/div><div id=\"pano120299\" class=\"pano-wrap pano-right\" style=\"width: 100%;\"><div class=\"explainer\" id=\"explainer120299\" style=\"display: none\"><span class=\"close-explainer-video\"><i class=\"fa fa-times\"><\/i><\/span><\/div><div class=\"wpvr-floor-map\" id=\"wpvr-floor-map120299\" style=\"display: none\"><span class=\"close-floor-map-plan\"><i class=\"fa fa-times\"><\/i><\/span><img decoding=\"async\" loading=\"lazy\" src=\"\"><\/div><div class=\"wpvr-hotspot-tweak-contents-wrapper\" style=\"display: none\"><i class=\"fa fa-times cross\" data-id=\"120299\"><\/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=\"120299\"><\/i><div class=\"custom-ifram-flex\"><div class=\"custom-ifram\"><\/div><\/div><\/div><\/div><\/div><script>(function ($) {jQuery(document).ready(function() {var response = [{\"panoid\":\"pano120299\"},{\"autoLoad\":true,\"showControls\":true,\"orientationSupport\":\"false\",\"compass\":false,\"orientationOnByDefault\":false,\"mouseZoom\":true,\"draggable\":true,\"disableKeyboardCtrl\":false,\"keyboardZoom\":true,\"preview\":\"\",\"autoRotate\":\"-5\",\"default\":{\"firstScene\":\"945aqNbH\",\"sceneFadeDuration\":\"\"},\"scenes\":{\"945aqNbH\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/leon-mexico.com\\\/wp-content\\\/uploads\\\/2025\\\/03\\\/IMG_20250325_095948_460_edit.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"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].type === \"info\") {    scenehotspot[i][\"clickHandlerFunc\"] = wpvrhotspot;} else if(scenehotspot[i].type === \"scene\") {    scenehotspot[i][\"clickHandlerArgs\"] = scenehotspot[i][\"text\"];}if(scenehotspot[i][\"createTooltipArgs\"] != \"\") {scenehotspot[i][\"createTooltipFunc\"] = wpvrtooltip;}}}}var panoshow120299 = pannellum.viewer(response[0][\"panoid\"], scenes);\n  \n        if(!wpvr_public.is_pro_active || !wpvr_public.is_license_active) {\n            panoshow120299.on(\"load\", function() {\n                jQuery(\".pnlm-panorama-info\").hide();\n                jQuery(\".pnlm-compass\").hide();\n            });\n            \n            panoshow120299.on(\"scenechange\", function() {\n                jQuery(\".pnlm-panorama-info\").hide();\n                jQuery(\".pnlm-compass\").hide();\n            });\n        }var response_duplicate = [{\"panoid\":\"pano120299\"},{\"autoLoad\":true,\"showControls\":true,\"orientationSupport\":\"false\",\"compass\":false,\"orientationOnByDefault\":false,\"mouseZoom\":true,\"draggable\":true,\"disableKeyboardCtrl\":false,\"keyboardZoom\":true,\"preview\":\"\",\"autoRotate\":false,\"default\":{\"firstScene\":\"945aqNbH\",\"sceneFadeDuration\":\"\"},\"scenes\":{\"945aqNbH\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/leon-mexico.com\\\/wp-content\\\/uploads\\\/2025\\\/03\\\/IMG_20250325_095948_460_edit.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[]}}}];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(\"#pano120299 .wpvr-floor-map .floor-plan-pointer\").on(\"click\",function(){\n           var scene_id = jQuery(this).attr(\"scene_id\");\n           panoshow120299.loadScene(scene_id)\n           jQuery(\".floor-plan-pointer\").removeClass(\"add-pulse\")\n           jQuery(this).addClass(\"add-pulse\")\n        });panoshow120299.on(\"mousemove\", function (data){\n            jQuery(\".add-pulse\").css({\"transform\":\"rotate(\"+data.yaw+\"deg)\"});\n        });\n    const node = document.querySelector(\".add-pulse\");\n        panoshow120299.on(\"compasschange\", function (data){\n            \/\/ const node = document.querySelector(\".add-pulse\");\n            \/\/ node.style.transform = data;\n            \/\/ jQuery(\".add-pulse\").css({\"transform\":data});\n            });panoshow120299.on(\"load\", function (){\n            \/\/ if(localStorage.getItem(\"vr_mode\") == \"off\") {\n            if(vr_mode == \"off\") {\n                  jQuery(\".vr-mode-title\").hide();\n                } else {\n                jQuery(\"#pano2120299 .pnlm-compass.pnlm-controls.pnlm-control\").css(\"display\",\"none\");\n                jQuery(\"#pano120299 .pnlm-compass.pnlm-controls.pnlm-control\").css(\"display\",\"none\");\n                jQuery(\"#pano2120299 .pnlm-panorama-info\").hide();\n                jQuery(\"#pano120299 .pnlm-panorama-info\").hide();\n                jQuery(\".vr-mode-title\").show();\n             }\n            setTimeout(() => {\n                window.dispatchEvent(new Event(\"resize\"));\n            }, 200);\n\t\t\t\t\t\tif (jQuery(\"#pano120299\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n\t               jQuery(\"#controls120299\").css(\"bottom\", \"80px\");\n\t           }\n\t           else {\n\t             jQuery(\"#controls120299\").css(\"bottom\", \"5px\");\n\t           }\n\t\t\t\t\t});panoshow120299.on(\"render\", function (){\n              window.dispatchEvent(new Event(\"resize\"));\n            });if (scenes.autoRotate) {\n\t\t\t\t\t\tpanoshow120299.on(\"load\", function (){\n\t\t\t\t\t\t setTimeout(function(){ panoshow120299.startAutoRotate(scenes.autoRotate, 0); }, 3000);\n\t\t\t\t\t\t});\n\t\t\t\t\t\tpanoshow120299.on(\"scenechange\", function (){\n\t\t\t\t\t\t setTimeout(function(){ panoshow120299.startAutoRotate(scenes.autoRotate, 0); }, 3000);\n\t\t\t\t\t\t});\n\t\t\t\t\t}var touchtime = 0;jQuery(document).on(\"click\",\"#explainer_button_120299\",function() {\n                    jQuery(\"#explainer120299\").slideToggle(function(){\n                    var $explainerVideoId = jQuery(\"#explainer120299\");\n                    var $explainerVideoIframe = $explainerVideoId.find(\"iframe\");\n                    var explainerVideoIframSrc = $explainerVideoIframe.attr(\"src\");\n                    $explainerVideoIframe.attr(\"src\", \"\");\n                    $explainerVideoIframe.attr(\"src\", explainerVideoIframSrc);\n        });\n            });\n            jQuery(document).on(\"click\", \".close-explainer-video\", function() {\n              var $explainer = jQuery(this).parent(\".explainer\");\n              var $iframe = $explainer.find(\"iframe\");\n              var el_src = $iframe.attr(\"src\");\n              $iframe.attr(\"src\", \"\");\n              $explainer.hide();\n              $iframe.attr(\"src\", el_src);\n            });\n      jQuery(document).on(\"click\",\"#pano120299\",function(event) {\n        var isActiveModal = event.target.closest(\".custom-ifram-wrapper\");\n        var isForm = event.target.closest(\".wpvr-hotspot-tweak-contents\");\n        var isHotspot = event.target.closest(\".pnlm-hotspot-base\");\n        if( isActiveModal == null && isForm == null && isHotspot == null){\n             jQuery(\".custom-ifram-wrapper .custom-ifram\").empty();\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      });jQuery(document).on(\"click\",\"#floor_map_button_120299\",function() {\n                jQuery(\"#wpvr-floor-map120299\").toggle().removeClass(\"fullwindow\");\n              });\n              jQuery(document).on(\"dblclick\",\"#wpvr-floor-map120299\",function(){\n                jQuery(this).addClass(\"fullwindow\");\n                jQuery(this).parents(\".pano-wrap\").addClass(\"show-modal\");\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              });jQuery(document).ready(function($){\n\t\t              jQuery(\"#sccontrols120299\").hide();\n                      jQuery(\"#pano120299 .wpvr_slider_nav\").hide();\n\t\t              jQuery(\".vrgctrl120299\").html('<i class=\"fa fa-angle-up\"><\/i>');\n\t\t          });var slide120299 = \"down\";\n\t\t          jQuery(document).on(\"click\",\"#vrgcontrols120299\",function() {\n\t\t            if (slide120299 == \"up\") {\n\t\t              jQuery(\".vrgctrl120299\").empty();\n\t\t              jQuery(\".vrgctrl120299\").html('<i class=\"fa fa-angle-up\"><\/i>');\n\t\t              slide120299 = \"down\";\n\t\t            }\n\t\t            else {\n\t\t              jQuery(\".vrgctrl120299\").empty();\n\t\t              jQuery(\".vrgctrl120299\").html('<i class=\"fa fa-angle-down\"><\/i>');\n\t\t              slide120299 = \"up\";\n\t\t            }\n                    jQuery(\"#pano120299 .wpvr_slider_nav\").slideToggle(); \n                    jQuery(\"#sccontrols120299\").slideToggle(function(){\n                        if (jQuery(\".elementor-edit-mode .elementor-widget-container\").length) {\n                            if (jQuery(this).is(\":visible\")) {\n                                jQuery(\".elementor-edit-mode  .elementor-widget-container .wpvr-cardboard .pnlm-container #sccontrols120299\").css({\n                                    \"display\": \"flex\",\n                                    \"justify-content\": \"center\",\n                                    \"align-items\": \"center\",\n                                    \"gap\": \"15px\"\n                                });\n                            }\n                        }\n                        if (jQuery(\".bricks-is-frontend\").length) {\n                            if (jQuery(this).is(\":visible\")) {\n                            jQuery(\".bricks-is-frontend .wpvr-cardboard .pnlm-container #sccontrols120299\").css({\n                                    \"display\": \"flex\",\n                                    \"justify-content\": \"center\",\n                                    \"align-items\": \"center\"\n                                });\n                            }\n                        }              \n                    });\n          });jQuery(\".elementor-tab-title\").click(function(){\n                      var element_id;\n                      var pano_id;\n                      var element_id = this.id;\n                      element_id = element_id.split(\"-\");\n                      element_id = element_id[3];\n                      jQuery(\"#elementor-tab-content-\"+element_id).find(\"#master-container\").children(\"div\").eq(1).addClass(\"awwww\");\n                      var pano_id = jQuery(\".awwww\").attr(\"id\");\n                      jQuery(\"#elementor-tab-content-\"+element_id).find(\"#master-container\").children(\"div\").eq(1).removeClass(\"awwww\");;\n                      if (pano_id != undefined) {\n                        pano_id = pano_id.split(\"o\");\n                        pano_id = pano_id[1];\n                        if (pano_id == \"120299\") {\n                          jQuery(\"#pano120299\").children(\".pnlm-render-container\").remove();\n                          jQuery(\"#pano120299\").children(\".pnlm-ui\").remove();\n                          panoshow120299 = pannellum.viewer(response[0][\"panoid\"], scenes);\n                          jQuery(\"#pano120299\").children(\".pnlm-ui\").find(\".pnlm-load-button p\").text(\"Click To Load Panorama\")\n                          setTimeout(function() {\n                                \/\/   panoshow120299.loadScene(\"945aqNbH\");\n                                  window.dispatchEvent(new Event(\"resize\"));\n                                  if (jQuery(\"#pano120299\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n                                       jQuery(\"#controls120299\").css(\"bottom\", \"55px\");\n                                   } else {\n                                     jQuery(\"#controls120299\").css(\"bottom\", \"5px\");\n                                   }\n                          }, 200);\n                        }\n                      }\n            });jQuery(\".geodir-tab-head dd, #vr-tour-tab\").click(function(){\n              jQuery(\"#pano120299\").children(\".pnlm-render-container\").remove();\n              jQuery(\"#pano120299\").children(\".pnlm-ui\").remove();\n              panoshow120299 = pannellum.viewer(response[0][\"panoid\"], scenes);\n              setTimeout(function() {\n                      panoshow120299.loadScene(\"945aqNbH\");\n                      window.dispatchEvent(new Event(\"resize\"));\n                      if (jQuery(\"#pano120299\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n                           jQuery(\"#controls120299\").css(\"bottom\", \"55px\");\n                       }\n                       else {\n                         jQuery(\"#controls120299\").css(\"bottom\", \"5px\");\n                       }\n              }, 200);\n            });\n            jQuery(\"#pano120299\").children(\".pnlm-ui\").find(\".pnlm-load-button p\").text(\"Click To Load Panorama\")\n            jQuery(\"#pano120299 .pnlm-title-box\").on(\"mouseenter\", function(){\n                jQuery(this).attr(\"title\", jQuery(this).text());\n            });\n            jQuery(\"#pano120299 .pnlm-title-box\").on(\"mouseleave\", function(){\n                jQuery(this).removeAttr(\"title\");\n            });});})(jQuery);<\/script><\/center>\n\t\t<\/div>\n\t<\/div>\n<\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><div class=\"vc_custom_heading_wrap \"><div class=\"heading-text el-text\" ><h4 class=\"h4\" ><span>Un Lugar en Constante Evoluci\u00f3n<\/span><\/h4><\/div><div class=\"clear\"><\/div><\/div><div class=\"uncode_text_column text-lead\" ><\/p>\n<p style=\"text-align: justify;\">El Palacio Municipal ha experimentado varias remodelaciones a lo largo de los a\u00f1os, incluyendo un impresionante domo que cubre el patio de honor, a\u00f1adiendo un toque moderno a su cl\u00e1sica estructura.<\/p>\n<p>\n<\/div>\n\t<div class=\"wpb_raw_code wpb_raw_html \" >\n\t\t<div class=\"wpb_wrapper\">\n\t\t\t<center><style>#pano120301 div.pnlm-orientation-button {\n                    display: none;\n                }<\/style><div id=\"master-container\" class=\"wpvr-cardboard \" style=\"max-width:600px; width: 100%; height: 400px; border-radius:; direction:ltr; \"><div id=\"pano2120301\" class=\"pano-wrap pano-left\" style=\"width: 49%; border-radius:\"><div id=\"center-pointer2120301\" class=\"vr-pointer-container\"><span class=\"center-pointer\"><\/span><\/div><\/div><div id=\"pano120301\" class=\"pano-wrap pano-right\" style=\"width: 100%;\"><div class=\"explainer\" id=\"explainer120301\" style=\"display: none\"><span class=\"close-explainer-video\"><i class=\"fa fa-times\"><\/i><\/span><\/div><div class=\"wpvr-floor-map\" id=\"wpvr-floor-map120301\" style=\"display: none\"><span class=\"close-floor-map-plan\"><i class=\"fa fa-times\"><\/i><\/span><img decoding=\"async\" loading=\"lazy\" src=\"\"><\/div><div class=\"wpvr-hotspot-tweak-contents-wrapper\" style=\"display: none\"><i class=\"fa fa-times cross\" data-id=\"120301\"><\/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=\"120301\"><\/i><div class=\"custom-ifram-flex\"><div class=\"custom-ifram\"><\/div><\/div><\/div><\/div><\/div><script>(function ($) {jQuery(document).ready(function() {var response = [{\"panoid\":\"pano120301\"},{\"autoLoad\":true,\"showControls\":true,\"orientationSupport\":\"false\",\"compass\":false,\"orientationOnByDefault\":false,\"mouseZoom\":true,\"draggable\":true,\"disableKeyboardCtrl\":false,\"keyboardZoom\":true,\"preview\":\"\",\"autoRotate\":\"-5\",\"default\":{\"firstScene\":\"vsS3otOe\",\"sceneFadeDuration\":\"\"},\"scenes\":{\"vsS3otOe\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/leon-mexico.com\\\/wp-content\\\/uploads\\\/2025\\\/03\\\/IMG_20250325_095943_119_edit.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"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].type === \"info\") {    scenehotspot[i][\"clickHandlerFunc\"] = wpvrhotspot;} else if(scenehotspot[i].type === \"scene\") {    scenehotspot[i][\"clickHandlerArgs\"] = scenehotspot[i][\"text\"];}if(scenehotspot[i][\"createTooltipArgs\"] != \"\") {scenehotspot[i][\"createTooltipFunc\"] = wpvrtooltip;}}}}var panoshow120301 = pannellum.viewer(response[0][\"panoid\"], scenes);\n  \n        if(!wpvr_public.is_pro_active || !wpvr_public.is_license_active) {\n            panoshow120301.on(\"load\", function() {\n                jQuery(\".pnlm-panorama-info\").hide();\n                jQuery(\".pnlm-compass\").hide();\n            });\n            \n            panoshow120301.on(\"scenechange\", function() {\n                jQuery(\".pnlm-panorama-info\").hide();\n                jQuery(\".pnlm-compass\").hide();\n            });\n        }var response_duplicate = [{\"panoid\":\"pano120301\"},{\"autoLoad\":true,\"showControls\":true,\"orientationSupport\":\"false\",\"compass\":false,\"orientationOnByDefault\":false,\"mouseZoom\":true,\"draggable\":true,\"disableKeyboardCtrl\":false,\"keyboardZoom\":true,\"preview\":\"\",\"autoRotate\":false,\"default\":{\"firstScene\":\"vsS3otOe\",\"sceneFadeDuration\":\"\"},\"scenes\":{\"vsS3otOe\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/leon-mexico.com\\\/wp-content\\\/uploads\\\/2025\\\/03\\\/IMG_20250325_095943_119_edit.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[]}}}];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(\"#pano120301 .wpvr-floor-map .floor-plan-pointer\").on(\"click\",function(){\n           var scene_id = jQuery(this).attr(\"scene_id\");\n           panoshow120301.loadScene(scene_id)\n           jQuery(\".floor-plan-pointer\").removeClass(\"add-pulse\")\n           jQuery(this).addClass(\"add-pulse\")\n        });panoshow120301.on(\"mousemove\", function (data){\n            jQuery(\".add-pulse\").css({\"transform\":\"rotate(\"+data.yaw+\"deg)\"});\n        });\n    const node = document.querySelector(\".add-pulse\");\n        panoshow120301.on(\"compasschange\", function (data){\n            \/\/ const node = document.querySelector(\".add-pulse\");\n            \/\/ node.style.transform = data;\n            \/\/ jQuery(\".add-pulse\").css({\"transform\":data});\n            });panoshow120301.on(\"load\", function (){\n            \/\/ if(localStorage.getItem(\"vr_mode\") == \"off\") {\n            if(vr_mode == \"off\") {\n                  jQuery(\".vr-mode-title\").hide();\n                } else {\n                jQuery(\"#pano2120301 .pnlm-compass.pnlm-controls.pnlm-control\").css(\"display\",\"none\");\n                jQuery(\"#pano120301 .pnlm-compass.pnlm-controls.pnlm-control\").css(\"display\",\"none\");\n                jQuery(\"#pano2120301 .pnlm-panorama-info\").hide();\n                jQuery(\"#pano120301 .pnlm-panorama-info\").hide();\n                jQuery(\".vr-mode-title\").show();\n             }\n            setTimeout(() => {\n                window.dispatchEvent(new Event(\"resize\"));\n            }, 200);\n\t\t\t\t\t\tif (jQuery(\"#pano120301\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n\t               jQuery(\"#controls120301\").css(\"bottom\", \"80px\");\n\t           }\n\t           else {\n\t             jQuery(\"#controls120301\").css(\"bottom\", \"5px\");\n\t           }\n\t\t\t\t\t});panoshow120301.on(\"render\", function (){\n              window.dispatchEvent(new Event(\"resize\"));\n            });if (scenes.autoRotate) {\n\t\t\t\t\t\tpanoshow120301.on(\"load\", function (){\n\t\t\t\t\t\t setTimeout(function(){ panoshow120301.startAutoRotate(scenes.autoRotate, 0); }, 3000);\n\t\t\t\t\t\t});\n\t\t\t\t\t\tpanoshow120301.on(\"scenechange\", function (){\n\t\t\t\t\t\t setTimeout(function(){ panoshow120301.startAutoRotate(scenes.autoRotate, 0); }, 3000);\n\t\t\t\t\t\t});\n\t\t\t\t\t}var touchtime = 0;jQuery(document).on(\"click\",\"#explainer_button_120301\",function() {\n                    jQuery(\"#explainer120301\").slideToggle(function(){\n                    var $explainerVideoId = jQuery(\"#explainer120301\");\n                    var $explainerVideoIframe = $explainerVideoId.find(\"iframe\");\n                    var explainerVideoIframSrc = $explainerVideoIframe.attr(\"src\");\n                    $explainerVideoIframe.attr(\"src\", \"\");\n                    $explainerVideoIframe.attr(\"src\", explainerVideoIframSrc);\n        });\n            });\n            jQuery(document).on(\"click\", \".close-explainer-video\", function() {\n              var $explainer = jQuery(this).parent(\".explainer\");\n              var $iframe = $explainer.find(\"iframe\");\n              var el_src = $iframe.attr(\"src\");\n              $iframe.attr(\"src\", \"\");\n              $explainer.hide();\n              $iframe.attr(\"src\", el_src);\n            });\n      jQuery(document).on(\"click\",\"#pano120301\",function(event) {\n        var isActiveModal = event.target.closest(\".custom-ifram-wrapper\");\n        var isForm = event.target.closest(\".wpvr-hotspot-tweak-contents\");\n        var isHotspot = event.target.closest(\".pnlm-hotspot-base\");\n        if( isActiveModal == null && isForm == null && isHotspot == null){\n             jQuery(\".custom-ifram-wrapper .custom-ifram\").empty();\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      });jQuery(document).on(\"click\",\"#floor_map_button_120301\",function() {\n                jQuery(\"#wpvr-floor-map120301\").toggle().removeClass(\"fullwindow\");\n              });\n              jQuery(document).on(\"dblclick\",\"#wpvr-floor-map120301\",function(){\n                jQuery(this).addClass(\"fullwindow\");\n                jQuery(this).parents(\".pano-wrap\").addClass(\"show-modal\");\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              });jQuery(document).ready(function($){\n\t\t              jQuery(\"#sccontrols120301\").hide();\n                      jQuery(\"#pano120301 .wpvr_slider_nav\").hide();\n\t\t              jQuery(\".vrgctrl120301\").html('<i class=\"fa fa-angle-up\"><\/i>');\n\t\t          });var slide120301 = \"down\";\n\t\t          jQuery(document).on(\"click\",\"#vrgcontrols120301\",function() {\n\t\t            if (slide120301 == \"up\") {\n\t\t              jQuery(\".vrgctrl120301\").empty();\n\t\t              jQuery(\".vrgctrl120301\").html('<i class=\"fa fa-angle-up\"><\/i>');\n\t\t              slide120301 = \"down\";\n\t\t            }\n\t\t            else {\n\t\t              jQuery(\".vrgctrl120301\").empty();\n\t\t              jQuery(\".vrgctrl120301\").html('<i class=\"fa fa-angle-down\"><\/i>');\n\t\t              slide120301 = \"up\";\n\t\t            }\n                    jQuery(\"#pano120301 .wpvr_slider_nav\").slideToggle(); \n                    jQuery(\"#sccontrols120301\").slideToggle(function(){\n                        if (jQuery(\".elementor-edit-mode .elementor-widget-container\").length) {\n                            if (jQuery(this).is(\":visible\")) {\n                                jQuery(\".elementor-edit-mode  .elementor-widget-container .wpvr-cardboard .pnlm-container #sccontrols120301\").css({\n                                    \"display\": \"flex\",\n                                    \"justify-content\": \"center\",\n                                    \"align-items\": \"center\",\n                                    \"gap\": \"15px\"\n                                });\n                            }\n                        }\n                        if (jQuery(\".bricks-is-frontend\").length) {\n                            if (jQuery(this).is(\":visible\")) {\n                            jQuery(\".bricks-is-frontend .wpvr-cardboard .pnlm-container #sccontrols120301\").css({\n                                    \"display\": \"flex\",\n                                    \"justify-content\": \"center\",\n                                    \"align-items\": \"center\"\n                                });\n                            }\n                        }              \n                    });\n          });jQuery(\".elementor-tab-title\").click(function(){\n                      var element_id;\n                      var pano_id;\n                      var element_id = this.id;\n                      element_id = element_id.split(\"-\");\n                      element_id = element_id[3];\n                      jQuery(\"#elementor-tab-content-\"+element_id).find(\"#master-container\").children(\"div\").eq(1).addClass(\"awwww\");\n                      var pano_id = jQuery(\".awwww\").attr(\"id\");\n                      jQuery(\"#elementor-tab-content-\"+element_id).find(\"#master-container\").children(\"div\").eq(1).removeClass(\"awwww\");;\n                      if (pano_id != undefined) {\n                        pano_id = pano_id.split(\"o\");\n                        pano_id = pano_id[1];\n                        if (pano_id == \"120301\") {\n                          jQuery(\"#pano120301\").children(\".pnlm-render-container\").remove();\n                          jQuery(\"#pano120301\").children(\".pnlm-ui\").remove();\n                          panoshow120301 = pannellum.viewer(response[0][\"panoid\"], scenes);\n                          jQuery(\"#pano120301\").children(\".pnlm-ui\").find(\".pnlm-load-button p\").text(\"Click To Load Panorama\")\n                          setTimeout(function() {\n                                \/\/   panoshow120301.loadScene(\"vsS3otOe\");\n                                  window.dispatchEvent(new Event(\"resize\"));\n                                  if (jQuery(\"#pano120301\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n                                       jQuery(\"#controls120301\").css(\"bottom\", \"55px\");\n                                   } else {\n                                     jQuery(\"#controls120301\").css(\"bottom\", \"5px\");\n                                   }\n                          }, 200);\n                        }\n                      }\n            });jQuery(\".geodir-tab-head dd, #vr-tour-tab\").click(function(){\n              jQuery(\"#pano120301\").children(\".pnlm-render-container\").remove();\n              jQuery(\"#pano120301\").children(\".pnlm-ui\").remove();\n              panoshow120301 = pannellum.viewer(response[0][\"panoid\"], scenes);\n              setTimeout(function() {\n                      panoshow120301.loadScene(\"vsS3otOe\");\n                      window.dispatchEvent(new Event(\"resize\"));\n                      if (jQuery(\"#pano120301\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n                           jQuery(\"#controls120301\").css(\"bottom\", \"55px\");\n                       }\n                       else {\n                         jQuery(\"#controls120301\").css(\"bottom\", \"5px\");\n                       }\n              }, 200);\n            });\n            jQuery(\"#pano120301\").children(\".pnlm-ui\").find(\".pnlm-load-button p\").text(\"Click To Load Panorama\")\n            jQuery(\"#pano120301 .pnlm-title-box\").on(\"mouseenter\", function(){\n                jQuery(this).attr(\"title\", jQuery(this).text());\n            });\n            jQuery(\"#pano120301 .pnlm-title-box\").on(\"mouseleave\", function(){\n                jQuery(this).removeAttr(\"title\");\n            });});})(jQuery);<\/script><\/center>\n\t\t<\/div>\n\t<\/div>\n<div class=\"vc_row vc_custom_1715476415417 row-internal row-container\" style=\"margin-bottom: 25px ;\"><div class=\"row row-child\"><div class=\"wpb_row row-inner\"><div class=\"wpb_column pos-top pos-left align_center column_child col-lg-12 single-internal-gutter\"><div class=\"uncol style-light\" ><div class=\"uncoltable\"><div class=\"uncell no-block-padding\" ><div class=\"uncont\" ><div class=\"vc_custom_heading_wrap \"><div class=\"heading-text el-text\" ><h3 class=\"h3\" ><span>Descubre el Palacio Municipal de Le\u00f3n<\/p><\/span><span><p>Si est\u00e1s en Le\u00f3n, no puedes dejar de visitar el Palacio Municipal, un \u00edcono de la ciudad que combina historia, cultura y arquitectura impresionante. Recorre sus pasillos, sum\u00e9rgete en su legado y vive de cerca la esencia leonesa en este emblem\u00e1tico sitio.<\/p><\/span><span><p>\u00a1Te esperamos para explorar juntos este tesoro hist\u00f3rico de Le\u00f3n! \ud83d\udcdc\ud83c\udfdb\ufe0f\ud83d\udc99<\/span><\/h3><\/div><div class=\"clear\"><\/div><\/div>\n\t<div class=\"wpb_raw_code wpb_raw_html \" >\n\t\t<div class=\"wpb_wrapper\">\n\t\t\t<center><style>#pano120305 div.pnlm-orientation-button {\n                    display: none;\n                }<\/style><div id=\"master-container\" class=\"wpvr-cardboard \" style=\"max-width:600px; width: 100%; height: 400px; border-radius:; direction:ltr; \"><div id=\"pano2120305\" class=\"pano-wrap pano-left\" style=\"width: 49%; border-radius:\"><div id=\"center-pointer2120305\" class=\"vr-pointer-container\"><span class=\"center-pointer\"><\/span><\/div><\/div><div id=\"pano120305\" class=\"pano-wrap pano-right\" style=\"width: 100%;\"><div class=\"explainer\" id=\"explainer120305\" style=\"display: none\"><span class=\"close-explainer-video\"><i class=\"fa fa-times\"><\/i><\/span><\/div><div class=\"wpvr-floor-map\" id=\"wpvr-floor-map120305\" style=\"display: none\"><span class=\"close-floor-map-plan\"><i class=\"fa fa-times\"><\/i><\/span><img decoding=\"async\" loading=\"lazy\" src=\"\"><\/div><div class=\"wpvr-hotspot-tweak-contents-wrapper\" style=\"display: none\"><i class=\"fa fa-times cross\" data-id=\"120305\"><\/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=\"120305\"><\/i><div class=\"custom-ifram-flex\"><div class=\"custom-ifram\"><\/div><\/div><\/div><\/div><\/div><script>(function ($) {jQuery(document).ready(function() {var response = [{\"panoid\":\"pano120305\"},{\"autoLoad\":true,\"showControls\":true,\"orientationSupport\":\"false\",\"compass\":false,\"orientationOnByDefault\":false,\"mouseZoom\":true,\"draggable\":true,\"disableKeyboardCtrl\":false,\"keyboardZoom\":true,\"preview\":\"\",\"autoRotate\":\"-5\",\"default\":{\"firstScene\":\"hhN0qfbt\",\"sceneFadeDuration\":\"\"},\"scenes\":{\"hhN0qfbt\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/leon-mexico.com\\\/wp-content\\\/uploads\\\/2025\\\/03\\\/IMG_20250325_095937_493_edit.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"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].type === \"info\") {    scenehotspot[i][\"clickHandlerFunc\"] = wpvrhotspot;} else if(scenehotspot[i].type === \"scene\") {    scenehotspot[i][\"clickHandlerArgs\"] = scenehotspot[i][\"text\"];}if(scenehotspot[i][\"createTooltipArgs\"] != \"\") {scenehotspot[i][\"createTooltipFunc\"] = wpvrtooltip;}}}}var panoshow120305 = pannellum.viewer(response[0][\"panoid\"], scenes);\n  \n        if(!wpvr_public.is_pro_active || !wpvr_public.is_license_active) {\n            panoshow120305.on(\"load\", function() {\n                jQuery(\".pnlm-panorama-info\").hide();\n                jQuery(\".pnlm-compass\").hide();\n            });\n            \n            panoshow120305.on(\"scenechange\", function() {\n                jQuery(\".pnlm-panorama-info\").hide();\n                jQuery(\".pnlm-compass\").hide();\n            });\n        }var response_duplicate = [{\"panoid\":\"pano120305\"},{\"autoLoad\":true,\"showControls\":true,\"orientationSupport\":\"false\",\"compass\":false,\"orientationOnByDefault\":false,\"mouseZoom\":true,\"draggable\":true,\"disableKeyboardCtrl\":false,\"keyboardZoom\":true,\"preview\":\"\",\"autoRotate\":false,\"default\":{\"firstScene\":\"hhN0qfbt\",\"sceneFadeDuration\":\"\"},\"scenes\":{\"hhN0qfbt\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/leon-mexico.com\\\/wp-content\\\/uploads\\\/2025\\\/03\\\/IMG_20250325_095937_493_edit.jpg\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[]}}}];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(\"#pano120305 .wpvr-floor-map .floor-plan-pointer\").on(\"click\",function(){\n           var scene_id = jQuery(this).attr(\"scene_id\");\n           panoshow120305.loadScene(scene_id)\n           jQuery(\".floor-plan-pointer\").removeClass(\"add-pulse\")\n           jQuery(this).addClass(\"add-pulse\")\n        });panoshow120305.on(\"mousemove\", function (data){\n            jQuery(\".add-pulse\").css({\"transform\":\"rotate(\"+data.yaw+\"deg)\"});\n        });\n    const node = document.querySelector(\".add-pulse\");\n        panoshow120305.on(\"compasschange\", function (data){\n            \/\/ const node = document.querySelector(\".add-pulse\");\n            \/\/ node.style.transform = data;\n            \/\/ jQuery(\".add-pulse\").css({\"transform\":data});\n            });panoshow120305.on(\"load\", function (){\n            \/\/ if(localStorage.getItem(\"vr_mode\") == \"off\") {\n            if(vr_mode == \"off\") {\n                  jQuery(\".vr-mode-title\").hide();\n                } else {\n                jQuery(\"#pano2120305 .pnlm-compass.pnlm-controls.pnlm-control\").css(\"display\",\"none\");\n                jQuery(\"#pano120305 .pnlm-compass.pnlm-controls.pnlm-control\").css(\"display\",\"none\");\n                jQuery(\"#pano2120305 .pnlm-panorama-info\").hide();\n                jQuery(\"#pano120305 .pnlm-panorama-info\").hide();\n                jQuery(\".vr-mode-title\").show();\n             }\n            setTimeout(() => {\n                window.dispatchEvent(new Event(\"resize\"));\n            }, 200);\n\t\t\t\t\t\tif (jQuery(\"#pano120305\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n\t               jQuery(\"#controls120305\").css(\"bottom\", \"80px\");\n\t           }\n\t           else {\n\t             jQuery(\"#controls120305\").css(\"bottom\", \"5px\");\n\t           }\n\t\t\t\t\t});panoshow120305.on(\"render\", function (){\n              window.dispatchEvent(new Event(\"resize\"));\n            });if (scenes.autoRotate) {\n\t\t\t\t\t\tpanoshow120305.on(\"load\", function (){\n\t\t\t\t\t\t setTimeout(function(){ panoshow120305.startAutoRotate(scenes.autoRotate, 0); }, 3000);\n\t\t\t\t\t\t});\n\t\t\t\t\t\tpanoshow120305.on(\"scenechange\", function (){\n\t\t\t\t\t\t setTimeout(function(){ panoshow120305.startAutoRotate(scenes.autoRotate, 0); }, 3000);\n\t\t\t\t\t\t});\n\t\t\t\t\t}var touchtime = 0;jQuery(document).on(\"click\",\"#explainer_button_120305\",function() {\n                    jQuery(\"#explainer120305\").slideToggle(function(){\n                    var $explainerVideoId = jQuery(\"#explainer120305\");\n                    var $explainerVideoIframe = $explainerVideoId.find(\"iframe\");\n                    var explainerVideoIframSrc = $explainerVideoIframe.attr(\"src\");\n                    $explainerVideoIframe.attr(\"src\", \"\");\n                    $explainerVideoIframe.attr(\"src\", explainerVideoIframSrc);\n        });\n            });\n            jQuery(document).on(\"click\", \".close-explainer-video\", function() {\n              var $explainer = jQuery(this).parent(\".explainer\");\n              var $iframe = $explainer.find(\"iframe\");\n              var el_src = $iframe.attr(\"src\");\n              $iframe.attr(\"src\", \"\");\n              $explainer.hide();\n              $iframe.attr(\"src\", el_src);\n            });\n      jQuery(document).on(\"click\",\"#pano120305\",function(event) {\n        var isActiveModal = event.target.closest(\".custom-ifram-wrapper\");\n        var isForm = event.target.closest(\".wpvr-hotspot-tweak-contents\");\n        var isHotspot = event.target.closest(\".pnlm-hotspot-base\");\n        if( isActiveModal == null && isForm == null && isHotspot == null){\n             jQuery(\".custom-ifram-wrapper .custom-ifram\").empty();\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      });jQuery(document).on(\"click\",\"#floor_map_button_120305\",function() {\n                jQuery(\"#wpvr-floor-map120305\").toggle().removeClass(\"fullwindow\");\n              });\n              jQuery(document).on(\"dblclick\",\"#wpvr-floor-map120305\",function(){\n                jQuery(this).addClass(\"fullwindow\");\n                jQuery(this).parents(\".pano-wrap\").addClass(\"show-modal\");\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              });jQuery(document).ready(function($){\n\t\t              jQuery(\"#sccontrols120305\").hide();\n                      jQuery(\"#pano120305 .wpvr_slider_nav\").hide();\n\t\t              jQuery(\".vrgctrl120305\").html('<i class=\"fa fa-angle-up\"><\/i>');\n\t\t          });var slide120305 = \"down\";\n\t\t          jQuery(document).on(\"click\",\"#vrgcontrols120305\",function() {\n\t\t            if (slide120305 == \"up\") {\n\t\t              jQuery(\".vrgctrl120305\").empty();\n\t\t              jQuery(\".vrgctrl120305\").html('<i class=\"fa fa-angle-up\"><\/i>');\n\t\t              slide120305 = \"down\";\n\t\t            }\n\t\t            else {\n\t\t              jQuery(\".vrgctrl120305\").empty();\n\t\t              jQuery(\".vrgctrl120305\").html('<i class=\"fa fa-angle-down\"><\/i>');\n\t\t              slide120305 = \"up\";\n\t\t            }\n                    jQuery(\"#pano120305 .wpvr_slider_nav\").slideToggle(); \n                    jQuery(\"#sccontrols120305\").slideToggle(function(){\n                        if (jQuery(\".elementor-edit-mode .elementor-widget-container\").length) {\n                            if (jQuery(this).is(\":visible\")) {\n                                jQuery(\".elementor-edit-mode  .elementor-widget-container .wpvr-cardboard .pnlm-container #sccontrols120305\").css({\n                                    \"display\": \"flex\",\n                                    \"justify-content\": \"center\",\n                                    \"align-items\": \"center\",\n                                    \"gap\": \"15px\"\n                                });\n                            }\n                        }\n                        if (jQuery(\".bricks-is-frontend\").length) {\n                            if (jQuery(this).is(\":visible\")) {\n                            jQuery(\".bricks-is-frontend .wpvr-cardboard .pnlm-container #sccontrols120305\").css({\n                                    \"display\": \"flex\",\n                                    \"justify-content\": \"center\",\n                                    \"align-items\": \"center\"\n                                });\n                            }\n                        }              \n                    });\n          });jQuery(\".elementor-tab-title\").click(function(){\n                      var element_id;\n                      var pano_id;\n                      var element_id = this.id;\n                      element_id = element_id.split(\"-\");\n                      element_id = element_id[3];\n                      jQuery(\"#elementor-tab-content-\"+element_id).find(\"#master-container\").children(\"div\").eq(1).addClass(\"awwww\");\n                      var pano_id = jQuery(\".awwww\").attr(\"id\");\n                      jQuery(\"#elementor-tab-content-\"+element_id).find(\"#master-container\").children(\"div\").eq(1).removeClass(\"awwww\");;\n                      if (pano_id != undefined) {\n                        pano_id = pano_id.split(\"o\");\n                        pano_id = pano_id[1];\n                        if (pano_id == \"120305\") {\n                          jQuery(\"#pano120305\").children(\".pnlm-render-container\").remove();\n                          jQuery(\"#pano120305\").children(\".pnlm-ui\").remove();\n                          panoshow120305 = pannellum.viewer(response[0][\"panoid\"], scenes);\n                          jQuery(\"#pano120305\").children(\".pnlm-ui\").find(\".pnlm-load-button p\").text(\"Click To Load Panorama\")\n                          setTimeout(function() {\n                                \/\/   panoshow120305.loadScene(\"hhN0qfbt\");\n                                  window.dispatchEvent(new Event(\"resize\"));\n                                  if (jQuery(\"#pano120305\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n                                       jQuery(\"#controls120305\").css(\"bottom\", \"55px\");\n                                   } else {\n                                     jQuery(\"#controls120305\").css(\"bottom\", \"5px\");\n                                   }\n                          }, 200);\n                        }\n                      }\n            });jQuery(\".geodir-tab-head dd, #vr-tour-tab\").click(function(){\n              jQuery(\"#pano120305\").children(\".pnlm-render-container\").remove();\n              jQuery(\"#pano120305\").children(\".pnlm-ui\").remove();\n              panoshow120305 = pannellum.viewer(response[0][\"panoid\"], scenes);\n              setTimeout(function() {\n                      panoshow120305.loadScene(\"hhN0qfbt\");\n                      window.dispatchEvent(new Event(\"resize\"));\n                      if (jQuery(\"#pano120305\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n                           jQuery(\"#controls120305\").css(\"bottom\", \"55px\");\n                       }\n                       else {\n                         jQuery(\"#controls120305\").css(\"bottom\", \"5px\");\n                       }\n              }, 200);\n            });\n            jQuery(\"#pano120305\").children(\".pnlm-ui\").find(\".pnlm-load-button p\").text(\"Click To Load Panorama\")\n            jQuery(\"#pano120305 .pnlm-title-box\").on(\"mouseenter\", function(){\n                jQuery(this).attr(\"title\", jQuery(this).text());\n            });\n            jQuery(\"#pano120305 .pnlm-title-box\").on(\"mouseleave\", function(){\n                jQuery(this).removeAttr(\"title\");\n            });});})(jQuery);<\/script><\/center>\n\t\t<\/div>\n\t<\/div>\n<\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><script id=\"script-row-unique-0\" data-row=\"script-row-unique-0\" type=\"text\/javascript\" class=\"vc_controls\">UNCODE.initRow(document.getElementById(\"row-unique-0\"));<\/script><\/div><\/div><\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Si te apasiona la historia y el turismo arquitect\u00f3nico, una visita al Palacio Municipal de Le\u00f3n es una parada obligatoria en tu recorrido por esta vibrante ciudad.<\/p>","protected":false},"author":5,"featured_media":120310,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[297],"tags":[],"class_list":["post-120284","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-lugares-que-conocer"],"_links":{"self":[{"href":"https:\/\/leon-mexico.com\/en\/wp-json\/wp\/v2\/posts\/120284","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/leon-mexico.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/leon-mexico.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/leon-mexico.com\/en\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/leon-mexico.com\/en\/wp-json\/wp\/v2\/comments?post=120284"}],"version-history":[{"count":0,"href":"https:\/\/leon-mexico.com\/en\/wp-json\/wp\/v2\/posts\/120284\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/leon-mexico.com\/en\/wp-json\/wp\/v2\/media\/120310"}],"wp:attachment":[{"href":"https:\/\/leon-mexico.com\/en\/wp-json\/wp\/v2\/media?parent=120284"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/leon-mexico.com\/en\/wp-json\/wp\/v2\/categories?post=120284"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/leon-mexico.com\/en\/wp-json\/wp\/v2\/tags?post=120284"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}