1import{G as we,a as Ve,b as Qe,c as se,d as Ue,e as q,f as re,k as We,m as $e}from"./chunk-QD3GASHS.js";import{c as Be,h as ze}from"./chunk-5REHEGO5.js";import{d as Le}from"./chunk-5HKFZRXS.js";import{$b as z,Bb as Z,Bc as b,Cc as k,Db as B,Ea as te,G as ye,Gb as m,Hb as N,Ja as D,Ka as je,Nb as ie,Nc as w,Oc as O,P as _e,Qa as F,Ra as Pe,Vb as ne,da as H,ec as T,f as W,fc as E,g as j,ja as Ne,jc as y,ka as X,ma as J,md as He,nd as V,o as Me,oa as Ae,p as P,pa as $,r as Oe,rd as S,sb as L,ta as f,tb as l,ua as I,uc as oe,va as ee,vb as C,vc as M,w as Y,wa as u,x as G,zc as R}from"./chunk-D7PWJ4UE.js";var lt=[[["caption"]],[["colgroup"],["col"]],"*"],ct=["caption","colgroup, col","*"];function dt(o,e){o&1&&M(0,2)}function ht(o,e){o&1&&(T(0,"thead",0),y(1,1),E(),T(2,"tbody",0),y(3,2)(4,3),E(),T(5,"tfoot",0),y(6,4),E())}function ut(o,e){o&1&&y(0,1)(1,2)(2,3)(3,4)}var v=new J("CDK_TABLE");var ue=(()=>{let e=class e{constructor(t){this.template=t}};e.\u0275fac=function(i){return new(i||e)(l(C))},e.\u0275dir=u({type:e,selectors:[["","cdkCellDef",""]],standalone:!0});let o=e;return o})(),fe=(()=>{let e=class e{constructor(t){this.template=t}};e.\u0275fac=function(i){return new(i||e)(l(C))},e.\u0275dir=u({type:e,selectors:[["","cdkHeaderCellDef",""]],standalone:!0});let o=e;return o})(),Ke=(()=>{let e=class e{constructor(t){this.template=t}};e.\u0275fac=function(i){return new(i||e)(l(C))},e.\u0275dir=u({type:e,selectors:[["","cdkFooterCellDef",""]],standalone:!0});let o=e;return o})(),Q=(()=>{let e=class e{get name(){return this._name}set name(t){this._setNameInput(t)}get sticky(){return this._sticky}set sticky(t){t!==this._sticky&&(this._sticky=t,this._hasStickyChanged=!0)}get stickyEnd(){return this._stickyEnd}set stickyEnd(t){t!==this._stickyEnd&&(this._stickyEnd=t,this._hasStickyChanged=!0)}constructor(t){this._table=t,this._hasStickyChanged=!1,this._sticky=!1,this._stickyEnd=!1}hasStickyChanged(){let t=this._hasStickyChanged;return this.resetStickyChanged(),t}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(t){t&&(this._name=t,this.cssClassFriendlyName=t.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}};e.\u0275fac=function(i){return new(i||e)(l(v,8))},e.\u0275dir=u({type:e,selectors:[["","cdkColumnDef",""]],contentQueries:function(i,n,r){if(i&1&&(R(r,ue,5),R(r,fe,5),R(r,Ke,5)),i&2){let s;b(s=k())&&(n.cell=s.first),b(s=k())&&(n.headerCell=s.first),b(s=k())&&(n.footerCell=s.first)}},inputs:{name:[f.None,"cdkColumnDef","name"],sticky:[f.HasDecoratorInputTransform,"sticky","sticky",S],stickyEnd:[f.HasDecoratorInputTransform,"stickyEnd","stickyEnd",S]},standalone:!0,features:[w([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),N]});let o=e;return o})(),le=class{constructor(e,a){a.nativeElement.classList.add(...e._columnCssClassName)}},Ye=(()=>{let e=class e extends le{constructor(t,i){super(t,i)}};e.\u0275fac=function(i){return new(i||e)(l(Q),l(F))},e.\u0275dir=u({type:e,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],standalone:!0,features:[m]});let o=e;return o})();var Ge=(()=>{let e=class e extends le{constructor(t,i){super(t,i);let n=t._table?._getCellRole();n&&i.nativeElement.setAttribute("role",n)}};e.\u0275fac=function(i){return new(i||e)(l(Q),l(F))},e.\u0275dir=u({type:e,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],standalone:!0,features:[m]});let o=e;return o})(),ce=class{constructor(){this.tasks=[],this.endTasks=[]}},de=new J("_COALESCED_STYLE_SCHEDULER"),ve=(()=>{let e=class e{constructor(t){this._ngZone=t,this._currentSchedule=null,this._destroyed=new W}schedule(t){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(t)}scheduleEnd(t){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(t)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new ce,this._getScheduleObservable().pipe(H(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){let t=this._currentSchedule;this._currentSchedule=new ce;for(let i of t.tasks)i();for(let i of t.endTasks)i()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?Me(Promise.resolve(void 0)):this._ngZone.onStable.pipe(_e(1))}};e.\u0275fac=function(i){return new(i||e)(Ae(Z))},e.\u0275prov=Ne({token:e,factory:e.\u0275fac});let o=e;return o}
1)();var Ce=(()=>{let e=class e{constructor(t,i){this.template=t,this._differs=i}ngOnChanges(t){if(!this._columnsDiffer){let i=t.columns&&t.columns.currentValue||[];this._columnsDiffer=this._differs.find(i).create(),this._columnsDiffer.diff(i)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(t){return this instanceof K?t.headerCell.template:this instanceof Re?t.footerCell.template:t.cell.template}};e.\u0275fac=function(i){return new(i||e)(l(C),l(V))},e.\u0275dir=u({type:e,features:[te]});let o=e;return o})(),K=(()=>{let e=class e extends Ce{get sticky(){return this._sticky}set sticky(t){t!==this._sticky&&(this._sticky=t,this._hasStickyChanged=!0)}constructor(t,i,n){super(t,i),this._table=n,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(t){super.ngOnChanges(t)}hasStickyChanged(){let t=this._hasStickyChanged;return this.resetStickyChanged(),t}resetStickyChanged(){this._hasStickyChanged=!1}};e.\u0275fac=function(i){return new(i||e)(l(C),l(V),l(v,8))},e.\u0275dir=u({type:e,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[f.None,"cdkHeaderRowDef","columns"],sticky:[f.HasDecoratorInputTransform,"cdkHeaderRowDefSticky","sticky",S]},standalone:!0,features:[N,m,te]});let o=e;return o})(),Re=(()=>{let e=class e extends Ce{get sticky(){return this._sticky}set sticky(t){t!==this._sticky&&(this._sticky=t,this._hasStickyChanged=!0)}constructor(t,i,n){super(t,i),this._table=n,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(t){super.ngOnChanges(t)}hasStickyChanged(){let t=this._hasStickyChanged;return this.resetStickyChanged(),t}resetStickyChanged(){this._hasStickyChanged=!1}};e.\u0275fac=function(i){return new(i||e)(l(C),l(V),l(v,8))},e.\u0275dir=u({type:e,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[f.None,"cdkFooterRowDef","columns"],sticky:[f.HasDecoratorInputTransform,"cdkFooterRowDefSticky","sticky",S]},standalone:!0,features:[N,m,te]});let o=e;return o})(),me=(()=>{let e=class e extends Ce{constructor(t,i,n){super(t,i),this._table=n}};e.\u0275fac=function(i){return new(i||e)(l(C),l(V),l(v,8))},e.\u0275dir=u({type:e,selectors:[["","cdkRowDef",""]],inputs:{columns:[f.None,"cdkRowDefColumns","columns"],when:[f.None,"cdkRowDefWhen","when"]},standalone:!0,features:[m]});let o=e;return o})(),A=(()=>{let e=class e{constructor(t){this._viewContainer=t,e.mostRecentCellOutlet=this}ngOnDestroy(){e.mostRecentCellOutlet===this&&(e.mostRecentCellOutlet=null)}};e.mostRecentCellOutlet=null,e.\u0275fac=function(i){return new(i||e)(l(B))},e.\u0275dir=u({type:e,selectors:[["","cdkCellOutlet",""]],standalone:!0});let o=e;return o})(),be=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=I({type:e,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],standalone:!0,features:[O],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,n){i&1&&y(0,0)},dependencies:[A],encapsulation:2});let o=e;return o})();var ke=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=I({type:e,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],standalone:!0,features:[O],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,n){i&1&&y(0,0)},dependencies:[A],encapsulation:2});let o=e;return o})(),pe=(()=>{let e=class e{constructor(t){this.templateRef=t,this._contentClassName="cdk-no-data-row"}};e.\u0275fac=function(i){return new(i||e)(l(C))},e.\u0275dir=u({type:e,selectors:[["ng-template","cdkNoDataRow",""]],standalone:!0});let o=e;return o})(),Ze=["top","bottom","left","right"],De=class{constructor(e,a,t,i,n=!0,r=!0,s){this._isNativeHtmlTable=e,this._stickCellCss=a,this.direction=t,this._coalescedStyleScheduler
1=i,this._isBrowser=n,this._needsPositionStickyOnElement=r,this._positionListener=s,this._cachedCellWidths=[],this._borderCellCss={top:`${a}-border-elem-top`,bottom:`${a}-border-elem-bottom`,left:`${a}-border-elem-left`,right:`${a}-border-elem-right`}}clearStickyPositioning(e,a){let t=[];for(let i of e)if(i.nodeType===i.ELEMENT_NODE){t.push(i);for(let n=0;n<i.children.length;n++)t.push(i.children[n])}this._coalescedStyleScheduler.schedule(()=>{for(let i of t)this._removeStickyStyle(i,a)})}updateStickyColumns(e,a,t,i=!0){if(!e.length||!this._isBrowser||!(a.some(n=>n)||t.some(n=>n))){this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]}));return}this._coalescedStyleScheduler.schedule(()=>{let n=e[0],r=n.children.length,s=this._getCellWidths(n,i),c=this._getStickyStartColumnPositions(s,a),d=this._getStickyEndColumnPositions(s,t),h=a.lastIndexOf(!0),g=t.indexOf(!0),p=this.direction==="rtl",x=p?"right":"left",ge=p?"left":"right";for(let U of e)for(let _=0;_<r;_++){let Ee=U.children[_];a[_]&&this._addStickyStyle(Ee,x,c[_],_===h),t[_]&&this._addStickyStyle(Ee,ge,d[_],_===g)}this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:h===-1?[]:s.slice(0,h+1).map((U,_)=>a[_]?U:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:g===-1?[]:s.slice(g).map((U,_)=>t[_+g]?U:null).reverse()}))})}stickRows(e,a,t){this._isBrowser&&this._coalescedStyleScheduler.schedule(()=>{let i=t==="bottom"?e.slice().reverse():e,n=t==="bottom"?a.slice().reverse():a,r=[],s=[],c=[];for(let h=0,g=0;h<i.length;h++){if(!n[h])continue;r[h]=g;let p=i[h];c[h]=this._isNativeHtmlTable?Array.from(p.children):[p];let x=p.getBoundingClientRect().height;g+=x,s[h]=x}let d=n.lastIndexOf(!0);for(let h=0;h<i.length;h++){if(!n[h])continue;let g=r[h],p=h===d;for(let x of c[h])this._addStickyStyle(x,t,g,p)}t==="top"?this._positionListener?.stickyHeaderRowsUpdated({sizes:s,offsets:r,elements:c}):this._positionListener?.stickyFooterRowsUpdated({sizes:s,offsets:r,elements:c})})}updateStickyFooterContainer(e,a){this._isNativeHtmlTable&&this._coalescedStyleScheduler.schedule(()=>{let t=e.querySelector("tfoot");t&&(a.some(i=>!i)?this._removeStickyStyle(t,["bottom"]):this._addStickyStyle(t,"bottom",0,!1))})}_removeStickyStyle(e,a){for(let i of a)e.style[i]="",e.classList.remove(this._borderCellCss[i]);Ze.some(i=>a.indexOf(i)===-1&&e.style[i])?e.style.zIndex=this._getCalculatedZIndex(e):(e.style.zIndex="",this._needsPositionStickyOnElement&&(e.style.position=""),e.classList.remove(this._stickCellCss))}_addStickyStyle(e,a,t,i){e.classList.add(this._stickCellCss),i&&e.classList.add(this._borderCellCss[a]),e.style[a]=`${t}px`,e.style.zIndex=this._getCalculatedZIndex(e),this._needsPositionStickyOnElement&&(e.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(e){let a={top:100,bottom:10,left:1,right:1},t=0;for(let i of Ze)e.style[i]&&(t+=a[i]);return t?`${t}`:""}_getCellWidths(e,a=!0){if(!a&&this._cachedCellWidths.length)return this._cachedCellWidths;let t=[],i=e.children;for(let n=0;n<i.length;n++){let r=i[n];t.push(r.getBoundingClientRect().width)}return this._cachedCellWidths=t,t}_getStickyStartColumnPositions(e,a){let t=[],i=0;for(let n=0;n<e.length;n++)a[n]&&(t[n]=i,i+=e[n]);return t}_getStickyEndColumnPositions(e,a){let t=[],i=0;for(let n=e.length;n>0;n--)a[n]&&(t[n]=i,i+=e[n]);return t}};var he=new J("CDK_SPL");var Se=(()=>{let e=class e{constructor(t,i){this.viewContainer=t,this.elementRef=i;let n=$(v);n._rowOutlet=this,n._outletAssigned()}};e.\u0275fac=function(i){return new(i||e)(l(B),l(F))},e.\u0275dir=u({type:e,selectors:[["","rowOutlet",""]],standalone:!0});let o=e;return o})(),xe=(()=>{let e=class e{constructor(t,i){this.viewContainer=t,this.elementRef=i;let n=$(v);n._headerRowOutlet=this,n._outletAssigned()}};e.\u0275fac=function(i){return new(i||e)(l(B),l(F))},e.\u0275dir=u({type:e,selectors:[["","headerRowOutlet",""]],standalone:!0});let o=e;return o})(),Ie=(()=>{let e=class e{constructor(t,i){this.viewContainer=t,this.elementRef=i;let n=$(v);n._footerRowOutlet=this,n._outletAssigned()}};e.\u0275fac=function(i){return new(i||e)(l(B),l(F))},e.\u0275dir=u({type:e,selectors:[["","footerRowOutlet",""]],standalone:!0});let o=e;return o}
1)(),Fe=(()=>{let e=class e{constructor(t,i){this.viewContainer=t,this.elementRef=i;let n=$(v);n._noDataRowOutlet=this,n._outletAssigned()}};e.\u0275fac=function(i){return new(i||e)(l(B),l(F))},e.\u0275dir=u({type:e,selectors:[["","noDataRowOutlet",""]],standalone:!0});let o=e;return o})();var Te=(()=>{let e=class e{_getCellRole(){if(this._cellRoleInternal===void 0){let t=this._elementRef.nativeElement.getAttribute("role"),i=t==="grid"||t==="treegrid"?"gridcell":"cell";this._cellRoleInternal=this._isNativeHtmlTable&&i==="cell"?null:i}return this._cellRoleInternal}get trackBy(){return this._trackByFn}set trackBy(t){this._trackByFn=t}get dataSource(){return this._dataSource}set dataSource(t){this._dataSource!==t&&this._switchDataSource(t)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(t){this._multiTemplateDataRows=t,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(t){this._fixedLayout=t,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(t,i,n,r,s,c,d,h,g,p,x,ge){this._differs=t,this._changeDetectorRef=i,this._elementRef=n,this._dir=s,this._platform=d,this._viewRepeater=h,this._coalescedStyleScheduler
1=g,this._viewportRuler=p,this._stickyPositioningListener=x,this._ngZone=ge,this._onDestroy=new W,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._hasAllOutlets=!1,this._hasInitialized=!1,this._cellRoleInternal=void 0,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new Pe,this.viewChange=new j({start:0,end:Number.MAX_VALUE}),r||n.nativeElement.setAttribute("role","table"),this._document=c,this._isServer=!d.isBrowser,this._isNativeHtmlTable=n.nativeElement.nodeName==="TABLE"}ngOnInit(){this._setupStickyStyler(),this._dataDiffer=this._differs.find([]).create((t,i)=>this.trackBy?this.trackBy(i.dataIndex,i.data):i),this._viewportRuler.change().pipe(H(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(t=>{t?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),se(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();let t=this._dataDiffer.diff(this._renderRows);if(!t){this._updateNoDataRow(),this.contentChanged.next();return}let i=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(t,i,(n,r,s)=>this._getEmbeddedViewArgs(n.item,s),n=>n.item.data,n=>{n.operation===Ue.INSERTED&&n.context&&this._renderCellTemplateForItem(n.record.item.rowDef,n.context)}),this._updateRowIndexContext(),t.forEachIdentityChange(n=>{let r=i.get(n.currentIndex);r.context.$implicit=n.item.data}),this._updateNoDataRow(),this._ngZone&&Z.isInAngularZone()?this._ngZone.onStable.pipe(_e(1),H(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(t){this._customColumnDefs.add(t)}removeColumnDef(t){this._customColumnDefs.delete(t)}addRowDef(t){this._customRowDefs.add(t)}removeRowDef(t){this._customRowDefs.delete(t)}addHeaderRowDef(t){this._customHeaderRowDefs.add(t),this._headerRowDefChanged=!0}removeHeaderRowDef(t){this._customHeaderRowDefs.delete(t),this._headerRowDefChanged=!0}addFooterRowDef(t){this._customFooterRowDefs.add(t),this._footerRowDefChanged=!0}removeFooterRowDef(t){this._customFooterRowDefs.delete(t),this._footerRowDefChanged=!0}setNoDataRow(t){this._customNoDataRow=t}updateStickyHeaderRowStyles(){let t=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){let n=qe(this._headerRowOutlet,"thead");n&&(n.style.display=t.length?"":"none")}let i=this._headerRowDefs.map(n=>n.sticky);this._stickyStyler.clearStickyPositioning(t,["top"]),this._stickyStyler.stickRows(t,i,"top"),this._headerRowDefs.forEach(n=>n.resetStickyChanged())}updateStickyFooterRowStyles(){let t=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let n=qe(this._footerRowOutlet,"tfoot");n&&(n.style.display=t.length?"":"none")}let i=this._footerRowDefs.map(n=>n.sticky);this._stickyStyler.clearStickyPositioning(t,["bottom"]),this._stickyStyler.stickRows(t,i,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,i),this._footerRowDefs.forEach(n=>n.resetStickyChanged())}updateStickyColumnStyles(){let t=this._getRenderedRows(this._headerRowOutlet),i=this._getRenderedRows(this._rowOutlet),n=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...t,...i,...n],["left","right"]),this._stickyColumnStylesNeedReset=!1),t.forEach((r,s)=>{this._addStickyColumnStyles([r],this._headerRowDefs[s])}
1),this._rowDefs.forEach(r=>{let s=[];for(let c=0;c<i.length;c++)this._renderRows[c].rowDef===r&&s.push(i[c]);this._addStickyColumnStyles(s,r)}),n.forEach((r,s)=>{this._addStickyColumnStyles([r],this._footerRowDefs[s])}),Array.from(this._columnDefsByName.values()).forEach(r=>r.resetStickyChanged())}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&this._rowDefs.length;let i=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||i,this._forceRecalculateCellWidths=i,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){let t=[],i=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let n=0;n<this._data.length;n++){let r=this._data[n],s=this._getRenderRowsForData(r,n,i.get(r));this._cachedRenderRowsMap.has(r)||this._cachedRenderRowsMap.set(r,new WeakMap);for(let c=0;c<s.length;c++){let d=s[c],h=this._cachedRenderRowsMap.get(d.data);h.has(d.rowDef)?h.get(d.rowDef).push(d):h.set(d.rowDef,[d]),t.push(d)}}return t}_getRenderRowsForData(t,i,n){return this._getRowDefs(t,i).map(s=>{let c=n&&n.has(s)?n.get(s):[];if(c.length){let d=c.shift();return d.dataIndex=i,d}else return{data:t,rowDef:s,dataIndex:i}})}_cacheColumnDefs(){this._columnDefsByName.clear(),ae(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(i=>{this._columnDefsByName.has(i.name),this._columnDefsByName.set(i.name,i)})}_cacheRowDefs(){this._headerRowDefs=ae(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=ae(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=ae(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let t=this._rowDefs.filter(i=>!i.when);!this.multiTemplateDataRows&&t.length>1,this._defaultRowDef=t[0]}_renderUpdatedColumns(){let t=(s,c)=>s||!!c.getColumnsDiff(),i=this._rowDefs.reduce(t,!1);i&&this._forceRenderDataRows();let n=this._headerRowDefs.reduce(t,!1);n&&this._forceRenderHeaderRows();let r=this._footerRowDefs.reduce(t,!1);return r&&this._forceRenderFooterRows(),i||n||r}_switchDataSource(t){this._data=[],se(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),t||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=t}_observeRenderChanges(){if(!this.dataSource)return;let t;se(this.dataSource)?t=this.dataSource.connect(this):Oe(this.dataSource)?t=this.dataSource:Array.isArray(this.dataSource)&&(t=P(this.dataSource)),this._renderChangeSubscription=t.pipe(H(this._onDestroy)).subscribe(i=>{this._data=i||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((t,i)=>this._renderRow(this._headerRowOutlet,t,i)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((t,i)=>this._renderRow(this._footerRowOutlet,t,i)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(t,i){let n=Array.from(i.columns||[]).map(c=>{let d=this._columnDefsByName.get(c);return d}),r=n.map(c=>c.sticky),s=n.map(c=>c.stickyEnd);this._stickyStyler.updateStickyColumns(t,r,s,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(t){let i=[];for(let n=0;n<t.viewContainer.length;n++){let r=t.viewContainer.get(n);i.push(r.rootNodes[0])}return i}_getRowDefs(t,i){if(this._rowDefs.length==1)return[this._rowDefs[0]];let n=[];if(this.multiTemplateDataRows)n=this._rowDefs.filter(r=>!r.when||r.when(i,t));else{let r=this._rowDefs.find(s=>s.when&&s.when(i,t))||this._defaultRowDef;r&&n.push(r)}return n.length,n}_getEmbeddedViewArgs(t,i){let n=t.rowDef,r={$implicit:t.data};return{templateRef:n.template,context:r,index:i}}_renderRow(t,i,n,r={}){let s=t.viewContainer.createEmbeddedView(i.template,r,n);return this._renderCellTemplateForItem(i,r),s}_renderCellTemplateForItem(t,i){for(let n of this._getCellTemplates(t))A.mostRecentCellOutlet&&A.mostRecentCellOutlet._viewContainer.createEmbeddedView(n,i);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){let t=this._rowOutlet.viewContainer;for(let i=0,n=t.length;i<n;i++){let s=t.get(i).context;s.count=n,s.first=i===0,s.last=i===n-1,s.even=i%2===0,s.odd=!s.even,this.multiTemplateDataRows?(s.dataIndex=this._renderRows[i].dataIndex,s.renderIndex=i):s.index=this._renderRows[i].dataIndex}}_getCellTemplates(t){return!t||!t.columns?[]:Array.from(t.columns,i=>{let n=this._columnDefsByName.get(i);return t.extractCellTemplate(n)})}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){let t=(i,n)=>i||n.hasStickyChanged();this._headerRowDefs.reduce(t,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(t,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(t,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){let t=this._dir?this._dir.value:"ltr";this._stickyStyler=new De(this._isNativeHtmlTable,this.stickyCssClass,t,this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:P()).pipe(H(this._onDestroy)).subscribe(i=>{this._stickyStyler.direction=i,this.updateStickyColumnStyles()})}_getOwnDefs(t){return t.filter(i=>!i._table||i._table===this)}
1_updateNoDataRow(){let t=this._customNoDataRow||this._noDataRow;if(!t)return;let i=this._rowOutlet.viewContainer.length===0;if(i===this._isShowingNoDataRow)return;let n=this._noDataRowOutlet.viewContainer;if(i){let r=n.createEmbeddedView(t.templateRef),s=r.rootNodes[0];r.rootNodes.length===1&&s?.nodeType===this._document.ELEMENT_NODE&&(s.setAttribute("role","row"),s.classList.add(t._contentClassName))}else n.clear();this._isShowingNoDataRow=i,this._changeDetectorRef.markForCheck()}};e.\u0275fac=function(i){return new(i||e)(l(V),l(He),l(F),je("role"),l(Ve,8),l(Le),l(ze),l(q),l(de),l(We),l(he,12),l(Z,8))},e.\u0275cmp=I({type:e,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(i,n,r){if(i&1&&(R(r,pe,5),R(r,Q,5),R(r,me,5),R(r,K,5),R(r,Re,5)),i&2){let s;b(s=k())&&(n._noDataRow=s.first),b(s=k())&&(n._contentColumnDefs=s),b(s=k())&&(n._contentRowDefs=s),b(s=k())&&(n._contentHeaderRowDefs=s),b(s=k())&&(n._contentFooterRowDefs=s)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(i,n){i&2&&ne("cdk-table-fixed-layout",n.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[f.HasDecoratorInputTransform,"multiTemplateDataRows","multiTemplateDataRows",S],fixedLayout:[f.HasDecoratorInputTransform,"fixedLayout","fixedLayout",S]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],standalone:!0,features:[w([{provide:v,useExisting:e},{provide:q,useClass:re},{provide:de,useClass:ve},{provide:he,useValue:null}]),N,O],ngContentSelectors:ct,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(i,n){i&1&&(oe(lt),M(0),M(1,1),ie(2,dt,1,0)(3,ht,7,0)(4,ut,4,0)),i&2&&(L(2),z(2,n._isServer?2:-1),L(),z(3,n._isNativeHtmlTable?3:4))},dependencies:[xe,Se,Fe,Ie],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2});let o=e;return o})();function ae(o,e){return o.concat(Array.from(e))}function qe(o,e){let a=e.toUpperCase(),t=o.viewContainer.element.nativeElement;for(;t;){let i=t.nodeType===1?t.nodeName:null;if(i===a)return t;if(i==="TABLE")break;t=t.parentNode}return null}var Xe=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=ee({type:e}),e.\u0275inj=X({imports:[$e]});let o=e;return o})();var ft=[[["caption"]],[["colgroup"],["col"]],"*"],mt=["caption","colgroup, col","*"];function pt(o,e){o&1&&M(0,2)}function gt(o,e){o&1&&(T(0,"thead",0),y(1,1),E(),T(2,"tbody",2),y(3,3)(4,4),E(),T(5,"tfoot",0),y(6,5),E())}function yt(o,e){o&1&&y(0,1)(1,3)(2,4)(3,5)}var li=(()=>{let e=class e extends Te{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}};e.\u0275fac=(()=>{let t;return function(n){return(t||(t=D(e)))(n||e)}})(),e.\u0275cmp=I({type:e,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(i,n){i&2&&ne("mdc-table-fixed-layout",n.fixedLayout)},exportAs:["matTable"],standalone:!0,features:[w([{provide:Te,useExisting:e},{provide:v,useExisting:e},{provide:de,useClass:ve},{provide:q,useClass:re},{provide:he,useValue:null}]),m,O],ngContentSelectors:mt,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(i,n){i&1&&(oe(ft),M(0),M(1,1),ie(2,pt,1,0)(3,gt,7,0)(4,yt,4,0)),i&2&&(L(2),z(2,n._isServer?2:-1),L(),z(3,n._isNativeHtmlTable?3:4))},dependencies:[xe,Se,Fe,Ie],styles:[".mat-mdc-table-sticky{position:sticky !important}.mdc-data-table{-webkit-overflow-scrolling:touch;display:inline-flex;flex-direction:column;box-sizing:border-box;position:relative}.mdc-data-table__table-container{-webkit-overflow-scrolling:touch;overflow-x:auto;width:100%}.mdc-data-table__table{min-width:100%;border:0;white-space:nowrap;border-spacing:0;table-layout:fixed}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px 0 16px}.mdc-data-table__header-cell--checkbox,.mdc-data-table__cell--checkbox{padding-left:4px;padding-right:0}[dir=rtl] .mdc-data-table__header-cell--checkbox,[dir=rtl] .mdc-data-table__cell--checkbox,.mdc-data-table__header-cell--checkbox[dir=rtl],.mdc-data-table__cell--checkbox[dir=rtl]{padding-left:0;padding-right:4px}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color)}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-header-headline-font, Roboto, sans-serif);line-height:var(--mat-table-header-headline-line-height);font-size:var(--mat-table-header-headline-size, 14px);font-weight:var(--mat-table-header-headline-weight, 500)}
1.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, Roboto, sans-serif);line-height:var(--mat-table-row-item-label-text-line-height);font-size:var(--mat-table-row-item-label-text-size, 14px);font-weight:var(--mat-table-row-item-label-text-weight)}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-footer-supporting-text-font, Roboto, sans-serif);line-height:var(--mat-table-footer-supporting-text-line-height);font-size:var(--mat-table-footer-supporting-text-size, 14px);font-weight:var(--mat-table-footer-supporting-text-weight);letter-spacing:var(--mat-table-footer-supporting-text-tracking)}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking);font-weight:inherit;line-height:inherit}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking);line-height:inherit}.mdc-data-table__row:last-child .mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking)}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2});let o=e;return o})(),ci=(()=>{let e=class e extends ue{};e.\u0275fac=(()=>{let t;return function(n){return(t||(t=D(e)))(n||e)}})(),e.\u0275dir=u({type:e,selectors:[["","matCellDef",""]],standalone:!0,features:[w([{provide:ue,useExisting:e}]),m]});let o=e;return o})(),di=(()=>{let e=class e extends fe{};e.\u0275fac=(()=>{let t;return function(n){return(t||(t=D(e)))(n||e)}})(),e.\u0275dir=u({type:e,selectors:[["","matHeaderCellDef",""]],standalone:!0,features:[w([{provide:fe,useExisting:e}]),m]});let o=e;return o})();var hi=(()=>{let e=class e extends Q{get name(){return this._name}set name(t){this._setNameInput(t)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}};e.\u0275fac=(()=>{let t;return function(n){return(t||(t=D(e)))(n||e)}})(),e.\u0275dir=u({type:e,selectors:[["","matColumnDef",""]],inputs:{name:[f.None,"matColumnDef","name"]},standalone:!0,features:[w([{provide:Q,useExisting:e},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),m]});let o=e;return o})(),ui=(()=>{let e=class e extends Ye{};e.\u0275fac=(()=>{let t;return function(n){return(t||(t=D(e)))(n||e)}})(),e.\u0275dir=u({type:e,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],standalone:!0,features:[m]});let o=e;return o})();var fi=(()=>{let e=class e extends Ge{};e.\u0275fac=(()=>{let t;return function(n){return(t||(t=D(e)))(n||e)}})(),e.\u0275dir=u({type:e,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],standalone:!0,features:[m]});let o=e;return o})();var mi=(()=>{let e=class e extends K{};e.\u0275fac=(()=>{let t;return function(n){return(t||(t=D(e)))(n||e)}})(),e.\u0275dir=u({type:e,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[f.None,"matHeaderRowDef","columns"],sticky:[f.HasDecoratorInputTransform,"matHeaderRowDefSticky","sticky",S]},standalone:!0,features:[w([{provide:K,useExisting:e}]),N,m]});let o=e;return o}
1)();var pi=(()=>{let e=class e extends me{};e.\u0275fac=(()=>{let t;return function(n){return(t||(t=D(e)))(n||e)}})(),e.\u0275dir=u({type:e,selectors:[["","matRowDef",""]],inputs:{columns:[f.None,"matRowDefColumns","columns"],when:[f.None,"matRowDefWhen","when"]},standalone:!0,features:[w([{provide:me,useExisting:e}]),m]});let o=e;return o})(),gi=(()=>{let e=class e extends be{};e.\u0275fac=(()=>{let t;return function(n){return(t||(t=D(e)))(n||e)}})(),e.\u0275cmp=I({type:e,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],standalone:!0,features:[w([{provide:be,useExisting:e}]),m,O],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,n){i&1&&y(0,0)},dependencies:[A],encapsulation:2});let o=e;return o})();var yi=(()=>{let e=class e extends ke{};e.\u0275fac=(()=>{let t;return function(n){return(t||(t=D(e)))(n||e)}})(),e.\u0275cmp=I({type:e,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],standalone:!0,features:[w([{provide:ke,useExisting:e}]),m,O],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,n){i&1&&y(0,0)},dependencies:[A],encapsulation:2});let o=e;return o})(),_i=(()=>{let e=class e extends pe{constructor(){super(...arguments),this._contentClassName="mat-mdc-no-data-row"}};e.\u0275fac=(()=>{let t;return function(n){return(t||(t=D(e)))(n||e)}})(),e.\u0275dir=u({type:e,selectors:[["ng-template","matNoDataRow",""]],standalone:!0,features:[w([{provide:pe,useExisting:e}]),m]});let o=e;return o})();var wi=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=ee({type:e}),e.\u0275inj=X({imports:[we,Xe,we]});let o=e;return o})(),_t=9007199254740991,Je=class extends Qe{get data(){return this._data.value}set data(e){e=Array.isArray(e)?e:[],this._data.next(e),this._renderChangesSubscription||this._filterData(e)}get filter(){return this._filter.value}set filter(e){this._filter.next(e),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(e){this._sort=e,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(e){this._paginator=e,this._updateChangeSubscription()}constructor(e=[]){super(),this._renderData=new j([]),this._filter=new j(""),this._internalPageChanges=new W,this._renderChangesSubscription=null,this.sortingDataAccessor=(a,t)=>{let i=a[t];if(Be(i)){let n=Number(i);return n<_t?n:i}return i},this.sortData=(a,t)=>{let i=t.active,n=t.direction;return!i||n==""?a:a.sort((r,s)=>{let c=this.sortingDataAccessor(r,i),d=this.sortingDataAccessor(s,i),h=typeof c,g=typeof d;h!==g&&(h==="number"&&(c+=""),g==="number"&&(d+=""));let p=0;return c!=null&&d!=null?c>d?p=1:c<d&&(p=-1):c!=null?p=1:d!=null&&(p=-1),p*(n=="asc"?1:-1)})},this.filterPredicate=(a,t)=>{let i=Object.keys(a).reduce((r,s)=>r+a[s]+"\u25EC","").toLowerCase(),n=t.trim().toLowerCase();return i.indexOf(n)!=-1},this._data=new j(e),this._updateChangeSubscription()}_updateChangeSubscription(){let e=this._sort?ye(this._sort.sortChange,this._sort.initialized):P(null),a=this._paginator?ye(this._paginator.page,this._internalPageChanges,this._paginator.initialized):P(null),t=this._data,i=G([t,this._filter]).pipe(Y(([s])=>this._filterData(s))),n=G([i,e]).pipe(Y(([s])=>this._orderData(s))),r=G([n,a]).pipe(Y(([s])=>this._pageData(s)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=r.subscribe(s=>this._renderData.next(s))}_filterData(e){return this.filteredData=this.filter==null||this.filter===""?e:e.filter(a=>this.filterPredicate(a,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(e){return this.sort?this.sortData(e.slice(),this.sort):e}_pageData(e){if(!this.paginator)return e;let a=this.paginator.pageIndex*this.paginator.pageSize;return e.slice(a,a+this.paginator.pageSize)}_updatePaginator(e){Promise.resolve().then(()=>{let a=this.paginator;if(a&&(a.length=e,a.pageIndex>0)){let t=Math.ceil(a.length/a.pageSize)-1||0,i=Math.min(a.pageIndex,t);i!==a.pageIndex&&(a.pageIndex=i,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}};export{li as a,ci as b,di as c,hi as d,ui as e,fi as f,mi as g,pi as h,gi as i,yi as j,_i as k,wi as l,Je as m}; 2//# sourceMappingURL=chunk-46PBPM4D.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.