-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path1146.1f6187f270f0683f.js
1 lines (1 loc) · 142 KB
/
1146.1f6187f270f0683f.js
1
"use strict";(self.webpackChunkmaterial_angular_io=self.webpackChunkmaterial_angular_io||[]).push([[1146],{180:(Te,he,w)=>{w.d(he,{DQ:()=>V,PR:()=>y,XI:()=>ne,ax:()=>G,dM:()=>fe,lb:()=>R});var e=w(4085),C=w(5024),p=w(4438),P=w(5286),Z=w(5817),a=w(4421),J=w(7605),z=w(9090),N=w(522),ee=w(9417),X=w(5887),re=w(177);function se(f,M){if(1&f){const u=p.RV6();p.j41(0,"input",7,0),p.nI1(2,"async"),p.nI1(3,"async"),p.bIt("click",function(U){p.eBV(u);const j=p.sdS(1);return p.Njj(j.toggle(U))}),p.k0s()}if(2&f){const u=p.sdS(1);p.Y8G("checked",p.bMT(2,2,u.checked))("indeterminate",p.bMT(3,4,u.indeterminate))}}function ae(f,M){if(1&f&&(p.j41(0,"th",5),p.DNE(1,se,4,6,"input",6),p.k0s()),2&f){const u=p.XpG();p.R7$(),p.vxM(u.selection.multiple?1:-1)}}function te(f,M){if(1&f){const u=p.RV6();p.j41(0,"td",8)(1,"input",9,1),p.nI1(3,"async"),p.bIt("click",function(){p.eBV(u);const U=p.sdS(2);return p.Njj(U.toggle())}),p.k0s()()}if(2&f){const u=M.$implicit,v=M.$index,U=p.sdS(2);p.R7$(),p.Y8G("cdkSelectionToggleValue",u)("cdkSelectionToggleIndex",v)("checked",p.bMT(3,3,U.checked))}}class K{constructor(M=!1,u){this._multiple=M,this._trackByFn=u,this._selectionMap=new Map,this.changed=new P.B7}isSelected(M){return this._selectionMap.has(this._getTrackedByValue(M))}select(...M){const u=this._getCurrentSelection();this._multiple||this._selectionMap.clear();const v=[];for(const j of M)this.isSelected(j)||(v.push(j),this._markSelected(this._getTrackedByValue(j),j));const U=this._getCurrentSelection();this.changed.next({before:u,after:U})}deselect(...M){const u=this._getCurrentSelection(),v=[];for(const j of M)this.isSelected(j)&&(v.push(j),this._markDeselected(this._getTrackedByValue(j)));const U=this._getCurrentSelection();this.changed.next({before:u,after:U})}_markSelected(M,u){this._selectionMap.set(M,u)}_markDeselected(M){this._selectionMap.delete(M)}_getTrackedByValue(M){return this._trackByFn?this._trackByFn(M.index,M.value):M.value}_getCurrentSelection(){return Array.from(this._selectionMap.values())}}let ne=(()=>{class f{constructor(){this.change=new p.bkB,this._destroyed=new P.B7,this.selectAllState="none"}get dataSource(){return this._dataSource}set dataSource(u){this._dataSource!==u&&this._switchDataSource(u)}get multiple(){return this._multiple}set multiple(u){this._multiple=(0,e.he)(u)}_switchDataSource(u){this._data=[],(0,C.y4)(this._dataSource)&&this._dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),this._dataSource=u}_observeRenderChanges(){if(!this._dataSource)return;let u;(0,C.y4)(this._dataSource)?u=this._dataSource.connect(this):this._dataSource instanceof Z.c?u=this._dataSource:Array.isArray(this._dataSource)&&(u=(0,a.of)(this._dataSource)),this._renderChangeSubscription=u.pipe((0,J.Q)(this._destroyed)).subscribe(v=>{this._data=v||[]})}ngOnInit(){this._selection=new K(this._multiple,this.trackByFn),this._selection.changed.pipe((0,J.Q)(this._destroyed)).subscribe(u=>{this._updateSelectAllState(),this.change.emit(u)})}ngAfterContentChecked(){this._dataSource&&!this._renderChangeSubscription&&this._observeRenderChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),(0,C.y4)(this._dataSource)&&this._dataSource.disconnect(this)}toggleSelection(u,v){this.isSelected(u,v)?this._selection.deselect({value:u,index:v}):this._selection.select({value:u,index:v})}toggleSelectAll(){"none"===this.selectAllState?this._selectAll():this._clearAll()}isSelected(u,v){return this._selection.isSelected({value:u,index:v})}isAllSelected(){return this._data.every((u,v)=>this._selection.isSelected({value:u,index:v}))}isPartialSelected(){return!this.isAllSelected()&&this._data.some((u,v)=>this._selection.isSelected({value:u,index:v}))}_selectAll(){const u=[];this._data.forEach((v,U)=>{u.push({value:v,index:U})}),this._selection.select(...u)}_clearAll(){const u=[];this._data.forEach((v,U)=>{u.push({value:v,index:U})}),this._selection.deselect(...u)}_updateSelectAllState(){this.selectAllState=this.isAllSelected()?"all":this.isPartialSelected()?"partial":"none"}static#e=this.\u0275fac=function(v){return new(v||f)};static#t=this.\u0275dir=p.FsC({type:f,selectors:[["","cdkSelection",""]],inputs:{dataSource:"dataSource",trackByFn:[0,"trackBy","trackByFn"],multiple:[0,"cdkSelectionMultiple","multiple"]},outputs:{change:"cdkSelectionChange"},exportAs:["cdkSelection"],standalone:!0})}return f})(),G=(()=>{class f{toggle(u){u&&u.preventDefault(),setTimeout(()=>{this._selection.toggleSelectAll()})}constructor(u,v){this._selection=u,this._controlValueAccessor=v,this._destroyed=new P.B7,this.checked=u.change.pipe((0,z.n)(()=>(0,a.of)(u.isAllSelected()))),this.indeterminate=u.change.pipe((0,z.n)(()=>(0,a.of)(u.isPartialSelected())))}ngOnInit(){this._assertValidParentSelection(),this._configureControlValueAccessor()}_configureControlValueAccessor(){this._controlValueAccessor&&this._controlValueAccessor.length&&(this._controlValueAccessor[0].registerOnChange(u=>{(!0===u||!1===u)&&this.toggle()}),this.checked.pipe((0,J.Q)(this._destroyed)).subscribe(u=>{this._controlValueAccessor[0].writeValue(u)}))}_assertValidParentSelection(){}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}static#e=this.\u0275fac=function(v){return new(v||f)(p.rXU(ne,8),p.rXU(ee.kq,10))};static#t=this.\u0275dir=p.FsC({type:f,selectors:[["","cdkSelectAll",""]],exportAs:["cdkSelectAll"],standalone:!0})}return f})(),V=(()=>{class f{get index(){return this._index}set index(u){this._index=(0,e.OE)(u)}toggle(){this._selection.toggleSelection(this.value,this.index)}constructor(u,v){this._selection=u,this._controlValueAccessors=v,this._destroyed=new P.B7,this.checked=u.change.pipe((0,z.n)(()=>(0,a.of)(this._isSelected())),(0,N.F)())}ngOnInit(){this._assertValidParentSelection(),this._configureControlValueAccessor()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_assertValidParentSelection(){}_configureControlValueAccessor(){this._controlValueAccessors&&this._controlValueAccessors.length&&(this._controlValueAccessors[0].registerOnChange(u=>{"boolean"==typeof u&&this.toggle()}),this.checked.pipe((0,J.Q)(this._destroyed)).subscribe(u=>{this._controlValueAccessors[0].writeValue(u)}))}_isSelected(){return this._selection.isSelected(this.value,this.index)}static#e=this.\u0275fac=function(v){return new(v||f)(p.rXU(ne,8),p.rXU(ee.kq,10))};static#t=this.\u0275dir=p.FsC({type:f,selectors:[["","cdkSelectionToggle",""]],inputs:{value:[0,"cdkSelectionToggleValue","value"],index:[0,"cdkSelectionToggleIndex","index"]},exportAs:["cdkSelectionToggle"],standalone:!0})}return f})(),fe=(()=>{class f{get name(){return this._name}set name(u){this._name=u,this._syncColumnDefName()}constructor(u,v){this._table=u,this.selection=v}ngOnInit(){this._syncColumnDefName(),this._table&&(this._columnDef.cell=this._cell,this._columnDef.headerCell=this._headerCell,this._table.addColumnDef(this._columnDef))}ngOnDestroy(){this._table&&this._table.removeColumnDef(this._columnDef)}_syncColumnDefName(){this._columnDef&&(this._columnDef.name=this._name)}static#e=this.\u0275fac=function(v){return new(v||f)(p.rXU(X.Rk,8),p.rXU(ne,8))};static#t=this.\u0275cmp=p.VBU({type:f,selectors:[["cdk-selection-column"]],viewQuery:function(v,U){if(1&v&&(p.GBs(X.AL,7),p.GBs(X.cO,7),p.GBs(X.n5,7)),2&v){let j;p.mGM(j=p.lsd())&&(U._columnDef=j.first),p.mGM(j=p.lsd())&&(U._cell=j.first),p.mGM(j=p.lsd())&&(U._headerCell=j.first)}},inputs:{name:[0,"cdkSelectionColumnName","name"]},standalone:!0,features:[p.aNF],decls:3,vars:0,consts:[["allToggler","cdkSelectAll"],["toggler","cdkSelectionToggle"],["cdkColumnDef",""],["cdkHeaderCell","",4,"cdkHeaderCellDef"],["cdkCell","",4,"cdkCellDef"],["cdkHeaderCell",""],["type","checkbox","cdkSelectAll","",3,"checked","indeterminate"],["type","checkbox","cdkSelectAll","",3,"click","checked","indeterminate"],["cdkCell",""],["type","checkbox","cdkSelectionToggle","",3,"click","cdkSelectionToggleValue","cdkSelectionToggleIndex","checked"]],template:function(v,U){1&v&&(p.qex(0,2),p.DNE(1,ae,2,1,"th",3)(2,te,4,5,"td",4),p.bVm())},dependencies:[X.AL,X.n5,G,X.cO,V,re.Jj],encapsulation:2,changeDetection:0})}return f})(),y=(()=>{class f{get index(){return this._index}set index(u){this._index=(0,e.OE)(u)}constructor(u){this._selection=u,this.value=void 0}static#e=this.\u0275fac=function(v){return new(v||f)(p.rXU(ne))};static#t=this.\u0275dir=p.FsC({type:f,selectors:[["","cdkRowSelection",""]],hostVars:3,hostBindings:function(v,U){2&v&&(p.BMQ("aria-selected",U._selection.isSelected(U.value,U.index)),p.AVh("cdk-selected",U._selection.isSelected(U.value,U.index)))},inputs:{value:[0,"cdkRowSelectionValue","value"],index:[0,"cdkRowSelectionIndex","index"]},standalone:!0})}return f})(),R=(()=>{class f{static#e=this.\u0275fac=function(v){return new(v||f)};static#t=this.\u0275mod=p.$C({type:f});static#n=this.\u0275inj=p.G2t({imports:[re.MD,X.N0]})}return f})()},5887:(Te,he,w)=>{w.d(he,{AL:()=>M,EZ:()=>V,F6:()=>ke,I8:()=>b,L_:()=>f,N0:()=>yt,RT:()=>xe,Rk:()=>Oe,To:()=>ce,VP:()=>j,Y$:()=>S,ZM:()=>De,c7:()=>U,cO:()=>y,df:()=>m,hc:()=>H,hi:()=>me,ki:()=>et,lH:()=>we,lQ:()=>pe,n5:()=>R,oh:()=>B,pe:()=>Fe,sY:()=>v,u4:()=>h,wA:()=>T,yT:()=>Ve});var e=w(8203),C=w(5024),p=w(6860),P=w(5478),Z=w(177),a=w(4438),J=w(5286),z=w(9928),N=w(8982),ee=w(4421),X=w(7605);const re=[[["caption"]],[["colgroup"],["col"]],"*"],se=["caption","colgroup, col","*"];function ae(d,E){1&d&&a.SdG(0,2)}function te(d,E){1&d&&(a.j41(0,"thead",0),a.eu8(1,1),a.k0s(),a.j41(2,"tbody",0),a.eu8(3,2)(4,3),a.k0s(),a.j41(5,"tfoot",0),a.eu8(6,4),a.k0s())}function K(d,E){1&d&&a.eu8(0,1)(1,2)(2,3)(3,4)}function ne(d,E){if(1&d&&(a.j41(0,"th",3),a.EFF(1),a.k0s()),2&d){const r=a.XpG();a.xc7("text-align",r.justify),a.R7$(),a.SpI(" ",r.headerText," ")}}function G(d,E){if(1&d&&(a.j41(0,"td",4),a.EFF(1),a.k0s()),2&d){const r=E.$implicit,s=a.XpG();a.xc7("text-align",s.justify),a.R7$(),a.SpI(" ",s.dataAccessor(r,s.name)," ")}}const V=new a.nKC("CDK_TABLE"),fe=new a.nKC("text-column-options");let y=(()=>{class d{constructor(r){this.template=r}static#e=this.\u0275fac=function(s){return new(s||d)(a.rXU(a.C4Q))};static#t=this.\u0275dir=a.FsC({type:d,selectors:[["","cdkCellDef",""]],standalone:!0})}return d})(),R=(()=>{class d{constructor(r){this.template=r}static#e=this.\u0275fac=function(s){return new(s||d)(a.rXU(a.C4Q))};static#t=this.\u0275dir=a.FsC({type:d,selectors:[["","cdkHeaderCellDef",""]],standalone:!0})}return d})(),f=(()=>{class d{constructor(r){this.template=r}static#e=this.\u0275fac=function(s){return new(s||d)(a.rXU(a.C4Q))};static#t=this.\u0275dir=a.FsC({type:d,selectors:[["","cdkFooterCellDef",""]],standalone:!0})}return d})(),M=(()=>{class d{get name(){return this._name}set name(r){this._setNameInput(r)}get sticky(){return this._sticky}set sticky(r){r!==this._sticky&&(this._sticky=r,this._hasStickyChanged=!0)}get stickyEnd(){return this._stickyEnd}set stickyEnd(r){r!==this._stickyEnd&&(this._stickyEnd=r,this._hasStickyChanged=!0)}constructor(r){this._table=r,this._hasStickyChanged=!1,this._sticky=!1,this._stickyEnd=!1}hasStickyChanged(){const r=this._hasStickyChanged;return this.resetStickyChanged(),r}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(r){r&&(this._name=r,this.cssClassFriendlyName=r.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static#e=this.\u0275fac=function(s){return new(s||d)(a.rXU(V,8))};static#t=this.\u0275dir=a.FsC({type:d,selectors:[["","cdkColumnDef",""]],contentQueries:function(s,l,g){if(1&s&&(a.wni(g,y,5),a.wni(g,R,5),a.wni(g,f,5)),2&s){let k;a.mGM(k=a.lsd())&&(l.cell=k.first),a.mGM(k=a.lsd())&&(l.headerCell=k.first),a.mGM(k=a.lsd())&&(l.footerCell=k.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",a.L39],stickyEnd:[2,"stickyEnd","stickyEnd",a.L39]},standalone:!0,features:[a.Jv_([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:d}]),a.GFd]})}return d})();class u{constructor(E,r){r.nativeElement.classList.add(...E._columnCssClassName)}}let v=(()=>{class d extends u{constructor(r,s){super(r,s)}static#e=this.\u0275fac=function(s){return new(s||d)(a.rXU(M),a.rXU(a.aKT))};static#t=this.\u0275dir=a.FsC({type:d,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],standalone:!0,features:[a.Vt3]})}return d})(),U=(()=>{class d extends u{constructor(r,s){super(r,s);const l=r._table?._getCellRole();l&&s.nativeElement.setAttribute("role",l)}static#e=this.\u0275fac=function(s){return new(s||d)(a.rXU(M),a.rXU(a.aKT))};static#t=this.\u0275dir=a.FsC({type:d,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],standalone:!0,features:[a.Vt3]})}return d})(),j=(()=>{class d extends u{constructor(r,s){super(r,s);const l=r._table?._getCellRole();l&&s.nativeElement.setAttribute("role",l)}static#e=this.\u0275fac=function(s){return new(s||d)(a.rXU(M),a.rXU(a.aKT))};static#t=this.\u0275dir=a.FsC({type:d,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],standalone:!0,features:[a.Vt3]})}return d})();class ge{constructor(){this.tasks=[],this.endTasks=[]}}const ce=new a.nKC("_COALESCED_STYLE_SCHEDULER");let pe=(()=>{class d{constructor(r){this._currentSchedule=null,this._ngZone=(0,a.WQX)(a.SKi)}schedule(r){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(r)}scheduleEnd(r){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(r)}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new ge,this._ngZone.runOutsideAngular(()=>queueMicrotask(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const r=this._currentSchedule;this._currentSchedule=new ge;for(const s of r.tasks)s();for(const s of r.endTasks)s()}this._currentSchedule=null})))}static#e=this.\u0275fac=function(s){return new(s||d)(a.KVO(a.SKi))};static#t=this.\u0275prov=a.jDH({token:d,factory:d.\u0275fac})}return d})(),ue=(()=>{class d{constructor(r,s){this.template=r,this._differs=s}ngOnChanges(r){if(!this._columnsDiffer){const s=r.columns&&r.columns.currentValue||[];this._columnsDiffer=this._differs.find(s).create(),this._columnsDiffer.diff(s)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(r){return this instanceof me?r.headerCell.template:this instanceof m?r.footerCell.template:r.cell.template}static#e=this.\u0275fac=function(s){return new(s||d)(a.rXU(a.C4Q),a.rXU(a._q3))};static#t=this.\u0275dir=a.FsC({type:d,features:[a.OA$]})}return d})(),me=(()=>{class d extends ue{get sticky(){return this._sticky}set sticky(r){r!==this._sticky&&(this._sticky=r,this._hasStickyChanged=!0)}constructor(r,s,l){super(r,s),this._table=l,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(r){super.ngOnChanges(r)}hasStickyChanged(){const r=this._hasStickyChanged;return this.resetStickyChanged(),r}resetStickyChanged(){this._hasStickyChanged=!1}static#e=this.\u0275fac=function(s){return new(s||d)(a.rXU(a.C4Q),a.rXU(a._q3),a.rXU(V,8))};static#t=this.\u0275dir=a.FsC({type:d,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",a.L39]},standalone:!0,features:[a.GFd,a.Vt3,a.OA$]})}return d})(),m=(()=>{class d extends ue{get sticky(){return this._sticky}set sticky(r){r!==this._sticky&&(this._sticky=r,this._hasStickyChanged=!0)}constructor(r,s,l){super(r,s),this._table=l,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(r){super.ngOnChanges(r)}hasStickyChanged(){const r=this._hasStickyChanged;return this.resetStickyChanged(),r}resetStickyChanged(){this._hasStickyChanged=!1}static#e=this.\u0275fac=function(s){return new(s||d)(a.rXU(a.C4Q),a.rXU(a._q3),a.rXU(V,8))};static#t=this.\u0275dir=a.FsC({type:d,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",a.L39]},standalone:!0,features:[a.GFd,a.Vt3,a.OA$]})}return d})(),B=(()=>{class d extends ue{constructor(r,s,l){super(r,s),this._table=l}static#e=this.\u0275fac=function(s){return new(s||d)(a.rXU(a.C4Q),a.rXU(a._q3),a.rXU(V,8))};static#t=this.\u0275dir=a.FsC({type:d,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},standalone:!0,features:[a.Vt3]})}return d})(),b=(()=>{class d{static#e=this.mostRecentCellOutlet=null;constructor(r){this._viewContainer=r,d.mostRecentCellOutlet=this}ngOnDestroy(){d.mostRecentCellOutlet===this&&(d.mostRecentCellOutlet=null)}static#t=this.\u0275fac=function(s){return new(s||d)(a.rXU(a.c1b))};static#n=this.\u0275dir=a.FsC({type:d,selectors:[["","cdkCellOutlet",""]],standalone:!0})}return d})(),T=(()=>{class d{static#e=this.\u0275fac=function(s){return new(s||d)};static#t=this.\u0275cmp=a.VBU({type:d,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],standalone:!0,features:[a.aNF],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(s,l){1&s&&a.eu8(0,0)},dependencies:[b],encapsulation:2})}return d})(),S=(()=>{class d{static#e=this.\u0275fac=function(s){return new(s||d)};static#t=this.\u0275cmp=a.VBU({type:d,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],standalone:!0,features:[a.aNF],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(s,l){1&s&&a.eu8(0,0)},dependencies:[b],encapsulation:2})}return d})(),H=(()=>{class d{static#e=this.\u0275fac=function(s){return new(s||d)};static#t=this.\u0275cmp=a.VBU({type:d,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],standalone:!0,features:[a.aNF],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(s,l){1&s&&a.eu8(0,0)},dependencies:[b],encapsulation:2})}return d})(),h=(()=>{class d{constructor(r){this.templateRef=r,this._contentClassName="cdk-no-data-row"}static#e=this.\u0275fac=function(s){return new(s||d)(a.rXU(a.C4Q))};static#t=this.\u0275dir=a.FsC({type:d,selectors:[["ng-template","cdkNoDataRow",""]],standalone:!0})}return d})();const A=["top","bottom","left","right"];class _{constructor(E,r,s,l,g=!0,k=!0,I){this._isNativeHtmlTable=E,this._stickCellCss=r,this.direction=s,this._coalescedStyleScheduler=l,this._isBrowser=g,this._needsPositionStickyOnElement=k,this._positionListener=I,this._cachedCellWidths=[],this._borderCellCss={top:`${r}-border-elem-top`,bottom:`${r}-border-elem-bottom`,left:`${r}-border-elem-left`,right:`${r}-border-elem-right`}}clearStickyPositioning(E,r){const s=[];for(const l of E)if(l.nodeType===l.ELEMENT_NODE){s.push(l);for(let g=0;g<l.children.length;g++)s.push(l.children[g])}this._coalescedStyleScheduler.schedule(()=>{for(const l of s)this._removeStickyStyle(l,r)})}updateStickyColumns(E,r,s,l=!0){E.length&&this._isBrowser&&(r.some(g=>g)||s.some(g=>g))?this._coalescedStyleScheduler.schedule(()=>{const g=E[0],k=g.children.length,I=this._getCellWidths(g,l),L=this._getStickyStartColumnPositions(I,r),Y=this._getStickyEndColumnPositions(I,s),$=r.lastIndexOf(!0),Q=s.indexOf(!0),de="rtl"===this.direction,_e=de?"right":"left",Be=de?"left":"right";for(const be of E)for(let ie=0;ie<k;ie++){const je=be.children[ie];r[ie]&&this._addStickyStyle(je,_e,L[ie],ie===$),s[ie]&&this._addStickyStyle(je,Be,Y[ie],ie===Q)}this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:-1===$?[]:I.slice(0,$+1).map((be,ie)=>r[ie]?be:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===Q?[]:I.slice(Q).map((be,ie)=>s[ie+Q]?be:null).reverse()}))}):this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]}))}stickRows(E,r,s){this._isBrowser&&this._coalescedStyleScheduler.schedule(()=>{const l="bottom"===s?E.slice().reverse():E,g="bottom"===s?r.slice().reverse():r,k=[],I=[],L=[];for(let $=0,Q=0;$<l.length;$++){if(!g[$])continue;k[$]=Q;const de=l[$];L[$]=this._isNativeHtmlTable?Array.from(de.children):[de];const _e=de.getBoundingClientRect().height;Q+=_e,I[$]=_e}const Y=g.lastIndexOf(!0);for(let $=0;$<l.length;$++){if(!g[$])continue;const Q=k[$],de=$===Y;for(const _e of L[$])this._addStickyStyle(_e,s,Q,de)}"top"===s?this._positionListener?.stickyHeaderRowsUpdated({sizes:I,offsets:k,elements:L}):this._positionListener?.stickyFooterRowsUpdated({sizes:I,offsets:k,elements:L})})}updateStickyFooterContainer(E,r){this._isNativeHtmlTable&&this._coalescedStyleScheduler.schedule(()=>{const s=E.querySelector("tfoot");s&&(r.some(l=>!l)?this._removeStickyStyle(s,["bottom"]):this._addStickyStyle(s,"bottom",0,!1))})}_removeStickyStyle(E,r){for(const l of r)E.style[l]="",E.classList.remove(this._borderCellCss[l]);A.some(l=>-1===r.indexOf(l)&&E.style[l])?E.style.zIndex=this._getCalculatedZIndex(E):(E.style.zIndex="",this._needsPositionStickyOnElement&&(E.style.position=""),E.classList.remove(this._stickCellCss))}_addStickyStyle(E,r,s,l){E.classList.add(this._stickCellCss),l&&E.classList.add(this._borderCellCss[r]),E.style[r]=`${s}px`,E.style.zIndex=this._getCalculatedZIndex(E),this._needsPositionStickyOnElement&&(E.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(E){const r={top:100,bottom:10,left:1,right:1};let s=0;for(const l of A)E.style[l]&&(s+=r[l]);return s?`${s}`:""}_getCellWidths(E,r=!0){if(!r&&this._cachedCellWidths.length)return this._cachedCellWidths;const s=[],l=E.children;for(let g=0;g<l.length;g++)s.push(l[g].getBoundingClientRect().width);return this._cachedCellWidths=s,s}_getStickyStartColumnPositions(E,r){const s=[];let l=0;for(let g=0;g<E.length;g++)r[g]&&(s[g]=l,l+=E[g]);return s}_getStickyEndColumnPositions(E,r){const s=[];let l=0;for(let g=E.length;g>0;g--)r[g]&&(s[g]=l,l+=E[g]);return s}}const De=new a.nKC("CDK_SPL");let ke=(()=>{class d{static#e=this.\u0275fac=function(s){return new(s||d)};static#t=this.\u0275dir=a.FsC({type:d,selectors:[["cdk-table","recycleRows",""],["table","cdk-table","","recycleRows",""]],standalone:!0,features:[a.Jv_([{provide:C.sL,useClass:C.DQ}])]})}return d})(),Ve=(()=>{class d{constructor(r,s){this.viewContainer=r,this.elementRef=s;const l=(0,a.WQX)(V);l._rowOutlet=this,l._outletAssigned()}static#e=this.\u0275fac=function(s){return new(s||d)(a.rXU(a.c1b),a.rXU(a.aKT))};static#t=this.\u0275dir=a.FsC({type:d,selectors:[["","rowOutlet",""]],standalone:!0})}return d})(),Fe=(()=>{class d{constructor(r,s){this.viewContainer=r,this.elementRef=s;const l=(0,a.WQX)(V);l._headerRowOutlet=this,l._outletAssigned()}static#e=this.\u0275fac=function(s){return new(s||d)(a.rXU(a.c1b),a.rXU(a.aKT))};static#t=this.\u0275dir=a.FsC({type:d,selectors:[["","headerRowOutlet",""]],standalone:!0})}return d})(),we=(()=>{class d{constructor(r,s){this.viewContainer=r,this.elementRef=s;const l=(0,a.WQX)(V);l._footerRowOutlet=this,l._outletAssigned()}static#e=this.\u0275fac=function(s){return new(s||d)(a.rXU(a.c1b),a.rXU(a.aKT))};static#t=this.\u0275dir=a.FsC({type:d,selectors:[["","footerRowOutlet",""]],standalone:!0})}return d})(),xe=(()=>{class d{constructor(r,s){this.viewContainer=r,this.elementRef=s;const l=(0,a.WQX)(V);l._noDataRowOutlet=this,l._outletAssigned()}static#e=this.\u0275fac=function(s){return new(s||d)(a.rXU(a.c1b),a.rXU(a.aKT))};static#t=this.\u0275dir=a.FsC({type:d,selectors:[["","noDataRowOutlet",""]],standalone:!0})}return d})(),Oe=(()=>{class d{_getCellRole(){if(void 0===this._cellRoleInternal){const r=this._elementRef.nativeElement.getAttribute("role"),s="grid"===r||"treegrid"===r?"gridcell":"cell";this._cellRoleInternal=this._isNativeHtmlTable&&"cell"===s?null:s}return this._cellRoleInternal}get trackBy(){return this._trackByFn}set trackBy(r){this._trackByFn=r}get dataSource(){return this._dataSource}set dataSource(r){this._dataSource!==r&&this._switchDataSource(r)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(r){this._multiTemplateDataRows=r,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(r){this._fixedLayout=r,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(r,s,l,g,k,I,L,Y,$,Q,de,_e){this._differs=r,this._changeDetectorRef=s,this._elementRef=l,this._dir=k,this._platform=L,this._viewRepeater=Y,this._coalescedStyleScheduler=$,this._viewportRuler=Q,this._stickyPositioningListener=de,this._onDestroy=new J.B7,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 a.bkB,this.viewChange=new z.t({start:0,end:Number.MAX_VALUE}),this._injector=(0,a.WQX)(a.zZn),g||l.nativeElement.setAttribute("role","table"),this._document=I,this._isServer=!L.isBrowser,this._isNativeHtmlTable="TABLE"===l.nativeElement.nodeName}ngOnInit(){this._setupStickyStyler(),this._dataDiffer=this._differs.find([]).create((r,s)=>this.trackBy?this.trackBy(s.dataIndex,s.data):s),this._viewportRuler.change().pipe((0,X.Q)(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(r=>{r?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),(0,C.y4)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const r=this._dataDiffer.diff(this._renderRows);if(!r)return this._updateNoDataRow(),void this.contentChanged.next();const s=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(r,s,(l,g,k)=>this._getEmbeddedViewArgs(l.item,k),l=>l.item.data,l=>{l.operation===C.Q3.INSERTED&&l.context&&this._renderCellTemplateForItem(l.record.item.rowDef,l.context)}),this._updateRowIndexContext(),r.forEachIdentityChange(l=>{s.get(l.currentIndex).context.$implicit=l.item.data}),this._updateNoDataRow(),(0,a.mal)(()=>{this.updateStickyColumnStyles()},{injector:this._injector}),this.contentChanged.next()}addColumnDef(r){this._customColumnDefs.add(r)}removeColumnDef(r){this._customColumnDefs.delete(r)}addRowDef(r){this._customRowDefs.add(r)}removeRowDef(r){this._customRowDefs.delete(r)}addHeaderRowDef(r){this._customHeaderRowDefs.add(r),this._headerRowDefChanged=!0}removeHeaderRowDef(r){this._customHeaderRowDefs.delete(r),this._headerRowDefChanged=!0}addFooterRowDef(r){this._customFooterRowDefs.add(r),this._footerRowDefChanged=!0}removeFooterRowDef(r){this._customFooterRowDefs.delete(r),this._footerRowDefChanged=!0}setNoDataRow(r){this._customNoDataRow=r}updateStickyHeaderRowStyles(){const r=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){const l=Le(this._headerRowOutlet,"thead");l&&(l.style.display=r.length?"":"none")}const s=this._headerRowDefs.map(l=>l.sticky);this._stickyStyler.clearStickyPositioning(r,["top"]),this._stickyStyler.stickRows(r,s,"top"),this._headerRowDefs.forEach(l=>l.resetStickyChanged())}updateStickyFooterRowStyles(){const r=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){const l=Le(this._footerRowOutlet,"tfoot");l&&(l.style.display=r.length?"":"none")}const s=this._footerRowDefs.map(l=>l.sticky);this._stickyStyler.clearStickyPositioning(r,["bottom"]),this._stickyStyler.stickRows(r,s,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,s),this._footerRowDefs.forEach(l=>l.resetStickyChanged())}updateStickyColumnStyles(){const r=this._getRenderedRows(this._headerRowOutlet),s=this._getRenderedRows(this._rowOutlet),l=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...r,...s,...l],["left","right"]),this._stickyColumnStylesNeedReset=!1),r.forEach((g,k)=>{this._addStickyColumnStyles([g],this._headerRowDefs[k])}),this._rowDefs.forEach(g=>{const k=[];for(let I=0;I<s.length;I++)this._renderRows[I].rowDef===g&&k.push(s[I]);this._addStickyColumnStyles(k,g)}),l.forEach((g,k)=>{this._addStickyColumnStyles([g],this._footerRowDefs[k])}),Array.from(this._columnDefsByName.values()).forEach(g=>g.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();const s=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||s,this._forceRecalculateCellWidths=s,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(){const r=[],s=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let l=0;l<this._data.length;l++){let g=this._data[l];const k=this._getRenderRowsForData(g,l,s.get(g));this._cachedRenderRowsMap.has(g)||this._cachedRenderRowsMap.set(g,new WeakMap);for(let I=0;I<k.length;I++){let L=k[I];const Y=this._cachedRenderRowsMap.get(L.data);Y.has(L.rowDef)?Y.get(L.rowDef).push(L):Y.set(L.rowDef,[L]),r.push(L)}}return r}_getRenderRowsForData(r,s,l){return this._getRowDefs(r,s).map(k=>{const I=l&&l.has(k)?l.get(k):[];if(I.length){const L=I.shift();return L.dataIndex=s,L}return{data:r,rowDef:k,dataIndex:s}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Ne(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(s=>{this._columnDefsByName.has(s.name),this._columnDefsByName.set(s.name,s)})}_cacheRowDefs(){this._headerRowDefs=Ne(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Ne(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Ne(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const r=this._rowDefs.filter(s=>!s.when);this._defaultRowDef=r[0]}_renderUpdatedColumns(){const r=(k,I)=>k||!!I.getColumnsDiff(),s=this._rowDefs.reduce(r,!1);s&&this._forceRenderDataRows();const l=this._headerRowDefs.reduce(r,!1);l&&this._forceRenderHeaderRows();const g=this._footerRowDefs.reduce(r,!1);return g&&this._forceRenderFooterRows(),s||l||g}_switchDataSource(r){this._data=[],(0,C.y4)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),r||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=r}_observeRenderChanges(){if(!this.dataSource)return;let r;(0,C.y4)(this.dataSource)?r=this.dataSource.connect(this):(0,N.A)(this.dataSource)?r=this.dataSource:Array.isArray(this.dataSource)&&(r=(0,ee.of)(this.dataSource)),this._renderChangeSubscription=r.pipe((0,X.Q)(this._onDestroy)).subscribe(s=>{this._data=s||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((r,s)=>this._renderRow(this._headerRowOutlet,r,s)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((r,s)=>this._renderRow(this._footerRowOutlet,r,s)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(r,s){const l=Array.from(s.columns||[]).map(I=>this._columnDefsByName.get(I)),g=l.map(I=>I.sticky),k=l.map(I=>I.stickyEnd);this._stickyStyler.updateStickyColumns(r,g,k,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(r){const s=[];for(let l=0;l<r.viewContainer.length;l++){const g=r.viewContainer.get(l);s.push(g.rootNodes[0])}return s}_getRowDefs(r,s){if(1==this._rowDefs.length)return[this._rowDefs[0]];let l=[];if(this.multiTemplateDataRows)l=this._rowDefs.filter(g=>!g.when||g.when(s,r));else{let g=this._rowDefs.find(k=>k.when&&k.when(s,r))||this._defaultRowDef;g&&l.push(g)}return l}_getEmbeddedViewArgs(r,s){return{templateRef:r.rowDef.template,context:{$implicit:r.data},index:s}}_renderRow(r,s,l,g={}){const k=r.viewContainer.createEmbeddedView(s.template,g,l);return this._renderCellTemplateForItem(s,g),k}_renderCellTemplateForItem(r,s){for(let l of this._getCellTemplates(r))b.mostRecentCellOutlet&&b.mostRecentCellOutlet._viewContainer.createEmbeddedView(l,s);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const r=this._rowOutlet.viewContainer;for(let s=0,l=r.length;s<l;s++){const k=r.get(s).context;k.count=l,k.first=0===s,k.last=s===l-1,k.even=s%2==0,k.odd=!k.even,this.multiTemplateDataRows?(k.dataIndex=this._renderRows[s].dataIndex,k.renderIndex=s):k.index=this._renderRows[s].dataIndex}}_getCellTemplates(r){return r&&r.columns?Array.from(r.columns,s=>{const l=this._columnDefsByName.get(s);return r.extractCellTemplate(l)}):[]}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const r=(s,l)=>s||l.hasStickyChanged();this._headerRowDefs.reduce(r,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(r,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(r,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new _(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:(0,ee.of)()).pipe((0,X.Q)(this._onDestroy)).subscribe(s=>{this._stickyStyler.direction=s,this.updateStickyColumnStyles()})}_getOwnDefs(r){return r.filter(s=>!s._table||s._table===this)}_updateNoDataRow(){const r=this._customNoDataRow||this._noDataRow;if(!r)return;const s=0===this._rowOutlet.viewContainer.length;if(s===this._isShowingNoDataRow)return;const l=this._noDataRowOutlet.viewContainer;if(s){const g=l.createEmbeddedView(r.templateRef),k=g.rootNodes[0];1===g.rootNodes.length&&k?.nodeType===this._document.ELEMENT_NODE&&(k.setAttribute("role","row"),k.classList.add(r._contentClassName))}else l.clear();this._isShowingNoDataRow=s,this._changeDetectorRef.markForCheck()}static#e=this.\u0275fac=function(s){return new(s||d)(a.rXU(a._q3),a.rXU(a.gRc),a.rXU(a.aKT),a.kS0("role"),a.rXU(e.dS,8),a.rXU(Z.qQ),a.rXU(p.OD),a.rXU(C.sL),a.rXU(ce),a.rXU(P.Xj),a.rXU(De,12),a.rXU(a.SKi,8))};static#t=this.\u0275cmp=a.VBU({type:d,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(s,l,g){if(1&s&&(a.wni(g,h,5),a.wni(g,M,5),a.wni(g,B,5),a.wni(g,me,5),a.wni(g,m,5)),2&s){let k;a.mGM(k=a.lsd())&&(l._noDataRow=k.first),a.mGM(k=a.lsd())&&(l._contentColumnDefs=k),a.mGM(k=a.lsd())&&(l._contentRowDefs=k),a.mGM(k=a.lsd())&&(l._contentHeaderRowDefs=k),a.mGM(k=a.lsd())&&(l._contentFooterRowDefs=k)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(s,l){2&s&&a.AVh("cdk-table-fixed-layout",l.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",a.L39],fixedLayout:[2,"fixedLayout","fixedLayout",a.L39]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],standalone:!0,features:[a.Jv_([{provide:V,useExisting:d},{provide:C.sL,useClass:C.xn},{provide:ce,useClass:pe},{provide:De,useValue:null}]),a.GFd,a.aNF],ngContentSelectors:se,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(s,l){1&s&&(a.NAR(re),a.SdG(0),a.SdG(1,1),a.DNE(2,ae,1,0)(3,te,7,0)(4,K,4,0)),2&s&&(a.R7$(2),a.vxM(l._isServer?2:-1),a.R7$(),a.vxM(l._isNativeHtmlTable?3:4))},dependencies:[Fe,Ve,xe,we],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2})}return d})();function Ne(d,E){return d.concat(Array.from(E))}function Le(d,E){const r=E.toUpperCase();let s=d.viewContainer.element.nativeElement;for(;s;){const l=1===s.nodeType?s.nodeName:null;if(l===r)return s;if("TABLE"===l)break;s=s.parentNode}return null}let et=(()=>{class d{get name(){return this._name}set name(r){this._name=r,this._syncColumnDefName()}constructor(r,s){this._table=r,this._options=s,this.justify="start",this._options=s||{}}ngOnInit(){this._syncColumnDefName(),void 0===this.headerText&&(this.headerText=this._createDefaultHeaderText()),this.dataAccessor||(this.dataAccessor=this._options.defaultDataAccessor||((r,s)=>r[s])),this._table&&(this.columnDef.cell=this.cell,this.columnDef.headerCell=this.headerCell,this._table.addColumnDef(this.columnDef))}ngOnDestroy(){this._table&&this._table.removeColumnDef(this.columnDef)}_createDefaultHeaderText(){const r=this.name;return this._options&&this._options.defaultHeaderTextTransform?this._options.defaultHeaderTextTransform(r):r[0].toUpperCase()+r.slice(1)}_syncColumnDefName(){this.columnDef&&(this.columnDef.name=this.name)}static#e=this.\u0275fac=function(s){return new(s||d)(a.rXU(Oe,8),a.rXU(fe,8))};static#t=this.\u0275cmp=a.VBU({type:d,selectors:[["cdk-text-column"]],viewQuery:function(s,l){if(1&s&&(a.GBs(M,7),a.GBs(y,7),a.GBs(R,7)),2&s){let g;a.mGM(g=a.lsd())&&(l.columnDef=g.first),a.mGM(g=a.lsd())&&(l.cell=g.first),a.mGM(g=a.lsd())&&(l.headerCell=g.first)}},inputs:{name:"name",headerText:"headerText",dataAccessor:"dataAccessor",justify:"justify"},standalone:!0,features:[a.aNF],decls:3,vars:0,consts:[["cdkColumnDef",""],["cdk-header-cell","",3,"text-align",4,"cdkHeaderCellDef"],["cdk-cell","",3,"text-align",4,"cdkCellDef"],["cdk-header-cell",""],["cdk-cell",""]],template:function(s,l){1&s&&(a.qex(0,0),a.DNE(1,ne,2,3,"th",1)(2,G,2,3,"td",2),a.bVm())},dependencies:[M,R,v,y,j],encapsulation:2})}return d})(),yt=(()=>{class d{static#e=this.\u0275fac=function(s){return new(s||d)};static#t=this.\u0275mod=a.$C({type:d});static#n=this.\u0275inj=a.G2t({imports:[P.E9]})}return d})()},1146:(Te,he,w)=>{w.r(he),w.d(he,{MatSelectionColumnExample:()=>ce,MatSelectionListExample:()=>Ce});var e=w(4438),C=w(4085),p=w(180),P=w(6450),Z=w(177),a=w(2765);function J(m,B){if(1&m&&(e.nrm(0,"mat-checkbox",5,0),e.nI1(2,"async")),2&m){const b=e.sdS(1);e.Y8G("indeterminate",e.bMT(2,1,b.indeterminate))}}function z(m,B){if(1&m&&(e.j41(0,"th",4),e.DNE(1,J,3,3,"mat-checkbox",5),e.k0s()),2&m){const b=e.XpG();e.R7$(),e.vxM(b.selection.multiple?1:-1)}}function N(m,B){if(1&m&&(e.j41(0,"td",6),e.nrm(1,"mat-checkbox",7),e.k0s()),2&m){const b=B.$implicit,T=B.$index;e.R7$(),e.Y8G("matSelectionToggleValue",b)("matSelectionToggleIndex",T)}}let ee=(()=>{class m extends p.XI{constructor(){super(...arguments),this.change=new e.bkB}get multiple(){return this._multiple}set multiple(b){this._multiple=(0,C.he)(b)}static#e=this.\u0275fac=(()=>{let b;return function(S){return(b||(b=e.xGo(m)))(S||m)}})();static#t=this.\u0275dir=e.FsC({type:m,selectors:[["","matSelection",""]],inputs:{multiple:[0,"matSelectionMultiple","multiple"]},outputs:{change:"matSelectionChange"},exportAs:["matSelection"],standalone:!0,features:[e.Jv_([{provide:p.XI,useExisting:m}]),e.Vt3]})}return m})(),X=(()=>{class m extends p.ax{static#e=this.\u0275fac=(()=>{let b;return function(S){return(b||(b=e.xGo(m)))(S||m)}})();static#t=this.\u0275dir=e.FsC({type:m,selectors:[["","matSelectAll",""]],exportAs:["matSelectAll"],standalone:!0,features:[e.Jv_([{provide:p.ax,useExisting:m}]),e.Vt3]})}return m})(),re=(()=>{class m extends p.DQ{constructor(){super(...arguments),this.value=void 0}static#e=this.\u0275fac=(()=>{let b;return function(S){return(b||(b=e.xGo(m)))(S||m)}})();static#t=this.\u0275dir=e.FsC({type:m,selectors:[["","matSelectionToggle",""]],inputs:{index:[0,"matSelectionToggleIndex","index"],value:[0,"matSelectionToggleValue","value"]},exportAs:["matSelectionToggle"],standalone:!0,features:[e.Jv_([{provide:p.DQ,useExisting:m}]),e.Vt3]})}return m})(),se=(()=>{class m{get name(){return this._name}set name(b){this._name=b,this._syncColumnDefName()}constructor(b,T){this._table=b,this.selection=T}ngOnInit(){this._syncColumnDefName(),this._table&&(this._columnDef.cell=this._cell,this._columnDef.headerCell=this._headerCell,this._table.addColumnDef(this._columnDef))}ngOnDestroy(){this._table&&this._table.removeColumnDef(this._columnDef)}_syncColumnDefName(){this._columnDef&&(this._columnDef.name=this._name)}static#e=this.\u0275fac=function(T){return new(T||m)(e.rXU(P.Zl,8),e.rXU(ee,8))};static#t=this.\u0275cmp=e.VBU({type:m,selectors:[["mat-selection-column"]],viewQuery:function(T,S){if(1&T&&(e.GBs(P.cC,7),e.GBs(P.YV,7),e.GBs(P.tL,7)),2&T){let H;e.mGM(H=e.lsd())&&(S._columnDef=H.first),e.mGM(H=e.lsd())&&(S._cell=H.first),e.mGM(H=e.lsd())&&(S._headerCell=H.first)}},inputs:{name:"name"},standalone:!0,features:[e.aNF],decls:3,vars:0,consts:[["allToggler","matSelectAll"],["matColumnDef",""],["mat-header-cell","","class","mat-selection-column-header",4,"matHeaderCellDef"],["mat-cell","","class","mat-selection-column-cell",4,"matCellDef"],["mat-header-cell","",1,"mat-selection-column-header"],["matSelectAll","",3,"indeterminate"],["mat-cell","",1,"mat-selection-column-cell"],["matSelectionToggle","",3,"matSelectionToggleValue","matSelectionToggleIndex"]],template:function(T,S){1&T&&(e.qex(0,1),e.DNE(1,z,2,1,"th",2)(2,N,2,2,"td",3),e.bVm())},dependencies:[P.cC,P.tL,P.KS,a.So,X,P.YV,P.$R,re,Z.Jj],styles:["th.mat-selection-column-header,td.mat-selection-column-cell{text-align:center;width:48px}"],encapsulation:2,changeDetection:0})}return m})(),ae=(()=>{class m extends p.PR{static#e=this.\u0275fac=(()=>{let b;return function(S){return(b||(b=e.xGo(m)))(S||m)}})();static#t=this.\u0275dir=e.FsC({type:m,selectors:[["","matRowSelection",""]],hostVars:3,hostBindings:function(T,S){2&T&&(e.BMQ("aria-selected",S._selection.isSelected(S.value,S.index)),e.AVh("mat-selected",S._selection.isSelected(S.value,S.index)))},inputs:{index:[0,"matRowSelectionIndex","index"],value:[0,"matRowSelectionValue","value"]},standalone:!0,features:[e.Jv_([{provide:p.PR,useExisting:m}]),e.Vt3]})}return m})(),te=(()=>{class m{static#e=this.\u0275fac=function(T){return new(T||m)};static#t=this.\u0275mod=e.$C({type:m});static#n=this.\u0275inj=e.G2t({imports:[Z.MD,P.tP,a.g7,se]})}return m})();function K(m,B){1&m&&(e.j41(0,"th",10),e.EFF(1," No. "),e.k0s())}function ne(m,B){if(1&m&&(e.j41(0,"td",11),e.EFF(1),e.k0s()),2&m){const b=B.$implicit;e.R7$(),e.SpI(" ",b.position," ")}}function G(m,B){1&m&&(e.j41(0,"th",10),e.EFF(1," Name "),e.k0s())}function V(m,B){if(1&m&&(e.j41(0,"td",11),e.EFF(1),e.k0s()),2&m){const b=B.$implicit;e.R7$(),e.SpI(" ",b.name," ")}}function fe(m,B){1&m&&(e.j41(0,"th",10),e.EFF(1," Weight "),e.k0s())}function y(m,B){if(1&m&&(e.j41(0,"td",11),e.EFF(1),e.k0s()),2&m){const b=B.$implicit;e.R7$(),e.SpI(" ",b.weight," ")}}function R(m,B){1&m&&(e.j41(0,"th",10),e.EFF(1," Symbol "),e.k0s())}function f(m,B){if(1&m&&(e.j41(0,"td",11),e.EFF(1),e.k0s()),2&m){const b=B.$implicit;e.R7$(),e.SpI(" ",b.symbol," ")}}function M(m,B){1&m&&e.nrm(0,"tr",12)}function u(m,B){1&m&&e.nrm(0,"tr",13),2&m&&e.Y8G("matRowSelectionValue",B.$implicit)}function v(m,B){if(1&m){const b=e.RV6();e.j41(0,"li")(1,"input",9,3),e.nI1(3,"async"),e.bIt("click",function(){e.eBV(b);const S=e.sdS(2);return e.Njj(S.toggle())}),e.k0s(),e.EFF(4),e.k0s()}if(2&m){const b=B.$implicit,T=e.sdS(2);e.R7$(),e.Y8G("matSelectionToggleValue",b)("checked",e.bMT(3,3,T.checked)),e.R7$(3),e.SpI(" ",b," ")}}function U(m,B){if(1&m&&(e.j41(0,"li"),e.nrm(1,"mat-checkbox",10),e.EFF(2),e.k0s()),2&m){const b=B.$implicit;e.R7$(),e.Y8G("matSelectionToggleValue",b),e.R7$(),e.SpI(" ",b," ")}}function j(m,B){if(1&m&&(e.j41(0,"li"),e.nrm(1,"mat-checkbox",10),e.EFF(2),e.k0s()),2&m){const b=B.$implicit;e.R7$(),e.Y8G("matSelectionToggleValue",b),e.R7$(),e.SpI(" ",b," ")}}function ge(m,B){if(1&m&&(e.j41(0,"li"),e.nrm(1,"mat-checkbox",11),e.EFF(2),e.k0s()),2&m){const b=B.$implicit,T=B.$index;e.R7$(),e.Y8G("matSelectionToggleValue",b)("matSelectionToggleIndex",T),e.R7$(),e.SpI(" ",b," ")}}let ce=(()=>{class m{constructor(){this.displayedColumns=["select","position","name","weight","symbol"],this.dataSource=pe,this.selected=[]}selectionChanged(b){this.selected=b.after.map(T=>T.value.name)}static#e=this.\u0275fac=function(T){return new(T||m)};static#t=this.\u0275cmp=e.VBU({type:m,selectors:[["mat-selection-column-example"]],standalone:!0,features:[e.aNF],decls:17,vars:5,consts:[["mat-table","","matSelection","",1,"example-table",3,"matSelectionChange","dataSource","matSelectionMultiple"],["name","select"],["matColumnDef","position"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","name"],["matColumnDef","weight"],["matColumnDef","symbol"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","matRowSelection","",3,"matRowSelectionValue",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row",""],["mat-row","","matRowSelection","",3,"matRowSelectionValue"]],template:function(T,S){1&T&&(e.EFF(0),e.j41(1,"table",0),e.bIt("matSelectionChange",function(h){return S.selectionChanged(h)}),e.nrm(2,"mat-selection-column",1),e.qex(3,2),e.DNE(4,K,2,0,"th",3)(5,ne,2,1,"td",4),e.bVm(),e.qex(6,5),e.DNE(7,G,2,0,"th",3)(8,V,2,1,"td",4),e.bVm(),e.qex(9,6),e.DNE(10,fe,2,0,"th",3)(11,y,2,1,"td",4),e.bVm(),e.qex(12,7),e.DNE(13,R,2,0,"th",3)(14,f,2,1,"td",4),e.bVm(),e.DNE(15,M,1,0,"tr",8)(16,u,1,1,"tr",9),e.k0s()),2&T&&(e.SpI("Selected: ",S.selected,"\n"),e.R7$(),e.Y8G("dataSource",S.dataSource)("matSelectionMultiple",!0),e.R7$(14),e.Y8G("matHeaderRowDef",S.displayedColumns),e.R7$(),e.Y8G("matRowDefColumns",S.displayedColumns))},dependencies:[P.tP,P.Zl,P.tL,P.ji,P.cC,P.YV,P.iL,P.KS,P.$R,P.YZ,P.NB,te,ee,se,ae],styles:[".example-table[_ngcontent-%COMP%] {\n width: 100%;\n}"]})}return m})();const pe=[{position:1,name:"Hydrogen",weight:1.0079,symbol:"H"},{position:2,name:"Helium",weight:4.0026,symbol:"He"},{position:3,name:"Lithium",weight:6.941,symbol:"Li"},{position:4,name:"Beryllium",weight:9.0122,symbol:"Be"},{position:5,name:"Boron",weight:10.811,symbol:"B"},{position:6,name:"Carbon",weight:12.0107,symbol:"C"},{position:7,name:"Nitrogen",weight:14.0067,symbol:"N"},{position:8,name:"Oxygen",weight:15.9994,symbol:"O"},{position:9,name:"Fluorine",weight:18.9984,symbol:"F"},{position:10,name:"Neon",weight:20.1797,symbol:"Ne"},{position:11,name:"Sodium",weight:22.9897,symbol:"Na"},{position:12,name:"Magnesium",weight:24.305,symbol:"Mg"},{position:13,name:"Aluminum",weight:26.9815,symbol:"Al"},{position:14,name:"Silicon",weight:28.0855,symbol:"Si"},{position:15,name:"Phosphorus",weight:30.9738,symbol:"P"},{position:16,name:"Sulfur",weight:32.065,symbol:"S"},{position:17,name:"Chlorine",weight:35.453,symbol:"Cl"},{position:18,name:"Argon",weight:39.948,symbol:"Ar"},{position:19,name:"Potassium",weight:39.0983,symbol:"K"},{position:20,name:"Calcium",weight:40.078,symbol:"Ca"}];let Ce=(()=>{class m{constructor(){this.data=ue,this.selected1=[],this.selected2=[],this.selected3=[],this.selected4=[]}getCurrentSelected(b){return b.after.map(T=>T.value)}trackByFn(b,T){return b}changeElementName(){this.data=me}reset(){this.data=ue}static#e=this.\u0275fac=function(T){return new(T||m)};static#t=this.\u0275cmp=e.VBU({type:m,selectors:[["mat-selection-list-example"]],standalone:!0,features:[e.aNF],decls:42,vars:25,consts:[["allToggler","matSelectAll"],["toggle1","matSelectAll"],["toggle2","matSelectAll"],["toggler","matSelectionToggle"],["matSelection","",3,"matSelectionChange","dataSource","matSelectionMultiple"],["type","checkbox","matSelectAll","",3,"click","checked","indeterminate"],["matSelectAll","",3,"indeterminate"],["matSelection","",3,"matSelectionChange","dataSource","matSelectionMultiple","trackBy"],[3,"click"],["type","checkbox","matSelectionToggle","",3,"click","matSelectionToggleValue","checked"],["matSelectionToggle","",3,"matSelectionToggleValue"],["matSelectionToggle","",3,"matSelectionToggleValue","matSelectionToggleIndex"]],template:function(T,S){if(1&T){const H=e.RV6();e.j41(0,"h3")(1,"code"),e.EFF(2,"native input"),e.k0s()(),e.EFF(3),e.j41(4,"ul",4),e.bIt("matSelectionChange",function(A){return e.eBV(H),e.Njj(S.selected1=S.getCurrentSelected(A))}),e.j41(5,"input",5,0),e.nI1(7,"async"),e.nI1(8,"async"),e.bIt("click",function(A){e.eBV(H);const _=e.sdS(6);return e.Njj(_.toggle(A))}),e.k0s(),e.Z7z(9,v,5,5,"li",null,e.fX1),e.k0s(),e.j41(11,"h3")(12,"code"),e.EFF(13,"mat-checkbox"),e.k0s()(),e.EFF(14),e.j41(15,"ul",4),e.bIt("matSelectionChange",function(A){return e.eBV(H),e.Njj(S.selected2=S.getCurrentSelected(A))}),e.nrm(16,"mat-checkbox",6,1),e.nI1(18,"async"),e.Z7z(19,U,3,2,"li",null,e.fX1),e.k0s(),e.j41(21,"h3")(22,"code"),e.EFF(23,"Single select with mat-checkbox"),e.k0s()(),e.EFF(24),e.j41(25,"ul",4),e.bIt("matSelectionChange",function(A){return e.eBV(H),e.Njj(S.selected3=S.getCurrentSelected(A))}),e.Z7z(26,j,3,2,"li",null,e.fX1),e.k0s(),e.j41(28,"h3")(29,"code"),e.EFF(30,"with trackBy"),e.k0s()(),e.EFF(31),e.j41(32,"ul",7),e.bIt("matSelectionChange",function(A){return e.eBV(H),e.Njj(S.selected4=S.getCurrentSelected(A))}),e.nrm(33,"mat-checkbox",6,2),e.nI1(35,"async"),e.Z7z(36,ge,3,3,"li",null,S.trackByFn,!0),e.k0s(),e.j41(38,"button",8),e.bIt("click",function(){return e.eBV(H),e.Njj(S.changeElementName())}),e.EFF(39,"Change element names and the already selected stays"),e.k0s(),e.j41(40,"button",8),e.bIt("click",function(){return e.eBV(H),e.Njj(S.reset())}),e.EFF(41,"reset"),e.k0s()}if(2&T){const H=e.sdS(6),h=e.sdS(17),A=e.sdS(34);e.R7$(3),e.SpI("\nSelected: ",S.selected1,"\n"),e.R7$(),e.Y8G("dataSource",S.data)("matSelectionMultiple",!0),e.R7$(),e.Y8G("checked",e.bMT(7,17,H.checked))("indeterminate",e.bMT(8,19,H.indeterminate)),e.R7$(4),e.Dyx(S.data),e.R7$(5),e.SpI("\nSelected: ",S.selected2,"\n"),e.R7$(),e.Y8G("dataSource",S.data)("matSelectionMultiple",!0),e.R7$(),e.Y8G("indeterminate",e.bMT(18,21,h.indeterminate)),e.R7$(3),e.Dyx(S.data),e.R7$(5),e.SpI("\nSelected: ",S.selected3,"\n"),e.R7$(),e.Y8G("dataSource",S.data)("matSelectionMultiple",!1),e.R7$(),e.Dyx(S.data),e.R7$(5),e.SpI("\nSelected: ",S.selected4,"\n"),e.R7$(),e.Y8G("dataSource",S.data)("matSelectionMultiple",!0)("trackBy",S.trackByFn),e.R7$(),e.Y8G("indeterminate",e.bMT(35,23,A.indeterminate)),e.R7$(3),e.Dyx(S.data)}},dependencies:[te,X,ee,re,a.g7,a.So,Z.Jj],encapsulation:2})}return m})();const ue=["Hydrogen","Helium","Lithium","Beryllium","Boron","Carbon","Nitrogen","Oxygen","Fluorine","Neon","Sodium","Magnesium","Aluminum","Silicon","Phosphorus","Sulfur","Chlorine","Argon","Potassium","Calcium"],me=["H","He","Li","Be","B","C","N","O","F","Ne","Na","Mg","Al","Si","P","S","Cl","Ar","K","Ca"]},9417:(Te,he,w)=>{w.d(he,{BC:()=>Ve,JD:()=>ft,MJ:()=>Ae,MR:()=>lt,Q0:()=>ct,X1:()=>Nn,YN:()=>On,YS:()=>Ye,ZU:()=>W,Zm:()=>X,cV:()=>Qe,cb:()=>Fe,cz:()=>G,gE:()=>Re,j4:()=>qe,k0:()=>y,kq:()=>N,l_:()=>ht,me:()=>te,ok:()=>Tn,qT:()=>Rt,vO:()=>q,vS:()=>at,wz:()=>Je,xH:()=>Nt,xq:()=>gt,y7:()=>It});var e=w(4438),C=w(177),p=w(4787),P=w(696),Z=w(5286),a=w(5006);let J=(()=>{class n{constructor(t,i){this._renderer=t,this._elementRef=i,this.onChange=c=>{},this.onTouched=()=>{}}setProperty(t,i){this._renderer.setProperty(this._elementRef.nativeElement,t,i)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static#e=this.\u0275fac=function(i){return new(i||n)(e.rXU(e.sFG),e.rXU(e.aKT))};static#t=this.\u0275dir=e.FsC({type:n})}return n})(),z=(()=>{class n extends J{static#e=this.\u0275fac=(()=>{let t;return function(c){return(t||(t=e.xGo(n)))(c||n)}})();static#t=this.\u0275dir=e.FsC({type:n,features:[e.Vt3]})}return n})();const N=new e.nKC(""),ee={provide:N,useExisting:(0,e.Rfq)(()=>X),multi:!0};let X=(()=>{class n extends z{writeValue(t){this.setProperty("checked",t)}static#e=this.\u0275fac=(()=>{let t;return function(c){return(t||(t=e.xGo(n)))(c||n)}})();static#t=this.\u0275dir=e.FsC({type:n,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(i,c){1&i&&e.bIt("change",function(O){return c.onChange(O.target.checked)})("blur",function(){return c.onTouched()})},features:[e.Jv_([ee]),e.Vt3]})}return n})();const re={provide:N,useExisting:(0,e.Rfq)(()=>te),multi:!0},ae=new e.nKC("");let te=(()=>{class n extends J{constructor(t,i,c){super(t,i),this._compositionMode=c,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function se(){const n=(0,C.QT)()?(0,C.QT)().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}())}writeValue(t){this.setProperty("value",t??"")}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static#e=this.\u0275fac=function(i){return new(i||n)(e.rXU(e.sFG),e.rXU(e.aKT),e.rXU(ae,8))};static#t=this.\u0275dir=e.FsC({type:n,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,c){1&i&&e.bIt("input",function(O){return c._handleInput(O.target.value)})("blur",function(){return c.onTouched()})("compositionstart",function(){return c._compositionStart()})("compositionend",function(O){return c._compositionEnd(O.target.value)})},features:[e.Jv_([re]),e.Vt3]})}return n})();function K(n){return null==n||("string"==typeof n||Array.isArray(n))&&0===n.length}function ne(n){return null!=n&&"number"==typeof n.length}const G=new e.nKC(""),V=new e.nKC(""),fe=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class y{static min(o){return function R(n){return o=>{if(K(o.value)||K(n))return null;const t=parseFloat(o.value);return!isNaN(t)&&t<n?{min:{min:n,actual:o.value}}:null}}(o)}static max(o){return function f(n){return o=>{if(K(o.value)||K(n))return null;const t=parseFloat(o.value);return!isNaN(t)&&t>n?{max:{max:n,actual:o.value}}:null}}(o)}static required(o){return M(o)}static requiredTrue(o){return u(o)}static email(o){return function v(n){return K(n.value)||fe.test(n.value)?null:{email:!0}}(o)}static minLength(o){return function U(n){return o=>K(o.value)||!ne(o.value)?null:o.value.length<n?{minlength:{requiredLength:n,actualLength:o.value.length}}:null}(o)}static maxLength(o){return function j(n){return o=>ne(o.value)&&o.value.length>n?{maxlength:{requiredLength:n,actualLength:o.value.length}}:null}(o)}static pattern(o){return function ge(n){if(!n)return ce;let o,t;return"string"==typeof n?(t="","^"!==n.charAt(0)&&(t+="^"),t+=n,"$"!==n.charAt(n.length-1)&&(t+="$"),o=new RegExp(t)):(t=n.toString(),o=n),i=>{if(K(i.value))return null;const c=i.value;return o.test(c)?null:{pattern:{requiredPattern:t,actualValue:c}}}}(o)}static nullValidator(o){return null}static compose(o){return b(o)}static composeAsync(o){return S(o)}}function M(n){return K(n.value)?{required:!0}:null}function u(n){return!0===n.value?null:{required:!0}}function ce(n){return null}function pe(n){return null!=n}function Ce(n){return(0,e.jNT)(n)?(0,p.H)(n):n}function ue(n){let o={};return n.forEach(t=>{o=null!=t?{...o,...t}:o}),0===Object.keys(o).length?null:o}function me(n,o){return o.map(t=>t(n))}function B(n){return n.map(o=>function m(n){return!n.validate}(o)?o:t=>o.validate(t))}function b(n){if(!n)return null;const o=n.filter(pe);return 0==o.length?null:function(t){return ue(me(t,o))}}function T(n){return null!=n?b(B(n)):null}function S(n){if(!n)return null;const o=n.filter(pe);return 0==o.length?null:function(t){const i=me(t,o).map(Ce);return(0,P.p)(i).pipe((0,a.T)(ue))}}function H(n){return null!=n?S(B(n)):null}function h(n,o){return null===n?[o]:Array.isArray(n)?[...n,o]:[n,o]}function A(n){return n._rawValidators}function _(n){return n._rawAsyncValidators}function F(n){return n?Array.isArray(n)?n:[n]:[]}function D(n,o){return Array.isArray(n)?n.includes(o):n===o}function le(n,o){const t=F(o);return F(n).forEach(c=>{D(t,c)||t.push(c)}),t}function ye(n,o){return F(o).filter(t=>!D(n,t))}class oe{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(o){this._rawValidators=o||[],this._composedValidatorFn=T(this._rawValidators)}_setAsyncValidators(o){this._rawAsyncValidators=o||[],this._composedAsyncValidatorFn=H(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(o){this._onDestroyCallbacks.push(o)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(o=>o()),this._onDestroyCallbacks=[]}reset(o=void 0){this.control&&this.control.reset(o)}hasError(o,t){return!!this.control&&this.control.hasError(o,t)}getError(o,t){return this.control?this.control.getError(o,t):null}}class W extends oe{get formDirective(){return null}get path(){return null}}class q extends oe{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Ee{constructor(o){this._cd=o}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Ve=(()=>{class n extends Ee{constructor(t){super(t)}static#e=this.\u0275fac=function(i){return new(i||n)(e.rXU(q,2))};static#t=this.\u0275dir=e.FsC({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,c){2&i&&e.AVh("ng-untouched",c.isUntouched)("ng-touched",c.isTouched)("ng-pristine",c.isPristine)("ng-dirty",c.isDirty)("ng-valid",c.isValid)("ng-invalid",c.isInvalid)("ng-pending",c.isPending)},features:[e.Vt3]})}return n})(),Fe=(()=>{class n extends Ee{constructor(t){super(t)}static#e=this.\u0275fac=function(i){return new(i||n)(e.rXU(W,10))};static#t=this.\u0275dir=e.FsC({type:n,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,c){2&i&&e.AVh("ng-untouched",c.isUntouched)("ng-touched",c.isTouched)("ng-pristine",c.isPristine)("ng-dirty",c.isDirty)("ng-valid",c.isValid)("ng-invalid",c.isInvalid)("ng-pending",c.isPending)("ng-submitted",c.isSubmitted)},features:[e.Vt3]})}return n})();const I="VALID",L="INVALID",Y="PENDING",$="DISABLED";class Q{}class de extends Q{constructor(o,t){super(),this.value=o,this.source=t}}class _e extends Q{constructor(o,t){super(),this.pristine=o,this.source=t}}class Be extends Q{constructor(o,t){super(),this.touched=o,this.source=t}}class be extends Q{constructor(o,t){super(),this.status=o,this.source=t}}class ie extends Q{constructor(o){super(),this.source=o}}class je extends Q{constructor(o){super(),this.source=o}}function tt(n){return(He(n)?n.validators:n)||null}function nt(n,o){return(He(o)?o.asyncValidators:n)||null}function He(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}function kt(n,o,t){const i=n.controls;if(!(o?Object.keys(i):i).length)throw new e.wOt(1e3,"");if(!i[t])throw new e.wOt(1001,"")}function vt(n,o,t){n._forEachChild((i,c)=>{if(void 0===t[c])throw new e.wOt(1002,"")})}class $e{constructor(o,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._events=new Z.B7,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(o),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(o){this._rawValidators=this._composedValidatorFn=o}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(o){this._rawAsyncValidators=this._composedAsyncValidatorFn=o}get parent(){return this._parent}get valid(){return this.status===I}get invalid(){return this.status===L}get pending(){return this.status==Y}get disabled(){return this.status===$}get enabled(){return this.status!==$}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(o){this._assignValidators(o)}setAsyncValidators(o){this._assignAsyncValidators(o)}addValidators(o){this.setValidators(le(o,this._rawValidators))}addAsyncValidators(o){this.setAsyncValidators(le(o,this._rawAsyncValidators))}removeValidators(o){this.setValidators(ye(o,this._rawValidators))}removeAsyncValidators(o){this.setAsyncValidators(ye(o,this._rawAsyncValidators))}hasValidator(o){return D(this._rawValidators,o)}hasAsyncValidator(o){return D(this._rawAsyncValidators,o)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(o={}){const t=!1===this.touched;this.touched=!0;const i=o.sourceControl??this;this._parent&&!o.onlySelf&&this._parent.markAsTouched({...o,sourceControl:i}),t&&!1!==o.emitEvent&&this._events.next(new Be(!0,i))}markAllAsTouched(o={}){this.markAsTouched({onlySelf:!0,emitEvent:o.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsTouched(o))}markAsUntouched(o={}){const t=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const i=o.sourceControl??this;this._forEachChild(c=>{c.markAsUntouched({onlySelf:!0,emitEvent:o.emitEvent,sourceControl:i})}),this._parent&&!o.onlySelf&&this._parent._updateTouched(o,i),t&&!1!==o.emitEvent&&this._events.next(new Be(!1,i))}markAsDirty(o={}){const t=!0===this.pristine;this.pristine=!1;const i=o.sourceControl??this;this._parent&&!o.onlySelf&&this._parent.markAsDirty({...o,sourceControl:i}),t&&!1!==o.emitEvent&&this._events.next(new _e(!1,i))}markAsPristine(o={}){const t=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const i=o.sourceControl??this;this._forEachChild(c=>{c.markAsPristine({onlySelf:!0,emitEvent:o.emitEvent})}),this._parent&&!o.onlySelf&&this._parent._updatePristine(o,i),t&&!1!==o.emitEvent&&this._events.next(new _e(!0,i))}markAsPending(o={}){this.status=Y;const t=o.sourceControl??this;!1!==o.emitEvent&&(this._events.next(new be(this.status,t)),this.statusChanges.emit(this.status)),this._parent&&!o.onlySelf&&this._parent.markAsPending({...o,sourceControl:t})}disable(o={}){const t=this._parentMarkedDirty(o.onlySelf);this.status=$,this.errors=null,this._forEachChild(c=>{c.disable({...o,onlySelf:!0})}),this._updateValue();const i=o.sourceControl??this;!1!==o.emitEvent&&(this._events.next(new de(this.value,i)),this._events.next(new be(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...o,skipPristineCheck:t},this),this._onDisabledChange.forEach(c=>c(!0))}enable(o={}){const t=this._parentMarkedDirty(o.onlySelf);this.status=I,this._forEachChild(i=>{i.enable({...o,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:o.emitEvent}),this._updateAncestors({...o,skipPristineCheck:t},this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(o,t){this._parent&&!o.onlySelf&&(this._parent.updateValueAndValidity(o),o.skipPristineCheck||this._parent._updatePristine({},t),this._parent._updateTouched({},t))}setParent(o){this._parent=o}getRawValue(){return this.value}updateValueAndValidity(o={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===I||this.status===Y)&&this._runAsyncValidator(i,o.emitEvent)}const t=o.sourceControl??this;!1!==o.emitEvent&&(this._events.next(new de(this.value,t)),this._events.next(new be(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!o.onlySelf&&this._parent.updateValueAndValidity({...o,sourceControl:t})}_updateTreeValidity(o={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(o)),this.updateValueAndValidity({onlySelf:!0,emitEvent:o.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?$:I}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(o,t){if(this.asyncValidator){this.status=Y,this._hasOwnPendingAsyncValidator={emitEvent:!1!==t};const i=Ce(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(c=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(c,{emitEvent:t,shouldHaveEmitted:o})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const o=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,o}return!1}setErrors(o,t={}){this.errors=o,this._updateControlsErrors(!1!==t.emitEvent,this,t.shouldHaveEmitted)}get(o){let t=o;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((i,c)=>i&&i._find(c),this)}getError(o,t){const i=t?this.get(t):this;return i&&i.errors?i.errors[o]:null}hasError(o,t){return!!this.getError(o,t)}get root(){let o=this;for(;o._parent;)o=o._parent;return o}_updateControlsErrors(o,t,i){this.status=this._calculateStatus(),o&&this.statusChanges.emit(this.status),(o||i)&&this._events.next(new be(this.status,t)),this._parent&&this._parent._updateControlsErrors(o,t,i)}_initObservables(){this.valueChanges=new e.bkB,this.statusChanges=new e.bkB}_calculateStatus(){return this._allControlsDisabled()?$:this.errors?L:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Y)?Y:this._anyControlsHaveStatus(L)?L:I}_anyControlsHaveStatus(o){return this._anyControls(t=>t.status===o)}_anyControlsDirty(){return this._anyControls(o=>o.dirty)}_anyControlsTouched(){return this._anyControls(o=>o.touched)}_updatePristine(o,t){const i=!this._anyControlsDirty(),c=this.pristine!==i;this.pristine=i,this._parent&&!o.onlySelf&&this._parent._updatePristine(o,t),c&&this._events.next(new _e(this.pristine,t))}_updateTouched(o={},t){this.touched=this._anyControlsTouched(),this._events.next(new Be(this.touched,t)),this._parent&&!o.onlySelf&&this._parent._updateTouched(o,t)}_registerOnCollectionChange(o){this._onCollectionChange=o}_setUpdateStrategy(o){He(o)&&null!=o.updateOn&&(this._updateOn=o.updateOn)}_parentMarkedDirty(o){return!o&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(o){return null}_assignValidators(o){this._rawValidators=Array.isArray(o)?o.slice():o,this._composedValidatorFn=function Jt(n){return Array.isArray(n)?T(n):n||null}(this._rawValidators)}_assignAsyncValidators(o){this._rawAsyncValidators=Array.isArray(o)?o.slice():o,this._composedAsyncValidatorFn=function Yt(n){return Array.isArray(n)?H(n):n||null}(this._rawAsyncValidators)}}class Re extends $e{constructor(o,t,i){super(tt(t),nt(i,t)),this.controls=o,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(o,t){return this.controls[o]?this.controls[o]:(this.controls[o]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(o,t,i={}){this.registerControl(o,t),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(o,t={}){this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),delete this.controls[o],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(o,t,i={}){this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),delete this.controls[o],t&&this.registerControl(o,t),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(o){return this.controls.hasOwnProperty(o)&&this.controls[o].enabled}setValue(o,t={}){vt(this,0,o),Object.keys(o).forEach(i=>{kt(this,!0,i),this.controls[i].setValue(o[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(o,t={}){null!=o&&(Object.keys(o).forEach(i=>{const c=this.controls[i];c&&c.patchValue(o[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(o={},t={}){this._forEachChild((i,c)=>{i.reset(o?o[c]:null,{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(o,t,i)=>(o[i]=t.getRawValue(),o))}_syncPendingControls(){let o=this._reduceChildren(!1,(t,i)=>!!i._syncPendingControls()||t);return o&&this.updateValueAndValidity({onlySelf:!0}),o}_forEachChild(o){Object.keys(this.controls).forEach(t=>{const i=this.controls[t];i&&o(i,t)})}_setUpControls(){this._forEachChild(o=>{o.setParent(this),o._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(o){for(const[t,i]of Object.entries(this.controls))if(this.contains(t)&&o(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(t,i,c)=>((i.enabled||this.disabled)&&(t[c]=i.value),t))}_reduceChildren(o,t){let i=o;return this._forEachChild((c,x)=>{i=t(i,c,x)}),i}_allControlsDisabled(){for(const o of Object.keys(this.controls))if(this.controls[o].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(o){return this.controls.hasOwnProperty(o)?this.controls[o]:null}}class Ct extends Re{}const Me=new e.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>Ie}),Ie="always";function Xe(n,o){return[...o.path,n]}function Ue(n,o,t=Ie){ot(n,o),o.valueAccessor.writeValue(n.value),(n.disabled||"always"===t)&&o.valueAccessor.setDisabledState?.(n.disabled),function en(n,o){o.valueAccessor.registerOnChange(t=>{n._pendingValue=t,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&xt(n,o)})}(n,o),function nn(n,o){const t=(i,c)=>{o.valueAccessor.writeValue(i),c&&o.viewToModelUpdate(i)};n.registerOnChange(t),o._registerOnDestroy(()=>{n._unregisterOnChange(t)})}(n,o),function tn(n,o){o.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&xt(n,o),"submit"!==n.updateOn&&n.markAsTouched()})}(n,o),function Zt(n,o){if(o.valueAccessor.setDisabledState){const t=i=>{o.valueAccessor.setDisabledState(i)};n.registerOnDisabledChange(t),o._registerOnDestroy(()=>{n._unregisterOnDisabledChange(t)})}}(n,o)}function We(n,o,t=!0){const i=()=>{};o.valueAccessor&&(o.valueAccessor.registerOnChange(i),o.valueAccessor.registerOnTouched(i)),Ke(n,o),n&&(o._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function ze(n,o){n.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(o)})}function ot(n,o){const t=A(n);null!==o.validator?n.setValidators(h(t,o.validator)):"function"==typeof t&&n.setValidators([t]);const i=_(n);null!==o.asyncValidator?n.setAsyncValidators(h(i,o.asyncValidator)):"function"==typeof i&&n.setAsyncValidators([i]);const c=()=>n.updateValueAndValidity();ze(o._rawValidators,c),ze(o._rawAsyncValidators,c)}function Ke(n,o){let t=!1;if(null!==n){if(null!==o.validator){const c=A(n);if(Array.isArray(c)&&c.length>0){const x=c.filter(O=>O!==o.validator);x.length!==c.length&&(t=!0,n.setValidators(x))}}if(null!==o.asyncValidator){const c=_(n);if(Array.isArray(c)&&c.length>0){const x=c.filter(O=>O!==o.asyncValidator);x.length!==c.length&&(t=!0,n.setAsyncValidators(x))}}}const i=()=>{};return ze(o._rawValidators,i),ze(o._rawAsyncValidators,i),t}function xt(n,o){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),o.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function Dt(n,o){ot(n,o)}function rt(n,o){if(!n.hasOwnProperty("model"))return!1;const t=n.model;return!!t.isFirstChange()||!Object.is(o,t.currentValue)}function wt(n,o){n._syncPendingControls(),o.forEach(t=>{const i=t.control;"submit"===i.updateOn&&i._pendingChange&&(t.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function st(n,o){if(!o)return null;let t,i,c;return Array.isArray(o),o.forEach(x=>{x.constructor===te?t=x:function sn(n){return Object.getPrototypeOf(n.constructor)===z}(x)?i=x:c=x}),c||i||t||null}const cn={provide:W,useExisting:(0,e.Rfq)(()=>Qe)},Pe=Promise.resolve();let Qe=(()=>{class n extends W{constructor(t,i,c){super(),this.callSetDisabledState=c,this.submitted=!1,this._directives=new Set,this.ngSubmit=new e.bkB,this.form=new Re({},T(t),H(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){Pe.then(()=>{const i=this._findContainer(t.path);t.control=i.registerControl(t.name,t.control),Ue(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){Pe.then(()=>{const i=this._findContainer(t.path);i&&i.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){Pe.then(()=>{const i=this._findContainer(t.path),c=new Re({});Dt(c,t),i.registerControl(t.name,c),c.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){Pe.then(()=>{const i=this._findContainer(t.path);i&&i.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,i){Pe.then(()=>{this.form.get(t.path).setValue(i)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,wt(this.form,this._directives),this.ngSubmit.emit(t),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}static#e=this.\u0275fac=function(i){return new(i||n)(e.rXU(G,10),e.rXU(V,10),e.rXU(Me,8))};static#t=this.\u0275dir=e.FsC({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,c){1&i&&e.bIt("submit",function(O){return c.onSubmit(O)})("reset",function(){return c.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e.Jv_([cn]),e.Vt3]})}return n})();function Mt(n,o){const t=n.indexOf(o);t>-1&&n.splice(t,1)}function St(n){return"object"==typeof n&&null!==n&&2===Object.keys(n).length&&"value"in n&&"disabled"in n}const Ae=class extends $e{constructor(o=null,t,i){super(tt(t),nt(i,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(o),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),He(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=St(o)?o.value:o)}setValue(o,t={}){this.value=this._pendingValue=o,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(o,t={}){this.setValue(o,t)}reset(o=this.defaultValue,t={}){this._applyFormState(o),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(o){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(o){this._onChange.push(o)}_unregisterOnChange(o){Mt(this._onChange,o)}registerOnDisabledChange(o){this._onDisabledChange.push(o)}_unregisterOnDisabledChange(o){Mt(this._onDisabledChange,o)}_forEachChild(o){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(o){St(o)?(this.value=this._pendingValue=o.value,o.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=o}},hn={provide:q,useExisting:(0,e.Rfq)(()=>at)},Ft=Promise.resolve();let at=(()=>{class n extends q{constructor(t,i,c,x,O,ve){super(),this._changeDetectorRef=O,this.callSetDisabledState=ve,this.control=new Ae,this._registered=!1,this.name="",this.update=new e.bkB,this._parent=t,this._setValidators(i),this._setAsyncValidators(c),this.valueAccessor=st(0,x)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const i=t.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),rt(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Ue(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(t){Ft.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const i=t.isDisabled.currentValue,c=0!==i&&(0,e.L39)(i);Ft.then(()=>{c&&!this.control.disabled?this.control.disable():!c&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?Xe(t,this._parent):[t]}static#e=this.\u0275fac=function(i){return new(i||n)(e.rXU(W,9),e.rXU(G,10),e.rXU(V,10),e.rXU(N,10),e.rXU(e.gRc,8),e.rXU(Me,8))};static#t=this.\u0275dir=e.FsC({type:n,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[e.Jv_([hn]),e.Vt3,e.OA$]})}return n})(),Rt=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275dir=e.FsC({type:n,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return n})();const un={provide:N,useExisting:(0,e.Rfq)(()=>ct),multi:!0};let ct=(()=>{class n extends z{writeValue(t){this.setProperty("value",t??"")}registerOnChange(t){this.onChange=i=>{t(""==i?null:parseFloat(i))}}static#e=this.\u0275fac=(()=>{let t;return function(c){return(t||(t=e.xGo(n)))(c||n)}})();static#t=this.\u0275dir=e.FsC({type:n,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(i,c){1&i&&e.bIt("input",function(O){return c.onChange(O.target.value)})("blur",function(){return c.onTouched()})},features:[e.Jv_([un]),e.Vt3]})}return n})();const _n={provide:N,useExisting:(0,e.Rfq)(()=>lt),multi:!0};let lt=(()=>{class n extends z{writeValue(t){this.setProperty("value",parseFloat(t))}registerOnChange(t){this.onChange=i=>{t(""==i?null:parseFloat(i))}}static#e=this.\u0275fac=(()=>{let t;return function(c){return(t||(t=e.xGo(n)))(c||n)}})();static#t=this.\u0275dir=e.FsC({type:n,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(i,c){1&i&&e.bIt("change",function(O){return c.onChange(O.target.value)})("input",function(O){return c.onChange(O.target.value)})("blur",function(){return c.onTouched()})},features:[e.Jv_([_n]),e.Vt3]})}return n})();const dt=new e.nKC(""),gn={provide:q,useExisting:(0,e.Rfq)(()=>ht)};let ht=(()=>{class n extends q{set isDisabled(t){}static#e=this._ngModelWarningSentOnce=!1;constructor(t,i,c,x,O){super(),this._ngModelWarningConfig=x,this.callSetDisabledState=O,this.update=new e.bkB,this._ngModelWarningSent=!1,this._setValidators(t),this._setAsyncValidators(i),this.valueAccessor=st(0,c)}ngOnChanges(t){if(this._isControlChanged(t)){const i=t.form.previousValue;i&&We(i,this,!1),Ue(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}rt(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&We(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return t.hasOwnProperty("form")}static#t=this.\u0275fac=function(i){return new(i||n)(e.rXU(G,10),e.rXU(V,10),e.rXU(N,10),e.rXU(dt,8),e.rXU(Me,8))};static#n=this.\u0275dir=e.FsC({type:n,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[e.Jv_([gn]),e.Vt3,e.OA$]})}return n})();const pn={provide:W,useExisting:(0,e.Rfq)(()=>qe)};let qe=(()=>{class n extends W{constructor(t,i,c){super(),this.callSetDisabledState=c,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new e.bkB,this._setValidators(t),this._setAsyncValidators(i)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Ke(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const i=this.form.get(t.path);return Ue(i,t,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),i}getControl(t){return this.form.get(t.path)}removeControl(t){We(t.control||null,t,!1),function an(n,o){const t=n.indexOf(o);t>-1&&n.splice(t,1)}(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,i){this.form.get(t.path).setValue(i)}onSubmit(t){return this.submitted=!0,wt(this.form,this.directives),this.ngSubmit.emit(t),this.form._events.next(new ie(this.control)),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1,this.form._events.next(new je(this.form))}_updateDomValue(){this.directives.forEach(t=>{const i=t.control,c=this.form.get(t.path);i!==c&&(We(i||null,t),(n=>n instanceof Ae)(c)&&(Ue(c,t,this.callSetDisabledState),t.control=c))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const i=this.form.get(t.path);Dt(i,t),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const i=this.form.get(t.path);i&&function on(n,o){return Ke(n,o)}(i,t)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){ot(this.form,this),this._oldForm&&Ke(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(i){return new(i||n)(e.rXU(G,10),e.rXU(V,10),e.rXU(Me,8))};static#t=this.\u0275dir=e.FsC({type:n,selectors:[["","formGroup",""]],hostBindings:function(i,c){1&i&&e.bIt("submit",function(O){return c.onSubmit(O)})("reset",function(){return c.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e.Jv_([pn]),e.Vt3,e.OA$]})}return n})();const kn={provide:q,useExisting:(0,e.Rfq)(()=>ft)};let ft=(()=>{class n extends q{set isDisabled(t){}static#e=this._ngModelWarningSentOnce=!1;constructor(t,i,c,x,O){super(),this._ngModelWarningConfig=O,this._added=!1,this.name=null,this.update=new e.bkB,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(i),this._setAsyncValidators(c),this.valueAccessor=st(0,x)}ngOnChanges(t){this._added||this._setUpControl(),rt(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return Xe(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(i){return new(i||n)(e.rXU(W,13),e.rXU(G,10),e.rXU(V,10),e.rXU(N,10),e.rXU(dt,8))};static#n=this.\u0275dir=e.FsC({type:n,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[e.Jv_([kn]),e.Vt3,e.OA$]})}return n})();const vn={provide:N,useExisting:(0,e.Rfq)(()=>Je),multi:!0};function Ot(n,o){return null==n?`${o}`:(o&&"object"==typeof o&&(o="Object"),`${n}: ${o}`.slice(0,50))}let Je=(()=>{class n extends z{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;const c=Ot(this._getOptionId(t),t);this.setProperty("value",c)}registerOnChange(t){this.onChange=i=>{this.value=this._getOptionValue(i),t(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const i of this._optionMap.keys())if(this._compareWith(this._optionMap.get(i),t))return i;return null}_getOptionValue(t){const i=function Cn(n){return n.split(":")[0]}(t);return this._optionMap.has(i)?this._optionMap.get(i):t}static#e=this.\u0275fac=(()=>{let t;return function(c){return(t||(t=e.xGo(n)))(c||n)}})();static#t=this.\u0275dir=e.FsC({type:n,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(i,c){1&i&&e.bIt("change",function(O){return c.onChange(O.target.value)})("blur",function(){return c.onTouched()})},inputs:{compareWith:"compareWith"},features:[e.Jv_([vn]),e.Vt3]})}return n})(),Nt=(()=>{class n{constructor(t,i,c){this._element=t,this._renderer=i,this._select=c,this._select&&(this.id=this._select._registerOption())}set ngValue(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(Ot(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(i){return new(i||n)(e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(Je,9))};static#t=this.\u0275dir=e.FsC({type:n,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return n})();const xn={provide:N,useExisting:(0,e.Rfq)(()=>_t),multi:!0};function Bt(n,o){return null==n?`${o}`:("string"==typeof o&&(o=`'${o}'`),o&&"object"==typeof o&&(o="Object"),`${n}: ${o}`.slice(0,50))}let _t=(()=>{class n extends z{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){let i;if(this.value=t,Array.isArray(t)){const c=t.map(x=>this._getOptionId(x));i=(x,O)=>{x._setSelected(c.indexOf(O.toString())>-1)}}else i=(c,x)=>{c._setSelected(!1)};this._optionMap.forEach(i)}registerOnChange(t){this.onChange=i=>{const c=[],x=i.selectedOptions;if(void 0!==x){const O=x;for(let ve=0;ve<O.length;ve++){const pt=this._getOptionValue(O[ve].value);c.push(pt)}}else{const O=i.options;for(let ve=0;ve<O.length;ve++){const Ze=O[ve];if(Ze.selected){const pt=this._getOptionValue(Ze.value);c.push(pt)}}}this.value=c,t(c)}}_registerOption(t){const i=(this._idCounter++).toString();return this._optionMap.set(i,t),i}_getOptionId(t){for(const i of this._optionMap.keys())if(this._compareWith(this._optionMap.get(i)._value,t))return i;return null}_getOptionValue(t){const i=function Dn(n){return n.split(":")[0]}(t);return this._optionMap.has(i)?this._optionMap.get(i)._value:t}static#e=this.\u0275fac=(()=>{let t;return function(c){return(t||(t=e.xGo(n)))(c||n)}})();static#t=this.\u0275dir=e.FsC({type:n,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(i,c){1&i&&e.bIt("change",function(O){return c.onChange(O.target)})("blur",function(){return c.onTouched()})},inputs:{compareWith:"compareWith"},features:[e.Jv_([xn]),e.Vt3]})}return n})(),It=(()=>{class n{constructor(t,i,c){this._element=t,this._renderer=i,this._select=c,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){null!=this._select&&(this._value=t,this._setElementValue(Bt(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(Bt(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}_setSelected(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(i){return new(i||n)(e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(_t,9))};static#t=this.\u0275dir=e.FsC({type:n,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return n})(),Se=(()=>{class n{constructor(){this._validator=ce}ngOnChanges(t){if(this.inputName in t){const i=this.normalizeInput(t[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):ce,this._onChange&&this._onChange()}}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}enabled(t){return null!=t}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275dir=e.FsC({type:n,features:[e.OA$]})}return n})();const Sn={provide:G,useExisting:(0,e.Rfq)(()=>Ye),multi:!0},En={provide:G,useExisting:(0,e.Rfq)(()=>gt),multi:!0};let Ye=(()=>{class n extends Se{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=e.L39,this.createValidator=t=>M}enabled(t){return t}static#e=this.\u0275fac=(()=>{let t;return function(c){return(t||(t=e.xGo(n)))(c||n)}})();static#t=this.\u0275dir=e.FsC({type:n,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(i,c){2&i&&e.BMQ("required",c._enabled?"":null)},inputs:{required:"required"},features:[e.Jv_([Sn]),e.Vt3]})}return n})(),gt=(()=>{class n extends Ye{constructor(){super(...arguments),this.createValidator=t=>u}static#e=this.\u0275fac=(()=>{let t;return function(c){return(t||(t=e.xGo(n)))(c||n)}})();static#t=this.\u0275dir=e.FsC({type:n,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(i,c){2&i&&e.BMQ("required",c._enabled?"":null)},features:[e.Jv_([En]),e.Vt3]})}return n})(),Wt=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=e.$C({type:n});static#n=this.\u0275inj=e.G2t({})}return n})();class zt extends $e{constructor(o,t,i){super(tt(t),nt(i,t)),this.controls=o,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(o){return this.controls[this._adjustIndex(o)]}push(o,t={}){this.controls.push(o),this._registerControl(o),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(o,t,i={}){this.controls.splice(o,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(o,t={}){let i=this._adjustIndex(o);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(o,t,i={}){let c=this._adjustIndex(o);c<0&&(c=0),this.controls[c]&&this.controls[c]._registerOnCollectionChange(()=>{}),this.controls.splice(c,1),t&&(this.controls.splice(c,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(o,t={}){vt(this,0,o),o.forEach((i,c)=>{kt(this,!1,c),this.at(c).setValue(i,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(o,t={}){null!=o&&(o.forEach((i,c)=>{this.at(c)&&this.at(c).patchValue(i,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(o=[],t={}){this._forEachChild((i,c)=>{i.reset(o[c],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(o=>o.getRawValue())}clear(o={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:o.emitEvent}))}_adjustIndex(o){return o<0?o+this.length:o}_syncPendingControls(){let o=this.controls.reduce((t,i)=>!!i._syncPendingControls()||t,!1);return o&&this.updateValueAndValidity({onlySelf:!0}),o}_forEachChild(o){this.controls.forEach((t,i)=>{o(t,i)})}_updateValue(){this.value=this.controls.filter(o=>o.enabled||this.disabled).map(o=>o.value)}_anyControls(o){return this.controls.some(t=>t.enabled&&o(t))}_setUpControls(){this._forEachChild(o=>this._registerControl(o))}_allControlsDisabled(){for(const o of this.controls)if(o.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(o){o.setParent(this),o._registerOnCollectionChange(this._onCollectionChange)}_find(o){return this.at(o)??null}}function Kt(n){return!!n&&(void 0!==n.asyncValidators||void 0!==n.validators||void 0!==n.updateOn)}let Tn=(()=>{class n{constructor(){this.useNonNullable=!1}get nonNullable(){const t=new n;return t.useNonNullable=!0,t}group(t,i=null){const c=this._reduceControls(t);let x={};return Kt(i)?x=i:null!==i&&(x.validators=i.validator,x.asyncValidators=i.asyncValidator),new Re(c,x)}record(t,i=null){const c=this._reduceControls(t);return new Ct(c,i)}control(t,i,c){let x={};return this.useNonNullable?(Kt(i)?x=i:(x.validators=i,x.asyncValidators=c),new Ae(t,{...x,nonNullable:!0})):new Ae(t,i,c)}array(t,i,c){const x=t.map(O=>this._createControl(O));return new zt(x,i,c)}_reduceControls(t){const i={};return Object.keys(t).forEach(c=>{i[c]=this._createControl(t[c])}),i}_createControl(t){return t instanceof Ae||t instanceof $e?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),On=(()=>{class n{static withConfig(t){return{ngModule:n,providers:[{provide:Me,useValue:t.callSetDisabledState??Ie}]}}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=e.$C({type:n});static#n=this.\u0275inj=e.G2t({imports:[Wt]})}return n})(),Nn=(()=>{class n{static withConfig(t){return{ngModule:n,providers:[{provide:dt,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:Me,useValue:t.callSetDisabledState??Ie}]}}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=e.$C({type:n});static#n=this.\u0275inj=e.G2t({imports:[Wt]})}return n})()},2765:(Te,he,w)=>{w.d(he,{So:()=>ae,g7:()=>G});var e=w(4438),C=w(9417),p=w(6600);const P=["input"],Z=["label"],a=["*"],J=new e.nKC("mat-checkbox-default-options",{providedIn:"root",factory:z});function z(){return{color:"accent",clickAction:"check-indeterminate"}}var N=function(V){return V[V.Init=0]="Init",V[V.Checked=1]="Checked",V[V.Unchecked=2]="Unchecked",V[V.Indeterminate=3]="Indeterminate",V}(N||{});const ee={provide:C.kq,useExisting:(0,e.Rfq)(()=>ae),multi:!0};class X{}let re=0;const se=z();let ae=(()=>{class V{focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(y){const R=new X;return R.source=this,R.checked=y,R}_getAnimationTargetElement(){return this._inputElement?.nativeElement}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(y,R,f,M,u,v){this._elementRef=y,this._changeDetectorRef=R,this._ngZone=f,this._animationMode=u,this._options=v,this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"},this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new e.bkB,this.indeterminateChange=new e.bkB,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=N.Init,this._controlValueAccessorChangeFn=()=>{},this._validatorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||se,this.color=this._options.color||se.color,this.tabIndex=parseInt(M)||0,this.id=this._uniqueId="mat-mdc-checkbox-"+ ++re}ngOnChanges(y){y.required&&this._validatorChangeFn()}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(y){y!=this.checked&&(this._checked=y,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(y){y!==this.disabled&&(this._disabled=y,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(y){const R=y!=this._indeterminate;this._indeterminate=y,R&&(this._transitionCheckState(this._indeterminate?N.Indeterminate:this.checked?N.Checked:N.Unchecked),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(y){this.checked=!!y}registerOnChange(y){this._controlValueAccessorChangeFn=y}registerOnTouched(y){this._onTouched=y}setDisabledState(y){this.disabled=y}validate(y){return this.required&&!0!==y.value?{required:!0}:null}registerOnValidatorChange(y){this._validatorChangeFn=y}_transitionCheckState(y){let R=this._currentCheckState,f=this._getAnimationTargetElement();if(R!==y&&f&&(this._currentAnimationClass&&f.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(R,y),this._currentCheckState=y,this._currentAnimationClass.length>0)){f.classList.add(this._currentAnimationClass);const M=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{f.classList.remove(M)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){const y=this._options?.clickAction;this.disabled||"noop"===y?!this.disabled&&"noop"===y&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==y&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?N.Checked:N.Unchecked),this._emitChangeEvent())}_onInteractionEvent(y){y.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(y,R){if("NoopAnimations"===this._animationMode)return"";switch(y){case N.Init:if(R===N.Checked)return this._animationClasses.uncheckedToChecked;if(R==N.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case N.Unchecked:return R===N.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case N.Checked:return R===N.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case N.Indeterminate:return R===N.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(y){const R=this._inputElement;R&&(R.nativeElement.indeterminate=y)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(y){y.target&&this._labelElement.nativeElement.contains(y.target)&&y.stopPropagation()}static#e=this.\u0275fac=function(R){return new(R||V)(e.rXU(e.aKT),e.rXU(e.gRc),e.rXU(e.SKi),e.kS0("tabindex"),e.rXU(e.bc$,8),e.rXU(J,8))};static#t=this.\u0275cmp=e.VBU({type:V,selectors:[["mat-checkbox"]],viewQuery:function(R,f){if(1&R&&(e.GBs(P,5),e.GBs(Z,5),e.GBs(p.r6,5)),2&R){let M;e.mGM(M=e.lsd())&&(f._inputElement=M.first),e.mGM(M=e.lsd())&&(f._labelElement=M.first),e.mGM(M=e.lsd())&&(f.ripple=M.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:14,hostBindings:function(R,f){2&R&&(e.Mr5("id",f.id),e.BMQ("tabindex",null)("aria-label",null)("aria-labelledby",null),e.HbH(f.color?"mat-"+f.color:"mat-accent"),e.AVh("_mat-animation-noopable","NoopAnimations"===f._animationMode)("mdc-checkbox--disabled",f.disabled)("mat-mdc-checkbox-disabled",f.disabled)("mat-mdc-checkbox-checked",f.checked))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],id:"id",required:[2,"required","required",e.L39],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",e.L39],tabIndex:[2,"tabIndex","tabIndex",y=>null==y?void 0:(0,e.Udg)(y)],color:"color",checked:[2,"checked","checked",e.L39],disabled:[2,"disabled","disabled",e.L39],indeterminate:[2,"indeterminate","indeterminate",e.L39]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],standalone:!0,features:[e.Jv_([ee,{provide:C.cz,useExisting:V,multi:!0}]),e.GFd,e.OA$,e.aNF],ngContentSelectors:a,decls:15,vars:19,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition"],[1,"mdc-checkbox"],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"blur","click","change","checked","indeterminate","disabled","id","required","tabIndex"],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(R,f){if(1&R){const M=e.RV6();e.NAR(),e.j41(0,"div",3),e.bIt("click",function(v){return e.eBV(M),e.Njj(f._preventBubblingFromLabel(v))}),e.j41(1,"div",4,0)(3,"div",5),e.bIt("click",function(){return e.eBV(M),e.Njj(f._onTouchTargetClick())}),e.k0s(),e.j41(4,"input",6,1),e.bIt("blur",function(){return e.eBV(M),e.Njj(f._onBlur())})("click",function(){return e.eBV(M),e.Njj(f._onInputClick())})("change",function(v){return e.eBV(M),e.Njj(f._onInteractionEvent(v))}),e.k0s(),e.nrm(6,"div",7),e.j41(7,"div",8),e.qSk(),e.j41(8,"svg",9),e.nrm(9,"path",10),e.k0s(),e.joV(),e.nrm(10,"div",11),e.k0s(),e.nrm(11,"div",12),e.k0s(),e.j41(12,"label",13,2),e.SdG(14),e.k0s()()}if(2&R){const M=e.sdS(2);e.Y8G("labelPosition",f.labelPosition),e.R7$(4),e.AVh("mdc-checkbox--selected",f.checked),e.Y8G("checked",f.checked)("indeterminate",f.indeterminate)("disabled",f.disabled)("id",f.inputId)("required",f.required)("tabIndex",f.disabled?-1:f.tabIndex),e.BMQ("aria-label",f.ariaLabel||null)("aria-labelledby",f.ariaLabelledby)("aria-describedby",f.ariaDescribedby)("aria-checked",f.indeterminate?"mixed":null)("name",f.name)("value",f.value),e.R7$(7),e.Y8G("matRippleTrigger",M)("matRippleDisabled",f.disableRipple||f.disabled)("matRippleCentered",!0),e.R7$(),e.Y8G("for",f.inputId)}},dependencies:[p.r6,p.tO],styles:['.mdc-touch-target-wrapper{display:inline}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox[hidden]{display:none}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:var(--mdc-checkbox-disabled-selected-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}}.mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}@keyframes mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}}@keyframes mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}}.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2)}.mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:focus:not(:checked):not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color);background-color:var(--mdc-checkbox-selected-focus-icon-color)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox._mat-animation-noopable *,.mat-mdc-checkbox._mat-animation-noopable *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox .mat-internal-form-field{color:var(--mat-checkbox-label-text-color);font-family:var(--mat-checkbox-label-text-font);line-height:var(--mat-checkbox-label-text-line-height);font-size:var(--mat-checkbox-label-text-size);letter-spacing:var(--mat-checkbox-label-text-tracking);font-weight:var(--mat-checkbox-label-text-weight)}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color)}.mat-mdc-checkbox label:empty{display:none}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-checkbox-touch-target-display)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return V})(),G=(()=>{class V{static#e=this.\u0275fac=function(R){return new(R||V)};static#t=this.\u0275mod=e.$C({type:V});static#n=this.\u0275inj=e.G2t({imports:[ae,p.yE,p.yE]})}return V})()},6450:(Te,he,w)=>{w.d(he,{$R:()=>U,Ez:()=>B,I6:()=>H,KS:()=>u,NB:()=>me,Qo:()=>v,XW:()=>V,YV:()=>y,YZ:()=>Ce,Zl:()=>fe,Zq:()=>f,cC:()=>M,iF:()=>ue,iL:()=>pe,ji:()=>ge,ky:()=>m,tL:()=>R,tP:()=>T,xW:()=>ce});var e=w(4438),C=w(5887),p=w(5024),P=w(6600),Z=w(9928),a=w(5286),J=w(4670),z=w(4421),N=w(9776),ee=w(4085),X=w(5006);const re=[[["caption"]],[["colgroup"],["col"]],"*"],se=["caption","colgroup, col","*"];function ae(h,A){1&h&&e.SdG(0,2)}function te(h,A){1&h&&(e.j41(0,"thead",0),e.eu8(1,1),e.k0s(),e.j41(2,"tbody",2),e.eu8(3,3)(4,4),e.k0s(),e.j41(5,"tfoot",0),e.eu8(6,5),e.k0s())}function K(h,A){1&h&&e.eu8(0,1)(1,3)(2,4)(3,5)}function ne(h,A){if(1&h&&(e.j41(0,"th",3),e.EFF(1),e.k0s()),2&h){const _=e.XpG();e.xc7("text-align",_.justify),e.R7$(),e.SpI(" ",_.headerText," ")}}function G(h,A){if(1&h&&(e.j41(0,"td",4),e.EFF(1),e.k0s()),2&h){const _=A.$implicit,F=e.XpG();e.xc7("text-align",F.justify),e.R7$(),e.SpI(" ",F.dataAccessor(_,F.name)," ")}}let V=(()=>{class h{static#e=this.\u0275fac=function(F){return new(F||h)};static#t=this.\u0275dir=e.FsC({type:h,selectors:[["mat-table","recycleRows",""],["table","mat-table","","recycleRows",""]],standalone:!0,features:[e.Jv_([{provide:p.sL,useClass:p.DQ}])]})}return h})(),fe=(()=>{class h extends C.Rk{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}static#e=this.\u0275fac=(()=>{let _;return function(D){return(_||(_=e.xGo(h)))(D||h)}})();static#t=this.\u0275cmp=e.VBU({type:h,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(F,D){2&F&&e.AVh("mdc-table-fixed-layout",D.fixedLayout)},exportAs:["matTable"],standalone:!0,features:[e.Jv_([{provide:C.Rk,useExisting:h},{provide:C.EZ,useExisting:h},{provide:C.To,useClass:C.lQ},{provide:p.sL,useClass:p.xn},{provide:C.ZM,useValue:null}]),e.Vt3,e.aNF],ngContentSelectors:se,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(F,D){1&F&&(e.NAR(re),e.SdG(0),e.SdG(1,1),e.DNE(2,ae,1,0)(3,te,7,0)(4,K,4,0)),2&F&&(e.R7$(2),e.vxM(D._isServer?2:-1),e.R7$(),e.vxM(D._isNativeHtmlTable?3:4))},dependencies:[C.pe,C.yT,C.RT,C.lH],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)}.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})}return h})(),y=(()=>{class h extends C.cO{static#e=this.\u0275fac=(()=>{let _;return function(D){return(_||(_=e.xGo(h)))(D||h)}})();static#t=this.\u0275dir=e.FsC({type:h,selectors:[["","matCellDef",""]],standalone:!0,features:[e.Jv_([{provide:C.cO,useExisting:h}]),e.Vt3]})}return h})(),R=(()=>{class h extends C.n5{static#e=this.\u0275fac=(()=>{let _;return function(D){return(_||(_=e.xGo(h)))(D||h)}})();static#t=this.\u0275dir=e.FsC({type:h,selectors:[["","matHeaderCellDef",""]],standalone:!0,features:[e.Jv_([{provide:C.n5,useExisting:h}]),e.Vt3]})}return h})(),f=(()=>{class h extends C.L_{static#e=this.\u0275fac=(()=>{let _;return function(D){return(_||(_=e.xGo(h)))(D||h)}})();static#t=this.\u0275dir=e.FsC({type:h,selectors:[["","matFooterCellDef",""]],standalone:!0,features:[e.Jv_([{provide:C.L_,useExisting:h}]),e.Vt3]})}return h})(),M=(()=>{class h extends C.AL{get name(){return this._name}set name(_){this._setNameInput(_)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static#e=this.\u0275fac=(()=>{let _;return function(D){return(_||(_=e.xGo(h)))(D||h)}})();static#t=this.\u0275dir=e.FsC({type:h,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},standalone:!0,features:[e.Jv_([{provide:C.AL,useExisting:h},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:h}]),e.Vt3]})}return h})(),u=(()=>{class h extends C.sY{static#e=this.\u0275fac=(()=>{let _;return function(D){return(_||(_=e.xGo(h)))(D||h)}})();static#t=this.\u0275dir=e.FsC({type:h,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],standalone:!0,features:[e.Vt3]})}return h})(),v=(()=>{class h extends C.c7{static#e=this.\u0275fac=(()=>{let _;return function(D){return(_||(_=e.xGo(h)))(D||h)}})();static#t=this.\u0275dir=e.FsC({type:h,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:[1,"mat-mdc-footer-cell","mdc-data-table__cell"],standalone:!0,features:[e.Vt3]})}return h})(),U=(()=>{class h extends C.VP{static#e=this.\u0275fac=(()=>{let _;return function(D){return(_||(_=e.xGo(h)))(D||h)}})();static#t=this.\u0275dir=e.FsC({type:h,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],standalone:!0,features:[e.Vt3]})}return h})(),ge=(()=>{class h extends C.hi{static#e=this.\u0275fac=(()=>{let _;return function(D){return(_||(_=e.xGo(h)))(D||h)}})();static#t=this.\u0275dir=e.FsC({type:h,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",e.L39]},standalone:!0,features:[e.Jv_([{provide:C.hi,useExisting:h}]),e.GFd,e.Vt3]})}return h})(),ce=(()=>{class h extends C.df{static#e=this.\u0275fac=(()=>{let _;return function(D){return(_||(_=e.xGo(h)))(D||h)}})();static#t=this.\u0275dir=e.FsC({type:h,selectors:[["","matFooterRowDef",""]],inputs:{columns:[0,"matFooterRowDef","columns"],sticky:[2,"matFooterRowDefSticky","sticky",e.L39]},standalone:!0,features:[e.Jv_([{provide:C.df,useExisting:h}]),e.GFd,e.Vt3]})}return h})(),pe=(()=>{class h extends C.oh{static#e=this.\u0275fac=(()=>{let _;return function(D){return(_||(_=e.xGo(h)))(D||h)}})();static#t=this.\u0275dir=e.FsC({type:h,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},standalone:!0,features:[e.Jv_([{provide:C.oh,useExisting:h}]),e.Vt3]})}return h})(),Ce=(()=>{class h extends C.wA{static#e=this.\u0275fac=(()=>{let _;return function(D){return(_||(_=e.xGo(h)))(D||h)}})();static#t=this.\u0275cmp=e.VBU({type:h,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:[e.Jv_([{provide:C.wA,useExisting:h}]),e.Vt3,e.aNF],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(F,D){1&F&&e.eu8(0,0)},dependencies:[C.I8],encapsulation:2})}return h})(),ue=(()=>{class h extends C.Y${static#e=this.\u0275fac=(()=>{let _;return function(D){return(_||(_=e.xGo(h)))(D||h)}})();static#t=this.\u0275cmp=e.VBU({type:h,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-mdc-footer-row","mdc-data-table__row"],exportAs:["matFooterRow"],standalone:!0,features:[e.Jv_([{provide:C.Y$,useExisting:h}]),e.Vt3,e.aNF],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(F,D){1&F&&e.eu8(0,0)},dependencies:[C.I8],encapsulation:2})}return h})(),me=(()=>{class h extends C.hc{static#e=this.\u0275fac=(()=>{let _;return function(D){return(_||(_=e.xGo(h)))(D||h)}})();static#t=this.\u0275cmp=e.VBU({type:h,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],standalone:!0,features:[e.Jv_([{provide:C.hc,useExisting:h}]),e.Vt3,e.aNF],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(F,D){1&F&&e.eu8(0,0)},dependencies:[C.I8],encapsulation:2})}return h})(),m=(()=>{class h extends C.u4{constructor(){super(...arguments),this._contentClassName="mat-mdc-no-data-row"}static#e=this.\u0275fac=(()=>{let _;return function(D){return(_||(_=e.xGo(h)))(D||h)}})();static#t=this.\u0275dir=e.FsC({type:h,selectors:[["ng-template","matNoDataRow",""]],standalone:!0,features:[e.Jv_([{provide:C.u4,useExisting:h}]),e.Vt3]})}return h})(),B=(()=>{class h extends C.ki{static#e=this.\u0275fac=(()=>{let _;return function(D){return(_||(_=e.xGo(h)))(D||h)}})();static#t=this.\u0275cmp=e.VBU({type:h,selectors:[["mat-text-column"]],standalone:!0,features:[e.Vt3,e.aNF],decls:3,vars:0,consts:[["matColumnDef",""],["mat-header-cell","",3,"text-align",4,"matHeaderCellDef"],["mat-cell","",3,"text-align",4,"matCellDef"],["mat-header-cell",""],["mat-cell",""]],template:function(F,D){1&F&&(e.qex(0,0),e.DNE(1,ne,2,3,"th",1)(2,G,2,3,"td",2),e.bVm())},dependencies:[M,R,u,y,U],encapsulation:2})}return h})(),T=(()=>{class h{static#e=this.\u0275fac=function(F){return new(F||h)};static#t=this.\u0275mod=e.$C({type:h});static#n=this.\u0275inj=e.G2t({imports:[P.yE,C.N0,P.yE]})}return h})();class H extends p.qS{get data(){return this._data.value}set data(A){A=Array.isArray(A)?A:[],this._data.next(A),this._renderChangesSubscription||this._filterData(A)}get filter(){return this._filter.value}set filter(A){this._filter.next(A),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(A){this._sort=A,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(A){this._paginator=A,this._updateChangeSubscription()}constructor(A=[]){super(),this._renderData=new Z.t([]),this._filter=new Z.t(""),this._internalPageChanges=new a.B7,this._renderChangesSubscription=null,this.sortingDataAccessor=(_,F)=>{const D=_[F];if((0,ee.o1)(D)){const le=Number(D);return le<9007199254740991?le:D}return D},this.sortData=(_,F)=>{const D=F.active,le=F.direction;return D&&""!=le?_.sort((ye,oe)=>{let W=this.sortingDataAccessor(ye,D),q=this.sortingDataAccessor(oe,D);const Ee=typeof W,De=typeof q;Ee!==De&&("number"===Ee&&(W+=""),"number"===De&&(q+=""));let ke=0;return null!=W&&null!=q?W>q?ke=1:W<q&&(ke=-1):null!=W?ke=1:null!=q&&(ke=-1),ke*("asc"==le?1:-1)}):_},this.filterPredicate=(_,F)=>{const D=Object.keys(_).reduce((ye,oe)=>ye+_[oe]+"\u25ec","").toLowerCase(),le=F.trim().toLowerCase();return-1!=D.indexOf(le)},this._data=new Z.t(A),this._updateChangeSubscription()}_updateChangeSubscription(){const A=this._sort?(0,J.h)(this._sort.sortChange,this._sort.initialized):(0,z.of)(null),_=this._paginator?(0,J.h)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,z.of)(null),D=(0,N.zV)([this._data,this._filter]).pipe((0,X.T)(([oe])=>this._filterData(oe))),le=(0,N.zV)([D,A]).pipe((0,X.T)(([oe])=>this._orderData(oe))),ye=(0,N.zV)([le,_]).pipe((0,X.T)(([oe])=>this._pageData(oe)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=ye.subscribe(oe=>this._renderData.next(oe))}_filterData(A){return this.filteredData=null==this.filter||""===this.filter?A:A.filter(_=>this.filterPredicate(_,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(A){return this.sort?this.sortData(A.slice(),this.sort):A}_pageData(A){if(!this.paginator)return A;const _=this.paginator.pageIndex*this.paginator.pageSize;return A.slice(_,_+this.paginator.pageSize)}_updatePaginator(A){Promise.resolve().then(()=>{const _=this.paginator;if(_&&(_.length=A,_.pageIndex>0)){const F=Math.ceil(_.length/_.pageSize)-1||0,D=Math.min(_.pageIndex,F);D!==_.pageIndex&&(_.pageIndex=D,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}}}}]);