import { html } from "lit";
import "../../icons/icon-damper-horizontal-on.js";
import "../../icons/icon-damper-horizontal-off.js";
import { customElement } from "../../decorator.js";
import { ObcAbstractAutomationButtonSquared } from "../automation-button/abstract-automation-button-squared.js";
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 = decorator(result) || result;
  return result;
};
let ObcDamper = class extends ObcAbstractAutomationButtonSquared {
  get icon() {
    if (this.on) {
      return html`<obi-damper-horizontal-on
          usecsscolor
          slot="icon"
        ></obi-damper-horizontal-on>
        <obi-damper-horizontal-on
          usecsscolor
          slot="icon-silhouette"
        ></obi-damper-horizontal-on>`;
    } else {
      return html`<obi-damper-horizontal-off
          usecsscolor
          slot="icon"
        ></obi-damper-horizontal-off>
        <obi-damper-horizontal-off
          usecsscolor
          slot="icon-silhouette"
        ></obi-damper-horizontal-off>`;
    }
  }
};
ObcDamper = __decorateClass([
  customElement("obc-damper")
], ObcDamper);
export {
  ObcDamper
};
//# sourceMappingURL=damper.js.map
