{"version":3,"file":"SignupEmail.COO00ecQ.mjs","names":["React.useContext","React.useMemo","React.Fragment","React.useRef","React.useId","sharedStyle.className","className","sharedStyle.css","sharedStyle.fonts","React.useState"],"sources":["https:/framerusercontent.com/modules/8cKeDxsbGLcNjpneUZdt/sA9XCBcwwzKToSWKdmse/AYLsU82dS.js","https:/framerusercontent.com/modules/Px0s9MUMwRS66py0xBri/zaxFxTRxEHrkKhw7TuKS/SignupEmail.js"],"sourcesContent":["// Generated by Framer (8c7926c)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getFontsFromSharedStyle,Link,RichText,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import*as sharedStyle from\"https://framerusercontent.com/modules/hBAjmhLeNINbYxYB88GJ/7YA7JZagL2hfmgmBhRuJ/LZBMSLgi2.js\";const serializationHash=\"framer-XNyBS\";const variantClassNames={mPYPxKaMl:\"framer-v-5h7t86\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants===null||variants===void 0?void 0:variants.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value!==null&&value!==void 0?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 getProps=({bannerText,height,id,link,newTab,width,...props})=>{var _ref,_ref1;return{...props,NHDTOvbFk:(_ref=newTab!==null&&newTab!==void 0?newTab:props.NHDTOvbFk)!==null&&_ref!==void 0?_ref:true,qr2P2OrXc:(_ref1=bannerText!==null&&bannerText!==void 0?bannerText:props.qr2P2OrXc)!==null&&_ref1!==void 0?_ref1:\"✨ Limited Time | FREE 30 Day Trial ✨\",tOCRM4Qcr:link!==null&&link!==void 0?link:props.tOCRM4Qcr};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{activeLocale,setLocale}=useLocaleInfo();const{style,className,layoutId,variant,tOCRM4Qcr,NHDTOvbFk,qr2P2OrXc,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"mPYPxKaMl\",variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const ref1=React.useRef(null);const defaultLayoutId=React.useId();const sharedStyleClassNames=[sharedStyle.className];const componentViewport=useComponentViewport();return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId!==null&&layoutId!==void 0?layoutId:defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(motion.div,{...restProps,...gestureHandlers,className:cx(serializationHash,...sharedStyleClassNames,\"framer-5h7t86\",className,classNames),\"data-framer-name\":\"Desktop\",layoutDependency:layoutDependency,layoutId:\"mPYPxKaMl\",ref:ref!==null&&ref!==void 0?ref:ref1,style:{backgroundColor:\"var(--token-6f91a295-212c-44fd-af99-986850f275d5, rgb(100, 99, 251))\",...style},children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-1ugbxv3\",layoutDependency:layoutDependency,layoutId:\"Lza2t5Izw\",children:/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"RlM7U2F0b3NoaS1ib2xk\",\"--framer-font-family\":'\"Satoshi\", \"Satoshi Placeholder\", sans-serif',\"--framer-font-weight\":\"700\",\"--framer-letter-spacing\":\"-0.2px\",\"--framer-line-height\":\"1em\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 255, 255))\"},children:/*#__PURE__*/_jsx(Link,{href:tOCRM4Qcr,openInNewTab:NHDTOvbFk,smoothScroll:false,children:/*#__PURE__*/_jsx(motion.a,{className:\"framer-styles-preset-uv5k6d\",\"data-styles-preset\":\"LZBMSLgi2\",children:\"✨ Limited Time | FREE 30 Day Trial ✨\"})})})}),className:\"framer-fpqb4v\",fonts:[\"FS;Satoshi-bold\"],layoutDependency:layoutDependency,layoutId:\"zpl8Pxs3q\",style:{\"--extracted-r6o4lv\":\"rgb(255, 255, 255)\",\"--variable-reference-NHDTOvbFk-AYLsU82dS\":NHDTOvbFk},text:qr2P2OrXc,verticalAlignment:\"top\",withExternalLayout:true})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-XNyBS.framer-1n4qj0k, .framer-XNyBS .framer-1n4qj0k { display: block; }\",\".framer-XNyBS.framer-5h7t86 { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 20px; height: 46px; justify-content: center; overflow: hidden; padding: 0px; position: relative; width: min-content; }\",\".framer-XNyBS .framer-1ugbxv3 { align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 5px; height: min-content; justify-content: center; overflow: visible; padding: 0px 32px 0px 32px; position: relative; width: 1200px; }\",\".framer-XNyBS .framer-fpqb4v { flex: 1 0 0px; height: auto; position: relative; white-space: pre-wrap; width: 1px; word-break: break-word; word-wrap: break-word; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-XNyBS.framer-5h7t86, .framer-XNyBS .framer-1ugbxv3 { gap: 0px; } .framer-XNyBS.framer-5h7t86 > * { margin: 0px; margin-left: calc(20px / 2); margin-right: calc(20px / 2); } .framer-XNyBS.framer-5h7t86 > :first-child, .framer-XNyBS .framer-1ugbxv3 > :first-child { margin-left: 0px; } .framer-XNyBS.framer-5h7t86 > :last-child, .framer-XNyBS .framer-1ugbxv3 > :last-child { margin-right: 0px; } .framer-XNyBS .framer-1ugbxv3 > * { margin: 0px; margin-left: calc(5px / 2); margin-right: calc(5px / 2); } }\",...sharedStyle.css];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 46\n * @framerIntrinsicWidth 1200\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"fixed\"]}}}\n * @framerVariables {\"tOCRM4Qcr\":\"link\",\"NHDTOvbFk\":\"newTab\",\"qr2P2OrXc\":\"bannerText\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerComponentViewportWidth true\n */const FramerAYLsU82dS=withCSS(Component,css,\"framer-XNyBS\");export default FramerAYLsU82dS;FramerAYLsU82dS.displayName=\"Site Banner\";FramerAYLsU82dS.defaultProps={height:46,width:1200};addPropertyControls(FramerAYLsU82dS,{tOCRM4Qcr:{title:\"Link\",type:ControlType.Link},NHDTOvbFk:{defaultValue:true,title:\"New Tab\",type:ControlType.Boolean},qr2P2OrXc:{defaultValue:\"✨ Limited Time | FREE 30 Day Trial ✨\",displayTextArea:false,title:\"Banner Text\",type:ControlType.String}});addFonts(FramerAYLsU82dS,[{explicitInter:true,fonts:[{family:\"Satoshi\",source:\"fontshare\",style:\"normal\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/LAFFD4SDUCDVQEXFPDC7C53EQ4ZELWQI/PXCT3G6LO6ICM5I3NTYENYPWJAECAWDD/GHM6WVH6MILNYOOCXHXB5GTSGNTMGXZR.woff2\",weight:\"700\"}]},...getFontsFromSharedStyle(sharedStyle.fonts)],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerAYLsU82dS\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"46\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]}}}\",\"framerComponentViewportWidth\":\"true\",\"framerVariables\":\"{\\\"tOCRM4Qcr\\\":\\\"link\\\",\\\"NHDTOvbFk\\\":\\\"newTab\\\",\\\"qr2P2OrXc\\\":\\\"bannerText\\\"}\",\"framerIntrinsicWidth\":\"1200\",\"framerDisplayContentsDiv\":\"false\",\"framerImmutableVariables\":\"true\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./AYLsU82dS.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";export default function EmailForm(props){const[email,setEmail]=React.useState(\"\");const handleSubmit=e=>{e.preventDefault();const baseUrl=props.redirectUrl||\"https://app.allieclinics.com/onboarding?email=\";window.open(baseUrl+encodeURIComponent(email),\"_blank\");};const inputStyles={padding:\"10px 20px\",border:\"1px solid #d1d5db\",borderRadius:\"1000px 0 0 1000px\",marginRight:\"0px\",fontSize:\"16px\",width:\"200px\",boxShadow:\"rgba(149, 157, 165, 0.2) 0px 8px 24px\"};const buttonStyles={padding:\"10px 20px\",backgroundColor:\"#0091FF\",color:\"white\",border:\"1px solid #0091FF\",borderRadius:\"0 1000px 1000px 0\",cursor:\"pointer\",fontSize:\"16px\",boxShadow:\"rgba(149, 157, 165, 0.2) 0px 8px 24px\"};return /*#__PURE__*/_jsx(\"div\",{children:/*#__PURE__*/_jsxs(\"form\",{onSubmit:handleSubmit,children:[/*#__PURE__*/_jsx(\"input\",{type:\"email\",id:\"email\",value:email,onChange:e=>setEmail(e.target.value),required:true,placeholder:props.placeholderText,style:inputStyles}),/*#__PURE__*/_jsx(\"button\",{type:\"submit\",style:buttonStyles,children:props.buttonText})]})});}addPropertyControls(EmailForm,{placeholderText:{title:\"Placeholder\",type:ControlType.String,defaultValue:\"Your email\"},buttonText:{title:\"Button Text\",type:ControlType.String,defaultValue:\"Start Free\"},redirectUrl:{title:\"Redirect URL\",type:ControlType.String,defaultValue:\"https://app.allieclinics.com/onboarding?email=\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"EmailForm\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SignupEmail.map"],"mappings":"kvBAC2C,IAAiK,IAAkE,IAA4B,IAAyH,CAAM,EAAkB,eAAqB,EAAkB,CAAC,UAAU,kBAAkB,CAAuO,EAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,SAAS,CAAO,GAAY,CAAC,QAAM,cAAY,CAAC,IAAM,EAAOA,EAAiB,EAAoB,CAAO,EAAW,GAAmC,EAAO,WAAiB,EAAaC,OAAmB,CAAC,GAAG,EAAO,aAAW,EAAE,CAAC,KAAK,UAAU,EAAW,CAAC,CAAC,CAAC,OAAoB,EAAK,EAAoB,SAAS,CAAC,MAAM,EAAsB,WAAS,CAAC,EAAS,EAAS,EAAO,OAAOC,EAAe,CAAO,GAAU,CAAC,aAAW,SAAO,KAAG,OAAK,SAAO,QAAM,GAAG,MAA+B,CAAC,GAAG,EAAM,UAAgB,GAAsC,EAAM,WAAsC,GAAK,UAAiB,GAAkD,EAAM,WAAwC,uCAAuC,UAAU,GAAgC,EAAM,UAAU,EAAS,GAAwB,EAAM,IAAe,EAAM,iBAAwB,EAAS,KAAK,IAAI,CAAC,EAAM,iBAAwB,EAAS,KAAK,IAAI,CAAS,EAAuB,EAAiB,SAAS,EAAM,EAAI,CAAC,GAAK,CAAC,eAAa,aAAW,GAAe,CAAM,CAAC,QAAM,UAAA,EAAU,WAAS,UAAQ,YAAU,YAAU,YAAU,GAAG,GAAW,EAAS,EAAM,CAAM,CAAC,cAAY,aAAW,sBAAoB,kBAAgB,iBAAe,YAAU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