-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path3-es2015.7344eb2c3d2e54074563.js
1 lines (1 loc) · 184 KB
/
3-es2015.7344eb2c3d2e54074563.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{"+0xr":function(t,e,i){"use strict";i.d(e,"a",function(){return F}),i.d(e,"b",function(){return y}),i.d(e,"c",function(){return R}),i.d(e,"d",function(){return L}),i.d(e,"e",function(){return x}),i.d(e,"f",function(){return Y}),i.d(e,"g",function(){return P}),i.d(e,"h",function(){return E}),i.d(e,"i",function(){return j}),i.d(e,"j",function(){return H}),i.d(e,"k",function(){return A}),i.d(e,"l",function(){return U}),i.d(e,"m",function(){return W}),i.d(e,"n",function(){return V}),i.d(e,"o",function(){return v}),i.d(e,"p",function(){return X}),i.d(e,"q",function(){return J}),i.d(e,"r",function(){return G});var n=i("f6nW"),a=i("0EQZ"),s=i("FKr1"),o=i("8LU1"),c=i("2Vo4"),r=i("XNiG"),l=i("quSY"),d=i("VRyK"),m=i("LRne"),h=i("itXk"),u=i("lJxs"),b=i("fXoL");const p=[[["caption"]],[["colgroup"],["col"]]],f=["caption","colgroup, col"];function g(t,e){if(1&t&&(b.ec(0,"th",3),b.Sc(1),b.dc()),2&t){const t=b.pc();b.Nc("text-align",t.justify),b.Mb(1),b.Uc(" ",t.headerText," ")}}function _(t,e){if(1&t&&(b.ec(0,"td",4),b.Sc(1),b.dc()),2&t){const t=e.$implicit,i=b.pc();b.Nc("text-align",i.justify),b.Mb(1),b.Uc(" ",i.dataAccessor(t,i.name)," ")}}let v=(()=>{class t extends n.q{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return t.\u0275fac=function(e){return O(e||t)},t.\u0275cmp=b.Sb({type:t,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(t,e){2&t&&b.Qb("mat-table-fixed-layout",e.fixedLayout)},exportAs:["matTable"],features:[b.Lb([{provide:a.g,useClass:a.e},{provide:n.q,useExisting:t},{provide:n.a,useExisting:t},{provide:n.x,useClass:n.y}]),b.Jb],ngContentSelectors:f,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,e){1&t&&(b.uc(p),b.tc(0),b.tc(1,1),b.ac(2,0),b.ac(3,1),b.ac(4,2),b.ac(5,3))},directives:[n.v,n.t,n.w,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: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;position:sticky}.mat-table-fixed-layout{table-layout:fixed}\n'],encapsulation:2}),t})();const O=b.gc(v);let y=(()=>{class t extends n.c{}return t.\u0275fac=function(e){return w(e||t)},t.\u0275dir=b.Tb({type:t,selectors:[["","matCellDef",""]],features:[b.Lb([{provide:n.c,useExisting:t}]),b.Jb]}),t})();const w=b.gc(y);let j=(()=>{class t extends n.k{}return t.\u0275fac=function(e){return k(e||t)},t.\u0275dir=b.Tb({type:t,selectors:[["","matHeaderCellDef",""]],features:[b.Lb([{provide:n.k,useExisting:t}]),b.Jb]}),t})();const k=b.gc(j);let x=(()=>{class t extends n.g{}return t.\u0275fac=function(e){return C(e||t)},t.\u0275dir=b.Tb({type:t,selectors:[["","matFooterCellDef",""]],features:[b.Lb([{provide:n.g,useExisting:t}]),b.Jb]}),t})();const C=b.gc(x);let R=(()=>{class t extends n.e{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 S(e||t)},t.\u0275dir=b.Tb({type:t,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[b.Lb([{provide:n.e,useExisting:t},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),b.Jb]}),t})();const S=b.gc(R);let E=(()=>{class t extends n.j{}return t.\u0275fac=function(e){return D(e||t)},t.\u0275dir=b.Tb({type:t,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[b.Jb]}),t})();const D=b.gc(E);let L=(()=>{class t extends n.f{}return t.\u0275fac=function(e){return M(e||t)},t.\u0275dir=b.Tb({type:t,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:["role","gridcell",1,"mat-footer-cell"],features:[b.Jb]}),t})();const M=b.gc(L);let F=(()=>{class t extends n.b{}return t.\u0275fac=function(e){return N(e||t)},t.\u0275dir=b.Tb({type:t,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[b.Jb]}),t})();const N=b.gc(F);let A=(()=>{class t extends n.m{}return t.\u0275fac=function(e){return T(e||t)},t.\u0275dir=b.Tb({type:t,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[b.Lb([{provide:n.m,useExisting:t}]),b.Jb]}),t})();const T=b.gc(A);let P=(()=>{class t extends n.i{}return t.\u0275fac=function(e){return I(e||t)},t.\u0275dir=b.Tb({type:t,selectors:[["","matFooterRowDef",""]],inputs:{columns:["matFooterRowDef","columns"],sticky:["matFooterRowDefSticky","sticky"]},features:[b.Lb([{provide:n.i,useExisting:t}]),b.Jb]}),t})();const I=b.gc(P);let V=(()=>{class t extends n.p{}return t.\u0275fac=function(e){return B(e||t)},t.\u0275dir=b.Tb({type:t,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[b.Lb([{provide:n.p,useExisting:t}]),b.Jb]}),t})();const B=b.gc(V);let H=(()=>{class t extends n.l{}return t.\u0275fac=function(e){return z(e||t)},t.\u0275cmp=b.Sb({type:t,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[b.Lb([{provide:n.l,useExisting:t}]),b.Jb],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&b.ac(0,0)},directives:[n.d],encapsulation:2}),t})();const z=b.gc(H);let Y=(()=>{class t extends n.h{}return t.\u0275fac=function(e){return Q(e||t)},t.\u0275cmp=b.Sb({type:t,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-footer-row"],exportAs:["matFooterRow"],features:[b.Lb([{provide:n.h,useExisting:t}]),b.Jb],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&b.ac(0,0)},directives:[n.d],encapsulation:2}),t})();const Q=b.gc(Y);let W=(()=>{class t extends n.o{}return t.\u0275fac=function(e){return q(e||t)},t.\u0275cmp=b.Sb({type:t,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[b.Lb([{provide:n.o,useExisting:t}]),b.Jb],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&b.ac(0,0)},directives:[n.d],encapsulation:2}),t})();const q=b.gc(W);let U=(()=>{class t extends n.n{}return t.\u0275fac=function(e){return Z(e||t)},t.\u0275dir=b.Tb({type:t,selectors:[["ng-template","matNoDataRow",""]],features:[b.Lb([{provide:n.n,useExisting:t}]),b.Jb]}),t})();const Z=b.gc(U);let G=(()=>{class t extends n.s{}return t.\u0275fac=function(e){return $(e||t)},t.\u0275cmp=b.Sb({type:t,selectors:[["mat-text-column"]],features:[b.Jb],decls:3,vars:0,consts:[["matColumnDef",""],["mat-header-cell","",3,"text-align",4,"matHeaderCellDef"],["mat-cell","",3,"text-align",4,"matCellDef"],["mat-header-cell",""],["mat-cell",""]],template:function(t,e){1&t&&(b.cc(0,0),b.Qc(1,g,2,3,"th",1),b.Qc(2,_,2,3,"td",2),b.bc())},directives:[R,j,y,E,F],encapsulation:2}),t})();const $=b.gc(G);let J=(()=>{class t{}return t.\u0275mod=b.Wb({type:t}),t.\u0275inj=b.Vb({factory:function(e){return new(e||t)},imports:[[n.r,s.j],s.j]}),t})();class X extends a.b{constructor(t=[]){super(),this._renderData=new c.a([]),this._filter=new c.a(""),this._internalPageChanges=new r.a,this._renderChangesSubscription=l.a.EMPTY,this.sortingDataAccessor=(t,e)=>{const i=t[e];if(Object(o.a)(i)){const t=Number(i);return t<9007199254740991?t:i}return i},this.sortData=(t,e)=>{const i=e.active,n=e.direction;return i&&""!=n?t.sort((t,e)=>{let a=this.sortingDataAccessor(t,i),s=this.sortingDataAccessor(e,i);const o=typeof a,c=typeof s;o!==c&&("number"===o&&(a+=""),"number"===c&&(s+=""));let r=0;return null!=a&&null!=s?a>s?r=1:a<s&&(r=-1):null!=a?r=1:null!=s&&(r=-1),r*("asc"==n?1:-1)}):t},this.filterPredicate=(t,e)=>{const i=Object.keys(t).reduce((e,i)=>e+t[i]+"\u25ec","").toLowerCase(),n=e.trim().toLowerCase();return-1!=i.indexOf(n)},this._data=new c.a(t),this._updateChangeSubscription()}get data(){return this._data.value}set data(t){this._data.next(t)}get filter(){return this._filter.value}set filter(t){this._filter.next(t)}get sort(){return this._sort}set sort(t){this._sort=t,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(t){this._paginator=t,this._updateChangeSubscription()}_updateChangeSubscription(){const t=this._sort?Object(d.a)(this._sort.sortChange,this._sort.initialized):Object(m.a)(null),e=this._paginator?Object(d.a)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):Object(m.a)(null),i=this._data,n=Object(h.b)([i,this._filter]).pipe(Object(u.a)(([t])=>this._filterData(t))),a=Object(h.b)([n,t]).pipe(Object(u.a)(([t])=>this._orderData(t))),s=Object(h.b)([a,e]).pipe(Object(u.a)(([t])=>this._pageData(t)));this._renderChangesSubscription.unsubscribe(),this._renderChangesSubscription=s.subscribe(t=>this._renderData.next(t))}_filterData(t){return this.filteredData=null==this.filter||""===this.filter?t:t.filter(t=>this.filterPredicate(t,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(t){return this.sort?this.sortData(t.slice(),this.sort):t}_pageData(t){if(!this.paginator)return t;const e=this.paginator.pageIndex*this.paginator.pageSize;return t.slice(e,e+this.paginator.pageSize)}_updatePaginator(t){Promise.resolve().then(()=>{const e=this.paginator;if(e&&(e.length=t,e.pageIndex>0)){const t=Math.ceil(e.length/e.pageSize)-1||0,i=Math.min(e.pageIndex,t);i!==e.pageIndex&&(e.pageIndex=i,this._internalPageChanges.next())}})}connect(){return this._renderData}disconnect(){}}},CqXF:function(t,e,i){"use strict";i.d(e,"a",function(){return a});var n=i("7o/Q");function a(t){return e=>e.lift(new s(t))}class s{constructor(t){this.value=t}call(t,e){return e.subscribe(new o(t,this.value))}}class o extends n.a{constructor(t,e){super(t),this.value=e}_next(t){this.destination.next(this.value)}}},EePR:function(t,e,i){"use strict";i.d(e,"a",function(){return at}),i.d(e,"b",function(){return it}),i.d(e,"c",function(){return bt}),i.d(e,"d",function(){return nt}),i.d(e,"e",function(){return dt}),i.d(e,"f",function(){return mt}),i.d(e,"g",function(){return pt}),i.d(e,"h",function(){return ht}),i.d(e,"i",function(){return ut}),i.d(e,"j",function(){return K}),i.d(e,"k",function(){return et}),i.d(e,"l",function(){return Q}),i.d(e,"m",function(){return Z}),i.d(e,"n",function(){return U});var n=i("fXoL"),a=i("XNiG"),s=i("mCNh"),o=i("itXk"),c=i("HDdC"),r=i("xgIS"),l=i("DH7j"),d=i("n6bG"),m=i("lJxs");function h(t,e,i){return i?h(t,e).pipe(Object(m.a)(t=>Object(l.a)(t)?i(...t):i(t))):new c.a(i=>{const n=(...t)=>i.next(1===t.length?t[0]:t);let a;try{a=t(n)}catch(s){return void i.error(s)}if(Object(d.a)(e))return()=>e(n,a)})}var u=i("VRyK"),b=i("/uUt"),p=i("JX91"),f=i("UXun"),g=i("pLZG"),_=i("3UWI"),v=i("tnsW"),O=i("Kj3r"),y=i("zP0r"),w=i("IzEk"),j=i("1G5W"),k=i("CqXF"),x=i("7o/Q"),C=i("D0XW");i("zx2A");const R={leading:!0,trailing:!1};class S{constructor(t,e,i,n){this.duration=t,this.scheduler=e,this.leading=i,this.trailing=n}call(t,e){return e.subscribe(new E(t,this.duration,this.scheduler,this.leading,this.trailing))}}class E extends x.a{constructor(t,e,i,n,a){super(t),this.duration=e,this.scheduler=i,this.leading=n,this.trailing=a,this._hasTrailingValue=!1,this._trailingValue=null}_next(t){this.throttled?this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(D,this.duration,{subscriber:this})),this.leading?this.destination.next(t):this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0))}_complete(){this._hasTrailingValue?(this.destination.next(this._trailingValue),this.destination.complete()):this.destination.complete()}clearThrottle(){const t=this.throttled;t&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),t.unsubscribe(),this.remove(t),this.throttled=null)}}function D(t){const{subscriber:e}=t;e.clearThrottle()}var L=i("w1tV"),M=i("l7GE"),F=i("ZUHj");class N{constructor(t,e){this.observables=t,this.project=e}call(t,e){return e.subscribe(new A(t,this.observables,this.project))}}class A extends M.a{constructor(t,e,i){super(t),this.observables=e,this.project=i,this.toRespond=[];const n=e.length;this.values=new Array(n);for(let a=0;a<n;a++)this.toRespond.push(a);for(let a=0;a<n;a++){let t=e[a];this.add(Object(F.a)(this,t,void 0,a))}}notifyNext(t,e,i){this.values[i]=e;const n=this.toRespond;if(n.length>0){const t=n.indexOf(i);-1!==t&&n.splice(t,1)}}notifyComplete(){}_next(t){if(0===this.toRespond.length){const e=[t,...this.values];this.project?this._tryProject(e):this.destination.next(e)}}_tryProject(t){let e;try{e=this.project.apply(this,t)}catch(i){return void this.destination.error(i)}this.destination.next(e)}}var T=i("cH1L"),P=i("FtGj"),I=i("rDax"),V=i("+rOU"),B=i("u47x"),H=i("ofXK"),z=i("3Pt+"),Y=i("vxfF");const Q=".cdk-cell, .mat-cell, td",W=".cdk-popover-edit-cell, .mat-popover-edit-cell",q=".cdk-row, .mat-row, tr";function U(t,e){return t.matches?t.matches(e):t.msMatchesSelector(e)}function Z(t,e){if(!(t instanceof Node))return null;let i=t;for(;null!=i&&!(i instanceof Element);)i=i.parentNode;return i&&(G?i.closest(e):function(t,e){let i=t;for(;null!=i&&!(i instanceof Element&&U(i,e));)i=i.parentNode;return i||null}(i,e))}const G=!!Element.prototype.closest;let $=(()=>{class t{constructor(t){this._ngZone=t,this.editing=new a.a,this.hovering=new a.a,this.focused=new a.a,this.allRows=new a.a,this.mouseMove=new a.a,this.disabledCells=new WeakMap,this._editRef=null,this._distinctUntilChanged=Object(b.a)(),this._startWithNull=Object(p.a)(null),this._distinctShare=Object(s.a)(this._distinctUntilChanged,Object(f.a)(1)),this._startWithNullDistinct=Object(s.a)(this._startWithNull,this._distinctUntilChanged),this.editingAndEnabled=this.editing.pipe(Object(g.a)(t=>null==t||!this.disabledCells.has(t)),Object(f.a)(1)),this.editingOrFocused=Object(o.b)([this.editingAndEnabled.pipe(Object(m.a)(t=>Z(t,q)),this._startWithNull),this.focused.pipe(this._startWithNull)]).pipe(Object(m.a)(([t,e])=>e||t),this._distinctUntilChanged,Object(_.a)(0),this._distinctUntilChanged,Object(f.a)(1)),this._rowsWithHoverContent=new WeakMap,this._currentlyEditing=null,this._hoveredContentStateDistinct=Object(o.b)([this._getFirstRowWithHoverContent(),this._getLastRowWithHoverContent(),this.editingOrFocused,this.hovering.pipe(Object(b.a)(),Object(v.a)(t=>this.mouseMove.pipe(Object(g.a)(e=>t===e),this._startWithNull,Object(O.a)(40))),this._startWithNullDistinct)]).pipe(Object(y.a)(1),Object(m.a)(J),Object(b.a)(X),this._enterZone(),Object(f.a)(1)),this._editingAndEnabledDistinct=this.editingAndEnabled.pipe(Object(b.a)(),this._enterZone(),Object(f.a)(1)),this._lastSeenRow=null,this._lastSeenRowHoverOrFocus=null,this._editingAndEnabledDistinct.subscribe(t=>{this._currentlyEditing=t})}get editRef(){return this._editRef}editingCell(t){let e=null;return this._editingAndEnabledDistinct.pipe(Object(m.a)(i=>i===(e||(e=Z(t,Q)))),this._distinctUntilChanged)}doneEditingCell(t){const e=Z(t,Q);this._currentlyEditing===e&&this.editing.next(null)}setActiveEditRef(t){this._editRef=t}unsetActiveEditRef(t){this._editRef===t&&(this._editRef=null)}registerRowWithHoverContent(t){this._rowsWithHoverContent.set(t,(this._rowsWithHoverContent.get(t)||0)+1)}deregisterRowWithHoverContent(t){const e=this._rowsWithHoverContent.get(t)||0;e<=1?this._rowsWithHoverContent.delete(t):this._rowsWithHoverContent.set(t,e-1)}hoverOrFocusOnRow(t){return t!==this._lastSeenRow&&(this._lastSeenRow=t,this._lastSeenRowHoverOrFocus=this._hoveredContentStateDistinct.pipe(Object(m.a)(e=>e.get(t)||0),this._distinctShare)),this._lastSeenRowHoverOrFocus}_enterZone(){return t=>new c.a(e=>t.subscribe({next:t=>this._ngZone.run(()=>e.next(t)),error:t=>e.error(t),complete:()=>e.complete()}))}_getFirstRowWithHoverContent(){return this._mapAllRowsToSingleRow(t=>{for(let e,i=0;e=t[i];i++)if(this._rowsWithHoverContent.has(e))return e;return null})}_getLastRowWithHoverContent(){return this._mapAllRowsToSingleRow(t=>{for(let e,i=t.length-1;e=t[i];i--)if(this._rowsWithHoverContent.has(e))return e;return null})}_mapAllRowsToSingleRow(t){return this.allRows.pipe(Object(m.a)(t),this._startWithNullDistinct)}}return t.\u0275fac=function(e){return new(e||t)(n.ic(n.I))},t.\u0275prov=n.Ub({token:t,factory:t.\u0275fac}),t})();function J([t,e,i,n]){const a=new Map;for(const s of[t,e,i&&i.previousElementSibling,i&&i.nextElementSibling])s&&a.set(s,1);for(const s of[i,n])s&&a.set(s,2);return a}function X(t,e){if(t.size!==e.size)return!1;for(const i of Array.from(t.keys()))if(e.get(i)!==t.get(i))return!1;return!0}let K=(()=>{class t{constructor(t,e,i){this._form=t,this._editEventDispatcher=e,this._ngZone=i,this._finalValueSubject=new a.a,this.finalValue=this._finalValueSubject,this._blurredSubject=new a.a,this.blurred=this._blurredSubject,this._editEventDispatcher.setActiveEditRef(this)}init(t){this._ngZone.onStable.pipe(Object(w.a)(1)).subscribe(()=>{this.updateRevertValue(),t&&this.reset(t)})}ngOnDestroy(){this._editEventDispatcher.unsetActiveEditRef(this),this._finalValueSubject.next(this._form.value),this._finalValueSubject.complete()}isValid(){return this._form.valid}updateRevertValue(){this._revertFormValue=this._form.value}close(){this._editEventDispatcher.editing.next(null)}blur(){this._blurredSubject.next()}reset(t){this._form.reset(t||this._revertFormValue)}}return t.\u0275fac=function(e){return new(e||t)(n.ic(z.b,2),n.ic($),n.ic(n.I))},t.\u0275prov=n.Ub({token:t,factory:t.\u0275fac}),t})(),tt=(()=>{class t{constructor(t){this.directionality=t,this.keyObserver={next:t=>this.handleKeyboardEvent(t)}}moveFocusHorizontally(t,e){const i=Array.from(Z(t,"table, cdk-table, mat-table").querySelectorAll(W)),n=i.indexOf(t)+e;i[n]&&i[n].focus()}moveFocusVertically(t,e){const i=Z(t,q),n=Array.from(Z(i,"table, cdk-table, mat-table").querySelectorAll(q)),a=n.indexOf(i),s=Array.from(i.querySelectorAll(W)).indexOf(t),o=a+e;if(n[o]){const t=Array.from(n[o].querySelectorAll(W));t[s]&&t[s].focus()}}handleKeyboardEvent(t){const e=Z(t.target,W);if(e){switch(t.keyCode){case P.q:this.moveFocusVertically(e,-1);break;case P.e:this.moveFocusVertically(e,1);break;case P.j:this.moveFocusHorizontally(e,"ltr"===this.directionality.value?-1:1);break;case P.n:this.moveFocusHorizontally(e,"ltr"===this.directionality.value?1:-1);break;default:return}t.preventDefault()}}}return t.\u0275fac=function(e){return new(e||t)(n.ic(T.c))},t.\u0275prov=Object(n.Ub)({factory:function(){return new t(Object(n.ic)(T.c))},token:t,providedIn:"root"}),t})();class et{constructor(){this._formValues=new WeakMap}for(t){const e=this._formValues;let i=e.get(t);return i||(i={},e.set(t,i)),i}}let it=(()=>{class t{constructor(t,e){this.elementRef=t,this.editRef=e,this.destroyed=new a.a,this.clickOutBehavior="close",this.preservedFormValueChange=new n.s,this.ignoreSubmitUnlessValid=!0}ngOnInit(){this.editRef.init(this.preservedFormValue),this.editRef.finalValue.subscribe(this.preservedFormValueChange),this.editRef.blurred.subscribe(()=>this._handleBlur())}ngOnDestroy(){this.destroyed.next(),this.destroyed.complete()}handleFormSubmit(){this.ignoreSubmitUnlessValid&&!this.editRef.isValid()||(this.editRef.updateRevertValue(),this.editRef.close())}close(){this.editRef.close()}handlePossibleClickOut(t){if(!Z(t.target,".cdk-edit-pane, .mat-edit-pane"))switch(this.clickOutBehavior){case"submit":this._triggerFormSubmit(),this.editRef.close();break;case"close":this.editRef.close()}}_handleKeydown(t){"Escape"!==t.key||Object(P.t)(t)||(this.close(),t.preventDefault())}_handleBlur(){"submit"===this.clickOutBehavior&&this._triggerFormSubmit()}_triggerFormSubmit(){this.elementRef.nativeElement.dispatchEvent(new Event("submit"))}}return t.\u0275fac=function(e){return new(e||t)(n.Yb(n.p),n.Yb(K))},t.\u0275dir=n.Tb({type:t,selectors:[["form","cdkEditControl",""]],hostBindings:function(t,e){1&t&&n.lc("ngSubmit",function(){return e.handleFormSubmit()})("click",function(t){return e.handlePossibleClickOut(t)},!1,n.Ec)("keydown",function(t){return e._handleKeydown(t)})},inputs:{clickOutBehavior:["cdkEditControlClickOutBehavior","clickOutBehavior"],preservedFormValue:["cdkEditControlPreservedFormValue","preservedFormValue"],ignoreSubmitUnlessValid:["cdkEditControlIgnoreSubmitUnlessValid","ignoreSubmitUnlessValid"]},outputs:{preservedFormValueChange:"cdkEditControlPreservedFormValueChange"},features:[n.Lb([K])]}),t})(),nt=(()=>{class t{constructor(t){this.editRef=t,this.type="button"}revertEdit(){this.editRef.reset()}}return t.\u0275fac=function(e){return new(e||t)(n.Yb(K))},t.\u0275dir=n.Tb({type:t,selectors:[["button","cdkEditRevert",""]],hostAttrs:["type","button"],hostBindings:function(t,e){1&t&&n.lc("click",function(){return e.revertEdit()})},inputs:{type:"type"}}),t})(),at=(()=>{class t{constructor(t,e){this.elementRef=t,this.editRef=e;const i=t.nativeElement;"BUTTON"!==i.nodeName||i.getAttribute("type")||i.setAttribute("type","button")}closeEdit(){this.editRef.close()}}return t.\u0275fac=function(e){return new(e||t)(n.Yb(n.p),n.Yb(K))},t.\u0275dir=n.Tb({type:t,selectors:[["","cdkEditClose",""]],hostBindings:function(t,e){1&t&&n.lc("click",function(){return e.closeEdit()})("keydown.enter",function(){return e.closeEdit()})("keydown.space",function(){return e.closeEdit()})}}),t})(),st=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=n.Ub({token:t,factory:t.\u0275fac}),t})(),ot=(()=>{class t extends st{constructor(t,e){super(),this.direction=t,this.overlay=e}positionStrategyForCells(t){return this.overlay.position().flexibleConnectedTo(t[0]).withGrowAfterOpen().withPush().withViewportMargin(16).withPositions([{originX:"start",originY:"top",overlayX:"start",overlayY:"top"}])}sizeConfigForCells(t){if(0===t.length)return{};if(1===t.length)return{width:t[0].getBoundingClientRect().width};let e,i;return"ltr"===this.direction.value?(e=t[0],i=t[t.length-1]):(i=t[0],e=t[t.length-1]),{width:i.getBoundingClientRect().right-e.getBoundingClientRect().left}}}return t.\u0275fac=function(e){return new(e||t)(n.ic(T.c),n.ic(I.c))},t.\u0275prov=n.Ub({token:t,factory:t.\u0275fac}),t})(),ct=(()=>{class t{constructor(t,e,i,n,a,s,o,c,r){this.directionality=t,this.editEventDispatcher=e,this.focusDispatcher=i,this.focusTrapFactory=n,this.ngZone=a,this.overlay=s,this.positionFactory=o,this.scrollDispatcher=c,this.viewportRuler=r}}return t.\u0275fac=function(e){return new(e||t)(n.ic(T.c),n.ic($),n.ic(tt),n.ic(B.j),n.ic(n.I),n.ic(I.c),n.ic(st),n.ic(Y.g),n.ic(Y.j))},t.\u0275prov=n.Ub({token:t,factory:t.\u0275fac}),t})();class rt extends B.i{constructor(t,e,i,n){super(t,e,i,n,!0),this._escapeSubject=new a.a,this.startAnchorListener=()=>(this._escapeSubject.next(0),!0),this.endAnchorListener=()=>(this._escapeSubject.next(1),!0),this.attachAnchors()}escapes(){return this._escapeSubject}}let lt=(()=>{class t{constructor(t,e,i){this._checker=t,this._ngZone=e,this._document=i}create(t){return new rt(t,this._checker,this._ngZone,this._document)}}return t.\u0275fac=function(e){return new(e||t)(n.ic(B.l),n.ic(n.I),n.ic(H.e))},t.\u0275prov=Object(n.Ub)({factory:function(){return new t(Object(n.ic)(B.l),Object(n.ic)(n.I),Object(n.ic)(H.e))},token:t,providedIn:"root"}),t})(),dt=(()=>{class t{constructor(t,e,i,n){this.elementRef=t,this.editEventDispatcher=e,this.focusDispatcher=i,this.ngZone=n,this.destroyed=new a.a}ngAfterViewInit(){this._listenForTableEvents()}ngOnDestroy(){this.destroyed.next(),this.destroyed.complete()}_listenForTableEvents(){const t=this.elementRef.nativeElement,e=t=>Object(m.a)(e=>Z(e.target,t));this.ngZone.runOutsideAngular(()=>{Object(r.a)(t,"mouseover").pipe(e(q),Object(j.a)(this.destroyed)).subscribe(this.editEventDispatcher.hovering),Object(r.a)(t,"mouseleave").pipe(Object(k.a)(null),Object(j.a)(this.destroyed)).subscribe(this.editEventDispatcher.hovering),Object(r.a)(t,"mousemove").pipe(function(t,e=C.a,i=R){return n=>n.lift(new S(t,e,i.leading,i.trailing))}(10),e(q),Object(j.a)(this.destroyed)).subscribe(this.editEventDispatcher.mouseMove),h(e=>t.addEventListener("focus",e,!0),e=>t.removeEventListener("focus",e,!0)).pipe(e(q),Object(L.a)(),Object(j.a)(this.destroyed)).subscribe(this.editEventDispatcher.focused),Object(u.a)(h(e=>t.addEventListener("blur",e,!0),e=>t.removeEventListener("blur",e,!0)),Object(r.a)(t,"keydown").pipe(Object(g.a)(t=>"Escape"===t.key))).pipe(Object(k.a)(null),Object(L.a)(),Object(j.a)(this.destroyed)).subscribe(this.editEventDispatcher.focused),this.ngZone.onStable.pipe(function(...t){return e=>{let i;return"function"==typeof t[t.length-1]&&(i=t.pop()),e.lift(new N(t,i))}}(this.editEventDispatcher.editingOrFocused),Object(g.a)(([t,e])=>null==e),Object(m.a)(()=>t.querySelectorAll(q)),Object(L.a)(),Object(j.a)(this.destroyed)).subscribe(this.editEventDispatcher.allRows),Object(r.a)(t,"keydown").pipe(Object(g.a)(t=>"Enter"===t.key),e(Q),Object(j.a)(this.destroyed)).subscribe(this.editEventDispatcher.editing),Object(r.a)(t,"keydown").pipe(Object(j.a)(this.destroyed)).subscribe(this.focusDispatcher.keyObserver)})}}return t.\u0275fac=function(e){return new(e||t)(n.Yb(n.p),n.Yb($),n.Yb(tt),n.Yb(n.I))},t.\u0275dir=n.Tb({type:t,selectors:[["table","editable",""],["cdk-table","editable",""],["mat-table","editable",""]],features:[n.Lb([$,ct])]}),t})(),mt=(()=>{class t{constructor(t,e,i){this.services=t,this.elementRef=e,this.viewContainerRef=i,this.template=null,this._colspan={},this._disabled=!1,this.destroyed=new a.a}get colspan(){return this._colspan}set colspan(t){this._colspan=t,this.overlayRef&&(this.overlayRef.updatePositionStrategy(this._getPositionStrategy()),this.overlayRef.hasAttached()&&this._updateOverlaySize())}get disabled(){return this._disabled}set disabled(t){this._disabled=t,t?(this.services.editEventDispatcher.doneEditingCell(this.elementRef.nativeElement),this.services.editEventDispatcher.disabledCells.set(this.elementRef.nativeElement,!0)):this.services.editEventDispatcher.disabledCells.delete(this.elementRef.nativeElement)}ngAfterViewInit(){this._startListeningToEditEvents()}ngOnDestroy(){this.destroyed.next(),this.destroyed.complete(),this.focusTrap&&(this.focusTrap.destroy(),this.focusTrap=void 0),this.overlayRef&&this.overlayRef.dispose()}initFocusTrap(){this.focusTrap=this.services.focusTrapFactory.create(this.overlayRef.overlayElement)}closeEditOverlay(){this.services.editEventDispatcher.doneEditingCell(this.elementRef.nativeElement)}panelClass(){return"cdk-edit-pane"}_startListeningToEditEvents(){this.services.editEventDispatcher.editingCell(this.elementRef.nativeElement).pipe(Object(j.a)(this.destroyed)).subscribe(t=>{t&&this.template?(this.overlayRef||this._createEditOverlay(),this._showEditOverlay()):this.overlayRef&&(this._maybeReturnFocusToCell(),this.overlayRef.detach())})}_createEditOverlay(){this.overlayRef=this.services.overlay.create({disposeOnNavigation:!0,panelClass:this.panelClass(),positionStrategy:this._getPositionStrategy(),scrollStrategy:this.services.overlay.scrollStrategies.reposition(),direction:this.services.directionality}),this.initFocusTrap(),this.overlayRef.overlayElement.setAttribute("aria-role","dialog"),this.overlayRef.detachments().subscribe(()=>this.closeEditOverlay())}_showEditOverlay(){this.overlayRef.attach(new V.i(this.template,this.viewContainerRef,{$implicit:this.context})),this.services.ngZone.runOutsideAngular(()=>{setTimeout(()=>{this.focusTrap.focusInitialElement()})}),Object(u.a)(this.services.scrollDispatcher.scrolled(),this.services.viewportRuler.change()).pipe(Object(p.a)(null),Object(j.a)(Object(u.a)(this.overlayRef.detachments(),this.destroyed))).subscribe(()=>{this._updateOverlaySize()})}_getOverlayCells(){const t=Z(this.elementRef.nativeElement,Q);if(!this._colspan.before&&!this._colspan.after)return[t];const e=Z(this.elementRef.nativeElement,q),i=Array.from(e.querySelectorAll(Q)),n=i.indexOf(t);return i.slice(n-(this._colspan.before||0),n+(this._colspan.after||0)+1)}_getPositionStrategy(){return this.services.positionFactory.positionStrategyForCells(this._getOverlayCells())}_updateOverlaySize(){this.overlayRef.updateSize(this.services.positionFactory.sizeConfigForCells(this._getOverlayCells()))}_maybeReturnFocusToCell(){Z(document.activeElement,".cdk-edit-pane, .mat-edit-pane")===this.overlayRef.overlayElement&&this.elementRef.nativeElement.focus()}}return t.\u0275fac=function(e){return new(e||t)(n.Yb(ct),n.Yb(n.p),n.Yb(n.ab))},t.\u0275dir=n.Tb({type:t,selectors:[["","cdkPopoverEdit","",3,"cdkPopoverEditTabOut",""]],hostAttrs:[1,"cdk-popover-edit-cell"],hostVars:2,hostBindings:function(t,e){2&t&&n.Nb("tabindex",e.disabled?null:0)("aria-haspopup",!e.disabled)},inputs:{template:["cdkPopoverEdit","template"],context:["cdkPopoverEditContext","context"],colspan:["cdkPopoverEditColspan","colspan"],disabled:["cdkPopoverEditDisabled","disabled"]}}),t})(),ht=(()=>{class t extends mt{constructor(t,e,i,n){super(i,t,e),this.focusEscapeNotifierFactory=n}initFocusTrap(){this.focusTrap=this.focusEscapeNotifierFactory.create(this.overlayRef.overlayElement),this.focusTrap.escapes().pipe(Object(j.a)(this.destroyed)).subscribe(t=>{this.services.editEventDispatcher.editRef&&this.services.editEventDispatcher.editRef.blur(),this.services.focusDispatcher.moveFocusHorizontally(Z(this.elementRef.nativeElement,Q),0===t?-1:1),this.closeEditOverlay()})}}return t.\u0275fac=function(e){return new(e||t)(n.Yb(n.p),n.Yb(n.ab),n.Yb(ct),n.Yb(lt))},t.\u0275dir=n.Tb({type:t,selectors:[["","cdkPopoverEdit","","cdkPopoverEditTabOut",""]],hostAttrs:[1,"cdk-popover-edit-cell"],hostVars:2,hostBindings:function(t,e){2&t&&n.Nb("tabindex",e.disabled?null:0)("aria-haspopup",!e.disabled)},inputs:{template:["cdkPopoverEdit","template"],context:["cdkPopoverEditContext","context"],colspan:["cdkPopoverEditColspan","colspan"],disabled:["cdkPopoverEditDisabled","disabled"]},features:[n.Jb]}),t})(),ut=(()=>{class t{constructor(t,e,i,n){this.services=t,this.elementRef=e,this.templateRef=i,this.viewContainerRef=n,this.destroyed=new a.a,this.viewRef=null}ngAfterViewInit(){this._row=Z(this.elementRef.nativeElement,q),this.services.editEventDispatcher.registerRowWithHoverContent(this._row),this._listenForHoverAndFocusEvents()}ngOnDestroy(){this.destroyed.next(),this.destroyed.complete(),this.viewRef&&this.viewRef.destroy(),this._row&&this.services.editEventDispatcher.deregisterRowWithHoverContent(this._row)}initElement(t){}makeElementHiddenButFocusable(t){t.style.opacity="0"}makeElementVisible(t){t.style.opacity=""}_listenForHoverAndFocusEvents(){this.services.editEventDispatcher.hoverOrFocusOnRow(this._row).pipe(Object(j.a)(this.destroyed)).subscribe(t=>{2===t||1===t?(this.viewRef?-1===this.viewContainerRef.indexOf(this.viewRef)&&(this.viewContainerRef.insert(this.viewRef),this.viewRef.markForCheck()):(this.viewRef=this.viewContainerRef.createEmbeddedView(this.templateRef,{}),this.initElement(this.viewRef.rootNodes[0]),this.viewRef.markForCheck()),2===t?this.makeElementVisible(this.viewRef.rootNodes[0]):this.makeElementHiddenButFocusable(this.viewRef.rootNodes[0])):this.viewRef&&this.viewContainerRef.detach(this.viewContainerRef.indexOf(this.viewRef))})}}return t.\u0275fac=function(e){return new(e||t)(n.Yb(ct),n.Yb(n.p),n.Yb(n.V),n.Yb(n.ab))},t.\u0275dir=n.Tb({type:t,selectors:[["","cdkRowHoverContent",""]]}),t})(),bt=(()=>{class t{constructor(t,e){this.elementRef=t,this.editEventDispatcher=e;const i=t.nativeElement;"BUTTON"!==i.nodeName||i.getAttribute("type")||i.setAttribute("type","button")}openEdit(t){this.editEventDispatcher.editing.next(Z(this.elementRef.nativeElement,Q)),t.stopPropagation()}}return t.\u0275fac=function(e){return new(e||t)(n.Yb(n.p),n.Yb($))},t.\u0275dir=n.Tb({type:t,selectors:[["","cdkEditOpen",""]],hostBindings:function(t,e){1&t&&n.lc("click",function(t){return e.openEdit(t)})}}),t})(),pt=(()=>{class t{}return t.\u0275mod=n.Wb({type:t}),t.\u0275inj=n.Vb({factory:function(e){return new(e||t)},providers:[{provide:st,useClass:ot}],imports:[[I.f]]}),t})()},MutI:function(t,e,i){"use strict";i.d(e,"a",function(){return L}),i.d(e,"b",function(){return F}),i.d(e,"c",function(){return A}),i.d(e,"d",function(){return Q}),i.d(e,"e",function(){return z}),i.d(e,"f",function(){return N}),i.d(e,"g",function(){return E}),i.d(e,"h",function(){return Y});var n=i("ofXK"),a=i("fXoL"),s=i("FKr1"),o=i("8LU1"),c=i("XNiG"),r=i("1G5W"),l=i("JX91"),d=i("u47x"),m=i("0EQZ"),h=i("FtGj"),u=i("3Pt+"),b=i("f0Cb");const p=["*"],f='.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n',g=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],_=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],v=["text"];function O(t,e){if(1&t&&a.Zb(0,"mat-pseudo-checkbox",5),2&t){const t=a.pc();a.vc("state",t.selected?"checked":"unchecked")("disabled",t.disabled)}}const y=["*",[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]]],w=["*","[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]"];class j{}const k=Object(s.B)(Object(s.A)(j));class x{}const C=Object(s.A)(x),R=new a.x("MatList"),S=new a.x("MatNavList");let E=(()=>{class t extends k{constructor(){super(...arguments),this._stateChanges=new c.a}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return t.\u0275fac=function(e){return D(e||t)},t.\u0275cmp=a.Sb({type:t,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-nav-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matNavList"],features:[a.Lb([{provide:S,useExisting:t}]),a.Jb,a.Kb],ngContentSelectors:p,decls:1,vars:0,template:function(t,e){1&t&&(a.uc(),a.tc(0))},styles:[f],encapsulation:2,changeDetection:0}),t})();const D=a.gc(E);let L=(()=>{class t extends k{constructor(t){super(),this._elementRef=t,this._stateChanges=new c.a,"action-list"===this._getListType()&&t.nativeElement.classList.add("mat-action-list")}_getListType(){const t=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===t?"list":"mat-action-list"===t?"action-list":null}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return t.\u0275fac=function(e){return new(e||t)(a.Yb(a.p))},t.\u0275cmp=a.Sb({type:t,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[a.Lb([{provide:R,useExisting:t}]),a.Jb,a.Kb],ngContentSelectors:p,decls:1,vars:0,template:function(t,e){1&t&&(a.uc(),a.tc(0))},styles:[f],encapsulation:2,changeDetection:0}),t})(),M=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Tb({type:t,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),t})(),F=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Tb({type:t,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),t})(),N=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Tb({type:t,selectors:[["","mat-subheader",""],["","matSubheader",""]],hostAttrs:[1,"mat-subheader"]}),t})(),A=(()=>{class t extends C{constructor(t,e,i,n){super(),this._element=t,this._isInteractiveList=!1,this._destroyed=new c.a,this._disabled=!1,this._isInteractiveList=!!(i||n&&"action-list"===n._getListType()),this._list=i||n;const a=this._getHostElement();"button"!==a.nodeName.toLowerCase()||a.hasAttribute("type")||a.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe(Object(r.a)(this._destroyed)).subscribe(()=>{e.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(t){this._disabled=Object(o.c)(t)}ngAfterContentInit(){Object(s.F)(this._lines,this._element)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_isRippleDisabled(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}_getHostElement(){return this._element.nativeElement}}return t.\u0275fac=function(e){return new(e||t)(a.Yb(a.p),a.Yb(a.i),a.Yb(S,8),a.Yb(R,8))},t.\u0275cmp=a.Sb({type:t,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(t,e,i){if(1&t&&(a.Rb(i,M,!0),a.Rb(i,F,!0),a.Rb(i,s.k,!0)),2&t){let t;a.Bc(t=a.mc())&&(e._avatar=t.first),a.Bc(t=a.mc())&&(e._icon=t.first),a.Bc(t=a.mc())&&(e._lines=t)}},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(t,e){2&t&&a.Qb("mat-list-item-disabled",e.disabled)("mat-list-item-avatar",e._avatar||e._icon)("mat-list-item-with-avatar",e._avatar||e._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[a.Jb],ngContentSelectors:_,decls:6,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(t,e){1&t&&(a.uc(g),a.ec(0,"div",0),a.Zb(1,"div",1),a.tc(2),a.ec(3,"div",2),a.tc(4,1),a.dc(),a.tc(5,2),a.dc()),2&t&&(a.Mb(1),a.vc("matRippleTrigger",e._getHostElement())("matRippleDisabled",e._isRippleDisabled()))},directives:[s.t],encapsulation:2,changeDetection:0}),t})();class T{}const P=Object(s.A)(T);class I{}const V=Object(s.A)(I),B={provide:u.l,useExisting:Object(a.eb)(()=>Y),multi:!0};class H{constructor(t,e,i){this.source=t,this.option=e,this.options=i}}let z=(()=>{class t extends V{constructor(t,e,i){super(),this._element=t,this._changeDetector=e,this.selectionList=i,this._selected=!1,this._disabled=!1,this._hasFocus=!1,this.checkboxPosition="after",this._inputsInitialized=!1}get color(){return this._color||this.selectionList.color}set color(t){this._color=t}get value(){return this._value}set value(t){this.selected&&!this.selectionList.compareWith(t,this.value)&&this._inputsInitialized&&(this.selected=!1),this._value=t}get disabled(){return this._disabled||this.selectionList&&this.selectionList.disabled}set disabled(t){const e=Object(o.c)(t);e!==this._disabled&&(this._disabled=e,this._changeDetector.markForCheck())}get selected(){return this.selectionList.selectedOptions.isSelected(this)}set selected(t){const e=Object(o.c)(t);e!==this._selected&&(this._setSelected(e),this.selectionList._reportValueChange())}ngOnInit(){const t=this.selectionList;t._value&&t._value.some(e=>t.compareWith(e,this._value))&&this._setSelected(!0);const e=this._selected;Promise.resolve().then(()=>{(this._selected||e)&&(this.selected=!0,this._changeDetector.markForCheck())}),this._inputsInitialized=!0}ngAfterContentInit(){Object(s.F)(this._lines,this._element)}ngOnDestroy(){this.selected&&Promise.resolve().then(()=>{this.selected=!1});const t=this._hasFocus,e=this.selectionList._removeOptionFromList(this);t&&e&&e.focus()}toggle(){this.selected=!this.selected}focus(){this._element.nativeElement.focus()}getLabel(){return this._text&&this._text.nativeElement.textContent||""}_isRippleDisabled(){return this.disabled||this.disableRipple||this.selectionList.disableRipple}_handleClick(){this.disabled||!this.selectionList.multiple&&this.selected||(this.toggle(),this.selectionList._emitChangeEvent([this]))}_handleFocus(){this.selectionList._setFocusedOption(this),this._hasFocus=!0}_handleBlur(){this.selectionList._onTouched(),this._hasFocus=!1}_getHostElement(){return this._element.nativeElement}_setSelected(t){return t!==this._selected&&(this._selected=t,t?this.selectionList.selectedOptions.select(this):this.selectionList.selectedOptions.deselect(this),this._changeDetector.markForCheck(),!0)}_markForCheck(){this._changeDetector.markForCheck()}}return t.\u0275fac=function(e){return new(e||t)(a.Yb(a.p),a.Yb(a.i),a.Yb(Object(a.eb)(()=>Y)))},t.\u0275cmp=a.Sb({type:t,selectors:[["mat-list-option"]],contentQueries:function(t,e,i){if(1&t&&(a.Rb(i,M,!0),a.Rb(i,F,!0),a.Rb(i,s.k,!0)),2&t){let t;a.Bc(t=a.mc())&&(e._avatar=t.first),a.Bc(t=a.mc())&&(e._icon=t.first),a.Bc(t=a.mc())&&(e._lines=t)}},viewQuery:function(t,e){if(1&t&&a.Wc(v,!0),2&t){let t;a.Bc(t=a.mc())&&(e._text=t.first)}},hostAttrs:["role","option",1,"mat-list-item","mat-list-option","mat-focus-indicator"],hostVars:15,hostBindings:function(t,e){1&t&&a.lc("focus",function(){return e._handleFocus()})("blur",function(){return e._handleBlur()})("click",function(){return e._handleClick()}),2&t&&(a.Nb("aria-selected",e.selected)("aria-disabled",e.disabled)("tabindex",-1),a.Qb("mat-list-item-disabled",e.disabled)("mat-list-item-with-avatar",e._avatar||e._icon)("mat-primary","primary"===e.color)("mat-accent","primary"!==e.color&&"warn"!==e.color)("mat-warn","warn"===e.color)("mat-list-single-selected-option",e.selected&&!e.selectionList.multiple))},inputs:{disableRipple:"disableRipple",checkboxPosition:"checkboxPosition",color:"color",value:"value",selected:"selected",disabled:"disabled"},exportAs:["matListOption"],features:[a.Jb],ngContentSelectors:w,decls:7,vars:5,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[3,"state","disabled",4,"ngIf"],[1,"mat-list-text"],["text",""],[3,"state","disabled"]],template:function(t,e){1&t&&(a.uc(y),a.ec(0,"div",0),a.Zb(1,"div",1),a.Qc(2,O,1,2,"mat-pseudo-checkbox",2),a.ec(3,"div",3,4),a.tc(5),a.dc(),a.tc(6,1),a.dc()),2&t&&(a.Qb("mat-list-item-content-reverse","after"==e.checkboxPosition),a.Mb(1),a.vc("matRippleTrigger",e._getHostElement())("matRippleDisabled",e._isRippleDisabled()),a.Mb(1),a.vc("ngIf",e.selectionList.multiple))},directives:[s.t,n.t,s.r],encapsulation:2,changeDetection:0}),t})(),Y=(()=>{class t extends P{constructor(t,e,i,n){super(),this._element=t,this._changeDetector=i,this._focusMonitor=n,this._multiple=!0,this._contentInitialized=!1,this.selectionChange=new a.s,this.tabIndex=0,this.color="accent",this.compareWith=(t,e)=>t===e,this._disabled=!1,this.selectedOptions=new m.c(this._multiple),this._tabIndex=-1,this._onChange=t=>{},this._destroyed=new c.a,this._onTouched=()=>{}}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(o.c)(t),this._markOptionsForCheck()}get multiple(){return this._multiple}set multiple(t){const e=Object(o.c)(t);e!==this._multiple&&(this._multiple=e,this.selectedOptions=new m.c(this._multiple,this.selectedOptions.selected))}ngAfterContentInit(){var t;this._contentInitialized=!0,this._keyManager=new d.g(this.options).withWrap().withTypeAhead().withHomeAndEnd().skipPredicate(()=>!1).withAllowedModifierKeys(["shiftKey"]),this._value&&this._setOptionsFromValues(this._value),this._keyManager.tabOut.pipe(Object(r.a)(this._destroyed)).subscribe(()=>{this._allowFocusEscape()}),this.options.changes.pipe(Object(l.a)(null),Object(r.a)(this._destroyed)).subscribe(()=>{this._updateTabIndex()}),this.selectedOptions.changed.pipe(Object(r.a)(this._destroyed)).subscribe(t=>{if(t.added)for(let e of t.added)e.selected=!0;if(t.removed)for(let e of t.removed)e.selected=!1}),null===(t=this._focusMonitor)||void 0===t||t.monitor(this._element).pipe(Object(r.a)(this._destroyed)).subscribe(t=>{if("keyboard"===t||"program"===t){const t=this._keyManager.activeItemIndex;t&&-1!==t?this._keyManager.setActiveItem(t):this._keyManager.setFirstItemActive()}})}ngOnChanges(t){const e=t.disableRipple,i=t.color;(e&&!e.firstChange||i&&!i.firstChange)&&this._markOptionsForCheck()}ngOnDestroy(){var t;null===(t=this._focusMonitor)||void 0===t||t.stopMonitoring(this._element),this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0}focus(t){this._element.nativeElement.focus(t)}selectAll(){this._setAllOptionsSelected(!0)}deselectAll(){this._setAllOptionsSelected(!1)}_setFocusedOption(t){this._keyManager.updateActiveItem(t)}_removeOptionFromList(t){const e=this._getOptionIndex(t);return e>-1&&this._keyManager.activeItemIndex===e&&(e>0?this._keyManager.updateActiveItem(e-1):0===e&&this.options.length>1&&this._keyManager.updateActiveItem(Math.min(e+1,this.options.length-1))),this._keyManager.activeItem}_keydown(t){const e=t.keyCode,i=this._keyManager,n=i.activeItemIndex,a=Object(h.t)(t);switch(e){case h.o:case h.g:a||i.isTyping()||(this._toggleFocusedOption(),t.preventDefault());break;default:if(e===h.a&&this.multiple&&Object(h.t)(t,"ctrlKey")&&!i.isTyping()){const e=this.options.some(t=>!t.disabled&&!t.selected);this._setAllOptionsSelected(e,!0,!0),t.preventDefault()}else i.onKeydown(t)}this.multiple&&(e===h.q||e===h.e)&&t.shiftKey&&i.activeItemIndex!==n&&this._toggleFocusedOption()}_reportValueChange(){if(this.options&&!this._isDestroyed){const t=this._getSelectedOptionValues();this._onChange(t),this._value=t}}_emitChangeEvent(t){this.selectionChange.emit(new H(this,t[0],t))}writeValue(t){this._value=t,this.options&&this._setOptionsFromValues(t||[])}setDisabledState(t){this.disabled=t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}_setOptionsFromValues(t){this.options.forEach(t=>t._setSelected(!1)),t.forEach(t=>{const e=this.options.find(e=>!e.selected&&this.compareWith(e.value,t));e&&e._setSelected(!0)})}_getSelectedOptionValues(){return this.options.filter(t=>t.selected).map(t=>t.value)}_toggleFocusedOption(){let t=this._keyManager.activeItemIndex;if(null!=t&&this._isValidIndex(t)){let e=this.options.toArray()[t];!e||e.disabled||!this._multiple&&e.selected||(e.toggle(),this._emitChangeEvent([e]))}}_setAllOptionsSelected(t,e,i){const n=[];this.options.forEach(i=>{e&&i.disabled||!i._setSelected(t)||n.push(i)}),n.length&&(this._reportValueChange(),i&&this._emitChangeEvent(n))}_isValidIndex(t){return t>=0&&t<this.options.length}_getOptionIndex(t){return this.options.toArray().indexOf(t)}_markOptionsForCheck(){this.options&&this.options.forEach(t=>t._markForCheck())}_allowFocusEscape(){this._tabIndex=-1,setTimeout(()=>{this._tabIndex=0,this._changeDetector.markForCheck()})}_updateTabIndex(){this._tabIndex=0===this.options.length?-1:0}}return t.\u0275fac=function(e){return new(e||t)(a.Yb(a.p),a.jc("tabindex"),a.Yb(a.i),a.Yb(d.h))},t.\u0275cmp=a.Sb({type:t,selectors:[["mat-selection-list"]],contentQueries:function(t,e,i){if(1&t&&a.Rb(i,z,!0),2&t){let t;a.Bc(t=a.mc())&&(e.options=t)}},hostAttrs:["role","listbox",1,"mat-selection-list","mat-list-base"],hostVars:3,hostBindings:function(t,e){1&t&&a.lc("keydown",function(t){return e._keydown(t)}),2&t&&a.Nb("aria-multiselectable",e.multiple)("aria-disabled",e.disabled.toString())("tabindex",e._tabIndex)},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex",color:"color",compareWith:"compareWith",disabled:"disabled",multiple:"multiple"},outputs:{selectionChange:"selectionChange"},exportAs:["matSelectionList"],features:[a.Lb([B]),a.Jb,a.Kb],ngContentSelectors:p,decls:1,vars:0,template:function(t,e){1&t&&(a.uc(),a.tc(0))},styles:[f],encapsulation:2,changeDetection:0}),t})(),Q=(()=>{class t{}return t.\u0275mod=a.Wb({type:t}),t.\u0275inj=a.Vb({factory:function(e){return new(e||t)},imports:[[s.l,s.u,s.j,s.s,n.c],s.l,s.j,s.s,b.b]}),t})()},bSwM:function(t,e,i){"use strict";i.d(e,"a",function(){return y}),i.d(e,"b",function(){return j});var n=i("8LU1"),a=i("fXoL"),s=i("3Pt+"),o=i("FKr1"),c=i("R1ws"),r=i("GU7r"),l=i("u47x");const d=["input"],m=function(){return{enterDuration:150}},h=["*"],u=new a.x("mat-checkbox-default-options",{providedIn:"root",factory:b});function b(){return{color:"accent",clickAction:"check-indeterminate"}}let p=0;const f=b(),g={provide:s.l,useExisting:Object(a.eb)(()=>y),multi:!0};class _{}class v{constructor(t){this._elementRef=t}}const O=Object(o.E)(Object(o.z)(Object(o.A)(Object(o.B)(v))));let y=(()=>{class t extends O{constructor(t,e,i,n,s,o,c){super(t),this._changeDetectorRef=e,this._focusMonitor=i,this._ngZone=n,this._animationMode=o,this._options=c,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++p,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new a.s,this.indeterminateChange=new a.s,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||f,this.color=this.defaultColor=this._options.color||f.color,this.tabIndex=parseInt(s)||0}get inputId(){return(this.id||this._uniqueId)+"-input"}get required(){return this._required}set required(t){this._required=Object(n.c)(t)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{t||Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}),this._syncIndeterminate(this._indeterminate)}ngAfterViewChecked(){}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}get checked(){return this._checked}set checked(t){t!=this.checked&&(this._checked=t,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(t){const e=Object(n.c)(t);e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(t){const e=t!=this._indeterminate;this._indeterminate=Object(n.c)(t),e&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(t){this.checked=!!t}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(t){let e=this._currentCheckState,i=this._elementRef.nativeElement;if(e!==t&&(this._currentAnimationClass.length>0&&i.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(e,t),this._currentCheckState=t,this._currentAnimationClass.length>0)){i.classList.add(this._currentAnimationClass);const t=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{i.classList.remove(t)},1e3)})}}_emitChangeEvent(){const t=new _;t.source=this,t.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(t)}toggle(){this.checked=!this.checked}_onInputClick(t){var e;const i=null===(e=this._options)||void 0===e?void 0:e.clickAction;t.stopPropagation(),this.disabled||"noop"===i?this.disabled||"noop"!==i||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==i&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(t="keyboard",e){this._focusMonitor.focusVia(this._inputElement,t,e)}_onInteractionEvent(t){t.stopPropagation()}_getAnimationClassForCheckStateTransition(t,e){if("NoopAnimations"===this._animationMode)return"";let i="";switch(t){case 0:if(1===e)i="unchecked-checked";else{if(3!=e)return"";i="unchecked-indeterminate"}break;case 2:i=1===e?"unchecked-checked":"unchecked-indeterminate";break;case 1:i=2===e?"checked-unchecked":"checked-indeterminate";break;case 3:i=1===e?"indeterminate-checked":"indeterminate-unchecked"}return"mat-checkbox-anim-"+i}_syncIndeterminate(t){const e=this._inputElement;e&&(e.nativeElement.indeterminate=t)}}return t.\u0275fac=function(e){return new(e||t)(a.Yb(a.p),a.Yb(a.i),a.Yb(l.h),a.Yb(a.I),a.jc("tabindex"),a.Yb(c.a,8),a.Yb(u,8))},t.\u0275cmp=a.Sb({type:t,selectors:[["mat-checkbox"]],viewQuery:function(t,e){if(1&t&&(a.Wc(d,!0),a.Wc(o.t,!0)),2&t){let t;a.Bc(t=a.mc())&&(e._inputElement=t.first),a.Bc(t=a.mc())&&(e.ripple=t.first)}},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(t,e){2&t&&(a.hc("id",e.id),a.Nb("tabindex",null),a.Qb("mat-checkbox-indeterminate",e.indeterminate)("mat-checkbox-checked",e.checked)("mat-checkbox-disabled",e.disabled)("mat-checkbox-label-before","before"==e.labelPosition)("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",labelPosition:"labelPosition",name:"name",required:"required",checked:"checked",disabled:"disabled",indeterminate:"indeterminate",ariaDescribedby:["aria-describedby","ariaDescribedby"],value:"value"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[a.Lb([g]),a.Jb],ngContentSelectors:h,decls:17,vars:20,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(t,e){if(1&t&&(a.uc(),a.ec(0,"label",0,1),a.ec(2,"span",2),a.ec(3,"input",3,4),a.lc("change",function(t){return e._onInteractionEvent(t)})("click",function(t){return e._onInputClick(t)}),a.dc(),a.ec(5,"span",5),a.Zb(6,"span",6),a.dc(),a.Zb(7,"span",7),a.ec(8,"span",8),a.oc(),a.ec(9,"svg",9),a.Zb(10,"path",10),a.dc(),a.nc(),a.Zb(11,"span",11),a.dc(),a.dc(),a.ec(12,"span",12,13),a.lc("cdkObserveContent",function(){return e._onLabelTextChange()}),a.ec(14,"span",14),a.Sc(15,"\xa0"),a.dc(),a.tc(16),a.dc(),a.dc()),2&t){const t=a.Cc(1),i=a.Cc(13);a.Nb("for",e.inputId),a.Mb(2),a.Qb("mat-checkbox-inner-container-no-side-margin",!i.textContent||!i.textContent.trim()),a.Mb(1),a.vc("id",e.inputId)("required",e.required)("checked",e.checked)("disabled",e.disabled)("tabIndex",e.tabIndex),a.Nb("value",e.value)("name",e.name)("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby)("aria-checked",e._getAriaChecked())("aria-describedby",e.ariaDescribedby),a.Mb(2),a.vc("matRippleTrigger",t)("matRippleDisabled",e._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",a.yc(19,m))}},directives:[o.t,r.a],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-frame{border-style:dotted}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}\n"],encapsulation:2,changeDetection:0}),t})(),w=(()=>{class t{}return t.\u0275mod=a.Wb({type:t}),t.\u0275inj=a.Vb({factory:function(e){return new(e||t)}}),t})(),j=(()=>{class t{}return t.\u0275mod=a.Wb({type:t}),t.\u0275inj=a.Vb({factory:function(e){return new(e||t)},imports:[[o.u,o.j,r.c,w],o.j,w]}),t})()},f0Cb:function(t,e,i){"use strict";i.d(e,"a",function(){return o}),i.d(e,"b",function(){return c});var n=i("8LU1"),a=i("FKr1"),s=i("fXoL");let o=(()=>{class t{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(t){this._vertical=Object(n.c)(t)}get inset(){return this._inset}set inset(t){this._inset=Object(n.c)(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Sb({type:t,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(t,e){2&t&&(s.Nb("aria-orientation",e.vertical?"vertical":"horizontal"),s.Qb("mat-divider-vertical",e.vertical)("mat-divider-horizontal",!e.vertical)("mat-divider-inset",e.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(t,e){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\n"],encapsulation:2,changeDetection:0}),t})(),c=(()=>{class t{}return t.\u0275mod=s.Wb({type:t}),t.\u0275inj=s.Vb({factory:function(e){return new(e||t)},imports:[[a.j],a.j]}),t})()},f6nW:function(t,e,i){"use strict";i.d(e,"a",function(){return w}),i.d(e,"b",function(){return F}),i.d(e,"c",function(){return k}),i.d(e,"d",function(){return W}),i.d(e,"e",function(){return E}),i.d(e,"f",function(){return M}),i.d(e,"g",function(){return C}),i.d(e,"h",function(){return U}),i.d(e,"i",function(){return Y}),i.d(e,"j",function(){return L}),i.d(e,"k",function(){return x}),i.d(e,"l",function(){return q}),i.d(e,"m",function(){return B}),i.d(e,"n",function(){return G}),i.d(e,"o",function(){return Z}),i.d(e,"p",function(){return Q}),i.d(e,"q",function(){return it}),i.d(e,"r",function(){return st}),i.d(e,"s",function(){return at}),i.d(e,"t",function(){return X}),i.d(e,"u",function(){return tt}),i.d(e,"v",function(){return K}),i.d(e,"w",function(){return et}),i.d(e,"x",function(){return A}),i.d(e,"y",function(){return T});var n=i("8LU1"),a=i("0EQZ"),s=i("fXoL"),o=i("cH1L"),c=i("nLfN"),r=i("vxfF"),l=i("ofXK"),d=i("XNiG"),m=i("Cfvw"),h=i("2Vo4"),u=i("7+OI"),b=i("LRne"),p=i("1G5W"),f=i("IzEk");const g=[[["caption"]],[["colgroup"],["col"]]],_=["caption","colgroup, col"];function v(t,e){if(1&t&&(s.ec(0,"th",3),s.Sc(1),s.dc()),2&t){const t=s.pc();s.Nc("text-align",t.justify),s.Mb(1),s.Uc(" ",t.headerText," ")}}function O(t,e){if(1&t&&(s.ec(0,"td",4),s.Sc(1),s.dc()),2&t){const t=e.$implicit,i=s.pc();s.Nc("text-align",i.justify),s.Mb(1),s.Uc(" ",i.dataAccessor(t,i.name)," ")}}function y(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(n.c)(t),this._hasStickyChanged=e!==this._sticky}hasStickyChanged(){const t=this._hasStickyChanged;return this._hasStickyChanged=!1,t}resetStickyChanged(){this._hasStickyChanged=!1}}}const w=new s.x("CDK_TABLE"),j=new s.x("text-column-options");let k=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(s.Yb(s.V))},t.\u0275dir=s.Tb({type:t,selectors:[["","cdkCellDef",""]]}),t})(),x=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(s.Yb(s.V))},t.\u0275dir=s.Tb({type:t,selectors:[["","cdkHeaderCellDef",""]]}),t})(),C=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(s.Yb(s.V))},t.\u0275dir=s.Tb({type:t,selectors:[["","cdkFooterCellDef",""]]}),t})();class R{}const S=y(R);let E=(()=>{class t extends S{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(n.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)(s.Yb(w,8))},t.\u0275dir=s.Tb({type:t,selectors:[["","cdkColumnDef",""]],contentQueries:function(t,e,i){if(1&t&&(s.Rb(i,k,!0),s.Rb(i,x,!0),s.Rb(i,C,!0)),2&t){let t;s.Bc(t=s.mc())&&(e.cell=t.first),s.Bc(t=s.mc())&&(e.headerCell=t.first),s.Bc(t=s.mc())&&(e.footerCell=t.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[s.Lb([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),s.Jb]}),t})();class D{constructor(t,e){const i=e.nativeElement.classList;for(const n of t._columnCssClassName)i.add(n)}}let L=(()=>{class t extends D{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(s.Yb(E),s.Yb(s.p))},t.\u0275dir=s.Tb({type:t,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[s.Jb]}),t})(),M=(()=>{class t extends D{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(s.Yb(E),s.Yb(s.p))},t.\u0275dir=s.Tb({type:t,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:["role","gridcell",1,"cdk-footer-cell"],features:[s.Jb]}),t})(),F=(()=>{class t extends D{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(s.Yb(E),s.Yb(s.p))},t.\u0275dir=s.Tb({type:t,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:["role","gridcell",1,"cdk-cell"],features:[s.Jb]}),t})();class N{constructor(){this.tasks=[],this.endTasks=[]}}const A=new s.x("_COALESCED_STYLE_SCHEDULER");let T=(()=>{class t{constructor(t){this._ngZone=t,this._currentSchedule=null,this._destroyed=new d.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 N,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 N;for(const e of t.tasks)e();for(const e of t.endTasks)e()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?Object(m.a)(Promise.resolve(void 0)):this._ngZone.onStable.pipe(Object(f.a)(1))}}return t.\u0275fac=function(e){return new(e||t)(s.ic(s.I))},t.\u0275prov=s.Ub({token:t,factory:t.\u0275fac}),t})(),P=(()=>{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 B?t.headerCell.template:this instanceof Y?t.footerCell.template:t.cell.template}}return t.\u0275fac=function(e){return new(e||t)(s.Yb(s.V),s.Yb(s.A))},t.\u0275dir=s.Tb({type:t,features:[s.Kb]}),t})();class I extends P{}const V=y(I);let B=(()=>{class t extends V{constructor(t,e,i){super(t,e),this._table=i}ngOnChanges(t){super.ngOnChanges(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Yb(s.V),s.Yb(s.A),s.Yb(w,8))},t.\u0275dir=s.Tb({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[s.Jb,s.Kb]}),t})();class H extends P{}const z=y(H);let Y=(()=>{class t extends z{constructor(t,e,i){super(t,e),this._table=i}ngOnChanges(t){super.ngOnChanges(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Yb(s.V),s.Yb(s.A),s.Yb(w,8))},t.\u0275dir=s.Tb({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[s.Jb,s.Kb]}),t})(),Q=(()=>{class t extends P{constructor(t,e,i){super(t,e),this._table=i}}return t.\u0275fac=function(e){return new(e||t)(s.Yb(s.V),s.Yb(s.A),s.Yb(w,8))},t.\u0275dir=s.Tb({type:t,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[s.Jb]}),t})(),W=(()=>{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)(s.Yb(s.ab))},t.\u0275dir=s.Tb({type:t,selectors:[["","cdkCellOutlet",""]]}),t.mostRecentCellOutlet=null,t})(),q=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Sb({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&&s.ac(0,0)},directives:[W],encapsulation:2}),t})(),U=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Sb({type:t,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&s.ac(0,0)},directives:[W],encapsulation:2}),t})(),Z=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Sb({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&&s.ac(0,0)},directives:[W],encapsulation:2}),t})(),G=(()=>{class t{constructor(t){this.templateRef=t}}return t.\u0275fac=function(e){return new(e||t)(s.Yb(s.V))},t.\u0275dir=s.Tb({type:t,selectors:[["ng-template","cdkNoDataRow",""]]}),t})();const $=["top","bottom","left","right"];class J{constructor(t,e,i,n,a=!0,s=!0){this._isNativeHtmlTable=t,this._stickCellCss=e,this.direction=i,this._coalescedStyleScheduler=n,this._isBrowser=a,this._needsPositionStickyOnElement=s,this._cachedCellWidths=[]}clearStickyPositioning(t,e){const i=[];for(const n of t)if(n.nodeType===n.ELEMENT_NODE){i.push(n);for(let t=0;t<n.children.length;t++)i.push(n.children[t])}this._scheduleStyleChanges(()=>{for(const t of i)this._removeStickyStyle(t,e)})}updateStickyColumns(t,e,i,n=!0){if(!t.length||!this._isBrowser||!e.some(t=>t)&&!i.some(t=>t))return;const a=t[0],s=a.children.length,o=this._getCellWidths(a,n),c=this._getStickyStartColumnPositions(o,e),r=this._getStickyEndColumnPositions(o,i);this._scheduleStyleChanges(()=>{const n="rtl"===this.direction,a=n?"right":"left",o=n?"left":"right";for(const l of t)for(let t=0;t<s;t++){const n=l.children[t];e[t]&&this._addStickyStyle(n,a,c[t]),i[t]&&this._addStickyStyle(n,o,r[t])}})}stickRows(t,e,i){if(!this._isBrowser)return;const n="bottom"===i?t.slice().reverse():t,a="bottom"===i?e.slice().reverse():e,s=[],o=[];for(let c=0,r=0;c<n.length;c++){if(s[c]=r,!a[c])continue;const t=n[c];o[c]=this._isNativeHtmlTable?Array.from(t.children):[t],c!==n.length-1&&(r+=t.getBoundingClientRect().height)}this._scheduleStyleChanges(()=>{for(let t=0;t<n.length;t++){if(!a[t])continue;const e=s[t];for(const n of o[t])this._addStickyStyle(n,i,e)}})}updateStickyFooterContainer(t,e){if(!this._isNativeHtmlTable)return;const i=t.querySelector("tfoot");this._scheduleStyleChanges(()=>{e.some(t=>!t)?this._removeStickyStyle(i,["bottom"]):this._addStickyStyle(i,"bottom",0)})}_removeStickyStyle(t,e){for(const i of e)t.style[i]="";$.some(i=>-1===e.indexOf(i)&&t.style[i])?t.style.zIndex=this._getCalculatedZIndex(t):(t.style.zIndex="",this._needsPositionStickyOnElement&&(t.style.position=""),t.classList.remove(this._stickCellCss))}_addStickyStyle(t,e,i){t.classList.add(this._stickCellCss),t.style[e]=i+"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 i=0;for(const n of $)t.style[n]&&(i+=e[n]);return i?""+i:""}_getCellWidths(t,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;const i=[],n=t.children;for(let a=0;a<n.length;a++)i.push(n[a].getBoundingClientRect().width);return this._cachedCellWidths=i,i}_getStickyStartColumnPositions(t,e){const i=[];let n=0;for(let a=0;a<t.length;a++)e[a]&&(i[a]=n,n+=t[a]);return i}_getStickyEndColumnPositions(t,e){const i=[];let n=0;for(let a=t.length;a>0;a--)e[a]&&(i[a]=n,n+=t[a]);return i}_scheduleStyleChanges(t){this._coalescedStyleScheduler?this._coalescedStyleScheduler.schedule(t):t()}}let X=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(s.Yb(s.ab),s.Yb(s.p))},t.\u0275dir=s.Tb({type:t,selectors:[["","rowOutlet",""]]}),t})(),K=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(s.Yb(s.ab),s.Yb(s.p))},t.\u0275dir=s.Tb({type:t,selectors:[["","headerRowOutlet",""]]}),t})(),tt=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(s.Yb(s.ab),s.Yb(s.p))},t.\u0275dir=s.Tb({type:t,selectors:[["","footerRowOutlet",""]]}),t})(),et=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(s.Yb(s.ab),s.Yb(s.p))},t.\u0275dir=s.Tb({type:t,selectors:[["","noDataRowOutlet",""]]}),t})(),it=(()=>{class t{constructor(t,e,i,n,a,s,o,c,r,l){this._differs=t,this._changeDetectorRef=e,this._elementRef=i,this._dir=a,this._platform=o,this._viewRepeater=c,this._coalescedStyleScheduler=r,this._viewportRuler=l,this._onDestroy=new d.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 h.a({start:0,end:Number.MAX_VALUE}),n||this._elementRef.nativeElement.setAttribute("role","grid"),this._document=s,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(n.c)(t),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(t){this._fixedLayout=Object(n.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(a.h)(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,i)=>this._getEmbeddedViewArgs(t.item,i),t=>t.item.data,t=>{1===t.operation&&t.context&&this._renderCellTemplateForItem(t.record.item.rowDef,t.context)}):t.forEachOperation((t,i,n)=>{if(null==t.previousIndex){const e=t.item;this._renderRow(this._rowOutlet,e.rowDef,n,{$implicit:e.data})}else if(null==n)e.remove(i);else{const t=e.get(i);e.move(t,n)}}),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 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._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...t,...e,...i],["left","right"]),this._stickyColumnStylesNeedReset=!1),t.forEach((t,e)=>{this._addStickyColumnStyles([t],this._headerRowDefs[e])}),this._rowDefs.forEach(t=>{const i=[];for(let n=0;n<e.length;n++)this._renderRows[n].rowDef===t&&i.push(e[n]);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 n=this._data[i];const a=this._getRenderRowsForData(n,i,e.get(n));this._cachedRenderRowsMap.has(n)||this._cachedRenderRowsMap.set(n,new WeakMap);for(let e=0;e<a.length;e++){let i=a[e];const n=this._cachedRenderRowsMap.get(i.data);n.has(i.rowDef)?n.get(i.rowDef).push(i):n.set(i.rowDef,[i]),t.push(i)}}return t}_getRenderRowsForData(t,e,i){return this._getRowDefs(t,e).map(n=>{const a=i&&i.has(n)?i.get(n):[];if(a.length){const t=a.shift();return t.dataIndex=e,t}return{data:t,rowDef:n,dataIndex:e}})}_cacheColumnDefs(){this._columnDefsByName.clear(),nt(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(t=>{this._columnDefsByName.has(t.name),this._columnDefsByName.set(t.name,t)})}_cacheRowDefs(){this._headerRowDefs=nt(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=nt(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=nt(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 i=this._headerRowDefs.reduce(t,!1);i&&this._forceRenderHeaderRows();const n=this._footerRowDefs.reduce(t,!1);return n&&this._forceRenderFooterRows(),e||i||n}_switchDataSource(t){this._data=[],Object(a.h)(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(a.h)(this.dataSource)?t=this.dataSource.connect(this):Object(u.a)(this.dataSource)?t=this.dataSource:Array.isArray(this.dataSource)&&(t=Object(b.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 i=Array.from(e.columns||[]).map(t=>this._columnDefsByName.get(t)),n=i.map(t=>t.sticky),a=i.map(t=>t.stickyEnd);this._stickyStyler.updateStickyColumns(t,n,a,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(t){const e=[];for(let i=0;i<t.viewContainer.length;i++){const n=t.viewContainer.get(i);e.push(n.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 n=this._rowDefs.find(i=>i.when&&i.when(e,t))||this._defaultRowDef;n&&i.push(n)}return i}_getEmbeddedViewArgs(t,e){return{templateRef:t.rowDef.template,context:{$implicit:t.data},index:e}}_renderRow(t,e,i,n={}){const a=t.viewContainer.createEmbeddedView(e.template,n,i);return this._renderCellTemplateForItem(e,n),a}_renderCellTemplateForItem(t,e){for(let i of this._getCellTemplates(t))W.mostRecentCellOutlet&&W.mostRecentCellOutlet._viewContainer.createEmbeddedView(i,e);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const t=this._rowOutlet.viewContainer;for(let e=0,i=t.length;e<i;e++){const n=t.get(e).context;n.count=i,n.first=0===e,n.last=e===i-1,n.even=e%2==0,n.odd=!n.even,this.multiTemplateDataRows?(n.dataIndex=this._renderRows[e].dataIndex,n.renderIndex=e):n.index=this._renderRows[e].dataIndex}}_getCellTemplates(t){return t&&t.columns?Array.from(t.columns,e=>{const i=this._columnDefsByName.get(e);return t.extractCellTemplate(i)}):[]}_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 i of e){const e=this._document.createElement(i.tag);e.setAttribute("role","rowgroup");for(const t of i.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 J(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement),(this._dir?this._dir.change:Object(b.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 i=this._noDataRowOutlet.viewContainer;e?i.createEmbeddedView(t.templateRef):i.clear(),this._isShowingNoDataRow=e}}}}return t.\u0275fac=function(e){return new(e||t)(s.Yb(s.A),s.Yb(s.i),s.Yb(s.p),s.jc("role"),s.Yb(o.c,8),s.Yb(l.e),s.Yb(c.a),s.Yb(a.g,8),s.Yb(A,8),s.Yb(r.j,8))},t.\u0275cmp=s.Sb({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(t,e,i){if(1&t&&(s.Rb(i,G,!0),s.Rb(i,E,!0),s.Rb(i,Q,!0),s.Rb(i,B,!0),s.Rb(i,Y,!0)),2&t){let t;s.Bc(t=s.mc())&&(e._noDataRow=t.first),s.Bc(t=s.mc())&&(e._contentColumnDefs=t),s.Bc(t=s.mc())&&(e._contentRowDefs=t),s.Bc(t=s.mc())&&(e._contentHeaderRowDefs=t),s.Bc(t=s.mc())&&(e._contentFooterRowDefs=t)}},viewQuery:function(t,e){if(1&t&&(s.Mc(X,!0),s.Mc(K,!0),s.Mc(tt,!0),s.Mc(et,!0)),2&t){let t;s.Bc(t=s.mc())&&(e._rowOutlet=t.first),s.Bc(t=s.mc())&&(e._headerRowOutlet=t.first),s.Bc(t=s.mc())&&(e._footerRowOutlet=t.first),s.Bc(t=s.mc())&&(e._noDataRowOutlet=t.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(t,e){2&t&&s.Qb("cdk-table-fixed-layout",e.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},exportAs:["cdkTable"],features:[s.Lb([{provide:w,useExisting:t},{provide:a.g,useClass:a.e},{provide:A,useClass:T}])],ngContentSelectors:_,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,e){1&t&&(s.uc(g),s.tc(0),s.tc(1,1),s.ac(2,0),s.ac(3,1),s.ac(4,2),s.ac(5,3))},directives:[K,X,et,tt],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),t})();function nt(t,e){return t.concat(Array.from(e))}let at=(()=>{class t{constructor(t,e){this._table=t,this._options=e,this.justify="start",this._options=e||{}}get name(){return this._name}set name(t){this._name=t,this._syncColumnDefName()}ngOnInit(){this._syncColumnDefName(),void 0===this.headerText&&(this.headerText=this._createDefaultHeaderText()),this.dataAccessor||(this.dataAccessor=this._options.defaultDataAccessor||((t,e)=>t[e])),this._table&&(this.columnDef.cell=this.cell,this.columnDef.headerCell=this.headerCell,this._table.addColumnDef(this.columnDef))}ngOnDestroy(){this._table&&this._table.removeColumnDef(this.columnDef)}_createDefaultHeaderText(){const t=this.name;return this._options&&this._options.defaultHeaderTextTransform?this._options.defaultHeaderTextTransform(t):t[0].toUpperCase()+t.slice(1)}_syncColumnDefName(){this.columnDef&&(this.columnDef.name=this.name)}}return t.\u0275fac=function(e){return new(e||t)(s.Yb(it,8),s.Yb(j,8))},t.\u0275cmp=s.Sb({type:t,selectors:[["cdk-text-column"]],viewQuery:function(t,e){if(1&t&&(s.Mc(E,!0),s.Mc(k,!0),s.Mc(x,!0)),2&t){let t;s.Bc(t=s.mc())&&(e.columnDef=t.first),s.Bc(t=s.mc())&&(e.cell=t.first),s.Bc(t=s.mc())&&(e.headerCell=t.first)}},inputs:{justify:"justify",name:"name",headerText:"headerText",dataAccessor:"dataAccessor"},decls:3,vars:0,consts:[["cdkColumnDef",""],["cdk-header-cell","",3,"text-align",4,"cdkHeaderCellDef"],["cdk-cell","",3,"text-align",4,"cdkCellDef"],["cdk-header-cell",""],["cdk-cell",""]],template:function(t,e){1&t&&(s.cc(0,0),s.Qc(1,v,2,3,"th",1),s.Qc(2,O,2,3,"td",2),s.bc())},directives:[E,x,k,L,F],encapsulation:2}),t})(),st=(()=>{class t{}return t.\u0275mod=s.Wb({type:t}),t.\u0275inj=s.Vb({factory:function(e){return new(e||t)},imports:[[r.h]]}),t})()},ihCf:function(t,e,i){"use strict";i.d(e,"a",function(){return u}),i.d(e,"b",function(){return b}),i.d(e,"c",function(){return p}),i.d(e,"d",function(){return f});var n=i("nLfN"),a=i("fXoL"),s=i("8LU1"),o=i("EY2u"),c=i("XNiG"),r=i("xgIS"),l=i("3UWI"),d=i("1G5W"),m=i("ofXK");const h=Object(n.f)({passive:!0});let u=(()=>{class t{constructor(t,e){this._platform=t,this._ngZone=e,this._monitoredElements=new Map}monitor(t){if(!this._platform.isBrowser)return o.a;const e=Object(s.e)(t),i=this._monitoredElements.get(e);if(i)return i.subject;const n=new c.a,a="cdk-text-field-autofilled",r=t=>{"cdk-text-field-autofill-start"!==t.animationName||e.classList.contains(a)?"cdk-text-field-autofill-end"===t.animationName&&e.classList.contains(a)&&(e.classList.remove(a),this._ngZone.run(()=>n.next({target:t.target,isAutofilled:!1}))):(e.classList.add(a),this._ngZone.run(()=>n.next({target:t.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{e.addEventListener("animationstart",r,h),e.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(e,{subject:n,unlisten:()=>{e.removeEventListener("animationstart",r,h)}}),n}stopMonitoring(t){const e=Object(s.e)(t),i=this._monitoredElements.get(e);i&&(i.unlisten(),i.subject.complete(),e.classList.remove("cdk-text-field-autofill-monitored"),e.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(e))}ngOnDestroy(){this._monitoredElements.forEach((t,e)=>this.stopMonitoring(e))}}return t.\u0275fac=function(e){return new(e||t)(a.ic(n.a),a.ic(a.I))},t.\u0275prov=Object(a.Ub)({factory:function(){return new t(Object(a.ic)(n.a),Object(a.ic)(a.I))},token:t,providedIn:"root"}),t})(),b=(()=>{class t{constructor(t,e){this._elementRef=t,this._autofillMonitor=e,this.cdkAutofill=new a.s}ngOnInit(){this._autofillMonitor.monitor(this._elementRef).subscribe(t=>this.cdkAutofill.emit(t))}ngOnDestroy(){this._autofillMonitor.stopMonitoring(this._elementRef)}}return t.\u0275fac=function(e){return new(e||t)(a.Yb(a.p),a.Yb(u))},t.\u0275dir=a.Tb({type:t,selectors:[["","cdkAutofill",""]],outputs:{cdkAutofill:"cdkAutofill"}}),t})(),p=(()=>{class t{constructor(t,e,i,n){this._elementRef=t,this._platform=e,this._ngZone=i,this._destroyed=new c.a,this._enabled=!0,this._previousMinRows=-1,this._document=n,this._textareaElement=this._elementRef.nativeElement,this._measuringClass=e.FIREFOX?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring"}get minRows(){return this._minRows}set minRows(t){this._minRows=Object(s.f)(t),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(t){this._maxRows=Object(s.f)(t),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(t){t=Object(s.c)(t),this._enabled!==t&&((this._enabled=t)?this.resizeToFitContent(!0):this.reset())}_setMinHeight(){const t=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;t&&(this._textareaElement.style.minHeight=t)}_setMaxHeight(){const t=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;t&&(this._textareaElement.style.maxHeight=t)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{const t=this._getWindow();Object(r.a)(t,"resize").pipe(Object(l.a)(16),Object(d.a)(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0))}))}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let t=this._textareaElement.cloneNode(!1);t.rows=1,t.style.position="absolute",t.style.visibility="hidden",t.style.border="none",t.style.padding="0",t.style.height="",t.style.minHeight="",t.style.maxHeight="",t.style.overflow="hidden",this._textareaElement.parentNode.appendChild(t),this._cachedLineHeight=t.clientHeight,this._textareaElement.parentNode.removeChild(t),this._setMinHeight(),this._setMaxHeight()}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(t=!1){if(!this._enabled)return;if(this._cacheTextareaLineHeight(),!this._cachedLineHeight)return;const e=this._elementRef.nativeElement,i=e.value;if(!t&&this._minRows===this._previousMinRows&&i===this._previousValue)return;const n=e.placeholder;e.classList.add(this._measuringClass),e.placeholder="",e.style.height=e.scrollHeight-4+"px",e.classList.remove(this._measuringClass),e.placeholder=n,this._ngZone.runOutsideAngular(()=>{"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(()=>this._scrollToCaretPosition(e)):setTimeout(()=>this._scrollToCaretPosition(e))}),this._previousValue=i,this._previousMinRows=this._minRows}reset(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollToCaretPosition(t){const{selectionStart:e,selectionEnd:i}=t,n=this._getDocument();this._destroyed.isStopped||n.activeElement!==t||t.setSelectionRange(e,i)}}return t.\u0275fac=function(e){return new(e||t)(a.Yb(a.p),a.Yb(n.a),a.Yb(a.I),a.Yb(m.e,8))},t.\u0275dir=a.Tb({type:t,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(t,e){1&t&&a.lc("input",function(){return e._noopInputHandler()})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"]},exportAs:["cdkTextareaAutosize"]}),t})(),f=(()=>{class t{}return t.\u0275mod=a.Wb({type:t}),t.\u0275inj=a.Vb({factory:function(e){return new(e||t)},imports:[[n.b]]}),t})()},kmnG:function(t,e,i){"use strict";i.d(e,"a",function(){return et}),i.d(e,"b",function(){return P}),i.d(e,"c",function(){return it}),i.d(e,"d",function(){return V}),i.d(e,"e",function(){return nt}),i.d(e,"f",function(){return Q}),i.d(e,"g",function(){return W}),i.d(e,"h",function(){return Z}),i.d(e,"i",function(){return $}),i.d(e,"j",function(){return B}),i.d(e,"k",function(){return H}),i.d(e,"l",function(){return I});var n=i("GU7r"),a=i("ofXK"),s=i("fXoL"),o=i("FKr1"),c=i("8LU1"),r=i("XNiG"),l=i("VRyK"),d=i("xgIS"),m=i("JX91"),h=i("1G5W"),u=i("IzEk"),b=i("R0Ic"),p=i("R1ws"),f=i("cH1L"),g=i("nLfN");const _=["underline"],v=["connectionContainer"],O=["inputContainer"],y=["label"];function w(t,e){1&t&&(s.cc(0),s.ec(1,"div",14),s.Zb(2,"div",15),s.Zb(3,"div",16),s.Zb(4,"div",17),s.dc(),s.ec(5,"div",18),s.Zb(6,"div",15),s.Zb(7,"div",16),s.Zb(8,"div",17),s.dc(),s.bc())}function j(t,e){1&t&&(s.ec(0,"div",19),s.tc(1,1),s.dc())}function k(t,e){if(1&t&&(s.cc(0),s.tc(1,2),s.ec(2,"span"),s.Sc(3),s.dc(),s.bc()),2&t){const t=s.pc(2);s.Mb(3),s.Tc(t._control.placeholder)}}function x(t,e){1&t&&s.tc(0,3,["*ngSwitchCase","true"])}function C(t,e){1&t&&(s.ec(0,"span",23),s.Sc(1," *"),s.dc())}function R(t,e){if(1&t){const t=s.fc();s.ec(0,"label",20,21),s.lc("cdkObserveContent",function(){return s.Gc(t),s.pc().updateOutlineGap()}),s.Qc(2,k,4,1,"ng-container",12),s.Qc(3,x,1,0,"ng-content",12),s.Qc(4,C,2,0,"span",22),s.dc()}if(2&t){const t=s.pc();s.Qb("mat-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-form-field-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-accent","accent"==t.color)("mat-warn","warn"==t.color),s.vc("cdkObserveContentDisabled","outline"!=t.appearance)("id",t._labelId)("ngSwitch",t._hasLabel()),s.Nb("for",t._control.id)("aria-owns",t._control.id),s.Mb(2),s.vc("ngSwitchCase",!1),s.Mb(1),s.vc("ngSwitchCase",!0),s.Mb(1),s.vc("ngIf",!t.hideRequiredMarker&&t._control.required&&!t._control.disabled)}}function S(t,e){1&t&&(s.ec(0,"div",24),s.tc(1,4),s.dc())}function E(t,e){if(1&t&&(s.ec(0,"div",25,26),s.Zb(2,"span",27),s.dc()),2&t){const t=s.pc();s.Mb(2),s.Qb("mat-accent","accent"==t.color)("mat-warn","warn"==t.color)}}function D(t,e){if(1&t&&(s.ec(0,"div"),s.tc(1,5),s.dc()),2&t){const t=s.pc();s.vc("@transitionMessages",t._subscriptAnimationState)}}function L(t,e){if(1&t&&(s.ec(0,"div",31),s.Sc(1),s.dc()),2&t){const t=s.pc(2);s.vc("id",t._hintLabelId),s.Mb(1),s.Tc(t.hintLabel)}}function M(t,e){if(1&t&&(s.ec(0,"div",28),s.Qc(1,L,2,2,"div",29),s.tc(2,6),s.Zb(3,"div",30),s.tc(4,7),s.dc()),2&t){const t=s.pc();s.vc("@transitionMessages",t._subscriptAnimationState),s.Mb(1),s.vc("ngIf",t.hintLabel)}}const F=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],N=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let A=0;const T=new s.x("MatError");let P=(()=>{class t{constructor(){this.id="mat-error-"+A++}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.Tb({type:t,selectors:[["mat-error"]],hostAttrs:["role","alert",1,"mat-error"],hostVars:1,hostBindings:function(t,e){2&t&&s.Nb("id",e.id)},inputs:{id:"id"},features:[s.Lb([{provide:T,useExisting:t}])]}),t})();const I={transitionMessages:Object(b.m)("transitionMessages",[Object(b.j)("enter",Object(b.k)({opacity:1,transform:"translateY(0%)"})),Object(b.l)("void => enter",[Object(b.k)({opacity:0,transform:"translateY(-100%)"}),Object(b.e)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let V=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.Tb({type:t}),t})();function B(t){return Error(`A hint was already declared for 'align="${t}"'.`)}function H(){return Error("mat-form-field must contain a MatFormFieldControl.")}let z=0;const Y=new s.x("MatHint");let Q=(()=>{class t{constructor(){this.align="start",this.id="mat-hint-"+z++}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.Tb({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(t,e){2&t&&(s.Nb("id",e.id)("align",null),s.Qb("mat-form-field-hint-end","end"===e.align))},inputs:{align:"align",id:"id"},features:[s.Lb([{provide:Y,useExisting:t}])]}),t})(),W=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.Tb({type:t,selectors:[["mat-label"]]}),t})(),q=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.Tb({type:t,selectors:[["mat-placeholder"]]}),t})();const U=new s.x("MatPrefix");let Z=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.Tb({type:t,selectors:[["","matPrefix",""]],features:[s.Lb([{provide:U,useExisting:t}])]}),t})();const G=new s.x("MatSuffix");let $=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.Tb({type:t,selectors:[["","matSuffix",""]],features:[s.Lb([{provide:G,useExisting:t}])]}),t})(),J=0;class X{constructor(t){this._elementRef=t}}const K=Object(o.z)(X,"primary"),tt=new s.x("MAT_FORM_FIELD_DEFAULT_OPTIONS"),et=new s.x("MatFormField");let it=(()=>{class t extends K{constructor(t,e,i,n,a,s,o,c){super(t),this._elementRef=t,this._changeDetectorRef=e,this._dir=n,this._defaults=a,this._platform=s,this._ngZone=o,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new r.a,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+J++,this._labelId="mat-form-field-label-"+J++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==c,this.appearance=a&&a.appearance?a.appearance:"legacy",this._hideRequiredMarker=!(!a||null==a.hideRequiredMarker)&&a.hideRequiredMarker}get appearance(){return this._appearance}set appearance(t){const e=this._appearance;this._appearance=t||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&e!==t&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=Object(c.c)(t)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(t){this._explicitFormFieldControl=t}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-"+t.controlType),t.stateChanges.pipe(Object(m.a)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(Object(h.a)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(Object(h.a)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),Object(l.a)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Object(m.a)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Object(m.a)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(Object(h.a)(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(t){const e=this._control?this._control.ngControl:null;return e&&e[t]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,Object(d.a)(this._label.nativeElement,"transitionend").pipe(Object(u.a)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let t=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&t.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const e=this._hintChildren?this._hintChildren.find(t=>"start"===t.align):null,i=this._hintChildren?this._hintChildren.find(t=>"end"===t.align):null;e?t.push(e.id):this._hintLabel&&t.push(this._hintLabelId),i&&t.push(i.id)}else this._errorChildren&&t.push(...this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(t)}}_validateControlChild(){}updateOutlineGap(){const t=this._label?this._label.nativeElement:null;if("outline"!==this.appearance||!t||!t.children.length||!t.textContent.trim())return;if(!this._platform.isBrowser)return;if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let e=0,i=0;const n=this._connectionContainerRef.nativeElement,a=n.querySelectorAll(".mat-form-field-outline-start"),s=n.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){const a=n.getBoundingClientRect();if(0===a.width&&0===a.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const s=this._getStartEnd(a),o=t.children,c=this._getStartEnd(o[0].getBoundingClientRect());let r=0;for(let t=0;t<o.length;t++)r+=o[t].offsetWidth;e=Math.abs(c-s)-5,i=r>0?.75*r+10:0}for(let o=0;o<a.length;o++)a[o].style.width=e+"px";for(let o=0;o<s.length;o++)s[o].style.width=i+"px";this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}_getStartEnd(t){return this._dir&&"rtl"===this._dir.value?t.right:t.left}_isAttachedToDOM(){const t=this._elementRef.nativeElement;if(t.getRootNode){const e=t.getRootNode();return e&&e!==t}return document.documentElement.contains(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Yb(s.p),s.Yb(s.i),s.Yb(s.p),s.Yb(f.c,8),s.Yb(tt,8),s.Yb(g.a),s.Yb(s.I),s.Yb(p.a,8))},t.\u0275cmp=s.Sb({type:t,selectors:[["mat-form-field"]],contentQueries:function(t,e,i){if(1&t&&(s.Rb(i,V,!0),s.Lc(i,V,!0),s.Rb(i,W,!0),s.Lc(i,W,!0),s.Rb(i,q,!0),s.Rb(i,T,!0),s.Rb(i,Y,!0),s.Rb(i,U,!0),s.Rb(i,G,!0)),2&t){let t;s.Bc(t=s.mc())&&(e._controlNonStatic=t.first),s.Bc(t=s.mc())&&(e._controlStatic=t.first),s.Bc(t=s.mc())&&(e._labelChildNonStatic=t.first),s.Bc(t=s.mc())&&(e._labelChildStatic=t.first),s.Bc(t=s.mc())&&(e._placeholderChild=t.first),s.Bc(t=s.mc())&&(e._errorChildren=t),s.Bc(t=s.mc())&&(e._hintChildren=t),s.Bc(t=s.mc())&&(e._prefixChildren=t),s.Bc(t=s.mc())&&(e._suffixChildren=t)}},viewQuery:function(t,e){if(1&t&&(s.Wc(_,!0),s.Mc(v,!0),s.Wc(O,!0),s.Wc(y,!0)),2&t){let t;s.Bc(t=s.mc())&&(e.underlineRef=t.first),s.Bc(t=s.mc())&&(e._connectionContainerRef=t.first),s.Bc(t=s.mc())&&(e._inputContainerRef=t.first),s.Bc(t=s.mc())&&(e._label=t.first)}},hostAttrs:[1,"mat-form-field"],hostVars:44,hostBindings:function(t,e){2&t&&s.Qb("mat-form-field-appearance-standard","standard"==e.appearance)("mat-form-field-appearance-fill","fill"==e.appearance)("mat-form-field-appearance-outline","outline"==e.appearance)("mat-form-field-appearance-legacy","legacy"==e.appearance)("mat-form-field-invalid",e._control.errorState)("mat-form-field-can-float",e._canLabelFloat())("mat-form-field-should-float",e._shouldLabelFloat())("mat-form-field-has-label",e._hasFloatingLabel())("mat-form-field-hide-placeholder",e._hideControlPlaceholder())("mat-form-field-disabled",e._control.disabled)("mat-form-field-autofilled",e._control.autofilled)("mat-focused",e._control.focused)("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)("ng-untouched",e._shouldForward("untouched"))("ng-touched",e._shouldForward("touched"))("ng-pristine",e._shouldForward("pristine"))("ng-dirty",e._shouldForward("dirty"))("ng-valid",e._shouldForward("valid"))("ng-invalid",e._shouldForward("invalid"))("ng-pending",e._shouldForward("pending"))("_mat-animation-noopable",!e._animationsEnabled)},inputs:{color:"color",floatLabel:"floatLabel",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[s.Lb([{provide:et,useExisting:t}]),s.Jb],ngContentSelectors:N,decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],["underline",""],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(t,e){1&t&&(s.uc(F),s.ec(0,"div",0),s.ec(1,"div",1,2),s.lc("click",function(t){return e._control.onContainerClick&&e._control.onContainerClick(t)}),s.Qc(3,w,9,0,"ng-container",3),s.Qc(4,j,2,0,"div",4),s.ec(5,"div",5,6),s.tc(7),s.ec(8,"span",7),s.Qc(9,R,5,16,"label",8),s.dc(),s.dc(),s.Qc(10,S,2,0,"div",9),s.dc(),s.Qc(11,E,3,4,"div",10),s.ec(12,"div",11),s.Qc(13,D,2,1,"div",12),s.Qc(14,M,5,2,"div",13),s.dc(),s.dc()),2&t&&(s.Mb(3),s.vc("ngIf","outline"==e.appearance),s.Mb(1),s.vc("ngIf",e._prefixChildren.length),s.Mb(5),s.vc("ngIf",e._hasFloatingLabel()),s.Mb(1),s.vc("ngIf",e._suffixChildren.length),s.Mb(1),s.vc("ngIf","outline"!=e.appearance),s.Mb(1),s.vc("ngSwitch",e._getDisplayedMessages()),s.Mb(1),s.vc("ngSwitchCase","error"),s.Mb(1),s.vc("ngSwitchCase","hint"))},directives:[a.t,a.x,a.y,n.a],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:scaleX(1);transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}\n",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}\n','.mat-input-element{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element::-ms-clear,.mat-input-element::-ms-reveal{display:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:transparent;display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-ms-expand{display:none}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}select.mat-input-element::-ms-value{color:inherit;background:none}.mat-focused .cdk-high-contrast-active select.mat-input-element::-ms-value{color:inherit}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}\n',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px);-ms-transform:none}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}\n",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}\n",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}\n"],encapsulation:2,data:{animation:[I.transitionMessages]},changeDetection:0}),t})(),nt=(()=>{class t{}return t.\u0275mod=s.Wb({type:t}),t.\u0275inj=s.Vb({factory:function(e){return new(e||t)},imports:[[a.c,o.j,n.c],o.j]}),t})()},qFsG:function(t,e,i){"use strict";i.d(e,"a",function(){return m}),i.d(e,"b",function(){return f}),i.d(e,"c",function(){return g});var n=i("ihCf"),a=i("fXoL"),s=i("8LU1"),o=i("nLfN"),c=i("FKr1"),r=i("kmnG"),l=i("XNiG"),d=i("3Pt+");const m=new a.x("MAT_INPUT_VALUE_ACCESSOR"),h=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let u=0;class b{constructor(t,e,i,n){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=i,this.ngControl=n}}const p=Object(c.C)(b);let f=(()=>{class t extends p{constructor(t,e,i,n,a,s,c,r,d,m){super(s,n,a,i),this._elementRef=t,this._platform=e,this.ngControl=i,this._autofillMonitor=r,this._formField=m,this._uid="mat-input-"+u++,this.focused=!1,this.stateChanges=new l.a,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._required=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(t=>Object(o.e)().has(t));const h=this._elementRef.nativeElement,b=h.nodeName.toLowerCase();this._inputValueAccessor=c||h,this._previousNativeValue=this.value,this.id=this.id,e.IOS&&d.runOutsideAngular(()=>{t.nativeElement.addEventListener("keyup",t=>{let e=t.target;e.value||e.selectionStart||e.selectionEnd||(e.setSelectionRange(1,1),e.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===b,this._isTextarea="textarea"===b,this._isNativeSelect&&(this.controlType=h.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(t){this._disabled=Object(s.c)(t),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(t){this._id=t||this._uid}get required(){return this._required}set required(t){this._required=Object(s.c)(t)}get type(){return this._type}set type(t){this._type=t||"text",this._validateType(),!this._isTextarea&&Object(o.e)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(t){this._readonly=Object(s.c)(t)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(t=>{this.autofilled=t.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(t){this._elementRef.nativeElement.focus(t)}_focusChanged(t){t===this.focused||this.readonly&&t||(this.focused=t,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var t,e;const i=(null===(e=null===(t=this._formField)||void 0===t?void 0:t._hideControlPlaceholder)||void 0===e?void 0:e.call(t))?null:this.placeholder;if(i!==this._previousPlaceholder){const t=this._elementRef.nativeElement;this._previousPlaceholder=i,i?t.setAttribute("placeholder",i):t.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())}_validateType(){h.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let t=this._elementRef.nativeElement.validity;return t&&t.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const t=this._elementRef.nativeElement,e=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&e&&e.label)}return this.focused||!this.empty}setDescribedByIds(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}}return t.\u0275fac=function(e){return new(e||t)(a.Yb(a.p),a.Yb(o.a),a.Yb(d.m,10),a.Yb(d.p,8),a.Yb(d.i,8),a.Yb(c.d),a.Yb(m,10),a.Yb(n.a),a.Yb(a.I),a.Yb(r.a,8))},t.\u0275dir=a.Tb({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:9,hostBindings:function(t,e){1&t&&a.lc("focus",function(){return e._focusChanged(!0)})("blur",function(){return e._focusChanged(!1)})("input",function(){return e._onInput()}),2&t&&(a.hc("disabled",e.disabled)("required",e.required),a.Nb("id",e.id)("data-placeholder",e.placeholder)("readonly",e.readonly&&!e._isNativeSelect||null)("aria-invalid",e.errorState)("aria-required",e.required.toString()),a.Qb("mat-input-server",e._isServer))},inputs:{id:"id",disabled:"disabled",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"]},exportAs:["matInput"],features:[a.Lb([{provide:r.d,useExisting:t}]),a.Jb,a.Kb]}),t})(),g=(()=>{class t{}return t.\u0275mod=a.Wb({type:t}),t.\u0275inj=a.Vb({factory:function(e){return new(e||t)},providers:[c.d],imports:[[n.d,r.e,c.j],n.d,r.e]}),t})()},ytAU:function(t,e,i){"use strict";i.r(e),i.d(e,"PopoverEditCellSpanMatTableExample",function(){return tt}),i.d(e,"PopoverEditExamplesModule",function(){return be}),i.d(e,"PopoverEditMatTableExample",function(){return Gt}),i.d(e,"PopoverEditMatTableFlexExample",function(){return gt}),i.d(e,"PopoverEditTabOutMatTableExample",function(){return he});var n=i("fXoL"),a=i("ofXK"),s=i("3Pt+"),o=i("EePR"),c=i("FKr1");let r=(()=>{class t extends o.b{}return t.\u0275fac=function(e){return l(e||t)},t.\u0275dir=n.Tb({type:t,selectors:[["form","matEditLens",""]],hostAttrs:[1,"mat-edit-lens"],inputs:{clickOutBehavior:["matEditLensClickOutBehavior","clickOutBehavior"],preservedFormValue:["matEditLensPreservedFormValue","preservedFormValue"],ignoreSubmitUnlessValid:["matEditLensIgnoreSubmitUnlessValid","ignoreSubmitUnlessValid"]},outputs:{preservedFormValueChange:"matEditLensPreservedFormValueChange"},features:[n.Lb([o.j]),n.Jb]}),t})();const l=n.gc(r);let d=(()=>{class t extends o.d{}return t.\u0275fac=function(e){return m(e||t)},t.\u0275dir=n.Tb({type:t,selectors:[["button","matEditRevert",""]],hostAttrs:["type","button"],features:[n.Jb]}),t})();const m=n.gc(d);let h=(()=>{class t extends o.a{}return t.\u0275fac=function(e){return u(e||t)},t.\u0275dir=n.Tb({type:t,selectors:[["","matEditClose",""]],features:[n.Jb]}),t})();const u=n.gc(h);let b=(()=>{class t extends o.f{panelClass(){return"mat-edit-pane"}}return t.\u0275fac=function(e){return p(e||t)},t.\u0275dir=n.Tb({type:t,selectors:[["","matPopoverEdit","",3,"matPopoverEditTabOut",""]],hostAttrs:[1,"mat-popover-edit-cell"],hostVars:2,hostBindings:function(t,e){2&t&&n.Nb("tabindex",e.disabled?null:0)("aria-haspopup",!e.disabled)},inputs:{template:["matPopoverEdit","template"],context:["matPopoverEditContext","context"],colspan:["matPopoverEditColspan","colspan"],disabled:["matPopoverEditDisabled","disabled"]},features:[n.Jb]}),t})();const p=n.gc(b);let f=(()=>{class t extends o.h{panelClass(){return"mat-edit-pane"}}return t.\u0275fac=function(e){return g(e||t)},t.\u0275dir=n.Tb({type:t,selectors:[["","matPopoverEdit","","matPopoverEditTabOut",""]],hostAttrs:[1,"mat-popover-edit-cell"],hostVars:2,hostBindings:function(t,e){2&t&&n.Nb("tabindex",e.disabled?null:0)("aria-haspopup",!e.disabled)},inputs:{template:["matPopoverEdit","template"],context:["matPopoverEditContext","context"],colspan:["matPopoverEditColspan","colspan"],disabled:["matPopoverEditDisabled","disabled"]},features:[n.Jb]}),t})();const g=n.gc(f);let _=(()=>{class t extends o.i{initElement(t){super.initElement(t),t.classList.add("mat-row-hover-content")}makeElementHiddenButFocusable(t){t.classList.remove("mat-row-hover-content-visible")}makeElementVisible(t){Object(o.m)(this.elementRef.nativeElement,o.l).classList.add("mat-row-hover-content-host-cell"),"rtl"===this.services.directionality.value?t.classList.add("mat-row-hover-content-rtl"):t.classList.remove("mat-row-hover-content-rtl"),t.classList.remove("mat-row-hover-content-visible"),this.services.ngZone.runOutsideAngular(()=>{setTimeout(()=>{t.classList.add("mat-row-hover-content-visible")})})}}return t.\u0275fac=function(e){return v(e||t)},t.\u0275dir=n.Tb({type:t,selectors:[["","matRowHoverContent",""]],features:[n.Jb]}),t})();const v=n.gc(_);let O=(()=>{class t extends o.c{}return t.\u0275fac=function(e){return y(e||t)},t.\u0275dir=n.Tb({type:t,selectors:[["","matEditOpen",""]],features:[n.Jb]}),t})();const y=n.gc(O);let w=(()=>{class t{}return t.\u0275mod=n.Wb({type:t}),t.\u0275inj=n.Vb({factory:function(e){return new(e||t)},imports:[[o.g,c.j]]}),t})();var j=i("bTqV"),k=i("bSwM"),x=i("NFeN"),C=i("qFsG"),R=i("MutI"),S=i("dNgK"),E=i("+0xr"),D=i("0EQZ"),L=i("2Vo4"),M=i("kmnG");function F(t,e){if(1&t){const t=Object(n.fc)();Object(n.ec)(0,"div"),Object(n.ec)(1,"form",11,12),Object(n.lc)("ngSubmit",function(){Object(n.Gc)(t);const i=e.$implicit,a=Object(n.Cc)(2);return Object(n.pc)().onSubmit(i.person,a)})("matEditLensPreservedFormValueChange",function(i){Object(n.Gc)(t);const a=e.$implicit;return Object(n.pc)().preservedValues.set(a.person,i)}),Object(n.ec)(3,"div",13),Object(n.ec)(4,"mat-form-field"),Object(n.Zb)(5,"input",14),Object(n.dc)(),Object(n.ec)(6,"mat-form-field"),Object(n.Zb)(7,"input",15),Object(n.dc)(),Object(n.ec)(8,"mat-form-field"),Object(n.Zb)(9,"input",16),Object(n.dc)(),Object(n.dc)(),Object(n.ec)(10,"div",17),Object(n.ec)(11,"button",18),Object(n.Sc)(12,"Confirm"),Object(n.dc)(),Object(n.ec)(13,"button",19),Object(n.Sc)(14,"Revert"),Object(n.dc)(),Object(n.ec)(15,"button",20),Object(n.Sc)(16,"Close"),Object(n.dc)(),Object(n.dc)(),Object(n.dc)(),Object(n.dc)()}if(2&t){const t=e.$implicit,i=Object(n.pc)();Object(n.Mb)(1),Object(n.vc)("matEditLensPreservedFormValue",i.preservedValues.get(t.person)),Object(n.Mb)(4),Object(n.vc)("ngModel",t.person.firstName),Object(n.Nb)("cdkFocusInitial","firstName"===t.focus||null),Object(n.Mb)(2),Object(n.vc)("ngModel",t.person.middleName),Object(n.Nb)("cdkFocusInitial","middleName"===t.focus||null),Object(n.Mb)(2),Object(n.vc)("ngModel",t.person.lastName),Object(n.Nb)("cdkFocusInitial","lastName"===t.focus||null)}}function N(t,e){1&t&&(Object(n.ec)(0,"th",21),Object(n.Sc)(1," No. "),Object(n.dc)())}function A(t,e){if(1&t&&(Object(n.ec)(0,"td",22),Object(n.Sc)(1),Object(n.dc)()),2&t){const t=e.$implicit;Object(n.Mb)(1),Object(n.Uc)(" ",t.id," ")}}function T(t,e){1&t&&(Object(n.ec)(0,"th",21),Object(n.Sc)(1," First Name "),Object(n.dc)())}function P(t,e){1&t&&(Object(n.ec)(0,"span"),Object(n.ec)(1,"button",25),Object(n.ec)(2,"mat-icon"),Object(n.Sc)(3,"edit"),Object(n.dc)(),Object(n.dc)(),Object(n.dc)())}const I=function(t){return{person:t,focus:"firstName"}},V=function(){return{after:2}};function B(t,e){if(1&t&&(Object(n.ec)(0,"td",23),Object(n.Sc)(1),Object(n.Qc)(2,P,4,0,"span",24),Object(n.dc)()),2&t){const t=e.$implicit;Object(n.pc)();const i=Object(n.Cc)(2);Object(n.vc)("matPopoverEdit",i)("matPopoverEditContext",Object(n.zc)(4,I,t))("matPopoverEditColspan",Object(n.yc)(6,V)),Object(n.Mb)(1),Object(n.Uc)(" ",t.firstName," ")}}function H(t,e){1&t&&(Object(n.ec)(0,"th",21),Object(n.Sc)(1," Middle Name "),Object(n.dc)())}function z(t,e){1&t&&(Object(n.ec)(0,"span"),Object(n.ec)(1,"button",25),Object(n.ec)(2,"mat-icon"),Object(n.Sc)(3,"edit"),Object(n.dc)(),Object(n.dc)(),Object(n.dc)())}const Y=function(t){return{person:t,focus:"middleName"}},Q=function(){return{before:1,after:1}};function W(t,e){if(1&t&&(Object(n.ec)(0,"td",23),Object(n.Sc)(1),Object(n.Qc)(2,z,4,0,"span",24),Object(n.dc)()),2&t){const t=e.$implicit;Object(n.pc)();const i=Object(n.Cc)(2);Object(n.vc)("matPopoverEdit",i)("matPopoverEditContext",Object(n.zc)(4,Y,t))("matPopoverEditColspan",Object(n.yc)(6,Q)),Object(n.Mb)(1),Object(n.Uc)(" ",t.middleName," ")}}function q(t,e){1&t&&(Object(n.ec)(0,"th",21),Object(n.Sc)(1," Last Name "),Object(n.dc)())}function U(t,e){1&t&&(Object(n.ec)(0,"span"),Object(n.ec)(1,"button",25),Object(n.ec)(2,"mat-icon"),Object(n.Sc)(3,"edit"),Object(n.dc)(),Object(n.dc)(),Object(n.dc)())}const Z=function(t){return{person:t,focus:"lastName"}},G=function(){return{before:2}};function $(t,e){if(1&t&&(Object(n.ec)(0,"td",23),Object(n.Sc)(1),Object(n.Qc)(2,U,4,0,"span",24),Object(n.dc)()),2&t){const t=e.$implicit;Object(n.pc)();const i=Object(n.Cc)(2);Object(n.vc)("matPopoverEdit",i)("matPopoverEditContext",Object(n.zc)(4,Z,t))("matPopoverEditColspan",Object(n.yc)(6,G)),Object(n.Mb)(1),Object(n.Uc)(" ",t.lastName," ")}}function J(t,e){1&t&&Object(n.Zb)(0,"tr",26)}function X(t,e){1&t&&Object(n.Zb)(0,"tr",27)}const K=[{id:1,firstName:"Terra",middleName:"Maduin",lastName:"Branford"},{id:2,firstName:"Locke",middleName:"",lastName:"Cole"},{id:3,firstName:"Celes",middleName:"Gestahl",lastName:"Chere"},{id:4,firstName:"Edgar",middleName:"Roni",lastName:"Figaro"},{id:5,firstName:"Sabin",middleName:"Rene",lastName:"Figaro"},{id:6,firstName:"Clyde",middleName:'"Shadow"',lastName:"Arrowny"},{id:7,firstName:"Setzer",middleName:"",lastName:"Gabbiani"},{id:8,firstName:"Cid",middleName:"Del Norte",lastName:"Marquez"},{id:9,firstName:"Mog",middleName:"",lastName:"McMoogle"}];let tt=(()=>{class t{constructor(){this.displayedColumns=["id","firstName","middleName","lastName"],this.dataSource=new et,this.preservedValues=new WeakMap}onSubmit(t,e){e.valid&&(t.firstName=e.value.firstName,t.middleName=e.value.middleName,t.lastName=e.value.lastName)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Object(n.Sb)({type:t,selectors:[["popover-edit-cell-span-mat-table-example"]],decls:17,vars:3,consts:[["mat-table","","editable","",1,"example-table",3,"dataSource"],["nameEdit",""],["matColumnDef","id"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","firstName"],["mat-cell","",3,"matPopoverEdit","matPopoverEditContext","matPopoverEditColspan",4,"matCellDef"],["matColumnDef","middleName"],["matColumnDef","lastName"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["matEditLens","",3,"matEditLensPreservedFormValue","ngSubmit","matEditLensPreservedFormValueChange"],["f","ngForm"],["mat-edit-content","",1,"example-input-container"],["matInput","","name","firstName","required","",3,"ngModel"],["matInput","","name","middleName",3,"ngModel"],["matInput","","name","lastName","required","",3,"ngModel"],["mat-edit-actions",""],["mat-button","","type","submit"],["mat-button","","cdkEditRevert",""],["mat-button","","cdkEditClose",""],["mat-header-cell",""],["mat-cell",""],["mat-cell","",3,"matPopoverEdit","matPopoverEditContext","matPopoverEditColspan"],[4,"matRowHoverContent"],["mat-icon-button","","matEditOpen",""],["mat-header-row",""],["mat-row",""]],template:function(t,e){1&t&&(Object(n.ec)(0,"table",0),Object(n.Qc)(1,F,17,7,"ng-template",null,1,n.Rc),Object(n.cc)(3,2),Object(n.Qc)(4,N,2,0,"th",3),Object(n.Qc)(5,A,2,1,"td",4),Object(n.bc)(),Object(n.cc)(6,5),Object(n.Qc)(7,T,2,0,"th",3),Object(n.Qc)(8,B,3,7,"td",6),Object(n.bc)(),Object(n.cc)(9,7),Object(n.Qc)(10,H,2,0,"th",3),Object(n.Qc)(11,W,3,7,"td",6),Object(n.bc)(),Object(n.cc)(12,8),Object(n.Qc)(13,q,2,0,"th",3),Object(n.Qc)(14,$,3,7,"td",6),Object(n.bc)(),Object(n.Qc)(15,J,1,0,"tr",9),Object(n.Qc)(16,X,1,0,"tr",10),Object(n.dc)()),2&t&&(Object(n.vc)("dataSource",e.dataSource),Object(n.Mb)(15),Object(n.vc)("matHeaderRowDef",e.displayedColumns),Object(n.Mb)(1),Object(n.vc)("matRowDefColumns",e.displayedColumns))},directives:[E.o,o.e,E.c,E.i,E.b,E.k,E.n,s.y,s.o,s.p,r,M.c,C.b,s.c,s.u,s.n,s.q,j.b,E.h,E.a,b,_,O,x.a,E.j,E.m],styles:[".example-table[_ngcontent-%COMP%] {\n width: 100%;\n}\n\n.example-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%] {\n text-align: left;\n}\n\n.example-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%], .example-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%] {\n min-width: 300px;\n width: 25%;\n}\n\n.example-input-container[_ngcontent-%COMP%] {\n display: flex;\n justify-content: stretch;\n}\n\n.example-input-container[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%] {\n flex: 1;\n}"]}),t})();class et extends D.b{constructor(){super(...arguments),this.data=new L.a(K)}connect(){return this.data}disconnect(){}}function it(t,e){if(1&t){const t=Object(n.fc)();Object(n.ec)(0,"div"),Object(n.ec)(1,"form",12,13),Object(n.lc)("ngSubmit",function(){Object(n.Gc)(t);const i=e.$implicit,a=Object(n.Cc)(2);return Object(n.pc)().onSubmitWeight(i,a)})("matEditLensPreservedFormValueChange",function(i){Object(n.Gc)(t);const a=e.$implicit;return Object(n.pc)().preservedWeightValues.set(a,i)}),Object(n.ec)(3,"div",14),Object(n.ec)(4,"mat-form-field"),Object(n.Zb)(5,"input",15),Object(n.dc)(),Object(n.dc)(),Object(n.dc)(),Object(n.dc)()}if(2&t){const t=e.$implicit,i=Object(n.pc)();Object(n.Mb)(1),Object(n.vc)("matEditLensPreservedFormValue",i.preservedWeightValues.get(t)),Object(n.Mb)(4),Object(n.vc)("ngModel",t.weight)}}function nt(t,e){1&t&&(Object(n.ec)(0,"mat-header-cell"),Object(n.Sc)(1," No. "),Object(n.dc)())}function at(t,e){if(1&t&&(Object(n.ec)(0,"mat-cell"),Object(n.Sc)(1),Object(n.dc)()),2&t){const t=e.$implicit;Object(n.Mb)(1),Object(n.Uc)(" ",t.position," ")}}function st(t,e){1&t&&(Object(n.ec)(0,"mat-header-cell"),Object(n.Sc)(1," Name "),Object(n.dc)())}function ot(t,e){if(1&t){const t=Object(n.fc)();Object(n.ec)(0,"div"),Object(n.ec)(1,"form",12,13),Object(n.lc)("ngSubmit",function(){Object(n.Gc)(t);const e=Object(n.Cc)(2),i=Object(n.pc)().$implicit;return Object(n.pc)().onSubmitName(i,e)})("matEditLensPreservedFormValueChange",function(e){Object(n.Gc)(t);const i=Object(n.pc)().$implicit;return Object(n.pc)().preservedNameValues.set(i,e)}),Object(n.ec)(3,"h2",19),Object(n.Sc)(4,"Name"),Object(n.dc)(),Object(n.ec)(5,"div",14),Object(n.ec)(6,"mat-form-field"),Object(n.Zb)(7,"input",20),Object(n.dc)(),Object(n.dc)(),Object(n.ec)(8,"div",21),Object(n.ec)(9,"button",22),Object(n.Sc)(10,"Confirm"),Object(n.dc)(),Object(n.ec)(11,"button",23),Object(n.Sc)(12,"Revert"),Object(n.dc)(),Object(n.ec)(13,"button",24),Object(n.Sc)(14,"Close"),Object(n.dc)(),Object(n.dc)(),Object(n.dc)(),Object(n.dc)()}if(2&t){const t=Object(n.pc)().$implicit,e=Object(n.pc)();Object(n.Mb)(1),Object(n.vc)("matEditLensPreservedFormValue",e.preservedNameValues.get(t)),Object(n.Mb)(6),Object(n.vc)("ngModel",t.name)}}function ct(t,e){1&t&&(Object(n.ec)(0,"span"),Object(n.ec)(1,"button",25),Object(n.ec)(2,"mat-icon"),Object(n.Sc)(3,"edit"),Object(n.dc)(),Object(n.dc)(),Object(n.dc)())}function rt(t,e){if(1&t&&(Object(n.ec)(0,"mat-cell",16),Object(n.Sc)(1),Object(n.Qc)(2,ot,15,2,"ng-template",null,17,n.Rc),Object(n.Qc)(4,ct,4,0,"span",18),Object(n.dc)()),2&t){const t=e.$implicit,i=Object(n.Cc)(3);Object(n.vc)("matPopoverEdit",i),Object(n.Mb)(1),Object(n.Uc)(" ",t.name," ")}}function lt(t,e){1&t&&(Object(n.ec)(0,"mat-header-cell"),Object(n.Sc)(1," Weight "),Object(n.dc)())}function dt(t,e){1&t&&(Object(n.ec)(0,"span"),Object(n.ec)(1,"button",25),Object(n.ec)(2,"mat-icon"),Object(n.Sc)(3,"edit"),Object(n.dc)(),Object(n.dc)(),Object(n.dc)())}function mt(t,e){if(1&t&&(Object(n.ec)(0,"mat-cell",26),Object(n.Sc)(1),Object(n.Qc)(2,dt,4,0,"span",18),Object(n.dc)()),2&t){const t=e.$implicit;Object(n.pc)();const i=Object(n.Cc)(2);Object(n.vc)("matPopoverEdit",i)("matPopoverEditContext",t),Object(n.Mb)(1),Object(n.Uc)(" ",t.weight," ")}}function ht(t,e){1&t&&(Object(n.ec)(0,"mat-header-cell"),Object(n.Sc)(1," Symbol "),Object(n.dc)())}function ut(t,e){if(1&t&&(Object(n.ec)(0,"mat-cell"),Object(n.Sc)(1),Object(n.dc)()),2&t){const t=e.$implicit;Object(n.Mb)(1),Object(n.Uc)(" ",t.symbol," ")}}function bt(t,e){1&t&&Object(n.Zb)(0,"mat-header-row")}function pt(t,e){1&t&&Object(n.Zb)(0,"mat-row")}const ft=[{position:1,name:"Hydrogen",weight:1.0079,symbol:"H"},{position:2,name:"Helium",weight:4.0026,symbol:"He"},{position:3,name:"Lithium",weight:6.941,symbol:"Li"},{position:4,name:"Beryllium",weight:9.0122,symbol:"Be"},{position:5,name:"Boron",weight:10.811,symbol:"B"},{position:6,name:"Carbon",weight:12.0107,symbol:"C"},{position:7,name:"Nitrogen",weight:14.0067,symbol:"N"},{position:8,name:"Oxygen",weight:15.9994,symbol:"O"},{position:9,name:"Fluorine",weight:18.9984,symbol:"F"},{position:10,name:"Neon",weight:20.1797,symbol:"Ne"},{position:11,name:"Sodium",weight:22.9897,symbol:"Na"},{position:12,name:"Magnesium",weight:24.305,symbol:"Mg"},{position:13,name:"Aluminum",weight:26.9815,symbol:"Al"},{position:14,name:"Silicon",weight:28.0855,symbol:"Si"},{position:15,name:"Phosphorus",weight:30.9738,symbol:"P"},{position:16,name:"Sulfur",weight:32.065,symbol:"S"},{position:17,name:"Chlorine",weight:35.453,symbol:"Cl"},{position:18,name:"Argon",weight:39.948,symbol:"Ar"},{position:19,name:"Potassium",weight:39.0983,symbol:"K"},{position:20,name:"Calcium",weight:40.078,symbol:"Ca"}];let gt=(()=>{class t{constructor(){this.displayedColumns=["position","name","weight","symbol"],this.dataSource=new _t,this.preservedNameValues=new WeakMap,this.preservedWeightValues=new WeakMap}onSubmitName(t,e){e.valid&&(t.name=e.value.name)}onSubmitWeight(t,e){e.valid&&(t.weight=e.value.weight)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Object(n.Sb)({type:t,selectors:[["popover-edit-mat-table-flex-example"]],decls:17,vars:3,consts:[["editable","",1,"example-table",3,"dataSource"],["weightEdit",""],["matColumnDef","position"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","name"],[3,"matPopoverEdit",4,"matCellDef"],["matColumnDef","weight"],[3,"matPopoverEdit","matPopoverEditContext",4,"matCellDef"],["matColumnDef","symbol"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],["matEditLens","",3,"matEditLensPreservedFormValue","ngSubmit","matEditLensPreservedFormValueChange"],["f","ngForm"],["mat-edit-content",""],["matInput","","type","number","name","weight","required","",3,"ngModel"],[3,"matPopoverEdit"],["nameEdit",""],[4,"matRowHoverContent"],["mat-edit-title",""],["matInput","","name","name","required","",3,"ngModel"],["mat-edit-actions",""],["mat-button","","type","submit"],["mat-button","","matEditRevert",""],["mat-button","","matEditClose",""],["mat-icon-button","","matEditOpen",""],[3,"matPopoverEdit","matPopoverEditContext"]],template:function(t,e){1&t&&(Object(n.ec)(0,"mat-table",0),Object(n.Qc)(1,it,6,2,"ng-template",null,1,n.Rc),Object(n.cc)(3,2),Object(n.Qc)(4,nt,2,0,"mat-header-cell",3),Object(n.Qc)(5,at,2,1,"mat-cell",4),Object(n.bc)(),Object(n.cc)(6,5),Object(n.Qc)(7,st,2,0,"mat-header-cell",3),Object(n.Qc)(8,rt,5,2,"mat-cell",6),Object(n.bc)(),Object(n.cc)(9,7),Object(n.Qc)(10,lt,2,0,"mat-header-cell",3),Object(n.Qc)(11,mt,3,3,"mat-cell",8),Object(n.bc)(),Object(n.cc)(12,9),Object(n.Qc)(13,ht,2,0,"mat-header-cell",3),Object(n.Qc)(14,ut,2,1,"mat-cell",4),Object(n.bc)(),Object(n.Qc)(15,bt,1,0,"mat-header-row",10),Object(n.Qc)(16,pt,1,0,"mat-row",11),Object(n.dc)()),2&t&&(Object(n.vc)("dataSource",e.dataSource),Object(n.Mb)(15),Object(n.vc)("matHeaderRowDef",e.displayedColumns),Object(n.Mb)(1),Object(n.vc)("matRowDefColumns",e.displayedColumns))},directives:[E.o,o.e,E.c,E.i,E.b,E.k,E.n,s.y,s.o,s.p,r,M.c,C.b,s.s,s.c,s.u,s.n,s.q,E.h,E.a,b,_,j.b,d,h,O,x.a,E.j,E.m],styles:[".example-table[_ngcontent-%COMP%] {\n width: 100%;\n}"]}),t})();class _t extends D.b{constructor(){super(...arguments),this.data=new L.a(ft)}connect(){return this.data}disconnect(){}}function vt(t,e){if(1&t){const t=Object(n.fc)();Object(n.ec)(0,"div"),Object(n.ec)(1,"form",15,16),Object(n.lc)("ngSubmit",function(){Object(n.Gc)(t);const i=e.$implicit,a=Object(n.Cc)(2);return Object(n.pc)().onSubmitWeight(i,a)})("matEditLensPreservedFormValueChange",function(i){Object(n.Gc)(t);const a=e.$implicit;return Object(n.pc)().weightValues.for(a).value=i}),Object(n.ec)(3,"div",17),Object(n.ec)(4,"mat-form-field"),Object(n.Zb)(5,"input",18),Object(n.dc)(),Object(n.dc)(),Object(n.dc)(),Object(n.dc)()}if(2&t){const t=e.$implicit,i=Object(n.pc)();Object(n.Mb)(1),Object(n.vc)("matEditLensPreservedFormValue",i.weightValues.for(t).value),Object(n.Mb)(4),Object(n.vc)("ngModel",t.weight)}}function Ot(t,e){1&t&&(Object(n.ec)(0,"th",19),Object(n.Sc)(1," No. "),Object(n.dc)())}function yt(t,e){if(1&t){const t=Object(n.fc)();Object(n.ec)(0,"span"),Object(n.ec)(1,"button",22),Object(n.lc)("click",function(){Object(n.Gc)(t);const e=Object(n.pc)().$implicit;return Object(n.pc)().goodJob(e)}),Object(n.ec)(2,"mat-icon"),Object(n.Sc)(3,"thumb_up"),Object(n.dc)(),Object(n.dc)(),Object(n.ec)(4,"button",22),Object(n.lc)("click",function(){Object(n.Gc)(t);const e=Object(n.pc)().$implicit;return Object(n.pc)().badJob(e)}),Object(n.ec)(5,"mat-icon"),Object(n.Sc)(6,"thumb_down"),Object(n.dc)(),Object(n.dc)(),Object(n.dc)()}}function wt(t,e){if(1&t&&(Object(n.ec)(0,"td",20),Object(n.Sc)(1),Object(n.Qc)(2,yt,7,0,"span",21),Object(n.dc)()),2&t){const t=e.$implicit;Object(n.Mb)(1),Object(n.Uc)(" ",t.position," ")}}function jt(t,e){if(1&t){const t=Object(n.fc)();Object(n.ec)(0,"th",19),Object(n.Sc)(1," Name "),Object(n.ec)(2,"mat-checkbox",23),Object(n.lc)("ngModelChange",function(e){return Object(n.Gc)(t),Object(n.pc)().nameEditEnabled=e}),Object(n.Sc)(3,"Edit enabled"),Object(n.dc)(),Object(n.dc)()}if(2&t){const t=Object(n.pc)();Object(n.Mb)(2),Object(n.vc)("ngModel",t.nameEditEnabled)}}function kt(t,e){if(1&t){const t=Object(n.fc)();Object(n.ec)(0,"div"),Object(n.ec)(1,"form",15,16),Object(n.lc)("ngSubmit",function(){Object(n.Gc)(t);const e=Object(n.Cc)(2),i=Object(n.pc)().$implicit;return Object(n.pc)().onSubmitName(i,e)})("matEditLensPreservedFormValueChange",function(e){Object(n.Gc)(t);const i=Object(n.pc)().$implicit;return Object(n.pc)().nameValues.for(i).value=e}),Object(n.ec)(3,"h2",27),Object(n.Sc)(4,"Name"),Object(n.dc)(),Object(n.ec)(5,"div",17),Object(n.ec)(6,"mat-form-field"),Object(n.Zb)(7,"input",28),Object(n.dc)(),Object(n.dc)(),Object(n.ec)(8,"div",29),Object(n.ec)(9,"button",30),Object(n.Sc)(10,"Confirm"),Object(n.dc)(),Object(n.ec)(11,"button",31),Object(n.Sc)(12,"Revert"),Object(n.dc)(),Object(n.ec)(13,"button",32),Object(n.Sc)(14,"Close"),Object(n.dc)(),Object(n.dc)(),Object(n.dc)(),Object(n.dc)()}if(2&t){const t=Object(n.pc)().$implicit,e=Object(n.pc)();Object(n.Mb)(1),Object(n.vc)("matEditLensPreservedFormValue",e.nameValues.for(t).value),Object(n.Mb)(6),Object(n.vc)("ngModel",t.name)}}function xt(t,e){1&t&&(Object(n.ec)(0,"span"),Object(n.ec)(1,"button",33),Object(n.ec)(2,"mat-icon"),Object(n.Sc)(3,"edit"),Object(n.dc)(),Object(n.dc)(),Object(n.dc)())}function Ct(t,e){1&t&&(Object(n.cc)(0),Object(n.Qc)(1,xt,4,0,"span",21),Object(n.bc)())}function Rt(t,e){if(1&t&&(Object(n.ec)(0,"td",24),Object(n.Sc)(1),Object(n.Qc)(2,kt,15,2,"ng-template",null,25,n.Rc),Object(n.Qc)(4,Ct,2,0,"ng-container",26),Object(n.dc)()),2&t){const t=e.$implicit,i=Object(n.Cc)(3),a=Object(n.pc)();Object(n.vc)("matPopoverEdit",i)("matPopoverEditDisabled",!a.nameEditEnabled),Object(n.Mb)(1),Object(n.Uc)(" ",t.name," "),Object(n.Mb)(3),Object(n.vc)("ngIf",a.nameEditEnabled)}}function St(t,e){1&t&&(Object(n.ec)(0,"th",19),Object(n.Sc)(1," Type "),Object(n.dc)())}function Et(t,e){if(1&t&&(Object(n.ec)(0,"mat-list-option",40),Object(n.Sc)(1),Object(n.dc)()),2&t){const t=e.$implicit;Object(n.vc)("value",t),Object(n.Mb)(1),Object(n.Uc)(" ",t," ")}}const Dt=function(t){return[t]};function Lt(t,e){if(1&t){const t=Object(n.fc)();Object(n.ec)(0,"div"),Object(n.ec)(1,"form",36,16),Object(n.lc)("ngSubmit",function(){Object(n.Gc)(t);const e=Object(n.Cc)(2),i=Object(n.pc)().$implicit;return Object(n.pc)().onSubmitType(i,e)})("matEditLensPreservedFormValueChange",function(e){Object(n.Gc)(t);const i=Object(n.pc)().$implicit;return Object(n.pc)().typeValues.for(i).value=e}),Object(n.ec)(3,"div",37),Object(n.ec)(4,"mat-selection-list",38),Object(n.lc)("selectionChange",function(){return Object(n.Gc)(t),Object(n.Cc)(2).ngSubmit.emit()}),Object(n.Qc)(5,Et,2,2,"mat-list-option",39),Object(n.dc)(),Object(n.dc)(),Object(n.dc)(),Object(n.dc)()}if(2&t){const t=Object(n.pc)().$implicit,e=Object(n.pc)();Object(n.Mb)(1),Object(n.vc)("matEditLensPreservedFormValue",e.typeValues.for(t).value),Object(n.Mb)(3),Object(n.vc)("multiple",!1)("ngModel",Object(n.zc)(4,Dt,t.type)),Object(n.Mb)(1),Object(n.vc)("ngForOf",e.TYPES)}}function Mt(t,e){1&t&&(Object(n.ec)(0,"span"),Object(n.ec)(1,"button",33),Object(n.ec)(2,"mat-icon"),Object(n.Sc)(3,"arrow_drop_down"),Object(n.dc)(),Object(n.dc)(),Object(n.dc)())}function Ft(t,e){if(1&t&&(Object(n.ec)(0,"td",34),Object(n.Sc)(1),Object(n.Qc)(2,Lt,6,6,"ng-template",null,35,n.Rc),Object(n.Qc)(4,Mt,4,0,"span",21),Object(n.dc)()),2&t){const t=e.$implicit,i=Object(n.Cc)(3);Object(n.vc)("matPopoverEdit",i),Object(n.Mb)(1),Object(n.Uc)(" ",t.type," ")}}function Nt(t,e){1&t&&(Object(n.ec)(0,"th",19),Object(n.Sc)(1," Weight "),Object(n.dc)())}function At(t,e){1&t&&(Object(n.ec)(0,"span"),Object(n.ec)(1,"button",33),Object(n.ec)(2,"mat-icon"),Object(n.Sc)(3,"edit"),Object(n.dc)(),Object(n.dc)(),Object(n.dc)())}function Tt(t,e){if(1&t&&(Object(n.ec)(0,"td",41),Object(n.Sc)(1),Object(n.Qc)(2,At,4,0,"span",21),Object(n.dc)()),2&t){const t=e.$implicit;Object(n.pc)();const i=Object(n.Cc)(2);Object(n.vc)("matPopoverEdit",i)("matPopoverEditContext",t),Object(n.Mb)(1),Object(n.Uc)(" ",t.weight," ")}}function Pt(t,e){1&t&&(Object(n.ec)(0,"th",19),Object(n.Sc)(1," Symbol "),Object(n.dc)())}function It(t,e){if(1&t&&(Object(n.ec)(0,"td",20),Object(n.Sc)(1),Object(n.dc)()),2&t){const t=e.$implicit;Object(n.Mb)(1),Object(n.Uc)(" ",t.symbol," ")}}function Vt(t,e){1&t&&Object(n.Zb)(0,"tr",42)}function Bt(t,e){1&t&&Object(n.Zb)(0,"tr",43)}function Ht(t,e){1&t&&(Object(n.ec)(0,"th",19),Object(n.Sc)(1," Fantasy Counterparts "),Object(n.dc)())}function zt(t,e){if(1&t&&(Object(n.ec)(0,"mat-list-option",47),Object(n.Sc)(1),Object(n.dc)()),2&t){const t=e.$implicit;Object(n.vc)("value",t),Object(n.Mb)(1),Object(n.Uc)(" ",t," ")}}function Yt(t,e){if(1&t){const t=Object(n.fc)();Object(n.ec)(0,"div"),Object(n.ec)(1,"form",15,16),Object(n.lc)("ngSubmit",function(){Object(n.Gc)(t);const e=Object(n.Cc)(2),i=Object(n.pc)().$implicit;return Object(n.pc)().onSubmitFantasyCounterparts(i,e)})("matEditLensPreservedFormValueChange",function(e){Object(n.Gc)(t);const i=Object(n.pc)().$implicit;return Object(n.pc)().fantasyValues.for(i).value=e}),Object(n.ec)(3,"div",37),Object(n.ec)(4,"mat-selection-list",45),Object(n.Qc)(5,zt,2,2,"mat-list-option",46),Object(n.dc)(),Object(n.dc)(),Object(n.ec)(6,"div",29),Object(n.ec)(7,"button",30),Object(n.Sc)(8,"Confirm"),Object(n.dc)(),Object(n.ec)(9,"button",31),Object(n.Sc)(10,"Revert"),Object(n.dc)(),Object(n.dc)(),Object(n.dc)(),Object(n.dc)()}if(2&t){const t=Object(n.pc)().$implicit,e=Object(n.pc)();Object(n.Mb)(1),Object(n.vc)("matEditLensPreservedFormValue",e.fantasyValues.for(t).value),Object(n.Mb)(3),Object(n.vc)("ngModel",t.fantasyCounterparts),Object(n.Mb)(1),Object(n.vc)("ngForOf",e.FANTASY_ELEMENTS)}}function Qt(t,e){1&t&&(Object(n.ec)(0,"span"),Object(n.ec)(1,"button",33),Object(n.ec)(2,"mat-icon"),Object(n.Sc)(3,"arrow_drop_down"),Object(n.dc)(),Object(n.dc)(),Object(n.dc)())}function Wt(t,e){if(1&t&&(Object(n.ec)(0,"td",34),Object(n.Sc)(1),Object(n.Qc)(2,Yt,11,3,"ng-template",null,44,n.Rc),Object(n.Qc)(4,Qt,4,0,"span",21),Object(n.dc)()),2&t){const t=e.$implicit,i=Object(n.Cc)(3);Object(n.vc)("matPopoverEdit",i),Object(n.Mb)(1),Object(n.Uc)(" ",t.fantasyCounterparts.join(", ")," ")}}const qt=[{position:1,name:"Hydrogen",type:"Nonmetal",weight:1.0079,symbol:"H",fantasyCounterparts:["Fire","Wind","Light"]},{position:2,name:"Helium",type:"Nonmetal",weight:4.0026,symbol:"He",fantasyCounterparts:["Wind","Light"]},{position:3,name:"Lithium",type:"Metal",weight:6.941,symbol:"Li",fantasyCounterparts:[]},{position:4,name:"Beryllium",type:"Metal",weight:9.0122,symbol:"Be",fantasyCounterparts:[]},{position:5,name:"Boron",type:"Semimetal",weight:10.811,symbol:"B",fantasyCounterparts:[]},{position:6,name:"Carbon",type:"Nonmetal",weight:12.0107,symbol:"C",fantasyCounterparts:["Earth","Dark"]},{position:7,name:"Nitrogen",type:"Nonmetal",weight:14.0067,symbol:"N",fantasyCounterparts:["Wind"]},{position:8,name:"Oxygen",type:"Nonmetal",weight:15.9994,symbol:"O",fantasyCounterparts:["Fire","Water","Wind"]},{position:9,name:"Fluorine",type:"Nonmetal",weight:18.9984,symbol:"F",fantasyCounterparts:[]},{position:10,name:"Neon",type:"Nonmetal",weight:20.1797,symbol:"Ne",fantasyCounterparts:["Light"]},{position:11,name:"Sodium",type:"Metal",weight:22.9897,symbol:"Na",fantasyCounterparts:["Earth","Water"]},{position:12,name:"Magnesium",type:"Metal",weight:24.305,symbol:"Mg",fantasyCounterparts:[]},{position:13,name:"Aluminum",type:"Metal",weight:26.9815,symbol:"Al",fantasyCounterparts:[]},{position:14,name:"Silicon",type:"Semimetal",weight:28.0855,symbol:"Si",fantasyCounterparts:[]},{position:15,name:"Phosphorus",type:"Nonmetal",weight:30.9738,symbol:"P",fantasyCounterparts:[]},{position:16,name:"Sulfur",type:"Nonmetal",weight:32.065,symbol:"S",fantasyCounterparts:[]},{position:17,name:"Chlorine",type:"Nonmetal",weight:35.453,symbol:"Cl",fantasyCounterparts:[]},{position:18,name:"Argon",type:"Nonmetal",weight:39.948,symbol:"Ar",fantasyCounterparts:[]},{position:19,name:"Potassium",type:"Metal",weight:39.0983,symbol:"K",fantasyCounterparts:[]},{position:20,name:"Calcium",type:"Metal",weight:40.078,symbol:"Ca",fantasyCounterparts:[]}],Ut=["Metal","Semimetal","Nonmetal"],Zt=["Earth","Water","Wind","Fire","Light","Dark"];let Gt=(()=>{class t{constructor(t){this._snackBar=t,this.displayedColumns=["position","name","type","weight","symbol","fantasyCounterpart"],this.dataSource=new $t,this.nameEditEnabled=!0,this.TYPES=Ut,this.FANTASY_ELEMENTS=Zt,this.nameValues=new o.k,this.weightValues=new o.k,this.typeValues=new o.k,this.fantasyValues=new o.k}onSubmitName(t,e){e.valid&&(t.name=e.value.name)}onSubmitWeight(t,e){e.valid&&(t.weight=e.value.weight)}onSubmitType(t,e){e.valid&&(t.type=e.value.type[0])}onSubmitFantasyCounterparts(t,e){e.valid&&(t.fantasyCounterparts=e.value.fantasyCounterparts)}goodJob(t){this._snackBar.open(`Way to go, ${t.name}!`,void 0,{duration:2e3})}badJob(t){this._snackBar.open(`You have failed me for the last time, #${t.position}.`,void 0,{duration:2e3})}}return t.\u0275fac=function(e){return new(e||t)(Object(n.Yb)(S.a))},t.\u0275cmp=Object(n.Sb)({type:t,selectors:[["popover-edit-mat-table-example"]],decls:23,vars:3,consts:[["mat-table","","editable","",1,"example-table",3,"dataSource"],["weightEdit",""],["matColumnDef","position"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","name"],["mat-cell","",3,"matPopoverEdit","matPopoverEditDisabled",4,"matCellDef"],["matColumnDef","type"],["mat-cell","",3,"matPopoverEdit",4,"matCellDef"],["matColumnDef","weight"],["mat-cell","",3,"matPopoverEdit","matPopoverEditContext",4,"matCellDef"],["matColumnDef","symbol"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["matColumnDef","fantasyCounterpart"],["matEditLens","",3,"matEditLensPreservedFormValue","ngSubmit","matEditLensPreservedFormValueChange"],["f","ngForm"],["mat-edit-content",""],["matInput","","type","number","name","weight","required","",3,"ngModel"],["mat-header-cell",""],["mat-cell",""],[4,"matRowHoverContent"],["mat-icon-button","",3,"click"],[3,"ngModel","ngModelChange"],["mat-cell","",3,"matPopoverEdit","matPopoverEditDisabled"],["nameEdit",""],[4,"ngIf"],["mat-edit-title",""],["matInput","","name","name","required","",3,"ngModel"],["mat-edit-actions",""],["mat-button","","type","submit"],["mat-button","","matEditRevert",""],["mat-button","","matEditClose",""],["mat-icon-button","","matEditOpen",""],["mat-cell","",3,"matPopoverEdit"],["typeEdit",""],["matEditLens","","matEditClose","",3,"matEditLensPreservedFormValue","ngSubmit","matEditLensPreservedFormValueChange"],["mat-edit-fill",""],["name","type","aria-label","Element type",3,"multiple","ngModel","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["mat-cell","",3,"matPopoverEdit","matPopoverEditContext"],["mat-header-row",""],["mat-row",""],["fantasyCounterpartEdit",""],["name","fantasyCounterparts","aria-label","Fantasy Element Counterparts",3,"ngModel"],["checkboxPosition","before",3,"value",4,"ngFor","ngForOf"],["checkboxPosition","before",3,"value"]],template:function(t,e){1&t&&(Object(n.ec)(0,"table",0),Object(n.Qc)(1,vt,6,2,"ng-template",null,1,n.Rc),Object(n.cc)(3,2),Object(n.Qc)(4,Ot,2,0,"th",3),Object(n.Qc)(5,wt,3,1,"td",4),Object(n.bc)(),Object(n.cc)(6,5),Object(n.Qc)(7,jt,4,1,"th",3),Object(n.Qc)(8,Rt,5,4,"td",6),Object(n.bc)(),Object(n.cc)(9,7),Object(n.Qc)(10,St,2,0,"th",3),Object(n.Qc)(11,Ft,5,2,"td",8),Object(n.bc)(),Object(n.cc)(12,9),Object(n.Qc)(13,Nt,2,0,"th",3),Object(n.Qc)(14,Tt,3,3,"td",10),Object(n.bc)(),Object(n.cc)(15,11),Object(n.Qc)(16,Pt,2,0,"th",3),Object(n.Qc)(17,It,2,1,"td",4),Object(n.bc)(),Object(n.Qc)(18,Vt,1,0,"tr",12),Object(n.Qc)(19,Bt,1,0,"tr",13),Object(n.cc)(20,14),Object(n.Qc)(21,Ht,2,0,"th",3),Object(n.Qc)(22,Wt,5,2,"td",8),Object(n.bc)(),Object(n.dc)()),2&t&&(Object(n.vc)("dataSource",e.dataSource),Object(n.Mb)(18),Object(n.vc)("matHeaderRowDef",e.displayedColumns),Object(n.Mb)(1),Object(n.vc)("matRowDefColumns",e.displayedColumns))},directives:[E.o,o.e,E.c,E.i,E.b,E.k,E.n,s.y,s.o,s.p,r,M.c,C.b,s.s,s.c,s.u,s.n,s.q,E.h,E.a,_,j.b,x.a,k.a,b,a.t,d,h,O,R.h,a.s,R.e,E.j,E.m],styles:[".example-table[_ngcontent-%COMP%] {\n width: 100%;\n}\n\n.example-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%] {\n text-align: left;\n}\n\n.example-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%], .example-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%] {\n width: 16%;\n}"]}),t})();class $t extends D.b{constructor(){super(...arguments),this.data=new L.a(qt)}connect(){return this.data}disconnect(){}}function Jt(t,e){if(1&t){const t=Object(n.fc)();Object(n.ec)(0,"div"),Object(n.ec)(1,"form",12,13),Object(n.lc)("ngSubmit",function(){Object(n.Gc)(t);const i=e.$implicit,a=Object(n.Cc)(2);return Object(n.pc)().onSubmitWeight(i,a)})("matEditLensPreservedFormValueChange",function(i){Object(n.Gc)(t);const a=e.$implicit;return Object(n.pc)().preservedWeightValues.set(a,i)}),Object(n.ec)(3,"div",14),Object(n.ec)(4,"mat-form-field"),Object(n.Zb)(5,"input",15),Object(n.dc)(),Object(n.dc)(),Object(n.dc)(),Object(n.dc)()}if(2&t){const t=e.$implicit,i=Object(n.pc)();Object(n.Mb)(1),Object(n.vc)("matEditLensPreservedFormValue",i.preservedWeightValues.get(t)),Object(n.Mb)(4),Object(n.vc)("ngModel",t.weight)}}function Xt(t,e){1&t&&(Object(n.ec)(0,"th",16),Object(n.Sc)(1," No. "),Object(n.dc)())}function Kt(t,e){if(1&t&&(Object(n.ec)(0,"td",17),Object(n.Sc)(1),Object(n.dc)()),2&t){const t=e.$implicit;Object(n.Mb)(1),Object(n.Uc)(" ",t.position," ")}}function te(t,e){1&t&&(Object(n.ec)(0,"th",16),Object(n.Sc)(1," Name "),Object(n.dc)())}function ee(t,e){if(1&t){const t=Object(n.fc)();Object(n.ec)(0,"div"),Object(n.ec)(1,"form",12,13),Object(n.lc)("ngSubmit",function(){Object(n.Gc)(t);const e=Object(n.Cc)(2),i=Object(n.pc)().$implicit;return Object(n.pc)().onSubmitName(i,e)})("matEditLensPreservedFormValueChange",function(e){Object(n.Gc)(t);const i=Object(n.pc)().$implicit;return Object(n.pc)().preservedNameValues.set(i,e)}),Object(n.ec)(3,"div",14),Object(n.ec)(4,"mat-form-field"),Object(n.Zb)(5,"input",21),Object(n.dc)(),Object(n.dc)(),Object(n.dc)(),Object(n.dc)()}if(2&t){const t=Object(n.pc)().$implicit,e=Object(n.pc)();Object(n.Mb)(1),Object(n.vc)("matEditLensPreservedFormValue",e.preservedNameValues.get(t)),Object(n.Mb)(4),Object(n.vc)("ngModel",t.name)}}function ie(t,e){1&t&&(Object(n.ec)(0,"span"),Object(n.ec)(1,"mat-icon"),Object(n.Sc)(2,"edit"),Object(n.dc)(),Object(n.dc)())}function ne(t,e){if(1&t&&(Object(n.ec)(0,"td",18),Object(n.Sc)(1),Object(n.Qc)(2,ee,6,2,"ng-template",null,19,n.Rc),Object(n.Qc)(4,ie,3,0,"span",20),Object(n.dc)()),2&t){const t=e.$implicit,i=Object(n.Cc)(3);Object(n.vc)("matPopoverEdit",i),Object(n.Mb)(1),Object(n.Uc)(" ",t.name," ")}}function ae(t,e){1&t&&(Object(n.ec)(0,"th",16),Object(n.Sc)(1," Weight "),Object(n.dc)())}function se(t,e){1&t&&(Object(n.ec)(0,"span"),Object(n.ec)(1,"mat-icon"),Object(n.Sc)(2,"edit"),Object(n.dc)(),Object(n.dc)())}function oe(t,e){if(1&t&&(Object(n.ec)(0,"td",22),Object(n.Sc)(1),Object(n.Qc)(2,se,3,0,"span",20),Object(n.dc)()),2&t){const t=e.$implicit;Object(n.pc)();const i=Object(n.Cc)(2);Object(n.vc)("matPopoverEdit",i)("matPopoverEditContext",t),Object(n.Mb)(1),Object(n.Uc)(" ",t.weight," ")}}function ce(t,e){1&t&&(Object(n.ec)(0,"th",16),Object(n.Sc)(1," Symbol "),Object(n.dc)())}function re(t,e){if(1&t&&(Object(n.ec)(0,"td",17),Object(n.Sc)(1),Object(n.dc)()),2&t){const t=e.$implicit;Object(n.Mb)(1),Object(n.Uc)(" ",t.symbol," ")}}function le(t,e){1&t&&Object(n.Zb)(0,"tr",23)}function de(t,e){1&t&&Object(n.Zb)(0,"tr",24)}const me=[{position:1,name:"Hydrogen",weight:1.0079,symbol:"H"},{position:2,name:"Helium",weight:4.0026,symbol:"He"},{position:3,name:"Lithium",weight:6.941,symbol:"Li"},{position:4,name:"Beryllium",weight:9.0122,symbol:"Be"},{position:5,name:"Boron",weight:10.811,symbol:"B"},{position:6,name:"Carbon",weight:12.0107,symbol:"C"},{position:7,name:"Nitrogen",weight:14.0067,symbol:"N"},{position:8,name:"Oxygen",weight:15.9994,symbol:"O"},{position:9,name:"Fluorine",weight:18.9984,symbol:"F"},{position:10,name:"Neon",weight:20.1797,symbol:"Ne"},{position:11,name:"Sodium",weight:22.9897,symbol:"Na"},{position:12,name:"Magnesium",weight:24.305,symbol:"Mg"},{position:13,name:"Aluminum",weight:26.9815,symbol:"Al"},{position:14,name:"Silicon",weight:28.0855,symbol:"Si"},{position:15,name:"Phosphorus",weight:30.9738,symbol:"P"},{position:16,name:"Sulfur",weight:32.065,symbol:"S"},{position:17,name:"Chlorine",weight:35.453,symbol:"Cl"},{position:18,name:"Argon",weight:39.948,symbol:"Ar"},{position:19,name:"Potassium",weight:39.0983,symbol:"K"},{position:20,name:"Calcium",weight:40.078,symbol:"Ca"}];let he=(()=>{class t{constructor(){this.displayedColumns=["position","name","weight","symbol"],this.dataSource=new ue,this.preservedNameValues=new WeakMap,this.preservedWeightValues=new WeakMap}onSubmitName(t,e){e.valid&&(t.name=e.value.name)}onSubmitWeight(t,e){e.valid&&(t.weight=e.value.weight)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Object(n.Sb)({type:t,selectors:[["popover-edit-tab-out-mat-table-example"]],decls:17,vars:3,consts:[["mat-table","","editable","",1,"example-table",3,"dataSource"],["weightEdit",""],["matColumnDef","position"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","name"],["mat-cell","","matPopoverEditTabOut","","matEditOpen","",3,"matPopoverEdit",4,"matCellDef"],["matColumnDef","weight"],["mat-cell","","matPopoverEditTabOut","","matEditOpen","",3,"matPopoverEdit","matPopoverEditContext",4,"matCellDef"],["matColumnDef","symbol"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["matEditLens","","matEditLensClickOutBehavior","submit",3,"matEditLensPreservedFormValue","ngSubmit","matEditLensPreservedFormValueChange"],["f","ngForm"],["mat-edit-content",""],["matInput","","type","number","name","weight","required","",3,"ngModel"],["mat-header-cell",""],["mat-cell",""],["mat-cell","","matPopoverEditTabOut","","matEditOpen","",3,"matPopoverEdit"],["nameEdit",""],[4,"matRowHoverContent"],["matInput","","name","name","required","",3,"ngModel"],["mat-cell","","matPopoverEditTabOut","","matEditOpen","",3,"matPopoverEdit","matPopoverEditContext"],["mat-header-row",""],["mat-row",""]],template:function(t,e){1&t&&(Object(n.ec)(0,"table",0),Object(n.Qc)(1,Jt,6,2,"ng-template",null,1,n.Rc),Object(n.cc)(3,2),Object(n.Qc)(4,Xt,2,0,"th",3),Object(n.Qc)(5,Kt,2,1,"td",4),Object(n.bc)(),Object(n.cc)(6,5),Object(n.Qc)(7,te,2,0,"th",3),Object(n.Qc)(8,ne,5,2,"td",6),Object(n.bc)(),Object(n.cc)(9,7),Object(n.Qc)(10,ae,2,0,"th",3),Object(n.Qc)(11,oe,3,3,"td",8),Object(n.bc)(),Object(n.cc)(12,9),Object(n.Qc)(13,ce,2,0,"th",3),Object(n.Qc)(14,re,2,1,"td",4),Object(n.bc)(),Object(n.Qc)(15,le,1,0,"tr",10),Object(n.Qc)(16,de,1,0,"tr",11),Object(n.dc)()),2&t&&(Object(n.vc)("dataSource",e.dataSource),Object(n.Mb)(15),Object(n.vc)("matHeaderRowDef",e.displayedColumns),Object(n.Mb)(1),Object(n.vc)("matRowDefColumns",e.displayedColumns))},directives:[E.o,o.e,E.c,E.i,E.b,E.k,E.n,s.y,s.o,s.p,r,M.c,C.b,s.s,s.c,s.u,s.n,s.q,E.h,E.a,O,f,_,x.a,E.j,E.m],styles:[".example-table[_ngcontent-%COMP%] {\n width: 100%;\n}\n\n.example-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%] {\n text-align: left;\n}\n\n.example-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%], .example-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%] {\n width: 25%;\n}"],changeDetection:0}),t})();class ue extends D.b{constructor(){super(...arguments),this.data=new L.a(me)}connect(){return this.data}disconnect(){}}let be=(()=>{class t{}return t.\u0275mod=Object(n.Wb)({type:t}),t.\u0275inj=Object(n.Vb)({factory:function(e){return new(e||t)},imports:[[a.c,j.c,k.b,x.b,C.c,R.d,w,S.c,E.q,s.j]]}),t})()}}]);