PageSourceSearch

https://id.exame.com/882.3f59e940432f7cdaa969.js

js exame.com collected 2026-09-24 07:19:20 UTC 6,623 bytes, 1 lines download raw bytes

1(self.webpackChunkexame_id=self.webpackChunkexame_id||[]).push([[882],{2882:(e,r,i)=>{"use strict";i.r(r),i.d(r,{LoginModule:()=>A});var t=i(5425),s=i(3618),o=i(1116),a=i(1462),n=i(8404),l=i(6474),c=i(4791),g=i(3050),p=i(3982),u=i(7571),d=i(7380),h=i(8619),m=i(342),v=i(514),f=i(4438),w=i(5959),C=i(913),Z=i(6484),T=i(3586),k=i(9571),x=i(6441),b=i(3687);const S=function(e){return{"invalid-feedback":e}};function y(e,r){if(1&e&&(h.TgZ(0,"span",14),h._uU(1," Por favor marque a caixa acima. "),h.qZA()),2&e){const e=h.oxw();h.Q6J("ngClass",h.VKq(1,S,null==e.reCaptcha?null:e.reCaptcha.dirty))}}const M=function(){return["/password"]},_=function(e){return{email:e}},q=function(){return["/register"]};let F=(()=>{class e{constructor(e,r,i,t){this.loginService=e,this.modalService=r,this.sharedService=i,this.exameTrackerAdapter=t,this.errorMessage="",this.passwordIsVisible=!1,this.visibilityIcon="assets/visibility_off.svg",this.imgTitleText="Mostrar a senha",this.loading=!1,this.loginForm=new a.cw({email:new a.NI("",[a.kI.required,a.kI.pattern(g.CU)]),password:new a.NI("",[a.kI.required]),reCaptcha:new a.NI("",[a.kI.required])}),this.emailType=l.x.EMAIL,this.gReCaptchaResponse=""}get email(){return this.loginForm.get("email")}get password(){return this.loginForm.get("password")}get reCaptcha(){return this.loginForm.get("reCaptcha")}ngOnInit(){const e=this.sharedService.getQueryParam(["provider"]),r=this.sharedService.getQueryParam("origin");if("checkout"===(null==r?void 0:r.toLowerCase())&&this.exameTrackerAdapter.emitTrackPageVisitedFromCheckout(),e&&this.sharedService.setSessionStorageRedirectUrl(),"apple"!==e)"facebook"!==e?"google"!==e?"btg"===e&&this.loginService.btgRedirectLogin():this.loginService.googleRedirectLogin():this.loginService.facebookLogin(!0);else{const e=this.loginService.appleLoginURL();c.F.redirectTo(e)}}login(){var e,r;if(this.sharedService.setFormsDirty(this.loginForm),!this.loginForm.valid)return;let i;this.sharedService.emitTrackerButtonEvent(u.a.LoginFirstPage),this.loginButton.setRequestState(),this.errorMessage="",this.loginService.loginUser({username:null===(e=this.email)||void 0===e?void 0:e.value,password:null===(r=this.password)||void 0===r?void 0:r.value},this.gReCaptchaResponse,this.sharedService.getQueryParam("origin")||"").pipe((0,p.zg)(e=>(i=e,this.loginService.storeExameTokensAndTrackUserOnSegment(e.AuthenticationResult,"exame_form")))).subscribe(e=>{this.redirect(i)},e=>{var r;this.loginButton.resetState(),this.recaptchaComponent.reset(),null===(r=this.loginForm.get("reCaptcha"))||void 0===r||r.reset(),this.handleError(e)})}redirect(e){const r=this.sharedService.getRedirectUrl({response:e});c.F.redirectTo(r)}togglePasswordVisibility(){this.passwordIsVisible=!this.passwordIsVisible,this.imgTitleText=this.passwordIsVisible?"Esconder a senha":"Mostrar a senha",this.visibilityIcon=this.passwordIsVisible?"assets/visibility_on.svg":"assets/visibility_off.svg"}handleError(e){var r,i;401===(null===(r=e.error)||void 0===r?void 0:r.statusCode)?this.showErrorMessage("Seu usu\xe1rio ou senha est\xe3o incorretos."):422===(null===(i=e.error)||void 0===i?void 0:i.statusCode)?this.modalService.showErrorModal("Os par\xe2metros de redirecionamento s\xe3o inv\xe1lidos"):this.modalService.showErrorModal("Por favor, tente novamente.")}showErrorMessage(e){this.errorMessage=e}}return e.\u0275fac=function(r){return new(r||e)(h.Y36(m.r),h.Y36(v.Z),h.Y36(f.F),h.Y36(w.k))},e.\u0275cmp=h.Xpm({type:e,selectors:[["app-login"]],viewQuery:function(e,r){if(1&e&&(h.Gf(n.r,5),h.Gf(d.wT,5)),2&e){let e;h.iGM(e=h.CRH())&&(r.loginButton=e.first),h.iGM(e=h.CRH())&&(r.recaptchaComponent=e.first)}},decls:25,vars:23,consts:[[1,"card-container"],["id","login-form",1,"form-group",3,"formGroup","ngSubmit"],[3,"id","label","parentForm","controlName","errorMessage","textType","inputMode"],[3,"id","parentForm","errorMessage"],["id","forgot-password","queryParamsHandling","preserve",1,"link",3,"routerLink","state"],["id","g-recaptcha-container"],["formControlName","reCaptcha",3,"resolved"],["id","recaptcha-login-error-message","class","hint",3,"ngClass",4,"ngIf"],[1,"input-group","align-self-stretch"],[3,"buttonTextInput"],["loginButton",""],["queryParamsHandling","preserve",1,"link",3,"routerLink","state"],[1,"hr-sect"],[1,"social-login"],["id","recaptcha-login-error-message",1,"hint",3,"ngClass"]],template:function(e,r){1&e&&(h.TgZ(0,"div",0),h.TgZ(1,"form",1),h.NdJ("ngSubmit",function(){return r.login()}),h.TgZ(2,"h4"),h._uU(3,"Entrar na sua conta Exame"),h.qZA(),h._UZ(4,"app-text-input",2),h._UZ(5,"app-password-input",3),h.TgZ(6,"a",4),h._uU(7,"Esqueceu sua senha?"),h.qZA(),h.TgZ(8,"div",5),h.TgZ(9,"re-captcha",6),h.NdJ("resolved",function(e){return r.gReCaptchaResponse=e}),h.qZA(),h.YNc(10,y,2,3,"span",7),h.qZA(),h.TgZ(11,"div",8),h._UZ(12,"app-button",9,10),h.qZA(),h.TgZ(14,"p"),h._uU(15," N\xe3o tem uma conta? "),h.TgZ(16,"a",11),h._uU(17,"Cadastre-se"),h.qZA(),h.qZA(),h.qZA(),h.TgZ(18,"div",12),h._uU(19,"ou"),h.qZA(),h.TgZ(20,"div",13),h._UZ(21,"app-google-social-login"),h._UZ(22,"app-partners-social-login"),h._UZ(23,"app-apple-social-login"),h._UZ(24,"app-facebook-social-login"),h.qZA(),h.qZA()),2&e&&(h.xp6(1),h.Q6J("formGroup",r.loginForm),h.xp6(3),h.Q6J("id","user-email")("label","Endere\xe7o de e-mail")("parentForm",r.loginForm)("controlName","email")("errorMessage",r.errorMessage)("textType",r.emailType)("inputMode","email"),h.xp6(1),h.Q6J("id","user-password")("parentForm",r.loginForm)("errorMessage",r.errorMessage),h.xp6(1),h.Q6J("routerLink",h.DdM(17,M))("state",h.VKq(18,_,null==r.email?null:r.email.value)),h.xp6(4),h.Q6J("ngIf",(null==r.reCaptcha?null:r.reCaptcha.dirty)&&!r.gReCaptchaResponse),h.xp6(2),h.Q6J("buttonTextInput","Fazer login"),h.xp6(4),h.Q6J("routerLink",h.DdM(20,q))("state",h.VKq(21,_,null==r.email?null:r.email.value)))},directives:[a._Y,a.JL,a.sg,C.t,Z.C,s.yS,d.wT,d.Vd,a.JJ,a.u,o.O5,n.r,T.I,k.V,x.k,b.w,o.mk],styles:["#forgot-password[_ngcontent-%COMP%]{margin-top:20px}h4[_ngcontent-%COMP%]{margin:0}p[_ngcontent-%COMP%]{font-family:Poppins,sans-serif;align-self:start}#recaptcha-login-error-message[_ngcontent-%COMP%]{display:block;min-height:14px;font-family:Barlow,sans-serif;font-size:12px;margin-left:16px;width:100%}@media screen and (max-width:576px){p[_ngcontent-%COMP%]{align-self:center}}"]}),e})();var I=i(529);const U=[{path:"",component:F}];let A=(()=>{class e{}return e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=h.oAB({type:e}),e.\u0275inj=h.cJS({providers:[{provide:d.BZ,useValue:{siteKey:I.N.gReCaptchaSiteKey}}],imports:[[o.ez,s.Bz.forChild(U),a.UX,t.m,d.a,d.lQ]]}),e})()}}]);

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.