{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/v4zjdPt5whTSXgRPog9X/hAt7jDIxnDZ0cZkYuZVr/siteMetadata.js"],
  "sourcesContent": ["// Generated by Framer (84a2f33)\nexport default function metadata(params,activeLocale){return{customHTMLBodyStart:'<!-- Google Tag Manager (noscript) -->\\n<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-MCJJGSVN\" height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>\\n<!-- End Google Tag Manager (noscript) -->',customHTMLHeadStart:\"<!--  Functions to update links/inputs with UTM parameters  -->\\n<script type=\\\"text/javascript\\\">\\n  function updateZohoLinks() {\\n    console.log(\\\"Ejecutando updateZohoLinks...\\\");\\n    var utmParams = window.location.search;\\n    var links = document.querySelectorAll('a[href*=\\\"zfrmz.eu\\\"], a[href*=\\\"zoho.eu\\\"], a[href*=\\\"zurl.co\\\"], a[href*=\\\"lvtl.xyz\\\"]');\\n    console.log(links.length);\\n    for (var i = 0; i < links.length; i++) {\\n      var href = links[i].getAttribute('href');\\n      if (href && utmParams) {\\n        // Check if the URL already contains a query string\\n        var separator = href.includes('?') ? '&' : '';\\n        links[i].setAttribute('href', href + separator + utmParams);\\n      }\\n    }\\n  }\\n\\n  function updateInputParams() {\\n    let form = document.querySelector(\\\"form\\\");\\n    //console.log(form);\\n\\n    if (form) {\\n      console.log(\\\"Ejecutando updateInputParams...\\\");\\n      const urlParams = new URLSearchParams(window.location.search);\\n\\n      urlParams.forEach((value, param) => { \\n        let input = document.querySelector(`input[name=\\\"${param}\\\"]`);\\n        \\n        // Si el campo oculto no existe, cr\\xe9alo\\n        if (!input) {\\n          input = document.createElement(\\\"input\\\");\\n          input.type = \\\"hidden\\\";\\n          input.name = param;\\n          form.appendChild(input);\\n        }\\n        input.value = value;\\n      });\\n    }\\n  }\\n  \\ndocument.onreadystatechange = function () {\\n  if (document.readyState == \\\"complete\\\") {\\n    updateZohoLinks();\\n    updateInputParams();\\n  }\\n}\\n</script>\\n\\n<!-- Google Tag Manager -->\\n<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\\nnew Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\\nj=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\\n'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\\n})(window,document,'script','dataLayer','GTM-MCJJGSVN');</script>\\n<!-- End Google Tag Manager -->\",description:\"Lonvital es un centro integral de salud dedicado a ayudarte a perder peso de manera efectiva y sostenible, mientras mejoras tu calidad de vida y prolongas tu longevidad\",favicon:\"https://framerusercontent.com/assets/660Edk0LxTjNIzIxsKpMBy4gyA.png\",robots:\"max-image-preview:large\",title:\"Lonvital - Tu salud, tu longevidad, tu vida\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],
  "mappings": "AACe,SAARA,EAA0BC,EAAOC,EAAa,CAAC,MAAM,CAAC,oBAAoB;AAAA;AAAA,4CAAwP,oBAAoB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iCAA49D,YAAY,2KAA2K,QAAQ,sEAAsE,OAAO,0BAA0B,MAAM,6CAA6C,CAAE",
  "names": ["metadata", "params", "activeLocale"]
}
