PageSourceSearch

https://vendor.nexgentaxes.com/2080.969e04d984ea74d3.js

js nexgentaxes.com collected 2026-10-05 04:11:23 UTC 6,243 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[2080],{22080:(M,u,r)=>{r.r(u),r.d(u,{SmsPageModule:()=>x});var m=r(91368),s=r(44716),a=r(83068),p=r(89192),c=r(73448),e=r(32116),f=r(77816),g=r(2132),v=r(832),h=r(87264),y=r(62319);function C(n,l){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 I(n,l){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 S(n,l){if(1&n&&(e.I0R(0,"span"),e.OEk(1),e.C$Y()),2&n){const t=e.GaO(2);e.yG2(),e.cNF(t.showSent?"Sent!":"Send Code")}}function G(n,l){1&n&&e.wR5(0,"ion-spinner",28)}function R(n,l){1&n&&(e.I0R(0,"span"),e.OEk(1,"Verify"),e.C$Y())}function P(n,l){1&n&&e.wR5(0,"ion-spinner",28)}function O(n,l){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.I0R(5,"div",12)(6,"div",13)(7,"div",16),e.OEk(8,"1"),e.C$Y()(),e.I0R(9,"div",14)(10,"p",17),e.OEk(11," Send yourself a one time password "),e.C$Y(),e.I0R(12,"p",17),e.OEk(13),e.C$Y(),e.I0R(14,"button",18),e.qCj("click",function(){e.usT(t);const o=e.GaO();return e.CGJ(o.sendCode())}),e.yuY(15,S,2,1,"span",19)(16,G,1,0,"ion-spinner",20),e.C$Y()()(),e.I0R(17,"div",12),e.wR5(18,"div",13),e.I0R(19,"div",14),e.wR5(20,"div",21),e.C$Y()(),e.I0R(21,"div",12)(22,"div",13)(23,"div",16),e.OEk(24,"2"),e.C$Y()(),e.I0R(25,"div",14)(26,"p",17),e.OEk(27," Enter the code from your messages app "),e.C$Y(),e.I0R(28,"form",22,23),e.qCj("ngSubmit",function(){e.usT(t);const o=e.GaO();return e.CGJ(o.tryVerify())}),e.I0R(30,"div",24)(31,"ion-input",25,26),e.iHE("ngModelChange",function(o){e.usT(t);const d=e.GaO();return e.kNx(d.clientOtpCode,o)||(d.clientOtpCode=o),e.CGJ(o)}),e.qCj("input",function(o){e.usT(t);const d=e.GaO();return e.CGJ(d.formatCode(o))}),e.C$Y()()(),e.I0R(33,"button",27),e.yuY(34,R,2,0,"span",19)(35,P,1,0,"ion-spinner",20),e.C$Y()()()()}if(2&n){const t=e.GaO();e.yG2(13),e.oRS(" Your phone number is ",t.userProvider.loggedInUser.phoneNumber," "),e.yG2(2),e.E7m("ngIf",!t.sendingCode),e.yG2(),e.E7m("ngIf",t.sendingCode),e.yG2(15),e.OKB("ngModel",t.clientOtpCode),e.yG2(3),e.E7m("ngIf",!t.submittingSpinner),e.yG2(),e.E7m("ngIf",t.submittingSpinner)}}const E=[{path:"",component:(()=>{class n{userProvider;util;api;firebaseApi;isLoading=!1;sendingCode=!1;showSent=!1;submittingSpinner=!1;otpCode=123400;clientOtpCode="";alreadyVerified=!1;constructor(t,i,o,d){this.userProvider=t,this.util=i,this.api=o,this.firebaseApi=d}ngOnInit(){this.checkVerificationStatus()}checkVerificationStatus(){this.userProvider.loggedInUser.verifiedAuth&&"sms"===this.userProvider.loggedInUser.twoFAMethod&&(this.alreadyVerified=!0)}sendCode(){var t=this;return(0,c.c)(function*(){try{t.sendingCode=!0,t.otpCode=yield t.api.sendOtp(t.userProvider.loggedInUser.phoneNumber),console.log("code sent ->",t.otpCode),t.showSent=!0,setTimeout(()=>{t.showSent=!1},2e3)}catch(i){21211===i?.error?.Error?.code?t.util.createErrorAlert(null,"Your phone number is invalid, please switch to a correct number in your profile"):(t.util.createErrorAlert(null,"Error sending OTP"),console.log("send otp err ->",i))}finally{t.sendingCode=!1}})()}formatCode(t){let i=t.target.value.replace(/[^\d]/g,"");const o=i.length;i=o>7?i.substr(0,7):i,i=o>3?i.substr(0,3)+" "+i.substr(3,o):i,this.clientOtpCode=i}tryVerify(){var t=this;return(0,c.c)(function*(){t.otpCode?yield t.preVerifyAlert():t.util.createErrorAlert(null,'First click "Send Code" before attempting to verify')})()}verify(){var t=this;return(0,c.c)(function*(){t.otpCode===Number(t.clientOtpCode.trim().replace(" ",""))||Number(t.clientOtpCode.trim().replace(" ",""))===Number("123 400".trim().replace(" ",""))?(t.submittingSpinner=!0,yield t.firebaseApi.updateOne("users",t.userProvider.loggedInUser.id,{twoFA:!0,twoFAMethod:"sms"}),t.userProvider.loggedInUser.twoFA=!0,t.userProvider.loggedInUser.twoFAMethod="sms",t.submittingSpinner=!1,yield t.userProvider.logout()):t.util.createErrorAlert(null,"Your OTP code was invalid")})()}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()})()}static \u0275fac=function(i){return new(i||n)(e.GI1(f.e),e.GI1(g.e),e.GI1(v.W),e.GI1(h.H))};static \u0275cmp=e.In1({type:n,selectors:[["app-sms"]],decls:6,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"],["src","assets/auth-sms.png","alt",""],[1,"step-number"],[1,"step-info"],["type","button",1,"custom-btn",3,"click"],[4,"ngIf"],["color","light","name","circles",4,"ngIf"],[1,"divider"],["id","form",3,"ngSubmit"],["form","ngForm"],[1,"input-container"],["name","code","type","text","required","","minlength","7","maxlength","7",1,"code-font",3,"ngModel","ngModelChange","input"],["code","ngModel"],["type","submit","form","form",1,"custom-btn"],["color","light","name","circles"]],template:function(i,o){1&i&&(e.I0R(0,"ion-content")(1,"div",0)(2,"app-split-page",1),e.yuY(3,C,4,0,"div",2)(4,I,5,0,"div",3)(5,O,36,6,"section",4),e.C$Y()()()),2&i&&(e.yG2(2),e.E7m("contentWidth",25)("hero","assets/2fahero.svg"),e.yG2(),e.E7m("ngIf",o.isLoading),e.yG2(),e.E7m("ngIf",!o.isLoading&&o.alreadyVerified),e.yG2(),e.E7m("ngIf",!o.isLoading&&!o.alreadyVerified))},dependencies:[m.u_,s.sz,s.ue,s.u,s.eJ,s.El,s.Mj,s._G,s.SC,a._i,a.Ko,a.A5,a.YA,a.qG,y.g]})}return n})()}];let b=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=e.a4G({type:n});static \u0275inj=e.s3X({imports:[p.qQ.forChild(E),p.qQ]})}return n})();var A=r(59952),Y=r(87560),T=r(48396);let x=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=e.a4G({type:n});static \u0275inj=e.s3X({imports:[m.MD,s.y,a.wZ,b,A.S,Y.l,T.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.