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 ObiTrendUp = 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="M22.6077 2.31524L21.5078 8.03613L19.9849 6.6764L13.5 13.97L9.5 9.97L3.5 15.98L2 14.48L9.5 6.97L13.5 10.97L18.4994 5.35008L17.0475 4.05375L22.6077 2.31524Z" fill="currentColor"/>
<path d="M2 19H22V21H2V19Z" 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="M22.6077 2.31524L21.5078 8.03613L19.9849 6.6764L13.5 13.97L9.5 9.97L3.5 15.98L2 14.48L9.5 6.97L13.5 10.97L18.4994 5.35008L17.0475 4.05375L22.6077 2.31524Z" style="fill: var(--element-active-color)"/>
<path d="M2 19H22V21H2V19Z" style="fill: var(--element-active-color)"/>
</svg>
`;
  }
  render() {
    return html`
      <div class="wrapper">${this.useCssColor ? this.iconCss : this.icon}</div>
    `;
  }
};
ObiTrendUp.styles = css`
    .wrapper {
      height: 100%;
      width: 100%;
      line-height: 0;
    }
    .wrapper > * {
      height: 100%;
      width: 100%;
    }
  `;
__decorateClass([
  property({ type: Boolean })
], ObiTrendUp.prototype, "useCssColor", 2);
ObiTrendUp = __decorateClass([
  customElement("obi-trend-up")
], ObiTrendUp);
export {
  ObiTrendUp
};
//# sourceMappingURL=icon-trend-up.js.map
