1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[143],{7985:function(e,t){"use strict";var s=/^[-!#$%&'*+\/0-9=?A-Z^_a-z{|}~](\.?[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$/;t.G=function(e){if(!e)return!1;if(e.length>254)return!1;if(!s.test(e))return!1;var t=e.split("@");return!(t[0].length>64)&&!t[1].split(".").some((function(e){return e.length>63}))}},85143:function(e,t,s){"use strict";s.r(t),s.d(t,{default:function(){return H}});var n=s(98788),a=s(22970),l=s(52322),r=s(2784),c=s(58013),i=s(70865),o=s(96670),u=function(e){var t=(0,c.Z)({},e);return(0,l.jsxs)("svg",(0,o.Z)((0,i.Z)({viewBox:"0 0 24 24",width:"24",height:"24",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",fill:"none",shapeRendering:"geometricPrecision"},t),{children:[(0,l.jsx)("circle",{cx:"12",cy:"12",r:"10",fill:"transparent"}),(0,l.jsx)("path",{d:"M12 8v4",stroke:"currentColor"}),(0,l.jsx)("path",{d:"M12 16h.01",stroke:"currentColor"})]}))},h=s(84509),C=s(54208),d=s(51181),f=s(22875),x=s(56733),p=s(7985),H=function(){var e=(0,r.useState)(""),t=e[0],s=e[1],c=(0,r.useState)(""),i=c[0],o=c[1],H=(0,r.useState)(""),V=H[0],Z=H[1],j=(0,r.useState)(""),m=j[0],g=j[1],b=(0,r.useState)(!1),v=b[0],k=b[1],N=(0,r.useState)(""),w=N[0],M=N[1],L=(0,r.useState)(!1),_=L[0],y=L[1],S=(0,r.useState)(!1),z=S[0],A=S[1],E=(0,x.Z)(),I=(0,f.l8)(),G=I.setModalView,P=I.closeModal,W=function(){var e=(0,n.Z)((function(e){var s,n;return(0,a.__generator)(this,(function(a){switch(a.label){case 0:e.preventDefault(),_||z||(y(!0),$()),a.label=1;case 1:return a.trys.push([1,3,,4]),k(!0),M(""),[4,E({email:t,firstName:V,lastName:m,password:i})];case 2:return a.sent(),k(!1),P(),[3,4];case 3:return s=a.sent(),n=s.errors,M(n[0].message),k(!1),[3,4];case 4:return[2]}}
1))}));return function(t){return e.apply(this,arguments)}}(),$=(0,r.useCallback)((function(){var e=/^(?=.*[a-zA-Z])(?=.*[0-9])/.test(i);_&&A(!(0,p.G)(t)||i.length<7||!e)}),[t,i,_]);return(0,r.useEffect)((function(){$()}),[$]),(0,l.jsxs)("form",{onSubmit:W,className:"w-80 flex flex-col justify-between p-3",children:[(0,l.jsx)("div",{className:"flex justify-center pb-12 ",children:(0,l.jsx)(h.Z,{width:"64px",height:"64px"})}),(0,l.jsxs)("div",{className:"flex flex-col space-y-4",children:[w&&(0,l.jsx)("div",{className:"text-red border border-red p-3",children:w}),(0,l.jsx)(C.Z,{placeholder:"First Name",onChange:Z}),(0,l.jsx)(C.Z,{placeholder:"Last Name",onChange:g}),(0,l.jsx)(C.Z,{type:"email",placeholder:"Email",onChange:s}),(0,l.jsx)(C.Z,{type:"password",placeholder:"Password",onChange:o}),(0,l.jsxs)("span",{className:"text-accent-8",children:[(0,l.jsx)("span",{className:"inline-block align-middle ",children:(0,l.jsx)(u,{width:"15",height:"15"})})," ",(0,l.jsxs)("span",{className:"leading-6 text-sm",children:[(0,l.jsx)("strong",{children:"Info"}),": Passwords must be longer than 7 chars and include numbers."," "]})]}),(0,l.jsx)("div",{className:"pt-2 w-full flex flex-col",children:(0,l.jsx)(d.Z,{variant:"slim",type:"submit",loading:v,disabled:z,children:"Sign Up"})}),(0,l.jsxs)("span",{className:"pt-1 text-center text-sm",children:[(0,l.jsx)("span",{className:"text-accent-7",children:"Do you have an account?"})," ",(0,l.jsx)("a",{className:"text-accent-9 font-bold hover:underline cursor-pointer",onClick:function(){return G("LOGIN_VIEW")},children:"Log In"})]})]})]})}},54208:function(e,t,s){"use strict";var n=s(70865),a=s(26297),l=s(52322),r=(s(2784),s(12524)),c=s.n(r),i=s(30210),o=s.n(i);t.Z=function(e){var t=e.className,s=(e.children,e.onChange),r=(0,a.Z)(e,["className","children","onChange"]),i=c()(o().root,{},t);return(0,l.jsx)("label",{children:(0,l.jsx)("input",(0,n.Z)({className:i,onChange:function(e){return s&&s(e.target.value),null},autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:"false"},r))})}},84509:function(e,t,s){"use strict";var n=s(58013),a=s(70865),l=s(96670),r=s(52322);t.Z=function(e){var t=(0,n.Z)({},e);return(0,r.jsxs)("svg",(0,l.Z)((0,a.Z)({},t),{viewBox:"0 0 255 90",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M155.853 28.38H133.327V21.008H155.853V28.38Z",fill:"#C91332"}),(0,r.jsx)("path",{d:"M105.7 15.3781V34.0088C105.7 45.7821 112.308 48.5595 123.416 48.5595H135.927C148.311 48.5595 150.755 43.2275 150.755 36.4528V32.6768H138.425C138.425 37.6741 136.759 38.2301 131.205 38.2301H125.416C119.584 38.2301 118.363 36.0088 118.363 30.1768V19.2101C118.363 13.3781 119.584 11.1568 125.416 11.1568H131.205C136.759 11.1568 138.425 11.7128 138.425 16.7115H150.755V12.9341C150.755 6.15948 148.311 0.827482 135.927 0.827482H123.416C112.308 0.827482 105.7 3.60482 105.7 15.3781Z",fill:"black"}),(0,r.jsx)("path",{d:"M0.827454 77.85C0.827454 72.4993 3.83145 71.2367 8.87945 71.2367H15.4675C23.4435 71.2367 24.4781 72.9527 24.4275 78.1273H18.8248V77.622C18.8248 76.31 17.8648 75.9313 16.1995 75.9313H10.0915C7.13812 75.9313 6.58212 77.3193 6.58212 79.5913V81.5607C6.58212 84.2113 7.13812 85.2207 9.78745 85.2207H15.7701C18.2941 85.2207 19.0515 84.9673 19.0515 82.6967H24.6555V84.4127C24.6555 87.4927 23.5448 89.9153 17.9155 89.9153H8.87945C3.83145 89.9153 0.827454 88.6527 0.827454 83.302V77.85Z",fill:"black"}),(0,r.jsx)("path",{d:"M33.386 81.5604C33.386 84.2111 33.9407 85.2204 36.5913 85.2204H43.7593C46.41 85.2204 46.966 84.2111 46.966 81.5604V79.5911C46.966 77.3204 46.41 75.9311 43.4566 75.9311H36.894C33.9407 75.9311 33.386 77.3204 33.386 79.5911V81.5604ZM27.6313 77.8497C27.6313 72.4991 30.634 71.2364 35.6833 71.2364H44.6686C49.7166 71.2364 52.7207 72.4991 52.7207 77.8497V83.3017C52.7207 88.6524 49.7166 89.9151 44.6686 89.9151H35.6833C30.634 89.9151 27.6313 88.6524 27.6313 83.3017V77.8497Z",fill:"black"}),(0,r.jsx)("path",{d:"M56.1004 71.4387H64.707L71.043 83.2013L77.379 71.4387H85.9857V89.7133H80.5337V76.588H80.483L73.1377 89.7133H68.9484L61.603 76.588H61.5524V89.7133H56.1004V71.4387Z",fill:"black"}),(0,r.jsx)("path",{d:"M89.7692 71.4387H98.3758L104.712 83.2013L111.048 71.4387H119.654V89.7133H114.202V76.588H114.152L106.806 89.7133H102.617L95.2718 76.588H95.2212V89.7133H89.7692V71.4387Z",fill:"black"}),(0,r.jsx)("path",{d:"M128.789 81.5604C128.789 84.2111 129.343 85.2204 131.994 85.2204H139.163C141.813 85.2204 142.369 84.2111 142.369 81.5604V79.5911C142.369 77.3204 141.813 75.9311 138.859 75.9311H132.297C129.343 75.9311 128.789 77.3204 128.789 79.5911V81.5604ZM123.034 77.8497C123.034 72.4991 126.038 71.2364 131.086 71.2364H140.071C145.119 71.2364 148.123 72.4991 148.123 77.8497V83.3017C148.123 88.6524 145.119 89.9151 140.071 89.9151H131.086C126.038 89.9151 123.034 88.6524 123.034 83.3017V77.8497Z",fill:"black"}),(0,r.jsx)("path",{d:"M157.309 85.0184H167.254C169.652 85.0184 170.586 84.3371 170.586 81.7371V79.2637C170.586 76.6637 169.652 75.9824 167.254 75.9824H157.309V85.0184ZM151.705 71.4384H168.617C174.221 71.4384 176.189 73.2811 176.189 77.7997V83.3531C176.189 87.8704 174.221 89.7131 168.617 89.7131H151.705V
171.4384Z",fill:"black"}),(0,r.jsx)("path",{d:"M184.92 81.5604C184.92 84.2111 185.475 85.2204 188.126 85.2204H195.295C197.944 85.2204 198.5 84.2111 198.5 81.5604V79.5911C198.5 77.3204 197.944 75.9311 194.991 75.9311H188.428C185.475 75.9311 184.92 77.3204 184.92 79.5911V81.5604ZM179.166 77.8497C179.166 72.4991 182.17 71.2364 187.218 71.2364H196.203C201.251 71.2364 204.255 72.4991 204.255 77.8497V83.3017C204.255 88.6524 201.251 89.9151 196.203 89.9151H187.218C182.17 89.9151 179.166 88.6524 179.166 83.3017V77.8497Z",fill:"black"}),(0,r.jsx)("path",{d:"M213.238 80.4243H222.502C224.017 80.4243 224.571 79.8189 224.571 78.5056V77.9003C224.571 76.2856 223.763 75.9816 221.997 75.9816H213.238V80.4243ZM207.634 71.4389H224.546C228.862 71.4389 230.023 73.5843 230.023 76.8656V78.0269C230.023 80.4749 229.467 81.9136 226.893 82.5189V82.5696C228.559 82.8723 229.947 83.6043 229.947 86.6083V89.7136H224.345V87.5176C224.345 85.5989 223.789 84.9683 222.047 84.9683H213.238V89.7136H207.634V71.4389Z",fill:"black"}),(0,r.jsx)("path",{d:"M233.807 71.4387H253.798V75.6787H239.411V78.6067H253.04V82.3933H239.411V85.3213H254.126V89.7133H233.807V71.4387Z",fill:"black"})]}))}},30210:function(e){e.exports={root:"Input_root__eG6Wl"}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.