PageSourceSearch

https://vendor.nexgentaxes.com/704.59710c7fb4240381.js

js nexgentaxes.com collected 2026-10-05 04:10:58 UTC 8,091 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[704],{98320:(Q,u,a)=>{a.r(u),a.d(u,{UploadPageModule:()=>K});var d=a(91368),g=a(44716),c=a(83068),m=a(48396),f=a(89192),s=a(73448),h=a(55180),e=a(32116),v=a(77816),y=a(2132),_=a(87264),x=a(94292),P=a(36032),C=a(62319);function I(t,r){1&t&&e.wR5(0,"ion-spinner")}function O(t,r){1&t&&e.wR5(0,"ion-icon",18)}function U(t,r){if(1&t){const i=e.KQA();e.I0R(0,"input",19,20),e.qCj("change",function(o){e.usT(i);const l=e.GaO();return e.CGJ(l.onFileAdd(o))}),e.C$Y()}}function G(t,r){if(1&t){const i=e.KQA();e.I0R(0,"img",26),e.qCj("click",function(){e.usT(i);const o=e.GaO().$implicit,l=e.GaO();return e.CGJ(l.popoutImage(o.value))}),e.C$Y()}if(2&t){const i=e.GaO().$implicit;e.E7m("src",i.value,e.K6U)}}function T(t,r){if(1&t&&(e.I0R(0,"a",27),e.wR5(1,"img",28),e.C$Y()),2&t){const i=e.GaO().$implicit;e._6D("href",i.value,e.K6U)}}function M(t,r){if(1&t&&(e.I0R(0,"a",27),e.wR5(1,"img",29),e.C$Y()),2&t){const i=e.GaO().$implicit;e._6D("href",i.value,e.K6U)}}function R(t,r){if(1&t&&(e.I0R(0,"a",27),e.wR5(1,"img",30),e.C$Y()),2&t){const i=e.GaO().$implicit;e._6D("href",i.value,e.K6U)}}function $(t,r){if(1&t&&(e.I0R(0,"a",27),e.wR5(1,"img",31),e.C$Y()),2&t){const i=e.GaO().$implicit;e._6D("href",i.value,e.K6U)}}function E(t,r){if(1&t&&(e.I0R(0,"a",27),e.wR5(1,"img",32),e.C$Y()),2&t){const i=e.GaO().$implicit;e._6D("href",i.value,e.K6U)}}function Y(t,r){if(1&t){const i=e.KQA();e.I0R(0,"div",21)(1,"div",22)(2,"ion-icon",23),e.qCj("click",function(){const l=e.usT(i).index,p=e.GaO();return e.CGJ(p.deleteImage(l))}),e.C$Y()(),e.yuY(3,G,1,1,"img",24)(4,T,2,1,"a",25)(5,M,2,1,"a",25)(6,R,2,1,"a",25)(7,$,2,1,"a",25)(8,E,2,1,"a",25),e.C$Y()}if(2&t){const i=r.$implicit;e.yG2(3),e.E7m("ngIf",i.value.indexOf(".png")>0||i.value.indexOf(".jpg")>0||i.value.indexOf(".jpeg")>0||i.value.indexOf(".gif")>0),e.yG2(),e.E7m("ngIf",i.value.indexOf(".pdf")>0),e.yG2(),e.E7m("ngIf",i.value.indexOf(".doc")>0),e.yG2(),e.E7m("ngIf",i.value.indexOf(".xls")>0),e.yG2(),e.E7m("ngIf",i.value.indexOf(".ppt")>0),e.yG2(),e.E7m("ngIf",i.value.indexOf(".txt")>0)}}function S(t,r){1&t&&(e.I0R(0,"span"),e.OEk(1,"Submit"),e.C$Y())}function A(t,r){1&t&&e.wR5(0,"ion-spinner",33)}const F=[{path:"",component:(()=>{class t{userProvider;util;firebaseApi;photoService;submittingSpinner=!1;uploadingFile=!1;files=[];constructor(i,n,o,l){this.userProvider=i,this.util=n,this.firebaseApi=o,this.photoService=l}ngOnInit(){this.userProvider.loggedInUser.documents&&(this.files=this.userProvider.loggedInUser.documents)}onFileAdd(i){var n=this;return(0,s.c)(function*(){const o=i.target.files[0];try{n.uploadingFile=!0;const l=new FormData;l.append("fi",o);const z=(yield n.photoService.uploadPhotoToS3(l)).Location;n.files.push({name:o.name,value:z,createdAt:(new Date).toISOString()})}catch{n.util.createErrorAlert(null,"Could not upload file")}finally{n.uploadingFile=!1}})()}uploadDocAWS(){var i=this;return(0,s.c)(function*(){if(0!==i.files.length)try{i.submittingSpinner=!0,yield i.firebaseApi.updateOne("users",i.userProvider.loggedInUser.id,{documents:i.files}),i.userProvider.loggedInUser.documents=i.files}catch{i.util.createErrorAlert(null,"Error uploading file")}finally{i.submittingSpinner=!1,i.util.navigateForward("dashboard")}else i.util.createErrorAlert(null,"Please upload all your files")})()}popoutImage(i){var n=this;return(0,s.c)(function*(){yield n.util.presentCenterModal(h.i,i)})()}deleteImage(i){var n=this;return(0,s.c)(function*(){try{n.files.splice(i,1),yield n.firebaseApi.updateOne("users",n.userProvider.loggedInUser.id,{documents:n.files})}catch{n.util.createErrorAlert(null,"Could not delete doc")}})()}skip(){this.util.navigateForward("dashboard")}fileSelected(i){const{key:n,url:o}=i,l=this.files.findIndex(p=>p.key===n);this.files[l].value=o}static \u0275fac=function(n){return new(n||t)(e.GI1(v.e),e.GI1(y.e),e.GI1(_.H),e.GI1(x.s))};static \u0275cmp=e.In1({type:t,selectors:[["app-upload"]],decls:27,vars:7,consts:[[1,"app-container"],["hero","../assets/stripehero.svg","headerText","Upload Your Documents","disclaimer","Please upload your photo ID and any supp
1orting documents so that we may\n\t\t\t\tverify your credentials.",3,"contentWidth"],[1,"header-and-action"],[1,"file-upload-button"],[4,"ngIf"],["name","add-circle","class","add-circle","color","primary",4,"ngIf"],["type","file","accept","image/*, application/msword, text/plain, application/pdf","class","file-upload-input",3,"change",4,"ngIf"],[1,"white-box"],[1,"flex-input"],["size","12",1,"image-list",2,"display","flex","justify-content","space-around","flex-wrap","wrap"],["class","media",4,"ngFor","ngForOf"],["button",""],[1,"ion-justify-content-center"],["sizeLg","10","size","10"],["size","12",1,"ion-text-center"],[1,"custom-btn",3,"click"],["color","light","name","circles",4,"ngIf"],[1,"skip-text",3,"click"],["name","add-circle","color","primary",1,"add-circle"],["type","file","accept","image/*, application/msword, text/plain, application/pdf",1,"file-upload-input",3,"change"],["filePicker",""],[1,"media"],[1,"delete-icon"],["name","trash-outline","color","danger ","id","deleteButton",1,"other-icons",3,"click"],[3,"src","click",4,"ngIf"],["target","_blank",3,"href",4,"ngIf"],[3,"src","click"],["target","_blank",3,"href"],["src","assets/icon/pdf.png"],["src","assets/icon/doc.png"],["src","assets/icon/xls.png"],["src","assets/icon/ppt.png"],["src","assets/icon/text.png"],["color","light","name","circles"]],template:function(n,o){1&n&&(e.wR5(0,"app-header"),e.I0R(1,"ion-content")(2,"div",0)(3,"app-split-page",1)(4,"ion-row")(5,"ion-col")(6,"div",2)(7,"div",3),e.yuY(8,I,1,0,"ion-spinner",4)(9,O,1,0,"ion-icon",5)(10,U,2,0,"input",6),e.C$Y()()()(),e.I0R(11,"ion-row")(12,"ion-col")(13,"div",7)(14,"ion-row",8)(15,"ion-col",9),e.yuY(16,Y,9,6,"div",10),e.C$Y()()()()(),e.I0R(17,"section",11)(18,"ion-row",12)(19,"ion-col",13)(20,"ion-row",12)(21,"ion-col",14)(22,"button",15),e.qCj("click",function(){return o.uploadDocAWS()}),e.yuY(23,S,2,0,"span",4)(24,A,1,0,"ion-spinner",16),e.C$Y(),e.I0R(25,"h6",17),e.qCj("click",function(){return o.skip()}),e.OEk(26,"Skip"),e.C$Y()()()()()()()()()),2&n&&(e.yG2(3),e.E7m("contentWidth",25),e.yG2(5),e.E7m("ngIf",o.uploadingFile),e.yG2(),e.E7m("ngIf",!o.uploadingFile),e.yG2(),e.E7m("ngIf",!o.uploadingFile),e.yG2(6),e.E7m("ngForOf",o.files),e.yG2(7),e.E7m("ngIf",!o.submittingSpinner),e.yG2(),e.E7m("ngIf",o.submittingSpinner))},dependencies:[d.ay,d.u_,c.Kk,c._i,c.Ko,c.qo,c.YA,P.k,C.g],styles:[".white-box[_ngcontent-%COMP%]{border-radius:5px;box-shadow:10px 10px 30px #0004;background-color:#fff;padding:20px;height:100%}.file-upload-button[_ngcontent-%COMP%]{width:60px;height:60px;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;margin:0 auto}.file-upload-button[_ngcontent-%COMP%]   ion-icon[_ngcontent-%COMP%]{cursor:pointer;font-size:2rem!important}.file-upload-input[_ngcontent-%COMP%]{cursor:pointer;position:absolute;width:100%;height:100%;top:0;left:0;opacity:0;z-index:20}.header-and-action[_ngcontent-%COMP%]{display:flex;align-items:center}.header-and-action[_ngcontent-%COMP%]   h6[_ngcontent-%COMP%]{margin:0 5px 0 0}.header-and-action[_ngcontent-%COMP%]   ion-icon[_ngcontent-%COMP%]{font-size:1.2rem}.media[_ngcontent-%COMP%]{margin:0 10px;position:relative}.media[_ngcontent-%COMP%]   #deleteButton[_ngcontent-%COMP%]{display:none;position:absolute;top:5px;right:5px}.media[_ngcontent-%COMP%]:hover   #deleteButton[_ngcontent-%COMP%]{display:block;cursor:pointer}.media[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{border-radius:10px;height:100px;cursor:pointer}.image-list[_ngcontent-%COMP%]{display:flex}"]}
1)}return t})()}];let w=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=e.a4G({type:t});static \u0275inj=e.s3X({imports:[f.qQ.forChild(F),f.qQ]})}return t})();var b=a(59952),D=a(20124),k=a(87560),j=a(96328);let K=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=e.a4G({type:t});static \u0275inj=e.s3X({imports:[d.MD,g.y,c.wZ,w,m.S,b.S,D.Y,k.l,j.D]})}return t})()}}]);

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.