import { css, LitElement, svg, html } from "lit";
import { property } from "lit/decorators.js";
import { customElement } from "../decorator.js";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __decorateClass = (decorators, target, key, kind) => {
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
    if (decorator = decorators[i])
      result = (kind ? decorator(target, key, result) : decorator(result)) || result;
  if (kind && result) __defProp(target, key, result);
  return result;
};
let ObiDeviceFilter = class extends LitElement {
  constructor() {
    super(...arguments);
    this.useCssColor = false;
    this.icon = svg`<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path d="M5.25261 4L4 5.25261V8.08104L8.08104 4H5.25261Z" fill="currentColor"/>
<path d="M4 10.5838V13.4122L13.4122 4H10.5838L4 10.5838Z" fill="currentColor"/>
<path d="M4 18.7461V15.9176L15.9176 4H18.7461L4 18.7461Z" fill="currentColor"/>
<path d="M5.2515 20H8.07992L20 8.07992V5.2515L5.2515 20Z" fill="currentColor"/>
<path d="M13.4122 20H10.5838L20 10.5838V13.4122L13.4122 20Z" fill="currentColor"/>
<path d="M15.9176 20H18.7461L20 18.7461V15.9176L15.9176 20Z" fill="currentColor"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M2 4C2 2.89543 2.89543 2 4 2H20C21.1046 2 22 2.89543 22 4V20C22 21.1046 21.1046 22 20 22H4C2.89543 22 2 21.1046 2 20V4ZM4 3H20C20.5523 3 21 3.44772 21 4V20C21 20.5523 20.5523 21 20 21H4C3.44772 21 3 20.5523 3 20V4C3 3.44772 3.44772 3 4 3Z" fill="currentColor"/>
</svg>
`;
    this.iconCss = svg`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M5.25261 4L4 5.25261V8.08104L8.08104 4H5.25261Z" style="fill: var(--element-active-color)"/>
<path d="M4 10.5838V13.4122L13.4122 4H10.5838L4 10.5838Z" style="fill: var(--element-active-color)"/>
<path d="M4 18.7461V15.9176L15.9176 4H18.7461L4 18.7461Z" style="fill: var(--element-active-color)"/>
<path d="M5.2515 20H8.07992L20 8.07992V5.2515L5.2515 20Z" style="fill: var(--element-active-color)"/>
<path d="M13.4122 20H10.5838L20 10.5838V13.4122L13.4122 20Z" style="fill: var(--element-active-color)"/>
<path d="M15.9176 20H18.7461L20 18.7461V15.9176L15.9176 20Z" style="fill: var(--element-active-color)"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M2 4C2 2.89543 2.89543 2 4 2H20C21.1046 2 22 2.89543 22 4V20C22 21.1046 21.1046 22 20 22H4C2.89543 22 2 21.1046 2 20V4ZM4 3H20C20.5523 3 21 3.44772 21 4V20C21 20.5523 20.5523 21 20 21H4C3.44772 21 3 20.5523 3 20V4C3 3.44772 3.44772 3 4 3Z" style="fill: var(--element-active-color)"/>
</svg>
`;
  }
  render() {
    return html`
      <div class="wrapper">${this.useCssColor ? this.iconCss : this.icon}</div>
    `;
  }
};
ObiDeviceFilter.styles = css`
    .wrapper {
      height: 100%;
      width: 100%;
      line-height: 0;
    }
    .wrapper > * {
      height: 100%;
      width: 100%;
    }
  `;
__decorateClass([
  property({ type: Boolean })
], ObiDeviceFilter.prototype, "useCssColor", 2);
ObiDeviceFilter = __decorateClass([
  customElement("obi-device-filter")
], ObiDeviceFilter);
export {
  ObiDeviceFilter
};
//# sourceMappingURL=icon-device-filter.js.map
