{"version":3,"file":"siteMetadata.ugSCkJZL.mjs","names":[],"sources":["https:/framerusercontent.com/modules/boyWKo9PK9nctKfIb0Us/zKsq6K7CtY8hzvZ67nuj/siteMetadata.js"],"sourcesContent":["// Generated by Framer (2306ade)\nexport default function metadata(params,activeLocale){return{customHTMLBodyEnd:'<script>\\n  // 1) read a query-param (falls back to \"\")\\nfunction getParameterByName(name) {\\n  const params = new URLSearchParams(window.location.search);\\n  return params.get(name) || \"\";\\n}\\n\\n// 2) read a cookie (returns null if missing)\\nfunction getCookie(name) {\\n  const cookies = document.cookie.split(\";\");\\n  for (let cookie of cookies) {\\n    cookie = cookie.trim();\\n    const eqIdx = cookie.indexOf(\"=\");\\n    if (eqIdx < 0) continue;\\n    const key = cookie.slice(0, eqIdx);\\n    if (key === name) {\\n      return decodeURIComponent(cookie.slice(eqIdx + 1));\\n    }\\n  }\\n  return null;\\n}\\n\\n// 3) write a cookie with proper attributes (Expires, Path, Secure, SameSite, Domain)\\nfunction setCookie(name, value, days = 30, options = {}) {\\n  const d = new Date();\\n  d.setTime(d.getTime() + days * 24 * 60 * 60 * 1000);\\n  const expiresStr = d.toUTCString();\\n\\n  const opts = {\\n    Path: \"/\",\\n    Expires: expiresStr,\\n    Secure: true,\\n    SameSite: \"Strict\",\\n    Domain: options.domain || window.location.hostname,\\n    ...options,\\n  };\\n\\n  const encodedName = encodeURIComponent(name);\\n  const encodedValue = encodeURIComponent(value);\\n  let cookieStr = `${encodedName}=${encodedValue}`;\\n\\n  for (const [k, v] of Object.entries(opts)) {\\n    if (v === true) {\\n      cookieStr += `; ${k}`;\\n    } else if (v !== false) {\\n      cookieStr += `; ${k}=${v}`;\\n    }\\n  }\\n\\n  document.cookie = cookieStr;\\n}\\n\\ndocument.addEventListener(\"DOMContentLoaded\", () => {\\n  // 4) capture UTM params (only if present and no existing cookie)\\n  const params = new URLSearchParams(window.location.search);\\n  const utmKeys = [\"source\", \"medium\", \"campaign\", \"term\", \"content\"];\\n\\n  utmKeys.forEach((key) => {\\n    const name = `utm_${key}`;\\n    const val = params.get(name);\\n    if (val && !getCookie(name)) {\\n      setCookie(name, val);\\n    }\\n  });\\n\\n  // 5) capture document.referrer once\\n  const rawRef = document.referrer;\\n  if (rawRef && !getCookie(\"referrer\")) {\\n    setCookie(\"referrer\", rawRef);\\n  }\\n\\n  // Get all cookie values after they\\'re potentially set\\n  const cookieUtmSource = getCookie(\"utm_source\");\\n  const cookieUtmMedium = getCookie(\"utm_medium\");\\n  const cookieUtmCampaign = getCookie(\"utm_campaign\");\\n  const cookieUtmTerm = getCookie(\"utm_term\");\\n  const cookieUtmContent = getCookie(\"utm_content\");\\n  const referrerCookie = getCookie(\"referrer\");\\n\\n  // 6) patch all Calendly <a> tags\\n  document.querySelectorAll(\"a[href*=\\'calendly.com\\']\").forEach((el) => {\\n    try {\\n      const href = el.getAttribute(\"href\");\\n      const url = new URL(href, window.location.origin);\\n\\n      // utm_source (cookie wins; else referrer)\\n      if (cookieUtmSource && !url.searchParams.has(\"utm_source\")) {\\n        url.searchParams.set(\"utm_source\", cookieUtmSource);\\n      } else if (referrerCookie && !url.searchParams.has(\"utm_source\")) {\\n        url.searchParams.set(\"utm_source\", referrerCookie);\\n      }\\n\\n      // the other UTM keys\\n      if (cookieUtmMedium && !url.searchParams.has(\"utm_medium\"))\\n        url.searchParams.set(\"utm_medium\", cookieUtmMedium);\\n      if (cookieUtmCampaign && !url.searchParams.has(\"utm_campaign\"))\\n        url.searchParams.set(\"utm_campaign\", cookieUtmCampaign);\\n      if (cookieUtmTerm && !url.searchParams.has(\"utm_term\"))\\n        url.searchParams.set(\"utm_term\", cookieUtmTerm);\\n      if (cookieUtmContent && !url.searchParams.has(\"utm_content\"))\\n        url.searchParams.set(\"utm_content\", cookieUtmContent);\\n\\n      // referrer as its own param (if distinct)\\n      if (\\n        referrerCookie &&\\n        referrerCookie !== cookieUtmSource &&\\n        !url.searchParams.has(\"referrer\")\\n      ) {\\n        url.searchParams.set(\"referrer\", referrerCookie);\\n      }\\n\\n      el.href = url.toString();\\n    } catch (e) {\\n      console.error(\"Error processing Calendly link:\", e, el.href);\\n    }\\n  });\\n});\\n\\n</script>',customHTMLBodyStart:'<!-- Google Tag Manager (noscript) -->\\n<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-W4W3DP6\" height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>\\n<!-- End Google Tag Manager (noscript) -->',customHTMLHeadStart:\"<!-- 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-W4W3DP6');</script>\\n<!-- End Google Tag Manager -->\",description:\"Checksum turns your user sessions into a full testing automation pipeline, so you can ship fast without reducing quality.\",favicon:\"https://framerusercontent.com/assets/t5ppdW3uAiIcbmKEY0LePQLk.png\",robots:\"max-image-preview:large\",socialImage:\"https://framerusercontent.com/assets/FjCol2EYAPMuhZuyPZMd3ccMj5s.png\",title:\"Checksum.ai - E2E test automation based on real user behavior\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"2DACA,SAAwB,EAAS,EAAO,EAAa,CAAC,MAAM,CAAC,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAA41H,oBAAoB;;4CAAuP,oBAAoB;;;;;;iCAA2a,YAAY,4HAA4H,QAAQ,oEAAoE,OAAO,0BAA0B,YAAY,uEAAuE,MAAM,+DAAgE,CAAE"}