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 ObiLightLanternPortColourOn = 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="M9 2C8.44772 2 8 2.44772 8 3V4H18V3C18 2.44772 17.5523 2 17 2H9Z" fill="currentColor"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M8 8C8 6.89543 8.89543 6 10 6H16C17.1046 6 18 6.89543 18 8V16C18 17.1046 17.1046 18 16 18H10C8.89543 18 8 17.1046 8 16V8ZM10 8H16V16H10V8Z" fill="currentColor"/>
<path d="M8 20H20V2H22V21C22 21.5523 21.5523 22 21 22H9C8.44772 22 8 21.5523 8 21V20Z" fill="currentColor"/>
<path d="M2.97363 7.36584L5.57171 8.86584L6.57171 7.13379L3.97363 5.63379L2.97363 7.36584Z" fill="currentColor"/>
<path d="M2 13H5V11H2V13Z" fill="currentColor"/>
<path d="M6.57269 16.8658L3.97461 18.3658L2.97461 16.6338L5.57269 15.1338L6.57269 16.8658Z" fill="currentColor"/>
<rect x="10" y="8" width="6" height="8" 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="M9 2C8.44772 2 8 2.44772 8 3V4H18V3C18 2.44772 17.5523 2 17 2H9Z" style="fill: var(--automation-device-tertiary-color)"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M8 8C8 6.89543 8.89543 6 10 6H16C17.1046 6 18 6.89543 18 8V16C18 17.1046 17.1046 18 16 18H10C8.89543 18 8 17.1046 8 16V8ZM10 8H16V16H10V8Z" style="fill: var(--automation-device-tertiary-color)"/>
<path d="M8 20H20V2H22V21C22 21.5523 21.5523 22 21 22H9C8.44772 22 8 21.5523 8 21V20Z" style="fill: var(--automation-device-tertiary-color)"/>
<path d="M2.97363 7.36584L5.57171 8.86584L6.57171 7.13379L3.97363 5.63379L2.97363 7.36584Z" style="fill: var(--automation-device-tertiary-color)"/>
<path d="M2 13H5V11H2V13Z" style="fill: var(--automation-device-tertiary-color)"/>
<path d="M6.57269 16.8658L3.97461 18.3658L2.97461 16.6338L5.57269 15.1338L6.57269 16.8658Z" style="fill: var(--automation-device-tertiary-color)"/>
<rect x="10" y="8" width="6" height="8" style="fill: var(--navigation-light-red-color)"/>
</svg>
`;
  }
  render() {
    return html`
      <div class="wrapper">${this.useCssColor ? this.iconCss : this.icon}</div>
    `;
  }
};
ObiLightLanternPortColourOn.styles = css`
    .wrapper {
      height: 100%;
      width: 100%;
      line-height: 0;
    }
    .wrapper > * {
      height: 100%;
      width: 100%;
    }
  `;
__decorateClass([
  property({ type: Boolean })
], ObiLightLanternPortColourOn.prototype, "useCssColor", 2);
ObiLightLanternPortColourOn = __decorateClass([
  customElement("obi-light-lantern-port-colour-on")
], ObiLightLanternPortColourOn);
export {
  ObiLightLanternPortColourOn
};
//# sourceMappingURL=icon-light-lantern-port-colour-on.js.map
