{"version":3,"file":"EmailFilter.BbLt5x2c.mjs","names":["React.useContext","React.useMemo","React.Fragment","React.forwardRef","useRef","React.useId","RichText","__legacyOverrideHOC_DataObserverContext","_jsx"],"sources":["https:/framerusercontent.com/modules/TmA74C0hmnsd31lShz2U/oNDTECVzNtTSlpNFGYnr/iy54aKhLn.js","https:/framerusercontent.com/modules/Sa2HEaEckPqKZKqVHBnJ/EfvHTzadEsbTBM4mpVwz/EmailFilter.js"],"sourcesContent":["// Generated by Framer (4eeba22)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,RichText,useComponentViewport,useLocaleInfo,useVariantState,withCSS,withFX}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const MotionDivWithFX=withFX(motion.div);const enabledGestures={FuyEtBSP7:{hover:true,pressed:true}};const cycleOrder=[\"FuyEtBSP7\",\"g4M7UNqeJ\",\"es_FFvQwz\",\"k5LWy0w2Z\",\"cfOIoV4Ae\"];const serializationHash=\"framer-fBkLK\";const variantClassNames={cfOIoV4Ae:\"framer-v-r08kjx\",es_FFvQwz:\"framer-v-dnx4sj\",FuyEtBSP7:\"framer-v-p3kpkq\",g4M7UNqeJ:\"framer-v-10ig5f3\",k5LWy0w2Z:\"framer-v-i578go\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const jlAw6a0eH=undefined;const transition1={delay:0,duration:.2,ease:[.44,0,.56,1],type:\"tween\"};const transition2={delay:0,duration:1,ease:[0,0,1,1],type:\"tween\"};const animation={opacity:1,rotate:360,rotateX:0,rotateY:0,scale:1,skewX:0,skewY:0,x:0,y:0};const transformTemplate1=(_,t)=>`translateX(-50%) ${t}`;const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const Variants=motion.create(React.Fragment);const humanReadableVariantMap={Default:\"FuyEtBSP7\",Disabled:\"es_FFvQwz\",Error:\"cfOIoV4Ae\",Loading:\"g4M7UNqeJ\",Success:\"k5LWy0w2Z\"};const getProps=({height,id,posthogEventLabel,width,...props})=>{return{...props,jlAw6a0eH:posthogEventLabel??props.jlAw6a0eH,variant:humanReadableVariantMap[props.variant]??props.variant??\"FuyEtBSP7\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,jlAw6a0eH,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"FuyEtBSP7\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const isDisplayed=()=>{if(baseVariant===\"g4M7UNqeJ\")return false;return true;};const isDisplayed1=()=>{if(baseVariant===\"g4M7UNqeJ\")return true;return false;};return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsxs(motion.button,{...restProps,...gestureHandlers,\"aria-label\":jlAw6a0eH,className:cx(scopingClassNames,\"framer-p3kpkq\",className,classNames),\"data-framer-name\":\"Default\",\"data-reset\":\"button\",layoutDependency:layoutDependency,layoutId:\"FuyEtBSP7\",ref:refBinding,style:{background:\"linear-gradient(0deg, rgb(29, 78, 216) 0%, rgb(59, 130, 246) 63%)\",backgroundColor:\"rgba(0, 0, 0, 0)\",borderBottomLeftRadius:10,borderBottomRightRadius:10,borderTopLeftRadius:10,borderTopRightRadius:10,opacity:1,...style},variants:{\"FuyEtBSP7-hover\":{backgroundColor:\"rgba(0, 0, 0, 0)\",opacity:1},\"FuyEtBSP7-pressed\":{backgroundColor:\"rgba(0, 0, 0, 0)\",opacity:1},cfOIoV4Ae:{background:\"linear-gradient(0deg, rgba(255, 34, 68, 0.15) 0%, rgba(255, 34, 68, 0.15) 100%)\",backgroundColor:\"rgba(255, 34, 68, 0.15)\",opacity:1},es_FFvQwz:{backgroundColor:\"rgba(0, 0, 0, 0)\",opacity:.5},g4M7UNqeJ:{background:\"linear-gradient(0deg, rgb(46, 46, 46) 0%, rgb(46, 46, 46) 100%)\",backgroundColor:\"rgb(46, 46, 46)\"},k5LWy0w2Z:{background:\"linear-gradient(0deg, rgba(36, 145, 74, 0.15) 0%, rgba(36, 145, 74, 0.15) 100%)\",backgroundColor:\"rgba(36, 145, 74, 0.15)\",opacity:1}},...addPropertyOverrides({\"FuyEtBSP7-hover\":{\"data-framer-name\":undefined},\"FuyEtBSP7-pressed\":{\"data-framer-name\":undefined},cfOIoV4Ae:{\"data-framer-name\":\"Error\"},es_FFvQwz:{\"data-framer-name\":\"Disabled\"},g4M7UNqeJ:{\"data-framer-name\":\"Loading\"},k5LWy0w2Z:{\"data-framer-name\":\"Success\"}},baseVariant,gestureVariant),children:[isDisplayed()&&/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"RlI7SW50ZXJEaXNwbGF5LVNlbWlCb2xk\",\"--framer-font-family\":'\"Inter Display\", \"Inter Display Placeholder\", sans-serif',\"--framer-font-weight\":\"600\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 255, 255))\"},children:\"Submit\"})}),className:\"framer-y6ryvm\",fonts:[\"FR;InterDisplay-SemiBold\"],layoutDependency:layoutDependency,layoutId:\"Or4mYwzxo\",style:{\"--extracted-r6o4lv\":\"rgb(255, 255, 255)\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},variants:{cfOIoV4Ae:{\"--extracted-r6o4lv\":\"rgb(255, 34, 68)\"},k5LWy0w2Z:{\"--extracted-r6o4lv\":\"rgb(36, 145, 74)\"}},verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({cfOIoV4Ae:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"SW50ZXItU2VtaUJvbGQ=\",\"--framer-font-family\":'\"Inter\", \"Inter Placeholder\", sans-serif',\"--framer-font-size\":\"14px\",\"--framer-font-weight\":\"600\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 34, 68))\"},children:\"Something went wrong\"})}),fonts:[\"Inter-SemiBold\"]},k5LWy0w2Z:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"SW50ZXItU2VtaUJvbGQ=\",\"--framer-font-family\":'\"Inter\", \"Inter Placeholder\", sans-serif',\"--framer-font-size\":\"14px\",\"--framer-font-weight\":\"600\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(36, 145, 74))\"},children:\"Thank you\"})}),fonts:[\"Inter-SemiBold\"]}},baseVariant,gestureVariant)}),isDisplayed1()&&/*#__PURE__*/_jsx(motion.div,{className:\"framer-122lr6p\",\"data-framer-name\":\"Spinner\",layoutDependency:layoutDependency,layoutId:\"XFkTR4hEJ\",style:{mask:\"url('https://framerusercontent.com/images/pGiXYozQ3mE4cilNOItfe2L2fUA.svg?width=20&height=20') alpha no-repeat center / cover add\",WebkitMask:\"url('https://framerusercontent.com/images/pGiXYozQ3mE4cilNOItfe2L2fUA.svg?width=20&height=20') alpha no-repeat center / cover add\"},children:/*#__PURE__*/_jsx(MotionDivWithFX,{__framer__loop:animation,__framer__loopEffectEnabled:true,__framer__loopRepeatDelay:0,__framer__loopRepeatType:\"loop\",__framer__loopTransition:transition2,__perspectiveFX:false,__smartComponentFX:true,__targetOpacity:1,className:\"framer-rgfenq\",\"data-framer-name\":\"Conic\",layoutDependency:layoutDependency,layoutId:\"DMJ8pR5yX\",style:{background:\"conic-gradient(from 180deg at 50% 50%, rgb(68, 204, 255) 0deg, rgb(68, 204, 255) 360deg)\",backgroundColor:\"rgb(68, 204, 255)\",mask:\"none\",WebkitMask:\"none\"},variants:{g4M7UNqeJ:{background:\"conic-gradient(from 0deg at 50% 50%, rgba(255, 255, 255, 0) 7.208614864864882deg, rgb(255, 255, 255) 342deg)\",backgroundColor:\"rgba(0, 0, 0, 0)\",mask:\"url('https://framerusercontent.com/images/pGiXYozQ3mE4cilNOItfe2L2fUA.svg?width=20&height=20') alpha no-repeat center / cover add\",WebkitMask:\"url('https://framerusercontent.com/images/pGiXYozQ3mE4cilNOItfe2L2fUA.svg?width=20&height=20') alpha no-repeat center / cover add\"}},children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-1jt994v\",\"data-framer-name\":\"Rounding\",layoutDependency:layoutDependency,layoutId:\"BKssxzqw9\",style:{backgroundColor:\"rgb(255, 255, 255)\",borderBottomLeftRadius:1,borderBottomRightRadius:1,borderTopLeftRadius:1,borderTopRightRadius:1},transformTemplate:transformTemplate1})})})]})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-fBkLK.framer-zf8gf5, .framer-fBkLK .framer-zf8gf5 { display: block; }\",\".framer-fBkLK.framer-p3kpkq { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 6px; height: 48px; justify-content: center; overflow: visible; padding: 0px 12px 0px 12px; position: relative; width: 240px; }\",\".framer-fBkLK .framer-y6ryvm { -webkit-user-select: none; flex: none; height: auto; position: relative; user-select: none; white-space: pre; width: auto; }\",\".framer-fBkLK .framer-122lr6p { aspect-ratio: 1 / 1; flex: none; gap: 10px; height: var(--framer-aspect-ratio-supported, 20px); overflow: hidden; position: relative; width: 20px; }\",\".framer-fBkLK .framer-rgfenq { bottom: 0px; flex: none; left: 0px; overflow: visible; position: absolute; right: 0px; top: 0px; }\",\".framer-fBkLK .framer-1jt994v { aspect-ratio: 1 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 2px); left: 50%; overflow: visible; position: absolute; top: 0px; width: 2px; }\",\".framer-fBkLK.framer-v-10ig5f3.framer-p3kpkq, .framer-fBkLK.framer-v-dnx4sj.framer-p3kpkq, .framer-fBkLK.framer-v-i578go.framer-p3kpkq, .framer-fBkLK.framer-v-r08kjx.framer-p3kpkq { cursor: unset; }\",\".framer-fBkLK.framer-v-10ig5f3 .framer-rgfenq { overflow: hidden; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 48\n * @framerIntrinsicWidth 240\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"g4M7UNqeJ\":{\"layout\":[\"fixed\",\"fixed\"]},\"es_FFvQwz\":{\"layout\":[\"fixed\",\"fixed\"]},\"k5LWy0w2Z\":{\"layout\":[\"fixed\",\"fixed\"]},\"cfOIoV4Ae\":{\"layout\":[\"fixed\",\"fixed\"]},\"JRZUomi2B\":{\"layout\":[\"fixed\",\"fixed\"]},\"KNhQDPN5t\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"jlAw6a0eH\":\"posthogEventLabel\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const Frameriy54aKhLn=withCSS(Component,css,\"framer-fBkLK\");export default Frameriy54aKhLn;Frameriy54aKhLn.displayName=\"Button\";Frameriy54aKhLn.defaultProps={height:48,width:240};addPropertyControls(Frameriy54aKhLn,{variant:{options:[\"FuyEtBSP7\",\"g4M7UNqeJ\",\"es_FFvQwz\",\"k5LWy0w2Z\",\"cfOIoV4Ae\"],optionTitles:[\"Default\",\"Loading\",\"Disabled\",\"Success\",\"Error\"],title:\"Variant\",type:ControlType.Enum},jlAw6a0eH:{defaultValue:\"\",description:\"\",title:\"Posthog event label\",type:ControlType.String}});addFonts(Frameriy54aKhLn,[{explicitInter:true,fonts:[{cssFamilyName:\"Inter Display\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter Display\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/gazZKZuUEtvr9ULhdA4SprP0AZ0.woff2\",weight:\"600\"},{cssFamilyName:\"Inter Display\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter Display\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/pe8RoujoPxuTZhqoNzYqHX2MXA.woff2\",weight:\"600\"},{cssFamilyName:\"Inter Display\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter Display\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/teGhWnhH3bCqefKGsIsqFy3hK8.woff2\",weight:\"600\"},{cssFamilyName:\"Inter Display\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter Display\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/qQHxgTnEk6Czu1yW4xS82HQWFOk.woff2\",weight:\"600\"},{cssFamilyName:\"Inter Display\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter Display\",unicodeRange:\"U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF\",url:\"https://framerusercontent.com/assets/MJ3N6lfN4iP5Um8rJGqLYl03tE.woff2\",weight:\"600\"},{cssFamilyName:\"Inter Display\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter Display\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/PfdOpgzFf7N2Uye9JX7xRKYTgSc.woff2\",weight:\"600\"},{cssFamilyName:\"Inter Display\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter Display\",unicodeRange:\"U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB\",url:\"https://framerusercontent.com/assets/0SEEmmWc3vovhaai4RlRQSWRrz0.woff2\",weight:\"600\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/hyOgCu0Xnghbimh0pE8QTvtt2AU.woff2\",weight:\"600\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/NeGmSOXrPBfEFIy5YZeHq17LEDA.woff2\",weight:\"600\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/oYaAX5himiTPYuN8vLWnqBbfD2s.woff2\",weight:\"600\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/lEJLP4R0yuCaMCjSXYHtJw72M.woff2\",weight:\"600\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF\",url:\"https://framerusercontent.com/assets/cRJyLNuTJR5jbyKzGi33wU9cqIQ.woff2\",weight:\"600\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/yDtI2UI8XcEg1W2je9XPN3Noo.woff2\",weight:\"600\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB\",url:\"https://framerusercontent.com/assets/A0Wcc7NgXMjUuFdquHDrIZpzZw0.woff2\",weight:\"600\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"Frameriy54aKhLn\",\"slots\":[],\"annotations\":{\"framerDisplayContentsDiv\":\"false\",\"framerContractVersion\":\"1\",\"framerComponentViewportWidth\":\"true\",\"framerColorSyntax\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"g4M7UNqeJ\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"es_FFvQwz\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"k5LWy0w2Z\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"cfOIoV4Ae\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"JRZUomi2B\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"KNhQDPN5t\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerVariables\":\"{\\\"jlAw6a0eH\\\":\\\"posthogEventLabel\\\"}\",\"framerAutoSizeImages\":\"true\",\"framerIntrinsicWidth\":\"240\",\"framerImmutableVariables\":\"true\",\"framerIntrinsicHeight\":\"48\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./iy54aKhLn.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{Data}from\"framer\";// Shared state between the input and the button\nconst state=Data({isFormValid:false});const blockedDomains=[// The Big Three\n\"gmail.com\",\"googlemail.com\",\"outlook.com\",\"hotmail.com\",\"live.com\",\"msn.com\",\"msn.net\",\"passport.com\",\"yahoo.com\",\"ymail.com\",\"rocketmail.com\",// Major Regional & Others\n\"icloud.com\",\"me.com\",\"mac.com\",\"aol.com\",\"aim.com\",\"zoho.com\",\"zoho.in\",\"yandex.com\",\"yandex.ru\",\"mail.ru\",\"list.ru\",\"bk.ru\",\"inbox.ru\",\"gmx.com\",\"gmx.net\",\"gmx.de\",\"mail.com\",\"email.com\",\"tuta.com\",\"tutanota.com\",\"proton.me\",\"protonmail.com\",\"protonmail.ch\",\"pm.me\",\"fastmail.com\",\"hushmail.com\",\"rediffmail.com\",\"lycos.com\"];const emailRegex=/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/;export function EmailValidation(){return{onBlur:event=>{const value=event?.target?.value||\"\";const isEmailFormat=emailRegex.test(value);const domain=value.split(\"@\")[1]?.toLowerCase();const isBlocked=blockedDomains.includes(domain);// Update the global state\nstate.isFormValid=isEmailFormat&&!isBlocked;// Visual feedback on the input\nif(value!==\"\"&&!state.isFormValid){event.target.style.border=\"2px solid red\";}else{event.target.style.border=\"none\";}},onFocus:event=>{event.target.style.border=\"none\";}};}export function SubmitButton(Component){return props=>{// TODO: This never triggers when the data changes\nconst isDisabled=!state.isFormValid;return /*#__PURE__*/_jsx(Component,{...props,disabled:isDisabled,style:{...props.style,// Injecting styles directly into the component's style prop\nopacity:isDisabled?.4:1,filter:isDisabled?\"grayscale(100%)\":\"none\",pointerEvents:isDisabled?\"none\":\"auto\",cursor:isDisabled?\"not-allowed\":\"pointer\",transition:\"all 0.3s ease\"}});};}export function SubmitButtonxx(){// Accessing state here forces the override to re-run when state changes\nconst active=state.isFormValid;return{// 'disabled' works for standard HTML buttons\ndisabled:!active,// 'style' works for almost all Framer components\nstyle:{opacity:active?1:.4,pointerEvents:active?\"auto\":\"none\",cursor:active?\"pointer\":\"not-allowed\",filter:active?\"none\":\"grayscale(100%)\",transition:\"all 0.3s ease\"}};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withEmailValidation(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...EmailValidation(props)});};}withEmailValidation.displayName=\"EmailValidation\";export function withSubmitButtonxx(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...SubmitButtonxx(props)});};}withSubmitButtonxx.displayName=\"SubmitButtonxx\";\nexport const __FramerMetadata__ = {\"exports\":{\"SubmitButtonxx\":{\"type\":\"override\",\"name\":\"SubmitButtonxx\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"EmailValidation\":{\"type\":\"override\",\"name\":\"EmailValidation\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withEmailValidation\":{\"type\":\"reactHoc\",\"name\":\"withEmailValidation\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withSubmitButtonxx\":{\"type\":\"reactHoc\",\"name\":\"withSubmitButtonxx\",\"annotations\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