{"version":3,"file":"SignUpButton.Cbb2olsJ.mjs","names":[],"sources":["https:/framerusercontent.com/modules/7FuypIs8qgHUoME98Maf/fP8B2sBnS2Vl6rXQbt6r/SignUpButton.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef}from\"react\";// Learn more: https://www.framer.com/developers/overrides/\nfunction getGaAnonId(){try{const gaCookie=document.cookie.split(\"; \").find(row=>row.startsWith(\"_ga=\"));if(!gaCookie){return null;}const value=gaCookie.split(\"=\")[1]// e.g. GA1.2.12345.67890\n;const parts=value.split(\".\");// GA format: GA<version>.<subdomain>.<cid1>.<cid2>\nif(parts.length>=4){return`${parts[2]}.${parts[3]}`;}return null;}catch(e){return null;}}export function withAnalyticsTracking(Component){return /*#__PURE__*/forwardRef((props,ref)=>{let link=props.link;try{// Retrieve the anonymous ID from localStorage, if it exists\nconst anonId=getGaAnonId();// Construct the target URL and append sdbr_anon_id when available\nconst url=new URL(link);if(anonId){url.searchParams.append(\"sdbr_anon_id\",anonId);}// Update url with ajs anon id\nlink=url.toString();}catch(error){// Catch-all\n}return /*#__PURE__*/_jsx(Component,{ref:ref,...props,link:link});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withAnalyticsTracking\":{\"type\":\"reactHoc\",\"name\":\"withAnalyticsTracking\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SignUpButton.map"],"mappings":"kHACA,SAAS,GAAa,CAAC,GAAG,CAAC,IAAM,EAAS,SAAS,OAAO,MAAM,KAAK,CAAC,KAAK,GAAK,EAAI,WAAW,OAAO,CAAC,CAAC,GAAG,CAAC,EAAU,OAAO,KAC5H,IAAM,EADwI,EAAS,MAAM,IAAI,CAAC,GAChJ,MAAM,IAAI,CACwB,OAAlD,EAAM,QAAQ,EAAS,GAAG,EAAM,GAAG,GAAG,EAAM,KAAa,UAAc,CAAC,OAAO,MAAO,SAAgB,EAAsB,EAAU,CAAC,OAAoB,GAAY,EAAM,IAAM,CAAC,IAAI,EAAK,EAAM,KAAK,GAAG,CAC9M,IAAM,EAAO,GAAa,CACpB,EAAI,IAAI,IAAI,EAAK,CAAI,GAAQ,EAAI,aAAa,OAAO,eAAe,EAAO,CACjF,EAAK,EAAI,UAAU,MAAc,EAChC,OAAoB,EAAK,EAAU,CAAK,MAAI,GAAG,EAAW,OAAK,CAAC,EAAG,kBAPzB,IAA8B"}