(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[884],{1766:(e,n,o)=>{Promise.resolve().then(o.bind(o,4396))},4396:(e,n,o)=>{"use strict";o.d(n,{SignUp:()=>h});var s=o(5155),r=o(63),t=o(2619),i=o.n(t),a=o(2115),l=o(9994),d=o(2800),c=o(8018);let h=()=>{let e=(0,r.useRouter)(),n=(0,a.useRef)(null),[o,t]=(0,a.useState)(0),[h,p]=(0,a.useState)({name:"",email:"",password:"",confirmPassword:""});(0,a.useEffect)(()=>{n.current&&t(n.current.offsetHeight)},[]);let m=(e,n)=>{let o=window.prompt("Enter your ".concat(n),h[e]);null!==o&&p(n=>({...n,[e]:o}))};return(0,s.jsx)(c.d.MotionWrapper,{children:(0,s.jsxs)(c.d.SafeAreaView,{children:[(0,s.jsx)(c.d.Header,{title:"Sign Up",showGoBack:!0}),(0,s.jsxs)("main",{style:{marginTop:d.A.sizes.headerHeight,marginBottom:o,paddingTop:"14%",paddingLeft:20,paddingRight:20,height:"100%",width:"100%",overflowY:"auto"},children:[(0,s.jsx)("h2",{style:{textTransform:"capitalize",marginBottom:40,...d.A.typography.h1},children:"Sign up"}),(0,s.jsxs)("div",{style:{...d.A.flex.flexColumn,gap:20},children:[(0,s.jsx)(c.d.Input,{label:"Name",placeholder:"Kristin Watson",value:h.name,onClickAction:()=>m("name","name"),isValid:h.name.length>0}),(0,s.jsx)(c.d.Input,{label:"Email",placeholder:"kristinwatson@mail.com",value:h.email,onClickAction:()=>m("email","email")}),(0,s.jsx)(c.d.Input,{label:"Password",placeholder:"••••••••",value:h.password,inputType:"password",onClickAction:()=>m("password","password")}),(0,s.jsx)(c.d.Input,{label:"Confirm Password",containerStyle:{marginBottom:30},placeholder:"••••••••",value:h.confirmPassword,inputType:"password",onClickAction:()=>m("confirmPassword","confirm password")})]}),(0,s.jsx)(c.d.Button,{label:"Sign Up",onClickAction:()=>{e.push(d.A.routes.verifyYourPhoneNumber)},containerStyle:{marginBottom:20}}),(0,s.jsx)("div",{style:{marginBottom:"14%"},children:(0,s.jsxs)("span",{children:["Already have an account?",(0,s.jsx)(i(),{href:d.A.routes.signIn,style:{color:d.A.colors.mainColor2,marginLeft:4},children:"Sign In."})]})}),(0,s.jsxs)("div",{style:{...d.A.flex.rowAlignCenterCenter,gap:15},children:[(0,s.jsx)(i(),{href:d.A.routes.home,children:(0,s.jsx)(l.J.FacebookSvg,{})}),(0,s.jsx)(i(),{href:d.A.routes.home,children:(0,s.jsx)(l.J.TwitterSvg,{})}),(0,s.jsx)(i(),{href:d.A.routes.home,children:(0,s.jsx)(l.J.GoogleSvg,{})})]})]})]})})}}},e=>{e.O(0,[171,385,406,18,441,315,358],()=>e(e.s=1766)),_N_E=e.O()}]);