{"version":3,"file":"EmailValidationInput.CfjOIPiB.mjs","names":["React.useContext","React.useMemo","React.Fragment","React.forwardRef","sharedStyle.className","React.useRef","React.useId","className","RichText","sharedStyle.css","sharedStyle.fonts","useState","useCallback"],"sources":["https:/framerusercontent.com/modules/zHJL3BNSUc7SH2VaiPiG/hZrQCOt7am1pkzmDDaMO/maUT3XoJu.js","https:/framerusercontent.com/modules/1NoU8kOXvPm514U3ZZih/1UbLeJA44rBCX4YLGT5X/EmailValidationInput.js"],"sourcesContent":["// Generated by Framer (dfd7da3)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getFontsFromSharedStyle,RichText,useComponentViewport,useLocaleInfo,useVariantState,withCSS,withFX}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import*as sharedStyle from\"https://framerusercontent.com/modules/oBcl2ps4jQeLOyAWPwPA/HYF4t8Qj1pVZIyEO1KjW/tf3hpv6x5.js\";const MotionDivWithFX=withFX(motion.div);const enabledGestures={ruPMvctzQ:{hover:true,pressed:true}};const cycleOrder=[\"ruPMvctzQ\",\"tVyOgHl4P\",\"xp7SWcg7X\",\"RS7gm02Nn\",\"VUSc4ILvB\"];const serializationHash=\"framer-xhUcD\";const variantClassNames={RS7gm02Nn:\"framer-v-hhc3f\",ruPMvctzQ:\"framer-v-unr74v\",tVyOgHl4P:\"framer-v-zfmr29\",VUSc4ILvB:\"framer-v-1sgh90x\",xp7SWcg7X:\"framer-v-1tga0sw\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}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 humanReadableVariantMap={Default:\"ruPMvctzQ\",Disabled:\"xp7SWcg7X\",Error:\"VUSc4ILvB\",Loading:\"tVyOgHl4P\",Success:\"RS7gm02Nn\"};const getProps=({height,id,width,...props})=>{return{...props,variant:humanReadableVariantMap[props.variant]??props.variant??\"ruPMvctzQ\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Variants=motion.create(React.Fragment);const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{activeLocale,setLocale}=useLocaleInfo();const{style,className,layoutId,variant,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"ruPMvctzQ\",enabledGestures,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[sharedStyle.className];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const ref1=React.useRef(null);const isDisplayed=()=>{if(baseVariant===\"tVyOgHl4P\")return false;return true;};const isDisplayed1=()=>{if(baseVariant===\"tVyOgHl4P\")return true;return false;};const defaultLayoutId=React.useId();const componentViewport=useComponentViewport();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,className:cx(scopingClassNames,\"framer-unr74v\",className,classNames),\"data-framer-name\":\"Default\",\"data-reset\":\"button\",layoutDependency:layoutDependency,layoutId:\"ruPMvctzQ\",ref:ref??ref1,style:{backgroundColor:\"var(--token-f79d02c7-1774-42e8-8ffe-88585b6d572d, rgb(30, 30, 30))\",borderBottomLeftRadius:10,borderBottomRightRadius:10,borderTopLeftRadius:10,borderTopRightRadius:10,opacity:1,...style},variants:{\"ruPMvctzQ-hover\":{backgroundColor:\"rgba(51, 51, 51, 0.85)\"},\"ruPMvctzQ-pressed\":{backgroundColor:\"rgb(51, 51, 51)\"},VUSc4ILvB:{backgroundColor:\"var(--token-193d8ab0-62c2-4ce4-b9a2-f724e9b236ad, rgba(255, 70, 46, 0.1))\"},xp7SWcg7X:{opacity:.5}},...addPropertyOverrides({\"ruPMvctzQ-hover\":{\"data-framer-name\":undefined},\"ruPMvctzQ-pressed\":{\"data-framer-name\":undefined},RS7gm02Nn:{\"data-framer-name\":\"Success\"},tVyOgHl4P:{\"data-framer-name\":\"Loading\"},VUSc4ILvB:{\"data-framer-name\":\"Error\"},xp7SWcg7X:{\"data-framer-name\":\"Disabled\"}},baseVariant,gestureVariant),children:[isDisplayed()&&/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-1w2ppby\",\"data-styles-preset\":\"tf3hpv6x5\",style:{\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-fe9d93ed-b3f8-4dd5-a542-7dee2ff95478, rgb(249, 249, 249)))\"},children:\"Submit Now\"})}),className:\"framer-puz3g\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"z5rjnnqXS\",style:{\"--extracted-r6o4lv\":\"var(--token-fe9d93ed-b3f8-4dd5-a542-7dee2ff95478, rgb(249, 249, 249))\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},variants:{VUSc4ILvB:{\"--extracted-r6o4lv\":\"var(--token-7ec95c0f-b04a-42ae-a158-91566b52197d, rgb(255, 70, 46))\"}},verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({RS7gm02Nn:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-1w2ppby\",\"data-styles-preset\":\"tf3hpv6x5\",style:{\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-fe9d93ed-b3f8-4dd5-a542-7dee2ff95478, rgb(249, 249, 249)))\"},children:\"Thank you\"})})},VUSc4ILvB:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-1w2ppby\",\"data-styles-preset\":\"tf3hpv6x5\",style:{\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-7ec95c0f-b04a-42ae-a158-91566b52197d, rgb(255, 70, 46)))\"},children:\"Something went wrong\"})})}},baseVariant,gestureVariant)}),isDisplayed1()&&/*#__PURE__*/_jsx(motion.div,{className:\"framer-nh7asj\",\"data-framer-name\":\"Spinner\",layoutDependency:layoutDependency,layoutId:\"pKJz3tEcc\",style:{mask:\"url('https://framerusercontent.com/images/pGiXYozQ3mE4cilNOItfe2L2fUA.svg') alpha no-repeat center / cover add\",WebkitMask:\"url('https://framerusercontent.com/images/pGiXYozQ3mE4cilNOItfe2L2fUA.svg') 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-qfe85m\",\"data-framer-name\":\"Conic\",layoutDependency:layoutDependency,layoutId:\"aCwdqs1AH\",style:{background:'conic-gradient(from 0deg at 50% 50%, var(--token-f2130d30-5051-414b-bbfe-2f8dcb0cab5e, rgb(0, 0, 0)) /* {\"name\":\"Black\"} */ 7.208614864864882deg, var(--token-c46abb9d-0d10-414f-ba99-89efb980d54d, rgb(255, 255, 255)) /* {\"name\":\"White\"} */ 342deg)',mask:\"none\",WebkitMask:\"none\"},variants:{tVyOgHl4P:{mask:\"url('https://framerusercontent.com/images/pGiXYozQ3mE4cilNOItfe2L2fUA.svg') alpha no-repeat center / cover add\",WebkitMask:\"url('https://framerusercontent.com/images/pGiXYozQ3mE4cilNOItfe2L2fUA.svg') alpha no-repeat center / cover add\"}},children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-b3zrr5\",\"data-framer-name\":\"Rounding\",layoutDependency:layoutDependency,layoutId:\"LOwuFqmV6\",style:{backgroundColor:\"var(--token-c46abb9d-0d10-414f-ba99-89efb980d54d, 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-xhUcD.framer-k5xtjn, .framer-xhUcD .framer-k5xtjn { display: block; }\",\".framer-xhUcD.framer-unr74v { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 0px; height: 72px; justify-content: center; overflow: visible; padding: 24px; position: relative; width: 240px; }\",\".framer-xhUcD .framer-puz3g { -webkit-user-select: none; flex: none; height: auto; position: relative; user-select: none; white-space: pre; width: auto; }\",\".framer-xhUcD .framer-nh7asj { aspect-ratio: 1 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 20px); overflow: hidden; position: relative; width: 20px; }\",\".framer-xhUcD .framer-qfe85m { bottom: 0px; flex: none; left: 0px; overflow: visible; position: absolute; right: 0px; top: 0px; }\",\".framer-xhUcD .framer-b3zrr5 { aspect-ratio: 1 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 2px); left: 50%; overflow: visible; position: absolute; top: 0px; width: 2px; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-xhUcD.framer-unr74v { gap: 0px; } .framer-xhUcD.framer-unr74v > * { margin: 0px; margin-left: calc(0px / 2); margin-right: calc(0px / 2); } .framer-xhUcD.framer-unr74v > :first-child { margin-left: 0px; } .framer-xhUcD.framer-unr74v > :last-child { margin-right: 0px; } }\",\".framer-xhUcD.framer-v-zfmr29.framer-unr74v, .framer-xhUcD.framer-v-1tga0sw.framer-unr74v, .framer-xhUcD.framer-v-hhc3f.framer-unr74v, .framer-xhUcD.framer-v-1sgh90x.framer-unr74v { cursor: unset; }\",\".framer-xhUcD.framer-v-zfmr29 .framer-qfe85m { overflow: hidden; }\",...sharedStyle.css];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 72\n * @framerIntrinsicWidth 240\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"tVyOgHl4P\":{\"layout\":[\"fixed\",\"fixed\"]},\"xp7SWcg7X\":{\"layout\":[\"fixed\",\"fixed\"]},\"RS7gm02Nn\":{\"layout\":[\"fixed\",\"fixed\"]},\"VUSc4ILvB\":{\"layout\":[\"fixed\",\"fixed\"]},\"zys3o0wXm\":{\"layout\":[\"fixed\",\"fixed\"]},\"pdkvxKNZp\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerComponentViewportWidth true\n */const FramermaUT3XoJu=withCSS(Component,css,\"framer-xhUcD\");export default FramermaUT3XoJu;FramermaUT3XoJu.displayName=\"Contact Button\";FramermaUT3XoJu.defaultProps={height:72,width:240};addPropertyControls(FramermaUT3XoJu,{variant:{options:[\"ruPMvctzQ\",\"tVyOgHl4P\",\"xp7SWcg7X\",\"RS7gm02Nn\",\"VUSc4ILvB\"],optionTitles:[\"Default\",\"Loading\",\"Disabled\",\"Success\",\"Error\"],title:\"Variant\",type:ControlType.Enum}});addFonts(FramermaUT3XoJu,[{explicitInter:true,fonts:[{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/5vvr9Vy74if2I6bQbJvbw7SY1pQ.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/EOr0mi4hNtlgWNn9if640EZzXCo.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/Y9k9QrlZAqio88Klkmbd8VoMQc.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/OYrD2tBIBPvoJXiIHnLoOXnY9M.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",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/JeYwfuaPfZHQhEG8U5gtPDZ7WQ.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/vQyevYAyHtARFwPqUzQGpnDs.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",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/b6Y37FthZeALduNqHicBT6FutY.woff2\",weight:\"400\"}]},...getFontsFromSharedStyle(sharedStyle.fonts)],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramermaUT3XoJu\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"72\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"tVyOgHl4P\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"xp7SWcg7X\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"RS7gm02Nn\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"VUSc4ILvB\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"zys3o0wXm\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"pdkvxKNZp\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerDisplayContentsDiv\":\"false\",\"framerImmutableVariables\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerIntrinsicWidth\":\"240\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Email validation input that rejects personal email domains\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useState,useCallback,startTransition}from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Email Validation Input\n *\n * @framerIntrinsicWidth 400\n * @framerIntrinsicHeight 100\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function EmailValidationInput(props){const{placeholder,label,errorMessage,successMessage,backgroundColor,textColor,borderColor,errorColor,successColor,font,labelFont,borderRadius,borderWidth,showLabel,name,required}=props;const[email,setEmail]=useState(\"\");const[validationState,setValidationState]=useState(\"idle\");const personalDomains=[\"gmail.com\",\"yahoo.com\",\"hotmail.com\",\"outlook.com\",\"aol.com\",\"icloud.com\",\"mail.com\",\"protonmail.com\",\"zoho.com\",\"yandex.com\",\"gmx.com\",\"live.com\",\"msn.com\",\"me.com\",\"mac.com\",\"inbox.com\",\"fastmail.com\",\"hushmail.com\",\"tutanota.com\",\"mailfence.com\",\"runbox.com\",\"posteo.de\",\"disroot.org\",\"cock.li\",\"pm.me\",\"proton.me\",\"hey.com\",\"qq.com\",\"163.com\",\"126.com\",\"sina.com\",\"sohu.com\",\"naver.com\",\"daum.net\",\"hanmail.net\",\"mail.ru\",\"rambler.ru\",\"ya.ru\",\"rediffmail.com\",\"libero.it\",\"virgilio.it\",\"web.de\",\"freenet.de\",\"t-online.de\",\"orange.fr\",\"laposte.net\",\"free.fr\",\"sfr.fr\",\"wanadoo.fr\",\"bigpond.com\",\"optusnet.com.au\",\"telstra.com\",\"sky.com\",\"btinternet.com\",\"talktalk.net\",\"ntlworld.com\",\"comcast.net\",\"verizon.net\",\"att.net\",\"sbcglobal.net\",\"bellsouth.net\",\"charter.net\",\"cox.net\",\"earthlink.net\",\"juno.com\",\"netzero.net\",\"rocketmail.com\",\"ymail.com\",\"aim.com\",\"games.com\",\"gmx.net\",\"gmx.de\",\"gmx.at\",\"gmx.ch\",\"outlook.de\",\"outlook.fr\",\"outlook.es\",\"outlook.it\",\"live.de\",\"live.fr\",\"live.co.uk\",\"live.nl\",\"live.it\",\"hotmail.de\",\"hotmail.fr\",\"hotmail.co.uk\",\"hotmail.es\",\"hotmail.it\"];const validateEmail=useCallback(value=>{if(!value){startTransition(()=>setValidationState(\"idle\"));return;}const emailRegex=/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/;if(!emailRegex.test(value)){startTransition(()=>setValidationState(\"error\"));return;}const domain=value.split(\"@\")[1]?.toLowerCase();if(personalDomains.includes(domain)){startTransition(()=>setValidationState(\"error\"));}else{startTransition(()=>setValidationState(\"success\"));}},[personalDomains]);const handleChange=e=>{const value=e.target.value;// Check if the email contains @ and has a domain\nif(value.includes(\"@\")){const domain=value.split(\"@\")[1]?.toLowerCase();// If domain matches a personal email domain, clear the input and show error\nif(domain&&personalDomains.includes(domain)){startTransition(()=>{setEmail(\"\");setValidationState(\"error\");});return;}}setEmail(value);validateEmail(value);};const getBorderColor=()=>{if(validationState===\"error\")return errorColor;if(validationState===\"success\")return successColor;return borderColor;};const isFixedWidth=props?.style&&props.style.width===\"100%\";return /*#__PURE__*/_jsxs(\"div\",{style:{...props.style,position:\"relative\",...isFixedWidth?{...props?.style}:{minWidth:\"max-content\"},display:\"flex\",flexDirection:\"column\",gap:8},children:[showLabel&&/*#__PURE__*/_jsxs(\"label\",{style:{...labelFont,color:textColor},children:[label,required&&/*#__PURE__*/_jsx(\"span\",{style:{color:errorColor,marginLeft:\"4px\"},children:\"*\"})]}),/*#__PURE__*/_jsx(\"input\",{type:\"email\",name:name,value:email,onChange:handleChange,placeholder:placeholder,required:required,style:{width:\"100%\",padding:\"24px\",backgroundColor,color:textColor,border:`${borderWidth}px solid ${getBorderColor()}`,borderRadius,outline:\"none\",transition:\"border-color 0.2s ease\",boxShadow:\"inset 0px 0px 2px 0px rgba(0, 0, 0, 0.05)\",...font},\"aria-invalid\":validationState===\"error\",\"aria-describedby\":validationState!==\"idle\"?\"validation-message\":undefined}),validationState!==\"idle\"&&/*#__PURE__*/_jsx(\"span\",{id:\"validation-message\",style:{...font,fontSize:\"14px\",color:validationState===\"error\"?errorColor:successColor},role:\"alert\",children:validationState===\"error\"?errorMessage:successMessage})]});}addPropertyControls(EmailValidationInput,{name:{type:ControlType.String,title:\"Field Name\",defaultValue:\"email\",description:\"Name attribute for form submission\"},required:{type:ControlType.Boolean,title:\"Required\",defaultValue:true,enabledTitle:\"Yes\",disabledTitle:\"No\"},showLabel:{type:ControlType.Boolean,title:\"Show Label\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},label:{type:ControlType.String,title:\"Label\",defaultValue:\"Work Email\",hidden:({showLabel})=>!showLabel},placeholder:{type:ControlType.String,title:\"Placeholder\",defaultValue:\"Enter your work email\"},errorMessage:{type:ControlType.String,title:\"Error Message\",defaultValue:\"Please use a work email address\",displayTextArea:true},successMessage:{type:ControlType.String,title:\"Success Message\",defaultValue:\"Valid work email\"},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#FFFFFF\"},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#000000\"},borderColor:{type:ControlType.Color,title:\"Border Color\",defaultValue:\"#CCCCCC\"},errorColor:{type:ControlType.Color,title:\"Error Color\",defaultValue:\"#FF5588\"},successColor:{type:ControlType.Color,title:\"Success Color\",defaultValue:\"#22CC66\"},font:{type:ControlType.Font,title:\"Input Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"15px\",variant:\"Medium\",letterSpacing:\"-0.01em\",lineHeight:\"1.3em\"}},labelFont:{type:ControlType.Font,title:\"Label Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"14px\",variant:\"Semibold\",letterSpacing:\"-0.01em\",lineHeight:\"1em\"},hidden:({showLabel})=>!showLabel},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:8,min:0,max:32,step:1},borderWidth:{type:ControlType.Number,title:\"Border Width\",defaultValue:2,min:0,max:10,step:1,unit:\"px\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"EmailValidationInput\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"100\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerIntrinsicWidth\":\"400\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./EmailValidationInput.map"],"mappings":"gbACqzB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,CAAC,EAAuF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,EAAQ,CAAC,EAAS,CAAc,+CAAn7B,IAAmK,IAAkE,I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