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 ObiWireDirection = 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="M11.0705 10L13.0674 12L11.0702 14H0V10H11.0705Z" fill="currentColor"/>
<path d="M16.7248 10L18.7248 12L16.7248 14H24V10H16.7248Z" fill="currentColor"/>
<path d="M12.0688 13H0V14H11.0702L12.0688 13Z" fill="currentColor"/>
<path d="M16.7248 14H24V13H17.7248L16.7248 14Z" fill="currentColor"/>
<path d="M17.7248 11H24V10H16.7248L17.7248 11Z" fill="currentColor"/>
<path d="M11.0705 10H0V11H12.069L11.0705 10Z" fill="currentColor"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M8.48979 6L14.4807 12L8.48926 18H11.3107L17.3107 12L11.3107 6H8.48979Z" 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="M11.0705 10L13.0674 12L11.0702 14H0V10H11.0705Z" style="fill: var(--automation-pipe-primary-color)"/>
<path d="M16.7248 10L18.7248 12L16.7248 14H24V10H16.7248Z" style="fill: var(--automation-pipe-primary-color)"/>
<path d="M12.0688 13H0V14H11.0702L12.0688 13Z" style="fill: var(--automation-pipe-tertiary-color)"/>
<path d="M16.7248 14H24V13H17.7248L16.7248 14Z" style="fill: var(--automation-pipe-tertiary-color)"/>
<path d="M17.7248 11H24V10H16.7248L17.7248 11Z" style="fill: var(--automation-pipe-tertiary-color)"/>
<path d="M11.0705 10H0V11H12.069L11.0705 10Z" style="fill: var(--automation-pipe-tertiary-color)"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M8.48979 6L14.4807 12L8.48926 18H11.3107L17.3107 12L11.3107 6H8.48979Z" style="fill: var(--automation-pipe-tertiary-color)"/>
</svg>
`;
  }
  render() {
    return html`
      <div class="wrapper">${this.useCssColor ? this.iconCss : this.icon}</div>
    `;
  }
};
ObiWireDirection.styles = css`
    .wrapper {
      height: 100%;
      width: 100%;
      line-height: 0;
    }
    .wrapper > * {
      height: 100%;
      width: 100%;
    }
  `;
__decorateClass([
  property({ type: Boolean })
], ObiWireDirection.prototype, "useCssColor", 2);
ObiWireDirection = __decorateClass([
  customElement("obi-wire-direction")
], ObiWireDirection);
export {
  ObiWireDirection
};
//# sourceMappingURL=icon-wire-direction.js.map
