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 ObiResistor5On = 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 9H19V15H5V9Z" fill="currentColor"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.58632 16L3.10104 19.4853H0V21.4853H3.92946L9.41475 16H20V13H23V11H20V8H17.4148L21.1929 4.22183L19.7787 2.80762L14.5863 8H4V11H1V13H4V16H6.58632ZM10.4147 15H19V9H16.4148L10.4147 15ZM13.5863 9L7.58632 15H5V9H13.5863Z" 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 9H19V15H5V9Z" style="fill: var(--automation-device-primary-color)"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.58632 16L3.10104 19.4853H0V21.4853H3.92946L9.41475 16H20V13H23V11H20V8H17.4148L21.1929 4.22183L19.7787 2.80762L14.5863 8H4V11H1V13H4V16H6.58632ZM10.4147 15H19V9H16.4148L10.4147 15ZM13.5863 9L7.58632 15H5V9H13.5863Z" style="fill: var(--automation-device-tertiary-color)"/>
</svg>
`;
  }
  render() {
    return html`
      <div class="wrapper">${this.useCssColor ? this.iconCss : this.icon}</div>
    `;
  }
};
ObiResistor5On.styles = css`
    .wrapper {
      height: 100%;
      width: 100%;
      line-height: 0;
    }
    .wrapper > * {
      height: 100%;
      width: 100%;
    }
  `;
__decorateClass([
  property({ type: Boolean })
], ObiResistor5On.prototype, "useCssColor", 2);
ObiResistor5On = __decorateClass([
  customElement("obi-resistor-5-on")
], ObiResistor5On);
export {
  ObiResistor5On
};
//# sourceMappingURL=icon-resistor-5-on.js.map
