PageSourceSearch

https://online.leanpath.com/ccm/chunk-CD6QCSNE.js

js leanpath.com collected 2026-10-03 20:19:16 UTC 5,625 bytes, 1 lines download raw bytes

1import{a as y}from"./chunk-A43LVWNK.js";import{a as A}from"./chunk-KARE4JB7.js";import{b as x}from"./chunk-EDZC6HSE.js";import{Bb as m,Ff as D,Gf as v,Ka as o,Kb as V,Nb as f,Pb as g,Tf as P,Ua as _,Ue as j,Uf as z,Wc as O,We as w,Yb as h,Ze as b,_c as E,ed as B,fc as p,gb as S,gc as d,ib as k,ma as a,md as q,nb as l,ob as n,pa as M,pb as i,qa as R,qb as c,te as I,ud as L,we as U,xb as T,xd as C,zb as u}from"./chunk-RTYCSUAA.js";var G=(()=>{class e{constructor(){this.auth=a(D),this.router=a(w)}logout(){this.auth.logout().subscribe(()=>this.router.navigate(["login"]))}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=_({type:e,selectors:[["app-force-password-reset"]],decls:6,vars:4,consts:[[1,"screen"],[1,"lp-card__body","card__body"],["src","assets/img/leanpath_logo_horizontal_blurple.png",3,"alt"],[1,"card__form",3,"passwordSuccessfullyUpdated"]],template:function(r,s){r&1&&(n(0,"main",0)(1,"app-lp-card")(2,"section",1),c(3,"img",2),p(4,"translate"),n(5,"app-lp-reset-password-form",3),u("passwordSuccessfullyUpdated",function(){return s.logout()}),i()()()()),r&2&&(o(3),l("alt",h("Leanpath ",d(4,2,"global.online"))))},dependencies:[y,P,C,b,x,v],styles:[".screen[_ngcontent-%COMP%]{align-items:center;background:linear-gradient(45deg,#33276c,#654dd8);display:flex;justify-content:center;min-height:100vh;min-width:100vw}.card__body[_ngcontent-%COMP%]{background-color:#fff;padding:2rem 2.5rem;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:2rem;width:25rem}.card__body[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:125px;margin:auto;transform:scale(1.5)}.card__form[_ngcontent-%COMP%]{width:100%}"]})}}return e})();function J(e,F){if(e&1){let t=T();n(0,"app-lp-reset-password-form",5),u("passwordSuccessfullyUpdated",function(){M(t);let s=m();return R(s.routeToLogin())}),i()}if(e&2){let t=m();l("token",t.token)}}function K(e,F){if(e&1&&(n(0,"p",12),f(1),p(2,"translate"),i()),e&2){let t=m(2);o(),g(" ",d(2,1,t.requestPasswordResetMessage)," ")}}function Q(e,F){if(e&1){let t=T();n(0,"div",4)(1,"p",6),f(2),p(3,"translate"),i(),n(4,"form",7),u("ngSubmit",function(){M(t);let s=m();return R(s.requestPasswordReset())}),n(5,"div",8),c(6,"app-lp-text-input",9),i(),n(7,"div",10)(8,"button",11),f(9),p(10,"translate"),i()(),S(11,K,3,3,"p",12),i()()}if(e&2){let t=m();o(2),g(" ",d(3,6,"password.errorMessage.expiredSession")," "),o(2),l("formGroup",t.emailForm),o(2),l("textInputFormControl",t.email),o(2),l("disabled",!t.emailForm.valid),o(),g(" ",d(10,8,"password.requestReset")," "),o(2),k(t.requestPasswordResetMessage?11:-1)}}var N=(()=>{class e{constructor(){this.publicService=a(A),this.formBuilder=a(L),this.route=a(j),this.router=a(w),this.emailForm=this.formBuilder.group({email:this.formBuilder.nonNullable.control("",[O.required,O.email])}),this.token="",this.isValidToken=null,this.requestPasswordResetMessage=""}get email(){return this.emailForm.controls.email}ngOnInit(){this.token=(this.route.snapshot.queryParams.token||"").replaceAll(" ","+"),this.validateToken()}validateToken(){this.publicService.validateToken(this.token).subscribe({next:()=>{this.isValidToken=!0},error:()=>{this.isValidToken=!1}})}requestPasswordReset(){this.publicService.requestPasswordReset(this.email.value).subscribe(()=>this.requestPasswordResetMessage="password.resetEmailSent")}routeToLogin(){this.router.navigate(["/login"])}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=_({type:e,selectors:[["app-password-reset"]],decls:7,vars:7,consts:[[1,"screen"],[1,"lp-card__body","card__body"],["src","assets/img/leanpath_logo_horizontal_blurple.png",3,"alt"],[1,"card__form",3,"token"],[1,"token-error"],[1,"card__form",3,"passwordSuccessfullyUpdated","token"],[1,"token-error__message"],[1,"card__form",3,"ngSubmit","formGroup"],[1,"input","input--token-reset"],["label","global.email","type","email","errorPrefix","password.errorMessage",3,"textInputFormControl"],[1,"form__button--container"],["mat-flat-button","","type","submit","color","primary",1,"btn","form__button",3,"disabled"],[1,"validator--success"]],template:function(r,s){r&1&&(n(0,"main",0)(1,"app-lp-card")(2,"div",1),c(3,"img",2),p(4,"translate"),S(5,J,1,1,"app-lp-reset-password-form",3)(6,Q,12,10,"div",4),i()()()),r&2&&(o(2),V("card__body--error",s.isValidToken===!1),o(),l("alt",h("Leanpath ",d(4,5,"global.online"))),o(2),k(s.isValidToken?5:s.isValidToken===!1?6:-1))},dependencies:[C,B,E,q,P,b,x,U,I,y,z,v],styles:[".screen[_ngcontent-%COMP%]{align-items:center;background:linear-gradient(45deg,#33276c,#654dd8);display:flex;justify-content:center;min-height:100vh;min-width:100vw}.card__body[_ngcontent-%COMP%]{padding:2rem 2.5rem;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:2rem;width:fit-content}.card__body[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:125px;margin:auto;transform:scale(1.5)}.card__form[_ngcontent-%COMP%]{width:100%}.form__button[_ngcontent-%COMP%]{background-color:#654dd8;color:#fff}.form__button[_ngcontent-%COMP%]:hover{background-color:#462bc7;color:#fff}.form__button[_ngcontent-%COMP%]:disabled{background-color:#654dd880;color:#fff}.input--token-reset[_ngcontent-%COMP%]{margin:0 0 .5rem}.validator--success[_ngcontent-%COMP%]{color:#390;font-size:.75rem;margin:.25rem 0 0}.token-error[_ngcontent-%COMP%]{align-items:center;display:flex;flex-direction:column}.token-error__message[_ngcontent-%COMP%]{color:#ef0b3e;font-size:.875rem;margin:0 0 2rem;max-width:20rem}"]})}}return e})();var ve=[{path:"",component:N},{path:"force",component:G}];export{ve as PASSWORD_RESET_ROUTES};

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.