{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/o1PI5S8YtkA5bP5g4dFz/9zLIz4fn80IR9zpOx18Q/Embed.js", "ssg:https://framerusercontent.com/modules/vkHAj2Yk0mTnbM6ZdN5c/Foxm7T4YpJpvPgDlEus0/FormSpark.js"],
  "sourcesContent": ["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect,useRef,useState}from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{useIsOnCanvas,emptyStateStyle,containerStyles}from\"https://framer.com/m/framer/default-utils.js\";/**\n * @framerIntrinsicWidth 600\n * @framerIntrinsicHeight 400\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n *\n * @framerDisableUnlink\n */ export default function Embed({type,url,html}){if(type===\"url\"&&url){return /*#__PURE__*/ _jsx(EmbedURL,{url:url});}if(type===\"html\"&&html){return /*#__PURE__*/ _jsx(EmbedHTML,{html:html});}return /*#__PURE__*/ _jsx(Instructions,{});};addPropertyControls(Embed,{type:{type:ControlType.Enum,defaultValue:\"url\",displaySegmentedControl:true,options:[\"url\",\"html\"],optionTitles:[\"URL\",\"HTML\"]},url:{title:\"URL\",type:ControlType.String,description:\"Some websites don\u2019t support embedding.\",hidden(props){return props.type!==\"url\";}},html:{title:\"HTML\",displayTextArea:true,type:ControlType.String,hidden(props){return props.type!==\"html\";}}});function Instructions(){return /*#__PURE__*/ _jsx(\"div\",{style:{...emptyStateStyle,overflow:\"hidden\"},children:/*#__PURE__*/ _jsx(\"div\",{style:centerTextStyle,children:\"To embed a website or widget, add it to the properties\\xa0panel.\"})});}function EmbedURL({url}){// Add https:// if the URL does not have a protocol.\nif(!/[a-z]+:\\/\\//.test(url)){url=\"https://\"+url;}const onCanvas=useIsOnCanvas();// We need to check if the url is blocked inside an iframe by the X-Frame-Options\n// or Content-Security-Policy headers on the backend.\nconst[state,setState]=useState(onCanvas?undefined:false);useEffect(()=>{// We only want to check on the canvas.\n// On the website we want to avoid the additional delay.\nif(!onCanvas)return;// TODO: We could also use AbortController here.\nlet isLastEffect=true;setState(undefined);async function load(){const response=await fetch(\"https://api.framer.com/functions/check-iframe-url?url=\"+encodeURIComponent(url));if(response.status==200){const{isBlocked}=await response.json();if(isLastEffect){setState(isBlocked);}}else{const message=await response.text();console.error(message);const error=new Error(\"This site can\u2019t be reached.\");setState(error);}}load().catch(error=>{console.error(error);setState(error);});return()=>{isLastEffect=false;};},[url]);if(!url.startsWith(\"https://\")){return /*#__PURE__*/ _jsx(ErrorMessage,{message:\"Unsupported protocol.\"});}if(state===undefined){return /*#__PURE__*/ _jsx(LoadingIndicator,{});}if(state instanceof Error){return /*#__PURE__*/ _jsx(ErrorMessage,{message:state.message});}if(state===true){const message=`Can't embed ${url} due to its content security policy.`;return /*#__PURE__*/ _jsx(ErrorMessage,{message:message});}return /*#__PURE__*/ _jsx(\"iframe\",{src:url,style:iframeStyle,loading:\"lazy\",// @ts-ignore\nfetchPriority:onCanvas?\"low\":\"auto\",referrerPolicy:\"no-referrer\",sandbox:getSandbox(onCanvas)});}const iframeStyle={width:\"100%\",height:\"100%\",border:\"none\"};function getSandbox(onCanvas){const result=[\"allow-same-origin\",\"allow-scripts\"];if(!onCanvas){result.push(\"allow-downloads\",\"allow-forms\",\"allow-modals\",\"allow-orientation-lock\",\"allow-pointer-lock\",\"allow-popups\",\"allow-popups-to-escape-sandbox\",\"allow-presentation\",\"allow-storage-access-by-user-activation\",\"allow-top-navigation-by-user-activation\");}return result.join(\" \");}function EmbedHTML({html}){const ref=useRef();// If the HTML contains a script tag we can't use\n// dangerouslySetInnerHTML because it doesn't execute\n// scripts on the client. Otherwise, we can benefit\n// from SSG by using dangerouslySetInnerHTML.\nconst hasScript=html.includes(\"</script>\");useEffect(()=>{if(!hasScript)return;const div=ref.current;div.innerHTML=html;executeScripts(div);return()=>{div.innerHTML=\"\";};},[html,hasScript]);return /*#__PURE__*/ _jsx(\"div\",{ref:ref,style:htmlStyle,dangerouslySetInnerHTML:!hasScript?{__html:html}:undefined});}const htmlStyle={width:\"100%\",height:\"100%\",display:\"flex\",flexDirection:\"column\",justifyContent:\"center\",alignItems:\"center\"};// This function replaces scripts with executable ones.\n// https://stackoverflow.com/questions/1197575/can-scripts-be-inserted-with-innerhtml\nfunction executeScripts(node){if(node instanceof Element&&node.tagName===\"SCRIPT\"){const script=document.createElement(\"script\");script.text=node.innerHTML;for(const{name,value}of node.attributes){script.setAttribute(name,value);}node.parentElement.replaceChild(script,node);}else{for(const child of node.childNodes){executeScripts(child);}}}// Generic components\nfunction LoadingIndicator(){return /*#__PURE__*/ _jsx(\"div\",{className:\"framerInternalUI-componentPlaceholder\",style:{...containerStyles,overflow:\"hidden\"},children:/*#__PURE__*/ _jsx(\"div\",{style:centerTextStyle,children:\"Loading\u2026\"})});}function ErrorMessage({message}){return /*#__PURE__*/ _jsx(\"div\",{className:\"framerInternalUI-errorPlaceholder\",style:{...containerStyles,overflow:\"hidden\"},children:/*#__PURE__*/ _jsxs(\"div\",{style:centerTextStyle,children:[\"Error: \",message]})});}const centerTextStyle={textAlign:\"center\",minWidth:140};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Embed\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"fixed\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerDisableUnlink\":\"\",\"framerIntrinsicWidth\":\"600\",\"framerIntrinsicHeight\":\"400\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Embed.map", "import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget,withCSS}from\"framer\";import{motion}from\"framer-motion\";import{containerStyles,usePadding,useRadius,paddingControl,borderRadiusControl,fontControls,useFontControls}from\"https://framer.com/m/framer/default-utils.js@^0.45.0\";import{useCallback,useMemo,useState}from\"react\";const emailRegex=/^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;const validateEmail=email=>{return emailRegex.test(String(email).toLowerCase());};/**\n * FORMSPARK\n *\n * @framerIntrinsicWidth 550\n * @framerIntrinsicHeight 290\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */ const FormSpark=withCSS(function FormSpark({formId,withName,nameField:name,withEmail,email,withMessage,message,layout,inputs,button,style,gap,onSubmit,...props}){const[nameValue,setName]=useState(name===null||name===void 0?void 0:name.value);const[emailValue,setEmail]=useState(email===null||email===void 0?void 0:email.value);const[messageValue,setMessage]=useState(message===null||message===void 0?void 0:message.value);const[isNameError,setNameError]=useState(false);const[isEmailError,setEmailError]=useState(false);const[isMessageError,setMessageError]=useState(false);const[isLoading,setLoading]=useState(false);const[isSuccess,setSuccess]=useState(false);const isCanvas=useMemo(()=>{return RenderTarget.current()===RenderTarget.canvas;},[]);const gridTemplateRows=useMemo(()=>{const rows=[];if(withName||withMessage){rows.push(\"max-content\");}if(withMessage){rows.push(\"1fr\");}return[...rows,\"max-content\"].join(\" \");},[withName,withEmail,withMessage]);const gridTemplateColumns=useMemo(()=>{const cols=[];if((withName&&!withEmail||withEmail&&!withName)&&!withMessage&&layout===\"horizontal\"){return\"1fr max-content\";}return\"1fr\";},[withName,withEmail,withMessage,layout]);const{fontFamily,fontSize,fontWeight}=useFontControls(props);const borderRadius=useRadius(props);const paddingValue=usePadding(props);const validateForm=useCallback(()=>{let error=false;setNameError(false);setEmailError(false);setMessageError(false);if(withName&&!nameValue){setNameError(true);error=true;}if(withEmail&&(!emailValue||!validateEmail(emailValue))){setEmailError(true);error=true;}if(withMessage&&!messageValue){setMessageError(true);error=true;}return error;},[validateEmail,withName,withEmail,withMessage,nameValue,emailValue,messageValue,]);const handleSubmit=useCallback(event=>{setLoading(true);event.preventDefault();if(validateForm()){setLoading(false);}else{const data=new FormData(event.target);const entries=Object.fromEntries(data.entries());fetch(`https://api.formspark.io/${formId}`,{method:\"POST\",headers:{\"Content-Type\":\"application/json\",Accept:\"application/json\"},body:JSON.stringify(entries)}).then(()=>{setSuccess(true);onSubmit();}).catch(()=>setLoading(false));}},[formId,onSubmit,validateForm]);const handleNameChange=useCallback(event=>{setNameError(false);setName(event.target.value);},[]);const handleEmailChange=useCallback(event=>{setEmailError(false);setEmail(event.target.value);},[]);const handleMessageChange=useCallback(event=>{setMessageError(false);setMessage(event.target.value);},[]);return /*#__PURE__*/ _jsx(motion.div,{style:{...style,...containerStyles,flexDirection:\"column\",\"--framer-formspark-placeholder-color\":inputs.placeholderColor},children:isSuccess?/*#__PURE__*/ _jsx(motion.div,{style:{height:\"60px\",width:\"60px\",background:button.fill,color:button.color,borderRadius:\"50%\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\"},initial:{scale:0},animate:{scale:1},transition:{duration:.3},children:/*#__PURE__*/ _jsx(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",width:\"28\",height:\"28\",children:/*#__PURE__*/ _jsx(\"path\",{d:\"M 2 14 L 10 22 L 26 6\",fill:\"transparent\",strokeWidth:\"4\",stroke:\"currentColor\",strokeLinecap:\"round\"})})}):/*#__PURE__*/ _jsxs(\"form\",{style:{display:\"grid\",gridTemplateRows,gridTemplateColumns,gap,width:\"100%\",height:\"100%\"},onSubmit:handleSubmit,method:\"POST\",children:[(withName||withEmail)&&/*#__PURE__*/ _jsxs(\"div\",{style:{width:\"100%\",display:\"grid\",gridAutoFlow:layout===\"horizontal\"?\"column\":\"row\",gap},children:[withName&&/*#__PURE__*/ _jsx(\"input\",{className:\"framer-formspark-input\",type:\"text\",name:\"name\",placeholder:name.placeholder,value:isCanvas?name.value:nameValue,onChange:handleNameChange,style:{...defaultStyle,padding:paddingValue,borderRadius,fontFamily,fontWeight,fontSize,background:inputs.fill,color:inputs.color,boxShadow:`inset 0 0 0 1px ${isNameError?inputs.error:\"transparent\"}`}}),withEmail&&/*#__PURE__*/ _jsx(\"input\",{className:\"framer-formspark-input\",type:\"email\",name:\"email\",placeholder:email.placeholder,value:isCanvas?email.value:emailValue,onChange:handleEmailChange,style:{...defaultStyle,padding:paddingValue,borderRadius,fontFamily,fontWeight,fontSize,background:inputs.fill,color:inputs.color,boxShadow:`inset 0 0 0 1px ${isEmailError?inputs.error:\"transparent\"}`}})]}),withMessage&&/*#__PURE__*/ _jsx(\"textarea\",{className:\"framer-formspark-input\",placeholder:message.placeholder,name:\"message\",value:isCanvas?message.value:messageValue,onChange:handleMessageChange,style:{...defaultStyle,minHeight:0,padding:paddingValue,resize:\"vertical\",borderRadius,background:inputs.fill,fontFamily,fontWeight,fontSize,color:inputs.color,boxShadow:`inset 0 0 0 1px ${isMessageError?inputs.error:\"transparent\"}`}}),/*#__PURE__*/ _jsxs(\"div\",{children:[/*#__PURE__*/ _jsx(motion.input,{type:\"submit\",value:button.label,style:{...defaultStyle,borderRadius,padding:paddingValue,fontFamily,fontWeight:button.fontWeight,fontSize,background:button.fill,cursor:\"pointer\",color:button.color,zIndex:1},transition:{type:\"ease\",duration:.3},whileHover:{opacity:.8}}),isLoading&&/*#__PURE__*/ _jsx(\"div\",{style:{borderRadius,position:\"absolute\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\",width:\"100%\",height:\"100%\",left:0,top:0,zIndex:2,color:button.color,background:button.fill},children:/*#__PURE__*/ _jsx(motion.div,{style:{height:16,width:16},initial:{rotate:0},animate:{rotate:360},transition:{duration:2,repeat:Infinity},children:/*#__PURE__*/ _jsxs(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",width:\"16\",height:\"16\",children:[/*#__PURE__*/ _jsx(\"path\",{d:\"M 8 0 C 3.582 0 0 3.582 0 8 C 0 12.419 3.582 16 8 16 C 12.418 16 16 12.419 16 8 C 15.999 3.582 12.418 0 8 0 Z M 8 14 C 4.687 14 2 11.314 2 8 C 2 4.687 4.687 2 8 2 C 11.314 2 14 4.687 14 8 C 14 11.314 11.314 14 8 14 Z\",fill:\"currentColor\",opacity:\"0.2\"}),/*#__PURE__*/ _jsx(\"path\",{d:\"M 8 0 C 12.418 0 15.999 3.582 16 8 C 16 8 16 9 15 9 C 14 9 14 8 14 8 C 14 4.687 11.314 2 8 2 C 4.687 2 2 4.687 2 8 C 2 8 2 9 1 9 C 0 9 0 8 0 8 C 0 3.582 3.582 0 8 0 Z\",fill:\"currentColor\"})]})})})]})]})});},[\".framer-formspark-input::placeholder { color: var(--framer-formspark-placeholder-color) !important; }\",]);FormSpark.defaultProps={fontSize:16,fontFamily:\"Inter\",fontWeight:400,padding:15,paddingTop:15,paddingBottom:15,paddingLeft:15,paddingRight:15,borderRadius:8,topLeftRadius:8,topRightRadius:8,bottomRightRadius:8,bottomLeftRadius:8,gap:15,nameField:{value:undefined,placeholder:\"Name\"},email:{value:undefined,placeholder:\"Email\"},message:{value:undefined,placeholder:\"Message\"},inputs:{fill:\"#EBEBEB\",color:\"#000\",placeholderColor:\"rgba(0, 0, 0, 0.5)\",error:\"#EE4444\"},layout:{fill:\"#EBEBEB\",color:\"#000\",placeholderColor:\"rgba(0, 0, 0, 0.5)\",error:\"#EE4444\"},button:{label:\"Sign Up\",fontWeight:600,fill:\"#000\",color:\"#FFF\"}};addPropertyControls(FormSpark,{formId:{title:\"ID\",placeholder:\"7PbPpGN3\",type:ControlType.String,description:\"Create a [FormSpark](https://formspark.io/) account, add a new form and copy its ID. [Learn more\u2026](https://www.framer.com/sites/integrations/formspark/)\"},withName:{title:\"Name\",type:ControlType.Boolean,enabledTitle:\"Show\",disabledTitle:\"Hide\",defaultValue:true},nameField:{title:\" \",type:ControlType.Object,controls:{placeholder:{title:\"Placeholder\",type:ControlType.String,defaultValue:\"Name\"},value:{title:\"Value\",type:ControlType.String,defaultValue:\"\"}},hidden:props=>!props.withName},withEmail:{title:\"Email\",type:ControlType.Boolean,enabledTitle:\"Show\",disabledTitle:\"Hide\",defaultValue:true},email:{title:\" \",type:ControlType.Object,controls:{placeholder:{title:\"Placeholder\",type:ControlType.String,defaultValue:\"Email\"},value:{title:\"Value\",type:ControlType.String}},hidden:props=>!props.withEmail},withMessage:{title:\"Message\",type:ControlType.Boolean,enabledTitle:\"Show\",disabledTitle:\"Hide\",defaultValue:true},message:{title:\" \",type:ControlType.Object,controls:{placeholder:{title:\"Placeholder\",type:ControlType.String,defaultValue:\"Message\"},value:{title:\"Value\",type:ControlType.String}},hidden:props=>!props.withMessage},layout:{title:\"Layout\",type:ControlType.Enum,options:[\"horizontal\",\"vertical\"],displaySegmentedControl:true,defaultValue:\"horizontal\"},inputs:{title:\"Inputs\",type:ControlType.Object,controls:{fill:{title:\"Fill\",type:ControlType.Color,defaultValue:\"#EBEBEB\"},color:{title:\"Text\",type:ControlType.Color,defaultValue:\"#000\"},placeholderColor:{title:\"Placeholder\",type:ControlType.Color,defaultValue:\"rgba(0, 0, 0, 0.5)\"},error:{title:\"Error\",type:ControlType.Color,defaultValue:\"#EE4444\"}}},button:{title:\"Button\",type:ControlType.Object,controls:{label:{title:\"Label\",type:ControlType.String,defaultValue:\"Sign Up\"},fontWeight:{...fontControls.fontWeight,defaultValue:600},fill:{title:\"Fill\",type:ControlType.Color,defaultValue:\"#000\"},color:{title:\"Text\",type:ControlType.Color,defaultValue:\"#FFF\"}}},...fontControls,fontSize:{title:\"Font Size\",type:ControlType.Number,displayStepper:true,defaultValue:16},...paddingControl,...borderRadiusControl,gap:{title:\"Gap\",type:ControlType.Number,displayStepper:true,min:0},onSubmit:{type:ControlType.EventHandler}});const defaultStyle={WebkitAppearance:\"none\",display:\"inline-block\",width:\"100%\",lineHeight:\"1.4em\",outline:\"none\",border:\"none\"};export default FormSpark;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FormSpark\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"290\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"550\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FormSpark.map"],
  "mappings": "wNAQmB,SAARA,GAAuB,CAAC,KAAAC,EAAK,IAAAC,EAAI,KAAAC,CAAI,EAAE,CAAC,OAAGF,IAAO,OAAOC,EAA0BE,EAAKC,GAAS,CAAC,IAAIH,CAAG,CAAC,EAAMD,IAAO,QAAQE,EAA2BC,EAAKE,GAAU,CAAC,KAAKH,CAAI,CAAC,EAAwBC,EAAKG,GAAa,CAAC,CAAC,CAAE,CAAEC,EAAoBR,GAAM,CAAC,KAAK,CAAC,KAAKS,EAAY,KAAK,aAAa,MAAM,wBAAwB,GAAK,QAAQ,CAAC,MAAM,MAAM,EAAE,aAAa,CAAC,MAAM,MAAM,CAAC,EAAE,IAAI,CAAC,MAAM,MAAM,KAAKA,EAAY,OAAO,YAAY,8CAAyC,OAAOC,EAAM,CAAC,OAAOA,EAAM,OAAO,KAAM,CAAC,EAAE,KAAK,CAAC,MAAM,OAAO,gBAAgB,GAAK,KAAKD,EAAY,OAAO,OAAOC,EAAM,CAAC,OAAOA,EAAM,OAAO,MAAO,CAAC,CAAC,CAAC,EAAE,SAASH,IAAc,CAAC,OAAqBH,EAAK,MAAM,CAAC,MAAM,CAAC,GAAGO,EAAgB,SAAS,QAAQ,EAAE,SAAuBP,EAAK,MAAM,CAAC,MAAMQ,EAAgB,SAAS,kEAAkE,CAAC,CAAC,CAAC,CAAE,CAAC,SAASP,GAAS,CAAC,IAAAH,CAAG,EAAE,CACr4B,cAAc,KAAKA,CAAG,IAAGA,EAAI,WAAWA,GAAK,IAAMW,EAASC,EAAc,EAEzE,CAACC,EAAMC,CAAQ,EAAEC,EAASJ,EAAS,OAAU,EAAK,EAG0c,GAHxcK,EAAU,IAAI,CAEvE,GAAG,CAACL,EAAS,OACb,IAAIM,EAAa,GAAKH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AK,CAAC,MAAM,OAAO,KAAKA,EAAY,MAAM,aAAa,SAAS,EAAE,MAAM,CAAC,MAAM,OAAO,KAAKA,EAAY,MAAM,aAAa,MAAM,EAAE,iBAAiB,CAAC,MAAM,cAAc,KAAKA,EAAY,MAAM,aAAa,oBAAoB,EAAE,MAAM,CAAC,MAAM,QAAQ,KAAKA,EAAY,MAAM,aAAa,SAAS,CAAC,CAAC,EAAE,OAAO,CAAC,MAAM,SAAS,KAAKA,EAAY,OAAO,SAAS,CAAC,MAAM,CAAC,MAAM,QAAQ,KAAKA,EAAY,OAAO,aAAa,SAAS,EAAE,WAAW,CAAC,GAAGC,EAAa,WAAW,aAAa,GAAG,EAAE,KAAK,CAAC,MAAM,OAAO,KAAKD,EAAY,MAAM,aAAa,MAAM,EAAE,MAAM,CAAC,MAAM,OAAO,KAAKA,EAAY,MAAM,aAAa,MAAM,CAAC,CAAC,EAAE,GAAGC,EAAa,SAAS,CAAC,MAAM,YAAY,KAAKD,EAAY,OAAO,eAAe,GAAK,aAAa,EAAE,EAAE,GAAGE,EAAe,GAAGC,EAAoB,IAAI,CAAC,MAAM,MAAM,KAAKH,EAAY,OAAO,eAAe,GAAK,IAAI,CAAC,EAAE,SAAS,CAAC,KAAKA,EAAY,YAAY,CAAC,CAAC,EAAE,IAAMF,EAAa,CAAC,iBAAiB,OAAO,QAAQ,eAAe,MAAM,OAAO,WAAW,QAAQ,QAAQ,OAAO,OAAO,MAAM,EAASM,GAAQnE",
  "names": ["Embed", "type", "url", "html", "p", "EmbedURL", "EmbedHTML", "Instructions", "addPropertyControls", "ControlType", "props", "emptyStateStyle", "centerTextStyle", "onCanvas", "useIsOnCanvas", "state", "setState", "ye", "ue", "isLastEffect", "load", "response", "isBlocked", "message", "error", "ErrorMessage", "LoadingIndicator", "iframeStyle", "getSandbox", "result", "ref", "pe", "hasScript", "div", "executeScripts", "htmlStyle", "node", "script", "name", "value", "child", "containerStyles", "u", "emailRegex", "validateEmail", "email", "FormSpark", "withCSS", "formId", "withName", "name", "withEmail", "withMessage", "message", "layout", "inputs", "button", "style", "gap", "onSubmit", "props", "nameValue", "setName", "ye", "emailValue", "setEmail", "messageValue", "setMessage", "isNameError", "setNameError", "isEmailError", "setEmailError", "isMessageError", "setMessageError", "isLoading", "setLoading", "isSuccess", "setSuccess", "isCanvas", "se", "RenderTarget", "gridTemplateRows", "rows", "gridTemplateColumns", "cols", "fontFamily", "fontSize", "fontWeight", "useFontControls", "borderRadius", "useRadius", "paddingValue", "usePadding", "validateForm", "te", "error", "handleSubmit", "event", "data", "entries", "handleNameChange", "handleEmailChange", "handleMessageChange", "p", "motion", "containerStyles", "u", "defaultStyle", "addPropertyControls", "ControlType", "fontControls", "paddingControl", "borderRadiusControl", "FormSpark_default"]
}
