PageSourceSearch

https://vendor.nexgentaxes.com/36.20642b51f5673bbf.js

js nexgentaxes.com collected 2026-10-05 04:10:53 UTC 14,795 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[36],{48396:(w,h,s)=>{s.d(h,{S:()=>p});var f=s(91368),m=s(83068),d=s(89192),e=s(32116);let p=(()=>{class _{static \u0275fac=function(v){return new(v||_)};static \u0275mod=e.a4G({type:_});static \u0275inj=e.s3X({imports:[m.wZ,f.MD,d.qQ]})}return _})()},90036:(w,h,s)=>{s.r(h),s.d(h,{LoginModule:()=>K});var f=s(91368),m=s(89192),d=s(73448),e=s(32116),p=s(2132),_=s(77816),y=s(90304),l=s(83068),v=s(22716),E=s(16996),g=s(44716),I=s(62319),P=s(36032);function M(i,u){1&i&&(e.I0R(0,"div",32),e.OEk(1," Your email is missing or invalid "),e.C$Y())}function O(i,u){if(1&i){const o=e.KQA();e.I0R(0,"ion-icon",33),e.qCj("click",function(){e.usT(o);const n=e.GaO();return e.CGJ(n.showPasswordToggle())}),e.C$Y()}}function L(i,u){if(1&i){const o=e.KQA();e.I0R(0,"ion-icon",34),e.qCj("click",function(){e.usT(o);const n=e.GaO();return e.CGJ(n.showPasswordToggle())}),e.C$Y()}}function G(i,u){if(1&i){const o=e.KQA();e.I0R(0,"ion-icon",33),e.qCj("click",function(){e.usT(o);const n=e.GaO(2);return e.CGJ(n.showPasswordToggle())}),e.C$Y()}}function k(i,u){if(1&i){const o=e.KQA();e.I0R(0,"ion-icon",34),e.qCj("click",function(){e.usT(o);const n=e.GaO(2);return e.CGJ(n.showPasswordToggle())}),e.C$Y()}}const C=i=>({"invalid-input":i});function R(i,u){if(1&i){const o=e.KQA();e.I0R(0,"div",35)(1,"div",8),e.OEk(2," Confirm Password "),e.I0R(3,"span",9),e.OEk(4,"*"),e.C$Y()(),e.I0R(5,"ion-input",36,37),e.iHE("ngModelChange",function(n){e.usT(o);const r=e.GaO();return e.kNx(r.user.confirmPassword,n)||(r.user.confirmPassword=n),e.CGJ(n)}),e.C$Y(),e.yuY(7,G,1,0,"ion-icon",16)(8,k,1,0,"ion-icon",17),e.C$Y()}if(2&i){const o=e.Gew(6),t=e.GaO();e.E7m("ngClass",e.S45(5,C,(t.state.clickedAndInvalid||t.state.passwordInvalid)&&!o.valid)),e.yG2(5),e.OKB("ngModel",t.user.confirmPassword),e.E7m("type",t.state.showPassword?"text":"password"),e.yG2(2),e.E7m("ngIf",t.state.showPassword),e.yG2(),e.E7m("ngIf",!t.state.showPassword)}}function A(i,u){1&i&&(e.I0R(0,"div",32),e.OEk(1," A password must be at least 8 characters long with at least one uppercase, one lowercase, and one number "),e.C$Y())}function T(i,u){1&i&&(e.I0R(0,"div",32),e.OEk(1," Your passwords do not match "),e.C$Y())}function S(i,u){if(1&i){const o=e.KQA();e.I0R(0,"div",38)(1,"ion-checkbox",39),e.iHE("ngModelChange",function(n){e.usT(o);const r=e.GaO();return e.kNx(r.state.rememberEmail,n)||(r.state.rememberEmail=n),e.CGJ(n)}),e.C$Y(),e.I0R(2,"div",40),e.OEk(3,"Remember Email"),e.C$Y()()}if(2&i){const o=e.GaO();e.yG2(),e.OKB("ngModel",o.state.rememberEmail)}}function b(i,u){if(1&i&&(e.I0R(0,"span"),e.OEk(1),e.C$Y()),2&i){const o=e.GaO();e.yG2(),e.cNF(o.userProvider.isLoginMode?"Log In":"Sign Up")}}function Y(i,u){1&i&&e.wR5(0,"ion-spinner",41)}const x=[{path:"",component:(()=>{class i{util;userProvider;platform;storage;authService;route;router;state={showPassword:!1,authSpinner:!1,savedEmail:"",useSavedEmail
1:!1,clickedAndInvalid:!1,rememberEmail:!1,passwordInvalid:!1,passwordsMatch:!0};user={email:"",phoneNumber:"",password:"",confirmPassword:"",rememberEmail:!1};textSwitch={register:{register:"Register",dontHaveAnAccount:"Don't have an account?"},login:{login:"Sign in",alreadyHaveAnAccount:"Already have an account?"}};constructor(o,t,n,r,a,c,D){this.util=o,this.userProvider=t,this.platform=n,this.storage=r,this.authService=a,this.route=c,this.router=D}ngOnInit(){var o=this;return(0,d.c)(function*(){o.reRouteIfLoggedIn(),yield o.checkIfEmailSaved()})()}ionViewWillEnter(){this.reRouteIfLoggedIn(),this.userProvider.isLoginMode="register"!==this.route.snapshot.parent.url[0].path}reRouteIfLoggedIn(){this.userProvider.loggedInUser.id&&this.util.navigateRoot(["/dashboard"])}checkIfEmailSaved(){var o=this;return(0,d.c)(function*(){const t=yield o.storage.get("nexGenLogin");o.user.email=t&&t?.e?t.e:"",o.user.rememberEmail=!!o.user.email,o.state.rememberEmail=!!o.user.email,console.log("storage get login ->",t,o.user)})()}changeEmail(o){this.state.useSavedEmail=!1}showPasswordToggle(){this.state.showPassword=!this.state.showPassword}toggleLoginMode(){this.util.navigateForward(this.userProvider.isLoginMode?"register":"login"),this.userProvider.isLoginMode=!this.userProvider.isLoginMode,this.userProvider.isLoginMode||(this.user.email="",this.state.useSavedEmail=!1)}formatPhone(o){this.user.phoneNumber=this.util.formatPhone(o)}onSubmit(o){var t=this;return(0,d.c)(function*(){if(o.value.email.replace(/\s/g,""),!o.valid&&!t.state.useSavedEmail)return void(t.state.clickedAndInvalid=!0);if(!o.valid&&t.state.useSavedEmail&&"INVALID"===o.form.controls.password.status)return void(t.state.passwordInvalid=!0);if(!t.userProvider.isLoginMode&&t.user.password!==t.user.confirmPassword)return void(t.state.passwordsMatch=!1);t.state.authSpinner=!0;const n={email:o.value.email.toLowerCase(),phoneNumber:o.value.phoneNumber?o.value.phoneNumber:"",password:o.value.password,role:"vendor"};try{if(t.userProvider.isLoginMode){t.state.useSavedEmail&&(n.email=t.state.savedEmail);const r=yield t.authService.login(n);yield t.logUserIn(r,!1)}else try{const r=yield t.authService.signUp(n);yield t.logUserIn(r,!0)}catch(r){t.onAuthError(r.message)}}catch(r){return void t.onAuthError(r.message)}finally{t.state.authSpinner=!1}})()}goToResetPassword(){this.util.navigateRoot(["password-reset"])}logUserIn(o,t){var n=this;return(0,d.c)(function*(){try{yield n.userProvider.lastSeen(new Date,o);const r=yield n.userProvider.load(o);if(!0===r){n.state.rememberEmail?n.storage.set("nexGenLogin",{e:n.userProvider.loggedInUser.email}):yield n.storage.remove("nexGenLogin");const a=n.route.snapshot.queryParams.returnUrl&&n.route.snapshot.queryParams.returnUrl.indexOf("sms")<0?n.route.snapshot.queryParams.returnUrl:"/dashboard";t||!n.userProvider.loggedInUser.firstName?n.util.navigateRoot(["onboarding/pers
1onal-info"]):n.router.navigateByUrl(a)}else"not a vendor"===r&&n.util.createErrorAlert(null,"Email used in an another NexGen App.")}catch(r){n.onAuthError(r.message)}finally{n.state.authSpinner=!1}})()}socialLogin(o){var t=this;return(0,d.c)(function*(){let n;switch(o){case"google":n=t.authService.googleSignIn();break;case"apple":n=t.authService.appleSignIn()}try{const{userId:r,isNewUser:a}=yield n;t.logUserIn(r,a)}catch(r){"Sign in window closed"!==r.message&&t.onAuthError(r.message)}})()}onAuthError(o){console.log("err msg ->",o),o=o.indexOf("not-found")>=0?"User not found, please try again.":o.indexOf("already in use")>=0?"Email already in use, please sign in.":"Invalid User Name and Password combination. Please try again.",this.util.createErrorAlert(null,o)}static \u0275fac=function(t){return new(t||i)(e.GI1(p.e),e.GI1(_.e),e.GI1(y.WU),e.GI1(v.y),e.GI1(E.o),e.GI1(m.gV),e.GI1(m.E5))};static \u0275cmp=e.In1({type:i,selectors:[["app-auth"]],decls:65,vars:27,consts:[[3,"contentWidth","hero"],["id","headers",1,"ion-justify-content-center","ion-align-items-center","marg-top"],["sizeXl","12","sizeLg","12","size","12"],["id","form",3,"ngSubmit"],["authForm","ngForm"],[1,"ion-justify-content-center"],["sizeLg","12","size","12"],[1,"input-container",3,"ngClass"],[1,"custom-label"],[1,"required"],["pattern","[A-Za-z0-9._%+\\-]+@[A-Za-z0-9.\\-]+\\.[A-Za-z]{2,}$","name","email","type","text","required","","email","",3,"ngModel","ngModelChange","ionInput"],["email","ngModel"],["class","disclaimer",4,"ngIf"],["id","passwordContainer",1,"input-container",3,"ngClass"],["name","password","type","password","required","","pattern","(?=([^a-z]*[a-z]){1,})(?=([^A-Z]*[A-Z]){1,})(?=([^0-9]*[0-9]){1,})(?=(.*[$@$!%*?&]){0,})[A-Za-z\\d$@$!%*?&.]{8,}","autocomplete","new-password",3,"ngModel","type","ngModelChange"],["password","ngModel"],["name","eye-off-outline",3,"click",4,"ngIf"],["name","eye-outline",3,"click",4,"ngIf"],["id","passwordContainer","class","input-container confirm-password",3,"ngClass",4,"ngIf"],["id","rememberAndForgot"],["id","rememberEmail"],["class","check-container",4,"ngIf"],["id","forgotPassword",3,"click"],[1,"pointer","custom-btn",2,"max-width","150px","margin","1rem auto"],[4,"ngIf"],["color","light","name","circles",4,"ngIf"],["id","alreadyHave",1,"ion-justify-content-center"],[1,"ion-text-center"],[1,"pointer","b-c","bold-600",3,"click"],[1,"text-center"],[1,"terms-disclaimer"],[3,"href"],[1,"disclaimer"],["name","eye-off-outline",3,"click"],["name","eye-outline",3,"click"],["id","passwordContainer",1,"input-container","confirm-password",3,"ngClass"],["name","confirmPassword","required","","pattern","(?=([^a-z]*[a-z]){1,})(?=([^A-Z]*[A-Z]){1,})(?=([^0-9]*[0-9]){1,})(?=(.*[$@$!%*?&]){0,})[A-Za-z\\d$@$!%*?&.]{8,}","autocomplete","new-password",3,"ngModel","type","ngModelChange"],["confirmPassword","ngModel"],[1,"check-container"],["name","rememberEmail","ngModel","",3,"ngModel","ngModelChange"],[1,"tag"],["color","light","name","circles"]],template:function(t,n){if(1&t){const r=e.KQA();e.I0R(0,"ion-content"),e.wR5(1,"app-header"),e.I0R(2,"app-split-page",0)(3,"ion-row",1)(4,"ion-col",2)(5,"h1"),e.OEk(6),e.C$Y(),e.I0R(7,"h4"),e.OEk(8),e.C$Y()()(),e.I0R(9,"form",3,4),e.qCj("ngSubmit",function(){e.usT(r);const c=e.Gew(10);return e.CGJ(n.onSubmit(c))}),e.I0R(11,"ion-row",5)(12,"ion-col",6)(13,"div",7)(14,"div",8),e.OEk(15," Email "),e.I0R(16,"span",9),e.OEk(17,"*"),e.C$Y()(),e.I0R(18,"ion-input",10,11),e.iHE("ngModelChange",function(c){return e.kNx(n.user.email,c)||(n.user.email=c),c}),e.qCj("ionInput",function(c){return n.changeEmail(c)}),e.C$Y()(),e.yuY(20,M,2,0,"div",12),e.C$Y()(),e.I0R(21,"ion-row",5)(22,"ion-col",6)(23,"div",13)(24,"div",8),e.OEk(25," Password "),e.I0R(26,"span",9),e.OEk(27,"*"),e.C$Y()(),e.I0R(28,"ion-input",14,15),e.iHE("ngModelChange",function(c){return e.kNx(n.user.password,c)||(n.user.password=c),c}),e.C$Y(),e.yuY(30,O,1,0,"ion-icon",16)(31,L,1,0,"ion-icon",17),e.C$Y(),e.yuY(32,R,9,7,"div",18)(33,A,2,0,"div",12)(34,T,2,0,"div",12),e.I0R(35,"div",19)(36,"div",20),e.yuY(37,S,4,1,"div",21),e.C$Y(),e.I0R(38,"h6",22),e.qCj("click",function(){return n.goToResetPassword()}),e.OEk(39," Forgot Password? "),e.C$Y()()()(),e.I0R(40,"ion-row",5)(41,"ion-col",6)(42,"button",23),e.yuY(43,b,2,1,"span",24)(44,Y,1,0,"ion-spinner",25),e.C$Y()()(),e.I0R(45,"ion-row",26)(46,"ion-col",6)(47,"h4",27),e.OEk(48),e.I0R(49,"span",28),e.qCj("click",function(){return n.toggleLoginMode()}),e.OEk(50),e.C$Y(),e.wR5(51,"br"),e.C$Y()()(),e.I0R(52,"ion-row")(53,"ion-col",29)(54,"p",30),e.OEk(55," By clicking "),e.I0R(56,"span"),e.OEk(57),e.C$Y(),e.OEk(58," , you're agreeing to "),e.I0R(59,"a",31),e.OEk(60,"Terms of Service"),e.C$Y(),e.OEk(61," and "),e.I0R(62,"a",31),e.OEk(63,"Privacy Policy"),e.C$Y(),e.OEk(64,". "),e.C$Y()()()()()()}if(2&t){const r=e.Gew(19),a=e.Gew(29);
1e.yG2(2),e.E7m("contentWidth",25)("hero",n.userProvider.isLoginMode?"../assets/vendor_login.svg":"../assets/vendor_signup.svg"),e.yG2(4),e.oRS(" ",n.userProvider.isLoginMode?"Welcome back!":"Join Our Network Of Tax Pro's"," "),e.yG2(2),e.oRS(" ",n.userProvider.isLoginMode?"Please log in to continue":"We are Next Generation platform to do taxes. We connect Tax Pros like you with clients seeking to file taxes on a easy to use trendy platform."," "),e.yG2(5),e.E7m("ngClass",e.S45(23,C,n.state.clickedAndInvalid&&!r.valid)),e.yG2(5),e.OKB("ngModel",n.user.email),e.yG2(2),e.E7m("ngIf",n.state.clickedAndInvalid&&!r.valid),e.yG2(3),e.E7m("ngClass",e.S45(25,C,(n.state.clickedAndInvalid||n.state.passwordInvalid)&&!a.valid)),e.yG2(5),e.OKB("ngModel",n.user.password),e.E7m("type",n.state.showPassword?"text":"password"),e.yG2(2),e.E7m("ngIf",n.state.showPassword),e.yG2(),e.E7m("ngIf",!n.state.showPassword),e.yG2(),e.E7m("ngIf",!n.userProvider.isLoginMode),e.yG2(),e.E7m("ngIf",(n.state.clickedAndInvalid||n.state.passwordInvalid)&&!a.valid),e.yG2(),e.E7m("ngIf",!n.state.passwordsMatch),e.yG2(3),e.E7m("ngIf",n.userProvider.isLoginMode),e.yG2(6),e.E7m("ngIf",!n.state.authSpinner),e.yG2(),e.E7m("ngIf",n.state.authSpinner),e.yG2(4),e.oRS(" ",n.userProvider.isLoginMode?"Create an Account ":"Already have an account? "," "),e.yG2(2),e.cNF(n.userProvider.isLoginMode?"Sign Up":"Log In"),e.yG2(7),e.oRS("",n.userProvider.isLoginMode?'"Log In"':'"Sign Up"'," "),e.yG2(2),e.E7m("href","https://nexgentaxes.com/vendor-terms-of-use/",e.K6U),e.yG2(3),e.E7m("href","https://nexgentaxes.com/privacy/",e.K6U)}},dependencies:[f.QF,f.u_,g.sz,g.ue,g.u,g.eJ,g.E1,g.Gc,g._G,g.SC,l.ew,l.Kk,l._i,l.Ko,l.A5,l.qo,l.YA,l.UJ,l.qG,I.g,P.k],styles:["[_ngcontent-%COMP%]:root{font-family:Heebo,sans-serif;font-family:roboto,sans-serif}.terms-disclaimer[_ngcontent-%COMP%]{font-size:.8rem;text-align:center}#headers[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{color:#6c63ff;font-size:32px;font-weight:700;font-family:roboto,sans-serif}#headers[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{color:#000;font-size:18px;font-weight:500;font-family:Heebo,sans-serif}#forgotPassword[_ngcontent-%COMP%]{margin:0;text-align:right;color:#6c63ff;font-size:.8rem;cursor:pointer}.disclaimer[_ngcontent-%COMP%]{color:red;font-size:.7rem;text-align:center}.confirm-password[_ngcontent-%COMP%]{margin-top:30px}#passwordContainer[_ngcontent-%COMP%]{margin-bottom:10px}#rememberAndForgot[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;margin-top:5px}#rememberAndForgot[_ngcontent-%COMP%]   #rememberEmail[_ngcontent-%COMP%]   .tag[_ngcontent-%COMP%]{width:200px;margin-left:10px;display:block;font-size:.8rem;font-family:Heebo,sans-serif}#alreadyHave[_ngcontent-%COMP%]{margin-bottom:30px}#alreadyHave[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{font-size:.9rem;margin-top:5px;font-family:Heebo,sans-serif}.pointer[_ngcontent-%COMP%]{cursor:pointer}.marg-top[_ngcontent-%COMP%]{margin-top:2rem}@media (max-width: 992px){.marg-top[_ngcontent-%COMP%]{margin-top:0}}input[_ngcontent-%COMP%]:-webkit-autofill, input[_ngcontent-%COMP%]:-webkit-autofill:hover, input[_ngcontent-%COMP%]:-webkit-autofill:focus, input[_ngcontent-%COMP%]:-webkit-autofill:active{-webkit-box-shadow:0 0 0 3
10px white inset!important}input[_ngcontent-%COMP%]:-internal-autofill-selected{appearance:menulist-button;background-image:none!important;background-color:light-dark(white,white)!important;color:fieldtext!important}"]})}return i})()}];let $=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=e.a4G({type:i});static \u0275inj=e.s3X({imports:[m.qQ.forChild(x),m.qQ]})}return i})();var U=s(59952),z=s(48396);let K=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=e.a4G({type:i});static \u0275inj=e.s3X({imports:[f.MD,$,g.y,l.wZ,U.S,z.S]})}return i})()},59952:(w,h,s)=>{s.d(h,{S:()=>e});var f=s(91368),m=s(83068),d=s(32116);let e=(()=>{class p{static \u0275fac=function(l){return new(l||p)};static \u0275mod=d.a4G({type:p});static \u0275inj=d.s3X({imports:[f.MD,m.wZ]})}return p})()}}]);

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.