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 ObiScreenSharing = 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="M17 3H20C21.1 3 22 3.9 22 5V16C22 17.1 21.1 18 20 18H14V20H16V22H8V20H10V18H4C2.9 18 2 17.1 2 16V5C2 3.9 2.9 3 4 3H7V5H4V16H20V5H17V3Z" fill="currentColor"/>
<path d="M17.207 7.79297L15.793 9.20703L13 6.41406V14H11V6.41406L8.20703 9.20703L6.79297 7.79297L12 2.58594L17.207 7.79297Z" 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="M17 3H20C21.1 3 22 3.9 22 5V16C22 17.1 21.1 18 20 18H14V20H16V22H8V20H10V18H4C2.9 18 2 17.1 2 16V5C2 3.9 2.9 3 4 3H7V5H4V16H20V5H17V3Z" style="fill: var(--element-active-color)"/>
<path d="M17.207 7.79297L15.793 9.20703L13 6.41406V14H11V6.41406L8.20703 9.20703L6.79297 7.79297L12 2.58594L17.207 7.79297Z" style="fill: var(--element-active-color)"/>
</svg>
`;
  }
  render() {
    return html`
      <div class="wrapper">${this.useCssColor ? this.iconCss : this.icon}</div>
    `;
  }
};
ObiScreenSharing.styles = css`
    .wrapper {
      height: 100%;
      width: 100%;
      line-height: 0;
    }
    .wrapper > * {
      height: 100%;
      width: 100%;
    }
  `;
__decorateClass([
  property({ type: Boolean })
], ObiScreenSharing.prototype, "useCssColor", 2);
ObiScreenSharing = __decorateClass([
  customElement("obi-screen-sharing")
], ObiScreenSharing);
export {
  ObiScreenSharing
};
//# sourceMappingURL=icon-screen-sharing.js.map
