1"use strict";(self.webpackChunknfj=self.webpackChunknfj||[]).push([[8548],{99543(U,I,r){r.d(I,{E:()=>p});var x=r(73864),h=r(47266);const _="APPLY_INTERNAL";let p=(()=>{var b;class A{constructor(u){this.ls=u}getFields(){const u=this.ls?.getItem(_);return u?JSON.parse(u):{}}getField(u){return this.getFields()[u]}updateFields(u){this.ls.setItem(_,JSON.stringify({...this.getFields(),...u}))}saveFieldsToSessionStorage(u){sessionStorage.setItem(_,JSON.stringify({...this.getFieldsFromSessionStorage(),...u}))}getFieldsFromSessionStorage(){const u=sessionStorage.getItem(_);return u?JSON.parse(u):{}}static#t=b=()=>(this.\u0275fac=function(C){return new(C||A)(h.KVO(x.Wd))},this.\u0275prov=h.jDH({token:A,factory:A.\u0275fac,providedIn:"root"}))}return b(),A})()},55565(U,I,r){r.d(I,{b:()=>x});var x=function(h){return h.Password="password",h.Text="text",h.Email="email",h}(x||{})},78634(U,I,r){r.d(I,{z:()=>_});var x=r(71985),h=r(47266);let _=(()=>{var p;class b{constructor(){this.scriptsLoaded={},this.nodes={},this.observers={}}onLoad(g){return this.loadScript(g)}loadScript(g){return new x.c(u=>{this.scriptsLoaded[g]?(u.next(!0),u.complete()):this.nodes[g]?this.observers[g].push(u):(this.observers[g]||(this.observers[g]=[]),this.observers[g].push(u),this.nodes[g]=document.createElement("script"),this.nodes[g].async=!0,this.nodes[g].src=g,this.nodes[g].type="text/javascript",this.nodes[g].onload=()=>{for(this.scriptsLoaded[g]=!0;this.observers[g].length;){const C=this.observers[g].shift();C&&(C.next(!0),C.complete())}},document.getElementsByTagName("head")[0].appendChild(this.nodes[g]))})}static#t=p=()=>(this.\u0275fac=function(u){return new(u||b)},this.\u0275prov=h.jDH({token:b,factory:b.\u0275fac,providedIn:"root"}))}return p(),b})()},525(U,I,r){r.d(I,{AuthHandlerComponent:()=>He});var x=r(15215),h=r(49769),_=r(49894),p=r(68018),b=r(84412),A=r(21413),g=r(7673),u=r(23294),C=r(5964),V=r(96697),et=r(96354),B=r(73703),dt=r(44668),Y=r(88141),q=r(25558),nt=r(99172),ot=r(5639),m=r(66008),F=r(75351),E=r(9300),L=r(17723),R=r(42822),M=r(28776),t=r(35547);
1const ft=[[["",8,"circle-icon"]],"*"],_t=[".circle-icon","*"];let j=(()=>{var e;class i{constructor(){this.showNfjLogo=!0,(0,E.r)([L.mdIconsClose])}static#t=e=()=>(this.\u0275fac=function(o){return new(o||i)},this.\u0275cmp=t.VBU({type:i,selectors:[["nfj-auth-shell"]],inputs:{title:"title",showNfjLogo:"showNfjLogo"},ngContentSelectors:_t,decls:7,vars:1,consts:[["matDialogClose","",1,"tw-inline-block","close-icon"],["matIcon","close",2,"--width","30px","--height","30px"],[1,"title"]],template:function(o,a){1&o&&(t.NAR(ft),t.j41(0,"span",0),t.nrm(1,"inline-icon",1),t.k0s(),t.j41(2,"div"),t.SdG(3),t.k0s(),t.j41(4,"h1",2),t.EFF(5),t.k0s(),t.SdG(6,1)),2&o&&(t.R7$(5),t.JRh(a.title))},dependencies:[F.MatDialogClose,R.W,M.w],styles:[".modal-auth{background:#fff;margin-top:80px;text-align:center;padding-left:20px;padding-right:20px;padding-bottom:20px;pointer-events:auto} .modal-auth .modal-content{border:none}.logo[_ngcontent-%COMP%]{position:relative;top:-40px;width:80px;height:80px;margin:0 auto;background:#0e1926;display:flex;align-items:center;justify-content:center}.title[_ngcontent-%COMP%]{margin-bottom:30px;font-weight:700;color:#191919;word-break:break-word}@media(max-width:992px){.title[_ngcontent-%COMP%]{font-size:20px;line-height:28px;margin-top:20px}}@media(min-width:992px){.title[_ngcontent-%COMP%]{padding-top:20px;font-size:28px;line-height:40px}}.close-icon[_ngcontent-%COMP%]{position:absolute;top:15px;right:15px;cursor:pointer;-webkit-appearance:none;appearance:none;opacity:.5;transition:all .3s}.close-icon[_ngcontent-%COMP%]:hover{opacity:1}[_nghost-%COMP%] .circle-icon{position:relative;top:20px;width:70px;height:70px;margin:0 auto;border:solid 1px;border-radius:50%;display:flex;justify-content:center;align-items:center}[_nghost-%COMP%] .circle-icon i{font-size:30px}[_nghost-%COMP%] .text{font-size:14px;color:#888;font-weight:400}[_nghost-%COMP%] common-field-errors{display:block;text-align:left;width:100%}[_nghost-%COMP%] common-field-errors .alert{display:block;background:none;width:100%;padding:0;margin:0}[_nghost-%COMP%] .star{color:#f45958}[_nghost-%COMP%] .alert-danger{color:#f45958}[_nghost-%COMP%] .alert-success{color:#19a59a}[_nghost-%COMP%] label, [_nghost-%COMP%] common-text-field label{text-align:left;font-size:14px;display:block;margin-bottom:0!important;color:#888}[_nghost-%COMP%] common-text-field .tw-form-group{margin-bottom:12px}[_nghost-%COMP%] nfj-social-login-box{margin-top:40px}[_nghost-%COMP%] section{margin:30px 0}[_nghost-%COMP%] section:last-child{margin-bottom:0}"]}))}return e(),i})();var wt=r(45984),l=r(89417),O=r(93049),it=r(94768),Ct=r(35335),H=r(53993),k=r(55565),N=r(16976),$=r(13443),G=r(35507),d=r(47266),st=r(97324),at=r(58588),bt=r(53266),xt=r(71153);const vt={name:"twitter_transparent",data:'<svg viewBox="0 0 15 12" xmlns="http://www.w3.org/2000/svg"><path d="M15 1.42a6.219 6.219 0 0 1-1.767.477A3.052 3.052 0 0 0 14.586.222c-.596.347-1.254.599-1.956.735A3.09 3.09 0 0 0 10.385 0c-1.7 0-3.078 1.357-3.078 3.03 0 .237.028.469.08.69A8.781 8.781 0 0 1 1.045.554 2.973 2.973 0 0 0 .63 2.077c0 1.052.544 1.98 1.368 2.522a3.113 3.113 0 0 1-1.393-.38v.038c0 1.467 1.06 2.692 2.468 2.971-.258.069-.53.106-.811.106-.199 0-.391-.019-.58-.056a3.073 3.073 0 0 0 2.874 2.105 6.234 6.234 0 0 1-3.821 1.295c-.248 0-.493-.015-.734-.041A8.795 8.795 0 0 0 4.717 12c5.66 0 8.754-4.618 8.754-8.622l-.01-.393A6.095 6.095 0 0 0 15 1.42Z"/></svg>'};var yt=r(55923),At=r(57890),rt=r(816),St=r(89708),lt=r(63730),ct=r(26761),Tt=r(41870),kt=r(35686);const Rt=(e,i)=>({"tw-col-span-12":e,"tw-col-span-6":i});function It(e,i){if(1&e){const s=t.RV6();t.j41(0,"div",2)(1,"button",3),t.bIt("click",function(){const o=d.eBV(s).$implicit,a=t.XpG();return d.Njj(a.popup(o.type))}),t.nrm(2,"inline-icon",4),t.EFF(3),t.nI1(4,"translate"),t.k0s()()}if(2&e){const s=i.$implicit,n=i.index,o=t.XpG();t.Y8G("ngClass",t.l_i(11,Rt,0===n&&o.firstSpansFullRow,0!==n||!o.firstSpansFullRow)),t.R7$(),t.HbH(t.VkB("tw-w-full tw-text-white tw-btn tw-btn-lg ",s.type)),t.Y8G("disabled",o.disabledLinks)("type",o.btnType)("angularticsLabel",s.type),t.R7$(),t.Y8G("commonIcon",s.icon),t.R7$(),t.SpI(" ",t.bMT(4,9,
1s.text)," ")}}let W=(()=>{var e;class i{get firstSpansFullRow(){return this.socialLogins.length%2==1}constructor(n,o,a,c,w){this.parentForm=n,this.googleLoginService=o,this.linkedinOidcLoginService=a,this.facebookLoginService=c,this.appleLoginService=w,this.appleConfig=(0,d.WQX)(St.IK,{optional:!0}),this.btnType="button",this.handleAuthClick=new d.bkB,this.disabledLinks=!1,this.isRegisterMode=!1,this.socialLogins=[{type:"google",icon:"google_transparent",text:"social-login.action with Google"},...this.appleConfig?.clientId?[{type:"apple",icon:"apple",text:"social-login.action with Apple"}]:[],{type:"facebook",icon:"facebook_transparent",text:"social-login.action with Facebook"},{type:"linkedin_oidc",icon:"linkedin_transparent",text:"social-login.action with Linkedin"}],(0,at.N)([bt.f,xt.k,vt,yt.Q,At.K])}redirectUrl(){return encodeURIComponent(window.location.origin+(this.redirectTo?this.redirectTo:"/profile")+"#closeWindow")}popup(n){if("submit"!==this.btnType||this.parentForm.form.valid){if(this.handleAuthClick.emit(),"google"===n)return void this.googleLoginService.signIn(ot.qi);if("linkedin_oidc"===n)return void this.linkedinOidcLoginService.signIn();if("facebook"===n)return void this.facebookLoginService.signIn();if("apple"===n)return void this.appleLoginService.signIn()}}static#t=e=()=>(this.\u0275fac=function(o){return new(o||i)(t.rXU(l.j4,8),t.rXU(ct.Y),t.rXU(lt.O),t.rXU(Tt.X),t.rXU(kt.$))},this.\u0275cmp=t.VBU({type:i,selectors:[["nfj-social-login-box"]],inputs:{redirectTo:"redirectTo",btnType:"btnType",disabledLinks:"disabledLinks",isRegisterMode:"isRegisterMode"},outputs:{handleAuthClick:"handleAuthClick"},features:[t.Jv_([lt.O])],decls:2,vars:1,consts:[[1,"tw-grid","tw-grid-cols-12","tw-gap-x-5","tw-gap-y-4"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],["angulartics2On","click","angularticsAction","signin","angularticsCategory","profile",3,"click","disabled","type","angularticsLabel"],[1,"tw-mr-2",2,"--width","16px","--height","16px",3,"commonIcon"]],template:function(o,a){1&o&&(t.j41(0,"div",0),t.DNE(1,It,5,14,"div",1),t.k0s()),2&o&&(t.R
17$(),t.Y8G("ngForOf",a.socialLogins))},dependencies:[h.Sq,h.YU,st.v_,st.l$,R.W,rt.I,p.h,p.D9],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] .col-lg-6[_ngcontent-%COMP%]:nth-of-type(odd){padding-left:10px}[_nghost-%COMP%] .col-lg-6[_ngcontent-%COMP%]:nth-of-type(2n+2){padding-right:10px}[_nghost-%COMP%] button[_ngcontent-%COMP%]{transition:all .3s}[_nghost-%COMP%] button.facebook[_ngcontent-%COMP%]{border:2px solid #2979e5;background-color:#2979e5}[_nghost-%COMP%] button.facebook[_ngcontent-%COMP%]:hover{border:2px solid rgb(23.725,96.725,195.275);background-color:#1861c3}[_nghost-%COMP%] button.linkedin_oidc[_ngcontent-%COMP%]{border:2px solid #007bb6;background-color:#007bb6}[_nghost-%COMP%] button.linkedin_oidc[_ngcontent-%COMP%]:hover{border:2px solid rgb(0,88.532967033,131);background-color:#005983}[_nghost-%COMP%] button.apple[_ngcontent-%COMP%]{border:2px solid #000;background-color:#000}[_nghost-%COMP%] button.apple[_ngcontent-%COMP%]:hover{border:2px solid #333;background-color:#333}[_nghost-%COMP%] button.google[_ngcontent-%COMP%]{border:2px solid #d8544f;background-color:#d8544f}[_nghost-%COMP%] button.google[_ngcontent-%COMP%]:hover{border:2px solid rgb(199.7395348837,49.9348837209,44.2604651163);background-color:#c8322c}"]}))}return e(),i})();var Q=r(4861),P=r(39750),v=r(59882),X=r(99543),mt=r(97163),pt=r(7895);const gt=()=>[],ht=e=>({auth:e});function Pt(e,i){if(1&e){const s=t.RV6();t.j41(0,"nfj-auth-shell",6)(1,"div",7),t.nrm(2,"inline-icon",8),t.k0s(),t.nrm(3,"p",9),t.nI1(4,"translate"),t.j41(5,"button",10),t.bIt("click",function(){d.eBV(s);const o=t.XpG(2);return d.Njj(o.close())}),t.EFF(6," auth.common.close "),t.k0s()()}if(2&e){const s=t.XpG().ngIf,n=t.XpG();t.Y8G("showNfjLogo",!1)("title",n.form.get("login").value),t.R7$(3),t.Y8G("innerHTML",t.bMT(4,3,"auth.errors."+s),t.npT)}}function Mt(e,i){if(1&e&&(t.qex(0)(1,4),t.DNE(2,Pt,7,5,"nfj-auth-shell",5),t.bVm()()),2&e){const s=i.ngIf;t.R7$(),t.Y8G("ngSwitch",s)}}function jt(e,i){1&e&&(t.j41(0,"p",12),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&e&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"auth.APPLICATION_STATUS_TEXT")," "))}function Ot(e,i){if(1&e&&(t.qex(0),t.j41(1,"div",23)(2,"span",24),t.EFF(3,"auth.common.or"),t.k0s()(),t.nrm(4,"nfj-social-login-box",25),t.bVm()),2&e){const s=t.XpG(2);t.R7$(4),t.Y8G("redirectTo",s.redirectTo)}}function Gt(e,i){1&e&&t.eu8(0)}function Ft(e,i){1&e&&t.eu8(0)}function Et(e,i){if(1&e){const s=t.RV6();t.j41(0,"nfj-auth-shell",11),t.nI1(1,"translate"),t.j41(2,"section"),t.nVh(3,jt,3,3,"p",12),t.j41(4,"form",13,2),t.bIt("ngSubmit",function(){d.eBV(s);const o=t.XpG();return d.Njj(o.login())}),t.j41(6,"common-text-field",14),t.bIt("blurred",function(){d.eBV(s);const o=t.XpG();return d.Njj(o.handleLoginBlur())}),t.k0s(),t.qAN(),t.nrm(7,"common-text-field",15),t.qAN(),t.j41(8,"div",16)(9,"a",17),t.EFF(10," auth.common.reset password "),t.k0s()(),t.j41(11,"button",18),t.EFF(12),t.nI1(13,"translate"),t.k0s()()(),t.DNE(14,Ot,5,1,"ng-container",19),t.j41(15,"p",20),t.DNE(16,Gt,1,0,"ng-container",21),t.k0s()(),t.j41(17,"p",22),t.DNE(18,Ft,1,0,"ng-container",21),t.k0s()}if(2&e){const s=t.sdS(5),n=t.XpG(),o=t.sdS(5);t.Y8G("title",t.bMT(1,15,n.fromAutoSignup?"auth.common.HAS_ACCOUNT_LOGIN_TEXT":"auth.common.login")),t.R7$(3),t.vxM(n.fromCheckAppStatus?3:-1),t.R7$(),t.Y8G("formGroup",n.form),t.R7$(2),t.Y8G("config",n.emailConfig),t.QXe(),t.R7$(),t.Y8G("config",n.passwordConfig),t.QXe(),t.R7$(2),t.Y8G("routerLink",t.lJ4(19,gt))("queryParams",t.eq3(20,ht,n.AuthAction.Reset)),t.R7$(2),t.AVh("tw-btn-primary",s.dirty)("tw-btn-primary-outline",!s.dirty),t.R7$(),t.SpI(" ",t.bMT(13,17,"auth.common.login")," "),t.R7$(2),t.Y8G("ngIf",n.showSocials),t.R7$(2),t.Y8G("ngTemplateOutlet",o),t.R7$(2),t.Y8G("ngTemplateOutlet",o)}}function Lt(e,i){if(1&e&&(t.j41(0,"span",24),t.EFF(1,"auth.common.sign_up_text"),t.k0s(),t.j41(2,"a",26),t.EFF(3," auth.common.sign up "),t.k0s()),2&e){const s=t.XpG();t.R7$(2),t.Y8G("routerLink",t.lJ4(3,gt))("queryParams",t.eq3(4,ht,s.AuthAction.SignUp))("queryParamsHandling","merge")}}var D=function(e){return e.PASSWORD_NOT_SET="PASSWORD_NOT_SET",e.ACCOUNT_NOT_CONFIRMED="A
1CCOUNT_NOT_CONFIRMED",e.ACCOUNT_BLOCKED="ACCOUNT_BLOCKED",e.default="default",e}(D||{});let Nt=(()=>{var e;let i=(class z{get currentLocationPath(){if(!window?.location.pathname)return"";const n=new URLSearchParams(window.location.search.slice(1));n.delete("auth");const o=n.toString()?`?${n.toString()}`:"";return"/"+window?.location.pathname.replace(this.baseHref,"")+o}get loginControl(){return this.form.get("login")}constructor(n,o,a,c,w,S,f,y,T){this.messagesService=n,this.authenticationService=o,this.router=a,this.fb=c,this.internalFields=w,this.route=S,this.measurement=f,this.authLoader=y,this.baseHref=T,this.showSocials=!0,this.info=new A.B,this.LoginErrorType=D,this.emailConfig={cy:"log-in-email",label:"auth.login.email",inputType:k.b.Email,required:!0,hideValidIndicator:!0},this.passwordConfig={cy:"log-in-password",label:"auth.login.password",inputType:k.b.Password,required:!0,hideValidIndicator:!0},this.activationState=new it.Yz,this.fromCheckAppStatus=!!this.route.snapshot.queryParams.checkAppStatus,this.cannotLoginError$=new b.t(null),this.AuthAction=m.Y,this.fromAutoSignup=!1,(0,E.r)([L.mdIconsPerson])}ngOnInit(){this.fromAutoSignup=!!this.route.snapshot.queryParams.fromAutoSignup,this.form=this.fb.group({login:["",[l.k0.required,G.B.emailValidator]],passwordDigest:["",l.k0.required]}),this.updateFields(),this.redirectTo=this.redirectLink||this.currentLocationPath,this.authenticationService.isLoggedIn$.pipe((0,C.p)(Bo
1olean),(0,Ct.c)(0),(0,Y.M)(()=>this.checkTermsModal()),(0,C.p)(()=>this.allowRedirectFlag),(0,Y.M)(()=>{this.router.navigateByUrl(this.redirectTo)}),(0,_.s)(this)).subscribe()}login(){this.form.invalid||(this.info.next(null),this.activationState.set({error:!1,success:!1,pending:!1}),this.authenticationService.loginByEmail(this.form.value).pipe((0,H.E)(this.authLoader.viewName$)).subscribe(([n,o])=>{this.messagesService.addMessage({type:"success",message:"navbar.LOGGED_IN",class:"check",icon:"tick",iconSizePx:50,showClose:!0}),this.measurement.account.loggedIn({logging_place:o,logging_method:"email"})},n=>{const o=D[n.error?.type]||D.default;switch(n.status){case 401:if("Failed to login"===n.error){this.info.next({message:"auth.errors.ACCOUNT_NOT_FOUND_OR_PASSWORD_NOT_SET",type:"error"});break}if(n.error.type===D.PASSWORD_NOT_SET){this.info.next({message:"auth.errors.ACCOUNT_NOT_FOUND_OR_PASSWORD_NOT_SET",type:"error"});break}this.cannotLoginError$.next(o);break;default:this.info.next({message:"auth.errors.default",type:"error"})}}))}close(n){this.dialogRef.close(n)}checkTermsModal(){if(this.authenticationService.getCandidate()?.newestPolicyAccepted)this.close(this.allowRedirectFlag&&this.redirectLink?"redirect":void 0);else{const n=this.authenticationService.getCandidate()?.policyAccepted||!!this.route.snapshot.queryParams.apply,o=!!this.route.snapshot.queryParams.applied;setTimeout(()=>this.router.navigate([],{queryParams:{auth:m.Y.SocialRegister,apply:n,applied:o,afterLogin:!0}}))}}updateFields(){const n=this.internalFields.getFields();n?.email&&this.loginControl.patchValue(n.email)}handleLoginBlur(){this.loginControl.valid&&this.internalFields.updateFields({email:this.loginControl.value})}static#t=e=()=>(this.\u0275fac=function(o){return new(o||z)(t.rXU(Q.G),t.rXU(P.k),t.rXU(v.Ix),t.rXU(l.ze),t.rXU(X.E),t.rXU(v.nX),t.rXU(mt.G),t.rXU(pt.x),t.rXU(wt.kB))},this.\u0275cmp=t.VBU({type:z,selectors:[["nfj-auth-login"]],inputs:{showSocials:"showSocials",redirectLink:"redirectLink",allowRedirectFlag:"allowRedirectFlag",dialogRef:"dialogRef"},outputs:{info:"info"},decls:6,vars:4,consts:[["showTemplate",""],["noAccount",""],["ngForm","ngForm"],[4,"ngIf","ngIfElse"],[3,"ngSwitch"],["class","error",3,"showNfjLogo","title",4,"ngSwitchDefault"],[1,"error",3,"showNfjLogo","title"],[1,"circle-icon"],["matIcon","person"],[1,"message","tw-text-center",3,"innerHTML"],["translate","",1,"tw-btn","tw-btn-primary","tw-btn-sm","tw-px-12","tw-my-4",3,"click"],[1,"tw-block","tw-grow","desktop:tw-grow-0",3,"title"],[1,"tw-text-sm","tw-mb-4"],[3,"ngSubmit","formGroup"],["formControlName","login",1,"floating-label",3,"blurred","config"],["formControlName","passwordDigest",1,"floating-label",3,"config"],[1,"tw-flex","tw-justify-end","my-20"],["id","log-in-reset-password","translate","",3,"routerLink","queryParams"],["id","log-in-submit","type","submit",1,"tw-btn","tw-block","tw-w-full","mt-20","tw-mb-6","tw-btn-lg","tw-font-medium"],[4,"ngIf"],[1,"tw-hidden","desktop:tw-block","tw-text-center","tw-py-4","tw-mb-0"],[4,"ngTemplateOutlet"],[1,"desktop:tw-hidden","tw-text-center","py-10","tw-mb-0"],[1,"divider"],["translate",""],[1,"pb-20",3,"redirectTo"],["id","log-in-sign-up","translate","",1,"tw-text-tastyBlue",3,"routerLink","queryParams","queryParamsHandling"]],template:function(o,a){if(1&o&&(t.DNE(0,Mt,3,1,"ng-container",3),t.nI1(1,"async"),t.DNE(2,Et,19,22,"ng-template",null,0,t.C5r)(4,Lt,4,6,"ng-template",null,1,t.C5r)),2&o){const c=t.sdS(3);t.Y8G("ngIf",t.bMT(1,2,a.cannotLoginError$))("ngIfElse",c)}},dependencies:[h.bT,h.ux,h.fG,j,R.W,M.w,p.h,p.Mm,l.X1,l.qT,l.BC,l.cb,l.j4,l.JD,N.f,O.Wk,$.C,W,h.T3,p.D9,h.Jj],styles:["[_nghost-%COMP%]{display:block}.message[_ngcontent-%COMP%]{font-size:16px;color:#191919}.password-not-set[_ngcontent-%COMP%] .circle-icon[_ngcontent-%COMP%]{color:#19a59a}.error[_ngcontent-%COMP%] .circle-icon[_ngcontent-%COMP%]{color:#f45958}"]}),this)},e());return i=(0,x.Cg)([(0,_.d)()],i),i})();var $t=r(53498),ut=r(70953);const Dt=["*"];function Yt(e,i){1&e&&t.nrm(0,"inline-icon",7)}function Xt(e,i){1&e&&t.nrm(0,"inline-icon",8)}
1function Ut(e,i){1&e&&(t.qex(0),t.DNE(1,Yt,1,0,"inline-icon",5)(2,Xt,1,0,"inline-icon",6),t.bVm()),2&e&&(t.R7$(),t.Y8G("nfjRenderWhenBreakpoint","desktop"),t.R7$(),t.Y8G("nfjRenderWhenBreakpoint","mobile"))}function Vt(e,i){1&e&&t.nrm(0,"inline-icon",9)}let Bt=(()=>{var e;class i{constructor(){(0,at.N)([$t.H])}static#t=e=()=>(this.\u0275fac=function(o){return new(o||i)},this.\u0275cmp=t.VBU({type:i,selectors:[["nfj-auth-greeting-main"]],inputs:{header:"header",subtext:"subtext",konfetti:"konfetti"},ngContentSelectors:Dt,decls:9,vars:8,consts:[[1,"tw-p-5","tw-flex","tw-flex-col","tw-items-center"],[4,"ngIf"],["class","tw-mb-5","style","--width: 90px; --height: 90px","commonIcon","success_circle",4,"ngIf"],[1,"tw-text-center","tw-text-teal","tw-font-bold","tw-mb-2",3,"innerHTML"],[1,"tw-mb-5","tw-text-base"],["class","tw-mb-12","style","--width: 90px; --height: 90px","commonIcon","success_circle",4,"nfjRenderWhenBreakpoint"],["class","tw-mb-12","style","--width: 220px; --height: 90px","commonIcon","konfetti",4,"nfjRenderWhenBreakpoint"],["commonIcon","success_circle",1,"tw-mb-12",2,"--width","90px","--height","90px"],["commonIcon","konfetti",1,"tw-mb-12",2,"--width","220px","--height","90px"],["commonIcon","success_circle",1,"tw-mb-5",2,"--width","90px","--height","90px"]],template:function(o,a){1&o&&(t.NAR(),t.j41(0,"div",0),t.DNE(1,Ut,3,2,"ng-container",1)(2,Vt,1,0,"inline-icon",2),t.nrm(3,"h2",3),t.nI1(4,"translate"),t.j41(5,"p",4),t.EFF(6),t.nI1(7,"translate"),t.k0s(),t.SdG(8),t.k0s()),2&o&&(t.R
17$(),t.Y8G("ngIf",a.konfetti),t.R7$(),t.Y8G("ngIf",!a.konfetti),t.R7$(),t.Y8G("innerHTML",t.bMT(4,4,a.header),t.npT),t.R7$(3),t.JRh(t.bMT(7,6,a.subtext)))},dependencies:[h.bT,ut.X,R.W,rt.I,p.h,p.D9],styles:["[_nghost-%COMP%]{display:block}.withBottomBox[_nghost-%COMP%]{box-shadow:0 6px 20px #0000000f}[_nghost-%COMP%] h2[_ngcontent-%COMP%]{font-size:20px}"]}))}return e(),i})();const qt=e=>({username:e}),Ht=()=>["/profile/my-profile"];let Wt=(()=>{var e;class i{constructor(n,o){this.auth=n,this.matDialogRef=o,this.user=this.auth.getCandidate()?.name.split(" ")[0],(0,E.r)([L.mdIconsClose])}closeDialog(){setTimeout(()=>this.matDialogRef.close("redirect"))}static#t=e=()=>(this.\u0275fac=function(o){return new(o||i)(t.rXU(P.k),t.rXU(F.MatDialogRef))},this.\u0275cmp=t.VBU({type:i,selectors:[["nfj-registered"]],decls:8,vars:15,consts:[[1,"tw-inline-block","close-icon",3,"click"],["matIcon","close",2,"--width","30px","--height","30px"],[3,"konfetti","header","subtext"],["data-cy","tech-profile-registered-modal-btn-next",1,"tw-btn","tw-btn-primary","tw-btn-lg","tw-py-4","tw-font-semibold",3,"click","routerLink"]],template:function(o,a){1&o&&(t.j41(0,"span",0),t.bIt("click",function(){return a.closeDialog()}),t.nrm(1,"inline-icon",1),t.k0s(),t.j41(2,"nfj-auth-greeting-main",2),t.nI1(3,"translate"),t.nI1(4,"translate"),t.j41(5,"a",3),t.bIt("click",function(){return a.closeDialog()}
1),t.EFF(6),t.nI1(7,"translate"),t.k0s()()),2&o&&(t.R7$(2),t.Y8G("konfetti",!0)("header",t.i5U(3,5,"auth.registered.WELCOME",t.eq3(12,qt,a.user)))("subtext",t.bMT(4,8,"auth.registered.ACCOUNT_ACTIVE")),t.R7$(3),t.Y8G("routerLink",t.lJ4(14,Ht)),t.R7$(),t.SpI(" ",t.bMT(7,10,"POST_APPLY_SURVEY.NEXT_BTN")," "))},dependencies:[R.W,M.w,Bt,O.Wk,p.h,p.D9],styles:["@media(max-width:992px){[_nghost-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] nfj-auth-greeting-main[_ngcontent-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] nfj-auth-greeting-main[_ngcontent-%COMP%] a{min-width:300px;height:50px;border-radius:0}}[_nghost-%COMP%] .close-icon[_ngcontent-%COMP%]{position:absolute;top:15px;right:15px}"]}))}return e(),i})();const Qt=e=>({auth:e});let Jt=(()=>{var e;class i{constructor(n,o,a,c){this.fb=n,this.auth=o,this.internalFields=a,this.router=c,this.resetPasswordForm=this.fb.group({email:["",[l.k0.required,l.k0.email]]}),this.AuthAction=m.Y,this.info=new A.B,this.emailConfig={label:"auth.login.email",autocapitalize:"off",inputType:k.b.Email,required:!0,hideValidIndicator:!0,cy:"reset-password-email"},(0,E.r)([L.mdIconsArrowBack]),this.updateFields()}sendResetPasswordEmail(){this.resetPasswordForm.valid&&this.auth.resetPasswordRequest(this.resetPasswordForm.value.email).subscribe(()=>{this.router.navigate([],{queryParams:{auth:m.Y.Login}}).then(()=>{this.info.next({message:"auth.reset-password.success message",email:this.resetPasswordForm.value.email,type:"info"})})},n=>{400!==n.status||"ACCOUNT_NOT_FOUND"!==n.error?.type?this.router.navigate([],{queryParams:{auth:m.Y.Login}}).then(()=>{this.info.next({message:"auth.reset-password.success message",type:"info"})}):this.info.next({message:"auth.errors.ACCOUNT_NOT_FOUND",type:"error"})})}updateFields(){const n=this.internalFields.getFields();n?.email&&this.resetPasswordForm.controls.email.patchValue(n.email)}static#t=e=()=>(this.\u0275fac=function(o){return new(o||i)(t.rXU(l.ze),t.rXU(P.k),t.rXU(X.E),t.rXU(v.Ix))},this.\u0275cmp=t.VBU({type:i,selectors:[["nfj-auth-reset-password"]],outputs:{info:"info"},decls:11,vars:13,consts:[["ngForm","ngForm"],["id","reset-password-back-login","routerLink","",1,"back-btn","tw-absolute","tw-flex","tw-items-center","tw-justify-center",3,"queryParams"],["matIcon","arrow_back"],[1,"reset-password","reset-password--init",3,"showNfjLogo","title"],[3,"ngSubmit","formGroup"],["translate","",1,"tw-text-gray","tw-text-13","tw-mb-5"],["formControlName","email",1,"tw-block","tw-pt-4","floating-label",3,"config"],["id","reset-password-send","type","submit","translate","",1,"tw-btn","tw-btn-lg","tw-btn","tw-font-semibold","tw-w-full"]],template:function(o,a){if(1&o&&(t.j41(0,"a",1),t.nrm(1,"inline-icon",2),t.k0s(),t.j41(2,"nfj-auth-shell",3),t.nI1(3,"translate"),t.j41(4,"form",4,0),t.bIt("ngSubmit",function(){return a.sendResetPasswordEmail()}),t.j41(6,"p",5),t.EFF(7," auth.reset-password.init message "),t.k0s(),t.nrm(8,"common-text-field",6),t.qAN(),t.j41(9,"button",7),t.EFF(10," auth.common.reset password "),t.k0s()()()),2&o){const c=t.sdS(5);t.Y8G("queryParams",t.eq3(11,Qt,a.AuthAction.Login)),t.R7$(2),t.Y8G("showNfjLogo",!1)("title",t.bMT(3,9,"auth.common.reset password")),t.R7$(2),t.Y8G("formGroup",a.resetPasswordForm),t.R7$(4),t.Y8G("config",a.emailConfig),t.QXe(),t.R7$(),t.AVh("tw-btn-primary",c.dirty)("tw-btn-primary-outline",!c.dirty)}},dependencies:[O.Wk,R.W,M.w,j,l.X1,l.qT,l.BC,l.cb,l.j4,l.JD,p.h,p.Mm,N.f,$.C,p.D9],styles:[".back-btn[_ngcontent-%COMP%]{width:36px;height:36px;border-radius:50%;background-color:#fff;box-shadow:0 0 6px #0006;left:20px;top:20px}@media(min-width:992px){.back-btn[_ngcontent-%COMP%]{left:24px;top:32px}}.reset-password--init[_ngcontent-%COMP%] .circle-icon[_ngcontent-%COMP%]{color:#757575}.reset-password--error[_ngcontent-%COMP%] .circle-icon[_ngcontent-%COMP%]{color:#f45958}.reset-password--ok[_ngcontent-%COMP%] .circle-icon[_ngcontent-%COMP%]{color:#19a59a}"]}))}return e(),i})();const zt=e=>({auth:e});function Kt(e,i){if(1&e&&(t.qex(0),t.j41(1,"div",2),t.nrm(2,"inline-icon",3),t.j41(3,"div")(4,"span",4),t.EFF(5,"auth.set-password.token expired"),t.k0s(),t.j41(6,"span",5),t.EFF(7,"auth.set-password.message"),t.k0s()()(),t.j41(8,"section")(9,"a",6),t.EFF(10),t.nI1(11,"translate"),t.k0s()(),t.bVm()),2&e){const s=t.XpG(2);t.R7$(9),t.Y8G("replaceUrl",!0)("queryParams",t.eq3(5,zt,s.AuthAction.Reset)),t.R7$(),t.SpI(" ",t.bMT(11,3,"auth.common.reset password")," ")}}function Zt(e,i){if(1&e){const s=t.RV6();t.j41(0,"section")(1,"form",7),t.bIt("ngSubmit",function(){d.eBV(s);const o=t.XpG(2);return d.Njj(o.setPassword())}),t.nrm(2,"common-text-field",8),t.qAN(),t.nrm(3,"common-text-field",9),t.qAN(),t.j41(4,"button",10),t.EFF(5),t.nI1(6,"translate"),t.k0s()()()}if(2&e){const s=t.XpG(2);t.R7$(),t.Y8G("formGroup",s.form),t.R7$(),t.Y8G("config",s.passwordCfg),t.QXe(),t.R7$(),t.Y8G("config",s.passwordConfirmCfg),t.QXe(),t.R7$(2),t.SpI(" ",t.bMT(6,4,"auth.set-password.set password")," ")}}function te(e,i){if(1&e&&(t.qex(0),t.j41(1,"nfj-auth-shell",1),t.nI1(2,"translate"),t.DNE(3,Kt,12,7,"ng-container",0)(4,Zt,7,6,"section",0),t.k0s(),t.bVm()),2&e){const s=i.ngIf;t.R7$(),t.Y8G("title",t.bMT(2,3,"auth.common.set a new password")),t.R7$(2),t.Y8G("ngIf",s.error),t.R7$(),t.Y8G("ngIf",!s.error)}}let ee=(()=>{var e;class i{constructor(n,o,a,c,w,S){this.fb=n,this.auth=o,this.route=a,this.router=c,this.dialogRef=w,this.messagesSv=S,this.setPasswordState=new it.Yz,this.setPasswordState$=this.setPasswordState.select(),this.AuthAction=m.Y,this.passwordCfg={label:"auth.signup-email.form.password",inputType:k.b.Password,required:!0},this.passwordConfirmCfg={label:"auth.signup-email.form.password confirm",inputType:k.b.Password,required:!0},(0,E.r)([L.mdIconsVpnKey])}ngOnInit(){this.setPasswordState.set({error:!1}),this.form=this.fb.group({passwordDigest:["",[l.k0.required,G.B.passwordValidator(8)]],passwordDigestRepeat:["",l.k0.required]},{validators:n=>G.B.passwordsMatchValidator(n.get("passwordDigest"),n.get("passwordDigestRepeat"))})}setPassword(){if(this.form.valid){const{id:n,token:o}
1=this.route.snapshot.queryParams;this.auth.confirmResetPassword({accountId:n,resetToken:o,newPasswordDigest:this.form.value.passwordDigest,newPasswordDigestRepeat:this.form.value.passwordDigestRepeat}).subscribe(()=>{this.setPasswordState.set({error:!1}),this.auth.isCandidateLoggedIn()?(this.auth.updateCandidate({hasPassword:!0}),this.messagesSv.addMessage({type:"success",message:"profile.PERSONAL_DATA_CHANGED"}),this.dialogRef.close()):this.router.navigate([],{queryParams:{auth:m.Y.Login}})},()=>{this.setPasswordState.set({error:!0})})}}static#t=e=()=>(this.\u0275fac=function(o){return new(o||i)(t.rXU(l.ze),t.rXU(P.k),t.rXU(v.nX),t.rXU(v.Ix),t.rXU(F.MatDialogRef),t.rXU(Q.G))},this.\u0275cmp=t.VBU({type:i,selectors:[["nfj-auth-set-password"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"title"],[1,"alert","alert-danger","tw-flex","tw-py-4","tw-items-center","tw-text-left"],["matIcon","vpn_key",1,"tw-mr-4"],["translate",""],["translate","",1,"tw-block"],["routerLink","",1,"tw-btn","tw-btn-primary","tw-py-2.5","tw-text-base","tw-font-semibold","tw-w-full",3,"replaceUrl","queryParams"],[3,"ngSubmit","formGroup"],["formControlName","passwordDigest",3,"config"],["formControlName","passwordDigestRepeat",3,"config"],["type","submit",1,"tw-btn","tw-btn-primary","tw-block","tw-w-full","tw-mt-[30px]","tw-py-2.5","tw-text-base","tw-font-semibold"]],template:function(o,a){1&o&&(t.DNE(0,te,5,5,"ng-container",0),t.nI1(1,"async")),2&o&&t.Y8G("ngIf",t.bMT(1,1,a.setPasswordState$))},dependencies:[h.bT,j,R.W,M.w,p.h,p.Mm,O.Wk,l.X1,l.qT,l.BC,l.cb,l.j4,l.JD,N.f,$.C,p.D9,h.Jj],styles:[".circle-icon[_ngcontent-%COMP%]{color:#19a59a}"]}))}return e(),i})();var ne=r(94492),J=r(40992),oe=r(20149),ie=r(47007),se=r(83437),ae=r(50654),re=r(62255);const le=["captcha"],ce=(e,i)=>({termsLink:e,policyLink:i}),me=()=>[],pe=e=>({auth:e});function ge(e,i){if(1&e&&(t.nrm(0,"common-text-field",18),t.qAN()),2&e){const s=t.XpG();t.Y8G("config",s.nameCfg),t.QXe()}}function he(e,i){if(1&e&&(t.nrm(0,"common-text-field",19),t.qAN()),2&e){const s=t.XpG();t.Y8G("config",s.emailCfg),t.QXe()}}function ue(e,i){if(1&e&&(t.qex(0),t.nrm(1,"common-text-field",20),t.qAN(),t.nrm(2,"common-text-field",21),t.qAN(),t.bVm()),2&e){const s=t.XpG();t.R7$(),t.Y8G("config",s.passwordCfg),t.QXe(),t.R7$(),t.Y8G("config",s.passwordConfirmCfg),t.QXe()}}function de(e,i){if(1&e&&t.nrm(0,"common-field-errors",22),2&e){const s=t.XpG();t.Y8G("showIcon",!1)("errors",s.form.get("termsAccepted").errors)}}function fe(e,i){1&e&&(t.j41(0,"span"),t.EFF(1,"[...]"),t.k0s())}function _e(e,i){if(1&e){const s=t.RV6();t.j41(0,"div",7)(1,"nfj-checkbox",24)(2,"div")(3,"p"),t.EFF(4),t.nI1(5,"translate"),t.k0s(),t.j41(6,"p",25),t.EFF(7),t.nI1(8,"translate"),t.nI1(9,"truncate"),t.DNE(10,fe,2,0,"span",6),t.j41(11,"span",26),t.bIt("click",function(o){d.eBV(s);const a=t.XpG(2);return d.Njj(a.toggleShowFullProfileMatchingAgreements(o))}),t.EFF(12),t.nI1(13,"translate"),t.k0s()()()(),t.qAN(),t.k0s()}if(2&e){const s=t.XpG(2);t.R7$(),t.QXe(),t.R7$(3),t.SpI(" ",t.bMT(5,4,"auth.common.PROFILE_MATCHING_AGREEMENT")," "),t.R7$(3),t.SpI(" ",t.i5U(9,8,t.bMT(8,6,"auth.common.PROFILE_MATCHING_AGREEMENT_DESCRIPTION"),s.showFullProfileMatchingAgreement?3e3:150)," "),t.R7$(3),t.Y8G("ngIf",!s.showFullProfileMatchingAgreement),t.R7$(2),t.SpI(" ",t.bMT(13,11,s.showFullProfileMatchingAgreement?"auth.common.READ_LESS":"auth.common.READ_MORE")," ")}}function we(e,i){if(1&e&&(t.qex(0),t.DNE(1,_e,14,13,"div",23),t.bVm()),2&e){const s=i.rxLet;t.R7$(),t.Y8G("ngIf",!s?.profileMatchingAgreement)}}function Ce(e,i){1&e&&(t.j41(0,"div",7)(1,"nfj-checkbox",27),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.qAN(),t.k0s()),2&e&&(t.R7$(),t.QXe(),t.R7$(),t.SpI(" ",t.bMT(3,1,"auth.common.marketingAgreement")," "))}function be(e,i){if(1&e&&(t.qex(0),t.DNE(1,Ce,4,3,"div",23),t.bVm()),2&e){const s=i.rxLet;t.R7$(),t.Y8G("ngIf",!s?.reportsMarketingAgreement)}}function xe(e,i){if(1&e&&t.nrm(0,"common-field-errors",22),2&e){const s=t.XpG(3);t.Y8G("showIcon",!1)("errors",s.form.get("gRecaptchaCode").errors)}}function ve(e,i){if(1&e&&(t.j41(0,"div",29)(1,"div"),t.nrm(2,"ngx-recaptcha2",30),t.qAN(),t.DNE(3,xe,1,2,"common-field-errors",11),t.k0s()()),2&e){const s=t.XpG(2),n=t.sdS(3);t.R7$(2),t.Y8G("siteKey",s.captchaKeyV2),t.QXe(),t.R7$(),t.Y8G("ngIf",n.submitted)}}function ye(e,i){if(1&e&&(t.qex(0),t.DNE(1,ve,4,2,"div",28),t.bVm()),2&e){const s=t.XpG();t.R7$(),t.Y8G("ngIf",2===s.captchaVersion.value)}}function Ae(e,i){if(1&e&&(t.qex(0),t.j41(1,"div",31)(2,"span"),t.EFF(3),t.nI1(4,"translate"),t.k0s()(),t.nrm(5,"nfj-social-login-box",32),t.j41(6,"p",33),t.EFF(7),t.nI1(8,"translate"),t.j41(9,"a",34),t.EFF(10),t.nI1(11,"translate"),t.k0s()(),t.bVm()),2&e){const s=t.XpG(2);t.R7$(3),t.JRh(t.bMT(4,5,"auth.common.or")),t.R7$(4),t.SpI(" ",t.bMT(8,7,"auth.common.ALREADY_HAVE_AN_ACCOUNT")," "),t.R7$(2),t.Y8G("routerLink",t.lJ4(11,me))("queryParams",t.eq3(12,pe,s.AuthAction.Login)),t.R7$(),t.SpI(" ",t.bMT(11,9,"auth.common.login")," ")}}function Se(e,i){if(1&e&&(t.qex(0),t.DNE(1,Ae,12,14,"ng-container",6),t.bVm()),2&e){const s=t.XpG();t.R7$(),t.Y8G("ngIf",s.type===s.AuthAction.SignUpEmail)}}function Te(e,i){if(1&e&&(t.qex(0,35),t.nrm(1,"ngx-recaptcha2",30,1),t.qAN(),t.bVm()),2&e){const s=t.XpG();t.Y8G("formGroup",s.form),t.R7$(),t.Y8G("siteKey",s.captchaKeyV2),t.QXe()}}let ke=(()=>{var e;let i=(class K{get email(){return this.form.get("email")}get name(){return this.form.get("name")}get gRecaptchaCode(){return this.form.get("gRecaptchaCode")}get termsAccepted(){return this.form.get("termsAccepted")}get marketingAgreement(){return this.form.get("marketingAgreement")}get profileMatchingAgreement(){return this.form.get("profileMatchingAgreement")}constructor(n,o,a,c,w,S,f,y,T,We,Qe,Je,ze,Ke){this.fb=n,this.profileService=o,this.translate=a,this.authSv=c,this.validationService=w,this.dialog=S,this.messagesService=f,this.translateService=y,this.recaptchaValidation=T,this.router=We,this.route=Qe,this.internalFields=Je,this.measurement=ze,this.authLoader=Ke,this.nameCfg={label:"auth.signup-email.form.name & surname",required:!0,hideValidIndicator:!0,name:"name"},this.passwordCfg={label:"auth.signup-email.form.password",inputType:k.b.Password,required:!0,hideValidIndicator:!0,name:"password"},this.passwordConfirmCfg={label:"auth.signup-email.form.password confirm",inputType:k.b.Password,required:!0,hideValidIndicator:!0,name:"passwordConfirm"},this.emailCfg={label:"auth.signup-email.form.email",inputType:k.b.Email,required:!0,hideValidIndicator:!0,name:"email"},this.termsLink="https://nofluffjobs.com/static/No_Fluff_Jobs_Terms_and_Conditions.pdf?nocache",this.policyLink="https://nofluffjobs.com/static/No_Fluff_Jobs_Privacy_Policy.pdf?nocache",this.show
1FullProfileMatchingAgreement=!1,this.AuthAction=m.Y,this.captchaKeyV3=this.recaptchaValidation.captchaKeyV3,this.captchaKeyV2=this.recaptchaValidation.captchaKeyV2,this.info=new A.B,this.isGmail=!1,this.showName$=new b.t(!0),this.candidate$=this.authSv.getCandidate$()}ngOnInit(){this.type===m.Y.SignUpEmail?this.form=this.fb.group({name:["",l.k0.required],email:["",[l.k0.required,l.k0.email]],passwordDigest:["",[l.k0.required,G.B.passwordValidator(8)]],passwordDigestRepeat:["",[l.k0.required]],termsAccepted:[!1,l.k0.requiredTrue],gRecaptchaCode:[""],gRecaptchaVersion:[3],marketingAgreement:[!1],profileMatchingAgreement:[!1]},{validators:n=>G.B.passwordsMatchValidator(n.get("passwordDigest"),n.get("passwordDigestRepeat"))}):(this.showInfos(),this.form=this.fb.group({name:["",l.k0.required],email:[{value:"",disabled:!0},[l.k0.required,l.k0.email]],termsAccepted:[!1,l.k0.requiredTrue],marketingAgreement:[!1],profileMatchingAgreement:[!1]})),this.updateFields()}toggleShowFullProfileMatchingAgreements(n){n.preventDefault(),this.showFullProfileMatchingAgreement=!this.showFullProfileMatchingAgreement}get captchaVersion(){return this.form.get("gRecaptchaVersion")}get captchaCode(){return this.form.get("gRecaptchaCode")}signUp(){if(this.form.valid)if(this.type===m.Y.SignUpEmail)this.recaptchaValidation.prepareCaptchaCode({action:"signup",captchaCodeValue:this.captchaCode.value,captchaVersionValue:this.captchaVersion.value},n=>this.submitRequest(n));else{const{...n}=this.form.getRawValue(),o={...n,newestPolicyAccepted:n.termsAccepted};this.attachCandidateTempData(o),this.profileService.updateGeneralSettings(o).pipe((0,H.E)(this.authLoader.viewName$)).subscribe(([a,c])=>{let w={logging_place:c,logging_method:this.authSv.socialRegisterType,fields_checkbox_privacy:this.termsAccepted.value,fields_checkbox_matching:this.profileMatchingAgreement.valid,fields_valid:this.form.valid};this.type===m.Y.SignUpEmail&&(w={...w,fields_name:this.name.valid,fields_password_1:this.form.get("passwordDigest").valid,fields_password_2:this.form.get("passwordDigestRepeat").valid}),this.route.snapshot.queryParamMap.get("afterLogin")||this.measurement.account.signedUp(w),this.authSv.tempCandidateStorage.remove();const{apply:S,applied:f}=this.route.snapshot.queryParams;S&&"false"!==S?this.dialogRef.close():(this.info.next(null),this.router.navigate([],{queryParams:{auth:m.Y.Registered,applied:f}}))},()=>this.messagesService.addMessage({message:this.translateService.instant("profile.COULD_NOT_SUBMIT_CONTACT_SUPPORT"),type:"error",timeout:1e4}))}}attachCandidateTempData(n){const o=this.authSv.tempCandidateStorage.read();o&&Object.assign(n,o)}submitRequest(n){this.isGmail=this.form.value.email.includes("@gmail"),this.info.next(null);const o={...this.form.value,gRecaptchaCode:n,gRecaptchaVersion:this.captchaVersion.value};this.attachCandidateTempData(o),this.authSv.signUpByEmail(o).pipe((0,q.n)(()=>this.authSv.loginByEmail({login:o.email,passwordDigest:o.passwordDigest}).pipe((0,H.E)(this.authLoader.viewName$)))).subscribe(([a,c])=>{this.authSv.tempCandidateStorage.remove(),this.router.navigate([],{queryParams:{auth:m.Y.Registered}}),this.measurement.account.signedUp({logging_method:"email",logging_place:c,fields_checkbox_privacy:this.termsAccepted.value,fields_checkbox_matching:this.profileMatchingAgreement.valid,fields_valid:this.form.valid,fields_name:this.name.valid,fields_password_1:this.form.get("passwordDigest").valid,fields_password_2:this.form.get("passwordDigestRepeat").valid})},a=>{const c=(a.error?.violations||[]).find(w=>"recaptchaCode"===w.field);c&&this.recaptchaValidation.handleIsBotResponse(c.msg,this.captchaVersion)||("string"==typeof a.error&&a.error.includes("exists")?(this.router.navigate([],{queryParams:{auth:m.Y.Login}}),this.info.next({message:"auth.errors.ACCOUNT_EXISTS",type:"info"})):this.info.next({message:"auth.errors.default",type:"error"}),this.captchaCmp?.reloadCaptcha(),this.gRecaptchaCode.patchValue(""))})}updateFields(){const n=this.internalFields.getFields(),o=this.authSv.getCandidate();n?.email||this.type!==m.Y.SignUpEmail?(this.name.patchValue(n?.name?n.name:o?.name),this.email.patchValue(this.t
1ype===m.Y.SignUpEmail?n.email:this.authSv.getCandidate()?.email),this.marketingAgreement.setValue(!!o?.reportsMarketingAgreement)):this.router.navigate([],{queryParams:{auth:m.Y.SignUp}})}showInfos(){this.authSv.getCandidate()?.policyAccepted?(this.showName$.next(!1),this.info.next({message:"auth.errors.POLICY_CHANGED",type:"info"})):this.info.next({message:"auth.errors.SOCIAL_REGISTERED",type:"error"})}static#t=e=()=>(this.\u0275fac=function(o){return new(o||K)(t.rXU(l.ze),t.rXU(ae.pq),t.rXU(p.c$),t.rXU(P.k),t.rXU(G.B),t.rXU(F.MatDialog),t.rXU(Q.G),t.rXU(p.c$),t.rXU(re.k),t.rXU(v.Ix),t.rXU(v.nX),t.rXU(X.E),t.rXU(mt.G),t.rXU(pt.x))},this.\u0275cmp=t.VBU({type:K,selectors:[["nfj-signup-confirm"]],viewQuery:function(o,a){if(1&o&&t.GBs(le,5)(J.zM,5),2&o){let c;t.mGM(c=t.lsd())&&(a.captchaTmpl=c.first),t.mGM(c=t.lsd())&&(a.captchaCmp=c.first)}},inputs:{type:"type",dialogRef:"dialogRef"},outputs:{info:"info"},decls:33,vars:37,consts:[["formDirective","ngForm"],["captcha",""],[3,"title"],[1,"tw-mb-30px",3,"ngSubmit","formGroup"],["class","floating-label","formControlName","name",3,"config",4,"ngIf"],["class","floating-label","formControlName","email",3,"config",4,"ngIf"],[4,"ngIf"],[1,"tw-my-4"],["gtmId","sign-up-termsAccepted","formControlName","termsAccepted"],[3,"innerHTML"],[1,"star"],[3,"showIcon","errors",4,"ngIf"],[4,"rxLet"],[1,"tw-flex","tw-mt-4","tw-flex-wrap"],[1,"tw-mb-0","tw-text-gray","tw-text-13","tw-text-left"],["role","button",2,"vertical-align","middle","cursor","pointer",3,"click","matIcon"],["id","sign-up-submit","type","submit",1,"tw-btn","tw-btn-lg","tw-btn-primary","tw-py-2.5","tw-grow","tw-block","tw-font-semibold","tw-mt-30px"],[4,"nfjRenderWhenBreakpoint"],["formControlName","name",1,"floating-label",3,"config"],["formControlName","email",1,"floating-label",3,"config"],["formControlName","passwordDigest",1,"floating-label",3,"config"],["formControlName","passwordDigestRepeat",1,"floating-label",3,"config"],[3,"showIcon","errors"],["class","tw-my-4",4,"ngIf"],["gtmId","sign-up-profileMatchingAgreement","formControlName","profileMatchingAgreement"],[1,"tw-text-sm"],[1,"tw-text-tastyBlue","tw-cursor-pointer",3,"click"],["gtmId","sign-up-marketingAgreement","formControlName","marketingAgreement"],["class","tw-flex tw-justify-center tw-mr-4",4,"ngIf"],[1,"tw-flex","tw-justify-center","tw-mr-4"],["required","","formControlName","gRecaptchaCode",3,"siteKey"],[1,"divider"],[1,"tw-pb-12"],[1,"tw-text-center","tw-py-4","tw-mb-0"],["id","register-modal-login",1,"tw-text-tastyBlue",3,"routerLink","queryParams"],[3,"formGroup"]],template:function(o,a){if(1&o&&(t.j41(0,"nfj-auth-shell",2),t.nI1(1,"translate"),t.j41(2,"form",3,0),t.bIt("ngSubmit",function(){return a.signUp()}),t.DNE(4,ge,1,1,"common-text-field",4),t.nI1(5,"async"),t.qAN(),t.DNE(6,he,1,1,"common-text-field",5),t.qAN(),t.DNE(7,ue,3,2,"ng-container",6),t.j41(8,"div",7)(9,"nfj-checkbox",8),t.nrm(10,"span",9),t.nI1(11,"translate"),t.j41(12,"span",10),t.EFF(13,"*"),t.k0s()(),t.qAN(),t.DNE(14,de,1,2,"common-field-errors",11),t.k0s(),t.DNE(15,we,2,1,"ng-container",12),t.nI1(16,"async"),t.DNE(17,be,2,1,"ng-container",12),t.nI1(18,"async"),t.j41(19,"div",13),t.DNE(20,ye,2,1,"ng-container",6),t.j41(21,"p",14),t.EFF(22),t.nI1(23,"translate"),t.nI1(24,"truncate"),t.j41(25,"inline-icon",15),t.bIt("click",function(){return a.consentToggleRecommend=!a.consentToggleRecommend}),t.k0s()(),t.j41(26,"button",16),t.EFF(27),t.nI1(28,"async"),t.nI1(29,"translate"),t.k0s()()(),t.DNE(30,Se,2,1,"ng-container",17),t.k0s(),t.DNE(31,Te,3,2,"ng-template",null,1,t.C5r)),2&o){const c=t.sdS(3);t.Y8G("title",t.bMT(1,14,"auth.signup-email.header")),t.R7$(2),t.Y8G("formGroup",a.form),t.R7$(2),t.Y8G("ngIf",t.bMT(5,16,a.showName$)),t.QXe(),t.R7$(2),t.Y8G("ngIf",a.type===a.AuthAction.SocialRegister),t.QXe(),t.R7$(),t.Y8G("ngIf",a.type===a.AuthAction.SignUpEmail),t.R7$(2),t.QXe(),t.R7$(),t.Y8G("innerHTML",t.i5U(11,18,"profile.POLICY_TEXT",t.l_i(34,ce,a.termsLink,a.policyLink)),t.npT),t.R7$(4),t.Y8G("ngIf",c.submitted),t.R7$(),t.Y8G("rxLet",t.bMT(16,21,a.candidate$)),t.R7$(2),t.Y8G("rxLet",t.bMT(18,23,a.candidate$)),t.R7$(3),t.Y8G("ngIf",a.type===a.AuthAction.SignUpEmail),t.R7$(2),t.SpI(" ",t.i5U(24,27,t.bMT(23,25,"posting-details.FULL_CONSENT"),a.consentToggleRecommend?3e3:280)," "),t.R7$(3),t.Y8G("matIcon",a.consentToggleRecommend?"keyboard_arrow_up":"keyboard_arrow_down"),t.R7$(2),t.SpI(" ",t.bMT(29,32,t.bMT(28,30,a.showName$)?"auth.common.sign up":"auth.signup-email.header")," "),t.R7$(3),t.Y8G("nfjRenderWhenBreakpoint","desktop")}},dependencies:[j,l.X1,l.qT,l.BC,l.cb,l.YS,l.j4,l.JD,h.bT,N.f,oe.P,ie.D,ne.Q,J.kd,J.zM,R.W,M.w,$.C,ut.X,W,O.Wk,p.h,h.Jj,p.D9,se.H],styles:[".circle-icon[_ngcontent-%COMP%]{color:#19a59a}.account-exists[_ngcontent-%COMP%] .circle-icon[_ngcontent-%COMP%]{color:#f45958}.account-exists[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#111;font-size:16px}.account-exists[_ngcontent-%COMP%] .email[_ngcontent-%COMP%]{color:#111;font-weight:700;font-size:22px} .captcha-modal{max-width:none;top:50vh;width:380px;margin-top:-40px} .captcha-modal .modal-content{flex-direction:row;justify-content:center;padding:40px;border-color:red}"]}),this)},e());return i=(0,x.Cg)([(0,_.d)()],i),i})();const Re=()=>[],Ie=e=>({auth:e});function Pe(e,i){1&e&&(t.j41(0,"p",2),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&e&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"auth.APPLICATION_STATUS_TEXT")," "))}let Me=(()=>{var e;let i=(class Z{get email(){return this.form.get("email")}constructor(n,o,a,c){this.authenticationService=n,this.router=o,this.route=a,this.internalFields=c,this.AuthAction=m.Y,this.form=new l.J3({email:new l.hs("",[l.k0.required,l.k0.email])}
1),this.fromCheckAppStatus=!!this.route.snapshot.queryParams.checkAppStatus,this.emailCfg={label:"auth.signup-email.form.email",inputType:k.b.Email,required:!0,hideValidIndicator:!0}}ngOnInit(){this.updateFields(),this.authenticationService.isLoggedIn$.pipe((0,C.p)(Boolean),(0,_.s)(this)).subscribe(()=>this.checkTermsModal())}nextForm(){this.form.invalid||(this.internalFields.updateFields({email:this.email.value}),this.router.navigate([],{queryParams:{auth:m.Y.SignUpEmail}}))}checkTermsModal(){setTimeout(()=>{if(this.authenticationService.getCandidate()?.newestPolicyAccepted)this.dialogRef.close();else{const n=this.authenticationService.getCandidate()?.policyAccepted||!!this.route.snapshot.queryParams.apply;this.router.navigate([],{queryParams:{auth:m.Y.SocialRegister,apply:n,applied:!!this.route.snapshot.queryParams.applied}})}})}updateFields(){const n=this.internalFields.getFields();n?.email&&this.email.patchValue(n.email)}static#t=e=()=>(this.\u0275fac=function(o){return new(o||Z)(t.rXU(P.k),t.rXU(v.Ix),t.rXU(v.nX),t.rXU(X.E))},this.\u0275cmp=t.VBU({type:Z,selectors:[["nfj-auth-signup"]],inputs:{dialogRef:"dialogRef"},decls:20,vars:23,consts:[[3,"title"],[1,"tw-mb-30px",3,"ngSubmit","formGroup"],[1,"tw-text-sm","tw-mb-4"],["formControlName","email",1,"floating-label",3,"config"],["type","submit",1,"tw-btn","tw-btn-lg","tw-btn-primary","tw-w-full"],[1,"divider"],[1,"tw-pb-12"],[1,"tw-text-center","tw-py-4","tw-mb-0"],["id","register-modal-login","queryParamsHandling","merge",1,"tw-text-tastyBlue",3,"routerLink","queryParams"]],template:function(o,a){1&o&&(t.j41(0,"nfj-auth-shell",0),t.nI1(1,"translate"),t.j41(2,"form",1),t.bIt("ngSubmit",function(){return a.nextForm()}),t.nVh(3,Pe,3,3,"p",2),t.nrm(4,"common-text-field",3),t.qAN(),t.j41(5,"section")(6,"button",4),t.EFF(7),t.nI1(8,"translate"),t.k0s()()(),t.j41(9,"div",5)(10,"span"),t.EFF(11),t.nI1(12,"translate"),t.k0s()(),t.nrm(13,"nfj-social-login-box",6),t.j41(14,"p",7),t.EFF(15),t.nI1(16,"translate"),t.j41(17,"a",8),t.EFF(18),t.nI1(19,"translate"),t.k0s()()()),2&o&&(t.Y8G("title",t.bMT(1,10,"auth.common.sign up")),t.R7$(2),t.Y8G("formGroup",a.form),t.R7$(),t.vxM(a.fromCheckAppStatus?3:-1),t.R7$(),t.Y8G("config",a.emailCfg),t.QXe(),t.R7$(3),t.SpI(" ",t.bMT(8,12,"auth.common.sign up")," "),t.R7$(4),t.JRh(t.bMT(12,14,"auth.common.or")),t.R7$(4),t.SpI(" ",t.bMT(16,16,"auth.common.ALREADY_HAVE_AN_ACCOUNT")," "),t.R7$(2),t.Y8G("routerLink",t.lJ4(20,Re))("queryParams",t.eq3(21,Ie,a.AuthAction.Login)),t.R7$(),t.SpI(" ",t.bMT(19,18,"auth.common.login")," "))},dependencies:[j,l.X1,l.qT,l.BC,l.cb,l.j4,l.JD,N.f,$.C,W,O.Wk,p.h,p.D9],encapsulation:2}),this)},e());return i=(0,x.Cg)([(0,_.d)()],i),i})();var je=r(65057);const Oe=["modal"],Ge=e=>({email:e});function Fe(e,i){if(1&e&&(t.nrm(0,"p",4),t.nI1(1,"translate")),2&e){const s=i.ngIf;t.AVh("alert-danger","error"===s.type)("alert-info","info"===s.type),t.Y8G("innerHTML",t.i5U(1,5,s.message,t.eq3(8,Ge,s.email)),t.npT)}}function Ee(e,i){1&e&&(t.qex(0),t.j41(1,"div",6),t.nrm(2,"nfj-registered"),t.k0s(),t.bVm())}function Le(e,i){if(1&e){const s=t.RV6();t.j41(0,"nfj-auth-login",13),t.nI1(1,"async"),t.bIt("info",function(o){d.eBV(s);const a=t.XpG(4);
1return d.Njj(a.error.next(o))}),t.k0s()}if(2&e){const s=t.XpG(4);t.Y8G("dialogRef",s.dialogRef)("redirectLink",t.bMT(1,3,s.redirectQueryUrl$))("allowRedirectFlag",!0)}}function Ne(e,i){if(1&e){const s=t.RV6();t.j41(0,"nfj-auth-reset-password",14),t.bIt("info",function(o){d.eBV(s);const a=t.XpG(4);return d.Njj(a.error.next(o))}),t.k0s()}}function $e(e,i){if(1&e&&t.nrm(0,"nfj-auth-signup",15),2&e){const s=t.XpG(4);t.Y8G("dialogRef",s.dialogRef)}}function De(e,i){if(1&e){const s=t.RV6();t.j41(0,"nfj-signup-confirm",16),t.bIt("info",function(o){d.eBV(s);const a=t.XpG(4);return d.Njj(a.error.next(o))}),t.k0s()}if(2&e){const s=t.XpG(2).ngIf,n=t.XpG(2);t.Y8G("dialogRef",n.dialogRef)("type",s)}}function Ye(e,i){1&e&&t.nrm(0,"nfj-auth-set-password",17)}function Xe(e,i){if(1&e){const s=t.RV6();t.j41(0,"nfj-auth-shell",19),t.nI1(1,"translate"),t.j41(2,"button",20),t.bIt("click",function(){d.eBV(s);const o=t.XpG(5);return d.Njj(o.close())}),t.EFF(3," auth.common.close "),t.k0s()()}2&e&&t.Y8G("title",t.bMT(1,1,"auth.common.account dropped"))}function Ue(e,i){if(1&e&&(t.j41(0,"div",17),t.DNE(1,Xe,4,3,"nfj-auth-shell",18),t.nI1(2,"async"),t.k0s()),2&e){const s=t.XpG(4);t.R7$(),t.Y8G("ngIf",t.bMT(2,1,s.dropAccount$))}}function Ve(e,i){if(1&e&&(t.j41(0,"div",7),t.DNE(1,Le,2,5,"nfj-auth-login",8)(2,Ne,1,0,"nfj-auth-reset-password",9)(3,$e,1,1,"nfj-auth-signup",10)(4,De,1,2,"nfj-signup-confirm",11)(5,Ye,1,0,"nfj-auth-set-password",12)(6,Ue,3,3,"div",12),t.k0s()),2&e){const s=t.XpG().ngIf,n=t.XpG(2);t.Y8G("ngSwitch",s),t.R7$(),t.Y8G("ngSwitchCase",n.AuthAction.Login),t.R7$(),t.Y8G("ngSwitchCase",n.AuthAction.Reset),t.R7$(),t.Y8G("ngSwitchCase",n.AuthAction.SignUp),t.R7$(),t.Y8G("ngIf",s===n.AuthAction.SignUpEmail||s===n.AuthAction.SocialRegister),t.R7$(),t.Y8G("ngSwitchCase",n.AuthAction.SetPassword),t.R7$(),t.Y8G("ngSwitchCase",n.AuthAction.DropAccount)}}function Be(e,i){if(1&e&&(t.qex(0),t.DNE(1,Ee,3,0,"ng-container",5)(2,Ve,7,7,"ng-template",null,1,t.C5r),t.bVm()),2&e){const s=i.ngIf,n=t.sdS(3),o=t.XpG(2);t.R7$(),t.Y8G("ngIf",s===o.AuthAction.Registered)("ngIfElse",n)}}function qe(e,i){if(1&e&&(t.DNE(0,Fe,2,10,"p",2),t.nI1(1,"async"),t.DNE(2,Be,4,2,"ng-container",3),t.nI1(3,"async")),2&e){const s=t.XpG();t.Y8G("ngIf",t.bMT(1,2,s.error)),t.R7$(2),t.Y8G("ngIf",t.bMT(3,4,s.type$))}}let He=(()=>{var e;let i=(class tt{ngOnInit(){this.show$.pipe((0,u.F)(),(0,C.p)(n=>!!n),(0,_.s)(this)).subscribe(()=>{this.dialogRef=this.dialog.open(this.modalTmpl,{panelClass:["default-modal"],autoFocus:!1,scrollStrategy:this.scrollStrategy.noop()}),this.dialogRef.afterClosed().pipe((0,V.s)(1),(0,_.s)(this)).subscribe(n=>this.close("redirect"===n))}),this.type$.pipe((0,_.s)(this)).subscribe(()=>this.removeError()),this.showGoogleLoginEffect$.pipe((0,_.s)(this)).subscribe()}constructor(n,o,a,c,w,S){this.route=n,this.router=o,this.dialog=a,this.auth=c,this.googleLoginSv=w,this.scrollStrategy=S,this.error=new b.t(null),this.AuthAction=m.Y,this.closeSubject=new A.B,this.redirectQueryUrl$=this.route.queryParams.pipe((0,et.T)(f=>f.redirectUrl||"")),this.guards={[m.Y.Login]:()=>(0,g.of)(this.isNotLoggedIn()),[m.Y.Reset]:()=>(0,g.of)(!0),[m.Y.Registered]:()=>(0,g.of)(!this.isNotLoggedIn()),[m.Y.SocialRegister]:()=>(0,g.of)(!0),[m.Y.SignUp]:()=>(0,g.of)(this.isNotLoggedIn()),[m.Y.SignUpEmail]:()=>(0,g.of)(this.isNotLoggedIn()),[m.Y.SetPassword]:()=>{const{token:f,id:y}=this.route.snapshot.queryParams;return(0,g.of)(f&&y)},[m.Y.DropAccount]:()=>{const{token:f,id:y}=this.route.snapshot.queryParams,T=f&&y&&this.isNotLoggedIn();return(0,g.of)(T)}},this.dropAccount$=(()=>{const{token:f,id:y}=this.route.snapshot.queryParams;return this.auth.dropAccount(f,y).pipe((0,B.u)(!0))})(),this.type$=this.route.queryParamMap.pipe((0,et.T)(f=>f.get("auth")),(0,C.p)(f=>Object.values(m.Y).includes(f)),(0,dt.t)({bufferSize:1,refCount:!0})),this.showGoogleLoginEffect$=this.type$.pipe((0,C.p)(f=>[m.Y.Login,m.Y.SignUp,m.Y.SignUpEmail].includes(f)),(0,V.s)(1),(0,Y.M)(()=>this.setupOneTapLogin())),this.show$=this.type$.pipe((0,q.n)(f=>this.guards[f]().pipe((0,q.n)(y=>y?this.closeSubject.pipe((0,V.s)(1),(0,B.u)(!1),(0,nt.Z)(!0)):this.redirectQueryUrl$.pipe((0,Y.M)(T=>{T?this.router.navigateByUrl(T,{replaceUrl:!0}):this.removeParam()}),(0,B.u)(!1))))),(0,nt.Z)(!1))}removeError(){this.error.value&&this.error.next(null)}removeParam(){this.router.navigate([],{replaceUrl:!0,queryParams:{auth:null,token:null,id:null,email:null,apply:null,applied:null,afterLogin:null,checkAppStatus:null},queryParamsHandling:"merge"})}close(n=!0){this.checkPolicy(),n||this.removeParam(),this.closeSubject.next(),this.error.next(null)}setClass(){}isNotLoggedIn(){return!this.auth.isCandidateLoggedIn()}checkPolicy(){this.auth.isLoggedIn()&&!this.auth.getCandidate()?.newestPolicyAccepted&&this.auth.logoutFromMenu()}setupOneTapLogin(){this.googleLoginSv.setupOneTap(ot.qi,0)}static#t=e=()=>(this.\u0275fac=function(o){return new(o||tt)(t.rXU(v.nX),t.rXU(v.Ix),t.rXU(F.MatDialog),t.rXU(P.k),t.rXU(ct.Y),t.rXU(je.Tv))},this.\u0275cmp=t.VBU({type:tt,selectors:[["nfj-auth-handler"]],viewQuery:function(o,a){if(1&o&&t.GBs(Oe,7),2&o){let c;t.mGM(c=t.lsd())&&(a.modalTmpl=c.first)}},decls:2,vars:0,consts:[["modal",""],["inner",""],["class","errors tw-text-center alert tw-py-4 tw-mb-0 tw-font-semibold",3,"alert-danger","alert-info","innerHTML",4,"ngIf"],[4,"ngIf"],[1,"errors","tw-text-center","alert","tw-py-4","tw-mb-0","tw-font-semibold",3,"innerHTML"],[4,"ngIf","ngIfElse"],[1,"auth-inner","tw-bg-white"],[1,"auth-inner","tw-p-5","tw-bg-white",3,"ngSwitch"],["class","mobile-full-height",3,"dialogRef","redirectLink","allowRedirectFlag","info",4,"ngSwitchCase"],["class","mobile-full-height",3,"info",4,"ngSwitchCase"],["class","mobile-full-height",3,"dialogRef",4,"ngSwitchCase"],["class","mobile-full-height",3,"dialogRef","type","info",4,"ngIf"],["class","mobile-full-height",4,"ngSwitchCase"],[1,"mobile-full-height",3,"info","dialogRef","redirectLink","allowRedirectFlag"],[1,"mobile-full-height",3,"info"],[1,"mobile-full-height",3,"dialogRef"],[1,"mobile-full-height",3,"info","dialogRef","type"],[1,"mobile-full-height"],[3,"title",4,"ngIf"],[3,"title"],["translate","",1,"tw-btn","tw-btn-primary","tw-btn-sm","tw-px-12","tw-my-4",3,"click"]],template:function(o,a){1&o&&t.DNE(0,qe,4,6,"ng-template",null,0,t.C5r)}
1,dependencies:[h.bT,Wt,h.ux,h.e1,Nt,Jt,Me,ke,ee,j,p.h,p.Mm,p.D9,h.Jj],styles:["[_nghost-%COMP%]{display:block}@media(max-width:992px){.mobile-full-height[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column}}.errors[_ngcontent-%COMP%], .auth-inner[_ngcontent-%COMP%]{width:560px}@media(max-width:1200px){.errors[_ngcontent-%COMP%], .auth-inner[_ngcontent-%COMP%]{max-width:100%}}.auth-inner[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto;text-align:center;pointer-events:auto;position:relative}@media(max-width:992px){.auth-inner[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column}}.auth-inner[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{position:relative;top:-40px;width:80px;margin:0 auto}.auth-inner[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:80px;height:80px}.auth-inner[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{margin-top:50px;margin-bottom:20px;font-size:28px;font-weight:700;color:#111}.auth-inner[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{font-size:14px;color:#888;font-weight:400}.alert[_ngcontent-%COMP%]{border-left-width:2px;border-top:0;border-bottom:0;border-right:0}.alert.alert-danger[_ngcontent-%COMP%]{border-left-color:#f45958;color:#dc504f}.alert.alert-info[_ngcontent-%COMP%]{background-color:#d0e3fb;border-left-color:#71aaf4;color:#1271ed}"],changeDetection:1}),this)},e());return i=(0,x.Cg)([(0,_.d)()],i),i})()}}]);
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.