{"version":3,"file":"SignIn.BY7SvARK.mjs","names":[],"sources":["https:/framerusercontent.com/modules/8d5BQY1WJN4L7lz7jK6L/7bn5huUUE2z7BfL2jj2c/SignIn.js"],"sourcesContent":["// SignIn component with empty logic stubs\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useState,startTransition}from\"react\";/**\n * SignIn\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function SignIn(props){const{email,password,buttonLabel,background,textColor,borderRadius,font,buttonFont,style}=props;// State for form inputs\nconst[inputEmail,setInputEmail]=useState(\"\");const[inputPassword,setInputPassword]=useState(\"\");function handleSignIn(e){e.preventDefault();window?.FramerAuth?.auth.signIn({email:inputEmail,password:inputPassword,callbackURL:\"/account\",rememberMe:false});}return /*#__PURE__*/_jsxs(\"form\",{style:{...style,background,color:textColor,borderRadius,display:\"flex\",flexDirection:\"column\",gap:16,padding:24,minWidth:280,minHeight:180,boxShadow:\"0 2px 8px rgba(0,0,0,0.06)\",...font},onSubmit:handleSignIn,autoComplete:\"off\",children:[/*#__PURE__*/_jsx(\"input\",{type:\"email\",placeholder:\"Email\",value:inputEmail,onChange:e=>startTransition(()=>setInputEmail(e.target.value)),style:{padding:12,borderRadius:6,border:\"1px solid #eee\",fontSize:16,outline:\"none\"},\"aria-label\":\"Email\"}),/*#__PURE__*/_jsx(\"input\",{type:\"password\",placeholder:\"Password\",value:inputPassword,onChange:e=>startTransition(()=>setInputPassword(e.target.value)),style:{padding:12,borderRadius:6,border:\"1px solid #eee\",fontSize:16,outline:\"none\"},\"aria-label\":\"Password\"}),/*#__PURE__*/_jsx(\"button\",{type:\"submit\",style:{marginTop:8,padding:\"12px 0\",borderRadius:6,border:\"none\",background:textColor,color:background,cursor:\"pointer\",...buttonFont},children:buttonLabel})]});}addPropertyControls(SignIn,{email:{type:ControlType.String,title:\"Email\",defaultValue:\"\",placeholder:\"Email\"},password:{type:ControlType.String,title:\"Password\",defaultValue:\"\",placeholder:\"Password\",obscured:true},buttonLabel:{type:ControlType.String,title:\"Button Label\",defaultValue:\"Sign In\"},background:{type:ControlType.Color,title:\"Background\",defaultValue:\"#FFFFFF\"},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#111111\"},borderRadius:{type:ControlType.Number,title:\"Radius\",defaultValue:8,min:0,max:32},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"16px\",variant:\"Medium\",letterSpacing:\"-0.01em\",lineHeight:\"1.2em\"}},buttonFont:{type:ControlType.Font,title:\"Button Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"16px\",variant:\"Semibold\",letterSpacing:\"-0.01em\",lineHeight:\"1em\"}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SignIn\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SignIn.map"],"mappings":"wTAMG,SAAwB,EAAO,EAAM,CAAC,GAAK,CAAC,QAAM,WAAS,cAAY,aAAW,YAAU,eAAa,OAAK,aAAW,QAAM,CAAC,EAC9H,CAAC,EAAW,EAAc,CAAC,EAAS,GAAG,CAAM,CAAC,EAAc,EAAiB,CAAC,EAAS,GAAG,CAAC,SAAS,EAAa,EAAE,CAAoB,AAAnB,EAAE,gBAAgB,CAAC,GAAQ,YAAY,KAAK,OAAO,CAAC,MAAM,EAAW,SAAS,EAAc,YAAY,WAAW,YAAW,CAAM,EAAC,AAAE,OAAoB,GAAM,OAAO,CAAC,MAAM,CAAC,GAAG,EAAM,aAAW,MAAM,EAAU,eAAa,QAAQ,OAAO,cAAc,SAAS,IAAI,GAAG,QAAQ,GAAG,S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