module.exports=[12148,a=>{"use strict";var b=a.i(87924),c=a.i(72131),d=a.i(38246),e=a.i(50944);let f={width:"100%",maxWidth:420,background:"var(--surface)",border:"1px solid var(--hairline)",borderRadius:6,padding:"var(--sp-36)"},g={fontSize:"var(--fs-meta)",fontWeight:600,letterSpacing:"0.06em",textTransform:"uppercase",color:"var(--text-subtle)",marginBottom:"var(--sp-6)",display:"block"},h={padding:"10px 12px",fontSize:"var(--fs-ui)",border:"1px solid var(--hairline-strong)",borderRadius:4,background:"var(--surface)",outline:"none",width:"100%",color:"var(--text)",transition:"border-color .12s"};function i({label:a,type:d,value:e,onChange:f,placeholder:j,autoComplete:k,children:l}){let[m,n]=(0,c.useState)(!1);return(0,b.jsxs)("div",{style:{marginBottom:"var(--sp-16)"},children:[(0,b.jsx)("label",{style:g,children:a}),(0,b.jsx)("input",{type:d,value:e,onChange:f,placeholder:j,autoComplete:k,onFocus:()=>n(!0),onBlur:()=>n(!1),style:{...h,borderColor:m?"var(--text)":"var(--hairline-strong)"}}),l]})}a.s(["default",0,function(){let a=(0,e.useRouter)(),[g,h]=(0,c.useState)(""),[j,k]=(0,c.useState)(""),[l,m]=(0,c.useState)(""),[n,o]=(0,c.useState)(""),p=(0,c.useMemo)(()=>{let a;return a=0,(l.length>=8&&a++,l.length>=12&&a++,/[A-Z]/.test(l)&&/[a-z]/.test(l)&&a++,/\d/.test(l)&&a++,/[^A-Za-z0-9]/.test(l)&&a++,0===l.length)?{score:0,label:"",color:"var(--hairline-strong)"}:a<=1?{score:1,label:"Weak",color:"var(--danger)"}:2===a?{score:2,label:"Fair",color:"var(--warn)"}:3===a?{score:3,label:"Good",color:"var(--accent)"}:{score:4,label:"Strong",color:"var(--success)"}},[l]);return(0,b.jsxs)("div",{style:f,children:[(0,b.jsxs)("div",{style:{marginBottom:"var(--sp-28)"},children:[(0,b.jsx)("h1",{style:{fontSize:"var(--fs-h3)",fontWeight:600,letterSpacing:"-0.01em",margin:0},children:"Create your account"}),(0,b.jsx)("p",{style:{fontSize:"var(--fs-ui)",color:"var(--text-muted)",margin:"6px 0 0"},children:"Start your team workspace in under a minute."})]}),(0,b.jsxs)("form",{onSubmit:b=>{b.preventDefault(),a.push("/setup")},children:[(0,b.jsx)(i,{label:"Full name",type:"text",value:g,onChange:a=>h(a.target.value),placeholder:"Jane Cooper",autoComplete:"name"}),(0,b.jsx)(i,{label:"Work email",type:"email",value:j,onChange:a=>k(a.target.value),placeholder:"you@company.com",autoComplete:"email"}),(0,b.jsx)(i,{label:"Password",type:"password",value:l,onChange:a=>m(a.target.value),placeholder:"At least 8 characters",autoComplete:"new-password",children:(0,b.jsxs)("div",{style:{marginTop:"var(--sp-8)"},children:[(0,b.jsx)("div",{style:{display:"flex",gap:"var(--sp-4)",marginBottom:"var(--sp-4)"},children:[0,1,2,3].map(a=>(0,b.jsx)("div",{style:{flex:1,height:3,borderRadius:2,background:a<p.score?p.color:"var(--hairline)",transition:"background .15s"}},a))}),(0,b.jsx)("div",{style:{fontSize:"var(--fs-meta)",color:p.label?p.color:"var(--text-subtle)",minHeight:14},children:p.label||"Use 8+ characters with letters, numbers, and a symbol."})]})}),(0,b.jsx)(i,{label:"Company name",type:"text",value:n,onChange:a=>o(a.target.value),placeholder:"Acme Inc.",autoComplete:"organization"}),(0,b.jsx)("button",{type:"submit",className:"btn primary lg",style:{width:"100%",justifyContent:"center",marginTop:"var(--sp-8)"},children:"Create account"})]}),(0,b.jsxs)("p",{style:{marginTop:"var(--sp-24)",fontSize:"var(--fs-sm)",textAlign:"center",color:"var(--text-muted)"},children:["Already have an account?"," ",(0,b.jsx)(d.default,{href:"/login",style:{color:"var(--text)",fontWeight:500,textDecoration:"none"},children:"Sign in"})]})]})}])}];

//# sourceMappingURL=src_app_%28auth%29_signup_page_tsx_1105_a~._.js.map