PageSourceSearch

https://dashboard.monsuividiet.com/2438.69c9be03b6924908.js

js monsuividiet.com collected 2026-09-24 13:13:41 UTC 55,904 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkmonsuividiet=self.webpackChunkmonsuividiet||[]).push([[2438],{2438:function(bn,v,p){p.r(v),p.d(v,{ArchivedModule:function(){return hn}});var b=p(48047),P=p(78069),_=p(36362),x=p(51200),z=p(51886),B=p(69016),u=p.n(B),h=p(34929),I=p(13770),y=p.n(I),q=p(54363),M=p(64551),F=p(82305),k=p(72145),n=p(3184),Z=p(23125),T=p(54728),S=p(28274),A=p(34101),L=p(93161),O=p(23424),U=p(51051),m=p(81610);function D(l,g){1&l&&(n.TgZ(0,"div",8),n._UZ(1,"span",9),n.TgZ(2,"span",10),n._uU(3,"Chargement..."),n.qZA(),n.qZA())}function R(l,g){1&l&&(n.TgZ(0,"th",19),n._uU(1,"Mont. TTC"),n.qZA())}function J(l,g){if(1&l&&(n.TgZ(0,"table",11),n.TgZ(1,"thead"),n.TgZ(2,"tr"),n.TgZ(3,"th",12),n._uU(4,"R\xe9f\xe9rence"),n.qZA(),n.TgZ(5,"th",13),n._uU(6,"Nom du patient/tiers"),n.qZA(),n.TgZ(7,"th",14),n._uU(8,"Date de facturation"),n.qZA(),n.TgZ(9,"th",15),n._uU(10),n.qZA(),n.YNc(11,R,2,0,"th",16),n.TgZ(12,"th",17),n._uU(13,"Statut"),n.qZA(),n.TgZ(14,"th",18),n._uU(15,"Actions"),n.qZA(),n.qZA(),n.qZA(),n.qZA()),2&l){var r=n.oxw();n.xp6(10),n.Oqu("with"===r.billParams.tax?"Mont. HT":"Montant"),n.xp6(1),n.Q6J("ngIf","with"===r.billParams.tax)}}function $(l,g){if(1&l){var r=n.EpF();n.TgZ(0,"tr",25),n.NdJ("onClick",function(){var a=n.CHM(r).$implicit;return n.oxw(3).view(a)})("onRestore",function(){var a=n.CHM(r).$implicit;return n.oxw(3).restore(a)})("onDownload",function(){var a=n.CHM(r).$implicit;return n.oxw(3).download(a)})("onPrint",function(){var a=n.CHM(r).$implicit;return n.oxw(3).print(a)})("onShare",function(){var a=n.CHM(r).$implicit;return n.oxw(3).share(a)})("onEmail",function(){var a=n.CHM(r).$implicit;return n.oxw(3).email(a)}),n.qZA()}if(2&l){var e=g.$implicit,t=n.oxw(3);n.Q6J("bill",e)("facade",t.facade)("tax",t.billParams.tax)}}function N(l,g){if(1&l&&(n.ynx(0),n.TgZ(1,"table",23),n.TgZ(2,"tbody"),n.YNc(3,$,1,3,"tr",24),n.qZA(),n.qZA(),n.BQk()),2&l){var r=n.oxw(2);n.xp6(3),n.Q6J("ngForOf",r.billList)}}function Y(l,g){if(1&l){var r=n.EpF();n.TgZ(0,"ngx-inner-loading",26),n.NdJ("retry",function(){return n.CHM(r),n.oxw(2).loadPage(0)}),n.qZA()}if(2&l){var e=n.oxw(2);n.Q6J("empty",0===(null==e.billList?null:e.billList.length))("error",e.isOnError)("loading",e.isLoading)("loadingDescription","Chargement...")("emptyDescription","Aucune facture archiv\xe9e !")("errorDescription","Une erreur est survenue. Veuillez r\xe9essayer plus tard.")("retryButtonText","R\xe9essayer")}}function Q(l,g){if(1&l){var r=n.EpF();n.TgZ(0,"div",20),n.NdJ("scrolled",function(){return n.CHM(r),n.oxw().onScroll()}),n.YNc(1,N,4,1,"ng-container",21),n.YNc(2,Y,1,7,"ng-template",null,22,n.W1O),n.qZA()}if(2&l){var e=n.MAs(3),t=n.oxw();n.Q6J("scrollWindow",!1),n.xp6(1),n.Q6J("ngIf",!t.isOnError&&!t.isLoading&&t.billList&&t.billList.length>0)("ngIfElse",e)}}function H(l,g){if(1&l&&(n.TgZ(0,"td",33),n._uU(1),n.qZA()),2&l){var r=n.oxw(2);n.xp6(1),n.hij("",r.totalInclBill(),"\u20ac")}}function j(l,g){if(1&l&&(n.TgZ(0,"table",27),n.TgZ(1,"tfoot"),n.TgZ(2,"tr"),n.TgZ(3,"td",28),n._uU(4),n.qZA(),n._UZ(5,"td",29),n.TgZ(6,"td",30),n._uU(7),n.qZA(),n.YNc(8,H,2,1,"td",31),n._UZ(9,"td",32),n.qZA(),n.qZA(),n.qZA()),2&l){var r=n.oxw();n.xp6(4),n.Oqu(r.countBill()),n.xp6(3),n.hij("",r.totalExclBill(),"\u20ac"),n.xp6(1),n.Q6J("ngIf","with"===r.billParams.tax)}}var G=function(){var l=function(){function g(r,e,t,c){var i=this;(0,P.Z)(this,g),this.facade=r,this.billingService=e,this.modalService=t,this.toastr=c,this.isLoading=!1,this.isAppendLoading=!1,this.isOnError=!1,this.billFilter={period:void 0,status:void 0},this.totalExcl="-",this.totalIncl="-",this.count=0,this.currentPage=0,this.hasBill=!1,this.isLoading=!1,this.accountStatus$=this.facade.accountStatus$,this.accountStatusSubscription=this.accountStatus$.subscribe(function(a){return(0,h.mG)(i,void 0,void 0,u().mark(function o(){return u().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return this.dietitian=a.dietitian,this.isLoading=!0,s.next=4,this.facade.loadBillParams(this.dietitian.dietitianId.id.toString());case 4:this.billParams=s.sent,this.isLoading=!1,this.loadPage(0);case 7:case"end":return s.stop()}},o,this)}))}),this.billEventSubscription=this.facade.billEventProvider$.subscribe(function(){i.loadPage(0)})}return(0,b.Z)(g,[{key:"ngOnDestroy",value:function(){var e,t;
1null===(e=this.accountStatusSubscription)||void 0===e||e.unsubscribe(),null===(t=this.billEventSubscription)||void 0===t||t.unsubscribe()}},{key:"onScroll",value:function(){this.loadPage(this.currentPage+1)}},{key:"loadPage",value:function(e){var t=this;!this.dietitian||(0===e?(this.isLoading=!0,this.billList=[]):this.isAppendLoading=!0,this.facade.findAllArchived(this.dietitian.id.toString(),this.billFilter,this.billList&&this.billList.length>0?this.billList[this.billList.length-1].id.toString():void 0).then(function(c){c.forEach(function(i){var a;return null===(a=t.billList)||void 0===a?void 0:a.push(i)}),t.currentPage=e,t.isLoading=!1,t.isAppendLoading=!1,t.isOnError=!1}).catch(function(){t.isOnError=!0}),this.facade.calcTotBill(!0,this.billFilter).then(function(c){t.count=c.count,t.totalExcl=t.facade.format2Decimals(c.amountExcludingTax),t.totalIncl=t.facade.format2Decimals(c.amountIncludingTax)}))}},{key:"view",value:function(e){return(0,h.mG)(this,void 0,void 0,u().mark(function t(){var c;return u().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:if(console.log("\ud83d\udc40 view bill",{id:e.id.toString()}),this.hasBill){o.next=20;break}if(this.hasBill=!0,c="view",!e.patientId){o.next=10;break}return o.next=7,this.facade.loadPatient(e.patientId.id.toString());case 7:o.t0=o.sent,o.next=11;break;case 10:o.t0=e.thirdParty;case 11:o.t1=o.t0,o.t2=this.dietitian,o.t3=e,o.t4=c,o.t5=this.billParams,o.t6={target:o.t1,dietitian:o.t2,bill:o.t3,mode:o.t4,billParams:o.t5},this.modalService.show(F.Z,{class:"modal-lg",initialState:o.t6}),this.hasBill=!1;case 20:case"end":return o.stop()}},t,this)}))}},{key:"email",value:function(e){var t;return(0,h.mG)(this,void 0,void 0,u().mark(function c(){var a,s,i=this;return u().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:if(!e.patientId){C.next=7;break}return C.next=3,this.facade.loadPatient(null===(t=e.patientId)||void 0===t?void 0:t.id.toString());case 3:a=C.sent.email,C.next=8;break;case 7:e.thirdParty&&(a=e.thirdParty.email);case 8:(s=this.modalService.show(k.S,{class:"modal-md modal-dialog-centered",backdrop:"static",initialState:{email:a}})).content instanceof k.S&&(0,q.z)(s.content.onValidate).then(function(_n){var w;i.facade.email(null===(w=i.dietitian)||void 0===w?void 0:w.email,_n,e)});case 11:case"end":return C.stop()}},c,this)}))}},{key:"share",value:function(e){var t;return(0,h.mG)(this,void 0,void 0,u().mark(function c(){return u().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(!this.dietitian){a.next=8;break}return a.t0=this.facade,a.t1=this.dietitian,a.next=5,this.facade.loadPatient(null===(t=e.patientId)||void 0===t?void 0:t.id.toString());case 5:a.t2=a.sent,a.t3=e,a.t0.share.call(a.t0,a.t1,a.t2,a.t3).then();case 8:case"end":return a.stop()}},c,this)}))}},{key:"restore",value:function(e){var t=this,i=this.modalService.show(M.Y,{class:"modal-md modal-dialog-centered",initialState:{title:"Restaurer cette facture ?",subtitle:"La facture sera d\xe9plac\xe9e dans l'onglet \"Facturation courante\". L'action est r\xe9versible."}});if(i.content instanceof M.Y)var a=i.content.validate.subscribe(function(){t.facade.restore(e).then(function(){t.loadPage(0),t.billingService.countRefresh.next(e)}),null==a||a.unsubscribe()})}},{key:"download",value:function(e){var t;return(0,h.mG)(this,void 0,void 0,u().mark(function c(){var i,a,o;return u().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:if(!this.dietitian){s.next=18;break}return s.next=3,this.facade.load(this.dietitian.id.toString(),e.id.toString());case 3:return i=s.sent,s.next=6,new Promise(function(f){if(!i.url)return f(void 0);var C=new XMLHttpRequest;C.responseType="blob",C.onload=function(){f(C.response)},C.onerror=function(){f(void 0)},C.open("GET",i.url),C.send()});case 6:if((a=s.sent)&&!(a.size<=0)){s.next=10;break}return this.toastr.error("La facture PDF n'est pas encore g\xe9n\xe9r\xe9e. essayez \xe0 nouveau dans quelques instants."),s.abrupt("return");case 10:(o=document.createElement("a")).href=window.URL.createObjectURL(a),o.setAttribute("download","facture_"+i.referencePrefix+"-"+(null===(t=i.reference)||void 0===t?void 0:t.toString().padStart(4,"0"))),(o=document.body.appendChild(o)).click(),document.body.removeChild(o),s.next=19;break;case 18:this.toastr.error("Erreur, veuillez essayer \xe0 nouveau ult\xe9rieurement.");case 19:case"end":return s.stop()}},c,this)}))}},{key:"print",value:function(e){return(0,h.mG)(this,void 0,void 0,u().mark(function t(){var c,i,a;return u().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:if(!this.dietitian){d.next=14;break}return d.next=3,this.facade.load(this.dietitian.id.toString(),e.id.toString());case 3:return c=d.sent,d.next=6,new Promise(function(s){if(!c.url)return s(void 0);var f=new XMLHttpRequest;f.responseType="blob",f.onload=function(){s(f.response)},f.onerror=function(){s(void 0)},f.open("GET",c.url),f.send()});case 6:if((i=d.sent)&&!(i.size<=0)){d.next=10;break}return this.toastr.error("La facture PDF n'est pas encore g\xe9n\xe9r\xe9e. essayez \xe0 nouveau dans quelques instants."),d.abrupt("return");case 10:a=window.URL.createObjectURL(i),y()(a,"pdf"),d.next=15;break;case 14:this.toastr.error("Erreur, veuillez essayer \xe0 nouveau ult\xe9rieurement.");case 15:case"end":return d.stop()}},t,this)}))}},{key:"onPeriodFilter",value:function(e){this.billFilter.period=e,this.loadPage(0)}},{key:"countBill",value:function(){return this.isLoading?"":this.count+" facture"+(this.count&&this.count>1?"s":"")}},{key:"totalExclBill",value:function(){return this.isLoading?"":this.totalExcl}},{key:"totalInclBill",value:function(){return this.isLoading?"":this.totalIncl}},{key:"export",value:function(){return(0,h.mG)(this,void 0,void 0,u().mark(function e(){var t,c,i,a;return u().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:if(!this.dietitian){d.next=14;break}return d.next=3,this.facade.findAllExported(this.dietitian.id.toString(),this.billFilter,!0);case 3:return t=d.sent,d.next=6,this.billingService.exportBill(t,this.dietitian.id.toString());case 6:c=d.sent,(i=document.createElement("a")).href="data:text/csv;charset=utf-8,"+encodeURI(c),a=new Date,i.setAttribute("download","facture_archive_"+a.toISOString()+".csv"),document.body.appendChild(i),i.click(),document.body.removeChild(i);case 14:case"end":return d.stop()}},e,this)}))}}]),g}();return l.\u0275fac=function(r){return new(r||l)(n.Y36(Z.n),n.Y36(T.j),n.Y36(S.tT),n.Y36(A._W))},l.\u0275cmp=n.Xpm({type:l,selectors:[["msd-bills"]],decls:10,vars:4,consts:[[1,"bill-list-wrapper"],["id","header-wrapper"],[3,"onPeriod"],[1,"btn","btn-outline","btn-outline-primary",3,"click"],["class","append-loader",4,"ngIf"],["class","table header",4,"ngIf"],["id","bill-list-wrapper","infiniteScroll","",3,"scrollWindow","scrolled",4,"ngIf"],["class","table footer",4,"ngIf"],[1,"append-loader"],["role","status","aria-hidden","true",1,"spinner-grow","spinner-grow-sm"],[1,"ml10px"],[1,"table","header"],["id","reference","scope","col"],["id","fullname","scope","col"],["id","date","scope","col"],["id","amount-excl","scope","col"],["id","amount-incl","scope","col",4,"ngIf"],["id","status","scope","col"],["id","actions","scope","col"],["id","amount-incl","scope","col"],["id","bill-list-wrapper","infiniteScroll","",3,"scrollWindow","scrolled"],[4,"ngIf","ngIfElse"],["innerLoading",""],[1,"table","body"],["msd-bill-row","",3,"bill","facade","tax","onClick","onRestore","onDownload","onPrint","onShare","onEmail",4,"ngFor","ngForOf"],["msd-bill-row","",3,"bill","facade","tax","onClick","onRestore","onDownload","onPrint","onShare","onEmail"],[1,"flex-center",3,"empty","error","loading","loadingDescription","emptyDescription","errorDescription","retryButtonText","retry"],[1,"table","footer"],["id","count"],["id","empty-1"],["id","tot-amount-excl"],["id","tot-amount-incl",4,"ngIf"],["id","empty-2"],["id","tot-amount-incl"]],template:function(r,e){1&r&&(n.TgZ(0,"div",0),n.TgZ(1,"div",1),n.TgZ(2,"msd-period-bar",2),n.NdJ("onPeriod",function(c){return e.onPeriodFilter(c)}
1),n.qZA(),n.TgZ(3,"div"),n.TgZ(4,"button",3),n.NdJ("click",function(){return e.export()}),n._uU(5," Exporter "),n.qZA(),n.qZA(),n.qZA(),n.YNc(6,D,4,0,"div",4),n.YNc(7,J,16,2,"table",5),n.YNc(8,Q,4,3,"div",6),n.YNc(9,j,10,3,"table",7),n.qZA()),2&r&&(n.xp6(6),n.Q6J("ngIf",e.isAppendLoading),n.xp6(1),n.Q6J("ngIf",e.billParams),n.xp6(1),n.Q6J("ngIf",e.billParams),n.xp6(1),n.Q6J("ngIf",e.billParams))},directives:[L.l,_.O5,O.Ry,_.sg,U.X,m.R],styles:['.btn-gradient[_ngcontent-%COMP%]{min-height:30px;padding:10px 20px;font-weight:700;font-size:13px;color:#fff;border-radius:8px;background:linear-gradient(45deg,#5f78ff 0%,#5f78ff 100%);transition:all .3s ease;outline:0;border-width:2px;border:0}.btn-gradient.text-icon[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]:not(.prefix){margin-left:5px}.btn-gradient.text-icon[_ngcontent-%COMP%]   i.prefix[_ngcontent-%COMP%]{margin-right:5px}.btn-gradient[_ngcontent-%COMP%]:active, .btn-gradient[_ngcontent-%COMP%]:focus{box-shadow:none}.btn-gradient[_ngcontent-%COMP%]:hover{box-shadow:3px 3px 20px 2px #d7d7d7;color:#ebebeb}.btn-gradient.btn-green[_ngcontent-%COMP%]{background:#1ca972}.btn-gradient.btn-green2[_ngcontent-%COMP%]{border:2px solid #1ec175;background:#c7ecd5;color:#1ec175}.btn-outline[_ngcontent-%COMP%]{min-height:30px;border-radius:8px;border-color:#5f78ff;color:#5f78ff;transition:all .3s ease;font-weight:600;font-size:13px;color:#202020;border-width:2px;outline:0;padding:10px 20px;align-items:center;display:flex;justify-content:center;line-height:15px}.btn-outline.btn-green[_ngcontent-%COMP%]{border-color:#1ca972;color:#1ca972}.btn-outline.btn-red[_ngcontent-%COMP%]{border-color:#f12828;color:#f12828}.btn-outline.icon-only[_ngcontent-%COMP%]{padding:10px;font-size:20px}.btn-outline.icon-only[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{display:flex}.btn-outline.icon-only.badged[_ngcontent-%COMP%]{position:relative}.btn-outline.icon-only.badged[_ngcontent-%COMP%]:after{content:"";height:6px;width:6px;border-radius:50%;background:#f12828;position:absolute;top:8px;right:8px}.btn-outline.text-icon[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]:not(.prefix){margin-left:5px}.btn-outline.text-icon[_ngcontent-%COMP%]   i.prefix[_ngcontent-%COMP%]{margin-right:5px}.btn-outline[_ngcontent-%COMP%]:active, .btn-outline[_ngcontent-%COMP%]:focus{box-shadow:none}.btn-outline[_ngcontent-%COMP%]:hover{background-color:#5f78ff;color:#fff}.btn-outline[_ngcontent-%COMP%]:hover.btn-green{background-color:#1ca972}.btn-outline[_ngcontent-%COMP%]:hover.btn-red{background-color:#f12828}.btn-outline.greyed[_ngcontent-%COMP%]{color:#afafaf;border-color:#afafaf;border-radius:6px;padding:8px}.btn-outline.greyed[_ngcontent-%COMP%]:hover{background-color:#afafaf;color:#fff}.btn-outline.circle[_ngcontent-%COMP%]{border-radius:50%}.btn-secondary[_ngcontent-%COMP%]{min-height:30px;padding:10px 20px;font-weight:600;font-size:13px;color:#202020;background-color:#ebebeb;border-color:#ebebeb;border-radius:8px;transition:all .3s ease}.btn-secondary[_ngcontent-%COMP%]:active, .btn-secondary[_ngcontent-%COMP%]:focus{box-shadow:none}.btn-secondary[_ngcontent-%COMP%]:hover{background-color:#afafaf}.icon-text-button[_ngcontent-%COMP%]{cursor:pointer;display:flex;align-items:center}.icon-text-button[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{color:#5f78ff;transition:all .3s ease}.icon-text-button[_ngcontent-%COMP%]   .text-button-text[_ngcontent-%COMP%]{color:#202020;font-style:normal;font-weight:700;font-size:13px;line-height:18px;margin-left:10px;transition:all .3s ease}.icon-text-button[_ngcontent-%COMP%]:hover   i[_ngcontent-%COMP%]{color:#5f78ff}.icon-text-button[_ngcontent-%COMP%]:hover   .text-button-text[_ngcontent-%COMP%]{color:#707070}.icon-btn[_ngcontent-%COMP%]{cursor:pointer;color:#5f78ff;transition:all .3s ease}.icon-btn.btn-dark[_ngcontent-%COMP%]{color:#fff}.icon-btn[_ngcontent-%COMP%]:hover{color:#5f78ff}.btn-link[_ngcontent-%COMP%]{color:#5f78ff;font-weight:700;font-size:13px;padding:0;line-height:18px;outline:none;border:none;box-shadow:none;transition:all .3s ease}.btn-link[_ngcontent-%COMP%]:hover{opacity:.7}.btn-danger[_ngcontent-%COMP%]{background:#f12828}.btn-warning[_ngcontent-%COMP%]{background:#e67e22}
1h2[_ngcontent-%COMP%]{font-weight:600;font-size:19px;color:#202020}h3[_ngcontent-%COMP%]{font-weight:700;font-size:16px;color:#202020}label[_ngcontent-%COMP%]{font-weight:700;font-size:10px;color:#707070;text-transform:uppercase;margin-bottom:4px;-webkit-user-select:none;user-select:none}a[_ngcontent-%COMP%]{font-size:13px;font-weight:700;color:#5f78ff}.call-to-action-md[_ngcontent-%COMP%]{font-weight:600;font-size:13px;color:#707070}.call-to-action-bold[_ngcontent-%COMP%]{font-weight:700;font-size:13px;color:#202020}.credit[_ngcontent-%COMP%]{text-align:center;font-size:13px;padding:5px;background-color:#fafafa;border-radius:.5rem}.small[_ngcontent-%COMP%]{text-align:center;font-size:12px;padding:3px;background-color:#fafafa;border-radius:.2rem}.nowrap[_ngcontent-%COMP%]{white-space:nowrap}bs-dropdown-container[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{padding:.625rem 0 0;border:1px solid #ebebeb;border-radius:.5rem}bs-dropdown-container[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-menu-right[_ngcontent-%COMP%]{right:100%!important;left:auto!important;margin-right:.125rem!important}bs-dropdown-container[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-menu-right-50[_ngcontent-%COMP%]{right:100%!important;left:auto!important;margin-right:-50px}bs-dropdown-container[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropstart[_ngcontent-%COMP%]{top:-38px!important;margin-top:0}bs-dropdown-container[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropend[_ngcontent-%COMP%]{top:auto!important;bottom:100%!important;margin-top:0;margin-bottom:3px}bs-dropdown-container[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-notification[_ngcontent-%COMP%]{width:calc(100vw - 20px)}bs-dropdown-container[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-group[_ngcontent-%COMP%]{inset:100% -163px auto auto!important;width:300px;max-height:calc(100vh - 300px);overflow:scroll}bs-dropdown-container[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-menu-max-width[_ngcontent-%COMP%]{max-width:600px;overflow:hidden;padding-left:10px}bs-dropdown-container[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-menu-max-height[_ngcontent-%COMP%]{max-height:200px;overflow:scroll}@media (max-width: 991.98px){bs-dropdown-container[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{max-height:100px!important;overflow:auto!important}bs-dropdown-container[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropstart[_ngcontent-%COMP%]{top:-30px!important}}bs-dropdown-container[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]{margin:0 .625rem;padding:.5rem .625rem;border-radius:.625rem;font-weight:600;font-size:13px;color:#202020;width:auto;cursor:pointer;transition:all .2s ease}bs-dropdown-container[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, bs-dropdown-container[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:#f4f4f4}bs-dropdown-container[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-item.disabled[_ngcontent-%COMP%]{opacity:50%;cursor:default!important}bs-dropdown-container[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-item.destructive-item[_ngcontent-%COMP%]{color:#f12828}bs-dropdown-container[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-divider[_ngcontent-%COMP%]{border-top:1px solid #ebebeb}bs-dropdown-container[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-item.action[_ngcontent-%COMP%]{margin:0;text-align:center;font-weight:700;color:#5f78ff;background-color:transparent}bs-dropdown-container[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   #cancel-link[_ngcontent-%COMP%]{transition:all .3s ease}bs-dropdown-container[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   #cancel-link[_ngcontent-%COMP%]:hover{color:#5f78ff4d}.dropdown-backdrop[_ngcontent-%COMP%]{position:fixed;top:0;left:0;z-index:999;width:100vw;height:100vh;background-color:#fff;visibility:hidden;transition:all .2s ease}.dropdown.show[_ngcontent-%COMP%]   .dropdown-backdrop[_ngcontent-%COMP%]{visibility:visible;opacity:.7}.grey1[_ngcontent-%COMP%]{color:#202020}.grey2[_ngcontent-%COMP%]{color:#707070}.grey3[_ngcontent-%COMP%]{color:#afafaf}.grey4[_ngcontent-%COMP%]{color:#ebebeb}.grey5[_ngcontent-%COMP%]{color:#f4f4f4}.grey6[_ngcontent-%COMP%]{color:#fafafa}.error[_ngcontent-%COMP%]{color:#f12828}
1.valid[_ngcontent-%COMP%]{color:#77e38f}.red1[_ngcontent-%COMP%]{color:#f12828}.red[_ngcontent-%COMP%]{color:#ba2a2a}.blue[_ngcontent-%COMP%]{color:#5f78ff}.orange[_ngcontent-%COMP%]{color:#e67e22}.green[_ngcontent-%COMP%]{color:#1ca972}.purple[_ngcontent-%COMP%]{color:#eccefd}.yellow[_ngcontent-%COMP%]{color:#e8c901}.pink[_ngcontent-%COMP%]{color:#ff00cb}.man[_ngcontent-%COMP%]{background-color:#233cc3!important}.woman[_ngcontent-%COMP%]{background-color:#ae2e93!important}.nb[_ngcontent-%COMP%]{background-color:#0e7f52!important}.table[_ngcontent-%COMP%]{font-size:.875rem;font-weight:400;color:#202020;border:1px solid #f4f4f4;border-collapse:separate;border-radius:.5rem;border-spacing:0}.table.header[_ngcontent-%COMP%]{margin-bottom:unset;border-bottom-left-radius:unset;border-bottom-right-radius:unset}.table.body[_ngcontent-%COMP%]{border-top-left-radius:unset;border-top-right-radius:unset;border-top:unset}.table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]{background-color:#fafafa;text-transform:uppercase;color:#afafaf;font-weight:700;font-size:.625rem;margin-bottom:7px}.table[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]{border-radius:.5rem}.table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding:.5rem;vertical-align:middle}.table.footer[_ngcontent-%COMP%]{margin-top:unset;border-top-left-radius:unset;border-top-right-radius:unset}.table[_ngcontent-%COMP%]   tfoot[_ngcontent-%COMP%]{background-color:#fafafa;text-transform:uppercase;color:#afafaf;font-weight:700;font-size:14px;margin-top:7px;white-space:nowrap}[_nghost-%COMP%]{height:100%}[_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]{display:flex;height:100%;flex-direction:column}[_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   #header-wrapper[_ngcontent-%COMP%]{display:flex;width:100%;justify-content:space-between;align-items:center;background-color:#fafafa;border:1px solid #f4f4f4;border-radius:8px;margin-bottom:30px;padding:20px}[_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   #header-wrapper[_ngcontent-%COMP%]   #status-button[_ngcontent-%COMP%]{height:44px;border-color:transparent;background-color:#fff}[_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   #header-wrapper[_ngcontent-%COMP%]   #status-button[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{margin-right:.5rem}[_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   #header-wrapper[_ngcontent-%COMP%]   #status-button[_ngcontent-%COMP%]   #status-label[_ngcontent-%COMP%], [_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   #header-wrapper[_ngcontent-%COMP%]   #status-button[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{color:#707070}[_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   #header-wrapper[_ngcontent-%COMP%]   #status-button[_ngcontent-%COMP%]   #status-name-label[_ngcontent-%COMP%]{color:#202020}[_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   #header-wrapper[_ngcontent-%COMP%]   #status-button[_ngcontent-%COMP%]:hover{background-color:#5f78ff}[_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   #header-wrapper[_ngcontent-%COMP%]   #status-button[_ngcontent-%COMP%]:hover   #status-label[_ngcontent-%COMP%], [_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   #header-wrapper[_ngcontent-%COMP%]   #status-button[_ngcontent-%COMP%]:hover   i[_ngcontent-%COMP%], [_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   #header-wrapper[_ngcontent-%COMP%]   #status-button[_ngcontent-%COMP%]:hover   #status-name-label[_ngcontent-%COMP%]{color:#fff}[_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   #header-wrapper[_ngcontent-%COMP%]   #status-button[_ngcontent-%COMP%]{margin-left:10px}[_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   #header-wrapper[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]{margin:0 .625rem;padding:.5rem .625rem;border-radius:.625rem;font-weight:600;font-size:13px;color:#202020;width:auto;cursor:pointer;transition:all .2s ease}[_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   #header-wrapper[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, [_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   #header-wrapper[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:#f4f4f4}[_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   .append-loader[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;background-color:#5f78ff26;padding:.5em 1em;border-radius:8px;z-index:1000}[_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   table.table.header[_ngcontent-%COMP%] > thead[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > th#reference[_ngcontent-%COMP%]{min-width:120px}[_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   table.table.header[_ngcontent-%COMP%] > thead[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > th#fullname[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   table.table.header[_ngcontent-%COMP%] > thead[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > th#date[_ngcontent-%COMP%]{min-width:150px}[_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   table.table.header[_ngcontent-%COMP%] > thead[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > th#amount-excl[_ngcontent-%COMP%]{min-width:100px}[_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   table.table.header[_ngcontent-%COMP%] > thead[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > th#amount-incl[_ngcontent-%COMP%]{min-width:100px}[_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   table.table.header[_ngcontent-%COMP%] > thead[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > th#status[_ngcontent-%COMP%]{min-width:80px;text-align:center}[_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   table.table.header[_ngcontent-%COMP%] > thead[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > th#actions[_ngcontent-%COMP%]{min-width:80px}[_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   #bill-list-wrapper[_ngcontent-%COMP%]{position:relative;height:100%;overflow:auto}[_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   #bill-list-wrapper[_ngcontent-%COMP%] > table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%]{display:flex;align-items:center}[_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   table.table.footer[_ngcontent-%COMP%] > tfoot[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > td#count[_ngcontent-%COMP%]{min-width:100px;font-size:10px}[_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   table.table.footer[_ngcontent-%COMP%] > tfoot[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > td#empty-1[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   table.table.footer[_ngcontent-%COMP%] > tfoot[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > td#tot-amount-incl[_ngcontent-%COMP%]{min-width:100px;text-align:right}[_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   table.table.footer[_ngcontent-%COMP%] > tfoot[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > td#tot-amount-excl[_ngcontent-%COMP%]{min-width:100px;text-align:right}[_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   table.table.footer[_ngcontent-%COMP%] > tfoot[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > td#empty-2[_ngcontent-%COMP%]{min-width:150px}']}),l}(),W=p(97281),X=p(99866),E=p(11270),V=p(76935),K=function(){var l=(0,b.Z)(function g(){(0,P.Z)(this,g)});return l.\u0275fac=function(r){return new(r||l)},l.\u0275mod=n.oAB({type:l}),l.\u0275inj=n.cJS({imports:[[_.ez,V.O,W.mr,O.Rq,X.o7e,m.m,E.F]]}),l}(),nn=p(85053),tn=p(36442);function en(l,g){1&l&&(n.TgZ(0,"div",8),n._UZ(1,"span",9),n.TgZ(2,"span",10),n._uU(3,"Chargement..."),n.qZA(),n.qZA())}function on(l,g){1&l&&(n.TgZ(0,"th",18),n._uU(1,"Mont. TTC"),n.qZA())}function rn(l,g){if(1&l&&(n.TgZ(0,"table",11),n.TgZ(1,"thead"),n.TgZ(2,"tr"),n.TgZ(3,"th",12),n._uU(4,"R\xe9f\xe9rence"),n.qZA(),n.TgZ(5,"th",13),n._uU(6,"Nom du patient/tiers"),n.qZA(),n.TgZ(7,"th",14),n._uU(8,"Date"),n.qZA(),n.TgZ(9,"th",15),n._uU(10),n.qZA(),n.YNc(11,on,2,0,"th",16),n.TgZ(12,"th",17),n._uU(13,"Actions"),n.qZA(),n.qZA(),n.qZA(),n.qZA()),2&l){var r=n.oxw();n.xp6(10),n.Oqu("with"===r.billParams.tax?"Mont. HT":"Montant"),n.xp6(1),n.Q6J("ngIf","with"===r.billParams.tax)}}function an(l,g){if(1&l){var r=n.EpF();n.TgZ(0,"tr",24),n.NdJ("onClick",function(){var a=n.CHM(r).$implicit;return n.oxw(3).view(a)})("onRestore",function(){var a=n.CHM(r).$implicit;return n.oxw(3).restore(a)})("onDownload",function(){var a=n.CHM(r).$implicit;return n.oxw(3).download(a)})("onPrint",function(){var a=n.CHM(r).$implicit;return n.oxw(3).print(a)}),n.qZA()}if(2&l){var e=g.$implicit,t=n.oxw(3);
1n.Q6J("credit",e)("facade",t.facade)("tax",t.billParams.tax)}}function ln(l,g){if(1&l&&(n.ynx(0),n.TgZ(1,"table",22),n.TgZ(2,"tbody"),n.YNc(3,an,1,3,"tr",23),n.qZA(),n.qZA(),n.BQk()),2&l){var r=n.oxw(2);n.xp6(3),n.Q6J("ngForOf",r.creditList)}}function cn(l,g){if(1&l){var r=n.EpF();n.TgZ(0,"ngx-inner-loading",25),n.NdJ("retry",function(){return n.CHM(r),n.oxw(2).loadPage(0)}),n.qZA()}if(2&l){var e=n.oxw(2);n.Q6J("empty",0===(null==e.creditList?null:e.creditList.length))("error",e.isOnError)("loading",e.isLoading)("loadingDescription","Chargement...")("emptyDescription","Aucune avoir archiv\xe9 !")("errorDescription","Une erreur est survenue. Veuillez r\xe9essayer plus tard.")("retryButtonText","R\xe9essayer")}}function dn(l,g){if(1&l){var r=n.EpF();n.TgZ(0,"div",19),n.NdJ("scrolled",function(){return n.CHM(r),n.oxw().onScroll()}),n.YNc(1,ln,4,1,"ng-container",20),n.YNc(2,cn,1,7,"ng-template",null,21,n.W1O),n.qZA()}if(2&l){var e=n.MAs(3),t=n.oxw();n.Q6J("scrollWindow",!1),n.xp6(1),n.Q6J("ngIf",!t.isOnError&&!t.isLoading&&t.creditList&&t.creditList.length>0)("ngIfElse",e)}}function sn(l,g){if(1&l&&(n.TgZ(0,"td",32),n._uU(1),n.qZA()),2&l){var r=n.oxw(2);n.xp6(1),n.hij("",r.totalInclCredit(),"\u20ac")}}function gn(l,g){if(1&l&&(n.TgZ(0,"table",26),n.TgZ(1,"tfoot"),n.TgZ(2,"tr"),n.TgZ(3,"td",27),n._uU(4),n.qZA(),n._UZ(5,"td",28),n.TgZ(6,"td",29),n._uU(7),n.qZA(),n.YNc(8,sn,2,1,"td",30),n._UZ(9,"td",31),n.qZA(),n.qZA(),n.qZA()),2&l){var r=n.oxw();n.xp6(4),n.Oqu(r.countCredit()),n.xp6(3),n.hij("",r.totalExclCredit(),"\u20ac"),n.xp6(1),n.Q6J("ngIf","with"===r.billParams.tax)}}var pn=function(){var l=function(){function g(r,e,t,c){var i=this;(0,P.Z)(this,g),this.facade=r,this.billingService=e,this.modalService=t,this.toastr=c,this.isLoading=!1,this.isAppendLoading=!1,this.isOnError=!1,this.creditFilter={period:void 0,status:void 0},this.totalExcl="-",this.totalIncl="-",this.count=0,this.currentPage=0,this.hasCredit=!1,this.isLoading=!1,this.accountStatus$=this.facade.accountStatus$,this.accountStatusSubscription=this.accountStatus$.subscribe(function(a){return(0,h.mG)(i,void 0,void 0,u().mark(function o(){return u().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return this.dietitian=a.dietitian,this.isLoading=!0,s.next=4,this.facade.loadBillParams(this.dietitian.dietitianId.id.toString());case 4:this.billParams=s.sent,this.isLoading=!1,this.loadPage(0);case 7:case"end":return s.stop()}},o,this)}))}),this.creditEventSubscription=this.facade.creditEventProvider$.subscribe(function(){i.loadPage(0)})}return(0,b.Z)(g,[{key:"ngOnDestroy",value:function(){var e,t;null===(e=this.accountStatusSubscription)||void 0===e||e.unsubscribe(),null===(t=this.creditEventSubscription)||void 0===t||t.unsubscribe()}},{key:"onScroll",value:function(){this.loadPage(this.currentPage+1)}},{key:"loadPage",value:function(e){var t=this;!this.dietitian||(0===e?(this.isLoading=!0,this.creditList=[]):this.isAppendLoading=!0,this.facade.findAllCreditArchived(this.dietitian.id.toString(),this.creditFilter,this.creditList&&this.creditList.length>0?this.creditList[this.creditList.length-1].id.toString():void 0).then(function(c){c.forEach(function(i){var a;return null===(a=t.creditList)||void 0===a?void 0:a.push(i)}),t.currentPage=e,t.isLoading=!1,t.isAppendLoading=!1,t.isOnError=!1}).catch(function(){t.isOnError=!0}),this.facade.calcTotCredit(!0,this.creditFilter).then(function(c){t.count=c.count,t.totalExcl=t.facade.format2Decimals(c.amountExcludingTax),t.totalIncl=t.facade.format2Decimals(c.amountIncludingTax)}))}},{key:"view",value:function(e){return(0,h.mG)(this,void 0,void 0,u().mark(function t(){var c;return u().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:if(console.log("\ud83d\udc40 view credit",{id:e.id.toString()}),this.hasCredit){o.next=19;break}if(this.hasCredit=!0,c="view",!e.patientId){o.next=10;break}return o.next=7,this.facade.loadPatient(e.patientId.id.toString());case 7:o.t0=o.sent,o.next=11;break;case 10:o.t0=e.thirdParty;case 11:o.t1=o.t0,o.t2=this.dietitian,o.t3=e,o.t4=c,o.t5={target:o.t1,dietitian:o.t2,credit:o.t3,mode:o.t4},this.modalService.show(nn.X,{class:"modal-lg",initialState:o.t5}),this.hasCredit=!1;case 19:case"end":return o.stop()}},t,this)}))}},{key:"restore",value:function(e){var t=this,i=this.modalService.show(M.Y,{class:"modal-md modal-dialog-centered",initialState:{t
1itle:"Restaurer cet avoir ?",subtitle:"L'avoir sera d\xe9plac\xe9e dans l'onglet \"Avoirs\". L'action est r\xe9versible."}});if(i.content instanceof M.Y)var a=i.content.validate.subscribe(function(){t.facade.restoreCredit(e).then(function(){t.loadPage(0),t.billingService.countRefresh.next(e)}),null==a||a.unsubscribe()})}},{key:"download",value:function(e){var t;return(0,h.mG)(this,void 0,void 0,u().mark(function c(){var i,a,o;return u().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:if(!this.dietitian){s.next=18;break}return s.next=3,this.facade.loadCredit(this.dietitian.id.toString(),e.id.toString());case 3:return i=s.sent,s.next=6,new Promise(function(f){if(!i.url)return f(void 0);var C=new XMLHttpRequest;C.responseType="blob",C.onload=function(){f(C.response)},C.onerror=function(){f(void 0)},C.open("GET",i.url),C.send()});case 6:if((a=s.sent)&&!(a.size<=0)){s.next=10;break}return this.toastr.error("L'avoir PDF n'est pas encore g\xe9n\xe9r\xe9. essayez \xe0 nouveau dans quelques instants."),s.abrupt("return");case 10:(o=document.createElement("a")).href=window.URL.createObjectURL(a),o.setAttribute("download","avoir_"+i.referencePrefix+"-"+(null===(t=i.reference)||void 0===t?void 0:t.toString().padStart(4,"0"))),(o=document.body.appendChild(o)).click(),document.body.removeChild(o),s.next=19;break;case 18:this.toastr.error("Erreur, veuillez essayer \xe0 nouveau ult\xe9rieurement.");case 19:case"end":return s.stop()}},c,this)}))}},{key:"print",value:function(e){return(0,h.mG)(this,void 0,void 0,u().mark(function t(){var c,i,a;return u().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:if(!this.dietitian){d.next=14;break}return d.next=3,this.facade.loadCredit(this.dietitian.id.toString(),e.id.toString());case 3:return c=d.sent,d.next=6,new Promise(function(s){if(!c.url)return s(void 0);var f=new XMLHttpRequest;f.responseType="blob",f.onload=function(){s(f.response)},f.onerror=function(){s(void 0)},f.open("GET",c.url),f.send()});case 6:if((i=d.sent)&&!(i.size<=0)){d.next=10;break}return this.toastr.error("L'avoir' PDF n'est pas encore g\xe9n\xe9r\xe9. essayez \xe0 nouveau dans quelques instants."),d.abrupt("return");case 10:a=window.URL.createObjectURL(i),y()(a,"pdf"),d.next=15;break;case 14:this.toastr.error("Erreur, veuillez essayer \xe0 nouveau ult\xe9rieurement.");case 15:case"end":return d.stop()}},t,this)}))}},{key:"onPeriodFilter",value:function(e){this.creditFilter.period=e,this.loadPage(0)}},{key:"countCredit",value:function(){return this.isLoading?"":this.count+" avoir"+(this.count&&this.count>1?"s":"")}},{key:"totalExclCredit",value:function(){return this.isLoading?"":this.totalExcl}},{key:"totalInclCredit",value:function(){return this.isLoading?"":this.totalIncl}},{key:"export",value:function(){return(0,h.mG)(this,void 0,void 0,u().mark(function e(){var t,c,i,a;return u().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:if(!this.dietitian){d.next=14;break}return d.next=3,this.facade.findAllCreditExported(this.dietitian.id.toString(),this.creditFilter,!0);case 3:return t=d.sent,d.next=6,this.billingService.exportCredit(t,this.dietitian.id.toString());case 6:c=d.sent,(i=document.createElement("a")).href="data:text/csv;charset=utf-8,"+encodeURI(c),a=new Date,i.setAttribute("download","avoir_archive_"+a.toISOString()+".csv"),document.body.appendChild(i),i.click(),document.body.removeChild(i);case 14:case"end":return d.stop()}},e,this)}))}}]),g}();return l.\u0275fac=function(r){return new(r||l)(n.Y36(Z.n),n.Y36(T.j),n.Y36(S.tT),n.Y36(A._W))},l.\u0275cmp=n.Xpm({type:l,selectors:[["msd-credits"]],decls:10,vars:4,consts:[[1,"bill-list-wrapper"],["id","header-wrapper"],[3,"onPeriod"],[1,"btn","btn-outline","btn-outline-primary",3,"click"],["class","append-loader",4,"ngIf"],["class","table header",4,"ngIf"],["id","bill-list-wrapper","infiniteScroll","",3,"scrollWindow","scrolled",4,"ngIf"],["class","table footer",4,"ngIf"],[1,"append-loader"],["role","status","aria-hidden","true",1,"spinner-grow","spinner-grow-sm"],[1,"ml10px"],[1,"table","header"],["id","reference","scope","col"],["id","fullname","scope","col"],["id","date","scope","col"],["id","amount-excl","scope","col"],["id","amount-incl","scope","col",4,"ngIf"],["id","actions","scope","col"],["id","amount-incl","scope","col"],["id","bill-list-wrapper","infiniteScroll","",3,"scrollWindow","scrolled"],[4,"ngIf","ngIfElse"],["innerLoading",""],[1,"table","body"],["msd-credit-row","",3,"credit","facade","tax","onClick","onRestore","onDownload","onPrint",4,"ngFor","ngForOf"],["msd-credit-row","",3,"credit","facade","tax","onClick","onRestore","onDownload","onPrint"],[1,"flex-center",3,"empty","error","loading","loadingDescription","emptyDescription","errorDescription","retryButtonText","retry"],[1,"table","footer"],["id","count"],["id","empty-1"],["id","tot-amount-excl"],["id","tot-amount-incl",4,"ngIf"],["id","empty-2"],["id","tot-amount-incl"]],template:function(r,e){1&r&&(n.TgZ(0,"div",0),n.TgZ(1,"div",1),n.TgZ(2,"msd-period-bar",2),n.NdJ("onPeriod",function(c){return e.onPeriodFilter(c)}
1),n.qZA(),n.TgZ(3,"div"),n.TgZ(4,"button",3),n.NdJ("click",function(){return e.export()}),n._uU(5," Exporter "),n.qZA(),n.qZA(),n.qZA(),n.YNc(6,en,4,0,"div",4),n.YNc(7,rn,14,2,"table",5),n.YNc(8,dn,4,3,"div",6),n.YNc(9,gn,10,3,"table",7),n.qZA()),2&r&&(n.xp6(6),n.Q6J("ngIf",e.isAppendLoading),n.xp6(1),n.Q6J("ngIf",e.billParams),n.xp6(1),n.Q6J("ngIf",e.billParams),n.xp6(1),n.Q6J("ngIf",e.billParams))},directives:[L.l,_.O5,O.Ry,_.sg,tn.Q,m.R],styles:['.btn-gradient[_ngcontent-%COMP%]{min-height:30px;padding:10px 20px;font-weight:700;font-size:13px;color:#fff;border-radius:8px;background:linear-gradient(45deg,#5f78ff 0%,#5f78ff 100%);transition:all .3s ease;outline:0;border-width:2px;border:0}.btn-gradient.text-icon[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]:not(.prefix){margin-left:5px}.btn-gradient.text-icon[_ngcontent-%COMP%]   i.prefix[_ngcontent-%COMP%]{margin-right:5px}.btn-gradient[_ngcontent-%COMP%]:active, .btn-gradient[_ngcontent-%COMP%]:focus{box-shadow:none}.btn-gradient[_ngcontent-%COMP%]:hover{box-shadow:3px 3px 20px 2px #d7d7d7;color:#ebebeb}.btn-gradient.btn-green[_ngcontent-%COMP%]{background:#1ca972}.btn-gradient.btn-green2[_ngcontent-%COMP%]{border:2px solid #1ec175;background:#c7ecd5;color:#1ec175}.btn-outline[_ngcontent-%COMP%]{min-height:30px;border-radius:8px;border-color:#5f78ff;color:#5f78ff;transition:all .3s ease;font-weight:600;font-size:13px;color:#202020;border-width:2px;outline:0;padding:10px 20px;align-items:center;display:flex;justify-content:center;line-height:15px}.btn-outline.btn-green[_ngcontent-%COMP%]{border-color:#1ca972;color:#1ca972}.btn-outline.btn-red[_ngcontent-%COMP%]{border-color:#f12828;color:#f12828}.btn-outline.icon-only[_ngcontent-%COMP%]{padding:10px;font-size:20px}.btn-outline.icon-only[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{display:flex}.btn-outline.icon-only.badged[_ngcontent-%COMP%]{position:relative}.btn-outline.icon-only.badged[_ngcontent-%COMP%]:after{content:"";height:6px;width:6px;border-radius:50%;background:#f12828;position:absolute;top:8px;right:8px}.btn-outline.text-icon[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]:not(.prefix){margin-left:5px}.btn-outline.text-icon[_ngcontent-%COMP%]   i.prefix[_ngcontent-%COMP%]{margin-right:5px}.btn-outline[_ngcontent-%COMP%]:active, .btn-outline[_ngcontent-%COMP%]:focus{box-shadow:none}.btn-outline[_ngcontent-%COMP%]:hover{background-color:#5f78ff;color:#fff}.btn-outline[_ngcontent-%COMP%]:hover.btn-green{background-color:#1ca972}.btn-outline[_ngcontent-%COMP%]:hover.btn-red{background-color:#f12828}.btn-outline.greyed[_ngcontent-%COMP%]{color:#afafaf;border-color:#afafaf;border-radius:6px;padding:8px}.btn-outline.greyed[_ngcontent-%COMP%]:hover{background-color:#afafaf;color:#fff}.btn-outline.circle[_ngcontent-%COMP%]{border-radius:50%}.btn-secondary[_ngcontent-%COMP%]{min-height:30px;padding:10px 20px;font-weight:600;font-size:13px;color:#202020;background-color:#ebebeb;border-color:#ebebeb;border-radius:8px;transition:all .3s ease}.btn-secondary[_ngcontent-%COMP%]:active, .btn-secondary[_ngcontent-%COMP%]:focus{box-shadow:none}.btn-secondary[_ngcontent-%COMP%]:hover{background-color:#afafaf}.icon-text-button[_ngcontent-%COMP%]{cursor:pointer;display:flex;align-items:center}.icon-text-button[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{color:#5f78ff;transition:all .3s ease}.icon-text-button[_ngcontent-%COMP%]   .text-button-text[_ngcontent-%COMP%]{color:#202020;font-style:normal;font-weight:700;font-size:13px;line-height:18px;margin-left:10px;transition:all .3s ease}.icon-text-button[_ngcontent-%COMP%]:hover   i[_ngcontent-%COMP%]{color:#5f78ff}.icon-text-button[_ngcontent-%COMP%]:hover   .text-button-text[_ngcontent-%COMP%]{color:#707070}.icon-btn[_ngcontent-%COMP%]{cursor:pointer;color:#5f78ff;transition:all .3s ease}.icon-btn.btn-dark[_ngcontent-%COMP%]{color:#fff}.icon-btn[_ngcontent-%COMP%]:hover{color:#5f78ff}.btn-link[_ngcontent-%COMP%]{color:#5f78ff;font-weight:700;font-size:13px;padding:0;line-height:18px;outline:none;border:none;box-shadow:none;transition:all .3s ease}.btn-link[_ngcontent-%COMP%]:hover{opacity:.7}.btn-danger[_ngcontent-%COMP%]{background:#f12828}.btn-warning[_ngcontent-%COMP%]{background:#e67e22}
1h2[_ngcontent-%COMP%]{font-weight:600;font-size:19px;color:#202020}h3[_ngcontent-%COMP%]{font-weight:700;font-size:16px;color:#202020}label[_ngcontent-%COMP%]{font-weight:700;font-size:10px;color:#707070;text-transform:uppercase;margin-bottom:4px;-webkit-user-select:none;user-select:none}a[_ngcontent-%COMP%]{font-size:13px;font-weight:700;color:#5f78ff}.call-to-action-md[_ngcontent-%COMP%]{font-weight:600;font-size:13px;color:#707070}.call-to-action-bold[_ngcontent-%COMP%]{font-weight:700;font-size:13px;color:#202020}.credit[_ngcontent-%COMP%]{text-align:center;font-size:13px;padding:5px;background-color:#fafafa;border-radius:.5rem}.small[_ngcontent-%COMP%]{text-align:center;font-size:12px;padding:3px;background-color:#fafafa;border-radius:.2rem}.nowrap[_ngcontent-%COMP%]{white-space:nowrap}bs-dropdown-container[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{padding:.625rem 0 0;border:1px solid #ebebeb;border-radius:.5rem}bs-dropdown-container[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-menu-right[_ngcontent-%COMP%]{right:100%!important;left:auto!important;margin-right:.125rem!important}bs-dropdown-container[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-menu-right-50[_ngcontent-%COMP%]{right:100%!important;left:auto!important;margin-right:-50px}bs-dropdown-container[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropstart[_ngcontent-%COMP%]{top:-38px!important;margin-top:0}bs-dropdown-container[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropend[_ngcontent-%COMP%]{top:auto!important;bottom:100%!important;margin-top:0;margin-bottom:3px}bs-dropdown-container[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-notification[_ngcontent-%COMP%]{width:calc(100vw - 20px)}bs-dropdown-container[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-group[_ngcontent-%COMP%]{inset:100% -163px auto auto!important;width:300px;max-height:calc(100vh - 300px);overflow:scroll}bs-dropdown-container[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-menu-max-width[_ngcontent-%COMP%]{max-width:600px;overflow:hidden;padding-left:10px}bs-dropdown-container[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropdown-menu-max-height[_ngcontent-%COMP%]{max-height:200px;overflow:scroll}@media (max-width: 991.98px){bs-dropdown-container[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{max-height:100px!important;overflow:auto!important}bs-dropdown-container[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-menu.dropstart[_ngcontent-%COMP%]{top:-30px!important}}bs-dropdown-container[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]{margin:0 .625rem;padding:.5rem .625rem;border-radius:.625rem;font-weight:600;font-size:13px;color:#202020;width:auto;cursor:pointer;transition:all .2s ease}bs-dropdown-container[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, bs-dropdown-container[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:#f4f4f4}bs-dropdown-container[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-item.disabled[_ngcontent-%COMP%]{opacity:50%;cursor:default!important}bs-dropdown-container[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-item.destructive-item[_ngcontent-%COMP%]{color:#f12828}bs-dropdown-container[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-divider[_ngcontent-%COMP%]{border-top:1px solid #ebebeb}bs-dropdown-container[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .dropdown-item.action[_ngcontent-%COMP%]{margin:0;text-align:center;font-weight:700;color:#5f78ff;background-color:transparent}bs-dropdown-container[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   #cancel-link[_ngcontent-%COMP%]{transition:all .3s ease}bs-dropdown-container[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   #cancel-link[_ngcontent-%COMP%]:hover{color:#5f78ff4d}.dropdown-backdrop[_ngcontent-%COMP%]{position:fixed;top:0;left:0;z-index:999;width:100vw;height:100vh;background-color:#fff;visibility:hidden;transition:all .2s ease}.dropdown.show[_ngcontent-%COMP%]   .dropdown-backdrop[_ngcontent-%COMP%]{visibility:visible;opacity:.7}.grey1[_ngcontent-%COMP%]{color:#202020}.grey2[_ngcontent-%COMP%]{color:#707070}.grey3[_ngcontent-%COMP%]{color:#afafaf}.grey4[_ngcontent-%COMP%]{color:#ebebeb}.grey5[_ngcontent-%COMP%]{color:#f4f4f4}.grey6[_ngcontent-%COMP%]{color:#fafafa}.error[_ngcontent-%COMP%]{color:#f12828}
1.valid[_ngcontent-%COMP%]{color:#77e38f}.red1[_ngcontent-%COMP%]{color:#f12828}.red[_ngcontent-%COMP%]{color:#ba2a2a}.blue[_ngcontent-%COMP%]{color:#5f78ff}.orange[_ngcontent-%COMP%]{color:#e67e22}.green[_ngcontent-%COMP%]{color:#1ca972}.purple[_ngcontent-%COMP%]{color:#eccefd}.yellow[_ngcontent-%COMP%]{color:#e8c901}.pink[_ngcontent-%COMP%]{color:#ff00cb}.man[_ngcontent-%COMP%]{background-color:#233cc3!important}.woman[_ngcontent-%COMP%]{background-color:#ae2e93!important}.nb[_ngcontent-%COMP%]{background-color:#0e7f52!important}.table[_ngcontent-%COMP%]{font-size:.875rem;font-weight:400;color:#202020;border:1px solid #f4f4f4;border-collapse:separate;border-radius:.5rem;border-spacing:0}.table.header[_ngcontent-%COMP%]{margin-bottom:unset;border-bottom-left-radius:unset;border-bottom-right-radius:unset}.table.body[_ngcontent-%COMP%]{border-top-left-radius:unset;border-top-right-radius:unset;border-top:unset}.table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]{background-color:#fafafa;text-transform:uppercase;color:#afafaf;font-weight:700;font-size:.625rem;margin-bottom:7px}.table[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]{border-radius:.5rem}.table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding:.5rem;vertical-align:middle}.table.footer[_ngcontent-%COMP%]{margin-top:unset;border-top-left-radius:unset;border-top-right-radius:unset}.table[_ngcontent-%COMP%]   tfoot[_ngcontent-%COMP%]{background-color:#fafafa;text-transform:uppercase;color:#afafaf;font-weight:700;font-size:14px;margin-top:7px;white-space:nowrap}[_nghost-%COMP%]{height:100%}[_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]{display:flex;height:100%;flex-direction:column}[_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   #header-wrapper[_ngcontent-%COMP%]{display:flex;width:100%;justify-content:space-between;align-items:center;background-color:#fafafa;border:1px solid #f4f4f4;border-radius:8px;margin-bottom:30px;padding:20px}[_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   #header-wrapper[_ngcontent-%COMP%]   #status-button[_ngcontent-%COMP%]{height:44px;border-color:transparent;background-color:#fff}[_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   #header-wrapper[_ngcontent-%COMP%]   #status-button[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{margin-right:.5rem}[_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   #header-wrapper[_ngcontent-%COMP%]   #status-button[_ngcontent-%COMP%]   #status-label[_ngcontent-%COMP%], [_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   #header-wrapper[_ngcontent-%COMP%]   #status-button[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{color:#707070}[_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   #header-wrapper[_ngcontent-%COMP%]   #status-button[_ngcontent-%COMP%]   #status-name-label[_ngcontent-%COMP%]{color:#202020}[_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   #header-wrapper[_ngcontent-%COMP%]   #status-button[_ngcontent-%COMP%]:hover{background-color:#5f78ff}[_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   #header-wrapper[_ngcontent-%COMP%]   #status-button[_ngcontent-%COMP%]:hover   #status-label[_ngcontent-%COMP%], [_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   #header-wrapper[_ngcontent-%COMP%]   #status-button[_ngcontent-%COMP%]:hover   i[_ngcontent-%COMP%], [_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   #header-wrapper[_ngcontent-%COMP%]   #status-button[_ngcontent-%COMP%]:hover   #status-name-label[_ngcontent-%COMP%]{color:#fff}[_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   #header-wrapper[_ngcontent-%COMP%]   #status-button[_ngcontent-%COMP%]{margin-left:10px}[_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   #header-wrapper[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]{margin:0 .625rem;padding:.5rem .625rem;border-radius:.625rem;font-weight:600;font-size:13px;color:#202020;width:auto;cursor:pointer;transition:all .2s ease}[_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   #header-wrapper[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, [_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   #header-wrapper[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:#f4f4f4}[_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   .append-loader[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;background-color:#5f78ff26;padding:.5em 1em;border-radius:8px;z-index:1000}[_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   table.table.header[_ngcontent-%COMP%] > thead[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > th#reference[_ngcontent-%COMP%]{min-width:120px}[_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   table.table.header[_ngcontent-%COMP%] > thead[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > th#fullname[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   table.table.header[_ngcontent-%COMP%] > thead[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > th#date[_ngcontent-%COMP%]{min-width:150px}[_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   table.table.header[_ngcontent-%COMP%] > thead[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > th#amount-excl[_ngcontent-%COMP%]{min-width:100px}[_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   table.table.header[_ngcontent-%COMP%] > thead[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > th#amount-incl[_ngcontent-%COMP%]{min-width:100px}[_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   table.table.header[_ngcontent-%COMP%] > thead[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > th#status[_ngcontent-%COMP%]{min-width:80px;text-align:center}[_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   table.table.header[_ngcontent-%COMP%] > thead[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > th#actions[_ngcontent-%COMP%]{min-width:80px}[_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   #bill-list-wrapper[_ngcontent-%COMP%]{position:relative;height:100%;overflow:auto}[_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   #bill-list-wrapper[_ngcontent-%COMP%] > table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%]{display:flex;align-items:center}[_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   table.table.footer[_ngcontent-%COMP%] > tfoot[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > td#count[_ngcontent-%COMP%]{min-width:100px;font-size:10px}[_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   table.table.footer[_ngcontent-%COMP%] > tfoot[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > td#empty-1[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   table.table.footer[_ngcontent-%COMP%] > tfoot[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > td#tot-amount-incl[_ngcontent-%COMP%]{min-width:100px;text-align:right}[_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   table.table.footer[_ngcontent-%COMP%] > tfoot[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > td#tot-amount-excl[_ngcontent-%COMP%]{min-width:100px;text-align:right}[_nghost-%COMP%]   .bill-list-wrapper[_ngcontent-%COMP%]   table.table.footer[_ngcontent-%COMP%] > tfoot[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > td#empty-2[_ngcontent-%COMP%]{min-width:80px}']}),l}(),un=p(51900),fn=function(){var l=(0,b.Z)(function g(){(0,P.Z)(this,g)});return l.\u0275fac=function(r){return new(r||l)},l.\u0275mod=n.oAB({type:l}),l.\u0275inj=n.cJS({imports:[[_.ez,un.m,O.Rq,m.m,E.F]]}),l}(),Cn=[{path:"",children:[{path:"",pathMatch:"full",redirectTo:"bills"},{path:"bills",component:G},{path:"credits",component:pn}]}],hn=function(){var l=(0,b.Z)(function g(){(0,P.Z)(this,g)});return l.\u0275fac=function(r){return new(r||l)},l.\u0275mod=n.oAB({type:l}),l.\u0275inj=n.cJS({imports:[[_.ez,x.Bz,K,fn,z.F,x.Bz.forChild(Cn)]]}),l}()}}]);
2//# sourceMappingURL=2438.69c9be03b6924908.js.map

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.