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 ObiMosfetPtype2 = 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 1H9V6H11V4.75H19.25V11.25H17.875L13 8V11.25H11V9H9V15H11V12.75H13V16L17.875 12.75H20.75V4.75H23V3.25H11V1Z" fill="currentColor"/>
<path d="M11 18V19.25H23V20.75H11V23H9V18H11Z" fill="currentColor"/>
<path d="M1 5.75H4.75V19H6.25V4.25H1V5.75Z" 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 1H9V6H11V4.75H19.25V11.25H17.875L13 8V11.25H11V9H9V15H11V12.75H13V16L17.875 12.75H20.75V4.75H23V3.25H11V1Z" style="fill: var(--automation-device-secondary-color)"/>
<path d="M11 18V19.25H23V20.75H11V23H9V18H11Z" style="fill: var(--automation-device-secondary-color)"/>
<path d="M1 5.75H4.75V19H6.25V4.25H1V5.75Z" style="fill: var(--automation-device-secondary-color)"/>
</svg>
`;
  }
  render() {
    return html`
      <div class="wrapper">${this.useCssColor ? this.iconCss : this.icon}</div>
    `;
  }
};
ObiMosfetPtype2.styles = css`
    .wrapper {
      height: 100%;
      width: 100%;
      line-height: 0;
    }
    .wrapper > * {
      height: 100%;
      width: 100%;
    }
  `;
__decorateClass([
  property({ type: Boolean })
], ObiMosfetPtype2.prototype, "useCssColor", 2);
ObiMosfetPtype2 = __decorateClass([
  customElement("obi-mosfet-ptype-2")
], ObiMosfetPtype2);
export {
  ObiMosfetPtype2
};
//# sourceMappingURL=icon-mosfet-ptype-2.js.map
