1"use strict";(self.webpackChunkpw=self.webpackChunkpw||[]).push([[882],{90882:(V,m,o)=>{o.r(m),o.d(m,{WorkOrderModule:()=>U});var l=o(36895),v=o(4859),f=o(97392),u=o(51572),g=o(8988),_=o(36e3),s=o(15861),b=o(12510),h=o(15439),d=o.n(h),x=o(9762),M=o(17199),O=o(58259),y=o(23603),C=o(85737),p=o(5158),e=o(94650),P=o(59237),w=o(16325),k=o(57318),D=o(13150),I=o(74391),T=o(68386),z=o(46752);const Y=["pdfBudget"];function B(r,i){1&r&&(e.TgZ(0,"div",10)(1,"div",11),e._UZ(2,"mat-spinner",12),e.TgZ(3,"p",13),e._uU(4,"Cargando\u2026"),e.qZA()()())}function Z(r,i){1&r&&(e.TgZ(0,"div",14),e._UZ(1,"mat-spinner",15),e.TgZ(2,"p",16),e._uU(3,"Loading days..."),e.qZA()())}function F(r,i){1&r&&(e.TgZ(0,"div",17),e._UZ(1,"mat-icon",18),e.TgZ(2,"h3",19),e._uU(3,"Sin jornadas cargadas"),e.qZA(),e.TgZ(4,"p",20),e._uU(5," Las jornadas y servicios se definen en "),e.TgZ(6,"strong",21),e._uU(7,"Invoice"),e.qZA(),e._uU(8,". Aqu\xed solo se muestran para operaci\xf3n, sin editar. "),e.qZA()())}function W(r,i){if(1&r){const n=e.EpF();e.ynx(0),e.TgZ(1,"day-row",23),e.NdJ("busyChange",function(a){e.CHM(n);const c=e.oxw(2);return e.KtG(c.onDayRowBusyChange(a))})("changed",function(){e.CHM(n);const a=e.oxw(2);return e.KtG(a.reloadPDF())})("reload",function(){e.CHM(n);const a=e.oxw(2);return e.KtG(a.loadDays())}),e.qZA(),e.BQk()}if(2&r){const n=i.$implicit,t=e.oxw(2);e.xp6(1),e.Q6J("@fadeInUp",void 0)("dayGroup",n)("evento",t.evento)("hidePrices",!0)("readOnly",!0)}}function G(r,i){if(1&r&&(e.ynx(0),e.YNc(1,W,2,5,"ng-container",22),e.BQk()),2&r){const n=e.oxw();e.xp6(1),e.Q6J("ngForOf",n.dayGroups)}}function N(r,i){if(1&r&&e._UZ(0,"pw-pdf-budget",25,26),2&r){const n=e.oxw(2);e.Q6J("workOrderMode",!0)("totalInvoice",n.totalInvoice)("budgetNumber",n.budgetNumber)("dayGroups",n.dayGroups)("evento",n.evento)}}function S(r,i){if(1&r&&(e.TgZ(0,"div"),e.YNc(1,N,2,5,"pw-pdf-budget",24),e.qZA()),2&r){const n=e.oxw();e.Gre("w-full pdf-wrapper ",n.viewPDF?"show-pdf":""," justify-center flex mt-2 md:mt-0"),e.xp6(1),e.Q6J("ngIf",n.showPdf)}}const j=[{path:"",component:(()=>{class r{constructor(n,t,a,c,R,E){this.eventService=n,this.servicesService=t,this.invoiceService=a,this.route=c,this.changeDetector=R,this.budgetVariantsService=E,this.loading=!0,this.servicesGroups=[],this.today=d()().format("DD.MM.YYYY"),this.eventDate="",this.loadingButton=!1,this.serviceDetailsMap={},this.showPdf=!1,this.totalInvoice=0,this.viewPDF=!1,this.activePresupuestoId=p.FK,this.dayRowsBusyDepth=0}ngOnInit(){O("body").removeClass("pw-style-light")}ngAfterViewInit(){this.initFunctions()}togglePDFView(){this.viewPDF=!this.viewPDF}initFunctions(){var n=this;return(0,s.Z)(function*(){n.eventId=(0,C.Pg)(n.route),yield n.setEvent(n.eventId),n.evento&&(yield n.budgetVariantsService.ensureMigrated(n.eventId,n.evento),n.activePresupuestoId=String(n.evento.activePresupuestoId||p.FK).trim()||p.FK,n.evento.budget=yield n.budgetVariantsService.loadVariantBudget(n.eventId,n.activePresupuestoId,n.evento)),n.loadDays()})()}get showPageBusyOverlay(){return this.loading||this.dayRowsBusyDepth>0||this.loadingButton}onDayRowBusyChange(n){Promise.resolve().then(()=>{n?this.dayRowsBusyDepth++:this.dayRowsBusyDepth=Math.max(0,this.dayRowsBusyDepth-1),this.changeDetector.markForCheck()})}loadDays(){this.servicesService.getDayServicesByEventId(this.eventId,this.activePresupuestoId).then(n=>{n&&(this.dayGroups=n.sort((t,a)=>t.date.seconds-a.date.seconds)),this.loading=!1}).catch(n=>{console.error(n),this.loading=!1})}reloadPDF(){var n=this;return(0,s.Z)(function*(){n.totalInvoice=n.invoiceService.getTotalOfInvoice(n.dayGroups,n.evento),n.showPdf=!1,yield n.sleep(100),n.showPdf=!0})()}sleep(n){return new Promise(t=>setTimeout(t,n))}downloadPdf(){var n=this;return(0,s.Z)(function*(){n.showPdf=!0,yield n.sleep(100),n.pdfBudget&&n.pdfBudget.downloadPdf()})()}setEvent(n){var t=this;return(0,s.Z)(function*(){return new Promise(a=>{t.eventService.getEventById(n).valueChanges().subscribe(c=>{t.evento=c,t.parseDates(),t.setBudgetNumber(c.budgetNumber||0),a(!0)},c=>{t.loading=!1,a(!0)})})})()}setBudgetNumber(n,t=6){this.budgetNumber=n?String(+n+253).padStart(t,"0"):"0".padStart(t,"0")}parseDates(){const n=d()(this.evento.dateFrom),t=d()(this.evento.dateTo);d().locale("es");let a=t.diff(n,"days")+1;this.budgetDate=d()(this.evento.timeStamp).format("DD.MM.YYYY"),this.eventDate=a>1?"Del "+d()(this.evento.dateFrom).format("DD")+" al "+d()(this.evento.dateTo).format("DD [de] MMMM [de] YYYY"):d()(this.evento.dateFrom).format("DD [de] MMMM [de] YYYY")}getParsedDate(){const n=d()(this.evento.dateFrom),t=d()(this.evento.dateTo);let a="";return d()().locale("es"),a=t.diff(n,"days")+1>1?"Desde el "+d()(n).locale("es").format("DD [de] MMMM")+" al "+d()(t).locale("es").format("DD [de] MMMM [de] YYYY"):d()(n).locale("es").format("DD [de] MMMM"),a}}return r.\u0275fac=function(n){return new(n||r)(e.Y36(P.n),e.Y36(w.r),e.Y36(k.b),e.Y36(g.gz),e.Y36(e.sBO),e.Y36(D.r))},r.\u0275cmp=e.Xpm({type:r,selectors:[["pw-work-order"]],viewQuery:function(n,t){if(1&n&&e.Gf(Y,5),2&n){let a;e.iGM(a=e.CRH())&&(t.pdfBudget=a.first)}},decls:11,vars:11,consts:[["actionText","Descargar PDF","icon","download","actionTextLoading","Cargando...","actionBackgroun
1dColor","#c2410c","actionTextColor","#f8fafc",3,"title","subtitle","loading","action"],["mat-button","",1,"flex","items-center","gap-2","px-6","mr-2","py-1","rounded-sm","transition-all","bg-blue-500",3,"click"],["class","invoice-fullscreen-busy","aria-busy","true","aria-live","polite",4,"ngIf"],[1,"flex","flex-col","md:flex-row","h-full","overflow-auto","px-2","pt-2","pb-8","md:px-0","md:pt-0","scroll-smooth","content-invoice","box-border"],[1,"flex","flex-col","w-full","h-full","scroll-smooth","md:py-6","md:pl-6","md:pr-6","box-border","min-w-0"],[1,"flex","w-full","h-full","flex-col","gap-3","md:gap-2","overflow-y-auto","min-w-0"],["class","flex min-h-[30vh] flex-col items-center p-10 justify-center gap-3",4,"ngIf"],["class","bg-[#1a1f2e] rounded-xl p-10 sm:p-12 border border-[#2d3548] text-center mx-0 box-border",4,"ngIf"],[4,"ngIf"],[3,"class",4,"ngIf"],["aria-busy","true","aria-live","polite",1,"invoice-fullscreen-busy"],[1,"invoice-fullscreen-busy__panel"],["diameter","48"],[1,"invoice-fullscreen-busy__text"],[1,"flex","min-h-[30vh]","flex-col","items-center","p-10","justify-center","gap-3"],["diameter","40"],[1,"text-hint"],[1,"bg-[#1a1f2e]","rounded-xl","p-10","sm:p-12","border","border-[#2d3548]","text-center","mx-0","box-border"],["svgIcon","mat:token",1,"w-16","h-16","text-gray-600","mx-auto","mb-4"],[1,"text-gray-400","mb-2"],[1,"text-gray-500","text-sm","max-w-md","mx-auto"],[1,"text-slate-400"],[4,"ngFor","ngForOf"],[3,"dayGroup","evento","hidePrices","readOnly","busyChange","changed","reload"],[3,"workOrderMode","totalInvoice","budgetNumber","dayGroups","evento",4,"ngIf"],[3,"workOrderMode","totalInvoice","budgetNumber","dayGroups","evento"],["pdfBudget",""]],template:function(n,t){1&n&&(e.TgZ(0,"pw-section-header",0),e.NdJ("action",function(){return t.downloadPdf()}),e.TgZ(1,"button",1),e.NdJ("click",function(){return t.togglePDFView()}),e._uU(2),e.qZA()(),e.YNc(3,B,5,0,"div",2),e.TgZ(4,"div",3)(5,"div",4)(6,"div",5),e.YNc(7,Z,4,0,"div",6),e.YNc(8,F,9,0,"div",7),e.YNc(9,G,2,1,"ng-container",8),e.qZA(),e.YNc(10,S,2,4,"div",9),e.qZA()()),2&n&&(e.MGl("title","Orden de trabajo #",t.budgetNumber,""),e.hYB("subtitle","",t.evento?t.getParsedDate():""," ",null!=t.evento&&t.evento.eventInfo.location?", "+(null==t.evento?null:t.evento.eventInfo.location):"",""),e.Q6J("loading",t.loading||t.loadingButton),e.xp6(2),e.hij(" ",t.viewPDF?"Ocultar PDF":"Mostrar PDF"," "),e.xp6(1),e.Q6J("ngIf",t.showPageBusyOverlay),e.xp6(3),e.Q6J("@stagger",t.dayGroups),e.xp6(1),e.Q6J("ngIf",t.loading),e.xp6(1),e.Q6J("ngIf",!(t.loading||t.dayGroups&&t.dayGroups.length)),e.xp6(1),e.Q6J("ngIf",!t.loading),e.xp6(1),e.Q6J("ngIf",null==t.dayGroups?null:t.dayGroups.length))},dependencies:[l.sg,l.O5,I.o,T.M,z.I,v.lW,f.Hw,u.Ou],styles:["[_nghost-%COMP%]{display:block;color:#f1f5f9;color:rgb(var(--pw-text-primary-rgb, 241 245 249))}.invoice-header-actions[_ngcontent-%COMP%]{flex-wrap:nowrap}.invoice-header-actions[_ngcontent-%COMP%] .invoice-header-actions__btn[_ngcontent-%COMP%]{white-space:nowrap;flex-shrink:0}.invoice-variant-card[_ngcontent-%COMP%]{width:100%;border-radius:.75rem;overflow:hidden;border:1px solid #29204f;background:#1a1f2e;box-shadow:0 2px 12px #00000024;transition:border-color .2s ease,box-shadow .2s ease}.invoice-variant-card--expanded[_ngcontent-%COMP%]{border-color:#a855f759;box-shadow:0 4px 20px #0003}.invoice-variant-card__summary[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.45rem;width:100%;min-height:2.5rem;padding:.45rem .75rem;border:0;background:linear-gradient(90deg,#29204f 0%,#323052 100%);color:inherit;text-align:left;cursor:pointer;transition:background .2s ease}.invoice-variant-card__summary[_ngcontent-%COMP%]:hover{background:linear-gradient(90deg,#31275c 0%,#3a3860 100%)}.invoice-variant-card__summary[_ngcontent-%COMP%]:focus-visible{outline:2px solid rgba(168,85,247,.55);outline-offset:-2px}.invoice-variant-card__summary-number[_ngcontent-%COMP%]{flex-shrink:0;font-size:.8125rem;font-weight:700;letter-spacing:.02em;color:#c4b5fd}.invoice-variant-card__summary-sep[_ngcontent-%COMP%]{flex-shrink:0;color:#64748b;font-size:.875rem}
1.invoice-variant-card__summary-name[_ngcontent-%COMP%]{flex:1;min-width:0;font-size:.875rem;font-weight:600;color:#f1f5f9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.invoice-variant-card__summary-spacer[_ngcontent-%COMP%]{flex:0 0 .25rem}.invoice-variant-card__chevron[_ngcontent-%COMP%]{flex-shrink:0;width:1.25rem!important;height:1.25rem!important;font-size:1.25rem;color:#94a3b8;transition:transform .2s ease,color .2s ease}.invoice-variant-card--expanded[_ngcontent-%COMP%] .invoice-variant-card__chevron[_ngcontent-%COMP%]{color:#c4b5fd}.invoice-variant-card__expand[_ngcontent-%COMP%]{display:grid;grid-template-rows:0fr;transition:grid-template-rows .22s ease}.invoice-variant-card--expanded[_ngcontent-%COMP%] .invoice-variant-card__expand[_ngcontent-%COMP%]{grid-template-rows:1fr}.invoice-variant-card__expand-inner[_ngcontent-%COMP%]{overflow:hidden;min-height:0}.invoice-variant-card__panel[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.85rem;padding:.85rem .9rem;border-top:1px solid rgba(148,163,184,.1);background:linear-gradient(180deg,rgba(15,23,42,.35) 0%,rgba(26,31,46,.2) 100%)}.invoice-variant-card__order-block[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.5rem}.invoice-variant-card__order-label[_ngcontent-%COMP%]{font-size:.8125rem;font-weight:600;color:#e2e8f0eb}.invoice-variant-card__order-hint[_ngcontent-%COMP%]{font-weight:400;color:#94a3b8e6}.invoice-variant-card__order-list[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:.45rem;align-items:stretch}.invoice-variant-card__order-item[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.25rem;padding:.35rem .5rem .35rem .3rem;border-radius:.625rem;border:1px solid rgba(148,163,184,.22);background:rgba(15,23,42,.45);cursor:default;max-width:min(100%,14rem)}.invoice-variant-card__order-item--active[_ngcontent-%COMP%]{border-color:#8b5cf68c;background:rgba(91,33,182,.18)}.invoice-variant-card__order-drag[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;padding:0;margin:0;border:0;background:transparent;color:#94a3b8f2;cursor:grab;touch-action:none}.invoice-variant-card__order-drag[_ngcontent-%COMP%]:disabled{opacity:.45;cursor:not-allowed}.invoice-variant-card__order-drag[_ngcontent-%COMP%]:not(:disabled):active{cursor:grabbing}.invoice-variant-card__order-drag[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{width:1.125rem;height:1.125rem;font-size:1.125rem}.invoice-variant-card__order-index[_ngcontent-%COMP%]{flex:0 0 auto;font-size:.6875rem;font-weight:700;color:#94a3b8d9;min-width:.85rem;text-align:center}.invoice-variant-card__order-name[_ngcontent-%COMP%]{flex:1 1 auto;min-width:0;font-size:.8125rem;font-weight:500;color:#f1f5f9f2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cdk-drag-preview.invoice-variant-card__order-item[_ngcontent-%COMP%]{box-shadow:0 8px 24px #00000059}.cdk-drag-placeholder.invoice-variant-card__order-item[_ngcontent-%COMP%]{opacity:.35}.invoice-variant-card__selector-row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.55rem}.invoice-variant-card__select-field[_ngcontent-%COMP%]{flex:1 1 auto;min-width:0;margin:0}.invoice-variant-card__select-field[_ngcontent-%COMP%] .mat-mdc-form-field-subscript-wrapper{display:none}.invoice-variant-card__select-field[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper{background:rgba(15,23,42,.55);border-radius:.625rem}.invoice-variant-card__select-field[_ngcontent-%COMP%] .mdc-notched-outline__leading, .invoice-variant-card__select-field[_ngcontent-%COMP%] .mdc-notched-outline__notch, .invoice-variant-card__select-field[_ngcontent-%COMP%] .mdc-notched-outline__trailing{border-color:#94a3b847!important}.invoice-variant-card__select-field[_ngcontent-%COMP%] .mat-mdc-select-value, .invoice-variant-card__select-field[_ngcontent-%COMP%] .mat-mdc-floating-label{color:#e2e8f0}.invoice-variant-card__icon-actions[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.35rem;flex-shrink:0;padding-top:.15rem}.invoice-variant-card__portal-off-notice[_ngcontent-%COMP%], .invoice-variant-card__portal-synced-notice[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:.5rem;padding:.55rem .65rem;border-radius:.5rem;font-size:.8125rem;line-height:1.45}.invoice-variant-card__portal-off-notice[_ngcontent-%COMP%]{color:#fbbf24f2;background:rgba(245,158,11,.1);border:1px solid rgba(245,158,11,.28)}.invoice-variant-card__portal-off-notice-icon[_ngcontent-%COMP%]{flex:0 0 auto;width:1.125rem;height:1.125rem;font-size:1.125rem;margin-top:.1rem}.invoice-variant-card__portal-synced-notice[_ngcontent-%COMP%]{color:#6ee7b7f2;background:rgba(16,185,129,.1);border:1px solid rgba(5,150,105,.32)}.invoice-variant-card__portal-synced-notice-icon[_ngcontent-%COMP%]{flex:0 0 auto;width:1.125rem;height:1.125rem;font-size:1.125rem;margin-top:.1rem}.invoice-variant-card__badge--portal-not-published[_ngcontent-%COMP%]{color:#94a3b8;background:rgba(148,163,184,.14);border-color:#94a3b859}.invoice-variant-card__badge--portal-off[_ngcontent-%COMP%]{color:#fbbf24;background:rgba(245,158,11,.12);border-color:#f59e0b59}.invoice-variant-card__replace-portal-btn[_ngcontent-%COMP%]{flex-shrink:0}.invoice-variant-card__replace-portal-btn[_ngcontent-%COMP%] .atomic-button{height:40px;min-height:40px;padding:0 12px;gap:.35rem}.invoice-variant-card__replace-portal-btn[_ngcontent-%COMP%] .atomic-button__icon{width:1.25rem!important;height:1.25rem!important;font-size:1.25rem!important}.invoice-variant-card__replace-portal-btn[_ngcontent-%COMP%] .atomic-button__icon.mr-2{margin-right:.35rem!important}.invoice-variant-card__replace-portal-btn--synced[_ngcontent-%COMP%] .atomic-button{background:rgba(16,185,129,.18)!important;border-color:#05966973!important;color:#6ee7b7!important}.invoice-variant-card__replace-portal-btn--out-of-sync[_ngcontent-%COMP%] .atomic-button{background:rgba(245,158,11,.14)!important;border-color:#f59e0b66!important;color:#fcd34d!important}.invoice-variant-card__footer[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap;margin:0 -.9rem -.85rem;padding:.75rem .9rem;border-top:1px solid rgba(148,163,184,.12);background:rgba(15,23,42,.38)}.invoice-variant-card__delete-btn[_ngcontent-%COMP%]{flex-shrink:0}.invoice-variant-card__approve-wrap[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.5rem;margin-left:auto}.invoice-variant-card__approve-btn[_ngcontent-%COMP%]{box-shadow:0 4px 14px #a855f738}.invoice-variant-card__disapprove-btn[_ngcontent-%COMP%] .atomic-button{border-color:#f8717173!important;color:#fecaca!important}.invoice-variant-card__approved-notice[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:.75rem;margin:0 0 .85rem;padding:.75rem .85rem;border-radius:.65rem;background:linear-gradient(135deg,rgba(16,185,129,.14) 0%,rgba(5,150,105,.08) 100%);border:1px solid rgba(52,211,153,.32);box-shadow:inset 0 1px #ffffff0a}.invoice-variant-card__approved-notice-icon-wrap[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:2rem;height:2rem;border-radius:9999px;background:rgba(16,185,129,.2);border:1px solid rgba(52,211,153,.35)}.invoice-variant-card__approved-notice-icon[_ngcontent-%COMP%]{width:1.15rem;height:1.15rem;font-size:1.15rem;color:#6ee7b7}.invoice-variant-card__approved-notice-body[_ngcontent-%COMP%]{min-width:0}.invoice-variant-card__approved-notice-title[_ngcontent-%COMP%]{font-size:.82rem;font-weight:650;letter-spacing:.01em;color:#a7f3d0;margin-bottom:.2rem!important}.invoice-variant-card__approved-notice-text[_ngcontent-%COMP%]{font-size:.76rem;line-height:1.45;color:#d1fae5e0}.invoice-variant-card__badge[_ngcontent-%COMP%]{display:inline-flex;align-items:center;padding:.15rem .45rem;border-radius:9999px;font-size:.625rem;font-weight:600;letter-spacing:.03em;text-transform:uppercase}.invoice-variant-card__badge--inline[_ngcontent-%COMP%]{margin-right:.15rem}.invoice-variant-card__badge--active[_ngcontent-%COMP%]{color:#c4b5fd;background:rgba(168,85,247,.18);border:1px solid rgba(168,85,247,.35)}.invoice-variant-card__badge--approved[_ngcontent-%COMP%]{color:#6ee7b7;background:rgba(16,185,129,.14);border:1px solid rgba(52,211,153,.35)}.invoice-variant-card__badge--portal-out-of-sync[_ngcontent-%COMP%]{color:#fcd34d;background:rgba(245,158,11,.16);border:1px solid rgba(245,158,11,.38)}.invoice-variant-card__badge--portal-synced[_ngcontent-%COMP%]{color:#93c5fd;background:rgba(59,130,246,.14);border:1px solid rgba(96,165,250,.35)}.invoice-variant-card__portal-sync-notice[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:.5rem;margin:0 0 .75rem;padding:.6rem .75rem;font-size:.78rem;line-height:1.45;color:#fde68a;background:rgba(245,158,11,.1);border:1px solid rgba(245,158,11,.28);border-radius:.5rem}.invoice-variant-card__portal-sync-notice-icon[_ngcontent-%COMP%]{width:1.1rem;height:1.1rem;font-size:1.1rem;flex-shrink:0;margin-top:.05rem;color:#fbbf24}.invoice-variant-card__rules-hint[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:.5rem;margin:0;padding:.55rem .75rem .65rem;font-size:.75rem;line-height:1.45;color:#fbbf24;background:rgba(245,158,11,.08);border-top:1px solid rgba(245,158,11,.2)}.invoice-variant-card__rules-hint[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{font-size:.6875rem;color:#fde68a;word-break:break-all}.invoice-variant-card__rules-icon[_ngcontent-%COMP%]{width:1rem;height:1rem;font-size:1rem;flex-shrink:0;margin-top:.05rem}@media (max-width: 640px){.invoice-variant-card__selector-row[_ngcontent-%COMP%]{flex-direction:column;align-items:stretch}.invoice-variant-card__icon-actions[_ngcontent-%COMP%]{justify-content:flex-end;padding-top:0}.invoice-variant-card__footer[_ngcontent-%COMP%]{flex-direction:column;align-items:stretch}.invoice-variant-card__approve-wrap[_ngcontent-%COMP%]{margin-left:0;justify-content:flex-end}}@media print{.p-gutter[_ngcontent-%COMP%]{padding:0!important}.card[_ngcontent-%COMP%]{box-shadow:none!important}}.table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-left:var(--padding);padding-right:var(--padding)}.pdf-offscreen-export[_ngcontent-%COMP%]{position:fixed;left:-10000px;top:0;width:794px;opacity:0;pointer-events:none;z-index:-1}.pdf-wrapper[_ngcontent-%COMP%]{height:0;overflow:hidden;transition:all .3s ease}.pdf-wrapper.show-pdf[_ngcontent-%COMP%]{height:-moz-fit-content;height:fit-content;transition:all .6s ease;margin-top:2rem}tr[_ngcontent-%COMP%]{background:transparent;transition:all .3s ease;-webkit-transition:all .3s ease;-moz-transition:all .3s ease;-ms-transition:all .3s ease;-o-transition:all .3s ease}tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:hover{background:rgba(148,163,184,.06);
1background:var(--pw-table-hover, rgba(148, 163, 184, .06));transition:all .3s ease}.empty-row[_ngcontent-%COMP%]{background:rgba(15,23,42,.52);background:var(--pw-card-surface, rgba(15, 23, 42, .52));margin-top:10px;border-radius:12px;border:2px dashed rgba(148,163,184,.22);border:2px dashed var(--pw-card-border, rgba(148, 163, 184, .22));display:flex;justify-content:center;align-items:center;cursor:pointer;transition:all .3s ease}.empty-row[_ngcontent-%COMP%]:hover{background:rgba(15,23,42,.58);background:var(--pw-input-surface-focus, rgba(15, 23, 42, .58));border-color:#818cf859}tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{width:20px}tr[_ngcontent-%COMP%] .delete-btn[_ngcontent-%COMP%]{opacity:0;position:absolute;transform:translate(-88px,-18px);transition:all .3s ease;-webkit-transition:all .3s ease;-moz-transition:all .3s ease;-ms-transition:all .3s ease;-o-transition:all .3s ease;-webkit-transform:translate(-88px,-18px);-moz-transform:translate(-88px,-18px);-ms-transform:translate(-88px,-18px);-o-transform:translate(-88px,-18px)}tr[_ngcontent-%COMP%]:hover .delete-btn[_ngcontent-%COMP%]{position:absolute;opacity:1;transform:translate(-21px,-18px);transition:all .3s ease;-webkit-transition:all .3s ease;-moz-transition:all .3s ease;-ms-transition:all .3s ease;-o-transition:all .3s ease;-webkit-transform:translate(-21px,-18px);-moz-transform:translate(-21px,-18px);-ms-transform:translate(-21px,-18px);-o-transform:translate(-21px,-18px)}.mat-form-field-wrapper[_ngcontent-%COMP%]{margin:0!important;padding-bottom:0}.content-invoice[_ngcontent-%COMP%]{max-height:calc(100vh - 156px)!important}.invoice-fullscreen-busy[_ngcontent-%COMP%]{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;background:rgba(15,23,42,.72);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}.invoice-fullscreen-busy__panel[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:1rem;padding:2rem 2.5rem;border-radius:12px;background:rgba(30,41,59,.96);border:1px solid rgba(148,163,184,.28);box-shadow:0 25px 50px #00000073}.invoice-fullscreen-busy__text[_ngcontent-%COMP%]{margin:0;color:#e2e8f0;font-size:1rem}.resume[_ngcontent-%COMP%]{max-height:12vh}"],data:{animation:[x.v$,b.$_,M.f,y.a]}}),r})(),data:{toolbarShadowEnabled:!0,containerEnabled:!0}}];let J=(()=>{class r{}return r.\u0275fac=function(n){return new(n||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[g.Bz.forChild(j),g.Bz,_.d8]}),r})();var Q=o(41538),A=o(31077);let U=(()=>{class r{}return r.\u0275fac=function(n){return new(n||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[l.ez,A.c,J,Q.e,v.ot,f.Ps,u.Cq]}),r})()}}]);
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.