{"version":3,"file":"StayConnectedForm.BEeniusY.mjs","names":["mask","Base","MotionSVG","SVG","svg","getProps","Icon","React.forwardRef","mask","Base","MotionSVG","SVG","svg","getProps","Icon","React.forwardRef","React.forwardRef","useState","useId","useMemo","useCallback"],"sources":["https:/framerusercontent.com/modules/h3DEZhhfkpXKEZZ1xqBI/nIBU3PcGJ9EAuPjoYCPQ/VQXkl2r1q.js","https:/framerusercontent.com/modules/krji1SKzGKPDNYbaJIN7/33VJcyEBRSKfqt5u2TRa/MwhwSTErp.js","https:/framerusercontent.com/modules/MatTltl54L7WHNXwSZ0c/tqevvT2hO3o1AMLi2ckU/SP4n0DCbm.js","https:/framerusercontent.com/modules/GnVTuMBYK8qV74kpKjpJ/UdqMQtzA9lqz8WeFqsje/StayConnectedForm.js"],"sourcesContent":["// Generated by Framer (85eaff3)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,cx,motion,useSVGTemplate,withCSS}from\"framer\";import*as React from\"react\";import{forwardRef}from\"react\";const mask=\"var(--framer-icon-mask)\";const Base=/*#__PURE__*/forwardRef(function(props,ref){return /*#__PURE__*/_jsx(\"svg\",{...props,ref:ref,children:props.children});});const MotionSVG=motion.create(Base);const SVG=/*#__PURE__*/forwardRef((props,ref)=>{const{animated,layoutId,children,...rest}=props;return animated?/*#__PURE__*/_jsx(MotionSVG,{...rest,layoutId:layoutId,ref:ref,children:children}):/*#__PURE__*/_jsx(\"svg\",{...rest,ref:ref,children:children});});const svg='<svg display=\"block\" role=\"presentation\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 20 0 L 11.009 5.727 C 10.388 6.088 9.621 6.088 9 5.727 L 0 0\" fill=\"transparent\" height=\"5.997555074597631px\" id=\"YxJGPvMN5\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--js9iwy, 2)\" stroke=\"var(--1m973uw, rgb(0,0,0))\" transform=\"translate(2 7)\" width=\"20px\"/><path d=\"M 2 16 C 0.895 16 0 15.105 0 14 L 0 2 C 0 0.895 0.895 0 2 0 L 18 0 C 19.105 0 20 0.895 20 2 L 20 14 C 20 15.105 19.105 16 18 16 Z\" fill=\"transparent\" height=\"16px\" id=\"LPBzBUi6X\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--js9iwy, 2)\" stroke=\"var(--1m973uw, rgb(0,0,0))\" transform=\"translate(2 4)\" width=\"20px\"/></svg>';const getProps=({color,height,id,width,width1,...props})=>{return{...props,JEeZYcamG:width1??props.JEeZYcamG??2,P_DcoRcrY:color??props.P_DcoRcrY??\"rgb(0, 0, 0)\"};};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{style,className,layoutId,variant,P_DcoRcrY,JEeZYcamG,...restProps}=getProps(props);const href=useSVGTemplate(\"4162409723\",svg);return /*#__PURE__*/_jsx(SVG,{...restProps,className:cx(\"framer-bNwvq\",className),layoutId:layoutId,ref:ref,role:\"presentation\",style:{\"--1m973uw\":P_DcoRcrY,\"--js9iwy\":JEeZYcamG,...style},viewBox:\"0 0 24 24\",children:/*#__PURE__*/_jsx(\"use\",{href:href})});});const css=[`.framer-bNwvq { -webkit-mask: ${mask}; aspect-ratio: 1; display: block; mask: ${mask}; width: 24px; }`];/**\n * This is a generated Framer component.\n * @framerIntrinsicWidth 24\n * @framerIntrinsicHeight 24\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerVariables {\"P_DcoRcrY\":\"color\",\"JEeZYcamG\":\"width1\"}\n * @framerImmutableVariables true\n * @framerVector {\"name\":\"Mail\",\"color\":{\"type\":\"variable\",\"value\":\"1m973uw\"},\"set\":{\"localId\":\"vectorSet/ZsiCCGPvG\",\"id\":\"ZsiCCGPvG\",\"moduleId\":\"Y7SpbVH16cWqMhj75z1M\"}}\n */const Icon=withCSS(Component,css,\"framer-bNwvq\");Icon.displayName=\"Mail\";export default Icon;addPropertyControls(Icon,{P_DcoRcrY:{defaultValue:\"rgb(0, 0, 0)\",hidden:false,title:\"Color\",type:ControlType.Color},JEeZYcamG:{defaultValue:2,displayStepper:true,hidden:false,max:16,min:1,title:\"Width\",type:ControlType.Number}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerImmutableVariables\":\"true\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerVariables\":\"{\\\"P_DcoRcrY\\\":\\\"color\\\",\\\"JEeZYcamG\\\":\\\"width1\\\"}\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerVector\":\"{\\\"name\\\":\\\"Mail\\\",\\\"color\\\":{\\\"type\\\":\\\"variable\\\",\\\"value\\\":\\\"1m973uw\\\"},\\\"set\\\":{\\\"localId\\\":\\\"vectorSet/ZsiCCGPvG\\\",\\\"id\\\":\\\"ZsiCCGPvG\\\",\\\"moduleId\\\":\\\"Y7SpbVH16cWqMhj75z1M\\\"}}\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"24\",\"framerIntrinsicHeight\":\"24\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (85eaff3)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,cx,motion,useSVGTemplate,withCSS}from\"framer\";import*as React from\"react\";import{forwardRef}from\"react\";const mask=\"var(--framer-icon-mask)\";const Base=/*#__PURE__*/forwardRef(function(props,ref){return /*#__PURE__*/_jsx(\"svg\",{...props,ref:ref,children:props.children});});const MotionSVG=motion.create(Base);const SVG=/*#__PURE__*/forwardRef((props,ref)=>{const{animated,layoutId,children,...rest}=props;return animated?/*#__PURE__*/_jsx(MotionSVG,{...rest,layoutId:layoutId,ref:ref,children:children}):/*#__PURE__*/_jsx(\"svg\",{...rest,ref:ref,children:children});});const svg='<svg display=\"block\" role=\"presentation\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 6 0 C 9.314 0 12 2.686 12 6 L 12 13 L 8 13 L 8 6 C 8 4.895 7.105 4 6 4 C 4.895 4 4 4.895 4 6 L 4 13 L 0 13 L 0 6 C 0 2.686 2.686 0 6 0 Z\" fill=\"transparent\" height=\"13px\" id=\"b4daiqhLm\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--js9iwy, 2)\" stroke=\"var(--1m973uw, rgb(0,0,0))\" transform=\"translate(10 8)\" width=\"12px\"/><path d=\"M 0 12 L 0 0 L 4 0 L 4 12 Z\" fill=\"transparent\" height=\"12px\" id=\"pjuCqz3_Y\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--js9iwy, 2)\" stroke=\"var(--1m973uw, rgb(0,0,0))\" transform=\"translate(2 9)\" width=\"4px\"/><path d=\"M 0 2 C 0 0.895 0.895 0 2 0 C 3.105 0 4 0.895 4 2 C 4 3.105 3.105 4 2 4 C 0.895 4 0 3.105 0 2 Z\" fill=\"transparent\" height=\"4px\" id=\"HFWFXDJPf\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--js9iwy, 2)\" stroke=\"var(--1m973uw, rgb(0,0,0))\" transform=\"translate(2 2)\" width=\"4px\"/></svg>';const getProps=({color,height,id,width,width1,...props})=>{return{...props,JEeZYcamG:width1??props.JEeZYcamG??2,P_DcoRcrY:color??props.P_DcoRcrY??\"rgb(0, 0, 0)\"};};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{style,className,layoutId,variant,P_DcoRcrY,JEeZYcamG,...restProps}=getProps(props);const href=useSVGTemplate(\"3416321359\",svg);return /*#__PURE__*/_jsx(SVG,{...restProps,className:cx(\"framer-wOUd9\",className),layoutId:layoutId,ref:ref,role:\"presentation\",style:{\"--1m973uw\":P_DcoRcrY,\"--js9iwy\":JEeZYcamG,...style},viewBox:\"0 0 24 24\",children:/*#__PURE__*/_jsx(\"use\",{href:href})});});const css=[`.framer-wOUd9 { -webkit-mask: ${mask}; aspect-ratio: 1; display: block; mask: ${mask}; width: 24px; }`];/**\n * This is a generated Framer component.\n * @framerIntrinsicWidth 24\n * @framerIntrinsicHeight 24\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerVariables {\"P_DcoRcrY\":\"color\",\"JEeZYcamG\":\"width1\"}\n * @framerImmutableVariables true\n * @framerVector {\"name\":\"Linkedin\",\"color\":{\"type\":\"variable\",\"value\":\"1m973uw\"},\"set\":{\"localId\":\"vectorSet/ZsiCCGPvG\",\"id\":\"ZsiCCGPvG\",\"moduleId\":\"Y7SpbVH16cWqMhj75z1M\"}}\n */const Icon=withCSS(Component,css,\"framer-wOUd9\");Icon.displayName=\"Linkedin\";export default Icon;addPropertyControls(Icon,{P_DcoRcrY:{defaultValue:\"rgb(0, 0, 0)\",hidden:false,title:\"Color\",type:ControlType.Color},JEeZYcamG:{defaultValue:2,displayStepper:true,hidden:false,max:16,min:1,title:\"Width\",type:ControlType.Number}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"24\",\"framerIntrinsicWidth\":\"24\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerVariables\":\"{\\\"P_DcoRcrY\\\":\\\"color\\\",\\\"JEeZYcamG\\\":\\\"width1\\\"}\",\"framerVector\":\"{\\\"name\\\":\\\"Linkedin\\\",\\\"color\\\":{\\\"type\\\":\\\"variable\\\",\\\"value\\\":\\\"1m973uw\\\"},\\\"set\\\":{\\\"localId\\\":\\\"vectorSet/ZsiCCGPvG\\\",\\\"id\\\":\\\"ZsiCCGPvG\\\",\\\"moduleId\\\":\\\"Y7SpbVH16cWqMhj75z1M\\\"}}\",\"framerImmutableVariables\":\"true\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (85eaff3)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,cx,motion,useSVGTemplate,withCSS}from\"framer\";import*as React from\"react\";import{forwardRef}from\"react\";const mask=\"var(--framer-icon-mask)\";const Base=/*#__PURE__*/forwardRef(function(props,ref){return /*#__PURE__*/_jsx(\"svg\",{...props,ref:ref,children:props.children});});const MotionSVG=motion.create(Base);const SVG=/*#__PURE__*/forwardRef((props,ref)=>{const{animated,layoutId,children,...rest}=props;return animated?/*#__PURE__*/_jsx(MotionSVG,{...rest,layoutId:layoutId,ref:ref,children:children}):/*#__PURE__*/_jsx(\"svg\",{...rest,ref:ref,children:children});});const svg='<svg display=\"block\" role=\"presentation\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 5 20 C 2.239 20 0 17.761 0 15 L 0 5 C 0 2.239 2.239 0 5 0 L 15 0 C 17.761 0 20 2.239 20 5 L 20 15 C 20 17.761 17.761 20 15 20 Z\" fill=\"transparent\" height=\"20px\" id=\"WelWVC4aK\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--js9iwy, 2)\" stroke=\"var(--1m973uw, rgb(0,0,0))\" transform=\"translate(2 2)\" width=\"20px\"/><path d=\"M 7.957 3.413 C 8.21 5.12 7.34 6.797 5.798 7.573 C 4.257 8.349 2.392 8.049 1.172 6.829 C -0.049 5.608 -0.349 3.743 0.427 2.202 C 1.203 0.66 2.88 -0.21 4.587 0.043 C 6.33 0.302 7.698 1.67 7.957 3.413 Z\" fill=\"transparent\" height=\"8.000294809864354px\" id=\"Y7WvVc7GI\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--js9iwy, 2)\" stroke=\"var(--1m973uw, rgb(0,0,0))\" transform=\"translate(8.043 7.957)\" width=\"8.000294809864354px\"/><path d=\"M 0 0 L 0.01 0\" fill=\"transparent\" height=\"1px\" id=\"NoAMnmRyg\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--js9iwy, 2)\" stroke=\"var(--1m973uw, rgb(0,0,0))\" transform=\"translate(17.5 6.5)\" width=\"1px\"/></svg>';const getProps=({color,height,id,width,width1,...props})=>{return{...props,JEeZYcamG:width1??props.JEeZYcamG??2,P_DcoRcrY:color??props.P_DcoRcrY??\"rgb(0, 0, 0)\"};};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{style,className,layoutId,variant,P_DcoRcrY,JEeZYcamG,...restProps}=getProps(props);const href=useSVGTemplate(\"2988937525\",svg);return /*#__PURE__*/_jsx(SVG,{...restProps,className:cx(\"framer-Tu4V5\",className),layoutId:layoutId,ref:ref,role:\"presentation\",style:{\"--1m973uw\":P_DcoRcrY,\"--js9iwy\":JEeZYcamG,...style},viewBox:\"0 0 24 24\",children:/*#__PURE__*/_jsx(\"use\",{href:href})});});const css=[`.framer-Tu4V5 { -webkit-mask: ${mask}; aspect-ratio: 1; display: block; mask: ${mask}; width: 24px; }`];/**\n * This is a generated Framer component.\n * @framerIntrinsicWidth 24\n * @framerIntrinsicHeight 24\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerVariables {\"P_DcoRcrY\":\"color\",\"JEeZYcamG\":\"width1\"}\n * @framerImmutableVariables true\n * @framerVector {\"name\":\"Instagram\",\"color\":{\"type\":\"variable\",\"value\":\"1m973uw\"},\"set\":{\"localId\":\"vectorSet/ZsiCCGPvG\",\"id\":\"ZsiCCGPvG\",\"moduleId\":\"Y7SpbVH16cWqMhj75z1M\"}}\n */const Icon=withCSS(Component,css,\"framer-Tu4V5\");Icon.displayName=\"Instagram\";export default Icon;addPropertyControls(Icon,{P_DcoRcrY:{defaultValue:\"rgb(0, 0, 0)\",hidden:false,title:\"Color\",type:ControlType.Color},JEeZYcamG:{defaultValue:2,displayStepper:true,hidden:false,max:16,min:1,title:\"Width\",type:ControlType.Number}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"24\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerIntrinsicHeight\":\"24\",\"framerVector\":\"{\\\"name\\\":\\\"Instagram\\\",\\\"color\\\":{\\\"type\\\":\\\"variable\\\",\\\"value\\\":\\\"1m973uw\\\"},\\\"set\\\":{\\\"localId\\\":\\\"vectorSet/ZsiCCGPvG\\\",\\\"id\\\":\\\"ZsiCCGPvG\\\",\\\"moduleId\\\":\\\"Y7SpbVH16cWqMhj75z1M\\\"}}\",\"framerVariables\":\"{\\\"P_DcoRcrY\\\":\\\"color\\\",\\\"JEeZYcamG\\\":\\\"width1\\\"}\",\"framerImmutableVariables\":\"true\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useCallback,useId,useMemo,useState,startTransition}from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight fixed\n */export default function StayConnectedForm(props){const{endpoint,placeholder,successMessage,errorMessage,surfaceColor,borderColor,textColor,buttonColor,buttonIconColor,radius,height}=props;const[email,setEmail]=useState(\"\");const[submitState,setSubmitState]=useState(\"idle\");const[statusMessage,setStatusMessage]=useState(\"\");const inputId=useId();const resolvedHeight=useMemo(()=>{if(typeof height!==\"number\"||Number.isNaN(height))return 54;return height;},[height]);const minHeight=useMemo(()=>Math.max(54,resolvedHeight),[resolvedHeight]);const emailPattern=useMemo(()=>/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/,[]);const isSubmitting=submitState===\"submitting\";const isSuccess=submitState===\"success\";const handleEmailChange=useCallback(event=>{const nextValue=event.target.value;startTransition(()=>setEmail(nextValue));if(submitState===\"error\"){startTransition(()=>{setSubmitState(\"idle\");setStatusMessage(\"\");});}},[submitState]);const handleSubmit=useCallback(async event=>{event.preventDefault();const trimmedEmail=email.trim();if(!trimmedEmail||!emailPattern.test(trimmedEmail)){startTransition(()=>{setSubmitState(\"error\");setStatusMessage(errorMessage);});return;}startTransition(()=>{setSubmitState(\"submitting\");setStatusMessage(\"\");});try{const response=await fetch(endpoint,{method:\"POST\",headers:{\"Content-Type\":\"application/json\",Accept:\"application/json\"},body:JSON.stringify({email:trimmedEmail})});if(!response.ok){throw new Error(\"Request failed\");}startTransition(()=>{setSubmitState(\"success\");setStatusMessage(successMessage);});}catch(error){startTransition(()=>{setSubmitState(\"error\");setStatusMessage(errorMessage);});}},[email,emailPattern,endpoint,errorMessage,successMessage]);return /*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\",minWidth:0,color:textColor,fontSize:12,fontFamily:\"Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif\"},children:[isSuccess?/*#__PURE__*/_jsxs(\"div\",{style:{margin:0,width:\"100%\",minWidth:0,height:minHeight,padding:\"6px 10px\",display:\"flex\",alignItems:\"center\",gap:8,borderRadius:radius,border:`1px solid ${borderColor}`,background:surfaceColor,color:textColor,boxSizing:\"border-box\"},children:[/*#__PURE__*/_jsxs(\"svg\",{width:\"16\",height:\"16\",viewBox:\"0 0 16 16\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",\"aria-hidden\":\"true\",style:{flexShrink:0},children:[/*#__PURE__*/_jsx(\"circle\",{cx:\"8\",cy:\"8\",r:\"6.25\",stroke:textColor,strokeWidth:\"1.5\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M5.25 8.1L7.15 10L10.8 6.35\",stroke:textColor,strokeWidth:\"1.35\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",justifyContent:\"center\",minWidth:0,flex:1},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontSize:12,lineHeight:\"1.2em\",color:textColor},children:\"You’re connected.\"}),/*#__PURE__*/_jsx(\"span\",{style:{fontSize:11,lineHeight:\"1.25em\",color:textColor,opacity:.9},children:\"We’ll keep you updated with retreat insights and news.\"})]})]}):/*#__PURE__*/_jsxs(\"form\",{onSubmit:handleSubmit,name:\"stay-connected-form\",\"aria-label\":\"Stay connected newsletter signup\",style:{margin:0,width:\"100%\",minWidth:0},children:[/*#__PURE__*/_jsx(\"label\",{htmlFor:inputId,style:{position:\"absolute\",width:1,height:1,padding:0,margin:-1,overflow:\"hidden\",clip:\"rect(0, 0, 0, 0)\",whiteSpace:\"nowrap\",border:0},children:\"Email address\"}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:6,width:\"100%\",minWidth:0,height:minHeight,padding:\"4px 4px 4px 10px\",borderRadius:radius,border:`1px solid ${borderColor}`,background:surfaceColor,boxSizing:\"border-box\"},children:[/*#__PURE__*/_jsx(\"input\",{id:inputId,type:\"email\",name:\"email\",autoComplete:\"email\",required:true,value:email,onChange:handleEmailChange,placeholder:placeholder,disabled:isSubmitting,style:{flex:1,minWidth:0,width:\"100%\",height:\"100%\",border:\"none\",outline:\"none\",background:\"transparent\",color:textColor,fontSize:12,lineHeight:\"1em\",fontFamily:\"Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif\"},\"aria-invalid\":submitState===\"error\"}),/*#__PURE__*/_jsx(\"button\",{type:\"submit\",\"aria-label\":\"Submit email\",disabled:isSubmitting,style:{width:54,height:54,minWidth:54,minHeight:54,borderRadius:\"999px\",border:\"none\",background:buttonColor,color:buttonIconColor,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",cursor:isSubmitting?\"default\":\"pointer\",padding:0,flexShrink:0},children:/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{fontSize:14,lineHeight:1},children:\"→\"})})]})]}),/*#__PURE__*/_jsx(\"div\",{\"aria-live\":\"polite\",role:\"status\",style:{position:\"absolute\",width:1,height:1,padding:0,margin:-1,overflow:\"hidden\",clip:\"rect(0, 0, 0, 0)\",whiteSpace:\"nowrap\",border:0},children:statusMessage}),/*#__PURE__*/_jsx(\"div\",{style:{marginTop:statusMessage&&!isSuccess?6:0,minHeight:isSuccess||!statusMessage?0:14,fontSize:12,lineHeight:\"1.2em\",color:textColor},children:!isSuccess?statusMessage:\"\"})]});}addPropertyControls(StayConnectedForm,{endpoint:{type:ControlType.String,title:\"Endpoint\",defaultValue:\"https://submit-form.com/LYCEQfjzn\"},placeholder:{type:ControlType.String,title:\"Placeholder\",defaultValue:\"Your email address\"},successMessage:{type:ControlType.String,title:\"Success\",defaultValue:\"Thank you for connecting with us.\"},errorMessage:{type:ControlType.String,title:\"Error\",defaultValue:\"Something went wrong. Please try again.\"},surfaceColor:{type:ControlType.Color,title:\"Surface\",defaultValue:\"rgba(26, 29, 33, 0.7)\"},borderColor:{type:ControlType.Color,title:\"Border\",defaultValue:\"rgba(255, 255, 255, 0.2)\"},textColor:{type:ControlType.Color,title:\"Text\",defaultValue:\"rgba(255, 255, 255, 0.9)\"},buttonColor:{type:ControlType.Color,title:\"Button\",defaultValue:\"#F5F5F5\"},buttonIconColor:{type:ControlType.Color,title:\"Icon\",defaultValue:\"#000000\"},radius:{type:ControlType.Number,title:\"Radius\",defaultValue:999,min:12,max:999,step:1},height:{type:ControlType.Number,title:\"Height\",defaultValue:40,min:30,max:80,step:1}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"StayConnectedForm\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//#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