{"id":385,"date":"2024-01-26T00:19:04","date_gmt":"2024-01-25T23:19:04","guid":{"rendered":"https:\/\/nataliayfelipe.hlbinvitaciones.com\/?page_id=385"},"modified":"2026-07-02T12:15:02","modified_gmt":"2026-07-02T17:15:02","slug":"invitacion","status":"publish","type":"page","link":"https:\/\/diegoymaira.hlbinvitaciones.com\/index.php\/invitacion\/","title":{"rendered":"Invitaci\u00f3n"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"385\" class=\"elementor elementor-385\" data-elementor-settings=\"{&quot;ha_cmc_init_switcher&quot;:&quot;no&quot;}\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-ea52972 e-flex e-con-boxed e-con e-parent\" data-id=\"ea52972\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;,&quot;_ha_eqh_enable&quot;:false}\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-c6730fa e-flex e-con-boxed e-con e-parent\" data-id=\"c6730fa\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;slideshow&quot;,&quot;background_slideshow_gallery&quot;:[{&quot;id&quot;:1053,&quot;url&quot;:&quot;https:\\\/\\\/diegoymaira.hlbinvitaciones.com\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/Sobre-a-2026-06-30T122358.666.jpg&quot;}],&quot;background_slideshow_loop&quot;:&quot;yes&quot;,&quot;background_slideshow_slide_duration&quot;:5000,&quot;background_slideshow_slide_transition&quot;:&quot;fade&quot;,&quot;background_slideshow_transition_duration&quot;:500,&quot;_ha_eqh_enable&quot;:false}\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-a040098 elementor-widget elementor-widget-spacer\" data-id=\"a040098\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"spacer.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-spacer\">\n\t\t\t<div class=\"elementor-spacer-inner\"><\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f382ee7 elementor-widget elementor-widget-spacer\" data-id=\"f382ee7\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"spacer.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-spacer\">\n\t\t\t<div class=\"elementor-spacer-inner\"><\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-38970a0 e-flex e-con-boxed e-con e-parent\" data-id=\"38970a0\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;_ha_eqh_enable&quot;:false}\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-256b50c elementor-widget elementor-widget-html\" data-id=\"256b50c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<script>\r\ndocument.addEventListener(\"DOMContentLoaded\", function() {\r\n    \/\/ 1. Verificar si estamos en modo editor o vista previa de WordPress\/Elementor\r\n    const urlActual = window.location.href;\r\n    const esEditor = urlActual.includes('elementor-preview') || \r\n                     urlActual.includes('wp-admin') || \r\n                     urlActual.includes('preview=true');\r\n\r\n    \/\/ Si es el editor, detenemos la ejecuci\u00f3n para que puedas trabajar normal\r\n    if (esEditor) {\r\n        console.log(\"Modo editor detectado. Redirecci\u00f3n invisible desactivada.\");\r\n        return; \r\n    }\r\n\r\n    \/\/ 2. Capturar los par\u00e1metros din\u00e1micos de la URL actual (?invitado=...&cupos=...)\r\n    const parametrosUrl = window.location.search;\r\n\r\n    \/\/ 3. Definir la URL de destino base\r\n    const urlDestinoBase = \"https:\/\/diegoymaira.hlbinvitaciones.com\/index.php\/sobre-abierto\/\";\r\n\r\n    \/\/ 4. Combinar la URL base con los par\u00e1metros din\u00e1micos heredados\r\n    const urlFinal = urlDestinoBase + parametrosUrl;\r\n\r\n    \/\/ 5. Crear el elemento invisible que cubre toda la pantalla\r\n    const enlaceInvisible = document.createElement('a');\r\n    enlaceInvisible.href = urlFinal;\r\n    \r\n    \/\/ Estilos CSS para hacerlo invisible pero completamente interactivo sobre toda la web\r\n    Object.assign(enlaceInvisible.style, {\r\n        position: 'fixed',\r\n        top: '0',\r\n        left: '0',\r\n        width: '100vw',\r\n        height: '100vh',\r\n        zIndex: '999999', \/\/ Se asegura de estar por encima de todo\r\n        cursor: 'default',\r\n        backgroundColor: 'transparent',\r\n        display: 'block'\r\n    });\r\n\r\n    \/\/ 6. Inyectar el enlace en el cuerpo de la p\u00e1gina\r\n    document.body.appendChild(enlaceInvisible);\r\n});\r\n<\/script>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_canvas","meta":{"site-sidebar-layout":"no-sidebar","site-content-layout":"","ast-site-content-layout":"full-width-container","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"disabled","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-385","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/diegoymaira.hlbinvitaciones.com\/index.php\/wp-json\/wp\/v2\/pages\/385","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/diegoymaira.hlbinvitaciones.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/diegoymaira.hlbinvitaciones.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/diegoymaira.hlbinvitaciones.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/diegoymaira.hlbinvitaciones.com\/index.php\/wp-json\/wp\/v2\/comments?post=385"}],"version-history":[{"count":74,"href":"https:\/\/diegoymaira.hlbinvitaciones.com\/index.php\/wp-json\/wp\/v2\/pages\/385\/revisions"}],"predecessor-version":[{"id":1337,"href":"https:\/\/diegoymaira.hlbinvitaciones.com\/index.php\/wp-json\/wp\/v2\/pages\/385\/revisions\/1337"}],"wp:attachment":[{"href":"https:\/\/diegoymaira.hlbinvitaciones.com\/index.php\/wp-json\/wp\/v2\/media?parent=385"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}