1import{a as C}from"./chunk-J5MY3RLL.js";import{s as l}from"./chunk-7YFVVZJ2.js";import"./chunk-W35IR56S.js";import{Ad as a,_a as o,bd as d,da as f,ea as s,eb as h,fb as n,ga as p,ld as u,vd as v,xd as g}from"./chunk-UFTGOEXC.js";import"./chunk-ZT2CETVV.js";var w=(()=>{let t=class t{constructor(r){this.http=r}getConfirmChangePassword(r){let i=`/api/public/temporal-link/change-password/${r}`;return this.http.post(i,{})}};t.\u0275fac=function(i){return new(i||t)(p(u))},t.\u0275prov=f({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var S=(()=>{let t=class t{constructor(r,i,m,I,y){this.activatedRoute=r,this.confirmChangePasswordService=i,this.verificationService=m,this.messageService=I,this.router=y}ngOnInit(){this.performConfirmChangePassword()}ngOnDestroy(){this.subscription.unsubscribe()}performConfirmChangePassword(){let{token:r}=this.activatedRoute.snapshot.params;this.subscription=this.confirmChangePasswordService.getConfirmChangePassword(r).subscribe({next:()=>{this.onSuccessConfirm()},error:i=>{this.onFailureConfirm(i)}})}onSuccessConfirm(){this.messageService.showToaster("s_0","changePassword"),this.navigateToLogin()}onFailureConfirm(r){let{error:i}=r;this.verificationService.isVerificationErrorCode(i.errorCode)||this.messageService.handleError(r),this.navigateToLogin()}navigateToLogin(){this.router.navigate(["/login"])}};t.\u0275fac=function(i){return new(i||t)(o(v),o(w),o(C),o(l),o(g))},t.\u0275cmp=h({type:t,selectors:[["sn-confirm-change-password"]],standalone:!1,decls:0,vars:0,template:function(i,m){},encapsulation:2});let e=t;return e})();var M=[{path:"",component:S}],j=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=n({type:t}),t.\u0275inj=s({imports:[a.forChild(M),a]});let e=t;return e})();var G=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=n({type:t}),t.\u0275inj=s({imports:[d,j]});let e=t;return e})();export{G as ConfirmChangePasswordModule};
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.