PageSourceSearch

https://vendor.nexgentaxes.com/4056.c9f9c00f0b32aa13.js

js nexgentaxes.com collected 2026-10-05 04:12:09 UTC 6,059 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4056],{44056:(F,p,o)=>{o.r(p),o.d(p,{AppPageModule:()=>T});var u=o(91368),a=o(44716),s=o(83068),g=o(89192),c=o(73448),e=o(32116),f=o(832),m=o(87264),v=o(77816),h=o(2132),y=o(62319),I=o(36032);function C(n,d){1&n&&(e.I0R(0,"div",5),e.wR5(1,"ion-spinner",6),e.I0R(2,"h6"),e.OEk(3,"loading.."),e.C$Y()())}function A(n,d){1&n&&(e.I0R(0,"div",7)(1,"div",8),e.wR5(2,"ion-icon",9),e.C$Y(),e.I0R(3,"h2",10),e.OEk(4,"2FA Enabled"),e.C$Y()())}function R(n,d){1&n&&(e.I0R(0,"div",12)(1,"div",13)(2,"div",18),e.OEk(3,"1"),e.C$Y()(),e.I0R(4,"div",14)(5,"p",19),e.OEk(6," Scan this QR Code with the"),e.wR5(7,"br"),e.OEk(8,"Google Authenticator app "),e.C$Y(),e.I0R(9,"p",28),e.OEk(10," Save this QR code somewhere safe."),e.wR5(11,"br"),e.OEk(12,"Once activated you may not recover it "),e.C$Y()()())}function P(n,d){1&n&&(e.I0R(0,"span"),e.OEk(1,"Verify"),e.C$Y())}function G(n,d){1&n&&e.wR5(0,"ion-spinner",29)}function E(n,d){if(1&n){const t=e.KQA();e.I0R(0,"section",11)(1,"div",12),e.wR5(2,"div",13),e.I0R(3,"div",14),e.wR5(4,"img",15),e.C$Y()(),e.yuY(5,R,13,0,"div",16),e.I0R(6,"div",12),e.wR5(7,"div",13),e.I0R(8,"div",14),e.wR5(9,"div",17),e.C$Y()(),e.I0R(10,"div",12)(11,"div",13)(12,"div",18),e.OEk(13,"2"),e.C$Y()(),e.I0R(14,"div",14)(15,"p",19),e.OEk(16," Enter the code from your Google Authenticator app "),e.C$Y(),e.I0R(17,"form",20,21),e.qCj("ngSubmit",function(){e.usT(t);const r=e.GaO();return e.CGJ(r.preVerifyAlert())}),e.I0R(19,"div",22)(20,"ion-input",23,24),e.iHE("ngModelChange",function(r){e.usT(t);const l=e.GaO();return e.kNx(l.otpCode,r)||(l.otpCode=r),e.CGJ(r)}),e.qCj("input",function(r){e.usT(t);const l=e.GaO();return e.CGJ(l.formatCode(r))}),e.C$Y()()(),e.I0R(22,"button",25),e.yuY(23,P,2,0,"span",26)(24,G,1,0,"ion-spinner",27),e.C$Y()()()()}if(2&n){const t=e.GaO();e.yG2(4),e.E7m("src",t.qrCode,e.K6U),e.yG2(),e.E7m("ngIf",!t.alreadyHasQr),e.yG2(15),e.OKB("ngModel",t.otpCode),e.yG2(3),e.E7m("ngIf",!t.submittingSpinner),e.yG2(),e.E7m("ngIf",t.submittingSpinner)}}const O=[{path:"",component:(()=>{class n{api;firebaseApi;userProvider;util;isLoading=!1;alreadyHasQr=!1;submittingSpinner=!1;secret="";qrCode="";otpCode="";alreadyVerified=!1;constructor(t,i,r,l){this.api=t,this.firebaseApi=i,this.userProvider=r,this.util=l}ngOnInit(){var t=this;return(0,c.c)(function*(){t.userProvider.loggedInUser.id?(t.checkVerificationStatus(),t.isLoading=!0,t.secret=yield t.api.newUserG2FA(),t.qrCode=yield t.api.enrollUserG2FA(t.secret,t.userProvider.loggedInUser.email),t.isLoading=!1):t.util.navigateRoot(["/login"])})()}checkVerificationStatus(){this.userProvider.loggedInUser.verifiedAuth&&"app"===this.userProvider.loggedInUser.twoFAMethod&&(this.alreadyVerified=!0)}formatCode(t){let i=t.target.value.replace(/[^\d]/g,"");const r=i.length;i=r>7?i.substr(0,7):i,i=r>3?i.substr(0,3)+" "+i.substr(3,r):i,this.otpCode=i}verify(){var t=this;return(0,c.c)(function*(){try{t.submittingSpinner=!0;const i=t.otpCode.trim().replace(" ","");"True"===(yield t.api.validateUserG2FA(t.secret,i))?(yield t.firebaseApi.updateOne("users",t.userProvider.loggedInUser.id,{googleAuthSecret:t.secret,twoFA:!0,twoFAMethod:"app"}),t.userProvider.loggedInUser.googleAuthSecret=t.secret,t.userProvider.loggedInUser.twoFA=!0,t.userProvider.loggedInUser.twoFAMethod="app",yield t.userProvider.logout()):t.util.createErrorAlert(null,"Your OTP was incorrect")}catch(i){alert(i)}finally{t.submittingSpinner=!1}})()}preVerifyAlert(){var t=this;return(0,c.c)(function*(){yield(yield t.util.createAlert("You will be logged out.",!0,"To add or edit a 2FA method, you will be asked to log back in after verification",{text:"Cancel",role:"cancel",handler:()=>{}},{text:"Accept",handler:()=>{t.verify()}})).present()})()}requestQR(){var t=this;return(0,c.c)(function*(){t.qrCode=yield t.api.enrollUserG2FA(t.secret,t.userProvider.loggedInUser.email),t.alreadyHasQr=!1})()}static \u0275fac=function(i){return new(i||n)(e.GI1(f.W),e.GI1(m.H),e.GI1(v.e),e.GI1(h.e))};static \u0275cmp=e.In1({type:n,selectors:[["app-app"]],decls:7,vars:5,consts:[[1,"app-container"],[3,"contentWidth","hero"],["id","spinner",4,"ngIf"],["id","allSet","class","flex-center-xy",4,"ngIf"],["id","content",4,"ngIf"],["id","spinner"],["name","circles","color","primary"],["id","allSet",1,"flex-center-xy"],[1,"checkmark"],["name","checkmark"],[1,"b-c"],["
1id","content"],[1,"step-container"],[1,"left"],[1,"right"],["alt","",3,"src"],["class","step-container",4,"ngIf"],[1,"divider"],[1,"step-number"],[1,"step-info"],["id","form",3,"ngSubmit"],["form","ngForm"],[1,"input-container"],["name","email","type","text","required","","minlength","7","maxlength","7",1,"code-font",3,"ngModel","ngModelChange","input"],["email","ngModel"],["type","submit","form","form",1,"custom-btn"],[4,"ngIf"],["color","light","name","circles",4,"ngIf"],[1,"alert"],["color","light","name","circles"]],template:function(i,r){1&i&&(e.I0R(0,"ion-content")(1,"div",0),e.wR5(2,"app-header"),e.I0R(3,"app-split-page",1),e.yuY(4,C,4,0,"div",2)(5,A,5,0,"div",3)(6,E,25,5,"section",4),e.C$Y()()()),2&i&&(e.yG2(3),e.E7m("contentWidth",25)("hero","assets/2fahero.svg"),e.yG2(),e.E7m("ngIf",r.isLoading),e.yG2(),e.E7m("ngIf",!r.isLoading&&r.alreadyVerified),e.yG2(),e.E7m("ngIf",!r.isLoading&&!r.alreadyVerified))},dependencies:[u.u_,a.sz,a.ue,a.u,a.eJ,a.El,a.Mj,a._G,a.SC,s._i,s.Ko,s.A5,s.YA,s.qG,y.g,I.k],styles:[".alert[_ngcontent-%COMP%]{color:#ff0000a9;font-size:.7rem;text-align:center;margin:20px 0 0}#spinner[_ngcontent-%COMP%]{text-align:center}#spinner[_ngcontent-%COMP%]   h6[_ngcontent-%COMP%]{color:gray;text-align:center;font-size:.8rem;margin:0}"]})}return n})()}];let Y=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=e.a4G({type:n});static \u0275inj=e.s3X({imports:[g.qQ.forChild(O),g.qQ]})}return n})();var M=o(59952),S=o(87560),x=o(48396);let T=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=e.a4G({type:n});static \u0275inj=e.s3X({imports:[u.MD,a.y,s.wZ,Y,M.S,S.l,x.S]})}return n})()}}]);

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.