PageSourceSearch

https://www.dalton.be/899.e9bab227926191c2.js

js dalton.be collected 2026-10-04 00:11:22 UTC 9,045 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkweb=self.webpackChunkweb||[]).push([[899],{2899:(D,m,n)=>{n.r(m),n.d(m,{ResetPasswordModule:()=>B});var t=n(8284),h=n(7997),w=n(5714),v=n(5229),R=n(8991),d=n(2943),a=n(9911),b=n(1087),_=n(7054),T=n(420),P=n(6444),E=n(5719),I=n(2816),u=n(7213),M=n(9697),C=n(3713),p=n(4447),g=n(5171),c=n(6081),y=n(9607),F=n(6061);const j=s=>({"app-form-field__input--error":s});let f=(()=>{class s{constructor(e,r,o){this.fb=e,this.ref=r,this.route=o,this.resetForm=this.fb.group({email:[null,[_.j,T.D,a.k0.required]]}),this.requestPasswordReset=new t.bkB,this.isFormValid=!1,this.destroy$=new b.B}ngOnInit(){this.isMobile&&this.resetForm.get("email").valueChanges.pipe((0,E.Q)(this.destroy$)).subscribe(e=>{this.isFormValid=e.length&&new RegExp(P.z).test(e),this.ref.detectChanges()}),this.routeParamSub$=this.route.queryParams.pipe((0,I.T)(e=>e.email)).subscribe(e=>{e&&this.resetForm.controls.email.setValue(e)})}isFieldInvalid(e){return!this.resetForm.controls[e].valid&&this.resetForm.controls[e].touched}onRequestsPasswordReset(){this.requestPasswordReset.emit(this.resetForm.value)}ngOnDestroy(){this.destroy$.next(),this.routeParamSub$.unsubscribe()}static{this.\u0275fac=function(r){return new(r||s)(t.rXU(a.ok),t.rXU(t.gRc),t.rXU(y.nX))}}static{this.\u0275cmp=t.VBU({type:s,selectors:[["app-reset-form"]],inputs:{loading:"loading",buttonText:"buttonText",isMobile:"isMobile"},outputs:{requestPasswordReset:"requestPasswordReset"},standalone:!0,features:[t.aNF],decls:29,vars:20,consts:[[3,"ngSubmit","formGroup"],["fieldname","email",3,"isFieldInvalid","labelTop","control"],["type","email","formControlName","email",1,"form-field","app-form-field__input",3,"ngClass"],["app-form-field__error",""],["app-form-field__label",""],[3,"value"],["buttonType","submit",3,"disabled","buttonText","showLoader"]],template:function(r,o){1&r&&(t.j41(0,"form",0),t.bIt("ngSubmit",function(){return o.onRequestsPasswordReset()}),t.EFF(1,"\n    "),t.j41(2,"div"),t.EFF(3,"\n        "),t.j41(4,"app-form-field",1),t.EFF(5,"\n            "),t.nrm(6,"input",2),t.EFF(7,"\n            "),t.qex(8,3),t.EFF(9),t.nI1(10,"appTranslation"),t.nI1(11,"async"),t.bVm(),t.EFF(12,"\n            "),t.qex(13,4),t.EFF(14,"\n                "),t.nrm(15,"app-direct-html",5),t.nI1(16,"appTranslation"),t.nI1(17,"async"),t.EFF(18,"\n            "),t.bVm(),t.EFF(19,"\n        "),t.k0s(),t.EFF(20,"\n    "),t.k0s(),t.EFF(21,"\n    "),t.j41(22,"div"),t.EFF(23,"\n        "),t.j41(24,"app-button",6),t.EFF(25," "),t.k0s(),t.EFF(26,"\n    "),t.k0s(),t.EFF(27,"\n"),t.k0s(),t.EFF(28,"\n")),2&r&&(t.Y8G("formGroup",o.resetForm),t.R7$(4),t.Y8G("isFieldInvalid",o.isFieldInvalid("email"))("labelTop",!0)("control",o.resetForm.controls.email),t.R7$(2),t.Y8G("ngClass",t.eq3(18,j,o.isFieldInvalid("email"))),t.R7$(3),t.JRh(t.bMT(11,12,t.bMT(10,10,"form_validation_error_email"))),t.R7$(6),t.Y8G("value",t.bMT(17,16,t.bMT(16,14,"dialogue_enter_email_address"))),t.R7$(9),t.Y8G("disabled",!o.resetForm.valid)("buttonText",o.buttonText)("showLoader",o.loading))},dependencies:[u.Z,d.YU,d.Jj,M.H,a.qT,a.me,a.BC,a.cb,a.j4,a.JD,a.X1,C.K,p.Q,g.n,F.c,c.y],changeDetection:0})}}return s})();function $(s,l){if(1&s){const e=t.RV6();t.j41(0,"app-button",8),t.nI1(1,"appTranslation"),t.nI1(2,"async"),t.bIt("clickButton",function(){t.eBV(e);const o=t.XpG(2);return t.Njj(o.onLogin())}),t.k0s()}2&s&&t.Y8G("showLoader",!1)("buttonText",t.bMT(2,4,t.bMT(1,2,"link_go_to_login")))}function x(s,l){if(1&s&&(t.EFF(0,"\n            "),t.nrm(1,"app-direct-html",6),t.nI1(2,"appTranslation"),t.nI1(3,"async"),t.EFF(4,"\n            "),t.DNE(5,$,3,6,"app-button",7),t.nI1(6,"async"),t.EFF(7,"\n        ")),2&s){const e=t.XpG();t.R7$(),t.Y8G("value",t.bMT(3,4,t.bMT(2,2,"dialogue_password_reset_request"))),t.R7$(4),t.Y8G("ngIf",!t.bMT(6,6,e.isAuth$))}}function S(s,l){if(1&s&&(t.j41(0,"p",14),t.EFF(1),t.k0s()),2&s){const e=l.ngIf;t.R7$(),t.SpI("\n                    ",e,"\n                ")}}function G(s,l){if(1&s){const e=t.RV6();t.EFF(0,"\n            "),t.j41(1,"div",9),t.EFF(2,"\n                "),t.j41(3,"app-reset-form",10),t.nI1(4,"async"),t.nI1(5,"appTranslation"),t.nI1(6,"async"),t.bIt("requestPasswordReset",function(o){t.eBV(e);const i=t.XpG();return t.Njj(i.requestPasswordReset(o))}),t.EFF(7,"\n                "),t.k0s(),t.EFF(8,"\n                "),t.DNE(9,S,2,1,"p",11),t.nI1(10,"async"),t.EFF(11,"\n            "),t.k0s(),t.EFF(12,"\n            "),t.j41(13,"p",12),t.EFF(14,"\n                "),t.j41(15,"a",13),t.bIt("click",function(){t.eBV(e);const o=t.XpG();return t.Njj(o.onLogin())}),t.EFF(16),t.nI1(17,"appTranslation"),t.nI1(18,"async"),t.k0s(),t.EFF(19,"\n            "),t.k0s(),t.EFF(20,"\n        ")}if(2&s){const e=t.XpG();t.R7$(3),t.Y8G("loading",t.bMT(4,4,e.loading$))("buttonText",t.bMT(6,8,t.bMT(5,6,"button_password_reset"))),t.R7$(6),t.Y8G("ngIf",t.bMT(10,10,e.error$)),t.R7$(7),t.JRh(t.bMT(18,14,t.bMT(17,12,"link_go_to_login")))}}function O(s,l){if(1&s){const e=t.RV6();t.j41(0,"div",15),t.EFF(1,"\n            "),t.j41(2,"a",13),t.bIt("click",function(){t.eBV(e);const o=t.XpG();return t.Njj(o.onRegister())}),t.EFF(3),t.nI1(4,"appTranslation"),t.nI1(5,"async"),t.k0s(),t.EFF(6,"\n        "),t.k0s()}2&s&&(t.R7$(3),t.SpI("\n                ",t.bMT(5,3,t.bMT(4,1,"link_not_yet_an_account")),"\n            "))}let k=(()=>{class s{constructor(e,r,o,i){this.passwordService=e,this.configService=r,this.loginModalService=o,this.routerWrapper=i,this.loading$=this.passwordService.getResetLoading(),this.resetPasswordStatus$=this.passwordService.getResetPasswordStatus(),this.error$=this.passwordService.getResetError(),this.isAuth$=this.configService.isAuthenticated(),this.isAllowRegistration=this.configService.getPlatformIsAllowAccountRegistration()}requestPasswordReset(e){this.passwordService.requestPasswordReset(e.email.trim())}onLogin(){this.loginModalService.open()}onRegister(){this.routerWrapper.openModal("register")}ngOnDestroy(){this.passwordService.clearPasswordState()}static{this.\u0275fac=function(r){return new(r||s)(t.rXU(h.r),t.rXU(w.w),t.rXU(v._),t.rXU(R.E))}}static{this.\u0275cmp=t.VBU({type:s,selectors:[["app-reset-password"]],decls:18,vars:10,consts:[["resetPasswordForm",""],[1,"component","component--isFirst"],[1,"component__container","reset-password"],[1,"component-title",3,"value"],[3,"ngIf","ngIfElse"],["class","reset-password__footer",4,"ngIf"],[1,"reset-password__success-message",3,"value"],[3,"showLoader","buttonText","clickButton",4,"ngIf"],[3,"clickButton","showLoader","buttonText"],[1,"reset-password__form"],[3,"requestPasswordReset","loading","buttonText"],["class","reset-password__error",4,"ngIf"],[1,"reset-password__login-link"],[3,"click"],[1,"reset-password__error"],[1,"reset-password__footer"]],template:function(r,o){if(1&r&&(t.j41(0,"section",1),t.EFF(1,"\n    "),t.j41(2,"div",2),t.EFF(3,"\n        "),t.nrm(4,"app-direct-html",3),t.nI1(5,"appTranslation"),t.nI1(6,"async"),t.EFF(7,"\n        "),t.DNE(8,x,8,8,"ng-template",4),t.nI1(9,"async"),t.EFF(10,"\n        "),t.DNE(11,G,21,16,"ng-template",null,0,t.C5r),t.EFF(13,"\n        "),t.DNE(14,O,7,5,"div",5),t.EFF(15,"\n    "),t.k0s(),t.EFF(16,"\n"),t.k0s(),t.EFF(17,"\n")),2&r){const i=t.sdS(12);t.R7$(4),t.Y8G("value",t.bMT(6,6,t.bMT(5,4,"dialogue_password_forgotten"))),t.R7$(4),t.Y8G("ngIf",t.bMT(9,8,o.resetPasswordStatus$))("ngIfElse",i),t.R7$(6),t.Y8G("ngIf",o.isAllowRegistration)}},dependencies:[d.bT,f,p.Q,c.y,d.Jj,F.c],styles:["@media screen and (min-width: 769px){.mobile-only[_ngcontent-%COMP%]{display:none}}@media screen and (max-width: 768px){.tablet-only[_ngcontent-%COMP%]{display:none}}@media screen and (min-width: 1024px){.tablet-only[_ngcontent-%COMP%]{display:none}}@media screen and (max-width: 1023px){.desktop-only[_ngcontent-%COMP%]{display:none}}.reset-password[_ngcontent-%COMP%]{text-align:center}.reset-password[_ngcontent-%COMP%]   app-form-field[_ngcontent-%COMP%]{margin-bottom:1.5rem}@media screen and (max-width: 768px){.reset-password[_ngcontent-%COMP%]{padding:1.5rem}}.reset-password__success-message[_ngcontent-%COMP%]{text-align:center;padding:1.25rem 0}.reset-password__form[_ngcontent-%COMP%]{width:100%;padding-top:2rem}.reset-password__error[_ngcontent-%COMP%]{padding-top:1rem;color:var(--error-color);font-size:1rem;font-weight:700}.reset-password[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{cursor:pointer;text-decoration:underline;color:var(--link-color)}.reset-password__login-link[_ngcontent-%COMP%]{padding:1.25rem 0 0;font-size:1rem;font-weight:300}.reset-password__login-link[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-weight:700;padding:0 0 0 .3125rem}.reset-password__footer[_ngcontent-%COMP%]{margin:2.25rem 0 0;padding:2rem 0 0;border-top:.0625rem solid rgba(151,151,151,.3)}"],changeDetection:0})}}return s})();var X=n(8407),V=n(3282);const Y=[{path:"",component:k}];let B=(()=>{class s{static{this.\u0275fac=function(r){return new(r||s)}}static{this.\u0275mod=t.$C({type:s})}static{this.\u0275inj=t.G2t({imports:[u.Z,f,p.Q,V.K.forChild(Y),g.n,c.y,X.g]})}}return s})()}}]);

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.