1"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([[880],{8845:(e,t,n)=>{n.d(t,{A:()=>r});var r=(0,n(29976).A)("arrow-up","IconArrowUp",[["path",{d:"M12 5l0 14",key:"svg-0"}],["path",{d:"M18 11l-6 -6",key:"svg-1"}],["path",{d:"M6 11l6 -6",key:"svg-2"}]])},4349:(e,t,n)=>{n.d(t,{A:()=>r});var r=(0,n(29976).A)("info-circle","IconInfoCircle",[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0",key:"svg-0"}],["path",{d:"M12 9h.01",key:"svg-1"}],["path",{d:"M11 12h1v4h1",key:"svg-2"}]])},36333:(e,t,n)=>{n.d(t,{A:()=>r});var r=(0,n(29976).A)("link","IconLink",[["path",{d:"M9 15l6 -6",key:"svg-0"}],["path",{d:"M11 6l.463 -.536a5 5 0 0 1 7.071 7.072l-.534 .464",key:"svg-1"}],["path",{d:"M13 18l-.397 .534a5.068 5.068 0 0 1 -7.127 0a4.972 4.972 0 0 1 0 -7.071l.524 -.463",key:"svg-2"}]])},76226:(e,t,n)=>{n.d(t,{A:()=>r});var r=(0,n(29976).A)("shield-check","IconShieldCheck",[["path",{d:"M11.46 20.846a12 12 0 0 1 -7.96 -14.846a12 12 0 0 0 8.5 -3a12 12 0 0 0 8.5 3a12 12 0 0 1 -.09 7.06",key:"svg-0"}],["path",{d:"M15 19l2 2l4 -4",key:"svg-1"}]])},81455:(e,t,n)=>{n.r(t),n.d(t,{default:()=>L});var r=n(74848),a=n(96540),o=n(87164),s=n(14977),i=n(8239),l=n(30995),c=n(33551),u=n(84976),d=n(10752),h=n(75852),p=n(2604),f=n(1784),m=n(86990),g=n(71543),x=n(11641),v=n(25239),w=n(52653),y=n(1268),A=n(70708),j=n(47767),b=n(96674),k=n(70414),C=n(32705),S=n(14637),T=n(1510),I=n(43616),M=n(23040),P=n(51255),z=n(22242),D=n(71468),W=n(16839),_=n(68214),E=n(20508),O=function(){return O=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},O.apply(this,arguments)},F=function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function s(e){try{l(r.next(e))}catch(e){o(e)}}function i(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,i)}l((r=r.apply(e,t||[])).next())}))},H=function(e,t){var n,r,a,o,s={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function i(i){return function(l){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,i[0]&&(s=0)),s;)try{if(n=1,r&&(a=2&i[0]?r.return:i[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,i[1])).done)return a;switch(r=0,a&&(i=[2&i[0],a.value]),i[0]){case 0:case 1:a=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,r=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!((a=(a=s.trys).length>0&&a[a.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]<a[3])){s.label=i[1];break}if(6===i[0]&&s.label<a[1]){s.label=a[1],a=i;break}if(a&&s.label<a[2]){s.label=a[2],s.ops.push(i);break}a[2]&&s.ops.pop(),s.trys.pop();continue}i=t.call(e,s)}catch(e){i=[6,e],r=0}finally{n=a=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}};const U=function(e){var t,n,s,i=e.title,d=e.subtitle,h=e.subtext,U=(0,D.wA)(),J=(0,j.Zp)(),B=(0,u.ok)(),G=B[0],L=B[1],N=(0,b.J)().executeRecaptcha,Y=(0,P.W)().withHoneypot,Z=(0,a.useState)({username:"",email:"",password:"",passwordConfirmation:""}),R=Z[0],q=Z[1],K=(0,a.useState)(!1),V=K[0],Q=K[1],X=(0,a.useState)(!1),$=X[0],ee=X[1],te=(0,a.useState)(!1),ne=te[0],re=te[1],ae=(0,a.useState)(!1),oe=ae[0],se=ae[1],ie=(0,a.useState)(null),le=ie[0],ce=ie[1],ue=(0,a.useState)(!1),de=ue[0],he=ue[1],pe=(0,a.useState)(null),fe=pe[0],me=pe[1],ge=(0,a.useState)(!1),xe=ge[0],ve=ge[1],we=(0,a.useState)(!1),ye=we[0],Ae=we[1],je=(0,a.useState)(!1),be=je[0],ke=je[1];(0,a.useEffect)((function(){var e=G.get("error"),t=G.get("message");e&&t&&(me(t),L({},{replace:!0}))}),[G,L]);var Ce=(0,a.useCallback)((function(){return F(void 0,void 0,void 0,(function(){var e;return H(this,(function(t){switch(t.label){case 0:if(!N)return[2,void 0];t.label=1;case 1:return t.trys.push([1,3,,4]),[4,N("signup")];case 2:return[2,t.sent()];case 3:return e=t.sent(),console.error("Failed to get reCAPTCHA token:",e),[2,void 0];case 4:return[2]}}
1))}))}),[N]),Se=function(e){var t=e.target,n=t.id,r=t.value;q((function(e){var t;return O(O({},e),((t={})[n]=r,t))}))};return(0,r.jsxs)(r.Fragment,{children:[i?(0,r.jsx)(c.A,O({fontWeight:"700",variant:"h3",mb:1},{children:i})):null,h,fe&&(0,r.jsx)(f.A,O({severity:"warning",sx:{mb:2},onClose:function(){return me(null)}},{children:fe})),(0,r.jsx)(S.A,{title:"Sign up with",requireTermsAcceptance:!0,termsAccepted:ne,intent:T.d6.SIGNUP,onTermsError:function(){Ae(!0),ke(!0),se(!1),ve(!0),setTimeout((function(){return ve(!1)}),1300)},showTermsError:be,onShowTermsErrorChange:ke}),ye&&(0,r.jsx)(o.A,O({mt:0},{children:(0,r.jsx)(I.zM,{acceptedTerms:ne,onAcceptTermsChange:function(e){re(e),e&&(se(!1),ke(!1))},errorMessage:be&&!ne?I.UZ:void 0,pulse:xe})})),(0,r.jsx)(o.A,O({mt:ye?1:3},{children:(0,r.jsx)(g.A,{children:(0,r.jsx)(c.A,O({component:"span",color:"textSecondary",variant:"h6",fontWeight:"400",position:"relative",px:2},{children:"or"}))})})),(0,r.jsxs)("form",O({onSubmit:function(e){return F(void 0,void 0,void 0,(function(){var t,n,r,a,o,s,i;return H(this,(function(l){switch(l.label){case 0:if(e.preventDefault(),!ne)return ye&&Ae(!1),se(!0),ke(!1),ve(!0),setTimeout((function(){return ve(!1)}),1300),[2];if(se(!1),!N)return ce([{message:"Security verification is loading. Please wait a moment and try again.",code:"recaptcha_loading",param:""}]),[2];he(!0),ce(null),l.label=1;case 1:return l.trys.push([1,9,10,11]),[4,Ce()];case 2:return t=l.sent(),R.username=R.email,n=Y(O(O({},R),{recaptchaToken:t})),[4,(0,T.Hh)(n)];case 3:return 200!==(r=l.sent()).status?[3,5]:(U((0,W.TV)(!0)),[4,U((0,W.l2)()).unwrap().catch((function(){}))]);case 4:return l.sent(),(0,M.e)(R.email),null===(i=window.posthog)||void 0===i||i.identify((c=R.email,"juz_"+(0,E.My)((0,_.sc)((0,E.AI)("juz_ph_v1:"+c.trim().toLowerCase())))),O({subscription_status:"free"},(0,z.J)())),(0,p.u8)(),a=G.get("next"),o=(null==a?void 0:a.startsWith("/"))&&!a.startsWith("//")?a:null,J(o||"/user/dashboard/",{replace:!0}),[3,8];case 5:return 400!==r.status?[3,6]:(ce(r.errors||null),[3,8]);case 6:return 409!==r.status?[3,8]:(ce([{message:"User is already authenticated. Pls try again",code:"already_logged_in",param:""}]),[4,(0,T.ri)()]);case 7:l.sent(),l.label=8;case 8:return[3,11];case 9:return s=l.sent(),ce([{message:"An error occurred ".concat(s,". Please try again."),code:"unknown_error",param:""}]),[3,11];case 10:return he(!1),[7];case 11:return[2]}var c}))}))}},{children:[(0,r.jsxs)(o.A,{children:[(0,r.jsxs)(l.A,O({mb:.75},{children:[(0,r.jsx)(C.A,O({htmlFor:"email"},{children:"Email Address"})),(0,r.jsx)(k.A,{id:"email",variant:"outlined",fullWidth:!0,autoComplete:"email",value:R.email,onChange:Se,error:Boolean((0,T.Dx)("email",le)),helperText:null===(t=(0,T.Dx)("email",le))||void 0===t?void 0:t.message}),(0,r.jsx)(C.A,O({htmlFor:"password"},{children:"Password"})),(0,r.jsx)(k.A,{id:"password",variant:"outlined",type:V?"text":"password",fullWidth:!0,autoComplete:"new-password",value:R.password,onChange:Se,error:Boolean((0,T.Dx)("password",le)),helperText:null===(n=(0,T.Dx)("password",le))||void 0===n?void 0:n.message,InputProps:{endAdornment:(0,r.jsx)(v.A,O({position:"end"},{children:(0,r.jsx)(x.A,O({"aria-label":V?"Hide password":"Show password",onClick:function(e){return(0,A.Y)(e,Q)},onMouseDown:function(e){return e.preventDefault()},edge:"end",tabIndex:-1,size:"small"},{children:V?(0,r.jsx)(y.A,{fontSize:"small"}):(0,r.jsx)(w.A,{fontSize:"small"})}))}))}}),(0,r.jsx)(C.A,O({htmlFor:"passwordConfirmation"},{children:"Confirm Password"})),(0,r.jsx)(k.A,{id:"passwordConfirmation",variant:"outlined",type:$?"text":"password",fullWidth:!0,autoComplete:"new-password",value:R.passwordConfirmation,onChange:Se,error:Boolean((0,T.Dx)("passwordConfirmation",le)),helperText:null===(s=(0,T.Dx)("passwordConfirmation",le))||void 0===s?void 0:s.message,InputProps:{endAdornment:(0,r.jsx)(v.A,O({position:"end"},{children:(0,r.jsx)(x.A,O({"aria-label":$?"Hide password":"Show password",onClick:function(e){return(0,A.Y)(e,ee)},onMouseDown:function(e){return e.preventDefault()},edge:"end",tabIndex:-1,size:"small"},{children:$?(0,r.jsx)(y.A,{fontSize:"small"}):(0,r.jsx)(w.A,{fontSize:"small"})}))}))}})]})),!ye&&(0,r.jsx)(o.A,O({mb:.75},{children:(0,r.jsx)(I.zM,{acceptedTerms:ne,onAcceptTermsChange:function(e){re(e),e&&(se(!1),ke(!1))},errorMessage:!oe&&!be||ne?void 0:I.UZ,pulse:xe})})),(0,r.jsx)(m.A,O({color:"primary",variant:"contained",size:"large",fullWidth:!0,type:"submit",disabled:de},{children:de?"Signing up...":"Sign up"}))]}),le&&le.filter((function(e){return""===e.param})).length>0&&(0,r.jsx)(o.A,O({mt:2},{children:le.map((function(e,t){return(0,r.jsx)(c.A,O({color:"error"},{children:e.message}),t)}))})),(0,r.jsx)(o.A,O({mt:1},{children:(0,r.jsxs)(c.A,O({variant:"caption",color:"textSecondary",sx:{fontSize:"10px",o
1pacity:.7}},{children:["Protected by reCAPTCHA."," ",(0,r.jsx)("a",O({href:"https://policies.google.com/privacy",target:"_blank",rel:"noopener noreferrer",style:{color:"inherit"}},{children:"Privacy"}))," · ",(0,r.jsx)("a",O({href:"https://policies.google.com/terms",target:"_blank",rel:"noopener noreferrer",style:{color:"inherit"}},{children:"Terms"}))]}))})),d]}))]})};var J=n(55471),B=n(24465),G=function(){return G=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},G.apply(this,arguments)};const L=function(){return(0,a.useEffect)((function(){(0,B.l)()}),[]),(0,r.jsx)(d.A,G({title:"Create Your Justee AI Account â Free Contract Review",description:"Create a Justee AI account and review contracts for free.",robots:"noindex, nofollow"},{children:(0,r.jsx)(o.A,G({sx:{position:"relative","&:before":{content:'""',background:"radial-gradient(#d2f1df, #d3d7fa, #bad8f4)",backgroundSize:"400% 400%",animation:"gradient 15s ease infinite",position:"absolute",height:"100%",width:"100%",opacity:"0.3"}}},{children:(0,r.jsx)(i.Ay,G({container:!0,spacing:0,justifyContent:"center",sx:{height:"100vh"}},{children:(0,r.jsx)(i.Ay,G({item:!0,xs:12,sm:12,lg:5,xl:4,display:"flex",justifyContent:"center",alignItems:"center"},{children:(0,r.jsxs)(s.A,G({elevation:9,sx:{p:4,zIndex:1,width:"100%",maxWidth:"450px"}},{children:[(0,r.jsx)(o.A,G({display:"flex",alignItems:"center",justifyContent:"center"},{children:(0,r.jsx)(h.A,{})})),(0,r.jsx)(U,{subtitle:(0,r.jsxs)(l.A,G({direction:"row",spacing:1,justifyContent:"center",mt:3},{children:[(0,r.jsx)(c.A,G({color:"textSecondary",variant:"h6",fontWeight:"400"},{children:"Already have an Account?"})),(0,r.jsx)(c.A,G({component:u.N_,to:J.K.auth.LOGIN,variant:"h6",fontWeight:"500",sx:{textDecoration:"none",color:"primary.main"}},{children:"Sign In"}))]}))})]}))}))}))}))}))}},23040:(e,t,n)=>{function r(e){if("undefined"!=typeof window&&window.growsumo)try{window.growsumo.data.name=e,window.growsumo.data.email=e,window.growsumo.data.customer_key=e,window.growsumo.createSignup((function(){console.debug("PartnerStack signup tracked successfully")}))}catch(e){console.debug("PartnerStack tracking failed:",e)}}n.d(t,{e:()=>r})}}]);
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.