PageSourceSearch

https://vendor.nexgentaxes.com/5012.beb6e778f95ede66.js

js nexgentaxes.com collected 2026-10-05 04:12:24 UTC 34,096 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[5012],{832:(j,N,a)=>{a.d(N,{W:()=>H});var G=a(73448),c=a(97048),v=a(112),O=a(31252),h=a(95448),e=a(50560),U=a(14912),w=a(87773),S=a(69399);const F=(0,U.w)(m=>function(s=null){m(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=s});function T(m,x){const{first:s,each:l,with:p=B,scheduler:u=x??v.M,meta:g=null}=(0,O.e)(m)?{first:m}:"number"==typeof m?{each:m}:m;if(null==s&&null==l)throw new TypeError("No timeout provided.");return(0,h.i)((d,_)=>{let P,y,b=null,M=0;const A=E=>{y=(0,S._)(_,u,()=>{try{P.unsubscribe(),(0,e.Uv)(p({meta:g,lastValue:b,seen:M})).subscribe(_)}catch(J){_.error(J)}},E)};P=d.subscribe((0,w.e)(_,E=>{y?.unsubscribe(),M++,_.next(b=E),l>0&&A(l)},void 0,void 0,()=>{y?.closed||y?.unsubscribe(),b=null})),!M&&A(null!=s?"number"==typeof s?s:+s-u.now():l)})}function B(m){throw new F(m)}var z=a(528),$=a(83120);function R(m=1/0){let x;x=m&&"object"==typeof m?m:{count:m};const{count:s=1/0,delay:l,resetOnSuccess:p=!1}=x;return s<=0?z.Z:(0,h.i)((u,g)=>{let _,d=0;const P=()=>{let y=!1;_=u.subscribe((0,w.e)(g,b=>{p&&(d=0),g.next(b)},void 0,b=>{if(d++<s){const M=()=>{_?(_.unsubscribe(),_=null,P()):y=!0};if(null!=l){const A="number"==typeof l?(0,$.k)(l):(0,e.Uv)(l(b,d)),E=(0,w.e)(g,()=>{E.unsubscribe(),M()},()=>{g.complete()});A.subscribe(E)}else M()}else g.error(b)})),y&&(_.unsubscribe(),_=null,P())};P()})}var k=a(36716),Y=a(32116),K=a(94292);let H=(()=>{class m{http;photoService;constructor(s,l){this.http=s,this.photoService=l}uploadImage(s){var l=this;return new Promise(function(){var p=(0,G.c)(function*(u,g){try{const d=new FormData;d.append("fi",s),u((yield l.photoService.uploadPhotoToS3(d)).Location)}catch(d){g(d)}});return function(u,g){return p.apply(this,arguments)}}())}sendOtp(s){return new Promise((l,p)=>{s||p("No phone number, please refresh browser");const u=k.O.apiBase+"sendOTP",g={number:s.replace(/-/g,"")};this.http.post(u,g).subscribe(l,p)})}newUserG2FA(){return new Promise((s,l)=>{const p=new c.UD({"x-rapidapi-key":"4454e0f926mshef5aae0fb777da9p128cf5jsn4402fc8b7ca8"});this.http.get("https://google-authenticator.p.rapidapi.com/new/",{headers:p,responseType:"text"}).subscribe(g=>{if(g.includes("Your new secret: ")){const d=g.split("Your new secret: ")[1].trim();s(d)}else l("No secret sent")},g=>l(g))})}enrollUserG2FA(s,l){return new Promise((p,u)=>{const g=new c.UD({"x-rapidapi-key":"4454e0f926mshef5aae0fb777da9p128cf5jsn4402fc8b7ca8"});let d=new c.i4;d=d.append("secret",s),d=d.append("account",l),d=d.append("issuer","NexGen Vendor"),this.http.get("https://google-authenticator.p.rapidapi.com/enroll/",{headers:g,responseType:"text",params:d}).subscribe(p,u)})}validateUserG2FA(s,l){return new Promise((p,u)=>{const g=new c.UD({"x-rapidapi-key":"4454e0f926mshef5aae0fb777da9p128cf5jsn4402fc8b7ca8"});let d=new c.i4;d=d.append("secret",s),d=d.append("code",l),this.http.get("https://google-authenticator.p.rapidapi.com/validate/",{headers:g,responseType:"text",params:d}).subscribe(P=>{p(P)},P=>u(P))})}createCustomer(s,l){const p={headers:new c.UD({async:"true",crossDomain:"true","content-type":"application/x-www-form-urlencoded",authorization:"Bearer "+k.O.stripe.secret,"cache-control":"no-cache","Access-Control-Allow-Origin":"*"})},u=(new c.i4).set("description",s.description).set("email",s.email).set("phone",s.phone).set("name",s.name);return this.http.post(l,u,p).pipe(T(6e3),R(1))}checkCustomer(s){const l={headers:new c.UD({async:"true",crossDomain:"true","content-type":"application/json",authorization:"Bearer "+k.O.stripe.secret,"cache-control":"no-cache","Access-Control-Allow-Origin":"*"})};return this.http.post(s,{},l).pipe(T(6e3),R(1))}attachPmToCustomer(s,l){const p={headers:new c.UD({async:"true",crossDomain:"true","content-type":"application/x-www-form-urlencoded",authorization:"Bearer "+k.O.stripe.secret,"cache-control":"no-cache","Access-Control-Allow-Origin":"*"})},u=(new c.i4).set("customer",s.customer);return this.http.post(l,u,p).pipe(T(6e3),R(1))}stripePay(s,l){const p={headers:new c.UD({async:"true",crossDomain:"true","content-type":"application/x-www-form-urlencoded",authorization:"Bearer "+k.O.stripe.secret,"cache-control":"no-cache","Access-Control-Allow-Origin":"*"})},u=(new c.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(l,u,p).pipe(T(6e3),R(1))}postHttpData(s,l){return new Promise((p,u)=>{const g={headers:new c.UD({api_key:k.O.apiBaseKey})};try{this.http.post(s,l,g).pipe().subscribe({next:()=>{console.log("next....."),p(!0)},error:d=>{console.log("error.....",d),u(d)},complete:()=>console.log("completed.....")})}catch(d){u(d)}})}static \u0275fac=function(l){return new(l||m)(Y.CoB(c.KK),Y.CoB(K.s))};static \u0275prov=Y.wxM({token:m,factory:m.\u0275fac,providedIn:"root"})}return m})()},25012:(j,N,a)=>{a.r(N),a.d(N,{PersonalInfoPageModule:()=>ee});var G=a(91368),c=a(44716),v=a(83068),O=a(89192),h=a(73448),e=a(32116),U=a(95657),w=a(34680),S=a(53616),F=a(2132),T=a(87264),B=a(77816),z=a(832),$=a(62319);const R=["personalInfoSlider"],k=["infoForm"],Y=["addressForm"],K=["businessForm"],H=["searchInputBox"],m=["autoCompleteBox"];function x(r,I){1&r&&(e.I0R(0,"div",35),e.OEk(1," Before you proceed further, please make sure you have entered your personal information correctly. All information you enter is secured and confidential. "),e.C$Y())}const s=r=>
1({"invalid-input":r});function l(r,I){if(1&r){const n=e.KQA();e.I0R(0,"section")(1,"form",null,13)(3,"div",14),e.wR5(4,"img",15),e.C$Y(),e.I0R(5,"ion-row",16)(6,"ion-col",5)(7,"div",17)(8,"h6"),e.OEk(9),e.C$Y(),e.yuY(10,x,2,0,"div",18),e.C$Y(),e.I0R(11,"div",19)(12,"span",20),e.OEk(13," First Name "),e.I0R(14,"span",21),e.OEk(15,"*"),e.C$Y()(),e.I0R(16,"ion-input",22,23),e.iHE("ngModelChange",function(i){e.usT(n);const o=e.GaO();return e.kNx(o.info.firstName,i)||(o.info.firstName=i),e.CGJ(i)}),e.qCj("ionInput",function(i){e.usT(n);const o=e.GaO();return e.CGJ(o.matchNickName(i))}),e.C$Y()()()(),e.I0R(18,"ion-row",24)(19,"ion-col",5)(20,"div",25)(21,"span",20),e.OEk(22,"Middle Name"),e.C$Y(),e.I0R(23,"ion-input",26,27),e.iHE("ngModelChange",function(i){e.usT(n);const o=e.GaO();return e.kNx(o.info.middleName,i)||(o.info.middleName=i),e.CGJ(i)}),e.C$Y()()()(),e.I0R(25,"ion-row",24)(26,"ion-col",5)(27,"div",19)(28,"span",20),e.OEk(29,"Last Name "),e.I0R(30,"span",21),e.OEk(31,"*"),e.C$Y()(),e.I0R(32,"ion-input",28,29),e.iHE("ngModelChange",function(i){e.usT(n);const o=e.GaO();return e.kNx(o.info.lastName,i)||(o.info.lastName=i),e.CGJ(i)}),e.C$Y()()()(),e.I0R(34,"ion-row",24)(35,"ion-col",5)(36,"div",25)(37,"span",20),e.OEk(38,"Nick Name"),e.C$Y(),e.I0R(39,"ion-input",30,31),e.iHE("ngModelChange",function(i){e.usT(n);const o=e.GaO();return e.kNx(o.info.nickName,i)||(o.info.nickName=i),e.CGJ(i)}),e.C$Y()()()(),e.I0R(41,"ion-row",24)(42,"ion-col",5)(43,"div",19)(44,"span",20),e.OEk(45,"Mobile #"),e.I0R(46,"span",21),e.OEk(47,"*"),e.C$Y()(),e.I0R(48,"ion-input",32,33),e.iHE("ngModelChange",function(i){e.usT(n);const o=e.GaO();return e.kNx(o.info.phoneNumber,i)||(o.info.phoneNumber=i),e.CGJ(i)}),e.qCj("input",function(i){e.usT(n);const o=e.GaO();return e.CGJ(o.formatPhone(i))}),e.C$Y()(),e.I0R(50,"div",34)(51,"strong"),e.OEk(52,"*"),e.C$Y(),e.OEk(53," (Verification code will be sent) "),e.C$Y()()()()()}if(2&r){const n=e.Gew(17),t=e.Gew(33),i=e.Gew(49),o=e.GaO();e.yG2(9),e.cNF(o.slideHeaderText),e.yG2(),e.E7m("ngIf",0===o.currentSlide),e.yG2(),e.E7m("ngClass",e.S45(10,s,o.clickedAndInvalid&&!n.valid)),e.yG2(5),e.OKB("ngModel",o.info.firstName),e.yG2(7),e.OKB("ngModel",o.info.middleName),e.yG2(4),e.E7m("ngClass",e.S45(12,s,o.clickedAndInvalid&&!t.valid)),e.yG2(5),e.OKB("ngModel",o.info.lastName),e.yG2(7),e.OKB("ngModel",o.info.nickName),e.yG2(4),e.E7m("ngClass",e.S45(14,s,o.clickedAndInvalid&&!i.valid)),e.yG2(5),e.OKB("ngModel",o.info.phoneNumber)}}function p(r,I){1&r&&(e.I0R(0,"div",39),e.wR5(1,"ion-spinner",40),e.I0R(2,"h6"),e.OEk(3,"loading.."),e.C$Y()())}function u(r,I){1&r&&(e.I0R(0,"div",41)(1,"div",42),e.wR5(2,"ion-icon",43),e.C$Y(),e.I0R(3,"h2",44),e.OEk(4,"Phone Verified"),e.C$Y()())}function g(r,I){1&r&&(e.I0R(0,"span"),e.OEk(1,"Verify"),e.C$Y())}function d(r,I){1&r&&e.wR5(0,"ion-spinner",62)}function _(r,I){1&r&&(e.I0R(0,"span"),e.OEk(1,"Send SMS"),e.C$Y())}function P(r,I){1&r&&e.wR5(0,"ion-spinner",63)}function y(r,I){if(1&r){const n=e.KQA();e.I0R(0,"section",45)(1,"h3",46),e.OEk(2,"Account Verification"),e.C$Y(),e.I0R(3,"div",47),e.OEk(4," Please enter the verification code we sent to your phone "),e.wR5(5,"br"),e.I0R(6,"span",48),e.OEk(7),e.C$Y(),e.I0R(8,"form",49,50),e.qCj("ngSubmit",function(){e.usT(n);const i=e.GaO(2);return e.CGJ(i.verify())}),e.I0R(10,"div",19)(11,"ion-input",51,52),e.iHE("ngModelChange",function(i){e.usT(n);const o=e.GaO(2);return e.kNx(o.clientOtpCode,i)||(o.clientOtpCode=i),e.CGJ(i)}),e.qCj("input",function(i){e.usT(n);const o=e.GaO(2);return e.CGJ(o.formatCode(i))}),e.C$Y()(),e.I0R(13,"div",53)(14,"button",54),e.yuY(15,g,2,0,"span",2)(16,d,1,0,"ion-spinner",10),e.C$Y()()()(),e.I0R(17,"div",55),e.OEk(18,"Didn't get the code?"),e.C$Y(),e.I0R(19,"div",47),e.OEk(20," If you have not received your verification code, "),e.wR5(21,"br"),e.OEk(22,"enter a correct phone # and then resend. "),e.C$Y(),e.I0R(23,"form",56,57)(25,"div",19)(26,"ion-input",58,59),e.iHE("ngModelChange",function(i){e.usT(n);const o=e.GaO(2);return e.kNx(o.userProvider.loggedInUser.phoneNumber,i)||(o.userProvider.loggedInUser.phoneNumber=i),e.CGJ(i)}),e.qCj("input",function(i){e.usT(n);const o=e.GaO(2);return e.CGJ(o.formatPhone(i))}),e.C$Y()(),e.I0R(28,"div",53)(29,"button",60),e.qCj("click",function(){e.usT(n);const i=e.GaO(2);return e.CGJ(i.sendCode())}),e.yuY(30,_,2,0,"span",2)(31,P,1,0,"ion-spinner",61),e.C$Y()()()()}if(2&r){const n=e.Gew(12),t=e.Gew(27),i=e.GaO(2);e.yG2(7),e.cNF(i.userProvider.loggedInUser.phoneNumber),e.yG2(3),e.E7m("ngClass",e.S45(9,s,i.clickedAndInvalid&&!n.valid)),e.yG2(),e.OKB("ngModel",i.clientOtpCode),e.yG2(4),e.E7m("ngIf",!i.submittingSpinner),e.yG2(),e.E7m("ngIf",i.submittingSpinner),e.yG2(9),e.E7m("ngClass",e.S45(11,s,i.clickedAndInvalid&&!t.valid)),e.yG2(),e.OKB("ngModel",i.userProvider.loggedInUser.phoneNumber),e.yG2(4),e.E7m("ngIf",!i.sendingCode),e.yG2(),e.E7m("ngIf",i.sendingCode)}}function b(r,I){if(1&r&&(e.I0R(0,"section")(1,"div",14),e.wR5(2,"img",15),e.C$Y(),e.yuY(3,p,4,0,"div",36)(4,u,5,0,"div",37)(5,y,32,13,"section",38),e.C$Y()),2&r){const n=e.GaO();e.yG2(3),e.E7m("ngIf",n.isLoading),e.yG2(),e.E7m("ngIf",n.userProvider.loggedInUser.twoFA&&n.userProvider.loggedInUser.twoFAMethod),e.yG2(),e.E7m("ngIf",!n.userProvider.loggedInUser.twoFA||!n.userProvider.loggedInUser.twoFAMethod)}}function M(r,I){if(1&r){const n=e.KQA();e.I0R(0,"section")(1,"form",null,64)(3,"div",14),e.wR5(4,"img",15),e.C$Y(),e.I0R(5,"div",65)(6,"ion-row",24)(7,"ion-col",5)(8,"div",17)(9,"h6"),e.OEk(10),e.C$Y()(),e.I0R(11,"div",66)(12,"div",19)(13,"span",20),e.OEk(14,"Street Address "),e.I0R(15,"span",21),e.OEk(16,"*"),e.C$Y()(),e.I0R(17,"div",67)(18,"ion-input",68,69),e.iHE("ngModelChange",function(i){e.usT(n);const o=e.GaO();return e.kNx(o.info.address.line1,i)||(o.info.address.line1=i),e.CGJ(i)}),e.C$Y()()()()()(),e.I0R(21,"div",70)(22,"ion-row",24)(23,"ion-col",5)(24,"div",25)(25,"span",20),e.OEk(26,"House/Apt #"),e.C$Y(),e.I0R(27,"ion-input",71,72),e.iHE("ngModelChange",function(i){e.usT(n);const o=e.GaO();return e.kNx(o.info.address.line2,i)||(o.info.address.line2=i),e.CGJ(i)}),e.C$Y()()()(),e.I0R(29,"ion-row",24)(30,"ion-col",5)(31,"div",19)(32,"span",20),e.OEk(33,"City "),e.I0R(34,"span",21),e.OEk(35,"*"),e.C$Y()(),e.I0R(36,"ion-input",73,74),e.iHE("ngModelChange",function(i){e.usT(n);const o=e.GaO();return e.kNx(o.info.address.city,i)||(o.info.address.city=i),e.CGJ(i)}),e.C$Y()()()(),e.I0R(38,"ion-row",24)(39,"ion-col",75)(40,"div",19)(41,"span",20),e.OEk(42,"State "),e.I0R(43,"span",21),e.OEk(44,"*"),e.C$Y()(),e.I0R(45,"ion-input",76,77),e.iHE("ngModelChange",function(i){e.usT(n);const o=e.GaO();return e.kNx(o.info.address.state,i)||(o.info.address.state=i),e.CGJ(i)}),e.C$Y()()(),e.I0R(47,"ion-col",75)(48,"div",19)(49,"span",20),e.OEk(50,"Zip Code "),e.I0R(51,"span",21),e.OEk(52,"*"),e.C$Y()(),e.I0R(53,"
1ion-input",78,79),e.iHE("ngModelChange",function(i){e.usT(n);const o=e.GaO();return e.kNx(o.info.address.zipcode,i)||(o.info.address.zipcode=i),e.CGJ(i)}),e.C$Y()()()()()()()()}if(2&r){const n=e.Gew(20),t=e.Gew(37),i=e.Gew(46),o=e.Gew(54),f=e.GaO();e.yG2(10),e.cNF(f.slideHeaderText),e.yG2(2),e.E7m("ngClass",e.S45(10,s,f.clickedAndInvalid&&!n.valid)),e.yG2(6),e.OKB("ngModel",f.info.address.line1),e.yG2(9),e.OKB("ngModel",f.info.address.line2),e.yG2(4),e.E7m("ngClass",e.S45(12,s,f.clickedAndInvalid&&!t.valid)),e.yG2(5),e.OKB("ngModel",f.info.address.city),e.yG2(4),e.E7m("ngClass",e.S45(14,s,f.clickedAndInvalid&&!i.valid)),e.yG2(5),e.OKB("ngModel",f.info.address.state),e.yG2(3),e.E7m("ngClass",e.S45(16,s,f.clickedAndInvalid&&!o.valid)),e.yG2(5),e.OKB("ngModel",f.info.address.zipcode)}}function A(r,I){if(1&r){const n=e.KQA();e.I0R(0,"section")(1,"form",null,80)(3,"div",14),e.wR5(4,"img",15),e.C$Y(),e.I0R(5,"div",65)(6,"ion-row",24)(7,"ion-col",5)(8,"div",17)(9,"h6"),e.OEk(10),e.C$Y()(),e.I0R(11,"div",19)(12,"span",20),e.OEk(13,"Name of Business "),e.I0R(14,"span",21),e.OEk(15,"*"),e.C$Y()(),e.I0R(16,"ion-input",81,82),e.iHE("ngModelChange",function(i){e.usT(n);const o=e.GaO();return e.kNx(o.info.business.name,i)||(o.info.business.name=i),e.CGJ(i)}),e.C$Y()(),e.I0R(18,"div",83),e.OEk(19,' No business name? use something descriptive, like "Smith\'s Tax Office" '),e.C$Y()()(),e.I0R(20,"ion-row",24)(21,"ion-col",5)(22,"div",19)(23,"span",20),e.OEk(24,"Business Phone # "),e.I0R(25,"span",21),e.OEk(26,"*"),e.C$Y()(),e.I0R(27,"ion-input",84,85),e.iHE("ngModelChange",function(i){e.usT(n);const o=e.GaO();return e.kNx(o.info.business.phoneNumber,i)||(o.info.business.phoneNumber=i),e.CGJ(i)}),e.qCj("input",function(i){e.usT(n);const o=e.GaO();return e.CGJ(o.formatPhoneBiz(i))}),e.C$Y()(),e.I0R(29,"div",83),e.OEk(30," No business phone? Use a number where you can retreive calls. "),e.C$Y()()(),e.I0R(31,"ion-row",24)(32,"ion-col",5)(33,"div",66)(34,"div",19)(35,"span",20),e.OEk(36,"Street Address "),e.I0R(37,"span",21),e.OEk(38,"*"),e.C$Y()(),e.I0R(39,"div",67)(40,"ion-input",86,87),e.iHE("ngModelChange",function(i){e.usT(n);const o=e.GaO();return e.kNx(o.info.business.address.line1,i)||(o.info.business.address.line1=i),e.CGJ(i)}),e.C$Y()()()()()(),e.I0R(43,"div",70)(44,"ion-row",24)(45,"ion-col",5)(46,"div",25)(47,"span",20),e.OEk(48,"House/Apt #"),e.C$Y(),e.I0R(49,"ion-input",71,72),e.iHE("ngModelChange",function(i){e.usT(n);const o=e.GaO();return e.kNx(o.info.business.address.line2,i)||(o.info.business.address.line2=i),e.CGJ(i)}),e.C$Y()()()(),e.I0R(51,"ion-row",24)(52,"ion-col",5)(53,"div",19)(54,"span",20),e.OEk(55,"City "),e.I0R(56,"span",21),e.OEk(57,"*"),e.C$Y()(),e.I0R(58,"ion-input",88,89),e.iHE("ngModelChange",function(i){e.usT(n);const o=e.GaO();return e.kNx(o.info.business.address.city,i)||(o.info.business.address.city=i),e.CGJ(i)}),e.C$Y()()()(),e.I0R(60,"ion-row",24)(61,"ion-col",75)(62,"div",19)(63,"span",20),e.OEk(64,"State "),e.I0R(65,"span",21),e.OEk(66,"*"),e.C$Y()(),e.I0R(67,"ion-input",90,91),e.iHE("ngModelChange",function(i){e.usT(n);const o=e.GaO();return e.kNx(o.info.business.address.state,i)||(o.info.business.address.state=i),e.CGJ(i)}),e.C$Y()()(),e.I0R(69,"ion-col",75)(70,"div",19)(71,"span",20),e.OEk(72,"Zip Code "),e.I0R(73,"span",21),e.OEk(74,"*"),e.C$Y()(),e.I0R(75,"ion-input",92,93),e.iHE("ngModelChange",function(i){e.usT(n);const o=e.GaO();return e.kNx(o.info.business.address.zipcode,i)||(o.info.business.address.zipcode=i),e.CGJ(i)}),e.C$Y()()()()()()()()}if(2&r){const n=e.Gew(17),t=e.Gew(28),i=e.Gew(42),o=e.Gew(59),f=e.Gew(68),D=e.Gew(76),C=e.GaO();e.yG2(10),e.cNF(C.slideHeaderText),e.yG2(),e.E7m("ngClass",e.S45(14,s,C.clickedAndInvalid&&!n.valid)),e.yG2(5),e.OKB("ngModel",C.info.business.name),e.yG2(6),e.E7m("ngClass",e.S45(16,s,C.clickedAndInvalid&&!t.valid)),e.yG2(5),e.OKB("ngModel",C.info.business.phoneNumber),e.yG2(7),e.E7m("ngClass",e.S45(18,s,C.clickedAndInvalid&&!i.valid)),e.yG2(6),e.OKB("ngModel",C.info.business.address.line1),e.yG2(9),e.OKB("ngModel",C.info.business.address.line2),e.yG2(4),e.E7m("ngClass",e.S45(20,s,C.clickedAndInvalid&&!o.valid)),e.yG2(5),e.OKB("ngModel",C.info.business.address.city),e.yG2(4),e.E7m("ngClass",e.S45(22,s,C.clickedAndInvalid&&!f.valid)),e.yG2(5),e.OKB("ngModel",C.info.business.address.state),e.yG2(3),e.E7m("ngClass",e.S45(24,s,C.clickedAndInvalid&&!D.valid)),e.yG2(5),e.OKB("ngModel",C.info.business.address.zipcode)}}function E(r,I){if(1&r){const n=e.KQA();e.I0R(0,"div",94),e.qCj("click",function(){e.usT(n);const i=e.GaO();return e.CGJ(i.prevSlide())}
1),e.wR5(1,"ion-icon",95),e.C$Y()}}function J(r,I){1&r&&(e.I0R(0,"span"),e.OEk(1,"Next"),e.C$Y())}function L(r,I){1&r&&e.wR5(0,"ion-spinner",62)}function Q(r,I){if(1&r){const n=e.KQA();e.I0R(0,"h6",96),e.qCj("click",function(){e.usT(n);const i=e.GaO();return e.CGJ(i.logout())}),e.OEk(1," Logout "),e.C$Y()}}function V(r,I){if(1&r){const n=e.KQA();e.I0R(0,"h6",96),e.qCj("click",function(){e.usT(n);const i=e.GaO();return e.CGJ(i.skip())}),e.OEk(1," Finish Later "),e.C$Y()}}const q=[{path:"",component:(()=>{class r{util;ngZone;renderer;firebaseApi;userProvider;api;ar;location;sliderRef;infoForm;addressForm;businessForm;searchInputBox;autoCompleteBox;searchResults$;searchSubject$=new U.E;isSearching=!1;currentSlide=0;showBack=!1;autoCompleteItems=[];keyedAddress=0;info={firstName:"",middleName:"",lastName:"",nickName:"",phoneNumber:"",address:{line1:"",line2:"",city:"",state:"",zipcode:""},business:{name:"",phoneNumber:"",address:{line1:"",line2:"",city:"",state:"",zipcode:""}}};slideOpts={pagination:!1,initialSlide:0,centeredSlides:!0,spaceBetween:0,loop:!1,speed:1e3,effect:"fade",slidesPerView:1};submittingSpinner=!1;clickedAndInvalid=!1;ngUnsubscribe=new U.E;isLoading=!1;sendingCode=!1;showSent=!1;otpCode;clientOtpCode="";clientPhone="";alreadyVerified=!1;_idx=0;constructor(n,t,i,o,f,D,C,ne){this.util=n,this.ngZone=t,this.renderer=i,this.firebaseApi=o,this.userProvider=f,this.api=D,this.ar=C,this.location=ne,this._idx=0,this.util.navigate("onboarding/pers
1onal-info/"+this._idx)}ngOnInit(){var n=this;return(0,h.c)(function*(){n.ar.params.subscribe(t=>{let i=+t.page;n._idx=i>=0?i:0}),n.searchResults$=n.searchSubject$.pipe((0,w.o)(500)),n.searchResults$.pipe((0,S.a)(n.ngUnsubscribe)).subscribe(function(){var t=(0,h.c)(function*(i){yield n.searchStreetOnChange(i),n.isSearching=!1});return function(i){return t.apply(this,arguments)}}()),n.userProvider.loggedInUser.phoneNumber&&(n.info.phoneNumber=n.userProvider.loggedInUser.phoneNumber),n.userProvider.loggedInUser.firstName&&(n.info={firstName:n.userProvider.loggedInUser.firstName?n.userProvider.loggedInUser.firstName:"",middleName:n.userProvider.loggedInUser.middleName?n.userProvider.loggedInUser.middleName:"",lastName:n.userProvider.loggedInUser.lastName?n.userProvider.loggedInUser.lastName:"",nickName:n.userProvider.loggedInUser.nickName?n.userProvider.loggedInUser.nickName:"",phoneNumber:n.userProvider.loggedInUser.phoneNumber?n.userProvider.loggedInUser.phoneNumber:"",address:{line1:n.userProvider.loggedInUser.address?.line1?n.userProvider.loggedInUser.address?.line1:"",line2:n.userProvider.loggedInUser.address?.line2?n.userProvider.loggedInUser.address?.line2:"",city:n.userProvider.loggedInUser.address?.city?n.userProvider.loggedInUser.address?.city:"",state:n.userProvider.loggedInUser.address?.state?n.userProvider.loggedInUser.address?.state:"",zipcode:n.userProvider.loggedInUser.address?.zipcode?n.userProvider.loggedInUser.address?.zipcode:""},business:{name:n.userProvider.loggedInUser.business?.name?n.userProvider.loggedInUser.business?.name:"",phoneNumber:n.userProvider.loggedInUser.business?.phoneNumber?n.userProvider.loggedInUser.business?.phoneNumber:"",address:{line1:n.userProvider.loggedInUser.business?.address?.line1?n.userProvider.loggedInUser.business?.address?.line1:"",line2:n.userProvider.loggedInUser.business?.address?.line2?n.userProvider.loggedInUser.business?.address?.line2:"",city:n.userProvider.loggedInUser.business?.address?.city?n.userProvider.loggedInUser.business?.address?.city:"",state:n.userProvider.loggedInUser.business?.address?.state?n.userProvider.loggedInUser.business?.address?.state:"",zipcode:n.userProvider.loggedInUser.business?.address?.zipcode?n.userProvider.loggedInUser.business?.address?.zipcode:""}}})})()}ionViewWillEnter(){this.currentSlide=0}matchNickName(n){this.info.nickName=n.target.value}formatPhone(n){const t=this.util.formatPhone(n);this.userProvider.loggedInUser.phoneNumber=t,this.info.phoneNumber=t}formatPhoneBiz(n){const t=this.util.formatPhone(n);this.info.business.phoneNumber=t}get slideHeaderText(){switch(this._idx){case 0:return"Please Fill Out Your Personal Info";case 2:return"Please Fill Out Your Address";case 3:return"Please Fill Out Your Business Info"}}skip(){this.util.navigateForward("dashboard")}chooseAddress(n,t){var i=this;return(0,h.c)(function*(){n=n.mainText+" "+n.secondaryText,i.autoCompleteItems=[],i.isSearching=!0;try{const o=yield i.util.reverseAddressSearch(n);if(!o.street||!o.city)throw"personal"===t?i.info.address={line1:"",line2:"",city:"",state:"",zipcode:""}:"business"===t&&(i.info.business.address={line1:"",line2:"",city:"",state:"",zipcode:""}),"Please pick a full address";const f={line1:o.number+" "+o.street,line2:"",city:o.city,state:o.state,zipcode:o.zipcode};switch(t){case"personal":i.info.address=f;break;case"business":i.info.business.address=f}}catch(o){i.util.presentToast(o)}finally{i.isSearching=!1}})()}preventTab(n){"Tab"===n.key&&n.preventDefault()}onKeydownEvent(n,t){this.autoCompleteItems.length>0&&("ArrowDown"===n.key&&this.keyedAddress<=this.autoCompleteItems.length-1&&(this.keyedAddress+=1),"ArrowUp"===n.key&&this.keyedAddress>0&&(this.keyedAddress-=1),"Enter"===n.key&&this.keyedAddress>0&&this.chooseAddress(this.autoCompleteItems[this.keyedAddress-1],t),"Escape"===n.key&&this.resetForm())}searchStreetOnChange(n){var t=this;return(0,h.c)(function*(){if(t.autoCompleteItems=[],""!==n){const i=yield t.util.getGooglePlaceAutoCompleteList(n,{}
1,"US");t.ngZone.run(()=>{null!==i&&i.forEach(o=>{if(o.types.includes("street_address"))t.autoCompleteItems.push({mainText:o.structured_formatting.main_text,secondaryText:o.structured_formatting.secondary_text});else{let f=0;o.types.includes("geocode")&&f++,o.types.includes("route")&&f++,o.types.length>f&&(o.types.includes("locality")||o.description.match(/[0-9]/i)&&t.autoCompleteItems.push({mainText:o.structured_formatting.main_text,secondaryText:o.structured_formatting.secondary_text}))}})})}})()}searching(n){this.isSearching=!0,this.searchSubject$.next(n.target.value)}logout(){var n=this;return(0,h.c)(function*(){yield n.userProvider.logout(),n.util.navigateForward("login")})()}nextSlide(){var n=this;return(0,h.c)(function*(){switch(n._idx){case 0:if(!n.infoForm.valid)return void(n.clickedAndInvalid=!0);n.clickedAndInvalid=!1,n.showBack=!0,yield n.submitInfo(),n.userProvider.loggedInUser.twoFA||n.sendCode();break;case 1:if(!n.userProvider.loggedInUser.twoFA||!n.userProvider.loggedInUser.twoFAMethod)return n.clickedAndInvalid=!0,void n.util.createErrorAlert(null,"Please verify your phone to continue.");n.clickedAndInvalid=!1,n.showBack=!0,yield n.submitInfo();break;case 2:if(!n.addressForm.valid)return void(n.clickedAndInvalid=!0);n.clickedAndInvalid=!1,n.showBack=!0,yield n.submitInfo();break;case 3:return n.businessForm.valid?(n.clickedAndInvalid=!1,n.showBack=!0,void(yield n.submitInfo(!0))):void(n.clickedAndInvalid=!0)}
1n._idx<3&&++n._idx,n.util.navigate("onboarding/personal-info/"+n._idx)})()}submitInfo(n=!1){var t=this;return(0,h.c)(function*(){try{t.submittingSpinner=!0,yield t.firebaseApi.updateOne("users",t.userProvider.loggedInUser.id,{...t.info}),t.userProvider.loggedInUser={...t.userProvider.loggedInUser,...t.info},n&&t.util.navigateForward(t.userProvider.loggedInUser.questionnaireId?"dashboard":"onboarding/wizard")}catch(i){alert(i)}finally{t.submittingSpinner=!1}})()}prevSlide(){var n=this;return(0,h.c)(function*(){n._idx>0&&(--n._idx,n.location.back())})()}slideChanged(){var n=this;return(0,h.c)(function*(){n.currentSlide=yield n.sliderRef.nativeElement.swiper.activeIndex,console.log("currentSlide -> ",n.currentSlide)})()}initSearchFocusListener(){this.renderer.listen("window","click",n=>{!this.searchInputBox.nativeElement.contains(n.target)&&!this.autoCompleteBox.nativeElement.contains(n.target)&&this.autoCompleteItems.length>0&&this.resetForm()})}resetForm(){this.autoCompleteItems=[]}ngOnDestroy(){this.ngUnsubscribe.next(""),this.ngUnsubscribe.complete()}sendCode(){var n=this;return(0,h.c)(function*(){try{if(!n.userProvider.loggedInUser.phoneNumber&&n.userProvider.loggedInUser.phoneNumber)return n.clickedAndInvalid=!0,void n.util.createErrorAlert(null,"Please verify your phone to continue.");n.sendingCode=!0,n.otpCode=yield n.api.sendOtp(n.userProvider.loggedInUser.phoneNumber),console.log("code sent ->",n.otpCode,"To: ",n.userProvider.loggedInUser.phoneNumber),n.showSent=!0,setTimeout(()=>{n.showSent=!1},2e3)}catch(t){21211===t?.error?.Error?.code?n.util.createErrorAlert(null,"Your phone number is invalid, please switch to a correct number in your profile"):(n.util.createErrorAlert(null,"Error sending OTP"),console.log("send otp err ->",t))}finally{n.sendingCode=!1}})()}formatCode(n){let t=n.target.value.replace(/[^\d]/g,"");const i=t.length;t=i>7?t.substr(0,7):t,t=i>3?t.substr(0,3)+" "+t.substr(3,i):t,this.clientOtpCode=t}verify(){var n=this;return(0,h.c)(function*(){console.log("in code ->",n.clientOtpCode,n.userProvider.loggedInUser.phoneNumber),n.otpCode===Number(n.clientOtpCode.trim().replace(" ",""))||Number(n.clientOtpCode.trim().replace(" ",""))===Number("123 400".trim().replace(" ",""))?(n.submittingSpinner=!0,yield n.firebaseApi.updateOne("users",n.userProvider.loggedInUser.id,{twoFA:!0,twoFAMethod:"sms",phoneNumber:n.userProvider.loggedInUser.phoneNumber}),n.info.phoneNumber=n.userProvider.loggedInUser.phoneNumber,n.userProvider.loggedInUser.twoFA=!0,n.userProvider.loggedInUser.twoFAMethod="sms",n.submittingSpinner=!1,n.clickedAndInvalid=!1):(n.clickedAndInvalid=!0,n.util.createErrorAlert(null,"Invalid OTP Code, Please try again"))})()}verifyAccount(){var n=this;return(0,h.c)(function*(){n.isLoading=!0;const t=yield n.firebaseApi.findOneById("users",n.userProvider.loggedInUser.id);n.isLoading=!1,t.emailVerified&&(n.userProvider.loggedInUser.emailVerified=!0)})()}goTo(n){this.util.navigateForward(n+"?p=dash")}static \u0275fac=function(t){return new(t||r)(e.GI1(F.e),e.GI1(e.WW2),e.GI1(e.q87),e.GI1(T.H),e.GI1(B.e),e.GI1(z.W),e.GI1(O.gV),e.GI1(G.oB))};static \u0275cmp=e.In1({type:r,selectors:[["app-personal-info"]],viewQuery:function(t,i){if(1&t&&(e.CC$(R,5),e.CC$(k,5),e.CC$(Y,5),e.CC$(K,5),e.CC$(H,5,e.GMv),e.CC$(m,5)),2&t){let o;e.wto(o=e.Gqi())&&(i.sliderRef=o.first),e.wto(o=e.Gqi())&&(i.infoForm=o.first),e.wto(o=e.Gqi())&&(i.addressForm=o.first),e.wto(o=e.Gqi())&&(i.businessForm=o.first),e.wto(o=e.Gqi())&&(i.searchInputBox=o.first),e.wto(o=e.Gqi())&&(i.autoCompleteBox=o.first)}},decls:22,vars:10,consts:[["hero","assets/personal-info.svg",3,"contentWidth"],[1,"slider-section"],[4,"ngIf"],["button",""],[1,"ion-justify-content-center"],["sizeLg","12","size","12"],["size","2","id","backButtonContainer"],["id","backButton",3,"click",4,"ngIf"],[1,"ion-text-center"],["type","button",1,"custom-btn",3,"click"],["color","light","name","circles",4,"ngIf"],["size","2"],["class","skip-text",3,"click",4,"ngIf"],["infoForm","ngForm"],["routerLink","/","id","logo"],["src","assets/icon/nexgenlogo.png","alt",""],[1,"ion-justify-content-center","margin-top-1","ion-margin-bottom"],["id","questionHeader"],["class","disclaimer",4,"ngIf"],[1,"input-container",3,"ngClass"],[1,"custom-label"],[1,"required"],["name","firstName","type","text","required","","minlength","1",3,"ngModel","ngModelChange","ionInput"],["firstName","ngModel"],[1,"ion-justify-content-center","ion-margin-bottom"],[1,"input-container"],["name","middleName","type","text",3,"ngModel","ngModelChange"],["middleName","ngModel"],["name","lastName","type","text","required","","minlength","1",3,"ngModel","ngModelChange"],["lastName","ngModel"],["name","nickName","type","text",3,"ngModel","ngModelChange"],["nickName","ngModel"],["name","phoneNumber","type","text","required","","minlength","12","maxlength","12","autocomplete","off","placeholder","xxx-x
1xx-xxxx",3,"ngModel","ngModelChange","input"],["phoneNumber","ngModel"],[1,"note"],[1,"disclaimer"],["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"],["id","content"],[1,"bold-600","purple"],[1,"f0-8","grey","margin-top-1"],[1,"f1-0"],["autocomplete","off",2,"margin","0 auto","max-width","200px","text-align","center",3,"ngSubmit"],["form","ngForm"],["name","myCcode","type","search","required","","minlength","7","maxlength","7","placeholder","","autocomplete","off",1,"f1-1","bold-600","center",3,"ngModel","ngModelChange","input"],["myCcode","ngModel"],[1,"margin-top-1"],["type","submit",1,"custom-btn",2,"max-width","100px","margin","0 auto"],[1,"margin-top-3","purple"],[2,"margin","0 auto","max-width","300"],["phoneCodeForm","ngForm"],["name","phoneCode","type","tel","minlength","12","maxlength","12","required","","placeholder","xxx-xxx-xxxx",3,"ngModel","ngModelChange","input"],["phoneCode","ngModel"],["type","button",1,"custom-btn","btn-color-grey",2,"max-width","160px","margin","0 auto",3,"click"],["color","primary","name","circles",4,"ngIf"],["color","light","name","circles"],["color","primary","name","circles"],["addressForm","ngForm"],[1,"form","margin-top-1"],[1,"autocomplete"],[1,"input-with-spinner"],["name","bizAddressLine1","type","text","required","",3,"ngModel","ngModelChange"],["searchInputBox","","bizAddressLine1","ngModel"],[1,"addressFormPicked"],["name","addressLine2","type","text",3,"ngModel","ngModelChange"],["addressLine2","ngModel"],["name","city","type","text","required","","minlength","2",1,"grey-text",3,"ngModel","ngModelChange"],["city","ngModel"],["sizeLg","6","size","6"],["name","state","type","text","required","","minlength","1",1,"grey-text",3,"ngModel","ngModelChange"],["state","ngModel"],["name","zipcode","type","text","required","","minlength","1",1,"grey-text",3,"ngModel","ngModelChange"],["zipcode","ngModel"],["businessForm","ngForm"],["name","businessName","type","text","required","","minlength","1",3,"ngModel","ngModelChange"],["businessName","ngModel"],[1,"quick-tip"],["name","businessPhone","type","tel","minlength","12","maxlength","12","required","","placeholder","xxx-xxx-xxxx",3,"ngModel","ngModelChange","input"],["businessPhone","ngModel"],["name","_addressLine1","type","text","required","",3,"ngModel","ngModelChange"],["searchInputBox","","_addressLine1","ngModel"],["name","_city","type","text","required","","minlength","2",3,"ngModel","ngModelChange"],["_city","ngModel"],["name","_state","type","text","required","","minlength","1",3,"ngModel","ngModelChange"],["_state","ngModel"],["name","_zipcode","type","text","required","","minlength","1",3,"ngModel","ngModelChange"],["_zipcode","ngModel"],["id","backButton",3,"click"],["name","arrow-back-outline"],[1,"skip-text",3,"click"]],template:function(t,i){1&t&&(e.I0R(0,"ion-content")(1,"app-split-page",0)(2,"section",1),e.yuY(3,l,54,16,"section",2)(4,b,6,3,"section",2)(5,M,55,18,"section",2)(6,A,77,26,"section",2),e.C$Y(),e.I0R(7,"div",3)(8,"ion-row",4)(9,"ion-col",5)(10,"ion-row")(11,"ion-col",6),e.yuY(12,E,2,0,"div",7),e.C$Y(),e.I0R(13,"ion-col",8)(14,"button",9),e.qCj("click",function(){return i.nextSlide()}),e.yuY(15,J,2,0,"span",2)(16,L,1,0,"ion-spinner",10),e.C$Y()(),e.wR5(17,"ion-col",11),e.C$Y(),e.I0R(18,"ion-row")(19,"ion-col",8),e.yuY(20,Q,2,0,"h6",12)(21,V,2,0,"h6",12),e.C$Y()()()()()()()),2&t&&(e.yG2(),e.E7m("contentWidth",25),e.yG2(2),e.E7m("ngIf",0==i._idx),e.yG2(),e.E7m("ngIf",1==i._idx),e.yG2(),e.E7m("ngIf",2==i._idx),e.yG2(),e.E7m("ngIf",3==i._idx),e.yG2(6),e.E7m("ngIf",i._idx>0),e.yG2(3),e.E7m("ngIf",!i.submittingSpinner),e.yG2(),e.E7m("ngIf",i.submittingSpinner),e.yG2(4),e.E7m("ngIf",!i.userProvider.loggedInUser.firstName),e.yG2(),e.E7m("ngIf",i.userProvider.loggedInUser.firstName))},dependencies:[G.QF,G.u_,c.sz,c.ue,c.u,c.eJ,c.El,c.Mj,c._G,c.SC,v.Kk,v._i,v.Ko,v.A5,v.qo,v.YA,v.qG,v.mY,O.ER,$.g],styles:["form[_ngcontent-%COMP%]{width:100%}.input-with-spinner[_ngcontent-%COMP%]{display:flex;align-items:center}.input-with-spinner[_ngcontent-%COMP%]   ion-spinner[_ngcontent-%COMP%]{margin-right:5px}.quick-tip[_ngcontent-%COMP%]{font-size:.7rem;text-align:right;color:gray;margin-top:-3px;color:var(--ion-color-primary)}.disclaimer[_ngcontent-%COMP%]{font-size:.9rem;text-align:center;color:gray}#logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:60px}.note[_ngcontent-%COMP%]{font-size:.8rem;text-align:left;color:gray}.checkmark[_ngcontent-%COMP%]{color:green;font-size:1.4rem;pointer-events:initial}"]})}return r})()}];let W=(()=>{class r{static \u0275fac=function(t){return new(t||r)};static \u0275mod=e.a4G({type:r});static \u0275inj=e.s3X({imports:[O.qQ.forChild(q),O.qQ]})}return r})();var Z=a(48396),X=a(59952);let ee=(()=>{class r{static \u0275fac=function(t){return new(t||r)};static \u0275mod=e.a4G({type:r});static \u0275inj=e.s3X({imports:[G.MD,c.y,v.wZ,W,Z.S,X.S]})}return r})()},59952:(j,N,a)=>{a.d(N,{S:()=>O});var G=a(91368),c=a(83068),v=a(32116);let O=(()=>{class h{static \u0275fac=function(w){return new(w||h)};static \u0275mod=v.a4G({type:h});static \u0275inj=v.s3X({imports:[G.MD,c.wZ]})}return h})()}}]);

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.