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 ObiCoffee = 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 fill-rule="evenodd" clip-rule="evenodd" d="M4 3H20C21.11 3 22 3.89 22 5V8C22 9.1 21.11 10 20 10H18V13C18 15.21 16.21 17 14 17H8C5.79 17 4 15.21 4 13V3ZM14 15C15.1 15 16 14.1 16 13V5H6V13C6 14.1 6.9 15 8 15H14ZM20 8H18V5H20V8Z" fill="currentColor"/>
<path d="M19 19H4V21H19V19Z" 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 fill-rule="evenodd" clip-rule="evenodd" d="M4 3H20C21.11 3 22 3.89 22 5V8C22 9.1 21.11 10 20 10H18V13C18 15.21 16.21 17 14 17H8C5.79 17 4 15.21 4 13V3ZM14 15C15.1 15 16 14.1 16 13V5H6V13C6 14.1 6.9 15 8 15H14ZM20 8H18V5H20V8Z" style="fill: var(--element-active-color)"/>
<path d="M19 19H4V21H19V19Z" style="fill: var(--element-active-color)"/>
</svg>
`;
  }
  render() {
    return html`
      <div class="wrapper">${this.useCssColor ? this.iconCss : this.icon}</div>
    `;
  }
};
ObiCoffee.styles = css`
    .wrapper {
      height: 100%;
      width: 100%;
      line-height: 0;
    }
    .wrapper > * {
      height: 100%;
      width: 100%;
    }
  `;
__decorateClass([
  property({ type: Boolean })
], ObiCoffee.prototype, "useCssColor", 2);
ObiCoffee = __decorateClass([
  customElement("obi-coffee")
], ObiCoffee);
export {
  ObiCoffee
};
//# sourceMappingURL=icon-coffee.js.map
