PageSourceSearch

https://vendor.nexgentaxes.com/1496.5d6e1f8c7ad60e1d.js

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

1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[1496],{41496:(ce,ie,_)=>{_.r(ie),_.d(ie,{WorkRequestPageModule:()=>An});var P=_(91368),Y=_(44716),R=_(83068),z=_(89192),E=_(73448),e=_(32116),ye=_(87264),be=_(72852),Re=_(77816),mt=_(25720),we=_(64420),ht=_(36032),Be=_(15188),Ue=_(2132),Ct=_(94984),vt=_(39212);function _t(n,r){if(1&n&&(e.I0R(0,"div",15)(1,"span",16),e.OEk(2),e.C$Y()()),2&n){const t=e.GaO(2);e.yG2(2),e.oRS(" ",null==t.workRequest?null:t.workRequest.progress," ")}}function Ot(n,r){if(1&n){const t=e.KQA();e.I0R(0,"div",17)(1,"select",18),e.iHE("ngModelChange",function(s){e.usT(t);const c=e.GaO(2);return e.kNx(c.status,s)||(c.status=s),e.CGJ(s)}),e.qCj("change",function(s){e.usT(t);const c=e.GaO(2);return e.CGJ(c.updateProgress(s))}),e.I0R(2,"option"),e.OEk(3,"Hired, In-Progress"),e.C$Y(),e.I0R(4,"option"),e.OEk(5,"Complete"),e.C$Y()()()}if(2&n){const t=e.GaO(2);e.yG2(),e.OKB("ngModel",t.status)}}function It(n,r){if(1&n&&(e.I0R(0,"span",20),e.OEk(1),e.C$Y()),2&n){const t=r.$implicit,i=r.index,s=e.GaO(3);e.yG2(),e.CAO("",t.value?t.name:null,"",s.format.getStatesList(s.workRequest).length===i+1?"":", ","")}}function kt(n,r){if(1&n&&(e.I0R(0,"p")(1,"b"),e.OEk(2,"States"),e.C$Y(),e.OEk(3,": "),e.yuY(4,It,2,2,"span",19),e.C$Y()),2&n){const t=e.GaO(2);e.yG2(4),e.E7m("ngForOf",t.format.getStatesList(t.workRequest))}}function yt(n,r){if(1&n&&(e.I0R(0,"div",1)(1,"div",2)(2,"h3"),e.OEk(3),e.C$Y()(),e.I0R(4,"ion-row",3)(5,"ion-col",4),e.wR5(6,"ion-icon",5),e.OEk(7),e.C$Y(),e.I0R(8,"ion-col",4),e.wR5(9,"ion-icon",6),e.OEk(10),e.C$Y(),e.I0R(11,"ion-col",4),e.wR5(12,"ion-icon",7),e.OEk(13),e.C$Y()(),e.yuY(14,_t,3,1,"div",8)(15,Ot,6,1,"div",9),e.I0R(16,"div",10)(17,"div")(18,"span",11),e.OEk(19),e.wVc(20,"titlecase"),e.C$Y(),e.wR5(21,"br"),e.I0R(22,"span",12),e.OEk(23),e.wVc(24,"date"),e.C$Y()(),e.I0R(25,"div",13),e.yuY(26,kt,5,1,"p",14),e.C$Y()()()),2&n){const t=e.GaO();e.yG2(3),e.CAO(" ",null==t.workRequest||null==t.workRequest.userInfo?null:t.workRequest.userInfo.firstName," ",null==t.workRequest||null==t.workRequest.userInfo?null:t.workRequest.userInfo.lastName," "),e.yG2(4),e.CAO(" ",null==t.workRequest||null==t.workRequest.userInfo||null==t.workRequest.userInfo.address?null:t.workRequest.userInfo.address.city,", ",null==t.workRequest||null==t.workRequest.userInfo||null==t.workRequest.userInfo.address?null:t.workRequest.userInfo.address.state," "),e.yG2(3),e.oRS(" ",null==t.workRequest||null==t.workRequest.userInfo?null:t.workRequest.userInfo.phoneNumber," "),e.yG2(3),e.oRS(" ",null==t.workRequest||null==t.workRequest.userInfo?null:t.workRequest.userInfo.email," "),e.yG2(),e.E7m("ngIf",t.status.indexOf("Complete")<0&&t.status.indexOf("Hired")<0||"canceled"==(null==t.workRequest?null:t.workRequest.progress)),e.yG2(),e.E7m("ngIf",(t.status.indexOf("Complete")>=0||t.status.indexOf("Hired")>=0)&&"canceled"!=(null==t.workRequest?null:t.workRequest.progress)),e.yG2(4),e.cNF(e.kDX(20,11,null==t.workRequest?null:t.workRequest.requestType)),e.yG2(4),e.oRS(" ",e.g7$(24,13,null==t.workRequest?null:t.workRequest.postedDate,"MMMM dd, YYYY - hh:mm aaa"),""),e.yG2(3),e.E7m("ngIf",(null==t.workRequest?null:t.workRequest.requestType.indexOf("Tax Return"))>=0)}}function bt(n,r){if(1&n&&(e.I0R(0,"span",34),e.OEk(1),e.C$Y()),2&n){const t=e.GaO().$implicit;e.yG2(),e.oRS(" ",t.name," ")}}function Rt(n,r){if(1&n&&(e.I0R(0,"div"),e.yuY(1,bt,2,1,"span",33),e.C$Y()),2&n){const t=r.$implicit;e.yG2(),e.E7m("ngIf",t.value)}}function wt(n,r){if(1&n&&(e.I0R(0,"ion-col",30)(1,"div",31)(2,"span"),e.OEk(3),e.C$Y()(),e.yuY(4,Rt,2,1,"div",32),e.C$Y()),2&n){const t=e.GaO().$implicit,i=e.GaO(2);e.yG2(3),e.cNF(null!=t&&t.question?"Non-Profit Tax Return"!=i.workRequest.requestType?t.question.replace("Trustees","Number Of Shareholders"):t.question:null==t?null:t.question2),e.yG2(),e.E7m("ngForOf",t.answers)}}function Dt(n,r){if(1&n&&(e.I0R(0,"div")(1,"span",34),e.OEk(2),e.C$Y()()),2&n){const t=r.$implicit;e.yG2(2),e.oRS(" ",t.value,"")}}function Mt(n,r){if(1&n&&(e.I0R(0,"ion-col",30)(1,"div")(2,"span"),e.OEk(3),e.C$Y()(),e.yuY(4,Dt,3,1,"div",32),e.C$Y()),2&n){const t=e.GaO().$implicit,i=e.GaO(2);e.yG2(3),e.cNF(null!=t&&t.question?"Non-Profit Tax Return"!=i.workRequest.requestType?t.question.replace("Trustees","Number Of Shareholders"):t.question:null==t?null:t.question2),e.yG2(),e.E7m("ngForOf",t.answers
1)}}function xt(n,r){if(1&n&&(e.I0R(0,"div",26)(1,"ion-row")(2,"ion-col",27)(3,"div",28),e.OEk(4),e.C$Y()(),e.yuY(5,wt,5,2,"ion-col",29)(6,Mt,5,2,"ion-col",29),e.C$Y()()),2&n){const t=r.$implicit,i=r.index;e.yG2(4),e.oRS(" ",i+1," "),e.yG2(),e.E7m("ngIf",t.formType.indexOf("-one")>=0||t.formType.indexOf("-multi")>=0||t.formType.indexOf("autocomplete")>=0),e.yG2(),e.E7m("ngIf",t.formType.indexOf("input")>=0)}}function Et(n,r){if(1&n&&(e.I0R(0,"div",1)(1,"div",21)(2,"h5",22),e.OEk(3,"Work Request Details?"),e.C$Y()(),e.I0R(4,"div",23)(5,"ion-row",24)(6,"ion-col"),e.yuY(7,xt,7,3,"div",25),e.C$Y()()()()),2&n){const t=e.GaO();e.yG2(7),e.E7m("ngForOf",t.userProvider.getQuestions(t.workRequest))}}let Yt=(()=>{class n{util;userProvider;router;route;format;leadWatcher;firebaseApi;wRid;workRequest;showCal=new e._w7;part1="";part2="";tab;_showQuestionsDetails=!1;status="";constructor(t,i,s,c,m,b,D){this.util=t,this.userProvider=i,this.router=s,this.route=c,this.format=m,this.leadWatcher=b,this.firebaseApi=D}ngOnInit(){var t=this;return(0,E.c)(function*(){if(t.route.queryParams.subscribe(function(){var i=(0,E.c)(function*(s){t.tab=s.tab?s.tab:"activity"});return function(s){return i.apply(this,arguments)}}()),"complete"===t.workRequest.progress)t.status="Complete";else{const i=t.workRequest?.tasks.find(s=>s.vendorId===t.userProvider.loggedInUser.id);t.status=i&&i?.id&&!0===i?.hired?"Hired, In-Progress":""}console.log("wr-=>>>>>>>>>.",t.status)})()}getAnsweredQuestions(t){return t&&t.length>0?t.filter(i=>i.answers.find(s=>!0===s.value)):[]}navToTab(t){this.tab=t}openOppointment(){this.showCal.emit()}get thisAppointments(){const t=this.leadWatcher.appointments.data.filter(i=>i.meta.workRequestId===this.wRid);return t.length>0?t:[]}updateProgress(t){var i=this;return(0,E.c)(function*(){const s=t.target.value;i.workRequest.progress="Complete"===s?"complete":"in-progress",console.log("evt ->",s);try{yield i.firebaseApi.updateOne("workRequests",i.workRequest.id,{progress:i.workRequest.progress})}catch{i.util.createErrorAlert(null,"Could not update status, please try again.")}})()}static \u0275fac=function(i){return new(i||n)(e.GI1(Ue.e),e.GI1(Re.e),e.GI1(z.E5),e.GI1(z.gV),e.GI1(we.M),e.GI1(be.c),e.GI1(ye.H))};static \u0275cmp=e.In1({type:n,selectors:[["app-details-scr"]],inputs:{wRid:"wRid",workRequest:"workRequest",part1:"part1",part2:"part2"},outputs:{showCal:"showCal"},decls:2,vars:2,consts:[["class","margin-1",4,"ngIf"],[1,"margin-1"],[1,"bold-600"],[1,"info"],["sizeLg","12","size","12",1,"ion-text-left"],["name","location-outline","color","primary"],["name","call-outline","color","primary"],["name","mail-outline","color","primary"],["class","status",4,"ngIf"],["class","center",4,"ngIf"],[1,"margin-top-1"],[1,"font-600"],[1,"font-500","grey","margin-top-1"],["id","wr-summary",1,"margin-top-1"],[4,"ngIf"],[1,"status"],[1,"cap"],[1,"center"],[3,"ngModel","ngModelChange","change"],["class","state-abrev",4,"ngFor","ngForOf"],[1,"state-abrev"],[1,"margin-bot-1"],[1,"font-600",2,"margin","0 0.8rem"],[1,"white-block","margin-top-2"],[1,"ion-justify-content-start","ion-align-items-center"],["class","numbers-box margin-top-1",4,"ngFor","ngForOf"],[1,"numbers-box","margin-top-1"],["size","2",1,"flex","f-just-end"],[1,"number-img"],["size","10",4,"ngIf"],["size","10"],[1,"bold-500","capitalize"],[4,"ngFor","ngForOf"],["class","b-c",4,"ngIf"],[1,"b-c"]],template:function(i,s){1&i&&e.yuY(0,yt,27,16,"div",0)(1,Et,8,1,"div",0),2&i&&(e.E7m("ngIf",s.part1),e.yG2(),e.E7m("ngIf",s.part2))},dependencies:[P.ay,P.u_,R.Kk,R.Ko,R.qo,Y.wd,Y.GO,Y.GC,Y.ue,Y._G,P.oL,P.y],styles:["ion-row[_ngcontent-%COMP%]{margin:0;padding:0;border:1px solid rgba(255,0,0,0)}ion-col[_ngcontent-%COMP%]{margin:0;padding:0;border:1px solid rgba(0,0,119,0)}h1[_ngcontent-%COMP%]{margin:2px auto;font-size:1.4rem}h2[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], span[_ngcontent-%COMP%], p[_ngcontent-%COMP%]{margin:2px auto;padding:0}p[_ngcontent-%COMP%]{margin:0;color:#555}ion-toggle[_ngcontent-%COMP%]{height:30px;width:60px;--handle-width: 30px;--handle-height: 30px}.profile-img[_ngcontent-%COMP%]{border-radius:100%;width:60px;height:60px;background-size:cover;background-position:center;max-width:60px;min-width:60px}.orange-btn[_ngcontent-%COMP%]   button.btn[_ngcontent-%COMP%]{border-radius:5px;background:#ffa00033;border:1px solid #ffa000;font-weight:400}#container[_ngcontent-%COMP%]{padding:0 0 100px}#details[_ngcontent-%COMP%]{padding:0;width:100%}#details[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{text-decoration:underline}#details[_ngcontent-%COMP%]   .dashboard-box[_ngcontent-%COMP%]{width:100%;border-radius:15px;border:1px solid rgba(34,34,34,.0666666667)}#details[_ngcontent-%COMP%]   .dashboard-row[_ngcontent-%COMP%]{width:100%;transition:all 1s;transform:scale(1)}#details[_ngcontent-%COMP%]   .dashboard-row[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin:3px}#details[_ngcontent-%COMP%]   .dashboard-row[_ngcontent-%COMP%]   .name[_ngcontent-%COMP%]{font-weight:100;font-size:2rem}#details[_ngcontent-%COMP%]   .dashboard-row[_ngcontent-%COMP%]   .star[_ngcontent-%COMP%]{display:inline-block;width:35px;transform:translateY(0)}
1#details[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]{background:#6e63ff;background:#fff;border-radius:18px 18px 0 0}#details[_ngcontent-%COMP%]   .bottom[_ngcontent-%COMP%]{padding:25px}#details[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{display:inline-block;margin:0 5px;width:20px;transform:translateY(7px)}#details[_ngcontent-%COMP%]   .inline-btn[_ngcontent-%COMP%]{display:inline-block;margin:10px;padding:0 10px 5px;color:#fff;font-size:1rem;text-decoration:none;background:#4d99e1;border-radius:2px}#details[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{padding:2px;font-size:1.2rem;background:#fff;border:2px solid #777777;border-radius:3px}.headshot[_ngcontent-%COMP%]{display:inline-block;width:100px}.headshot-box[_ngcontent-%COMP%]{height:0px}.headshot-transform[_ngcontent-%COMP%]{display:inline-block;margin:20px;width:150px;transform:translateY(-50px)}.activity[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:25px;transform:translate(50%,50%)}#details-nav[_ngcontent-%COMP%]{border-radius:15px;border:1px solid rgba(34,34,34,.0666666667);box-shadow:10px 10px 30px #0004}
1#details-nav[_ngcontent-%COMP%]   .circle[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{transform:translateY(10px)}#details-nav[_ngcontent-%COMP%]   .details-nav-box[_ngcontent-%COMP%]{margin:20px auto;padding:25px;border-radius:15px;border:1px solid rgba(34,34,34,.0666666667);box-shadow:10px 10px 30px #0004}#wr-nav[_ngcontent-%COMP%]{background:#fff;width:100%;display:flex;align-items:center;justify-content:space-evenly;border-radius:4px;padding:15px 0}#wr-nav[_ngcontent-%COMP%]   .wr-nav-item[_ngcontent-%COMP%]{color:#000;font-size:1.2rem;text-align:center;border-bottom:2px solid transparent}#wr-nav[_ngcontent-%COMP%]   .wr-nav-item[_ngcontent-%COMP%]:hover{cursor:pointer}#wr-nav[_ngcontent-%COMP%]   .wr-nav-item.greyed[_ngcontent-%COMP%]{opacity:.3}#wr-nav[_ngcontent-%COMP%]   .wr-nav-item.selected[_ngcontent-%COMP%]{border-bottom:3px solid black}.circle-black[_ngcontent-%COMP%]{display:inline-block;margin:5px;height:50px;width:50px;color:#fff;background:#000;border:1px solid black;border-radius:50%}.circle-white[_ngcontent-%COMP%]{display:inline-block;margin:5px;height:50px;width:50px;color:#000;background:#fff;border:1px solid rgba(0,0,0,.4666666667);border-radius:50%}.bg-purple[_ngcontent-%COMP%]{background:#8180e099}.bg-blue-light[_ngcontent-%COMP%]{background:#c1f8ff}.bg-blue[_ngcontent-%COMP%]{background:#0af}.bg-green[_ngcontent-%COMP%]{background:#6aaf5299}.bg-orange[_ngcontent-%COMP%]{background:#ffc30099}.bg-red[_ngcontent-%COMP%]{background:red}.font-red[_ngcontent-%COMP%]{color:red}.font-green[_ngcontent-%COMP%]{color:#6aaf52}.font-blue[_ngcontent-%COMP%]{color:#8180e0}.font-blue-light[_ngcontent-%COMP%]{color:#2ad1dd}.font-orange[_ngcontent-%COMP%]{color:#f5ac2d;color:#ffa000}.font-purple[_ngcontent-%COMP%]{color:#8e8de3}.font-white[_ngcontent-%COMP%]{color:#fff}.font-gray[_ngcontent-%COMP%]{color:#999}.font-500[_ngcontent-%COMP%]{font-weight:500}.font-600[_ngcontent-%COMP%]{font-weight:600}.font-700[_ngcontent-%COMP%]{font-weight:700}@media (max-width: 972px){#dashboard[_ngcontent-%COMP%]{padding:100px 10px}.headshot-box[_ngcontent-%COMP%]{height:auto}.headshot-transform[_ngcontent-%COMP%]{margin:20px;width:150px;transform:translateY(0)}}.action-btn[_ngcontent-%COMP%]{border-radius:5px;border:1px solid rgb(189,189,189);padding:.2rem .5rem;margin-right:1rem}.action-btn[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:20px;margin-right:1rem}.icon[_ngcontent-%COMP%]{margin:0 5px;width:20px;height:20px}.info[_ngcontent-%COMP%]   ion-col[_ngcontent-%COMP%]{display:flex;align-items:center;margin-bottom:.5rem}.info[_ngcontent-%COMP%]   ion-col[_ngcontent-%COMP%]   ion-icon[_ngcontent-%COMP%]{margin-right:.5rem}.status[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;border:1px solid #f9da75;background-color:#fff5d5;padding:0 1rem;color:#000;max-width:200px;border-radius:5px;height:40px;margin:.7rem auto}.status[_ngcontent-%COMP%]   .dot[_ngcontent-%COMP%]{font-size:2.5rem!important;margin-right:.6rem;padding:0;line-height:2rem}select[_ngcontent-%COMP%]{padding:2px;font-size:1rem;background:#fff;border:2px solid #777777;border-radius:6px;height:40px;text-align:center;width:200px;background-color:#fff5d5;border:1px solid #f9da75}"]})}return n})();var Pt=_(416);function $t(n,r){if(1&n&&(e.I0R(0,"span",8),e.OEk(1),e.C$Y()),2&n){const t=e.GaO(2);e.yG2(),e.oRS(" ",t.format.getFullPackage(t.workRequest)," ")}}function Tt(n,r){if(1&n&&(e.I0R(0,"div",6),e.yuY(1,$t,2,1,"span",7),e.C$Y()),2&n){const t=e.GaO();e.yG2(),e.E7m("ngIf","Personal Tax Return"===(null==t.workRequest?null:t.workRequest.requestType))}}function St(n,r){if(1&n){const t=e.KQA();e.I0R(0,"div",4),e.qCj("click",function(){e.usT(t);const s=e.GaO();return e.CGJ(s.leadWatcher._tab="Returning-Details")}),e.OEk(1," Details "),e.C$Y()}if(2&n){const t=e.GaO();e.E7m("ngClass","Returning-Details"==t.leadWatcher._tab?"selected":"")}}function Gt(n,r){if(1&n){const t=e.KQA();e.I0R(0,"div",4),e.qCj("click",function(){e.usT(t);const s=e.GaO();return e.CGJ(s.leadWatcher._tab="Details")}),e.OEk(1," Details "),e.C$Y()}if(2&n){const t=e.GaO();e.E7m("ngClass","Details"==t.leadWatcher._tab?"selected":"")}}function Ft(n,r){if(1&n){const t=e.KQA();e.I0R(0,"div",4),e.qCj("click",function(){e.usT(t);const s=e.GaO();return s.leadWatcher._tab="Invoices",e.CGJ(s.refreshInvoices())}),e.OEk(1," Invoices "),e.C$Y()}if(2&n){const t=e.GaO();e.E7m("ngClass","Invoices"==t.leadWatcher._tab?"selected":"")}}function At(n,r){if(1&n){const t=e.KQA();
1e.I0R(0,"ion-row")(1,"ion-col",9)(2,"div",10)(3,"app-details-scr",11),e.qCj("showCal",function(){e.usT(t);const s=e.GaO();return e.CGJ(s.showCal())}),e.C$Y()()(),e.I0R(4,"ion-col",12)(5,"div",10)(6,"app-details-scr",11),e.qCj("showCal",function(){e.usT(t);const s=e.GaO();return e.CGJ(s.showCal())}),e.C$Y()()()()}if(2&n){const t=e.GaO();e.yG2(3),e.E7m("wRid",t.workRequest.id)("workRequest",t.workRequest)("part1","part1")("part2",""),e.yG2(3),e.E7m("wRid",t.workRequest.id)("workRequest",t.workRequest)("part1","")("part2","part2")}}function Nt(n,r){if(1&n&&(e.I0R(0,"ion-row")(1,"ion-col")(2,"div",10),e.wR5(3,"app-documents-scr",13),e.C$Y()()()),2&n){const t=e.GaO();e.yG2(3),e.E7m("wRid",t.workRequest.id)}}function qt(n,r){if(1&n&&(e.I0R(0,"div"),e.OEk(1),e.wVc(2,"date"),e.C$Y()),2&n){const t=e.GaO(2);e.yG2(),e.oRS(" ",e.g7$(2,1,null==t.findMessage?null:t.findMessage.proposalDate.toDate(),"MMMM dd, YY hh:mm a")," ")}}function jt(n,r){if(1&n&&(e.I0R(0,"div",18)(1,"a",19)(2,"div",20),e.wR5(3,"ion-icon",21),e.I0R(4,"span"),e.OEk(5),e.C$Y()()()()),2&n){const t=r.$implicit;e.yG2(),e.E7m("href",t.url,e.K6U)("download",t.url.split("/")[t.url.split("/").length-1]),e.yG2(4),e.cNF(t.name)}}function Ht(n,r){if(1&n&&(e.I0R(0,"ion-row")(1,"ion-col")(2,"div",10)(3,"div",14)(4,"h3",15),e.OEk(5,"Proposal Message"),e.C$Y(),e.yuY(6,qt,3,4,"div",5),e.wR5(7,"div",16),e.yuY(8,jt,6,3,"div",17),e.C$Y()()()()),2&n){const t=e.GaO();e.yG2(6),e.E7m("ngIf",t.findMessage&&(null==t.findMessage?null:t.findMessage.proposalDate)),e.yG2(),e.E7m("innerHtml",null!=t.findMessage&&t.findMessage.vendorProposalMsg?null==t.findMessage?null:t.findMessage.vendorProposalMsg:"No message sent to client.",e.E3n),e.yG2(),e.E7m("ngForOf",null==t.findMessage?null:t.findMessage.templateFiles)}}function Wt(n,r){if(1&n&&(e.I0R(0,"ion-row")(1,"ion-col"),e.wR5(2,"app-chats",22),e.C$Y()()),2&n){const t=e.GaO();
1e.yG2(2),e.E7m("wrId",t.workRequest.id)}}function Lt(n,r){if(1&n){const t=e.KQA();e.I0R(0,"tr")(1,"td",36),e.qCj("click",function(){const c=e.usT(t).$implicit,m=e.GaO(3);return e.CGJ(m.showInvoiceDetails(c))}),e.OEk(2),e.C$Y(),e.I0R(3,"td"),e.OEk(4),e.C$Y(),e.I0R(5,"td"),e.OEk(6),e.C$Y(),e.I0R(7,"td"),e.OEk(8),e.C$Y(),e.I0R(9,"td"),e.OEk(10),e.C$Y(),e.I0R(11,"td"),e.OEk(12),e.C$Y(),e.I0R(13,"td")(14,"ion-button",37),e.qCj("click",function(){const c=e.usT(t).$implicit,m=e.GaO(3);return e.CGJ(m.payInvoice(c.invoice_pdf))}),e.OEk(15,"Download"),e.C$Y()()()}if(2&n){const t=r.$implicit,i=e.GaO(3);e.yG2(2),e.oRS(" ",t.number," "),e.yG2(2),e.oRS(" ",i.getYear(t.created)," "),e.yG2(2),e.oRS("$ ",t.amount_due/100,""),e.yG2(2),e.oRS(" ",i.getDateOnly(t.created)," "),e.yG2(2),e.oRS(" ",t.paymentDate||"-"," "),e.yG2(2),e.oRS(" ",t.status.toUpperCase()," ")}}function zt(n,r){1&n&&(e.I0R(0,"div",38)(1,"div"),e.OEk(2,"No Invoice Available"),e.C$Y()())}function Bt(n,r){if(1&n){const t=e.KQA();e.I0R(0,"div",26)(1,"div",27)(2,"h4",28),e.OEk(3,"ALL YEAR INVOICES"),e.C$Y(),e.I0R(4,"div",29)(5,"ion-button",30),e.qCj("click",function(){e.usT(t);const s=e.GaO(2);return e.CGJ(s.refreshInvoices())}),e.wR5(6,"ion-icon",31),e.OEk(7," Refresh "),e.C$Y(),e.I0R(8,"ion-button",32),e.qCj("click",function(){e.usT(t);const s=e.GaO(2);return e.CGJ(s.generateInvoice=!0)}),e.OEk(9,"Generate Invoice"),e.C$Y()()(),e.I0R(10,"div",33)(11,"div")(12,"table")(13,"thead")(14,"tr")(15,"th"),e.OEk(16,"Invoice Number"),e.C$Y(),e.I0R(17,"th"),e.OEk(18,"Year"),e.C$Y(),e.I0R(19,"th"),e.OEk(20,"Total Amount"),e.C$Y(),e.I0R(21,"th"),e.OEk(22,"Invoice Date"),e.C$Y(),e.I0R(23,"th"),e.OEk(24,"Payment Date"),e.C$Y(),e.I0R(25,"th"),e.OEk(26,"Invoice Status"),e.C$Y(),e.I0R(27,"th"),e.OEk(28,"Download"),e.C$Y()()(),e.I0R(29,"tbody"),e.yuY(30,Lt,16,6,"tr",34),e.C$Y()()()(),e.yuY(31,zt,3,0,"div",35),e.C$Y()}if(2&n){const t=e.GaO(2);e.yG2(30),e.E7m("ngForOf",t.invoices.slice().reverse()),e.yG2(),e.E7m("ngIf",0==t.invoices.length)}}function Ut(n,r){if(1&n&&(e.I0R(0,"ion-select-option",62),e.OEk(1),e.C$Y()),2&n){const t=r.$implicit;e.E7m("value",t),e.yG2(),e.oRS(" ",t.templateName," ")}}function Vt(n,r){if(1&n){const t=e.KQA();e.I0R(0,"div",63)(1,"div",64)(2,"input",65),e.iHE("ngModelChange",function(s){const m=e.usT(t).$implicit;return e.kNx(m.itemdesc,s)||(m.itemdesc=s),e.CGJ(s)}),e.qCj("input",function(){e.usT(t);const s=e.GaO(3);return e.CGJ(s.calculateTotals())}),e.C$Y()(),e.I0R(3,"div",64)(4,"input",66),e.iHE("ngModelChange",function(s){const m=e.usT(t).$implicit;return e.kNx(m.quantity,s)||(m.quantity=s),e.CGJ(s)}),e.qCj("keypress",function(s){e.usT(t);const c=e.GaO(3);return e.CGJ(c.validateNumber(s))})("input",function(){e.usT(t);const s=e.GaO(3);return e.CGJ(s.calculateTotals())}),e.C$Y()(),e.I0R(5,"div",64)(6,"input",67),e.iHE("ngModelChange",function(s){const m=e.usT(t).$implicit;return e.kNx(m.price,s)||(m.price=s),e.CGJ(s)}),e.qCj("input",function(s){const m=e.usT(t).$implicit,b=e.GaO(3);return e.CGJ(b.formatPrice(s,m))})("keypress",function(s){e.usT(t);const c=e.GaO(3);return e.CGJ(c.validateNumber(s))}),e.C$Y()(),e.I0R(7,"div",68)(8,"span"),e.OEk(9),e.C$Y()(),e.I0R(10,"div",69)(11,"ion-button",70),e.qCj("click",function(){const c=e.usT(t).index,m=e.GaO(3);return e.CGJ(m.removeItem(c))}),e.wR5(12,"ion-icon",71),e.OEk(13,"\xa0Delete "),e.C$Y()()()}if(2&n){const t=r.$implicit,i=r.index;e.yG2(2),e.CI5("name","itemdesc",i,""),e.OKB("ngModel",t.itemdesc),e.yG2(2),e.CI5("name","quantity",i,""),e.OKB("ngModel",t.quantity),e.yG2(2),e.CI5("name","price",i,""),e.OKB("ngModel",t.price),e.yG2(3),e.oRS(" $",((+t.quantity||0)*(+t.price||0)).toFixed(2)," ")}}function Jt(n,r){1&n&&e.wR5(0,"ion-spinner")}function Kt(n,r){1&n&&(e.I0R(0,"span"),e.OEk(1,"Create And Send Invoice Email To Client"),e.C$Y())}function Qt(n,r){if(1&n){const t=e.KQA();e.I0R(0,"div",39)(1,"ion-button",40),e.qCj("click",function(){e.usT(t);const s=e.GaO(2);return e.CGJ(s.generateInvoice=!1)}),e.wR5(2,"ion-icon",41),e.OEk(3,"\xa0Back "),e.C$Y(),e.I0R(4,"div",26)(5,"h4",42),e.OEk(6,"Generate Invoice"),e.C$Y(),e.I0R(7,"div",43)(8,"div",44)(9,"ion-select",45),e.iHE("ngModelChange",function(s){e.usT(t);const c=e.GaO(2);return e.kNx(c.selectedTemplate,s)||(c.selectedTemplate=s),e.CGJ(s)}),e.qCj("ngModelChange",function(){e.usT(t);const s=e.GaO(2);return e.CGJ(s.onTemplateChange())}),e.yuY(10,Ut,2,2,"ion-select-option",46),e.C$Y()(),e.I0R(11,"div",47)(12,"h6",48),e.OEk(13,"Invoice Date :"),e.C$Y(),e.I0R(14,"div",49),e.wR5(15,"ion-icon",50),e.OEk(16),e.C$Y()()(),e.I0R(17,"div"),e.yuY(18,Vt,14,7,"div",51),e.C$Y(),e.wR5(19,"div",52),e.I0R(20,"div",53)(21,"ion-button",32),e.qCj("click",function(){e.usT(t);const s=e.GaO(2);return e.CGJ(s.addRow())}),e.wR5(22,"ion-icon",54),e.OEk(23,"\xa0Add Row "),e.C$Y()(),e.I0R(24,"div",53)(25,"div",55)(26,"div",56)(27,"h6"),e.OEk(28,"Subtotal :"),e.C$Y(),e.I0R(29,"p",57),e.OEk(30),e.C$Y()(),e.I0R(31,"div",56)(32,"h6"),e.OEk(33,"Total :"),e.C$Y(),e.I0R(34,"p",58),e.OEk(35),e.C$Y()()()(),e.I0R(36,"div",59)(37,"div")(38,"ion-button",60),e.qCj("click",function(){e.usT(t);const s=e.GaO(2);
1return e.CGJ(s.confirmGenerateInv())}),e.yuY(39,Jt,1,0,"ion-spinner",5)(40,Kt,2,0,"span",5),e.C$Y()(),e.I0R(41,"div")(42,"ion-button",61),e.OEk(43," Payment Received"),e.C$Y()()()()()}if(2&n){const t=e.GaO(2);e.yG2(9),e.OKB("ngModel",t.selectedTemplate),e.yG2(),e.E7m("ngForOf",t.invoiceTemp),e.yG2(6),e.oRS(" ",t.invoiceDate," "),e.yG2(2),e.E7m("ngForOf",t.selectedItems),e.yG2(12),e.oRS("$ ",t.subtotal.toFixed(2),""),e.yG2(5),e.oRS("$ ",t.finalTotal.toFixed(2),""),e.yG2(3),e.E7m("disabled",t.isLoading),e.yG2(),e.E7m("ngIf",t.isLoading),e.yG2(),e.E7m("ngIf",!t.isLoading)}}function Zt(n,r){1&n&&e.wR5(0,"ion-spinner")}function Xt(n,r){if(1&n&&(e.I0R(0,"span"),e.OEk(1),e.C$Y()),2&n){const t=e.GaO(3);e.yG2(),e.oRS(" ",t.selectedInvoice.paid?"PAID":"Mark Paid"," ")}}function en(n,r){if(1&n&&(e.I0R(0,"tr")(1,"td",73),e.OEk(2),e.C$Y(),e.I0R(3,"td"),e.OEk(4),e.C$Y(),e.I0R(5,"td"),e.OEk(6),e.C$Y(),e.I0R(7,"td",73),e.OEk(8),e.C$Y()()),2&n){const t=r.$implicit;e.yG2(2),e.oRS(" ",t.description," "),e.yG2(2),e.cNF(t.quantity),e.yG2(2),e.oRS(" $ ",t.unit_amount_excluding_tax/100," "),e.yG2(2),e.oRS(" ",t.amount/100," ")}}function tn(n,r){if(1&n){const t=e.KQA();e.I0R(0,"div",39)(1,"ion-button",40),e.qCj("click",function(){e.usT(t);const s=e.GaO(2);return e.CGJ(s.selectedInvNull())}),e.wR5(2,"ion-icon",41),e.OEk(3,"\xa0Back "),e.C$Y(),e.I0R(4,"div",72)(5,"div",27)(6,"div")(7,"h5"),e.OEk(8," INVOICE DETAIL FOR INVOICE NO "),e.I0R(9,"span",73),e.OEk(10),e.C$Y(),e.OEk(11),e.C$Y()(),e.I0R(12,"div",74)(13,"div")(14,"ion-button",75),e.qCj("click",function(){e.usT(t);const s=e.GaO(2);return e.CGJ(s.confirmMarkPaid())}),e.yuY(15,Zt,1,0,"ion-spinner",5)(16,Xt,2,1,"span",5),e.C$Y()(),e.I0R(17,"div",76)(18,"span"),e.OEk(19),e.C$Y()()()(),e.I0R(20,"div")(21,"div",39)(22,"table")(23,"thead")(24,"tr")(25,"th"),e.OEk(26,"Item"),e.C$Y(),e.I0R(27,"th"),e.OEk(28,"Qty"),e.C$Y(),e.I0R(29,"th"),e.OEk(30,"Unit Price"),e.C$Y(),e.I0R(31,"th"),e.OEk(32,"Total Price"),e.C$Y()()(),e.I0R(33,"tbody"),e.yuY(34,en,9,4,"tr",34),e.C$Y()()(),e.I0R(35,"div",77)(36,"div",78)(37,"div",27)(38,"div",42),e.OEk(39,"Subtotal :"),e.C$Y(),e.I0R(40,"div",73),e.OEk(41),e.C$Y()(),e.I0R(42,"div",27)(43,"div",42),e.OEk(44,"Total :"),e.C$Y(),e.I0R(45,"div",79),e.OEk(46),e.C$Y()()()()()()()}if(2&n){const t=e.GaO(2);e.yG2(10),e.cNF(t.selectedInvoice.number),e.yG2(),e.oRS(" AND INVOICE YEAR ",t.getYear(t.selectedInvoice.created)," "),e.yG2(3),e.E7m("disabled",t.selectedInvoice.paid||t.isMarkingPaid),e.yG2(),e.E7m("ngIf",t.isMarkingPaid),e.yG2(),e.E7m("ngIf",!t.isMarkingPaid),e.yG2(3),e.cNF(t.getDateOnly(t.selectedInvoice.created)),e.yG2(15),e.E7m("ngForOf",t.selectedInvoice.lines.data),e.yG2(7),e.oRS(" $ ",t.selectedInvoice.subtotal/100," "),e.yG2(5),e.oRS(" $",t.selectedInvoice.total/100," ")}}function nn(n,r){if(1&n&&(e.I0R(0,"ion-row"),e.yuY(1,Bt,32,2,"div",23)(2,Qt,44,9,"div",24)(3,tn,47,9,"ng-template",25),e.C$Y()),2&n){const t=e.GaO();e.yG2(),e.E7m("ngIf",!t.generateInvoice&&!t.selectedInvoice),e.yG2(),e.E7m("ngIf",t.generateInvoice&&!t.selectedInvoice),e.yG2(),e.E7m("ngIf",t.selectedInvoice)}}function on(n,r){if(1&n&&(e.I0R(0,"tr")(1,"td"),e.OEk(2),e.C$Y(),e.I0R(3,"td"),e.OEk(4),e.C$Y(),e.I0R(5,"td"),e.OEk(6),e.C$Y(),e.I0R(7,"td"),e.OEk(8),e.C$Y(),e.I0R(9,"td"),e.OEk(10),e.C$Y(),e.I0R(11,"td"),e.OEk(12),e.C$Y(),e.I0R(13,"td"),e.OEk(14),e.C$Y()()),2&n){const t=r.$implicit,i=r.index;e.yG2(2),e.cNF(i+1),e.yG2(2),e.oRS(" ",t.first_name," "),e.yG2(2),e.oRS(" ",t.middle_name," "),e.yG2(2),e.oRS(" ",t.last_name," "),e.yG2(2),e.oRS(" ",t.ssn_itin," "),e.yG2(2),e.cNF(t.dob),e.yG2(2),e.oRS(" ",t.relationship," ")}}function an(n,r){if(1&n&&(e.I0R(0,"tr")(1,"td"),e.OEk(2),e.C$Y(),e.I0R(3,"td"),e.OEk(4),e.C$Y(),e.I0R(5,"td"),e.OEk(6),e.C$Y(),e.I0R(7,"td"),e.OEk(8),e.C$Y(),e.I0R(9,"td"),e.OEk(10),e.C$Y(),e.I0R(11,"td"),e.OEk(12),e.C$Y(),e.I0R(13,"td"),e.OEk(14),e.C$Y()()),2&n){const t=r.$implicit,i=r.index;e.yG2(2),e.cNF(i+1),e.yG2(2),e.oRS(" ",t.charityName," "),e.yG2(2),e.oRS(" ",t.paymentMode," "),e.yG2(2),e.oRS(" ",t.donationDate," "),e.yG2(2),e.oRS(" ",t.amount," "),e.yG2(2),e.oRS(" ",t.milesTravelled," "),e.yG2(2),e.oRS(" ",t.otherTravel," ")}}function rn(n,r){if(1&n&&(e.I0R(0,"tr")(1,"td"),e.OEk(2),e.C$Y(),e.I0R(3,"td"),e.OEk(4),e.C$Y(),e.I0R(5,"td"),e.OEk(6),e.C$Y(),e.I0R(7,"td"),e.OEk(8),e.C$Y(),e.I0R(9,"td"),e.OEk(10),e.C$Y(),e.I0R(11,"td"),e.OEk(12),e.C$Y(),e.I0R(13,"td"),e.OEk(14),e.C$Y()()),2&n){const t=r.$implicit,i=r.index;e.yG2(2),e.cNF(i+1),e.yG2(2),e.oRS(" ",t.charityName," "),e.yG2(2),e.oRS(" ",t.fairMarketValue," "),e.yG2(2),e.oRS(" ",t.donationDate," "),e.yG2(2),e.oRS(" ",t.itemType," "),e.yG2(2),e.oRS(" ",t.milesTravelled," "),e.yG2(2),e.oRS(" ",t.otherTravel," ")}}function sn(n,r){if(1&n&&(e.I0R(0,"tr")(1,"td"),e.OEk(2),e.C$Y(),e.I0R(3,"td"),e.OEk(4),e.C$Y(),e.I0R(5,"td"),e.OEk(6),e.C$Y(),e.I0R(7,"td"),e.OEk(8),e.C$Y(),e.I0R(9,"td"),e.OEk(10),e.C$Y(),e.I0R(11,"td"),e.OEk(12),e.C$Y(),e.I0R(13,"td"),e.OEk(14),e.C$Y(),e.I0R(15,"td"),e.OEk(16),e.C$Y(),e.I0R(17,"td"),e.OEk(18),e.C$Y(),e.I0R(19,"td"),e.OEk(20),e.C$Y()()),2&n){const t=r.$implicit,i=r.index;e.yG2(2),e.cNF(i+1),e.yG2(2),e.oRS(" ",t.childName," "),e.yG2(2),e.oRS(" ",t.daycareName," "),e.yG2(2),e.oRS(" ",t.taxIdOrSSN," "),e.yG2(2),e.oRS(" ",t.phoneNumber," "),e.yG2(2),e.oRS(" ",t.amountPaid," "),e.yG2(2),e.oRS(" ",t.address," "),e.yG2(2),e.oRS(" ",t.state," "),e.yG2(2),e.oRS(" ",t.city," "),e.yG2(2),e.oRS(" ",t.zipcode," ")}}function ln(n,r){if(1&n&&(e.I0R(0,"tr")(1,"td"),e.OEk(2),e.C$Y(),e.I0R(3,"td"),e.OEk(4),e.C$Y(),e.I0R(5,"td"),e.OEk(6),e.C$Y(),e.I0R(7,"td"),e.OEk(8),e.C$Y(),e.I0R(9,"td"),e.OEk(10),e.C$Y()()),2&n){const t=r.$implicit,i=r.index;e.yG2(2),e.cNF(i+1),e.yG2(2),e.oRS(" ",t.bankName," "),e.yG2(2),e.oRS(" ",t.routingNo," "),e.yG2(2),e.oRS(" ",t.accountNo," "),e.yG2(2),e.oRS(" ",t.accountType," ")}}
1function dn(n,r){if(1&n&&(e.I0R(0,"ion-row")(1,"div",80)(2,"div")(3,"h2",81)(4,"span"),e.OEk(5),e.C$Y(),e.OEk(6,"\xa0"),e.I0R(7,"span"),e.OEk(8),e.C$Y()()(),e.I0R(9,"div",82)(10,"ion-row")(11,"ion-col")(12,"ion-accordion-group")(13,"ion-accordion")(14,"ion-item",83)(15,"ion-label"),e.OEk(16,"Taxpayer Details"),e.C$Y()(),e.I0R(17,"div",84)(18,"table",85)(19,"tr")(20,"td")(21,"strong"),e.OEk(22,"First Name:"),e.C$Y()(),e.I0R(23,"td"),e.OEk(24),e.C$Y()(),e.I0R(25,"tr")(26,"td")(27,"strong"),e.OEk(28,"Middle Name:"),e.C$Y()(),e.I0R(29,"td"),e.OEk(30),e.C$Y()(),e.I0R(31,"tr")(32,"td")(33,"strong"),e.OEk(34,"Last Name:"),e.C$Y()(),e.I0R(35,"td"),e.OEk(36),e.C$Y()(),e.I0R(37,"tr")(38,"td")(39,"strong"),e.OEk(40,"SSN/ITIN:"),e.C$Y()(),e.I0R(41,"td"),e.OEk(42),e.C$Y()(),e.I0R(43,"tr")(44,"td")(45,"strong"),e.OEk(46,"Date of Birth:"),e.C$Y()(),e.I0R(47,"td"),e.OEk(48),e.C$Y()(),e.I0R(49,"tr")(50,"td")(51,"strong"),e.OEk(52,"Occupation:"),e.C$Y()(),e.I0R(53,"td"),e.OEk(54),e.C$Y()()()()()()(),e.I0R(55,"ion-col")(56,"ion-accordion-group")(57,"ion-accordion")(58,"ion-item",83)(59,"ion-label"),e.OEk(60,"Spouse Details"),e.C$Y()(),e.I0R(61,"div",84)(62,"table",85)(63,"tr")(64,"td")(65,"strong"),e.OEk(66,"First Name:"),e.C$Y()(),e.I0R(67,"td"),e.OEk(68),e.C$Y()(),e.I0R(69,"tr")(70,"td")(71,"strong"),e.OEk(72,"Middle Name:"),e.C$Y()(),e.I0R(73,"td"),e.OEk(74),e.C$Y()(),e.I0R(75,"tr")(76,"td")(77,"strong"),e.OEk(78,"Last Name:"),e.C$Y()(),e.I0R(79,"td"),e.OEk(80),e.C$Y()(),e.I0R(81,"tr")(82,"td")(83,"strong"),e.OEk(84,"SSN/ITIN:"),e.C$Y()(),e.I0R(85,"td"),e.OEk(86),e.C$Y()(),e.I0R(87,"tr")(88,"td")(89,"strong"),e.OEk(90,"Date of Birth:"),e.C$Y()(),e.I0R(91,"td"),e.OEk(92),e.C$Y()(),e.I0R(93,"tr")(94,"td")(95,"strong"),e.OEk(96,"Occupation:"),e.C$Y()(),e.I0R(97,"td"),e.OEk(98),e.C$Y()()()()()()()(),e.I0R(99,"ion-row")(100,"ion-col")(101,"ion-accordion-group")(102,"ion-accordion")(103,"ion-item",83)(104,"ion-label"),e.OEk(105,"Dependents Information"),e.C$Y()(),e.I0R(106,"div",86)(107,"table",87)(108,"thead")(109,"tr")(110,"th"),e.OEk(111,"Dependent"),e.C$Y(),e.I0R(112,"th"),e.OEk(113,"First Name"),e.C$Y(),e.I0R(114,"th"),e.OEk(115,"Middle Name"),e.C$Y(),e.I0R(116,"th"),e.OEk(117,"Last Name"),e.C$Y(),e.I0R(118,"th"),e.OEk(119,"SSN/ITIN"),e.C$Y(),e.I0R(120,"th"),e.OEk(121,"Date of Birth"),e.C$Y(),e.I0R(122,"th"),e.OEk(123,"Relationship"),e.C$Y()()(),e.I0R(124,"tbody"),e.yuY(125,on,15,7,"tr",34),e.C$Y()()()()()()(),e.I0R(126,"ion-row")(127,"ion-col")(128,"ion-accordion-group")(129,"ion-accordion")(130,"ion-item",83)(131,"ion-label"),e.OEk(132,"Address Details"),e.C$Y()(),e.I0R(133,"div",84)(134,"table",85)(135,"tr")(136,"td")(137,"strong"),e.OEk(138,"Address:"),e.C$Y()(),e.I0R(139,"td"),e.OEk(140),e.C$Y()(),e.I0R(141,"tr")(142,"td")(143,"strong"),e.OEk(144,"Apartment:"),e.C$Y()(),e.I0R(145,"td"),e.OEk(146),e.C$Y()(),e.I0R(147,"tr")(148,"td")(149,"strong"),e.OEk(150,"City:"),e.C$Y()(),e.I0R(151,"td"),e.OEk(152),e.C$Y()(),e.I0R(153,"tr")(154,"td")(155,"strong"),e.OEk(156,"Zip Code:"),e.C$Y()(),e.I0R(157,"td"),e.OEk(158),e.C$Y()(),e.I0R(159,"tr")(160,"td")(161,"strong"),e.OEk(162,"State:"),e.C$Y()(),e.I0R(163,"td"),e.OEk(164),e.C$Y()(),e.I0R(165,"tr")(166,"td")(167,"strong"),e.OEk(168,"Residency Status:"),e.C$Y()(),e.I0R(169,"td"),e.OEk(170),e.C$Y()(),e.I0R(171,"tr")(172,"td")(173,"strong"),e.OEk(174,"Foreign Address:"),e.C$Y()(),e.I0R(175,"td"),e.OEk(176),e.C$Y()(),e.I0R(177,"tr")(178,"td")(179,"strong"),e.OEk(180,"Cell Phone:"),e.C$Y()(),e.I0R(181,"td"),e.OEk(182),e.C$Y()(),e.I0R(183,"tr")(184,"td")(185,"strong"),e.OEk(186,"Home Phone:"),e.C$Y()(),e.I0R(187,"td"),e.OEk(188),e.C$Y()(),e.I0R(189,"tr")(190,"td")(191,"strong"),e.OEk(192,"Work Phone:"),e.C$Y()(),e.I0R(193,"td"),e.OEk(194),e.C$Y()(),e.I0R(195,"tr")(196,"td")(197,"strong"),e.OEk(198,"Email:"),e.C$Y()(),e.I0R(199,"td"),e.OEk(200),e.C$Y()(),e.I0R(201,"tr")(202,"td")(203,"strong"),e.OEk(204,"Address Changed:"),e.C$Y()(),e.I0R(205,"td"),e.OEk(206),e.C$Y()(),e.I0R(207,"tr")(208,"td")(209,"strong"),e.OEk(210,"Visa Status:"),e.C$Y()(),e.I0R(211,"td"),e.OEk(212),e.C$Y()()()()()()()(),e.I0R(213,"ion-row")(214,"ion-col")(215,"ion-accordion-group")(216,"ion-accordion")(217,"ion-item",83)(218,"ion-label"),e.OEk(219,"Foreign Income"),e.C$Y()(),e.I0R(220,"div",84)(221,"table",88)(222,"thead")(223,"tr")(224,"th"),e.OEk(225,"Income Type"),e.C$Y(),e.I0R(226,"th"),e.OEk(227,"Amount"),e.C$Y()()(),e.I0R(228,"tbody")(229,"tr")(230,"td"),e.OEk(231,"Foreign Wages"),e.C$Y(),e.I0R(232,"td"),e.OEk(233),e.C$Y()(),e.I0R(234,"tr")(235,"td"),e.OEk(236,"Foreign Interest"),e.C$Y(),e.I0R(237,"td"),e.OEk(238),e.C$Y()(),e.I0R(239,"tr")(240,"td"),e.OEk(241,"Foreign Dividend"),e.C$Y(),e.I0R(242,"td"),e.OEk(243),e.C$Y()(),e.I0R(244,"tr")(245,"td"),e.OEk(246,"Foreign Business"),e.C$Y(),e.I0R(247,"td"),e.OEk(248),e.C$Y()(),e.I0R(249,"tr")(250,"td"),e.OEk(251,"Foreign Retirement"),e.C$Y(),e.I0R(252,"td"),e.OEk(253),e.C$Y()(),e.I0R(254,"tr")(255,"td"),e.OEk(256,"Foreign Stocks"),e.C$Y(),e.I0R(257,"td"),e.OEk(258),e.C$Y()(),e.I0R(259,"tr")(260,"td"),e.OEk(261,"Foreign Sale of Home"),e.C$Y(),e.I0R(262,"td"),e.OEk(263),e.C$Y()(),e.I0R(264,"tr")(265,"td"),e.OEk(266,"Foreign Rental"),e.C$Y(),e.I0R(267,"td"),e.OEk(268),e.C$Y()(),e.I0R(269,"tr")(270,"td"),e.OEk(271,"Foreign Taxes"),e.C$Y(),e.I0R(272,"td"),e.OEk(273),e.C$Y()(),e.I0R(274,"tr")(275,"td"),e.OEk(276,"Other Income Description"),e.C$Y(),e.I0R(277,"td"),e.OEk(278),e.C$Y()(),e.I0R(279,"tr")(280,"td"),e.OEk(281,"Other Income Amount"),e.C$Y(),e.I0R(282,"td"),e.OEk(283),e.C$Y()()()()()()()(),e.I0R(284,"ion-col")(285,"ion-accordion-group")(286,"ion-accordion")(287,"ion-item",83)(288,"ion-label"),e.OEk(289,"Adjustments to Income"),e.C$Y()(),e.I0R(290,"div",84)(291,"table",88)(292,"thead")(293,"tr")(294,"th"),e.OEk(295,"Adjustment Type"),e.C$Y(),e.I0R(296,"th"),e.OEk(297,"Taxpayer"),e.C$Y(),e.I0R(298,"th"),e.OEk(299,"Spouse"),e.C$Y()()(),e.I0R(300,"tbody")(301,"tr")(302,"td"),e.OEk(303,"HSA"),e.C$Y(),e.I0R(304,"td"),e.OEk(305),e.C$Y(),e.I0R(306,"td"),e.OEk(307),e.C$Y()(),e.I0R(308,"tr")(309,"td"),e.OEk(310,"SEP"),e.C$Y(),e.I0R(311,"td"),e.OEk(312),e.C$Y(),e.I0R(313,"td"),e.OEk(314),e.C$Y()(),e.I0R(315,"tr")(316,"td"),e.OEk(317,"Traditional IRA"),e.C$Y(),e.I0R(318,"td"),e.OEk(319),e.C$Y(),e.I0R(320,"td"),e.OEk(321),e.C$Y()(),e.I0R(322,"tr")(323,"td"),e.OEk(324,"Roth IRA"),e.C$Y(),e.I0R(325,"td"),e.OEk(326),e.C$Y(),e.I0R(327,"td"),e.OEk(328),e.C$Y()(),e.I0R(329,"tr")(330,"td"),e.OEk(331,"Student Loan"),e.C$Y(),e.I0R(332,"td"),e.OEk(333),e.C$Y(),e.I0R(334,"td"),e.OEk(335),e.C$Y()(),e.I0R(336,"tr")(337,"td"),e.OEk(338,"Alimony"),e.C$Y(),e.I0R(339,"td"),e.OEk(340),e.C$Y(),e.I0R(341,"td"),e.OEk(342),e.C$Y()(),e.I0R(343,"tr")(344,"td"),e.OEk(345,"Tuition"),e.C$Y(),e.I0R(346,"td"),e.OEk(347),e.C$Y(),e.I0R(348,"td"),e.OEk(349),e.C$Y()(),e.I0R(350,"tr")(351,"td"),e.OEk(352,"Educator Expense"),e.C$Y(),e.I0R(353,"td"),e.OEk(354),e.C$Y(),e.I0R(355,"td"),e.OEk(356),e.C$Y()()()()()()(),e.I0R(357,"ion-accordion-group")(358,"ion-accordion")(359,"ion-item",83)(360,"ion-label"),e.OEk(361,"Cryptocurrency"),e.C$Y()(),e.I0R(362,"div",84)(363,"table",85)(364,"tr")(365,"td")(366,"strong"),e.OEk(367,"Has Cryptocurrency:"),e.C$Y()(),e.I0R(368,"td"),e.OEk(369),e.C$Y()()()()()()()(),e.I0R(370,"ion-row")(371,"ion-col")(372,"ion-accordion-group")(373,"ion-accordion")(374,"ion-item",83)(375,"ion-label"),e.OEk(376,"Medical Expenses"),e.C$Y()(),e.I0R(377,"div",84)(378,"table",85)(379,"tr")(380,"td")(381,"strong"),e.OEk(382,"Insurance Premiums:"),e.C$Y()(),e.I0R(383,"td"),e.OEk(384),e.C$Y()(),e.I0R(385,"tr")(386,"td")(387,"strong"),e.OEk(388,"Hospital/Dentist Fees:"),e.C$Y()(),e.I0R(389,"td"),e.OEk(390),e.C$Y()(),e.I0R(391,"tr")(392,"td")(393,"strong"),e.OEk(394,"Prescriptions Cost:"),e.C$Y()(),e.I0R(395,"td"),e.OEk(396),e.C$Y()(),e.I0R(397,"tr")(398,"td")(399,"strong"),e.OEk(400,"Medical Miles:"),e.C$Y()(),e.I0R(401,"td"),e.OEk(402),e.C$Y()(),e.I0R(403,"tr")(404,"td")(405,"strong"),e.OEk(406,"Eyeglasses/Contacts:"),e.C$Y()(),e.I0R(407,"td"),e.OEk(408),e.C$Y()(),e.I0R(409,"tr")(410,"td")(411,"strong"),e.OEk(412,"Medical Equipment:"),e.C$Y()(),e.I0R(413,"td"),e.OEk(414),e.C$Y()(),e.I0R(415,"tr")(416,"td")(417,"strong"),e.OEk(418,"Full Year Coverage:"),e.C$Y()(),e.I0R(419,"td"),e.OEk(420),e.C$Y()(),e.I0R(421,"tr")(422,"td")(423,"strong"),e.OEk(424,"Covered Months:"),e.C$Y()(),e.I0R(425,"td"),e.OEk(426),e.C$Y()(),e.I0R(427,"tr")(428,"td")(429,"strong"),e.OEk(430,"Coverage Sources:"),e.C$Y()(),e.I0R(431,"td"),e.OEk(432),e.C$Y()()()()()()(),e.I0R(433,"ion-col")(434,"ion-accordion-group")(435,"ion-accordion")(436,"ion-item",83)(437,"ion-label"),e.OEk(438,"Foreign Bank Accounts"),e.C$Y()(),e.I0R(439,"div",84)(440,"table",85)(441,"tr")(442,"td")(443,"strong"),e.OEk(444,"Foreign Accounts:"),e.C$Y()(),e.I0R(445,"td"),e.OEk(446),e.C$Y()(),e.I0R(447,"tr")(448,"td")(449,"strong"),e.OEk(450,"Total > $10,000:"),e.C$Y()(),e.I0R(451,"td"),e.OEk(452),e.C$Y()(),e.I0R(453,"tr")(454,"td")(455,"strong"),e.OEk(456,"Aggregate Value > $100,000:"),e.C$Y()(),e.I0R(457,"td"),e.OEk(458),e.C$Y()()()()()(),e.I0R(459,"ion-accordion-group")(460,"ion-accordion")(461,"ion-item",83)(462,"ion-label"),e.OEk(463,"High Ticket Purchases"),e.C$Y()(),e.I0R(464,"div",84)(465,"table",85)(466,"tr")(467,"td")(468,"strong"),e.OEk(469,"High Ticket Purchased:"),e.C$Y()(),e.I0R(470,"td"),e.OEk(471),e.C$Y()(),e.I0R(472,"tr")(473,"td")(474,"strong"),e.OEk(475,"Sales Tax Paid:"),e.C$Y()(),e.I0R(476,"td"),e.OEk(477),e.C$Y()(),e.I0R(478,"tr")(479,"td")(480,"strong"),e.OEk(481,"Registration Paid:"),e.C$Y()(),e.I0R(482,"td"),e.OEk(483),e.C$Y()()()()()()()(),e.I0R(484,"ion-row")(485,"ion-col")(486,"ion-accordion-group")(487,"ion-accordion")(488,"ion-item",83)(489,"ion-label"),e.OEk(490,"Taxes Paid"),e.C$Y()(),e.I0R(491,"div",84)(492,"table",88)(493,"thead")(494,"tr")(495,"th"),e.OEk(496,"Tax Type"),e.C$Y(),e.I0R(497,"th"),e.OEk(498,"Amount"),e.C$Y()()(),e.I0R(499,"tbody")(500,"tr")(501,"td"),e.OEk(502,"Real Estate Taxes"),e.C$Y(),e.I0R(503,"td"),e.OEk(504),e.C$Y()(),e.I0R(505,"tr")(506,"td"),e.OEk(507,"DMV License Fee"),e.C$Y(),e.I0R(508,"td"),e.OEk(509),e.C$Y()(),e.I0R(510,"tr")(511,"td"),e.OEk(512,"State Tax Payment"),e.C$Y(),e.I0R(513,"td"),e.OEk(514),e.C$Y()()()()()()()(),e.I0R(515,"ion-col")(516,"ion-accordion-group")(517,"ion-accordion")(518,"ion-item",83)(519,"ion-label"),e.OEk(520,"Foreign Mortgage Details"),e.C$Y()(),e.I0R(52
11,"div",84)(522,"table",85)(523,"tr")(524,"td")(525,"strong"),e.OEk(526,"Foreign Mortgage Paid:"),e.C$Y()(),e.I0R(527,"td"),e.OEk(528),e.C$Y()(),e.I0R(529,"tr")(530,"td")(531,"strong"),e.OEk(532,"Bank Name:"),e.C$Y()(),e.I0R(533,"td"),e.OEk(534),e.C$Y()(),e.I0R(535,"tr")(536,"td")(537,"strong"),e.OEk(538,"Bank ID Number:"),e.C$Y()(),e.I0R(539,"td"),e.OEk(540),e.C$Y()(),e.I0R(541,"tr")(542,"td")(543,"strong"),e.OEk(544,"Address:"),e.C$Y()(),e.I0R(545,"td"),e.OEk(546),e.C$Y()(),e.I0R(547,"tr")(548,"td")(549,"strong"),e.OEk(550,"Interest Amount:"),e.C$Y()(),e.I0R(551,"td"),e.OEk(552),e.C$Y()()()()()()()(),e.I0R(553,"ion-row")(554,"ion-col")(555,"ion-accordion-group")(556,"ion-accordion")(557,"ion-item",83)(558,"ion-label"),e.OEk(559,"Interest Paid"),e.C$Y()(),e.I0R(560,"div",84)(561,"table",88)(562,"thead")(563,"tr")(564,"th"),e.OEk(565,"Interest Type"),e.C$Y(),e.I0R(566,"th"),e.OEk(567,"Amount"),e.C$Y()()(),e.I0R(568,"tbody")(569,"tr")(570,"td"),e.OEk(571,"Home Mortgage"),e.C$Y(),e.I0R(572,"td"),e.OEk(573),e.C$Y()(),e.I0R(574,"tr")(575,"td"),e.OEk(576,"Mortgage Insurance"),e.C$Y(),e.I0R(577,"td"),e.OEk(578),e.C$Y()(),e.I0R(579,"tr")(580,"td"),e.OEk(581,"Refinance Points"),e.C$Y(),e.I0R(582,"td"),e.OEk(583),e.C$Y()(),e.I0R(584,"tr")(585,"td"),e.OEk(586,"Investment Interest"),e.C$Y(),e.I0R(587,"td"),e.OEk(588),e.C$Y()()()()()()()(),e.I0R(589,"ion-col")(590,"ion-accordion-group")(591,"ion-accordion")(592,"ion-item",83)(593,"ion-label"),e.OEk(594,"Miscellaneous Expenses"),e.C$Y()(),e.I0R(595,"div",84)(596,"table",85)(597,"tr")(598,"td")(599,"strong"),e.OEk(600,"Casualty/Theft Loss:"),e.C$Y()(),e.I0R(601,"td"),e.OEk(602),e.C$Y()(),e.I0R(603,"tr")(604,"td")(605,"strong"),e.OEk(606,"Gambling Loss:"),e.C$Y()(),e.I0R(607,"td"),e.OEk(608),e.C$Y()()()()()(),e.I0R(609,"ion-accordion-group")(610,"ion-accordion")(611,"ion-item",83)(612,"ion-label"),e.OEk(613,"Home Office Deduction"),e.C$Y()(),e.I0R(614,"div",84)(615,"table",85)(616,"tr")(617,"td")(618,"strong"),e.OEk(619,"Has Home Office Deduction:"),e.C$Y()(),e.I0R(620,"td"),e.OEk(621),e.C$Y()(),e.I0R(622,"tr")(623,"td")(624,"strong"),e.OEk(625,"Business Area:"),e.C$Y()(),e.I0R(626,"td"),e.OEk(627),e.C$Y()(),e.I0R(628,"tr")(629,"td")(630,"strong"),e.OEk(631,"Total Home Area:"),e.C$Y()(),e.I0R(632,"td"),e.OEk(633),e.C$Y()(),e.I0R(634,"tr")(635,"td")(636,"strong"),e.OEk(637,"Business Percentage:"),e.C$Y()(),e.I0R(638,"td"),e.OEk(639),e.C$Y()(),e.I0R(640,"tr")(641,"td")(642,"strong"),e.OEk(643,"Home Office Usage:"),e.C$Y()(),e.I0R(644,"td"),e.OEk(645),e.C$Y()(),e.I0R(646,"tr")(647,"td")(648,"strong"),e.OEk(649,"Mortgage Interest:"),e.C$Y()(),e.I0R(650,"td"),e.OEk(651),e.C$Y()(),e.I0R(652,"tr")(653,"td")(654,"strong"),e.OEk(655,"Property Taxes:"),e.C$Y()(),e.I0R(656,"td"),e.OEk(657),e.C$Y()(),e.I0R(658,"tr")(659,"td")(660,"strong"),e.OEk(661,"Rent:"),e.C$Y()(),e.I0R(662,"td"),e.OEk(663),e.C$Y()(),e.I0R(664,"tr")(665,"td")(666,"strong"),e.OEk(667,"Insurance:"),e.C$Y()(),e.I0R(668,"td"),e.OEk(669),e.C$Y()(),e.I0R(670,"tr")(671,"td")(672,"strong"),e.OEk(673,"Repairs & Maintenance:"),e.C$Y()(),e.I0R(674,"td"),e.OEk(675),e.C$Y()(),e.I0R(676,"tr")(677,"td")(678,"strong"),e.OEk(679,"Electricity:"),e.C$Y()(),e.I0R(680,"td"),e.OEk(681),e.C$Y()(),e.I0R(682,"tr")(683,"td")(684,"strong"),e.OEk(685,"Gas:"),e.C$Y()(),e.I0R(686,"td"),e.OEk(687),e.C$Y()(),e.I0R(688,"tr")(689,"td")(690,"strong"),e.OEk(691,"Water:"),e.C$Y()(),e.I0R(692,"td"),e.OEk(693),e.C$Y()(),e.I0R(694,"tr")(695,"td")(696,"strong"),e.OEk(697,"Trash:"),e.C$Y()(),e.I0R(698,"td"),e.OEk(699),e.C$Y()(),e.I0R(700,"tr")(701,"td")(702,"strong"),e.OEk(703,"Cell Phone:"),e.C$Y()(),e.I0R(704,"td"),e.OEk(705),e.C$Y()(),e.I0R(706,"tr")(707,"td")(708,"strong"),e.OEk(709,"Internet:"),e.C$Y()(),e.I0R(710,"td"),e.OEk(711),e.C$Y()(),e.I0R(712,"tr")(713,"td")(714,"strong"),e.OEk(715,"Total Utilities:"),e.C$Y()(),e.I0R(716,"td"),e.OEk(717),e.C$Y()(),e.I0R(718,"tr")(719,"td")(720,"strong"),e.OEk(721,"Total Home Office Deduction:"),e.C$Y()(),e.I0R(722,"td"),e.OEk(723),e.C$Y()()()()()()()(),e.I0R(724,"ion-row")(725,"ion-col")(726,"ion-accordion-group")(727,"ion-accordion")(728,"ion-item",83)(729,"ion-label"),e.OEk(730,"Donations by Cash or Check"),e.C$Y()(),e.I0R(731,"div",86)(732,"table",87)(733,"thead")(734,"tr")(735,"th"),e.OEk(736,"#"),e.C$Y(),e.I0R(737,"th"),e.OEk(738,"Charity Name"),e.C$Y(),e.I0R(739,"th"),e.OEk(740,"Payment Mode"),e.C$Y(),e.I0R(741,"th"),e.OEk(742,"Date of Donation"),e.C$Y(),e.I0R(743,"th"),e.OEk(744,"Amount"),e.C$Y(),e.I0R(745,"th"),e.OEk(746,"Miles Travelled"),e.C$Y(),e.I0R(747,"th"),e.OEk(748,"Other Charity Travel"),e.C$Y()()(),e.I0R(749,"tbody"),e.yuY(750,an,15,7,"tr",34),e.C$Y()()()()()()(),e.I0R(751,"ion-row")(752,"ion-col")(753,"ion-accordion-group")(754,"ion-accordion")(755,"ion-item",83)(756,"ion-label"),e.OEk(757,"Non-Cash Donations"),e.C$Y()(),e.I0R(758,"div",86)(759,"table",87)(760,"thead")(761,"tr")(762,"th"),e.OEk(763,"#"),e.C$Y(),e.I0R(764,"th"),e.OEk(765,"Charity Name"),e.C$Y(),e.I0R(766,"th"),e.OEk(767,"Fair Market Value"),e.C$Y(),e.I0R(768,"th"),e.OEk(769,"Donation Date"),e.C$Y(),e.I0R(770,"th"),e.OEk(771,"Item Type"),e.C$Y(),e.I0R(772,"th"),e.OEk(773,"Miles Travelled"),e.C$Y(),e.I0R(774,"th"),e.OEk(775,"Other Charity Travel"),e.C$Y()()(),e.I0R(776,"tbody"),e.yuY(777,rn,15,7,"tr",34),e.C$Y()()()()()()(),e.I0R(778,"ion-row")(779,"ion-col")(780,"ion-accordion-group")(781,"ion-accordion")(782,"ion-item",83)(783,"ion-label"),e.OEk(784,"Child Care Expenses"),e.C$Y()(),e.I0R(785,"div",86)(786,"table",87)(787,"thead")(788,"tr")(789,"th"),e.OEk(790,"#"),e.C$Y(),e.I0R(791,"th"),e.OEk(792,"Child Name"),e.C$Y(),e.I0R(793,"th"),e.OEk(794,"Daycare Name"),e.C$Y(),e.I0R(795,"th"),e.OEk(796,"Tax ID or SSN"),e.C$Y(),e.I0R(797,"th"),e.OEk(798,"Phone Number"),e.C$Y(),e.I0R(799,"th"),e.OEk(800,"Amount Paid"),e.C$Y(),e.I0R(801,"th"),e.OEk(802,"Address"),e.C$Y(),e.I0R(803,"th"),e.OEk(804,"State"),e.C$Y(),e.I0R(805,"th"),e.OEk(806,"City"),e.C$Y(),e.I0R(807,"th"),e.OEk(808,"Zip Code"),e.C$Y()()(),e.I0R(809,"tbody"),e.yuY(810,sn,21,10,"tr",34),e.C$Y()()()()()()(),e.I0R(811,"ion-row")(812,"ion-col")(813,"ion-accordion-group")(814,"ion-accordion")(815,"ion-item",83)(816,"ion-label"),e.OEk(817,"Federal Taxes"),e.C$Y()(),e.I0R(818,"div",84)(819,"table",85)(820,"tr")(821,"td")(822,"strong"),e.OEk(823,"First Quarter:"),e.C$Y()(),e.I0R(824,"td"),e.OEk(825),e.C$Y()(),e.I0R(826,"tr")(827,"td")(828,"strong"),e.OEk(829,"Second Quarter:"),e.C$Y()(),e.I0R(830,"td"),e.OEk(831),e.C$Y()(),e.I0R(832,"tr")(833,"td")(834,"strong"),e.OEk(835,"Third Quarter:"),e.C$Y()(),e.I0R(836,"td"),e.OEk(837),e.C$Y()(),e.I0R(838,"tr")(839,"td")(840,"strong"),e.OEk(841,"Fourth Quarter:"),e.C$Y()(),e.I0R(842,"td"),e.OEk(843),e.C$Y()(),e.I0R(844,"tr")(845,"td")(846,"strong"),e.OEk(847,"Paid with Extension:"),e.C$Y()(),e.I0R(848,"td"),e.OEk(849),e.C$Y()(),e.I0R(850,"tr")(851,"td")(852,"strong"),e.OEk(853,"Late Payment:"),e.C$Y()(),e.I0R(854,"td"),e.OEk(855),e.C$Y()()()()()()(),e.I0R(856,"ion-col")(857,"ion-accordion-group")(858,"ion-accordion")(859,"ion-item",83)(860,"ion-label"),e.OEk(861,"State Taxes"),e.C$Y()(),e.I0R(862,"div",84)(863,"table",85)(864,"tr")(865,"td")(866,"strong"),e.OEk(867,"
1State:"),e.C$Y()(),e.I0R(868,"td"),e.OEk(869),e.C$Y()(),e.I0R(870,"tr")(871,"td")(872,"strong"),e.OEk(873,"First Quarter:"),e.C$Y()(),e.I0R(874,"td"),e.OEk(875),e.C$Y()(),e.I0R(876,"tr")(877,"td")(878,"strong"),e.OEk(879,"Second Quarter:"),e.C$Y()(),e.I0R(880,"td"),e.OEk(881),e.C$Y()(),e.I0R(882,"tr")(883,"td")(884,"strong"),e.OEk(885,"Third Quarter:"),e.C$Y()(),e.I0R(886,"td"),e.OEk(887),e.C$Y()(),e.I0R(888,"tr")(889,"td")(890,"strong"),e.OEk(891,"Fourth Quarter:"),e.C$Y()(),e.I0R(892,"td"),e.OEk(893),e.C$Y()(),e.I0R(894,"tr")(895,"td")(896,"strong"),e.OEk(897,"Paid with Extension:"),e.C$Y()(),e.I0R(898,"td"),e.OEk(899),e.C$Y()(),e.I0R(900,"tr")(901,"td")(902,"strong"),e.OEk(903,"Late Payment:"),e.C$Y()(),e.I0R(904,"td"),e.OEk(905),e.C$Y()()()()()()()(),e.I0R(906,"ion-row")(907,"ion-col")(908,"ion-accordion-group")(909,"ion-accordion")(910,"ion-item",83)(911,"ion-label"),e.OEk(912,"Bank Accounts"),e.C$Y()(),e.I0R(913,"div",86)(914,"table",87)(915,"thead")(916,"tr")(917,"th"),e.OEk(918,"#"),e.C$Y(),e.I0R(919,"th"),e.OEk(920,"Bank Name"),e.C$Y(),e.I0R(921,"th"),e.OEk(922,"Routing Number"),e.C$Y(),e.I0R(923,"th"),e.OEk(924,"Account Number"),e.C$Y(),e.I0R(925,"th"),e.OEk(926,"Account Type"),e.C$Y()()(),e.I0R(927,"tbody"),e.yuY(928,ln,11,5,"tr",34),e.C$Y()()()()()()(),e.I0R(929,"ion-row")(930,"ion-col")(931,"ion-accordion-group")(932,"ion-accordion")(933,"ion-item",83)(934,"ion-label"),e.OEk(935,"Taxpayer Info"),e.C$Y()(),e.I0R(936,"div",84)(937,"table",85)(938,"tr")(939,"td")(940,"strong"),e.OEk(941,"Name:"),e.C$Y()(),e.I0R(942,"td"),e.OEk(943),e.C$Y()(),e.I0R(944,"tr")(945,"td")(946,"strong"),e.OEk(947,"ID Type:"),e.C$Y()(),e.I0R(948,"td"),e.OEk(949),e.C$Y()(),e.I0R(950,"tr")(951,"td")(952,"strong"),e.OEk(953,"State ID Number:"),e.C$Y()(),e.I0R(954,"td"),e.OEk(955),e.C$Y()(),e.I0R(956,"tr")(957,"td")(958,"strong"),e.OEk(959,"State:"),e.C$Y()(),e.I0R(960,"td"),e.OEk(961),e.C$Y()(),e.I0R(962,"tr")(963,"td")(964,"strong"),e.OEk(965,"Date Issued:"),e.C$Y()(),e.I0R(966,"td"),e.OEk(967),e.C$Y()(),e.I0R(968,"tr")(969,"td")(970,"strong"),e.OEk(971,"Expiration Date:"),e.C$Y()(),e.I0R(972,"td"),e.OEk(973),e.C$Y()()()()()()(),e.I0R(974,"ion-col")(975,"ion-accordion-group")(976,"ion-accordion")(977,"ion-item",83)(978,"ion-label"),e.OEk(979,"Spouse Info"),e.C$Y()(),e.I0R(980,"div",84)(981,"table",85)(982,"tr")(983,"td")(984,"strong"),e.OEk(985,"Name:"),e.C$Y()(),e.I0R(986,"td"),e.OEk(987),e.C$Y()(),e.I0R(988,"tr")(989,"td")(990,"strong"),e.OEk(991,"ID Type:"),e.C$Y()(),e.I0R(992,"td"),e.OEk(993),e.C$Y()(),e.I0R(994,"tr")(995,"td")(996,"strong"),e.OEk(997,"State ID Number:"),e.C$Y()(),e.I0R(998,"td"),e.OEk(999),e.C$Y()(),e.I0R(1e3,"tr")(1001,"td")(1002,"strong"),e.OEk(1003,"State:"),e.C$Y()(),e.I0R(1004,"td"),e.OEk(1005),e.C$Y()(),e.I0R(1006,"tr")(1007,"td")(1008,"strong"),e.OEk(1009,"Date Issued:"),e.C$Y()(),e.I0R(1010,"td"),e.OEk(1011),e.C$Y()(),e.I0R(1012,"tr")(1013,"td")(1014,"strong"),e.OEk(1015,"Expiration Date:"),e.C$Y()(),e.I0R(1016,"td"),e.OEk(1017),e.C$Y()()()()()()()(),e.I0R(1018,"ion-row")(1019,"ion-col")(1020,"ion-accordion-group")(1021,"ion-accordion")(1022,"ion-item",83)(1023,"ion-label"),e.OEk(1024,"Additional Details"),e.C$Y()(),e.I0R(1025,"div",84)(1026,"table",85)(1027,"tr")(1028,"td",89),e.OEk(1029),e.C$Y()()()()()()()()()()()),2&n){const t=e.GaO();e.yG2(5),e.cNF(null==t.userData.taxpayer?null:t.userData.taxpayer.first_name),e.yG2(3),e.cNF(null==t.userData.taxpayer?null:t.userData.taxpayer.last_name),e.yG2(16),e.oRS(" ",null==t.userData.taxpayer?null:t.userData.taxpayer.first_name," "),e.yG2(6),e.oRS(" ",null==t.userData.taxpayer?null:t.userData.taxpayer.middle_name," "),e.yG2(6),e.oRS(" ",null==t.userData.taxpayer?null:t.userData.taxpayer.last_name," "),e.yG2(6),e.oRS(" ",null==t.userData.taxpayer?null:t.userData.taxpayer.ssn_itin," "),e.yG2(6),e.cNF(null==t.userData.taxpayer?null:t.userData.taxpayer.dob),e.yG2(6),e.oRS(" ",null==t.userData.taxpayer?null:t.userData.taxpayer.occupation," "),e.yG2(14),e.oRS(" ",null==t.userData.spouse?null:t.userData.spouse.first_name," "),e.yG2(6),e.oRS(" ",null==t.userData.spouse?null:t.userData.spouse.middle_name," "),e.yG2(6),e.oRS(" ",null==t.userData.spouse?null:t.userData.spouse.last_name," "),e.yG2(6),e.cNF(null==t.userData.spouse?null:t.userData.spouse.ssn_itin),e.yG2(6),e.cNF(null==t.userData.spouse?null:t.userData.spouse.dob),e.yG2(6),e.oRS(" ",null==t.userData.spouse?null:t.userData.spouse.occupation," "),e.yG2(27),e.E7m("ngForOf",t.userData.dependents),e.yG2(15),e.cNF(null==t.userData.address?null:t.userData.address.address),e.yG2(6),e.oRS(" ",null==t.userData.address?null:t.userData.address.ap
1artment," "),e.yG2(6),e.cNF(null==t.userData.address?null:t.userData.address.city),e.yG2(6),e.oRS(" ",null==t.userData.address?null:t.userData.address.zip_code," "),e.yG2(6),e.cNF(null==t.userData.address?null:t.userData.address.state),e.yG2(6),e.oRS(" ",null==t.userData.address?null:t.userData.address.residency," "),e.yG2(6),e.oRS(" ",null==t.userData.address?null:t.userData.address.foreignAddress," "),e.yG2(6),e.oRS(" ",null==t.userData.address?null:t.userData.address.cellPhone," "),e.yG2(6),e.oRS(" ",null==t.userData.address?null:t.userData.address.homePhone," "),e.yG2(6),e.oRS(" ",null==t.userData.address?null:t.userData.address.workPhone," "),e.yG2(6),e.cNF(null==t.userData.address?null:t.userData.address.email),e.yG2(6),e.oRS(" ",null==t.userData.address?null:t.userData.address.addressChanged," "),e.yG2(6),e.oRS(" ",null==t.userData.address?null:t.userData.address.visaStatus," "),e.yG2(21),e.oRS(" ",null==t.userData.foreignIncome?null:t.userData.foreignIncome.foreignWages," "),e.yG2(5),e.oRS(" ",null==t.userData.foreignIncome?null:t.userData.foreignIncome.foreignInterest," "),e.yG2(5),e.oRS(" ",null==t.userData.foreignIncome?null:t.userData.foreignIncome.foreignDividend," "),e.yG2(5),e.oRS(" ",null==t.userData.foreignIncome?null:t.userData.foreignIncome.foreignBusiness," "),e.yG2(5),e.oRS(" ",null==t.userData.foreignIncome?null:t.userData.foreignIncome.foreignRetirement," "),e.yG2(5),e.oRS(" ",null==t.userData.foreignIncome?null:t.userData.foreignIncome.foreignStocks," "),e.yG2(5),e.oRS(" ",null==t.userData.foreignIncome?null:t.userData.foreignIncome.foreignSaleHome," "),e.yG2(5),e.oRS(" ",null==t.userData.foreignIncome?null:t.userData.foreignIncome.foreignRental," "),e.yG2(5),e.oRS(" ",null==t.userData.foreignIncome?null:t.userData.foreignIncome.foreignTaxes," "),e.yG2(5),e.oRS(" ",null==t.userData.foreignIncome?null:t.userData.foreignIncome.otherDescription," "),e.yG2(5),e.oRS(" ",null==t.userData.foreignIncome?null:t.userData.foreignIncome.otherAmount," "),e.yG2(22),e.oRS(" ",null==t.userData.adjustmentToIncome?null:t.userData.adjustmentToIncome.hsaTaxpayer," "),e.yG2(2),e.oRS(" ",null==t.userData.adjustmentToIncome?null:t.userData.adjustmentToIncome.hsaSpouse," "),e.yG2(5),e.oRS(" ",null==t.userData.adjustmentToIncome?null:t.userData.adjustmentToIncome.sepTaxpayer," "),e.yG2(2),e.oRS(" ",null==t.userData.adjustmentToIncome?null:t.userData.adjustmentToIncome.sepSpouse," "),e.yG2(5),e.oRS(" ",null==t.userData.adjustmentToIncome?null:t.userData.adjustmentToIncome.traditionalIraTaxpayer," "),e.yG2(2),e.oRS(" ",null==t.userData.adjustmentToIncome?null:t.userData.adjustmentToIncome.traditionalIraSpouse," "),e.yG2(5),e.oRS(" ",null==t.userData.adjustmentToIncome?null:t.userData.adjustmentToIncome.rothIraTaxpayer," "),e.yG2(2),e.oRS(" ",null==t.userData.adjustmentToIncome?null:t.userData.adjustmentToIncome.rothIraSpouse," "),e.yG2(5),e.oRS(" ",null==t.userData.adjustmentToIncome?null:t.userData.adjustmentToIncome.studentLoanTaxpayer," "),e.yG2(2),e.oRS(" ",null==t.userData.adjustmentToIncome?null:t.userData.adjustmentToIncome.studentLoanSpouse," "),e.yG2(5),e.oRS(" ",null==t.userData.adjustmentToIncome?null:t.userData.adjustmentToIncome.alimonyTaxpayer," "),e.yG2(2),e.oRS(" ",null==t.userData.adjustmentToIncome?null:t.userData.adjustmentToIncome.alimonySpouse," "),e.yG2(5),e.oRS(" ",null==t.userData.adjustmentToIncome?null:t.userData.adjustmentToIncome.tuitionTaxpayer," "),e.yG2(2),e.oRS(" ",null==t.userData.adjustmentToIncome?null:t.userData.adjustmentToIncome.tuitionSpouse," "),e.yG2(5),e.oRS(" ",null==t.userData.adjustmentToIncome?null:t.userData.adjustmentToIncome.educatorExpenseTaxpayer," "),e.yG2(2),e.oRS(" ",null==t.userData.adjustmentToIncome?null:t.userData.adjustmentToIncome.educatorExpenseSpouse," "),e.yG2(13),e.oRS(" ",null==t.userData.cryptocurrency?null:t.userData.cryptocurrency.hasCryptocurrency," "),e.yG2(15),e.oRS(" ",null==t.userData.medicalExpenses?null:t.userData.medicalExpenses.insurancePremiums," "),e.yG2(6),e.oRS(" ",null==t.userData.medicalExpenses?null:t.userData.medicalExpenses.hospitalDentistFees," "),e.yG2(6),e.oRS(" ",null==t.userData.medicalExpenses?null:t.userData.medicalExpenses.prescriptionsCost," "),e.yG2(6),e.oRS(" ",null==t.userData.medicalExpenses?null:t.userData.medicalExpenses.medicalMiles," "),e.yG2(6),e.oRS(" ",null==t.userData.medicalExpenses?null:t.userData.medicalExpenses.eyeglassesContacts," "),e.yG2(6),e.oRS(" ",null==t.userData.medicalExpenses?null:t.userData.medicalExpenses.medicalEquipment," "),e.yG2(6),e.oRS(" ",null==t.userData.medicalExpenses?null:t.userData.medicalExpenses.fullYearCoverage," "),e.yG2(6),e.oRS(" ",null==t.userData.medicalExpenses?null:t.userData.medicalExpenses.coveredMonths.join(", ")," "),e.yG2(6),e.oRS(" ",null==t.userData.medicalExpenses?null:t.userData.medicalExpenses.coverageSources.join(", ")," "),e.yG2(14),e.oRS(" ",null==t.userData.accountingReport?null:t.userData.accountingReport.q1Answer," "),e.yG2(6),e.oRS(" ",null==t.userData.accountingReport?null:t.userData.accountingReport.q2Answer," "),e.yG2(6),e.oRS(" ",null==t.userData.accountingReport?null:t.userData.accountingReport.q3Answer," "),e.yG2(13),e.oRS(" ",null==t.userData.highTicketPurchase?null:t.userData.highTicketPurchase.answer," "),e.yG2(6),e.oRS(" ",null==t.userData.highTicketPurchase?null:t.userData.highTicketPurchase.salesTaxPaid," "),e.yG2(6),e.oRS(" ",null==t.userData.highTicketPurchase?null:t.userData.highTicketPurchase.registrationPaid," "),e.yG2(21),e.oRS(" ",null==t.userData.taxesPaid?null:t.userData.taxesPaid.realEstateTaxes," "),e.yG2(5),e.oRS(" ",null==t.userData.taxesPaid?null:t.userData.taxesPaid.dmvLicenseFee," "),e.yG2(5),e.oRS(" ",null==t.userData.taxesPaid?null:t.userData.taxesPaid.stateTaxPayment," "),e.yG2(14),e.oRS(" ",null==t.userData.foreignMortgageDetails?null:t.userData.foreignMortgageDetails.paid," "),e.yG2(6),e.oRS(" ",null==t.userData.foreignMortgageDetails?null:t.userData.foreignMortgageDetails.bankName," "),e.yG2(6),e.oRS(" ",null==t.userData.foreignMortgageDetails?null:t.userData.foreignMortgageDetails.bankIdNumber," "),e.yG2(6),e.oRS(" ",null==t.userData.foreignMortgageDetails?null:t.userData.foreignMortgageDetails.address," "),e.yG2(6),e.oRS(" ",null==t.userData.foreignMortgageDetails?null:t.userData.foreignMortgageDetails.interestAmount," "),e.yG2(21),e.oRS(" ",null==t.userData.interestPaid?null:t.userData.interestPaid.homeMortgage," "),e.yG2(5),e.oRS(" ",null==t.userData.interestPaid?null:t.userData.interestPaid.mortgageInsurance," "),e.yG2(5),e.oRS(" ",null==t.userData.interestPaid?null:t.userData.interestPaid.refinancePoints," "),e.yG2(5),e.oRS(" ",null==t.userData.interestPaid?null:t.userData.interestPaid.investmentInterest," "),e.yG2(14),e.oRS(" ",null==t.userData.miscExpenses?null:t.userData.miscExpenses.casualtyTheftLoss," "),e.yG2(6),e.oRS(" ",null==t.userData.miscExpenses?null:t.userData.miscExpenses.gamblingLoss," "),e.yG2(13),e.oRS(" ",t.userData.hasHomeOfficeDeduction," "),e.yG2(6),e.oRS(" ",null==t.userData.homeDeduction?null:t.userData.homeDeduction.businessArea," "),e.yG2(6),e.oRS(" ",null==t.userData.homeDeduction?null:t.userData.homeDeduction.totalHomeArea," "),e.yG2(6),e.oRS(" ",null==t.userData.homeDeduction?null:t.userData.homeDeduction.businessPercentage,"% "),e.yG2(6),e.oRS(" ",null==t.userData.homeDeduction?null:t.userData.homeDeduction.homeOfficeUsage," "),e.yG2(6),e.oRS(" ",null==t.userData.homeDeduction?null:t.userData.homeDeduction.mortgageInterest," "),e.yG2(6),e.oRS(" ",null==t.userData.homeDeduction?null:t.userData.homeDeduction.propertyTaxes," "),e.yG2(6),e.oRS(" ",null==t.userData.homeDeduction?null:t.userData.homeDeduction.rent," "),e.yG2(6),e.oRS(" ",null==t.userData.homeDeduction?null:t.userData.homeDeduction.insurance," "),e.yG2(6),e.oRS(" ",null==t.userData.homeDeduction?null:t.userData.homeDeduction.repairMaintenance," "),e.yG2(6),e.oRS(" ",null==t.userData.homeDeduction?null:t.userData.homeDeduction.electricity," "),e.yG2(6),e.oRS(" ",null==t.userData.homeDeduction?null:t.userData.homeDeduction.gas," "),e.yG2(6),e.oRS(" ",null==t.userData.homeDeduction?null:t.userData.homeDeduction.water," "),e.yG2(6),e.oRS(" ",null==t.userData.homeDeduction?null:t.userData.homeDeduction.trash," "),e.yG2(6),e.oRS(" ",null==t.userData.homeDeduction?null:t.userData.homeDeduction.cellPhone," "),e.yG2(6),e.oRS(" ",null==t.userData.homeDeduction?null:t.userData.homeDeduction.internet," "),e.yG2(6),e.oRS(" ",null==t.userData.homeDeduction?null:t.userData.homeDeduction.totalUtilities," "),e.yG2(6),e.oRS(" ",null==t.userData.homeDeduction?null:t.userData.homeDeduction.totalHomeDeduction," "),e.yG2(27),e.E7m("ngForOf",t.userData.donations),e.yG2(27),e.E7m("ngForOf",t.userData.nonCashDonations),e.yG2(33),e.E7m("ngForOf",t.userData.childCareExpenses),e.yG2(15),e.oRS(" ",null==t.userData.federalTaxes?null:t.userData.federalTaxes.firstQuarter," "),e.yG2(6),e.oRS(" ",null==t.userData.federalTaxes?null:t.userData.federalTaxes.secondQuarter," "),e.yG2(6),e.oRS(" ",null==t.userData.federalTaxes?null:t.userData.federalTaxes.thirdQuarter," "),e.yG2(6),e.oRS(" ",null==t.userData.federalTaxes?null:t.userData.federalTaxes.fourthQuarter," "),e.yG2(6),e.oRS(" ",null==t.userData.federalTaxes?null:t.userData.federalTaxes.paidWithExtension," "),e.yG2(6),e.oRS(" ",null==t.userData.federalTaxes?null:t.userData.federalTaxes.latePayments," "),e.yG2(14),e.cNF(t.userData.stateTaxes.state),e.yG2(6),e.oRS(" ",null==t.userData.stateTaxes?null:t.userData.stateTaxes.firstQuarter," "),e.yG2(6),e.oRS(" ",null==t.userData.stateTaxes?null:t.userData.stateTaxes.secondQuarter," "),e.yG2(6),e.oRS(" ",null==t.userData.stateTaxes?null:t.userData.stateTaxes.thirdQuarter," "),e.yG2(6),e.oRS(" ",null==t.userData.stateTaxes?null:t.userData.stateTaxes.fourthQuarter," "),e.yG2(6),e.oRS(" ",null==t.userData.stateTaxes?null:t.userData.stateTaxes.paidWithExtension," "),e.yG2(6),e.oRS(" ",null==t.userData.stateTaxes?null:t.userData.stateTaxes.latePayments," "),e.yG2(23),e.E7m("ngForOf",t.userData.accounts),e.yG2(15),e.oRS(" ",null==t.userData.taxpayerInfo?null:t.userData.taxpayerInfo.name," "),e.yG2(6),e.oRS(" ",null==t.userData.taxpayerInfo?null:t.userData.taxpayerInfo.idType," "),e.yG2(6),e.oRS(" ",null==t.userData.taxpayerInfo?null:t.userData.taxpayerInfo.stateIdNumber," "),e.yG2(6),e.oRS(" ",null==t.userData.taxpayerInfo?null:t.userData.taxpayerInfo.state," "),e.yG2(6),e.oRS(" ",null==t.userData.taxpayerInfo?null:t.userData.taxpayerInfo.dateIssued," "),e.yG2(6),e.oRS(" ",null==t.userData.taxpayerInfo?null:t.userData.taxpayerInfo.expirationDate," "),e.yG2(14),e.cNF(null==t.userData.spouseInfo?null:t.userData.spouseInfo.name),e.yG2(6),e.oRS(" ",null==t.userData.spouseInfo?null:t.userData.spouseInfo.idType," "),e.yG2(6),e.oRS(" ",null==t.userData.spouseInfo?null:t.userData.spouseInfo.stateIdNumber," "),e.yG2(6),e.oRS(" ",null==t.userData.spouseInfo?null:t.userData.spouseInfo.state," "),e.yG2(6),e.oRS(" ",null==t.userData.spouseInfo?null:t.userData.spouseInfo.dateIssued," "),e.yG2(6),e.oRS(" ",null==t.userData.spouseInfo?null:t.userData.spouseInfo.expirationDate," "),e.yG2(12),e.oRS(" ",t.userData.additionalDetails," ")}}let cn=(()=>{class n{userProvider;inAppBrowser;leadWatcher;firebaseApi;util;format;StripeService;changeChatMenu=new e._w7;wRid;workRequest;progressState="";option="doc";appointments=[];localAppointments;messages=[];workRequestProgress;allTeamMembers=[];wrStatus="";_saveNote=!1;invoiceDate;invoiceTemp=[];selectedTemplate;selectedItems=[];subtotal=0;discount=0;discountPercentage=0;shipping=0;finalTotal=0;generateInvoice=!1;invoices=[];selectedInvoice=null;isLoading=!1;isMarkingPaid=!1;userData=[];constructor(t,i,s,c,m,b,D){this.userProvider=t,this.inAppBrowser=i,this.leadWatcher=s,this.firebaseApi=c,this.util=m,this.format=b,this.Str
1ipeService=D}ngOnInit(){var t=this;return(0,E.c)(function*(){t.leadWatcher._tab="Details",t.localAppointments=t.leadWatcher.appointments.data.filter(i=>i.meta.workRequestId===t.wRid),setTimeout(()=>{t.workRequestProgress=t.workRequest?.progress},3e3),t.allTeamMembers=yield t.firebaseApi.findAll("users",i=>i.where("userId","in",t.userProvider.loggedInUser.teamArray)),t.invoiceTemp=yield t.firebaseApi.findAll("invoiceTemplate"),console.log("from generate",t.invoiceTemp),t.invoiceDate=(new Date).toLocaleDateString("en-US"),t.getInvoices(),t.userData=t.workRequest.oldClientData,console.log("Old Client Data",t.userData),t.leadWatcher._tab="OldClientForm"===t.workRequest?.requestMode?"Returning-Details":"Details"})()}get findMessage(){const t=this.workRequest.tasks.find(i=>i.vendorId===this.userProvider.loggedInUser.id);return this.workRequest.vendorProposalMsg=t&&t.messages&&t.messages.length>0?t.messages[0].vend:"",this.workRequest.templateFiles=t?.templateFiles&&t?.templateFiles.length>0?t?.templateFiles:[],this.workRequest}getfindTemplateFIles;reassign(t){var i=this;return(0,E.c)(function*(){try{const s=yield i.firebaseApi.findOneById("tasks",i.IsFriendlyPro.id);s.reassigns&&s.reassigns.length>0?s.reassigns.push({from:i.userProvider.loggedInUser.id,to:t.id,at:new Date}):s.reassigns=[{from:i.userProvider.loggedInUser.id,to:t.id,at:new Date}],yield i.firebaseApi.updateOne("tasks",i.IsFriendlyPro.id,{vendorName:t.firstName+" "+t.lastName,vendorId:t.id,vendorPhoto:t.profilePhoto?t.profilePhoto:"",reassigns:s.reassigns})}catch{i.util.createErrorAlert(null,"Could not reassign team member")}})()}get IsFriendlyPro(){return this.workRequest.responded.find(t=>this.userProvider.loggedInUser.teamArray.includes(t.vendorId)&&t.hired)}updateProgress(){var t=this;return(0,E.c)(function*(){try{yield t.firebaseApi.updateOne("workRequests",t.workRequest.id,{progress:t.workRequestProgress}),t.workRequest.progress=t.workRequestProgress}catch{t.util.createErrorAlert(null,"Could not update status")}})()}goToMenu(t){this.changeChatMenu.emit(t)}get userMessages(){return this.messages.filter(t=>t.author===this.workRequest.userId)}getStates(t){return t?.questionnaire.find(i=>"q5"===i.key).answers}getFilingStatus(t){return t?.questionnaire.find(i=>"q4"===i.key).answers?.find(i=>!0===i.value)?.name}openWebpage(t){this.inAppBrowser.create(t,"_blank",{zoom:"no"})}saveNote(){var t=this;return(0,E.c)(function*(){t._saveNote=!0,yield t.firebaseApi.updateOne("workRequests",t.workRequest.id,{note:t.workRequest.note}),t._saveNote=!1,console.log("note ->",t.workRequest.note)})()}changeWrStatus(){var t=this;return(0,E.c)(function*(){t.workRequest.id&&(yield t.firebaseApi.updateOne("workRequests",t.workRequest.id,{progress:t.wrStatus}))})()}showCal(){this.option="apt",console.log("apt --------------\x3e",this.option)}onTemplateChange(){this.selectedItems=this.selectedTemplate?[...this.selectedTemplate.items]:[],this.calculateTotals()}addRow(){this.selectedItems.push({itemdesc:"",quantity:1,price:0}),this.calculateTotals()}removeItem(t){this.selectedItems.splice(t,1),this.calculateTotals()}calculateTotals(){this.subtotal=Number(this.selectedItems.reduce((t,i)=>t+i.quantity*i.price,0).toFixed(2)),this.discount=Number((this.subtotal*this.discountPercentage/100).toFixed(2)),this.finalTotal=Number((this.subtotal-this.discount+this.shipping).toFixed(2)),isNaN(this.subtotal)&&(this.subtotal=0),isNaN(this.discount)&&(this.discount=0),isNaN(this.finalTotal)&&(this.finalTotal=0)}generateInv(){var t=this;return(0,E.c)(function*(){t.isLoading=!0;const i=t.workRequest.stripeCustomerId,c=t.selectedItems,m=t.workRequest.id;let b=t.workRequest.invoice||[];if(!c||0===c.length)return void t.util.createErrorAlert(null,"Please add items to the invoice.");for(let w=0;w<c.length;w++){const k=c[w];if(!k.itemdesc||""===k.itemdesc.trim())return void t.util.createErrorAlert(null,`Description for item ${w+1} is missing.`);if(void 0===k.price||k.price<=0)return void t.util.createErrorAlert(null,`Price for item ${w+1} is missing or invalid.`);if(void 0===k.quantity||k.quantity<=0)return void t.util.createErrorAlert(null,`Quantity for item ${w+1} is missing or invalid.`)}const D=c.map(w=>({description:w.itemdesc,unit_amount:Math.floor(100*w.price),unit_amount_decimal
1:Math.floor(100*w.price),proration:!1,quantity:w.quantity}));console.log("customer",i),console.log("Items",D);try{const w=yield t.StripeService.createInvoiceFMT(i,D);w&&(b.push(w),t.firebaseApi.updateOne("workRequests",m,{invoice:b}),t.firebaseApi.insertOne("invoices",{invoiceData:w,workRequestId:m})),console.log("Invoice Created Successfully:",w),t.util.createErrorAlert(null,"Invoice Created Successfully"),t.generateInvoice=!1,t.refreshInvoices()}catch(w){console.error("Error creating invoice:",w),alert("Failed to create invoice. Please try again.")}finally{t.isLoading=!1}})()}getYear(t){return new Date(1e3*t).getFullYear()}getDateOnly(t){const i=new Date(1e3*t),s=i.getFullYear(),c=String(i.getMonth()+1).padStart(2,"0");return`${String(i.getDate()).padStart(2,"0")}-${c}-${s}`}payInvoice(t){window.open(t,"_blank","toolbar=no, location=no, directories=no,status=no, menubar=no, scrollbars=yes, resizable=yes, copyhistory=yes, width=1200, height=800")}showInvoiceDetails(t){this.selectedInvoice=t}selectedInvNull(){this.selectedInvoice=null}formatPrice(t,i){let s=t.target.value.replace(/\D/g,"");s.length<3&&(i.price=s);let c=s.slice(0,-2)+"."+s.slice(-2);i.price=c,this.calculateTotals()}
1validateNumber(t){const i=t.which?t.which:t.keyCode;46!==i&&i>31&&(i<48||i>57)&&t.preventDefault()}refreshInvoices(){this.getInvoices()}getInvoices(){var t=this;return(0,E.c)(function*(){const i=t.workRequest;t.invoices=Array.isArray(i.invoice)?i.invoice:[],console.log("All invoices:",t.invoices);const s=t.invoices.map(m=>m.id);console.log("Invoice IDs:",s);const c=yield t.StripeService.fetchInvoiceByIds(s);t.invoices=Array.isArray(c.invoices)?c.invoices:[],console.log(c)})()}markPaid(){var t=this;return(0,E.c)(function*(){if(!t.selectedInvoice.paid){t.isMarkingPaid=!0;try{const i=yield t.StripeService.payInvoice(t.selectedInvoice.id);console.log("Invoice marked as paid:",i),t.refreshInvoices(),t.selectedInvoice.paid=!0,t.util.createErrorAlert(null,"Invoice marked as paid successfully.")}catch(i){console.error("Error marking invoice as paid:",i),alert("Failed to mark invoice as paid. Please try again.")}finally{t.isMarkingPaid=!1}}})()}confirmAction(t,i,s){var c=this;return(0,E.c)(function*(){yield(yield c.util.createAlert(t,!1,i,{text:"Cancel",role:"cancel",handler:()=>{console.log(`${t} cancelled`)}},{text:"Continue",handler:()=>{s()}})).present()})()}confirmGenerateInv(){this.confirmAction(null,"Are you sure you want to create and send the invoice email to the client?",()=>this.generateInv())}confirmMarkPaid(){this.confirmAction(null,"Are you sure you want to mark this invoice as paid?",()=>this.markPaid())}static \u0275fac=function(i){return new(i||n)(e.GI1(Re.e),e.GI1(Be.U),e.GI1(be.c),e.GI1(ye.H),e.GI1(Ue.e),e.GI1(we.M),e.GI1(Ct.S))};static \u0275cmp=e.In1({type:n,selectors:[["app-overview-scr"]],inputs:{wRid:"wRid",workRequest:"workRequest",progressState:"progressState",option:"option"},outputs:{changeChatMenu:"changeChatMenu"},decls:20,vars:13,consts:[[1,"_card-top","flex","f-align-center","f-just-btw"],["class","flex f-row f-align-centerv b-c bold-500 f1-3",4,"ngIf"],[1,"tabs"],[3,"ngClass","click",4,"ngIf"],[3,"ngClass","click"],[4,"ngIf"],[1,"flex","f-row","f-align-centerv","b-c","bold-500","f1-3"],["class","custom_h2 left",4,"ngIf"],[1,"custom_h2","left"],["size-lg","4","size-md","4","size-sm","12","size-xs","12"],[1,"div-box","scroll"],[3,"wRid","workRequest","part1","part2","showCal"],["size-lg","8","size-md","8","size-sm","12","size-xs","12"],[3,"wRid"],[1,"msg-box-1"],[1,"margin-top-3"],[1,"text","scroll",3,"innerHtml"],["class","files margin-top",4,"ngFor","ngForOf"],[1,"files","margin-top"],["target","_blank",3,"href","download"],[1,"file-item"],["name","document-outline"],[3,"wrId"],["class","main-Gen",4,"ngIf"],["class","w-100",4,"ngIf"],[3,"ngIf"],[1,"main-Gen"],[1,"flex","f-align-center","f-just-btw"],[1,"bold-600","margin-0","left"],[1,"f-align-center","f-just-end","gap-2","flex"],[1,"btn-primary","right",3,"click"],["name","refresh-outline"],[1,"btn-primary",3,"click"],[1,"main-list"],[4,"ngFor","ngForOf"],["class","main-list shadow-none",4,"ngIf"],[1,"t-green","cursor",3,"click"],[1,"pay","btn-primary",3,"click"],[1,"main-list","shadow-none"],[1,"w-100"],[1,"btn-primary","margin-top-2","margin-left-2",3,"click"],["name","arrow-back-circle-outline"],[1,"bold-600"],[1,"flex","f-align-center","f-just-btw","margin-1y"],[1,"w-50","slct-temp"],["placeholder","Select Invoice Template",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[1,"w-50","flex","f-align-center","f-just-end","gap-2"],[1,"bold-500"],[1,"flex","f-align-center","f-just-end","gap-1","date-temp"],["name","calendar-outline"],["class","f-align-center flex f-just-btw main-r margin-1y gap-1r",4,"ngFor","ngForOf"],[1,"grey-line","margin-1y"],[1,"flex","f-align-center","f-just-end","w-100"],["name","add-outline"],[1,"amts","w-50"],[1,"flex","f-align-center","f-just-btw","margin-top-5p"],[1,"green"],[1,"blue"],[1,"flex","f-align-center","f-just-end","w-100","gap-2"],[1,"btn-primary",3,"disabled","click"],[1,"btn-primary"],[3,"value"],[1,"f-align-center","flex","f-just-btw","main-r","margin-1y","gap-1r"],[1,"w-20"],["placeholder","Item Description","required","","type","text",3,"ngModel","name","ngModelChange","input"],["placeholder","Quantity","required","","type","text",3,"ngModel","name","ngModelChange","keypress","input"],["placeholder","Price","required","","type","text",3,"ngModel","name","ngModelChange","input","keypress"],[1,"w-20","green","bold-600","right"],[1,"w-20","right"],[1,"btn-primary",2,"--background","red !important",3,"click"],["name","close-outline"],[1,"temp-list"],[1,"t-green"],[1,"flex","f-align-center","f-just-end","gap-2"],[1,"pay",3,"disabled","click"],[1,"date"],[1,"flex","f-just-end"],[1,"w-50","total","flex","f-col"],[1,"t-blue"],[1,"div-empty-box","min-height-600","w-100","main-quest","flex","f-just-start","f-align-center","f-col","bg-white"],[1,"top-head"],[1,"all-form-info","left","w-100"],["slot","header","color","light"],["slot","content",1,"ion-padding"],[2,"width","100%","border-collapse","collapse"],["slot","content",1,"ion-padding","main-sm-table"],[1,"table","sm-table"],[1,"table"],["colspan","2"]],template:function(i,s){1&i&&(e.I0R(0,"i
1on-row")(1,"ion-col")(2,"div",0),e.yuY(3,Tt,2,1,"div",1),e.I0R(4,"div",2),e.yuY(5,St,2,1,"div",3)(6,Gt,2,1,"div",3),e.I0R(7,"div",4),e.qCj("click",function(){return s.leadWatcher._tab="Proposals",s.leadWatcher._viewPropDetails="proposal"}),e.OEk(8," Proposals "),e.C$Y(),e.I0R(9,"div",4),e.qCj("click",function(){return s.leadWatcher._tab="Documents"}),e.OEk(10," Documents "),e.C$Y(),e.I0R(11,"div",4),e.qCj("click",function(){return s.leadWatcher._tab="Messages"}),e.OEk(12," Messages "),e.C$Y(),e.yuY(13,Ft,2,1,"div",3),e.C$Y()()()(),e.yuY(14,At,7,8,"ion-row",5)(15,Nt,4,1,"ion-row",5)(16,Ht,9,3,"ion-row",5)(17,Wt,3,1,"ion-row",5)(18,nn,4,3,"ion-row",5)(19,dn,1030,133,"ion-row",5)),2&i&&(e.yG2(3),e.E7m("ngIf",s.workRequest),e.yG2(2),e.E7m("ngIf","OldClientForm"==s.workRequest.requestMode),e.yG2(),e.E7m("ngIf","OldClientForm"!=s.workRequest.requestMode),e.yG2(),e.E7m("ngClass","Proposals"==s.leadWatcher._tab?"selected":""),e.yG2(2),e.E7m("ngClass","Documents"==s.leadWatcher._tab?"selected":""),e.yG2(2),e.E7m("ngClass","Messages"==s.leadWatcher._tab?"selected":""),e.yG2(2),e.E7m("ngIf","2xqU1FTCqkUYU8bGI8VFoHARkUL2"===s.userProvider.loggedInUser.id||"xZBsptFgyshWxsPA4tzV4of5hLk2"===s.userProvider.loggedInUser.id),e.yG2(),e.E7m("ngIf","Details"==s.leadWatcher._tab),e.yG2(),e.E7m("ngIf","Documents"==s.leadWatcher._tab),e.yG2(),e.E7m("ngIf","Proposals"==s.leadWatcher._tab),e.yG2(),e.E7m("ngIf","Messages"==s.leadWatcher._tab),e.yG2(),e.E7m("ngIf","Invoices"==s.leadWatcher._tab),e.yG2(),e.E7m("ngIf","Returning-Details"==s.leadWatcher._tab))},dependencies:[P.QF,P.ay,P.u_,R.cm,R.qU,R.sn,R.Kk,R.Ko,R.Yb,R.QR,R.qo,R.Cy,R.gd,R.YA,R.IT,Y.ot,Y.ue,Y.eJ,Y._G,vt.q,Yt,Pt.M,P.y],styles:['.white-block[_ngcontent-%COMP%]{border:1px solid #d3d3d3;background-color:#fff;padding:20px;height:100%}.check-mark[_ngcontent-%COMP%]{background-color:#a6cb43;border-radius:100%;width:25px;height:25px;display:flex;flex-direction:column;align-items:center;justify-content:center;position:absolute;right:-30px;top:50%;transform:translateY(-50%)}.check-mark[_ngcontent-%COMP%]   ion-icon[_ngcontent-%COMP%]{color:#fff;font-size:1.2rem}h1[_ngcontent-%COMP%]{margin:2px auto;font-size:1.4rem}h2[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], span[_ngcontent-%COMP%], p[_ngcontent-%COMP%]{margin:2px auto;padding:0}p[_ngcontent-%COMP%]{margin:0;color:#555}
1ul[_ngcontent-%COMP%]{padding:0;list-style-type:none}#container[_ngcontent-%COMP%]{padding:0 0 100px}.assigned-to.active[_ngcontent-%COMP%]{font-weight:700}.assigned-to[_ngcontent-%COMP%]:hover{cursor:pointer}#details[_ngcontent-%COMP%]{padding:0;width:100%}#details[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{text-decoration:underline}#details[_ngcontent-%COMP%]   .dashboard-box[_ngcontent-%COMP%]{width:100%;border-radius:15px;border:1px solid rgba(34,34,34,.0666666667);box-shadow:10px 10px 30px #0004}#details[_ngcontent-%COMP%]   .dashboard-row[_ngcontent-%COMP%]{padding:15px 20px;width:100%;transition:all 1s;transform:scale(1)}#details[_ngcontent-%COMP%]   .dashboard-row[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin:3px}#details[_ngcontent-%COMP%]   .dashboard-row[_ngcontent-%COMP%]   .name[_ngcontent-%COMP%]{font-weight:100;font-size:2rem}#details[_ngcontent-%COMP%]   .dashboard-row[_ngcontent-%COMP%]   .star[_ngcontent-%COMP%]{display:inline-block;width:35px;transform:translateY(0)}#details[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]{background:#6e63ff;background:#fff;border-radius:15px}#details[_ngcontent-%COMP%]   .bottom[_ngcontent-%COMP%]{padding:25px}#details[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{display:inline-block;margin:0 5px;width:20px;transform:translateY(7px)}#details[_ngcontent-%COMP%]   .inline-btn[_ngcontent-%COMP%]{display:inline-block;margin:10px;padding:0 10px 5px 0;color:#222;font-size:1rem;text-decoration:none;background:#ffa00055;border-radius:2px;border:1px solid #ffa000}#details[_ngcontent-%COMP%]   .inline-btn[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{width:15px;transform:translateY(5px)}#details[_ngcontent-%COMP%]   .upload[_ngcontent-%COMP%]{display:inline-block;margin:10px;padding:10px;color:#000;font-size:1rem;text-decoration:none;background:#6e63ff;border-radius:2px}#details[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{padding:2px;font-size:1rem;background:#fff;border:2px solid rgba(119,119,119,.4666666667);border-radius:3px}#details[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]{border-top:1px solid rgba(0,0,0,.1333333333)}.headshot[_ngcontent-%COMP%]{display:inline-block;width:100px}.headshot-small[_ngcontent-%COMP%]{display:inline-block;width:70px}.headshot-box[_ngcontent-%COMP%]{height:0px}.headshot-transform[_ngcontent-%COMP%]{display:inline-block;margin:20px;width:150px;transform:translateY(-50px)}.activity[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:25px;transform:translate(50%,50%)}.conversation[_ngcontent-%COMP%]{border-top:1px solid rgba(0,0,0,.1333333333)}.conversation[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{padding:0 10px 0 0}#details-nav[_ngcontent-%COMP%]{border-radius:15px;border:1px solid rgba(34,34,34,.0666666667);box-shadow:10px 10px 30px #0004}
1#details-nav[_ngcontent-%COMP%]   .circle[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{transform:translateY(10px)}#details-nav[_ngcontent-%COMP%]   .details-nav-box[_ngcontent-%COMP%]{margin:20px auto;padding:25px;border-radius:15px;border:1px solid rgba(34,34,34,.0666666667);box-shadow:10px 10px 30px #0004}#details-nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{list-style-type:none}#wr-nav[_ngcontent-%COMP%]{background:#fff;width:100%;display:flex;align-items:center;justify-content:space-evenly;border-radius:4px;padding:15px 0}#wr-nav[_ngcontent-%COMP%]   .wr-nav-item[_ngcontent-%COMP%]{color:#000;font-size:1.2rem;text-align:center;border-bottom:2px solid transparent}#wr-nav[_ngcontent-%COMP%]   .wr-nav-item[_ngcontent-%COMP%]:hover{cursor:pointer}#wr-nav[_ngcontent-%COMP%]   .wr-nav-item.greyed[_ngcontent-%COMP%]{opacity:.3}#wr-nav[_ngcontent-%COMP%]   .wr-nav-item.selected[_ngcontent-%COMP%]{border-bottom:3px solid black}.circle-blue[_ngcontent-%COMP%]{display:inline-block;margin:5px 10px;height:45px;width:45px;color:#2ad1dd;background:#2ad1dd44;border-radius:50%}.circle-blue[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{transform:translateY(7px)}.bg-purple[_ngcontent-%COMP%]{background:#8180e099}.bg-blue-light[_ngcontent-%COMP%]{background:#c1f8ff}.bg-blue[_ngcontent-%COMP%]{background:#0af}.bg-green[_ngcontent-%COMP%]{background:#6aaf5299}.bg-orange[_ngcontent-%COMP%]{background:#ffc30099}.bg-red[_ngcontent-%COMP%]{background:red}.font-red[_ngcontent-%COMP%]{color:red}.font-green[_ngcontent-%COMP%]{color:#6aaf52}.font-blue[_ngcontent-%COMP%]{color:#8180e0}.font-blue-light[_ngcontent-%COMP%]{color:#2ad1dd}.font-orange[_ngcontent-%COMP%]{color:#f5ac2d;color:#ffa000}.font-purple[_ngcontent-%COMP%]{color:#8e8de3}.font-white[_ngcontent-%COMP%]{color:#fff}.font-gray[_ngcontent-%COMP%]{color:#999}.font-500[_ngcontent-%COMP%]{font-weight:500}.font-600[_ngcontent-%COMP%]{font-weight:600}.font-700[_ngcontent-%COMP%]{font-weight:700}@media (max-width: 972px){#dashboard[_ngcontent-%COMP%]{padding:100px 10px}.headshot-box[_ngcontent-%COMP%]{height:auto}.headshot-transform[_ngcontent-%COMP%]{margin:20px;width:150px;transform:translateY(0)}}ion-grid[_ngcontent-%COMP%]{transition:"max-width" .5s;width:98%;margin:0 auto}.doc-btn[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{border:1px solid #c2c2c2;padding:.15rem .5rem;border-radius:5px;background-color:#f7f7f7;cursor:pointer}.sm-btn[_ngcontent-%COMP%]{border:1px solid #c2c2c2;padding:.15rem .5rem;border-radius:5px;background-color:#f7f7f7}.text-area[_ngcontent-%COMP%]{border:1px solid #dfdfdf;width:98%!important;margin:arem auto;color:#464646;height:241px;border-radius:7px;font-size:1.2rem;padding:1rem;background-color:#fafafa}.dot[_ngcontent-%COMP%]{width:10px;height:10px;border-radius:100%;position:absolute;left:-20px;top:50%;transform:translateY(-50%)}.dot.red[_ngcontent-%COMP%]{background:red}.dot.blue[_ngcontent-%COMP%]{background:#0af}.dot.yellow[_ngcontent-%COMP%], .dot.green[_ngcontent-%COMP%]{background:red}.text[_ngcontent-%COMP%]{margin:1rem auto;padding:1rem;max-height:300px;border:1px solid rgb(224,224,224);border-radius:10px;background-color:#f0f8ff;min-height:200px;color:#797979}.msg-box[_ngcontent-%COMP%]{width:100%;height:100%;max-width:1000px;margin:0 auto;background-color:#f0f0f8;border-radius:7px}.msg-box-1[_ngcontent-%COMP%]{width:100%;height:100%;max-width:1000px;margin:0 auto;border-radius:7px}.tabs[_ngcontent-%COMP%]{display:flex;justify-content:space-around;background-color:#000;border-radius:5px;width:100%;max-width:700px;padding:.35rem}.tabs[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{color:#bfbfbf;padding:.22rem 1rem;cursor:pointer;border-radius:5px;font-size:.9rem}.tabs[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:hover, .tabs[_ngcontent-%COMP%]   div.selected[_ngcontent-%COMP%]{color:#fff;background-color:#636363}.files[_ngcontent-%COMP%]{margin-top:7px;display:flex;width:96%}.files[_ngcontent-%COMP%]   .file-item[_ngcontent-%COMP%]{margin:10px;padding:10px 5px;border:2px dashed grey;border-radius:8px;font-size:.89rem;display:flex;align-items:center;background-color:#fff;box-shadow:2px 2px 8px #dddada}.files[_ngcontent-%COMP%]   .file-item[_ngcontent-%COMP%]   ion-icon[_ngcontent-%COMP%]{font-size:2rem;margin-right:.5rem}.main-Gen[_ngcontent-%COMP%]{width:97%;padding:20px;margin:20px;border-top:3px solid #6c63ef;box-shadow:#00000029 0 1px 4px;background-color:#fff;border-radius:5px}.main-Gen[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]{width:100%}.main-Gen[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]{height:40px}.main-Gen[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]:hover{background-color:#efefef}.main-Gen[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{width:16.6%;letter-spacing:1px;text-align:center}.main-Gen[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]:nth-child(1){padding-left:10px;text-align:start}.main-Gen[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{width:16.6%;letter-spacing:1px;text-align:center}.main-Gen[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]:nth-child(1){padding-left:10px;text-align:start}.main-Gen[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%]{border:1px solid rgba(0,0,0,.2470588235);background-color:#c6aa1c26}.slct-temp[_ngcontent-%COMP%]   ion-select[_ngcontent-%COMP%]{border:1px solid rgba(0,0,0,.2509803922);border-radius:5px;padding:0 10px}.date-temp[_ngcontent-%COMP%]{border:1px solid rgba(0,0,0,.2509803922);border-radius:5px;padding:6px 12px;margin:0 10px;gap:10px}.w-50[_ngcontent-%COMP%]{width:50%!important}.w-20[_ngcontent-%COMP%]{width:20%!important}.margin-1y[_ngcontent-%COMP%]{margin:10px 0}.bold-500[_ngcontent-%COMP%]{font-weight:500}input[_ngcontent-%COMP%]{padding:5px 10px;background-color:#fff;border-radius:5px;border:1px solid rgba(0,0,0,.2509803922)}.green[_ngcontent-%COMP%]{color:#25a90d}.red[_ngcontent-%COMP%]{color:red}.blue[_ngcontent-%COMP%]{color:#00f}.grey-line[_ngcontent-%COMP%]{height:1px;width:100%;background-color:#efefef}.amts[_ngcontent-%COMP%]   h6[_ngcontent-%COMP%]{width:50%;font-weight:600}.amts[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{width:15%!important}.gap-1r[_ngcontent-%COMP%]{gap:1rem}.margin-top-5p[_ngcontent-%COMP%]{margin-top:5px!important}input[type=number][_ngcontent-%COMP%]::-webkit-inner-spin-button, input[type=number][_ngcontent-%COMP%]::-webkit-outer-spin-button{appearance:none;margin:0}.margin-0[_ngcontent-%COMP%]{margin:0!important}.temp-list[_ngcontent-%COMP%]{width:95%;padding:30px;margin:30px;box-shadow:#00000029 0 1px 4px;border-radius:5px;border-top:3px solid #6c63ff;background-color:#fff}.temp-list[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]{width:100%}.temp-list[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]{border-bottom:1px solid #efefef;height:45px}.temp-list[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]:hover{background-color:#efefef}.temp-list[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{width:12.5%;text-align:center;letter-spacing:1px;font-size:16px}.temp-list[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{text-align:center;letter-spacing:1px;font-size:16px}.temp-list[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]:hover   th[_ngcontent-%COMP%]{background-color:#fff}.padding-0[_ngcontent-%COMP%]{padding:0!important}.green-line[_ngcontent-%COMP%]{height:3px;background-color:#6c63ff}.t-green[_ngcontent-%COMP%]{color:#6c63ff}.t-red[_ngcontent-%COMP%]{color:red}.t-blue[_ngcontent-%COMP%]{color:#00f}.pay[_ngcontent-%COMP%]{--background: #6c63ff;--color: #fff;--border-radius: 5px;
1--box-shadow: rgba(0, 0, 0, .16) 0px 1px 4px}.date[_ngcontent-%COMP%]{border:1px solid rgba(0,0,0,.2431372549);border-radius:5px;background-color:#efefef;padding:5px 10px;margin:10px 0}.w-75[_ngcontent-%COMP%]{width:75%}.h-75[_ngcontent-%COMP%]{height:75%}.w-25[_ngcontent-%COMP%]{width:25%}.w-50[_ngcontent-%COMP%]{width:50%}.total[_ngcontent-%COMP%]{gap:1rem;margin-top:15px}.shadow-none[_ngcontent-%COMP%]{box-shadow:none}ion-accordion-group[_ngcontent-%COMP%] > ion-accordion[_ngcontent-%COMP%]:last-of-type   ion-item[slot=header][_ngcontent-%COMP%]{text-align:center;font-size:18px;font-weight:600;color:#6c63ef!important;background-color:#fff!important;--background: #fff!important;border-radius:5px;margin:0}ion-accordion-group[_ngcontent-%COMP%] > ion-accordion[_ngcontent-%COMP%]:last-of-type   ion-item[slot=header][_ngcontent-%COMP%]   ion-label[_ngcontent-%COMP%]{color:#6c63ef}ion-accordion[_ngcontent-%COMP%]{border:1px solid #ddd;border-radius:5px}.div-empty-box[_ngcontent-%COMP%]{background-color:#fff;margin:20px;padding:30px;box-shadow:#00000029 0 1px 4px}.div-empty-box[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]{width:100%}.div-empty-box[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]{height:40px;border-bottom:1px solid #ddd}.div-empty-box[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{width:16.6%;letter-spacing:1px;text-align:center;border-bottom:1px solid #ddd}.div-empty-box[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]:nth-child(1){padding-left:10px;text-align:start}.div-empty-box[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{width:16.6%;letter-spacing:1px;text-align:center}.div-empty-box[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]:nth-child(1){padding-left:10px;text-align:start}.div-empty-box[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%]{border:1px solid rgba(0,0,0,.2470588235);background-color:#c6aa1c26}.top-head[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#6c63ef;font-size:30px;font-weight:700;margin-bottom:10px}']})}return n})();var un=_(45552),fn=_(57460);function gn(n,r){1&n&&(e.I0R(0,"div",5)(1,"div",6),e.wR5(2,"div")(3,"div")(4,"div"),e.C$Y()())}function pn(n,r){if(1&n){const t=e.KQA();e.I0R(0,"app-overview-scr",10),e.qCj("changeChatMenu",function(s){e.usT(t);const c=e.GaO(2);return e.CGJ(c.changeChatMenu(s))}),e.C$Y()}if(2&n){const t=e.GaO(2);e.E7m("workRequest",t.workRequest)("wRid",t.wRid)("option",t.accordionOtion)("progressState",t.progressState)}}function mn(n,r){if(1&n&&(e.I0R(0,"div",7)(1,"div",8),e.yuY(2,pn,1,4,"app-overview-scr",9),e.C$Y()()),2&n){const t=e.GaO();
1e.yG2(2),e.E7m("ngIf",!t.loading&&"overview"===t.currentScreen)}}function hn(n,r){1&n&&e.wR5(0,"app-pop-chats")}const Cn=[{path:"",component:(()=>{class n{route;router;firebaseApi;leadWatcher;userProvider;menuService;format;currentScreen="";wRid;loading=!0;accordionOtion="doc";workRequest={};progressState="";constructor(t,i,s,c,m,b,D){this.route=t,this.router=i,this.firebaseApi=s,this.leadWatcher=c,this.userProvider=m,this.menuService=b,this.format=D}ngOnInit(){var t=this;this.route.params.subscribe(i=>{this.currentScreen=i.id||"overview"}),this.route.queryParams.subscribe(function(){var i=(0,E.c)(function*(s){t.wRid=s.id,t.format.selectedWrId=t.wRid,console.log("wr id ->",t.wRid),t.loading=!0,t.leadWatcher?.workRequests?.all?.data&&t.getWr(),t.leadWatcher.job$.subscribe(()=>{t.getWr()})});return function(s){return i.apply(this,arguments)}}())}getWr(){var t=this;return(0,E.c)(function*(){t.workRequest=t.leadWatcher.workRequests.all.data.find(i=>i.id===t.wRid),t.workRequest&&t.workRequest?.userId&&(t.workRequest.userInfo=yield t.firebaseApi.findOneById("users",t.workRequest.userId),t.loading=!1,console.log("selected wr --\x3e",t.workRequest)),t.progressState=t.getProgressState()})()}getProgressState(){switch(this.workRequest?.progress){case"open":return"Open Work Request";case"in-progress":return"In Progress Work Request";case"complete":return"Completed Work Request";case"cancel":return"Cancelled Work Request";default:return"No Status Set"}}changeChatMenu(t){"documents"===t.slug&&(this.workRequest.newDocument=!1),"messages"===t.slug&&(this.workRequest.newMessage=!1),this.router.navigate(["work-request",t],{queryParams:{id:this.wRid}})}goTo(t){t&&(this.leadWatcher.workRequests.changed=!1),this.menuService.toggleMenu(!0,!1)}static \u0275fac=function(i){return new(i||n)(e.GI1(z.gV),e.GI1(z.E5),e.GI1(ye.H),e.GI1(be.c),e.GI1(Re.e),e.GI1(mt.C),e.GI1(we.M))};static \u0275cmp=e.In1({type:n,selectors:[["app-work-request"]],decls:9,vars:3,consts:[[1,"main-div"],[1,"main-section"],["class","loading w-header",4,"ngIf"],["style","position: relative; min-height: 415px",4,"ngIf"],[4,"ngIf"],[1,"loading","w-header"],[1,"lds-facebook","app"],[2,"position","relative","min-height","415px"],[1,"light-grey","border-radius"],[3,"workRequest","wRid","option","progressState","changeChatMenu",4,"ngIf"],[3,"workRequest","wRid","option","progressState","changeChatMenu"]],template:function(i,s){1&i&&(e.wR5(0,"app-header"),e.I0R(1,"ion-content")(2,"div",0)(3,"div"),e.wR5(4,"app-menu-module"),e.C$Y(),e.I0R(5,"div",1),e.yuY(6,gn,5,0,"div",2)(7,mn,3,1,"div",3),e.C$Y()(),e.yuY(8,hn,1,0,"app-pop-chats",4),e.C$Y()),2&i&&(e.yG2(6),e.E7m("ngIf",s.loading),e.yG2(),e.E7m("ngIf",!s.loading),e.yG2(),e.E7m("ngIf","Messages"!=s.leadWatcher._tab))},dependencies:[P.u_,R._i,ht.k,cn,un.a,fn.o],styles:['.turk[_ngcontent-%COMP%]{color:var(--ion-color-primary)}ion-grid[_ngcontent-%COMP%]{transition:"max-width" .5s;width:98%;margin:0 auto}.tabs[_ngcontent-%COMP%]{display:flex;justify-content:space-around;background-color:#000;border-radius:5px;width:100%;max-width:600px;padding:.35rem}.tabs[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{color:#bfbfbf;padding:.22rem 1rem;cursor:pointer;border-radius:5px;font-size:.9rem}.tabs[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:hover, .tabs[_ngcontent-%COMP%]   div.selected[_ngcontent-%COMP%]{color:#fff;background-color:#636363}']})}return n})()}];let vn=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=e.a4G({type:n});static \u0275inj=e.s3X({imports:[z.qQ.forChild(Cn),z.qQ]})}return n})();var _n=_(48396);let On=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=e.a4G({type:n});static \u0275inj=e.s3X({imports:[P.MD,R.wZ]})}return n})();var In=_(2520),Ve=_(89748),kn=_(45880),ue=_(25852),Je=_(74292);let Ke=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=e.a4G({type:n});static \u0275inj=e.s3X({imports:[P.MD,R.wZ,Y.y]})}return n})();var Qe=_(75448);let yn=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=e.a4G({type:n});static \u0275inj=e.s3X({providers:[Be.U],imports:[P.MD,R.wZ,In.U,Y.y,Ve.w,kn.y,Ke,Qe.K,ue.a6.forRoot({provide:ue.Wu,useFactory:Je.g})]})}return n})(),bn=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=e.a4G({type:n});static \u0275inj=e.s3X({imports:[P.MD,R.wZ]})}return n})();var Rn=_(87560),De=["onChange","onClose","onDayCreate","onDestroy","onKeyDown","onMonthChange","onOpen","onParseConfig","onReady","onValueUpdate","onYearChange","onPreCalendarPosition"],Z={_disable:[],allowInput:!1,allowInvalidPreload:!1,altFormat:"F j, Y",altInput:!1,altInputClass:"form-control input",animate:"object"==typeof window&&-1===window.navigator.userAgent.indexOf("MSIE"),ariaDateFormat:"F j, Y",autoFillDefaultTime:!0,clickOpens:!0,closeOnSelect:!0,conjunction:", ",dateFormat:"Y-m-d",defaultHour:12,defaultMinute:0,defaultSeconds:0,disable:[],disableMobile:!1,enableSeconds:!1,enableTime:!1,errorHandler:function(n){return typeof console<"u"&&console.warn(n)},getWeek:function(n){var r=new Date(n.getTime());r.setHours(0,0,0,0),r.setDate(r.getDate()+3-(r.getDay()+6)%7);var t=new Date(r.getFullYear(),0,4);return 1+Math.round(((r.getTime()-t.getTime())/864e5-3+(t.getDay()+6)%7)/7)},hourIncrement:1,ignoredFocusElements:[],inline:!1,locale:"default",minuteIncrement:5,mode:"single",monthSelectorType:"dropdown",nextArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewB
1ox='0 0 17 17'><g></g><path d='M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z' /></svg>",noCalendar:!1,now:new Date,onChange:[],onClose:[],onDayCreate:[],onDestroy:[],onKeyDown:[],onMonthChange:[],onOpen:[],onParseConfig:[],onReady:[],onValueUpdate:[],onYearChange:[],onPreCalendarPosition:[],plugins:[],position:"auto",positionElement:void 0,prevArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M5.207 8.471l7.146 7.147-0.707 0.707-7.853-7.854 7.854-7.853 0.707 0.707-7.147 7.146z' /></svg>",shorthandCurrentMonth:!1,showMonths:1,static:!1,time_24hr:!1,weekNumbers:!1,wrap:!1},Me={weekdays:{shorthand:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],longhand:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},months:{shorthand:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],longhand:["January","February","March","April","May","June","July","August","September","October","November","December"]},daysInMonth:[31,28,31,30,31,30,31,31,30,31,30,31],firstDayOfWeek:0,ordinal:function(n){var r=n%100;if(r>3&&r<21)return"th";switch(r%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},rangeSeparator:" to ",weekAbbreviation:"Wk",scrollTitle:"Scroll to increment",toggleTitle:"Click to toggle",amPM:["AM","PM"],yearAriaLabel:"Year",monthAriaLabel:"Month",hourAriaLabel:"Hour",minuteAriaLabel:"Minute",time_24hr:!1};const xe=Me;var S=function(n,r){return void 0===r&&(r=2),("000"+n).slice(-1*r)},N=function(n){return!0===n?1:0};function Ze(n,r){var t;return function(){var i=this,s=arguments;clearTimeout(t),t=setTimeout(function(){return n.apply(i,s)},r)}}var Ee=function(n){return n instanceof Array?n:[n]};function T(n,r,t){if(!0===t)return n.classList.add(r);n.classList.remove(r)}function O(n,r,t){var i=window.document.createElement(n);return t=t||"",i.className=r=r||"",void 0!==t&&(i.textContent=t),i}function fe(n){for(;n.firstChild;)n.removeChild(n.firstChild)}function Xe(n,r){return r(n)?n:n.parentNode?Xe(n.parentNode,r):void 0}function ge(n,r){var t=O("div","numInputWrapper"),i=O("input","numInput "+n),s=O("span","arrowUp"),c=O("span","arrowDown");if(-1===navigator.userAgent.indexOf("MSIE 9.0")?i.type="number":(i.type="text",i.pattern="\\d*"),void 0!==r)for(var m in r)i.setAttribute(m,r[m]);return t.appendChild(i),t.appendChild(s),t.appendChild(c),t}function G(n){try{return"function"==typeof n.composedPath?n.composedPath()[0]:n.target}catch{return n.target}}var Ye=function(){},pe=function(n,r,t){return t.months[r?"shorthand":"longhand"][n]},wn={D:Ye,F:function(n,r,t){n.setMonth(t.months.longhand.indexOf(r))},G:function(n,r){n.setHours((n.getHours()>=12?12:0)+parseFloat(r))},H:function(n,r){n.setHours(parseFloat(r))},J:function(n,r){n.setDate(parseFloat(r))},K:function(n,r,t){n.setHours(n.getHours()%12+12*N(new RegExp(t.amPM[1],"i").test(r)))},M:function(n,r,t){n.setMonth(t.months.shorthand.indexOf(r))},S:function(n,r){n.setSeconds(parseFloat(r))},U:function(n,r){return new Date(1e3*parseFloat(r))},W:function(n,r,t){var i=parseInt(r),s=new Date(n.getFullYear(),0,2+7*(i-1),0,0,0,0);return s.setDate(s.getDate()-s.getDay()+t.firstDayOfWeek),s},Y:function(n,r){n.setFullYear(parseFloat(r))},Z:function(n,r){return new Date(r)},d:function(n,r){n.setDate(parseFloat(r))},h:function(n,r){n.setHours((n.getHours()>=12?12:0)+parseFloat(r))},i:function(n,r){n.setMinutes(parseFloat(r))},j:function(n,r){n.setDate(parseFloat(r))},l:Ye,m:function(n,r){n.setMonth(parseFloat(r)-1)},n:function(n,r){n.setMonth(parseFloat(r)-1)},s:function(n,r){n.setSeconds(parseFloat(r))},u:function(n,r){return new Date(parseFloat(r))},w:Ye,y:function(n,r){n.setFullYear(2e3+parseFloat(r))}},U={D:"",F:"",G:"(\\d\\d|\\d)",H:"(\\d\\d|\\d)",J:"(\\d\\d|\\d)\\w+",K:"",M:"",S:"(\\d\\d|\\d)",U:"(.+)",W:"(\\d\\d|\\d)",Y:"(\\d{4})",Z:"(.+)",d:"(\\d\\d|\\d)",h:"(\\d\\d|\\d)",i:"(\\d\\d|\\d)",j:"(\\d\\d|\\d)",l:"",m:"(\\d\\d|\\d)",n:"(\\d\\d|\\d)",s:"(\\d\\d|\\d)",u:"(.+)",w:"(\\d\\d|\\d)",y:"(\\d{2})"},re={Z:function(n){return n.toISOString()},D:function(n,r,t){return r.weekdays.shorthand[re.w(n,r,t)]},F:function(n,r,t){return pe(re.n(n,r,t)-1,!1,r)},G:function(n,r,t){return S(re.h(n,r,t))},H:function(n){return S(n.getHours())},J:function(n,r){return void 0!==r.ordinal?n.getDate()+r.ordinal(n.getDate()):n.getDate()},K:function(n,r){return r.amPM[N(n.getHours()>11)]},M:function(n,r){return pe(n.getMonth(),!0,r)},S:function(n){return S(n.getSeconds())},U:function(n){return n.getTime()/1e3},W:function(n,r,t){return t.getWeek(n)},Y:function(n){return S(n.getFullYear(),4)},d:function(n){return S(n.getDate())},h:function(n){return n.getHours()%12?n.getHours()%12:12},i:function(n){return S(n.getMinutes())},j:function(n){return n.getDate()},l:function(n,r){return r.weekdays.longhand[n.getDay()]},m:function(n){return S(n.getMonth()+1)},n:function(n){return n.getMonth()+1},s:function(n){return n.getSeconds()},u:function(n){return n.getTime()},w:function(n){return n.getDay()},y:function(n){return String(n.getFullYear()).substring(2)}},et=function(n){var r=n.config,t=void 0===r?Z:r,i=n.l10n,s=void 0===i?Me:i,c=n.isMobile,m=void 0!==c&&c;return function(b,D,w){var k=w||s;return void 0===t.formatDate||m?D.split("").map(function(q,j,W){return re[q]&&"\\"!==W[j-1]?re[q](b,k,t):"\\"!==q?q:""}).join(""):t.formatDate(b,D,k)}},Pe=function(n){var r=n.config,t=void 0===r?Z:r,i=n.l10n,s=void 0===i?Me:i;return function(c,m,b,D){if(0===c||c){var k,w=D||s,q=c;if(c instanceof Date)k=new Date(c.getTime());else if("string"!=typeof c&&void 0!==c.toFixed)k=new Date(c);else if("string"==typeof c){var j=m||(t||Z).dateFormat,W=String(c).trim();if("today"===W)k=new Date,b=!0;else if(t&&t.parseDate)k=t.parseDate(c,j);else if(/Z$/.test(W)||/GMT$/.test(W))k=new Date(c);else{for(var me=void 0,I=[],V=0,Ge=0,B="";V<j.length;V++){var J=j[V],ee="\\"===J;if(U[J]&&"\\"!==j[V-1]&&!ee){B+=U[J];var K=new RegExp(B).exec(c);K&&(me=!0)&&I["Y"!==J?"push":"unshift"]({fn:wn[J],val:K[++Ge]})}else ee||(B+=".")}k=t&&t.noCalendar?new Date((new Date).setHours(0,0,0,0)):new Date((new Date).getFullYear(),0,1,0,0,0,0),I.forEach(function(te){return k=(0,te.fn)(k,te.val,w)||k}),k=me?k:void 0}}return k instanceof Date&&!isNaN(k.getTime())?(!0===b&&k.setHours(0,0,0,0),k):void t.errorHandler(new Error("Invalid date provided: "+q))}}};function F(n,r,t){return void 0===t&&(t=!0),!1!==t?new Date(n.getTime()).setHours(0,0,0,0)-new Date(r.getTime()).setHours(0,0,0,0):n.getTime()-r.getTime()}var Dn=function(n,r,t){return n>Math.min(r,t)&&n<Math.max(r,t)},$e=function(n,r,t){return 3600*n+60*r+t},Mn=function(n){var r=Math.floor(n/3600),t=(n-3600*r)/60;return[r,t,n-3600*r-60*t]},xn={DAY:864e5};function Te(n){var r=n.defaultHour,t=n.defaultMinute,i=n.defaultSeconds;if(void 0!==n.minDate){var s=n.minDate.getHours(),c=n.minDate.getMinutes(),m=n.minDate.getSeconds();r<s&&(r=s),r===s&&t<c&&(t=c),r===s&&t===c&&i<m&&(i=n.minDate.getSeconds())}if(void 0!==n.maxDate){var b=n.maxDate.getHours(),D=n.maxDate.getMinutes();(r=Math.min(r,b))===b&&(t=Math.min(D,t)),r===b&&t===D&&(i=n.maxDate.getSeconds())}return{hours:r,minutes:t,seconds:i}}_(9280);var $=function(){return $=Object.assign||function(n){for(var r,t=1,i=arguments.length;t<i;t++)for(var s in r=arguments[t])Object.prototype.hasOwnProperty.call(r,s)&&
vendor: 23,263 bytes, line 1
1(n[s]=r[s]);return n},$.apply(this,arguments)},tt=function(){for(var n=0,r=0,t=arguments.length;r<t;r++)n+=arguments[r].length;var i=Array(n),s=0;for(r=0;r<t;r++)for(var c=arguments[r],m=0,b=c.length;m<b;m++,s++)i[s]=c[m];return i},En=300;function Yn(n,r){var t={config:$($({},Z),x.defaultConfig),l10n:xe};function c(){var o;return(null===(o=t.calendarContainer)||void 0===o?void 0:o.getRootNode()).activeElement||document.activeElement}function m(o){return o.bind(t)}function b(){var o=t.config;!1===o.weekNumbers&&1===o.showMonths||!0!==o.noCalendar&&window.requestAnimationFrame(function(){if(void 0!==t.calendarContainer&&(t.calendarContainer.style.visibility="hidden",t.calendarContainer.style.display="block"),void 0!==t.daysContainer){var a=(t.days.offsetWidth+1)*o.showMonths;t.daysContainer.style.width=a+"px",t.calendarContainer.style.width=a+(void 0!==t.weekWrapper?t.weekWrapper.offsetWidth:0)+"px",t.calendarContainer.style.removeProperty("visibility"),t.calendarContainer.style.removeProperty("display")}})}function D(o){if(0===t.selectedDates.length){var a=void 0===t.config.minDate||F(new Date,t.config.minDate)>=0?new Date:new Date(t.config.minDate.getTime()),l=Te(t.config);a.setHours(l.hours,l.minutes,l.seconds,a.getMilliseconds()),t.selectedDates=[a],t.latestSelectedDateObj=a}void 0!==o&&"blur"!==o.type&&function so(o){o.preventDefault();var a="keydown"===o.type,l=G(o),d=l;void 0!==t.amPM&&l===t.amPM&&(t.amPM.textContent=t.l10n.amPM[N(t.amPM.textContent===t.l10n.amPM[0])]);var u=parseFloat(d.getAttribute("min")),f=parseFloat(d.getAttribute("max")),C=parseFloat(d.getAttribute("step")),p=parseInt(d.value,10),g=p+C*(o.delta||(a?38===o.which?1:-1:0));if(typeof d.value<"u"&&2===d.value.length){var h=d===t.hourElement,y=d===t.minuteElement;g<u?(g=f+g+N(!h)+(N(h)&&N(!t.amPM)),y&&ee(void 0,-1,t.hourElement)):g>f&&(g=d===t.hourElement?g-f-N(!t.amPM):u,y&&ee(void 0,1,t.hourElement)),t.amPM&&h&&(1===C?g+p===23:Math.abs(g-p)>C)&&(t.amPM.textContent=t.l10n.amPM[N(t.amPM.textContent===t.l10n.amPM[0])]),d.value=S(g)}}(o);var d=t._input.value;q(),L(),t._input.value!==d&&t._debouncedChange()}function q(){if(void 0!==t.hourElement&&void 0!==t.minuteElement){var o=(parseInt(t.hourElement.value.slice(-2),10)||0)%24,a=(parseInt(t.minuteElement.value,10)||0)%60,l=void 0!==t.secondElement?(parseInt(t.secondElement.value,10)||0)%60:0;void 0!==t.amPM&&(o=function w(o,a){return o%12+12*N(a===t.l10n.amPM[1])}(o,t.amPM.textContent));var d=void 0!==t.config.minTime||t.config.minDate&&t.minDateHasTime&&t.latestSelectedDateObj&&0===F(t.latestSelectedDateObj,t.config.minDate,!0),u=void 0!==t.config.maxTime||t.config.maxDate&&t.maxDateHasTime&&t.latestSelectedDateObj&&0===F(t.latestSelectedDateObj,t.config.maxDate,!0);if(void 0!==t.config.maxTime&&void 0!==t.config.minTime&&t.config.minTime>t.config.maxTime){var f=$e(t.config.minTime.getHours(),t.config.minTime.getMinutes(),t.config.minTime.getSeconds()),C=$e(t.config.maxTime.getHours(),t.config.maxTime.getMinutes(),t.config.maxTime.getSeconds()),p=$e(o,a,l);if(p>C&&p<f){var v=Mn(f);o=v[0],a=v[1],l=v[2]}}else{if(u){var g=void 0!==t.config.maxTime?t.config.maxTime:t.config.maxDate;(o=Math.min(o,g.getHours()))===g.getHours()&&(a=Math.min(a,g.getMinutes())),a===g.getMinutes()&&(l=Math.min(l,g.getSeconds()))}if(d){var h=void 0!==t.config.minTime?t.config.minTime:t.config.minDate;(o=Math.max(o,h.getHours()))===h.getHours()&&a<h.getMinutes()&&(a=h.getMinutes()),a===h.getMinutes()&&(l=Math.max(l,h.getSeconds()))}}W(o,a,l)}}function j(o){var a=o||t.latestSelectedDateObj;a&&a instanceof Date&&W(a.getHours(),a.getMinutes(),a.getSeconds())}function W(o,a,l){void 0!==t.latestSelectedDateObj&&t.latestSelectedDateObj.setHours(o%24,a,l||0,0),t.hourElement&&t.minuteElement&&!t.isMobile&&(t.hourElement.value=S(t.config.time_24hr?o:(12+o)%12+12*N(o%12==0)),t.minuteElement.value=S(a),void 0!==t.amPM&&(t.amPM.textContent=t.l10n.amPM[N(o>=12)]),void 0!==t.secondElement&&(t.secondElement.value=S(l)))}function me(o){var a=G(o),l=parseInt(a.value)+(o.delta||0);(l/1e3>1||"Enter"===o.key&&!/[^\d]/.test(l.toString()))&&Ce(l)}function I(o,a,l,d){return a instanceof Array?a.forEach(function(u){return I(o,u,l,d)}):o instanceof Array?o.forEach(function(u){return I(u,a,l,d)}):(o.addEventListener(a,l,d),void t._handlers.push({remove:function(){return o.removeEventListener(a,l,d)}}))}function V(){M("onChange")}function B(o,a){var l=void 0!==o?t.parseDate(o):t.latestSelectedDateObj||(t.config.minDate&&t.config.minDate>t.now?t.config.minDate:t.config.maxDate&&t.config.maxDate<t.now?t.config.maxDate:t.now),d=t.currentYear,u=t.currentMonth;try{void 0!==l&&(t.currentYear=l.getFullYear(),t.currentMonth=l.getMonth())}catch(f){f.message="Invalid date supplied: "+l,t.config.errorHandler(f)}a&&t.currentYear!==d&&(M("onYearChange"),oe()),a&&(t.currentYear!==d||t.currentMonth!==u)&&M("onMonthChange"),t.redraw()}function J(o){var a=G(o);~a.className.indexOf("arrow")&&ee(o,a.classList.contains("arrowUp")?1:-1)}function ee(o,a,l){var d=o&&G(o),u=l||d&&d.parentNode&&d.parentNode.firstChild,f=He("increment");f.delta=a,u&&u.dispatchEvent(f)}function K(o,a,l,d){var u=Q(a,!0),f=O("span",o,a.getDate().toString());return f.dateObj=a,f.$i=d,f.setAttribute("aria-label",t.formatDate(a,t.config.ariaDateFormat)),-1===o.indexOf("hidden")&&0===F(a,t.now)&&(t.todayDateElem=f,f.classList.add("today"),f.setAttribute("aria-current","date")),u?(f.tabIndex=-1,We(a)&&(f.classList.add("selected"),t.selectedDateElem=f,"range"===t.config.mode&&(T(f,"startRange",t.selectedDates[0]&&0===F(a,t.selectedDates[0],!0)),T(f,"endRange",t.selectedDates[1]&&0===F(a,t.selectedDates[1],!0)),"nextMonthDay"===o&&f.classList.add("inRange")))):f.classList.add("flatpickr-disabled"),"range"===t.config.mode&&function io(o){return!("range"!==t.config.mode||t.selectedDates.length<2)&&F(o,t.selectedDates[0])>=0&&F(o,t.selectedDates[1])<=0}(a)&&!We(a)&&f.classList.add("inRange"),t.weekNumbers&&1===t.config.showMonths&&"prevMonthDay"!==o&&d%7==6&&t.weekNumbers.insertAdjacentHTML("beforeend","<span class='flatpickr-day'>"+t.config.getWeek(a)+"</span>"),M("onDayCreate",f),f}function te(o){o.focus(),"range"===t.config.mode&&_e(o)}function ne(o){for(var l=o>0?t.config.showMonths:-1,d=o>0?0:t.config.showMonths-1;d!=l;d+=o)for(var u=t.daysContainer.children[d],C=o>0?u.children.length:-1,p=o>0?0:u.children.length-1;p!=C;p+=o){var v=u.children[p];if(-1===v.className.indexOf("hidden")&&Q(v.dateObj))return v}}function se(o,a){var l=c(),d=ve(l||document.body),u=void 0!==o?o:d?l:void 0!==t.selectedDateElem&&ve(t.selectedDateElem)?t.selectedDateElem:void 0!==t.todayDateElem&&ve(t.todayDateElem)?t.todayDateElem:ne(a>0?1:-1);void 0===u?t._input.focus():d?function Ae(o,a){for(var l=-1===o.className.indexOf("Month")?o.dateObj.getMonth():t.currentMonth,d=a>0?t.config.showMonths:-1,u=a>0?1:-1,f=l-t.currentMonth;f!=d;f+=u)for(var C=t.daysContainer.children[f],v=C.children.length,g=l-t.currentMonth===f?o.$i+a:a<0?C.children.length-1:0;g>=0&&g<v&&g!=(a>0?v:-1);g+=u){var h=C.children[g];if(-1===h.className.indexOf("hidden")&&Q(h.dateObj)&&Math.abs(o.$i-g)>=Math.abs(a))return te(h)}t.changeMonth(u),se(ne(u),0)}(u,a):te(u)}function Nn(o,a){for(var l=(new Date(o,a,1).getDay()-t.l10n.firstDayOfWeek+7)%7,d=t.utils.getDaysInMonth((a-1+12)%12,o),u=t.utils.getDaysInMonth(a,o),f=window.document.createDocumentFragment(),C=t.config.showMonths>1,p=C?"prevMonthDay hidden":"prevMonthDay",v=C?"nextMonthDay hidden":"nextMonthDay",g=d+1-l,h=0;g<=d;g++,h++)f.appendChild(K("flatpickr-day "+p,new Date(o,a-1,g),0,h));for(g=1;g<=u;g++,h++)f.appendChild(K("flatpickr-day",new Date(o,a,g),0,h));for(var y=u+1;y<=42-l&&(1===t.config.showMonths||h%7!=0);y++,h++)f.appendChild(K("flatpickr-day "+v,new Date(o,a+1,y%u),0,h));var H=O("div","dayContainer");return H.appendChild(f),H}function he(){if(void 0!==t.daysContainer){fe(t.daysContainer),t.weekNumbers&&fe(t.weekNumbers);for(var o=document.createDocumentFragment(),a=0;a<t.config.showMonths;a++){var l=new Date(t.currentYear,t.currentMonth,1);l.setMonth(t.currentMonth+a),o.appendChild(Nn(l.getFullYear(),l.getMonth()))}t.daysContainer.appendChild(o),t.days=t.daysContainer.firstChild,"range"===t.config.mode&&1===t.selectedDates.length&&_e()}}function oe(){if(!(t.config.showMonths>1||"dropdown"!==t.config.monthSelectorType)){t.monthsDropdownContainer.tabIndex=-1,t.monthsDropdownContainer.innerHTML="";for(var a=0;a<12;a++)if(d=a,!(void 0!==t.config.minDate&&t.currentYear===t.config.minDate.getFullYear()&&d<t.config.minDate.getMonth()||void 0!==t.config.maxDate&&t.currentYear===t.config.maxDate.getFullYear()&&d>t.config.maxDate.getMonth())){var l=O("option","flatpickr-monthDropdown-month");l.value=new Date(t.currentYear,a).getMonth().toString(),l.textContent=pe(a,t.config.shorthandCurrentMonth,t.l10n),l.tabIndex=-1,t.currentMonth===a&&(l.selected=!0),t.monthsDropdownContainer.appendChild(l)}}var d}function qn(){var l,o=O("div","flatpickr-month"),a=window.document.createDocumentFragment();t.config.showMonths>1||"static"===t.config.monthSelectorType?l=O("span","cur-month"):(t.monthsDropdownContainer=O("select","flatpickr-monthDropdown-months"),t.monthsDropdownContainer.setAttribute("aria-label",t.l10n.monthAriaLabel),I(t.monthsDropdownContainer,"change",function(C){var p=G(C),v=parseInt(p.value,10);t.changeMonth(v-t.currentMonth),M("onMonthChange")}),oe(),l=t.monthsDropdownContainer);var d=ge("cur-year",{tabindex:"-1"}),u=d.getElementsByTagName("input")[0];u.setAttribute("aria-label",t.l10n.yearAriaLabel),t.config.minDate&&u.setAttribute("min",t.config.minDate.getFullYear().toString()),t.config.maxDate&&(u.setAttribute("max",t.config.maxDate.getFullYear().toString()),u.disabled=!!t.config.minDate&&t.config.minDate.getFullYear()===t.config.maxDate.getFullYear());var f=O("div","flatpickr-current-month");return f.appendChild(l),f.appendChild(d),a.appendChild(f),o.appendChild(a),{container:o,yearElement:u,monthElement:l}}function ot(){fe(t.monthNav),t.monthNav.appendChild(t.prevMonthNav),t.config.showMonths&&(t.yearElements=[],t.monthElements=[]);for(var o=t.config.showMonths;o--;){var a=qn();t.yearElements.push(a.yearElement),t.monthElements.push(a.monthElement),t.monthNav.appendChild(a.container)}t.monthNav.appendChild(t.nextMonthNav)}function at(){t.weekdayContainer?fe(t.weekdayContainer):t.weekdayContainer=O("div","flatpickr-weekdays");for(var o=t.config.showMonths;o--;){var a=O("div","flatpickr-weekdaycontainer");t.weekdayContainer.appendChild(a)}return it(),t.weekdayContainer}function it(){if(t.weekdayContainer){var o=t.l10n.firstDayOfWeek,a=tt(t.l10n.weekdays.shorthand);o>0&&o<a.length&&(a=tt(a.splice(o,a.length),a.splice(0,o)));for(var l=t.config.showMonths;l--;)t.weekdayContainer.children[l].innerHTML="\n      <span class='flatpickr-weekday'>\n        "+a.join("</span><span class='flatpickr-weekday'>")+"\n      </span>\n      "}}function Ne(o,a){void 0===a&&(a=!0);var l=a?o:o-t.currentMonth;l<0&&!0===t._hidePrevMonthArrow||l>0&&!0===t._hideNextMonthArrow||(t.currentMonth+=l,(t.currentMonth<0||t.currentMonth>11)&&(t.currentYear+=t.currentMonth>11?1:-1,t.currentMonth=(t.currentMonth+12)%12,M("onYearChange"),oe()),he(),M("onMonthChange"),ke())}function le(o){return t.calendarContainer.contains(o)}function qe(o){if(t.isOpen&&!t.config.inline){var a=G(o),l=le(a),u=!(a===t.input||a===t.altInput||t.element.contains(a)||o.path&&o.path.indexOf&&(~o.path.indexOf(t.input)||~o.path.indexOf(t.altInput))||l||le(o.relatedTarget)),f=!t.config.ignoredFocusElements.some(function(C){return C.contains(a)});u&&f&&(t.config.allowInput&&t.setDate(t._input.value,!1,t.config.altInput?t.config.altFormat:t.config.dateFormat),void 0!==t.timeContainer&&void 0!==t.minuteElement&&void 0!==t.hourElement&&""!==t.input.value&&void 0!==t.input.value&&D(),t.close(),t.config&&"range"===t.config.mode&&1===t.selectedDates.length&&t.clear(!1))}}function Ce(o){if(!(!o||t.config.minDate&&o<t.config.minDate.getFullYear()||t.config.maxDate&&o>t.config.maxDate.getFullYear())){var l=t.currentYear!==o;t.currentYear=o||t.currentYear,t.config.maxDate&&t.currentYear===t.config.maxDate.getFullYear()?t.currentMonth=Math.min(t.config.maxDate.getMonth(),t.currentMonth):t.config.minDate&&t.currentYear===t.config.minDate.getFullYear()&&(t.currentMonth=Math.max(t.config.minDate.getMonth(),t.currentMonth)),l&&(t.redraw(),M("onYearChange"),oe())}}function Q(o,a){var l;void 0===a&&(a=!0);var d=t.parseDate(o,void 0,a);if(t.config.minDate&&d&&F(d,t.config.minDate,void 0!==a?a:!t.minDateHasTime)<0||t.config.maxDate&&d&&F(d,t.config.maxDate,void 0!==a?a:!t.maxDateHasTime)>0)return!1;if(!t.config.enable&&0===t.config.disable.length)return!0;if(void 0===d)return!1;for(var u=!!t.config.enable,f=null!==(l=t.config.enable)&&void 0!==l?l:t.config.disable,C=0,p=void 0;C<f.length;C++){if("function"==typeof(p=f[C])&&p(d))return u;if(p instanceof Date&&void 0!==d&&p.getTime()===d.getTime())return u;if("string"==typeof p){var v=t.parseDate(p,void 0,!0);return v&&v.getTime()===d.getTime()?u:!u}if("object"==typeof p&&void 0!==d&&p.from&&p.to&&d.getTime()>=p.from.getTime()&&d.getTime()<=p.to.getTime())return u}return!u}function ve(o){return void 0!==t.daysContainer&&-1===o.className.indexOf("hidden")&&-1===o.className.indexOf("flatpickr-disabled")&&t.daysContainer.contains(o)}function Un(o){var a=o.target===t._input,l=t._input.value.trimEnd()!==Le();a&&l&&(!o.relatedTarget||!le(o.relatedTarget))&&t.setDate(t._input.value,!0,o.target===t.altInput?t.config.altFormat:t.config.dateFormat)}function rt(o){var a=G(o),l=t.config.wrap?n.contains(a):a===t._input,d=t.config.allowInput,u=t.isOpen&&(!d||!l),f=t.config.inline&&l&&!d;if(13===o.keyCode&&l){if(d)return t.setDate(t._input.value,!0,a===t.altInput?t.config.altFormat:t.config.dateFormat),t.close(),a.blur();t.open()}else if(le(a)||u||f){var C=!!t.timeContainer&&t.timeContainer.contains(a);switch(o.keyCode){case 13:C?(o.preventDefault(),D(),je()):ut(o);break;case 27:o.preventDefault(),je();break;case 8:case 46:l&&!t.config.allowInput&&(o.preventDefault(),t.clear());break;case 37:case 39:if(C||l)t.hourElement&&t.hourElement.focus();else{o.preventDefault();var p=c();if(void 0!==t.daysContainer&&(!1===d||p&&ve(p))){var v=39===o.keyCode?1:-1;o.ctrlKey?(o.stopPropagation(),Ne(v),se(ne(1),0)):se(void 0,v)}}break;case 38:case 40:o.preventDefault();var g=40===o.keyCode?1:-1;t.daysContainer&&void 0!==a.$i||a===t.input||a===t.altInput?o.ctrlKey?(o.stopPropagation(),Ce(t.currentYear-g),se(ne(1),0)):C||se(void 0,7*g):a===t.currentYearElement?Ce(t.currentYear-g):t.config.enableTime&&(!C&&t.hourElement&&t.hourElement.focus(),D(o),t._debouncedChange());break;case 9:if(C){var h=[t.hourElement,t.minuteElement,t.secondElement,t.amPM].concat(t.pluginElements).filter(function(A){return A}),y=h.indexOf(a);if(-1!==y){var H=h[y+(o.shiftKey?-1:1)];o.preventDefault(),(H||t._input).focus()}}else!t.config.noCalendar&&t.daysContainer&&t.daysContainer.contains(a)&&o.shiftKey&&(o.preventDefault(),t._input.focus())}}if(void 0!==t.amPM&&a===t.amPM)switch(o.key){case t.l10n.amPM[0].charAt(0):case t.l10n.amPM[0].charAt(0).toLowerCase():t.amPM.textContent=t.l10n.amPM[0],q(),L();break;case t.l10n.amPM[1].charAt(0):case t.l10n.amPM[1].charAt(0).toLowerCase():t.amPM.textContent=t.l10n.amPM[1],q(),L()}(l||le(a))&&M("onKeyDown",o)}function _e(o,a){if(void 0===a&&(a="flatpickr-day"),1===t.selectedDates.length&&(!o||o.classList.contains(a)&&!o.classList.contains("flatpickr-disabled"))){for(var l=o?o.dateObj.getTime():t.days.firstElementChild.dateObj.getTime(),d=t.parseDate(t.selectedDates[0],void 0,!0).getTime(),u=Math.min(l,t.selectedDates[0].getTime()),f=Math.max(l,t.selectedDates[0].getTime()),C=!1,p=0,v=0,g=u;g<f;g+=xn.DAY)Q(new Date(g),!0)||(C=C||g>u&&g<f,g<d&&(!p||g>p)?p=g:g>d&&(!v||g<v)&&(v=g));Array.from(t.rContainer.querySelectorAll("*:nth-child(-n+"+t.config.showMonths+") > ."+a)).forEach(function(y){var A=y.dateObj.getTime(),de=p>0&&A<p||v>0&&A>v;if(de)return y.classList.add("notAllowed"),void["inRange","startRange","endRange"].forEach(function(ae){y.classList.remove(ae)});C&&!de||(["startRange","inRange","endRange","notAllowed"].forEach(function(ae){y.classList.remove(ae)}),void 0!==o&&(o.classList.add(l<=t.selectedDates[0].getTime()?"startRange":"endRange"),d<l&&A===d?y.classList.add("startRange"):d>l&&A===d&&y.classList.add("endRange"),A>=p&&(0===v||A<=v)&&Dn(A,d,l)&&y.classList.add("inRange")))})}}function Vn(){t.isOpen&&!t.config.static&&!t.config.inline&&Oe()}function st(o){return function(a){var l=t.config["_"+o+"Date"]=t.parseDate(a,t.config.dateFormat),d=t.config["_"+("min"===o?"max":"min")+"Date"];void 0!==l&&(t["min"===o?"minDateHasTime":"maxDateHasTime"]=l.getHours()>0||l.getMinutes()>0||l.getSeconds()>0),t.selectedDates&&(t.selectedDates=t.selectedDates.filter(function(u){return Q(u)}),!t.selectedDates.length&&"min"===o&&j(l),L()),t.daysContainer&&(ct(),void 0!==l?t.currentYearElement[o]=l.getFullYear().toString():t.currentYearElement.removeAttribute(o),t.currentYearElement.disabled=!!d&&void 0!==l&&d.getFullYear()===l.getFullYear())}}function lt(){return t.config.wrap?n.querySelector("[data-input]"):n}function dt(){"object"!=typeof t.config.locale&&typeof x.l10ns[t.config.locale]>"u"&&t.config.errorHandler(new Error("flatpickr: invalid locale "+t.config.locale)),t.l10n=$($({},x.l10ns.default),"object"==typeof t.config.locale?t.config.locale:"default"!==t.config.locale?x.l10ns[t.config.locale]:void 0),U.D="("+t.l10n.weekdays.shorthand.join("|")+")",U.l="("+t.l10n.weekdays.longhand.join("|")+")",U.M="("+t.l10n.months.shorthand.join("|")+")",U.F="("+t.l10n.months.longhand.join("|")+")",U.K="("+t.l10n.amPM[0]+"|"+t.l10n.amPM[1]+"|"+t.l10n.amPM[0].toLowerCase()+"|"+t.l10n.amPM[1].toLowerCase()+")",void 0===$($({},r),JSON.parse(JSON.stringify(n.dataset||{}))).time_24hr&&void 0===x.defaultConfig.time_24hr&&(t.config.time_24hr=t.l10n.time_24hr),t.formatDate=et(t),t.parseDate=Pe({config:t.config,l10n:t.l10n})}function Oe(o){if("function"!=typeof t.config.position){if(void 0!==t.calendarContainer){M("onPreCalendarPosition");var a=o||t._positionElement,l=Array.prototype.reduce.call(t.calendarContainer.children,function(ho,Co){return ho+Co.offsetHeight},0),d=t.calendarContainer.offsetWidth,u=t.config.position.split(" "),f=u[0],C=u.length>1?u[1]:null,p=a.getBoundingClientRect(),v=window.innerHeight-p.bottom,g="above"===f||"below"!==f&&v<l&&p.top>l,h=window.pageYOffset+p.top+(g?-l-2:a.offsetHeight+2);if(T(t.calendarContainer,"arrowTop",!g),T(t.calendarContainer,"arrowBottom",g),!t.config.inline){var y=window.pageXOffset+p.left,H=!1,A=!1;"center"===C?(y-=(d-p.width)/2,H=!0):"right"===C&&(y-=d-p.width,A=!0),T(t.calendarContainer,"arrowLeft",!H&&!A),T(t.calendarContainer,"arrowCenter",H),T(t.calendarContainer,"arrowRight",A);var de=window.document.body.offsetWidth-(window.pageXOffset+p.right),ae=y+d>window.document.body.offsetWidth,lo=de+d>window.document.body.offsetWidth;if(T(t.calendarContainer,"rightMost",ae),!t.config.static)if(t.calendarContainer.style.top=h+"px",ae)if(lo){var ze=function Qn(){for(var o=null,a=0;a<document.styleSheets.length;a++){var l=document.styleSheets[a];if(l.cssRules){o=l;break}}return o??function Zn(){var o=document.createElement("style");return document.head.appendChild(o),o.sheet}()}();if(void 0===ze)return;var co=window.document.body.offsetWidth,uo=Math.max(0,co/2-d/2),po=ze.cssRules.length,mo="{left:"+p.left+"px;right:auto;}";T(t.calendarContainer,"rightMost",!1),T(t.calendarContainer,"centerMost",!0),ze.insertRule(".flatpickr-calendar.centerMost:before,.flatpickr-calendar.centerMost:after"+mo,po),t.calendarContainer.style.left=uo+"px",t.calendarContainer.style.right="auto"}else t.calendarContainer.style.left="auto",t.calendarContainer.style.right=de+"px";else t.calendarContainer.style.left=y+"px",t.calendarContainer.style.right="auto"}}}else t.config.position(t,o)}function ct(){t.config.noCalendar||t.isMobile||(oe(),ke(),he())}function je(){t._input.focus(),-1!==window.navigator.userAgent.indexOf("MSIE")||void 0!==navigator.msMaxTouchPoints?setTimeout(t.close,0):t.close()}function ut(o){o.preventDefault(),o.stopPropagation();var l=Xe(G(o),function(h){return h.classList&&h.classList.contains("flatpickr-day")&&!h.classList.contains("flatpickr-disabled")&&!h.classList.contains("notAllowed")});if(void 0!==l){var d=l,u=t.latestSelectedDateObj=new Date(d.dateObj.getTime()),f=(u.getMonth()<t.currentMonth||u.getMonth()>t.currentMonth+t.config.showMonths-1)&&"range"!==t.config.mode;if(t.selectedDateElem=d,"single"===t.config.mode)t.selectedDates=[u];else if("multiple"===t.config.mode){var C=We(u);C?t.selectedDates.splice(parseInt(C),1):t.selectedDates.push(u)}else"range"===t.config.mode&&(2===t.selectedDates.length&&t.clear(!1,!1),t.latestSelectedDateObj=u,t.selectedDates.push(u),0!==F(u,t.selectedDates[0],!0)&&t.selectedDates.sort(function(h,y){return h.getTime()-y.getTime()}));if(q(),f){var p=t.currentYear!==u.getFullYear();t.currentYear=u.getFullYear(),t.currentMonth=u.getMonth(),p&&(M("onYearChange"),oe()),M("onMonthChange")}ke(),he(),L(),f||"range"===t.config.mode||1!==t.config.showMonths?void 0!==t.selectedDateElem&&void 0===t.hourElement&&t.selectedDateElem&&t.selectedDateElem.focus():te(d),void 0!==t.hourElement&&void 0!==t.hourElement&&t.hourElement.focus(),t.config.closeOnSelect&&("single"===t.config.mode&&!t.config.enableTime||"range"===t.config.mode&&2===t.selectedDates.length&&!t.config.enableTime)&&je(),V()}}t.parseDate=Pe({config:t.config,l10n:t.l10n}),t._handlers=[],t.pluginElements=[],t.loadedPlugins=[],t._bind=I,t._setHoursFromDate=j,t._positionCalendar=Oe,t.changeMonth=Ne,t.changeYear=Ce,t.clear=function Ln(o,a){if(void 0===o&&(o=!0),void 0===a&&(a=!0),t.input.value="",void 0!==t.altInput&&(t.altInput.value=""),void 0!==t.mobileInput&&(t.mobileInput.value=""),t.selectedDates=[],t.latestSelectedDateObj=void 0,!0===a&&(t.currentYear=t._initialDate.getFullYear(),t.currentMonth=t._initialDate.getMonth()),!0===t.config.enableTime){var l=Te(t.config);W(l.hours,l.minutes,l.seconds)}t.redraw(),o&&M("onChange")},t.close=function zn(){t.isOpen=!1,t.isMobile||(void 0!==t.calendarContainer&&t.calendarContainer.classList.remove("open"),void 0!==t._input&&t._input.classList.remove("active")),M("onClose")},t.onMouseOver=_e,t._createElement=O,t.createDay=K,t.destroy=function Bn(){void 0!==t.config&&M("onDestroy");for(var o=t._handlers.length;o--;)t._handlers[o].remove();if(t._handlers=[],t.mobileInput)t.mobileInput.parentNode&&t.mobileInput.parentNode.removeChild(t.mobileInput),t.mobileInput=void 0;else if(t.calendarContainer&&t.calendarContainer.parentNode)if(t.config.static&&t.calendarContainer.parentNode){var a=t.calendarContainer.parentNode;if(a.lastChild&&a.removeChild(a.lastChild),a.parentNode){for(;a.firstChild;)a.parentNode.insertBefore(a.firstChild,a);a.parentNode.removeChild(a)}}else t.calendarContainer.parentNode.removeChild(t.calendarContainer);t.altInput&&(t.input.type="text",t.altInput.parentNode&&t.altInput.parentNode.removeChild(t.altInput),delete t.altInput),t.input&&(t.input.type=t.input._type,t.input.classList.remove("flatpickr-input"),t.input.removeAttribute("readonly")),["_showTimeInput","latestSelectedDateObj","_hideNextMonthArrow","_hidePrevMonthArrow","__hideNextMonthArrow","__hidePrevMonthArrow","isMobile","
1isOpen","selectedDateElem","minDateHasTime","maxDateHasTime","days","daysContainer","_input","_positionElement","innerContainer","rContainer","monthNav","todayDateElem","calendarContainer","weekdayContainer","prevMonthNav","nextMonthNav","monthsDropdownContainer","currentMonthElement","currentYearElement","navigationCurrentMonth","selectedDateElem","config"].forEach(function(l){try{delete t[l]}catch{}})},t.isEnabled=Q,t.jumpToDate=B,t.updateValue=L,t.open=function Jn(o,a){if(void 0===a&&(a=t._positionElement),!0===t.isMobile){if(o){o.preventDefault();var l=G(o);l&&l.blur()}return void 0!==t.mobileInput&&(t.mobileInput.focus(),t.mobileInput.click()),void M("onOpen")}if(!t._input.disabled&&!t.config.inline){var d=t.isOpen;t.isOpen=!0,d||(t.calendarContainer.classList.add("open"),t._input.classList.add("active"),M("onOpen"),Oe(a)),!0===t.config.enableTime&&!0===t.config.noCalendar&&!1===t.config.allowInput&&(void 0===o||!t.timeContainer.contains(o.relatedTarget))&&setTimeout(function(){return t.hourElement.select()},50)}},t.redraw=ct,t.set=function Xn(o,a){if(null!==o&&"object"==typeof o)for(var l in Object.assign(t.config,o),o)void 0!==Ie[l]&&Ie[l].forEach(function(d){return d()});else t.config[o]=a,void 0!==Ie[o]?Ie[o].forEach(function(d){return d()}):De.indexOf(o)>-1&&(t.config[o]=Ee(a));t.redraw(),L(!0)},t.setDate=function eo(o,a,l){if(void 0===a&&(a=!1),void 0===l&&(l=t.config.dateFormat),0!==o&&!o||o instanceof Array&&0===o.length)return t.clear(a);ft(o,l),t.latestSelectedDateObj=t.selectedDates[t.selectedDates.length-1],t.redraw(),B(void 0,a),j(),0===t.selectedDates.length&&t.clear(!1),L(a),a&&M("onChange")},t.toggle=function ao(o){if(!0===t.isOpen)return t.close();t.open(o)};var Ie={locale:[dt,it],showMonths:[ot,b,at],minDate:[B],maxDate:[B],positionElement:[pt],clickOpens:[function(){!0===t.config.clickOpens?(I(t._input,"focus",t.open),I(t._input,"click",t.open)):(t._input.removeEventListener("focus",t.open),t._input.removeEventListener("click",t.open))}]};function ft(o,a){var l=[];if(o instanceof Array)l=o.map(function(d){return t.parseDate(d,a)});else if(o instanceof Date||"number"==typeof o)l=[t.parseDate(o,a)];else if("string"==typeof o)switch(t.config.mode){case"single":case"time":l=[t.parseDate(o,a)];break;case"multiple":l=o.split(t.config.conjunction).map(function(d){return t.parseDate(d,a)});break;case"range":l=o.split(t.l10n.rangeSeparator).map(function(d){return t.parseDate(d,a)})}else t.config.errorHandler(new Error("Invalid date supplied: "+JSON.stringify(o)));t.selectedDates=t.config.allowInvalidPreload?l:l.filter(function(d){return d instanceof Date&&Q(d,!1)}),"range"===t.config.mode&&t.selectedDates.sort(function(d,u){return d.getTime()-u.getTime()})}function gt(o){return o.slice().map(function(a){return"string"==typeof a||"number"==typeof a||a instanceof Date?t.parseDate(a,void 0,!0):a&&"object"==typeof a&&a.from&&a.to?{from:t.parseDate(a.from,void 0),to:t.parseDate(a.to,void 0)}:a}).filter(function(a){return a})}function pt(){t._positionElement=t.config.positionElement||t._input}function M(o,a){if(void 0!==t.config){var l=t.config[o];if(void 0!==l&&l.length>0)for(var d=0;l[d]&&d<l.length;d++)l[d](t.selectedDates,t.input.value,t,a);"onChange"===o&&(t.input.dispatchEvent(He("change")),t.input.dispatchEvent(He("input")))}}function He(o){var a=document.createEvent("Event");return a.initEvent(o,!0,!0),a}function We(o){for(var a=0;a<t.selectedDates.length;a++){var l=t.selectedDates[a];if(l instanceof Date&&0===F(l,o))return""+a}return!1}function ke(){t.config.noCalendar||t.isMobile||!t.monthNav||(t.yearElements.forEach(function(o,a){var l=new Date(t.currentYear,t.currentMonth,1);l.setMonth(t.currentMonth+a),t.config.showMonths>1||"static"===t.config.monthSelectorType?t.monthElements[a].textContent=pe(l.getMonth(),t.config.shorthandCurrentMonth,t.l10n)+" ":t.monthsDropdownContainer.value=l.getMonth().toString(),o.value=l.getFullYear().toString()}),t._hidePrevMonthArrow=void 0!==t.config.minDate&&(t.currentYear===t.config.minDate.getFullYear()?t.currentMonth<=t.config.minDate.getMonth():t.currentYear<t.config.minDate.getFullYear()),t._hideNextMonthArrow=void 0!==t.config.maxDate&&(t.currentYear===t.config.maxDate.getFullYear()?t.currentMonth+1>t.config.maxDate.getMonth():t.currentYear>t.config.maxDate.getFullYear()))}function Le(o){var a=o||(t.config.altInput?t.config.altFormat:t.config.dateFormat);return t.selectedDates.map(function(l){return t.formatDate(l,a)}).filter(function(l,d,u){return"range"!==t.config.mode||t.config.enableTime||u.indexOf(l)===d}).join("range"!==t.config.mode?t.config.conjunction:t.l10n.rangeSeparator)}function L(o){void 0===o&&(o=!0),void 0!==t.mobileInput&&t.mobileFormatStr&&(t.mobileInput.value=void 0!==t.latestSelectedDateObj?t.formatDate(t.latestSelectedDateObj,t.mobileFormatStr):""),t.input.value=Le(t.config.dateFormat),void 0!==t.altInput&&(t.altInput.value=Le(t.config.altFormat)),!1!==o&&M("onValueUpdate")}function ro(o){var a=G(o),l=t.prevMonthNav.contains(a),d=t.nextMonthNav.contains(a);l||d?Ne(l?-1:1):t.yearElements.indexOf(a)>=0?a.select():a.classList.contains("arrowUp")?t.changeYear(t.currentYear+1):a.classList.contains("arrowDown")&&t.changeYear(t.currentYear-1)}return function s(){t.element=t.input=n,t.isOpen=!1,function Kn(){var o=["wrap","weekNumbers","allowInput","allowInvalidPreload","clickOpens","time_24hr","enableTime","noCalendar","altInput","shorthandCurrentMonth","inline","static","enableSeconds","disableMobile"],a=$($({},JSON.parse(JSON.stringify(n.dataset||{}))),r),l={};t.config.parseDate=a.parseDate,t.config.formatDate=a.formatDate,Object.defineProperty(t.config,"enable",{get:function(){return t.config._enable},set:function(h){t.config._enable=gt(h)}}),Object.defineProperty(t.config,"disable",{get:function(){return t.config._disable},set:function(h){t.config._disable=gt(h)}});var d="time"===a.mode;a.dateFormat||!a.enableTime&&!d||(l.dateFormat=a.noCalendar||d?"H:i"+(a.enableSeconds?":S":""):(x.defaultConfig.dateFormat||Z.dateFormat)+" H:i"+(a.enableSeconds?":S":"")),a.altInput&&(a.enableTime||d)&&!a.altFormat&&(l.altFormat=a.noCalendar||d?"h:i"+(a.enableSeconds?":S K":" K"):(x.defaultConfig.altFormat||Z.altFormat)+" h:i"+(a.enableSeconds?":S":"")+" K"),Object.defineProperty(t.config,"minDate",{get:function(){return t.config._minDate},set:st("min")}),Object.defineProperty(t.config,"maxDate",{get:function(){return t.config._maxDate},set:st("max")});var C=function(h){return function(y){t.config["min"===h?"_minTime":"_maxTime"]=t.parseDate(y,"H:i:S")}};Object.defineProperty(t.config,"minTime",{get:function(){return t.config._minTime},set:C("min")}),Object.defineProperty(t.config,"maxTime",{get:function(){return t.config._maxTime},set:C("max")}),"time"===a.mode&&(t.config.noCalendar=!0,t.config.enableTime=!0),Object.assign(t.config,l,a);for(var p=0;p<o.length;p++)t.config[o[p]]=!0===t.config[o[p]]||"true"===t.config[o[p]];for(De.filter(function(h){return void 0!==t.config[h]}
vendor: 9,186 bytes, line 1
1).forEach(function(h){t.config[h]=Ee(t.config[h]||[]).map(m)}),t.isMobile=!t.config.disableMobile&&!t.config.inline&&"single"===t.config.mode&&!t.config.disable.length&&!t.config.enable&&!t.config.weekNumbers&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),p=0;p<t.config.plugins.length;p++){var v=t.config.plugins[p](t)||{};for(var g in v)De.indexOf(g)>-1?t.config[g]=Ee(v[g]).map(m).concat(t.config[g]):typeof a[g]>"u"&&(t.config[g]=v[g])}a.altInputClass||(t.config.altInputClass=lt().className+" "+t.config.altInputClass),M("onParseConfig")}(),dt(),function no(){t.input=lt(),t.input?(t.input._type=t.input.type,t.input.type="text",t.input.classList.add("flatpickr-input"),t._input=t.input,t.config.altInput&&(t.altInput=O(t.input.nodeName,t.config.altInputClass),t._input=t.altInput,t.altInput.placeholder=t.input.placeholder,t.altInput.disabled=t.input.disabled,t.altInput.required=t.input.required,t.altInput.tabIndex=t.input.tabIndex,t.altInput.type="text",t.input.setAttribute("type","hidden"),!t.config.static&&t.input.parentNode&&t.input.parentNode.insertBefore(t.altInput,t.input.nextSibling)),t.config.allowInput||t._input.setAttribute("readonly","readonly"),pt()):t.config.errorHandler(new Error("Invalid input element specified"))}(),function to(){t.selectedDates=[],t.now=t.parseDate(t.config.now)||new Date;var o=t.config.defaultDate||("INPUT"!==t.input.nodeName&&"TEXTAREA"!==t.input.nodeName||!t.input.placeholder||t.input.value!==t.input.placeholder?t.input.value:null);o&&ft(o,t.config.dateFormat),t._initialDate=t.selectedDates.length>0?t.selectedDates[0]:t.config.minDate&&t.config.minDate.getTime()>t.now.getTime()?t.config.minDate:t.config.maxDate&&t.config.maxDate.getTime()<t.now.getTime()?t.config.maxDate:t.now,t.currentYear=t._initialDate.getFullYear(),t.currentMonth=t._initialDate.getMonth(),t.selectedDates.length>0&&(t.latestSelectedDateObj=t.selectedDates[0]),void 0!==t.config.minTime&&(t.config.minTime=t.parseDate(t.config.minTime,"H:i")),void 0!==t.config.maxTime&&(t.config.maxTime=t.parseDate(t.config.maxTime,"H:i")),t.minDateHasTime=!!t.config.minDate&&(t.config.minDate.getHours()>0||t.config.minDate.getMinutes()>0||t.config.minDate.getSeconds()>0),t.maxDateHasTime=!!t.config.maxDate&&(t.config.maxDate.getHours()>0||t.config.maxDate.getMinutes()>0||t.config.maxDate.getSeconds()>0)}(),function i(){t.utils={getDaysInMonth:function(o,a){return void 0===o&&(o=t.currentMonth),void 0===a&&(a=t.currentYear),1===o&&(a%4==0&&a%100!=0||a%400==0)?29:t.l10n.daysInMonth[o]}}}(),t.isMobile||function Fe(){var o=window.document.createDocumentFragment();if(t.calendarContainer=O("div","flatpickr-calendar"),t.calendarContainer.tabIndex=-1,!t.config.noCalendar){if(o.appendChild(function jn(){return t.monthNav=O("div","flatpickr-months"),t.yearElements=[],t.monthElements=[],t.prevMonthNav=O("span","flatpickr-prev-month"),t.prevMonthNav.innerHTML=t.config.prevArrow,t.nextMonthNav=O("span","flatpickr-next-month"),t.nextMonthNav.innerHTML=t.config.nextArrow,ot(),Object.defineProperty(t,"_hidePrevMonthArrow",{get:function(){return t.__hidePrevMonthArrow},set:function(o){t.__hidePrevMonthArrow!==o&&(T(t.prevMonthNav,"flatpickr-disabled",o),t.__hidePrevMonthArrow=o)}}),Object.defineProperty(t,"_hideNextMonthArrow",{get:function(){return t.__hideNextMonthArrow},set:function(o){t.__hideNextMonthArrow!==o&&(T(t.nextMonthNav,"flatpickr-disabled",o),t.__hideNextMonthArrow=o)}}),t.currentYearElement=t.yearElements[0],ke(),t.monthNav}()),t.innerContainer=O("div","flatpickr-innerContainer"),t.config.weekNumbers){var a=function Wn(){t.calendarContainer.classList.add("hasWeeks");var o=O("div","flatpickr-weekwrapper");o.appendChild(O("span","flatpickr-weekday",t.l10n.weekAbbreviation));var a=O("div","flatpickr-weeks");return o.appendChild(a),{weekWrapper:o,weekNumbers:a}}(),l=a.weekWrapper,d=a.weekNumbers;t.innerContainer.appendChild(l),t.weekNumbers=d,t.weekWrapper=l}t.rContainer=O("div","flatpickr-rContainer"),t.rContainer.appendChild(at()),t.daysContainer||(t.daysContainer=O("div","flatpickr-days"),t.daysContainer.tabIndex=-1),he(),t.rContainer.appendChild(t.daysContainer),t.innerContainer.appendChild(t.rContainer),o.appendChild(t.innerContainer)}t.config.enableTime&&o.appendChild(function Hn(){t.calendarContainer.classList.add("hasTime"),t.config.noCalendar&&t.calendarContainer.classList.add("noCalendar");var o=Te(t.config);t.timeContainer=O("div","flatpickr-time"),t.timeContainer.tabIndex=-1;var a=O("span","flatpickr-time-separator",":"),l=ge("flatpickr-hour",{"aria-label":t.l10n.hourAriaLabel});t.hourElement=l.getElementsByTagName("input")[0];var d=ge("flatpickr-minute",{"aria-label":t.l10n.minuteAriaLabel});if(t.minuteElement=d.getElementsByTagName("input")[0],t.hourElement.tabIndex=t.minuteElement.tabIndex=-1,t.hourElement.value=S(t.latestSelectedDateObj?t.latestSelectedDateObj.getHours():t.config.time_24hr?o.hours:function k(o){switch(o%24){case 0:case 12:return 12;default:return o%12}}(o.hours)),t.minuteElement.value=S(t.latestSelectedDateObj?t.latestSelectedDateObj.getMinutes():o.minutes),t.hourElement.setAttribute("step",t.config.hourIncrement.toString()),t.minuteElement.setAttribute("step",t.config.minuteIncrement.toString()),t.hourElement.setAttribute("min",t.config.time_24hr?"0":"1"),t.hourElement.setAttribute("max",t.config.time_24hr?"23":"12"),t.hourElement.setAttribute("maxlength","2"),t.minuteElement.setAttribute("min","0"),t.minuteElement.setAttribute("max","59"),t.minuteElement.setAttribute("maxlength","2"),t.timeContainer.appendChild(l),t.timeContainer.appendChild(a),t.timeContainer.appendChild(d),t.config.time_24hr&&t.timeContainer.classList.add("time24hr"),t.config.enableSeconds){t.timeContainer.classList.add("hasSeconds");var u=ge("flatpickr-second");t.secondElement=u.getElementsByTagName("input")[0],t.secondElement.value=S(t.latestSelectedDateObj?t.latestSelectedDateObj.getSeconds():o.seconds),t.secondElement.setAttribute("step",t.minuteElement.getAttribute("step")),t.secondElement.setAttribute("min","0"),t.secondElement.setAttribute("max","59"),t.secondElement.setAttribute("maxlength","2"),t.timeContainer.appendChild(O("span","flatpickr-time-separator",":")),t.timeContainer.appendChild(u)}return t.config.time_24hr||(t.amPM=O("span","flatpickr-am-pm",t.l10n.amPM[N((t.latestSelectedDateObj?t.hourElement.value:t.config.defaultHour)>11)]),t.amPM.title=t.l10n.toggleTitle,t.amPM.tabIndex=-1,t.timeContainer.appendChild(t.amPM)),t.timeContainer}()),T(t.calendarContainer,"rangeMode","range"===t.config.mode),T(t.calendarContainer,"animate",!0===t.config.animate),T(t.calendarContainer,"multiMonth",t.config.showMonths>1),t.calendarContainer.appendChild(o);var u=void 0!==t.config.appendTo&&void 0!==t.config.appendTo.nodeType;if((t.config.inline||t.config.static)&&(t.calendarContainer.classList.add(t.config.inline?"inline":"static"),t.config.inline&&(!u&&t.element.parentNode?t.element.parentNode.insertBefore(t.calendarContainer,t._input.nextSibling):void 0!==t.config.appendTo&&t.config.appendTo.appendChild(t.calendarContainer)),t.config.static)){var f=O("div","flatpickr-wrapper");t.element.parentNode&&t.element.parentNode.insertBefore(f,t.element),f.appendChild(t.element),t.altInput&&f.appendChild(t.altInput),f.appendChild(t.calendarContainer)}!t.config.static&&!t.config.inline&&(void 0!==t.config.appendTo?t.config.appendTo:window.document.body).appendChild(t.calendarContainer)}(),function Ge(){if(t.config.wrap&&["open","close","toggle","clear"].forEach(function(l){Array.prototype.forEach.call(t.element.querySelectorAll("[data-"+l+"]"),function(d){return I(d,"click",t[l])})}),t.isMobile)!function oo(){var o=t.config.enableTime?t.config.noCalendar?"time":"datetime-local":"date";t.mobileInput=O("input",t.input.className+" flatpickr-mobile"),t.mobileInput.tabIndex=1,t.mobileInput.type=o,t.mobileInput.disabled=t.input.disabled,t.mobileInput.required=t.input.required,t.mobileInput.placeholder=t.input.placeholder,t.mobileFormatStr="datetime-local"===o?"Y-m-d\\TH:i:S":"date"===o?"Y-m-d":"H:i:S",t.selectedDates.length>0&&(t.mobileInput.defaultValue=t.mobileInput.value=t.formatDate(t.selectedDates[0],t.mobileFormatStr)),t.config.minDate&&(t.mobileInput.min=t.formatDate(t.config.minDate,"Y-m-d")),t.config.maxDate&&(t.mobileInput.max=t.formatDate(t.config.maxDate,"Y-m-d")),t.input.getAttribute("step")&&(t.mobileInput.step=String(t.input.getAttribute("step"))),t.input.type="hidden",void 0!==t.altInput&&(t.altInput.type="hidden");try{t.input.parentNode&&t.input.parentNode.insertBefore(t.mobileInput,t.input.nextSibling)}catch{}I(t.mobileInput,"change",function(a){t.setDate(G(a).value,!1,t.mobileFormatStr),M("onChange"),M("onClose")})}();else{var o=Ze(Vn,50);if(t._debouncedChange=Ze(V,En),t.daysContainer&&!/iPhone|iPad|iPod/i.test(navigator.userAgent)&&I(t.daysContainer,"mouseover",function(l){"range"===t.config.mode&&_e(G(l))}),I(t._input,"keydown",rt),void 0!==t.calendarContainer&&I(t.calendarContainer,"keydown",rt),!t.config.inline&&!t.config.static&&I(window,"resize",o),void 0!==window.ontouchstart?I(window.document,"touchstart",qe):I(window.document,"mousedown",qe),I(window.document,"focus",qe,{c
1apture:!0}),!0===t.config.clickOpens&&(I(t._input,"focus",t.open),I(t._input,"click",t.open)),void 0!==t.daysContainer&&(I(t.monthNav,"click",ro),I(t.monthNav,["keyup","increment"],me),I(t.daysContainer,"click",ut)),void 0!==t.timeContainer&&void 0!==t.minuteElement&&void 0!==t.hourElement){I(t.timeContainer,["increment"],D),I(t.timeContainer,"blur",D,{capture:!0}),I(t.timeContainer,"click",J),I([t.hourElement,t.minuteElement],["focus","click"],function(l){return G(l).select()}),void 0!==t.secondElement&&I(t.secondElement,"focus",function(){return t.secondElement&&t.secondElement.select()}),void 0!==t.amPM&&I(t.amPM,"click",function(l){D(l)})}t.config.allowInput&&I(t._input,"blur",Un)}}(),(t.selectedDates.length||t.config.noCalendar)&&(t.config.enableTime&&j(t.config.noCalendar?t.latestSelectedDateObj:void 0),L(!1)),b();var o=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);!t.isMobile&&o&&Oe(),M("onReady")}(),t}function X(n,r){for(var t=Array.prototype.slice.call(n).filter(function(m){return m instanceof HTMLElement}),i=[],s=0;s<t.length;s++){var c=t[s];try{if(null!==c.getAttribute("data-fp-omit"))continue;void 0!==c._flatpickr&&(c._flatpickr.destroy(),c._flatpickr=void 0),c._flatpickr=Yn(c,r||{}),i.push(c._flatpickr)}catch(m){console.error(m)}}return 1===i.length?i[0]:i}typeof HTMLElement<"u"&&typeof HTMLCollection<"u"&&typeof NodeList<"u"&&(HTMLCollection.prototype.flatpickr=NodeList.prototype.flatpickr=function(n){return X(this,n)},HTMLElement.prototype.flatpickr=function(n){return X([this],n)});var x=function(n,r){return"string"==typeof n?X(window.document.querySelectorAll(n),r):n instanceof Node?X([n],r):X(n,r)};x.defaultConfig={},x.l10ns={en:$({},xe),default:$({},xe)},x.localize=function(n){x.l10ns.default=$($({},x.l10ns.default),n)},x.setDefaults=function(n){x.defaultConfig=$($({},x.defaultConfig),n)},x.parseDate=Pe({}),x.formatDate=et({}),x.compareDates=F,typeof jQuery<"u"&&typeof jQuery.fn<"u"&&(jQuery.fn.flatpickr=function(n){return X(this,n)}),Date.prototype.fp_incr=function(n){return new Date(this.getFullYear(),this.getMonth(),this.getDate()+("string"==typeof n?parseInt(n,10):n))},typeof window<"u"&&(window.flatpickr=x);const Pn=x;let Se=(()=>{class n{constructor(){this.altFormat="F j, Y",this.altInput=!1,this.altInputClass="",this.allowInput=!1,this.allowInvalidPreload=!1,this.appendTo=void 0,this.ariaDateFormat="F j, Y",this.clickOpens=!0,this.dateFormat="Y-m-d",this.defaultHour=12,this.defaultMinute=0,this.defaultSeconds=0,this.disable=[],this.disableMobile=!1,this.enableTime=!1,this.enableSeconds=!1,this.formatDate=void 0,this.hourIncrement=1,this.inline=!1,this.maxDate=void 0,this.minDate=void 0,this.maxTime=void 0,this.minTime=void 0,this.minuteIncrement=5,this.mode="single",this.nextArrow=">",this.noCalendar=!1,this.now=new Date,this.prevArrow="<",this.shorthandCurrentMonth=!1,this.static=!1,this.time24hr=!1,this.utc=!1,this.weekNumbers=!1,this.wrap=!1,this.plugins=[],this.locale="default",this.convertModelValue=!1,this.showMonths=1,this.monthSelectorType="static",this.ignoredFocusElements=[]}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=e.wxM({token:n,factory:n.\u0275fac}),n})();const $n={provide:Y.Y6,useExisting:(0,e.wd)(()=>Tn),multi:!0};let Tn=(()=>{class n{constructor(t,i,s){this.elm=t,this.defaults=i,this.renderer=s,this.options={},this.ignoredFocusElements=[],this.flatpickrReady=new e._w7,this.flatpickrChange=new e._w7,this.flatpickrValueUpdate=new e._w7,this.flatpickrOpen=new e._w7,this.flatpickrClose=new e._w7,this.flatpickrMonthChange=new e._w7,this.flatpickrYearChange=new e._w7,this.flatpickrDayCreate=new e._w7,this.isDisabled=!1,this.onChangeFn=()=>{},this.onTouchedFn=()=>{}}ngAfterViewInit(){const t={altFormat:this.altFormat,altInput:this.altInput,altInputClass:this.altInputClass,allowInput:this.allowInput,allowInvalidPreload:this.allowInvalidPreload,appendTo:this.appendTo,ariaDateFormat:this.ariaDateFormat,clickOpens:this.clickOpens,dateFormat:this.dateFormat,defaultHour:this.defaultHour,defaultMinute:this.defaultMinute,defaultSeconds:this.defaultSeconds,disable:this.disable,disableMobile:this.disableMobile,enable:this.enable,enableTime:this.enableTime,enableSeconds:this.enableSeconds,formatDate:this.formatDate,hourIncrement:this.hourIncrement,defaultDate:this.initialValue,inline:this.inl
1ine,maxDate:this.maxDate,minDate:this.minDate,maxTime:this.maxTime,minTime:this.minTime,minuteIncrement:this.minuteIncrement,mode:this.mode,nextArrow:this.nextArrow,noCalendar:this.noCalendar,now:this.now,parseDate:this.parseDate,prevArrow:this.prevArrow,shorthandCurrentMonth:this.shorthandCurrentMonth,showMonths:this.showMonths,monthSelectorType:this.monthSelectorType,static:this.static,time24hr:this.time24hr,weekNumbers:this.weekNumbers,getWeek:this.getWeek,wrap:this.wrap,plugins:this.plugins,locale:this.locale,ignoredFocusElements:this.ignoredFocusElements,onChange:(i,s,c)=>{this.flatpickrChange.emit({selectedDates:i,dateString:s,instance:c})},onOpen:(i,s,c)=>{this.flatpickrOpen.emit({selectedDates:i,dateString:s,instance:c})},onClose:(i,s,c)=>{this.flatpickrClose.emit({selectedDates:i,dateString:s,instance:c})},onMonthChange:(i,s,c)=>{this.flatpickrMonthChange.emit({selectedDates:i,dateString:s,instance:c})},onYearChange:(i,s,c)=>{this.flatpickrYearChange.emit({selectedDates:i,dateString:s,instance:c})},onReady:(i,s,c)=>{this.flatpickrReady.emit({selectedDates:i,dateString:s,instance:c})},onValueUpdate:(i,s,c)=>{this.flatpickrValueUpdate.emit({selectedDates:i,dateString:s,instance:c})},onDayCreate:(i,s,c,m)=>{this.flatpickrDayCreate.emit({selectedDates:i,dateString:s,instance:c,dayElement:m})}};Object.keys(t).forEach(i=>{typeof t[i]>"u"&&(t[i]=typeof this.options[i]<"u"?this.options[i]:this.defaults[i])}),t.time_24hr=t.time24hr,t.altInputClass=(t.altInputClass||"")+" "+this.elm.nativeElement.className,t.enable||delete t.enable,this.instance=Pn(this.elm.nativeElement,t),this.setDisabledState(this.isDisabled)}ngOnChanges(t){this.instance&&Object.keys(t).forEach(i=>{this.instance.set(i,this[i])})}ngOnDestroy(){this.instance&&this.instance.destroy()}writeValue(t){let i=t;this.convertModelValue&&"range"===this.mode&&t&&(i=[t.from,t.to]),this.instance?this.instance.setDate(i):this.initialValue=i}registerOnChange(t){this.onChangeFn=t}registerOnTouched(t){this.onTouchedFn=t}setDisabledState(t){this.isDisabled=t,this.instance&&(this.isDisabled?this.renderer.setProperty(this.instance._input,"disabled","disabled"):this.renderer.removeAttribute(this.instance._input,"disabled"))}inputChanged(){const t=this.elm.nativeElement.value;if(this.convertModelValue&&"string"==typeof t)switch(this.mode){case"multiple":const i=t.split("; ").map(m=>this.instance.parseDate(m,this.instance.config.dateFormat,!this.instance.config.enableTime));this.onChangeFn(i);break;case"range":const[s,c]=t.split(this.instance.l10n.rangeSeparator).map(m=>this.instance.parseDate(m,this.instance.config.dateFormat,!this.instance.config.enableTime));this.onChangeFn({from:s,to:c});break;default:this.onChangeFn(this.instance.parseDate(t,this.instance.config.dateFormat,!this.instance.config.enableTime))}else this.onChangeFn(t)}}return n.\u0275fac=function(t){return new(t||n)(e.GI1(e.GMv),e.GI1(Se),e.GI1(e.q87))},n.\u0275dir=e.Sc5({type:n,selectors:[["","mwlFlatpickr",""]],hostBindings:function(t,i){1&t&&e.qCj("blur",function(){return i.onTouchedFn()})("input",function(){return i.inputChanged()})},inputs:{options:"options",altFormat:"altFormat",altInput:"altInput",altInputClass:"altInputClass",allowInput:"allowInput",allowInvalidPreload:"allowInvalidPreload",appendTo:"appendTo",ariaDateFormat:"ariaDateFormat",clickOpens:"clickOpens",dateFormat:"dateFormat",defaultHour:"defaultHour",defaultMinute:"defaultMinute",defaultSeconds:"defaultSeconds",disable:"disable",disableMobile:"disableMobile",enable:"enable",enableTime:"enableTime",enableSeconds:"enableSeconds",formatDate:"formatDate",hourIncrement:"hourIncrement",inline:"inline",maxDate:"maxDate",minDate:"minDate",maxTime:"maxTime",minTime:"minTime",minuteIncrement:"minuteIncrement",mode:"mode",nextArrow:"nextArrow",noCalendar:"noCalendar",now:"now",parseDate:"parseDate",prevArrow:"prevArrow",shorthandCurrentMonth:"shorthandCurrentMonth",showMonths:"showMonths",static:"static",time24hr:"time24hr",weekNumbers:"weekNumbers",getWeek:"getWeek",wrap:"wrap",plugins:"plugins",locale:"locale",convertModelValue:"convertModelValue",monthSelectorType:"monthSelectorType",ignoredFocusElements:"ignoredFocusElements"},outputs:{flatpickrReady:"flatpickrReady",flatpickrChange:"flatpickrChange",flatpickrValueUpdate:"flatpickrValueUpdate",flatpickrOpen:"flatpickrOpen",flatpickrClose:"flatpickrClose",flatpickrMonthChange:"flatpickrMonthChange",flatpickrYearChange:"flatpickrYearChange",flatpickrDayCreate:"flatpickrDayCreate"},exportAs:["mwlFlatpickr"],features:[e.M5G([$n]),e.SYr]}),n})();const nt=new e.UbH("flatpickr defaults");function Sn(n){const r=new Se;return Object.assign(r,n),r}let Gn=(()=>{class n{static forRoot(t={}){return{ngModule:n,providers:[{provide:nt,useValue:t},{provide:Se,useFactory:Sn,deps:[nt]}]}}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.a4G({type:n}),n.\u0275inj=e.s3X({}),n})();var Fn=_(60338);let An=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=e.a4G({type:n});static \u0275inj=e.s3X({imports:[P.MD,Y.y,R.wZ,vn,_n.S,On,yn,Ve.w,bn,Ke,Rn.l,Fn.W,Qe.K,Gn.forRoot(),ue.a6.forRoot({provide:ue.Wu,useFactory:Je.g})]})}return n})()},9280:()=>{"function"!=typeof Object.assign&&(Object.assign=function(ce){for(var ie=[],_=1;_<arguments.length;_++)ie[_-1]=arguments[_];if(!ce)throw TypeError("Cannot convert undefined or null to object");
1for(var P=function(E){E&&Object.keys(E).forEach(function(e){return ce[e]=E[e]})},Y=0,R=ie;Y<R.length;Y++)P(R[Y]);return ce})}}]);

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.