text: (window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"+0xr":function(t,e,i){"use strict";i.d(e,"a",(function(){return nt})),i.d(e,"b",(function(){return Q})),i.d(e,"c",(function(){return it})),i.d(e,"d",(function(){return at})),i.d(e,"e",(function(){return tt})),i.d(e,"f",(function(){return ht})),i.d(e,"g",(function(){return ot})),i.d(e,"h",(function(){return ut})),i.d(e,"i",(function(){return lt})),i.d(e,"j",(function(){return J})),i.d(e,"k",(function(){return mt}));var s=i("8LU1"),a=i("0EQZ"),n=i("fXoL"),o=i("cH1L"),r=i("nLfN"),l=i("ofXK"),c=i("XNiG"),h=i("2Vo4"),d=i("7+OI"),u=i("LRne"),p=i("1G5W");const m=[[["caption"]]],f=["caption"];function g(t){return class extends t{constructor(...t){super(...t),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(t){const e=this._sticky;this._sticky=Object(s.c)(t),this._hasStickyChanged=e!==this._sticky}hasStickyChanged(){const t=this._hasStickyChanged;return this._hasStickyChanged=!1,t}resetStickyChanged(){this._hasStickyChanged=!1}}}let b=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(n.Ob(n.M))},t.\u0275dir=n.Jb({type:t,selectors:[["","cdkCellDef",""]]}),t})(),_=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(n.Ob(n.M))},t.\u0275dir=n.Jb({type:t,selectors:[["","cdkHeaderCellDef",""]]}),t})(),y=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(n.Ob(n.M))},t.\u0275dir=n.Jb({type:t,selectors:[["","cdkFooterCellDef",""]]}),t})();class w{}const v=g(w);let O=(()=>{class t extends v{constructor(){super(...arguments),this._stickyEnd=!1}get name(){return this._name}set name(t){t&&(this._name=t,this.cssClassFriendlyName=t.replace(/[^a-z0-9_-]/gi,"-"))}get stickyEnd(){return this._stickyEnd}set stickyEnd(t){const e=this._stickyEnd;this._stickyEnd=Object(s.c)(t),this._hasStickyChanged=e!==this._stickyEnd}}return t.\u0275fac=function(e){return C(e||t)},t.\u0275dir=n.Jb({type:t,selectors:[["","cdkColumnDef",""]],contentQueries:function(t,e,i){var s;1&t&&(n.Hb(i,b,!0),n.Hb(i,_,!0),n.Hb(i,y,!0)),2&t&&(n.qc(s=n.dc())&&(e.cell=s.first),n.qc(s=n.dc())&&(e.headerCell=s.first),n.qc(s=n.dc())&&(e.footerCell=s.first))},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[n.Bb([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),n.zb]}),t})();const C=n.Wb(O);class k{constructor(t,e){e.nativeElement.classList.add(`cdk-column-${t.cssClassFriendlyName}`)}}let D=(()=>{class t extends k{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(n.Ob(O),n.Ob(n.l))},t.\u0275dir=n.Jb({type:t,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[n.zb]}),t})(),x=(()=>{class t extends k{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(n.Ob(O),n.Ob(n.l))},t.\u0275dir=n.Jb({type:t,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:["role","gridcell",1,"cdk-cell"],features:[n.zb]}),t})(),R=(()=>{class t{constructor(t,e){this.template=t,this._differs=e}ngOnChanges(t){if(!this._columnsDiffer){const e=t.columns&&t.columns.currentValue||[];this._columnsDiffer=this._differs.find(e).create(),this._columnsDiffer.diff(e)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(t){return this instanceof T?t.headerCell.template:this instanceof M?t.footerCell.template:t.cell.template}}return t.\u0275fac=function(t){n.bc()},t.\u0275dir=n.Jb({type:t,features:[n.Ab]}),t})();class S extends R{}const I=g(S);let T=(()=>{class t extends I{constructor(t,e){super(t,e)}ngOnChanges(t){super.ngOnChanges(t)}}return t.\u0275fac=function(e){return new(e||t)(n.Ob(n.M),n.Ob(n.t))},t.\u0275dir=n.Jb({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[n.zb,n.Ab]}),t})();class j extends R{}const P=g(j);let M=(()=>{class t extends P{constructor(t,e){super(t,e)}ngOnChanges(t){super.ngOnChanges(t)}}return t.\u0275fac=function(e){return new(e||t)(n.Ob(n.M),n.Ob(n.t))},t.\u0275dir=n.Jb({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[n.zb,n.Ab]}),t})(),L=(()=>{class t extends R{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(n.Ob(n.M),n.Ob(n.t))},t.\u0275dir=n.Jb({type:t,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[n.zb]}),t})(),z=(()=>{class t{constructor(e){this._viewContainer=e,t.mostRecentCellOutlet=this}ngOnDestroy(){t.mostRecentCellOutlet===this&&(t.mostRecentCellOutlet=null)}}return t.\u0275fac=function(e){return new(e||t)(n.Ob(n.P))},t.\u0275dir=n.Jb({type:t,selectors:[["","cdkCellOutlet",""]]}),t.mostRecentCellOutlet=null,t})(),E=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Ib({type:t,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&n.Qb(0,0)},directives:[z],encapsulation:2}),t})(),A=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Ib({type:t,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&n.Qb(0,0)},directives:[z],encapsulation:2}),t})();const F=["top","bottom","left","right"];class B{constructor(t,e,i,s=!0){this._isNativeHtmlTable=t,this._stickCellCss=e,this.direction=i,this._isBrowser=s}clearStickyPositioning(t,e){for(const i of t)if(i.nodeType===i.ELEMENT_NODE){this._removeStickyStyle(i,e);for(let t=0;t<i.children.length;t++)this._removeStickyStyle(i.children[t],e)}}updateStickyColumns(t,e,i){const s=e.some(t=>t)||i.some(t=>t);if(!t.length||!s||!this._isBrowser)return;const a=t[0],n=a.children.length,o=this._getCellWidths(a),r=this._getStickyStartColumnPositions(o,e),l=this._getStickyEndColumnPositions(o,i),c="rtl"===this.direction;for(const h of t)for(let t=0;t<n;t++){const s=h.children[t];e[t]&&this._addStickyStyle(s,c?"right":"left",r[t]),i[t]&&this._addStickyStyle(s,c?"left":"right",l[t])}}stickRows(t,e,i){if(!this._isBrowser)return;const s="bottom"===i?t.reverse():t;let a=0;for(let n=0;n<s.length;n++){if(!e[n])continue;const t=s[n];if(this._isNativeHtmlTable)for(let e=0;e<t.children.length;e++)this._addStickyStyle(t.children[e],i,a);else this._addStickyStyle(t,i,a);if(n===s.length-1)return;a+=t.getBoundingClientRect().height}}updateStickyFooterContainer(t,e){if(!this._isNativeHtmlTable)return;const i=t.querySelector("tfoot");e.some(t=>!t)?this._removeStickyStyle(i,["bottom"]):this._addStickyStyle(i,"bottom",0)}_removeStickyStyle(t,e){for(const i of e)t.style[i]="";t.style.zIndex=this._getCalculatedZIndex(t),F.some(e=>!!t.style[e])||(t.style.position="",t.classList.remove(this._stickCellCss))}_addStickyStyle(t,e,i){t.classList.add(this._stickCellCss),t.style[e]=`${i}px`,t.style.cssText+="position: -webkit-sticky; position: sticky; ",t.style.zIndex=this._getCalculatedZIndex(t)}_getCalculatedZIndex(t){const e={top:100,bottom:10,left:1,right:1};let i=0;for(const s of F)t.style[s]&&(i+=e[s]);return i?`${i}`:""}_getCellWidths(t){const e=[],i=t.children;for(let s=0;s<i.length;s++)e.push(i[s].getBoundingClientRect().width);return e}_getStickyStartColumnPositions(t,e){const i=[];let s=0;for(let a=0;a<t.length;a++)e[a]&&(i[a]=s,s+=t[a]);return i}_getStickyEndColumnPositions(t,e){const i=[];let s=0;for(let a=t.length;a>0;a--)e[a]&&(i[a]=s,s+=t[a]);return i}}function H(t){return Error(`Could not find column with id "${t}".`)}let N=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(n.Ob(n.P),n.Ob(n.l))},t.\u0275dir=n.Jb({type:t,selectors:[["","rowOutlet",""]]}),t})(),V=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(n.Ob(n.P),n.Ob(n.l))},t.\u0275dir=n.Jb({type:t,selectors:[["","headerRowOutlet",""]]}),t})(),U=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(n.Ob(n.P),n.Ob(n.l))},t.\u0275dir=n.Jb({type:t,selectors:[["","footerRowOutlet",""]]}),t})(),Y=(()=>{class t{constructor(t,e,i,s,a,n,o){this._differs=t,this._changeDetectorRef=e,this._elementRef=i,this._dir=a,this._platform=o,this._onDestroy=new c.a,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._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this._multiTemplateDataRows=!1,this.viewChange=new h.a({start:0,end:Number.MAX_VALUE}),s||this._elementRef.nativeElement.setAttribute("role","grid"),this._document=n,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(t){Object(n.W)()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(t)}.`),this._trackByFn=t}get dataSource(){return this._dataSource}set dataSource(t){this._dataSource!==t&&this._switchDataSource(t)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(t){this._multiTemplateDataRows=Object(s.c)(t),this._rowOutlet&&this._rowOutlet.viewContainer.length&&this._forceRenderDataRows()}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((t,e)=>this.trackBy?this.trackBy(e.dataIndex,e.data):e)}ngAfterContentChecked(){if(this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&!this._rowDefs.length)throw Error("Missing definitions for header, footer, and row; cannot determine which columns should be rendered.");this._renderUpdatedColumns(),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._checkStickyStates()}ngOnDestroy(){this._rowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),Object(a.e)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const t=this._dataDiffer.diff(this._renderRows);if(!t)return;const e=this._rowOutlet.viewContainer;t.forEachOperation((t,i,s)=>{if(null==t.previousIndex)this._insertRow(t.item,s);else if(null==s)e.remove(i);else{const t=e.get(i);e.move(t,s)}}),this._updateRowIndexContext(),t.forEachIdentityChange(t=>{e.get(t.currentIndex).context.$implicit=t.item.data}),this.updateStickyColumnStyles()}setHeaderRowDef(t){this._customHeaderRowDefs=new Set([t]),this._headerRowDefChanged=!0}setFooterRowDef(t){this._customFooterRowDefs=new Set([t]),this._footerRowDefChanged=!0}addColumnDef(t){this._customColumnDefs.add(t)}removeColumnDef(t){this._customColumnDefs.delete(t)}addRowDef(t){this._customRowDefs.add(t)}removeRowDef(t){this._customRowDefs.delete(t)}addHeaderRowDef(t){this._customHeaderRowDefs.add(t),this._headerRowDefChanged=!0}removeHeaderRowDef(t){this._customHeaderRowDefs.delete(t),this._headerRowDefChanged=!0}addFooterRowDef(t){this._customFooterRowDefs.add(t),this._footerRowDefChanged=!0}removeFooterRowDef(t){this._customFooterRowDefs.delete(t),this._footerRowDefChanged=!0}updateStickyHeaderRowStyles(){const t=this._getRenderedRows(this._headerRowOutlet),e=this._elementRef.nativeElement.querySelector("thead");e&&(e.style.display=t.length?"":"none");const i=this._headerRowDefs.map(t=>t.sticky);this._stickyStyler.clearStickyPositioning(t,["top"]),this._stickyStyler.stickRows(t,i,"top"),this._headerRowDefs.forEach(t=>t.resetStickyChanged())}updateStickyFooterRowStyles(){const t=this._getRenderedRows(this._footerRowOutlet),e=this._elementRef.nativeElement.querySelector("tfoot");e&&(e.style.display=t.length?"":"none");const i=this._footerRowDefs.map(t=>t.sticky);this._stickyStyler.clearStickyPositioning(t,["bottom"]),this._stickyStyler.stickRows(t,i,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,i),this._footerRowDefs.forEach(t=>t.resetStickyChanged())}updateStickyColumnStyles(){const t=this._getRenderedRows(this._headerRowOutlet),e=this._getRenderedRows(this._rowOutlet),i=this._getRenderedRows(this._footerRowOutlet);this._stickyStyler.clearStickyPositioning([...t,...e,...i],["left","right"]),t.forEach((t,e)=>{this._addStickyColumnStyles([t],this._headerRowDefs[e])}),this._rowDefs.forEach(t=>{const i=[];for(let s=0;s<e.length;s++)this._renderRows[s].rowDef===t&&i.push(e[s]);this._addStickyColumnStyles(i,t)}),i.forEach((t,e)=>{this._addStickyColumnStyles([t],this._footerRowDefs[e])}),Array.from(this._columnDefsByName.values()).forEach(t=>t.resetStickyChanged())}_getAllRenderRows(){const t=[],e=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let i=0;i<this._data.length;i++){let s=this._data[i];const a=this._getRenderRowsForData(s,i,e.get(s));this._cachedRenderRowsMap.has(s)||this._cachedRenderRowsMap.set(s,new WeakMap);for(let e=0;e<a.length;e++){let i=a[e];const s=this._cachedRenderRowsMap.get(i.data);s.has(i.rowDef)?s.get(i.rowDef).push(i):s.set(i.rowDef,[i]),t.push(i)}}return t}_getRenderRowsForData(t,e,i){return this._getRowDefs(t,e).map(s=>{const a=i&&i.has(s)?i.get(s):[];if(a.length){const t=a.shift();return t.dataIndex=e,t}return{data:t,rowDef:s,dataIndex:e}})}_cacheColumnDefs(){this._columnDefsByName.clear(),W(this._contentColumnDefs,this._customColumnDefs).forEach(t=>{if(this._columnDefsByName.has(t.name))throw Error(`Duplicate column definition name provided: "${t.name}".`);this._columnDefsByName.set(t.name,t)})}_cacheRowDefs(){this._headerRowDefs=W(this._contentHeaderRowDefs,this._customHeaderRowDefs),this._footerRowDefs=W(this._contentFooterRowDefs,this._customFooterRowDefs),this._rowDefs=W(this._contentRowDefs,this._customRowDefs);const t=this._rowDefs.filter(t=>!t.when);if(!this.multiTemplateDataRows&&t.length>1)throw Error("There can only be one default row without a when predicate function.");this._defaultRowDef=t[0]}_renderUpdatedColumns(){const t=(t,e)=>t||!!e.getColumnsDiff();this._rowDefs.reduce(t,!1)&&this._forceRenderDataRows(),this._headerRowDefs.reduce(t,!1)&&this._forceRenderHeaderRows(),this._footerRowDefs.reduce(t,!1)&&this._forceRenderFooterRows()}_switchDataSource(t){this._data=[],Object(a.e)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),t||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=t}_observeRenderChanges(){if(!this.dataSource)return;let t;if(Object(a.e)(this.dataSource)?t=this.dataSource.connect(this):Object(d.a)(this.dataSource)?t=this.dataSource:Array.isArray(this.dataSource)&&(t=Object(u.a)(this.dataSource)),void 0===t)throw Error("Provided data source did not match an array, Observable, or DataSource");this._renderChangeSubscription=t.pipe(Object(p.a)(this._onDestroy)).subscribe(t=>{this._data=t||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((t,e)=>this._renderRow(this._headerRowOutlet,t,e)),this.updateStickyHeaderRowStyles(),this.updateStickyColumnStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((t,e)=>this._renderRow(this._footerRowOutlet,t,e)),this.updateStickyFooterRowStyles(),this.updateStickyColumnStyles()}_addStickyColumnStyles(t,e){const i=Array.from(e.columns||[]).map(t=>{const e=this._columnDefsByName.get(t);if(!e)throw H(t);return e}),s=i.map(t=>t.sticky),a=i.map(t=>t.stickyEnd);this._stickyStyler.updateStickyColumns(t,s,a)}_getRenderedRows(t){const e=[];for(let i=0;i<t.viewContainer.length;i++){const s=t.viewContainer.get(i);e.push(s.rootNodes[0])}return e}_getRowDefs(t,e){if(1==this._rowDefs.length)return[this._rowDefs[0]];let i=[];if(this.multiTemplateDataRows)i=this._rowDefs.filter(i=>!i.when||i.when(e,t));else{let s=this._rowDefs.find(i=>i.when&&i.when(e,t))||this._defaultRowDef;s&&i.push(s)}if(!i.length)throw function(t){return Error("Could not find a matching row definition for the"+`provided row data: ${JSON.stringify(t)}`)}(t);return i}_insertRow(t,e){this._renderRow(this._rowOutlet,t.rowDef,e,{$implicit:t.data})}_renderRow(t,e,i,s={}){t.viewContainer.createEmbeddedView(e.template,s,i);for(let a of this._getCellTemplates(e))z.mostRecentCellOutlet&&z.mostRecentCellOutlet._viewContainer.createEmbeddedView(a,s);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const t=this._rowOutlet.viewContainer;for(let e=0,i=t.length;e<i;e++){const s=t.get(e).context;s.count=i,s.first=0===e,s.last=e===i-1,s.even=e%2==0,s.odd=!s.even,this.multiTemplateDataRows?(s.dataIndex=this._renderRows[e].dataIndex,s.renderIndex=e):s.index=this._renderRows[e].dataIndex}}_getCellTemplates(t){return t&&t.columns?Array.from(t.columns,e=>{const i=this._columnDefsByName.get(e);if(!i)throw H(e);return t.extractCellTemplate(i)}):[]}_applyNativeTableSections(){const t=this._document.createDocumentFragment(),e=[{tag:"thead",outlet:this._headerRowOutlet},{tag:"tbody",outlet:this._rowOutlet},{tag:"tfoot",outlet:this._footerRowOutlet}];for(const i of e){const e=this._document.createElement(i.tag);e.setAttribute("role","rowgroup"),e.appendChild(i.outlet.elementRef.nativeElement),t.appendChild(e)}this._elementRef.nativeElement.appendChild(t)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows(),this.updateStickyColumnStyles()}_checkStickyStates(){const t=(t,e)=>t||e.hasStickyChanged();this._headerRowDefs.reduce(t,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(t,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(t,!1)&&this.updateStickyColumnStyles()}_setupStickyStyler(){this._stickyStyler=new B(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._platform.isBrowser),(this._dir?this._dir.change:Object(u.a)()).pipe(Object(p.a)(this._onDestroy)).subscribe(t=>{this._stickyStyler.direction=t,this.updateStickyColumnStyles()})}}return t.\u0275fac=function(e){return new(e||t)(n.Ob(n.t),n.Ob(n.h),n.Ob(n.l),n.Zb("role"),n.Ob(o.b,8),n.Ob(l.d),n.Ob(r.a))},t.\u0275cmp=n.Ib({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(t,e,i){var s;1&t&&(n.Hb(i,O,!0),n.Hb(i,L,!0),n.Hb(i,T,!0),n.Hb(i,M,!0)),2&t&&(n.qc(s=n.dc())&&(e._contentColumnDefs=s),n.qc(s=n.dc())&&(e._contentRowDefs=s),n.qc(s=n.dc())&&(e._contentHeaderRowDefs=s),n.qc(s=n.dc())&&(e._contentFooterRowDefs=s))},viewQuery:function(t,e){var i;1&t&&(n.yc(N,!0),n.yc(V,!0),n.yc(U,!0)),2&t&&(n.qc(i=n.dc())&&(e._rowOutlet=i.first),n.qc(i=n.dc())&&(e._headerRowOutlet=i.first),n.qc(i=n.dc())&&(e._footerRowOutlet=i.first))},hostAttrs:[1,"cdk-table"],inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows"},exportAs:["cdkTable"],ngContentSelectors:f,decls:4,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["footerRowOutlet",""]],template:function(t,e){1&t&&(n.kc(m),n.jc(0),n.Qb(1,0),n.Qb(2,1),n.Qb(3,2))},directives:[V,N,U],encapsulation:2}),t})();function W(t,e){return t.toArray().concat(Array.from(e))}let K=(()=>{class t{}return t.\u0275mod=n.Mb({type:t}),t.\u0275inj=n.Lb({factory:function(e){return new(e||t)}}),t})();var X=i("FKr1");i("quSY"),i("VRyK"),i("itXk"),i("lJxs");const G=[[["caption"]]],q=["caption"];let J=(()=>{class t extends Y{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky"}}return t.\u0275fac=function(e){return $(e||t)},t.\u0275cmp=n.Ib({type:t,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],exportAs:["matTable"],features:[n.Bb([{provide:Y,useExisting:t}]),n.zb],ngContentSelectors:q,decls:4,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["footerRowOutlet",""]],template:function(t,e){1&t&&(n.kc(G),n.jc(0),n.Qb(1,0),n.Qb(2,1),n.Qb(3,2))},directives:[V,N,U],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-row::after,mat-header-row::after,mat-footer-row::after{display:inline-block;min-height:inherit;content:""}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,[dir=rtl] mat-header-cell:first-of-type,[dir=rtl] mat-footer-cell:first-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,[dir=rtl] mat-header-cell:last-of-type,[dir=rtl] mat-footer-cell:last-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,[dir=rtl] td.mat-cell:first-of-type,[dir=rtl] td.mat-footer-cell:first-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,[dir=rtl] td.mat-cell:last-of-type,[dir=rtl] td.mat-footer-cell:last-of-type{padding-right:0;padding-left:24px}\n'],encapsulation:2}),t})();const $=n.Wb(J);let Q=(()=>{class t extends b{}return t.\u0275fac=function(e){return Z(e||t)},t.\u0275dir=n.Jb({type:t,selectors:[["","matCellDef",""]],features:[n.Bb([{provide:b,useExisting:t}]),n.zb]}),t})();const Z=n.Wb(Q);let tt=(()=>{class t extends _{}return t.\u0275fac=function(e){return et(e||t)},t.\u0275dir=n.Jb({type:t,selectors:[["","matHeaderCellDef",""]],features:[n.Bb([{provide:_,useExisting:t}]),n.zb]}),t})();const et=n.Wb(tt);let it=(()=>{class t extends O{}return t.\u0275fac=function(e){return st(e||t)},t.\u0275dir=n.Jb({type:t,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[n.Bb([{provide:O,useExisting:t},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),n.zb]}),t})();const st=n.Wb(it);let at=(()=>{class t extends D{constructor(t,e){super(t,e),e.nativeElement.classList.add(`mat-column-${t.cssClassFriendlyName}`)}}return t.\u0275fac=function(e){return new(e||t)(n.Ob(O),n.Ob(n.l))},t.\u0275dir=n.Jb({type:t,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[n.zb]}),t})(),nt=(()=>{class t extends x{constructor(t,e){super(t,e),e.nativeElement.classList.add(`mat-column-${t.cssClassFriendlyName}`)}}return t.\u0275fac=function(e){return new(e||t)(n.Ob(O),n.Ob(n.l))},t.\u0275dir=n.Jb({type:t,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[n.zb]}),t})(),ot=(()=>{class t extends T{}return t.\u0275fac=function(e){return rt(e||t)},t.\u0275dir=n.Jb({type:t,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[n.Bb([{provide:T,useExisting:t}]),n.zb]}),t})();const rt=n.Wb(ot);let lt=(()=>{class t extends L{}return t.\u0275fac=function(e){return ct(e||t)},t.\u0275dir=n.Jb({type:t,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[n.Bb([{provide:L,useExisting:t}]),n.zb]}),t})();const ct=n.Wb(lt);let ht=(()=>{class t extends E{}return t.\u0275fac=function(e){return dt(e||t)},t.\u0275cmp=n.Ib({type:t,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[n.Bb([{provide:E,useExisting:t}]),n.zb],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&n.Qb(0,0)},directives:[z],encapsulation:2}),t})();const dt=n.Wb(ht);let ut=(()=>{class t extends A{}return t.\u0275fac=function(e){return pt(e||t)},t.\u0275cmp=n.Ib({type:t,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[n.Bb([{provide:A,useExisting:t}]),n.zb],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&n.Qb(0,0)},directives:[z],encapsulation:2}),t})();const pt=n.Wb(ut);let mt=(()=>{class t{}return t.\u0275mod=n.Mb({type:t}),t.\u0275inj=n.Lb({factory:function(e){return new(e||t)},imports:[[K,X.i]]}),t})()},M9IT:function(t,e,i){"use strict";i.d(e,"a",(function(){return C})),i.d(e,"b",(function(){return k}));var s=i("ofXK"),a=i("fXoL"),n=i("bTqV"),o=i("d3UM"),r=i("Qu3c"),l=i("8LU1"),c=i("XNiG"),h=i("FKr1"),d=i("kmnG");function u(t,e){if(1&t&&(a.Ub(0,"mat-option",19),a.Bc(1),a.Tb()),2&t){const t=e.$implicit;a.lc("value",t),a.Cb(1),a.Dc(" ",t," ")}}function p(t,e){if(1&t){const t=a.Vb();a.Ub(0,"mat-form-field",16),a.Ub(1,"mat-select",17),a.cc("selectionChange",(function(e){return a.tc(t),a.gc(2)._changePageSize(e.value)})),a.Ac(2,u,2,2,"mat-option",18),a.Tb(),a.Tb()}if(2&t){const t=a.gc(2);a.lc("color",t.color),a.Cb(1),a.lc("value",t.pageSize)("disabled",t.disabled)("aria-label",t._intl.itemsPerPageLabel),a.Cb(1),a.lc("ngForOf",t._displayedPageSizeOptions)}}function m(t,e){if(1&t&&(a.Ub(0,"div",20),a.Bc(1),a.Tb()),2&t){const t=a.gc(2);a.Cb(1),a.Cc(t.pageSize)}}function f(t,e){if(1&t&&(a.Ub(0,"div",12),a.Ub(1,"div",13),a.Bc(2),a.Tb(),a.Ac(3,p,3,5,"mat-form-field",14),a.Ac(4,m,2,1,"div",15),a.Tb()),2&t){const t=a.gc();a.Cb(2),a.Dc(" ",t._intl.itemsPerPageLabel," "),a.Cb(1),a.lc("ngIf",t._displayedPageSizeOptions.length>1),a.Cb(1),a.lc("ngIf",t._displayedPageSizeOptions.length<=1)}}function g(t,e){if(1&t){const t=a.Vb();a.Ub(0,"button",21),a.cc("click",(function(){return a.tc(t),a.gc().firstPage()})),a.fc(),a.Ub(1,"svg",7),a.Pb(2,"path",22),a.Tb(),a.Tb()}if(2&t){const t=a.gc();a.lc("matTooltip",t._intl.firstPageLabel)("matTooltipDisabled",t._previousButtonsDisabled())("matTooltipPosition","above")("disabled",t._previousButtonsDisabled()),a.Db("aria-label",t._intl.firstPageLabel)}}function b(t,e){if(1&t){const t=a.Vb();a.fc(),a.ec(),a.Ub(0,"button",23),a.cc("click",(function(){return a.tc(t),a.gc().lastPage()})),a.fc(),a.Ub(1,"svg",7),a.Pb(2,"path",24),a.Tb(),a.Tb()}if(2&t){const t=a.gc();a.lc("matTooltip",t._intl.lastPageLabel)("matTooltipDisabled",t._nextButtonsDisabled())("matTooltipPosition","above")("disabled",t._nextButtonsDisabled()),a.Db("aria-label",t._intl.lastPageLabel)}}let _=(()=>{class t{constructor(){this.changes=new c.a,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(t,e,i)=>{if(0==i||0==e)return`0 of ${i}`;const s=t*e;return`${s+1} \u2013 ${s<(i=Math.max(i,0))?Math.min(s+e,i):s+e} of ${i}`}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(a.Kb)({factory:function(){return new t},token:t,providedIn:"root"}),t})();const y={provide:_,deps:[[new a.B,new a.K,_]],useFactory:function(t){return t||new _}},w=new a.r("MAT_PAGINATOR_DEFAULT_OPTIONS");class v{}const O=Object(h.z)(Object(h.B)(v));let C=(()=>{class t extends O{constructor(t,e,i){if(super(),this._intl=t,this._changeDetectorRef=e,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.page=new a.o,this._intlChanges=t.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),i){const{pageSize:t,pageSizeOptions:e,hidePageSize:s,showFirstLastButtons:a}=i;null!=t&&(this._pageSize=t),null!=e&&(this._pageSizeOptions=e),null!=s&&(this._hidePageSize=s),null!=a&&(this._showFirstLastButtons=a)}}get pageIndex(){return this._pageIndex}set pageIndex(t){this._pageIndex=Math.max(Object(l.f)(t),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(t){this._length=Object(l.f)(t),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(t){this._pageSize=Math.max(Object(l.f)(t),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(t){this._pageSizeOptions=(t||[]).map(t=>Object(l.f)(t)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(t){this._hidePageSize=Object(l.c)(t)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(t){this._showFirstLastButtons=Object(l.c)(t)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const t=this.pageIndex;this.pageIndex++,this._emitPageEvent(t)}previousPage(){if(!this.hasPreviousPage())return;const t=this.pageIndex;this.pageIndex--,this._emitPageEvent(t)}firstPage(){if(!this.hasPreviousPage())return;const t=this.pageIndex;this.pageIndex=0,this._emitPageEvent(t)}lastPage(){if(!this.hasNextPage())return;const t=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(t)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const t=this.getNumberOfPages()-1;return this.pageIndex<t&&0!=this.pageSize}getNumberOfPages(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}_changePageSize(t){const e=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/t)||0,this.pageSize=t,this._emitPageEvent(e)}_nextButtonsDisabled(){return this.disabled||!this.hasNextPage()}_previousButtonsDisabled(){return this.disabled||!this.hasPreviousPage()}_updateDisplayedPageSizeOptions(){this._initialized&&(this.pageSize||(this._pageSize=0!=this.pageSizeOptions.length?this.pageSizeOptions[0]:50),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),-1===this._displayedPageSizeOptions.indexOf(this.pageSize)&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort((t,e)=>t-e),this._changeDetectorRef.markForCheck())}_emitPageEvent(t){this.page.emit({previousPageIndex:t,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return t.\u0275fac=function(e){return new(e||t)(a.Ob(_),a.Ob(a.h),a.Ob(w,8))},t.\u0275cmp=a.Ib({type:t,selectors:[["mat-paginator"]],hostAttrs:[1,"mat-paginator"],inputs:{disabled:"disabled",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",color:"color"},outputs:{page:"page"},exportAs:["matPaginator"],features:[a.zb],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"color"],[3,"value","disabled","aria-label","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(t,e){1&t&&(a.Ub(0,"div",0),a.Ub(1,"div",1),a.Ac(2,f,5,3,"div",2),a.Ub(3,"div",3),a.Ub(4,"div",4),a.Bc(5),a.Tb(),a.Ac(6,g,3,5,"button",5),a.Ub(7,"button",6),a.cc("click",(function(){return e.previousPage()})),a.fc(),a.Ub(8,"svg",7),a.Pb(9,"path",8),a.Tb(),a.Tb(),a.ec(),a.Ub(10,"button",9),a.cc("click",(function(){return e.nextPage()})),a.fc(),a.Ub(11,"svg",7),a.Pb(12,"path",10),a.Tb(),a.Tb(),a.Ac(13,b,3,5,"button",11),a.Tb(),a.Tb(),a.Tb()),2&t&&(a.Cb(2),a.lc("ngIf",!e.hidePageSize),a.Cb(3),a.Dc(" ",e._intl.getRangeLabel(e.pageIndex,e.pageSize,e.length)," "),a.Cb(1),a.lc("ngIf",e.showFirstLastButtons),a.Cb(1),a.lc("matTooltip",e._intl.previousPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",e._previousButtonsDisabled()),a.Db("aria-label",e._intl.previousPageLabel),a.Cb(3),a.lc("matTooltip",e._intl.nextPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",e._nextButtonsDisabled()),a.Db("aria-label",e._intl.nextPageLabel),a.Cb(3),a.lc("ngIf",e.showFirstLastButtons))},directives:[s.k,n.a,r.a,d.b,o.a,s.j,h.n],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;min-height:56px;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}\n"],encapsulation:2,changeDetection:0}),t})(),k=(()=>{class t{}return t.\u0275mod=a.Mb({type:t}),t.\u0275inj=a.Lb({factory:function(e){return new(e||t)},providers:[y],imports:[[s.c,n.b,o.b,r.b]]}),t})()},PCNd:function(t,e,i){"use strict";i.d(e,"a",(function(){return Lt}));var s=i("ofXK"),a=i("3Pt+"),n=i("vxfF"),o=i("u47x"),r=(i("8LU1"),i("fXoL")),l=i("FKr1"),c=(i("quSY"),i("XNiG")),h=i("NXyV"),d=(i("VRyK"),i("LRne")),u=(i("xgIS"),i("rDax")),p=i("FtGj"),m=i("nLfN"),f=i("+rOU"),g=i("IzEk"),b=(i("eIep"),i("pLZG")),_=(i("lJxs"),i("vkgz"),i("3E0/"),i("cH1L")),y=i("kmnG");const w={provide:new r.r("mat-autocomplete-scroll-strategy"),deps:[u.c],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};let v=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},providers:[w],imports:[[l.o,u.f,l.i,s.c],l.o,l.i]}),t})();i("R1ws");let O=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},imports:[[o.a,l.i]]}),t})();i("0MNC");var C=i("R0Ic");let k=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},imports:[[u.f,l.i,f.h],l.i]}),t})();var D=i("bTqV");i("0EQZ");let x=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},imports:[[l.i,l.t],l.i]}),t})();var R=i("Wp6s"),S=i("GU7r");let I=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)}}),t})(),T=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},imports:[[l.t,l.i,S.c,I],l.i,I]}),t})();i("1G5W");var j=i("JX91");const P=new r.r("mat-chips-default-options"),M={separatorKeyCodes:[p.f]};let L=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},providers:[l.d,{provide:P,useValue:M}]}),t})();function z(t,e){}class E{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}}const A={dialogContainer:Object(C.n)("dialogContainer",[Object(C.k)("void, exit",Object(C.l)({opacity:0,transform:"scale(0.7)"})),Object(C.k)("enter",Object(C.l)({transform:"none"})),Object(C.m)("* => enter",Object(C.e)("150ms cubic-bezier(0, 0, 0.2, 1)",Object(C.l)({transform:"none",opacity:1}))),Object(C.m)("* => void, * => exit",Object(C.e)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",Object(C.l)({opacity:0})))])};function F(){throw Error("Attempting to attach dialog content after content is already attached")}let B=(()=>{class t extends f.a{constructor(t,e,i,s,a){super(),this._elementRef=t,this._focusTrapFactory=e,this._changeDetectorRef=i,this._config=a,this._elementFocusedBeforeDialogWasOpened=null,this._state="enter",this._animationStateChanged=new r.o,this.attachDomPortal=t=>(this._portalOutlet.hasAttached()&&F(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachDomPortal(t)),this._ariaLabelledBy=a.ariaLabelledBy||null,this._document=s}attachComponentPortal(t){return this._portalOutlet.hasAttached()&&F(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._portalOutlet.hasAttached()&&F(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachTemplatePortal(t)}_trapFocus(){const t=this._elementRef.nativeElement;if(this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(t)),this._config.autoFocus)this._focusTrap.focusInitialElementWhenReady();else{const e=this._document.activeElement;e===t||t.contains(e)||t.focus()}}_restoreFocus(){const t=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&t&&"function"==typeof t.focus){const e=this._document.activeElement,i=this._elementRef.nativeElement;e&&e!==this._document.body&&e!==i&&!i.contains(e)||t.focus()}this._focusTrap&&this._focusTrap.destroy()}_savePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement,this._elementRef.nativeElement.focus&&Promise.resolve().then(()=>this._elementRef.nativeElement.focus()))}_onAnimationDone(t){"enter"===t.toState?this._trapFocus():"exit"===t.toState&&this._restoreFocus(),this._animationStateChanged.emit(t)}_onAnimationStart(t){this._animationStateChanged.emit(t)}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.l),r.Ob(o.i),r.Ob(r.h),r.Ob(s.d,8),r.Ob(E))},t.\u0275cmp=r.Ib({type:t,selectors:[["mat-dialog-container"]],viewQuery:function(t,e){var i;1&t&&r.yc(f.c,!0),2&t&&r.qc(i=r.dc())&&(e._portalOutlet=i.first)},hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(t,e){1&t&&r.Gb("@dialogContainer.start",(function(t){return e._onAnimationStart(t)}))("@dialogContainer.done",(function(t){return e._onAnimationDone(t)})),2&t&&(r.Db("id",e._id)("role",e._config.role)("aria-labelledby",e._config.ariaLabel?null:e._ariaLabelledBy)("aria-label",e._config.ariaLabel)("aria-describedby",e._config.ariaDescribedBy||null),r.Fc("@dialogContainer",e._state))},features:[r.zb],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,e){1&t&&r.Ac(0,z,0,0,"ng-template",0)},directives:[f.c],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[A.dialogContainer]}}),t})(),H=0;class N{constructor(t,e,i=`mat-dialog-${H++}`){this._overlayRef=t,this._containerInstance=e,this.id=i,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new c.a,this._afterClosed=new c.a,this._beforeClosed=new c.a,this._state=0,e._id=i,e._animationStateChanged.pipe(Object(b.a)(t=>"done"===t.phaseName&&"enter"===t.toState),Object(g.a)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe(Object(b.a)(t=>"done"===t.phaseName&&"exit"===t.toState),Object(g.a)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._overlayRef.dispose()}),t.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),t.keydownEvents().pipe(Object(b.a)(t=>t.keyCode===p.g&&!this.disableClose&&!Object(p.s)(t))).subscribe(t=>{t.preventDefault(),this.close()})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe(Object(b.a)(t=>"start"===t.phaseName),Object(g.a)(1)).subscribe(e=>{this._beforeClosed.next(t),this._beforeClosed.complete(),this._state=2,this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>{this._overlayRef.dispose()},e.totalTime+100)}),this._containerInstance._startExitAnimation(),this._state=1}afterOpened(){return this._afterOpened.asObservable()}afterClosed(){return this._afterClosed.asObservable()}beforeClosed(){return this._beforeClosed.asObservable()}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(t){let e=this._getPositionStrategy();return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(t="",e=""){return this._getPositionStrategy().width(t).height(e),this._overlayRef.updatePosition(),this}addPanelClass(t){return this._overlayRef.addPanelClass(t),this}removePanelClass(t){return this._overlayRef.removePanelClass(t),this}getState(){return this._state}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}const V=new r.r("MatDialogData"),U=new r.r("mat-dialog-default-options"),Y=new r.r("mat-dialog-scroll-strategy"),W={provide:Y,deps:[u.c],useFactory:function(t){return()=>t.scrollStrategies.block()}};let K=(()=>{class t{constructor(t,e,i,s,a,n,o){this._overlay=t,this._injector=e,this._defaultOptions=s,this._parentDialog=n,this._overlayContainer=o,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new c.a,this._afterOpenedAtThisLevel=new c.a,this._ariaHiddenElements=new Map,this.afterAllClosed=Object(h.a)(()=>this.openDialogs.length?this._afterAllClosed:this._afterAllClosed.pipe(Object(j.a)(void 0))),this._scrollStrategy=a}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}get _afterAllClosed(){const t=this._parentDialog;return t?t._afterAllClosed:this._afterAllClosedAtThisLevel}open(t,e){if((e=function(t,e){return Object.assign(Object.assign({},e),t)}(e,this._defaultOptions||new E)).id&&this.getDialogById(e.id))throw Error(`Dialog with id "${e.id}" exists already. The dialog id must be unique.`);const i=this._createOverlay(e),s=this._attachDialogContainer(i,e),a=this._attachDialogContent(t,s,i,e);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(a),a.afterClosed().subscribe(()=>this._removeOpenDialog(a)),this.afterOpened.next(a),a}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(e=>e.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(t){const e=this._getOverlayConfig(t);return this._overlay.create(e)}_getOverlayConfig(t){const e=new u.d({positionStrategy:this._overlay.position().global(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(e.backdropClass=t.backdropClass),e}_attachDialogContainer(t,e){const i=r.s.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:E,useValue:e}]}),s=new f.d(B,e.viewContainerRef,i,e.componentFactoryResolver);return t.attach(s).instance}_attachDialogContent(t,e,i,s){const a=new N(i,e,s.id);if(s.hasBackdrop&&i.backdropClick().subscribe(()=>{a.disableClose||a.close()}),t instanceof r.M)e.attachTemplatePortal(new f.i(t,null,{$implicit:s.data,dialogRef:a}));else{const i=this._createInjector(s,a,e),n=e.attachComponentPortal(new f.d(t,s.viewContainerRef,i));a.componentInstance=n.instance}return a.updateSize(s.width,s.height).updatePosition(s.position),a}_createInjector(t,e,i){const s=t&&t.viewContainerRef&&t.viewContainerRef.injector,a=[{provide:B,useValue:i},{provide:V,useValue:t.data},{provide:N,useValue:e}];return!t.direction||s&&s.get(_.b,null)||a.push({provide:_.b,useValue:{value:t.direction,change:Object(d.a)()}}),r.s.create({parent:s||this._injector,providers:a})}_removeOpenDialog(t){const e=this.openDialogs.indexOf(t);e>-1&&(this.openDialogs.splice(e,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((t,e)=>{t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._afterAllClosed.next()))}_hideNonDialogContentFromAssistiveTechnology(){const t=this._overlayContainer.getContainerElement();if(t.parentElement){const e=t.parentElement.children;for(let i=e.length-1;i>-1;i--){let s=e[i];s===t||"SCRIPT"===s.nodeName||"STYLE"===s.nodeName||s.hasAttribute("aria-live")||(this._ariaHiddenElements.set(s,s.getAttribute("aria-hidden")),s.setAttribute("aria-hidden","true"))}}}_closeDialogs(t){let e=t.length;for(;e--;)t[e].close()}}return t.\u0275fac=function(e){return new(e||t)(r.Yb(u.c),r.Yb(r.s),r.Yb(s.g,8),r.Yb(U,8),r.Yb(Y),r.Yb(t,12),r.Yb(u.e))},t.\u0275prov=r.Kb({token:t,factory:t.\u0275fac}),t})(),X=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},providers:[K,W],imports:[[u.f,f.h,l.i],l.i]}),t})();var G=i("qFsG");let q=(()=>{class t{constructor(){this.changes=new c.a,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 20 years",this.nextMultiYearLabel="Next 20 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}formatYearRange(t,e){return`${t} \u2013 ${e}`}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(r.Kb)({factory:function(){return new t},token:t,providedIn:"root"}),t})();const J={provide:new r.r("mat-datepicker-scroll-strategy"),deps:[u.c],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};let $=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},providers:[q,J],imports:[[s.c,D.b,X,u.f,o.a,f.h]]}),t})();var Q=i("f0Cb");let Z=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)}}),t})();i("/uUt"),i("EY2u");let tt=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},imports:[[s.c,Z,f.h]]}),t})(),et=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},imports:[[l.k,l.i],l.k,l.i]}),t})();i("JIr8"),i("nYR2"),i("w1tV"),i("tk/3"),i("jhN1"),i("z6cu"),i("cp0P");let it=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},imports:[[l.i],l.i]}),t})();var st=i("MutI");i("7Hc7");const at={provide:new r.r("mat-menu-scroll-strategy"),deps:[u.c],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};let nt=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},providers:[at],imports:[l.i]}),t})(),ot=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},providers:[at],imports:[[s.c,l.i,l.t,u.f,nt],nt]}),t})();var rt=i("M9IT");let lt=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},imports:[[s.c,l.i],l.i]}),t})();var ct=i("Xa2L");let ht=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},imports:[[l.t,l.i],l.i]}),t})();var dt=i("d3UM");i("Kj3r");let ut=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},imports:[[s.c,l.i,n.c,m.b],l.i]}),t})(),pt=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)}}),t})(),mt=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},imports:[[pt,l.t,l.i,S.c],pt,l.i]}),t})(),ft=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},imports:[[s.c,l.i],l.i]}),t})();var gt=i("dNgK");let bt=(()=>{class t{constructor(){this.changes=new c.a,this.sortButtonLabel=t=>`Change sorting for ${t}`}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(r.Kb)({factory:function(){return new t},token:t,providedIn:"root"}),t})();const _t={provide:bt,deps:[[new r.B,new r.K,bt]],useFactory:function(t){return t||new bt}};let yt=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},providers:[_t],imports:[[s.c]]}),t})(),wt=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},imports:[[_.a]]}),t})(),vt=(()=>{class t{constructor(){this.changes=new c.a,this.optionalLabel="Optional"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(r.Kb)({factory:function(){return new t},token:t,providedIn:"root"}),t})();const Ot={provide:vt,deps:[[new r.B,new r.K,vt]],useFactory:function(t){return t||new vt}};let Ct=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},providers:[Ot,l.d],imports:[[l.i,s.c,f.h,D.b,wt,it,l.t],l.i]}),t})();var kt=i("+0xr");i("PqYM");let Dt=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},imports:[[s.c,l.i,f.h,l.t,S.c,o.a],l.i]}),t})(),xt=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},imports:[[l.i],l.i]}),t})();var Rt=i("Qu3c");i("7+OI"),i("2Vo4");let St=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.M))},t.\u0275dir=r.Jb({type:t,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:["cdkTreeNodeDefWhen","when"]}}),t})(),It=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},providers:[o.h,St]}),t})(),Tt=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},imports:[[It,l.i]]}),t})(),jt=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},imports:[v,O,k,D.b,x,R.c,T,L,$,X,Q.b,tt,y.d,et,it,G.c,st.b,ot,l.l,rt.b,lt,ct.a,ht,l.t,dt.b,ut,ft,mt,gt.b,yt,Ct,kt.k,Dt,xt,Rt.b,Tt,n.c]}),t})();var Pt=i("6NWb"),Mt=i("wHSu");let Lt=(()=>{class t{constructor(t){t.addIcons(Mt.a,Mt.b,Mt.c,Mt.d,Mt.e,Mt.f)}}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)(r.Yb(Pt.b))},imports:[[s.c,a.c,a.h,jt,Pt.c],s.c,a.c,a.h,jt,Pt.c]}),t})()},Qu3c:function(t,e,i){"use strict";i.d(e,"a",(function(){return D})),i.d(e,"b",(function(){return R}));var s=i("rDax"),a=i("u47x"),n=i("ofXK"),o=i("fXoL"),r=i("FKr1"),l=i("8LU1"),c=i("FtGj"),h=i("0MNC"),d=i("nLfN"),u=i("+rOU"),p=i("XNiG"),m=i("1G5W"),f=i("IzEk"),g=i("R0Ic"),b=i("vxfF"),_=i("cH1L");const y={tooltipState:Object(g.n)("state",[Object(g.k)("initial, void, hidden",Object(g.l)({opacity:0,transform:"scale(0)"})),Object(g.k)("visible",Object(g.l)({transform:"scale(1)"})),Object(g.m)("* => visible",Object(g.e)("200ms cubic-bezier(0, 0, 0.2, 1)",Object(g.h)([Object(g.l)({opacity:0,transform:"scale(0)",offset:0}),Object(g.l)({opacity:.5,transform:"scale(0.99)",offset:.5}),Object(g.l)({opacity:1,transform:"scale(1)",offset:1})]))),Object(g.m)("* => hidden",Object(g.e)("100ms cubic-bezier(0, 0, 0.2, 1)",Object(g.l)({opacity:0})))])},w=Object(d.f)({passive:!0});function v(t){return Error(`Tooltip position "${t}" is invalid.`)}const O=new o.r("mat-tooltip-scroll-strategy"),C={provide:O,deps:[s.c],useFactory:function(t){return()=>t.scrollStrategies.reposition({scrollThrottle:20})}},k=new o.r("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let D=(()=>{class t{constructor(t,e,i,s,a,n,o,r,l,h,d,u){this._overlay=t,this._elementRef=e,this._scrollDispatcher=i,this._viewContainerRef=s,this._ngZone=a,this._platform=n,this._ariaDescriber=o,this._focusMonitor=r,this._dir=h,this._defaultOptions=d,this._position="below",this._disabled=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=new Map,this._destroyed=new p.a,this._handleKeydown=t=>{this._isTooltipVisible()&&t.keyCode===c.g&&!Object(c.s)(t)&&(t.preventDefault(),t.stopPropagation(),this._ngZone.run(()=>this.hide(0)))},this._scrollStrategy=l,d&&(d.position&&(this.position=d.position),d.touchGestures&&(this.touchGestures=d.touchGestures)),r.monitor(e).pipe(Object(m.a)(this._destroyed)).subscribe(t=>{t?"keyboard"===t&&a.run(()=>this.show()):a.run(()=>this.hide(0))}),a.runOutsideAngular(()=>{e.nativeElement.addEventListener("keydown",this._handleKeydown)})}get position(){return this._position}set position(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(l.c)(t),this._disabled&&this.hide(0)}get message(){return this._message}set message(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=null!=t?`${t}`.trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message)})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngOnInit(){this._setupPointerEvents()}ngOnDestroy(){const t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),t.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach((e,i)=>{t.removeEventListener(i,e,w)}),this._passiveListeners.clear(),this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const e=this._createOverlay();this._detach(),this._portal=this._portal||new u.d(x,this._viewContainerRef),this._tooltipInstance=e.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(Object(m.a)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(t)}hide(t=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(t)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),e=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(t);return e.positionChanges.pipe(Object(m.a)(this._destroyed)).subscribe(t=>{this._tooltipInstance&&t.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:e,panelClass:"mat-tooltip-panel",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(Object(m.a)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(){const t=this._overlayRef.getConfig().positionStrategy,e=this._getOrigin(),i=this._getOverlayPosition();t.withPositions([Object.assign(Object.assign({},e.main),i.main),Object.assign(Object.assign({},e.fallback),i.fallback)])}_getOrigin(){const t=!this._dir||"ltr"==this._dir.value,e=this.position;let i;if("above"==e||"below"==e)i={originX:"center",originY:"above"==e?"top":"bottom"};else if("before"==e||"left"==e&&t||"right"==e&&!t)i={originX:"start",originY:"center"};else{if(!("after"==e||"right"==e&&t||"left"==e&&!t))throw v(e);i={originX:"end",originY:"center"}}const{x:s,y:a}=this._invertPosition(i.originX,i.originY);return{main:i,fallback:{originX:s,originY:a}}}_getOverlayPosition(){const t=!this._dir||"ltr"==this._dir.value,e=this.position;let i;if("above"==e)i={overlayX:"center",overlayY:"bottom"};else if("below"==e)i={overlayX:"center",overlayY:"top"};else if("before"==e||"left"==e&&t||"right"==e&&!t)i={overlayX:"end",overlayY:"center"};else{if(!("after"==e||"right"==e&&t||"left"==e&&!t))throw v(e);i={overlayX:"start",overlayY:"center"}}const{x:s,y:a}=this._invertPosition(i.overlayX,i.overlayY);return{main:i,fallback:{overlayX:s,overlayY:a}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.asObservable().pipe(Object(f.a)(1),Object(m.a)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,e){return"above"===this.position||"below"===this.position?"top"===e?e="bottom":"bottom"===e&&(e="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:e}}_setupPointerEvents(){if(this._platform.IOS||this._platform.ANDROID){if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const t=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};this._passiveListeners.set("touchend",t).set("touchcancel",t).set("touchstart",()=>{clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)})}}else this._passiveListeners.set("mouseenter",()=>this.show()).set("mouseleave",()=>this.hide());this._passiveListeners.forEach((t,e)=>{this._elementRef.nativeElement.addEventListener(e,t,w)})}_disableNativeGesturesIfNecessary(){const t=this._elementRef.nativeElement,e=t.style,i=this.touchGestures;"off"!==i&&(("on"===i||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName)&&(e.userSelect=e.msUserSelect=e.webkitUserSelect=e.MozUserSelect="none"),"on"!==i&&t.draggable||(e.webkitUserDrag="none"),e.touchAction="none",e.webkitTapHighlightColor="transparent")}}return t.\u0275fac=function(e){return new(e||t)(o.Ob(s.c),o.Ob(o.l),o.Ob(b.b),o.Ob(o.P),o.Ob(o.A),o.Ob(d.a),o.Ob(a.c),o.Ob(a.h),o.Ob(O),o.Ob(_.b,8),o.Ob(k,8),o.Ob(o.l))},t.\u0275dir=o.Jb({type:t,selectors:[["","matTooltip",""]],inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]}),t})(),x=(()=>{class t{constructor(t,e){this._changeDetectorRef=t,this._breakpointObserver=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new p.a,this._isHandset=this._breakpointObserver.observe(h.b.Handset)}show(t){this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=null,this._markForCheck()},t)}hide(t){this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=null,this._markForCheck()},t)}afterHidden(){return this._onHide.asObservable()}isVisible(){return"visible"===this._visibility}ngOnDestroy(){this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(t){const e=t.toState;"hidden"!==e||this.isVisible()||this._onHide.next(),"visible"!==e&&"hidden"!==e||(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}}return t.\u0275fac=function(e){return new(e||t)(o.Ob(o.h),o.Ob(h.a))},t.\u0275cmp=o.Ib({type:t,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(t,e){1&t&&o.cc("click",(function(){return e._handleBodyInteraction()}),!1,o.sc),2&t&&o.zc("zoom","visible"===e._visibility?1:null)},decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(t,e){if(1&t&&(o.Ub(0,"div",0),o.cc("@state.start",(function(){return e._animationStart()}))("@state.done",(function(t){return e._animationDone(t)})),o.hc(1,"async"),o.Bc(2),o.Tb()),2&t){var i;const t=null==(i=o.ic(1,5,e._isHandset))?null:i.matches;o.Fb("mat-tooltip-handset",t),o.lc("ngClass",e.tooltipClass)("@state",e._visibility),o.Cb(2),o.Cc(e.message)}},directives:[n.i],pipes:[n.b],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[y.tooltipState]},changeDetection:0}),t})(),R=(()=>{class t{}return t.\u0275mod=o.Mb({type:t}),t.\u0275inj=o.Lb({factory:function(e){return new(e||t)},providers:[C],imports:[[a.a,n.c,s.f,r.i],r.i]}),t})()},Wp6s:function(t,e,i){"use strict";i.d(e,"a",(function(){return h})),i.d(e,"b",(function(){return l})),i.d(e,"c",(function(){return d})),i.d(e,"d",(function(){return c}));var s=i("R1ws"),a=i("FKr1"),n=i("fXoL");const o=["*",[["mat-card-footer"]]],r=["*","mat-card-footer"];let l=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.Jb({type:t,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),t})(),c=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.Jb({type:t,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),t})(),h=(()=>{class t{constructor(t){this._animationMode=t}}return t.\u0275fac=function(e){return new(e||t)(n.Ob(s.a,8))},t.\u0275cmp=n.Ib({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(t,e){2&t&&n.Fb("_mat-animation-noopable","NoopAnimations"===e._animationMode)},exportAs:["matCard"],ngContentSelectors:r,decls:2,vars:0,template:function(t,e){1&t&&(n.kc(o),n.jc(0),n.jc(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child,.mat-card-actions .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\n"],encapsulation:2,changeDetection:0}),t})(),d=(()=>{class t{}return t.\u0275mod=n.Mb({type:t}),t.\u0275inj=n.Lb({factory:function(e){return new(e||t)},imports:[[a.i],a.i]}),t})()},d3UM:function(t,e,i){"use strict";i.d(e,"a",(function(){return Y})),i.d(e,"b",(function(){return W}));var s=i("rDax"),a=i("ofXK"),n=i("fXoL"),o=i("FKr1"),r=i("kmnG"),l=i("u47x"),c=i("8LU1"),h=i("0EQZ"),d=i("FtGj"),u=i("XNiG"),p=i("NXyV"),m=i("VRyK"),f=i("JX91"),g=i("eIep"),b=i("IzEk"),_=i("pLZG"),y=i("lJxs"),w=i("/uUt"),v=i("1G5W"),O=i("R0Ic"),C=i("vxfF"),k=i("cH1L"),D=i("3Pt+");const x=["trigger"],R=["panel"];function S(t,e){if(1&t&&(n.Ub(0,"span",8),n.Bc(1),n.Tb()),2&t){const t=n.gc();n.Cb(1),n.Cc(t.placeholder||"\xa0")}}function I(t,e){if(1&t&&(n.Ub(0,"span"),n.Bc(1),n.Tb()),2&t){const t=n.gc(2);n.Cb(1),n.Cc(t.triggerValue||"\xa0")}}function T(t,e){1&t&&n.jc(0,0,["*ngSwitchCase","true"])}function j(t,e){if(1&t&&(n.Ub(0,"span",9),n.Ac(1,I,2,1,"span",10),n.Ac(2,T,1,0,void 0,11),n.Tb()),2&t){const t=n.gc();n.lc("ngSwitch",!!t.customTrigger),n.Cb(2),n.lc("ngSwitchCase",!0)}}function P(t,e){if(1&t){const t=n.Vb();n.Ub(0,"div",12),n.Ub(1,"div",13,14),n.cc("@transformPanel.done",(function(e){return n.tc(t),n.gc()._panelDoneAnimatingStream.next(e.toState)}))("keydown",(function(e){return n.tc(t),n.gc()._handleKeydown(e)})),n.jc(3,1),n.Tb(),n.Tb()}if(2&t){const t=n.gc();n.lc("@transformPanelWrap",void 0),n.Cb(1),n.Eb("mat-select-panel ",t._getPanelTheme(),""),n.zc("transform-origin",t._transformOrigin)("font-size",t._triggerFontSize,"px"),n.lc("ngClass",t.panelClass)("@transformPanel",t.multiple?"showing-multiple":"showing")}}const M=[[["mat-select-trigger"]],"*"],L=["mat-select-trigger","*"],z={transformPanelWrap:Object(O.n)("transformPanelWrap",[Object(O.m)("* => void",Object(O.i)("@transformPanel",[Object(O.f)()],{optional:!0}))]),transformPanel:Object(O.n)("transformPanel",[Object(O.k)("void",Object(O.l)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),Object(O.k)("showing",Object(O.l)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),Object(O.k)("showing-multiple",Object(O.l)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),Object(O.m)("void => *",Object(O.e)("120ms cubic-bezier(0, 0, 0.2, 1)")),Object(O.m)("* => void",Object(O.e)("100ms 25ms linear",Object(O.l)({opacity:0})))])};let E=0;const A=new n.r("mat-select-scroll-strategy"),F=new n.r("MAT_SELECT_CONFIG"),B={provide:A,deps:[s.c],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};class H{constructor(t,e){this.source=t,this.value=e}}class N{constructor(t,e,i,s,a){this._elementRef=t,this._defaultErrorStateMatcher=e,this._parentForm=i,this._parentFormGroup=s,this.ngControl=a}}const V=Object(o.y)(Object(o.C)(Object(o.z)(Object(o.A)(N))));let U=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.Jb({type:t,selectors:[["mat-select-trigger"]]}),t})(),Y=(()=>{class t extends V{constructor(t,e,i,s,a,o,r,l,c,h,d,w,v,O){super(a,s,r,l,h),this._viewportRuler=t,this._changeDetectorRef=e,this._ngZone=i,this._dir=o,this._parentFormField=c,this.ngControl=h,this._liveAnnouncer=v,this._panelOpen=!1,this._required=!1,this._scrollTop=0,this._multiple=!1,this._compareWith=(t,e)=>t===e,this._uid=`mat-select-${E++}`,this._destroy=new u.a,this._triggerFontSize=0,this._onChange=()=>{},this._onTouched=()=>{},this._optionIds="",this._transformOrigin="top",this._panelDoneAnimatingStream=new u.a,this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],this._disableOptionCentering=!1,this._focused=!1,this.controlType="mat-select",this.ariaLabel="",this.optionSelectionChanges=Object(p.a)(()=>{const t=this.options;return t?t.changes.pipe(Object(f.a)(t),Object(g.a)(()=>Object(m.a)(...t.map(t=>t.onSelectionChange)))):this._ngZone.onStable.asObservable().pipe(Object(b.a)(1),Object(g.a)(()=>this.optionSelectionChanges))}),this.openedChange=new n.o,this._openedStream=this.openedChange.pipe(Object(_.a)(t=>t),Object(y.a)(()=>{})),this._closedStream=this.openedChange.pipe(Object(_.a)(t=>!t),Object(y.a)(()=>{})),this.selectionChange=new n.o,this.valueChange=new n.o,this.ngControl&&(this.ngControl.valueAccessor=this),this._scrollStrategyFactory=w,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(d)||0,this.id=this.id,O&&(null!=O.disableOptionCentering&&(this.disableOptionCentering=O.disableOptionCentering),null!=O.typeaheadDebounceInterval&&(this.typeaheadDebounceInterval=O.typeaheadDebounceInterval))}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get required(){return this._required}set required(t){this._required=Object(c.c)(t),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(t){if(this._selectionModel)throw Error("Cannot change `multiple` mode of select after initialization.");this._multiple=Object(c.c)(t)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(t){this._disableOptionCentering=Object(c.c)(t)}get compareWith(){return this._compareWith}set compareWith(t){if("function"!=typeof t)throw Error("`compareWith` must be a function.");this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){t!==this._value&&(this.writeValue(t),this._value=t)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(t){this._typeaheadDebounceInterval=Object(c.f)(t)}get id(){return this._id}set id(t){this._id=t||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new h.c(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Object(w.a)(),Object(v.a)(this._destroy)).subscribe(()=>{this.panelOpen?(this._scrollTop=0,this.openedChange.emit(!0)):(this.openedChange.emit(!1),this.overlayDir.offsetX=0,this._changeDetectorRef.markForCheck())}),this._viewportRuler.change().pipe(Object(v.a)(this._destroy)).subscribe(()=>{this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(Object(v.a)(this._destroy)).subscribe(t=>{t.added.forEach(t=>t.select()),t.removed.forEach(t=>t.deselect())}),this.options.changes.pipe(Object(f.a)(null),Object(v.a)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngOnChanges(t){t.disabled&&this.stateChanges.next(),t.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){!this.disabled&&this.options&&this.options.length&&!this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._calculateOverlayPosition(),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this._ngZone.onStable.asObservable().pipe(Object(b.a)(1)).subscribe(()=>{this._triggerFontSize&&this.overlayDir.overlayRef&&this.overlayDir.overlayRef.overlayElement&&(this.overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(t){this.options&&this._setSelectionByValue(t)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const t=this._selectionModel.selected.map(t=>t.viewValue);return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))}_handleClosedKeydown(t){const e=t.keyCode,i=e===d.d||e===d.p||e===d.i||e===d.m,s=e===d.f||e===d.n,a=this._keyManager;if(!a.isTyping()&&s&&!Object(d.s)(t)||(this.multiple||t.altKey)&&i)t.preventDefault(),this.open();else if(!this.multiple){const i=this.selected;e===d.h||e===d.e?(e===d.h?a.setFirstItemActive():a.setLastItemActive(),t.preventDefault()):a.onKeydown(t);const s=this.selected;s&&i!==s&&this._liveAnnouncer.announce(s.viewValue,1e4)}}_handleOpenKeydown(t){const e=this._keyManager,i=t.keyCode,s=i===d.d||i===d.p,a=e.isTyping();if(i===d.h||i===d.e)t.preventDefault(),i===d.h?e.setFirstItemActive():e.setLastItemActive();else if(s&&t.altKey)t.preventDefault(),this.close();else if(a||i!==d.f&&i!==d.n||!e.activeItem||Object(d.s)(t))if(!a&&this._multiple&&i===d.a&&t.ctrlKey){t.preventDefault();const e=this.options.some(t=>!t.disabled&&!t.selected);this.options.forEach(t=>{t.disabled||(e?t.select():t.deselect())})}else{const i=e.activeItemIndex;e.onKeydown(t),this._multiple&&s&&t.shiftKey&&e.activeItem&&e.activeItemIndex!==i&&e.activeItem._selectViaInteraction()}else t.preventDefault(),e.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this.overlayDir.positionChange.pipe(Object(b.a)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value),this.stateChanges.next()})}_setSelectionByValue(t){if(this.multiple&&t){if(!Array.isArray(t))throw Error("Value must be an array in multiple-selection mode.");this._selectionModel.clear(),t.forEach(t=>this._selectValue(t)),this._sortValues()}else{this._selectionModel.clear();const e=this._selectValue(t);e?this._keyManager.setActiveItem(e):this.panelOpen||this._keyManager.setActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(t){const e=this.options.find(e=>{try{return null!=e.value&&this._compareWith(e.value,t)}catch(i){return Object(n.W)()&&console.warn(i),!1}});return e&&this._selectionModel.select(e),e}_initKeyManager(){this._keyManager=new l.b(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(Object(v.a)(this._destroy)).subscribe(()=>{!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close()}),this._keyManager.change.pipe(Object(v.a)(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollActiveOptionIntoView():this._panelOpen||this.multiple||!this._keyManager.activeItem||this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const t=Object(m.a)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Object(v.a)(t)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Object(m.a)(...this.options.map(t=>t._stateChanges)).pipe(Object(v.a)(t)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()}),this._setOptionIds()}_onSelect(t,e){const i=this._selectionModel.isSelected(t);null!=t.value||this._multiple?(i!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),e&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),e&&this.focus())):(t.deselect(),this._selectionModel.clear(),this._propagateChanges(t.value)),i!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const t=this.options.toArray();this._selectionModel.sort((e,i)=>this.sortComparator?this.sortComparator(e,i,t):t.indexOf(e)-t.indexOf(i)),this.stateChanges.next()}}_propagateChanges(t){let e=null;e=this.multiple?this.selected.map(t=>t.value):this.selected?this.selected.value:t,this._value=e,this.valueChange.emit(e),this._onChange(e),this.selectionChange.emit(new H(this,e)),this._changeDetectorRef.markForCheck()}_setOptionIds(){this._optionIds=this.options.map(t=>t.id).join(" ")}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_scrollActiveOptionIntoView(){const t=this._keyManager.activeItemIndex||0,e=Object(o.v)(t,this.options,this.optionGroups);this.panel.nativeElement.scrollTop=Object(o.w)(t+e,this._getItemHeight(),this.panel.nativeElement.scrollTop,256)}focus(t){this._elementRef.nativeElement.focus(t)}_getOptionIndex(t){return this.options.reduce((e,i,s)=>void 0!==e?e:t===i?s:void 0,void 0)}_calculateOverlayPosition(){const t=this._getItemHeight(),e=this._getItemCount(),i=Math.min(e*t,256),s=e*t-i;let a=this.empty?0:this._getOptionIndex(this._selectionModel.selected[0]);a+=Object(o.v)(a,this.options,this.optionGroups);const n=i/2;this._scrollTop=this._calculateOverlayScroll(a,n,s),this._offsetY=this._calculateOverlayOffsetY(a,n,s),this._checkOverlayWithinViewport(s)}_calculateOverlayScroll(t,e,i){const s=this._getItemHeight();return Math.min(Math.max(0,s*t-e+s/2),i)}_getAriaLabel(){return this.ariaLabelledby?null:this.ariaLabel||this.placeholder}_getAriaLabelledby(){return this.ariaLabelledby?this.ariaLabelledby:this._parentFormField&&this._parentFormField._hasFloatingLabel()&&!this._getAriaLabel()&&this._parentFormField._labelId||null}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_calculateOverlayOffsetX(){const t=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),e=this._viewportRuler.getViewportSize(),i=this._isRtl(),s=this.multiple?56:32;let a;if(this.multiple)a=40;else{let t=this._selectionModel.selected[0]||this.options.first;a=t&&t.group?32:16}i||(a*=-1);const n=0-(t.left+a-(i?s:0)),o=t.right+a-e.width+(i?0:s);n>0?a+=n+8:o>0&&(a-=o+8),this.overlayDir.offsetX=Math.round(a),this.overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(t,e,i){const s=this._getItemHeight(),a=(s-this._triggerRect.height)/2,n=Math.floor(256/s);let o;return this._disableOptionCentering?0:(o=0===this._scrollTop?t*s:this._scrollTop===i?(t-(this._getItemCount()-n))*s+(s-(this._getItemCount()*s-256)%s):e-s/2,Math.round(-1*o-a))}_checkOverlayWithinViewport(t){const e=this._getItemHeight(),i=this._viewportRuler.getViewportSize(),s=this._triggerRect.top-8,a=i.height-this._triggerRect.bottom-8,n=Math.abs(this._offsetY),o=Math.min(this._getItemCount()*e,256)-n-this._triggerRect.height;o>a?this._adjustPanelUp(o,a):n>s?this._adjustPanelDown(n,s,t):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(t,e){const i=Math.round(t-e);this._scrollTop-=i,this._offsetY-=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(t,e,i){const s=Math.round(t-e);if(this._scrollTop+=s,this._offsetY+=s,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=i)return this._scrollTop=i,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_getOriginBasedOnOption(){const t=this._getItemHeight(),e=(t-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-e+t/2}px 0px`}_getItemCount(){return this.options.length+this.optionGroups.length}_getItemHeight(){return 3*this._triggerFontSize}setDescribedByIds(t){this._ariaDescribedby=t.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty}}return t.\u0275fac=function(e){return new(e||t)(n.Ob(C.d),n.Ob(n.h),n.Ob(n.A),n.Ob(o.d),n.Ob(n.l),n.Ob(k.b,8),n.Ob(D.g,8),n.Ob(D.b,8),n.Ob(r.b,8),n.Ob(D.f,10),n.Zb("tabindex"),n.Ob(A),n.Ob(l.k),n.Ob(F,8))},t.\u0275cmp=n.Ib({type:t,selectors:[["mat-select"]],contentQueries:function(t,e,i){var s;1&t&&(n.Hb(i,U,!0),n.Hb(i,o.n,!0),n.Hb(i,o.m,!0)),2&t&&(n.qc(s=n.dc())&&(e.customTrigger=s.first),n.qc(s=n.dc())&&(e.options=s),n.qc(s=n.dc())&&(e.optionGroups=s))},viewQuery:function(t,e){var i;1&t&&(n.Gc(x,!0),n.Gc(R,!0),n.Gc(s.a,!0)),2&t&&(n.qc(i=n.dc())&&(e.trigger=i.first),n.qc(i=n.dc())&&(e.panel=i.first),n.qc(i=n.dc())&&(e.overlayDir=i.first))},hostAttrs:["role","listbox",1,"mat-select"],hostVars:19,hostBindings:function(t,e){1&t&&n.cc("keydown",(function(t){return e._handleKeydown(t)}))("focus",(function(){return e._onFocus()}))("blur",(function(){return e._onBlur()})),2&t&&(n.Db("id",e.id)("tabindex",e.tabIndex)("aria-label",e._getAriaLabel())("aria-labelledby",e._getAriaLabelledby())("aria-required",e.required.toString())("aria-disabled",e.disabled.toString())("aria-invalid",e.errorState)("aria-owns",e.panelOpen?e._optionIds:null)("aria-multiselectable",e.multiple)("aria-describedby",e._ariaDescribedby||null)("aria-activedescendant",e._getAriaActiveDescendant()),n.Fb("mat-select-disabled",e.disabled)("mat-select-invalid",e.errorState)("mat-select-required",e.required)("mat-select-empty",e.empty))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],id:"id",disableOptionCentering:"disableOptionCentering",typeaheadDebounceInterval:"typeaheadDebounceInterval",placeholder:"placeholder",required:"required",multiple:"multiple",compareWith:"compareWith",value:"value",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[n.Bb([{provide:r.c,useExisting:t},{provide:o.g,useExisting:t}]),n.zb,n.Ab],ngContentSelectors:L,decls:9,vars:9,consts:[["cdk-overlay-origin","","aria-hidden","true",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder"],[1,"mat-select-value-text",3,"ngSwitch"],[4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-panel-wrap"],[3,"ngClass","keydown"],["panel",""]],template:function(t,e){if(1&t&&(n.kc(M),n.Ub(0,"div",0,1),n.cc("click",(function(){return e.toggle()})),n.Ub(3,"div",2),n.Ac(4,S,2,1,"span",3),n.Ac(5,j,3,2,"span",4),n.Tb(),n.Ub(6,"div",5),n.Pb(7,"div",6),n.Tb(),n.Tb(),n.Ac(8,P,4,10,"ng-template",7),n.cc("backdropClick",(function(){return e.close()}))("attach",(function(){return e._onAttached()}))("detach",(function(){return e.close()}))),2&t){const t=n.rc(1);n.Cb(3),n.lc("ngSwitch",e.empty),n.Cb(1),n.lc("ngSwitchCase",!0),n.Cb(1),n.lc("ngSwitchCase",!1),n.Cb(3),n.lc("cdkConnectedOverlayScrollStrategy",e._scrollStrategy)("cdkConnectedOverlayOrigin",t)("cdkConnectedOverlayOpen",e.panelOpen)("cdkConnectedOverlayPositions",e._positions)("cdkConnectedOverlayMinWidth",null==e._triggerRect?null:e._triggerRect.width)("cdkConnectedOverlayOffsetY",e._offsetY)}},directives:[s.b,a.m,a.n,s.a,a.o,a.i],styles:[".mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}\n"],encapsulation:2,data:{animation:[z.transformPanelWrap,z.transformPanel]},changeDetection:0}),t})(),W=(()=>{class t{}return t.\u0275mod=n.Mb({type:t}),t.\u0275inj=n.Lb({factory:function(e){return new(e||t)},providers:[B],imports:[[a.c,s.f,o.o,o.i],r.d,o.o,o.i]}),t})()}}]);