1import{a as Q,b as j}from"./chunk-S2XAANUW.js";import{b as Ne}from"./chunk-YVKTRB4R.js";import{a as q}from"./chunk-5JGQQEQS.js";import{b as We}from"./chunk-PM2FTHJL.js";import{e as _e}from"./chunk-WBKWFCZP.js";import{a as Re}from"./chunk-Y2NASMPB.js";import{n as K,r as Ae,u as V,x as ke,y as z}from"./chunk-BQVGPXAE.js";import"./chunk-TC6QMFVW.js";import"./chunk-FFQEFVVA.js";import{b as F,d as S,f as w,g as x,o as X,r as B,s as k,w as W,x as Be,y as J}from"./chunk-HYV42Q6U.js";import{G as $,f as ge}from"./chunk-LT5JWPRZ.js";import{a as ce,i as Te}from"./chunk-TYC4BUB5.js";import{b as we,c as v,e as ee,f as te,l as Ge}from"./chunk-YHSBM63R.js";import{a as Ce,c as Xe}from"./chunk-LBG6DDYT.js";import{b as pe,d as H,l as xe}from"./chunk-RA4YOZRY.js";import"./chunk-G6N3OXNZ.js";import"./chunk-RPTRQD4X.js";import"./chunk-YF2QEE6O.js";import"./chunk-PUFEMTVX.js";import"./chunk-VDCVVWXH.js";import"./chunk-XAWZ52LE.js";import{y as b}from"./chunk-WLHVMLAG.js";import{Ed as T,Fa as ue,Fd as de,G as O,Hb as L,Ib as le,Ja as R,Jc as s,Kc as $e,Lc as Fe,Nc as A,Pc as g,Q as P,Tc as I,Uc as y,Vc as D,Ya as U,ca as G,cd as N,dd as Ee,ed as Se,oa as se,oc as m,od as me,p as h,qc as d,sa as u,tb as r,vc as l,wc as i,xc as o,yc as E}from"./chunk-IDYDDYOD.js";import{a as ve,b as He}from"./chunk-3OXIZCVC.js";var Ke=["captcha"];function Ve(n,_){if(n&1&&E(0,"ngx-recaptcha2",20,0),n&2){let e=g();l("siteKey",e.recaptchaKey());}}function ze(n,_){if(n&1&&(i(0,"div",21),N(1),o()),n&2){let e=g();r(),Ee(e.errorMessage());}}function qe(n,_){n&1&&E(0,"mat-spinner",23),n&2&&l("strokeWidth",1)("diameter",30);}function Qe(n,_){n&1&&(i(0,"span"),s(1,7),o());}var ie=class ie{constructor(){this.fb=u(W);this.apiService=u($);this.router=u(ee);this.platformId=u(U);this.sessionStore=u(_e);this.destroyRef=u(ue);this.isBrowser=b(this.platformId);this.configData=u(v);this.recaptchaKey=T(()=>this.configData()?.config?.options?.recaptcha_key??null);this.errorMessage=R(null);this.isSubmitted=R(!1);this.hidePassword=R(!0);this.loginForm=this.fb.group({email:["",[S.required,S.email]],password:["",S.required],recaptcha:[""]});this.shouldShowCaptcha=T(()=>this.isBrowser&&!!this.recaptchaKey()&&this.configData()?.config?.options?.is_enabled_captcha_login===1);this.faEye=Te;this.faEyeSlash=ce;de(()=>{let _=this.shouldShowCaptcha(),e=this.loginForm.get("recaptcha");e&&(_?e.setValidators(S.required):e.clearValidators(),e.updateValueAndValidity({emitEvent:!1}));});}togglePassword(_){_.preventDefault(),this.hidePassword.update(e=>!e);}get hasRecaptchaControl(){return!!this.loginForm.get("recaptcha");}handleSubmit(){if(this.loginForm.invalid){this.loginForm.markAllAsTouched();return;}this.isSubmitted.set(!0),this.errorMessage.set(null),this.apiService.getSanctumCsrf().pipe(G(()=>this.apiService.login(this.loginForm.value)),P(()=>this.isSubmitted.set(!1)),O(_=>(this.errorMessage.set(_.error?.error||"\u041E\u0448\u0438\u0431\u043A\u0430 \u0430\u0432\u0442\u043E\u0440\u0438\u0437\u0430\u0446\u0438\u0438"),h(()=>_))),ge(this.destroyRef)).subscribe(_=>{this.sessionStore.set(_.user),this.router.navigate(["/"]),this.loginForm.reset(),this.errorMessage.set(null);});}};ie.ɵfac=function(e){return new(e||ie)();},ie.ɵcmp=L({type:ie,selectors:[["app-login"]],viewQuery:function(e,t){if(e&1&&I(Ke,5),e&2){let a;y(a=D())&&(t.captcha=a.first);}},features:[me([_e])],decls:30,vars:7,consts:()=>{let _;_="Login to your account";let e;e="No account?";let t;t="Join";let a;a="Enter email address";let p;p="Enter password";let c;c="Forgot password?";let C;return C="Log in",[["captcha",""],_,e,t,a,p,c,C,[1,"mx-auto","max-w-xl"],[1,"bg-(--section-bg)","rounded-3xl","lg:rounded-4xl","shadow","p-8","lg:p-10"],[1,"text-center","text-xl","lg:text-2xl","font-medium"],[1,"text-center","mt-3","text-(--text-secondary-foreground)","text-sm"],["routerLink","/auth/register",1,"text-(--default-link)","hover:underline"],[1,"flex","flex-col","mt-8","lg:mt-8",3,"ngSubmit","formGroup"],["appearance","fill"],["type","email","name","email","matInput","","formControlName","email"],[1,"relative"],["matInput","","formControlName","password",1,"pr-10",3,"type"],["mat-icon-button","","type","button","matSuffix","","tabindex","-1",1,"!absolute","!right-1","!top-1/5","!transform","!-translate-y-1/2","opacity-75","z-10",3,"click"],[1,"*:!text-xs",3,"icon"],["formControlName","recaptcha",1,"mt-3","mb-5","mx-auto",3,"siteKey"],[1,"my-3","rounded-2xl","bg-red-100","p-3","text-center","text-red-700"],["type","submit","mat-button","","mat-flat-button","","color","primary",3,"disabled"],[3,"strokeWidth","diameter"],[1,"text-center","mt-5"],["routerLink","/auth/reset-credentials",1,"text-(--default-link)","hover:underline"]];},template:function(e,t){e&1&&(i(0,"div",8)(1,"div",9)(2,"h1",10),s(3,1),o(),i(4,"div",11)(5,"span"),s(6,2),o(),N(7,"\xA0"),i(8,"a",12),s(9,3),o()(),i(10,"form",13),A("ngSubmit",function(){return t.handleSubmit();}),i(11,"mat-form-field",14)(12,"mat-label"),s(13,4),o(),E(14,"input",15),o(),i(15,"mat-form-field",14)(16,"mat-label"),s(17,5),o(),i(18,"div",16),E(19,"input",17),i(20,"button",18),A("click",function(p){return t.togglePassword(p);}),E(21,"fa-icon",19),o()()(),m(22,Ve,2,1,"ngx-recaptcha2",20),m(23,ze,2,1,"div",21),i(24,"button",22),m(25,qe,1,2,"mat-spinner",23)(26,Qe,2,0,"span"),o()(),i(27,"div",24)(28,"a",25),s(29,6),o()()()()),e&2&&(r(10),l("formGroup",t.loginForm),r(9),l("type",t.hidePassword()?"password":"text"),r(2),l("icon",t.hidePassword?t.faEye:t.faEyeSlash),r(),d(t.shouldShowCaptcha()&&t.hasRecaptchaControl?22:-1),r(),d(t.errorMessage()?23:-1),r(),l("disabled",!t.loginForm.valid||t.isSubmitted()),r(),d(t.isSubmitted()?25:26));},dependencies:[J,X,F,w,x,B,k,ke,V,K,Ae,z,xe,H,pe,q,te,j,Q,Ce],encapsulation:2});var fe=ie;var je=["captcha"];function Ye(n,_){n&1&&(i(0,"div",25),s(1,10),o());}function Ze(n,_){if(n&1&&(i(0,"div",26),N(1),o()),n&2){let e=g();r(),Ee(e.errorMessage());}}function et(n,_){if(n&1&&E(0,"ngx-recaptcha2",27,0),n&2){let e=g();l("siteKey",e.recaptchaKey());}}function tt(n,_){n&1&&E(0,"mat-spinner",31),n&2&&l("strokeWidth",1)("diameter",30);}function _t(n,_){n&1&&(i(0,"span"),s(1,11),o());}var oe=class oe{constructor(){this.fb=u(W);this.apiService=u($);this.router=u(ee);this.platformId=u(U);this.sessionStore=u(_e);this.destroyRef=u(ue);this.isBrowser=b(this.platformId);this.configData=u(v);this.recaptchaKey=T(()=>this.configData()?.config?.options?.recaptcha_key??null);this.getRulesLink=T(()=>this.configData()?.config?.attributes?.exchange_rules_link??"");this.shouldShowCaptcha=T(()=>this.isBrowser&&!!this.recaptchaKey()&&this.configData()?.config?.options?.is_enabled_captcha_register===1);this.registerForm=this.fb.group({name:["",[S.required,S.minLength(3)]],email:["",[S.required,S.email]],password:["",S.required],password_confirmation:["",S.required],agree_rules:[!1,S.requiredTrue],recaptcha:[""]},{validators:[Ne("password","password_confirmation")]});this.isSubmitted=R(!1);this.errorMessage=R(null);this.passwordVisible=R(!1);this.passwordConfirmationVisible=R(!1);this.faEye=Te;this.faEyeSlash=ce;de(()=>{let _=this.shouldShowCaptcha(),e=this.registerForm.get("recaptcha");e&&(_?e.setValidators(S.required):e.clearValidators(),e.updateValueAndValidity({emitEvent:!1}));});}togglePasswordVisibility(_){_.preventDefault(),this.passwordVisible.update(e=>!e);}togglePasswordConfirmationVisibility(_){_.preventDefault(),this.passwordConfirmationVisible.update(e=>!e);}
1handleSubmit(){if(this.registerForm.invalid){this.registerForm.markAllAsTouched();return;}this.isSubmitted.set(!0),this.errorMessage.set(null),this.apiService.getSanctumCsrf().pipe(G(()=>this.apiService.register(this.registerForm.value)),P(()=>this.isSubmitted.set(!1)),O(_=>(this.errorMessage.set(_.error?.error||"\u041E\u0448\u0438\u0431\u043A\u0430 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438"),h(()=>_))),ge(this.destroyRef)).subscribe(_=>{this.sessionStore.set(_.user),this.router.navigate(["/"]),this.registerForm.reset(),this.errorMessage.set(null);});}get isAgreed(){return!!this.registerForm.get("agree_rules")?.value;}get hasRecaptchaControl(){return!!this.registerForm.get("recaptcha");}ngOnDestroy(){this.registerForm.reset();}};oe.ɵfac=function(e){return new(e||oe)();},oe.ɵcmp=L({type:oe,selectors:[["app-register"]],viewQuery:function(e,t){if(e&1&&I(je,5),e&2){let a;y(a=D())&&(t.captcha=a.first);}},features:[me([_e])],decls:45,vars:12,consts:()=>{let _;_="Register at "+"\uFFFD0\uFFFD"+"";let e;e="Have an account?";let t;t="Log in";let a;a="Please introduce yourself";let p;p="Enter email address";
1let c;c="Enter password";let C;C="Re-enter password";let M;M="By clicking Register, I agree to the ";let ye;ye="terms and conditions of the service";let De;De="Passwords do not match";let be;return be="Register",[["captcha",""],_,e,t,a,p,c,C,M,ye,De,be,[1,"mx-auto","max-w-xl"],[1,"bg-(--section-bg)","rounded-3xl","lg:rounded-4xl","shadow","p-8","lg:p-10"],[1,"text-center","text-xl","lg:text-2xl","font-medium"],[1,"text-center","mt-3","text-(--text-secondary-foreground)","text-sm"],["routerLink","/auth/login",1,"text-(--default-link)","hover:underline"],[1,"flex","flex-col","mt-8","lg:mt-8",3,"ngSubmit","formGroup"],["type","text","name","name","matInput","","formControlName","name"],["type","email","name","email","matInput","","formControlName","email"],[1,"relative"],["type","password","name","password","matInput","","formControlName","password",3,"type"],["mat-icon-button","","type","button","matSuffix","","tabindex","-1",1,"!absolute","!right-1","!top-1/5","!transform","!-translate-y-1/2","opacity-75","z-10",3,"click"],[1,"*:!text-xs",3,"icon"],["type","password","name","password_confirmation","matInput","","formControlName","password_confirmation",3,"type"],[1,"p-3","bg-red-100","text-red-600","text-xs","rounded-2xl","mb-5"],[1,"my-3","rounded-2xl","bg-red-100","p-3","text-center","text-red-700"],["formControlName","recaptcha",1,"mt-3","mb-5","mx-auto",3,"siteKey"],["formControlName","agree_rules",1,"pt-2","pb-5"],[1,"text-(--default-link)","hover:underline",3,"routerLink"],["type","submit","mat-button","","mat-flat-button","","color","primary",3,"disabled"],[3,"strokeWidth","diameter"]];},template:function(e,t){if(e&1&&(i(0,"div",12)(1,"div",13)(2,"h1",14),s(3,1),o(),i(4,"div",15)(5,"span"),s(6,2),o(),N(7,"\xA0"),i(8,"a",16)(9,"span"),s(10,3),o()()(),i(11,"form",17),A("ngSubmit",function(){return t.handleSubmit();}),i(12,"mat-form-field")(13,"mat-label"),s(14,4),o(),E(15,"input",18),o(),i(16,"mat-form-field")(17,"mat-label"),s(18,5),o(),E(19,"input",19),o(),i(20,"mat-form-field")(21,"mat-label"),s(22,6),o(),i(23,"div",20),E(24,"input",21),i(25,"button",22),A("click",function(p){return t.togglePasswordVisibility(p);}),E(26,"fa-icon",23),o()()(),i(27,"mat-form-field")(28,"mat-label"),s(29,7),o(),i(30,"div",20),E(31,"input",24),i(32,"button",22),A("click",function(p){return t.togglePasswordConfirmationVisibility(p);}),E(33,"fa-icon",23),o()()(),m(34,Ye,2,0,"div",25),m(35,Ze,2,1,"div",26),m(36,et,2,1,"ngx-recaptcha2",27),i(37,"mat-checkbox",28)(38,"span"),s(39,8),o(),i(4
10,"a",29),s(41,9),o()(),i(42,"button",30),m(43,tt,1,2,"mat-spinner",31)(44,_t,2,0,"span"),o()()()()),e&2){let a;r(3),$e(t.configData().config.sitename),Fe(3),r(8),l("formGroup",t.registerForm),r(13),l("type",t.passwordVisible()?"text":"password"),r(2),l("icon",t.passwordVisible()?t.faEye:t.faEyeSlash),r(5),l("type",t.passwordConfirmationVisible()?"text":"password"),r(2),l("icon",t.passwordConfirmationVisible()?t.faEye:t.faEyeSlash),r(),d(t.registerForm.hasError("mismatchedPasswords")&&(a=t.registerForm.get("password"))!=null&&a.valid?34:-1),r(),d(t.errorMessage()?35:-1),r(),d(t.shouldShowCaptcha()&&t.hasRecaptchaControl?36:-1),r(4),l("routerLink",t.getRulesLink()),r(2),l("disabled",!t.registerForm.valid||t.isSubmitted()||!t.isAgreed),r(),d(t.isSubmitted()?43:44);}},dependencies:[H,V,z,K,q,J,X,F,w,x,B,k,te,Be,We,j,Q,pe,Ce,Ae],encapsulation:2});var Me=oe;var it=["captcha"];function ot(n,_){if(n&1&&E(0,"ngx-recaptcha2",12,0),n&2){let e=g();l("siteKey",e.recaptchaKey());}}function nt(n,_){if(n&1&&(i(0,"div",13),N(1),o()),n&2){let e=g();r(),Se(" ",e.errorMessage()," ");}}function rt(n,_){n&1&&E(0,"mat-spinner",15),n&2&&l("strokeWidth",1)("diameter",30);}function at(n,_){n&1&&(i(0,"span"),s(1,5),o());}var ne=class ne{constructor(){this.fb=u(W);this.apiService=u($);this.snackBar=u(Re);this.platformId=u(U);this.configData=u(v);this.recaptchaKey=T(()=>this.configData()?.config.options.recaptcha_key);this.shouldShowCaptcha=T(()=>this.isBrowser&&!!this.recaptchaKey()&&this.configData().config.options.is_enabled_captcha_reset===1);this.resetForm=this.fb.group({email:["",[S.required,S.email]],recaptcha:[""]});this.isSubmitted=R(!1);this.errorMessage=R(null);this.isBrowser=b(this.platformId);}ngOnInit(){this.shouldShowCaptcha()?this.resetForm.get("recaptcha")?.setValidators(S.required):this.resetForm.get("recaptcha")?.clearValidators(),this.resetForm.get("recaptcha")?.updateValueAndValidity({emitEvent:!1});}get hasRecaptchaControl(){return!!this.resetForm.get("recaptcha");}
1handleSubmit(){if(this.resetForm.invalid){this.resetForm.markAllAsTouched();return;}this.isSubmitted.set(!0),this.errorMessage.set(null),this.apiService.getSanctumCsrf().pipe(G(()=>this.apiService.resetPassword(this.resetForm.value)),P(()=>this.isSubmitted.set(!1)),O(_=>(this.captcha?.resetCaptcha(),this.errorMessage.set(_.error.message||"\u041E\u0448\u0438\u0431\u043A\u0430 \u0441\u0431\u0440\u043E\u0441\u0430 \u043F\u0430\u0440\u043E\u043B\u044F"),h(()=>_)))).subscribe(_=>{this.snackBar.open(_.message,"x",{duration:2e3}),this.captcha?.resetCaptcha(),this.resetForm.reset(),this.errorMessage.set(null);});}};ne.ɵfac=function(e){return new(e||ne)();},ne.ɵcmp=L({type:ne,selectors:[["app-reset-credentials"]],viewQuery:function(e,t){if(e&1&&I(it,5),e&2){let a;y(a=D())&&(t.captcha=a.first);}},decls:20,vars:5,consts:()=>{let _;_="Password reset";let e;e="Enter email address";let t;t="Remembered your password?";let a;a="Log in";let p;return p="Send",[["captcha",""],_,e,t,a,p,[1,"mx-auto","max-w-xl"],[1,"bg-(--section-bg)","rounded-3xl","lg:rounded-4xl","shadow","p-8","lg:p-10"],[1,"text-center","text-xl","lg:text-2xl","font-medium","mb-8","lg:mb-8"],[1,"flex","flex-col",3,"ngSubmit","formGroup"],["appearance","fill"],["type","email","name","email","matInput","","formControlName","email"],["formControlName","recaptcha",1,"mt-3","mb-5","mx-auto",3,"siteKey"],[1,"my-3","rounded-2xl","bg-red-100","p-3","text-center","text-red-700"],["type","submit","mat-button","","mat-flat-button","","color","primary",3,"disabled"],[3,"strokeWidth","diameter"],[1,"text-center","mt-5"],["routerLink","/auth/login",1,"text-(--default-link)","hover:underline"]];},template:function(e,t){e&1&&(i(0,"div",6)(1,"div",7)(2,"h1",8),s(3,1),o(),i(4,"form",9),A("ngSubmit",function(){return t.handleSubmit();}),i(5,"mat-form-field",10)(6,"mat-label"),s(7,2),o(),E(8,"input",11),o(),m(9,ot,2,1,"ngx-recaptcha2",12),m(10,nt,2,1,"div",13),i(11,"button",14),m(12,rt,1,2,"mat-spinner",15)(13,at,2,0,"span"),o()(),i(14,"div",16)(15,"span"),s(16,3),o(),N(17,"\xA0"),i(18,"a",17),s(19,4),o()()()()),e&2&&(r(4),l("formGroup",t.resetForm),r(5),d(t.shouldShowCaptcha()&&t.hasRecaptchaControl?9:-1),r(),d(t.errorMessage()?10:-1),r(),l("disabled",!t.resetForm.valid||t.isSubmitted()),r(),d(t.isSubmitted()?12:13));},dependencies:[H,V,z,K,q,J,X,F,w,x,B,k,te,j,Q],encapsulation:2});var he=ne;var st=["captcha"];function ut(n,_){n&1&&(i(0,"div",14),s(1,5),o());}function lt(n,_){if(n&1&&E(0,"ngx-recaptcha2",15,0),n&2){let e=g();l("siteKey",e.recaptchaKey());}}function Et(n,_){if(n&1&&(i(0,"div",16),N(1),o()),n&2){let e=g();r(),Se(" ",e.errorMessage()," ");}}function St(n,_){n&1&&E(0,"mat-spinner",18),n&2&&l("strokeWidth",1)("diameter",30);}function mt(n,_){n&1&&(i(0,"span"),s(1,6),o());}var re=class re{constructor(){this.fb=u(W);this.apiService=u($);this.router=u(ee);this.route=u(we);this.snackBar=u(Re);this.platformId=u(U);this.configData=u(v);this.recaptchaKey=T(()=>this.configData()?.config.options.recaptcha_key);this.resetForm=this.fb.group({email:[{value:"",disabled:!0},[S.required,S.email]],password:["",S.required],password_confirmation:["",S.required],token:["",S.required],recaptcha:[""]},{validators:Ne("password","password_confirmation")});this.isSubmitted=R(!1);this.errorMessage=R(null);this.isBrowser=b(this.platformId);this.shouldShowCaptcha=T(()=>this.isBrowser&&!!this.recaptchaKey()&&this.configData().config.options.is_enabled_captcha_reset===1);}ngOnInit(){let _=this.route.snapshot.queryParamMap.get("email")?.split("?")[0]||"";this.resetForm.patchValue({email:_,token:this.token}),this.shouldShowCaptcha()?this.resetForm.get("recaptcha")?.setValidators(S.required):this.resetForm.get("recaptcha")?.clearValidators(),this.resetForm.get("recaptcha")?.updateValueAndValidity({emitEvent:!1});}get hasRecaptchaControl(){return!!this.resetForm.get("recaptcha");}
1handleSubmit(){if(this.resetForm.invalid){this.resetForm.markAllAsTouched();return;}this.isSubmitted.set(!0),this.errorMessage.set(null),this.apiService.getSanctumCsrf().pipe(G(()=>this.apiService.resetPasswordToken(He(ve({},this.resetForm.getRawValue()),{email:this.resetForm.get("email")?.value}))),P(()=>this.isSubmitted.set(!1)),O(_=>(this.captcha?.resetCaptcha(),this.errorMessage.set(_.error.message||"\u041E\u0448\u0438\u0431\u043A\u0430 \u0441\u0431\u0440\u043E\u0441\u0430 \u043F\u0430\u0440\u043E\u043B\u044F"),h(()=>_)))).subscribe(_=>{this.snackBar.open(_.message,"x",{duration:2e3}),this.captcha?.resetCaptcha(),this.resetForm.reset(),this.router.navigate(["/auth/login"]),this.errorMessage.set(null);});}};re.ɵfac=function(e){return new(e||re)();},re.ɵcmp=L({type:re,selectors:[["app-reset-credentials-token"]],viewQuery:function(e,t){if(e&1&&I(st,5),e&2){let a;y(a=D())&&(t.captcha=a.first);}},inputs:{token:"token"},decls:23,vars:6,consts:()=>{let _;_="Set a new password";let e;e="Enter email address";let t;t="Create a password";let a;a="Repeat password";let p;p="Passwords do not match";let c;return c="Confirm",[["captcha",""],_,e,t,a,p,c,[1,"mx-auto","max-w-xl"],[1,"bg-(--section-bg)","rounded-3xl","lg:rounded-4xl","shadow","p-8","lg:p-10"],[1,"text-center","text-xl","lg:text-2xl","font-medium","mb-8","lg:mb-8"],[1,"flex","flex-col",3,"ngSubmit","formGroup"],["type","email","name","email","matInput","","formControlName","email","readonly",""],["type","password","name","password","matInput","","formControlName","password"],["type","password","name","password_confirmation","matInput","","formControlName","password_confirmation"],[1,"p-3","bg-red-100","text-red-600","text-xs","rounded-2xl","mb-5"],["formControlName","recaptcha",1,"mt-3","mb-5","mx-auto",3,"siteKey"],[1,"my-3","rounded-2xl","bg-red-100","p-3","text-center","text-red-700"],["type","submit","mat-button","","mat-flat-button","","color","primary",3,"disabled"],[3,"strokeWidth","diameter"]];},template:function(e,t){if(e&1&&(i(0,"div",7)(1,"div",8)(2,"h1",9),s(3,1),o(),i(4,"form",10),A("ngSubmit",function(){return t.handleSubmit();}),i(5,"mat-form-field")(6,"mat-label"),s(7,2),o(),E(8,"input",11),o(),i(9,"mat-form-field")(10,"mat-label"),s(11,3),o(),E(12,"input",12),o(),i(13,"mat-form-field")(14,"mat-label"),s(15,4),o(),E(16,"input",13),o(),m(17,ut,2,0,"div",14),m(18,lt,2,1,"ngx-recaptcha2",15),m(19,Et,2,1,"div",16),i(20,"button",17),m(21,St,1,2,"mat-spinner",18)(22,mt,2,0,"span"),o()()()()),e&2){let a;r(4),l("formGroup",t.resetForm),r(13),d(t.resetForm.hasError("mismatchedPasswords")&&(a=t.resetForm.get("password"))!=null&&a.valid?17:-1),r(),d(t.shouldShowCaptcha()&&t.hasRecaptchaControl?18:-1),r(),d(t.errorMessage()?19:-1),r(),l("disabled",!t.resetForm.valid||t.isSubmitted()),r(),d(t.isSubmitted()?21:22);}},dependencies:[H,V,z,K,q,J,X,F,w,x,B,k,j,Q],encapsulation:2});var Oe=re;var Y=class Y{};Y.ɵfac=function(e){return new(e||Y)();},Y.ɵmod=le({type:Y}),Y.ɵinj=se({imports:[Ge.forChild([{path:"login",component:fe},{path:"register",component:Me},{path:"reset-credentials",component:he},{path:"reset-credentials/:token",component:Oe}]),Ge]});var Pe=Y;var Z=class Z{};Z.ɵfac=function(e){return new(e||Z)();},Z.ɵmod=le({type:Z}),Z.ɵinj=se({imports:[Pe,Xe]});var Je=Z;export{Je as AuthModule};/**i18n:347c420f4845c186b09f7b18e1064fdae4c9b1da7f5ed52428c13049c675d37a*/
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.