-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path5313.d1c60c96158f583f.js
1 lines (1 loc) · 147 KB
/
5313.d1c60c96158f583f.js
1
"use strict";(self.webpackChunkmaterial_angular_io=self.webpackChunkmaterial_angular_io||[]).push([[5313],{5266:(Ie,ge,D)=>{D.d(ge,{$i:()=>T,HM:()=>B,Jn:()=>Y,RQ:()=>F,Y9:()=>ie,sE:()=>U});var e=D(2495),A=D(8337),v=D(5879),E=D(2079),ee=D(4699),oe=D(9193),s=D(9352),I=D(5222),ue=D(2068),he=D(6223),z=D(4643),ce=D(6814);function q(_,b){if(1&_){const f=v.EpF();v.TgZ(0,"input",5,6),v.NdJ("click",function(V){v.CHM(f);const G=v.MAs(1);return v.KtG(G.toggle(V))}),v.ALo(2,"async"),v.ALo(3,"async"),v.qZA()}if(2&_){const f=v.MAs(1);v.Q6J("checked",v.lcZ(2,2,f.checked))("indeterminate",v.lcZ(3,4,f.indeterminate))}}function K(_,b){if(1&_&&(v.TgZ(0,"th",3),v.YNc(1,q,4,6,"input",4),v.qZA()),2&_){const f=v.oxw();v.xp6(1),v.Q6J("ngIf",f.selection.multiple)}}function X(_,b){if(1&_){const f=v.EpF();v.TgZ(0,"td",7)(1,"input",8,9),v.NdJ("click",function(){v.CHM(f);const V=v.MAs(2);return v.KtG(V.toggle())}),v.ALo(3,"async"),v.qZA()()}if(2&_){const f=b.$implicit,S=b.$index,V=v.MAs(2);v.xp6(1),v.Q6J("cdkSelectionToggleValue",f)("cdkSelectionToggleIndex",S)("checked",v.lcZ(3,3,V.checked))}}class te{constructor(b=!1,f){this._multiple=b,this._trackByFn=f,this._selectionMap=new Map,this.changed=new E.xQ}isSelected(b){return this._selectionMap.has(this._getTrackedByValue(b))}select(...b){const f=this._getCurrentSelection();this._multiple||this._selectionMap.clear();const S=[];for(const G of b)this.isSelected(G)||(S.push(G),this._markSelected(this._getTrackedByValue(G),G));const V=this._getCurrentSelection();this.changed.next({before:f,after:V})}deselect(...b){const f=this._getCurrentSelection(),S=[];for(const G of b)this.isSelected(G)&&(S.push(G),this._markDeselected(this._getTrackedByValue(G)));const V=this._getCurrentSelection();this.changed.next({before:f,after:V})}_markSelected(b,f){this._selectionMap.set(b,f)}_markDeselected(b){this._selectionMap.delete(b)}_getTrackedByValue(b){return this._trackByFn?this._trackByFn(b.index,b.value):b.value}_getCurrentSelection(){return Array.from(this._selectionMap.values())}}let T=(()=>{class _{constructor(){this.change=new v.vpe,this._destroyed=new E.xQ,this.selectAllState="none"}get dataSource(){return this._dataSource}set dataSource(f){this._dataSource!==f&&this._switchDataSource(f)}get multiple(){return this._multiple}set multiple(f){this._multiple=(0,e.Ig)(f)}_switchDataSource(f){this._data=[],(0,A.Z9)(this._dataSource)&&this._dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),this._dataSource=f}_observeRenderChanges(){if(!this._dataSource)return;let f;(0,A.Z9)(this._dataSource)?f=this._dataSource.connect(this):this._dataSource instanceof ee.y?f=this._dataSource:Array.isArray(this._dataSource)&&(f=(0,oe.of)(this._dataSource)),this._renderChangeSubscription=f.pipe((0,s.R)(this._destroyed)).subscribe(S=>{this._data=S||[]})}ngOnInit(){this._selection=new te(this._multiple,this.trackByFn),this._selection.changed.pipe((0,s.R)(this._destroyed)).subscribe(f=>{this._updateSelectAllState(),this.change.emit(f)})}ngAfterContentChecked(){this._dataSource&&!this._renderChangeSubscription&&this._observeRenderChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),(0,A.Z9)(this._dataSource)&&this._dataSource.disconnect(this)}toggleSelection(f,S){this.isSelected(f,S)?this._selection.deselect({value:f,index:S}):this._selection.select({value:f,index:S})}toggleSelectAll(){"none"===this.selectAllState?this._selectAll():this._clearAll()}isSelected(f,S){return this._selection.isSelected({value:f,index:S})}isAllSelected(){return this._data.every((f,S)=>this._selection.isSelected({value:f,index:S}))}isPartialSelected(){return!this.isAllSelected()&&this._data.some((f,S)=>this._selection.isSelected({value:f,index:S}))}_selectAll(){const f=[];this._data.forEach((S,V)=>{f.push({value:S,index:V})}),this._selection.select(...f)}_clearAll(){const f=[];this._data.forEach((S,V)=>{f.push({value:S,index:V})}),this._selection.deselect(...f)}_updateSelectAllState(){this.selectAllState=this.isAllSelected()?"all":this.isPartialSelected()?"partial":"none"}}return _.\u0275fac=function(f){return new(f||_)},_.\u0275dir=v.lG2({type:_,selectors:[["","cdkSelection",""]],inputs:{dataSource:"dataSource",trackByFn:["trackBy","trackByFn"],multiple:["cdkSelectionMultiple","multiple"]},outputs:{change:"cdkSelectionChange"},exportAs:["cdkSelection"]}),_})(),U=(()=>{class _{toggle(f){f&&f.preventDefault(),setTimeout(()=>{this._selection.toggleSelectAll()})}constructor(f,S){this._selection=f,this._controlValueAccessor=S,this._destroyed=new E.xQ,this.checked=f.change.pipe((0,I.w)(()=>(0,oe.of)(f.isAllSelected()))),this.indeterminate=f.change.pipe((0,I.w)(()=>(0,oe.of)(f.isPartialSelected())))}ngOnInit(){this._assertValidParentSelection(),this._configureControlValueAccessor()}_configureControlValueAccessor(){this._controlValueAccessor&&this._controlValueAccessor.length&&(this._controlValueAccessor[0].registerOnChange(f=>{(!0===f||!1===f)&&this.toggle()}),this.checked.pipe((0,s.R)(this._destroyed)).subscribe(f=>{this._controlValueAccessor[0].writeValue(f)}))}_assertValidParentSelection(){}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}}return _.\u0275fac=function(f){return new(f||_)(v.Y36(T,8),v.Y36(he.JU,10))},_.\u0275dir=v.lG2({type:_,selectors:[["","cdkSelectAll",""]],exportAs:["cdkSelectAll"]}),_})(),Y=(()=>{class _{get index(){return this._index}set index(f){this._index=(0,e.su)(f)}toggle(){this._selection.toggleSelection(this.value,this.index)}constructor(f,S){this._selection=f,this._controlValueAccessors=S,this._destroyed=new E.xQ,this.checked=f.change.pipe((0,I.w)(()=>(0,oe.of)(this._isSelected())),(0,ue.x)())}ngOnInit(){this._assertValidParentSelection(),this._configureControlValueAccessor()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_assertValidParentSelection(){}_configureControlValueAccessor(){this._controlValueAccessors&&this._controlValueAccessors.length&&(this._controlValueAccessors[0].registerOnChange(f=>{"boolean"==typeof f&&this.toggle()}),this.checked.pipe((0,s.R)(this._destroyed)).subscribe(f=>{this._controlValueAccessors[0].writeValue(f)}))}_isSelected(){return this._selection.isSelected(this.value,this.index)}}return _.\u0275fac=function(f){return new(f||_)(v.Y36(T,8),v.Y36(he.JU,10))},_.\u0275dir=v.lG2({type:_,selectors:[["","cdkSelectionToggle",""]],inputs:{value:["cdkSelectionToggleValue","value"],index:["cdkSelectionToggleIndex","index"]},exportAs:["cdkSelectionToggle"]}),_})(),ie=(()=>{class _{get name(){return this._name}set name(f){this._name=f,this._syncColumnDefName()}constructor(f,S){this._table=f,this.selection=S}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)}}return _.\u0275fac=function(f){return new(f||_)(v.Y36(z.zC,8),v.Y36(T,8))},_.\u0275cmp=v.Xpm({type:_,selectors:[["cdk-selection-column"]],viewQuery:function(f,S){if(1&f&&(v.Gf(z.fo,7),v.Gf(z.O_,7),v.Gf(z.D5,7)),2&f){let V;v.iGM(V=v.CRH())&&(S._columnDef=V.first),v.iGM(V=v.CRH())&&(S._cell=V.first),v.iGM(V=v.CRH())&&(S._headerCell=V.first)}},inputs:{name:["cdkSelectionColumnName","name"]},decls:3,vars:0,consts:[["cdkColumnDef",""],["cdkHeaderCell","",4,"cdkHeaderCellDef"],["cdkCell","",4,"cdkCellDef"],["cdkHeaderCell",""],["type","checkbox","cdkSelectAll","",3,"checked","indeterminate","click",4,"ngIf"],["type","checkbox","cdkSelectAll","",3,"checked","indeterminate","click"],["allToggler","cdkSelectAll"],["cdkCell",""],["type","checkbox","cdkSelectionToggle","",3,"cdkSelectionToggleValue","cdkSelectionToggleIndex","checked","click"],["toggler","cdkSelectionToggle"]],template:function(f,S){1&f&&(v.ynx(0,0),v.YNc(1,K,2,1,"th",1),v.YNc(2,X,4,5,"td",2),v.BQk())},dependencies:[ce.O5,z.O_,z.D5,z.fo,Y,U,ce.Ov],encapsulation:2,changeDetection:0}),_})(),F=(()=>{class _{get index(){return this._index}set index(f){this._index=(0,e.su)(f)}constructor(f){this._selection=f,this.value=void 0}}return _.\u0275fac=function(f){return new(f||_)(v.Y36(T))},_.\u0275dir=v.lG2({type:_,selectors:[["","cdkRowSelection",""]],hostVars:3,hostBindings:function(f,S){2&f&&(v.uIk("aria-selected",S._selection.isSelected(S.value,S.index)),v.ekj("cdk-selected",S._selection.isSelected(S.value,S.index)))},inputs:{value:["cdkRowSelectionValue","value"],index:["cdkRowSelectionIndex","index"]}}),_})(),B=(()=>{class _{}return _.\u0275fac=function(f){return new(f||_)},_.\u0275mod=v.oAB({type:_}),_.\u0275inj=v.cJS({imports:[ce.ez,z.HT]}),_})()},4643:(Ie,ge,D)=>{D.d(ge,{$E:()=>m,Af:()=>le,D5:()=>_,FT:()=>a,HT:()=>bt,Hx:()=>He,Kb:()=>Z,O_:()=>B,QJ:()=>xe,Sq:()=>W,T$:()=>Ve,Z4:()=>b,_J:()=>fe,bH:()=>y,fe:()=>O,fo:()=>V,hD:()=>de,m$:()=>Be,nl:()=>De,oF:()=>Se,pF:()=>Fe,pN:()=>ie,qM:()=>me,r2:()=>P,s$:()=>g,xN:()=>$,zC:()=>ae});var e=D(9388),A=D(2495),v=D(8337),E=D(2831),ee=D(6672),oe=D(6814),s=D(5879),I=D(2079),ue=D(5253),he=D(5125),z=D(5363),ce=D(9193),q=D(9352),K=D(1418);const X=[[["caption"]],[["colgroup"],["col"]]],te=["caption","colgroup, col"];function T(l,p){if(1&l&&(s.TgZ(0,"th",3),s._uU(1),s.qZA()),2&l){const r=s.oxw();s.Udp("text-align",r.justify),s.xp6(1),s.hij(" ",r.headerText," ")}}function U(l,p){if(1&l&&(s.TgZ(0,"td",4),s._uU(1),s.qZA()),2&l){const r=p.$implicit,c=s.oxw();s.Udp("text-align",c.justify),s.xp6(1),s.hij(" ",c.dataAccessor(r,c.name)," ")}}function Y(l){return class extends l{get sticky(){return this._sticky}set sticky(p){const r=this._sticky;this._sticky=(0,A.Ig)(p),this._hasStickyChanged=r!==this._sticky}hasStickyChanged(){const p=this._hasStickyChanged;return this._hasStickyChanged=!1,p}resetStickyChanged(){this._hasStickyChanged=!1}constructor(...p){super(...p),this._sticky=!1,this._hasStickyChanged=!1}}}const ie=new s.OlP("CDK_TABLE"),F=new s.OlP("text-column-options");let B=(()=>{class l{constructor(r){this.template=r}}return l.\u0275fac=function(r){return new(r||l)(s.Y36(s.Rgc))},l.\u0275dir=s.lG2({type:l,selectors:[["","cdkCellDef",""]]}),l})(),_=(()=>{class l{constructor(r){this.template=r}}return l.\u0275fac=function(r){return new(r||l)(s.Y36(s.Rgc))},l.\u0275dir=s.lG2({type:l,selectors:[["","cdkHeaderCellDef",""]]}),l})(),b=(()=>{class l{constructor(r){this.template=r}}return l.\u0275fac=function(r){return new(r||l)(s.Y36(s.Rgc))},l.\u0275dir=s.lG2({type:l,selectors:[["","cdkFooterCellDef",""]]}),l})();class f{}const S=Y(f);let V=(()=>{class l extends S{get name(){return this._name}set name(r){this._setNameInput(r)}get stickyEnd(){return this._stickyEnd}set stickyEnd(r){const c=this._stickyEnd;this._stickyEnd=(0,A.Ig)(r),this._hasStickyChanged=c!==this._stickyEnd}constructor(r){super(),this._table=r,this._stickyEnd=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(r){r&&(this._name=r,this.cssClassFriendlyName=r.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return l.\u0275fac=function(r){return new(r||l)(s.Y36(ie,8))},l.\u0275dir=s.lG2({type:l,selectors:[["","cdkColumnDef",""]],contentQueries:function(r,c,u){if(1&r&&(s.Suo(u,B,5),s.Suo(u,_,5),s.Suo(u,b,5)),2&r){let C;s.iGM(C=s.CRH())&&(c.cell=C.first),s.iGM(C=s.CRH())&&(c.headerCell=C.first),s.iGM(C=s.CRH())&&(c.footerCell=C.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[s._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:l}]),s.qOj]}),l})();class G{constructor(p,r){r.nativeElement.classList.add(...p._columnCssClassName)}}let le=(()=>{class l extends G{constructor(r,c){super(r,c)}}return l.\u0275fac=function(r){return new(r||l)(s.Y36(V),s.Y36(s.SBq))},l.\u0275dir=s.lG2({type:l,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[s.qOj]}),l})(),xe=(()=>{class l extends G{constructor(r,c){if(super(r,c),1===r._table?._elementRef.nativeElement.nodeType){const u=r._table._elementRef.nativeElement.getAttribute("role");c.nativeElement.setAttribute("role","grid"===u||"treegrid"===u?"gridcell":"cell")}}}return l.\u0275fac=function(r){return new(r||l)(s.Y36(V),s.Y36(s.SBq))},l.\u0275dir=s.lG2({type:l,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],features:[s.qOj]}),l})(),de=(()=>{class l extends G{constructor(r,c){if(super(r,c),1===r._table?._elementRef.nativeElement.nodeType){const u=r._table._elementRef.nativeElement.getAttribute("role");c.nativeElement.setAttribute("role","grid"===u||"treegrid"===u?"gridcell":"cell")}}}return l.\u0275fac=function(r){return new(r||l)(s.Y36(V),s.Y36(s.SBq))},l.\u0275dir=s.lG2({type:l,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[s.qOj]}),l})();class pe{constructor(){this.tasks=[],this.endTasks=[]}}const De=new s.OlP("_COALESCED_STYLE_SCHEDULER");let Se=(()=>{class l{constructor(r){this._ngZone=r,this._currentSchedule=null,this._destroyed=new I.xQ}schedule(r){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(r)}scheduleEnd(r){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(r)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new pe,this._getScheduleObservable().pipe((0,q.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const r=this._currentSchedule;this._currentSchedule=new pe;for(const c of r.tasks)c();for(const c of r.endTasks)c()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,ue.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,K.q)(1))}}return l.\u0275fac=function(r){return new(r||l)(s.LFG(s.R0b))},l.\u0275prov=s.Yz7({token:l,factory:l.\u0275fac}),l})(),be=(()=>{class l{constructor(r,c){this.template=r,this._differs=c}ngOnChanges(r){if(!this._columnsDiffer){const c=r.columns&&r.columns.currentValue||[];this._columnsDiffer=this._differs.find(c).create(),this._columnsDiffer.diff(c)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(r){return this instanceof g?r.headerCell.template:this instanceof O?r.footerCell.template:r.cell.template}}return l.\u0275fac=function(r){return new(r||l)(s.Y36(s.Rgc),s.Y36(s.ZZ4))},l.\u0275dir=s.lG2({type:l,features:[s.TTD]}),l})();class Ce extends be{}const d=Y(Ce);let g=(()=>{class l extends d{constructor(r,c,u){super(r,c),this._table=u}ngOnChanges(r){super.ngOnChanges(r)}}return l.\u0275fac=function(r){return new(r||l)(s.Y36(s.Rgc),s.Y36(s.ZZ4),s.Y36(ie,8))},l.\u0275dir=s.lG2({type:l,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[s.qOj,s.TTD]}),l})();class x extends be{}const R=Y(x);let O=(()=>{class l extends R{constructor(r,c,u){super(r,c),this._table=u}ngOnChanges(r){super.ngOnChanges(r)}}return l.\u0275fac=function(r){return new(r||l)(s.Y36(s.Rgc),s.Y36(s.ZZ4),s.Y36(ie,8))},l.\u0275dir=s.lG2({type:l,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[s.qOj,s.TTD]}),l})(),W=(()=>{class l extends be{constructor(r,c,u){super(r,c),this._table=u}}return l.\u0275fac=function(r){return new(r||l)(s.Y36(s.Rgc),s.Y36(s.ZZ4),s.Y36(ie,8))},l.\u0275dir=s.lG2({type:l,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[s.qOj]}),l})(),Z=(()=>{class l{constructor(r){this._viewContainer=r,l.mostRecentCellOutlet=this}ngOnDestroy(){l.mostRecentCellOutlet===this&&(l.mostRecentCellOutlet=null)}}return l.mostRecentCellOutlet=null,l.\u0275fac=function(r){return new(r||l)(s.Y36(s.s_b))},l.\u0275dir=s.lG2({type:l,selectors:[["","cdkCellOutlet",""]]}),l})(),$=(()=>{class l{}return l.\u0275fac=function(r){return new(r||l)},l.\u0275cmp=s.Xpm({type:l,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(r,c){1&r&&s.GkF(0,0)},dependencies:[Z],encapsulation:2}),l})(),me=(()=>{class l{}return l.\u0275fac=function(r){return new(r||l)},l.\u0275cmp=s.Xpm({type:l,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(r,c){1&r&&s.GkF(0,0)},dependencies:[Z],encapsulation:2}),l})(),fe=(()=>{class l{}return l.\u0275fac=function(r){return new(r||l)},l.\u0275cmp=s.Xpm({type:l,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(r,c){1&r&&s.GkF(0,0)},dependencies:[Z],encapsulation:2}),l})(),P=(()=>{class l{constructor(r){this.templateRef=r,this._contentClassName="cdk-no-data-row"}}return l.\u0275fac=function(r){return new(r||l)(s.Y36(s.Rgc))},l.\u0275dir=s.lG2({type:l,selectors:[["ng-template","cdkNoDataRow",""]]}),l})();const ne=["top","bottom","left","right"];class ye{constructor(p,r,c,u,C=!0,w=!0,N){this._isNativeHtmlTable=p,this._stickCellCss=r,this.direction=c,this._coalescedStyleScheduler=u,this._isBrowser=C,this._needsPositionStickyOnElement=w,this._positionListener=N,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(p,r){const c=[];for(const u of p)if(u.nodeType===u.ELEMENT_NODE){c.push(u);for(let C=0;C<u.children.length;C++)c.push(u.children[C])}this._coalescedStyleScheduler.schedule(()=>{for(const u of c)this._removeStickyStyle(u,r)})}updateStickyColumns(p,r,c,u=!0){if(!p.length||!this._isBrowser||!r.some(j=>j)&&!c.some(j=>j))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const C=p[0],w=C.children.length,N=this._getCellWidths(C,u),L=this._getStickyStartColumnPositions(N,r),ke=this._getStickyEndColumnPositions(N,c),H=r.lastIndexOf(!0),se=c.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const j="rtl"===this.direction,we=j?"right":"left",yt=j?"left":"right";for(const Re of p)for(let _e=0;_e<w;_e++){const ve=Re.children[_e];r[_e]&&this._addStickyStyle(ve,we,L[_e],_e===H),c[_e]&&this._addStickyStyle(ve,yt,ke[_e],_e===se)}this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:-1===H?[]:N.slice(0,H+1).map((Re,_e)=>r[_e]?Re:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===se?[]:N.slice(se).map((Re,_e)=>c[_e+se]?Re:null).reverse()}))})}stickRows(p,r,c){if(!this._isBrowser)return;const u="bottom"===c?p.slice().reverse():p,C="bottom"===c?r.slice().reverse():r,w=[],N=[],L=[];for(let H=0,se=0;H<u.length;H++){if(!C[H])continue;w[H]=se;const j=u[H];L[H]=this._isNativeHtmlTable?Array.from(j.children):[j];const we=j.getBoundingClientRect().height;se+=we,N[H]=we}const ke=C.lastIndexOf(!0);this._coalescedStyleScheduler.schedule(()=>{for(let H=0;H<u.length;H++){if(!C[H])continue;const se=w[H],j=H===ke;for(const we of L[H])this._addStickyStyle(we,c,se,j)}"top"===c?this._positionListener?.stickyHeaderRowsUpdated({sizes:N,offsets:w,elements:L}):this._positionListener?.stickyFooterRowsUpdated({sizes:N,offsets:w,elements:L})})}updateStickyFooterContainer(p,r){if(!this._isNativeHtmlTable)return;const c=p.querySelector("tfoot");this._coalescedStyleScheduler.schedule(()=>{r.some(u=>!u)?this._removeStickyStyle(c,["bottom"]):this._addStickyStyle(c,"bottom",0,!1)})}_removeStickyStyle(p,r){for(const u of r)p.style[u]="",p.classList.remove(this._borderCellCss[u]);ne.some(u=>-1===r.indexOf(u)&&p.style[u])?p.style.zIndex=this._getCalculatedZIndex(p):(p.style.zIndex="",this._needsPositionStickyOnElement&&(p.style.position=""),p.classList.remove(this._stickCellCss))}_addStickyStyle(p,r,c,u){p.classList.add(this._stickCellCss),u&&p.classList.add(this._borderCellCss[r]),p.style[r]=`${c}px`,p.style.zIndex=this._getCalculatedZIndex(p),this._needsPositionStickyOnElement&&(p.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(p){const r={top:100,bottom:10,left:1,right:1};let c=0;for(const u of ne)p.style[u]&&(c+=r[u]);return c?`${c}`:""}_getCellWidths(p,r=!0){if(!r&&this._cachedCellWidths.length)return this._cachedCellWidths;const c=[],u=p.children;for(let C=0;C<u.length;C++)c.push(u[C].getBoundingClientRect().width);return this._cachedCellWidths=c,c}_getStickyStartColumnPositions(p,r){const c=[];let u=0;for(let C=0;C<p.length;C++)r[C]&&(c[C]=u,u+=p[C]);return c}_getStickyEndColumnPositions(p,r){const c=[];let u=0;for(let C=p.length;C>0;C--)r[C]&&(c[C]=u,u+=p[C]);return c}}const Fe=new s.OlP("CDK_SPL");let Be=(()=>{class l{}return l.\u0275fac=function(r){return new(r||l)},l.\u0275dir=s.lG2({type:l,selectors:[["cdk-table","recycleRows",""],["table","cdk-table","","recycleRows",""]],features:[s._Bn([{provide:v.k,useClass:v.eX}])]}),l})(),Ve=(()=>{class l{constructor(r,c){this.viewContainer=r,this.elementRef=c}}return l.\u0275fac=function(r){return new(r||l)(s.Y36(s.s_b),s.Y36(s.SBq))},l.\u0275dir=s.lG2({type:l,selectors:[["","rowOutlet",""]]}),l})(),a=(()=>{class l{constructor(r,c){this.viewContainer=r,this.elementRef=c}}return l.\u0275fac=function(r){return new(r||l)(s.Y36(s.s_b),s.Y36(s.SBq))},l.\u0275dir=s.lG2({type:l,selectors:[["","headerRowOutlet",""]]}),l})(),m=(()=>{class l{constructor(r,c){this.viewContainer=r,this.elementRef=c}}return l.\u0275fac=function(r){return new(r||l)(s.Y36(s.s_b),s.Y36(s.SBq))},l.\u0275dir=s.lG2({type:l,selectors:[["","footerRowOutlet",""]]}),l})(),y=(()=>{class l{constructor(r,c){this.viewContainer=r,this.elementRef=c}}return l.\u0275fac=function(r){return new(r||l)(s.Y36(s.s_b),s.Y36(s.SBq))},l.\u0275dir=s.lG2({type:l,selectors:[["","noDataRowOutlet",""]]}),l})(),ae=(()=>{class l{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=(0,A.Ig)(r),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(r){this._fixedLayout=(0,A.Ig)(r),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(r,c,u,C,w,N,L,ke,H,se,j,we){this._differs=r,this._changeDetectorRef=c,this._elementRef=u,this._dir=w,this._platform=L,this._viewRepeater=ke,this._coalescedStyleScheduler=H,this._viewportRuler=se,this._stickyPositioningListener=j,this._ngZone=we,this._onDestroy=new I.xQ,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._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new s.vpe,this.viewChange=new he.X({start:0,end:Number.MAX_VALUE}),C||this._elementRef.nativeElement.setAttribute("role","table"),this._document=N,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((r,c)=>this.trackBy?this.trackBy(c.dataIndex,c.data):c),this._viewportRuler.change().pipe((0,q.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const c=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||c,this._forceRecalculateCellWidths=c,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()}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,v.Z9)(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 c=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(r,c,(u,C,w)=>this._getEmbeddedViewArgs(u.item,w),u=>u.item.data,u=>{1===u.operation&&u.context&&this._renderCellTemplateForItem(u.record.item.rowDef,u.context)}),this._updateRowIndexContext(),r.forEachIdentityChange(u=>{c.get(u.currentIndex).context.$implicit=u.item.data}),this._updateNoDataRow(),this._ngZone&&s.R0b.isInAngularZone()?this._ngZone.onStable.pipe((0,K.q)(1),(0,q.R)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),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),u=this._elementRef.nativeElement.querySelector("thead");u&&(u.style.display=r.length?"":"none");const C=this._headerRowDefs.map(w=>w.sticky);this._stickyStyler.clearStickyPositioning(r,["top"]),this._stickyStyler.stickRows(r,C,"top"),this._headerRowDefs.forEach(w=>w.resetStickyChanged())}updateStickyFooterRowStyles(){const r=this._getRenderedRows(this._footerRowOutlet),u=this._elementRef.nativeElement.querySelector("tfoot");u&&(u.style.display=r.length?"":"none");const C=this._footerRowDefs.map(w=>w.sticky);this._stickyStyler.clearStickyPositioning(r,["bottom"]),this._stickyStyler.stickRows(r,C,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,C),this._footerRowDefs.forEach(w=>w.resetStickyChanged())}updateStickyColumnStyles(){const r=this._getRenderedRows(this._headerRowOutlet),c=this._getRenderedRows(this._rowOutlet),u=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...r,...c,...u],["left","right"]),this._stickyColumnStylesNeedReset=!1),r.forEach((C,w)=>{this._addStickyColumnStyles([C],this._headerRowDefs[w])}),this._rowDefs.forEach(C=>{const w=[];for(let N=0;N<c.length;N++)this._renderRows[N].rowDef===C&&w.push(c[N]);this._addStickyColumnStyles(w,C)}),u.forEach((C,w)=>{this._addStickyColumnStyles([C],this._footerRowDefs[w])}),Array.from(this._columnDefsByName.values()).forEach(C=>C.resetStickyChanged())}_getAllRenderRows(){const r=[],c=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let u=0;u<this._data.length;u++){let C=this._data[u];const w=this._getRenderRowsForData(C,u,c.get(C));this._cachedRenderRowsMap.has(C)||this._cachedRenderRowsMap.set(C,new WeakMap);for(let N=0;N<w.length;N++){let L=w[N];const ke=this._cachedRenderRowsMap.get(L.data);ke.has(L.rowDef)?ke.get(L.rowDef).push(L):ke.set(L.rowDef,[L]),r.push(L)}}return r}_getRenderRowsForData(r,c,u){return this._getRowDefs(r,c).map(w=>{const N=u&&u.has(w)?u.get(w):[];if(N.length){const L=N.shift();return L.dataIndex=c,L}return{data:r,rowDef:w,dataIndex:c}})}_cacheColumnDefs(){this._columnDefsByName.clear(),J(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(c=>{this._columnDefsByName.has(c.name),this._columnDefsByName.set(c.name,c)})}_cacheRowDefs(){this._headerRowDefs=J(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=J(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=J(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const r=this._rowDefs.filter(c=>!c.when);this._defaultRowDef=r[0]}_renderUpdatedColumns(){const r=(w,N)=>w||!!N.getColumnsDiff(),c=this._rowDefs.reduce(r,!1);c&&this._forceRenderDataRows();const u=this._headerRowDefs.reduce(r,!1);u&&this._forceRenderHeaderRows();const C=this._footerRowDefs.reduce(r,!1);return C&&this._forceRenderFooterRows(),c||u||C}_switchDataSource(r){this._data=[],(0,v.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),r||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=r}_observeRenderChanges(){if(!this.dataSource)return;let r;(0,v.Z9)(this.dataSource)?r=this.dataSource.connect(this):(0,z.b)(this.dataSource)?r=this.dataSource:Array.isArray(this.dataSource)&&(r=(0,ce.of)(this.dataSource)),this._renderChangeSubscription=r.pipe((0,q.R)(this._onDestroy)).subscribe(c=>{this._data=c||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((r,c)=>this._renderRow(this._headerRowOutlet,r,c)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((r,c)=>this._renderRow(this._footerRowOutlet,r,c)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(r,c){const u=Array.from(c.columns||[]).map(N=>this._columnDefsByName.get(N)),C=u.map(N=>N.sticky),w=u.map(N=>N.stickyEnd);this._stickyStyler.updateStickyColumns(r,C,w,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(r){const c=[];for(let u=0;u<r.viewContainer.length;u++){const C=r.viewContainer.get(u);c.push(C.rootNodes[0])}return c}_getRowDefs(r,c){if(1==this._rowDefs.length)return[this._rowDefs[0]];let u=[];if(this.multiTemplateDataRows)u=this._rowDefs.filter(C=>!C.when||C.when(c,r));else{let C=this._rowDefs.find(w=>w.when&&w.when(c,r))||this._defaultRowDef;C&&u.push(C)}return u}_getEmbeddedViewArgs(r,c){return{templateRef:r.rowDef.template,context:{$implicit:r.data},index:c}}_renderRow(r,c,u,C={}){const w=r.viewContainer.createEmbeddedView(c.template,C,u);return this._renderCellTemplateForItem(c,C),w}_renderCellTemplateForItem(r,c){for(let u of this._getCellTemplates(r))Z.mostRecentCellOutlet&&Z.mostRecentCellOutlet._viewContainer.createEmbeddedView(u,c);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const r=this._rowOutlet.viewContainer;for(let c=0,u=r.length;c<u;c++){const w=r.get(c).context;w.count=u,w.first=0===c,w.last=c===u-1,w.even=c%2==0,w.odd=!w.even,this.multiTemplateDataRows?(w.dataIndex=this._renderRows[c].dataIndex,w.renderIndex=c):w.index=this._renderRows[c].dataIndex}}_getCellTemplates(r){return r&&r.columns?Array.from(r.columns,c=>{const u=this._columnDefsByName.get(c);return r.extractCellTemplate(u)}):[]}_applyNativeTableSections(){const r=this._document.createDocumentFragment(),c=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const u of c){const C=this._document.createElement(u.tag);C.setAttribute("role","rowgroup");for(const w of u.outlets)C.appendChild(w.elementRef.nativeElement);r.appendChild(C)}this._elementRef.nativeElement.appendChild(r)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const r=(c,u)=>c||u.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 ye(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,ce.of)()).pipe((0,q.R)(this._onDestroy)).subscribe(c=>{this._stickyStyler.direction=c,this.updateStickyColumnStyles()})}_getOwnDefs(r){return r.filter(c=>!c._table||c._table===this)}_updateNoDataRow(){const r=this._customNoDataRow||this._noDataRow;if(!r)return;const c=0===this._rowOutlet.viewContainer.length;if(c===this._isShowingNoDataRow)return;const u=this._noDataRowOutlet.viewContainer;if(c){const C=u.createEmbeddedView(r.templateRef),w=C.rootNodes[0];1===C.rootNodes.length&&w?.nodeType===this._document.ELEMENT_NODE&&(w.setAttribute("role","row"),w.classList.add(r._contentClassName))}else u.clear();this._isShowingNoDataRow=c}}return l.\u0275fac=function(r){return new(r||l)(s.Y36(s.ZZ4),s.Y36(s.sBO),s.Y36(s.SBq),s.$8M("role"),s.Y36(e.Is,8),s.Y36(oe.K0),s.Y36(E.t4),s.Y36(v.k),s.Y36(De),s.Y36(ee.rL),s.Y36(Fe,12),s.Y36(s.R0b,8))},l.\u0275cmp=s.Xpm({type:l,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(r,c,u){if(1&r&&(s.Suo(u,P,5),s.Suo(u,V,5),s.Suo(u,W,5),s.Suo(u,g,5),s.Suo(u,O,5)),2&r){let C;s.iGM(C=s.CRH())&&(c._noDataRow=C.first),s.iGM(C=s.CRH())&&(c._contentColumnDefs=C),s.iGM(C=s.CRH())&&(c._contentRowDefs=C),s.iGM(C=s.CRH())&&(c._contentHeaderRowDefs=C),s.iGM(C=s.CRH())&&(c._contentFooterRowDefs=C)}},viewQuery:function(r,c){if(1&r&&(s.Gf(Ve,7),s.Gf(a,7),s.Gf(m,7),s.Gf(y,7)),2&r){let u;s.iGM(u=s.CRH())&&(c._rowOutlet=u.first),s.iGM(u=s.CRH())&&(c._headerRowOutlet=u.first),s.iGM(u=s.CRH())&&(c._footerRowOutlet=u.first),s.iGM(u=s.CRH())&&(c._noDataRowOutlet=u.first)}},hostAttrs:["ngSkipHydration","",1,"cdk-table"],hostVars:2,hostBindings:function(r,c){2&r&&s.ekj("cdk-table-fixed-layout",c.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[s._Bn([{provide:ie,useExisting:l},{provide:v.k,useClass:v.yy},{provide:De,useClass:Se},{provide:Fe,useValue:null}])],ngContentSelectors:te,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(r,c){1&r&&(s.F$t(X),s.Hsn(0),s.Hsn(1,1),s.GkF(2,0)(3,1)(4,2)(5,3))},dependencies:[Ve,a,m,y],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2}),l})();function J(l,p){return l.concat(Array.from(p))}let He=(()=>{class l{get name(){return this._name}set name(r){this._name=r,this._syncColumnDefName()}constructor(r,c){this._table=r,this._options=c,this.justify="start",this._options=c||{}}ngOnInit(){this._syncColumnDefName(),void 0===this.headerText&&(this.headerText=this._createDefaultHeaderText()),this.dataAccessor||(this.dataAccessor=this._options.defaultDataAccessor||((r,c)=>r[c])),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)}}return l.\u0275fac=function(r){return new(r||l)(s.Y36(ae,8),s.Y36(F,8))},l.\u0275cmp=s.Xpm({type:l,selectors:[["cdk-text-column"]],viewQuery:function(r,c){if(1&r&&(s.Gf(V,7),s.Gf(B,7),s.Gf(_,7)),2&r){let u;s.iGM(u=s.CRH())&&(c.columnDef=u.first),s.iGM(u=s.CRH())&&(c.cell=u.first),s.iGM(u=s.CRH())&&(c.headerCell=u.first)}},inputs:{name:"name",headerText:"headerText",dataAccessor:"dataAccessor",justify:"justify"},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(r,c){1&r&&(s.ynx(0,0),s.YNc(1,T,2,3,"th",1),s.YNc(2,U,2,3,"td",2),s.BQk())},dependencies:[B,_,V,de,le],encapsulation:2}),l})(),bt=(()=>{class l{}return l.\u0275fac=function(r){return new(r||l)},l.\u0275mod=s.oAB({type:l}),l.\u0275inj=s.cJS({imports:[ee.Cl]}),l})()},5313:(Ie,ge,D)=>{D.r(ge),D.d(ge,{MatSelectionColumnExample:()=>Ze,MatSelectionListExample:()=>Fe});var e=D(5879),A=D(2495),v=D(5266),E=D(4643),ee=D(8337),oe=D(3680);const s=[[["caption"]],[["colgroup"],["col"]]],I=["caption","colgroup, col"];let ce=(()=>{class a extends E.zC{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return a.\u0275fac=function(){let m;return function(k){return(m||(m=e.n5z(a)))(k||a)}}(),a.\u0275cmp=e.Xpm({type:a,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:["ngSkipHydration","",1,"mat-table"],hostVars:2,hostBindings:function(y,k){2&y&&e.ekj("mat-table-fixed-layout",k.fixedLayout)},exportAs:["matTable"],features:[e._Bn([{provide:ee.k,useClass:ee.yy},{provide:E.zC,useExisting:a},{provide:E.pN,useExisting:a},{provide:E.nl,useClass:E.oF},{provide:E.pF,useValue:null}]),e.qOj],ngContentSelectors:I,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(y,k){1&y&&(e.F$t(s),e.Hsn(0),e.Hsn(1,1),e.GkF(2,0)(3,1)(4,2)(5,3))},dependencies:[E.T$,E.FT,E.$E,E.bH],styles:["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}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}"],encapsulation:2}),a})(),q=(()=>{class a extends E.O_{}return a.\u0275fac=function(){let m;return function(k){return(m||(m=e.n5z(a)))(k||a)}}(),a.\u0275dir=e.lG2({type:a,selectors:[["","matCellDef",""]],features:[e._Bn([{provide:E.O_,useExisting:a}]),e.qOj]}),a})(),K=(()=>{class a extends E.D5{}return a.\u0275fac=function(){let m;return function(k){return(m||(m=e.n5z(a)))(k||a)}}(),a.\u0275dir=e.lG2({type:a,selectors:[["","matHeaderCellDef",""]],features:[e._Bn([{provide:E.D5,useExisting:a}]),e.qOj]}),a})(),te=(()=>{class a extends E.fo{get name(){return this._name}set name(y){this._setNameInput(y)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return a.\u0275fac=function(){let m;return function(k){return(m||(m=e.n5z(a)))(k||a)}}(),a.\u0275dir=e.lG2({type:a,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[e._Bn([{provide:E.fo,useExisting:a},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:a}]),e.qOj]}),a})(),T=(()=>{class a extends E.Af{}return a.\u0275fac=function(){let m;return function(k){return(m||(m=e.n5z(a)))(k||a)}}(),a.\u0275dir=e.lG2({type:a,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[e.qOj]}),a})(),Y=(()=>{class a extends E.hD{}return a.\u0275fac=function(){let m;return function(k){return(m||(m=e.n5z(a)))(k||a)}}(),a.\u0275dir=e.lG2({type:a,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[e.qOj]}),a})(),le=(()=>{class a{}return a.\u0275fac=function(y){return new(y||a)},a.\u0275mod=e.oAB({type:a}),a.\u0275inj=e.cJS({imports:[E.HT,oe.BQ,oe.BQ]}),a})();var de=D(6814),pe=D(5986);function De(a,m){if(1&a&&(e._UZ(0,"mat-checkbox",5,6),e.ALo(2,"async")),2&a){const y=e.MAs(1);e.Q6J("indeterminate",e.lcZ(2,1,y.indeterminate))}}function Se(a,m){if(1&a&&(e.TgZ(0,"th",3),e.YNc(1,De,3,3,"mat-checkbox",4),e.qZA()),2&a){const y=e.oxw();e.xp6(1),e.Q6J("ngIf",y.selection.multiple)}}function Ae(a,m){if(1&a&&(e.TgZ(0,"td",7),e._UZ(1,"mat-checkbox",8),e.qZA()),2&a){const y=m.$implicit,k=m.$index;e.xp6(1),e.Q6J("matSelectionToggleValue",y)("matSelectionToggleIndex",k)}}let be=(()=>{class a extends v.$i{constructor(){super(...arguments),this.change=new e.vpe}get multiple(){return this._multiple}set multiple(y){this._multiple=(0,A.Ig)(y)}}return a.\u0275fac=function(){let m;return function(k){return(m||(m=e.n5z(a)))(k||a)}}(),a.\u0275dir=e.lG2({type:a,selectors:[["","matSelection",""]],inputs:{multiple:["matSelectionMultiple","multiple"]},outputs:{change:"matSelectionChange"},exportAs:["matSelection"],features:[e._Bn([{provide:v.$i,useExisting:a}]),e.qOj]}),a})(),Ce=(()=>{class a extends v.sE{}return a.\u0275fac=function(){let m;return function(k){return(m||(m=e.n5z(a)))(k||a)}}(),a.\u0275dir=e.lG2({type:a,selectors:[["","matSelectAll",""]],exportAs:["matSelectAll"],features:[e._Bn([{provide:v.sE,useExisting:a}]),e.qOj]}),a})(),d=(()=>{class a extends v.Jn{constructor(){super(...arguments),this.value=void 0}}return a.\u0275fac=function(){let m;return function(k){return(m||(m=e.n5z(a)))(k||a)}}(),a.\u0275dir=e.lG2({type:a,selectors:[["","matSelectionToggle",""]],inputs:{index:["matSelectionToggleIndex","index"],value:["matSelectionToggleValue","value"]},exportAs:["matSelectionToggle"],features:[e._Bn([{provide:v.Jn,useExisting:a}]),e.qOj]}),a})(),g=(()=>{class a{get name(){return this._name}set name(y){this._name=y,this._syncColumnDefName()}constructor(y,k){this._table=y,this.selection=k}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)}}return a.\u0275fac=function(y){return new(y||a)(e.Y36(ce,8),e.Y36(be,8))},a.\u0275cmp=e.Xpm({type:a,selectors:[["mat-selection-column"]],viewQuery:function(y,k){if(1&y&&(e.Gf(te,7),e.Gf(q,7),e.Gf(K,7)),2&y){let re;e.iGM(re=e.CRH())&&(k._columnDef=re.first),e.iGM(re=e.CRH())&&(k._cell=re.first),e.iGM(re=e.CRH())&&(k._headerCell=re.first)}},inputs:{name:"name"},decls:3,vars:0,consts:[["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",4,"ngIf"],["matSelectAll","",3,"indeterminate"],["allToggler","matSelectAll"],["mat-cell","",1,"mat-selection-column-cell"],["matSelectionToggle","",3,"matSelectionToggleValue","matSelectionToggleIndex"]],template:function(y,k){1&y&&(e.ynx(0,0),e.YNc(1,Se,2,1,"th",1),e.YNc(2,Ae,2,2,"td",2),e.BQk())},dependencies:[de.O5,K,te,q,T,Y,pe.oG,Ce,d,de.Ov],styles:["th.mat-selection-column-header,td.mat-selection-column-cell{text-align:center;width:48px}"],encapsulation:2,changeDetection:0}),a})(),x=(()=>{class a extends v.RQ{}return a.\u0275fac=function(){let m;return function(k){return(m||(m=e.n5z(a)))(k||a)}}(),a.\u0275dir=e.lG2({type:a,selectors:[["","matRowSelection",""]],hostVars:3,hostBindings:function(y,k){2&y&&(e.uIk("aria-selected",k._selection.isSelected(k.value,k.index)),e.ekj("mat-selected",k._selection.isSelected(k.value,k.index)))},inputs:{index:["matRowSelectionIndex","index"],value:["matRowSelectionValue","value"]},features:[e._Bn([{provide:v.RQ,useExisting:a}]),e.qOj]}),a})(),R=(()=>{class a{}return a.\u0275fac=function(y){return new(y||a)},a.\u0275mod=e.oAB({type:a}),a.\u0275inj=e.cJS({imports:[de.ez,le,pe.p9]}),a})();var O=D(9538);function W(a,m){1&a&&(e.TgZ(0,"th",10),e._uU(1," No. "),e.qZA())}function Z(a,m){if(1&a&&(e.TgZ(0,"td",11),e._uU(1),e.qZA()),2&a){const y=m.$implicit;e.xp6(1),e.hij(" ",y.position," ")}}function $(a,m){1&a&&(e.TgZ(0,"th",10),e._uU(1," Name "),e.qZA())}function me(a,m){if(1&a&&(e.TgZ(0,"td",11),e._uU(1),e.qZA()),2&a){const y=m.$implicit;e.xp6(1),e.hij(" ",y.name," ")}}function fe(a,m){1&a&&(e.TgZ(0,"th",10),e._uU(1," Weight "),e.qZA())}function P(a,m){if(1&a&&(e.TgZ(0,"td",11),e._uU(1),e.qZA()),2&a){const y=m.$implicit;e.xp6(1),e.hij(" ",y.weight," ")}}function ne(a,m){1&a&&(e.TgZ(0,"th",10),e._uU(1," Symbol "),e.qZA())}function ye(a,m){if(1&a&&(e.TgZ(0,"td",11),e._uU(1),e.qZA()),2&a){const y=m.$implicit;e.xp6(1),e.hij(" ",y.symbol," ")}}function tt(a,m){1&a&&e._UZ(0,"tr",12)}function nt(a,m){1&a&&e._UZ(0,"tr",13),2&a&&e.Q6J("matRowSelectionValue",m.$implicit)}function Ge(a,m){if(1&a){const y=e.EpF();e.TgZ(0,"li")(1,"input",10,11),e.NdJ("click",function(){e.CHM(y);const re=e.MAs(2);return e.KtG(re.toggle())}),e.ALo(3,"async"),e.qZA(),e._uU(4),e.qZA()}if(2&a){const y=m.$implicit,k=e.MAs(2);e.xp6(1),e.Q6J("matSelectionToggleValue",y)("checked",e.lcZ(3,3,k.checked)),e.xp6(3),e.hij(" ",y," ")}}function Pe(a,m){if(1&a&&(e.TgZ(0,"li"),e._UZ(1,"mat-checkbox",12),e._uU(2),e.qZA()),2&a){const y=m.$implicit;e.xp6(1),e.Q6J("matSelectionToggleValue",y),e.xp6(1),e.hij(" ",y," ")}}function Te(a,m){if(1&a&&(e.TgZ(0,"li"),e._UZ(1,"mat-checkbox",12),e._uU(2),e.qZA()),2&a){const y=m.$implicit;e.xp6(1),e.Q6J("matSelectionToggleValue",y),e.xp6(1),e.hij(" ",y," ")}}function Ee(a,m){if(1&a&&(e.TgZ(0,"li"),e._UZ(1,"mat-checkbox",13),e._uU(2),e.qZA()),2&a){const y=m.$implicit,k=m.index;e.xp6(1),e.Q6J("matSelectionToggleValue",y)("matSelectionToggleIndex",k),e.xp6(1),e.hij(" ",y," ")}}let Ze=(()=>{class a{constructor(){this.displayedColumns=["select","position","name","weight","symbol"],this.dataSource=Ne,this.selected=[]}selectionChanged(y){this.selected=y.after.map(k=>k.value.name)}}return a.\u0275fac=function(y){return new(y||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["mat-selection-column-example"]],standalone:!0,features:[e.jDz],decls:17,vars:5,consts:[["mat-table","","matSelection","",1,"example-table",3,"dataSource","matSelectionMultiple","matSelectionChange"],["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(y,k){1&y&&(e._uU(0),e.TgZ(1,"table",0),e.NdJ("matSelectionChange",function(ae){return k.selectionChanged(ae)}),e._UZ(2,"mat-selection-column",1),e.ynx(3,2),e.YNc(4,W,2,0,"th",3),e.YNc(5,Z,2,1,"td",4),e.BQk(),e.ynx(6,5),e.YNc(7,$,2,0,"th",3),e.YNc(8,me,2,1,"td",4),e.BQk(),e.ynx(9,6),e.YNc(10,fe,2,0,"th",3),e.YNc(11,P,2,1,"td",4),e.BQk(),e.ynx(12,7),e.YNc(13,ne,2,0,"th",3),e.YNc(14,ye,2,1,"td",4),e.BQk(),e.YNc(15,tt,1,0,"tr",8),e.YNc(16,nt,1,1,"tr",9),e.qZA()),2&y&&(e.hij("Selected: ",k.selected,"\n"),e.xp6(1),e.Q6J("dataSource",k.dataSource)("matSelectionMultiple",!0),e.xp6(14),e.Q6J("matHeaderRowDef",k.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",k.displayedColumns))},dependencies:[O.p0,O.BZ,O.fO,O.as,O.w1,O.Dz,O.nj,O.ge,O.ev,O.XQ,O.Gk,R,be,g,x],styles:[".example-table[_ngcontent-%COMP%] {\n width: 100%;\n}"]}),a})();const Ne=[{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 Fe=(()=>{class a{constructor(){this.data=Be,this.selected1=[],this.selected2=[],this.selected3=[],this.selected4=[]}getCurrentSelected(y){return y.after.map(k=>k.value)}trackByFn(y,k){return y}changeElementName(){this.data=Ve}reset(){this.data=Be}}return a.\u0275fac=function(y){return new(y||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["mat-selection-list-example"]],standalone:!0,features:[e.jDz],decls:38,vars:30,consts:[["matSelection","",3,"dataSource","matSelectionMultiple","matSelectionChange"],["type","checkbox","matSelectAll","",3,"checked","indeterminate","click"],["allToggler","matSelectAll"],[4,"ngFor","ngForOf"],["matSelectAll","",3,"indeterminate"],["toggle1","matSelectAll"],["matSelection","",3,"dataSource","matSelectionMultiple","trackBy","matSelectionChange"],["toggle2","matSelectAll"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"click"],["type","checkbox","matSelectionToggle","",3,"matSelectionToggleValue","checked","click"],["toggler","matSelectionToggle"],["matSelectionToggle","",3,"matSelectionToggleValue"],["matSelectionToggle","",3,"matSelectionToggleValue","matSelectionToggleIndex"]],template:function(y,k){if(1&y){const re=e.EpF();e.TgZ(0,"h3")(1,"code"),e._uU(2,"native input"),e.qZA()(),e._uU(3),e.TgZ(4,"ul",0),e.NdJ("matSelectionChange",function(J){return k.selected1=k.getCurrentSelected(J)}),e.TgZ(5,"input",1,2),e.NdJ("click",function(J){e.CHM(re);const He=e.MAs(6);return e.KtG(He.toggle(J))}),e.ALo(7,"async"),e.ALo(8,"async"),e.qZA(),e.YNc(9,Ge,5,5,"li",3),e.qZA(),e.TgZ(10,"h3")(11,"code"),e._uU(12,"mat-checkbox"),e.qZA()(),e._uU(13),e.TgZ(14,"ul",0),e.NdJ("matSelectionChange",function(J){return k.selected2=k.getCurrentSelected(J)}),e._UZ(15,"mat-checkbox",4,5),e.ALo(17,"async"),e.YNc(18,Pe,3,2,"li",3),e.qZA(),e.TgZ(19,"h3")(20,"code"),e._uU(21,"Single select with mat-checkbox"),e.qZA()(),e._uU(22),e.TgZ(23,"ul",0),e.NdJ("matSelectionChange",function(J){return k.selected3=k.getCurrentSelected(J)}),e.YNc(24,Te,3,2,"li",3),e.qZA(),e.TgZ(25,"h3")(26,"code"),e._uU(27,"with trackBy"),e.qZA()(),e._uU(28),e.TgZ(29,"ul",6),e.NdJ("matSelectionChange",function(J){return k.selected4=k.getCurrentSelected(J)}),e._UZ(30,"mat-checkbox",4,7),e.ALo(32,"async"),e.YNc(33,Ee,3,3,"li",8),e.qZA(),e.TgZ(34,"button",9),e.NdJ("click",function(){return k.changeElementName()}),e._uU(35,"Change element names and the already selected stays"),e.qZA(),e.TgZ(36,"button",9),e.NdJ("click",function(){return k.reset()}),e._uU(37,"reset"),e.qZA()}if(2&y){const re=e.MAs(6),ae=e.MAs(16),J=e.MAs(31);e.xp6(3),e.hij("\nSelected: ",k.selected1,"\n"),e.xp6(1),e.Q6J("dataSource",k.data)("matSelectionMultiple",!0),e.xp6(1),e.Q6J("checked",e.lcZ(7,22,re.checked))("indeterminate",e.lcZ(8,24,re.indeterminate)),e.xp6(4),e.Q6J("ngForOf",k.data),e.xp6(4),e.hij("\nSelected: ",k.selected2,"\n"),e.xp6(1),e.Q6J("dataSource",k.data)("matSelectionMultiple",!0),e.xp6(1),e.Q6J("indeterminate",e.lcZ(17,26,ae.indeterminate)),e.xp6(3),e.Q6J("ngForOf",k.data),e.xp6(4),e.hij("\nSelected: ",k.selected3,"\n"),e.xp6(1),e.Q6J("dataSource",k.data)("matSelectionMultiple",!1),e.xp6(1),e.Q6J("ngForOf",k.data),e.xp6(4),e.hij("\nSelected: ",k.selected4,"\n"),e.xp6(1),e.Q6J("dataSource",k.data)("matSelectionMultiple",!0)("trackBy",k.trackByFn),e.xp6(1),e.Q6J("indeterminate",e.lcZ(32,28,J.indeterminate)),e.xp6(3),e.Q6J("ngForOf",k.data)("ngForTrackBy",k.trackByFn)}},dependencies:[R,Ce,be,d,de.ax,pe.p9,pe.oG,de.Ov],encapsulation:2}),a})();const Be=["Hydrogen","Helium","Lithium","Beryllium","Boron","Carbon","Nitrogen","Oxygen","Fluorine","Neon","Sodium","Magnesium","Aluminum","Silicon","Phosphorus","Sulfur","Chlorine","Argon","Potassium","Calcium"],Ve=["H","He","Li","Be","B","C","N","O","F","Ne","Na","Mg","Al","Si","P","S","Cl","Ar","K","Ca"]},6223:(Ie,ge,D)=>{D.d(ge,{Cf:()=>T,EJ:()=>Ke,F:()=>Je,Fj:()=>K,JJ:()=>Ge,JL:()=>Pe,JU:()=>I,Kr:()=>Nt,NI:()=>Le,On:()=>st,Q7:()=>Xe,UX:()=>En,Wl:()=>he,YN:()=>Ot,Zs:()=>pt,_Y:()=>Rt,a5:()=>ne,cw:()=>j,eT:()=>lt,gN:()=>P,kI:()=>ie,oH:()=>ut,qu:()=>Rn,sg:()=>Qe,u:()=>ft,u5:()=>An,wV:()=>ct});var e=D(5879),A=D(6814),v=D(5253),E=D(7504),ee=D(6124);let oe=(()=>{class o{constructor(t,i){this._renderer=t,this._elementRef=i,this.onChange=h=>{},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)}}return o.\u0275fac=function(t){return new(t||o)(e.Y36(e.Qsj),e.Y36(e.SBq))},o.\u0275dir=e.lG2({type:o}),o})(),s=(()=>{class o extends oe{}return o.\u0275fac=function(){let n;return function(i){return(n||(n=e.n5z(o)))(i||o)}}(),o.\u0275dir=e.lG2({type:o,features:[e.qOj]}),o})();const I=new e.OlP("NgValueAccessor"),ue={provide:I,useExisting:(0,e.Gpc)(()=>he),multi:!0};let he=(()=>{class o extends s{writeValue(t){this.setProperty("checked",t)}}return o.\u0275fac=function(){let n;return function(i){return(n||(n=e.n5z(o)))(i||o)}}(),o.\u0275dir=e.lG2({type:o,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(t,i){1&t&&e.NdJ("change",function(M){return i.onChange(M.target.checked)})("blur",function(){return i.onTouched()})},features:[e._Bn([ue]),e.qOj]}),o})();const z={provide:I,useExisting:(0,e.Gpc)(()=>K),multi:!0},q=new e.OlP("CompositionEventMode");let K=(()=>{class o extends oe{constructor(t,i,h){super(t,i),this._compositionMode=h,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function ce(){const o=(0,A.q)()?(0,A.q)().getUserAgent():"";return/android (\d+)/.test(o.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)}}return o.\u0275fac=function(t){return new(t||o)(e.Y36(e.Qsj),e.Y36(e.SBq),e.Y36(q,8))},o.\u0275dir=e.lG2({type:o,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(t,i){1&t&&e.NdJ("input",function(M){return i._handleInput(M.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(M){return i._compositionEnd(M.target.value)})},features:[e._Bn([z]),e.qOj]}),o})();function X(o){return null==o||("string"==typeof o||Array.isArray(o))&&0===o.length}function te(o){return null!=o&&"number"==typeof o.length}const T=new e.OlP("NgValidators"),U=new e.OlP("NgAsyncValidators"),Y=/^(?=.{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 ie{static min(n){return function F(o){return n=>{if(X(n.value)||X(o))return null;const t=parseFloat(n.value);return!isNaN(t)&&t<o?{min:{min:o,actual:n.value}}:null}}(n)}static max(n){return function B(o){return n=>{if(X(n.value)||X(o))return null;const t=parseFloat(n.value);return!isNaN(t)&&t>o?{max:{max:o,actual:n.value}}:null}}(n)}static required(n){return _(n)}static requiredTrue(n){return b(n)}static email(n){return function f(o){return X(o.value)||Y.test(o.value)?null:{email:!0}}(n)}static minLength(n){return function S(o){return n=>X(n.value)||!te(n.value)?null:n.value.length<o?{minlength:{requiredLength:o,actualLength:n.value.length}}:null}(n)}static maxLength(n){return function V(o){return n=>te(n.value)&&n.value.length>o?{maxlength:{requiredLength:o,actualLength:n.value.length}}:null}(n)}static pattern(n){return function G(o){if(!o)return le;let n,t;return"string"==typeof o?(t="","^"!==o.charAt(0)&&(t+="^"),t+=o,"$"!==o.charAt(o.length-1)&&(t+="$"),n=new RegExp(t)):(t=o.toString(),n=o),i=>{if(X(i.value))return null;const h=i.value;return n.test(h)?null:{pattern:{requiredPattern:t,actualValue:h}}}}(n)}static nullValidator(n){return null}static compose(n){return be(n)}static composeAsync(n){return d(n)}}function _(o){return X(o.value)?{required:!0}:null}function b(o){return!0===o.value?null:{required:!0}}function le(o){return null}function xe(o){return null!=o}function de(o){return(0,e.QGY)(o)?(0,v.D)(o):o}function pe(o){let n={};return o.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function De(o,n){return n.map(t=>t(o))}function Ae(o){return o.map(n=>function Se(o){return!o.validate}(n)?n:t=>n.validate(t))}function be(o){if(!o)return null;const n=o.filter(xe);return 0==n.length?null:function(t){return pe(De(t,n))}}function Ce(o){return null!=o?be(Ae(o)):null}function d(o){if(!o)return null;const n=o.filter(xe);return 0==n.length?null:function(t){const i=De(t,n).map(de);return(0,E.D)(i).pipe((0,ee.U)(pe))}}function g(o){return null!=o?d(Ae(o)):null}function x(o,n){return null===o?[n]:Array.isArray(o)?[...o,n]:[o,n]}function R(o){return o._rawValidators}function O(o){return o._rawAsyncValidators}function W(o){return o?Array.isArray(o)?o:[o]:[]}function Z(o,n){return Array.isArray(o)?o.includes(n):o===n}function $(o,n){const t=W(n);return W(o).forEach(h=>{Z(t,h)||t.push(h)}),t}function me(o,n){return W(n).filter(t=>!Z(o,t))}class fe{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(n){this._rawValidators=n||[],this._composedValidatorFn=Ce(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=g(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,t){return!!this.control&&this.control.hasError(n,t)}getError(n,t){return this.control?this.control.getError(n,t):null}}class P extends fe{get formDirective(){return null}get path(){return null}}class ne extends fe{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class ye{constructor(n){this._cd=n}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 Ge=(()=>{class o extends ye{constructor(t){super(t)}}return o.\u0275fac=function(t){return new(t||o)(e.Y36(ne,2))},o.\u0275dir=e.lG2({type:o,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,i){2&t&&e.ekj("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[e.qOj]}),o})(),Pe=(()=>{class o extends ye{constructor(t){super(t)}}return o.\u0275fac=function(t){return new(t||o)(e.Y36(P,10))},o.\u0275dir=e.lG2({type:o,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(t,i){2&t&&e.ekj("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},features:[e.qOj]}),o})();const l="VALID",p="INVALID",r="PENDING",c="DISABLED";function u(o){return(L(o)?o.validators:o)||null}function w(o,n){return(L(n)?n.asyncValidators:o)||null}function L(o){return null!=o&&!Array.isArray(o)&&"object"==typeof o}function ke(o,n,t){const i=o.controls;if(!(n?Object.keys(i):i).length)throw new e.vHH(1e3,"");if(!i[t])throw new e.vHH(1001,"")}function H(o,n,t){o._forEachChild((i,h)=>{if(void 0===t[h])throw new e.vHH(1002,"")})}class se{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===l}get invalid(){return this.status===p}get pending(){return this.status==r}get disabled(){return this.status===c}get enabled(){return this.status!==c}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators($(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators($(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(me(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(me(n,this._rawAsyncValidators))}hasValidator(n){return Z(this._rawValidators,n)}hasAsyncValidator(n){return Z(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=r,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=c,this.errors=null,this._forEachChild(i=>{i.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(i=>i(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=l,this._forEachChild(i=>{i.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===l||this.status===r)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?c:l}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=r,this._hasOwnPendingAsyncValidator=!0;const t=de(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent)}get(n){let t=n;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((i,h)=>i&&i._find(h),this)}getError(n,t){const i=t?this.get(t):this;return i&&i.errors?i.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new e.vpe,this.statusChanges=new e.vpe}_calculateStatus(){return this._allControlsDisabled()?c:this.errors?p:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(r)?r:this._anyControlsHaveStatus(p)?p:l}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){L(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function C(o){return Array.isArray(o)?Ce(o):o||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function N(o){return Array.isArray(o)?g(o):o||null}(this._rawAsyncValidators)}}class j extends se{constructor(n,t,i){super(u(t),w(i,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,t){return this.controls[n]?this.controls[n]:(this.controls[n]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(n,t,i={}){this.registerControl(n,t),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(n,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(n,t,i={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],t&&this.registerControl(n,t),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,t={}){H(this,0,n),Object.keys(n).forEach(i=>{ke(this,!0,i),this.controls[i].setValue(n[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(Object.keys(n).forEach(i=>{const h=this.controls[i];h&&h.patchValue(n[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n={},t={}){this._forEachChild((i,h)=>{i.reset(n[h],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(n,t,i)=>(n[i]=t.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(t,i)=>!!i._syncPendingControls()||t);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(t=>{const i=this.controls[t];i&&n(i,t)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[t,i]of Object.entries(this.controls))if(this.contains(t)&&n(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(t,i,h)=>((i.enabled||this.disabled)&&(t[h]=i.value),t))}_reduceChildren(n,t){let i=n;return this._forEachChild((h,M)=>{i=t(i,h,M)}),i}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}}class Re extends j{}const ve=new e.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>Ue}),Ue="always";function qe(o,n){return[...n.path,o]}function je(o,n,t=Ue){ot(o,n),n.valueAccessor.writeValue(o.value),(o.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(o.disabled),function $t(o,n){n.valueAccessor.registerOnChange(t=>{o._pendingValue=t,o._pendingChange=!0,o._pendingDirty=!0,"change"===o.updateOn&&kt(o,n)})}(o,n),function Qt(o,n){const t=(i,h)=>{n.valueAccessor.writeValue(i),h&&n.viewToModelUpdate(i)};o.registerOnChange(t),n._registerOnDestroy(()=>{o._unregisterOnChange(t)})}(o,n),function Jt(o,n){n.valueAccessor.registerOnTouched(()=>{o._pendingTouched=!0,"blur"===o.updateOn&&o._pendingChange&&kt(o,n),"submit"!==o.updateOn&&o.markAsTouched()})}(o,n),function Wt(o,n){if(n.valueAccessor.setDisabledState){const t=i=>{n.valueAccessor.setDisabledState(i)};o.registerOnDisabledChange(t),n._registerOnDestroy(()=>{o._unregisterOnDisabledChange(t)})}}(o,n)}function Ye(o,n,t=!0){const i=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(i),n.valueAccessor.registerOnTouched(i)),$e(o,n),o&&(n._invokeOnDestroyCallbacks(),o._registerOnCollectionChange(()=>{}))}function We(o,n){o.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function ot(o,n){const t=R(o);null!==n.validator?o.setValidators(x(t,n.validator)):"function"==typeof t&&o.setValidators([t]);const i=O(o);null!==n.asyncValidator?o.setAsyncValidators(x(i,n.asyncValidator)):"function"==typeof i&&o.setAsyncValidators([i]);const h=()=>o.updateValueAndValidity();We(n._rawValidators,h),We(n._rawAsyncValidators,h)}function $e(o,n){let t=!1;if(null!==o){if(null!==n.validator){const h=R(o);if(Array.isArray(h)&&h.length>0){const M=h.filter(Q=>Q!==n.validator);M.length!==h.length&&(t=!0,o.setValidators(M))}}if(null!==n.asyncValidator){const h=O(o);if(Array.isArray(h)&&h.length>0){const M=h.filter(Q=>Q!==n.asyncValidator);M.length!==h.length&&(t=!0,o.setAsyncValidators(M))}}}const i=()=>{};return We(n._rawValidators,i),We(n._rawAsyncValidators,i),t}function kt(o,n){o._pendingDirty&&o.markAsDirty(),o.setValue(o._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(o._pendingValue),o._pendingChange=!1}function Ct(o,n){ot(o,n)}function rt(o,n){if(!o.hasOwnProperty("model"))return!1;const t=o.model;return!!t.isFirstChange()||!Object.is(n,t.currentValue)}function vt(o,n){o._syncPendingControls(),n.forEach(t=>{const i=t.control;"submit"===i.updateOn&&i._pendingChange&&(t.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function at(o,n){if(!n)return null;let t,i,h;return Array.isArray(n),n.forEach(M=>{M.constructor===K?t=M:function en(o){return Object.getPrototypeOf(o.constructor)===s}(M)?i=M:h=M}),h||i||t||null}const nn={provide:P,useExisting:(0,e.Gpc)(()=>Je)},ze=(()=>Promise.resolve())();let Je=(()=>{class o extends P{constructor(t,i,h){super(),this.callSetDisabledState=h,this.submitted=!1,this._directives=new Set,this.ngSubmit=new e.vpe,this.form=new j({},Ce(t),g(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){ze.then(()=>{const i=this._findContainer(t.path);t.control=i.registerControl(t.name,t.control),je(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){ze.then(()=>{const i=this._findContainer(t.path);i&&i.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){ze.then(()=>{const i=this._findContainer(t.path),h=new j({});Ct(h,t),i.registerControl(t.name,h),h.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){ze.then(()=>{const i=this._findContainer(t.path);i&&i.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,i){ze.then(()=>{this.form.get(t.path).setValue(i)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,vt(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}}return o.\u0275fac=function(t){return new(t||o)(e.Y36(T,10),e.Y36(U,10),e.Y36(ve,8))},o.\u0275dir=e.lG2({type:o,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,i){1&t&&e.NdJ("submit",function(M){return i.onSubmit(M)})("reset",function(){return i.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e._Bn([nn]),e.qOj]}),o})();function xt(o,n){const t=o.indexOf(n);t>-1&&o.splice(t,1)}function Dt(o){return"object"==typeof o&&null!==o&&2===Object.keys(o).length&&"value"in o&&"disabled"in o}const Le=class extends se{constructor(n=null,t,i){super(u(t),w(i,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),L(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=Dt(n)?n.value:n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){xt(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){xt(this._onDisabledChange,n)}_forEachChild(n){}_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(n){Dt(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},an={provide:ne,useExisting:(0,e.Gpc)(()=>st)},St=(()=>Promise.resolve())();let st=(()=>{class o extends ne{constructor(t,i,h,M,Q,Me){super(),this._changeDetectorRef=Q,this.callSetDisabledState=Me,this.control=new Le,this._registered=!1,this.name="",this.update=new e.vpe,this._parent=t,this._setValidators(i),this._setAsyncValidators(h),this.valueAccessor=at(0,M)}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(){je(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){St.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const i=t.isDisabled.currentValue,h=0!==i&&(0,e.VuI)(i);St.then(()=>{h&&!this.control.disabled?this.control.disable():!h&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?qe(t,this._parent):[t]}}return o.\u0275fac=function(t){return new(t||o)(e.Y36(P,9),e.Y36(T,10),e.Y36(U,10),e.Y36(I,10),e.Y36(e.sBO,8),e.Y36(ve,8))},o.\u0275dir=e.lG2({type:o,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[e._Bn([an]),e.qOj,e.TTD]}),o})(),Rt=(()=>{class o{}return o.\u0275fac=function(t){return new(t||o)},o.\u0275dir=e.lG2({type:o,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),o})();const sn={provide:I,useExisting:(0,e.Gpc)(()=>ct),multi:!0};let ct=(()=>{class o extends s{writeValue(t){this.setProperty("value",t??"")}registerOnChange(t){this.onChange=i=>{t(""==i?null:parseFloat(i))}}}return o.\u0275fac=function(){let n;return function(i){return(n||(n=e.n5z(o)))(i||o)}}(),o.\u0275dir=e.lG2({type:o,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,i){1&t&&e.NdJ("input",function(M){return i.onChange(M.target.value)})("blur",function(){return i.onTouched()})},features:[e._Bn([sn]),e.qOj]}),o})(),At=(()=>{class o{}return o.\u0275fac=function(t){return new(t||o)},o.\u0275mod=e.oAB({type:o}),o.\u0275inj=e.cJS({}),o})();const dn={provide:I,useExisting:(0,e.Gpc)(()=>lt),multi:!0};let lt=(()=>{class o extends s{writeValue(t){this.setProperty("value",parseFloat(t))}registerOnChange(t){this.onChange=i=>{t(""==i?null:parseFloat(i))}}}return o.\u0275fac=function(){let n;return function(i){return(n||(n=e.n5z(o)))(i||o)}}(),o.\u0275dir=e.lG2({type:o,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(t,i){1&t&&e.NdJ("change",function(M){return i.onChange(M.target.value)})("input",function(M){return i.onChange(M.target.value)})("blur",function(){return i.onTouched()})},features:[e._Bn([dn]),e.qOj]}),o})();const dt=new e.OlP("NgModelWithFormControlWarning"),un={provide:ne,useExisting:(0,e.Gpc)(()=>ut)};let ut=(()=>{class o extends ne{set isDisabled(t){}constructor(t,i,h,M,Q){super(),this._ngModelWarningConfig=M,this.callSetDisabledState=Q,this.update=new e.vpe,this._ngModelWarningSent=!1,this._setValidators(t),this._setAsyncValidators(i),this.valueAccessor=at(0,h)}ngOnChanges(t){if(this._isControlChanged(t)){const i=t.form.previousValue;i&&Ye(i,this,!1),je(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&&Ye(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")}}return o._ngModelWarningSentOnce=!1,o.\u0275fac=function(t){return new(t||o)(e.Y36(T,10),e.Y36(U,10),e.Y36(I,10),e.Y36(dt,8),e.Y36(ve,8))},o.\u0275dir=e.lG2({type:o,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[e._Bn([un]),e.qOj,e.TTD]}),o})();const hn={provide:P,useExisting:(0,e.Gpc)(()=>Qe)};let Qe=(()=>{class o extends P{constructor(t,i,h){super(),this.callSetDisabledState=h,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new e.vpe,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&&($e(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 je(i,t,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),i}getControl(t){return this.form.get(t.path)}removeControl(t){Ye(t.control||null,t,!1),function tn(o,n){const t=o.indexOf(n);t>-1&&o.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,vt(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}_updateDomValue(){this.directives.forEach(t=>{const i=t.control,h=this.form.get(t.path);i!==h&&(Ye(i||null,t),(o=>o instanceof Le)(h)&&(je(h,t,this.callSetDisabledState),t.control=h))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const i=this.form.get(t.path);Ct(i,t),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const i=this.form.get(t.path);i&&function Kt(o,n){return $e(o,n)}(i,t)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){ot(this.form,this),this._oldForm&&$e(this._oldForm,this)}_checkFormPresent(){}}return o.\u0275fac=function(t){return new(t||o)(e.Y36(T,10),e.Y36(U,10),e.Y36(ve,8))},o.\u0275dir=e.lG2({type:o,selectors:[["","formGroup",""]],hostBindings:function(t,i){1&t&&e.NdJ("submit",function(M){return i.onSubmit(M)})("reset",function(){return i.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e._Bn([hn]),e.qOj,e.TTD]}),o})();const _n={provide:ne,useExisting:(0,e.Gpc)(()=>ft)};let ft=(()=>{class o extends ne{set isDisabled(t){}constructor(t,i,h,M,Q){super(),this._ngModelWarningConfig=Q,this._added=!1,this.name=null,this.update=new e.vpe,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(i),this._setAsyncValidators(h),this.valueAccessor=at(0,M)}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 qe(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}}return o._ngModelWarningSentOnce=!1,o.\u0275fac=function(t){return new(t||o)(e.Y36(P,13),e.Y36(T,10),e.Y36(U,10),e.Y36(I,10),e.Y36(dt,8))},o.\u0275dir=e.lG2({type:o,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[e._Bn([_n]),e.qOj,e.TTD]}),o})();const pn={provide:I,useExisting:(0,e.Gpc)(()=>Ke),multi:!0};function Vt(o,n){return null==o?`${n}`:(n&&"object"==typeof n&&(n="Object"),`${o}: ${n}`.slice(0,50))}let Ke=(()=>{class o extends s{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 h=Vt(this._getOptionId(t),t);this.setProperty("value",h)}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 gn(o){return o.split(":")[0]}(t);return this._optionMap.has(i)?this._optionMap.get(i):t}}return o.\u0275fac=function(){let n;return function(i){return(n||(n=e.n5z(o)))(i||o)}}(),o.\u0275dir=e.lG2({type:o,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(t,i){1&t&&e.NdJ("change",function(M){return i.onChange(M.target.value)})("blur",function(){return i.onTouched()})},inputs:{compareWith:"compareWith"},features:[e._Bn([pn]),e.qOj]}),o})(),Ot=(()=>{class o{constructor(t,i,h){this._element=t,this._renderer=i,this._select=h,this._select&&(this.id=this._select._registerOption())}set ngValue(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(Vt(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))}}return o.\u0275fac=function(t){return new(t||o)(e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(Ke,9))},o.\u0275dir=e.lG2({type:o,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),o})();const bn={provide:I,useExisting:(0,e.Gpc)(()=>_t),multi:!0};function Tt(o,n){return null==o?`${n}`:("string"==typeof n&&(n=`'${n}'`),n&&"object"==typeof n&&(n="Object"),`${o}: ${n}`.slice(0,50))}let _t=(()=>{class o extends s{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 h=t.map(M=>this._getOptionId(M));i=(M,Q)=>{M._setSelected(h.indexOf(Q.toString())>-1)}}else i=(h,M)=>{h._setSelected(!1)};this._optionMap.forEach(i)}registerOnChange(t){this.onChange=i=>{const h=[],M=i.selectedOptions;if(void 0!==M){const Q=M;for(let Me=0;Me<Q.length;Me++){const gt=this._getOptionValue(Q[Me].value);h.push(gt)}}else{const Q=i.options;for(let Me=0;Me<Q.length;Me++){const et=Q[Me];if(et.selected){const gt=this._getOptionValue(et.value);h.push(gt)}}}this.value=h,t(h)}}_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 yn(o){return o.split(":")[0]}(t);return this._optionMap.has(i)?this._optionMap.get(i)._value:t}}return o.\u0275fac=function(){let n;return function(i){return(n||(n=e.n5z(o)))(i||o)}}(),o.\u0275dir=e.lG2({type:o,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(t,i){1&t&&e.NdJ("change",function(M){return i.onChange(M.target)})("blur",function(){return i.onTouched()})},inputs:{compareWith:"compareWith"},features:[e._Bn([bn]),e.qOj]}),o})(),Nt=(()=>{class o{constructor(t,i,h){this._element=t,this._renderer=i,this._select=h,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){null!=this._select&&(this._value=t,this._setElementValue(Tt(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(Tt(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))}}return o.\u0275fac=function(t){return new(t||o)(e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(_t,9))},o.\u0275dir=e.lG2({type:o,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),o})(),Oe=(()=>{class o{constructor(){this._validator=le}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):le,this._onChange&&this._onChange()}}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}enabled(t){return null!=t}}return o.\u0275fac=function(t){return new(t||o)},o.\u0275dir=e.lG2({type:o,features:[e.TTD]}),o})();const vn={provide:T,useExisting:(0,e.Gpc)(()=>Xe),multi:!0},xn={provide:T,useExisting:(0,e.Gpc)(()=>pt),multi:!0};let Xe=(()=>{class o extends Oe{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=e.VuI,this.createValidator=t=>_}enabled(t){return t}}return o.\u0275fac=function(){let n;return function(i){return(n||(n=e.n5z(o)))(i||o)}}(),o.\u0275dir=e.lG2({type:o,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(t,i){2&t&&e.uIk("required",i._enabled?"":null)},inputs:{required:"required"},features:[e._Bn([vn]),e.qOj]}),o})(),pt=(()=>{class o extends Xe{constructor(){super(...arguments),this.createValidator=t=>b}}return o.\u0275fac=function(){let n;return function(i){return(n||(n=e.n5z(o)))(i||o)}}(),o.\u0275dir=e.lG2({type:o,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(t,i){2&t&&e.uIk("required",i._enabled?"":null)},features:[e._Bn([xn]),e.qOj]}),o})(),zt=(()=>{class o{}return o.\u0275fac=function(t){return new(t||o)},o.\u0275mod=e.oAB({type:o}),o.\u0275inj=e.cJS({imports:[At]}),o})();class Zt extends se{constructor(n,t,i){super(u(t),w(i,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(n){return this.controls[this._adjustIndex(n)]}push(n,t={}){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(n,t,i={}){this.controls.splice(n,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(n,t={}){let i=this._adjustIndex(n);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(n,t,i={}){let h=this._adjustIndex(n);h<0&&(h=0),this.controls[h]&&this.controls[h]._registerOnCollectionChange(()=>{}),this.controls.splice(h,1),t&&(this.controls.splice(h,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,t={}){H(this,0,n),n.forEach((i,h)=>{ke(this,!1,h),this.at(h).setValue(i,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(n.forEach((i,h)=>{this.at(h)&&this.at(h).patchValue(i,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n=[],t={}){this._forEachChild((i,h)=>{i.reset(n[h],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(n=>n.getRawValue())}clear(n={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_adjustIndex(n){return n<0?n+this.length:n}_syncPendingControls(){let n=this.controls.reduce((t,i)=>!!i._syncPendingControls()||t,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((t,i)=>{n(t,i)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(t=>t.enabled&&n(t))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(const n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}_find(n){return this.at(n)??null}}function qt(o){return!!o&&(void 0!==o.asyncValidators||void 0!==o.validators||void 0!==o.updateOn)}let Rn=(()=>{class o{constructor(){this.useNonNullable=!1}get nonNullable(){const t=new o;return t.useNonNullable=!0,t}group(t,i=null){const h=this._reduceControls(t);let M={};return qt(i)?M=i:null!==i&&(M.validators=i.validator,M.asyncValidators=i.asyncValidator),new j(h,M)}record(t,i=null){const h=this._reduceControls(t);return new Re(h,i)}control(t,i,h){let M={};return this.useNonNullable?(qt(i)?M=i:(M.validators=i,M.asyncValidators=h),new Le(t,{...M,nonNullable:!0})):new Le(t,i,h)}array(t,i,h){const M=t.map(Q=>this._createControl(Q));return new Zt(M,i,h)}_reduceControls(t){const i={};return Object.keys(t).forEach(h=>{i[h]=this._createControl(t[h])}),i}_createControl(t){return t instanceof Le||t instanceof se?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}}return o.\u0275fac=function(t){return new(t||o)},o.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),An=(()=>{class o{static withConfig(t){return{ngModule:o,providers:[{provide:ve,useValue:t.callSetDisabledState??Ue}]}}}return o.\u0275fac=function(t){return new(t||o)},o.\u0275mod=e.oAB({type:o}),o.\u0275inj=e.cJS({imports:[zt]}),o})(),En=(()=>{class o{static withConfig(t){return{ngModule:o,providers:[{provide:dt,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:ve,useValue:t.callSetDisabledState??Ue}]}}}return o.\u0275fac=function(t){return new(t||o)},o.\u0275mod=e.oAB({type:o}),o.\u0275inj=e.cJS({imports:[zt]}),o})()},5986:(Ie,ge,D)=>{D.d(ge,{oG:()=>te,p9:()=>ie});var e=D(5879),A=D(6223),v=D(3680),E=D(2495);const ee=["input"],oe=["label"],s=["*"],I=new e.OlP("mat-checkbox-default-options",{providedIn:"root",factory:ue});function ue(){return{color:"accent",clickAction:"check-indeterminate"}}const he={provide:A.JU,useExisting:(0,e.Gpc)(()=>te),multi:!0};class z{}let ce=0;const q=ue(),K=(0,v.sb)((0,v.pj)((0,v.Kr)((0,v.Id)(class{constructor(F){this._elementRef=F}}))));let X=(()=>{class F extends K{get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(_){this._required=(0,E.Ig)(_)}constructor(_,b,f,S,V,G,le){super(b),this._changeDetectorRef=f,this._ngZone=S,this._animationMode=G,this._options=le,this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new e.vpe,this.indeterminateChange=new e.vpe,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||q,this.color=this.defaultColor=this._options.color||q.color,this.tabIndex=parseInt(V)||0,this.id=this._uniqueId=`${_}${++ce}`}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(_){const b=(0,E.Ig)(_);b!=this.checked&&(this._checked=b,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(_){const b=(0,E.Ig)(_);b!==this.disabled&&(this._disabled=b,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(_){const b=_!=this._indeterminate;this._indeterminate=(0,E.Ig)(_),b&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(_){this.checked=!!_}registerOnChange(_){this._controlValueAccessorChangeFn=_}registerOnTouched(_){this._onTouched=_}setDisabledState(_){this.disabled=_}_transitionCheckState(_){let b=this._currentCheckState,f=this._getAnimationTargetElement();if(b!==_&&f&&(this._currentAnimationClass&&f.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(b,_),this._currentCheckState=_,this._currentAnimationClass.length>0)){f.classList.add(this._currentAnimationClass);const S=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{f.classList.remove(S)},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 _=this._options?.clickAction;this.disabled||"noop"===_?!this.disabled&&"noop"===_&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==_&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(_){_.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(_,b){if("NoopAnimations"===this._animationMode)return"";switch(_){case 0:if(1===b)return this._animationClasses.uncheckedToChecked;if(3==b)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===b?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===b?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===b?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(_){const b=this._inputElement;b&&(b.nativeElement.indeterminate=_)}}return F.\u0275fac=function(_){e.$Z()},F.\u0275dir=e.lG2({type:F,viewQuery:function(_,b){if(1&_&&(e.Gf(ee,5),e.Gf(oe,5),e.Gf(v.wG,5)),2&_){let f;e.iGM(f=e.CRH())&&(b._inputElement=f.first),e.iGM(f=e.CRH())&&(b._labelElement=f.first),e.iGM(f=e.CRH())&&(b.ripple=f.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},features:[e.qOj]}),F})(),te=(()=>{class F extends X{constructor(_,b,f,S,V,G){super("mat-mdc-checkbox-",_,b,f,S,V,G),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"}}focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(_){const b=new z;return b.source=this,b.checked=_,b}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_onInputClick(){super._handleInputClick()}_onTouchTargetClick(){super._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(_){_.target&&this._labelElement.nativeElement.contains(_.target)&&_.stopPropagation()}}return F.\u0275fac=function(_){return new(_||F)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(e.R0b),e.$8M("tabindex"),e.Y36(e.QbO,8),e.Y36(I,8))},F.\u0275cmp=e.Xpm({type:F,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-mdc-checkbox"],hostVars:12,hostBindings:function(_,b){2&_&&(e.Ikx("id",b.id),e.uIk("tabindex",null)("aria-label",null)("aria-labelledby",null),e.ekj("_mat-animation-noopable","NoopAnimations"===b._animationMode)("mdc-checkbox--disabled",b.disabled)("mat-mdc-checkbox-disabled",b.disabled)("mat-mdc-checkbox-checked",b.checked))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[e._Bn([he]),e.qOj],ngContentSelectors:s,decls:15,vars:19,consts:[[1,"mdc-form-field",3,"click"],[1,"mdc-checkbox"],["checkbox",""],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","indeterminate","disabled","id","required","tabIndex","blur","click","change"],["input",""],[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"],["label",""]],template:function(_,b){if(1&_&&(e.F$t(),e.TgZ(0,"div",0),e.NdJ("click",function(S){return b._preventBubblingFromLabel(S)}),e.TgZ(1,"div",1,2)(3,"div",3),e.NdJ("click",function(){return b._onTouchTargetClick()}),e.qZA(),e.TgZ(4,"input",4,5),e.NdJ("blur",function(){return b._onBlur()})("click",function(){return b._onInputClick()})("change",function(S){return b._onInteractionEvent(S)}),e.qZA(),e._UZ(6,"div",6),e.TgZ(7,"div",7),e.O4$(),e.TgZ(8,"svg",8),e._UZ(9,"path",9),e.qZA(),e.kcU(),e._UZ(10,"div",10),e.qZA(),e._UZ(11,"div",11),e.qZA(),e.TgZ(12,"label",12,13),e.Hsn(14),e.qZA()()),2&_){const f=e.MAs(2);e.ekj("mdc-form-field--align-end","before"==b.labelPosition),e.xp6(4),e.ekj("mdc-checkbox--selected",b.checked),e.Q6J("checked",b.checked)("indeterminate",b.indeterminate)("disabled",b.disabled)("id",b.inputId)("required",b.required)("tabIndex",b.tabIndex),e.uIk("aria-label",b.ariaLabel||null)("aria-labelledby",b.ariaLabelledby)("aria-describedby",b.ariaDescribedby)("name",b.name)("value",b.value),e.xp6(7),e.Q6J("matRippleTrigger",f)("matRippleDisabled",b.disableRipple||b.disabled)("matRippleCentered",!0),e.xp6(1),e.Q6J("for",b.inputId)}},dependencies:[v.wG],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-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.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)}html{--mdc-checkbox-disabled-selected-checkmark-color:#fff;--mdc-checkbox-selected-focus-state-layer-opacity:0.16;--mdc-checkbox-selected-hover-state-layer-opacity:0.04;--mdc-checkbox-selected-pressed-state-layer-opacity:0.16;--mdc-checkbox-unselected-focus-state-layer-opacity:0.16;--mdc-checkbox-unselected-hover-state-layer-opacity:0.04;--mdc-checkbox-unselected-pressed-state-layer-opacity:0.16}.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-mdc-checkbox-disabled label{cursor:default}.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%)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),F})(),Y=(()=>{class F{}return F.\u0275fac=function(_){return new(_||F)},F.\u0275mod=e.oAB({type:F}),F.\u0275inj=e.cJS({}),F})(),ie=(()=>{class F{}return F.\u0275fac=function(_){return new(_||F)},F.\u0275mod=e.oAB({type:F}),F.\u0275inj=e.cJS({imports:[v.BQ,v.si,Y,v.BQ,Y]}),F})()},9538:(Ie,ge,D)=>{D.d(ge,{AE:()=>te,BZ:()=>T,Dz:()=>U,Ee:()=>de,Gk:()=>xe,Ke:()=>S,Q2:()=>le,XQ:()=>G,as:()=>f,by:()=>Ce,dW:()=>pe,ev:()=>b,fO:()=>Y,ge:()=>B,mD:()=>ie,nj:()=>V,p0:()=>Se,w1:()=>F,yh:()=>_});var e=D(5879),A=D(4643),v=D(8337),E=D(3680),ee=D(5125),oe=D(2079),s=D(7354),I=D(9193),ue=D(3291),he=D(2495),z=D(6124);const ce=[[["caption"]],[["colgroup"],["col"]]],q=["caption","colgroup, col"];function K(d,g){if(1&d&&(e.TgZ(0,"th",3),e._uU(1),e.qZA()),2&d){const x=e.oxw();e.Udp("text-align",x.justify),e.xp6(1),e.hij(" ",x.headerText," ")}}function X(d,g){if(1&d&&(e.TgZ(0,"td",4),e._uU(1),e.qZA()),2&d){const x=g.$implicit,R=e.oxw();e.Udp("text-align",R.justify),e.xp6(1),e.hij(" ",R.dataAccessor(x,R.name)," ")}}let te=(()=>{class d{}return d.\u0275fac=function(x){return new(x||d)},d.\u0275dir=e.lG2({type:d,selectors:[["mat-table","recycleRows",""],["table","mat-table","","recycleRows",""]],features:[e._Bn([{provide:v.k,useClass:v.eX}])]}),d})(),T=(()=>{class d extends A.zC{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}ngOnInit(){super.ngOnInit(),this._isNativeHtmlTable&&this._elementRef.nativeElement.querySelector("tbody").classList.add("mdc-data-table__content")}}return d.\u0275fac=function(){let g;return function(R){return(g||(g=e.n5z(d)))(R||d)}}(),d.\u0275cmp=e.Xpm({type:d,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:["ngSkipHydration","",1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(x,R){2&x&&e.ekj("mdc-table-fixed-layout",R.fixedLayout)},exportAs:["matTable"],features:[e._Bn([{provide:A.zC,useExisting:d},{provide:A.pN,useExisting:d},{provide:A.nl,useClass:A.oF},{provide:v.k,useClass:v.yy},{provide:A.pF,useValue:null}]),e.qOj],ngContentSelectors:q,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(x,R){1&x&&(e.F$t(ce),e.Hsn(0),e.Hsn(1,1),e.GkF(2,0)(3,1)(4,2)(5,3))},dependencies:[A.T$,A.FT,A.$E,A.bH],styles:[".mdc-data-table{border-radius:var(--mdc-shape-medium, 4px);border-width:1px;border-style:solid}.mdc-data-table .mdc-data-table__header-cell:first-child{border-top-left-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table .mdc-data-table__header-cell:first-child,.mdc-data-table .mdc-data-table__header-cell:first-child[dir=rtl]{border-top-right-radius:var(--mdc-shape-medium, 4px);border-top-left-radius:0}.mdc-data-table .mdc-data-table__header-cell:last-child{border-top-right-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table .mdc-data-table__header-cell:last-child,.mdc-data-table .mdc-data-table__header-cell:last-child[dir=rtl]{border-top-left-radius:var(--mdc-shape-medium, 4px);border-top-right-radius:0}.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child{border-bottom-left-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child,.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child[dir=rtl]{border-bottom-right-radius:var(--mdc-shape-medium, 4px);border-bottom-left-radius:0}.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child{border-bottom-right-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child,.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child[dir=rtl]{border-bottom-left-radius:var(--mdc-shape-medium, 4px);border-bottom-right-radius:0}.mdc-data-table__cell,.mdc-data-table__header-cell{border-bottom-width:1px;border-bottom-style:solid}.mdc-data-table__pagination{border-top-width:1px;border-top-style:solid}.mdc-data-table__row:last-child .mdc-data-table__cell{border-bottom:none}.mdc-data-table__row{height:52px}.mdc-data-table__pagination{min-height:52px}.mdc-data-table__header-row{height:56px}.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}.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__cell--checkbox{width:1px}.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__header-cell--checkbox{width:1px}.mdc-data-table__sort-icon-button{width:28px;height:28px;padding:2px;transform:rotate(0.0001deg);margin-left:4px;margin-right:0;opacity:0}.mdc-data-table__sort-icon-button .mdc-icon-button__focus-ring{max-height:28px;max-width:28px}.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:28px;height:28px;margin-top:0px;margin-bottom:0px;margin-right:0px;margin-left:0px}.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:28px;max-width:28px}.mdc-data-table__sort-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:28px;left:50%;width:28px;transform:translate(-50%, -50%)}[dir=rtl] .mdc-data-table__sort-icon-button,.mdc-data-table__sort-icon-button[dir=rtl]{margin-left:0;margin-right:4px}.mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button{margin-left:0;margin-right:4px}[dir=rtl] .mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button,.mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button[dir=rtl]{margin-left:4px;margin-right:0}.mdc-data-table__header-cell--sorted-descending .mdc-data-table__sort-icon-button{transform:rotate(-180deg)}.mdc-data-table__sort-icon-button:focus,.mdc-data-table__header-cell:hover .mdc-data-table__sort-icon-button,.mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button{opacity:1}.mdc-data-table__header-cell--with-sort{cursor:pointer}.mdc-data-table__sort-status-label{clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.mdc-data-table--sticky-header .mdc-data-table__header-cell{position:sticky;top:0;z-index:1}.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__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{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__pagination{box-sizing:border-box;display:flex;justify-content:flex-end}.mdc-data-table__pagination-trailing{margin-left:4px;margin-right:0;align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-end}[dir=rtl] .mdc-data-table__pagination-trailing,.mdc-data-table__pagination-trailing[dir=rtl]{margin-left:0;margin-right:4px}.mdc-data-table__pagination-navigation{align-items:center;display:flex}.mdc-data-table__pagination-button{margin-left:0;margin-right:4px}[dir=rtl] .mdc-data-table__pagination-button .mdc-button__icon,.mdc-data-table__pagination-button .mdc-button__icon[dir=rtl]{transform:rotate(180deg)}[dir=rtl] .mdc-data-table__pagination-button,.mdc-data-table__pagination-button[dir=rtl]{margin-left:4px;margin-right:0}.mdc-data-table__pagination-total{margin-left:14px;margin-right:36px;white-space:nowrap}[dir=rtl] .mdc-data-table__pagination-total,.mdc-data-table__pagination-total[dir=rtl]{margin-left:36px;margin-right:14px}.mdc-data-table__pagination-rows-per-page{margin-left:0;margin-right:22px;align-items:center;display:inline-flex}[dir=rtl] .mdc-data-table__pagination-rows-per-page,.mdc-data-table__pagination-rows-per-page[dir=rtl]{margin-left:22px;margin-right:0}.mdc-data-table__pagination-rows-per-page-label{margin-left:0;margin-right:12px;white-space:nowrap}[dir=rtl] .mdc-data-table__pagination-rows-per-page-label,.mdc-data-table__pagination-rows-per-page-label[dir=rtl]{margin-left:12px;margin-right:0}.mdc-data-table__pagination-rows-per-page-select{min-width:var(--mdc-menu-min-width, 80px);margin:8px 0}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor{width:100%;min-width:80px}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor{height:36px}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-floating-label--float-above{font-size:.75rem}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-data-table__pagination-rows-per-page-select .mdc-select__dropdown-icon{width:20px;height:20px}.mdc-data-table__pagination-rows-per-page-select.mdc-select--outlined .mdc-select__anchor :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 56px)}.mdc-data-table__pagination-rows-per-page-select .mdc-list-item.mdc-list-item--with-one-line{height:36px}.mdc-data-table__progress-indicator{display:none;position:absolute;width:100%}.mdc-data-table--in-progress .mdc-data-table__progress-indicator{display:block}.mdc-data-table__scrim{background-color:var(--mdc-theme-surface, #fff);height:100%;opacity:.32;position:absolute;top:0;width:100%}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-sticky{position:sticky !important}.mat-mdc-table{table-layout:auto;white-space:normal}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-mdc-row:hover,.mat-mdc-table .mat-mdc-footer-row:hover{background-color: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}),d})(),U=(()=>{class d extends A.O_{}return d.\u0275fac=function(){let g;return function(R){return(g||(g=e.n5z(d)))(R||d)}}(),d.\u0275dir=e.lG2({type:d,selectors:[["","matCellDef",""]],features:[e._Bn([{provide:A.O_,useExisting:d}]),e.qOj]}),d})(),Y=(()=>{class d extends A.D5{}return d.\u0275fac=function(){let g;return function(R){return(g||(g=e.n5z(d)))(R||d)}}(),d.\u0275dir=e.lG2({type:d,selectors:[["","matHeaderCellDef",""]],features:[e._Bn([{provide:A.D5,useExisting:d}]),e.qOj]}),d})(),ie=(()=>{class d extends A.Z4{}return d.\u0275fac=function(){let g;return function(R){return(g||(g=e.n5z(d)))(R||d)}}(),d.\u0275dir=e.lG2({type:d,selectors:[["","matFooterCellDef",""]],features:[e._Bn([{provide:A.Z4,useExisting:d}]),e.qOj]}),d})(),F=(()=>{class d extends A.fo{get name(){return this._name}set name(x){this._setNameInput(x)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return d.\u0275fac=function(){let g;return function(R){return(g||(g=e.n5z(d)))(R||d)}}(),d.\u0275dir=e.lG2({type:d,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[e._Bn([{provide:A.fo,useExisting:d},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:d}]),e.qOj]}),d})(),B=(()=>{class d extends A.Af{}return d.\u0275fac=function(){let g;return function(R){return(g||(g=e.n5z(d)))(R||d)}}(),d.\u0275dir=e.lG2({type:d,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[e.qOj]}),d})(),_=(()=>{class d extends A.QJ{}return d.\u0275fac=function(){let g;return function(R){return(g||(g=e.n5z(d)))(R||d)}}(),d.\u0275dir=e.lG2({type:d,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:[1,"mat-mdc-footer-cell","mdc-data-table__cell"],features:[e.qOj]}),d})(),b=(()=>{class d extends A.hD{}return d.\u0275fac=function(){let g;return function(R){return(g||(g=e.n5z(d)))(R||d)}}(),d.\u0275dir=e.lG2({type:d,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[e.qOj]}),d})(),f=(()=>{class d extends A.s${}return d.\u0275fac=function(){let g;return function(R){return(g||(g=e.n5z(d)))(R||d)}}(),d.\u0275dir=e.lG2({type:d,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[e._Bn([{provide:A.s$,useExisting:d}]),e.qOj]}),d})(),S=(()=>{class d extends A.fe{}return d.\u0275fac=function(){let g;return function(R){return(g||(g=e.n5z(d)))(R||d)}}(),d.\u0275dir=e.lG2({type:d,selectors:[["","matFooterRowDef",""]],inputs:{columns:["matFooterRowDef","columns"],sticky:["matFooterRowDefSticky","sticky"]},features:[e._Bn([{provide:A.fe,useExisting:d}]),e.qOj]}),d})(),V=(()=>{class d extends A.Sq{}return d.\u0275fac=function(){let g;return function(R){return(g||(g=e.n5z(d)))(R||d)}}(),d.\u0275dir=e.lG2({type:d,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[e._Bn([{provide:A.Sq,useExisting:d}]),e.qOj]}),d})(),G=(()=>{class d extends A.xN{}return d.\u0275fac=function(){let g;return function(R){return(g||(g=e.n5z(d)))(R||d)}}(),d.\u0275cmp=e.Xpm({type:d,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[e._Bn([{provide:A.xN,useExisting:d}]),e.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(x,R){1&x&&e.GkF(0,0)},dependencies:[A.Kb],encapsulation:2}),d})(),le=(()=>{class d extends A.qM{}return d.\u0275fac=function(){let g;return function(R){return(g||(g=e.n5z(d)))(R||d)}}(),d.\u0275cmp=e.Xpm({type:d,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-mdc-footer-row","mdc-data-table__row"],exportAs:["matFooterRow"],features:[e._Bn([{provide:A.qM,useExisting:d}]),e.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(x,R){1&x&&e.GkF(0,0)},dependencies:[A.Kb],encapsulation:2}),d})(),xe=(()=>{class d extends A._J{}return d.\u0275fac=function(){let g;return function(R){return(g||(g=e.n5z(d)))(R||d)}}(),d.\u0275cmp=e.Xpm({type:d,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[e._Bn([{provide:A._J,useExisting:d}]),e.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(x,R){1&x&&e.GkF(0,0)},dependencies:[A.Kb],encapsulation:2}),d})(),de=(()=>{class d extends A.r2{constructor(){super(...arguments),this._contentClassName="mat-mdc-no-data-row"}}return d.\u0275fac=function(){let g;return function(R){return(g||(g=e.n5z(d)))(R||d)}}(),d.\u0275dir=e.lG2({type:d,selectors:[["ng-template","matNoDataRow",""]],features:[e._Bn([{provide:A.r2,useExisting:d}]),e.qOj]}),d})(),pe=(()=>{class d extends A.Hx{}return d.\u0275fac=function(){let g;return function(R){return(g||(g=e.n5z(d)))(R||d)}}(),d.\u0275cmp=e.Xpm({type:d,selectors:[["mat-text-column"]],features:[e.qOj],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(x,R){1&x&&(e.ynx(0,0),e.YNc(1,K,2,3,"th",1),e.YNc(2,X,2,3,"td",2),e.BQk())},dependencies:[Y,F,U,B,b],encapsulation:2}),d})(),Se=(()=>{class d{}return d.\u0275fac=function(x){return new(x||d)},d.\u0275mod=e.oAB({type:d}),d.\u0275inj=e.cJS({imports:[E.BQ,A.HT,E.BQ]}),d})();class be extends v.o2{get data(){return this._data.value}set data(g){g=Array.isArray(g)?g:[],this._data.next(g),this._renderChangesSubscription||this._filterData(g)}get filter(){return this._filter.value}set filter(g){this._filter.next(g),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(g){this._sort=g,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(g){this._paginator=g,this._updateChangeSubscription()}constructor(g=[]){super(),this._renderData=new ee.X([]),this._filter=new ee.X(""),this._internalPageChanges=new oe.xQ,this._renderChangesSubscription=null,this.sortingDataAccessor=(x,R)=>{const O=x[R];if((0,he.t6)(O)){const W=Number(O);return W<9007199254740991?W:O}return O},this.sortData=(x,R)=>{const O=R.active,W=R.direction;return O&&""!=W?x.sort((Z,$)=>{let me=this.sortingDataAccessor(Z,O),fe=this.sortingDataAccessor($,O);const P=typeof me,ne=typeof fe;P!==ne&&("number"===P&&(me+=""),"number"===ne&&(fe+=""));let ye=0;return null!=me&&null!=fe?me>fe?ye=1:me<fe&&(ye=-1):null!=me?ye=1:null!=fe&&(ye=-1),ye*("asc"==W?1:-1)}):x},this.filterPredicate=(x,R)=>{const O=Object.keys(x).reduce((Z,$)=>Z+x[$]+"\u25ec","").toLowerCase(),W=R.trim().toLowerCase();return-1!=O.indexOf(W)},this._data=new ee.X(g),this._updateChangeSubscription()}_updateChangeSubscription(){const g=this._sort?(0,s.T)(this._sort.sortChange,this._sort.initialized):(0,I.of)(null),x=this._paginator?(0,s.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,I.of)(null),O=(0,ue.aj)([this._data,this._filter]).pipe((0,z.U)(([$])=>this._filterData($))),W=(0,ue.aj)([O,g]).pipe((0,z.U)(([$])=>this._orderData($))),Z=(0,ue.aj)([W,x]).pipe((0,z.U)(([$])=>this._pageData($)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=Z.subscribe($=>this._renderData.next($))}_filterData(g){return this.filteredData=null==this.filter||""===this.filter?g:g.filter(x=>this.filterPredicate(x,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(g){return this.sort?this.sortData(g.slice(),this.sort):g}_pageData(g){if(!this.paginator)return g;const x=this.paginator.pageIndex*this.paginator.pageSize;return g.slice(x,x+this.paginator.pageSize)}_updatePaginator(g){Promise.resolve().then(()=>{const x=this.paginator;if(x&&(x.length=g,x.pageIndex>0)){const R=Math.ceil(x.length/x.pageSize)-1||0,O=Math.min(x.pageIndex,R);O!==x.pageIndex&&(x.pageIndex=O,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}}class Ce extends be{}}}]);