-
Notifications
You must be signed in to change notification settings - Fork 0
/
430.aab3bd749052f2aa.js
1 lines (1 loc) · 18.5 KB
/
430.aab3bd749052f2aa.js
1
"use strict";(self.webpackChunkcheapflightclient=self.webpackChunkcheapflightclient||[]).push([[430],{60430:(C,p,c)=>{c.r(p),c.d(p,{ResetPasswordComponent:()=>re});var w=c(36895),i=c(24006),h=c(83700),a=c(72506),_=c(44143),f=c(34541),d=c(28746),e=c(94650),x=c(82761),v=c(23160),P=c(80529),A=c(88001);const N={headers:new P.WM({"Content-Type":"application/json"})};let T=(()=>{class o{constructor(t,n){this.http=t,this.appConfig=n}sendEmailResetPassword(t){return this.http.post(this.appConfig.apiUrl+"auth/verify-email-forget-password",t,N)}}return o.\u0275fac=function(t){return new(t||o)(e.LFG(P.eN),e.LFG(A.qB))},o.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();function R(o,r){1&o&&(e.TgZ(0,"div",16)(1,"div",17),e._uU(2,"Kh\xf4i ph\u1ee5c m\u1eadt kh\u1ea9u"),e.qZA(),e.TgZ(3,"div",18),e._uU(4,"Nh\u1eadp \u0111\u1ecba ch\u1ec9 email \u0111\xe3 x\xe1c th\u1ef1c c\u1ee7a t\xe0i kho\u1ea3n v\xe0 ch\xfang t\xf4i s\u1ebd g\u1eedi \u0111\u1ebfn b\u1ea1n 1 email kh\xf4i ph\u1ee5c m\u1eadt kh\u1ea9u."),e.qZA()())}function F(o,r){if(1&o&&(e.TgZ(0,"div",16)(1,"div",17),e._uU(2,"\u0110\xe3 g\u1eedi email kh\xf4i ph\u1ee5c m\u1eadt kh\u1ea9u"),e.qZA(),e.TgZ(3,"div",18),e._uU(4,"Ch\xfang t\xf4i \u0111\xe3 g\u1eedi \u0111\u1ebfn "),e.TgZ(5,"strong",19),e._uU(6),e.qZA(),e._uU(7," 1 email ch\u1ee9a \u0111\u01b0\u1eddng link kh\xf4i ph\u1ee5c m\u1eadt kh\u1ea9u. Vui l\xf2ng ki\u1ec3m tra h\xf2m th\u01b0 c\u1ee7a b\u1ea1n."),e.qZA()()),2&o){const t=e.oxw();e.xp6(6),e.Oqu(t.email)}}function D(o,r){1&o&&(e.TgZ(0,"div",16)(1,"div",17),e._uU(2,"Thay \u0111\u1ed5i m\u1eadt kh\u1ea9u m\u1edbi th\xe0nh c\xf4ng"),e.qZA(),e.TgZ(3,"div",18),e._uU(4,"M\u1eadt kh\u1ea9u c\u1ee7a b\u1ea1n \u0111\xe3 \u0111\u01b0\u1ee3c thay \u0111\u1ed5i th\xe0nh c\xf4ng"),e.qZA()())}function Z(o,r){1&o&&(e.TgZ(0,"div",16)(1,"div",17),e._uU(2,"T\u1ea1o m\u1eadt kh\u1ea9u m\u1edbi"),e.qZA(),e.TgZ(3,"div",18),e._uU(4,"Nh\u1eadp v\xe0 x\xe1c nh\u1eadn \u0111\u1ec3 t\u1ea1o m\u1eadt kh\u1ea9u m\u1edbi"),e.qZA()())}function y(o,r){1&o&&e._UZ(0,"cf-input-hint",26),2&o&&e.Q6J("hint","Email kh\xf4ng \u0111\u01b0\u1ee3c \u0111\u1ec3 tr\u1ed1ng")}function S(o,r){if(1&o&&(e.TgZ(0,"form",20)(1,"div",21)(2,"cf-input-group",22)(3,"label",23),e._uU(4,"Email"),e.qZA(),e._UZ(5,"input",24),e.YNc(6,y,1,1,"cf-input-hint",25),e.qZA()()()),2&o){const t=e.oxw();e.Q6J("formGroup",t.resetPasswordForm),e.xp6(2),e.Q6J("disabled",t.isLoading)("status",t.resetPasswordForm.controls.email.invalid&&(t.resetPasswordForm.controls.email.dirty||t.resetPasswordForm.controls.email.touched)?"error":"default"),e.xp6(4),e.Q6J("ngIf",t.resetPasswordForm.controls.email.hasError("required")&&(t.resetPasswordForm.controls.email.touched||t.resetPasswordForm.controls.email.dirty))}}function J(o,r){1&o&&e._UZ(0,"cf-input-hint",26),2&o&&e.Q6J("hint","M\xe3 \u0111\u1ea1i l\xfd kh\xf4ng \u0111\u01b0\u1ee3c \u0111\u1ec3 tr\u1ed1ng")}function k(o,r){1&o&&e._UZ(0,"cf-input-hint",26),2&o&&e.Q6J("hint","M\xe3 \u0111\u1ea1i l\xfd kh\xf4ng ch\xednh x\xe1c")}function q(o,r){if(1&o){const t=e.EpF();e.TgZ(0,"cf-icon",35),e.NdJ("click",function(){e.CHM(t);const s=e.oxw(2);return e.KtG(s.showNewPass=!s.showNewPass)}),e.qZA()}}function U(o,r){if(1&o){const t=e.EpF();e.TgZ(0,"cf-icon",36),e.NdJ("click",function(){e.CHM(t);const s=e.oxw(2);return e.KtG(s.showNewPass=!s.showNewPass)}),e.qZA()}}function I(o,r){1&o&&e._UZ(0,"cf-input-hint",26),2&o&&e.Q6J("hint","M\u1eadt kh\u1ea9u m\u1edbi kh\xf4ng \u0111\u01b0\u1ee3c \u0111\u1ec3 tr\u1ed1ng")}function Q(o,r){1&o&&e._UZ(0,"cf-icon",43)}function b(o,r){1&o&&e._UZ(0,"cf-icon",44)}function Y(o,r){1&o&&e._UZ(0,"cf-icon",43)}function L(o,r){1&o&&e._UZ(0,"cf-icon",44)}function V(o,r){1&o&&e._UZ(0,"cf-icon",43)}function B(o,r){1&o&&e._UZ(0,"cf-icon",44)}const g=function(o,r){return{"!text-primary-1-4":o,"!text-secondary-5-3":r}};function W(o,r){if(1&o&&(e.TgZ(0,"div",37)(1,"div",38)(2,"div",39),e.YNc(3,Q,1,0,"cf-icon",40),e.YNc(4,b,1,0,"cf-icon",41),e.TgZ(5,"div",42),e._uU(6,"T\u1ed1i thi\u1ec3u 8 k\xed t\u1ef1"),e.qZA()(),e.TgZ(7,"div",39),e.YNc(8,Y,1,0,"cf-icon",40),e.YNc(9,L,1,0,"cf-icon",41),e.TgZ(10,"div",42),e._uU(11,"C\xf3 1 ch\u1eef s\u1ed1"),e.qZA()(),e.TgZ(12,"div",39),e.YNc(13,V,1,0,"cf-icon",40),e.YNc(14,B,1,0,"cf-icon",41),e.TgZ(15,"div",42),e._uU(16,"C\xf3 1 ch\u1eef in hoa"),e.qZA()()()()),2&o){const t=e.oxw(2);e.xp6(2),e.Q6J("ngClass",e.WLB(9,g,t.minLengthValid,!t.minLengthValid)),e.xp6(1),e.Q6J("ngIf",t.minLengthValid),e.xp6(1),e.Q6J("ngIf",!t.minLengthValid),e.xp6(3),e.Q6J("ngClass",e.WLB(12,g,t.requiresDigitValid,!t.requiresDigitValid)),e.xp6(1),e.Q6J("ngIf",t.requiresDigitValid),e.xp6(1),e.Q6J("ngIf",!t.requiresDigitValid),e.xp6(3),e.Q6J("ngClass",e.WLB(15,g,t.requiresUppercaseValid,!t.requiresUppercaseValid)),e.xp6(1),e.Q6J("ngIf",t.requiresUppercaseValid),e.xp6(1),e.Q6J("ngIf",!t.requiresUppercaseValid)}}function O(o,r){if(1&o){const t=e.EpF();e.TgZ(0,"cf-icon",35),e.NdJ("click",function(){e.CHM(t);const s=e.oxw(2);return e.KtG(s.showConfirmPass=!s.showConfirmPass)}),e.qZA()}}function M(o,r){if(1&o){const t=e.EpF();e.TgZ(0,"cf-icon",36),e.NdJ("click",function(){e.CHM(t);const s=e.oxw(2);return e.KtG(s.showConfirmPass=!s.showConfirmPass)}),e.qZA()}}function z(o,r){1&o&&e._UZ(0,"cf-input-hint",26),2&o&&e.Q6J("hint","M\u1eadt kh\u1ea9u m\u1edbi kh\xf4ng \u0111\u01b0\u1ee3c \u0111\u1ec3 tr\u1ed1ng")}function G(o,r){1&o&&e._UZ(0,"cf-input-hint",26),2&o&&e.Q6J("hint","Ch\u01b0a tr\xf9ng v\u1edbi m\u1eadt kh\u1ea9u m\u1edbi")}function K(o,r){if(1&o){const t=e.EpF();e.TgZ(0,"form",20)(1,"div",21)(2,"cf-input-group",27)(3,"label",28),e._uU(4," M\xe3 \u0111\u1ea1i l\xfd (T\xean \u0111\u0103ng nh\u1eadp) "),e.qZA(),e.TgZ(5,"input",29),e.NdJ("keydown",function(){e.CHM(t);const s=e.oxw();return e.KtG(s.usernameKeyDown())}),e.qZA(),e.YNc(6,J,1,1,"cf-input-hint",25),e.YNc(7,k,1,1,"cf-input-hint",25),e.qZA(),e.TgZ(8,"cf-input-group",27)(9,"label",28),e._uU(10," M\u1eadt kh\u1ea9u m\u1edbi "),e.qZA(),e._UZ(11,"input",30),e.YNc(12,q,1,0,"cf-icon",31),e.YNc(13,U,1,0,"cf-icon",32),e.YNc(14,I,1,1,"cf-input-hint",25),e.qZA(),e.YNc(15,W,17,18,"div",33),e.TgZ(16,"cf-input-group",27)(17,"label",28),e._uU(18," X\xe1c nh\u1eadn m\u1eadt kh\u1ea9u m\u1edbi "),e.qZA(),e._UZ(19,"input",34),e.YNc(20,O,1,0,"cf-icon",31),e.YNc(21,M,1,0,"cf-icon",32),e.YNc(22,z,1,1,"cf-input-hint",25),e.YNc(23,G,1,1,"cf-input-hint",25),e.qZA()()()}if(2&o){const t=e.oxw();e.Q6J("formGroup",t.createNewPasswordForm),e.xp6(2),e.Q6J("status",t.createNewPasswordForm.controls.username.invalid&&(t.createNewPasswordForm.controls.username.dirty||t.createNewPasswordForm.controls.username.touched)||!t.isUsernameCorrect?"error":"default"),e.xp6(1),e.Q6J("CfRequired",!0),e.xp6(3),e.Q6J("ngIf",t.createNewPasswordForm.controls.username.hasError("required")&&(t.createNewPasswordForm.controls.username.touched||t.createNewPasswordForm.controls.username.dirty)),e.xp6(1),e.Q6J("ngIf",!t.isUsernameCorrect),e.xp6(1),e.Q6J("status",t.createNewPasswordForm.controls.newPassword.invalid&&(t.createNewPasswordForm.controls.newPassword.dirty||t.createNewPasswordForm.controls.newPassword.touched)?"error":"default"),e.xp6(1),e.Q6J("CfRequired",!0),e.xp6(2),e.Q6J("type",t.showNewPass?"text":"password"),e.xp6(1),e.Q6J("ngIf",!t.showNewPass),e.xp6(1),e.Q6J("ngIf",t.showNewPass),e.xp6(1),e.Q6J("ngIf",t.createNewPasswordForm.controls.newPassword.hasError("required")&&(t.createNewPasswordForm.controls.newPassword.touched||t.createNewPasswordForm.controls.newPassword.dirty)),e.xp6(1),e.Q6J("ngIf",t.createNewPasswordForm.value.newPassword),e.xp6(1),e.Q6J("status",t.createNewPasswordForm.controls.confirmNewPassword.invalid&&(t.createNewPasswordForm.controls.confirmNewPassword.dirty||t.createNewPasswordForm.controls.confirmNewPassword.touched)?"error":"default"),e.xp6(1),e.Q6J("CfRequired",!0),e.xp6(2),e.Q6J("type",t.showConfirmPass?"text":"password"),e.xp6(1),e.Q6J("ngIf",!t.showConfirmPass),e.xp6(1),e.Q6J("ngIf",t.showConfirmPass),e.xp6(1),e.Q6J("ngIf",t.createNewPasswordForm.controls.confirmNewPassword.hasError("required")&&(t.createNewPasswordForm.controls.confirmNewPassword.touched||t.createNewPasswordForm.controls.confirmNewPassword.dirty)),e.xp6(1),e.Q6J("ngIf",t.createNewPasswordForm.controls.confirmNewPassword.hasError("matching")&&(t.createNewPasswordForm.controls.confirmNewPassword.touched||t.createNewPasswordForm.controls.confirmNewPassword.dirty))}}function H(o,r){1&o&&e._UZ(0,"cf-icon",47)}const E=function(o){return{"opacity-50 pointer-events-none cursor-default":o}};function j(o,r){if(1&o){const t=e.EpF();e.TgZ(0,"button",45),e.NdJ("click",function(){e.CHM(t);const s=e.oxw();return e.KtG(s.onSubmit())}),e.YNc(1,H,1,0,"cf-icon",46),e._uU(2," G\u1eedi email kh\xf4i ph\u1ee5c "),e.qZA()}if(2&o){const t=e.oxw();e.Q6J("ngClass",e.VKq(2,E,t.isLoading)),e.xp6(1),e.Q6J("ngIf",t.isLoading)}}function X(o,r){1&o&&e._UZ(0,"cf-icon",47)}function $(o,r){if(1&o){const t=e.EpF();e.TgZ(0,"button",45),e.NdJ("click",function(){e.CHM(t);const s=e.oxw();return e.KtG(s.onSubmit())}),e.YNc(1,X,1,0,"cf-icon",46),e._uU(2," G\u1eedi l\u1ea1i email kh\xf4i ph\u1ee5c "),e.qZA()}if(2&o){const t=e.oxw();e.Q6J("ngClass",e.VKq(2,E,t.isLoading)),e.xp6(1),e.Q6J("ngIf",t.isLoading)}}function ee(o,r){1&o&&e._UZ(0,"cf-icon",47)}function te(o,r){if(1&o){const t=e.EpF();e.TgZ(0,"button",45),e.NdJ("click",function(){e.CHM(t);const s=e.oxw();return e.KtG(s.createNewPassword())}),e.YNc(1,ee,1,0,"cf-icon",46),e._uU(2," T\u1ea1o m\u1eadt kh\u1ea9u m\u1edbi "),e.qZA()}if(2&o){const t=e.oxw();e.Q6J("ngClass",e.VKq(2,E,t.isLoading)),e.xp6(1),e.Q6J("ngIf",t.isLoading)}}function oe(o,r){1&o&&e._UZ(0,"cf-icon",47)}function se(o,r){if(1&o){const t=e.EpF();e.TgZ(0,"button",45),e.NdJ("click",function(){e.CHM(t);const s=e.oxw();return e.KtG(s.goToLogin())}),e.YNc(1,oe,1,0,"cf-icon",46),e._uU(2," \u0110\u0103ng nh\u1eadp "),e.qZA()}if(2&o){const t=e.oxw();e.Q6J("ngClass",e.VKq(2,E,t.isLoading)),e.xp6(1),e.Q6J("ngIf",t.isLoading)}}function ne(o,r){if(1&o){const t=e.EpF();e.TgZ(0,"div",48),e.NdJ("click",function(){e.CHM(t);const s=e.oxw();return e.KtG(s.goToLogin())}),e._uU(1,"Quay l\u1ea1i \u0111\u0103ng nh\u1eadp"),e.qZA()}}let re=(()=>{class o{constructor(t,n,s,u,l,m){this.formBuilder=n,this.route=s,this.router=u,this.accountVerifyService=l,this.resetPasswordService=m,this.showNewPass=!1,this.showConfirmPass=!1,this.state="RESET_PASSWORD",this.email="",this.isLoading=!1,this.isUsernameCorrect=!0,t.registerIcons([a.bLw,a.MwJ,a.$S])}ngOnInit(){this.route.snapshot.queryParams.secret&&this.checkExpireCode(),this.resetPasswordForm=this.formBuilder.group({email:["",i.kI.required]}),this.createNewPasswordForm=this.formBuilder.group({username:[null,i.kI.required],confirmationCode:[this.route.snapshot.queryParams.secret,i.kI.required],newPassword:[null,i.kI.compose([i.kI.required,i.kI.minLength(8),this.patternValidator(new RegExp("[0-9]"),{requiresDigit:!0}),this.patternValidator(new RegExp("(?=.*[A-Z])"),{requiresUppercase:!0})])],confirmNewPassword:[null,[i.kI.required,this.matchValidator("newPassword")]]})}checkExpireCode(){this.accountVerifyService.checkExpire("FORGOT_PASSWORD",this.route.snapshot.queryParams.secret).subscribe({next:n=>{console.log(n),this.state=n.success?n.expired?"RESET_PASSWORD":"CREATE_NEW_PASSWORD":"RESET_PASSWORD"}})}usernameKeyDown(){this.isUsernameCorrect=!0}onSubmit(){this.resetPasswordForm.markAllAsTouched(),this.resetPasswordForm.invalid||this.isLoading||(this.email=this.resetPasswordForm.value.email,this.isLoading=!0,this.resetPasswordService.sendEmailResetPassword(this.email).pipe((0,d.x)(()=>this.isLoading=!1)).subscribe({next:n=>{n.success&&(this.state="SEND_RESET_SUCCESS")}}))}get requiresDigitValid(){return(this.createNewPasswordForm.controls.newPassword.touched||this.createNewPasswordForm.controls.newPassword.dirty)&&this.createNewPasswordForm.controls.newPassword.hasError("requiresDigit")}get minLengthValid(){return(this.createNewPasswordForm.controls.newPassword.touched||this.createNewPasswordForm.controls.newPassword.dirty)&&this.createNewPasswordForm.controls.newPassword.hasError("minlength")}get requiresUppercaseValid(){return(this.createNewPasswordForm.controls.newPassword.touched||this.createNewPasswordForm.controls.newPassword.dirty)&&this.createNewPasswordForm.controls.newPassword.hasError("requiresUppercase")}matchValidator(t,n){return s=>{var u,l;if(s.parent&&n){const m=(null===(u=s.parent)||void 0===u?void 0:u.controls)[t];return m&&m.updateValueAndValidity(),null}return s.parent&&s.parent.value&&s.value===(null===(l=s.parent)||void 0===l?void 0:l.controls)[t].value?null:{matching:!0}}}unmatchValidator(t,n){return s=>{var u,l;if(s.parent&&n){const m=(null===(u=s.parent)||void 0===u?void 0:u.controls)[t];return m&&m.updateValueAndValidity(),null}return s.parent&&s.parent.value&&s.value===(null===(l=s.parent)||void 0===l?void 0:l.controls)[t].value?{matching:!0}:null}}patternValidator(t,n){return s=>s.value?t.test(s.value)?null:n:null}goToLogin(){this.router.navigate(["login"])}createNewPassword(){if(this.createNewPasswordForm.markAllAsTouched(),this.createNewPasswordForm.invalid)return;const t=this.createNewPasswordForm.value;this.isLoading=!0,this.accountVerifyService.resetPassword({confirmNewPassword:t.confirmNewPassword,confirmationCode:t.confirmationCode,newPassword:t.newPassword,userName:t.username,emailType:"FORGOT_PASSWORD"}).pipe((0,d.x)(()=>this.isLoading=!1)).subscribe({next:n=>{n.success?this.state="CREATE_NEW_PASSWORD_SUCCESS":this.isUsernameCorrect=!1}})}}return o.\u0275fac=function(t){return new(t||o)(e.Y36(a.KNP),e.Y36(i.qu),e.Y36(x.gz),e.Y36(x.F0),e.Y36(v.P),e.Y36(T))},o.\u0275cmp=e.Xpm({type:o,selectors:[["app-reset-password"]],standalone:!0,features:[e.jDz],decls:24,vars:11,consts:[[1,"w-screen","h-screen","relative"],["src","assets/images/login_background.svg","alt","",1,"h-1/2","md:h-[34%]","w-full","object-cover","fixed","bottom-0","left-0","-z-9999"],[1,"absolute","w-full","h-full","top-0","left-0"],[1,"overflow-auto","w-full","h-full","flex","flex-col","justify-between","gap-y-6"],[1,"px-32","flex-1","md:flex-none","flex","justify-center","items-center"],[1,"bg-neutral-white","md:bg-transparent","rounded-xl","shadow-lg","md:shadow-none","py-16","md:py-8","px-8"],[1,"ml-[-15px]","md:ml-0"],["src","assets/logo/flychill_logo.png","alt","",1,"w-[192px]","h-auto"],[1,"w-[360px]","flex","flex-col","gap-y-8"],["class","flex flex-col gap-y-3",4,"ngIf"],["class","flex flex-col gap-y-6 mt-8","autocomplete","off",3,"formGroup",4,"ngIf"],[1,"flex","flex-col","gap-y-6","mt-8"],["cf-button","","size","medium","class","flex justify-center items-center",3,"ngClass","click",4,"ngIf"],["class","text-body-md-short text-secondary-3-4 text-center mt-6 cursor-pointer",3,"click",4,"ngIf"],[1,"flex","justify-center","items-center"],[1,"p-2.5","text-body-sm","text-neutral-gray-5"],[1,"flex","flex-col","gap-y-3"],[1,"text-heading-xl","text-neutral-gray-6"],[1,"text-body-md-long","text-neutral-gray-4"],[1,"text-neutral-gray-6"],["autocomplete","off",1,"flex","flex-col","gap-y-6","mt-8",3,"formGroup"],[1,"flex","flex-col","gap-y-4"],[1,"grow-[400]","!w-full",3,"disabled","status"],["cfLabel",""],["cf-input","","size","medium","autocomplete","off","placeholder","Email \u0111\u0103ng k\xfd t\xe0i kho\u1ea3n","type","text","formControlName","email"],["cfHint","",3,"hint",4,"ngIf"],["cfHint","",3,"hint"],[1,"grow-[400]","!w-full",3,"status"],["cfLabel","",1,"text-espressive-sm","text-black","mb-1.5",3,"CfRequired"],["cf-input","","size","medium","autocomplete","new-password","placeholder","Nh\u1eadp m\xe3 \u0111\u1ea1i l\xfd","formControlName","username",3,"keydown"],["cf-input","","size","medium","autocomplete","new-password","placeholder","M\u1eadt kh\u1ea9u m\u1edbi","formControlName","newPassword",3,"type"],["cfTailIcon","","class","cursor-pointer text-neutral-gray-4","icon","eye","size","small",3,"click",4,"ngIf"],["cfTailIcon","","class","cursor-pointer text-neutral-gray-4","icon","eye_off","size","small",3,"click",4,"ngIf"],["class","flex",4,"ngIf"],["cf-input","","size","medium","autocomplete","new-password","placeholder","M\u1eadt kh\u1ea9u m\u1edbi","formControlName","confirmNewPassword",3,"type"],["cfTailIcon","","icon","eye","size","small",1,"cursor-pointer","text-neutral-gray-4",3,"click"],["cfTailIcon","","icon","eye_off","size","small",1,"cursor-pointer","text-neutral-gray-4",3,"click"],[1,"flex"],[1,"grid","grid-cols-2","gap-x-6","gap-y-2"],[1,"flex","items-center","gap-x-2.5",3,"ngClass"],["icon","close","size","small",4,"ngIf"],["icon","check","size","small",4,"ngIf"],[1,"text-body-sm"],["icon","close","size","small"],["icon","check","size","small"],["cf-button","","size","medium",1,"flex","justify-center","items-center",3,"ngClass","click"],["class","text-neutral-white mr-2.5 animate-spin","icon","refresh","size","small",4,"ngIf"],["icon","refresh","size","small",1,"text-neutral-white","mr-2.5","animate-spin"],[1,"text-body-md-short","text-secondary-3-4","text-center","mt-6","cursor-pointer",3,"click"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e._UZ(1,"img",1),e.TgZ(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"div",6),e._UZ(7,"img",7),e.qZA(),e.TgZ(8,"div",8),e.YNc(9,R,5,0,"div",9),e.YNc(10,F,8,1,"div",9),e.YNc(11,D,5,0,"div",9),e.YNc(12,Z,5,0,"div",9),e.qZA(),e.YNc(13,S,7,4,"form",10),e.YNc(14,K,24,19,"form",10),e.TgZ(15,"div",11),e.YNc(16,j,3,4,"button",12),e.YNc(17,$,3,4,"button",12),e.YNc(18,te,3,4,"button",12),e.YNc(19,se,3,4,"button",12),e.qZA(),e.YNc(20,ne,2,0,"div",13),e.qZA()()(),e.TgZ(21,"div",14)(22,"div",15),e._uU(23,"Version: 1.1.2"),e.qZA()()()()),2&t&&(e.xp6(9),e.Q6J("ngIf","RESET_PASSWORD"===n.state),e.xp6(1),e.Q6J("ngIf","SEND_RESET_SUCCESS"===n.state),e.xp6(1),e.Q6J("ngIf","CREATE_NEW_PASSWORD_SUCCESS"===n.state),e.xp6(1),e.Q6J("ngIf","CREATE_NEW_PASSWORD"===n.state),e.xp6(1),e.Q6J("ngIf","RESET_PASSWORD"===n.state),e.xp6(1),e.Q6J("ngIf","CREATE_NEW_PASSWORD"===n.state),e.xp6(2),e.Q6J("ngIf","RESET_PASSWORD"===n.state),e.xp6(1),e.Q6J("ngIf","SEND_RESET_SUCCESS"===n.state),e.xp6(1),e.Q6J("ngIf","CREATE_NEW_PASSWORD"===n.state),e.xp6(1),e.Q6J("ngIf","CREATE_NEW_PASSWORD_SUCCESS"===n.state),e.xp6(1),e.Q6J("ngIf","CREATE_NEW_PASSWORD_SUCCESS"!==n.state))},dependencies:[i.u5,i._Y,i.Fj,i.JJ,i.JL,i.UX,i.sg,i.u,w.O5,w.mk,h.N8,h.Xq,_.j$,_.ND,_.BN,_.v2,a.AxE,a.Sm8,f.C],encapsulation:2}),o})()},34541:(C,p,c)=>{c.d(p,{C:()=>h});var w=c(36895),i=c(94650);let h=(()=>{class a{constructor(f,d,e){this.elementRef=f,this.renderer=d,this.document=e}set CfRequired(f){if(f){const d=this.document.createElement("span");d.innerHTML=" (*)",d.className="text-primary-1-4 text-espressive-sm",this.renderer.appendChild(this.elementRef.nativeElement,d)}}}return a.\u0275fac=function(f){return new(f||a)(i.Y36(i.SBq),i.Y36(i.Qsj),i.Y36(w.K0))},a.\u0275dir=i.lG2({type:a,selectors:[["","CfRequired",""]],inputs:{CfRequired:"CfRequired"},standalone:!0}),a})()}}]);