{"version":3,"file":"EmailCaptureForm.8ZmRd_2s.mjs","names":["useState","useRef"],"sources":["https:/framerusercontent.com/modules/NflS1kkYrvlMALm4HRp2/dfpffI6FdOhB6rVZEO3n/EmailCaptureForm.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useState,useEffect,useRef}from\"react\";import{addPropertyControls,ControlType,useTracking}from\"framer\";const FILLOUT_SUBMISSIONS_URL=\"https://api.fillout.com/v1/api/forms/nV9TQL3w7sus/submissions\";const FILLOUT_API_KEY=\"sk_prod_rxkKg0hkNhljdz2qYAqGfunYQnqhCMHOl3GskHRlvFCJQY4PxXu9OXCJuU5H3dQGA997Qokh9Jd7zRU1IH99PQYddmmIAGtrCIf_34003\";const PRIVACY_NOTICE_REVISION=\"2024-05-16\";const ACKNOWLEDGMENT_TEXT=\"By submitting, you consent to our use of your data. Privacy Policy.\";const ACKNOWLEDGMENT_VERSION=\"book-demo-v10\";const EXPLICIT_ACKNOWLEDGMENT_TEXT=\"I agree to the Privacy Policy and consent to Beam AI using my information to contact me about my demo.\";const EXPLICIT_ACKNOWLEDGMENT_VERSION=\"book-demo-v11-explicit\";function forwardMarketingTracking(trackingId,details={}){if(typeof document===\"undefined\"||!trackingId)return;document.dispatchEvent(new CustomEvent(\"beam:tracking\",{detail:{trackingId,...details}}));}function useBreakpoint(){const[width,setWidth]=useState(typeof window!==\"undefined\"?window.innerWidth:1024);useEffect(()=>{const onResize=()=>setWidth(window.innerWidth);window.addEventListener(\"resize\",onResize);return()=>window.removeEventListener(\"resize\",onResize);},[]);return width;}export default function EmailCaptureForm(props){const track=useTracking();const{// Content\nplaceholder=\"What's your work email?\",buttonText=\"See a live demo\",filloutUrl=\"https://onboarding.beam.ai/t/9U3aUYJQ9Qus\",privacyNoticeUrl=\"https://beam.ai/legal/privacy-policy\",showMarketingConsent=false,requireExplicitConsent=false,// Variants\nbuttonStyle=\"blue\",layout=\"horizontal\",appearance=\"auto\"}=props;const acknowledgmentText=requireExplicitConsent?EXPLICIT_ACKNOWLEDGMENT_TEXT:ACKNOWLEDGMENT_TEXT;const acknowledgmentVersion=requireExplicitConsent?EXPLICIT_ACKNOWLEDGMENT_VERSION:ACKNOWLEDGMENT_VERSION;const[email,setEmail]=useState(\"\");const[status,setStatus]=useState(\"idle\");const[validationError,setValidationError]=useState(\"\");const[marketingConsent,setMarketingConsent]=useState(false);const[consentChecked,setConsentChecked]=useState(false);const[honeypot,setHoneypot]=useState(\"\");// Preserve the stable published form's first render. Automatic instances\n// resolve against their actual Framer surface after mount.\nconst[resolvedTheme,setResolvedTheme]=useState(\"dark\");const[containerWidth,setContainerWidth]=useState(0);const rootRef=useRef(null);const loadTime=useRef(Date.now());const hasStarted=useRef(false);const width=useBreakpoint();useEffect(()=>{const resolveTheme=()=>{if(appearance!==\"auto\"){setResolvedTheme(appearance);return;}// Composite every ancestor background instead of treating a\n// translucent black overlay as a solid dark surface. This keeps\n// light pages such as /platform light while preserving forms that\n// sit inside genuinely black cards.\nconst layers=[];let surface=rootRef.current?.parentElement;while(surface){const background=getComputedStyle(surface).backgroundColor;const match=background.match(/rgba?\\((\\d+),\\s*(\\d+),\\s*(\\d+)(?:,\\s*([\\d.]+))?/);if(match){const alpha=Number(match[4]??1);if(alpha>0){layers.push({red:Number(match[1]),green:Number(match[2]),blue:Number(match[3]),alpha});}}surface=surface.parentElement;}if(layers.length){let red=255;let green=255;let blue=255;for(const layer of layers.reverse()){red=layer.red*layer.alpha+red*(1-layer.alpha);green=layer.green*layer.alpha+green*(1-layer.alpha);blue=layer.blue*layer.alpha+blue*(1-layer.alpha);}const luminance=.2126*red+.7152*green+.0722*blue;setResolvedTheme(luminance>150?\"light\":\"dark\");return;}const framerTheme=document.body?.dataset?.framerTheme;if(framerTheme===\"light\"||framerTheme===\"dark\"){setResolvedTheme(framerTheme);return;}setResolvedTheme(window.matchMedia?.(\"(prefers-color-scheme: dark)\").matches?\"dark\":\"light\");};resolveTheme();const observer=new MutationObserver(resolveTheme);observer.observe(document.documentElement,{attributes:true,subtree:true,attributeFilter:[\"data-framer-theme\",\"data-theme\",\"class\",\"style\"]});const media=window.matchMedia?.(\"(prefers-color-scheme: dark)\");media?.addEventListener?.(\"change\",resolveTheme);return()=>{observer.disconnect();media?.removeEventListener?.(\"change\",resolveTheme);};},[appearance]);useEffect(()=>{if(!rootRef.current)return;const updateWidth=()=>{setContainerWidth(rootRef.current?.getBoundingClientRect().width??0);};updateWidth();const observer=new ResizeObserver(updateWidth);observer.observe(rootRef.current);return()=>observer.disconnect();},[]);const trackFormEvent=trackingId=>{track(trackingId);forwardMarketingTracking(trackingId);};const markStarted=()=>{if(hasStarted.current)return;hasStarted.current=true;trackFormEvent(\"cms-email-form-start\");};const isMobile=width<480;const isTablet=width>=480&&width<768;const isBlue=buttonStyle===\"blue\";const isHorizontal=layout===\"horizontal\";const isLightBackground=resolvedTheme===\"light\";const isCompact=containerWidth>0&&containerWidth<350;const noticeColor=isLightBackground?\"rgba(12, 18, 28, 0.62)\":\"rgba(255, 255, 255, 0.68)\";const noticeLinkColor=isLightBackground?\"rgba(12, 18, 28, 0.9)\":\"rgba(255, 255, 255, 0.9)\";const fontSize=isMobile?\"13px\":isTablet?\"14px\":\"16px\";const containerPadding=isMobile?\"3px\":\"4px\";const inputPaddingLeft=isMobile?\"10px\":isTablet?\"12px\":\"16px\";const inputPaddingVertical=isMobile?\"8px 10px\":isTablet?\"9px 12px\":\"10px 14px\";const buttonPaddingH=isMobile?\"14px\":isTablet?\"16px\":\"20px\";const buttonPaddingVertical=isMobile?\"8px 14px\":isTablet?\"9px 16px\":\"10px 20px\";const verticalGap=isMobile?\"6px\":\"10px\";const errorFontSize=isMobile?\"12px\":\"14px\";const buttonColors={bg:isBlue?\"#3264F6\":\"#FFFFFF\",bgHover:isBlue?\"#2854D6\":\"#E5E5E5\",bgSubmitting:isBlue?\"#2854D6\":\"#D4D4D4\",text:isBlue?\"#FFFFFF\":\"#000000\"};// Levenshtein distance — catches novel typos of blocked domains\nconst editDistance=(a,b)=>{const m=a.length,n=b.length;const dp=Array.from({length:m+1},()=>Array(n+1).fill(0));for(let i=0;i<=m;i++)dp[i][0]=i;for(let j=0;j<=n;j++)dp[0][j]=j;for(let i=1;i<=m;i++)for(let j=1;j<=n;j++)dp[i][j]=a[i-1]===b[j-1]?dp[i-1][j-1]:1+Math.min(dp[i-1][j],dp[i][j-1],dp[i-1][j-1]);return dp[m][n];};const validateEmail=email=>{const emailRegex=/^[^\\s@]+@[^\\s@]+\\.[^\\s@]{2,}$/;if(!emailRegex.test(email)){return{valid:false,message:\"Please enter a valid email address\"};}const domain=email.trim().toLowerCase().split(\"@\")[1];// Reject malformed domains (double dots, single-char TLD)\nif(domain.includes(\"..\")||domain.length<4){return{valid:false,message:\"Please enter a valid email address\"};}// Match base provider name anywhere in domain\n// e.g. \"yahoo\" catches yahoo.com, yahoo.co.uk, yahoo.com.ar\nconst freeProviders=[\"gmail\",\"googlemail\",\"yahoo\",\"hotmail\",\"outlook\",\"live\",\"msn\",\"aol\",\"icloud\",\"me.com\",\"mac.com\",\"mail.com\",\"email.com\",\"protonmail\",\"proton.me\",\"zoho\",\"yandex\",\"gmx\",\"mail.ru\",\"rediffmail\",\"fastmail\",\"tutanota\",\"mailinator\",\"tempmail\",\"163.com\",\"qq.com\",\"att.net\",\"comcast\",\"verizon\",\"naver\",\"libero\",\"laposte\",\"orange.fr\",\"wp.pl\",\"bigpond\",\"windowslive\"];// Gmail typo domains people use to bypass free-email filters\nconst gmailTypoDomains=[\"gmail.co\",\"gmail.net\",\"gmail.org\",\"gmail.cm\",\"gmal.com\",\"gmial.com\",\"gamil.com\",\"gnail.com\",\"gmaill.com\",\"gmil.com\",\"gamail.com\",\"gmill.com\",\"gmali.com\",\"gmaiil.com\",\"gmai.com\",\"gmall.com\",\"gmale.com\",\"gmaul.com\",\"gmeil.com\",\"gimail.com\",\"gmsil.com\",\"gmaik.com\",\"gmqil.com\",\"gmzil.com\",\"googlmail.com\",\"ggmail.com\",\"gmaol.com\"];if(gmailTypoDomains.includes(domain)){return{valid:false,message:\"Please use your work email address\"};}// Fuzzy catch-all: compare domain name (before TLD) against free providers\nconst domainName=domain.split(\".\")[0];const fuzzyTargets=[{name:\"gmail\",threshold:1},{name:\"yahoo\",threshold:1},{name:\"hotmail\",threshold:2},{name:\"outlook\",threshold:1},{name:\"googlemail\",threshold:3}];const tooClose=fuzzyTargets.some(t=>editDistance(domainName,t.name)<=t.threshold&&domainName!==t.name);if(tooClose){return{valid:false,message:\"Please use your work email address\"};}const blocked=freeProviders.some(p=>p.includes(\".\")?domain===p||domain.endsWith(\".\"+p):domain.split(\".\")[0]===p);if(blocked){return{valid:false,message:\"Please use your work email address\"};}if(domain.includes(\".edu\")||domain.includes(\"student.\")){return{valid:false,message:\"Please use your work email address\"};}return{valid:true,message:\"\"};};const handleSubmit=async e=>{if(e){e.preventDefault();e.stopPropagation();}setValidationError(\"\");// Honeypot: bots fill hidden fields, humans don't\nif(honeypot)return;// Timing: reject submissions faster than 2 seconds (bot behavior)\nif(Date.now()-loadTime.current<2e3)return;trackFormEvent(\"cms-email-form-submit-click\");const validation=validateEmail(email);if(!validation.valid){trackFormEvent(\"cms-email-form-validation-error\");setValidationError(validation.message);return;}// Explicit consent (GDPR): user must actively tick the box\nif(requireExplicitConsent&&!consentChecked){trackFormEvent(\"cms-email-form-validation-error\");setValidationError(\"Please tick the box to agree to the Privacy Policy.\");return;}setStatus(\"submitting\");// Read GA4 client ID from _ga cookie\nlet ga4ClientId=\"\";const gaMatch=document.cookie.match(/_ga=([^;]+)/);if(gaMatch){ga4ClientId=gaMatch[1].split(\".\").slice(2).join(\".\");}try{const acknowledgedAt=new Date().toISOString();const response=await fetch(FILLOUT_SUBMISSIONS_URL,{method:\"POST\",headers:{Authorization:`Bearer ${FILLOUT_API_KEY}`,\"Content-Type\":\"application/json\"},body:JSON.stringify({submissions:[{questions:[{id:\"muUy\",value:email},{id:\"vxma\",value:ga4ClientId},{id:\"kY3A\",value:window.location.href},{id:\"daUx\",value:requireExplicitConsent?consentChecked?\"Yes\":\"No\":\"Yes\"},{id:\"iitG\",value:privacyNoticeUrl},{id:\"ropX\",value:PRIVACY_NOTICE_REVISION},{id:\"fJdj\",value:acknowledgedAt},{id:\"oYmx\",value:acknowledgmentText},{id:\"d7QQ\",value:acknowledgmentVersion},{id:\"2fee\",value:marketingConsent?\"Yes\":\"No\"}]}]})});if(!response.ok){throw new Error(`Book demo submission failed: ${response.status}`);}const result=await response.json();const submissionId=result?.submissions?.[0]?.submissionId;if(!submissionId){throw new Error(\"Book demo submission ID is missing\");}setStatus(\"success\");trackFormEvent(\"cms-email-form-submit-success\");const nextUrl=new URL(filloutUrl);nextUrl.searchParams.set(\"email\",email);nextUrl.searchParams.set(\"ga4_client_id\",ga4ClientId);nextUrl.searchParams.set(\"consent_record_id\",submissionId);window.location.href=nextUrl.toString();}catch(err){console.error(\"Network or other error\",err);trackFormEvent(\"cms-email-form-submit-error\");setStatus(\"error\");}};return /*#__PURE__*/_jsxs(\"div\",{ref:rootRef,style:{display:\"flex\",flexDirection:\"column\",gap:\"6px\"},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                .email-capture-input::placeholder {\n                    color: rgba(255, 255, 255, 0.5);\n                }\n            `}),/*#__PURE__*/_jsxs(\"form\",{onSubmit:handleSubmit,style:{display:\"flex\",flexDirection:isHorizontal?\"row\":\"column\",alignItems:isHorizontal?\"center\":\"stretch\",...isHorizontal?{backgroundColor:isLightBackground?\"#141414\":\"rgba(255, 255, 255, 0.08)\",border:`1px solid ${validationError?\"#EF4444\":\"rgba(255, 255, 255, 0.1)\"}`,borderRadius:\"8px\",padding:containerPadding,gap:\"12px\"}:{gap:verticalGap},boxSizing:\"border-box\"},children:[/*#__PURE__*/_jsx(\"input\",{type:\"text\",name:\"website\",autoComplete:\"off\",tabIndex:-1,value:honeypot,onChange:e=>setHoneypot(e.target.value),style:{position:\"absolute\",left:\"-9999px\",opacity:0,height:0,width:0,overflow:\"hidden\"}}),/*#__PURE__*/_jsx(\"input\",{className:\"email-capture-input\",type:\"email\",required:true,placeholder:placeholder,value:email,onFocus:markStarted,onChange:e=>{markStarted();setEmail(e.target.value);setValidationError(\"\");setStatus(\"idle\");},onKeyDown:e=>{if(e.key===\"Enter\"){e.preventDefault();handleSubmit(e);}},style:{flex:isHorizontal?1:undefined,width:isHorizontal?undefined:\"100%\",minWidth:\"200px\",backgroundColor:isHorizontal?\"transparent\":isLightBackground?\"#141414\":\"rgba(255, 255, 255, 0.08)\",color:\"#FFFFFF\",border:isHorizontal?\"none\":`1px solid ${validationError?\"#EF4444\":isLightBackground?\"rgba(12, 18, 28, 0.18)\":\"rgba(255, 255, 255, 0.1)\"}`,borderRadius:isHorizontal?undefined:\"8px\",padding:isHorizontal?`0 20px 0 ${inputPaddingLeft}`:inputPaddingVertical,fontSize,fontFamily:\"Satoshi, sans-serif\",fontWeight:\"500\",letterSpacing:\"-0.01em\",lineHeight:\"1.2\",outline:\"none\",boxSizing:\"border-box\",textAlign:isHorizontal?\"left\":\"center\"}}),/*#__PURE__*/_jsx(\"button\",{type:\"submit\",disabled:status===\"submitting\",onClick:e=>{e.preventDefault();handleSubmit(e);},style:{flexShrink:0,width:isHorizontal?undefined:\"100%\",backgroundColor:status===\"submitting\"?buttonColors.bgSubmitting:buttonColors.bg,color:buttonColors.text,border:\"none\",borderRadius:isHorizontal?\"5px\":\"8px\",padding:isHorizontal?`${isMobile?\"8px\":isTablet?\"9px\":\"10px\"} ${buttonPaddingH}`:buttonPaddingVertical,fontSize,fontWeight:\"700\",fontFamily:\"Satoshi, sans-serif\",letterSpacing:\"-0.01em\",lineHeight:\"1.2\",cursor:status===\"submitting\"?\"not-allowed\":\"pointer\",transition:\"background-color 0.2s\",whiteSpace:\"nowrap\",boxSizing:\"border-box\"},onMouseEnter:e=>{if(status!==\"submitting\"){e.currentTarget.style.backgroundColor=buttonColors.bgHover;}},onMouseLeave:e=>{if(status!==\"submitting\"){e.currentTarget.style.backgroundColor=buttonColors.bg;}},children:status===\"submitting\"?\"Submitting...\":buttonText})]}),requireExplicitConsent?/*#__PURE__*/_jsxs(\"label\",{style:{display:\"flex\",alignItems:\"flex-start\",gap:\"8px\",color:noticeColor,fontSize:\"12px\",fontFamily:\"Satoshi, sans-serif\",lineHeight:\"1.4\",margin:0,cursor:\"pointer\"},children:[/*#__PURE__*/_jsx(\"input\",{type:\"checkbox\",required:true,checked:consentChecked,onChange:e=>{markStarted();setConsentChecked(e.target.checked);setValidationError(\"\");},style:{margin:\"1px 0 0\",width:\"14px\",height:\"14px\",flexShrink:0,accentColor:\"#3264F6\",cursor:\"pointer\"}}),/*#__PURE__*/_jsxs(\"span\",{children:[\"I agree to Beam AI's\",\" \",/*#__PURE__*/_jsx(\"a\",{href:privacyNoticeUrl,target:\"_blank\",rel:\"noopener noreferrer\",style:{color:noticeLinkColor,textDecoration:\"underline\",textUnderlineOffset:\"2px\"},children:\"Privacy Policy\"}),\" \",\"and consent to being contacted about my demo.\"]})]}):/*#__PURE__*/_jsxs(\"p\",{style:{color:noticeColor,fontSize:\"12px\",fontFamily:\"Satoshi, sans-serif\",lineHeight:\"1.3\",margin:0,whiteSpace:isMobile||isCompact?\"normal\":\"nowrap\"},children:[\"By submitting, you consent to our use of your data.\",\" \",/*#__PURE__*/_jsx(\"a\",{href:privacyNoticeUrl,target:\"_blank\",rel:\"noopener noreferrer\",style:{color:noticeLinkColor,textDecoration:\"underline\",textUnderlineOffset:\"2px\"},children:\"Privacy Policy\"}),\".\"]}),(validationError||status===\"error\"||status===\"success\")&&/*#__PURE__*/_jsx(\"p\",{style:{color:status===\"success\"?\"#4ADE80\":\"#EF4444\",margin:0,fontSize:errorFontSize,fontFamily:\"Satoshi, sans-serif\",lineHeight:\"1.3\"},children:validationError||(status===\"success\"?\"Thank you — your email has been submitted.\":\"Something went wrong. Please try again.\")}),showMarketingConsent&&/*#__PURE__*/_jsxs(\"label\",{style:{display:\"flex\",alignItems:\"flex-start\",gap:\"8px\",color:noticeColor,fontSize:isMobile?\"11px\":\"12px\",fontFamily:\"Satoshi, sans-serif\",lineHeight:\"1.45\",cursor:\"pointer\"},children:[/*#__PURE__*/_jsx(\"input\",{type:\"checkbox\",checked:marketingConsent,onChange:e=>{markStarted();setMarketingConsent(e.target.checked);},style:{margin:\"2px 0 0\",width:\"14px\",height:\"14px\",flexShrink:0,accentColor:\"#3264F6\",cursor:\"pointer\"}}),/*#__PURE__*/_jsx(\"span\",{children:\"Email me about Beam AI products, events, and resources. I can unsubscribe at any time.\"})]})]});}addPropertyControls(EmailCaptureForm,{placeholder:{type:ControlType.String,title:\"Placeholder\",defaultValue:\"What's your work email?\"},buttonText:{type:ControlType.String,title:\"Button Text\",defaultValue:\"See a live demo\"},filloutUrl:{type:ControlType.String,title:\"Fillout URL\",defaultValue:\"https://onboarding.beam.ai/t/9U3aUYJQ9Qus\"},privacyNoticeUrl:{type:ControlType.String,title:\"Privacy URL\",defaultValue:\"https://beam.ai/legal/privacy-policy\"},requireExplicitConsent:{type:ControlType.Boolean,title:\"Require Consent\",defaultValue:false},showMarketingConsent:{type:ControlType.Boolean,title:\"Marketing Opt-in\",defaultValue:false},buttonStyle:{type:ControlType.Enum,title:\"Button Style\",options:[\"blue\",\"white\"],optionTitles:[\"Blue\",\"White\"],defaultValue:\"blue\"},layout:{type:ControlType.Enum,title:\"Layout\",options:[\"horizontal\",\"vertical\"],optionTitles:[\"Horizontal\",\"Vertical\"],defaultValue:\"horizontal\"},appearance:{type:ControlType.Enum,title:\"Page Theme\",options:[\"auto\",\"dark\",\"light\"],optionTitles:[\"Automatic\",\"Dark Background\",\"Light Background\"],defaultValue:\"auto\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"EmailCaptureForm\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./EmailCaptureForm.map"],"mappings":"4MAAixB,SAAS,G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