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 ObiDuctThreeway = 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="M24 6H0V18H6V24H18V18H24V6Z" fill="currentColor"/>
<path d="M24 7H0V6H24V7Z" fill="currentColor"/>
<path d="M6 18H0V17H7V24H6V18Z" fill="currentColor"/>
<path d="M18 18V24H17V17H24V18H18Z" 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="M24 6H0V18H6V24H18V18H24V6Z" style="fill: var(--automation-pipe-primary-color)"/>
<path d="M24 7H0V6H24V7Z" style="fill: var(--automation-pipe-tertiary-color)"/>
<path d="M6 18H0V17H7V24H6V18Z" style="fill: var(--automation-pipe-tertiary-color)"/>
<path d="M18 18V24H17V17H24V18H18Z" style="fill: var(--automation-pipe-tertiary-color)"/>
</svg>
`;
  }
  render() {
    return html`
      <div class="wrapper">${this.useCssColor ? this.iconCss : this.icon}</div>
    `;
  }
};
ObiDuctThreeway.styles = css`
    .wrapper {
      height: 100%;
      width: 100%;
      line-height: 0;
    }
    .wrapper > * {
      height: 100%;
      width: 100%;
    }
  `;
__decorateClass([
  property({ type: Boolean })
], ObiDuctThreeway.prototype, "useCssColor", 2);
ObiDuctThreeway = __decorateClass([
  customElement("obi-duct-threeway")
], ObiDuctThreeway);
export {
  ObiDuctThreeway
};
//# sourceMappingURL=icon-duct-threeway.js.map
