PageSourceSearch

https://vendor.nexgentaxes.com/6434.56847f797de8f296.js

js nexgentaxes.com collected 2026-10-05 04:12:54 UTC 11,337 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[6434],{832:(Y,M,i)=>{i.d(M,{W:()=>F});var y=i(73448),h=i(97048),u=i(112),O=i(31252),d=i(95448),t=i(50560),I=i(14912),C=i(87773),G=i(69399);const T=(0,I.w)(c=>function(s=null){c(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=s});function P(c,m){const{first:s,each:e,with:a=R,scheduler:n=m??u.M,meta:r=null}=(0,O.e)(c)?{first:c}:"number"==typeof c?{each:c}:c;if(null==s&&null==e)throw new TypeError("No timeout provided.");return(0,d.i)((o,l)=>{let f,p,g=null,x=0;const D=A=>{p=(0,G._)(l,n,()=>{try{f.unsubscribe(),(0,t.Uv)(a({meta:r,lastValue:g,seen:x})).subscribe(l)}catch($){l.error($)}},A)};f=o.subscribe((0,C.e)(l,A=>{p?.unsubscribe(),x++,l.next(g=A),e>0&&D(e)},void 0,void 0,()=>{p?.closed||p?.unsubscribe(),g=null})),!x&&D(null!=s?"number"==typeof s?s:+s-n.now():e)})}function R(c){throw new T(c)}var S=i(528),b=i(83120);function w(c=1/0){let m;m=c&&"object"==typeof c?c:{count:c};const{count:s=1/0,delay:e,resetOnSuccess:a=!1}=m;return s<=0?S.Z:(0,d.i)((n,r)=>{let l,o=0;const f=()=>{let p=!1;l=n.subscribe((0,C.e)(r,g=>{a&&(o=0),r.next(g)},void 0,g=>{if(o++<s){const x=()=>{l?(l.unsubscribe(),l=null,f()):p=!0};if(null!=e){const D="number"==typeof e?(0,b.k)(e):(0,t.Uv)(e(g,o)),A=(0,C.e)(r,()=>{A.unsubscribe(),x()},()=>{r.complete()});D.subscribe(A)}else x()}else r.error(g)})),p&&(l.unsubscribe(),l=null,f())};f()})}var v=i(36716),E=i(32116),U=i(94292);let F=(()=>{class c{http;photoService;constructor(s,e){this.http=s,this.photoService=e}uploadImage(s){var e=this;return new Promise(function(){var a=(0,y.c)(function*(n,r){try{const o=new FormData;o.append("fi",s),n((yield e.photoService.uploadPhotoToS3(o)).Location)}catch(o){r(o)}});return function(n,r){return a.apply(this,arguments)}}())}sendOtp(s){return new Promise((e,a)=>{s||a("No phone number, please refresh browser");const n=v.O.apiBase+"sendOTP",r={number:s.replace(/-/g,"")};this.http.post(n,r).subscribe(e,a)})}newUserG2FA(){return new Promise((s,e)=>{const a=new h.UD({"x-rapidapi-key":"4454e0f926mshef5aae0fb777da9p128cf5jsn4402fc8b7ca8"});this.http.get("https://google-authenticator.p.rapidapi.com/new/",{headers:a,responseType:"text"}).subscribe(r=>{if(r.includes("Your new secret: ")){const o=r.split("Your new secret: ")[1].trim();s(o)}else e("No secret sent")},r=>e(r))})}enrollUserG2FA(s,e){return new Promise((a,n)=>{const r=new h.UD({"x-rapidapi-key":"4454e0f926mshef5aae0fb777da9p128cf5jsn4402fc8b7ca8"});let o=new h.i4;o=o.append("secret",s),o=o.append("account",e),o=o.append("issuer","NexGen Vendor"),this.http.get("https://google-authenticator.p.rapidapi.com/enroll/",{headers:r,responseType:"text",params:o}).subscribe(a,n)})}validateUserG2FA(s,e){return new Promise((a,n)=>{const r=new h.UD({"x-rapidapi-key":"4454e0f926mshef5aae0fb777da9p128cf5jsn4402fc8b7ca8"});let o=new h.i4;o=o.append("secret",s),o=o.append("code",e),this.http.get("https://google-authenticator.p.rapidapi.com/validate/",{headers:r,responseType:"text",params:o}).subscribe(f=>{a(f)},f=>n(f))})}createCustomer(s,e){const a={headers:new h.UD({async:"true",crossDomain:"true","content-type":"application/x-www-form-urlencoded",authorization:"Bearer "+v.O.stripe.secret,"cache-control":"no-cache","Access-Control-Allow-Origin":"*"})},n=(new h.i4).set("description",s.description).set("email",s.email).set("phone",s.phone).set("name",s.name);return this.http.post(e,n,a).pipe(P(6e3),w(1))}checkCustomer(s){const e={headers:new h.UD({async:"true",crossDomain:"true","content-type":"application/json",authorization:"Bearer "+v.O.stripe.secret,"cache-control":"no-cache","Access-Control-Allow-Origin":"*"})};return this.http.post(s,{},e).pipe(P(6e3),w(1))}attachPmToCustomer(s,e){const a={headers:new h.UD({async:"true",crossDomain:"true","content-type":"application/x-www-form-urlencoded",authorization:"Bearer "+v.O.stripe.secret,"cache-control":"no-cache","Access-Control-Allow-Origin":"*"})},n=(new h.i4).set("customer",s.customer);return this.http.post(e,n,a).pipe(P(6e3),w(1))}stripePay(s,e){const a={headers:new h.UD({async:"true",crossDomain:"true","content-type":"application/x-www-form-urlencoded",authorization:"Bearer "+v.O.stripe.secret,"cache-control":"no-cache","Access-Control-Allow-Origin":"*"})},n=(new h.i4).set("amount",s.amount).set("currency",s.currency).set("customer",s.customer).set("payment_method",s.payment_method).set("confirm",s.confirm).set("error_on_requires_action",s.error_on_requires_action);return this.http.post(e,n,a).pipe(P(6e3),w(1))}postHttpData(s,e){return new Promise((a,n)=>{const r={headers:new h.UD({api_key:v.O.apiBaseKey})};
1try{this.http.post(s,e,r).pipe().subscribe({next:()=>{console.log("next....."),a(!0)},error:o=>{console.log("error.....",o),n(o)},complete:()=>console.log("completed.....")})}catch(o){n(o)}})}static \u0275fac=function(e){return new(e||c)(E.CoB(h.KK),E.CoB(U.s))};static \u0275prov=E.wxM({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})()},36434:(Y,M,i)=>{i.r(M),i.d(M,{ChooseAuthMethodPageModule:()=>s});var y=i(91368),h=i(44716),u=i(83068),O=i(89192),d=i(73448),t=i(32116),I=i(2132),C=i(832),G=i(77816),T=i(62319);function P(e,a){1&e&&(t.I0R(0,"span"),t.OEk(1,"Proceed to Setup"),t.C$Y())}function R(e,a){1&e&&t.wR5(0,"ion-spinner",21)}const S=(e,a)=>({selected:e,deselected:a}),b=e=>({hidden:e}),w=e=>({hide:e}),E=[{path:"",component:(()=>{class e{util;api;userProvider;method;submittingSpinner=!1;selectedMethod;constructor(n,r,o){this.util=n,this.api=r,this.userProvider=o}ngOnInit(){this.initMethods()}ionViewWillEnter(){this.initMethods()}ionViewDidload(){}initMethods(){this.userProvider.loggedInUser.twoFAMethod&&(this.selectedMethod=this.userProvider.loggedInUser.twoFAMethod,this.method=this.selectedMethod)}select(n){this.method=n}submit(){var n=this;return(0,d.c)(function*(){n.selectedMethod&&n.selectedMethod!==n.method?n.switchMethodAlert():n.proceed()})()}proceed(){var n=this;return(0,d.c)(function*(){try{n.submittingSpinner=!0,n.util.navigateForward(`/onboarding/choose-auth-method/${n.method}`)}catch(r){alert(r)}finally{n.submittingSpinner=!1}})()}switchMethodAlert(){var n=this;return(0,d.c)(function*(){yield(yield n.util.createAlert("Switch 2FA Method?",!0,`You are about to switch your authentication method from ${"sms"===n.selectedMethod?"SMS Message":"Google Authenticator"} to ${"sms"===n.method?"SMS Message":"Google Authenticator"}. Do you wish to proceed?`,{text:"Cancel",role:"cancel",handler:()=>{}},{text:"Yes",handler:()=>{n.proceed()}})).present()})()}static \u0275fac=function(r){return new(r||e)(t.GI1(I.e),t.GI1(C.W),t.GI1(G.e))};static \u0275cmp=t.In1({type:e,selectors:[["app-choose-auth-method"]],decls:36,vars:21,consts:[[1,"app-container"],[3,"contentWidth","hero"],["id","mainContent"],["id","header"],[1,"disclaimer"],[1,"disclaimer","d-small"],["id","faOptions"],["id","app",1,"fa-option","flex-center-xy",3,"ngClass","click"],[1,"icon"],["src","assets/auth-app.png","alt",""],[1,"text"],[1,"subtext",3,"ngClass"],["id","sms",1,"fa-option","flex-center-xy",3,"ngClass","click"],["src","assets/auth-sms.png","alt",""],["button","",3,"ngClass"],[1,"ion-justify-content-center"],["sizeLg","10","size","10"],["size","12",1,"ion-text-center"],["type","button",1,"custom-btn",3,"click"],[4,"ngIf"],["color","light","name","circles",4,"ngIf"],["color","light","name","circles"]],template:function(r,o){1&r&&(t.I0R(0,"ion-content")(1,"div",0)(2,"app-split-page",1)(3,"div",2)(4,"div",3)(5,"h6"),t.OEk(6,"Choose your two factor"),t.wR5(7,"br"),t.OEk(8,"authentication method"),t.C$Y(),t.I0R(9,"p",4),t.OEk(10," Two factor authentication will keep your account safe. "),t.C$Y(),t.I0R(11,"p",5),t.OEk(12," Please note, in order to use Google Authenticator, you must have an account with the provider, and download their app to your phone. "),t.C$Y()(),t.I0R(13,"div",6)(14,"div",7),t.qCj("click",function(){return o.select("app")}),t.I0R(15,"div",8),t.wR5(16,"img",9),t.C$Y(),t.I0R(17,"p",10),t.OEk(18,"Google Authenticator"),t.C$Y(),t.I0R(19,"p",11),t.OEk(20," Currently Enabled "),t.C$Y()(),t.I0R(21,"div",12),t.qCj("click",function(){return o.select("sms")}),t.I0R(22,"div",8),t.wR5(23,"img",13),t.C$Y(),t.I0R(24,"p",10),t.OEk(25,"SMS"),t.C$Y(),t.I0R(26,"p",11),t.OEk(27," Currently Enabled "),t.C$Y()()()(),t.I0R(28,"section",14)(29,"ion-row",15)(30,"ion-col",16)(31,"ion-row",15)(32,"ion-col",17)(33,"button",18),t.qCj("click",function(){return o.submit()}),t.yuY(34,P,2,0,"span",19)(35,R,1,0,"ion-spinner",20),t.C$Y()()()()()()()()()),2&r&&(t.yG2(2),t.E7m("contentWidth",25)("hero","assets/stripehero.svg"),t.yG2(12),t.E7m("ngClass",t.IBC(9,S,"app"===o.method,"sms"===o.method)),t.yG2(5),t.E7m("ngClass",t.S45(12,b,"app"!==o.selectedMethod)),t.yG2(2),t.E7m("ngClass",t.IBC(14,S,"sms"===o.method,"app"===o.method)),t.yG2(5),t.E7m("ngClass",t.S45(17,b,"sms"!==o.selectedMethod)),t.yG2(2),t.E7m("ngClass",t.S45(19,w,!o.method)),t.yG2(6),t.E7m("ngIf",!o.submittingSpinner),t.yG2(),t.E7m("ngIf",o.submittingSpinner))},dependencies:[y.QF,y.u_,u.Kk,u._i,u.qo,u.YA,T.g],styles:["#header[_ngcontent-%COMP%]   h6[_ngcontent-%COMP%]{color:var(--ion-color-primary);font-size:1.2rem;font-weight:700;text-align:center;margin:0;height:50px}#header[_ngcontent-%COMP%]   p.disclaimer[_ngcontent-%COMP%]{color:gray;text-align:center;font-size:.9rem}#header[_ngcontent-%COMP%]   p.disclaimer.d-small[_ngcontent-%COMP%]{font-size:.8rem}#faOptions[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;margin:30px 0}#faOptions[_ngcontent-%COMP%]   .fa-option[_ngcontent-%COMP%]{cursor:pointer;border:3px solid rgb(216,216,216);border-radius:8px;width:45%;padding:20px}#faOptions[_ngcontent-%COMP%]   .fa-option.selected[_ngcontent-%COMP%]{border-color:var(--ion-color-primary)}#faOptions[_ngcontent-%COMP%]   .fa-option.deselected[_ngcontent-%COMP%]{opacity:.3}#faOptions[_ngcontent-%COMP%]   .fa-option[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:50px}#faOptions[_ngcontent-%COMP%]   .fa-option[_ngcontent-%COMP%]   p.text[_ngcontent-%COMP%]{font-size:.8rem;font-weight:600;margin:0;height:40px;min-height:40px;max-height:40px;
1display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center}#faOptions[_ngcontent-%COMP%]   .fa-option[_ngcontent-%COMP%]   p.subtext[_ngcontent-%COMP%]{font-size:.6rem;color:green;margin:0;text-align:center}#faOptions[_ngcontent-%COMP%]   .fa-option[_ngcontent-%COMP%]   .hidden[_ngcontent-%COMP%], .hide[_ngcontent-%COMP%]{visibility:hidden}"]})}return e})()},{path:"app",loadChildren:()=>Promise.all([i.e(6032),i.e(4056)]).then(i.bind(i,44056)).then(e=>e.AppPageModule)},{path:"sms",loadChildren:()=>i.e(2080).then(i.bind(i,22080)).then(e=>e.SmsPageModule)}];let U=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=t.a4G({type:e});static \u0275inj=t.s3X({imports:[O.qQ.forChild(E),O.qQ]})}return e})();var F=i(59952),c=i(87560),m=i(48396);let s=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=t.a4G({type:e});static \u0275inj=t.s3X({imports:[y.MD,h.y,u.wZ,U,F.S,c.l,m.S]})}return e})()},59952:(Y,M,i)=>{i.d(M,{S:()=>O});var y=i(91368),h=i(83068),u=i(32116);let O=(()=>{class d{static \u0275fac=function(C){return new(C||d)};static \u0275mod=u.a4G({type:d});static \u0275inj=u.s3X({imports:[y.MD,h.wZ]})}return d})()}}]);

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.