{"version":3,"file":"shared-lib.CkdJ3EIK.mjs","names":[],"sources":["https:/framerusercontent.com/modules/10zFHoPANcl9EFI5cBjW/lwKGOT6MvQDh9gOwBTp7/siteMetadata.js"],"sourcesContent":["// Generated by Framer (49b3750)\nexport default function metadata(params,activeLocale){return{customHTMLHeadEnd:\"<style>\\n  .lang-mini {\\n    display:inline-flex;\\n    gap:10px;\\n    font-weight:600;\\n    font-size:12px;\\n  }\\n  .lang-mini a {\\n    text-decoration:none;\\n    opacity:.6;\\n    color:#e7e7e7;\\n    transition:opacity .2s, color .2s;\\n  }\\n  .lang-mini a:hover { opacity:.9; }\\n  .lang-mini a.active { opacity:1; color:#7B5CF3; }\\n</style>\\n\\n<script>\\n  document.addEventListener(\\\"DOMContentLoaded\\\", () => {\\n    const en = document.querySelector('.lang-mini a[data-lang=\\\"en\\\"]');\\n    const es = document.querySelector('.lang-mini a[data-lang=\\\"es\\\"]');\\n    if (!en || !es) return;\\n\\n    const isES = location.pathname === '/es' || location.pathname.startsWith('/es/');\\n    en.classList.toggle('active', !isES);\\n    es.classList.toggle('active',  isES);\\n\\n    // --- Cookie helpers ---\\n    const getLang = () => (document.cookie.match(/(?:^|;\\\\s*)lang=(en|es)\\\\b/) || [])[1];\\n    const setLang = (v) => document.cookie = `lang=${v}; Path=/; Max-Age=${60*60*24*365}; SameSite=Lax`;\\n\\n    // Save preference whenever they click a link\\n    document.querySelector('.lang-mini').addEventListener('click', (e) => {\\n      const link = e.target.closest('a[data-lang]');\\n      if (link) setLang(link.dataset.lang);\\n    });\\n\\n    // Save the current language from this visit\\n    setLang(isES ? 'es' : 'en');\\n\\n    // --- Only auto-redirect when coming from outside the site ---\\n    try {\\n      const ref = document.referrer;\\n      const sameHost = ref && new URL(ref).hostname === location.hostname;\\n      if (sameHost) return; // user navigated internally, do nothing\\n      const pref = getLang();\\n      if (!pref) return;\\n      const onES = isES;\\n      if (pref === 'es' && !onES) {\\n        const naked = location.pathname.replace(/^\\\\/es/, '') || '/';\\n        location.replace(`/es${naked === '/' ? '' : naked}${location.search}${location.hash}`);\\n      } else if (pref === 'en' && onES) {\\n        const naked = location.pathname.replace(/^\\\\/es/, '') || '/';\\n        location.replace(`${naked}${location.search}${location.hash}`);\\n      }\\n    } catch (err) {\\n      console.warn('Lang auto-align skipped', err);\\n    }\\n  });\\n</script>\\n\",description:\"VersaLabs is a leading AI consulting firm providing AI-powered automation, web development, and ecommerce solutions. With 15 years of expertise, our Shopify experts streamline workflows and boost revenue for digital transformation.\",favicon:\"https://framerusercontent.com/assets/t25w12kJO3xpUe3JdSybMTuinn8.png\",robots:\"max-image-preview:large\",socialImage:\"https://framerusercontent.com/assets/wk45EXrwdvDOVPbrteiUP4meKk.png\",title:\"VersaLabs- AI Agency\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"oDACA,SAAwB,EAAS,EAAO,EAAa,CAAC,MAAM,CAAC,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA2nE,YAAY,0OAA0O,QAAQ,uEAAuE,OAAO,0BAA0B,YAAY,sEAAsE,MAAM,uBAAuB"}