(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{"+0xr":function(t,e,s){"use strict";s.d(e,"a",function(){return _t}),s.d(e,"b",function(){return rt}),s.d(e,"c",function(){return ht}),s.d(e,"d",function(){return ut}),s.d(e,"e",function(){return lt}),s.d(e,"f",function(){return Rt}),s.d(e,"g",function(){return mt}),s.d(e,"h",function(){return Ct}),s.d(e,"i",function(){return wt}),s.d(e,"j",function(){return ot}),s.d(e,"k",function(){return vt});var i=s("8LU1"),o=s("0EQZ"),n=s("fXoL"),r=s("cH1L"),a=s("nLfN"),l=s("vxfF"),c=s("ofXK"),h=s("XNiG"),d=s("Cfvw"),u=s("2Vo4"),f=s("7+OI"),_=s("LRne"),p=s("1G5W"),m=s("IzEk");const y=[[["caption"]],[["colgroup"],["col"]]],w=["caption","colgroup, col"];function b(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(i.c)(t),this._hasStickyChanged=e!==this._sticky}hasStickyChanged(){const t=this._hasStickyChanged;return this._hasStickyChanged=!1,t}resetStickyChanged(){this._hasStickyChanged=!1}}}const R=new n.t("CDK_TABLE");let g=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(n.Rb(n.O))},t.\u0275dir=n.Mb({type:t,selectors:[["","cdkCellDef",""]]}),t})(),C=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(n.Rb(n.O))},t.\u0275dir=n.Mb({type:t,selectors:[["","cdkHeaderCellDef",""]]}),t})(),k=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(n.Rb(n.O))},t.\u0275dir=n.Mb({type:t,selectors:[["","cdkFooterCellDef",""]]}),t})();class v{}const D=b(v);let S=(()=>{class t extends D{constructor(t){super(),this._table=t,this._stickyEnd=!1}get name(){return this._name}set name(t){this._setNameInput(t)}get stickyEnd(){return this._stickyEnd}set stickyEnd(t){const e=this._stickyEnd;this._stickyEnd=Object(i.c)(t),this._hasStickyChanged=e!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(t){t&&(this._name=t,this.cssClassFriendlyName=t.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return t.\u0275fac=function(e){return new(e||t)(n.Rb(R,8))},t.\u0275dir=n.Mb({type:t,selectors:[["","cdkColumnDef",""]],contentQueries:function(t,e,s){if(1&t&&(n.Kb(s,g,1),n.Kb(s,C,1),n.Kb(s,k,1)),2&t){let t;n.pc(t=n.fc())&&(e.cell=t.first),n.pc(t=n.fc())&&(e.headerCell=t.first),n.pc(t=n.fc())&&(e.footerCell=t.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[n.Eb([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),n.Cb]}),t})();class O{constructor(t,e){const s=e.nativeElement.classList;for(const i of t._columnCssClassName)s.add(i)}}let x=(()=>{class t extends O{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(n.Rb(S),n.Rb(n.m))},t.\u0275dir=n.Mb({type:t,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[n.Cb]}),t})(),E=(()=>{class t extends O{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(n.Rb(S),n.Rb(n.m))},t.\u0275dir=n.Mb({type:t,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:["role","gridcell",1,"cdk-cell"],features:[n.Cb]}),t})();class T{constructor(){this.tasks=[],this.endTasks=[]}}const I=new n.t("_COALESCED_STYLE_SCHEDULER");let N=(()=>{class t{constructor(t){this._ngZone=t,this._currentSchedule=null,this._destroyed=new h.a}schedule(t){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(t)}scheduleEnd(t){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(t)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new T,this._getScheduleObservable().pipe(Object(p.a)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const t=this._currentSchedule;this._currentSchedule=new T;for(const e of t.tasks)e();for(const e of t.endTasks)e()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?Object(d.a)(Promise.resolve(void 0)):this._ngZone.onStable.pipe(Object(m.a)(1))}}return t.\u0275fac=function(e){return new(e||t)(n.bc(n.C))},t.\u0275prov=n.Nb({token:t,factory:t.\u0275fac}),t})(),L=(()=>{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 A?t.headerCell.template:this instanceof P?t.footerCell.template:t.cell.template}}return t.\u0275fac=function(e){return new(e||t)(n.Rb(n.O),n.Rb(n.v))},t.\u0275dir=n.Mb({type:t,features:[n.Db]}),t})();class M extends L{}const j=b(M);let A=(()=>{class t extends j{constructor(t,e,s){super(t,e),this._table=s}ngOnChanges(t){super.ngOnChanges(t)}}return t.\u0275fac=function(e){return new(e||t)(n.Rb(n.O),n.Rb(n.v),n.Rb(R,8))},t.\u0275dir=n.Mb({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[n.Cb,n.Db]}),t})();class F extends L{}const H=b(F);let P=(()=>{class t extends H{constructor(t,e,s){super(t,e),this._table=s}ngOnChanges(t){super.ngOnChanges(t)}}return t.\u0275fac=function(e){return new(e||t)(n.Rb(n.O),n.Rb(n.v),n.Rb(R,8))},t.\u0275dir=n.Mb({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[n.Cb,n.Db]}),t})(),B=(()=>{class t extends L{constructor(t,e,s){super(t,e),this._table=s}}return t.\u0275fac=function(e){return new(e||t)(n.Rb(n.O),n.Rb(n.v),n.Rb(R,8))},t.\u0275dir=n.Mb({type:t,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[n.Cb]}),t})(),V=(()=>{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.Rb(n.S))},t.\u0275dir=n.Mb({type:t,selectors:[["","cdkCellOutlet",""]]}),t.mostRecentCellOutlet=null,t})(),Z=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Lb({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.Tb(0,0)},directives:[V],encapsulation:2}),t})(),z=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Lb({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.Tb(0,0)},directives:[V],encapsulation:2}),t})(),G=(()=>{class t{constructor(t){this.templateRef=t}}return t.\u0275fac=function(e){return new(e||t)(n.Rb(n.O))},t.\u0275dir=n.Mb({type:t,selectors:[["ng-template","cdkNoDataRow",""]]}),t})();const X=["top","bottom","left","right"];class U{constructor(t,e,s,i,o=!0,n=!0,r){this._isNativeHtmlTable=t,this._stickCellCss=e,this.direction=s,this._coalescedStyleScheduler=i,this._isBrowser=o,this._needsPositionStickyOnElement=n,this._positionListener=r,this._cachedCellWidths=[],this._borderCellCss={top:`${e}-border-elem-top`,bottom:`${e}-border-elem-bottom`,left:`${e}-border-elem-left`,right:`${e}-border-elem-right`}}clearStickyPositioning(t,e){const s=[];for(const i of t)if(i.nodeType===i.ELEMENT_NODE){s.push(i);for(let t=0;t{for(const t of s)this._removeStickyStyle(t,e)})}updateStickyColumns(t,e,s,i=!0){if(!t.length||!this._isBrowser||!e.some(t=>t)&&!s.some(t=>t))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const o=t[0],n=o.children.length,r=this._getCellWidths(o,i),a=this._getStickyStartColumnPositions(r,e),l=this._getStickyEndColumnPositions(r,s),c=e.lastIndexOf(!0),h=s.indexOf(!0);this._scheduleStyleChanges(()=>{const i="rtl"===this.direction,o=i?"right":"left",d=i?"left":"right";for(const r of t)for(let t=0;te[s]?t:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===h?[]:r.slice(h).map((t,e)=>s[e+h]?t:null).reverse()}))})}stickRows(t,e,s){if(!this._isBrowser)return;const i="bottom"===s?t.slice().reverse():t,o="bottom"===s?e.slice().reverse():e,n=[],r=[],a=[];for(let c=0,h=0;c{var t,e;for(let r=0;r{e.some(t=>!t)?this._removeStickyStyle(s,["bottom"]):this._addStickyStyle(s,"bottom",0,!1)})}_removeStickyStyle(t,e){for(const s of e)t.style[s]="",t.classList.remove(this._borderCellCss[s]);X.some(s=>-1===e.indexOf(s)&&t.style[s])?t.style.zIndex=this._getCalculatedZIndex(t):(t.style.zIndex="",this._needsPositionStickyOnElement&&(t.style.position=""),t.classList.remove(this._stickCellCss))}_addStickyStyle(t,e,s,i){t.classList.add(this._stickCellCss),i&&t.classList.add(this._borderCellCss[e]),t.style[e]=`${s}px`,t.style.zIndex=this._getCalculatedZIndex(t),this._needsPositionStickyOnElement&&(t.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(t){const e={top:100,bottom:10,left:1,right:1};let s=0;for(const i of X)t.style[i]&&(s+=e[i]);return s?`${s}`:""}_getCellWidths(t,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;const s=[],i=t.children;for(let o=0;o0;o--)e[o]&&(s[o]=i,i+=t[o]);return s}_scheduleStyleChanges(t){this._coalescedStyleScheduler?this._coalescedStyleScheduler.schedule(t):t()}}const K=new n.t("CDK_SPL");let W=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(n.Rb(n.S),n.Rb(n.m))},t.\u0275dir=n.Mb({type:t,selectors:[["","rowOutlet",""]]}),t})(),Y=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(n.Rb(n.S),n.Rb(n.m))},t.\u0275dir=n.Mb({type:t,selectors:[["","headerRowOutlet",""]]}),t})(),$=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(n.Rb(n.S),n.Rb(n.m))},t.\u0275dir=n.Mb({type:t,selectors:[["","footerRowOutlet",""]]}),t})(),J=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(n.Rb(n.S),n.Rb(n.m))},t.\u0275dir=n.Mb({type:t,selectors:[["","noDataRowOutlet",""]]}),t})(),Q=(()=>{class t{constructor(t,e,s,i,o,n,r,a,l,c,d){this._differs=t,this._changeDetectorRef=e,this._elementRef=s,this._dir=o,this._platform=r,this._viewRepeater=a,this._coalescedStyleScheduler=l,this._stickyPositioningListener=c,this._viewportRuler=d,this._onDestroy=new h.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._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.viewChange=new u.a({start:0,end:Number.MAX_VALUE}),i||this._elementRef.nativeElement.setAttribute("role","grid"),this._document=n,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(t){this._trackByFn=t}get dataSource(){return this._dataSource}set dataSource(t){this._dataSource!==t&&this._switchDataSource(t)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(t){this._multiTemplateDataRows=Object(i.c)(t),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(t){this._fixedLayout=Object(i.c)(t),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((t,e)=>this.trackBy?this.trackBy(e.dataIndex,e.data):e),this._viewportRuler&&this._viewportRuler.change().pipe(Object(p.a)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const t=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||t,this._forceRecalculateCellWidths=t,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.clear(),this._noDataRowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),Object(o.g)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const t=this._dataDiffer.diff(this._renderRows);if(!t)return void this._updateNoDataRow();const e=this._rowOutlet.viewContainer;this._viewRepeater?this._viewRepeater.applyChanges(t,e,(t,e,s)=>this._getEmbeddedViewArgs(t.item,s),t=>t.item.data,t=>{1===t.operation&&t.context&&this._renderCellTemplateForItem(t.record.item.rowDef,t.context)}):t.forEachOperation((t,s,i)=>{if(null==t.previousIndex){const e=t.item;this._renderRow(this._rowOutlet,e.rowDef,i,{$implicit:e.data})}else if(null==i)e.remove(s);else{const t=e.get(s);e.move(t,i)}}),this._updateRowIndexContext(),t.forEachIdentityChange(t=>{e.get(t.currentIndex).context.$implicit=t.item.data}),this._updateNoDataRow(),this.updateStickyColumnStyles()}addColumnDef(t){this._customColumnDefs.add(t)}removeColumnDef(t){this._customColumnDefs.delete(t)}addRowDef(t){this._customRowDefs.add(t)}removeRowDef(t){this._customRowDefs.delete(t)}addHeaderRowDef(t){this._customHeaderRowDefs.add(t),this._headerRowDefChanged=!0}removeHeaderRowDef(t){this._customHeaderRowDefs.delete(t),this._headerRowDefChanged=!0}addFooterRowDef(t){this._customFooterRowDefs.add(t),this._footerRowDefChanged=!0}removeFooterRowDef(t){this._customFooterRowDefs.delete(t),this._footerRowDefChanged=!0}setNoDataRow(t){this._customNoDataRow=t}updateStickyHeaderRowStyles(){const t=this._getRenderedRows(this._headerRowOutlet),e=this._elementRef.nativeElement.querySelector("thead");e&&(e.style.display=t.length?"":"none");const s=this._headerRowDefs.map(t=>t.sticky);this._stickyStyler.clearStickyPositioning(t,["top"]),this._stickyStyler.stickRows(t,s,"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 s=this._footerRowDefs.map(t=>t.sticky);this._stickyStyler.clearStickyPositioning(t,["bottom"]),this._stickyStyler.stickRows(t,s,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,s),this._footerRowDefs.forEach(t=>t.resetStickyChanged())}updateStickyColumnStyles(){const t=this._getRenderedRows(this._headerRowOutlet),e=this._getRenderedRows(this._rowOutlet),s=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...t,...e,...s],["left","right"]),this._stickyColumnStylesNeedReset=!1),t.forEach((t,e)=>{this._addStickyColumnStyles([t],this._headerRowDefs[e])}),this._rowDefs.forEach(t=>{const s=[];for(let i=0;i{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 s=0;s{const o=s&&s.has(i)?s.get(i):[];if(o.length){const t=o.shift();return t.dataIndex=e,t}return{data:t,rowDef:i,dataIndex:e}})}_cacheColumnDefs(){this._columnDefsByName.clear(),q(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(t=>{this._columnDefsByName.has(t.name),this._columnDefsByName.set(t.name,t)})}_cacheRowDefs(){this._headerRowDefs=q(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=q(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=q(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const t=this._rowDefs.filter(t=>!t.when);this._defaultRowDef=t[0]}_renderUpdatedColumns(){const t=(t,e)=>t||!!e.getColumnsDiff(),e=this._rowDefs.reduce(t,!1);e&&this._forceRenderDataRows();const s=this._headerRowDefs.reduce(t,!1);s&&this._forceRenderHeaderRows();const i=this._footerRowDefs.reduce(t,!1);return i&&this._forceRenderFooterRows(),e||s||i}_switchDataSource(t){this._data=[],Object(o.g)(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;Object(o.g)(this.dataSource)?t=this.dataSource.connect(this):Object(f.a)(this.dataSource)?t=this.dataSource:Array.isArray(this.dataSource)&&(t=Object(_.a)(this.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()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((t,e)=>this._renderRow(this._footerRowOutlet,t,e)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(t,e){const s=Array.from(e.columns||[]).map(t=>this._columnDefsByName.get(t)),i=s.map(t=>t.sticky),o=s.map(t=>t.stickyEnd);this._stickyStyler.updateStickyColumns(t,i,o,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(t){const e=[];for(let s=0;s!s.when||s.when(e,t));else{let i=this._rowDefs.find(s=>s.when&&s.when(e,t))||this._defaultRowDef;i&&s.push(i)}return s}_getEmbeddedViewArgs(t,e){return{templateRef:t.rowDef.template,context:{$implicit:t.data},index:e}}_renderRow(t,e,s,i={}){const o=t.viewContainer.createEmbeddedView(e.template,i,s);return this._renderCellTemplateForItem(e,i),o}_renderCellTemplateForItem(t,e){for(let s of this._getCellTemplates(t))V.mostRecentCellOutlet&&V.mostRecentCellOutlet._viewContainer.createEmbeddedView(s,e);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const t=this._rowOutlet.viewContainer;for(let e=0,s=t.length;e{const s=this._columnDefsByName.get(e);return t.extractCellTemplate(s)}):[]}_applyNativeTableSections(){const t=this._document.createDocumentFragment(),e=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const s of e){const e=this._document.createElement(s.tag);e.setAttribute("role","rowgroup");for(const t of s.outlets)e.appendChild(t.elementRef.nativeElement);t.appendChild(e)}this._elementRef.nativeElement.appendChild(t)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_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._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new U(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:Object(_.a)()).pipe(Object(p.a)(this._onDestroy)).subscribe(t=>{this._stickyStyler.direction=t,this.updateStickyColumnStyles()})}_getOwnDefs(t){return t.filter(t=>!t._table||t._table===this)}_updateNoDataRow(){const t=this._customNoDataRow||this._noDataRow;if(t){const e=0===this._rowOutlet.viewContainer.length;if(e!==this._isShowingNoDataRow){const s=this._noDataRowOutlet.viewContainer;e?s.createEmbeddedView(t.templateRef):s.clear(),this._isShowingNoDataRow=e}}}}return t.\u0275fac=function(e){return new(e||t)(n.Rb(n.v),n.Rb(n.i),n.Rb(n.m),n.cc("role"),n.Rb(r.b,8),n.Rb(c.d),n.Rb(a.a),n.Rb(o.f,8),n.Rb(I,8),n.Rb(K,12),n.Rb(l.e,8))},t.\u0275cmp=n.Lb({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(t,e,s){if(1&t&&(n.Kb(s,G,1),n.Kb(s,S,1),n.Kb(s,B,1),n.Kb(s,A,1),n.Kb(s,P,1)),2&t){let t;n.pc(t=n.fc())&&(e._noDataRow=t.first),n.pc(t=n.fc())&&(e._contentColumnDefs=t),n.pc(t=n.fc())&&(e._contentRowDefs=t),n.pc(t=n.fc())&&(e._contentHeaderRowDefs=t),n.pc(t=n.fc())&&(e._contentFooterRowDefs=t)}},viewQuery:function(t,e){if(1&t&&(n.Gc(W,3),n.Gc(Y,3),n.Gc($,3),n.Gc(J,3)),2&t){let t;n.pc(t=n.fc())&&(e._rowOutlet=t.first),n.pc(t=n.fc())&&(e._headerRowOutlet=t.first),n.pc(t=n.fc())&&(e._footerRowOutlet=t.first),n.pc(t=n.fc())&&(e._noDataRowOutlet=t.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(t,e){2&t&&n.Jb("cdk-table-fixed-layout",e.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},exportAs:["cdkTable"],features:[n.Eb([{provide:R,useExisting:t},{provide:o.f,useClass:o.d},{provide:I,useClass:N},{provide:K,useValue:null}])],ngContentSelectors:w,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,e){1&t&&(n.mc(y),n.lc(0),n.lc(1,1),n.Tb(2,0),n.Tb(3,1),n.Tb(4,2),n.Tb(5,3))},directives:[Y,W,J,$],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),t})();function q(t,e){return t.concat(Array.from(e))}let tt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.Pb({type:t}),t.\u0275inj=n.Ob({imports:[[l.d]]}),t})();var et=s("FKr1");s("VRyK"),s("itXk"),s("lJxs");const st=[[["caption"]],[["colgroup"],["col"]]],it=["caption","colgroup, col"];let ot=(()=>{class t extends Q{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return t.\u0275fac=function(e){return nt(e||t)},t.\u0275cmp=n.Lb({type:t,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(t,e){2&t&&n.Jb("mat-table-fixed-layout",e.fixedLayout)},exportAs:["matTable"],features:[n.Eb([{provide:o.f,useClass:o.d},{provide:Q,useExisting:t},{provide:R,useExisting:t},{provide:I,useClass:N}]),n.Cb],ngContentSelectors:it,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,e){1&t&&(n.mc(st),n.lc(0),n.lc(1,1),n.Tb(2,0),n.Tb(3,1),n.Tb(4,2),n.Tb(5,3))},directives:[Y,W,J,$],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: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:-webkit-sticky !important;position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}\n'],encapsulation:2}),t})();const nt=n.Zb(ot);let rt=(()=>{class t extends g{}return t.\u0275fac=function(e){return at(e||t)},t.\u0275dir=n.Mb({type:t,selectors:[["","matCellDef",""]],features:[n.Eb([{provide:g,useExisting:t}]),n.Cb]}),t})();const at=n.Zb(rt);let lt=(()=>{class t extends C{}return t.\u0275fac=function(e){return ct(e||t)},t.\u0275dir=n.Mb({type:t,selectors:[["","matHeaderCellDef",""]],features:[n.Eb([{provide:C,useExisting:t}]),n.Cb]}),t})();const ct=n.Zb(lt);let ht=(()=>{class t extends S{get name(){return this._name}set name(t){this._setNameInput(t)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return t.\u0275fac=function(e){return dt(e||t)},t.\u0275dir=n.Mb({type:t,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[n.Eb([{provide:S,useExisting:t},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),n.Cb]}),t})();const dt=n.Zb(ht);let ut=(()=>{class t extends x{}return t.\u0275fac=function(e){return ft(e||t)},t.\u0275dir=n.Mb({type:t,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[n.Cb]}),t})();const ft=n.Zb(ut);let _t=(()=>{class t extends E{}return t.\u0275fac=function(e){return pt(e||t)},t.\u0275dir=n.Mb({type:t,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[n.Cb]}),t})();const pt=n.Zb(_t);let mt=(()=>{class t extends A{}return t.\u0275fac=function(e){return yt(e||t)},t.\u0275dir=n.Mb({type:t,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[n.Eb([{provide:A,useExisting:t}]),n.Cb]}),t})();const yt=n.Zb(mt);let wt=(()=>{class t extends B{}return t.\u0275fac=function(e){return bt(e||t)},t.\u0275dir=n.Mb({type:t,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[n.Eb([{provide:B,useExisting:t}]),n.Cb]}),t})();const bt=n.Zb(wt);let Rt=(()=>{class t extends Z{}return t.\u0275fac=function(e){return gt(e||t)},t.\u0275cmp=n.Lb({type:t,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[n.Eb([{provide:Z,useExisting:t}]),n.Cb],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&n.Tb(0,0)},directives:[V],encapsulation:2}),t})();const gt=n.Zb(Rt);let Ct=(()=>{class t extends z{}return t.\u0275fac=function(e){return kt(e||t)},t.\u0275cmp=n.Lb({type:t,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[n.Eb([{provide:z,useExisting:t}]),n.Cb],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&n.Tb(0,0)},directives:[V],encapsulation:2}),t})();const kt=n.Zb(Ct);let vt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.Pb({type:t}),t.\u0275inj=n.Ob({imports:[[tt,et.e],et.e]}),t})()},Qu3c:function(t,e,s){"use strict";s.d(e,"a",function(){return v}),s.d(e,"b",function(){return S});var i=s("rDax"),o=s("u47x"),n=s("ofXK"),r=s("fXoL"),a=s("FKr1"),l=s("vxfF"),c=s("8LU1"),h=s("FtGj"),d=s("0MNC"),u=s("nLfN"),f=s("+rOU"),_=s("XNiG"),p=s("1G5W"),m=s("IzEk"),y=s("R0Ic"),w=s("cH1L");const b={tooltipState:Object(y.m)("state",[Object(y.j)("initial, void, hidden",Object(y.k)({opacity:0,transform:"scale(0)"})),Object(y.j)("visible",Object(y.k)({transform:"scale(1)"})),Object(y.l)("* => visible",Object(y.e)("200ms cubic-bezier(0, 0, 0.2, 1)",Object(y.g)([Object(y.k)({opacity:0,transform:"scale(0)",offset:0}),Object(y.k)({opacity:.5,transform:"scale(0.99)",offset:.5}),Object(y.k)({opacity:1,transform:"scale(1)",offset:1})]))),Object(y.l)("* => hidden",Object(y.e)("100ms cubic-bezier(0, 0, 0.2, 1)",Object(y.k)({opacity:0})))])},R=Object(u.f)({passive:!0}),g=new r.t("mat-tooltip-scroll-strategy"),C={provide:g,deps:[i.c],useFactory:function(t){return()=>t.scrollStrategies.reposition({scrollThrottle:20})}},k=new r.t("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let v=(()=>{class t{constructor(t,e,s,i,o,n,r,a,l,c,d,u){this._overlay=t,this._elementRef=e,this._scrollDispatcher=s,this._viewContainerRef=i,this._ngZone=o,this._platform=n,this._ariaDescriber=r,this._focusMonitor=a,this._dir=c,this._defaultOptions=d,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new _.a,this._handleKeydown=t=>{this._isTooltipVisible()&&t.keyCode===h.g&&!Object(h.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)),o.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(c.c)(t),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get message(){return this._message}set message(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=t?String(t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(Object(p.a)(this._destroyed)).subscribe(t=>{t?"keyboard"===t&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}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,s])=>{t.removeEventListener(e,s,R)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message,"tooltip"),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 f.c(D,this._viewContainerRef),this._tooltipInstance=e.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(Object(p.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(p.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(p.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(),s=this._getOverlayPosition();t.withPositions([Object.assign(Object.assign({},e.main),s.main),Object.assign(Object.assign({},e.fallback),s.fallback)])}_getOrigin(){const t=!this._dir||"ltr"==this._dir.value,e=this.position;let s;"above"==e||"below"==e?s={originX:"center",originY:"above"==e?"top":"bottom"}:"before"==e||"left"==e&&t||"right"==e&&!t?s={originX:"start",originY:"center"}:("after"==e||"right"==e&&t||"left"==e&&!t)&&(s={originX:"end",originY:"center"});const{x:i,y:o}=this._invertPosition(s.originX,s.originY);return{main:s,fallback:{originX:i,originY:o}}}_getOverlayPosition(){const t=!this._dir||"ltr"==this._dir.value,e=this.position;let s;"above"==e?s={overlayX:"center",overlayY:"bottom"}:"below"==e?s={overlayX:"center",overlayY:"top"}:"before"==e||"left"==e&&t||"right"==e&&!t?s={overlayX:"end",overlayY:"center"}:("after"==e||"right"==e&&t||"left"==e&&!t)&&(s={overlayX:"start",overlayY:"center"});const{x:i,y:o}=this._invertPosition(s.overlayX,s.overlayY);return{main:s,fallback:{overlayX:i,overlayY:o}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(Object(m.a)(1),Object(p.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}}_setupPointerEnterEventsIfNeeded(){!this._disabled&&this.message&&this._viewInitialized&&!this._passiveListeners.length&&(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const t=[];if(this._platformSupportsMouseEvents())t.push(["mouseleave",()=>this.hide()],["wheel",t=>this._wheelListener(t)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const e=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};t.push(["touchend",e],["touchcancel",e])}this._addListeners(t),this._passiveListeners.push(...t)}_addListeners(t){t.forEach(([t,e])=>{this._elementRef.nativeElement.addEventListener(t,e,R)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(t){if(this._isTooltipVisible()){const e=(this._document||document).elementFromPoint(t.clientX,t.clientY),s=this._elementRef.nativeElement;e===s||s.contains(e)||this.hide()}}_disableNativeGesturesIfNecessary(){const t=this.touchGestures;if("off"!==t){const e=this._elementRef.nativeElement,s=e.style;("on"===t||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName)&&(s.userSelect=s.msUserSelect=s.webkitUserSelect=s.MozUserSelect="none"),"on"!==t&&e.draggable||(s.webkitUserDrag="none"),s.touchAction="none",s.webkitTapHighlightColor="transparent"}}}return t.\u0275fac=function(e){return new(e||t)(r.Rb(i.c),r.Rb(r.m),r.Rb(l.c),r.Rb(r.S),r.Rb(r.C),r.Rb(u.a),r.Rb(o.c),r.Rb(o.e),r.Rb(g),r.Rb(w.b,8),r.Rb(k,8),r.Rb(n.d))},t.\u0275dir=r.Mb({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],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})(),D=(()=>{class t{constructor(t,e){this._changeDetectorRef=t,this._breakpointObserver=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new _.a,this._isHandset=this._breakpointObserver.observe(d.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}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)(r.Rb(r.i),r.Rb(d.a))},t.\u0275cmp=r.Lb({type:t,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(t,e){1&t&&r.ec("click",function(){return e._handleBodyInteraction()},!1,r.rc)("auxclick",function(){return e._handleBodyInteraction()},!1,r.rc),2&t&&r.xc("zoom","visible"===e._visibility?1:null)},decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(t,e){if(1&t&&(r.Xb(0,"div",0),r.ec("@state.start",function(){return e._animationStart()})("@state.done",function(t){return e._animationDone(t)}),r.jc(1,"async"),r.Cc(2),r.Wb()),2&t){let t=null;r.Jb("mat-tooltip-handset",null==(t=r.kc(1,5,e._isHandset))?null:t.matches),r.nc("ngClass",e.tooltipClass)("@state",e._visibility),r.Fb(2),r.Dc(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:[b.tooltipState]},changeDetection:0}),t})(),S=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.Pb({type:t}),t.\u0275inj=r.Ob({providers:[C],imports:[[o.a,n.c,i.f,a.e],a.e,l.b]}),t})()}}]);