import { az as I, ay as q } from "./index-9ceb1eb9.js";
function H(_, k) {
  for (var m = 0; m < k.length; m++) {
    const b = k[m];
    if (typeof b != "string" && !Array.isArray(b)) {
      for (const E in b)
        if (E !== "default" && !(E in _)) {
          const c = Object.getOwnPropertyDescriptor(b, E);
          c && Object.defineProperty(_, E, c.get ? c : {
            enumerable: !0,
            get: () => b[E]
          });
        }
    }
  }
  return Object.freeze(Object.defineProperty(_, Symbol.toStringTag, { value: "Module" }));
}
var P = { exports: {} };
/*!
 * clipboard.js v2.0.11
 * https://clipboardjs.com/
 *
 * Licensed MIT © Zeno Rocha
 */
(function(_, k) {
  (function(m, b) {
    _.exports = b();
  })(q, function() {
    return b = { 686: function(c, n, t) {
      t.d(n, { default: function() {
        return N;
      } });
      var n = t(279), a = t.n(n), n = t(370), y = t.n(n), n = t(817), s = t.n(n);
      function p(o) {
        try {
          return document.execCommand(o);
        } catch {
          return;
        }
      }
      var v = function(o) {
        return o = s()(o), p("cut"), o;
      };
      function h(f, i) {
        var r, l, f = (r = f, l = document.documentElement.getAttribute("dir") === "rtl", (f = document.createElement("textarea")).style.fontSize = "12pt", f.style.border = "0", f.style.padding = "0", f.style.margin = "0", f.style.position = "absolute", f.style[l ? "right" : "left"] = "-9999px", l = window.pageYOffset || document.documentElement.scrollTop, f.style.top = "".concat(l, "px"), f.setAttribute("readonly", ""), f.value = r, f);
        return i.container.appendChild(f), i = s()(f), p("copy"), f.remove(), i;
      }
      var g = function(o) {
        var i = 1 < arguments.length && arguments[1] !== void 0 ? arguments[1] : { container: document.body }, r = "";
        return typeof o == "string" ? r = h(o, i) : o instanceof HTMLInputElement && !["text", "search", "url", "tel", "password"].includes(o == null ? void 0 : o.type) ? r = h(o.value, i) : (r = s()(o), p("copy")), r;
      };
      function T(o) {
        return (T = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(i) {
          return typeof i;
        } : function(i) {
          return i && typeof Symbol == "function" && i.constructor === Symbol && i !== Symbol.prototype ? "symbol" : typeof i;
        })(o);
      }
      var A = function() {
        var l = 0 < arguments.length && arguments[0] !== void 0 ? arguments[0] : {}, r = l.action, o = r === void 0 ? "copy" : r, i = l.container, r = l.target, l = l.text;
        if (o !== "copy" && o !== "cut")
          throw new Error('Invalid "action" value, use either "copy" or "cut"');
        if (r !== void 0) {
          if (!r || T(r) !== "object" || r.nodeType !== 1)
            throw new Error('Invalid "target" value, use a valid Element');
          if (o === "copy" && r.hasAttribute("disabled"))
            throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');
          if (o === "cut" && (r.hasAttribute("readonly") || r.hasAttribute("disabled")))
            throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`);
        }
        return l ? g(l, { container: i }) : r ? o === "cut" ? v(r) : g(r, { container: i }) : void 0;
      };
      function S(o) {
        return (S = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(i) {
          return typeof i;
        } : function(i) {
          return i && typeof Symbol == "function" && i.constructor === Symbol && i !== Symbol.prototype ? "symbol" : typeof i;
        })(o);
      }
      function w(o, i) {
        for (var r = 0; r < i.length; r++) {
          var l = i[r];
          l.enumerable = l.enumerable || !1, l.configurable = !0, "value" in l && (l.writable = !0), Object.defineProperty(o, l.key, l);
        }
      }
      function O(o, i) {
        return (O = Object.setPrototypeOf || function(r, l) {
          return r.__proto__ = l, r;
        })(o, i);
      }
      function R(o) {
        var i = function() {
          if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
            return !1;
          if (typeof Proxy == "function")
            return !0;
          try {
            return Date.prototype.toString.call(Reflect.construct(Date, [], function() {
            })), !0;
          } catch {
            return !1;
          }
        }();
        return function() {
          var r, l = L(o);
          return r = i ? (r = L(this).constructor, Reflect.construct(l, arguments, r)) : l.apply(this, arguments), l = this, !(r = r) || S(r) !== "object" && typeof r != "function" ? function(f) {
            if (f !== void 0)
              return f;
            throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
          }(l) : r;
        };
      }
      function L(o) {
        return (L = Object.setPrototypeOf ? Object.getPrototypeOf : function(i) {
          return i.__proto__ || Object.getPrototypeOf(i);
        })(o);
      }
      function C(o, i) {
        if (o = "data-clipboard-".concat(o), i.hasAttribute(o))
          return i.getAttribute(o);
      }
      var N = function() {
        (function(u, d) {
          if (typeof d != "function" && d !== null)
            throw new TypeError("Super expression must either be null or a function");
          u.prototype = Object.create(d && d.prototype, { constructor: { value: u, writable: !0, configurable: !0 } }), d && O(u, d);
        })(f, a());
        var o, i, r, l = R(f);
        function f(u, d) {
          var x;
          return function(j) {
            if (!(j instanceof f))
              throw new TypeError("Cannot call a class as a function");
          }(this), (x = l.call(this)).resolveOptions(d), x.listenClick(u), x;
        }
        return o = f, r = [{ key: "copy", value: function(u) {
          var d = 1 < arguments.length && arguments[1] !== void 0 ? arguments[1] : { container: document.body };
          return g(u, d);
        } }, { key: "cut", value: function(u) {
          return v(u);
        } }, { key: "isSupported", value: function() {
          var u = 0 < arguments.length && arguments[0] !== void 0 ? arguments[0] : ["copy", "cut"], u = typeof u == "string" ? [u] : u, d = !!document.queryCommandSupported;
          return u.forEach(function(x) {
            d = d && !!document.queryCommandSupported(x);
          }), d;
        } }], (i = [{ key: "resolveOptions", value: function() {
          var u = 0 < arguments.length && arguments[0] !== void 0 ? arguments[0] : {};
          this.action = typeof u.action == "function" ? u.action : this.defaultAction, this.target = typeof u.target == "function" ? u.target : this.defaultTarget, this.text = typeof u.text == "function" ? u.text : this.defaultText, this.container = S(u.container) === "object" ? u.container : document.body;
        } }, { key: "listenClick", value: function(u) {
          var d = this;
          this.listener = y()(u, "click", function(x) {
            return d.onClick(x);
          });
        } }, { key: "onClick", value: function(j) {
          var d = j.delegateTarget || j.currentTarget, x = this.action(d) || "copy", j = A({ action: x, container: this.container, target: this.target(d), text: this.text(d) });
          this.emit(j ? "success" : "error", { action: x, text: j, trigger: d, clearSelection: function() {
            d && d.focus(), window.getSelection().removeAllRanges();
          } });
        } }, { key: "defaultAction", value: function(u) {
          return C("action", u);
        } }, { key: "defaultTarget", value: function(u) {
          if (u = C("target", u), u)
            return document.querySelector(u);
        } }, { key: "defaultText", value: function(u) {
          return C("text", u);
        } }, { key: "destroy", value: function() {
          this.listener.destroy();
        } }]) && w(o.prototype, i), r && w(o, r), f;
      }();
    }, 828: function(c) {
      var e;
      typeof Element > "u" || Element.prototype.matches || ((e = Element.prototype).matches = e.matchesSelector || e.mozMatchesSelector || e.msMatchesSelector || e.oMatchesSelector || e.webkitMatchesSelector), c.exports = function(t, a) {
        for (; t && t.nodeType !== 9; ) {
          if (typeof t.matches == "function" && t.matches(a))
            return t;
          t = t.parentNode;
        }
      };
    }, 438: function(c, e, t) {
      var a = t(828);
      function y(n, s, p, v, h) {
        var g = (function(T, A, S, w) {
          return function(O) {
            O.delegateTarget = a(O.target, A), O.delegateTarget && w.call(T, O);
          };
        }).apply(this, arguments);
        return n.addEventListener(p, g, h), { destroy: function() {
          n.removeEventListener(p, g, h);
        } };
      }
      c.exports = function(n, s, p, v, h) {
        return typeof n.addEventListener == "function" ? y.apply(null, arguments) : typeof p == "function" ? y.bind(null, document).apply(null, arguments) : (typeof n == "string" && (n = document.querySelectorAll(n)), Array.prototype.map.call(n, function(g) {
          return y(g, s, p, v, h);
        }));
      };
    }, 879: function(c, e) {
      e.node = function(t) {
        return t !== void 0 && t instanceof HTMLElement && t.nodeType === 1;
      }, e.nodeList = function(t) {
        var a = Object.prototype.toString.call(t);
        return t !== void 0 && (a === "[object NodeList]" || a === "[object HTMLCollection]") && "length" in t && (t.length === 0 || e.node(t[0]));
      }, e.string = function(t) {
        return typeof t == "string" || t instanceof String;
      }, e.fn = function(t) {
        return Object.prototype.toString.call(t) === "[object Function]";
      };
    }, 370: function(c, e, t) {
      var a = t(879), y = t(438);
      c.exports = function(n, s, p) {
        if (!n && !s && !p)
          throw new Error("Missing required arguments");
        if (!a.string(s))
          throw new TypeError("Second argument must be a String");
        if (!a.fn(p))
          throw new TypeError("Third argument must be a Function");
        if (a.node(n))
          return A = s, S = p, (T = n).addEventListener(A, S), { destroy: function() {
            T.removeEventListener(A, S);
          } };
        if (a.nodeList(n))
          return v = n, h = s, g = p, Array.prototype.forEach.call(v, function(w) {
            w.addEventListener(h, g);
          }), { destroy: function() {
            Array.prototype.forEach.call(v, function(w) {
              w.removeEventListener(h, g);
            });
          } };
        if (a.string(n))
          return n = n, s = s, p = p, y(document.body, n, s, p);
        throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList");
        var v, h, g, T, A, S;
      };
    }, 817: function(c) {
      c.exports = function(e) {
        var t, a = e.nodeName === "SELECT" ? (e.focus(), e.value) : e.nodeName === "INPUT" || e.nodeName === "TEXTAREA" ? ((t = e.hasAttribute("readonly")) || e.setAttribute("readonly", ""), e.select(), e.setSelectionRange(0, e.value.length), t || e.removeAttribute("readonly"), e.value) : (e.hasAttribute("contenteditable") && e.focus(), a = window.getSelection(), (t = document.createRange()).selectNodeContents(e), a.removeAllRanges(), a.addRange(t), a.toString());
        return a;
      };
    }, 279: function(c) {
      function e() {
      }
      e.prototype = { on: function(t, a, y) {
        var n = this.e || (this.e = {});
        return (n[t] || (n[t] = [])).push({ fn: a, ctx: y }), this;
      }, once: function(t, a, y) {
        var n = this;
        function s() {
          n.off(t, s), a.apply(y, arguments);
        }
        return s._ = a, this.on(t, s, y);
      }, emit: function(t) {
        for (var a = [].slice.call(arguments, 1), y = ((this.e || (this.e = {}))[t] || []).slice(), n = 0, s = y.length; n < s; n++)
          y[n].fn.apply(y[n].ctx, a);
        return this;
      }, off: function(t, a) {
        var y = this.e || (this.e = {}), n = y[t], s = [];
        if (n && a)
          for (var p = 0, v = n.length; p < v; p++)
            n[p].fn !== a && n[p].fn._ !== a && s.push(n[p]);
        return s.length ? y[t] = s : delete y[t], this;
      } }, c.exports = e, c.exports.TinyEmitter = e;
    } }, E = {}, m.n = function(c) {
      var e = c && c.__esModule ? function() {
        return c.default;
      } : function() {
        return c;
      };
      return m.d(e, { a: e }), e;
    }, m.d = function(c, e) {
      for (var t in e)
        m.o(e, t) && !m.o(c, t) && Object.defineProperty(c, t, { enumerable: !0, get: e[t] });
    }, m.o = function(c, e) {
      return Object.prototype.hasOwnProperty.call(c, e);
    }, m(686).default;
    function m(c) {
      if (E[c])
        return E[c].exports;
      var e = E[c] = { exports: {} };
      return b[c](e, e.exports, m), e.exports;
    }
    var b, E;
  });
})(P);
var M = P.exports;
const z = /* @__PURE__ */ I(M), F = /* @__PURE__ */ H({
  __proto__: null,
  default: z
}, [M]);
export {
  F as c
};
