System.register(["./p-fa844f8f.system.js"],function(t){"use strict";var e,i,r,s,n;return{setters:[function(t){e=t.r;i=t.c;r=t.h;s=t.H;n=t.g}],execute:function(){var o=function(){function t(t,e){this.columnName=t;this.sortDirection=e}return t}();var a;(function(t){t["ASC"]="ASC";t["DESC"]="DESC"})(a||(a={}));var l=function(){function t(t){e(this,t);this.align="start";this.direction=a.ASC;this.sort=i(this,"sort",7)}t.prototype.sortData=function(){if(this.sortable){this.sort.emit(new o(this.value,this.direction));this.direction=this.direction===a.DESC?a.ASC:a.DESC}};t.prototype.getColumnClasses=function(){return{"header-column":true,"non-sortable-column":!this.sortable,"sortable-column":this.sortable,sorted:this.sortable&&this.sorted}};t.prototype.render=function(){var t=this;return r(s,{class:{"align-start":this.align==="start","align-end":this.align==="end","align-center":this.align==="center",sortable:this.sortable},style:{flex:this.width?"0 0 "+this.width:null,width:this.width?this.width:null}},r("div",{class:this.getColumnClasses(),title:this.description?this.description:this.label,onClick:function(){return t.sortData()}},r("div",{class:"label"},this.label),this.sortable&&r("materials-icon",{class:"sort-direction",name:this.direction===a.DESC?"arrow_upward":"arrow_downward"})))};Object.defineProperty(t.prototype,"host",{get:function(){return n(this)},enumerable:true,configurable:true});Object.defineProperty(t,"style",{get:function(){return":host{width:100%;line-height:48px;font-family:Roboto,sans-serif;font-size:1rem;font-weight:700;color:var(--mdc-theme-on-surface);opacity:.6;height:48px;cursor:default;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1}:host(.align-end) .header-column{padding-right:24px;-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.align-end) .label{text-align:end}:host(.align-center){position:relative}:host(.align-center),:host(.align-center) .header-column{-ms-flex-pack:center;justify-content:center}:host(.align-center) .header-column .label{text-align:center}:host(.align-center) .header-column .sort-direction{position:absolute;right:0}.header-column{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;width:100%}.header-column .label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sort-direction{color:#5f595c}.sortable-column:hover{cursor:pointer;color:#000}.sortable-column materials-icon{opacity:0;display:inline-block}.sortable-column:hover materials-icon{opacity:1;-webkit-transition:opacity .25s linear;transition:opacity .25s linear}.sortable-column.sorted{color:#000!important}.sortable-column.sorted materials-icon{opacity:1!important}"},enumerable:true,configurable:true});return t}();t("materials_datatable_header_column",l)}}});