1"use strict";(self.webpackChunkgls_one=self.webpackChunkgls_one||[]).push([[9492],{9492:(G,c,n)=>{n.r(c),n.d(c,{LoginModule:()=>R});var g=n(866),a=n(7267),d=n(6208),e=n(5939),u=n(7312),h=n(4210),b=n(4769),v=n(1811),C=n(1787),y=n(8124),p=n(9076);const f=function(t){return{name:t}};function _(t,l){1&t&&(e.nrm(0,"label",24),e.nI1(1,"translate")),2&t&&e.Y8G("translate","validation.required.named")("translateParams",e.eq3(4,f,e.bMT(1,2,"login.email")))}function w(t,l){1&t&&e.nrm(0,"label",25),2&t&&e.Y8G("translate","validation.pattern.email")}const x=function(t){return{name:t,limit:6}};function F(t,l){1&t&&(e.nrm(0,"label",26),e.nI1(1,"translate")),2&t&&e.Y8G("translate","validation.minlength.named")("translateParams",e.eq3(4,x,e.bMT(1,2,"login.email")))}const k=function(t){return{name:t,limit:254}};function E(t,l){1&t&&(e.nrm(0,"label",27),e.nI1(1,"translate")),2&t&&e.Y8G("translate","validation.maxlength.named")("translateParams",e.eq3(4,k,e.bMT(1,2,"login.email")))}function I(t,l){if(1&t&&(e.qex(0,19),e.DNE(1,_,2,6,"label",20),e.DNE(2,w,1,1,"label",21),e.DNE(3,F,2,6,"label",22),e.DNE(4,E,2,6,"label",23),e.bVm()),2&t){const r=e.XpG();e.R7$(1),e.Y8G("ngIf",r.f.email.hasError("required")),e.R7$(1),e.Y8G("ngIf",r.f.email.hasError("pattern")),e.R7$(1),e.Y8G("ngIf",!r.f.email.hasError("pattern")&&r.f.email.hasError("minLength")),e.R7$(1),e.Y8G("ngIf",!r.f.email.hasError("pattern")&&r.f.email.hasError("maxlength"))}}function T(t,l){1&t&&(e.nrm(0,"label",29),e.nI1(1,"translate")),2&t&&e.Y8G("translate","validation.required.named")("translateParams",e.eq3(4,f,e.bMT(1,2,"login.password")))}function L(t,l){if(1&t&&(e.qex(0,19),e.DNE(1,T,2,6,"label",28),e.bVm()),2&t){const r=e.XpG();e.R7$(1),e.Y8G("ngIf",r.f.password.hasError("required"))}}const S=[{path:"",component:(()=>{class t{constructor(r,i,o,m,s){this._languageStateService=r,this._authenticationService=i,this._userService=o,this.formBuilder=m,this.router=s,this.submitted=!1,this.lang=this._languageStateService.language.code.toLowerCase(),this.redirectTo="/"}ngOnInit(){this._userService.getCurrentCustomer()&&this.router.navigate([this._languageStateService.language.code.toLowerCase()+"/profile"]),this.redirectTo&&!this.redirectTo.startsWith("http")&&(this.redirectTo=this._languageStateService.language.code.toLowerCase()+this.redirectTo),this.loginForm=this.formBuilder.group({email:["",[a.k0.required,a.k0.pattern(d.QL.email),a.k0.minLength(6),a.k0.maxLength(254)]],password:["",[a.k0.required,a.k0.minLength(4)]]},{updateOn:"blur"})}get f(){return this.loginForm.controls}onSubmit(){this.submitted=!0,this.loginForm.invalid?(0,d.hD)(this.loginForm):(this.credentials={username:this.loginForm.value.email,password:this.loginForm.value.password},this._authenticationService.login(this.credentials,this._languageStateService.language.code.toLowerCase()+"/"))}resendPassword(){this.submitted=!1,this.router.navigate([this._languageStateService.language.code.toLowerCase(),"resendPassword"])}goToRegistration(){this.submitted=!1,this.router.navigate([this._languageStateService.language.code.toLowerCase(),"registration"])}static#e=this.\u0275fac=function(i){return new(i||t)(e.rXU(u.t),e.rXU(h.k),e.rXU(b.D),e.rXU(a.ze),e.rXU(g.Ix))};static#t=this.\u0275cmp=e.VBU({type:t,selectors:[["app-login"]],decls:32,vars:21,consts:[["id","login-section",1,"login-page"],[1,"container"],[1,"p-col-12"],[1,"p-col-12","p-md-10","p-md-offset-1","p-lg-10"],["id","login-h1"],[1,"p-col-12","login-section","p-mb-5"],[1,"p-col-12","p-m-auto","p-sm-8","p-md-6","p-lg-5","p-pb-5","p-fluid",3,"formGroup","ngSubmit"],[1,"p-field","p-col-12"],["for","field-email",1,"p-mt-2"],["id","field-email","pInputText","","type","email","formControlName","email","autofill",""],["class","invalid-feedback",4,"ngIf"],["for","field-password",1,"p-mt-2"],["id","field-password","pInputText","","type","password","formControlName","password","autofill","","autocomplete","",1,"form-control"],[1,"p-d-flex","p-col-12","p-mb-6","p-mt-5"],["id","login-btn","type","submit","pButton","",1,"p-button-primary",3,"label"],["submitBtn",""],[1,"p-col-12","content-links","p-mt-6"],["
1id","register",1,"links",3,"click"],["id","resend-password",1,"links",3,"click"],[1,"invalid-feedback"],["id","login-email-error-empty","class","error-message",3,"translate","translateParams",4,"ngIf"],["id","login-email-error-valid","class","error-message",3,"translate",4,"ngIf"],["id","login-email-error-minLength","class","error-message",3,"translate","translateParams",4,"ngIf"],["id","login-email-error-maxlength","class","error-message",3,"translate","translateParams",4,"ngIf"],["id","login-email-error-empty",1,"error-message",3,"translate","translateParams"],["id","login-email-error-valid",1,"error-message",3,"translate"],["id","login-email-error-minLength",1,"error-message",3,"translate","translateParams"],["id","login-email-error-maxlength",1,"error-message",3,"translate","translateParams"],["id","login-password-error-empty","class","error-message",3,"translate","translateParams",4,"ngIf"],["id","login-password-error-empty",1,"error-message",3,"translate","translateParams"]],template:function(i,o){if(1&i){const m=e.RV6();e.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h1",4),e.EFF(5),e.nI1(6,"translate"),e.k0s()()(),e.j41(7,"section",5)(8,"form",6),e.bIt("ngSubmit",function(){return e.eBV(m),e.sdS(23).focus(),e.Njj(o.onSubmit())}),e.j41(9,"div",7)(10,"label",8),e.EFF(11),e.nI1(12,"translate"),e.k0s(),e.nrm(13,"input",9),e.DNE(14,I,5,4,"ng-container",10),e.k0s(),e.j41(15,"div",7)(16,"label",11),e.EFF(17),e.nI1(18,"translate"),e.k0s(),e.nrm(19,"input",12),e.DNE(20,L,2,1,"ng-container",10),e.k0s(),e.j41(21,"div",13),e.nrm(22,"button",14,15),e.nI1(24,"translate"),e.k0s(),e.j41(25,"div",16)(26,"a",17),e.bIt("click",function(){return o.goToRegistration()}),e.EFF(27),e.nI1(28,"translate"),e.k0s(),e.j41(29,"a",18),e.bIt("click",function(){return o.resendPassword()}),e.EFF(30),e.nI1(31,"translate"),e.k0s()()()()()()}2&i&&(e.R7$(5),e.JRh(e.bMT(6,9,"login.header")),e.R7$(3),e.Y8G("formGroup",o.loginForm),e.R7$(3),e.JRh(e.bMT(12,11,"login.email")),e.R7$(3),e.Y8G("ngIf",(o.f.email.dirty||o.submitted)&&o.f.email.errors),e.R7$(3),e.JRh(e.bMT(18,13,"login.password")),e.R7$(3),e.Y8G("ngIf",(o.f.password.dirty||o.submitted)&&o.f.password.errors),e.R7$(2),e.FS9("label",e.bMT(24,15,"general.login")),e.R7$(5),e.JRh(e.bMT(28,17,"login.register")),e.R7$(3),e.JRh(e.bMT(31,19,"login.forgotten")))},dependencies:[v.bT,a.qT,a.me,a.BC,a.cb,a.j4,a.JD,C._f,y.S,p.Mm,p.D9],styles:["[_ngcontent-%COMP%]:root{--color-primary: #ffd100;--color-primary-hover: #d6af00;--color-primary-inactive: #8b8c8c;--color-primary-blue: #172154;--color-primary-blue-inactive: #747A98;--color-secondary-inactive: #8b8c8d;--color-error: #DA202A;--color-dark-white: #E4ECFF;--color-grey: #8B8C8C;--color-light-grey: #F3F3F3;--color-dark-white-2: #f9f9f9;--color-light-grey-2: #B9BCCB;--color-light-grey-3: #F3F3F3;--color-light-grey-5: #E7E8EE;--color-light-grey-6: #C4C4C4;--color-light-grey-7: #999999;--color-light-grey-8: #dfdfdf;--color-light-grey-9: #AEAEAE;--color-light-grey-10: #6f6f6f;--color-dark-grey: #3f3f3f;--color-box-shadown-inputs: #00000029;--color-light-blue: #5C6387;--color-light-blue-2: #454d76;--color-light-blue-3: #5E9CBD;--color-green: #115D4A;--color-green-puke: #ABCB58;--color-orange: #EE7300;--color-placeholder: #919191;--color-badge-background: #f5efdf;--color-BBV-teaser-background: #f9fafd;--primary-blue: #061AB1;--primary-yellow: #FFD100;--soft-blue: #C8E7F2;--soft-pink: #F3C8D4;--soft-green: #C0E2AD;--electric-blue: #1601FF;--sky-blue: #00c2f0;--bright-orange: #ff860d;--color-white: #ffffff;--color-black: #000;--white-glow: rgba(255,255,255,.75);--black-glow: rgba(0,0,0,.75);--font-small: .75rem;--font-default: .875rem;--font-base: 1rem;--font-medium: 1.125rem;--font-larger: 1.4rem;--font-h3: 1.25rem;--font-h2: 1.5rem;--font-h1: 2.125rem;--max-width: 1024px;--min-width: 320px;--topbar-mobile-height: 64px;--topbar-height: 114.84px;--footer-height: 358px;--default-distance: 14px}.login-page[_ngcontent-%COMP%]{margin:auto;max-width:var(--max-width);min-width:var(--min-width)}.container[_ngcontent-%COMP%]{padding:0}@media screen and (min-width: 768px){.container[_ngcontent-%COMP%]{padding:0 15px}}.login-section[_ngcontent-%COMP%]{background:var(--color-light-grey-3);margin-bottom:20px;padding-top:16px;padding-bottom:32px;border-radius:24px}@media screen and (max-width: 767px){.login-section[_ngcontent-%COMP%]{padding-top:0;border-radius:0;padding-bottom:0;margin-bottom:0}}.content-links[_ngcontent-%COMP%]{display:flex;justify-content:space-between}@media screen and (max-width: 767px){.content-links[_ngcontent-%COMP%]{display:block}}@media screen and (max-width: 767px){.content-links[_ngcontent-%COMP%] .links[_ngcontent-%COMP%]{display:block;line-height:2rem}}"]})}return t})()}];let P=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=e.$C({type:t});static#n=this.\u0275inj=e.G2t({imports:[g.iI.forChild(S),g.iI]})}return t})();var M=n(6187);let R=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=e.$C({type:t});static#n=this.\u0275inj=e.G2t({imports:[M.G,P]})}return t})()}}]);
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.