var Kme = Object.create;
var nf = Object.defineProperty;
var Xme = Object.getOwnPropertyDescriptor;
var Jme = Object.getOwnPropertyNames;
var Qme = Object.getPrototypeOf, Zme = Object.prototype.hasOwnProperty;
var a = (e, t) => nf(e, "name", { value: t, configurable: !0 }), of = /* @__PURE__ */ ((e) => typeof require < "u" ? require : typeof Proxy <
"u" ? new Proxy(e, {
  get: (t, r) => (typeof require < "u" ? require : t)[r]
}) : e)(function(e) {
  if (typeof require < "u") return require.apply(this, arguments);
  throw Error('Dynamic require of "' + e + '" is not supported');
});
var k = (e, t) => () => (e && (t = e(e = 0)), t);
var R = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), _e = (e, t) => {
  for (var r in t)
    nf(e, r, { get: t[r], enumerable: !0 });
}, o9 = (e, t, r, n) => {
  if (t && typeof t == "object" || typeof t == "function")
    for (let o of Jme(t))
      !Zme.call(e, o) && o !== r && nf(e, o, { get: () => t[o], enumerable: !(n = Xme(t, o)) || n.enumerable });
  return e;
};
var N = (e, t, r) => (r = e != null ? Kme(Qme(e)) : {}, o9(
  // If the importer is in node compatibility mode or this is not an ESM
  // file that has been converted to a CommonJS file using a Babel-
  // compatible transform (i.e. "__esModule" has not been set), then set
  // "default" to the CommonJS "module.exports" for node compatibility.
  t || !e || !e.__esModule ? nf(r, "default", { value: e, enumerable: !0 }) : r,
  e
)), ehe = (e) => o9(nf({}, "__esModule", { value: !0 }), e);

// ../node_modules/react/cjs/react.production.min.js
var y9 = R((Se) => {
  "use strict";
  var ff = Symbol.for("react.element"), xhe = Symbol.for("react.portal"), She = Symbol.for("react.fragment"), Che = Symbol.for("react.strict\
_mode"), _he = Symbol.for("react.profiler"), Phe = Symbol.for("react.provider"), The = Symbol.for("react.context"), Ahe = Symbol.for("react.\
forward_ref"), Ohe = Symbol.for("react.suspense"), Ihe = Symbol.for("react.memo"), Mhe = Symbol.for("react.lazy"), i9 = Symbol.iterator;
  function Nhe(e) {
    return e === null || typeof e != "object" ? null : (e = i9 && e[i9] || e["@@iterator"], typeof e == "function" ? e : null);
  }
  a(Nhe, "A");
  var u9 = { isMounted: /* @__PURE__ */ a(function() {
    return !1;
  }, "isMounted"), enqueueForceUpdate: /* @__PURE__ */ a(function() {
  }, "enqueueForceUpdate"), enqueueReplaceState: /* @__PURE__ */ a(function() {
  }, "enqueueReplaceState"), enqueueSetState: /* @__PURE__ */ a(function() {
  }, "enqueueSetState") }, c9 = Object.assign, d9 = {};
  function Su(e, t, r) {
    this.props = e, this.context = t, this.refs = d9, this.updater = r || u9;
  }
  a(Su, "E");
  Su.prototype.isReactComponent = {};
  Su.prototype.setState = function(e, t) {
    if (typeof e != "object" && typeof e != "function" && e != null) throw Error("setState(...): takes an object of state variables to updat\
e or a function which returns an object of state variables.");
    this.updater.enqueueSetState(this, e, t, "setState");
  };
  Su.prototype.forceUpdate = function(e) {
    this.updater.enqueueForceUpdate(this, e, "forceUpdate");
  };
  function f9() {
  }
  a(f9, "F");
  f9.prototype = Su.prototype;
  function Y4(e, t, r) {
    this.props = e, this.context = t, this.refs = d9, this.updater = r || u9;
  }
  a(Y4, "G");
  var K4 = Y4.prototype = new f9();
  K4.constructor = Y4;
  c9(K4, Su.prototype);
  K4.isPureReactComponent = !0;
  var s9 = Array.isArray, p9 = Object.prototype.hasOwnProperty, X4 = { current: null }, m9 = { key: !0, ref: !0, __self: !0, __source: !0 };
  function h9(e, t, r) {
    var n, o = {}, i = null, s = null;
    if (t != null) for (n in t.ref !== void 0 && (s = t.ref), t.key !== void 0 && (i = "" + t.key), t) p9.call(t, n) && !m9.hasOwnProperty(n) &&
    (o[n] = t[n]);
    var l = arguments.length - 2;
    if (l === 1) o.children = r;
    else if (1 < l) {
      for (var u = Array(l), c = 0; c < l; c++) u[c] = arguments[c + 2];
      o.children = u;
    }
    if (e && e.defaultProps) for (n in l = e.defaultProps, l) o[n] === void 0 && (o[n] = l[n]);
    return { $$typeof: ff, type: e, key: i, ref: s, props: o, _owner: X4.current };
  }
  a(h9, "M");
  function Lhe(e, t) {
    return { $$typeof: ff, type: e.type, key: t, ref: e.ref, props: e.props, _owner: e._owner };
  }
  a(Lhe, "N");
  function J4(e) {
    return typeof e == "object" && e !== null && e.$$typeof === ff;
  }
  a(J4, "O");
  function khe(e) {
    var t = { "=": "=0", ":": "=2" };
    return "$" + e.replace(/[=:]/g, function(r) {
      return t[r];
    });
  }
  a(khe, "escape");
  var l9 = /\/+/g;
  function G4(e, t) {
    return typeof e == "object" && e !== null && e.key != null ? khe("" + e.key) : t.toString(36);
  }
  a(G4, "Q");
  function o0(e, t, r, n, o) {
    var i = typeof e;
    (i === "undefined" || i === "boolean") && (e = null);
    var s = !1;
    if (e === null) s = !0;
    else switch (i) {
      case "string":
      case "number":
        s = !0;
        break;
      case "object":
        switch (e.$$typeof) {
          case ff:
          case xhe:
            s = !0;
        }
    }
    if (s) return s = e, o = o(s), e = n === "" ? "." + G4(s, 0) : n, s9(o) ? (r = "", e != null && (r = e.replace(l9, "$&/") + "/"), o0(o, t,
    r, "", function(c) {
      return c;
    })) : o != null && (J4(o) && (o = Lhe(o, r + (!o.key || s && s.key === o.key ? "" : ("" + o.key).replace(l9, "$&/") + "/") + e)), t.push(
    o)), 1;
    if (s = 0, n = n === "" ? "." : n + ":", s9(e)) for (var l = 0; l < e.length; l++) {
      i = e[l];
      var u = n + G4(i, l);
      s += o0(i, t, r, u, o);
    }
    else if (u = Nhe(e), typeof u == "function") for (e = u.call(e), l = 0; !(i = e.next()).done; ) i = i.value, u = n + G4(i, l++), s += o0(
    i, t, r, u, o);
    else if (i === "object") throw t = String(e), Error("Objects are not valid as a React child (found: " + (t === "[object Object]" ? "obje\
ct with keys {" + Object.keys(e).join(", ") + "}" : t) + "). If you meant to render a collection of children, use an array instead.");
    return s;
  }
  a(o0, "R");
  function n0(e, t, r) {
    if (e == null) return e;
    var n = [], o = 0;
    return o0(e, n, "", "", function(i) {
      return t.call(r, i, o++);
    }), n;
  }
  a(n0, "S");
  function qhe(e) {
    if (e._status === -1) {
      var t = e._result;
      t = t(), t.then(function(r) {
        (e._status === 0 || e._status === -1) && (e._status = 1, e._result = r);
      }, function(r) {
        (e._status === 0 || e._status === -1) && (e._status = 2, e._result = r);
      }), e._status === -1 && (e._status = 0, e._result = t);
    }
    if (e._status === 1) return e._result.default;
    throw e._result;
  }
  a(qhe, "T");
  var Ir = { current: null }, a0 = { transition: null }, Dhe = { ReactCurrentDispatcher: Ir, ReactCurrentBatchConfig: a0, ReactCurrentOwner: X4 };
  function g9() {
    throw Error("act(...) is not supported in production builds of React.");
  }
  a(g9, "X");
  Se.Children = { map: n0, forEach: /* @__PURE__ */ a(function(e, t, r) {
    n0(e, function() {
      t.apply(this, arguments);
    }, r);
  }, "forEach"), count: /* @__PURE__ */ a(function(e) {
    var t = 0;
    return n0(e, function() {
      t++;
    }), t;
  }, "count"), toArray: /* @__PURE__ */ a(function(e) {
    return n0(e, function(t) {
      return t;
    }) || [];
  }, "toArray"), only: /* @__PURE__ */ a(function(e) {
    if (!J4(e)) throw Error("React.Children.only expected to receive a single React element child.");
    return e;
  }, "only") };
  Se.Component = Su;
  Se.Fragment = She;
  Se.Profiler = _he;
  Se.PureComponent = Y4;
  Se.StrictMode = Che;
  Se.Suspense = Ohe;
  Se.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Dhe;
  Se.act = g9;
  Se.cloneElement = function(e, t, r) {
    if (e == null) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + e + ".");
    var n = c9({}, e.props), o = e.key, i = e.ref, s = e._owner;
    if (t != null) {
      if (t.ref !== void 0 && (i = t.ref, s = X4.current), t.key !== void 0 && (o = "" + t.key), e.type && e.type.defaultProps) var l = e.type.
      defaultProps;
      for (u in t) p9.call(t, u) && !m9.hasOwnProperty(u) && (n[u] = t[u] === void 0 && l !== void 0 ? l[u] : t[u]);
    }
    var u = arguments.length - 2;
    if (u === 1) n.children = r;
    else if (1 < u) {
      l = Array(u);
      for (var c = 0; c < u; c++) l[c] = arguments[c + 2];
      n.children = l;
    }
    return { $$typeof: ff, type: e.type, key: o, ref: i, props: n, _owner: s };
  };
  Se.createContext = function(e) {
    return e = { $$typeof: The, _currentValue: e, _currentValue2: e, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null },
    e.Provider = { $$typeof: Phe, _context: e }, e.Consumer = e;
  };
  Se.createElement = h9;
  Se.createFactory = function(e) {
    var t = h9.bind(null, e);
    return t.type = e, t;
  };
  Se.createRef = function() {
    return { current: null };
  };
  Se.forwardRef = function(e) {
    return { $$typeof: Ahe, render: e };
  };
  Se.isValidElement = J4;
  Se.lazy = function(e) {
    return { $$typeof: Mhe, _payload: { _status: -1, _result: e }, _init: qhe };
  };
  Se.memo = function(e, t) {
    return { $$typeof: Ihe, type: e, compare: t === void 0 ? null : t };
  };
  Se.startTransition = function(e) {
    var t = a0.transition;
    a0.transition = {};
    try {
      e();
    } finally {
      a0.transition = t;
    }
  };
  Se.unstable_act = g9;
  Se.useCallback = function(e, t) {
    return Ir.current.useCallback(e, t);
  };
  Se.useContext = function(e) {
    return Ir.current.useContext(e);
  };
  Se.useDebugValue = function() {
  };
  Se.useDeferredValue = function(e) {
    return Ir.current.useDeferredValue(e);
  };
  Se.useEffect = function(e, t) {
    return Ir.current.useEffect(e, t);
  };
  Se.useId = function() {
    return Ir.current.useId();
  };
  Se.useImperativeHandle = function(e, t, r) {
    return Ir.current.useImperativeHandle(e, t, r);
  };
  Se.useInsertionEffect = function(e, t) {
    return Ir.current.useInsertionEffect(e, t);
  };
  Se.useLayoutEffect = function(e, t) {
    return Ir.current.useLayoutEffect(e, t);
  };
  Se.useMemo = function(e, t) {
    return Ir.current.useMemo(e, t);
  };
  Se.useReducer = function(e, t, r) {
    return Ir.current.useReducer(e, t, r);
  };
  Se.useRef = function(e) {
    return Ir.current.useRef(e);
  };
  Se.useState = function(e) {
    return Ir.current.useState(e);
  };
  Se.useSyncExternalStore = function(e, t, r) {
    return Ir.current.useSyncExternalStore(e, t, r);
  };
  Se.useTransition = function() {
    return Ir.current.useTransition();
  };
  Se.version = "18.3.1";
});

// ../node_modules/react/index.js
var H = R((nlt, v9) => {
  "use strict";
  v9.exports = y9();
});

// ../node_modules/scheduler/cjs/scheduler.production.min.js
var T9 = R((Ge) => {
  "use strict";
  function tC(e, t) {
    var r = e.length;
    e.push(t);
    e: for (; 0 < r; ) {
      var n = r - 1 >>> 1, o = e[n];
      if (0 < i0(o, t)) e[n] = t, e[r] = o, r = n;
      else break e;
    }
  }
  a(tC, "f");
  function Eo(e) {
    return e.length === 0 ? null : e[0];
  }
  a(Eo, "h");
  function l0(e) {
    if (e.length === 0) return null;
    var t = e[0], r = e.pop();
    if (r !== t) {
      e[0] = r;
      e: for (var n = 0, o = e.length, i = o >>> 1; n < i; ) {
        var s = 2 * (n + 1) - 1, l = e[s], u = s + 1, c = e[u];
        if (0 > i0(l, r)) u < o && 0 > i0(c, l) ? (e[n] = c, e[u] = r, n = u) : (e[n] = l, e[s] = r, n = s);
        else if (u < o && 0 > i0(c, r)) e[n] = c, e[u] = r, n = u;
        else break e;
      }
    }
    return t;
  }
  a(l0, "k");
  function i0(e, t) {
    var r = e.sortIndex - t.sortIndex;
    return r !== 0 ? r : e.id - t.id;
  }
  a(i0, "g");
  typeof performance == "object" && typeof performance.now == "function" ? (b9 = performance, Ge.unstable_now = function() {
    return b9.now();
  }) : (Q4 = Date, w9 = Q4.now(), Ge.unstable_now = function() {
    return Q4.now() - w9;
  });
  var b9, Q4, w9, aa = [], bi = [], Fhe = 1, kn = null, br = 3, u0 = !1, Ys = !1, mf = !1, x9 = typeof setTimeout == "function" ? setTimeout :
  null, S9 = typeof clearTimeout == "function" ? clearTimeout : null, E9 = typeof setImmediate < "u" ? setImmediate : null;
  typeof navigator < "u" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 && navigator.scheduling.isInputPending.
  bind(navigator.scheduling);
  function rC(e) {
    for (var t = Eo(bi); t !== null; ) {
      if (t.callback === null) l0(bi);
      else if (t.startTime <= e) l0(bi), t.sortIndex = t.expirationTime, tC(aa, t);
      else break;
      t = Eo(bi);
    }
  }
  a(rC, "G");
  function nC(e) {
    if (mf = !1, rC(e), !Ys) if (Eo(aa) !== null) Ys = !0, aC(oC);
    else {
      var t = Eo(bi);
      t !== null && iC(nC, t.startTime - e);
    }
  }
  a(nC, "H");
  function oC(e, t) {
    Ys = !1, mf && (mf = !1, S9(hf), hf = -1), u0 = !0;
    var r = br;
    try {
      for (rC(t), kn = Eo(aa); kn !== null && (!(kn.expirationTime > t) || e && !P9()); ) {
        var n = kn.callback;
        if (typeof n == "function") {
          kn.callback = null, br = kn.priorityLevel;
          var o = n(kn.expirationTime <= t);
          t = Ge.unstable_now(), typeof o == "function" ? kn.callback = o : kn === Eo(aa) && l0(aa), rC(t);
        } else l0(aa);
        kn = Eo(aa);
      }
      if (kn !== null) var i = !0;
      else {
        var s = Eo(bi);
        s !== null && iC(nC, s.startTime - t), i = !1;
      }
      return i;
    } finally {
      kn = null, br = r, u0 = !1;
    }
  }
  a(oC, "J");
  var c0 = !1, s0 = null, hf = -1, C9 = 5, _9 = -1;
  function P9() {
    return !(Ge.unstable_now() - _9 < C9);
  }
  a(P9, "M");
  function Z4() {
    if (s0 !== null) {
      var e = Ge.unstable_now();
      _9 = e;
      var t = !0;
      try {
        t = s0(!0, e);
      } finally {
        t ? pf() : (c0 = !1, s0 = null);
      }
    } else c0 = !1;
  }
  a(Z4, "R");
  var pf;
  typeof E9 == "function" ? pf = /* @__PURE__ */ a(function() {
    E9(Z4);
  }, "S") : typeof MessageChannel < "u" ? (eC = new MessageChannel(), R9 = eC.port2, eC.port1.onmessage = Z4, pf = /* @__PURE__ */ a(function() {
    R9.postMessage(null);
  }, "S")) : pf = /* @__PURE__ */ a(function() {
    x9(Z4, 0);
  }, "S");
  var eC, R9;
  function aC(e) {
    s0 = e, c0 || (c0 = !0, pf());
  }
  a(aC, "I");
  function iC(e, t) {
    hf = x9(function() {
      e(Ge.unstable_now());
    }, t);
  }
  a(iC, "K");
  Ge.unstable_IdlePriority = 5;
  Ge.unstable_ImmediatePriority = 1;
  Ge.unstable_LowPriority = 4;
  Ge.unstable_NormalPriority = 3;
  Ge.unstable_Profiling = null;
  Ge.unstable_UserBlockingPriority = 2;
  Ge.unstable_cancelCallback = function(e) {
    e.callback = null;
  };
  Ge.unstable_continueExecution = function() {
    Ys || u0 || (Ys = !0, aC(oC));
  };
  Ge.unstable_forceFrameRate = function(e) {
    0 > e || 125 < e ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not \
supported") : C9 = 0 < e ? Math.floor(1e3 / e) : 5;
  };
  Ge.unstable_getCurrentPriorityLevel = function() {
    return br;
  };
  Ge.unstable_getFirstCallbackNode = function() {
    return Eo(aa);
  };
  Ge.unstable_next = function(e) {
    switch (br) {
      case 1:
      case 2:
      case 3:
        var t = 3;
        break;
      default:
        t = br;
    }
    var r = br;
    br = t;
    try {
      return e();
    } finally {
      br = r;
    }
  };
  Ge.unstable_pauseExecution = function() {
  };
  Ge.unstable_requestPaint = function() {
  };
  Ge.unstable_runWithPriority = function(e, t) {
    switch (e) {
      case 1:
      case 2:
      case 3:
      case 4:
      case 5:
        break;
      default:
        e = 3;
    }
    var r = br;
    br = e;
    try {
      return t();
    } finally {
      br = r;
    }
  };
  Ge.unstable_scheduleCallback = function(e, t, r) {
    var n = Ge.unstable_now();
    switch (typeof r == "object" && r !== null ? (r = r.delay, r = typeof r == "number" && 0 < r ? n + r : n) : r = n, e) {
      case 1:
        var o = -1;
        break;
      case 2:
        o = 250;
        break;
      case 5:
        o = 1073741823;
        break;
      case 4:
        o = 1e4;
        break;
      default:
        o = 5e3;
    }
    return o = r + o, e = { id: Fhe++, callback: t, priorityLevel: e, startTime: r, expirationTime: o, sortIndex: -1 }, r > n ? (e.sortIndex =
    r, tC(bi, e), Eo(aa) === null && e === Eo(bi) && (mf ? (S9(hf), hf = -1) : mf = !0, iC(nC, r - n))) : (e.sortIndex = o, tC(aa, e), Ys ||
    u0 || (Ys = !0, aC(oC))), e;
  };
  Ge.unstable_shouldYield = P9;
  Ge.unstable_wrapCallback = function(e) {
    var t = br;
    return function() {
      var r = br;
      br = t;
      try {
        return e.apply(this, arguments);
      } finally {
        br = r;
      }
    };
  };
});

// ../node_modules/scheduler/index.js
var O9 = R((ilt, A9) => {
  "use strict";
  A9.exports = T9();
});

// ../node_modules/react-dom/cjs/react-dom.production.min.js
var Lq = R((bn) => {
  "use strict";
  var jhe = H(), yn = O9();
  function W(e) {
    for (var t = "https://reactjs.org/docs/error-decoder.html?invariant=" + e, r = 1; r < arguments.length; r++) t += "&args[]=" + encodeURIComponent(
    arguments[r]);
    return "Minified React error #" + e + "; visit " + t + " for the full message or use the non-minified dev environment for full errors an\
d additional helpful warnings.";
  }
  a(W, "p");
  var DL = /* @__PURE__ */ new Set(), Df = {};
  function sl(e, t) {
    Vu(e, t), Vu(e + "Capture", t);
  }
  a(sl, "fa");
  function Vu(e, t) {
    for (Df[e] = t, e = 0; e < t.length; e++) DL.add(t[e]);
  }
  a(Vu, "ha");
  var Fa = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"), AC = Object.prototype.hasOwnProperty,
  Bhe = /^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,
  I9 = {}, M9 = {};
  function $he(e) {
    return AC.call(M9, e) ? !0 : AC.call(I9, e) ? !1 : Bhe.test(e) ? M9[e] = !0 : (I9[e] = !0, !1);
  }
  a($he, "oa");
  function Hhe(e, t, r, n) {
    if (r !== null && r.type === 0) return !1;
    switch (typeof t) {
      case "function":
      case "symbol":
        return !0;
      case "boolean":
        return n ? !1 : r !== null ? !r.acceptsBooleans : (e = e.toLowerCase().slice(0, 5), e !== "data-" && e !== "aria-");
      default:
        return !1;
    }
  }
  a(Hhe, "pa");
  function zhe(e, t, r, n) {
    if (t === null || typeof t > "u" || Hhe(e, t, r, n)) return !0;
    if (n) return !1;
    if (r !== null) switch (r.type) {
      case 3:
        return !t;
      case 4:
        return t === !1;
      case 5:
        return isNaN(t);
      case 6:
        return isNaN(t) || 1 > t;
    }
    return !1;
  }
  a(zhe, "qa");
  function Lr(e, t, r, n, o, i, s) {
    this.acceptsBooleans = t === 2 || t === 3 || t === 4, this.attributeName = n, this.attributeNamespace = o, this.mustUseProperty = r, this.
    propertyName = e, this.type = t, this.sanitizeURL = i, this.removeEmptyString = s;
  }
  a(Lr, "v");
  var lr = {};
  "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(
  " ").forEach(function(e) {
    lr[e] = new Lr(e, 0, !1, e, null, !1, !1);
  });
  [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(e) {
    var t = e[0];
    lr[t] = new Lr(t, 1, !1, e[1], null, !1, !1);
  });
  ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(e) {
    lr[e] = new Lr(e, 2, !1, e.toLowerCase(), null, !1, !1);
  });
  ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(e) {
    lr[e] = new Lr(e, 2, !1, e, null, !1, !1);
  });
  "allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hid\
den loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e) {
    lr[e] = new Lr(e, 3, !1, e.toLowerCase(), null, !1, !1);
  });
  ["checked", "multiple", "muted", "selected"].forEach(function(e) {
    lr[e] = new Lr(e, 3, !0, e, null, !1, !1);
  });
  ["capture", "download"].forEach(function(e) {
    lr[e] = new Lr(e, 4, !1, e, null, !1, !1);
  });
  ["cols", "rows", "size", "span"].forEach(function(e) {
    lr[e] = new Lr(e, 6, !1, e, null, !1, !1);
  });
  ["rowSpan", "start"].forEach(function(e) {
    lr[e] = new Lr(e, 5, !1, e.toLowerCase(), null, !1, !1);
  });
  var E_ = /[\-:]([a-z])/g;
  function R_(e) {
    return e[1].toUpperCase();
  }
  a(R_, "sa");
  "accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filter\
s color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size f\
ont-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-ad\
v-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness pai\
nt-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness str\
oke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration tex\
t-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematic\
al vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e) {
    var t = e.replace(
      E_,
      R_
    );
    lr[t] = new Lr(t, 1, !1, e, null, !1, !1);
  });
  "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e) {
    var t = e.replace(E_, R_);
    lr[t] = new Lr(t, 1, !1, e, "http://www.w3.org/1999/xlink", !1, !1);
  });
  ["xml:base", "xml:lang", "xml:space"].forEach(function(e) {
    var t = e.replace(E_, R_);
    lr[t] = new Lr(t, 1, !1, e, "http://www.w3.org/XML/1998/namespace", !1, !1);
  });
  ["tabIndex", "crossOrigin"].forEach(function(e) {
    lr[e] = new Lr(e, 1, !1, e.toLowerCase(), null, !1, !1);
  });
  lr.xlinkHref = new Lr("xlinkHref", 1, !1, "xlink:href", "http://www.w3.org/1999/xlink", !0, !1);
  ["src", "href", "action", "formAction"].forEach(function(e) {
    lr[e] = new Lr(e, 1, !1, e.toLowerCase(), null, !0, !0);
  });
  function x_(e, t, r, n) {
    var o = lr.hasOwnProperty(t) ? lr[t] : null;
    (o !== null ? o.type !== 0 : n || !(2 < t.length) || t[0] !== "o" && t[0] !== "O" || t[1] !== "n" && t[1] !== "N") && (zhe(t, r, o, n) &&
    (r = null), n || o === null ? $he(t) && (r === null ? e.removeAttribute(t) : e.setAttribute(t, "" + r)) : o.mustUseProperty ? e[o.propertyName] =
    r === null ? o.type === 3 ? !1 : "" : r : (t = o.attributeName, n = o.attributeNamespace, r === null ? e.removeAttribute(t) : (o = o.type,
    r = o === 3 || o === 4 && r === !0 ? "" : "" + r, n ? e.setAttributeNS(n, t, r) : e.setAttribute(t, r))));
  }
  a(x_, "ta");
  var Ha = jhe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, d0 = Symbol.for("react.element"), Pu = Symbol.for("react.portal"), Tu = Symbol.
  for("react.fragment"), S_ = Symbol.for("react.strict_mode"), OC = Symbol.for("react.profiler"), FL = Symbol.for("react.provider"), jL = Symbol.
  for("react.context"), C_ = Symbol.for("react.forward_ref"), IC = Symbol.for("react.suspense"), MC = Symbol.for("react.suspense_list"), __ = Symbol.
  for("react.memo"), Ei = Symbol.for("react.lazy");
  Symbol.for("react.scope");
  Symbol.for("react.debug_trace_mode");
  var BL = Symbol.for("react.offscreen");
  Symbol.for("react.legacy_hidden");
  Symbol.for("react.cache");
  Symbol.for("react.tracing_marker");
  var N9 = Symbol.iterator;
  function gf(e) {
    return e === null || typeof e != "object" ? null : (e = N9 && e[N9] || e["@@iterator"], typeof e == "function" ? e : null);
  }
  a(gf, "Ka");
  var pt = Object.assign, sC;
  function Sf(e) {
    if (sC === void 0) try {
      throw Error();
    } catch (r) {
      var t = r.stack.trim().match(/\n( *(at )?)/);
      sC = t && t[1] || "";
    }
    return `
` + sC + e;
  }
  a(Sf, "Ma");
  var lC = !1;
  function uC(e, t) {
    if (!e || lC) return "";
    lC = !0;
    var r = Error.prepareStackTrace;
    Error.prepareStackTrace = void 0;
    try {
      if (t) if (t = /* @__PURE__ */ a(function() {
        throw Error();
      }, "b"), Object.defineProperty(t.prototype, "props", { set: /* @__PURE__ */ a(function() {
        throw Error();
      }, "set") }), typeof Reflect == "object" && Reflect.construct) {
        try {
          Reflect.construct(t, []);
        } catch (c) {
          var n = c;
        }
        Reflect.construct(e, [], t);
      } else {
        try {
          t.call();
        } catch (c) {
          n = c;
        }
        e.call(t.prototype);
      }
      else {
        try {
          throw Error();
        } catch (c) {
          n = c;
        }
        e();
      }
    } catch (c) {
      if (c && n && typeof c.stack == "string") {
        for (var o = c.stack.split(`
`), i = n.stack.split(`
`), s = o.length - 1, l = i.length - 1; 1 <= s && 0 <= l && o[s] !== i[l]; ) l--;
        for (; 1 <= s && 0 <= l; s--, l--) if (o[s] !== i[l]) {
          if (s !== 1 || l !== 1)
            do
              if (s--, l--, 0 > l || o[s] !== i[l]) {
                var u = `
` + o[s].replace(" at new ", " at ");
                return e.displayName && u.includes("<anonymous>") && (u = u.replace("<anonymous>", e.displayName)), u;
              }
            while (1 <= s && 0 <= l);
          break;
        }
      }
    } finally {
      lC = !1, Error.prepareStackTrace = r;
    }
    return (e = e ? e.displayName || e.name : "") ? Sf(e) : "";
  }
  a(uC, "Oa");
  function Uhe(e) {
    switch (e.tag) {
      case 5:
        return Sf(e.type);
      case 16:
        return Sf("Lazy");
      case 13:
        return Sf("Suspense");
      case 19:
        return Sf("SuspenseList");
      case 0:
      case 2:
      case 15:
        return e = uC(e.type, !1), e;
      case 11:
        return e = uC(e.type.render, !1), e;
      case 1:
        return e = uC(e.type, !0), e;
      default:
        return "";
    }
  }
  a(Uhe, "Pa");
  function NC(e) {
    if (e == null) return null;
    if (typeof e == "function") return e.displayName || e.name || null;
    if (typeof e == "string") return e;
    switch (e) {
      case Tu:
        return "Fragment";
      case Pu:
        return "Portal";
      case OC:
        return "Profiler";
      case S_:
        return "StrictMode";
      case IC:
        return "Suspense";
      case MC:
        return "SuspenseList";
    }
    if (typeof e == "object") switch (e.$$typeof) {
      case jL:
        return (e.displayName || "Context") + ".Consumer";
      case FL:
        return (e._context.displayName || "Context") + ".Provider";
      case C_:
        var t = e.render;
        return e = e.displayName, e || (e = t.displayName || t.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
      case __:
        return t = e.displayName || null, t !== null ? t : NC(e.type) || "Memo";
      case Ei:
        t = e._payload, e = e._init;
        try {
          return NC(e(t));
        } catch {
        }
    }
    return null;
  }
  a(NC, "Qa");
  function Vhe(e) {
    var t = e.type;
    switch (e.tag) {
      case 24:
        return "Cache";
      case 9:
        return (t.displayName || "Context") + ".Consumer";
      case 10:
        return (t._context.displayName || "Context") + ".Provider";
      case 18:
        return "DehydratedFragment";
      case 11:
        return e = t.render, e = e.displayName || e.name || "", t.displayName || (e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef");
      case 7:
        return "Fragment";
      case 5:
        return t;
      case 4:
        return "Portal";
      case 3:
        return "Root";
      case 6:
        return "Text";
      case 16:
        return NC(t);
      case 8:
        return t === S_ ? "StrictMode" : "Mode";
      case 22:
        return "Offscreen";
      case 12:
        return "Profiler";
      case 21:
        return "Scope";
      case 13:
        return "Suspense";
      case 19:
        return "SuspenseList";
      case 25:
        return "TracingMarker";
      case 1:
      case 0:
      case 17:
      case 2:
      case 14:
      case 15:
        if (typeof t == "function") return t.displayName || t.name || null;
        if (typeof t == "string") return t;
    }
    return null;
  }
  a(Vhe, "Ra");
  function ki(e) {
    switch (typeof e) {
      case "boolean":
      case "number":
      case "string":
      case "undefined":
        return e;
      case "object":
        return e;
      default:
        return "";
    }
  }
  a(ki, "Sa");
  function $L(e) {
    var t = e.type;
    return (e = e.nodeName) && e.toLowerCase() === "input" && (t === "checkbox" || t === "radio");
  }
  a($L, "Ta");
  function Whe(e) {
    var t = $L(e) ? "checked" : "value", r = Object.getOwnPropertyDescriptor(e.constructor.prototype, t), n = "" + e[t];
    if (!e.hasOwnProperty(t) && typeof r < "u" && typeof r.get == "function" && typeof r.set == "function") {
      var o = r.get, i = r.set;
      return Object.defineProperty(e, t, { configurable: !0, get: /* @__PURE__ */ a(function() {
        return o.call(this);
      }, "get"), set: /* @__PURE__ */ a(function(s) {
        n = "" + s, i.call(this, s);
      }, "set") }), Object.defineProperty(e, t, { enumerable: r.enumerable }), { getValue: /* @__PURE__ */ a(function() {
        return n;
      }, "getValue"), setValue: /* @__PURE__ */ a(function(s) {
        n = "" + s;
      }, "setValue"), stopTracking: /* @__PURE__ */ a(function() {
        e._valueTracker = null, delete e[t];
      }, "stopTracking") };
    }
  }
  a(Whe, "Ua");
  function f0(e) {
    e._valueTracker || (e._valueTracker = Whe(e));
  }
  a(f0, "Va");
  function HL(e) {
    if (!e) return !1;
    var t = e._valueTracker;
    if (!t) return !0;
    var r = t.getValue(), n = "";
    return e && (n = $L(e) ? e.checked ? "true" : "false" : e.value), e = n, e !== r ? (t.setValue(e), !0) : !1;
  }
  a(HL, "Wa");
  function B0(e) {
    if (e = e || (typeof document < "u" ? document : void 0), typeof e > "u") return null;
    try {
      return e.activeElement || e.body;
    } catch {
      return e.body;
    }
  }
  a(B0, "Xa");
  function LC(e, t) {
    var r = t.checked;
    return pt({}, t, { defaultChecked: void 0, defaultValue: void 0, value: void 0, checked: r ?? e._wrapperState.initialChecked });
  }
  a(LC, "Ya");
  function L9(e, t) {
    var r = t.defaultValue == null ? "" : t.defaultValue, n = t.checked != null ? t.checked : t.defaultChecked;
    r = ki(t.value != null ? t.value : r), e._wrapperState = { initialChecked: n, initialValue: r, controlled: t.type === "checkbox" || t.type ===
    "radio" ? t.checked != null : t.value != null };
  }
  a(L9, "Za");
  function zL(e, t) {
    t = t.checked, t != null && x_(e, "checked", t, !1);
  }
  a(zL, "ab");
  function kC(e, t) {
    zL(e, t);
    var r = ki(t.value), n = t.type;
    if (r != null) n === "number" ? (r === 0 && e.value === "" || e.value != r) && (e.value = "" + r) : e.value !== "" + r && (e.value = "" +
    r);
    else if (n === "submit" || n === "reset") {
      e.removeAttribute("value");
      return;
    }
    t.hasOwnProperty("value") ? qC(e, t.type, r) : t.hasOwnProperty("defaultValue") && qC(e, t.type, ki(t.defaultValue)), t.checked == null &&
    t.defaultChecked != null && (e.defaultChecked = !!t.defaultChecked);
  }
  a(kC, "bb");
  function k9(e, t, r) {
    if (t.hasOwnProperty("value") || t.hasOwnProperty("defaultValue")) {
      var n = t.type;
      if (!(n !== "submit" && n !== "reset" || t.value !== void 0 && t.value !== null)) return;
      t = "" + e._wrapperState.initialValue, r || t === e.value || (e.value = t), e.defaultValue = t;
    }
    r = e.name, r !== "" && (e.name = ""), e.defaultChecked = !!e._wrapperState.initialChecked, r !== "" && (e.name = r);
  }
  a(k9, "db");
  function qC(e, t, r) {
    (t !== "number" || B0(e.ownerDocument) !== e) && (r == null ? e.defaultValue = "" + e._wrapperState.initialValue : e.defaultValue !== "" +
    r && (e.defaultValue = "" + r));
  }
  a(qC, "cb");
  var Cf = Array.isArray;
  function ju(e, t, r, n) {
    if (e = e.options, t) {
      t = {};
      for (var o = 0; o < r.length; o++) t["$" + r[o]] = !0;
      for (r = 0; r < e.length; r++) o = t.hasOwnProperty("$" + e[r].value), e[r].selected !== o && (e[r].selected = o), o && n && (e[r].defaultSelected =
      !0);
    } else {
      for (r = "" + ki(r), t = null, o = 0; o < e.length; o++) {
        if (e[o].value === r) {
          e[o].selected = !0, n && (e[o].defaultSelected = !0);
          return;
        }
        t !== null || e[o].disabled || (t = e[o]);
      }
      t !== null && (t.selected = !0);
    }
  }
  a(ju, "fb");
  function DC(e, t) {
    if (t.dangerouslySetInnerHTML != null) throw Error(W(91));
    return pt({}, t, { value: void 0, defaultValue: void 0, children: "" + e._wrapperState.initialValue });
  }
  a(DC, "gb");
  function q9(e, t) {
    var r = t.value;
    if (r == null) {
      if (r = t.children, t = t.defaultValue, r != null) {
        if (t != null) throw Error(W(92));
        if (Cf(r)) {
          if (1 < r.length) throw Error(W(93));
          r = r[0];
        }
        t = r;
      }
      t == null && (t = ""), r = t;
    }
    e._wrapperState = { initialValue: ki(r) };
  }
  a(q9, "hb");
  function UL(e, t) {
    var r = ki(t.value), n = ki(t.defaultValue);
    r != null && (r = "" + r, r !== e.value && (e.value = r), t.defaultValue == null && e.defaultValue !== r && (e.defaultValue = r)), n != null &&
    (e.defaultValue = "" + n);
  }
  a(UL, "ib");
  function D9(e) {
    var t = e.textContent;
    t === e._wrapperState.initialValue && t !== "" && t !== null && (e.value = t);
  }
  a(D9, "jb");
  function VL(e) {
    switch (e) {
      case "svg":
        return "http://www.w3.org/2000/svg";
      case "math":
        return "http://www.w3.org/1998/Math/MathML";
      default:
        return "http://www.w3.org/1999/xhtml";
    }
  }
  a(VL, "kb");
  function FC(e, t) {
    return e == null || e === "http://www.w3.org/1999/xhtml" ? VL(t) : e === "http://www.w3.org/2000/svg" && t === "foreignObject" ? "http:/\
/www.w3.org/1999/xhtml" : e;
  }
  a(FC, "lb");
  var p0, WL = function(e) {
    return typeof MSApp < "u" && MSApp.execUnsafeLocalFunction ? function(t, r, n, o) {
      MSApp.execUnsafeLocalFunction(function() {
        return e(t, r, n, o);
      });
    } : e;
  }(function(e, t) {
    if (e.namespaceURI !== "http://www.w3.org/2000/svg" || "innerHTML" in e) e.innerHTML = t;
    else {
      for (p0 = p0 || document.createElement("div"), p0.innerHTML = "<svg>" + t.valueOf().toString() + "</svg>", t = p0.firstChild; e.firstChild; )
       e.removeChild(e.firstChild);
      for (; t.firstChild; ) e.appendChild(t.firstChild);
    }
  });
  function Ff(e, t) {
    if (t) {
      var r = e.firstChild;
      if (r && r === e.lastChild && r.nodeType === 3) {
        r.nodeValue = t;
        return;
      }
    }
    e.textContent = t;
  }
  a(Ff, "ob");
  var Tf = {
    animationIterationCount: !0,
    aspectRatio: !0,
    borderImageOutset: !0,
    borderImageSlice: !0,
    borderImageWidth: !0,
    boxFlex: !0,
    boxFlexGroup: !0,
    boxOrdinalGroup: !0,
    columnCount: !0,
    columns: !0,
    flex: !0,
    flexGrow: !0,
    flexPositive: !0,
    flexShrink: !0,
    flexNegative: !0,
    flexOrder: !0,
    gridArea: !0,
    gridRow: !0,
    gridRowEnd: !0,
    gridRowSpan: !0,
    gridRowStart: !0,
    gridColumn: !0,
    gridColumnEnd: !0,
    gridColumnSpan: !0,
    gridColumnStart: !0,
    fontWeight: !0,
    lineClamp: !0,
    lineHeight: !0,
    opacity: !0,
    order: !0,
    orphans: !0,
    tabSize: !0,
    widows: !0,
    zIndex: !0,
    zoom: !0,
    fillOpacity: !0,
    floodOpacity: !0,
    stopOpacity: !0,
    strokeDasharray: !0,
    strokeDashoffset: !0,
    strokeMiterlimit: !0,
    strokeOpacity: !0,
    strokeWidth: !0
  }, Ghe = ["Webkit", "ms", "Moz", "O"];
  Object.keys(Tf).forEach(function(e) {
    Ghe.forEach(function(t) {
      t = t + e.charAt(0).toUpperCase() + e.substring(1), Tf[t] = Tf[e];
    });
  });
  function GL(e, t, r) {
    return t == null || typeof t == "boolean" || t === "" ? "" : r || typeof t != "number" || t === 0 || Tf.hasOwnProperty(e) && Tf[e] ? ("" +
    t).trim() : t + "px";
  }
  a(GL, "rb");
  function YL(e, t) {
    e = e.style;
    for (var r in t) if (t.hasOwnProperty(r)) {
      var n = r.indexOf("--") === 0, o = GL(r, t[r], n);
      r === "float" && (r = "cssFloat"), n ? e.setProperty(r, o) : e[r] = o;
    }
  }
  a(YL, "sb");
  var Yhe = pt({ menuitem: !0 }, { area: !0, base: !0, br: !0, col: !0, embed: !0, hr: !0, img: !0, input: !0, keygen: !0, link: !0, meta: !0,
  param: !0, source: !0, track: !0, wbr: !0 });
  function jC(e, t) {
    if (t) {
      if (Yhe[e] && (t.children != null || t.dangerouslySetInnerHTML != null)) throw Error(W(137, e));
      if (t.dangerouslySetInnerHTML != null) {
        if (t.children != null) throw Error(W(60));
        if (typeof t.dangerouslySetInnerHTML != "object" || !("__html" in t.dangerouslySetInnerHTML)) throw Error(W(61));
      }
      if (t.style != null && typeof t.style != "object") throw Error(W(62));
    }
  }
  a(jC, "ub");
  function BC(e, t) {
    if (e.indexOf("-") === -1) return typeof t.is == "string";
    switch (e) {
      case "annotation-xml":
      case "color-profile":
      case "font-face":
      case "font-face-src":
      case "font-face-uri":
      case "font-face-format":
      case "font-face-name":
      case "missing-glyph":
        return !1;
      default:
        return !0;
    }
  }
  a(BC, "vb");
  var $C = null;
  function P_(e) {
    return e = e.target || e.srcElement || window, e.correspondingUseElement && (e = e.correspondingUseElement), e.nodeType === 3 ? e.parentNode :
    e;
  }
  a(P_, "xb");
  var HC = null, Bu = null, $u = null;
  function F9(e) {
    if (e = rp(e)) {
      if (typeof HC != "function") throw Error(W(280));
      var t = e.stateNode;
      t && (t = mg(t), HC(e.stateNode, e.type, t));
    }
  }
  a(F9, "Bb");
  function KL(e) {
    Bu ? $u ? $u.push(e) : $u = [e] : Bu = e;
  }
  a(KL, "Eb");
  function XL() {
    if (Bu) {
      var e = Bu, t = $u;
      if ($u = Bu = null, F9(e), t) for (e = 0; e < t.length; e++) F9(t[e]);
    }
  }
  a(XL, "Fb");
  function JL(e, t) {
    return e(t);
  }
  a(JL, "Gb");
  function QL() {
  }
  a(QL, "Hb");
  var cC = !1;
  function ZL(e, t, r) {
    if (cC) return e(t, r);
    cC = !0;
    try {
      return JL(e, t, r);
    } finally {
      cC = !1, (Bu !== null || $u !== null) && (QL(), XL());
    }
  }
  a(ZL, "Jb");
  function jf(e, t) {
    var r = e.stateNode;
    if (r === null) return null;
    var n = mg(r);
    if (n === null) return null;
    r = n[t];
    e: switch (t) {
      case "onClick":
      case "onClickCapture":
      case "onDoubleClick":
      case "onDoubleClickCapture":
      case "onMouseDown":
      case "onMouseDownCapture":
      case "onMouseMove":
      case "onMouseMoveCapture":
      case "onMouseUp":
      case "onMouseUpCapture":
      case "onMouseEnter":
        (n = !n.disabled) || (e = e.type, n = !(e === "button" || e === "input" || e === "select" || e === "textarea")), e = !n;
        break e;
      default:
        e = !1;
    }
    if (e) return null;
    if (r && typeof r != "function") throw Error(W(231, t, typeof r));
    return r;
  }
  a(jf, "Kb");
  var zC = !1;
  if (Fa) try {
    Cu = {}, Object.defineProperty(Cu, "passive", { get: /* @__PURE__ */ a(function() {
      zC = !0;
    }, "get") }), window.addEventListener("test", Cu, Cu), window.removeEventListener("test", Cu, Cu);
  } catch {
    zC = !1;
  }
  var Cu;
  function Khe(e, t, r, n, o, i, s, l, u) {
    var c = Array.prototype.slice.call(arguments, 3);
    try {
      t.apply(r, c);
    } catch (d) {
      this.onError(d);
    }
  }
  a(Khe, "Nb");
  var Af = !1, $0 = null, H0 = !1, UC = null, Xhe = { onError: /* @__PURE__ */ a(function(e) {
    Af = !0, $0 = e;
  }, "onError") };
  function Jhe(e, t, r, n, o, i, s, l, u) {
    Af = !1, $0 = null, Khe.apply(Xhe, arguments);
  }
  a(Jhe, "Tb");
  function Qhe(e, t, r, n, o, i, s, l, u) {
    if (Jhe.apply(this, arguments), Af) {
      if (Af) {
        var c = $0;
        Af = !1, $0 = null;
      } else throw Error(W(198));
      H0 || (H0 = !0, UC = c);
    }
  }
  a(Qhe, "Ub");
  function ll(e) {
    var t = e, r = e;
    if (e.alternate) for (; t.return; ) t = t.return;
    else {
      e = t;
      do
        t = e, (t.flags & 4098) !== 0 && (r = t.return), e = t.return;
      while (e);
    }
    return t.tag === 3 ? r : null;
  }
  a(ll, "Vb");
  function ek(e) {
    if (e.tag === 13) {
      var t = e.memoizedState;
      if (t === null && (e = e.alternate, e !== null && (t = e.memoizedState)), t !== null) return t.dehydrated;
    }
    return null;
  }
  a(ek, "Wb");
  function j9(e) {
    if (ll(e) !== e) throw Error(W(188));
  }
  a(j9, "Xb");
  function Zhe(e) {
    var t = e.alternate;
    if (!t) {
      if (t = ll(e), t === null) throw Error(W(188));
      return t !== e ? null : e;
    }
    for (var r = e, n = t; ; ) {
      var o = r.return;
      if (o === null) break;
      var i = o.alternate;
      if (i === null) {
        if (n = o.return, n !== null) {
          r = n;
          continue;
        }
        break;
      }
      if (o.child === i.child) {
        for (i = o.child; i; ) {
          if (i === r) return j9(o), e;
          if (i === n) return j9(o), t;
          i = i.sibling;
        }
        throw Error(W(188));
      }
      if (r.return !== n.return) r = o, n = i;
      else {
        for (var s = !1, l = o.child; l; ) {
          if (l === r) {
            s = !0, r = o, n = i;
            break;
          }
          if (l === n) {
            s = !0, n = o, r = i;
            break;
          }
          l = l.sibling;
        }
        if (!s) {
          for (l = i.child; l; ) {
            if (l === r) {
              s = !0, r = i, n = o;
              break;
            }
            if (l === n) {
              s = !0, n = i, r = o;
              break;
            }
            l = l.sibling;
          }
          if (!s) throw Error(W(189));
        }
      }
      if (r.alternate !== n) throw Error(W(190));
    }
    if (r.tag !== 3) throw Error(W(188));
    return r.stateNode.current === r ? e : t;
  }
  a(Zhe, "Yb");
  function tk(e) {
    return e = Zhe(e), e !== null ? rk(e) : null;
  }
  a(tk, "Zb");
  function rk(e) {
    if (e.tag === 5 || e.tag === 6) return e;
    for (e = e.child; e !== null; ) {
      var t = rk(e);
      if (t !== null) return t;
      e = e.sibling;
    }
    return null;
  }
  a(rk, "$b");
  var nk = yn.unstable_scheduleCallback, B9 = yn.unstable_cancelCallback, e0e = yn.unstable_shouldYield, t0e = yn.unstable_requestPaint, St = yn.
  unstable_now, r0e = yn.unstable_getCurrentPriorityLevel, T_ = yn.unstable_ImmediatePriority, ok = yn.unstable_UserBlockingPriority, z0 = yn.
  unstable_NormalPriority, n0e = yn.unstable_LowPriority, ak = yn.unstable_IdlePriority, cg = null, ua = null;
  function o0e(e) {
    if (ua && typeof ua.onCommitFiberRoot == "function") try {
      ua.onCommitFiberRoot(cg, e, void 0, (e.current.flags & 128) === 128);
    } catch {
    }
  }
  a(o0e, "mc");
  var _o = Math.clz32 ? Math.clz32 : s0e, a0e = Math.log, i0e = Math.LN2;
  function s0e(e) {
    return e >>>= 0, e === 0 ? 32 : 31 - (a0e(e) / i0e | 0) | 0;
  }
  a(s0e, "nc");
  var m0 = 64, h0 = 4194304;
  function _f(e) {
    switch (e & -e) {
      case 1:
        return 1;
      case 2:
        return 2;
      case 4:
        return 4;
      case 8:
        return 8;
      case 16:
        return 16;
      case 32:
        return 32;
      case 64:
      case 128:
      case 256:
      case 512:
      case 1024:
      case 2048:
      case 4096:
      case 8192:
      case 16384:
      case 32768:
      case 65536:
      case 131072:
      case 262144:
      case 524288:
      case 1048576:
      case 2097152:
        return e & 4194240;
      case 4194304:
      case 8388608:
      case 16777216:
      case 33554432:
      case 67108864:
        return e & 130023424;
      case 134217728:
        return 134217728;
      case 268435456:
        return 268435456;
      case 536870912:
        return 536870912;
      case 1073741824:
        return 1073741824;
      default:
        return e;
    }
  }
  a(_f, "tc");
  function U0(e, t) {
    var r = e.pendingLanes;
    if (r === 0) return 0;
    var n = 0, o = e.suspendedLanes, i = e.pingedLanes, s = r & 268435455;
    if (s !== 0) {
      var l = s & ~o;
      l !== 0 ? n = _f(l) : (i &= s, i !== 0 && (n = _f(i)));
    } else s = r & ~o, s !== 0 ? n = _f(s) : i !== 0 && (n = _f(i));
    if (n === 0) return 0;
    if (t !== 0 && t !== n && (t & o) === 0 && (o = n & -n, i = t & -t, o >= i || o === 16 && (i & 4194240) !== 0)) return t;
    if ((n & 4) !== 0 && (n |= r & 16), t = e.entangledLanes, t !== 0) for (e = e.entanglements, t &= n; 0 < t; ) r = 31 - _o(t), o = 1 << r,
    n |= e[r], t &= ~o;
    return n;
  }
  a(U0, "uc");
  function l0e(e, t) {
    switch (e) {
      case 1:
      case 2:
      case 4:
        return t + 250;
      case 8:
      case 16:
      case 32:
      case 64:
      case 128:
      case 256:
      case 512:
      case 1024:
      case 2048:
      case 4096:
      case 8192:
      case 16384:
      case 32768:
      case 65536:
      case 131072:
      case 262144:
      case 524288:
      case 1048576:
      case 2097152:
        return t + 5e3;
      case 4194304:
      case 8388608:
      case 16777216:
      case 33554432:
      case 67108864:
        return -1;
      case 134217728:
      case 268435456:
      case 536870912:
      case 1073741824:
        return -1;
      default:
        return -1;
    }
  }
  a(l0e, "vc");
  function u0e(e, t) {
    for (var r = e.suspendedLanes, n = e.pingedLanes, o = e.expirationTimes, i = e.pendingLanes; 0 < i; ) {
      var s = 31 - _o(i), l = 1 << s, u = o[s];
      u === -1 ? ((l & r) === 0 || (l & n) !== 0) && (o[s] = l0e(l, t)) : u <= t && (e.expiredLanes |= l), i &= ~l;
    }
  }
  a(u0e, "wc");
  function VC(e) {
    return e = e.pendingLanes & -1073741825, e !== 0 ? e : e & 1073741824 ? 1073741824 : 0;
  }
  a(VC, "xc");
  function ik() {
    var e = m0;
    return m0 <<= 1, (m0 & 4194240) === 0 && (m0 = 64), e;
  }
  a(ik, "yc");
  function dC(e) {
    for (var t = [], r = 0; 31 > r; r++) t.push(e);
    return t;
  }
  a(dC, "zc");
  function ep(e, t, r) {
    e.pendingLanes |= t, t !== 536870912 && (e.suspendedLanes = 0, e.pingedLanes = 0), e = e.eventTimes, t = 31 - _o(t), e[t] = r;
  }
  a(ep, "Ac");
  function c0e(e, t) {
    var r = e.pendingLanes & ~t;
    e.pendingLanes = t, e.suspendedLanes = 0, e.pingedLanes = 0, e.expiredLanes &= t, e.mutableReadLanes &= t, e.entangledLanes &= t, t = e.
    entanglements;
    var n = e.eventTimes;
    for (e = e.expirationTimes; 0 < r; ) {
      var o = 31 - _o(r), i = 1 << o;
      t[o] = 0, n[o] = -1, e[o] = -1, r &= ~i;
    }
  }
  a(c0e, "Bc");
  function A_(e, t) {
    var r = e.entangledLanes |= t;
    for (e = e.entanglements; r; ) {
      var n = 31 - _o(r), o = 1 << n;
      o & t | e[n] & t && (e[n] |= t), r &= ~o;
    }
  }
  a(A_, "Cc");
  var Fe = 0;
  function sk(e) {
    return e &= -e, 1 < e ? 4 < e ? (e & 268435455) !== 0 ? 16 : 536870912 : 4 : 1;
  }
  a(sk, "Dc");
  var lk, O_, uk, ck, dk, WC = !1, g0 = [], Pi = null, Ti = null, Ai = null, Bf = /* @__PURE__ */ new Map(), $f = /* @__PURE__ */ new Map(),
  xi = [], d0e = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart \
drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");
  function $9(e, t) {
    switch (e) {
      case "focusin":
      case "focusout":
        Pi = null;
        break;
      case "dragenter":
      case "dragleave":
        Ti = null;
        break;
      case "mouseover":
      case "mouseout":
        Ai = null;
        break;
      case "pointerover":
      case "pointerout":
        Bf.delete(t.pointerId);
        break;
      case "gotpointercapture":
      case "lostpointercapture":
        $f.delete(t.pointerId);
    }
  }
  a($9, "Sc");
  function yf(e, t, r, n, o, i) {
    return e === null || e.nativeEvent !== i ? (e = { blockedOn: t, domEventName: r, eventSystemFlags: n, nativeEvent: i, targetContainers: [
    o] }, t !== null && (t = rp(t), t !== null && O_(t)), e) : (e.eventSystemFlags |= n, t = e.targetContainers, o !== null && t.indexOf(o) ===
    -1 && t.push(o), e);
  }
  a(yf, "Tc");
  function f0e(e, t, r, n, o) {
    switch (t) {
      case "focusin":
        return Pi = yf(Pi, e, t, r, n, o), !0;
      case "dragenter":
        return Ti = yf(Ti, e, t, r, n, o), !0;
      case "mouseover":
        return Ai = yf(Ai, e, t, r, n, o), !0;
      case "pointerover":
        var i = o.pointerId;
        return Bf.set(i, yf(Bf.get(i) || null, e, t, r, n, o)), !0;
      case "gotpointercapture":
        return i = o.pointerId, $f.set(i, yf($f.get(i) || null, e, t, r, n, o)), !0;
    }
    return !1;
  }
  a(f0e, "Uc");
  function fk(e) {
    var t = Js(e.target);
    if (t !== null) {
      var r = ll(t);
      if (r !== null) {
        if (t = r.tag, t === 13) {
          if (t = ek(r), t !== null) {
            e.blockedOn = t, dk(e.priority, function() {
              uk(r);
            });
            return;
          }
        } else if (t === 3 && r.stateNode.current.memoizedState.isDehydrated) {
          e.blockedOn = r.tag === 3 ? r.stateNode.containerInfo : null;
          return;
        }
      }
    }
    e.blockedOn = null;
  }
  a(fk, "Vc");
  function O0(e) {
    if (e.blockedOn !== null) return !1;
    for (var t = e.targetContainers; 0 < t.length; ) {
      var r = GC(e.domEventName, e.eventSystemFlags, t[0], e.nativeEvent);
      if (r === null) {
        r = e.nativeEvent;
        var n = new r.constructor(r.type, r);
        $C = n, r.target.dispatchEvent(n), $C = null;
      } else return t = rp(r), t !== null && O_(t), e.blockedOn = r, !1;
      t.shift();
    }
    return !0;
  }
  a(O0, "Xc");
  function H9(e, t, r) {
    O0(e) && r.delete(t);
  }
  a(H9, "Zc");
  function p0e() {
    WC = !1, Pi !== null && O0(Pi) && (Pi = null), Ti !== null && O0(Ti) && (Ti = null), Ai !== null && O0(Ai) && (Ai = null), Bf.forEach(H9),
    $f.forEach(H9);
  }
  a(p0e, "$c");
  function vf(e, t) {
    e.blockedOn === t && (e.blockedOn = null, WC || (WC = !0, yn.unstable_scheduleCallback(yn.unstable_NormalPriority, p0e)));
  }
  a(vf, "ad");
  function Hf(e) {
    function t(o) {
      return vf(o, e);
    }
    if (a(t, "b"), 0 < g0.length) {
      vf(g0[0], e);
      for (var r = 1; r < g0.length; r++) {
        var n = g0[r];
        n.blockedOn === e && (n.blockedOn = null);
      }
    }
    for (Pi !== null && vf(Pi, e), Ti !== null && vf(Ti, e), Ai !== null && vf(Ai, e), Bf.forEach(t), $f.forEach(t), r = 0; r < xi.length; r++)
     n = xi[r], n.blockedOn === e && (n.blockedOn = null);
    for (; 0 < xi.length && (r = xi[0], r.blockedOn === null); ) fk(r), r.blockedOn === null && xi.shift();
  }
  a(Hf, "bd");
  var Hu = Ha.ReactCurrentBatchConfig, V0 = !0;
  function m0e(e, t, r, n) {
    var o = Fe, i = Hu.transition;
    Hu.transition = null;
    try {
      Fe = 1, I_(e, t, r, n);
    } finally {
      Fe = o, Hu.transition = i;
    }
  }
  a(m0e, "ed");
  function h0e(e, t, r, n) {
    var o = Fe, i = Hu.transition;
    Hu.transition = null;
    try {
      Fe = 4, I_(e, t, r, n);
    } finally {
      Fe = o, Hu.transition = i;
    }
  }
  a(h0e, "gd");
  function I_(e, t, r, n) {
    if (V0) {
      var o = GC(e, t, r, n);
      if (o === null) vC(e, t, n, W0, r), $9(e, n);
      else if (f0e(o, e, t, r, n)) n.stopPropagation();
      else if ($9(e, n), t & 4 && -1 < d0e.indexOf(e)) {
        for (; o !== null; ) {
          var i = rp(o);
          if (i !== null && lk(i), i = GC(e, t, r, n), i === null && vC(e, t, n, W0, r), i === o) break;
          o = i;
        }
        o !== null && n.stopPropagation();
      } else vC(e, t, n, null, r);
    }
  }
  a(I_, "fd");
  var W0 = null;
  function GC(e, t, r, n) {
    if (W0 = null, e = P_(n), e = Js(e), e !== null) if (t = ll(e), t === null) e = null;
    else if (r = t.tag, r === 13) {
      if (e = ek(t), e !== null) return e;
      e = null;
    } else if (r === 3) {
      if (t.stateNode.current.memoizedState.isDehydrated) return t.tag === 3 ? t.stateNode.containerInfo : null;
      e = null;
    } else t !== e && (e = null);
    return W0 = e, null;
  }
  a(GC, "Yc");
  function pk(e) {
    switch (e) {
      case "cancel":
      case "click":
      case "close":
      case "contextmenu":
      case "copy":
      case "cut":
      case "auxclick":
      case "dblclick":
      case "dragend":
      case "dragstart":
      case "drop":
      case "focusin":
      case "focusout":
      case "input":
      case "invalid":
      case "keydown":
      case "keypress":
      case "keyup":
      case "mousedown":
      case "mouseup":
      case "paste":
      case "pause":
      case "play":
      case "pointercancel":
      case "pointerdown":
      case "pointerup":
      case "ratechange":
      case "reset":
      case "resize":
      case "seeked":
      case "submit":
      case "touchcancel":
      case "touchend":
      case "touchstart":
      case "volumechange":
      case "change":
      case "selectionchange":
      case "textInput":
      case "compositionstart":
      case "compositionend":
      case "compositionupdate":
      case "beforeblur":
      case "afterblur":
      case "beforeinput":
      case "blur":
      case "fullscreenchange":
      case "focus":
      case "hashchange":
      case "popstate":
      case "select":
      case "selectstart":
        return 1;
      case "drag":
      case "dragenter":
      case "dragexit":
      case "dragleave":
      case "dragover":
      case "mousemove":
      case "mouseout":
      case "mouseover":
      case "pointermove":
      case "pointerout":
      case "pointerover":
      case "scroll":
      case "toggle":
      case "touchmove":
      case "wheel":
      case "mouseenter":
      case "mouseleave":
      case "pointerenter":
      case "pointerleave":
        return 4;
      case "message":
        switch (r0e()) {
          case T_:
            return 1;
          case ok:
            return 4;
          case z0:
          case n0e:
            return 16;
          case ak:
            return 536870912;
          default:
            return 16;
        }
      default:
        return 16;
    }
  }
  a(pk, "jd");
  var Ci = null, M_ = null, I0 = null;
  function mk() {
    if (I0) return I0;
    var e, t = M_, r = t.length, n, o = "value" in Ci ? Ci.value : Ci.textContent, i = o.length;
    for (e = 0; e < r && t[e] === o[e]; e++) ;
    var s = r - e;
    for (n = 1; n <= s && t[r - n] === o[i - n]; n++) ;
    return I0 = o.slice(e, 1 < n ? 1 - n : void 0);
  }
  a(mk, "nd");
  function M0(e) {
    var t = e.keyCode;
    return "charCode" in e ? (e = e.charCode, e === 0 && t === 13 && (e = 13)) : e = t, e === 10 && (e = 13), 32 <= e || e === 13 ? e : 0;
  }
  a(M0, "od");
  function y0() {
    return !0;
  }
  a(y0, "pd");
  function z9() {
    return !1;
  }
  a(z9, "qd");
  function vn(e) {
    function t(r, n, o, i, s) {
      this._reactName = r, this._targetInst = o, this.type = n, this.nativeEvent = i, this.target = s, this.currentTarget = null;
      for (var l in e) e.hasOwnProperty(l) && (r = e[l], this[l] = r ? r(i) : i[l]);
      return this.isDefaultPrevented = (i.defaultPrevented != null ? i.defaultPrevented : i.returnValue === !1) ? y0 : z9, this.isPropagationStopped =
      z9, this;
    }
    return a(t, "b"), pt(t.prototype, { preventDefault: /* @__PURE__ */ a(function() {
      this.defaultPrevented = !0;
      var r = this.nativeEvent;
      r && (r.preventDefault ? r.preventDefault() : typeof r.returnValue != "unknown" && (r.returnValue = !1), this.isDefaultPrevented = y0);
    }, "preventDefault"), stopPropagation: /* @__PURE__ */ a(function() {
      var r = this.nativeEvent;
      r && (r.stopPropagation ? r.stopPropagation() : typeof r.cancelBubble != "unknown" && (r.cancelBubble = !0), this.isPropagationStopped =
      y0);
    }, "stopPropagation"), persist: /* @__PURE__ */ a(function() {
    }, "persist"), isPersistent: y0 }), t;
  }
  a(vn, "rd");
  var Qu = { eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: /* @__PURE__ */ a(function(e) {
    return e.timeStamp || Date.now();
  }, "timeStamp"), defaultPrevented: 0, isTrusted: 0 }, N_ = vn(Qu), tp = pt({}, Qu, { view: 0, detail: 0 }), g0e = vn(tp), fC, pC, bf, dg = pt(
  {}, tp, { screenX: 0, screenY: 0, clientX: 0, clientY: 0, pageX: 0, pageY: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, getModifierState: L_,
  button: 0, buttons: 0, relatedTarget: /* @__PURE__ */ a(function(e) {
    return e.relatedTarget === void 0 ? e.fromElement === e.srcElement ? e.toElement : e.fromElement : e.relatedTarget;
  }, "relatedTarget"), movementX: /* @__PURE__ */ a(function(e) {
    return "movementX" in e ? e.movementX : (e !== bf && (bf && e.type === "mousemove" ? (fC = e.screenX - bf.screenX, pC = e.screenY - bf.screenY) :
    pC = fC = 0, bf = e), fC);
  }, "movementX"), movementY: /* @__PURE__ */ a(function(e) {
    return "movementY" in e ? e.movementY : pC;
  }, "movementY") }), U9 = vn(dg), y0e = pt({}, dg, { dataTransfer: 0 }), v0e = vn(y0e), b0e = pt({}, tp, { relatedTarget: 0 }), mC = vn(b0e),
  w0e = pt({}, Qu, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }), E0e = vn(w0e), R0e = pt({}, Qu, { clipboardData: /* @__PURE__ */ a(
  function(e) {
    return "clipboardData" in e ? e.clipboardData : window.clipboardData;
  }, "clipboardData") }), x0e = vn(R0e), S0e = pt({}, Qu, { data: 0 }), V9 = vn(S0e), C0e = {
    Esc: "Escape",
    Spacebar: " ",
    Left: "ArrowLeft",
    Up: "ArrowUp",
    Right: "ArrowRight",
    Down: "ArrowDown",
    Del: "Delete",
    Win: "OS",
    Menu: "ContextMenu",
    Apps: "ContextMenu",
    Scroll: "ScrollLock",
    MozPrintableKey: "Unidentified"
  }, _0e = {
    8: "Backspace",
    9: "Tab",
    12: "Clear",
    13: "Enter",
    16: "Shift",
    17: "Control",
    18: "Alt",
    19: "Pause",
    20: "CapsLock",
    27: "Escape",
    32: " ",
    33: "PageUp",
    34: "PageDown",
    35: "End",
    36: "Home",
    37: "ArrowLeft",
    38: "ArrowUp",
    39: "ArrowRight",
    40: "ArrowDown",
    45: "Insert",
    46: "Delete",
    112: "F1",
    113: "F2",
    114: "F3",
    115: "F4",
    116: "F5",
    117: "F6",
    118: "F7",
    119: "F8",
    120: "F9",
    121: "F10",
    122: "F11",
    123: "F12",
    144: "NumLock",
    145: "ScrollLock",
    224: "Meta"
  }, P0e = { Alt: "altKey", Control: "ctrlKey", Meta: "metaKey", Shift: "shiftKey" };
  function T0e(e) {
    var t = this.nativeEvent;
    return t.getModifierState ? t.getModifierState(e) : (e = P0e[e]) ? !!t[e] : !1;
  }
  a(T0e, "Pd");
  function L_() {
    return T0e;
  }
  a(L_, "zd");
  var A0e = pt({}, tp, { key: /* @__PURE__ */ a(function(e) {
    if (e.key) {
      var t = C0e[e.key] || e.key;
      if (t !== "Unidentified") return t;
    }
    return e.type === "keypress" ? (e = M0(e), e === 13 ? "Enter" : String.fromCharCode(e)) : e.type === "keydown" || e.type === "keyup" ? _0e[e.
    keyCode] || "Unidentified" : "";
  }, "key"), code: 0, location: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, repeat: 0, locale: 0, getModifierState: L_, charCode: /* @__PURE__ */ a(
  function(e) {
    return e.type === "keypress" ? M0(e) : 0;
  }, "charCode"), keyCode: /* @__PURE__ */ a(function(e) {
    return e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;
  }, "keyCode"), which: /* @__PURE__ */ a(function(e) {
    return e.type === "keypress" ? M0(e) : e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;
  }, "which") }), O0e = vn(A0e), I0e = pt({}, dg, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0,
  twist: 0, pointerType: 0, isPrimary: 0 }), W9 = vn(I0e), M0e = pt({}, tp, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0,
  ctrlKey: 0, shiftKey: 0, getModifierState: L_ }), N0e = vn(M0e), L0e = pt({}, Qu, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }), k0e = vn(
  L0e), q0e = pt({}, dg, {
    deltaX: /* @__PURE__ */ a(function(e) {
      return "deltaX" in e ? e.deltaX : "wheelDeltaX" in e ? -e.wheelDeltaX : 0;
    }, "deltaX"),
    deltaY: /* @__PURE__ */ a(function(e) {
      return "deltaY" in e ? e.deltaY : "wheelDeltaY" in e ? -e.wheelDeltaY : "wheelDelta" in e ? -e.wheelDelta : 0;
    }, "deltaY"),
    deltaZ: 0,
    deltaMode: 0
  }), D0e = vn(q0e), F0e = [9, 13, 27, 32], k_ = Fa && "CompositionEvent" in window, Of = null;
  Fa && "documentMode" in document && (Of = document.documentMode);
  var j0e = Fa && "TextEvent" in window && !Of, hk = Fa && (!k_ || Of && 8 < Of && 11 >= Of), G9 = " ", Y9 = !1;
  function gk(e, t) {
    switch (e) {
      case "keyup":
        return F0e.indexOf(t.keyCode) !== -1;
      case "keydown":
        return t.keyCode !== 229;
      case "keypress":
      case "mousedown":
      case "focusout":
        return !0;
      default:
        return !1;
    }
  }
  a(gk, "ge");
  function yk(e) {
    return e = e.detail, typeof e == "object" && "data" in e ? e.data : null;
  }
  a(yk, "he");
  var Au = !1;
  function B0e(e, t) {
    switch (e) {
      case "compositionend":
        return yk(t);
      case "keypress":
        return t.which !== 32 ? null : (Y9 = !0, G9);
      case "textInput":
        return e = t.data, e === G9 && Y9 ? null : e;
      default:
        return null;
    }
  }
  a(B0e, "je");
  function $0e(e, t) {
    if (Au) return e === "compositionend" || !k_ && gk(e, t) ? (e = mk(), I0 = M_ = Ci = null, Au = !1, e) : null;
    switch (e) {
      case "paste":
        return null;
      case "keypress":
        if (!(t.ctrlKey || t.altKey || t.metaKey) || t.ctrlKey && t.altKey) {
          if (t.char && 1 < t.char.length) return t.char;
          if (t.which) return String.fromCharCode(t.which);
        }
        return null;
      case "compositionend":
        return hk && t.locale !== "ko" ? null : t.data;
      default:
        return null;
    }
  }
  a($0e, "ke");
  var H0e = { color: !0, date: !0, datetime: !0, "datetime-local": !0, email: !0, month: !0, number: !0, password: !0, range: !0, search: !0,
  tel: !0, text: !0, time: !0, url: !0, week: !0 };
  function K9(e) {
    var t = e && e.nodeName && e.nodeName.toLowerCase();
    return t === "input" ? !!H0e[e.type] : t === "textarea";
  }
  a(K9, "me");
  function vk(e, t, r, n) {
    KL(n), t = G0(t, "onChange"), 0 < t.length && (r = new N_("onChange", "change", null, r, n), e.push({ event: r, listeners: t }));
  }
  a(vk, "ne");
  var If = null, zf = null;
  function z0e(e) {
    Ak(e, 0);
  }
  a(z0e, "re");
  function fg(e) {
    var t = Mu(e);
    if (HL(t)) return e;
  }
  a(fg, "te");
  function U0e(e, t) {
    if (e === "change") return t;
  }
  a(U0e, "ve");
  var bk = !1;
  Fa && (Fa ? (b0 = "oninput" in document, b0 || (hC = document.createElement("div"), hC.setAttribute("oninput", "return;"), b0 = typeof hC.
  oninput == "function"), v0 = b0) : v0 = !1, bk = v0 && (!document.documentMode || 9 < document.documentMode));
  var v0, b0, hC;
  function X9() {
    If && (If.detachEvent("onpropertychange", wk), zf = If = null);
  }
  a(X9, "Ae");
  function wk(e) {
    if (e.propertyName === "value" && fg(zf)) {
      var t = [];
      vk(t, zf, e, P_(e)), ZL(z0e, t);
    }
  }
  a(wk, "Be");
  function V0e(e, t, r) {
    e === "focusin" ? (X9(), If = t, zf = r, If.attachEvent("onpropertychange", wk)) : e === "focusout" && X9();
  }
  a(V0e, "Ce");
  function W0e(e) {
    if (e === "selectionchange" || e === "keyup" || e === "keydown") return fg(zf);
  }
  a(W0e, "De");
  function G0e(e, t) {
    if (e === "click") return fg(t);
  }
  a(G0e, "Ee");
  function Y0e(e, t) {
    if (e === "input" || e === "change") return fg(t);
  }
  a(Y0e, "Fe");
  function K0e(e, t) {
    return e === t && (e !== 0 || 1 / e === 1 / t) || e !== e && t !== t;
  }
  a(K0e, "Ge");
  var To = typeof Object.is == "function" ? Object.is : K0e;
  function Uf(e, t) {
    if (To(e, t)) return !0;
    if (typeof e != "object" || e === null || typeof t != "object" || t === null) return !1;
    var r = Object.keys(e), n = Object.keys(t);
    if (r.length !== n.length) return !1;
    for (n = 0; n < r.length; n++) {
      var o = r[n];
      if (!AC.call(t, o) || !To(e[o], t[o])) return !1;
    }
    return !0;
  }
  a(Uf, "Ie");
  function J9(e) {
    for (; e && e.firstChild; ) e = e.firstChild;
    return e;
  }
  a(J9, "Je");
  function Q9(e, t) {
    var r = J9(e);
    e = 0;
    for (var n; r; ) {
      if (r.nodeType === 3) {
        if (n = e + r.textContent.length, e <= t && n >= t) return { node: r, offset: t - e };
        e = n;
      }
      e: {
        for (; r; ) {
          if (r.nextSibling) {
            r = r.nextSibling;
            break e;
          }
          r = r.parentNode;
        }
        r = void 0;
      }
      r = J9(r);
    }
  }
  a(Q9, "Ke");
  function Ek(e, t) {
    return e && t ? e === t ? !0 : e && e.nodeType === 3 ? !1 : t && t.nodeType === 3 ? Ek(e, t.parentNode) : "contains" in e ? e.contains(t) :
    e.compareDocumentPosition ? !!(e.compareDocumentPosition(t) & 16) : !1 : !1;
  }
  a(Ek, "Le");
  function Rk() {
    for (var e = window, t = B0(); t instanceof e.HTMLIFrameElement; ) {
      try {
        var r = typeof t.contentWindow.location.href == "string";
      } catch {
        r = !1;
      }
      if (r) e = t.contentWindow;
      else break;
      t = B0(e.document);
    }
    return t;
  }
  a(Rk, "Me");
  function q_(e) {
    var t = e && e.nodeName && e.nodeName.toLowerCase();
    return t && (t === "input" && (e.type === "text" || e.type === "search" || e.type === "tel" || e.type === "url" || e.type === "password") ||
    t === "textarea" || e.contentEditable === "true");
  }
  a(q_, "Ne");
  function X0e(e) {
    var t = Rk(), r = e.focusedElem, n = e.selectionRange;
    if (t !== r && r && r.ownerDocument && Ek(r.ownerDocument.documentElement, r)) {
      if (n !== null && q_(r)) {
        if (t = n.start, e = n.end, e === void 0 && (e = t), "selectionStart" in r) r.selectionStart = t, r.selectionEnd = Math.min(e, r.value.
        length);
        else if (e = (t = r.ownerDocument || document) && t.defaultView || window, e.getSelection) {
          e = e.getSelection();
          var o = r.textContent.length, i = Math.min(n.start, o);
          n = n.end === void 0 ? i : Math.min(n.end, o), !e.extend && i > n && (o = n, n = i, i = o), o = Q9(r, i);
          var s = Q9(
            r,
            n
          );
          o && s && (e.rangeCount !== 1 || e.anchorNode !== o.node || e.anchorOffset !== o.offset || e.focusNode !== s.node || e.focusOffset !==
          s.offset) && (t = t.createRange(), t.setStart(o.node, o.offset), e.removeAllRanges(), i > n ? (e.addRange(t), e.extend(s.node, s.offset)) :
          (t.setEnd(s.node, s.offset), e.addRange(t)));
        }
      }
      for (t = [], e = r; e = e.parentNode; ) e.nodeType === 1 && t.push({ element: e, left: e.scrollLeft, top: e.scrollTop });
      for (typeof r.focus == "function" && r.focus(), r = 0; r < t.length; r++) e = t[r], e.element.scrollLeft = e.left, e.element.scrollTop =
      e.top;
    }
  }
  a(X0e, "Oe");
  var J0e = Fa && "documentMode" in document && 11 >= document.documentMode, Ou = null, YC = null, Mf = null, KC = !1;
  function Z9(e, t, r) {
    var n = r.window === r ? r.document : r.nodeType === 9 ? r : r.ownerDocument;
    KC || Ou == null || Ou !== B0(n) || (n = Ou, "selectionStart" in n && q_(n) ? n = { start: n.selectionStart, end: n.selectionEnd } : (n =
    (n.ownerDocument && n.ownerDocument.defaultView || window).getSelection(), n = { anchorNode: n.anchorNode, anchorOffset: n.anchorOffset,
    focusNode: n.focusNode, focusOffset: n.focusOffset }), Mf && Uf(Mf, n) || (Mf = n, n = G0(YC, "onSelect"), 0 < n.length && (t = new N_("\
onSelect", "select", null, t, r), e.push({ event: t, listeners: n }), t.target = Ou)));
  }
  a(Z9, "Ue");
  function w0(e, t) {
    var r = {};
    return r[e.toLowerCase()] = t.toLowerCase(), r["Webkit" + e] = "webkit" + t, r["Moz" + e] = "moz" + t, r;
  }
  a(w0, "Ve");
  var Iu = { animationend: w0("Animation", "AnimationEnd"), animationiteration: w0("Animation", "AnimationIteration"), animationstart: w0("A\
nimation", "AnimationStart"), transitionend: w0("Transition", "TransitionEnd") }, gC = {}, xk = {};
  Fa && (xk = document.createElement("div").style, "AnimationEvent" in window || (delete Iu.animationend.animation, delete Iu.animationiteration.
  animation, delete Iu.animationstart.animation), "TransitionEvent" in window || delete Iu.transitionend.transition);
  function pg(e) {
    if (gC[e]) return gC[e];
    if (!Iu[e]) return e;
    var t = Iu[e], r;
    for (r in t) if (t.hasOwnProperty(r) && r in xk) return gC[e] = t[r];
    return e;
  }
  a(pg, "Ze");
  var Sk = pg("animationend"), Ck = pg("animationiteration"), _k = pg("animationstart"), Pk = pg("transitionend"), Tk = /* @__PURE__ */ new Map(),
  eL = "abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dra\
gStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetada\
ta loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMov\
e pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd to\
uchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");
  function Di(e, t) {
    Tk.set(e, t), sl(t, [e]);
  }
  a(Di, "ff");
  for (E0 = 0; E0 < eL.length; E0++)
    R0 = eL[E0], tL = R0.toLowerCase(), rL = R0[0].toUpperCase() + R0.slice(1), Di(tL, "on" + rL);
  var R0, tL, rL, E0;
  Di(Sk, "onAnimationEnd");
  Di(Ck, "onAnimationIteration");
  Di(_k, "onAnimationStart");
  Di("dblclick", "onDoubleClick");
  Di("focusin", "onFocus");
  Di("focusout", "onBlur");
  Di(Pk, "onTransitionEnd");
  Vu("onMouseEnter", ["mouseout", "mouseover"]);
  Vu("onMouseLeave", ["mouseout", "mouseover"]);
  Vu("onPointerEnter", ["pointerout", "pointerover"]);
  Vu("onPointerLeave", ["pointerout", "pointerover"]);
  sl("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" "));
  sl("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));
  sl("onBeforeInput", ["compositionend", "keypress", "textInput", "paste"]);
  sl("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" "));
  sl("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" "));
  sl("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" "));
  var Pf = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing\
 progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "), Q0e = new Set("cancel close invalid \
load scroll toggle".split(" ").concat(Pf));
  function nL(e, t, r) {
    var n = e.type || "unknown-event";
    e.currentTarget = r, Qhe(n, t, void 0, e), e.currentTarget = null;
  }
  a(nL, "nf");
  function Ak(e, t) {
    t = (t & 4) !== 0;
    for (var r = 0; r < e.length; r++) {
      var n = e[r], o = n.event;
      n = n.listeners;
      e: {
        var i = void 0;
        if (t) for (var s = n.length - 1; 0 <= s; s--) {
          var l = n[s], u = l.instance, c = l.currentTarget;
          if (l = l.listener, u !== i && o.isPropagationStopped()) break e;
          nL(o, l, c), i = u;
        }
        else for (s = 0; s < n.length; s++) {
          if (l = n[s], u = l.instance, c = l.currentTarget, l = l.listener, u !== i && o.isPropagationStopped()) break e;
          nL(o, l, c), i = u;
        }
      }
    }
    if (H0) throw e = UC, H0 = !1, UC = null, e;
  }
  a(Ak, "se");
  function Qe(e, t) {
    var r = t[e_];
    r === void 0 && (r = t[e_] = /* @__PURE__ */ new Set());
    var n = e + "__bubble";
    r.has(n) || (Ok(t, e, 2, !1), r.add(n));
  }
  a(Qe, "D");
  function yC(e, t, r) {
    var n = 0;
    t && (n |= 4), Ok(r, e, n, t);
  }
  a(yC, "qf");
  var x0 = "_reactListening" + Math.random().toString(36).slice(2);
  function Vf(e) {
    if (!e[x0]) {
      e[x0] = !0, DL.forEach(function(r) {
        r !== "selectionchange" && (Q0e.has(r) || yC(r, !1, e), yC(r, !0, e));
      });
      var t = e.nodeType === 9 ? e : e.ownerDocument;
      t === null || t[x0] || (t[x0] = !0, yC("selectionchange", !1, t));
    }
  }
  a(Vf, "sf");
  function Ok(e, t, r, n) {
    switch (pk(t)) {
      case 1:
        var o = m0e;
        break;
      case 4:
        o = h0e;
        break;
      default:
        o = I_;
    }
    r = o.bind(null, t, r, e), o = void 0, !zC || t !== "touchstart" && t !== "touchmove" && t !== "wheel" || (o = !0), n ? o !== void 0 ? e.
    addEventListener(t, r, { capture: !0, passive: o }) : e.addEventListener(t, r, !0) : o !== void 0 ? e.addEventListener(t, r, { passive: o }) :
    e.addEventListener(t, r, !1);
  }
  a(Ok, "pf");
  function vC(e, t, r, n, o) {
    var i = n;
    if ((t & 1) === 0 && (t & 2) === 0 && n !== null) e: for (; ; ) {
      if (n === null) return;
      var s = n.tag;
      if (s === 3 || s === 4) {
        var l = n.stateNode.containerInfo;
        if (l === o || l.nodeType === 8 && l.parentNode === o) break;
        if (s === 4) for (s = n.return; s !== null; ) {
          var u = s.tag;
          if ((u === 3 || u === 4) && (u = s.stateNode.containerInfo, u === o || u.nodeType === 8 && u.parentNode === o)) return;
          s = s.return;
        }
        for (; l !== null; ) {
          if (s = Js(l), s === null) return;
          if (u = s.tag, u === 5 || u === 6) {
            n = i = s;
            continue e;
          }
          l = l.parentNode;
        }
      }
      n = n.return;
    }
    ZL(function() {
      var c = i, d = P_(r), f = [];
      e: {
        var p = Tk.get(e);
        if (p !== void 0) {
          var m = N_, v = e;
          switch (e) {
            case "keypress":
              if (M0(r) === 0) break e;
            case "keydown":
            case "keyup":
              m = O0e;
              break;
            case "focusin":
              v = "focus", m = mC;
              break;
            case "focusout":
              v = "blur", m = mC;
              break;
            case "beforeblur":
            case "afterblur":
              m = mC;
              break;
            case "click":
              if (r.button === 2) break e;
            case "auxclick":
            case "dblclick":
            case "mousedown":
            case "mousemove":
            case "mouseup":
            case "mouseout":
            case "mouseover":
            case "contextmenu":
              m = U9;
              break;
            case "drag":
            case "dragend":
            case "dragenter":
            case "dragexit":
            case "dragleave":
            case "dragover":
            case "dragstart":
            case "drop":
              m = v0e;
              break;
            case "touchcancel":
            case "touchend":
            case "touchmove":
            case "touchstart":
              m = N0e;
              break;
            case Sk:
            case Ck:
            case _k:
              m = E0e;
              break;
            case Pk:
              m = k0e;
              break;
            case "scroll":
              m = g0e;
              break;
            case "wheel":
              m = D0e;
              break;
            case "copy":
            case "cut":
            case "paste":
              m = x0e;
              break;
            case "gotpointercapture":
            case "lostpointercapture":
            case "pointercancel":
            case "pointerdown":
            case "pointermove":
            case "pointerout":
            case "pointerover":
            case "pointerup":
              m = W9;
          }
          var y = (t & 4) !== 0, b = !y && e === "scroll", g = y ? p !== null ? p + "Capture" : null : p;
          y = [];
          for (var w = c, E; w !== null; ) {
            E = w;
            var x = E.stateNode;
            if (E.tag === 5 && x !== null && (E = x, g !== null && (x = jf(w, g), x != null && y.push(Wf(w, x, E)))), b) break;
            w = w.return;
          }
          0 < y.length && (p = new m(p, v, null, r, d), f.push({ event: p, listeners: y }));
        }
      }
      if ((t & 7) === 0) {
        e: {
          if (p = e === "mouseover" || e === "pointerover", m = e === "mouseout" || e === "pointerout", p && r !== $C && (v = r.relatedTarget ||
          r.fromElement) && (Js(v) || v[ja])) break e;
          if ((m || p) && (p = d.window === d ? d : (p = d.ownerDocument) ? p.defaultView || p.parentWindow : window, m ? (v = r.relatedTarget ||
          r.toElement, m = c, v = v ? Js(v) : null, v !== null && (b = ll(v), v !== b || v.tag !== 5 && v.tag !== 6) && (v = null)) : (m = null,
          v = c), m !== v)) {
            if (y = U9, x = "onMouseLeave", g = "onMouseEnter", w = "mouse", (e === "pointerout" || e === "pointerover") && (y = W9, x = "on\
PointerLeave", g = "onPointerEnter", w = "pointer"), b = m == null ? p : Mu(m), E = v == null ? p : Mu(v), p = new y(x, w + "leave", m, r, d),
            p.target = b, p.relatedTarget = E, x = null, Js(d) === c && (y = new y(g, w + "enter", v, r, d), y.target = E, y.relatedTarget =
            b, x = y), b = x, m && v) t: {
              for (y = m, g = v, w = 0, E = y; E; E = _u(E)) w++;
              for (E = 0, x = g; x; x = _u(x)) E++;
              for (; 0 < w - E; ) y = _u(y), w--;
              for (; 0 < E - w; ) g = _u(g), E--;
              for (; w--; ) {
                if (y === g || g !== null && y === g.alternate) break t;
                y = _u(y), g = _u(g);
              }
              y = null;
            }
            else y = null;
            m !== null && oL(f, p, m, y, !1), v !== null && b !== null && oL(f, b, v, y, !0);
          }
        }
        e: {
          if (p = c ? Mu(c) : window, m = p.nodeName && p.nodeName.toLowerCase(), m === "select" || m === "input" && p.type === "file") var S = U0e;
          else if (K9(p)) if (bk) S = Y0e;
          else {
            S = W0e;
            var C = V0e;
          }
          else (m = p.nodeName) && m.toLowerCase() === "input" && (p.type === "checkbox" || p.type === "radio") && (S = G0e);
          if (S && (S = S(e, c))) {
            vk(f, S, r, d);
            break e;
          }
          C && C(e, p, c), e === "focusout" && (C = p._wrapperState) && C.controlled && p.type === "number" && qC(p, "number", p.value);
        }
        switch (C = c ? Mu(c) : window, e) {
          case "focusin":
            (K9(C) || C.contentEditable === "true") && (Ou = C, YC = c, Mf = null);
            break;
          case "focusout":
            Mf = YC = Ou = null;
            break;
          case "mousedown":
            KC = !0;
            break;
          case "contextmenu":
          case "mouseup":
          case "dragend":
            KC = !1, Z9(f, r, d);
            break;
          case "selectionchange":
            if (J0e) break;
          case "keydown":
          case "keyup":
            Z9(f, r, d);
        }
        var _;
        if (k_) e: {
          switch (e) {
            case "compositionstart":
              var A = "onCompositionStart";
              break e;
            case "compositionend":
              A = "onCompositionEnd";
              break e;
            case "compositionupdate":
              A = "onCompositionUpdate";
              break e;
          }
          A = void 0;
        }
        else Au ? gk(e, r) && (A = "onCompositionEnd") : e === "keydown" && r.keyCode === 229 && (A = "onCompositionStart");
        A && (hk && r.locale !== "ko" && (Au || A !== "onCompositionStart" ? A === "onCompositionEnd" && Au && (_ = mk()) : (Ci = d, M_ = "v\
alue" in Ci ? Ci.value : Ci.textContent, Au = !0)), C = G0(c, A), 0 < C.length && (A = new V9(A, e, null, r, d), f.push({ event: A, listeners: C }),
        _ ? A.data = _ : (_ = yk(r), _ !== null && (A.data = _)))), (_ = j0e ? B0e(e, r) : $0e(e, r)) && (c = G0(c, "onBeforeInput"), 0 < c.
        length && (d = new V9("onBeforeInput", "beforeinput", null, r, d), f.push({ event: d, listeners: c }), d.data = _));
      }
      Ak(f, t);
    });
  }
  a(vC, "hd");
  function Wf(e, t, r) {
    return { instance: e, listener: t, currentTarget: r };
  }
  a(Wf, "tf");
  function G0(e, t) {
    for (var r = t + "Capture", n = []; e !== null; ) {
      var o = e, i = o.stateNode;
      o.tag === 5 && i !== null && (o = i, i = jf(e, r), i != null && n.unshift(Wf(e, i, o)), i = jf(e, t), i != null && n.push(Wf(e, i, o))),
      e = e.return;
    }
    return n;
  }
  a(G0, "oe");
  function _u(e) {
    if (e === null) return null;
    do
      e = e.return;
    while (e && e.tag !== 5);
    return e || null;
  }
  a(_u, "vf");
  function oL(e, t, r, n, o) {
    for (var i = t._reactName, s = []; r !== null && r !== n; ) {
      var l = r, u = l.alternate, c = l.stateNode;
      if (u !== null && u === n) break;
      l.tag === 5 && c !== null && (l = c, o ? (u = jf(r, i), u != null && s.unshift(Wf(r, u, l))) : o || (u = jf(r, i), u != null && s.push(
      Wf(r, u, l)))), r = r.return;
    }
    s.length !== 0 && e.push({ event: t, listeners: s });
  }
  a(oL, "wf");
  var Z0e = /\r\n?/g, ege = /\u0000|\uFFFD/g;
  function aL(e) {
    return (typeof e == "string" ? e : "" + e).replace(Z0e, `
`).replace(ege, "");
  }
  a(aL, "zf");
  function S0(e, t, r) {
    if (t = aL(t), aL(e) !== t && r) throw Error(W(425));
  }
  a(S0, "Af");
  function Y0() {
  }
  a(Y0, "Bf");
  var XC = null, JC = null;
  function QC(e, t) {
    return e === "textarea" || e === "noscript" || typeof t.children == "string" || typeof t.children == "number" || typeof t.dangerouslySetInnerHTML ==
    "object" && t.dangerouslySetInnerHTML !== null && t.dangerouslySetInnerHTML.__html != null;
  }
  a(QC, "Ef");
  var ZC = typeof setTimeout == "function" ? setTimeout : void 0, tge = typeof clearTimeout == "function" ? clearTimeout : void 0, iL = typeof Promise ==
  "function" ? Promise : void 0, rge = typeof queueMicrotask == "function" ? queueMicrotask : typeof iL < "u" ? function(e) {
    return iL.resolve(null).then(e).catch(nge);
  } : ZC;
  function nge(e) {
    setTimeout(function() {
      throw e;
    });
  }
  a(nge, "If");
  function bC(e, t) {
    var r = t, n = 0;
    do {
      var o = r.nextSibling;
      if (e.removeChild(r), o && o.nodeType === 8) if (r = o.data, r === "/$") {
        if (n === 0) {
          e.removeChild(o), Hf(t);
          return;
        }
        n--;
      } else r !== "$" && r !== "$?" && r !== "$!" || n++;
      r = o;
    } while (r);
    Hf(t);
  }
  a(bC, "Kf");
  function Oi(e) {
    for (; e != null; e = e.nextSibling) {
      var t = e.nodeType;
      if (t === 1 || t === 3) break;
      if (t === 8) {
        if (t = e.data, t === "$" || t === "$!" || t === "$?") break;
        if (t === "/$") return null;
      }
    }
    return e;
  }
  a(Oi, "Lf");
  function sL(e) {
    e = e.previousSibling;
    for (var t = 0; e; ) {
      if (e.nodeType === 8) {
        var r = e.data;
        if (r === "$" || r === "$!" || r === "$?") {
          if (t === 0) return e;
          t--;
        } else r === "/$" && t++;
      }
      e = e.previousSibling;
    }
    return null;
  }
  a(sL, "Mf");
  var Zu = Math.random().toString(36).slice(2), la = "__reactFiber$" + Zu, Gf = "__reactProps$" + Zu, ja = "__reactContainer$" + Zu, e_ = "_\
_reactEvents$" + Zu, oge = "__reactListeners$" + Zu, age = "__reactHandles$" + Zu;
  function Js(e) {
    var t = e[la];
    if (t) return t;
    for (var r = e.parentNode; r; ) {
      if (t = r[ja] || r[la]) {
        if (r = t.alternate, t.child !== null || r !== null && r.child !== null) for (e = sL(e); e !== null; ) {
          if (r = e[la]) return r;
          e = sL(e);
        }
        return t;
      }
      e = r, r = e.parentNode;
    }
    return null;
  }
  a(Js, "Wc");
  function rp(e) {
    return e = e[la] || e[ja], !e || e.tag !== 5 && e.tag !== 6 && e.tag !== 13 && e.tag !== 3 ? null : e;
  }
  a(rp, "Cb");
  function Mu(e) {
    if (e.tag === 5 || e.tag === 6) return e.stateNode;
    throw Error(W(33));
  }
  a(Mu, "ue");
  function mg(e) {
    return e[Gf] || null;
  }
  a(mg, "Db");
  var t_ = [], Nu = -1;
  function Fi(e) {
    return { current: e };
  }
  a(Fi, "Uf");
  function Ze(e) {
    0 > Nu || (e.current = t_[Nu], t_[Nu] = null, Nu--);
  }
  a(Ze, "E");
  function Ye(e, t) {
    Nu++, t_[Nu] = e.current, e.current = t;
  }
  a(Ye, "G");
  var qi = {}, xr = Fi(qi), Jr = Fi(!1), rl = qi;
  function Wu(e, t) {
    var r = e.type.contextTypes;
    if (!r) return qi;
    var n = e.stateNode;
    if (n && n.__reactInternalMemoizedUnmaskedChildContext === t) return n.__reactInternalMemoizedMaskedChildContext;
    var o = {}, i;
    for (i in r) o[i] = t[i];
    return n && (e = e.stateNode, e.__reactInternalMemoizedUnmaskedChildContext = t, e.__reactInternalMemoizedMaskedChildContext = o), o;
  }
  a(Wu, "Yf");
  function Qr(e) {
    return e = e.childContextTypes, e != null;
  }
  a(Qr, "Zf");
  function K0() {
    Ze(Jr), Ze(xr);
  }
  a(K0, "$f");
  function lL(e, t, r) {
    if (xr.current !== qi) throw Error(W(168));
    Ye(xr, t), Ye(Jr, r);
  }
  a(lL, "ag");
  function Ik(e, t, r) {
    var n = e.stateNode;
    if (t = t.childContextTypes, typeof n.getChildContext != "function") return r;
    n = n.getChildContext();
    for (var o in n) if (!(o in t)) throw Error(W(108, Vhe(e) || "Unknown", o));
    return pt({}, r, n);
  }
  a(Ik, "bg");
  function X0(e) {
    return e = (e = e.stateNode) && e.__reactInternalMemoizedMergedChildContext || qi, rl = xr.current, Ye(xr, e), Ye(Jr, Jr.current), !0;
  }
  a(X0, "cg");
  function uL(e, t, r) {
    var n = e.stateNode;
    if (!n) throw Error(W(169));
    r ? (e = Ik(e, t, rl), n.__reactInternalMemoizedMergedChildContext = e, Ze(Jr), Ze(xr), Ye(xr, e)) : Ze(Jr), Ye(Jr, r);
  }
  a(uL, "dg");
  var La = null, hg = !1, wC = !1;
  function Mk(e) {
    La === null ? La = [e] : La.push(e);
  }
  a(Mk, "hg");
  function ige(e) {
    hg = !0, Mk(e);
  }
  a(ige, "ig");
  function ji() {
    if (!wC && La !== null) {
      wC = !0;
      var e = 0, t = Fe;
      try {
        var r = La;
        for (Fe = 1; e < r.length; e++) {
          var n = r[e];
          do
            n = n(!0);
          while (n !== null);
        }
        La = null, hg = !1;
      } catch (o) {
        throw La !== null && (La = La.slice(e + 1)), nk(T_, ji), o;
      } finally {
        Fe = t, wC = !1;
      }
    }
    return null;
  }
  a(ji, "jg");
  var Lu = [], ku = 0, J0 = null, Q0 = 0, qn = [], Dn = 0, nl = null, ka = 1, qa = "";
  function Ks(e, t) {
    Lu[ku++] = Q0, Lu[ku++] = J0, J0 = e, Q0 = t;
  }
  a(Ks, "tg");
  function Nk(e, t, r) {
    qn[Dn++] = ka, qn[Dn++] = qa, qn[Dn++] = nl, nl = e;
    var n = ka;
    e = qa;
    var o = 32 - _o(n) - 1;
    n &= ~(1 << o), r += 1;
    var i = 32 - _o(t) + o;
    if (30 < i) {
      var s = o - o % 5;
      i = (n & (1 << s) - 1).toString(32), n >>= s, o -= s, ka = 1 << 32 - _o(t) + o | r << o | n, qa = i + e;
    } else ka = 1 << i | r << o | n, qa = e;
  }
  a(Nk, "ug");
  function D_(e) {
    e.return !== null && (Ks(e, 1), Nk(e, 1, 0));
  }
  a(D_, "vg");
  function F_(e) {
    for (; e === J0; ) J0 = Lu[--ku], Lu[ku] = null, Q0 = Lu[--ku], Lu[ku] = null;
    for (; e === nl; ) nl = qn[--Dn], qn[Dn] = null, qa = qn[--Dn], qn[Dn] = null, ka = qn[--Dn], qn[Dn] = null;
  }
  a(F_, "wg");
  var gn = null, hn = null, lt = !1, Co = null;
  function Lk(e, t) {
    var r = Fn(5, null, null, 0);
    r.elementType = "DELETED", r.stateNode = t, r.return = e, t = e.deletions, t === null ? (e.deletions = [r], e.flags |= 16) : t.push(r);
  }
  a(Lk, "Ag");
  function cL(e, t) {
    switch (e.tag) {
      case 5:
        var r = e.type;
        return t = t.nodeType !== 1 || r.toLowerCase() !== t.nodeName.toLowerCase() ? null : t, t !== null ? (e.stateNode = t, gn = e, hn = Oi(
        t.firstChild), !0) : !1;
      case 6:
        return t = e.pendingProps === "" || t.nodeType !== 3 ? null : t, t !== null ? (e.stateNode = t, gn = e, hn = null, !0) : !1;
      case 13:
        return t = t.nodeType !== 8 ? null : t, t !== null ? (r = nl !== null ? { id: ka, overflow: qa } : null, e.memoizedState = { dehydrated: t,
        treeContext: r, retryLane: 1073741824 }, r = Fn(18, null, null, 0), r.stateNode = t, r.return = e, e.child = r, gn = e, hn = null, !0) :
        !1;
      default:
        return !1;
    }
  }
  a(cL, "Cg");
  function r_(e) {
    return (e.mode & 1) !== 0 && (e.flags & 128) === 0;
  }
  a(r_, "Dg");
  function n_(e) {
    if (lt) {
      var t = hn;
      if (t) {
        var r = t;
        if (!cL(e, t)) {
          if (r_(e)) throw Error(W(418));
          t = Oi(r.nextSibling);
          var n = gn;
          t && cL(e, t) ? Lk(n, r) : (e.flags = e.flags & -4097 | 2, lt = !1, gn = e);
        }
      } else {
        if (r_(e)) throw Error(W(418));
        e.flags = e.flags & -4097 | 2, lt = !1, gn = e;
      }
    }
  }
  a(n_, "Eg");
  function dL(e) {
    for (e = e.return; e !== null && e.tag !== 5 && e.tag !== 3 && e.tag !== 13; ) e = e.return;
    gn = e;
  }
  a(dL, "Fg");
  function C0(e) {
    if (e !== gn) return !1;
    if (!lt) return dL(e), lt = !0, !1;
    var t;
    if ((t = e.tag !== 3) && !(t = e.tag !== 5) && (t = e.type, t = t !== "head" && t !== "body" && !QC(e.type, e.memoizedProps)), t && (t =
    hn)) {
      if (r_(e)) throw kk(), Error(W(418));
      for (; t; ) Lk(e, t), t = Oi(t.nextSibling);
    }
    if (dL(e), e.tag === 13) {
      if (e = e.memoizedState, e = e !== null ? e.dehydrated : null, !e) throw Error(W(317));
      e: {
        for (e = e.nextSibling, t = 0; e; ) {
          if (e.nodeType === 8) {
            var r = e.data;
            if (r === "/$") {
              if (t === 0) {
                hn = Oi(e.nextSibling);
                break e;
              }
              t--;
            } else r !== "$" && r !== "$!" && r !== "$?" || t++;
          }
          e = e.nextSibling;
        }
        hn = null;
      }
    } else hn = gn ? Oi(e.stateNode.nextSibling) : null;
    return !0;
  }
  a(C0, "Gg");
  function kk() {
    for (var e = hn; e; ) e = Oi(e.nextSibling);
  }
  a(kk, "Hg");
  function Gu() {
    hn = gn = null, lt = !1;
  }
  a(Gu, "Ig");
  function j_(e) {
    Co === null ? Co = [e] : Co.push(e);
  }
  a(j_, "Jg");
  var sge = Ha.ReactCurrentBatchConfig;
  function wf(e, t, r) {
    if (e = r.ref, e !== null && typeof e != "function" && typeof e != "object") {
      if (r._owner) {
        if (r = r._owner, r) {
          if (r.tag !== 1) throw Error(W(309));
          var n = r.stateNode;
        }
        if (!n) throw Error(W(147, e));
        var o = n, i = "" + e;
        return t !== null && t.ref !== null && typeof t.ref == "function" && t.ref._stringRef === i ? t.ref : (t = /* @__PURE__ */ a(function(s) {
          var l = o.refs;
          s === null ? delete l[i] : l[i] = s;
        }, "b"), t._stringRef = i, t);
      }
      if (typeof e != "string") throw Error(W(284));
      if (!r._owner) throw Error(W(290, e));
    }
    return e;
  }
  a(wf, "Lg");
  function _0(e, t) {
    throw e = Object.prototype.toString.call(t), Error(W(31, e === "[object Object]" ? "object with keys {" + Object.keys(t).join(", ") + "}" :
    e));
  }
  a(_0, "Mg");
  function fL(e) {
    var t = e._init;
    return t(e._payload);
  }
  a(fL, "Ng");
  function qk(e) {
    function t(g, w) {
      if (e) {
        var E = g.deletions;
        E === null ? (g.deletions = [w], g.flags |= 16) : E.push(w);
      }
    }
    a(t, "b");
    function r(g, w) {
      if (!e) return null;
      for (; w !== null; ) t(g, w), w = w.sibling;
      return null;
    }
    a(r, "c");
    function n(g, w) {
      for (g = /* @__PURE__ */ new Map(); w !== null; ) w.key !== null ? g.set(w.key, w) : g.set(w.index, w), w = w.sibling;
      return g;
    }
    a(n, "d");
    function o(g, w) {
      return g = Li(g, w), g.index = 0, g.sibling = null, g;
    }
    a(o, "e");
    function i(g, w, E) {
      return g.index = E, e ? (E = g.alternate, E !== null ? (E = E.index, E < w ? (g.flags |= 2, w) : E) : (g.flags |= 2, w)) : (g.flags |=
      1048576, w);
    }
    a(i, "f");
    function s(g) {
      return e && g.alternate === null && (g.flags |= 2), g;
    }
    a(s, "g");
    function l(g, w, E, x) {
      return w === null || w.tag !== 6 ? (w = PC(E, g.mode, x), w.return = g, w) : (w = o(w, E), w.return = g, w);
    }
    a(l, "h");
    function u(g, w, E, x) {
      var S = E.type;
      return S === Tu ? d(g, w, E.props.children, x, E.key) : w !== null && (w.elementType === S || typeof S == "object" && S !== null && S.
      $$typeof === Ei && fL(S) === w.type) ? (x = o(w, E.props), x.ref = wf(g, w, E), x.return = g, x) : (x = j0(E.type, E.key, E.props, null,
      g.mode, x), x.ref = wf(g, w, E), x.return = g, x);
    }
    a(u, "k");
    function c(g, w, E, x) {
      return w === null || w.tag !== 4 || w.stateNode.containerInfo !== E.containerInfo || w.stateNode.implementation !== E.implementation ?
      (w = TC(E, g.mode, x), w.return = g, w) : (w = o(w, E.children || []), w.return = g, w);
    }
    a(c, "l");
    function d(g, w, E, x, S) {
      return w === null || w.tag !== 7 ? (w = tl(E, g.mode, x, S), w.return = g, w) : (w = o(w, E), w.return = g, w);
    }
    a(d, "m");
    function f(g, w, E) {
      if (typeof w == "string" && w !== "" || typeof w == "number") return w = PC("" + w, g.mode, E), w.return = g, w;
      if (typeof w == "object" && w !== null) {
        switch (w.$$typeof) {
          case d0:
            return E = j0(w.type, w.key, w.props, null, g.mode, E), E.ref = wf(g, null, w), E.return = g, E;
          case Pu:
            return w = TC(w, g.mode, E), w.return = g, w;
          case Ei:
            var x = w._init;
            return f(g, x(w._payload), E);
        }
        if (Cf(w) || gf(w)) return w = tl(w, g.mode, E, null), w.return = g, w;
        _0(g, w);
      }
      return null;
    }
    a(f, "q");
    function p(g, w, E, x) {
      var S = w !== null ? w.key : null;
      if (typeof E == "string" && E !== "" || typeof E == "number") return S !== null ? null : l(g, w, "" + E, x);
      if (typeof E == "object" && E !== null) {
        switch (E.$$typeof) {
          case d0:
            return E.key === S ? u(g, w, E, x) : null;
          case Pu:
            return E.key === S ? c(g, w, E, x) : null;
          case Ei:
            return S = E._init, p(
              g,
              w,
              S(E._payload),
              x
            );
        }
        if (Cf(E) || gf(E)) return S !== null ? null : d(g, w, E, x, null);
        _0(g, E);
      }
      return null;
    }
    a(p, "r");
    function m(g, w, E, x, S) {
      if (typeof x == "string" && x !== "" || typeof x == "number") return g = g.get(E) || null, l(w, g, "" + x, S);
      if (typeof x == "object" && x !== null) {
        switch (x.$$typeof) {
          case d0:
            return g = g.get(x.key === null ? E : x.key) || null, u(w, g, x, S);
          case Pu:
            return g = g.get(x.key === null ? E : x.key) || null, c(w, g, x, S);
          case Ei:
            var C = x._init;
            return m(g, w, E, C(x._payload), S);
        }
        if (Cf(x) || gf(x)) return g = g.get(E) || null, d(w, g, x, S, null);
        _0(w, x);
      }
      return null;
    }
    a(m, "y");
    function v(g, w, E, x) {
      for (var S = null, C = null, _ = w, A = w = 0, O = null; _ !== null && A < E.length; A++) {
        _.index > A ? (O = _, _ = null) : O = _.sibling;
        var q = p(g, _, E[A], x);
        if (q === null) {
          _ === null && (_ = O);
          break;
        }
        e && _ && q.alternate === null && t(g, _), w = i(q, w, A), C === null ? S = q : C.sibling = q, C = q, _ = O;
      }
      if (A === E.length) return r(g, _), lt && Ks(g, A), S;
      if (_ === null) {
        for (; A < E.length; A++) _ = f(g, E[A], x), _ !== null && (w = i(_, w, A), C === null ? S = _ : C.sibling = _, C = _);
        return lt && Ks(g, A), S;
      }
      for (_ = n(g, _); A < E.length; A++) O = m(_, g, A, E[A], x), O !== null && (e && O.alternate !== null && _.delete(O.key === null ? A :
      O.key), w = i(O, w, A), C === null ? S = O : C.sibling = O, C = O);
      return e && _.forEach(function(M) {
        return t(g, M);
      }), lt && Ks(g, A), S;
    }
    a(v, "n");
    function y(g, w, E, x) {
      var S = gf(E);
      if (typeof S != "function") throw Error(W(150));
      if (E = S.call(E), E == null) throw Error(W(151));
      for (var C = S = null, _ = w, A = w = 0, O = null, q = E.next(); _ !== null && !q.done; A++, q = E.next()) {
        _.index > A ? (O = _, _ = null) : O = _.sibling;
        var M = p(g, _, q.value, x);
        if (M === null) {
          _ === null && (_ = O);
          break;
        }
        e && _ && M.alternate === null && t(g, _), w = i(M, w, A), C === null ? S = M : C.sibling = M, C = M, _ = O;
      }
      if (q.done) return r(
        g,
        _
      ), lt && Ks(g, A), S;
      if (_ === null) {
        for (; !q.done; A++, q = E.next()) q = f(g, q.value, x), q !== null && (w = i(q, w, A), C === null ? S = q : C.sibling = q, C = q);
        return lt && Ks(g, A), S;
      }
      for (_ = n(g, _); !q.done; A++, q = E.next()) q = m(_, g, A, q.value, x), q !== null && (e && q.alternate !== null && _.delete(q.key ===
      null ? A : q.key), w = i(q, w, A), C === null ? S = q : C.sibling = q, C = q);
      return e && _.forEach(function(U) {
        return t(g, U);
      }), lt && Ks(g, A), S;
    }
    a(y, "t");
    function b(g, w, E, x) {
      if (typeof E == "object" && E !== null && E.type === Tu && E.key === null && (E = E.props.children), typeof E == "object" && E !== null) {
        switch (E.$$typeof) {
          case d0:
            e: {
              for (var S = E.key, C = w; C !== null; ) {
                if (C.key === S) {
                  if (S = E.type, S === Tu) {
                    if (C.tag === 7) {
                      r(g, C.sibling), w = o(C, E.props.children), w.return = g, g = w;
                      break e;
                    }
                  } else if (C.elementType === S || typeof S == "object" && S !== null && S.$$typeof === Ei && fL(S) === C.type) {
                    r(g, C.sibling), w = o(C, E.props), w.ref = wf(g, C, E), w.return = g, g = w;
                    break e;
                  }
                  r(g, C);
                  break;
                } else t(g, C);
                C = C.sibling;
              }
              E.type === Tu ? (w = tl(E.props.children, g.mode, x, E.key), w.return = g, g = w) : (x = j0(E.type, E.key, E.props, null, g.mode,
              x), x.ref = wf(g, w, E), x.return = g, g = x);
            }
            return s(g);
          case Pu:
            e: {
              for (C = E.key; w !== null; ) {
                if (w.key === C) if (w.tag === 4 && w.stateNode.containerInfo === E.containerInfo && w.stateNode.implementation === E.implementation) {
                  r(g, w.sibling), w = o(w, E.children || []), w.return = g, g = w;
                  break e;
                } else {
                  r(g, w);
                  break;
                }
                else t(g, w);
                w = w.sibling;
              }
              w = TC(E, g.mode, x), w.return = g, g = w;
            }
            return s(g);
          case Ei:
            return C = E._init, b(g, w, C(E._payload), x);
        }
        if (Cf(E)) return v(g, w, E, x);
        if (gf(E)) return y(g, w, E, x);
        _0(g, E);
      }
      return typeof E == "string" && E !== "" || typeof E == "number" ? (E = "" + E, w !== null && w.tag === 6 ? (r(g, w.sibling), w = o(w, E),
      w.return = g, g = w) : (r(g, w), w = PC(E, g.mode, x), w.return = g, g = w), s(g)) : r(g, w);
    }
    return a(b, "J"), b;
  }
  a(qk, "Og");
  var Yu = qk(!0), Dk = qk(!1), Z0 = Fi(null), eg = null, qu = null, B_ = null;
  function $_() {
    B_ = qu = eg = null;
  }
  a($_, "$g");
  function H_(e) {
    var t = Z0.current;
    Ze(Z0), e._currentValue = t;
  }
  a(H_, "ah");
  function o_(e, t, r) {
    for (; e !== null; ) {
      var n = e.alternate;
      if ((e.childLanes & t) !== t ? (e.childLanes |= t, n !== null && (n.childLanes |= t)) : n !== null && (n.childLanes & t) !== t && (n.childLanes |=
      t), e === r) break;
      e = e.return;
    }
  }
  a(o_, "bh");
  function zu(e, t) {
    eg = e, B_ = qu = null, e = e.dependencies, e !== null && e.firstContext !== null && ((e.lanes & t) !== 0 && (Xr = !0), e.firstContext =
    null);
  }
  a(zu, "ch");
  function Bn(e) {
    var t = e._currentValue;
    if (B_ !== e) if (e = { context: e, memoizedValue: t, next: null }, qu === null) {
      if (eg === null) throw Error(W(308));
      qu = e, eg.dependencies = { lanes: 0, firstContext: e };
    } else qu = qu.next = e;
    return t;
  }
  a(Bn, "eh");
  var Qs = null;
  function z_(e) {
    Qs === null ? Qs = [e] : Qs.push(e);
  }
  a(z_, "gh");
  function Fk(e, t, r, n) {
    var o = t.interleaved;
    return o === null ? (r.next = r, z_(t)) : (r.next = o.next, o.next = r), t.interleaved = r, Ba(e, n);
  }
  a(Fk, "hh");
  function Ba(e, t) {
    e.lanes |= t;
    var r = e.alternate;
    for (r !== null && (r.lanes |= t), r = e, e = e.return; e !== null; ) e.childLanes |= t, r = e.alternate, r !== null && (r.childLanes |=
    t), r = e, e = e.return;
    return r.tag === 3 ? r.stateNode : null;
  }
  a(Ba, "ih");
  var Ri = !1;
  function U_(e) {
    e.updateQueue = { baseState: e.memoizedState, firstBaseUpdate: null, lastBaseUpdate: null, shared: { pending: null, interleaved: null, lanes: 0 },
    effects: null };
  }
  a(U_, "kh");
  function jk(e, t) {
    e = e.updateQueue, t.updateQueue === e && (t.updateQueue = { baseState: e.baseState, firstBaseUpdate: e.firstBaseUpdate, lastBaseUpdate: e.
    lastBaseUpdate, shared: e.shared, effects: e.effects });
  }
  a(jk, "lh");
  function Da(e, t) {
    return { eventTime: e, lane: t, tag: 0, payload: null, callback: null, next: null };
  }
  a(Da, "mh");
  function Ii(e, t, r) {
    var n = e.updateQueue;
    if (n === null) return null;
    if (n = n.shared, (Te & 2) !== 0) {
      var o = n.pending;
      return o === null ? t.next = t : (t.next = o.next, o.next = t), n.pending = t, Ba(e, r);
    }
    return o = n.interleaved, o === null ? (t.next = t, z_(n)) : (t.next = o.next, o.next = t), n.interleaved = t, Ba(e, r);
  }
  a(Ii, "nh");
  function N0(e, t, r) {
    if (t = t.updateQueue, t !== null && (t = t.shared, (r & 4194240) !== 0)) {
      var n = t.lanes;
      n &= e.pendingLanes, r |= n, t.lanes = r, A_(e, r);
    }
  }
  a(N0, "oh");
  function pL(e, t) {
    var r = e.updateQueue, n = e.alternate;
    if (n !== null && (n = n.updateQueue, r === n)) {
      var o = null, i = null;
      if (r = r.firstBaseUpdate, r !== null) {
        do {
          var s = { eventTime: r.eventTime, lane: r.lane, tag: r.tag, payload: r.payload, callback: r.callback, next: null };
          i === null ? o = i = s : i = i.next = s, r = r.next;
        } while (r !== null);
        i === null ? o = i = t : i = i.next = t;
      } else o = i = t;
      r = { baseState: n.baseState, firstBaseUpdate: o, lastBaseUpdate: i, shared: n.shared, effects: n.effects }, e.updateQueue = r;
      return;
    }
    e = r.lastBaseUpdate, e === null ? r.firstBaseUpdate = t : e.next = t, r.lastBaseUpdate = t;
  }
  a(pL, "ph");
  function tg(e, t, r, n) {
    var o = e.updateQueue;
    Ri = !1;
    var i = o.firstBaseUpdate, s = o.lastBaseUpdate, l = o.shared.pending;
    if (l !== null) {
      o.shared.pending = null;
      var u = l, c = u.next;
      u.next = null, s === null ? i = c : s.next = c, s = u;
      var d = e.alternate;
      d !== null && (d = d.updateQueue, l = d.lastBaseUpdate, l !== s && (l === null ? d.firstBaseUpdate = c : l.next = c, d.lastBaseUpdate =
      u));
    }
    if (i !== null) {
      var f = o.baseState;
      s = 0, d = c = u = null, l = i;
      do {
        var p = l.lane, m = l.eventTime;
        if ((n & p) === p) {
          d !== null && (d = d.next = {
            eventTime: m,
            lane: 0,
            tag: l.tag,
            payload: l.payload,
            callback: l.callback,
            next: null
          });
          e: {
            var v = e, y = l;
            switch (p = t, m = r, y.tag) {
              case 1:
                if (v = y.payload, typeof v == "function") {
                  f = v.call(m, f, p);
                  break e;
                }
                f = v;
                break e;
              case 3:
                v.flags = v.flags & -65537 | 128;
              case 0:
                if (v = y.payload, p = typeof v == "function" ? v.call(m, f, p) : v, p == null) break e;
                f = pt({}, f, p);
                break e;
              case 2:
                Ri = !0;
            }
          }
          l.callback !== null && l.lane !== 0 && (e.flags |= 64, p = o.effects, p === null ? o.effects = [l] : p.push(l));
        } else m = { eventTime: m, lane: p, tag: l.tag, payload: l.payload, callback: l.callback, next: null }, d === null ? (c = d = m, u =
        f) : d = d.next = m, s |= p;
        if (l = l.next, l === null) {
          if (l = o.shared.pending, l === null) break;
          p = l, l = p.next, p.next = null, o.lastBaseUpdate = p, o.shared.pending = null;
        }
      } while (!0);
      if (d === null && (u = f), o.baseState = u, o.firstBaseUpdate = c, o.lastBaseUpdate = d, t = o.shared.interleaved, t !== null) {
        o = t;
        do
          s |= o.lane, o = o.next;
        while (o !== t);
      } else i === null && (o.shared.lanes = 0);
      al |= s, e.lanes = s, e.memoizedState = f;
    }
  }
  a(tg, "qh");
  function mL(e, t, r) {
    if (e = t.effects, t.effects = null, e !== null) for (t = 0; t < e.length; t++) {
      var n = e[t], o = n.callback;
      if (o !== null) {
        if (n.callback = null, n = r, typeof o != "function") throw Error(W(191, o));
        o.call(n);
      }
    }
  }
  a(mL, "sh");
  var np = {}, ca = Fi(np), Yf = Fi(np), Kf = Fi(np);
  function Zs(e) {
    if (e === np) throw Error(W(174));
    return e;
  }
  a(Zs, "xh");
  function V_(e, t) {
    switch (Ye(Kf, t), Ye(Yf, e), Ye(ca, np), e = t.nodeType, e) {
      case 9:
      case 11:
        t = (t = t.documentElement) ? t.namespaceURI : FC(null, "");
        break;
      default:
        e = e === 8 ? t.parentNode : t, t = e.namespaceURI || null, e = e.tagName, t = FC(t, e);
    }
    Ze(ca), Ye(ca, t);
  }
  a(V_, "yh");
  function Ku() {
    Ze(ca), Ze(Yf), Ze(Kf);
  }
  a(Ku, "zh");
  function Bk(e) {
    Zs(Kf.current);
    var t = Zs(ca.current), r = FC(t, e.type);
    t !== r && (Ye(Yf, e), Ye(ca, r));
  }
  a(Bk, "Ah");
  function W_(e) {
    Yf.current === e && (Ze(ca), Ze(Yf));
  }
  a(W_, "Bh");
  var dt = Fi(0);
  function rg(e) {
    for (var t = e; t !== null; ) {
      if (t.tag === 13) {
        var r = t.memoizedState;
        if (r !== null && (r = r.dehydrated, r === null || r.data === "$?" || r.data === "$!")) return t;
      } else if (t.tag === 19 && t.memoizedProps.revealOrder !== void 0) {
        if ((t.flags & 128) !== 0) return t;
      } else if (t.child !== null) {
        t.child.return = t, t = t.child;
        continue;
      }
      if (t === e) break;
      for (; t.sibling === null; ) {
        if (t.return === null || t.return === e) return null;
        t = t.return;
      }
      t.sibling.return = t.return, t = t.sibling;
    }
    return null;
  }
  a(rg, "Ch");
  var EC = [];
  function G_() {
    for (var e = 0; e < EC.length; e++) EC[e]._workInProgressVersionPrimary = null;
    EC.length = 0;
  }
  a(G_, "Eh");
  var L0 = Ha.ReactCurrentDispatcher, RC = Ha.ReactCurrentBatchConfig, ol = 0, ft = null, Ft = null, Gt = null, ng = !1, Nf = !1, Xf = 0, lge = 0;
  function wr() {
    throw Error(W(321));
  }
  a(wr, "P");
  function Y_(e, t) {
    if (t === null) return !1;
    for (var r = 0; r < t.length && r < e.length; r++) if (!To(e[r], t[r])) return !1;
    return !0;
  }
  a(Y_, "Mh");
  function K_(e, t, r, n, o, i) {
    if (ol = i, ft = t, t.memoizedState = null, t.updateQueue = null, t.lanes = 0, L0.current = e === null || e.memoizedState === null ? fge :
    pge, e = r(n, o), Nf) {
      i = 0;
      do {
        if (Nf = !1, Xf = 0, 25 <= i) throw Error(W(301));
        i += 1, Gt = Ft = null, t.updateQueue = null, L0.current = mge, e = r(n, o);
      } while (Nf);
    }
    if (L0.current = og, t = Ft !== null && Ft.next !== null, ol = 0, Gt = Ft = ft = null, ng = !1, t) throw Error(W(300));
    return e;
  }
  a(K_, "Nh");
  function X_() {
    var e = Xf !== 0;
    return Xf = 0, e;
  }
  a(X_, "Sh");
  function sa() {
    var e = { memoizedState: null, baseState: null, baseQueue: null, queue: null, next: null };
    return Gt === null ? ft.memoizedState = Gt = e : Gt = Gt.next = e, Gt;
  }
  a(sa, "Th");
  function $n() {
    if (Ft === null) {
      var e = ft.alternate;
      e = e !== null ? e.memoizedState : null;
    } else e = Ft.next;
    var t = Gt === null ? ft.memoizedState : Gt.next;
    if (t !== null) Gt = t, Ft = e;
    else {
      if (e === null) throw Error(W(310));
      Ft = e, e = { memoizedState: Ft.memoizedState, baseState: Ft.baseState, baseQueue: Ft.baseQueue, queue: Ft.queue, next: null }, Gt ===
      null ? ft.memoizedState = Gt = e : Gt = Gt.next = e;
    }
    return Gt;
  }
  a($n, "Uh");
  function Jf(e, t) {
    return typeof t == "function" ? t(e) : t;
  }
  a(Jf, "Vh");
  function xC(e) {
    var t = $n(), r = t.queue;
    if (r === null) throw Error(W(311));
    r.lastRenderedReducer = e;
    var n = Ft, o = n.baseQueue, i = r.pending;
    if (i !== null) {
      if (o !== null) {
        var s = o.next;
        o.next = i.next, i.next = s;
      }
      n.baseQueue = o = i, r.pending = null;
    }
    if (o !== null) {
      i = o.next, n = n.baseState;
      var l = s = null, u = null, c = i;
      do {
        var d = c.lane;
        if ((ol & d) === d) u !== null && (u = u.next = { lane: 0, action: c.action, hasEagerState: c.hasEagerState, eagerState: c.eagerState,
        next: null }), n = c.hasEagerState ? c.eagerState : e(n, c.action);
        else {
          var f = {
            lane: d,
            action: c.action,
            hasEagerState: c.hasEagerState,
            eagerState: c.eagerState,
            next: null
          };
          u === null ? (l = u = f, s = n) : u = u.next = f, ft.lanes |= d, al |= d;
        }
        c = c.next;
      } while (c !== null && c !== i);
      u === null ? s = n : u.next = l, To(n, t.memoizedState) || (Xr = !0), t.memoizedState = n, t.baseState = s, t.baseQueue = u, r.lastRenderedState =
      n;
    }
    if (e = r.interleaved, e !== null) {
      o = e;
      do
        i = o.lane, ft.lanes |= i, al |= i, o = o.next;
      while (o !== e);
    } else o === null && (r.lanes = 0);
    return [t.memoizedState, r.dispatch];
  }
  a(xC, "Wh");
  function SC(e) {
    var t = $n(), r = t.queue;
    if (r === null) throw Error(W(311));
    r.lastRenderedReducer = e;
    var n = r.dispatch, o = r.pending, i = t.memoizedState;
    if (o !== null) {
      r.pending = null;
      var s = o = o.next;
      do
        i = e(i, s.action), s = s.next;
      while (s !== o);
      To(i, t.memoizedState) || (Xr = !0), t.memoizedState = i, t.baseQueue === null && (t.baseState = i), r.lastRenderedState = i;
    }
    return [i, n];
  }
  a(SC, "Xh");
  function $k() {
  }
  a($k, "Yh");
  function Hk(e, t) {
    var r = ft, n = $n(), o = t(), i = !To(n.memoizedState, o);
    if (i && (n.memoizedState = o, Xr = !0), n = n.queue, J_(Vk.bind(null, r, n, e), [e]), n.getSnapshot !== t || i || Gt !== null && Gt.memoizedState.
    tag & 1) {
      if (r.flags |= 2048, Qf(9, Uk.bind(null, r, n, o, t), void 0, null), Yt === null) throw Error(W(349));
      (ol & 30) !== 0 || zk(r, t, o);
    }
    return o;
  }
  a(Hk, "Zh");
  function zk(e, t, r) {
    e.flags |= 16384, e = { getSnapshot: t, value: r }, t = ft.updateQueue, t === null ? (t = { lastEffect: null, stores: null }, ft.updateQueue =
    t, t.stores = [e]) : (r = t.stores, r === null ? t.stores = [e] : r.push(e));
  }
  a(zk, "di");
  function Uk(e, t, r, n) {
    t.value = r, t.getSnapshot = n, Wk(t) && Gk(e);
  }
  a(Uk, "ci");
  function Vk(e, t, r) {
    return r(function() {
      Wk(t) && Gk(e);
    });
  }
  a(Vk, "ai");
  function Wk(e) {
    var t = e.getSnapshot;
    e = e.value;
    try {
      var r = t();
      return !To(e, r);
    } catch {
      return !0;
    }
  }
  a(Wk, "ei");
  function Gk(e) {
    var t = Ba(e, 1);
    t !== null && Po(t, e, 1, -1);
  }
  a(Gk, "fi");
  function hL(e) {
    var t = sa();
    return typeof e == "function" && (e = e()), t.memoizedState = t.baseState = e, e = { pending: null, interleaved: null, lanes: 0, dispatch: null,
    lastRenderedReducer: Jf, lastRenderedState: e }, t.queue = e, e = e.dispatch = dge.bind(null, ft, e), [t.memoizedState, e];
  }
  a(hL, "hi");
  function Qf(e, t, r, n) {
    return e = { tag: e, create: t, destroy: r, deps: n, next: null }, t = ft.updateQueue, t === null ? (t = { lastEffect: null, stores: null },
    ft.updateQueue = t, t.lastEffect = e.next = e) : (r = t.lastEffect, r === null ? t.lastEffect = e.next = e : (n = r.next, r.next = e, e.
    next = n, t.lastEffect = e)), e;
  }
  a(Qf, "bi");
  function Yk() {
    return $n().memoizedState;
  }
  a(Yk, "ji");
  function k0(e, t, r, n) {
    var o = sa();
    ft.flags |= e, o.memoizedState = Qf(1 | t, r, void 0, n === void 0 ? null : n);
  }
  a(k0, "ki");
  function gg(e, t, r, n) {
    var o = $n();
    n = n === void 0 ? null : n;
    var i = void 0;
    if (Ft !== null) {
      var s = Ft.memoizedState;
      if (i = s.destroy, n !== null && Y_(n, s.deps)) {
        o.memoizedState = Qf(t, r, i, n);
        return;
      }
    }
    ft.flags |= e, o.memoizedState = Qf(1 | t, r, i, n);
  }
  a(gg, "li");
  function gL(e, t) {
    return k0(8390656, 8, e, t);
  }
  a(gL, "mi");
  function J_(e, t) {
    return gg(2048, 8, e, t);
  }
  a(J_, "$h");
  function Kk(e, t) {
    return gg(4, 2, e, t);
  }
  a(Kk, "ni");
  function Xk(e, t) {
    return gg(4, 4, e, t);
  }
  a(Xk, "oi");
  function Jk(e, t) {
    if (typeof t == "function") return e = e(), t(e), function() {
      t(null);
    };
    if (t != null) return e = e(), t.current = e, function() {
      t.current = null;
    };
  }
  a(Jk, "pi");
  function Qk(e, t, r) {
    return r = r != null ? r.concat([e]) : null, gg(4, 4, Jk.bind(null, t, e), r);
  }
  a(Qk, "qi");
  function Q_() {
  }
  a(Q_, "ri");
  function Zk(e, t) {
    var r = $n();
    t = t === void 0 ? null : t;
    var n = r.memoizedState;
    return n !== null && t !== null && Y_(t, n[1]) ? n[0] : (r.memoizedState = [e, t], e);
  }
  a(Zk, "si");
  function eq(e, t) {
    var r = $n();
    t = t === void 0 ? null : t;
    var n = r.memoizedState;
    return n !== null && t !== null && Y_(t, n[1]) ? n[0] : (e = e(), r.memoizedState = [e, t], e);
  }
  a(eq, "ti");
  function tq(e, t, r) {
    return (ol & 21) === 0 ? (e.baseState && (e.baseState = !1, Xr = !0), e.memoizedState = r) : (To(r, t) || (r = ik(), ft.lanes |= r, al |=
    r, e.baseState = !0), t);
  }
  a(tq, "ui");
  function uge(e, t) {
    var r = Fe;
    Fe = r !== 0 && 4 > r ? r : 4, e(!0);
    var n = RC.transition;
    RC.transition = {};
    try {
      e(!1), t();
    } finally {
      Fe = r, RC.transition = n;
    }
  }
  a(uge, "vi");
  function rq() {
    return $n().memoizedState;
  }
  a(rq, "wi");
  function cge(e, t, r) {
    var n = Ni(e);
    if (r = { lane: n, action: r, hasEagerState: !1, eagerState: null, next: null }, nq(e)) oq(t, r);
    else if (r = Fk(e, t, r, n), r !== null) {
      var o = Nr();
      Po(r, e, n, o), aq(r, t, n);
    }
  }
  a(cge, "xi");
  function dge(e, t, r) {
    var n = Ni(e), o = { lane: n, action: r, hasEagerState: !1, eagerState: null, next: null };
    if (nq(e)) oq(t, o);
    else {
      var i = e.alternate;
      if (e.lanes === 0 && (i === null || i.lanes === 0) && (i = t.lastRenderedReducer, i !== null)) try {
        var s = t.lastRenderedState, l = i(s, r);
        if (o.hasEagerState = !0, o.eagerState = l, To(l, s)) {
          var u = t.interleaved;
          u === null ? (o.next = o, z_(t)) : (o.next = u.next, u.next = o), t.interleaved = o;
          return;
        }
      } catch {
      } finally {
      }
      r = Fk(e, t, o, n), r !== null && (o = Nr(), Po(r, e, n, o), aq(r, t, n));
    }
  }
  a(dge, "ii");
  function nq(e) {
    var t = e.alternate;
    return e === ft || t !== null && t === ft;
  }
  a(nq, "zi");
  function oq(e, t) {
    Nf = ng = !0;
    var r = e.pending;
    r === null ? t.next = t : (t.next = r.next, r.next = t), e.pending = t;
  }
  a(oq, "Ai");
  function aq(e, t, r) {
    if ((r & 4194240) !== 0) {
      var n = t.lanes;
      n &= e.pendingLanes, r |= n, t.lanes = r, A_(e, r);
    }
  }
  a(aq, "Bi");
  var og = { readContext: Bn, useCallback: wr, useContext: wr, useEffect: wr, useImperativeHandle: wr, useInsertionEffect: wr, useLayoutEffect: wr,
  useMemo: wr, useReducer: wr, useRef: wr, useState: wr, useDebugValue: wr, useDeferredValue: wr, useTransition: wr, useMutableSource: wr, useSyncExternalStore: wr,
  useId: wr, unstable_isNewReconciler: !1 }, fge = { readContext: Bn, useCallback: /* @__PURE__ */ a(function(e, t) {
    return sa().memoizedState = [e, t === void 0 ? null : t], e;
  }, "useCallback"), useContext: Bn, useEffect: gL, useImperativeHandle: /* @__PURE__ */ a(function(e, t, r) {
    return r = r != null ? r.concat([e]) : null, k0(
      4194308,
      4,
      Jk.bind(null, t, e),
      r
    );
  }, "useImperativeHandle"), useLayoutEffect: /* @__PURE__ */ a(function(e, t) {
    return k0(4194308, 4, e, t);
  }, "useLayoutEffect"), useInsertionEffect: /* @__PURE__ */ a(function(e, t) {
    return k0(4, 2, e, t);
  }, "useInsertionEffect"), useMemo: /* @__PURE__ */ a(function(e, t) {
    var r = sa();
    return t = t === void 0 ? null : t, e = e(), r.memoizedState = [e, t], e;
  }, "useMemo"), useReducer: /* @__PURE__ */ a(function(e, t, r) {
    var n = sa();
    return t = r !== void 0 ? r(t) : t, n.memoizedState = n.baseState = t, e = { pending: null, interleaved: null, lanes: 0, dispatch: null,
    lastRenderedReducer: e, lastRenderedState: t }, n.queue = e, e = e.dispatch = cge.bind(null, ft, e), [n.memoizedState, e];
  }, "useReducer"), useRef: /* @__PURE__ */ a(function(e) {
    var t = sa();
    return e = { current: e }, t.memoizedState = e;
  }, "useRef"), useState: hL, useDebugValue: Q_, useDeferredValue: /* @__PURE__ */ a(function(e) {
    return sa().memoizedState = e;
  }, "useDeferredValue"), useTransition: /* @__PURE__ */ a(function() {
    var e = hL(!1), t = e[0];
    return e = uge.bind(null, e[1]), sa().memoizedState = e, [t, e];
  }, "useTransition"), useMutableSource: /* @__PURE__ */ a(function() {
  }, "useMutableSource"), useSyncExternalStore: /* @__PURE__ */ a(function(e, t, r) {
    var n = ft, o = sa();
    if (lt) {
      if (r === void 0) throw Error(W(407));
      r = r();
    } else {
      if (r = t(), Yt === null) throw Error(W(349));
      (ol & 30) !== 0 || zk(n, t, r);
    }
    o.memoizedState = r;
    var i = { value: r, getSnapshot: t };
    return o.queue = i, gL(Vk.bind(
      null,
      n,
      i,
      e
    ), [e]), n.flags |= 2048, Qf(9, Uk.bind(null, n, i, r, t), void 0, null), r;
  }, "useSyncExternalStore"), useId: /* @__PURE__ */ a(function() {
    var e = sa(), t = Yt.identifierPrefix;
    if (lt) {
      var r = qa, n = ka;
      r = (n & ~(1 << 32 - _o(n) - 1)).toString(32) + r, t = ":" + t + "R" + r, r = Xf++, 0 < r && (t += "H" + r.toString(32)), t += ":";
    } else r = lge++, t = ":" + t + "r" + r.toString(32) + ":";
    return e.memoizedState = t;
  }, "useId"), unstable_isNewReconciler: !1 }, pge = {
    readContext: Bn,
    useCallback: Zk,
    useContext: Bn,
    useEffect: J_,
    useImperativeHandle: Qk,
    useInsertionEffect: Kk,
    useLayoutEffect: Xk,
    useMemo: eq,
    useReducer: xC,
    useRef: Yk,
    useState: /* @__PURE__ */ a(function() {
      return xC(Jf);
    }, "useState"),
    useDebugValue: Q_,
    useDeferredValue: /* @__PURE__ */ a(function(e) {
      var t = $n();
      return tq(t, Ft.memoizedState, e);
    }, "useDeferredValue"),
    useTransition: /* @__PURE__ */ a(function() {
      var e = xC(Jf)[0], t = $n().memoizedState;
      return [e, t];
    }, "useTransition"),
    useMutableSource: $k,
    useSyncExternalStore: Hk,
    useId: rq,
    unstable_isNewReconciler: !1
  }, mge = { readContext: Bn, useCallback: Zk, useContext: Bn, useEffect: J_, useImperativeHandle: Qk, useInsertionEffect: Kk, useLayoutEffect: Xk,
  useMemo: eq, useReducer: SC, useRef: Yk, useState: /* @__PURE__ */ a(function() {
    return SC(Jf);
  }, "useState"), useDebugValue: Q_, useDeferredValue: /* @__PURE__ */ a(function(e) {
    var t = $n();
    return Ft === null ? t.memoizedState = e : tq(t, Ft.memoizedState, e);
  }, "useDeferredValue"), useTransition: /* @__PURE__ */ a(function() {
    var e = SC(Jf)[0], t = $n().memoizedState;
    return [e, t];
  }, "useTransition"), useMutableSource: $k, useSyncExternalStore: Hk, useId: rq, unstable_isNewReconciler: !1 };
  function xo(e, t) {
    if (e && e.defaultProps) {
      t = pt({}, t), e = e.defaultProps;
      for (var r in e) t[r] === void 0 && (t[r] = e[r]);
      return t;
    }
    return t;
  }
  a(xo, "Ci");
  function a_(e, t, r, n) {
    t = e.memoizedState, r = r(n, t), r = r == null ? t : pt({}, t, r), e.memoizedState = r, e.lanes === 0 && (e.updateQueue.baseState = r);
  }
  a(a_, "Di");
  var yg = { isMounted: /* @__PURE__ */ a(function(e) {
    return (e = e._reactInternals) ? ll(e) === e : !1;
  }, "isMounted"), enqueueSetState: /* @__PURE__ */ a(function(e, t, r) {
    e = e._reactInternals;
    var n = Nr(), o = Ni(e), i = Da(n, o);
    i.payload = t, r != null && (i.callback = r), t = Ii(e, i, o), t !== null && (Po(t, e, o, n), N0(t, e, o));
  }, "enqueueSetState"), enqueueReplaceState: /* @__PURE__ */ a(function(e, t, r) {
    e = e._reactInternals;
    var n = Nr(), o = Ni(e), i = Da(n, o);
    i.tag = 1, i.payload = t, r != null && (i.callback = r), t = Ii(e, i, o), t !== null && (Po(t, e, o, n), N0(t, e, o));
  }, "enqueueReplaceState"), enqueueForceUpdate: /* @__PURE__ */ a(function(e, t) {
    e = e._reactInternals;
    var r = Nr(), n = Ni(e), o = Da(r, n);
    o.tag = 2, t != null && (o.callback = t), t = Ii(e, o, n), t !== null && (Po(t, e, n, r), N0(t, e, n));
  }, "enqueueForceUpdate") };
  function yL(e, t, r, n, o, i, s) {
    return e = e.stateNode, typeof e.shouldComponentUpdate == "function" ? e.shouldComponentUpdate(n, i, s) : t.prototype && t.prototype.isPureReactComponent ?
    !Uf(r, n) || !Uf(o, i) : !0;
  }
  a(yL, "Fi");
  function iq(e, t, r) {
    var n = !1, o = qi, i = t.contextType;
    return typeof i == "object" && i !== null ? i = Bn(i) : (o = Qr(t) ? rl : xr.current, n = t.contextTypes, i = (n = n != null) ? Wu(e, o) :
    qi), t = new t(r, i), e.memoizedState = t.state !== null && t.state !== void 0 ? t.state : null, t.updater = yg, e.stateNode = t, t._reactInternals =
    e, n && (e = e.stateNode, e.__reactInternalMemoizedUnmaskedChildContext = o, e.__reactInternalMemoizedMaskedChildContext = i), t;
  }
  a(iq, "Gi");
  function vL(e, t, r, n) {
    e = t.state, typeof t.componentWillReceiveProps == "function" && t.componentWillReceiveProps(r, n), typeof t.UNSAFE_componentWillReceiveProps ==
    "function" && t.UNSAFE_componentWillReceiveProps(r, n), t.state !== e && yg.enqueueReplaceState(t, t.state, null);
  }
  a(vL, "Hi");
  function i_(e, t, r, n) {
    var o = e.stateNode;
    o.props = r, o.state = e.memoizedState, o.refs = {}, U_(e);
    var i = t.contextType;
    typeof i == "object" && i !== null ? o.context = Bn(i) : (i = Qr(t) ? rl : xr.current, o.context = Wu(e, i)), o.state = e.memoizedState,
    i = t.getDerivedStateFromProps, typeof i == "function" && (a_(e, t, i, r), o.state = e.memoizedState), typeof t.getDerivedStateFromProps ==
    "function" || typeof o.getSnapshotBeforeUpdate == "function" || typeof o.UNSAFE_componentWillMount != "function" && typeof o.componentWillMount !=
    "function" || (t = o.state, typeof o.componentWillMount == "function" && o.componentWillMount(), typeof o.UNSAFE_componentWillMount == "\
function" && o.UNSAFE_componentWillMount(), t !== o.state && yg.enqueueReplaceState(o, o.state, null), tg(e, r, o, n), o.state = e.memoizedState),
    typeof o.componentDidMount == "function" && (e.flags |= 4194308);
  }
  a(i_, "Ii");
  function Xu(e, t) {
    try {
      var r = "", n = t;
      do
        r += Uhe(n), n = n.return;
      while (n);
      var o = r;
    } catch (i) {
      o = `
Error generating stack: ` + i.message + `
` + i.stack;
    }
    return { value: e, source: t, stack: o, digest: null };
  }
  a(Xu, "Ji");
  function CC(e, t, r) {
    return { value: e, source: null, stack: r ?? null, digest: t ?? null };
  }
  a(CC, "Ki");
  function s_(e, t) {
    try {
      console.error(t.value);
    } catch (r) {
      setTimeout(function() {
        throw r;
      });
    }
  }
  a(s_, "Li");
  var hge = typeof WeakMap == "function" ? WeakMap : Map;
  function sq(e, t, r) {
    r = Da(-1, r), r.tag = 3, r.payload = { element: null };
    var n = t.value;
    return r.callback = function() {
      ig || (ig = !0, y_ = n), s_(e, t);
    }, r;
  }
  a(sq, "Ni");
  function lq(e, t, r) {
    r = Da(-1, r), r.tag = 3;
    var n = e.type.getDerivedStateFromError;
    if (typeof n == "function") {
      var o = t.value;
      r.payload = function() {
        return n(o);
      }, r.callback = function() {
        s_(e, t);
      };
    }
    var i = e.stateNode;
    return i !== null && typeof i.componentDidCatch == "function" && (r.callback = function() {
      s_(e, t), typeof n != "function" && (Mi === null ? Mi = /* @__PURE__ */ new Set([this]) : Mi.add(this));
      var s = t.stack;
      this.componentDidCatch(t.value, { componentStack: s !== null ? s : "" });
    }), r;
  }
  a(lq, "Qi");
  function bL(e, t, r) {
    var n = e.pingCache;
    if (n === null) {
      n = e.pingCache = new hge();
      var o = /* @__PURE__ */ new Set();
      n.set(t, o);
    } else o = n.get(t), o === void 0 && (o = /* @__PURE__ */ new Set(), n.set(t, o));
    o.has(r) || (o.add(r), e = Age.bind(null, e, t, r), t.then(e, e));
  }
  a(bL, "Si");
  function wL(e) {
    do {
      var t;
      if ((t = e.tag === 13) && (t = e.memoizedState, t = t !== null ? t.dehydrated !== null : !0), t) return e;
      e = e.return;
    } while (e !== null);
    return null;
  }
  a(wL, "Ui");
  function EL(e, t, r, n, o) {
    return (e.mode & 1) === 0 ? (e === t ? e.flags |= 65536 : (e.flags |= 128, r.flags |= 131072, r.flags &= -52805, r.tag === 1 && (r.alternate ===
    null ? r.tag = 17 : (t = Da(-1, 1), t.tag = 2, Ii(r, t, 1))), r.lanes |= 1), e) : (e.flags |= 65536, e.lanes = o, e);
  }
  a(EL, "Vi");
  var gge = Ha.ReactCurrentOwner, Xr = !1;
  function Mr(e, t, r, n) {
    t.child = e === null ? Dk(t, null, r, n) : Yu(t, e.child, r, n);
  }
  a(Mr, "Xi");
  function RL(e, t, r, n, o) {
    r = r.render;
    var i = t.ref;
    return zu(t, o), n = K_(e, t, r, n, i, o), r = X_(), e !== null && !Xr ? (t.updateQueue = e.updateQueue, t.flags &= -2053, e.lanes &= ~o,
    $a(e, t, o)) : (lt && r && D_(t), t.flags |= 1, Mr(e, t, n, o), t.child);
  }
  a(RL, "Yi");
  function xL(e, t, r, n, o) {
    if (e === null) {
      var i = r.type;
      return typeof i == "function" && !iP(i) && i.defaultProps === void 0 && r.compare === null && r.defaultProps === void 0 ? (t.tag = 15,
      t.type = i, uq(e, t, i, n, o)) : (e = j0(r.type, null, n, t, t.mode, o), e.ref = t.ref, e.return = t, t.child = e);
    }
    if (i = e.child, (e.lanes & o) === 0) {
      var s = i.memoizedProps;
      if (r = r.compare, r = r !== null ? r : Uf, r(s, n) && e.ref === t.ref) return $a(e, t, o);
    }
    return t.flags |= 1, e = Li(i, n), e.ref = t.ref, e.return = t, t.child = e;
  }
  a(xL, "$i");
  function uq(e, t, r, n, o) {
    if (e !== null) {
      var i = e.memoizedProps;
      if (Uf(i, n) && e.ref === t.ref) if (Xr = !1, t.pendingProps = n = i, (e.lanes & o) !== 0) (e.flags & 131072) !== 0 && (Xr = !0);
      else return t.lanes = e.lanes, $a(e, t, o);
    }
    return l_(e, t, r, n, o);
  }
  a(uq, "bj");
  function cq(e, t, r) {
    var n = t.pendingProps, o = n.children, i = e !== null ? e.memoizedState : null;
    if (n.mode === "hidden") if ((t.mode & 1) === 0) t.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, Ye(Fu, mn), mn |=
    r;
    else {
      if ((r & 1073741824) === 0) return e = i !== null ? i.baseLanes | r : r, t.lanes = t.childLanes = 1073741824, t.memoizedState = { baseLanes: e,
      cachePool: null, transitions: null }, t.updateQueue = null, Ye(Fu, mn), mn |= e, null;
      t.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, n = i !== null ? i.baseLanes : r, Ye(Fu, mn), mn |= n;
    }
    else i !== null ? (n = i.baseLanes | r, t.memoizedState = null) : n = r, Ye(Fu, mn), mn |= n;
    return Mr(e, t, o, r), t.child;
  }
  a(cq, "dj");
  function dq(e, t) {
    var r = t.ref;
    (e === null && r !== null || e !== null && e.ref !== r) && (t.flags |= 512, t.flags |= 2097152);
  }
  a(dq, "gj");
  function l_(e, t, r, n, o) {
    var i = Qr(r) ? rl : xr.current;
    return i = Wu(t, i), zu(t, o), r = K_(e, t, r, n, i, o), n = X_(), e !== null && !Xr ? (t.updateQueue = e.updateQueue, t.flags &= -2053,
    e.lanes &= ~o, $a(e, t, o)) : (lt && n && D_(t), t.flags |= 1, Mr(e, t, r, o), t.child);
  }
  a(l_, "cj");
  function SL(e, t, r, n, o) {
    if (Qr(r)) {
      var i = !0;
      X0(t);
    } else i = !1;
    if (zu(t, o), t.stateNode === null) q0(e, t), iq(t, r, n), i_(t, r, n, o), n = !0;
    else if (e === null) {
      var s = t.stateNode, l = t.memoizedProps;
      s.props = l;
      var u = s.context, c = r.contextType;
      typeof c == "object" && c !== null ? c = Bn(c) : (c = Qr(r) ? rl : xr.current, c = Wu(t, c));
      var d = r.getDerivedStateFromProps, f = typeof d == "function" || typeof s.getSnapshotBeforeUpdate == "function";
      f || typeof s.UNSAFE_componentWillReceiveProps != "function" && typeof s.componentWillReceiveProps != "function" || (l !== n || u !== c) &&
      vL(t, s, n, c), Ri = !1;
      var p = t.memoizedState;
      s.state = p, tg(t, n, s, o), u = t.memoizedState, l !== n || p !== u || Jr.current || Ri ? (typeof d == "function" && (a_(t, r, d, n),
      u = t.memoizedState), (l = Ri || yL(t, r, l, n, p, u, c)) ? (f || typeof s.UNSAFE_componentWillMount != "function" && typeof s.componentWillMount !=
      "function" || (typeof s.componentWillMount == "function" && s.componentWillMount(), typeof s.UNSAFE_componentWillMount == "function" &&
      s.UNSAFE_componentWillMount()), typeof s.componentDidMount == "function" && (t.flags |= 4194308)) : (typeof s.componentDidMount == "fu\
nction" && (t.flags |= 4194308), t.memoizedProps = n, t.memoizedState = u), s.props = n, s.state = u, s.context = c, n = l) : (typeof s.componentDidMount ==
      "function" && (t.flags |= 4194308), n = !1);
    } else {
      s = t.stateNode, jk(e, t), l = t.memoizedProps, c = t.type === t.elementType ? l : xo(t.type, l), s.props = c, f = t.pendingProps, p =
      s.context, u = r.contextType, typeof u == "object" && u !== null ? u = Bn(u) : (u = Qr(r) ? rl : xr.current, u = Wu(t, u));
      var m = r.getDerivedStateFromProps;
      (d = typeof m == "function" || typeof s.getSnapshotBeforeUpdate == "function") || typeof s.UNSAFE_componentWillReceiveProps != "functi\
on" && typeof s.componentWillReceiveProps != "function" || (l !== f || p !== u) && vL(t, s, n, u), Ri = !1, p = t.memoizedState, s.state = p,
      tg(t, n, s, o);
      var v = t.memoizedState;
      l !== f || p !== v || Jr.current || Ri ? (typeof m == "function" && (a_(t, r, m, n), v = t.memoizedState), (c = Ri || yL(t, r, c, n, p,
      v, u) || !1) ? (d || typeof s.UNSAFE_componentWillUpdate != "function" && typeof s.componentWillUpdate != "function" || (typeof s.componentWillUpdate ==
      "function" && s.componentWillUpdate(n, v, u), typeof s.UNSAFE_componentWillUpdate == "function" && s.UNSAFE_componentWillUpdate(n, v, u)),
      typeof s.componentDidUpdate == "function" && (t.flags |= 4), typeof s.getSnapshotBeforeUpdate == "function" && (t.flags |= 1024)) : (typeof s.
      componentDidUpdate != "function" || l === e.memoizedProps && p === e.memoizedState || (t.flags |= 4), typeof s.getSnapshotBeforeUpdate !=
      "function" || l === e.memoizedProps && p === e.memoizedState || (t.flags |= 1024), t.memoizedProps = n, t.memoizedState = v), s.props =
      n, s.state = v, s.context = u, n = c) : (typeof s.componentDidUpdate != "function" || l === e.memoizedProps && p === e.memoizedState ||
      (t.flags |= 4), typeof s.getSnapshotBeforeUpdate != "function" || l === e.memoizedProps && p === e.memoizedState || (t.flags |= 1024),
      n = !1);
    }
    return u_(e, t, r, n, i, o);
  }
  a(SL, "hj");
  function u_(e, t, r, n, o, i) {
    dq(e, t);
    var s = (t.flags & 128) !== 0;
    if (!n && !s) return o && uL(t, r, !1), $a(e, t, i);
    n = t.stateNode, gge.current = t;
    var l = s && typeof r.getDerivedStateFromError != "function" ? null : n.render();
    return t.flags |= 1, e !== null && s ? (t.child = Yu(t, e.child, null, i), t.child = Yu(t, null, l, i)) : Mr(e, t, l, i), t.memoizedState =
    n.state, o && uL(t, r, !0), t.child;
  }
  a(u_, "jj");
  function fq(e) {
    var t = e.stateNode;
    t.pendingContext ? lL(e, t.pendingContext, t.pendingContext !== t.context) : t.context && lL(e, t.context, !1), V_(e, t.containerInfo);
  }
  a(fq, "kj");
  function CL(e, t, r, n, o) {
    return Gu(), j_(o), t.flags |= 256, Mr(e, t, r, n), t.child;
  }
  a(CL, "lj");
  var c_ = { dehydrated: null, treeContext: null, retryLane: 0 };
  function d_(e) {
    return { baseLanes: e, cachePool: null, transitions: null };
  }
  a(d_, "nj");
  function pq(e, t, r) {
    var n = t.pendingProps, o = dt.current, i = !1, s = (t.flags & 128) !== 0, l;
    if ((l = s) || (l = e !== null && e.memoizedState === null ? !1 : (o & 2) !== 0), l ? (i = !0, t.flags &= -129) : (e === null || e.memoizedState !==
    null) && (o |= 1), Ye(dt, o & 1), e === null)
      return n_(t), e = t.memoizedState, e !== null && (e = e.dehydrated, e !== null) ? ((t.mode & 1) === 0 ? t.lanes = 1 : e.data === "$!" ?
      t.lanes = 8 : t.lanes = 1073741824, null) : (s = n.children, e = n.fallback, i ? (n = t.mode, i = t.child, s = { mode: "hidden", children: s },
      (n & 1) === 0 && i !== null ? (i.childLanes = 0, i.pendingProps = s) : i = wg(s, n, 0, null), e = tl(e, n, r, null), i.return = t, e.return =
      t, i.sibling = e, t.child = i, t.child.memoizedState = d_(r), t.memoizedState = c_, e) : Z_(t, s));
    if (o = e.memoizedState, o !== null && (l = o.dehydrated, l !== null)) return yge(e, t, s, n, l, o, r);
    if (i) {
      i = n.fallback, s = t.mode, o = e.child, l = o.sibling;
      var u = { mode: "hidden", children: n.children };
      return (s & 1) === 0 && t.child !== o ? (n = t.child, n.childLanes = 0, n.pendingProps = u, t.deletions = null) : (n = Li(o, u), n.subtreeFlags =
      o.subtreeFlags & 14680064), l !== null ? i = Li(l, i) : (i = tl(i, s, r, null), i.flags |= 2), i.return = t, n.return = t, n.sibling =
      i, t.child = n, n = i, i = t.child, s = e.child.memoizedState, s = s === null ? d_(r) : { baseLanes: s.baseLanes | r, cachePool: null,
      transitions: s.transitions }, i.memoizedState = s, i.childLanes = e.childLanes & ~r, t.memoizedState = c_, n;
    }
    return i = e.child, e = i.sibling, n = Li(i, { mode: "visible", children: n.children }), (t.mode & 1) === 0 && (n.lanes = r), n.return =
    t, n.sibling = null, e !== null && (r = t.deletions, r === null ? (t.deletions = [e], t.flags |= 16) : r.push(e)), t.child = n, t.memoizedState =
    null, n;
  }
  a(pq, "oj");
  function Z_(e, t) {
    return t = wg({ mode: "visible", children: t }, e.mode, 0, null), t.return = e, e.child = t;
  }
  a(Z_, "qj");
  function P0(e, t, r, n) {
    return n !== null && j_(n), Yu(t, e.child, null, r), e = Z_(t, t.pendingProps.children), e.flags |= 2, t.memoizedState = null, e;
  }
  a(P0, "sj");
  function yge(e, t, r, n, o, i, s) {
    if (r)
      return t.flags & 256 ? (t.flags &= -257, n = CC(Error(W(422))), P0(e, t, s, n)) : t.memoizedState !== null ? (t.child = e.child, t.flags |=
      128, null) : (i = n.fallback, o = t.mode, n = wg({ mode: "visible", children: n.children }, o, 0, null), i = tl(i, o, s, null), i.flags |=
      2, n.return = t, i.return = t, n.sibling = i, t.child = n, (t.mode & 1) !== 0 && Yu(t, e.child, null, s), t.child.memoizedState = d_(s),
      t.memoizedState = c_, i);
    if ((t.mode & 1) === 0) return P0(e, t, s, null);
    if (o.data === "$!") {
      if (n = o.nextSibling && o.nextSibling.dataset, n) var l = n.dgst;
      return n = l, i = Error(W(419)), n = CC(i, n, void 0), P0(e, t, s, n);
    }
    if (l = (s & e.childLanes) !== 0, Xr || l) {
      if (n = Yt, n !== null) {
        switch (s & -s) {
          case 4:
            o = 2;
            break;
          case 16:
            o = 8;
            break;
          case 64:
          case 128:
          case 256:
          case 512:
          case 1024:
          case 2048:
          case 4096:
          case 8192:
          case 16384:
          case 32768:
          case 65536:
          case 131072:
          case 262144:
          case 524288:
          case 1048576:
          case 2097152:
          case 4194304:
          case 8388608:
          case 16777216:
          case 33554432:
          case 67108864:
            o = 32;
            break;
          case 536870912:
            o = 268435456;
            break;
          default:
            o = 0;
        }
        o = (o & (n.suspendedLanes | s)) !== 0 ? 0 : o, o !== 0 && o !== i.retryLane && (i.retryLane = o, Ba(e, o), Po(n, e, o, -1));
      }
      return aP(), n = CC(Error(W(421))), P0(e, t, s, n);
    }
    return o.data === "$?" ? (t.flags |= 128, t.child = e.child, t = Oge.bind(null, e), o._reactRetry = t, null) : (e = i.treeContext, hn = Oi(
    o.nextSibling), gn = t, lt = !0, Co = null, e !== null && (qn[Dn++] = ka, qn[Dn++] = qa, qn[Dn++] = nl, ka = e.id, qa = e.overflow, nl =
    t), t = Z_(t, n.children), t.flags |= 4096, t);
  }
  a(yge, "rj");
  function _L(e, t, r) {
    e.lanes |= t;
    var n = e.alternate;
    n !== null && (n.lanes |= t), o_(e.return, t, r);
  }
  a(_L, "vj");
  function _C(e, t, r, n, o) {
    var i = e.memoizedState;
    i === null ? e.memoizedState = { isBackwards: t, rendering: null, renderingStartTime: 0, last: n, tail: r, tailMode: o } : (i.isBackwards =
    t, i.rendering = null, i.renderingStartTime = 0, i.last = n, i.tail = r, i.tailMode = o);
  }
  a(_C, "wj");
  function mq(e, t, r) {
    var n = t.pendingProps, o = n.revealOrder, i = n.tail;
    if (Mr(e, t, n.children, r), n = dt.current, (n & 2) !== 0) n = n & 1 | 2, t.flags |= 128;
    else {
      if (e !== null && (e.flags & 128) !== 0) e: for (e = t.child; e !== null; ) {
        if (e.tag === 13) e.memoizedState !== null && _L(e, r, t);
        else if (e.tag === 19) _L(e, r, t);
        else if (e.child !== null) {
          e.child.return = e, e = e.child;
          continue;
        }
        if (e === t) break e;
        for (; e.sibling === null; ) {
          if (e.return === null || e.return === t) break e;
          e = e.return;
        }
        e.sibling.return = e.return, e = e.sibling;
      }
      n &= 1;
    }
    if (Ye(dt, n), (t.mode & 1) === 0) t.memoizedState = null;
    else switch (o) {
      case "forwards":
        for (r = t.child, o = null; r !== null; ) e = r.alternate, e !== null && rg(e) === null && (o = r), r = r.sibling;
        r = o, r === null ? (o = t.child, t.child = null) : (o = r.sibling, r.sibling = null), _C(t, !1, o, r, i);
        break;
      case "backwards":
        for (r = null, o = t.child, t.child = null; o !== null; ) {
          if (e = o.alternate, e !== null && rg(e) === null) {
            t.child = o;
            break;
          }
          e = o.sibling, o.sibling = r, r = o, o = e;
        }
        _C(t, !0, r, null, i);
        break;
      case "together":
        _C(t, !1, null, null, void 0);
        break;
      default:
        t.memoizedState = null;
    }
    return t.child;
  }
  a(mq, "xj");
  function q0(e, t) {
    (t.mode & 1) === 0 && e !== null && (e.alternate = null, t.alternate = null, t.flags |= 2);
  }
  a(q0, "ij");
  function $a(e, t, r) {
    if (e !== null && (t.dependencies = e.dependencies), al |= t.lanes, (r & t.childLanes) === 0) return null;
    if (e !== null && t.child !== e.child) throw Error(W(153));
    if (t.child !== null) {
      for (e = t.child, r = Li(e, e.pendingProps), t.child = r, r.return = t; e.sibling !== null; ) e = e.sibling, r = r.sibling = Li(e, e.pendingProps),
      r.return = t;
      r.sibling = null;
    }
    return t.child;
  }
  a($a, "Zi");
  function vge(e, t, r) {
    switch (t.tag) {
      case 3:
        fq(t), Gu();
        break;
      case 5:
        Bk(t);
        break;
      case 1:
        Qr(t.type) && X0(t);
        break;
      case 4:
        V_(t, t.stateNode.containerInfo);
        break;
      case 10:
        var n = t.type._context, o = t.memoizedProps.value;
        Ye(Z0, n._currentValue), n._currentValue = o;
        break;
      case 13:
        if (n = t.memoizedState, n !== null)
          return n.dehydrated !== null ? (Ye(dt, dt.current & 1), t.flags |= 128, null) : (r & t.child.childLanes) !== 0 ? pq(e, t, r) : (Ye(
          dt, dt.current & 1), e = $a(e, t, r), e !== null ? e.sibling : null);
        Ye(dt, dt.current & 1);
        break;
      case 19:
        if (n = (r & t.childLanes) !== 0, (e.flags & 128) !== 0) {
          if (n) return mq(e, t, r);
          t.flags |= 128;
        }
        if (o = t.memoizedState, o !== null && (o.rendering = null, o.tail = null, o.lastEffect = null), Ye(dt, dt.current), n) break;
        return null;
      case 22:
      case 23:
        return t.lanes = 0, cq(e, t, r);
    }
    return $a(e, t, r);
  }
  a(vge, "yj");
  var hq, f_, gq, yq;
  hq = /* @__PURE__ */ a(function(e, t) {
    for (var r = t.child; r !== null; ) {
      if (r.tag === 5 || r.tag === 6) e.appendChild(r.stateNode);
      else if (r.tag !== 4 && r.child !== null) {
        r.child.return = r, r = r.child;
        continue;
      }
      if (r === t) break;
      for (; r.sibling === null; ) {
        if (r.return === null || r.return === t) return;
        r = r.return;
      }
      r.sibling.return = r.return, r = r.sibling;
    }
  }, "zj");
  f_ = /* @__PURE__ */ a(function() {
  }, "Aj");
  gq = /* @__PURE__ */ a(function(e, t, r, n) {
    var o = e.memoizedProps;
    if (o !== n) {
      e = t.stateNode, Zs(ca.current);
      var i = null;
      switch (r) {
        case "input":
          o = LC(e, o), n = LC(e, n), i = [];
          break;
        case "select":
          o = pt({}, o, { value: void 0 }), n = pt({}, n, { value: void 0 }), i = [];
          break;
        case "textarea":
          o = DC(e, o), n = DC(e, n), i = [];
          break;
        default:
          typeof o.onClick != "function" && typeof n.onClick == "function" && (e.onclick = Y0);
      }
      jC(r, n);
      var s;
      r = null;
      for (c in o) if (!n.hasOwnProperty(c) && o.hasOwnProperty(c) && o[c] != null) if (c === "style") {
        var l = o[c];
        for (s in l) l.hasOwnProperty(s) && (r || (r = {}), r[s] = "");
      } else c !== "dangerouslySetInnerHTML" && c !== "children" && c !== "suppressContentEditableWarning" && c !== "suppressHydrationWarnin\
g" && c !== "autoFocus" && (Df.hasOwnProperty(c) ? i || (i = []) : (i = i || []).push(c, null));
      for (c in n) {
        var u = n[c];
        if (l = o?.[c], n.hasOwnProperty(c) && u !== l && (u != null || l != null)) if (c === "style") if (l) {
          for (s in l) !l.hasOwnProperty(s) || u && u.hasOwnProperty(s) || (r || (r = {}), r[s] = "");
          for (s in u) u.hasOwnProperty(s) && l[s] !== u[s] && (r || (r = {}), r[s] = u[s]);
        } else r || (i || (i = []), i.push(
          c,
          r
        )), r = u;
        else c === "dangerouslySetInnerHTML" ? (u = u ? u.__html : void 0, l = l ? l.__html : void 0, u != null && l !== u && (i = i || []).
        push(c, u)) : c === "children" ? typeof u != "string" && typeof u != "number" || (i = i || []).push(c, "" + u) : c !== "suppressCont\
entEditableWarning" && c !== "suppressHydrationWarning" && (Df.hasOwnProperty(c) ? (u != null && c === "onScroll" && Qe("scroll", e), i || l ===
        u || (i = [])) : (i = i || []).push(c, u));
      }
      r && (i = i || []).push("style", r);
      var c = i;
      (t.updateQueue = c) && (t.flags |= 4);
    }
  }, "Bj");
  yq = /* @__PURE__ */ a(function(e, t, r, n) {
    r !== n && (t.flags |= 4);
  }, "Cj");
  function Ef(e, t) {
    if (!lt) switch (e.tailMode) {
      case "hidden":
        t = e.tail;
        for (var r = null; t !== null; ) t.alternate !== null && (r = t), t = t.sibling;
        r === null ? e.tail = null : r.sibling = null;
        break;
      case "collapsed":
        r = e.tail;
        for (var n = null; r !== null; ) r.alternate !== null && (n = r), r = r.sibling;
        n === null ? t || e.tail === null ? e.tail = null : e.tail.sibling = null : n.sibling = null;
    }
  }
  a(Ef, "Dj");
  function Er(e) {
    var t = e.alternate !== null && e.alternate.child === e.child, r = 0, n = 0;
    if (t) for (var o = e.child; o !== null; ) r |= o.lanes | o.childLanes, n |= o.subtreeFlags & 14680064, n |= o.flags & 14680064, o.return =
    e, o = o.sibling;
    else for (o = e.child; o !== null; ) r |= o.lanes | o.childLanes, n |= o.subtreeFlags, n |= o.flags, o.return = e, o = o.sibling;
    return e.subtreeFlags |= n, e.childLanes = r, t;
  }
  a(Er, "S");
  function bge(e, t, r) {
    var n = t.pendingProps;
    switch (F_(t), t.tag) {
      case 2:
      case 16:
      case 15:
      case 0:
      case 11:
      case 7:
      case 8:
      case 12:
      case 9:
      case 14:
        return Er(t), null;
      case 1:
        return Qr(t.type) && K0(), Er(t), null;
      case 3:
        return n = t.stateNode, Ku(), Ze(Jr), Ze(xr), G_(), n.pendingContext && (n.context = n.pendingContext, n.pendingContext = null), (e ===
        null || e.child === null) && (C0(t) ? t.flags |= 4 : e === null || e.memoizedState.isDehydrated && (t.flags & 256) === 0 || (t.flags |=
        1024, Co !== null && (w_(Co), Co = null))), f_(e, t), Er(t), null;
      case 5:
        W_(t);
        var o = Zs(Kf.current);
        if (r = t.type, e !== null && t.stateNode != null) gq(e, t, r, n, o), e.ref !== t.ref && (t.flags |= 512, t.flags |= 2097152);
        else {
          if (!n) {
            if (t.stateNode === null) throw Error(W(166));
            return Er(t), null;
          }
          if (e = Zs(ca.current), C0(t)) {
            n = t.stateNode, r = t.type;
            var i = t.memoizedProps;
            switch (n[la] = t, n[Gf] = i, e = (t.mode & 1) !== 0, r) {
              case "dialog":
                Qe("cancel", n), Qe("close", n);
                break;
              case "iframe":
              case "object":
              case "embed":
                Qe("load", n);
                break;
              case "video":
              case "audio":
                for (o = 0; o < Pf.length; o++) Qe(Pf[o], n);
                break;
              case "source":
                Qe("error", n);
                break;
              case "img":
              case "image":
              case "link":
                Qe(
                  "error",
                  n
                ), Qe("load", n);
                break;
              case "details":
                Qe("toggle", n);
                break;
              case "input":
                L9(n, i), Qe("invalid", n);
                break;
              case "select":
                n._wrapperState = { wasMultiple: !!i.multiple }, Qe("invalid", n);
                break;
              case "textarea":
                q9(n, i), Qe("invalid", n);
            }
            jC(r, i), o = null;
            for (var s in i) if (i.hasOwnProperty(s)) {
              var l = i[s];
              s === "children" ? typeof l == "string" ? n.textContent !== l && (i.suppressHydrationWarning !== !0 && S0(n.textContent, l, e),
              o = ["children", l]) : typeof l == "number" && n.textContent !== "" + l && (i.suppressHydrationWarning !== !0 && S0(
                n.textContent,
                l,
                e
              ), o = ["children", "" + l]) : Df.hasOwnProperty(s) && l != null && s === "onScroll" && Qe("scroll", n);
            }
            switch (r) {
              case "input":
                f0(n), k9(n, i, !0);
                break;
              case "textarea":
                f0(n), D9(n);
                break;
              case "select":
              case "option":
                break;
              default:
                typeof i.onClick == "function" && (n.onclick = Y0);
            }
            n = o, t.updateQueue = n, n !== null && (t.flags |= 4);
          } else {
            s = o.nodeType === 9 ? o : o.ownerDocument, e === "http://www.w3.org/1999/xhtml" && (e = VL(r)), e === "http://www.w3.org/1999/x\
html" ? r === "script" ? (e = s.createElement("div"), e.innerHTML = "<script><\/script>", e = e.removeChild(e.firstChild)) : typeof n.is == "\
string" ? e = s.createElement(r, { is: n.is }) : (e = s.createElement(r), r === "select" && (s = e, n.multiple ? s.multiple = !0 : n.size &&
            (s.size = n.size))) : e = s.createElementNS(e, r), e[la] = t, e[Gf] = n, hq(e, t, !1, !1), t.stateNode = e;
            e: {
              switch (s = BC(r, n), r) {
                case "dialog":
                  Qe("cancel", e), Qe("close", e), o = n;
                  break;
                case "iframe":
                case "object":
                case "embed":
                  Qe("load", e), o = n;
                  break;
                case "video":
                case "audio":
                  for (o = 0; o < Pf.length; o++) Qe(Pf[o], e);
                  o = n;
                  break;
                case "source":
                  Qe("error", e), o = n;
                  break;
                case "img":
                case "image":
                case "link":
                  Qe(
                    "error",
                    e
                  ), Qe("load", e), o = n;
                  break;
                case "details":
                  Qe("toggle", e), o = n;
                  break;
                case "input":
                  L9(e, n), o = LC(e, n), Qe("invalid", e);
                  break;
                case "option":
                  o = n;
                  break;
                case "select":
                  e._wrapperState = { wasMultiple: !!n.multiple }, o = pt({}, n, { value: void 0 }), Qe("invalid", e);
                  break;
                case "textarea":
                  q9(e, n), o = DC(e, n), Qe("invalid", e);
                  break;
                default:
                  o = n;
              }
              jC(r, o), l = o;
              for (i in l) if (l.hasOwnProperty(i)) {
                var u = l[i];
                i === "style" ? YL(e, u) : i === "dangerouslySetInnerHTML" ? (u = u ? u.__html : void 0, u != null && WL(e, u)) : i === "chi\
ldren" ? typeof u == "string" ? (r !== "textarea" || u !== "") && Ff(e, u) : typeof u == "number" && Ff(e, "" + u) : i !== "suppressContentE\
ditableWarning" && i !== "suppressHydrationWarning" && i !== "autoFocus" && (Df.hasOwnProperty(i) ? u != null && i === "onScroll" && Qe("scr\
oll", e) : u != null && x_(e, i, u, s));
              }
              switch (r) {
                case "input":
                  f0(e), k9(e, n, !1);
                  break;
                case "textarea":
                  f0(e), D9(e);
                  break;
                case "option":
                  n.value != null && e.setAttribute("value", "" + ki(n.value));
                  break;
                case "select":
                  e.multiple = !!n.multiple, i = n.value, i != null ? ju(e, !!n.multiple, i, !1) : n.defaultValue != null && ju(
                    e,
                    !!n.multiple,
                    n.defaultValue,
                    !0
                  );
                  break;
                default:
                  typeof o.onClick == "function" && (e.onclick = Y0);
              }
              switch (r) {
                case "button":
                case "input":
                case "select":
                case "textarea":
                  n = !!n.autoFocus;
                  break e;
                case "img":
                  n = !0;
                  break e;
                default:
                  n = !1;
              }
            }
            n && (t.flags |= 4);
          }
          t.ref !== null && (t.flags |= 512, t.flags |= 2097152);
        }
        return Er(t), null;
      case 6:
        if (e && t.stateNode != null) yq(e, t, e.memoizedProps, n);
        else {
          if (typeof n != "string" && t.stateNode === null) throw Error(W(166));
          if (r = Zs(Kf.current), Zs(ca.current), C0(t)) {
            if (n = t.stateNode, r = t.memoizedProps, n[la] = t, (i = n.nodeValue !== r) && (e = gn, e !== null)) switch (e.tag) {
              case 3:
                S0(n.nodeValue, r, (e.mode & 1) !== 0);
                break;
              case 5:
                e.memoizedProps.suppressHydrationWarning !== !0 && S0(n.nodeValue, r, (e.mode & 1) !== 0);
            }
            i && (t.flags |= 4);
          } else n = (r.nodeType === 9 ? r : r.ownerDocument).createTextNode(n), n[la] = t, t.stateNode = n;
        }
        return Er(t), null;
      case 13:
        if (Ze(dt), n = t.memoizedState, e === null || e.memoizedState !== null && e.memoizedState.dehydrated !== null) {
          if (lt && hn !== null && (t.mode & 1) !== 0 && (t.flags & 128) === 0) kk(), Gu(), t.flags |= 98560, i = !1;
          else if (i = C0(t), n !== null && n.dehydrated !== null) {
            if (e === null) {
              if (!i) throw Error(W(318));
              if (i = t.memoizedState, i = i !== null ? i.dehydrated : null, !i) throw Error(W(317));
              i[la] = t;
            } else Gu(), (t.flags & 128) === 0 && (t.memoizedState = null), t.flags |= 4;
            Er(t), i = !1;
          } else Co !== null && (w_(Co), Co = null), i = !0;
          if (!i) return t.flags & 65536 ? t : null;
        }
        return (t.flags & 128) !== 0 ? (t.lanes = r, t) : (n = n !== null, n !== (e !== null && e.memoizedState !== null) && n && (t.child.flags |=
        8192, (t.mode & 1) !== 0 && (e === null || (dt.current & 1) !== 0 ? jt === 0 && (jt = 3) : aP())), t.updateQueue !== null && (t.flags |=
        4), Er(t), null);
      case 4:
        return Ku(), f_(e, t), e === null && Vf(t.stateNode.containerInfo), Er(t), null;
      case 10:
        return H_(t.type._context), Er(t), null;
      case 17:
        return Qr(t.type) && K0(), Er(t), null;
      case 19:
        if (Ze(dt), i = t.memoizedState, i === null) return Er(t), null;
        if (n = (t.flags & 128) !== 0, s = i.rendering, s === null) if (n) Ef(i, !1);
        else {
          if (jt !== 0 || e !== null && (e.flags & 128) !== 0) for (e = t.child; e !== null; ) {
            if (s = rg(e), s !== null) {
              for (t.flags |= 128, Ef(i, !1), n = s.updateQueue, n !== null && (t.updateQueue = n, t.flags |= 4), t.subtreeFlags = 0, n = r,
              r = t.child; r !== null; ) i = r, e = n, i.flags &= 14680066, s = i.alternate, s === null ? (i.childLanes = 0, i.lanes = e, i.
              child = null, i.subtreeFlags = 0, i.memoizedProps = null, i.memoizedState = null, i.updateQueue = null, i.dependencies = null,
              i.stateNode = null) : (i.childLanes = s.childLanes, i.lanes = s.lanes, i.child = s.child, i.subtreeFlags = 0, i.deletions = null,
              i.memoizedProps = s.memoizedProps, i.memoizedState = s.memoizedState, i.updateQueue = s.updateQueue, i.type = s.type, e = s.dependencies,
              i.dependencies = e === null ? null : { lanes: e.lanes, firstContext: e.firstContext }), r = r.sibling;
              return Ye(dt, dt.current & 1 | 2), t.child;
            }
            e = e.sibling;
          }
          i.tail !== null && St() > Ju && (t.flags |= 128, n = !0, Ef(i, !1), t.lanes = 4194304);
        }
        else {
          if (!n) if (e = rg(s), e !== null) {
            if (t.flags |= 128, n = !0, r = e.updateQueue, r !== null && (t.updateQueue = r, t.flags |= 4), Ef(i, !0), i.tail === null && i.
            tailMode === "hidden" && !s.alternate && !lt) return Er(t), null;
          } else 2 * St() - i.renderingStartTime > Ju && r !== 1073741824 && (t.flags |= 128, n = !0, Ef(i, !1), t.lanes = 4194304);
          i.isBackwards ? (s.sibling = t.child, t.child = s) : (r = i.last, r !== null ? r.sibling = s : t.child = s, i.last = s);
        }
        return i.tail !== null ? (t = i.tail, i.rendering = t, i.tail = t.sibling, i.renderingStartTime = St(), t.sibling = null, r = dt.current,
        Ye(dt, n ? r & 1 | 2 : r & 1), t) : (Er(t), null);
      case 22:
      case 23:
        return oP(), n = t.memoizedState !== null, e !== null && e.memoizedState !== null !== n && (t.flags |= 8192), n && (t.mode & 1) !== 0 ?
        (mn & 1073741824) !== 0 && (Er(t), t.subtreeFlags & 6 && (t.flags |= 8192)) : Er(t), null;
      case 24:
        return null;
      case 25:
        return null;
    }
    throw Error(W(156, t.tag));
  }
  a(bge, "Ej");
  function wge(e, t) {
    switch (F_(t), t.tag) {
      case 1:
        return Qr(t.type) && K0(), e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;
      case 3:
        return Ku(), Ze(Jr), Ze(xr), G_(), e = t.flags, (e & 65536) !== 0 && (e & 128) === 0 ? (t.flags = e & -65537 | 128, t) : null;
      case 5:
        return W_(t), null;
      case 13:
        if (Ze(dt), e = t.memoizedState, e !== null && e.dehydrated !== null) {
          if (t.alternate === null) throw Error(W(340));
          Gu();
        }
        return e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;
      case 19:
        return Ze(dt), null;
      case 4:
        return Ku(), null;
      case 10:
        return H_(t.type._context), null;
      case 22:
      case 23:
        return oP(), null;
      case 24:
        return null;
      default:
        return null;
    }
  }
  a(wge, "Ij");
  var T0 = !1, Rr = !1, Ege = typeof WeakSet == "function" ? WeakSet : Set, ae = null;
  function Du(e, t) {
    var r = e.ref;
    if (r !== null) if (typeof r == "function") try {
      r(null);
    } catch (n) {
      vt(e, t, n);
    }
    else r.current = null;
  }
  a(Du, "Lj");
  function p_(e, t, r) {
    try {
      r();
    } catch (n) {
      vt(e, t, n);
    }
  }
  a(p_, "Mj");
  var PL = !1;
  function Rge(e, t) {
    if (XC = V0, e = Rk(), q_(e)) {
      if ("selectionStart" in e) var r = { start: e.selectionStart, end: e.selectionEnd };
      else e: {
        r = (r = e.ownerDocument) && r.defaultView || window;
        var n = r.getSelection && r.getSelection();
        if (n && n.rangeCount !== 0) {
          r = n.anchorNode;
          var o = n.anchorOffset, i = n.focusNode;
          n = n.focusOffset;
          try {
            r.nodeType, i.nodeType;
          } catch {
            r = null;
            break e;
          }
          var s = 0, l = -1, u = -1, c = 0, d = 0, f = e, p = null;
          t: for (; ; ) {
            for (var m; f !== r || o !== 0 && f.nodeType !== 3 || (l = s + o), f !== i || n !== 0 && f.nodeType !== 3 || (u = s + n), f.nodeType ===
            3 && (s += f.nodeValue.length), (m = f.firstChild) !== null; )
              p = f, f = m;
            for (; ; ) {
              if (f === e) break t;
              if (p === r && ++c === o && (l = s), p === i && ++d === n && (u = s), (m = f.nextSibling) !== null) break;
              f = p, p = f.parentNode;
            }
            f = m;
          }
          r = l === -1 || u === -1 ? null : { start: l, end: u };
        } else r = null;
      }
      r = r || { start: 0, end: 0 };
    } else r = null;
    for (JC = { focusedElem: e, selectionRange: r }, V0 = !1, ae = t; ae !== null; ) if (t = ae, e = t.child, (t.subtreeFlags & 1028) !== 0 &&
    e !== null) e.return = t, ae = e;
    else for (; ae !== null; ) {
      t = ae;
      try {
        var v = t.alternate;
        if ((t.flags & 1024) !== 0) switch (t.tag) {
          case 0:
          case 11:
          case 15:
            break;
          case 1:
            if (v !== null) {
              var y = v.memoizedProps, b = v.memoizedState, g = t.stateNode, w = g.getSnapshotBeforeUpdate(t.elementType === t.type ? y : xo(
              t.type, y), b);
              g.__reactInternalSnapshotBeforeUpdate = w;
            }
            break;
          case 3:
            var E = t.stateNode.containerInfo;
            E.nodeType === 1 ? E.textContent = "" : E.nodeType === 9 && E.documentElement && E.removeChild(E.documentElement);
            break;
          case 5:
          case 6:
          case 4:
          case 17:
            break;
          default:
            throw Error(W(163));
        }
      } catch (x) {
        vt(t, t.return, x);
      }
      if (e = t.sibling, e !== null) {
        e.return = t.return, ae = e;
        break;
      }
      ae = t.return;
    }
    return v = PL, PL = !1, v;
  }
  a(Rge, "Oj");
  function Lf(e, t, r) {
    var n = t.updateQueue;
    if (n = n !== null ? n.lastEffect : null, n !== null) {
      var o = n = n.next;
      do {
        if ((o.tag & e) === e) {
          var i = o.destroy;
          o.destroy = void 0, i !== void 0 && p_(t, r, i);
        }
        o = o.next;
      } while (o !== n);
    }
  }
  a(Lf, "Pj");
  function vg(e, t) {
    if (t = t.updateQueue, t = t !== null ? t.lastEffect : null, t !== null) {
      var r = t = t.next;
      do {
        if ((r.tag & e) === e) {
          var n = r.create;
          r.destroy = n();
        }
        r = r.next;
      } while (r !== t);
    }
  }
  a(vg, "Qj");
  function m_(e) {
    var t = e.ref;
    if (t !== null) {
      var r = e.stateNode;
      switch (e.tag) {
        case 5:
          e = r;
          break;
        default:
          e = r;
      }
      typeof t == "function" ? t(e) : t.current = e;
    }
  }
  a(m_, "Rj");
  function vq(e) {
    var t = e.alternate;
    t !== null && (e.alternate = null, vq(t)), e.child = null, e.deletions = null, e.sibling = null, e.tag === 5 && (t = e.stateNode, t !== null &&
    (delete t[la], delete t[Gf], delete t[e_], delete t[oge], delete t[age])), e.stateNode = null, e.return = null, e.dependencies = null, e.
    memoizedProps = null, e.memoizedState = null, e.pendingProps = null, e.stateNode = null, e.updateQueue = null;
  }
  a(vq, "Sj");
  function bq(e) {
    return e.tag === 5 || e.tag === 3 || e.tag === 4;
  }
  a(bq, "Tj");
  function TL(e) {
    e: for (; ; ) {
      for (; e.sibling === null; ) {
        if (e.return === null || bq(e.return)) return null;
        e = e.return;
      }
      for (e.sibling.return = e.return, e = e.sibling; e.tag !== 5 && e.tag !== 6 && e.tag !== 18; ) {
        if (e.flags & 2 || e.child === null || e.tag === 4) continue e;
        e.child.return = e, e = e.child;
      }
      if (!(e.flags & 2)) return e.stateNode;
    }
  }
  a(TL, "Uj");
  function h_(e, t, r) {
    var n = e.tag;
    if (n === 5 || n === 6) e = e.stateNode, t ? r.nodeType === 8 ? r.parentNode.insertBefore(e, t) : r.insertBefore(e, t) : (r.nodeType ===
    8 ? (t = r.parentNode, t.insertBefore(e, r)) : (t = r, t.appendChild(e)), r = r._reactRootContainer, r != null || t.onclick !== null || (t.
    onclick = Y0));
    else if (n !== 4 && (e = e.child, e !== null)) for (h_(e, t, r), e = e.sibling; e !== null; ) h_(e, t, r), e = e.sibling;
  }
  a(h_, "Vj");
  function g_(e, t, r) {
    var n = e.tag;
    if (n === 5 || n === 6) e = e.stateNode, t ? r.insertBefore(e, t) : r.appendChild(e);
    else if (n !== 4 && (e = e.child, e !== null)) for (g_(e, t, r), e = e.sibling; e !== null; ) g_(e, t, r), e = e.sibling;
  }
  a(g_, "Wj");
  var ir = null, So = !1;
  function wi(e, t, r) {
    for (r = r.child; r !== null; ) wq(e, t, r), r = r.sibling;
  }
  a(wi, "Yj");
  function wq(e, t, r) {
    if (ua && typeof ua.onCommitFiberUnmount == "function") try {
      ua.onCommitFiberUnmount(cg, r);
    } catch {
    }
    switch (r.tag) {
      case 5:
        Rr || Du(r, t);
      case 6:
        var n = ir, o = So;
        ir = null, wi(e, t, r), ir = n, So = o, ir !== null && (So ? (e = ir, r = r.stateNode, e.nodeType === 8 ? e.parentNode.removeChild(r) :
        e.removeChild(r)) : ir.removeChild(r.stateNode));
        break;
      case 18:
        ir !== null && (So ? (e = ir, r = r.stateNode, e.nodeType === 8 ? bC(e.parentNode, r) : e.nodeType === 1 && bC(e, r), Hf(e)) : bC(ir,
        r.stateNode));
        break;
      case 4:
        n = ir, o = So, ir = r.stateNode.containerInfo, So = !0, wi(e, t, r), ir = n, So = o;
        break;
      case 0:
      case 11:
      case 14:
      case 15:
        if (!Rr && (n = r.updateQueue, n !== null && (n = n.lastEffect, n !== null))) {
          o = n = n.next;
          do {
            var i = o, s = i.destroy;
            i = i.tag, s !== void 0 && ((i & 2) !== 0 || (i & 4) !== 0) && p_(r, t, s), o = o.next;
          } while (o !== n);
        }
        wi(e, t, r);
        break;
      case 1:
        if (!Rr && (Du(r, t), n = r.stateNode, typeof n.componentWillUnmount == "function")) try {
          n.props = r.memoizedProps, n.state = r.memoizedState, n.componentWillUnmount();
        } catch (l) {
          vt(r, t, l);
        }
        wi(e, t, r);
        break;
      case 21:
        wi(e, t, r);
        break;
      case 22:
        r.mode & 1 ? (Rr = (n = Rr) || r.memoizedState !== null, wi(e, t, r), Rr = n) : wi(e, t, r);
        break;
      default:
        wi(e, t, r);
    }
  }
  a(wq, "Zj");
  function AL(e) {
    var t = e.updateQueue;
    if (t !== null) {
      e.updateQueue = null;
      var r = e.stateNode;
      r === null && (r = e.stateNode = new Ege()), t.forEach(function(n) {
        var o = Ige.bind(null, e, n);
        r.has(n) || (r.add(n), n.then(o, o));
      });
    }
  }
  a(AL, "ak");
  function Ro(e, t) {
    var r = t.deletions;
    if (r !== null) for (var n = 0; n < r.length; n++) {
      var o = r[n];
      try {
        var i = e, s = t, l = s;
        e: for (; l !== null; ) {
          switch (l.tag) {
            case 5:
              ir = l.stateNode, So = !1;
              break e;
            case 3:
              ir = l.stateNode.containerInfo, So = !0;
              break e;
            case 4:
              ir = l.stateNode.containerInfo, So = !0;
              break e;
          }
          l = l.return;
        }
        if (ir === null) throw Error(W(160));
        wq(i, s, o), ir = null, So = !1;
        var u = o.alternate;
        u !== null && (u.return = null), o.return = null;
      } catch (c) {
        vt(o, t, c);
      }
    }
    if (t.subtreeFlags & 12854) for (t = t.child; t !== null; ) Eq(t, e), t = t.sibling;
  }
  a(Ro, "ck");
  function Eq(e, t) {
    var r = e.alternate, n = e.flags;
    switch (e.tag) {
      case 0:
      case 11:
      case 14:
      case 15:
        if (Ro(t, e), ia(e), n & 4) {
          try {
            Lf(3, e, e.return), vg(3, e);
          } catch (y) {
            vt(e, e.return, y);
          }
          try {
            Lf(5, e, e.return);
          } catch (y) {
            vt(e, e.return, y);
          }
        }
        break;
      case 1:
        Ro(t, e), ia(e), n & 512 && r !== null && Du(r, r.return);
        break;
      case 5:
        if (Ro(t, e), ia(e), n & 512 && r !== null && Du(r, r.return), e.flags & 32) {
          var o = e.stateNode;
          try {
            Ff(o, "");
          } catch (y) {
            vt(e, e.return, y);
          }
        }
        if (n & 4 && (o = e.stateNode, o != null)) {
          var i = e.memoizedProps, s = r !== null ? r.memoizedProps : i, l = e.type, u = e.updateQueue;
          if (e.updateQueue = null, u !== null) try {
            l === "input" && i.type === "radio" && i.name != null && zL(o, i), BC(l, s);
            var c = BC(l, i);
            for (s = 0; s < u.length; s += 2) {
              var d = u[s], f = u[s + 1];
              d === "style" ? YL(o, f) : d === "dangerouslySetInnerHTML" ? WL(o, f) : d === "children" ? Ff(o, f) : x_(o, d, f, c);
            }
            switch (l) {
              case "input":
                kC(o, i);
                break;
              case "textarea":
                UL(o, i);
                break;
              case "select":
                var p = o._wrapperState.wasMultiple;
                o._wrapperState.wasMultiple = !!i.multiple;
                var m = i.value;
                m != null ? ju(o, !!i.multiple, m, !1) : p !== !!i.multiple && (i.defaultValue != null ? ju(
                  o,
                  !!i.multiple,
                  i.defaultValue,
                  !0
                ) : ju(o, !!i.multiple, i.multiple ? [] : "", !1));
            }
            o[Gf] = i;
          } catch (y) {
            vt(e, e.return, y);
          }
        }
        break;
      case 6:
        if (Ro(t, e), ia(e), n & 4) {
          if (e.stateNode === null) throw Error(W(162));
          o = e.stateNode, i = e.memoizedProps;
          try {
            o.nodeValue = i;
          } catch (y) {
            vt(e, e.return, y);
          }
        }
        break;
      case 3:
        if (Ro(t, e), ia(e), n & 4 && r !== null && r.memoizedState.isDehydrated) try {
          Hf(t.containerInfo);
        } catch (y) {
          vt(e, e.return, y);
        }
        break;
      case 4:
        Ro(t, e), ia(e);
        break;
      case 13:
        Ro(t, e), ia(e), o = e.child, o.flags & 8192 && (i = o.memoizedState !== null, o.stateNode.isHidden = i, !i || o.alternate !== null &&
        o.alternate.memoizedState !== null || (rP = St())), n & 4 && AL(e);
        break;
      case 22:
        if (d = r !== null && r.memoizedState !== null, e.mode & 1 ? (Rr = (c = Rr) || d, Ro(t, e), Rr = c) : Ro(t, e), ia(e), n & 8192) {
          if (c = e.memoizedState !== null, (e.stateNode.isHidden = c) && !d && (e.mode & 1) !== 0) for (ae = e, d = e.child; d !== null; ) {
            for (f = ae = d; ae !== null; ) {
              switch (p = ae, m = p.child, p.tag) {
                case 0:
                case 11:
                case 14:
                case 15:
                  Lf(4, p, p.return);
                  break;
                case 1:
                  Du(p, p.return);
                  var v = p.stateNode;
                  if (typeof v.componentWillUnmount == "function") {
                    n = p, r = p.return;
                    try {
                      t = n, v.props = t.memoizedProps, v.state = t.memoizedState, v.componentWillUnmount();
                    } catch (y) {
                      vt(n, r, y);
                    }
                  }
                  break;
                case 5:
                  Du(p, p.return);
                  break;
                case 22:
                  if (p.memoizedState !== null) {
                    IL(f);
                    continue;
                  }
              }
              m !== null ? (m.return = p, ae = m) : IL(f);
            }
            d = d.sibling;
          }
          e: for (d = null, f = e; ; ) {
            if (f.tag === 5) {
              if (d === null) {
                d = f;
                try {
                  o = f.stateNode, c ? (i = o.style, typeof i.setProperty == "function" ? i.setProperty("display", "none", "important") : i.
                  display = "none") : (l = f.stateNode, u = f.memoizedProps.style, s = u != null && u.hasOwnProperty("display") ? u.display :
                  null, l.style.display = GL("display", s));
                } catch (y) {
                  vt(e, e.return, y);
                }
              }
            } else if (f.tag === 6) {
              if (d === null) try {
                f.stateNode.nodeValue = c ? "" : f.memoizedProps;
              } catch (y) {
                vt(e, e.return, y);
              }
            } else if ((f.tag !== 22 && f.tag !== 23 || f.memoizedState === null || f === e) && f.child !== null) {
              f.child.return = f, f = f.child;
              continue;
            }
            if (f === e) break e;
            for (; f.sibling === null; ) {
              if (f.return === null || f.return === e) break e;
              d === f && (d = null), f = f.return;
            }
            d === f && (d = null), f.sibling.return = f.return, f = f.sibling;
          }
        }
        break;
      case 19:
        Ro(t, e), ia(e), n & 4 && AL(e);
        break;
      case 21:
        break;
      default:
        Ro(
          t,
          e
        ), ia(e);
    }
  }
  a(Eq, "dk");
  function ia(e) {
    var t = e.flags;
    if (t & 2) {
      try {
        e: {
          for (var r = e.return; r !== null; ) {
            if (bq(r)) {
              var n = r;
              break e;
            }
            r = r.return;
          }
          throw Error(W(160));
        }
        switch (n.tag) {
          case 5:
            var o = n.stateNode;
            n.flags & 32 && (Ff(o, ""), n.flags &= -33);
            var i = TL(e);
            g_(e, i, o);
            break;
          case 3:
          case 4:
            var s = n.stateNode.containerInfo, l = TL(e);
            h_(e, l, s);
            break;
          default:
            throw Error(W(161));
        }
      } catch (u) {
        vt(e, e.return, u);
      }
      e.flags &= -3;
    }
    t & 4096 && (e.flags &= -4097);
  }
  a(ia, "ek");
  function xge(e, t, r) {
    ae = e, Rq(e, t, r);
  }
  a(xge, "hk");
  function Rq(e, t, r) {
    for (var n = (e.mode & 1) !== 0; ae !== null; ) {
      var o = ae, i = o.child;
      if (o.tag === 22 && n) {
        var s = o.memoizedState !== null || T0;
        if (!s) {
          var l = o.alternate, u = l !== null && l.memoizedState !== null || Rr;
          l = T0;
          var c = Rr;
          if (T0 = s, (Rr = u) && !c) for (ae = o; ae !== null; ) s = ae, u = s.child, s.tag === 22 && s.memoizedState !== null ? ML(o) : u !==
          null ? (u.return = s, ae = u) : ML(o);
          for (; i !== null; ) ae = i, Rq(i, t, r), i = i.sibling;
          ae = o, T0 = l, Rr = c;
        }
        OL(e, t, r);
      } else (o.subtreeFlags & 8772) !== 0 && i !== null ? (i.return = o, ae = i) : OL(e, t, r);
    }
  }
  a(Rq, "ik");
  function OL(e) {
    for (; ae !== null; ) {
      var t = ae;
      if ((t.flags & 8772) !== 0) {
        var r = t.alternate;
        try {
          if ((t.flags & 8772) !== 0) switch (t.tag) {
            case 0:
            case 11:
            case 15:
              Rr || vg(5, t);
              break;
            case 1:
              var n = t.stateNode;
              if (t.flags & 4 && !Rr) if (r === null) n.componentDidMount();
              else {
                var o = t.elementType === t.type ? r.memoizedProps : xo(t.type, r.memoizedProps);
                n.componentDidUpdate(o, r.memoizedState, n.__reactInternalSnapshotBeforeUpdate);
              }
              var i = t.updateQueue;
              i !== null && mL(t, i, n);
              break;
            case 3:
              var s = t.updateQueue;
              if (s !== null) {
                if (r = null, t.child !== null) switch (t.child.tag) {
                  case 5:
                    r = t.child.stateNode;
                    break;
                  case 1:
                    r = t.child.stateNode;
                }
                mL(t, s, r);
              }
              break;
            case 5:
              var l = t.stateNode;
              if (r === null && t.flags & 4) {
                r = l;
                var u = t.memoizedProps;
                switch (t.type) {
                  case "button":
                  case "input":
                  case "select":
                  case "textarea":
                    u.autoFocus && r.focus();
                    break;
                  case "img":
                    u.src && (r.src = u.src);
                }
              }
              break;
            case 6:
              break;
            case 4:
              break;
            case 12:
              break;
            case 13:
              if (t.memoizedState === null) {
                var c = t.alternate;
                if (c !== null) {
                  var d = c.memoizedState;
                  if (d !== null) {
                    var f = d.dehydrated;
                    f !== null && Hf(f);
                  }
                }
              }
              break;
            case 19:
            case 17:
            case 21:
            case 22:
            case 23:
            case 25:
              break;
            default:
              throw Error(W(163));
          }
          Rr || t.flags & 512 && m_(t);
        } catch (p) {
          vt(t, t.return, p);
        }
      }
      if (t === e) {
        ae = null;
        break;
      }
      if (r = t.sibling, r !== null) {
        r.return = t.return, ae = r;
        break;
      }
      ae = t.return;
    }
  }
  a(OL, "kk");
  function IL(e) {
    for (; ae !== null; ) {
      var t = ae;
      if (t === e) {
        ae = null;
        break;
      }
      var r = t.sibling;
      if (r !== null) {
        r.return = t.return, ae = r;
        break;
      }
      ae = t.return;
    }
  }
  a(IL, "gk");
  function ML(e) {
    for (; ae !== null; ) {
      var t = ae;
      try {
        switch (t.tag) {
          case 0:
          case 11:
          case 15:
            var r = t.return;
            try {
              vg(4, t);
            } catch (u) {
              vt(t, r, u);
            }
            break;
          case 1:
            var n = t.stateNode;
            if (typeof n.componentDidMount == "function") {
              var o = t.return;
              try {
                n.componentDidMount();
              } catch (u) {
                vt(t, o, u);
              }
            }
            var i = t.return;
            try {
              m_(t);
            } catch (u) {
              vt(t, i, u);
            }
            break;
          case 5:
            var s = t.return;
            try {
              m_(t);
            } catch (u) {
              vt(t, s, u);
            }
        }
      } catch (u) {
        vt(t, t.return, u);
      }
      if (t === e) {
        ae = null;
        break;
      }
      var l = t.sibling;
      if (l !== null) {
        l.return = t.return, ae = l;
        break;
      }
      ae = t.return;
    }
  }
  a(ML, "jk");
  var Sge = Math.ceil, ag = Ha.ReactCurrentDispatcher, eP = Ha.ReactCurrentOwner, jn = Ha.ReactCurrentBatchConfig, Te = 0, Yt = null, It = null,
  sr = 0, mn = 0, Fu = Fi(0), jt = 0, Zf = null, al = 0, bg = 0, tP = 0, kf = null, Kr = null, rP = 0, Ju = 1 / 0, Na = null, ig = !1, y_ = null,
  Mi = null, A0 = !1, _i = null, sg = 0, qf = 0, v_ = null, D0 = -1, F0 = 0;
  function Nr() {
    return (Te & 6) !== 0 ? St() : D0 !== -1 ? D0 : D0 = St();
  }
  a(Nr, "R");
  function Ni(e) {
    return (e.mode & 1) === 0 ? 1 : (Te & 2) !== 0 && sr !== 0 ? sr & -sr : sge.transition !== null ? (F0 === 0 && (F0 = ik()), F0) : (e = Fe,
    e !== 0 || (e = window.event, e = e === void 0 ? 16 : pk(e.type)), e);
  }
  a(Ni, "yi");
  function Po(e, t, r, n) {
    if (50 < qf) throw qf = 0, v_ = null, Error(W(185));
    ep(e, r, n), ((Te & 2) === 0 || e !== Yt) && (e === Yt && ((Te & 2) === 0 && (bg |= r), jt === 4 && Si(e, sr)), Zr(e, n), r === 1 && Te ===
    0 && (t.mode & 1) === 0 && (Ju = St() + 500, hg && ji()));
  }
  a(Po, "gi");
  function Zr(e, t) {
    var r = e.callbackNode;
    u0e(e, t);
    var n = U0(e, e === Yt ? sr : 0);
    if (n === 0) r !== null && B9(r), e.callbackNode = null, e.callbackPriority = 0;
    else if (t = n & -n, e.callbackPriority !== t) {
      if (r != null && B9(r), t === 1) e.tag === 0 ? ige(NL.bind(null, e)) : Mk(NL.bind(null, e)), rge(function() {
        (Te & 6) === 0 && ji();
      }), r = null;
      else {
        switch (sk(n)) {
          case 1:
            r = T_;
            break;
          case 4:
            r = ok;
            break;
          case 16:
            r = z0;
            break;
          case 536870912:
            r = ak;
            break;
          default:
            r = z0;
        }
        r = Oq(r, xq.bind(null, e));
      }
      e.callbackPriority = t, e.callbackNode = r;
    }
  }
  a(Zr, "Dk");
  function xq(e, t) {
    if (D0 = -1, F0 = 0, (Te & 6) !== 0) throw Error(W(327));
    var r = e.callbackNode;
    if (Uu() && e.callbackNode !== r) return null;
    var n = U0(e, e === Yt ? sr : 0);
    if (n === 0) return null;
    if ((n & 30) !== 0 || (n & e.expiredLanes) !== 0 || t) t = lg(e, n);
    else {
      t = n;
      var o = Te;
      Te |= 2;
      var i = Cq();
      (Yt !== e || sr !== t) && (Na = null, Ju = St() + 500, el(e, t));
      do
        try {
          Pge();
          break;
        } catch (l) {
          Sq(e, l);
        }
      while (!0);
      $_(), ag.current = i, Te = o, It !== null ? t = 0 : (Yt = null, sr = 0, t = jt);
    }
    if (t !== 0) {
      if (t === 2 && (o = VC(e), o !== 0 && (n = o, t = b_(e, o))), t === 1) throw r = Zf, el(e, 0), Si(e, n), Zr(e, St()), r;
      if (t === 6) Si(e, n);
      else {
        if (o = e.current.alternate, (n & 30) === 0 && !Cge(o) && (t = lg(e, n), t === 2 && (i = VC(e), i !== 0 && (n = i, t = b_(e, i))), t ===
        1)) throw r = Zf, el(e, 0), Si(e, n), Zr(e, St()), r;
        switch (e.finishedWork = o, e.finishedLanes = n, t) {
          case 0:
          case 1:
            throw Error(W(345));
          case 2:
            Xs(e, Kr, Na);
            break;
          case 3:
            if (Si(e, n), (n & 130023424) === n && (t = rP + 500 - St(), 10 < t)) {
              if (U0(e, 0) !== 0) break;
              if (o = e.suspendedLanes, (o & n) !== n) {
                Nr(), e.pingedLanes |= e.suspendedLanes & o;
                break;
              }
              e.timeoutHandle = ZC(Xs.bind(null, e, Kr, Na), t);
              break;
            }
            Xs(e, Kr, Na);
            break;
          case 4:
            if (Si(e, n), (n & 4194240) === n) break;
            for (t = e.eventTimes, o = -1; 0 < n; ) {
              var s = 31 - _o(n);
              i = 1 << s, s = t[s], s > o && (o = s), n &= ~i;
            }
            if (n = o, n = St() - n, n = (120 > n ? 120 : 480 > n ? 480 : 1080 > n ? 1080 : 1920 > n ? 1920 : 3e3 > n ? 3e3 : 4320 > n ? 4320 :
            1960 * Sge(n / 1960)) - n, 10 < n) {
              e.timeoutHandle = ZC(Xs.bind(null, e, Kr, Na), n);
              break;
            }
            Xs(e, Kr, Na);
            break;
          case 5:
            Xs(e, Kr, Na);
            break;
          default:
            throw Error(W(329));
        }
      }
    }
    return Zr(e, St()), e.callbackNode === r ? xq.bind(null, e) : null;
  }
  a(xq, "Gk");
  function b_(e, t) {
    var r = kf;
    return e.current.memoizedState.isDehydrated && (el(e, t).flags |= 256), e = lg(e, t), e !== 2 && (t = Kr, Kr = r, t !== null && w_(t)), e;
  }
  a(b_, "Nk");
  function w_(e) {
    Kr === null ? Kr = e : Kr.push.apply(Kr, e);
  }
  a(w_, "Fj");
  function Cge(e) {
    for (var t = e; ; ) {
      if (t.flags & 16384) {
        var r = t.updateQueue;
        if (r !== null && (r = r.stores, r !== null)) for (var n = 0; n < r.length; n++) {
          var o = r[n], i = o.getSnapshot;
          o = o.value;
          try {
            if (!To(i(), o)) return !1;
          } catch {
            return !1;
          }
        }
      }
      if (r = t.child, t.subtreeFlags & 16384 && r !== null) r.return = t, t = r;
      else {
        if (t === e) break;
        for (; t.sibling === null; ) {
          if (t.return === null || t.return === e) return !0;
          t = t.return;
        }
        t.sibling.return = t.return, t = t.sibling;
      }
    }
    return !0;
  }
  a(Cge, "Ok");
  function Si(e, t) {
    for (t &= ~tP, t &= ~bg, e.suspendedLanes |= t, e.pingedLanes &= ~t, e = e.expirationTimes; 0 < t; ) {
      var r = 31 - _o(t), n = 1 << r;
      e[r] = -1, t &= ~n;
    }
  }
  a(Si, "Ck");
  function NL(e) {
    if ((Te & 6) !== 0) throw Error(W(327));
    Uu();
    var t = U0(e, 0);
    if ((t & 1) === 0) return Zr(e, St()), null;
    var r = lg(e, t);
    if (e.tag !== 0 && r === 2) {
      var n = VC(e);
      n !== 0 && (t = n, r = b_(e, n));
    }
    if (r === 1) throw r = Zf, el(e, 0), Si(e, t), Zr(e, St()), r;
    if (r === 6) throw Error(W(345));
    return e.finishedWork = e.current.alternate, e.finishedLanes = t, Xs(e, Kr, Na), Zr(e, St()), null;
  }
  a(NL, "Ek");
  function nP(e, t) {
    var r = Te;
    Te |= 1;
    try {
      return e(t);
    } finally {
      Te = r, Te === 0 && (Ju = St() + 500, hg && ji());
    }
  }
  a(nP, "Qk");
  function il(e) {
    _i !== null && _i.tag === 0 && (Te & 6) === 0 && Uu();
    var t = Te;
    Te |= 1;
    var r = jn.transition, n = Fe;
    try {
      if (jn.transition = null, Fe = 1, e) return e();
    } finally {
      Fe = n, jn.transition = r, Te = t, (Te & 6) === 0 && ji();
    }
  }
  a(il, "Rk");
  function oP() {
    mn = Fu.current, Ze(Fu);
  }
  a(oP, "Hj");
  function el(e, t) {
    e.finishedWork = null, e.finishedLanes = 0;
    var r = e.timeoutHandle;
    if (r !== -1 && (e.timeoutHandle = -1, tge(r)), It !== null) for (r = It.return; r !== null; ) {
      var n = r;
      switch (F_(n), n.tag) {
        case 1:
          n = n.type.childContextTypes, n != null && K0();
          break;
        case 3:
          Ku(), Ze(Jr), Ze(xr), G_();
          break;
        case 5:
          W_(n);
          break;
        case 4:
          Ku();
          break;
        case 13:
          Ze(dt);
          break;
        case 19:
          Ze(dt);
          break;
        case 10:
          H_(n.type._context);
          break;
        case 22:
        case 23:
          oP();
      }
      r = r.return;
    }
    if (Yt = e, It = e = Li(e.current, null), sr = mn = t, jt = 0, Zf = null, tP = bg = al = 0, Kr = kf = null, Qs !== null) {
      for (t = 0; t < Qs.length; t++) if (r = Qs[t], n = r.interleaved, n !== null) {
        r.interleaved = null;
        var o = n.next, i = r.pending;
        if (i !== null) {
          var s = i.next;
          i.next = o, n.next = s;
        }
        r.pending = n;
      }
      Qs = null;
    }
    return e;
  }
  a(el, "Kk");
  function Sq(e, t) {
    do {
      var r = It;
      try {
        if ($_(), L0.current = og, ng) {
          for (var n = ft.memoizedState; n !== null; ) {
            var o = n.queue;
            o !== null && (o.pending = null), n = n.next;
          }
          ng = !1;
        }
        if (ol = 0, Gt = Ft = ft = null, Nf = !1, Xf = 0, eP.current = null, r === null || r.return === null) {
          jt = 1, Zf = t, It = null;
          break;
        }
        e: {
          var i = e, s = r.return, l = r, u = t;
          if (t = sr, l.flags |= 32768, u !== null && typeof u == "object" && typeof u.then == "function") {
            var c = u, d = l, f = d.tag;
            if ((d.mode & 1) === 0 && (f === 0 || f === 11 || f === 15)) {
              var p = d.alternate;
              p ? (d.updateQueue = p.updateQueue, d.memoizedState = p.memoizedState, d.lanes = p.lanes) : (d.updateQueue = null, d.memoizedState =
              null);
            }
            var m = wL(s);
            if (m !== null) {
              m.flags &= -257, EL(m, s, l, i, t), m.mode & 1 && bL(i, c, t), t = m, u = c;
              var v = t.updateQueue;
              if (v === null) {
                var y = /* @__PURE__ */ new Set();
                y.add(u), t.updateQueue = y;
              } else v.add(u);
              break e;
            } else {
              if ((t & 1) === 0) {
                bL(i, c, t), aP();
                break e;
              }
              u = Error(W(426));
            }
          } else if (lt && l.mode & 1) {
            var b = wL(s);
            if (b !== null) {
              (b.flags & 65536) === 0 && (b.flags |= 256), EL(b, s, l, i, t), j_(Xu(u, l));
              break e;
            }
          }
          i = u = Xu(u, l), jt !== 4 && (jt = 2), kf === null ? kf = [i] : kf.push(i), i = s;
          do {
            switch (i.tag) {
              case 3:
                i.flags |= 65536, t &= -t, i.lanes |= t;
                var g = sq(i, u, t);
                pL(i, g);
                break e;
              case 1:
                l = u;
                var w = i.type, E = i.stateNode;
                if ((i.flags & 128) === 0 && (typeof w.getDerivedStateFromError == "function" || E !== null && typeof E.componentDidCatch ==
                "function" && (Mi === null || !Mi.has(E)))) {
                  i.flags |= 65536, t &= -t, i.lanes |= t;
                  var x = lq(i, l, t);
                  pL(i, x);
                  break e;
                }
            }
            i = i.return;
          } while (i !== null);
        }
        Pq(r);
      } catch (S) {
        t = S, It === r && r !== null && (It = r = r.return);
        continue;
      }
      break;
    } while (!0);
  }
  a(Sq, "Mk");
  function Cq() {
    var e = ag.current;
    return ag.current = og, e === null ? og : e;
  }
  a(Cq, "Jk");
  function aP() {
    (jt === 0 || jt === 3 || jt === 2) && (jt = 4), Yt === null || (al & 268435455) === 0 && (bg & 268435455) === 0 || Si(Yt, sr);
  }
  a(aP, "tj");
  function lg(e, t) {
    var r = Te;
    Te |= 2;
    var n = Cq();
    (Yt !== e || sr !== t) && (Na = null, el(e, t));
    do
      try {
        _ge();
        break;
      } catch (o) {
        Sq(e, o);
      }
    while (!0);
    if ($_(), Te = r, ag.current = n, It !== null) throw Error(W(261));
    return Yt = null, sr = 0, jt;
  }
  a(lg, "Ik");
  function _ge() {
    for (; It !== null; ) _q(It);
  }
  a(_ge, "Tk");
  function Pge() {
    for (; It !== null && !e0e(); ) _q(It);
  }
  a(Pge, "Lk");
  function _q(e) {
    var t = Aq(e.alternate, e, mn);
    e.memoizedProps = e.pendingProps, t === null ? Pq(e) : It = t, eP.current = null;
  }
  a(_q, "Uk");
  function Pq(e) {
    var t = e;
    do {
      var r = t.alternate;
      if (e = t.return, (t.flags & 32768) === 0) {
        if (r = bge(r, t, mn), r !== null) {
          It = r;
          return;
        }
      } else {
        if (r = wge(r, t), r !== null) {
          r.flags &= 32767, It = r;
          return;
        }
        if (e !== null) e.flags |= 32768, e.subtreeFlags = 0, e.deletions = null;
        else {
          jt = 6, It = null;
          return;
        }
      }
      if (t = t.sibling, t !== null) {
        It = t;
        return;
      }
      It = t = e;
    } while (t !== null);
    jt === 0 && (jt = 5);
  }
  a(Pq, "Sk");
  function Xs(e, t, r) {
    var n = Fe, o = jn.transition;
    try {
      jn.transition = null, Fe = 1, Tge(e, t, r, n);
    } finally {
      jn.transition = o, Fe = n;
    }
    return null;
  }
  a(Xs, "Pk");
  function Tge(e, t, r, n) {
    do
      Uu();
    while (_i !== null);
    if ((Te & 6) !== 0) throw Error(W(327));
    r = e.finishedWork;
    var o = e.finishedLanes;
    if (r === null) return null;
    if (e.finishedWork = null, e.finishedLanes = 0, r === e.current) throw Error(W(177));
    e.callbackNode = null, e.callbackPriority = 0;
    var i = r.lanes | r.childLanes;
    if (c0e(e, i), e === Yt && (It = Yt = null, sr = 0), (r.subtreeFlags & 2064) === 0 && (r.flags & 2064) === 0 || A0 || (A0 = !0, Oq(z0, function() {
      return Uu(), null;
    })), i = (r.flags & 15990) !== 0, (r.subtreeFlags & 15990) !== 0 || i) {
      i = jn.transition, jn.transition = null;
      var s = Fe;
      Fe = 1;
      var l = Te;
      Te |= 4, eP.current = null, Rge(e, r), Eq(r, e), X0e(JC), V0 = !!XC, JC = XC = null, e.current = r, xge(r, e, o), t0e(), Te = l, Fe = s,
      jn.transition = i;
    } else e.current = r;
    if (A0 && (A0 = !1, _i = e, sg = o), i = e.pendingLanes, i === 0 && (Mi = null), o0e(r.stateNode, n), Zr(e, St()), t !== null) for (n = e.
    onRecoverableError, r = 0; r < t.length; r++) o = t[r], n(o.value, { componentStack: o.stack, digest: o.digest });
    if (ig) throw ig = !1, e = y_, y_ = null, e;
    return (sg & 1) !== 0 && e.tag !== 0 && Uu(), i = e.pendingLanes, (i & 1) !== 0 ? e === v_ ? qf++ : (qf = 0, v_ = e) : qf = 0, ji(), null;
  }
  a(Tge, "Wk");
  function Uu() {
    if (_i !== null) {
      var e = sk(sg), t = jn.transition, r = Fe;
      try {
        if (jn.transition = null, Fe = 16 > e ? 16 : e, _i === null) var n = !1;
        else {
          if (e = _i, _i = null, sg = 0, (Te & 6) !== 0) throw Error(W(331));
          var o = Te;
          for (Te |= 4, ae = e.current; ae !== null; ) {
            var i = ae, s = i.child;
            if ((ae.flags & 16) !== 0) {
              var l = i.deletions;
              if (l !== null) {
                for (var u = 0; u < l.length; u++) {
                  var c = l[u];
                  for (ae = c; ae !== null; ) {
                    var d = ae;
                    switch (d.tag) {
                      case 0:
                      case 11:
                      case 15:
                        Lf(8, d, i);
                    }
                    var f = d.child;
                    if (f !== null) f.return = d, ae = f;
                    else for (; ae !== null; ) {
                      d = ae;
                      var p = d.sibling, m = d.return;
                      if (vq(d), d === c) {
                        ae = null;
                        break;
                      }
                      if (p !== null) {
                        p.return = m, ae = p;
                        break;
                      }
                      ae = m;
                    }
                  }
                }
                var v = i.alternate;
                if (v !== null) {
                  var y = v.child;
                  if (y !== null) {
                    v.child = null;
                    do {
                      var b = y.sibling;
                      y.sibling = null, y = b;
                    } while (y !== null);
                  }
                }
                ae = i;
              }
            }
            if ((i.subtreeFlags & 2064) !== 0 && s !== null) s.return = i, ae = s;
            else e: for (; ae !== null; ) {
              if (i = ae, (i.flags & 2048) !== 0) switch (i.tag) {
                case 0:
                case 11:
                case 15:
                  Lf(9, i, i.return);
              }
              var g = i.sibling;
              if (g !== null) {
                g.return = i.return, ae = g;
                break e;
              }
              ae = i.return;
            }
          }
          var w = e.current;
          for (ae = w; ae !== null; ) {
            s = ae;
            var E = s.child;
            if ((s.subtreeFlags & 2064) !== 0 && E !== null) E.return = s, ae = E;
            else e: for (s = w; ae !== null; ) {
              if (l = ae, (l.flags & 2048) !== 0) try {
                switch (l.tag) {
                  case 0:
                  case 11:
                  case 15:
                    vg(9, l);
                }
              } catch (S) {
                vt(l, l.return, S);
              }
              if (l === s) {
                ae = null;
                break e;
              }
              var x = l.sibling;
              if (x !== null) {
                x.return = l.return, ae = x;
                break e;
              }
              ae = l.return;
            }
          }
          if (Te = o, ji(), ua && typeof ua.onPostCommitFiberRoot == "function") try {
            ua.onPostCommitFiberRoot(cg, e);
          } catch {
          }
          n = !0;
        }
        return n;
      } finally {
        Fe = r, jn.transition = t;
      }
    }
    return !1;
  }
  a(Uu, "Hk");
  function LL(e, t, r) {
    t = Xu(r, t), t = sq(e, t, 1), e = Ii(e, t, 1), t = Nr(), e !== null && (ep(e, 1, t), Zr(e, t));
  }
  a(LL, "Xk");
  function vt(e, t, r) {
    if (e.tag === 3) LL(e, e, r);
    else for (; t !== null; ) {
      if (t.tag === 3) {
        LL(t, e, r);
        break;
      } else if (t.tag === 1) {
        var n = t.stateNode;
        if (typeof t.type.getDerivedStateFromError == "function" || typeof n.componentDidCatch == "function" && (Mi === null || !Mi.has(n))) {
          e = Xu(r, e), e = lq(t, e, 1), t = Ii(t, e, 1), e = Nr(), t !== null && (ep(t, 1, e), Zr(t, e));
          break;
        }
      }
      t = t.return;
    }
  }
  a(vt, "W");
  function Age(e, t, r) {
    var n = e.pingCache;
    n !== null && n.delete(t), t = Nr(), e.pingedLanes |= e.suspendedLanes & r, Yt === e && (sr & r) === r && (jt === 4 || jt === 3 && (sr &
    130023424) === sr && 500 > St() - rP ? el(e, 0) : tP |= r), Zr(e, t);
  }
  a(Age, "Ti");
  function Tq(e, t) {
    t === 0 && ((e.mode & 1) === 0 ? t = 1 : (t = h0, h0 <<= 1, (h0 & 130023424) === 0 && (h0 = 4194304)));
    var r = Nr();
    e = Ba(e, t), e !== null && (ep(e, t, r), Zr(e, r));
  }
  a(Tq, "Yk");
  function Oge(e) {
    var t = e.memoizedState, r = 0;
    t !== null && (r = t.retryLane), Tq(e, r);
  }
  a(Oge, "uj");
  function Ige(e, t) {
    var r = 0;
    switch (e.tag) {
      case 13:
        var n = e.stateNode, o = e.memoizedState;
        o !== null && (r = o.retryLane);
        break;
      case 19:
        n = e.stateNode;
        break;
      default:
        throw Error(W(314));
    }
    n !== null && n.delete(t), Tq(e, r);
  }
  a(Ige, "bk");
  var Aq;
  Aq = /* @__PURE__ */ a(function(e, t, r) {
    if (e !== null) if (e.memoizedProps !== t.pendingProps || Jr.current) Xr = !0;
    else {
      if ((e.lanes & r) === 0 && (t.flags & 128) === 0) return Xr = !1, vge(e, t, r);
      Xr = (e.flags & 131072) !== 0;
    }
    else Xr = !1, lt && (t.flags & 1048576) !== 0 && Nk(t, Q0, t.index);
    switch (t.lanes = 0, t.tag) {
      case 2:
        var n = t.type;
        q0(e, t), e = t.pendingProps;
        var o = Wu(t, xr.current);
        zu(t, r), o = K_(null, t, n, e, o, r);
        var i = X_();
        return t.flags |= 1, typeof o == "object" && o !== null && typeof o.render == "function" && o.$$typeof === void 0 ? (t.tag = 1, t.memoizedState =
        null, t.updateQueue = null, Qr(n) ? (i = !0, X0(t)) : i = !1, t.memoizedState = o.state !== null && o.state !== void 0 ? o.state : null,
        U_(t), o.updater = yg, t.stateNode = o, o._reactInternals = t, i_(t, n, e, r), t = u_(null, t, n, !0, i, r)) : (t.tag = 0, lt && i &&
        D_(t), Mr(null, t, o, r), t = t.child), t;
      case 16:
        n = t.elementType;
        e: {
          switch (q0(e, t), e = t.pendingProps, o = n._init, n = o(n._payload), t.type = n, o = t.tag = Nge(n), e = xo(n, e), o) {
            case 0:
              t = l_(null, t, n, e, r);
              break e;
            case 1:
              t = SL(null, t, n, e, r);
              break e;
            case 11:
              t = RL(null, t, n, e, r);
              break e;
            case 14:
              t = xL(null, t, n, xo(n.type, e), r);
              break e;
          }
          throw Error(W(
            306,
            n,
            ""
          ));
        }
        return t;
      case 0:
        return n = t.type, o = t.pendingProps, o = t.elementType === n ? o : xo(n, o), l_(e, t, n, o, r);
      case 1:
        return n = t.type, o = t.pendingProps, o = t.elementType === n ? o : xo(n, o), SL(e, t, n, o, r);
      case 3:
        e: {
          if (fq(t), e === null) throw Error(W(387));
          n = t.pendingProps, i = t.memoizedState, o = i.element, jk(e, t), tg(t, n, null, r);
          var s = t.memoizedState;
          if (n = s.element, i.isDehydrated) if (i = { element: n, isDehydrated: !1, cache: s.cache, pendingSuspenseBoundaries: s.pendingSuspenseBoundaries,
          transitions: s.transitions }, t.updateQueue.baseState = i, t.memoizedState = i, t.flags & 256) {
            o = Xu(Error(W(423)), t), t = CL(e, t, n, r, o);
            break e;
          } else if (n !== o) {
            o = Xu(Error(W(424)), t), t = CL(e, t, n, r, o);
            break e;
          } else for (hn = Oi(t.stateNode.containerInfo.firstChild), gn = t, lt = !0, Co = null, r = Dk(t, null, n, r), t.child = r; r; ) r.
          flags = r.flags & -3 | 4096, r = r.sibling;
          else {
            if (Gu(), n === o) {
              t = $a(e, t, r);
              break e;
            }
            Mr(e, t, n, r);
          }
          t = t.child;
        }
        return t;
      case 5:
        return Bk(t), e === null && n_(t), n = t.type, o = t.pendingProps, i = e !== null ? e.memoizedProps : null, s = o.children, QC(n, o) ?
        s = null : i !== null && QC(n, i) && (t.flags |= 32), dq(e, t), Mr(e, t, s, r), t.child;
      case 6:
        return e === null && n_(t), null;
      case 13:
        return pq(e, t, r);
      case 4:
        return V_(t, t.stateNode.containerInfo), n = t.pendingProps, e === null ? t.child = Yu(t, null, n, r) : Mr(e, t, n, r), t.child;
      case 11:
        return n = t.type, o = t.pendingProps, o = t.elementType === n ? o : xo(n, o), RL(e, t, n, o, r);
      case 7:
        return Mr(e, t, t.pendingProps, r), t.child;
      case 8:
        return Mr(e, t, t.pendingProps.children, r), t.child;
      case 12:
        return Mr(e, t, t.pendingProps.children, r), t.child;
      case 10:
        e: {
          if (n = t.type._context, o = t.pendingProps, i = t.memoizedProps, s = o.value, Ye(Z0, n._currentValue), n._currentValue = s, i !==
          null) if (To(i.value, s)) {
            if (i.children === o.children && !Jr.current) {
              t = $a(e, t, r);
              break e;
            }
          } else for (i = t.child, i !== null && (i.return = t); i !== null; ) {
            var l = i.dependencies;
            if (l !== null) {
              s = i.child;
              for (var u = l.firstContext; u !== null; ) {
                if (u.context === n) {
                  if (i.tag === 1) {
                    u = Da(-1, r & -r), u.tag = 2;
                    var c = i.updateQueue;
                    if (c !== null) {
                      c = c.shared;
                      var d = c.pending;
                      d === null ? u.next = u : (u.next = d.next, d.next = u), c.pending = u;
                    }
                  }
                  i.lanes |= r, u = i.alternate, u !== null && (u.lanes |= r), o_(
                    i.return,
                    r,
                    t
                  ), l.lanes |= r;
                  break;
                }
                u = u.next;
              }
            } else if (i.tag === 10) s = i.type === t.type ? null : i.child;
            else if (i.tag === 18) {
              if (s = i.return, s === null) throw Error(W(341));
              s.lanes |= r, l = s.alternate, l !== null && (l.lanes |= r), o_(s, r, t), s = i.sibling;
            } else s = i.child;
            if (s !== null) s.return = i;
            else for (s = i; s !== null; ) {
              if (s === t) {
                s = null;
                break;
              }
              if (i = s.sibling, i !== null) {
                i.return = s.return, s = i;
                break;
              }
              s = s.return;
            }
            i = s;
          }
          Mr(e, t, o.children, r), t = t.child;
        }
        return t;
      case 9:
        return o = t.type, n = t.pendingProps.children, zu(t, r), o = Bn(o), n = n(o), t.flags |= 1, Mr(e, t, n, r), t.child;
      case 14:
        return n = t.type, o = xo(n, t.pendingProps), o = xo(n.type, o), xL(e, t, n, o, r);
      case 15:
        return uq(e, t, t.type, t.pendingProps, r);
      case 17:
        return n = t.type, o = t.pendingProps, o = t.elementType === n ? o : xo(n, o), q0(e, t), t.tag = 1, Qr(n) ? (e = !0, X0(t)) : e = !1,
        zu(t, r), iq(t, n, o), i_(t, n, o, r), u_(null, t, n, !0, e, r);
      case 19:
        return mq(e, t, r);
      case 22:
        return cq(e, t, r);
    }
    throw Error(W(156, t.tag));
  }, "Vk");
  function Oq(e, t) {
    return nk(e, t);
  }
  a(Oq, "Fk");
  function Mge(e, t, r, n) {
    this.tag = e, this.key = r, this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null, this.index =
    0, this.ref = null, this.pendingProps = t, this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null, this.mode =
    n, this.subtreeFlags = this.flags = 0, this.deletions = null, this.childLanes = this.lanes = 0, this.alternate = null;
  }
  a(Mge, "$k");
  function Fn(e, t, r, n) {
    return new Mge(e, t, r, n);
  }
  a(Fn, "Bg");
  function iP(e) {
    return e = e.prototype, !(!e || !e.isReactComponent);
  }
  a(iP, "aj");
  function Nge(e) {
    if (typeof e == "function") return iP(e) ? 1 : 0;
    if (e != null) {
      if (e = e.$$typeof, e === C_) return 11;
      if (e === __) return 14;
    }
    return 2;
  }
  a(Nge, "Zk");
  function Li(e, t) {
    var r = e.alternate;
    return r === null ? (r = Fn(e.tag, t, e.key, e.mode), r.elementType = e.elementType, r.type = e.type, r.stateNode = e.stateNode, r.alternate =
    e, e.alternate = r) : (r.pendingProps = t, r.type = e.type, r.flags = 0, r.subtreeFlags = 0, r.deletions = null), r.flags = e.flags & 14680064,
    r.childLanes = e.childLanes, r.lanes = e.lanes, r.child = e.child, r.memoizedProps = e.memoizedProps, r.memoizedState = e.memoizedState,
    r.updateQueue = e.updateQueue, t = e.dependencies, r.dependencies = t === null ? null : { lanes: t.lanes, firstContext: t.firstContext },
    r.sibling = e.sibling, r.index = e.index, r.ref = e.ref, r;
  }
  a(Li, "Pg");
  function j0(e, t, r, n, o, i) {
    var s = 2;
    if (n = e, typeof e == "function") iP(e) && (s = 1);
    else if (typeof e == "string") s = 5;
    else e: switch (e) {
      case Tu:
        return tl(r.children, o, i, t);
      case S_:
        s = 8, o |= 8;
        break;
      case OC:
        return e = Fn(12, r, t, o | 2), e.elementType = OC, e.lanes = i, e;
      case IC:
        return e = Fn(13, r, t, o), e.elementType = IC, e.lanes = i, e;
      case MC:
        return e = Fn(19, r, t, o), e.elementType = MC, e.lanes = i, e;
      case BL:
        return wg(r, o, i, t);
      default:
        if (typeof e == "object" && e !== null) switch (e.$$typeof) {
          case FL:
            s = 10;
            break e;
          case jL:
            s = 9;
            break e;
          case C_:
            s = 11;
            break e;
          case __:
            s = 14;
            break e;
          case Ei:
            s = 16, n = null;
            break e;
        }
        throw Error(W(130, e == null ? e : typeof e, ""));
    }
    return t = Fn(s, r, t, o), t.elementType = e, t.type = n, t.lanes = i, t;
  }
  a(j0, "Rg");
  function tl(e, t, r, n) {
    return e = Fn(7, e, n, t), e.lanes = r, e;
  }
  a(tl, "Tg");
  function wg(e, t, r, n) {
    return e = Fn(22, e, n, t), e.elementType = BL, e.lanes = r, e.stateNode = { isHidden: !1 }, e;
  }
  a(wg, "pj");
  function PC(e, t, r) {
    return e = Fn(6, e, null, t), e.lanes = r, e;
  }
  a(PC, "Qg");
  function TC(e, t, r) {
    return t = Fn(4, e.children !== null ? e.children : [], e.key, t), t.lanes = r, t.stateNode = { containerInfo: e.containerInfo, pendingChildren: null,
    implementation: e.implementation }, t;
  }
  a(TC, "Sg");
  function Lge(e, t, r, n, o) {
    this.tag = t, this.containerInfo = e, this.finishedWork = this.pingCache = this.current = this.pendingChildren = null, this.timeoutHandle =
    -1, this.callbackNode = this.pendingContext = this.context = null, this.callbackPriority = 0, this.eventTimes = dC(0), this.expirationTimes =
    dC(-1), this.entangledLanes = this.finishedLanes = this.mutableReadLanes = this.expiredLanes = this.pingedLanes = this.suspendedLanes = this.
    pendingLanes = 0, this.entanglements = dC(0), this.identifierPrefix = n, this.onRecoverableError = o, this.mutableSourceEagerHydrationData =
    null;
  }
  a(Lge, "al");
  function sP(e, t, r, n, o, i, s, l, u) {
    return e = new Lge(e, t, r, l, u), t === 1 ? (t = 1, i === !0 && (t |= 8)) : t = 0, i = Fn(3, null, null, t), e.current = i, i.stateNode =
    e, i.memoizedState = { element: n, isDehydrated: r, cache: null, transitions: null, pendingSuspenseBoundaries: null }, U_(i), e;
  }
  a(sP, "bl");
  function kge(e, t, r) {
    var n = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
    return { $$typeof: Pu, key: n == null ? null : "" + n, children: e, containerInfo: t, implementation: r };
  }
  a(kge, "cl");
  function Iq(e) {
    if (!e) return qi;
    e = e._reactInternals;
    e: {
      if (ll(e) !== e || e.tag !== 1) throw Error(W(170));
      var t = e;
      do {
        switch (t.tag) {
          case 3:
            t = t.stateNode.context;
            break e;
          case 1:
            if (Qr(t.type)) {
              t = t.stateNode.__reactInternalMemoizedMergedChildContext;
              break e;
            }
        }
        t = t.return;
      } while (t !== null);
      throw Error(W(171));
    }
    if (e.tag === 1) {
      var r = e.type;
      if (Qr(r)) return Ik(e, r, t);
    }
    return t;
  }
  a(Iq, "dl");
  function Mq(e, t, r, n, o, i, s, l, u) {
    return e = sP(r, n, !0, e, o, i, s, l, u), e.context = Iq(null), r = e.current, n = Nr(), o = Ni(r), i = Da(n, o), i.callback = t ?? null,
    Ii(r, i, o), e.current.lanes = o, ep(e, o, n), Zr(e, n), e;
  }
  a(Mq, "el");
  function Eg(e, t, r, n) {
    var o = t.current, i = Nr(), s = Ni(o);
    return r = Iq(r), t.context === null ? t.context = r : t.pendingContext = r, t = Da(i, s), t.payload = { element: e }, n = n === void 0 ?
    null : n, n !== null && (t.callback = n), e = Ii(o, t, s), e !== null && (Po(e, o, s, i), N0(e, o, s)), s;
  }
  a(Eg, "fl");
  function ug(e) {
    if (e = e.current, !e.child) return null;
    switch (e.child.tag) {
      case 5:
        return e.child.stateNode;
      default:
        return e.child.stateNode;
    }
  }
  a(ug, "gl");
  function kL(e, t) {
    if (e = e.memoizedState, e !== null && e.dehydrated !== null) {
      var r = e.retryLane;
      e.retryLane = r !== 0 && r < t ? r : t;
    }
  }
  a(kL, "hl");
  function lP(e, t) {
    kL(e, t), (e = e.alternate) && kL(e, t);
  }
  a(lP, "il");
  function qge() {
    return null;
  }
  a(qge, "jl");
  var Nq = typeof reportError == "function" ? reportError : function(e) {
    console.error(e);
  };
  function uP(e) {
    this._internalRoot = e;
  }
  a(uP, "ll");
  Rg.prototype.render = uP.prototype.render = function(e) {
    var t = this._internalRoot;
    if (t === null) throw Error(W(409));
    Eg(e, t, null, null);
  };
  Rg.prototype.unmount = uP.prototype.unmount = function() {
    var e = this._internalRoot;
    if (e !== null) {
      this._internalRoot = null;
      var t = e.containerInfo;
      il(function() {
        Eg(null, e, null, null);
      }), t[ja] = null;
    }
  };
  function Rg(e) {
    this._internalRoot = e;
  }
  a(Rg, "ml");
  Rg.prototype.unstable_scheduleHydration = function(e) {
    if (e) {
      var t = ck();
      e = { blockedOn: null, target: e, priority: t };
      for (var r = 0; r < xi.length && t !== 0 && t < xi[r].priority; r++) ;
      xi.splice(r, 0, e), r === 0 && fk(e);
    }
  };
  function cP(e) {
    return !(!e || e.nodeType !== 1 && e.nodeType !== 9 && e.nodeType !== 11);
  }
  a(cP, "nl");
  function xg(e) {
    return !(!e || e.nodeType !== 1 && e.nodeType !== 9 && e.nodeType !== 11 && (e.nodeType !== 8 || e.nodeValue !== " react-mount-point-uns\
table "));
  }
  a(xg, "ol");
  function qL() {
  }
  a(qL, "pl");
  function Dge(e, t, r, n, o) {
    if (o) {
      if (typeof n == "function") {
        var i = n;
        n = /* @__PURE__ */ a(function() {
          var c = ug(s);
          i.call(c);
        }, "d");
      }
      var s = Mq(t, n, e, 0, null, !1, !1, "", qL);
      return e._reactRootContainer = s, e[ja] = s.current, Vf(e.nodeType === 8 ? e.parentNode : e), il(), s;
    }
    for (; o = e.lastChild; ) e.removeChild(o);
    if (typeof n == "function") {
      var l = n;
      n = /* @__PURE__ */ a(function() {
        var c = ug(u);
        l.call(c);
      }, "d");
    }
    var u = sP(e, 0, !1, null, null, !1, !1, "", qL);
    return e._reactRootContainer = u, e[ja] = u.current, Vf(e.nodeType === 8 ? e.parentNode : e), il(function() {
      Eg(t, u, r, n);
    }), u;
  }
  a(Dge, "ql");
  function Sg(e, t, r, n, o) {
    var i = r._reactRootContainer;
    if (i) {
      var s = i;
      if (typeof o == "function") {
        var l = o;
        o = /* @__PURE__ */ a(function() {
          var u = ug(s);
          l.call(u);
        }, "e");
      }
      Eg(t, s, e, o);
    } else s = Dge(r, t, e, o, n);
    return ug(s);
  }
  a(Sg, "rl");
  lk = /* @__PURE__ */ a(function(e) {
    switch (e.tag) {
      case 3:
        var t = e.stateNode;
        if (t.current.memoizedState.isDehydrated) {
          var r = _f(t.pendingLanes);
          r !== 0 && (A_(t, r | 1), Zr(t, St()), (Te & 6) === 0 && (Ju = St() + 500, ji()));
        }
        break;
      case 13:
        il(function() {
          var n = Ba(e, 1);
          if (n !== null) {
            var o = Nr();
            Po(n, e, 1, o);
          }
        }), lP(e, 1);
    }
  }, "Ec");
  O_ = /* @__PURE__ */ a(function(e) {
    if (e.tag === 13) {
      var t = Ba(e, 134217728);
      if (t !== null) {
        var r = Nr();
        Po(t, e, 134217728, r);
      }
      lP(e, 134217728);
    }
  }, "Fc");
  uk = /* @__PURE__ */ a(function(e) {
    if (e.tag === 13) {
      var t = Ni(e), r = Ba(e, t);
      if (r !== null) {
        var n = Nr();
        Po(r, e, t, n);
      }
      lP(e, t);
    }
  }, "Gc");
  ck = /* @__PURE__ */ a(function() {
    return Fe;
  }, "Hc");
  dk = /* @__PURE__ */ a(function(e, t) {
    var r = Fe;
    try {
      return Fe = e, t();
    } finally {
      Fe = r;
    }
  }, "Ic");
  HC = /* @__PURE__ */ a(function(e, t, r) {
    switch (t) {
      case "input":
        if (kC(e, r), t = r.name, r.type === "radio" && t != null) {
          for (r = e; r.parentNode; ) r = r.parentNode;
          for (r = r.querySelectorAll("input[name=" + JSON.stringify("" + t) + '][type="radio"]'), t = 0; t < r.length; t++) {
            var n = r[t];
            if (n !== e && n.form === e.form) {
              var o = mg(n);
              if (!o) throw Error(W(90));
              HL(n), kC(n, o);
            }
          }
        }
        break;
      case "textarea":
        UL(e, r);
        break;
      case "select":
        t = r.value, t != null && ju(e, !!r.multiple, t, !1);
    }
  }, "yb");
  JL = nP;
  QL = il;
  var Fge = { usingClientEntryPoint: !1, Events: [rp, Mu, mg, KL, XL, nP] }, Rf = { findFiberByHostInstance: Js, bundleType: 0, version: "18\
.3.1", rendererPackageName: "react-dom" }, jge = { bundleType: Rf.bundleType, version: Rf.version, rendererPackageName: Rf.rendererPackageName,
  rendererConfig: Rf.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, overrideProps: null,
  overridePropsDeletePath: null, overridePropsRenamePath: null, setErrorHandler: null, setSuspenseHandler: null, scheduleUpdate: null, currentDispatcherRef: Ha.
  ReactCurrentDispatcher, findHostInstanceByFiber: /* @__PURE__ */ a(function(e) {
    return e = tk(e), e === null ? null : e.stateNode;
  }, "findHostInstanceByFiber"), findFiberByHostInstance: Rf.findFiberByHostInstance || qge, findHostInstancesForRefresh: null, scheduleRefresh: null,
  scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, reconcilerVersion: "18.3.1-next-f1338f8080-20240426" };
  if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && (xf = __REACT_DEVTOOLS_GLOBAL_HOOK__, !xf.isDisabled && xf.supportsFiber))
    try {
      cg = xf.inject(jge), ua = xf;
    } catch {
    }
  var xf;
  bn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Fge;
  bn.createPortal = function(e, t) {
    var r = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
    if (!cP(t)) throw Error(W(200));
    return kge(e, t, null, r);
  };
  bn.createRoot = function(e, t) {
    if (!cP(e)) throw Error(W(299));
    var r = !1, n = "", o = Nq;
    return t != null && (t.unstable_strictMode === !0 && (r = !0), t.identifierPrefix !== void 0 && (n = t.identifierPrefix), t.onRecoverableError !==
    void 0 && (o = t.onRecoverableError)), t = sP(e, 1, !1, null, null, r, !1, n, o), e[ja] = t.current, Vf(e.nodeType === 8 ? e.parentNode :
    e), new uP(t);
  };
  bn.findDOMNode = function(e) {
    if (e == null) return null;
    if (e.nodeType === 1) return e;
    var t = e._reactInternals;
    if (t === void 0)
      throw typeof e.render == "function" ? Error(W(188)) : (e = Object.keys(e).join(","), Error(W(268, e)));
    return e = tk(t), e = e === null ? null : e.stateNode, e;
  };
  bn.flushSync = function(e) {
    return il(e);
  };
  bn.hydrate = function(e, t, r) {
    if (!xg(t)) throw Error(W(200));
    return Sg(null, e, t, !0, r);
  };
  bn.hydrateRoot = function(e, t, r) {
    if (!cP(e)) throw Error(W(405));
    var n = r != null && r.hydratedSources || null, o = !1, i = "", s = Nq;
    if (r != null && (r.unstable_strictMode === !0 && (o = !0), r.identifierPrefix !== void 0 && (i = r.identifierPrefix), r.onRecoverableError !==
    void 0 && (s = r.onRecoverableError)), t = Mq(t, null, e, 1, r ?? null, o, !1, i, s), e[ja] = t.current, Vf(e), n) for (e = 0; e < n.length; e++)
     r = n[e], o = r._getVersion, o = o(r._source), t.mutableSourceEagerHydrationData == null ? t.mutableSourceEagerHydrationData = [r, o] :
    t.mutableSourceEagerHydrationData.push(
      r,
      o
    );
    return new Rg(t);
  };
  bn.render = function(e, t, r) {
    if (!xg(t)) throw Error(W(200));
    return Sg(null, e, t, !1, r);
  };
  bn.unmountComponentAtNode = function(e) {
    if (!xg(e)) throw Error(W(40));
    return e._reactRootContainer ? (il(function() {
      Sg(null, null, e, !1, function() {
        e._reactRootContainer = null, e[ja] = null;
      });
    }), !0) : !1;
  };
  bn.unstable_batchedUpdates = nP;
  bn.unstable_renderSubtreeIntoContainer = function(e, t, r, n) {
    if (!xg(r)) throw Error(W(200));
    if (e == null || e._reactInternals === void 0) throw Error(W(38));
    return Sg(e, t, r, !1, n);
  };
  bn.version = "18.3.1-next-f1338f8080-20240426";
});

// ../node_modules/react-dom/index.js
var za = R((ult, qq) => {
  "use strict";
  function kq() {
    if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function"))
      try {
        __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(kq);
      } catch (e) {
        console.error(e);
      }
  }
  a(kq, "checkDCE");
  kq(), qq.exports = Lq();
});

// ../node_modules/react-dom/client.js
var Fq = R((dP) => {
  "use strict";
  var Dq = za();
  dP.createRoot = Dq.createRoot, dP.hydrateRoot = Dq.hydrateRoot;
  var dlt;
});

// ../node_modules/@storybook/global/dist/index.mjs
var Z, Ct = k(() => {
  Z = (() => {
    let e;
    return typeof window < "u" ? e = window : typeof globalThis < "u" ? e = globalThis : typeof global < "u" ? e = global : typeof self < "u" ?
    e = self : e = {}, e;
  })();
});

// ../node_modules/ts-dedent/esm/index.js
function _t(e) {
  for (var t = [], r = 1; r < arguments.length; r++)
    t[r - 1] = arguments[r];
  var n = Array.from(typeof e == "string" ? [e] : e);
  n[n.length - 1] = n[n.length - 1].replace(/\r?\n([\t ]*)$/, "");
  var o = n.reduce(function(l, u) {
    var c = u.match(/\n([\t ]+|(?!\s).)/g);
    return c ? l.concat(c.map(function(d) {
      var f, p;
      return (p = (f = d.match(/[\t ]/g)) === null || f === void 0 ? void 0 : f.length) !== null && p !== void 0 ? p : 0;
    })) : l;
  }, []);
  if (o.length) {
    var i = new RegExp(`
[	 ]{` + Math.min.apply(Math, o) + "}", "g");
    n = n.map(function(l) {
      return l.replace(i, `
`);
    });
  }
  n[0] = n[0].replace(/^\r?\n/, "");
  var s = n[0];
  return t.forEach(function(l, u) {
    var c = s.match(/(?:^|\n)( *)$/), d = c ? c[1] : "", f = l;
    typeof l == "string" && l.includes(`
`) && (f = String(l).split(`
`).map(function(p, m) {
      return m === 0 ? p : "" + d + p;
    }).join(`
`)), s += f + n[u + 1];
  }), s;
}
var Cg, Ao = k(() => {
  a(_t, "dedent");
  Cg = _t;
});

// src/client-logger/index.ts
var hP = {};
_e(hP, {
  deprecate: () => Vge,
  logger: () => Ve,
  once: () => Pt,
  pretty: () => en
});
var zge, Bi, Uge, ec, Ve, mP, Pt, Vge, en, kr = k(() => {
  "use strict";
  Ct();
  ({ LOGLEVEL: zge } = Z), Bi = {
    trace: 1,
    debug: 2,
    info: 3,
    warn: 4,
    error: 5,
    silent: 10
  }, Uge = zge, ec = Bi[Uge] || Bi.info, Ve = {
    trace: /* @__PURE__ */ a((e, ...t) => {
      ec <= Bi.trace && console.trace(e, ...t);
    }, "trace"),
    debug: /* @__PURE__ */ a((e, ...t) => {
      ec <= Bi.debug && console.debug(e, ...t);
    }, "debug"),
    info: /* @__PURE__ */ a((e, ...t) => {
      ec <= Bi.info && console.info(e, ...t);
    }, "info"),
    warn: /* @__PURE__ */ a((e, ...t) => {
      ec <= Bi.warn && console.warn(e, ...t);
    }, "warn"),
    error: /* @__PURE__ */ a((e, ...t) => {
      ec <= Bi.error && console.error(e, ...t);
    }, "error"),
    log: /* @__PURE__ */ a((e, ...t) => {
      ec < Bi.silent && console.log(e, ...t);
    }, "log")
  }, mP = /* @__PURE__ */ new Set(), Pt = /* @__PURE__ */ a((e) => (t, ...r) => {
    if (!mP.has(t))
      return mP.add(t), Ve[e](t, ...r);
  }, "once");
  Pt.clear = () => mP.clear();
  Pt.trace = Pt("trace");
  Pt.debug = Pt("debug");
  Pt.info = Pt("info");
  Pt.warn = Pt("warn");
  Pt.error = Pt("error");
  Pt.log = Pt("log");
  Vge = Pt("warn"), en = /* @__PURE__ */ a((e) => (...t) => {
    let r = [];
    if (t.length) {
      let n = /<span\s+style=(['"])([^'"]*)\1\s*>/gi, o = /<\/span>/gi, i;
      for (r.push(t[0].replace(n, "%c").replace(o, "%c")); i = n.exec(t[0]); )
        r.push(i[2]), r.push("");
      for (let s = 1; s < t.length; s++)
        r.push(t[s]);
    }
    Ve[e].apply(Ve, r);
  }, "pretty");
  en.trace = en("trace");
  en.debug = en("debug");
  en.info = en("info");
  en.warn = en("warn");
  en.error = en("error");
});

// ../node_modules/@babel/runtime/helpers/esm/extends.js
function Ie() {
  return Ie = Object.assign ? Object.assign.bind() : function(e) {
    for (var t = 1; t < arguments.length; t++) {
      var r = arguments[t];
      for (var n in r) ({}).hasOwnProperty.call(r, n) && (e[n] = r[n]);
    }
    return e;
  }, Ie.apply(null, arguments);
}
var Ua = k(() => {
  a(Ie, "_extends");
});

// ../node_modules/@emotion/sheet/dist/emotion-sheet.esm.js
function tbe(e) {
  if (e.sheet)
    return e.sheet;
  for (var t = 0; t < document.styleSheets.length; t++)
    if (document.styleSheets[t].ownerNode === e)
      return document.styleSheets[t];
}
function rbe(e) {
  var t = document.createElement("style");
  return t.setAttribute("data-emotion", e.key), e.nonce !== void 0 && t.setAttribute("nonce", e.nonce), t.appendChild(document.createTextNode(
  "")), t.setAttribute("data-s", ""), t;
}
var ebe, fD, pD = k(() => {
  ebe = !1;
  a(tbe, "sheetForTag");
  a(rbe, "createStyleElement");
  fD = /* @__PURE__ */ function() {
    function e(r) {
      var n = this;
      this._insertTag = function(o) {
        var i;
        n.tags.length === 0 ? n.insertionPoint ? i = n.insertionPoint.nextSibling : n.prepend ? i = n.container.firstChild : i = n.before : i =
        n.tags[n.tags.length - 1].nextSibling, n.container.insertBefore(o, i), n.tags.push(o);
      }, this.isSpeedy = r.speedy === void 0 ? !ebe : r.speedy, this.tags = [], this.ctr = 0, this.nonce = r.nonce, this.key = r.key, this.container =
      r.container, this.prepend = r.prepend, this.insertionPoint = r.insertionPoint, this.before = null;
    }
    a(e, "StyleSheet");
    var t = e.prototype;
    return t.hydrate = /* @__PURE__ */ a(function(n) {
      n.forEach(this._insertTag);
    }, "hydrate"), t.insert = /* @__PURE__ */ a(function(n) {
      this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(rbe(this));
      var o = this.tags[this.tags.length - 1];
      if (this.isSpeedy) {
        var i = tbe(o);
        try {
          i.insertRule(n, i.cssRules.length);
        } catch {
        }
      } else
        o.appendChild(document.createTextNode(n));
      this.ctr++;
    }, "insert"), t.flush = /* @__PURE__ */ a(function() {
      this.tags.forEach(function(n) {
        var o;
        return (o = n.parentNode) == null ? void 0 : o.removeChild(n);
      }), this.tags = [], this.ctr = 0;
    }, "flush"), e;
  }();
});

// ../node_modules/stylis/src/Enum.js
var cr, lp, Me, Og, uc, cc, mD, Ig, hD, Mg = k(() => {
  cr = "-ms-", lp = "-moz-", Me = "-webkit-", Og = "comm", uc = "rule", cc = "decl", mD = "@import", Ig = "@keyframes", hD = "@layer";
});

// ../node_modules/stylis/src/Utility.js
function vD(e, t) {
  return Tt(e, 0) ^ 45 ? (((t << 2 ^ Tt(e, 0)) << 2 ^ Tt(e, 1)) << 2 ^ Tt(e, 2)) << 2 ^ Tt(e, 3) : 0;
}
function Ng(e) {
  return e.trim();
}
function LP(e, t) {
  return (e = t.exec(e)) ? e[0] : e;
}
function Pe(e, t, r) {
  return e.replace(t, r);
}
function up(e, t) {
  return e.indexOf(t);
}
function Tt(e, t) {
  return e.charCodeAt(t) | 0;
}
function $i(e, t, r) {
  return e.slice(t, r);
}
function qr(e) {
  return e.length;
}
function dc(e) {
  return e.length;
}
function fc(e, t) {
  return t.push(e), e;
}
function kP(e, t) {
  return e.map(t).join("");
}
var gD, ul, yD, pc = k(() => {
  gD = Math.abs, ul = String.fromCharCode, yD = Object.assign;
  a(vD, "hash");
  a(Ng, "trim");
  a(LP, "match");
  a(Pe, "replace");
  a(up, "indexof");
  a(Tt, "charat");
  a($i, "substr");
  a(qr, "strlen");
  a(dc, "sizeof");
  a(fc, "append");
  a(kP, "combine");
});

// ../node_modules/stylis/src/Tokenizer.js
function cp(e, t, r, n, o, i, s) {
  return { value: e, root: t, parent: r, type: n, props: o, children: i, line: Lg, column: mc, length: s, return: "" };
}
function yc(e, t) {
  return yD(cp("", null, null, "", null, null, 0), e, { length: -e.length }, t);
}
function wD() {
  return Mt;
}
function ED() {
  return Mt = Dr > 0 ? Tt(gc, --Dr) : 0, mc--, Mt === 10 && (mc = 1, Lg--), Mt;
}
function Fr() {
  return Mt = Dr < bD ? Tt(gc, Dr++) : 0, mc++, Mt === 10 && (mc = 1, Lg++), Mt;
}
function zn() {
  return Tt(gc, Dr);
}
function dp() {
  return Dr;
}
function vc(e, t) {
  return $i(gc, e, t);
}
function hc(e) {
  switch (e) {
    // \0 \t \n \r \s whitespace token
    case 0:
    case 9:
    case 10:
    case 13:
    case 32:
      return 5;
    // ! + , / > @ ~ isolate token
    case 33:
    case 43:
    case 44:
    case 47:
    case 62:
    case 64:
    case 126:
    // ; { } breakpoint token
    case 59:
    case 123:
    case 125:
      return 4;
    // : accompanied token
    case 58:
      return 3;
    // " ' ( [ opening delimit token
    case 34:
    case 39:
    case 40:
    case 91:
      return 2;
    // ) ] closing delimit token
    case 41:
    case 93:
      return 1;
  }
  return 0;
}
function kg(e) {
  return Lg = mc = 1, bD = qr(gc = e), Dr = 0, [];
}
function qg(e) {
  return gc = "", e;
}
function bc(e) {
  return Ng(vc(Dr - 1, qP(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
}
function RD(e) {
  for (; (Mt = zn()) && Mt < 33; )
    Fr();
  return hc(e) > 2 || hc(Mt) > 3 ? "" : " ";
}
function xD(e, t) {
  for (; --t && Fr() && !(Mt < 48 || Mt > 102 || Mt > 57 && Mt < 65 || Mt > 70 && Mt < 97); )
    ;
  return vc(e, dp() + (t < 6 && zn() == 32 && Fr() == 32));
}
function qP(e) {
  for (; Fr(); )
    switch (Mt) {
      // ] ) " '
      case e:
        return Dr;
      // " '
      case 34:
      case 39:
        e !== 34 && e !== 39 && qP(Mt);
        break;
      // (
      case 40:
        e === 41 && qP(e);
        break;
      // \
      case 92:
        Fr();
        break;
    }
  return Dr;
}
function SD(e, t) {
  for (; Fr() && e + Mt !== 57; )
    if (e + Mt === 84 && zn() === 47)
      break;
  return "/*" + vc(t, Dr - 1) + "*" + ul(e === 47 ? e : Fr());
}
function CD(e) {
  for (; !hc(zn()); )
    Fr();
  return vc(e, Dr);
}
var Lg, mc, bD, Dr, Mt, gc, DP = k(() => {
  pc();
  Lg = 1, mc = 1, bD = 0, Dr = 0, Mt = 0, gc = "";
  a(cp, "node");
  a(yc, "copy");
  a(wD, "char");
  a(ED, "prev");
  a(Fr, "next");
  a(zn, "peek");
  a(dp, "caret");
  a(vc, "slice");
  a(hc, "token");
  a(kg, "alloc");
  a(qg, "dealloc");
  a(bc, "delimit");
  a(RD, "whitespace");
  a(xD, "escaping");
  a(qP, "delimiter");
  a(SD, "commenter");
  a(CD, "identifier");
});

// ../node_modules/stylis/src/Parser.js
function TD(e) {
  return qg(Dg("", null, null, null, [""], e = kg(e), 0, [0], e));
}
function Dg(e, t, r, n, o, i, s, l, u) {
  for (var c = 0, d = 0, f = s, p = 0, m = 0, v = 0, y = 1, b = 1, g = 1, w = 0, E = "", x = o, S = i, C = n, _ = E; b; )
    switch (v = w, w = Fr()) {
      // (
      case 40:
        if (v != 108 && Tt(_, f - 1) == 58) {
          up(_ += Pe(bc(w), "&", "&\f"), "&\f") != -1 && (g = -1);
          break;
        }
      // " ' [
      case 34:
      case 39:
      case 91:
        _ += bc(w);
        break;
      // \t \n \r \s
      case 9:
      case 10:
      case 13:
      case 32:
        _ += RD(v);
        break;
      // \
      case 92:
        _ += xD(dp() - 1, 7);
        continue;
      // /
      case 47:
        switch (zn()) {
          case 42:
          case 47:
            fc(nbe(SD(Fr(), dp()), t, r), u);
            break;
          default:
            _ += "/";
        }
        break;
      // {
      case 123 * y:
        l[c++] = qr(_) * g;
      // } ; \0
      case 125 * y:
      case 59:
      case 0:
        switch (w) {
          // \0 }
          case 0:
          case 125:
            b = 0;
          // ;
          case 59 + d:
            g == -1 && (_ = Pe(_, /\f/g, "")), m > 0 && qr(_) - f && fc(m > 32 ? PD(_ + ";", n, r, f - 1) : PD(Pe(_, " ", "") + ";", n, r, f -
            2), u);
            break;
          // @ ;
          case 59:
            _ += ";";
          // { rule/at-rule
          default:
            if (fc(C = _D(_, t, r, c, d, o, l, E, x = [], S = [], f), i), w === 123)
              if (d === 0)
                Dg(_, t, C, C, x, i, f, l, S);
              else
                switch (p === 99 && Tt(_, 3) === 110 ? 100 : p) {
                  // d l m s
                  case 100:
                  case 108:
                  case 109:
                  case 115:
                    Dg(e, C, C, n && fc(_D(e, C, C, 0, 0, o, l, E, o, x = [], f), S), o, S, f, l, n ? x : S);
                    break;
                  default:
                    Dg(_, C, C, C, [""], S, 0, l, S);
                }
        }
        c = d = m = 0, y = g = 1, E = _ = "", f = s;
        break;
      // :
      case 58:
        f = 1 + qr(_), m = v;
      default:
        if (y < 1) {
          if (w == 123)
            --y;
          else if (w == 125 && y++ == 0 && ED() == 125)
            continue;
        }
        switch (_ += ul(w), w * y) {
          // &
          case 38:
            g = d > 0 ? 1 : (_ += "\f", -1);
            break;
          // ,
          case 44:
            l[c++] = (qr(_) - 1) * g, g = 1;
            break;
          // @
          case 64:
            zn() === 45 && (_ += bc(Fr())), p = zn(), d = f = qr(E = _ += CD(dp())), w++;
            break;
          // -
          case 45:
            v === 45 && qr(_) == 2 && (y = 0);
        }
    }
  return i;
}
function _D(e, t, r, n, o, i, s, l, u, c, d) {
  for (var f = o - 1, p = o === 0 ? i : [""], m = dc(p), v = 0, y = 0, b = 0; v < n; ++v)
    for (var g = 0, w = $i(e, f + 1, f = gD(y = s[v])), E = e; g < m; ++g)
      (E = Ng(y > 0 ? p[g] + " " + w : Pe(w, /&\f/g, p[g]))) && (u[b++] = E);
  return cp(e, t, r, o === 0 ? uc : l, u, c, d);
}
function nbe(e, t, r) {
  return cp(e, t, r, Og, ul(wD()), $i(e, 2, -2), 0);
}
function PD(e, t, r, n) {
  return cp(e, t, r, cc, $i(e, 0, n), $i(e, n + 1, -1), n);
}
var AD = k(() => {
  Mg();
  pc();
  DP();
  a(TD, "compile");
  a(Dg, "parse");
  a(_D, "ruleset");
  a(nbe, "comment");
  a(PD, "declaration");
});

// ../node_modules/stylis/src/Prefixer.js
var OD = k(() => {
});

// ../node_modules/stylis/src/Serializer.js
function cl(e, t) {
  for (var r = "", n = dc(e), o = 0; o < n; o++)
    r += t(e[o], o, e, t) || "";
  return r;
}
function ID(e, t, r, n) {
  switch (e.type) {
    case hD:
      if (e.children.length) break;
    case mD:
    case cc:
      return e.return = e.return || e.value;
    case Og:
      return "";
    case Ig:
      return e.return = e.value + "{" + cl(e.children, n) + "}";
    case uc:
      e.value = e.props.join(",");
  }
  return qr(r = cl(e.children, n)) ? e.return = e.value + "{" + r + "}" : "";
}
var MD = k(() => {
  Mg();
  pc();
  a(cl, "serialize");
  a(ID, "stringify");
});

// ../node_modules/stylis/src/Middleware.js
function ND(e) {
  var t = dc(e);
  return function(r, n, o, i) {
    for (var s = "", l = 0; l < t; l++)
      s += e[l](r, n, o, i) || "";
    return s;
  };
}
function LD(e) {
  return function(t) {
    t.root || (t = t.return) && e(t);
  };
}
var kD = k(() => {
  pc();
  a(ND, "middleware");
  a(LD, "rulesheet");
});

// ../node_modules/stylis/index.js
var qD = k(() => {
  Mg();
  pc();
  AD();
  OD();
  DP();
  MD();
  kD();
});

// ../node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js
var FP, Fg = k(() => {
  FP = /* @__PURE__ */ a(function(t) {
    var r = /* @__PURE__ */ new WeakMap();
    return function(n) {
      if (r.has(n))
        return r.get(n);
      var o = t(n);
      return r.set(n, o), o;
    };
  }, "weakMemoize");
});

// ../node_modules/@emotion/memoize/dist/emotion-memoize.esm.js
function jg(e) {
  var t = /* @__PURE__ */ Object.create(null);
  return function(r) {
    return t[r] === void 0 && (t[r] = e(r)), t[r];
  };
}
var Bg = k(() => {
  a(jg, "memoize");
});

// ../node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js
function FD(e, t) {
  switch (vD(e, t)) {
    // color-adjust
    case 5103:
      return Me + "print-" + e + e;
    // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
    case 5737:
    case 4201:
    case 3177:
    case 3433:
    case 1641:
    case 4457:
    case 2921:
    // text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break
    case 5572:
    case 6356:
    case 5844:
    case 3191:
    case 6645:
    case 3005:
    // mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,
    case 6391:
    case 5879:
    case 5623:
    case 6135:
    case 4599:
    case 4855:
    // background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)
    case 4215:
    case 6389:
    case 5109:
    case 5365:
    case 5621:
    case 3829:
      return Me + e + e;
    // appearance, user-select, transform, hyphens, text-size-adjust
    case 5349:
    case 4246:
    case 4810:
    case 6968:
    case 2756:
      return Me + e + lp + e + cr + e + e;
    // flex, flex-direction
    case 6828:
    case 4268:
      return Me + e + cr + e + e;
    // order
    case 6165:
      return Me + e + cr + "flex-" + e + e;
    // align-items
    case 5187:
      return Me + e + Pe(e, /(\w+).+(:[^]+)/, Me + "box-$1$2" + cr + "flex-$1$2") + e;
    // align-self
    case 5443:
      return Me + e + cr + "flex-item-" + Pe(e, /flex-|-self/, "") + e;
    // align-content
    case 4675:
      return Me + e + cr + "flex-line-pack" + Pe(e, /align-content|flex-|-self/, "") + e;
    // flex-shrink
    case 5548:
      return Me + e + cr + Pe(e, "shrink", "negative") + e;
    // flex-basis
    case 5292:
      return Me + e + cr + Pe(e, "basis", "preferred-size") + e;
    // flex-grow
    case 6060:
      return Me + "box-" + Pe(e, "-grow", "") + Me + e + cr + Pe(e, "grow", "positive") + e;
    // transition
    case 4554:
      return Me + Pe(e, /([^-])(transform)/g, "$1" + Me + "$2") + e;
    // cursor
    case 6187:
      return Pe(Pe(Pe(e, /(zoom-|grab)/, Me + "$1"), /(image-set)/, Me + "$1"), e, "") + e;
    // background, background-image
    case 5495:
    case 3959:
      return Pe(e, /(image-set\([^]*)/, Me + "$1$`$1");
    // justify-content
    case 4968:
      return Pe(Pe(e, /(.+:)(flex-)?(.*)/, Me + "box-pack:$3" + cr + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + Me + e + e;
    // (margin|padding)-inline-(start|end)
    case 4095:
    case 3583:
    case 4068:
    case 2532:
      return Pe(e, /(.+)-inline(.+)/, Me + "$1$2") + e;
    // (min|max)?(width|height|inline-size|block-size)
    case 8116:
    case 7059:
    case 5753:
    case 5535:
    case 5445:
    case 5701:
    case 4933:
    case 4677:
    case 5533:
    case 5789:
    case 5021:
    case 4765:
      if (qr(e) - 1 - t > 6) switch (Tt(e, t + 1)) {
        // (m)ax-content, (m)in-content
        case 109:
          if (Tt(e, t + 4) !== 45) break;
        // (f)ill-available, (f)it-content
        case 102:
          return Pe(e, /(.+:)(.+)-([^]+)/, "$1" + Me + "$2-$3$1" + lp + (Tt(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
        // (s)tretch
        case 115:
          return ~up(e, "stretch") ? FD(Pe(e, "stretch", "fill-available"), t) + e : e;
      }
      break;
    // position: sticky
    case 4949:
      if (Tt(e, t + 1) !== 115) break;
    // display: (flex|inline-flex)
    case 6444:
      switch (Tt(e, qr(e) - 3 - (~up(e, "!important") && 10))) {
        // stic(k)y
        case 107:
          return Pe(e, ":", ":" + Me) + e;
        // (inline-)?fl(e)x
        case 101:
          return Pe(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + Me + (Tt(e, 14) === 45 ? "inline-" : "") + "box$3$1" + Me + "$2$3$1" + cr + "$2box$3") +
          e;
      }
      break;
    // writing-mode
    case 5936:
      switch (Tt(e, t + 11)) {
        // vertical-l(r)
        case 114:
          return Me + e + cr + Pe(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
        // vertical-r(l)
        case 108:
          return Me + e + cr + Pe(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
        // horizontal(-)tb
        case 45:
          return Me + e + cr + Pe(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
      }
      return Me + e + cr + e + e;
  }
  return e;
}
var obe, abe, ibe, DD, sbe, lbe, ube, cbe, $g, Hg = k(() => {
  pD();
  qD();
  Fg();
  Bg();
  obe = /* @__PURE__ */ a(function(t, r, n) {
    for (var o = 0, i = 0; o = i, i = zn(), o === 38 && i === 12 && (r[n] = 1), !hc(i); )
      Fr();
    return vc(t, Dr);
  }, "identifierWithPointTracking"), abe = /* @__PURE__ */ a(function(t, r) {
    var n = -1, o = 44;
    do
      switch (hc(o)) {
        case 0:
          o === 38 && zn() === 12 && (r[n] = 1), t[n] += obe(Dr - 1, r, n);
          break;
        case 2:
          t[n] += bc(o);
          break;
        case 4:
          if (o === 44) {
            t[++n] = zn() === 58 ? "&\f" : "", r[n] = t[n].length;
            break;
          }
        // fallthrough
        default:
          t[n] += ul(o);
      }
    while (o = Fr());
    return t;
  }, "toRules"), ibe = /* @__PURE__ */ a(function(t, r) {
    return qg(abe(kg(t), r));
  }, "getRules"), DD = /* @__PURE__ */ new WeakMap(), sbe = /* @__PURE__ */ a(function(t) {
    if (!(t.type !== "rule" || !t.parent || // positive .length indicates that this rule contains pseudo
    // negative .length indicates that this rule has been already prefixed
    t.length < 1)) {
      for (var r = t.value, n = t.parent, o = t.column === n.column && t.line === n.line; n.type !== "rule"; )
        if (n = n.parent, !n) return;
      if (!(t.props.length === 1 && r.charCodeAt(0) !== 58 && !DD.get(n)) && !o) {
        DD.set(t, !0);
        for (var i = [], s = ibe(r, i), l = n.props, u = 0, c = 0; u < s.length; u++)
          for (var d = 0; d < l.length; d++, c++)
            t.props[c] = i[u] ? s[u].replace(/&\f/g, l[d]) : l[d] + " " + s[u];
      }
    }
  }, "compat"), lbe = /* @__PURE__ */ a(function(t) {
    if (t.type === "decl") {
      var r = t.value;
      // charcode for l
      r.charCodeAt(0) === 108 && // charcode for b
      r.charCodeAt(2) === 98 && (t.return = "", t.value = "");
    }
  }, "removeLabel");
  a(FD, "prefix");
  ube = /* @__PURE__ */ a(function(t, r, n, o) {
    if (t.length > -1 && !t.return) switch (t.type) {
      case cc:
        t.return = FD(t.value, t.length);
        break;
      case Ig:
        return cl([yc(t, {
          value: Pe(t.value, "@", "@" + Me)
        })], o);
      case uc:
        if (t.length) return kP(t.props, function(i) {
          switch (LP(i, /(::plac\w+|:read-\w+)/)) {
            // :read-(only|write)
            case ":read-only":
            case ":read-write":
              return cl([yc(t, {
                props: [Pe(i, /:(read-\w+)/, ":" + lp + "$1")]
              })], o);
            // :placeholder
            case "::placeholder":
              return cl([yc(t, {
                props: [Pe(i, /:(plac\w+)/, ":" + Me + "input-$1")]
              }), yc(t, {
                props: [Pe(i, /:(plac\w+)/, ":" + lp + "$1")]
              }), yc(t, {
                props: [Pe(i, /:(plac\w+)/, cr + "input-$1")]
              })], o);
          }
          return "";
        });
    }
  }, "prefixer"), cbe = [ube], $g = /* @__PURE__ */ a(function(t) {
    var r = t.key;
    if (r === "css") {
      var n = document.querySelectorAll("style[data-emotion]:not([data-s])");
      Array.prototype.forEach.call(n, function(y) {
        var b = y.getAttribute("data-emotion");
        b.indexOf(" ") !== -1 && (document.head.appendChild(y), y.setAttribute("data-s", ""));
      });
    }
    var o = t.stylisPlugins || cbe, i = {}, s, l = [];
    s = t.container || document.head, Array.prototype.forEach.call(
      // this means we will ignore elements which don't have a space in them which
      // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
      document.querySelectorAll('style[data-emotion^="' + r + ' "]'),
      function(y) {
        for (var b = y.getAttribute("data-emotion").split(" "), g = 1; g < b.length; g++)
          i[b[g]] = !0;
        l.push(y);
      }
    );
    var u, c = [sbe, lbe];
    {
      var d, f = [ID, LD(function(y) {
        d.insert(y);
      })], p = ND(c.concat(o, f)), m = /* @__PURE__ */ a(function(b) {
        return cl(TD(b), p);
      }, "stylis");
      u = /* @__PURE__ */ a(function(b, g, w, E) {
        d = w, m(b ? b + "{" + g.styles + "}" : g.styles), E && (v.inserted[g.name] = !0);
      }, "insert");
    }
    var v = {
      key: r,
      sheet: new fD({
        key: r,
        container: s,
        nonce: t.nonce,
        speedy: t.speedy,
        prepend: t.prepend,
        insertionPoint: t.insertionPoint
      }),
      nonce: t.nonce,
      inserted: i,
      registered: {},
      insert: u
    };
    return v.sheet.hydrate(l), v;
  }, "createCache");
});

// ../node_modules/react-is/cjs/react-is.production.min.js
var BD = R((je) => {
  "use strict";
  var Kt = typeof Symbol == "function" && Symbol.for, jP = Kt ? Symbol.for("react.element") : 60103, BP = Kt ? Symbol.for("react.portal") : 60106,
  zg = Kt ? Symbol.for("react.fragment") : 60107, Ug = Kt ? Symbol.for("react.strict_mode") : 60108, Vg = Kt ? Symbol.for("react.profiler") :
  60114, Wg = Kt ? Symbol.for("react.provider") : 60109, Gg = Kt ? Symbol.for("react.context") : 60110, $P = Kt ? Symbol.for("react.async_mo\
de") : 60111, Yg = Kt ? Symbol.for("react.concurrent_mode") : 60111, Kg = Kt ? Symbol.for("react.forward_ref") : 60112, Xg = Kt ? Symbol.for(
  "react.suspense") : 60113, dbe = Kt ? Symbol.for("react.suspense_list") : 60120, Jg = Kt ? Symbol.for("react.memo") : 60115, Qg = Kt ? Symbol.
  for("react.lazy") : 60116, fbe = Kt ? Symbol.for("react.block") : 60121, pbe = Kt ? Symbol.for("react.fundamental") : 60117, mbe = Kt ? Symbol.
  for("react.responder") : 60118, hbe = Kt ? Symbol.for("react.scope") : 60119;
  function wn(e) {
    if (typeof e == "object" && e !== null) {
      var t = e.$$typeof;
      switch (t) {
        case jP:
          switch (e = e.type, e) {
            case $P:
            case Yg:
            case zg:
            case Vg:
            case Ug:
            case Xg:
              return e;
            default:
              switch (e = e && e.$$typeof, e) {
                case Gg:
                case Kg:
                case Qg:
                case Jg:
                case Wg:
                  return e;
                default:
                  return t;
              }
          }
        case BP:
          return t;
      }
    }
  }
  a(wn, "z");
  function jD(e) {
    return wn(e) === Yg;
  }
  a(jD, "A");
  je.AsyncMode = $P;
  je.ConcurrentMode = Yg;
  je.ContextConsumer = Gg;
  je.ContextProvider = Wg;
  je.Element = jP;
  je.ForwardRef = Kg;
  je.Fragment = zg;
  je.Lazy = Qg;
  je.Memo = Jg;
  je.Portal = BP;
  je.Profiler = Vg;
  je.StrictMode = Ug;
  je.Suspense = Xg;
  je.isAsyncMode = function(e) {
    return jD(e) || wn(e) === $P;
  };
  je.isConcurrentMode = jD;
  je.isContextConsumer = function(e) {
    return wn(e) === Gg;
  };
  je.isContextProvider = function(e) {
    return wn(e) === Wg;
  };
  je.isElement = function(e) {
    return typeof e == "object" && e !== null && e.$$typeof === jP;
  };
  je.isForwardRef = function(e) {
    return wn(e) === Kg;
  };
  je.isFragment = function(e) {
    return wn(e) === zg;
  };
  je.isLazy = function(e) {
    return wn(e) === Qg;
  };
  je.isMemo = function(e) {
    return wn(e) === Jg;
  };
  je.isPortal = function(e) {
    return wn(e) === BP;
  };
  je.isProfiler = function(e) {
    return wn(e) === Vg;
  };
  je.isStrictMode = function(e) {
    return wn(e) === Ug;
  };
  je.isSuspense = function(e) {
    return wn(e) === Xg;
  };
  je.isValidElementType = function(e) {
    return typeof e == "string" || typeof e == "function" || e === zg || e === Yg || e === Vg || e === Ug || e === Xg || e === dbe || typeof e ==
    "object" && e !== null && (e.$$typeof === Qg || e.$$typeof === Jg || e.$$typeof === Wg || e.$$typeof === Gg || e.$$typeof === Kg || e.$$typeof ===
    pbe || e.$$typeof === mbe || e.$$typeof === hbe || e.$$typeof === fbe);
  };
  je.typeOf = wn;
});

// ../node_modules/react-is/index.js
var HD = R((Yut, $D) => {
  "use strict";
  $D.exports = BD();
});

// ../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js
var UP = R((Kut, YD) => {
  "use strict";
  var HP = HD(), gbe = {
    childContextTypes: !0,
    contextType: !0,
    contextTypes: !0,
    defaultProps: !0,
    displayName: !0,
    getDefaultProps: !0,
    getDerivedStateFromError: !0,
    getDerivedStateFromProps: !0,
    mixins: !0,
    propTypes: !0,
    type: !0
  }, ybe = {
    name: !0,
    length: !0,
    prototype: !0,
    caller: !0,
    callee: !0,
    arguments: !0,
    arity: !0
  }, vbe = {
    $$typeof: !0,
    render: !0,
    defaultProps: !0,
    displayName: !0,
    propTypes: !0
  }, WD = {
    $$typeof: !0,
    compare: !0,
    defaultProps: !0,
    displayName: !0,
    propTypes: !0,
    type: !0
  }, zP = {};
  zP[HP.ForwardRef] = vbe;
  zP[HP.Memo] = WD;
  function zD(e) {
    return HP.isMemo(e) ? WD : zP[e.$$typeof] || gbe;
  }
  a(zD, "getStatics");
  var bbe = Object.defineProperty, wbe = Object.getOwnPropertyNames, UD = Object.getOwnPropertySymbols, Ebe = Object.getOwnPropertyDescriptor,
  Rbe = Object.getPrototypeOf, VD = Object.prototype;
  function GD(e, t, r) {
    if (typeof t != "string") {
      if (VD) {
        var n = Rbe(t);
        n && n !== VD && GD(e, n, r);
      }
      var o = wbe(t);
      UD && (o = o.concat(UD(t)));
      for (var i = zD(e), s = zD(t), l = 0; l < o.length; ++l) {
        var u = o[l];
        if (!ybe[u] && !(r && r[u]) && !(s && s[u]) && !(i && i[u])) {
          var c = Ebe(t, u);
          try {
            bbe(e, u, c);
          } catch {
          }
        }
      }
    }
    return e;
  }
  a(GD, "hoistNonReactStatics");
  YD.exports = GD;
});

// ../node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js
var KD, XD, JD = k(() => {
  KD = N(UP()), XD = /* @__PURE__ */ a(function(e, t) {
    return (0, KD.default)(e, t);
  }, "hoistNonReactStatics");
});

// ../node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js
function wc(e, t, r) {
  var n = "";
  return r.split(" ").forEach(function(o) {
    e[o] !== void 0 ? t.push(e[o] + ";") : o && (n += o + " ");
  }), n;
}
var xbe, dl, fl, fp = k(() => {
  xbe = !0;
  a(wc, "getRegisteredStyles");
  dl = /* @__PURE__ */ a(function(t, r, n) {
    var o = t.key + "-" + r.name;
    // we only need to add the styles to the registered cache if the
    // class name could be used further down
    // the tree but if it's a string tag, we know it won't
    // so we don't have to add it to registered cache.
    // this improves memory usage since we can avoid storing the whole style string
    (n === !1 || // we need to always store it if we're in compat mode and
    // in node since emotion-server relies on whether a style is in
    // the registered cache to know whether a style is global or not
    // also, note that this check will be dead code eliminated in the browser
    xbe === !1) && t.registered[o] === void 0 && (t.registered[o] = r.styles);
  }, "registerStyles"), fl = /* @__PURE__ */ a(function(t, r, n) {
    dl(t, r, n);
    var o = t.key + "-" + r.name;
    if (t.inserted[r.name] === void 0) {
      var i = r;
      do
        t.insert(r === i ? "." + o : "", i, t.sheet, !0), i = i.next;
      while (i !== void 0);
    }
  }, "insertStyles");
});

// ../node_modules/@emotion/hash/dist/emotion-hash.esm.js
function QD(e) {
  for (var t = 0, r, n = 0, o = e.length; o >= 4; ++n, o -= 4)
    r = e.charCodeAt(n) & 255 | (e.charCodeAt(++n) & 255) << 8 | (e.charCodeAt(++n) & 255) << 16 | (e.charCodeAt(++n) & 255) << 24, r = /* Math.imul(k, m): */
    (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), r ^= /* k >>> r: */
    r >>> 24, t = /* Math.imul(k, m): */
    (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
    (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
  switch (o) {
    case 3:
      t ^= (e.charCodeAt(n + 2) & 255) << 16;
    case 2:
      t ^= (e.charCodeAt(n + 1) & 255) << 8;
    case 1:
      t ^= e.charCodeAt(n) & 255, t = /* Math.imul(h, m): */
      (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
  }
  return t ^= t >>> 13, t = /* Math.imul(h, m): */
  (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), ((t ^ t >>> 15) >>> 0).toString(36);
}
var ZD = k(() => {
  a(QD, "murmur2");
});

// ../node_modules/@emotion/unitless/dist/emotion-unitless.esm.js
var eF, tF = k(() => {
  eF = {
    animationIterationCount: 1,
    aspectRatio: 1,
    borderImageOutset: 1,
    borderImageSlice: 1,
    borderImageWidth: 1,
    boxFlex: 1,
    boxFlexGroup: 1,
    boxOrdinalGroup: 1,
    columnCount: 1,
    columns: 1,
    flex: 1,
    flexGrow: 1,
    flexPositive: 1,
    flexShrink: 1,
    flexNegative: 1,
    flexOrder: 1,
    gridRow: 1,
    gridRowEnd: 1,
    gridRowSpan: 1,
    gridRowStart: 1,
    gridColumn: 1,
    gridColumnEnd: 1,
    gridColumnSpan: 1,
    gridColumnStart: 1,
    msGridRow: 1,
    msGridRowSpan: 1,
    msGridColumn: 1,
    msGridColumnSpan: 1,
    fontWeight: 1,
    lineHeight: 1,
    opacity: 1,
    order: 1,
    orphans: 1,
    scale: 1,
    tabSize: 1,
    widows: 1,
    zIndex: 1,
    zoom: 1,
    WebkitLineClamp: 1,
    // SVG-related properties
    fillOpacity: 1,
    floodOpacity: 1,
    stopOpacity: 1,
    strokeDasharray: 1,
    strokeDashoffset: 1,
    strokeMiterlimit: 1,
    strokeOpacity: 1,
    strokeWidth: 1
  };
});

// ../node_modules/@emotion/serialize/dist/emotion-serialize.esm.js
function pp(e, t, r) {
  if (r == null)
    return "";
  var n = r;
  if (n.__emotion_styles !== void 0)
    return n;
  switch (typeof r) {
    case "boolean":
      return "";
    case "object": {
      var o = r;
      if (o.anim === 1)
        return fa = {
          name: o.name,
          styles: o.styles,
          next: fa
        }, o.name;
      var i = r;
      if (i.styles !== void 0) {
        var s = i.next;
        if (s !== void 0)
          for (; s !== void 0; )
            fa = {
              name: s.name,
              styles: s.styles,
              next: fa
            }, s = s.next;
        var l = i.styles + ";";
        return l;
      }
      return Tbe(e, t, r);
    }
    case "function": {
      if (e !== void 0) {
        var u = fa, c = r(e);
        return fa = u, pp(e, t, c);
      }
      break;
    }
  }
  var d = r;
  if (t == null)
    return d;
  var f = t[d];
  return f !== void 0 ? f : d;
}
function Tbe(e, t, r) {
  var n = "";
  if (Array.isArray(r))
    for (var o = 0; o < r.length; o++)
      n += pp(e, t, r[o]) + ";";
  else
    for (var i in r) {
      var s = r[i];
      if (typeof s != "object") {
        var l = s;
        t != null && t[l] !== void 0 ? n += i + "{" + t[l] + "}" : rF(l) && (n += VP(i) + ":" + nF(i, l) + ";");
      } else {
        if (i === "NO_COMPONENT_SELECTOR" && Sbe)
          throw new Error(Pbe);
        if (Array.isArray(s) && typeof s[0] == "string" && (t == null || t[s[0]] === void 0))
          for (var u = 0; u < s.length; u++)
            rF(s[u]) && (n += VP(i) + ":" + nF(i, s[u]) + ";");
        else {
          var c = pp(e, t, s);
          switch (i) {
            case "animation":
            case "animationName": {
              n += VP(i) + ":" + c + ";";
              break;
            }
            default:
              n += i + "{" + c + "}";
          }
        }
      }
    }
  return n;
}
function Hi(e, t, r) {
  if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
    return e[0];
  var n = !0, o = "";
  fa = void 0;
  var i = e[0];
  if (i == null || i.raw === void 0)
    n = !1, o += pp(r, t, i);
  else {
    var s = i;
    o += s[0];
  }
  for (var l = 1; l < e.length; l++)
    if (o += pp(r, t, e[l]), n) {
      var u = i;
      o += u[l];
    }
  oF.lastIndex = 0;
  for (var c = "", d; (d = oF.exec(o)) !== null; )
    c += "-" + d[1];
  var f = QD(o) + c;
  return {
    name: f,
    styles: o,
    next: fa
  };
}
var Sbe, Cbe, _be, aF, rF, VP, nF, Pbe, oF, fa, mp = k(() => {
  ZD();
  tF();
  Bg();
  Sbe = !1, Cbe = /[A-Z]|^ms/g, _be = /_EMO_([^_]+?)_([^]*?)_EMO_/g, aF = /* @__PURE__ */ a(function(t) {
    return t.charCodeAt(1) === 45;
  }, "isCustomProperty"), rF = /* @__PURE__ */ a(function(t) {
    return t != null && typeof t != "boolean";
  }, "isProcessableValue"), VP = /* @__PURE__ */ jg(function(e) {
    return aF(e) ? e : e.replace(Cbe, "-$&").toLowerCase();
  }), nF = /* @__PURE__ */ a(function(t, r) {
    switch (t) {
      case "animation":
      case "animationName":
        if (typeof r == "string")
          return r.replace(_be, function(n, o, i) {
            return fa = {
              name: o,
              styles: i,
              next: fa
            }, o;
          });
    }
    return eF[t] !== 1 && !aF(t) && typeof r == "number" && r !== 0 ? r + "px" : r;
  }, "processStyleValue"), Pbe = "Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or\
 another Emotion-aware compiler transform.";
  a(pp, "handleInterpolation");
  a(Tbe, "createStringFromObject");
  oF = /label:\s*([^\s;{]+)\s*(;|$)/g;
  a(Hi, "serializeStyles");
});

// ../node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js
var hp, Abe, iF, Ec, WP, gp = k(() => {
  hp = N(H()), Abe = /* @__PURE__ */ a(function(t) {
    return t();
  }, "syncFallback"), iF = hp.useInsertionEffect ? hp.useInsertionEffect : !1, Ec = iF || Abe, WP = iF || hp.useLayoutEffect;
});

// ../node_modules/@emotion/react/dist/emotion-element-f0de968e.browser.esm.js
function JP(e) {
  var t = e.displayName || e.name || "Component", r = /* @__PURE__ */ Xt.forwardRef(/* @__PURE__ */ a(function(o, i) {
    var s = Xt.useContext(Oo);
    return /* @__PURE__ */ Xt.createElement(e, Ie({
      theme: s,
      ref: i
    }, o));
  }, "render"));
  return r.displayName = "WithTheme(" + t + ")", XD(r, e);
}
var Xt, Zg, e1, sF, YP, pl, Oo, KP, Obe, Ibe, XP, t1, GP, lF, Mbe, Nbe, uF, QP = k(() => {
  Xt = N(H()), Zg = N(H());
  Hg();
  Ua();
  Fg();
  JD();
  fp();
  mp();
  gp();
  e1 = !1, sF = /* @__PURE__ */ Xt.createContext(
    // we're doing this to avoid preconstruct's dead code elimination in this one case
    // because this module is primarily intended for the browser and node
    // but it's also required in react native and similar environments sometimes
    // and we could have a special build just for that
    // but this is much easier and the native packages
    // might use a different theme context in the future anyway
    typeof HTMLElement < "u" ? /* @__PURE__ */ $g({
      key: "css"
    }) : null
  ), YP = sF.Provider, pl = /* @__PURE__ */ a(function(t) {
    return /* @__PURE__ */ (0, Zg.forwardRef)(function(r, n) {
      var o = (0, Zg.useContext)(sF);
      return t(r, o, n);
    });
  }, "withEmotionCache"), Oo = /* @__PURE__ */ Xt.createContext({}), KP = /* @__PURE__ */ a(function() {
    return Xt.useContext(Oo);
  }, "useTheme"), Obe = /* @__PURE__ */ a(function(t, r) {
    if (typeof r == "function") {
      var n = r(t);
      return n;
    }
    return Ie({}, t, r);
  }, "getTheme"), Ibe = /* @__PURE__ */ FP(function(e) {
    return FP(function(t) {
      return Obe(e, t);
    });
  }), XP = /* @__PURE__ */ a(function(t) {
    var r = Xt.useContext(Oo);
    return t.theme !== r && (r = Ibe(r)(t.theme)), /* @__PURE__ */ Xt.createElement(Oo.Provider, {
      value: r
    }, t.children);
  }, "ThemeProvider");
  a(JP, "withTheme");
  t1 = {}.hasOwnProperty, GP = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", lF = /* @__PURE__ */ a(function(t, r) {
    var n = {};
    for (var o in r)
      t1.call(r, o) && (n[o] = r[o]);
    return n[GP] = t, n;
  }, "createEmotionProps"), Mbe = /* @__PURE__ */ a(function(t) {
    var r = t.cache, n = t.serialized, o = t.isStringTag;
    return dl(r, n, o), Ec(function() {
      return fl(r, n, o);
    }), null;
  }, "Insertion"), Nbe = /* @__PURE__ */ pl(function(e, t, r) {
    var n = e.css;
    typeof n == "string" && t.registered[n] !== void 0 && (n = t.registered[n]);
    var o = e[GP], i = [n], s = "";
    typeof e.className == "string" ? s = wc(t.registered, i, e.className) : e.className != null && (s = e.className + " ");
    var l = Hi(i, void 0, Xt.useContext(Oo));
    s += t.key + "-" + l.name;
    var u = {};
    for (var c in e)
      t1.call(e, c) && c !== "css" && c !== GP && !e1 && (u[c] = e[c]);
    return u.className = s, r && (u.ref = r), /* @__PURE__ */ Xt.createElement(Xt.Fragment, null, /* @__PURE__ */ Xt.createElement(Mbe, {
      cache: t,
      serialized: l,
      isStringTag: typeof o == "string"
    }), /* @__PURE__ */ Xt.createElement(o, u));
  }), uF = Nbe;
});

// ../node_modules/@emotion/react/dist/emotion-react.browser.esm.js
function Rc() {
  for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
    t[r] = arguments[r];
  return Hi(t);
}
function dr() {
  var e = Rc.apply(void 0, arguments), t = "animation-" + e.name;
  return {
    name: t,
    styles: "@keyframes " + t + "{" + e.styles + "}",
    anim: 1,
    toString: /* @__PURE__ */ a(function() {
      return "_EMO_" + this.name + "_" + this.styles + "_EMO_";
    }, "toString")
  };
}
function kbe(e, t, r) {
  var n = [], o = wc(e, n, r);
  return n.length < 2 ? r : o + t(n);
}
var Un, Tct, r1, cF, Lbe, qbe, dF, n1 = k(() => {
  QP();
  QP();
  Un = N(H());
  fp();
  gp();
  mp();
  Hg();
  Ua();
  Fg();
  Tct = N(UP()), r1 = /* @__PURE__ */ a(function(t, r) {
    var n = arguments;
    if (r == null || !t1.call(r, "css"))
      return Un.createElement.apply(void 0, n);
    var o = n.length, i = new Array(o);
    i[0] = uF, i[1] = lF(t, r);
    for (var s = 2; s < o; s++)
      i[s] = n[s];
    return Un.createElement.apply(null, i);
  }, "jsx");
  (function(e) {
    var t;
    t || (t = e.JSX || (e.JSX = {}));
  })(r1 || (r1 = {}));
  cF = /* @__PURE__ */ pl(function(e, t) {
    var r = e.styles, n = Hi([r], void 0, Un.useContext(Oo)), o = Un.useRef();
    return WP(function() {
      var i = t.key + "-global", s = new t.sheet.constructor({
        key: i,
        nonce: t.sheet.nonce,
        container: t.sheet.container,
        speedy: t.sheet.isSpeedy
      }), l = !1, u = document.querySelector('style[data-emotion="' + i + " " + n.name + '"]');
      return t.sheet.tags.length && (s.before = t.sheet.tags[0]), u !== null && (l = !0, u.setAttribute("data-emotion", i), s.hydrate([u])),
      o.current = [s, l], function() {
        s.flush();
      };
    }, [t]), WP(function() {
      var i = o.current, s = i[0], l = i[1];
      if (l) {
        i[1] = !1;
        return;
      }
      if (n.next !== void 0 && fl(t, n.next, !0), s.tags.length) {
        var u = s.tags[s.tags.length - 1].nextElementSibling;
        s.before = u, s.flush();
      }
      t.insert("", n, s, !1);
    }, [t, n.name]), null;
  });
  a(Rc, "css");
  a(dr, "keyframes");
  Lbe = /* @__PURE__ */ a(function e(t) {
    for (var r = t.length, n = 0, o = ""; n < r; n++) {
      var i = t[n];
      if (i != null) {
        var s = void 0;
        switch (typeof i) {
          case "boolean":
            break;
          case "object": {
            if (Array.isArray(i))
              s = e(i);
            else {
              s = "";
              for (var l in i)
                i[l] && l && (s && (s += " "), s += l);
            }
            break;
          }
          default:
            s = i;
        }
        s && (o && (o += " "), o += s);
      }
    }
    return o;
  }, "classnames");
  a(kbe, "merge");
  qbe = /* @__PURE__ */ a(function(t) {
    var r = t.cache, n = t.serializedArr;
    return Ec(function() {
      for (var o = 0; o < n.length; o++)
        fl(r, n[o], !1);
    }), null;
  }, "Insertion"), dF = /* @__PURE__ */ pl(function(e, t) {
    var r = !1, n = [], o = /* @__PURE__ */ a(function() {
      if (r && e1)
        throw new Error("css can only be used during render");
      for (var c = arguments.length, d = new Array(c), f = 0; f < c; f++)
        d[f] = arguments[f];
      var p = Hi(d, t.registered);
      return n.push(p), dl(t, p, !1), t.key + "-" + p.name;
    }, "css"), i = /* @__PURE__ */ a(function() {
      if (r && e1)
        throw new Error("cx can only be used during render");
      for (var c = arguments.length, d = new Array(c), f = 0; f < c; f++)
        d[f] = arguments[f];
      return kbe(t.registered, o, Lbe(d));
    }, "cx"), s = {
      css: o,
      cx: i,
      theme: Un.useContext(Oo)
    }, l = e.children(s);
    return r = !0, /* @__PURE__ */ Un.createElement(Un.Fragment, null, /* @__PURE__ */ Un.createElement(qbe, {
      cache: t,
      serializedArr: n
    }), l);
  });
});

// ../node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js
var Dbe, zi, o1 = k(() => {
  Bg();
  Dbe = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,
  zi = /* @__PURE__ */ jg(
    function(e) {
      return Dbe.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
    }
    /* Z+1 */
  );
});

// ../node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.esm.js
var Ui, Fbe, jbe, Bbe, fF, pF, $be, mF, hF = k(() => {
  Ua();
  n1();
  mp();
  gp();
  fp();
  Ui = N(H());
  o1();
  Fbe = !1, jbe = zi, Bbe = /* @__PURE__ */ a(function(t) {
    return t !== "theme";
  }, "testOmitPropsOnComponent"), fF = /* @__PURE__ */ a(function(t) {
    return typeof t == "string" && // 96 is one less than the char code
    // for "a" so this is checking that
    // it's a lowercase character
    t.charCodeAt(0) > 96 ? jbe : Bbe;
  }, "getDefaultShouldForwardProp"), pF = /* @__PURE__ */ a(function(t, r, n) {
    var o;
    if (r) {
      var i = r.shouldForwardProp;
      o = t.__emotion_forwardProp && i ? function(s) {
        return t.__emotion_forwardProp(s) && i(s);
      } : i;
    }
    return typeof o != "function" && n && (o = t.__emotion_forwardProp), o;
  }, "composeShouldForwardProps"), $be = /* @__PURE__ */ a(function(t) {
    var r = t.cache, n = t.serialized, o = t.isStringTag;
    return dl(r, n, o), Ec(function() {
      return fl(r, n, o);
    }), null;
  }, "Insertion"), mF = /* @__PURE__ */ a(function e(t, r) {
    var n = t.__emotion_real === t, o = n && t.__emotion_base || t, i, s;
    r !== void 0 && (i = r.label, s = r.target);
    var l = pF(t, r, n), u = l || fF(o), c = !u("as");
    return function() {
      var d = arguments, f = n && t.__emotion_styles !== void 0 ? t.__emotion_styles.slice(0) : [];
      if (i !== void 0 && f.push("label:" + i + ";"), d[0] == null || d[0].raw === void 0)
        f.push.apply(f, d);
      else {
        var p = d[0];
        f.push(p[0]);
        for (var m = d.length, v = 1; v < m; v++)
          f.push(d[v], p[v]);
      }
      var y = pl(function(b, g, w) {
        var E = c && b.as || o, x = "", S = [], C = b;
        if (b.theme == null) {
          C = {};
          for (var _ in b)
            C[_] = b[_];
          C.theme = Ui.useContext(Oo);
        }
        typeof b.className == "string" ? x = wc(g.registered, S, b.className) : b.className != null && (x = b.className + " ");
        var A = Hi(f.concat(S), g.registered, C);
        x += g.key + "-" + A.name, s !== void 0 && (x += " " + s);
        var O = c && l === void 0 ? fF(E) : u, q = {};
        for (var M in b)
          c && M === "as" || O(M) && (q[M] = b[M]);
        return q.className = x, w && (q.ref = w), /* @__PURE__ */ Ui.createElement(Ui.Fragment, null, /* @__PURE__ */ Ui.createElement($be, {
          cache: g,
          serialized: A,
          isStringTag: typeof E == "string"
        }), /* @__PURE__ */ Ui.createElement(E, q));
      });
      return y.displayName = i !== void 0 ? i : "Styled(" + (typeof o == "string" ? o : o.displayName || o.name || "Component") + ")", y.defaultProps =
      t.defaultProps, y.__emotion_real = y, y.__emotion_base = o, y.__emotion_styles = f, y.__emotion_forwardProp = l, Object.defineProperty(
      y, "toString", {
        value: /* @__PURE__ */ a(function() {
          return s === void 0 && Fbe ? "NO_COMPONENT_SELECTOR" : "." + s;
        }, "value")
      }), y.withComponent = function(b, g) {
        var w = e(b, Ie({}, r, g, {
          shouldForwardProp: pF(y, g, !0)
        }));
        return w.apply(void 0, f);
      }, y;
    };
  }, "createStyled");
});

// ../node_modules/@emotion/styled/dist/emotion-styled.browser.esm.js
var Gct, Hbe, L, gF = k(() => {
  hF();
  Ua();
  mp();
  gp();
  fp();
  Gct = N(H());
  o1();
  Hbe = [
    "a",
    "abbr",
    "address",
    "area",
    "article",
    "aside",
    "audio",
    "b",
    "base",
    "bdi",
    "bdo",
    "big",
    "blockquote",
    "body",
    "br",
    "button",
    "canvas",
    "caption",
    "cite",
    "code",
    "col",
    "colgroup",
    "data",
    "datalist",
    "dd",
    "del",
    "details",
    "dfn",
    "dialog",
    "div",
    "dl",
    "dt",
    "em",
    "embed",
    "fieldset",
    "figcaption",
    "figure",
    "footer",
    "form",
    "h1",
    "h2",
    "h3",
    "h4",
    "h5",
    "h6",
    "head",
    "header",
    "hgroup",
    "hr",
    "html",
    "i",
    "iframe",
    "img",
    "input",
    "ins",
    "kbd",
    "keygen",
    "label",
    "legend",
    "li",
    "link",
    "main",
    "map",
    "mark",
    "marquee",
    "menu",
    "menuitem",
    "meta",
    "meter",
    "nav",
    "noscript",
    "object",
    "ol",
    "optgroup",
    "option",
    "output",
    "p",
    "param",
    "picture",
    "pre",
    "progress",
    "q",
    "rp",
    "rt",
    "ruby",
    "s",
    "samp",
    "script",
    "section",
    "select",
    "small",
    "source",
    "span",
    "strong",
    "style",
    "sub",
    "summary",
    "sup",
    "table",
    "tbody",
    "td",
    "textarea",
    "tfoot",
    "th",
    "thead",
    "time",
    "title",
    "tr",
    "track",
    "u",
    "ul",
    "var",
    "video",
    "wbr",
    // SVG
    "circle",
    "clipPath",
    "defs",
    "ellipse",
    "foreignObject",
    "g",
    "image",
    "line",
    "linearGradient",
    "mask",
    "path",
    "pattern",
    "polygon",
    "polyline",
    "radialGradient",
    "rect",
    "stop",
    "svg",
    "text",
    "tspan"
  ], L = mF.bind(null);
  Hbe.forEach(function(e) {
    L[e] = L(e);
  });
});

// ../node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
function yF(e) {
  if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
  return e;
}
var vF = k(() => {
  a(yF, "_assertThisInitialized");
});

// ../node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
function Vi(e, t) {
  return Vi = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, n) {
    return r.__proto__ = n, r;
  }, Vi(e, t);
}
var a1 = k(() => {
  a(Vi, "_setPrototypeOf");
});

// ../node_modules/@babel/runtime/helpers/esm/inheritsLoose.js
function bF(e, t) {
  e.prototype = Object.create(t.prototype), e.prototype.constructor = e, Vi(e, t);
}
var wF = k(() => {
  a1();
  a(bF, "_inheritsLoose");
});

// ../node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
function i1(e) {
  return i1 = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) {
    return t.__proto__ || Object.getPrototypeOf(t);
  }, i1(e);
}
var EF = k(() => {
  a(i1, "_getPrototypeOf");
});

// ../node_modules/@babel/runtime/helpers/esm/isNativeFunction.js
function RF(e) {
  try {
    return Function.toString.call(e).indexOf("[native code]") !== -1;
  } catch {
    return typeof e == "function";
  }
}
var xF = k(() => {
  a(RF, "_isNativeFunction");
});

// ../node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js
function ZP() {
  try {
    var e = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
    }));
  } catch {
  }
  return (ZP = /* @__PURE__ */ a(function() {
    return !!e;
  }, "_isNativeReflectConstruct"))();
}
var SF = k(() => {
  a(ZP, "_isNativeReflectConstruct");
});

// ../node_modules/@babel/runtime/helpers/esm/construct.js
function CF(e, t, r) {
  if (ZP()) return Reflect.construct.apply(null, arguments);
  var n = [null];
  n.push.apply(n, t);
  var o = new (e.bind.apply(e, n))();
  return r && Vi(o, r.prototype), o;
}
var _F = k(() => {
  SF();
  a1();
  a(CF, "_construct");
});

// ../node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js
function s1(e) {
  var t = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
  return s1 = /* @__PURE__ */ a(function(n) {
    if (n === null || !RF(n)) return n;
    if (typeof n != "function") throw new TypeError("Super expression must either be null or a function");
    if (t !== void 0) {
      if (t.has(n)) return t.get(n);
      t.set(n, o);
    }
    function o() {
      return CF(n, arguments, i1(this).constructor);
    }
    return a(o, "Wrapper"), o.prototype = Object.create(n.prototype, {
      constructor: {
        value: o,
        enumerable: !1,
        writable: !0,
        configurable: !0
      }
    }), Vi(o, n);
  }, "_wrapNativeSuper"), s1(e);
}
var PF = k(() => {
  EF();
  a1();
  xF();
  _F();
  a(s1, "_wrapNativeSuper");
});

// ../node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js
var TF = k(() => {
});

// ../node_modules/polished/dist/polished.esm.js
function AF(e, t) {
  return e.substr(-t.length) === t;
}
function OF(e) {
  if (typeof e != "string") return e;
  var t = e.match(zbe);
  return t ? parseFloat(e) : e;
}
function e3(e) {
  return Math.round(e * 255);
}
function Vbe(e, t, r) {
  return e3(e) + "," + e3(t) + "," + e3(r);
}
function yp(e, t, r, n) {
  if (n === void 0 && (n = Vbe), t === 0)
    return n(r, r, r);
  var o = (e % 360 + 360) % 360 / 60, i = (1 - Math.abs(2 * r - 1)) * t, s = i * (1 - Math.abs(o % 2 - 1)), l = 0, u = 0, c = 0;
  o >= 0 && o < 1 ? (l = i, u = s) : o >= 1 && o < 2 ? (l = s, u = i) : o >= 2 && o < 3 ? (u = i, c = s) : o >= 3 && o < 4 ? (u = s, c = i) :
  o >= 4 && o < 5 ? (l = s, c = i) : o >= 5 && o < 6 && (l = i, c = s);
  var d = r - i / 2, f = l + d, p = u + d, m = c + d;
  return n(f, p, m);
}
function Wbe(e) {
  if (typeof e != "string") return e;
  var t = e.toLowerCase();
  return IF[t] ? "#" + IF[t] : e;
}
function xc(e) {
  if (typeof e != "string")
    throw new tn(3);
  var t = Wbe(e);
  if (t.match(Gbe))
    return {
      red: parseInt("" + t[1] + t[2], 16),
      green: parseInt("" + t[3] + t[4], 16),
      blue: parseInt("" + t[5] + t[6], 16)
    };
  if (t.match(Ybe)) {
    var r = parseFloat((parseInt("" + t[7] + t[8], 16) / 255).toFixed(2));
    return {
      red: parseInt("" + t[1] + t[2], 16),
      green: parseInt("" + t[3] + t[4], 16),
      blue: parseInt("" + t[5] + t[6], 16),
      alpha: r
    };
  }
  if (t.match(Kbe))
    return {
      red: parseInt("" + t[1] + t[1], 16),
      green: parseInt("" + t[2] + t[2], 16),
      blue: parseInt("" + t[3] + t[3], 16)
    };
  if (t.match(Xbe)) {
    var n = parseFloat((parseInt("" + t[4] + t[4], 16) / 255).toFixed(2));
    return {
      red: parseInt("" + t[1] + t[1], 16),
      green: parseInt("" + t[2] + t[2], 16),
      blue: parseInt("" + t[3] + t[3], 16),
      alpha: n
    };
  }
  var o = t3.exec(t);
  if (o)
    return {
      red: parseInt("" + o[1], 10),
      green: parseInt("" + o[2], 10),
      blue: parseInt("" + o[3], 10)
    };
  var i = Jbe.exec(t.substring(0, 50));
  if (i)
    return {
      red: parseInt("" + i[1], 10),
      green: parseInt("" + i[2], 10),
      blue: parseInt("" + i[3], 10),
      alpha: parseFloat("" + i[4]) > 1 ? parseFloat("" + i[4]) / 100 : parseFloat("" + i[4])
    };
  var s = Qbe.exec(t);
  if (s) {
    var l = parseInt("" + s[1], 10), u = parseInt("" + s[2], 10) / 100, c = parseInt("" + s[3], 10) / 100, d = "rgb(" + yp(l, u, c) + ")", f = t3.
    exec(d);
    if (!f)
      throw new tn(4, t, d);
    return {
      red: parseInt("" + f[1], 10),
      green: parseInt("" + f[2], 10),
      blue: parseInt("" + f[3], 10)
    };
  }
  var p = Zbe.exec(t.substring(0, 50));
  if (p) {
    var m = parseInt("" + p[1], 10), v = parseInt("" + p[2], 10) / 100, y = parseInt("" + p[3], 10) / 100, b = "rgb(" + yp(m, v, y) + ")", g = t3.
    exec(b);
    if (!g)
      throw new tn(4, t, b);
    return {
      red: parseInt("" + g[1], 10),
      green: parseInt("" + g[2], 10),
      blue: parseInt("" + g[3], 10),
      alpha: parseFloat("" + p[4]) > 1 ? parseFloat("" + p[4]) / 100 : parseFloat("" + p[4])
    };
  }
  throw new tn(5);
}
function e5e(e) {
  var t = e.red / 255, r = e.green / 255, n = e.blue / 255, o = Math.max(t, r, n), i = Math.min(t, r, n), s = (o + i) / 2;
  if (o === i)
    return e.alpha !== void 0 ? {
      hue: 0,
      saturation: 0,
      lightness: s,
      alpha: e.alpha
    } : {
      hue: 0,
      saturation: 0,
      lightness: s
    };
  var l, u = o - i, c = s > 0.5 ? u / (2 - o - i) : u / (o + i);
  switch (o) {
    case t:
      l = (r - n) / u + (r < n ? 6 : 0);
      break;
    case r:
      l = (n - t) / u + 2;
      break;
    default:
      l = (t - r) / u + 4;
      break;
  }
  return l *= 60, e.alpha !== void 0 ? {
    hue: l,
    saturation: c,
    lightness: s,
    alpha: e.alpha
  } : {
    hue: l,
    saturation: c,
    lightness: s
  };
}
function Wi(e) {
  return e5e(xc(e));
}
function ml(e) {
  var t = e.toString(16);
  return t.length === 1 ? "0" + t : t;
}
function r3(e) {
  return ml(Math.round(e * 255));
}
function r5e(e, t, r) {
  return n3("#" + r3(e) + r3(t) + r3(r));
}
function l1(e, t, r) {
  return yp(e, t, r, r5e);
}
function n5e(e, t, r) {
  if (typeof e == "number" && typeof t == "number" && typeof r == "number")
    return l1(e, t, r);
  if (typeof e == "object" && t === void 0 && r === void 0)
    return l1(e.hue, e.saturation, e.lightness);
  throw new tn(1);
}
function o5e(e, t, r, n) {
  if (typeof e == "number" && typeof t == "number" && typeof r == "number" && typeof n == "number")
    return n >= 1 ? l1(e, t, r) : "rgba(" + yp(e, t, r) + "," + n + ")";
  if (typeof e == "object" && t === void 0 && r === void 0 && n === void 0)
    return e.alpha >= 1 ? l1(e.hue, e.saturation, e.lightness) : "rgba(" + yp(e.hue, e.saturation, e.lightness) + "," + e.alpha + ")";
  throw new tn(2);
}
function o3(e, t, r) {
  if (typeof e == "number" && typeof t == "number" && typeof r == "number")
    return n3("#" + ml(e) + ml(t) + ml(r));
  if (typeof e == "object" && t === void 0 && r === void 0)
    return n3("#" + ml(e.red) + ml(e.green) + ml(e.blue));
  throw new tn(6);
}
function pa(e, t, r, n) {
  if (typeof e == "string" && typeof t == "number") {
    var o = xc(e);
    return "rgba(" + o.red + "," + o.green + "," + o.blue + "," + t + ")";
  } else {
    if (typeof e == "number" && typeof t == "number" && typeof r == "number" && typeof n == "number")
      return n >= 1 ? o3(e, t, r) : "rgba(" + e + "," + t + "," + r + "," + n + ")";
    if (typeof e == "object" && t === void 0 && r === void 0 && n === void 0)
      return e.alpha >= 1 ? o3(e.red, e.green, e.blue) : "rgba(" + e.red + "," + e.green + "," + e.blue + "," + e.alpha + ")";
  }
  throw new tn(7);
}
function Gi(e) {
  if (typeof e != "object") throw new tn(8);
  if (i5e(e)) return pa(e);
  if (a5e(e)) return o3(e);
  if (l5e(e)) return o5e(e);
  if (s5e(e)) return n5e(e);
  throw new tn(8);
}
function NF(e, t, r) {
  return /* @__PURE__ */ a(function() {
    var o = r.concat(Array.prototype.slice.call(arguments));
    return o.length >= t ? e.apply(this, o) : NF(e, t, o);
  }, "fn");
}
function En(e) {
  return NF(e, e.length, []);
}
function u5e(e, t) {
  if (t === "transparent") return t;
  var r = Wi(t);
  return Gi(Ie({}, r, {
    hue: r.hue + parseFloat(e)
  }));
}
function Sc(e, t, r) {
  return Math.max(e, Math.min(t, r));
}
function c5e(e, t) {
  if (t === "transparent") return t;
  var r = Wi(t);
  return Gi(Ie({}, r, {
    lightness: Sc(0, 1, r.lightness - parseFloat(e))
  }));
}
function f5e(e, t) {
  if (t === "transparent") return t;
  var r = Wi(t);
  return Gi(Ie({}, r, {
    saturation: Sc(0, 1, r.saturation - parseFloat(e))
  }));
}
function p5e(e, t) {
  if (t === "transparent") return t;
  var r = Wi(t);
  return Gi(Ie({}, r, {
    lightness: Sc(0, 1, r.lightness + parseFloat(e))
  }));
}
function h5e(e, t, r) {
  if (t === "transparent") return r;
  if (r === "transparent") return t;
  if (e === 0) return r;
  var n = xc(t), o = Ie({}, n, {
    alpha: typeof n.alpha == "number" ? n.alpha : 1
  }), i = xc(r), s = Ie({}, i, {
    alpha: typeof i.alpha == "number" ? i.alpha : 1
  }), l = o.alpha - s.alpha, u = parseFloat(e) * 2 - 1, c = u * l === -1 ? u : u + l, d = 1 + u * l, f = (c / d + 1) / 2, p = 1 - f, m = {
    red: Math.floor(o.red * f + s.red * p),
    green: Math.floor(o.green * f + s.green * p),
    blue: Math.floor(o.blue * f + s.blue * p),
    alpha: o.alpha * parseFloat(e) + s.alpha * (1 - parseFloat(e))
  };
  return pa(m);
}
function y5e(e, t) {
  if (t === "transparent") return t;
  var r = xc(t), n = typeof r.alpha == "number" ? r.alpha : 1, o = Ie({}, r, {
    alpha: Sc(0, 1, (n * 100 + parseFloat(e) * 100) / 100)
  });
  return pa(o);
}
function b5e(e, t) {
  if (t === "transparent") return t;
  var r = Wi(t);
  return Gi(Ie({}, r, {
    saturation: Sc(0, 1, r.saturation + parseFloat(e))
  }));
}
function w5e(e, t) {
  return t === "transparent" ? t : Gi(Ie({}, Wi(t), {
    hue: parseFloat(e)
  }));
}
function E5e(e, t) {
  return t === "transparent" ? t : Gi(Ie({}, Wi(t), {
    lightness: parseFloat(e)
  }));
}
function R5e(e, t) {
  return t === "transparent" ? t : Gi(Ie({}, Wi(t), {
    saturation: parseFloat(e)
  }));
}
function x5e(e, t) {
  return t === "transparent" ? t : LF(parseFloat(e), "rgb(0, 0, 0)", t);
}
function S5e(e, t) {
  return t === "transparent" ? t : LF(parseFloat(e), "rgb(255, 255, 255)", t);
}
function C5e(e, t) {
  if (t === "transparent") return t;
  var r = xc(t), n = typeof r.alpha == "number" ? r.alpha : 1, o = Ie({}, r, {
    alpha: Sc(0, 1, +(n * 100 - parseFloat(e) * 100).toFixed(2) / 100)
  });
  return pa(o);
}
var tn, zbe, Ube, MF, Pdt, Tdt, IF, Gbe, Ybe, Kbe, Xbe, t3, Jbe, Qbe, Zbe, t5e, n3, a5e, i5e, s5e, l5e, Adt, d5e, ma, Odt, m5e, vp, g5e, LF,
v5e, kF, Idt, Mdt, Ndt, Ldt, kdt, qdt, _5e, Jt, Va = k(() => {
  Ua();
  vF();
  wF();
  PF();
  TF();
  tn = /* @__PURE__ */ function(e) {
    bF(t, e);
    function t(r) {
      var n;
      if (1)
        n = e.call(this, "An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#" + r +
        " for more information.") || this;
      else
        for (var o, i, s; s < o; s++)
          ;
      return yF(n);
    }
    return a(t, "PolishedError"), t;
  }(/* @__PURE__ */ s1(Error));
  a(AF, "endsWith");
  zbe = /^([+-]?(?:\d+|\d*\.\d+))([a-z]*|%)$/;
  a(OF, "stripUnit");
  Ube = /* @__PURE__ */ a(function(t) {
    return function(r, n) {
      n === void 0 && (n = "16px");
      var o = r, i = n;
      if (typeof r == "string") {
        if (!AF(r, "px"))
          throw new tn(69, t, r);
        o = OF(r);
      }
      if (typeof n == "string") {
        if (!AF(n, "px"))
          throw new tn(70, t, n);
        i = OF(n);
      }
      if (typeof o == "string")
        throw new tn(71, r, t);
      if (typeof i == "string")
        throw new tn(72, n, t);
      return "" + o / i + t;
    };
  }, "pxtoFactory"), MF = Ube, Pdt = MF("em"), Tdt = MF("rem");
  a(e3, "colorToInt");
  a(Vbe, "convertToInt");
  a(yp, "hslToRgb");
  IF = {
    aliceblue: "f0f8ff",
    antiquewhite: "faebd7",
    aqua: "00ffff",
    aquamarine: "7fffd4",
    azure: "f0ffff",
    beige: "f5f5dc",
    bisque: "ffe4c4",
    black: "000",
    blanchedalmond: "ffebcd",
    blue: "0000ff",
    blueviolet: "8a2be2",
    brown: "a52a2a",
    burlywood: "deb887",
    cadetblue: "5f9ea0",
    chartreuse: "7fff00",
    chocolate: "d2691e",
    coral: "ff7f50",
    cornflowerblue: "6495ed",
    cornsilk: "fff8dc",
    crimson: "dc143c",
    cyan: "00ffff",
    darkblue: "00008b",
    darkcyan: "008b8b",
    darkgoldenrod: "b8860b",
    darkgray: "a9a9a9",
    darkgreen: "006400",
    darkgrey: "a9a9a9",
    darkkhaki: "bdb76b",
    darkmagenta: "8b008b",
    darkolivegreen: "556b2f",
    darkorange: "ff8c00",
    darkorchid: "9932cc",
    darkred: "8b0000",
    darksalmon: "e9967a",
    darkseagreen: "8fbc8f",
    darkslateblue: "483d8b",
    darkslategray: "2f4f4f",
    darkslategrey: "2f4f4f",
    darkturquoise: "00ced1",
    darkviolet: "9400d3",
    deeppink: "ff1493",
    deepskyblue: "00bfff",
    dimgray: "696969",
    dimgrey: "696969",
    dodgerblue: "1e90ff",
    firebrick: "b22222",
    floralwhite: "fffaf0",
    forestgreen: "228b22",
    fuchsia: "ff00ff",
    gainsboro: "dcdcdc",
    ghostwhite: "f8f8ff",
    gold: "ffd700",
    goldenrod: "daa520",
    gray: "808080",
    green: "008000",
    greenyellow: "adff2f",
    grey: "808080",
    honeydew: "f0fff0",
    hotpink: "ff69b4",
    indianred: "cd5c5c",
    indigo: "4b0082",
    ivory: "fffff0",
    khaki: "f0e68c",
    lavender: "e6e6fa",
    lavenderblush: "fff0f5",
    lawngreen: "7cfc00",
    lemonchiffon: "fffacd",
    lightblue: "add8e6",
    lightcoral: "f08080",
    lightcyan: "e0ffff",
    lightgoldenrodyellow: "fafad2",
    lightgray: "d3d3d3",
    lightgreen: "90ee90",
    lightgrey: "d3d3d3",
    lightpink: "ffb6c1",
    lightsalmon: "ffa07a",
    lightseagreen: "20b2aa",
    lightskyblue: "87cefa",
    lightslategray: "789",
    lightslategrey: "789",
    lightsteelblue: "b0c4de",
    lightyellow: "ffffe0",
    lime: "0f0",
    limegreen: "32cd32",
    linen: "faf0e6",
    magenta: "f0f",
    maroon: "800000",
    mediumaquamarine: "66cdaa",
    mediumblue: "0000cd",
    mediumorchid: "ba55d3",
    mediumpurple: "9370db",
    mediumseagreen: "3cb371",
    mediumslateblue: "7b68ee",
    mediumspringgreen: "00fa9a",
    mediumturquoise: "48d1cc",
    mediumvioletred: "c71585",
    midnightblue: "191970",
    mintcream: "f5fffa",
    mistyrose: "ffe4e1",
    moccasin: "ffe4b5",
    navajowhite: "ffdead",
    navy: "000080",
    oldlace: "fdf5e6",
    olive: "808000",
    olivedrab: "6b8e23",
    orange: "ffa500",
    orangered: "ff4500",
    orchid: "da70d6",
    palegoldenrod: "eee8aa",
    palegreen: "98fb98",
    paleturquoise: "afeeee",
    palevioletred: "db7093",
    papayawhip: "ffefd5",
    peachpuff: "ffdab9",
    peru: "cd853f",
    pink: "ffc0cb",
    plum: "dda0dd",
    powderblue: "b0e0e6",
    purple: "800080",
    rebeccapurple: "639",
    red: "f00",
    rosybrown: "bc8f8f",
    royalblue: "4169e1",
    saddlebrown: "8b4513",
    salmon: "fa8072",
    sandybrown: "f4a460",
    seagreen: "2e8b57",
    seashell: "fff5ee",
    sienna: "a0522d",
    silver: "c0c0c0",
    skyblue: "87ceeb",
    slateblue: "6a5acd",
    slategray: "708090",
    slategrey: "708090",
    snow: "fffafa",
    springgreen: "00ff7f",
    steelblue: "4682b4",
    tan: "d2b48c",
    teal: "008080",
    thistle: "d8bfd8",
    tomato: "ff6347",
    turquoise: "40e0d0",
    violet: "ee82ee",
    wheat: "f5deb3",
    white: "fff",
    whitesmoke: "f5f5f5",
    yellow: "ff0",
    yellowgreen: "9acd32"
  };
  a(Wbe, "nameToHex");
  Gbe = /^#[a-fA-F0-9]{6}$/, Ybe = /^#[a-fA-F0-9]{8}$/, Kbe = /^#[a-fA-F0-9]{3}$/, Xbe = /^#[a-fA-F0-9]{4}$/, t3 = /^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,
  Jbe = /^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i, Qbe = /^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,
  Zbe = /^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;
  a(xc, "parseToRgb");
  a(e5e, "rgbToHsl");
  a(Wi, "parseToHsl");
  t5e = /* @__PURE__ */ a(function(t) {
    return t.length === 7 && t[1] === t[2] && t[3] === t[4] && t[5] === t[6] ? "#" + t[1] + t[3] + t[5] : t;
  }, "reduceHexValue"), n3 = t5e;
  a(ml, "numberToHex");
  a(r3, "colorToHex");
  a(r5e, "convertToHex");
  a(l1, "hslToHex");
  a(n5e, "hsl");
  a(o5e, "hsla");
  a(o3, "rgb");
  a(pa, "rgba");
  a5e = /* @__PURE__ */ a(function(t) {
    return typeof t.red == "number" && typeof t.green == "number" && typeof t.blue == "number" && (typeof t.alpha != "number" || typeof t.alpha >
    "u");
  }, "isRgb"), i5e = /* @__PURE__ */ a(function(t) {
    return typeof t.red == "number" && typeof t.green == "number" && typeof t.blue == "number" && typeof t.alpha == "number";
  }, "isRgba"), s5e = /* @__PURE__ */ a(function(t) {
    return typeof t.hue == "number" && typeof t.saturation == "number" && typeof t.lightness == "number" && (typeof t.alpha != "number" || typeof t.
    alpha > "u");
  }, "isHsl"), l5e = /* @__PURE__ */ a(function(t) {
    return typeof t.hue == "number" && typeof t.saturation == "number" && typeof t.lightness == "number" && typeof t.alpha == "number";
  }, "isHsla");
  a(Gi, "toColorString");
  a(NF, "curried");
  a(En, "curry");
  a(u5e, "adjustHue");
  Adt = En(u5e);
  a(Sc, "guard");
  a(c5e, "darken");
  d5e = En(c5e), ma = d5e;
  a(f5e, "desaturate");
  Odt = En(f5e);
  a(p5e, "lighten");
  m5e = En(p5e), vp = m5e;
  a(h5e, "mix");
  g5e = En(h5e), LF = g5e;
  a(y5e, "opacify");
  v5e = En(y5e), kF = v5e;
  a(b5e, "saturate");
  Idt = En(b5e);
  a(w5e, "setHue");
  Mdt = En(w5e);
  a(E5e, "setLightness");
  Ndt = En(E5e);
  a(R5e, "setSaturation");
  Ldt = En(R5e);
  a(x5e, "shade");
  kdt = En(x5e);
  a(S5e, "tint");
  qdt = En(S5e);
  a(C5e, "transparentize");
  _5e = En(C5e), Jt = _5e;
});

// src/theming/base.ts
var ee, Io, jr, bp = k(() => {
  "use strict";
  Va();
  ee = {
    // Official color palette
    primary: "#FF4785",
    // coral
    secondary: "#029CFD",
    // ocean
    tertiary: "#FAFBFC",
    ancillary: "#22a699",
    // Complimentary
    orange: "#FC521F",
    gold: "#FFAE00",
    green: "#66BF3C",
    seafoam: "#37D5D3",
    purple: "#6F2CAC",
    ultraviolet: "#2A0481",
    // Monochrome
    lightest: "#FFFFFF",
    lighter: "#F7FAFC",
    light: "#EEF3F6",
    mediumlight: "#ECF4F9",
    medium: "#D9E8F2",
    mediumdark: "#73828C",
    dark: "#5C6870",
    darker: "#454E54",
    darkest: "#2E3438",
    // For borders
    border: "hsla(203, 50%, 30%, 0.15)",
    // Status
    positive: "#66BF3C",
    negative: "#FF4400",
    warning: "#E69D00",
    critical: "#FFFFFF",
    // Text
    defaultText: "#2E3438",
    inverseText: "#FFFFFF",
    positiveText: "#448028",
    negativeText: "#D43900",
    warningText: "#A15C20"
  }, Io = {
    app: "#F6F9FC",
    bar: ee.lightest,
    content: ee.lightest,
    preview: ee.lightest,
    gridCellSize: 10,
    hoverable: Jt(0.9, ee.secondary),
    // hover state for items in a list
    // Notification, error, and warning backgrounds
    positive: "#E1FFD4",
    negative: "#FEDED2",
    warning: "#FFF5CF",
    critical: "#FF4400"
  }, jr = {
    fonts: {
      base: [
        '"Nunito Sans"',
        "-apple-system",
        '".SFNSText-Regular"',
        '"San Francisco"',
        "BlinkMacSystemFont",
        '"Segoe UI"',
        '"Helvetica Neue"',
        "Helvetica",
        "Arial",
        "sans-serif"
      ].join(", "),
      mono: [
        "ui-monospace",
        "Menlo",
        "Monaco",
        '"Roboto Mono"',
        '"Oxygen Mono"',
        '"Ubuntu Monospace"',
        '"Source Code Pro"',
        '"Droid Sans Mono"',
        '"Courier New"',
        "monospace"
      ].join(", ")
    },
    weight: {
      regular: 400,
      bold: 700
    },
    size: {
      s1: 12,
      s2: 14,
      s3: 16,
      m1: 20,
      m2: 24,
      m3: 28,
      l1: 32,
      l2: 40,
      l3: 48,
      code: 90
    }
  };
});

// src/theming/types.ts
var qF = k(() => {
  "use strict";
});

// ../node_modules/memoizerific/memoizerific.js
var Wa = R((DF, a3) => {
  (function(e) {
    if (typeof DF == "object" && typeof a3 < "u")
      a3.exports = e();
    else if (typeof define == "function" && define.amd)
      define([], e);
    else {
      var t;
      typeof window < "u" ? t = window : typeof global < "u" ? t = global : typeof self < "u" ? t = self : t = this, t.memoizerific = e();
    }
  })(function() {
    var e, t, r;
    return (/* @__PURE__ */ a(function n(o, i, s) {
      function l(d, f) {
        if (!i[d]) {
          if (!o[d]) {
            var p = typeof of == "function" && of;
            if (!f && p) return p(d, !0);
            if (u) return u(d, !0);
            var m = new Error("Cannot find module '" + d + "'");
            throw m.code = "MODULE_NOT_FOUND", m;
          }
          var v = i[d] = { exports: {} };
          o[d][0].call(v.exports, function(y) {
            var b = o[d][1][y];
            return l(b || y);
          }, v, v.exports, n, o, i, s);
        }
        return i[d].exports;
      }
      a(l, "s");
      for (var u = typeof of == "function" && of, c = 0; c < s.length; c++) l(s[c]);
      return l;
    }, "e"))({ 1: [function(n, o, i) {
      o.exports = function(s) {
        if (typeof Map != "function" || s) {
          var l = n("./similar");
          return new l();
        } else
          return /* @__PURE__ */ new Map();
      };
    }, { "./similar": 2 }], 2: [function(n, o, i) {
      function s() {
        return this.list = [], this.lastItem = void 0, this.size = 0, this;
      }
      a(s, "Similar"), s.prototype.get = function(l) {
        var u;
        if (this.lastItem && this.isEqual(this.lastItem.key, l))
          return this.lastItem.val;
        if (u = this.indexOf(l), u >= 0)
          return this.lastItem = this.list[u], this.list[u].val;
      }, s.prototype.set = function(l, u) {
        var c;
        return this.lastItem && this.isEqual(this.lastItem.key, l) ? (this.lastItem.val = u, this) : (c = this.indexOf(l), c >= 0 ? (this.lastItem =
        this.list[c], this.list[c].val = u, this) : (this.lastItem = { key: l, val: u }, this.list.push(this.lastItem), this.size++, this));
      }, s.prototype.delete = function(l) {
        var u;
        if (this.lastItem && this.isEqual(this.lastItem.key, l) && (this.lastItem = void 0), u = this.indexOf(l), u >= 0)
          return this.size--, this.list.splice(u, 1)[0];
      }, s.prototype.has = function(l) {
        var u;
        return this.lastItem && this.isEqual(this.lastItem.key, l) ? !0 : (u = this.indexOf(l), u >= 0 ? (this.lastItem = this.list[u], !0) :
        !1);
      }, s.prototype.forEach = function(l, u) {
        var c;
        for (c = 0; c < this.size; c++)
          l.call(u || this, this.list[c].val, this.list[c].key, this);
      }, s.prototype.indexOf = function(l) {
        var u;
        for (u = 0; u < this.size; u++)
          if (this.isEqual(this.list[u].key, l))
            return u;
        return -1;
      }, s.prototype.isEqual = function(l, u) {
        return l === u || l !== l && u !== u;
      }, o.exports = s;
    }, {}], 3: [function(n, o, i) {
      var s = n("map-or-similar");
      o.exports = function(d) {
        var f = new s(!1), p = [];
        return function(m) {
          var v = /* @__PURE__ */ a(function() {
            var y = f, b, g, w = arguments.length - 1, E = Array(w + 1), x = !0, S;
            if ((v.numArgs || v.numArgs === 0) && v.numArgs !== w + 1)
              throw new Error("Memoizerific functions should always be called with the same number of arguments");
            for (S = 0; S < w; S++) {
              if (E[S] = {
                cacheItem: y,
                arg: arguments[S]
              }, y.has(arguments[S])) {
                y = y.get(arguments[S]);
                continue;
              }
              x = !1, b = new s(!1), y.set(arguments[S], b), y = b;
            }
            return x && (y.has(arguments[w]) ? g = y.get(arguments[w]) : x = !1), x || (g = m.apply(null, arguments), y.set(arguments[w], g)),
            d > 0 && (E[w] = {
              cacheItem: y,
              arg: arguments[w]
            }, x ? l(p, E) : p.push(E), p.length > d && u(p.shift())), v.wasMemoized = x, v.numArgs = w + 1, g;
          }, "memoizerific");
          return v.limit = d, v.wasMemoized = !1, v.cache = f, v.lru = p, v;
        };
      };
      function l(d, f) {
        var p = d.length, m = f.length, v, y, b;
        for (y = 0; y < p; y++) {
          for (v = !0, b = 0; b < m; b++)
            if (!c(d[y][b].arg, f[b].arg)) {
              v = !1;
              break;
            }
          if (v)
            break;
        }
        d.push(d.splice(y, 1)[0]);
      }
      a(l, "moveToMostRecentLru");
      function u(d) {
        var f = d.length, p = d[f - 1], m, v;
        for (p.cacheItem.delete(p.arg), v = f - 2; v >= 0 && (p = d[v], m = p.cacheItem.get(p.arg), !m || !m.size); v--)
          p.cacheItem.delete(p.arg);
      }
      a(u, "removeCachedResult");
      function c(d, f) {
        return d === f || d !== d && f !== f;
      }
      a(c, "isEqual");
    }, { "map-or-similar": 1 }] }, {}, [3])(3);
  });
});

// src/theming/global.ts
var i3, s3, FF, jF = k(() => {
  "use strict";
  i3 = N(Wa(), 1), s3 = (0, i3.default)(1)(
    ({ typography: e }) => ({
      body: {
        fontFamily: e.fonts.base,
        fontSize: e.size.s3,
        margin: 0,
        WebkitFontSmoothing: "antialiased",
        MozOsxFontSmoothing: "grayscale",
        WebkitTapHighlightColor: "rgba(0, 0, 0, 0)",
        WebkitOverflowScrolling: "touch"
      },
      "*": {
        boxSizing: "border-box"
      },
      "h1, h2, h3, h4, h5, h6": {
        fontWeight: e.weight.regular,
        margin: 0,
        padding: 0
      },
      "button, input, textarea, select": {
        fontFamily: "inherit",
        fontSize: "inherit",
        boxSizing: "border-box"
      },
      sub: {
        fontSize: "0.8em",
        bottom: "-0.2em"
      },
      sup: {
        fontSize: "0.8em",
        top: "-0.2em"
      },
      "b, strong": {
        fontWeight: e.weight.bold
      },
      hr: {
        border: "none",
        borderTop: "1px solid silver",
        clear: "both",
        marginBottom: "1.25rem"
      },
      code: {
        fontFamily: e.fonts.mono,
        WebkitFontSmoothing: "antialiased",
        MozOsxFontSmoothing: "grayscale",
        display: "inline-block",
        paddingLeft: 2,
        paddingRight: 2,
        verticalAlign: "baseline",
        color: "inherit"
      },
      pre: {
        fontFamily: e.fonts.mono,
        WebkitFontSmoothing: "antialiased",
        MozOsxFontSmoothing: "grayscale",
        lineHeight: "18px",
        padding: "11px 1rem",
        whiteSpace: "pre-wrap",
        color: "inherit",
        borderRadius: 3,
        margin: "1rem 0"
      }
    })
  ), FF = (0, i3.default)(1)(({
    color: e,
    background: t,
    typography: r
  }) => {
    let n = s3({ typography: r });
    return {
      ...n,
      body: {
        ...n.body,
        color: e.defaultText,
        background: t.app,
        overflow: "hidden"
      },
      hr: {
        ...n.hr,
        borderTop: `1px solid ${e.border}`
      },
      ".sb-sr-only, .sb-hidden-until-focus:not(:focus)": {
        position: "absolute",
        width: 1,
        height: 1,
        padding: 0,
        margin: -1,
        overflow: "hidden",
        clip: "rect(0, 0, 0, 0)",
        border: 0
      },
      ".sb-hidden-until-focus": {
        opacity: 0,
        transition: "opacity 150ms ease-out"
      },
      ".sb-hidden-until-focus:focus": {
        opacity: 1
      }
    };
  });
});

// src/theming/themes/dark.ts
var P5e, BF, $F = k(() => {
  "use strict";
  bp();
  P5e = {
    base: "dark",
    // Storybook-specific color palette
    colorPrimary: "#FF4785",
    // coral
    colorSecondary: "#029CFD",
    // ocean
    // UI
    appBg: "#222425",
    appContentBg: "#1B1C1D",
    appPreviewBg: ee.lightest,
    appBorderColor: "rgba(255,255,255,.1)",
    appBorderRadius: 4,
    // Fonts
    fontBase: jr.fonts.base,
    fontCode: jr.fonts.mono,
    // Text colors
    textColor: "#C9CDCF",
    textInverseColor: "#222425",
    textMutedColor: "#798186",
    // Toolbar default and active colors
    barTextColor: ee.mediumdark,
    barHoverColor: ee.secondary,
    barSelectedColor: ee.secondary,
    barBg: "#292C2E",
    // Form colors
    buttonBg: "#222425",
    buttonBorder: "rgba(255,255,255,.1)",
    booleanBg: "#222425",
    booleanSelectedBg: "#2E3438",
    inputBg: "#1B1C1D",
    inputBorder: "rgba(255,255,255,.1)",
    inputTextColor: ee.lightest,
    inputBorderRadius: 4
  }, BF = P5e;
});

// src/theming/themes/light.ts
var T5e, Cc, l3 = k(() => {
  "use strict";
  bp();
  T5e = {
    base: "light",
    // Storybook-specific color palette
    colorPrimary: "#FF4785",
    // coral
    colorSecondary: "#029CFD",
    // ocean
    // UI
    appBg: Io.app,
    appContentBg: ee.lightest,
    appPreviewBg: ee.lightest,
    appBorderColor: ee.border,
    appBorderRadius: 4,
    // Fonts
    fontBase: jr.fonts.base,
    fontCode: jr.fonts.mono,
    // Text colors
    textColor: ee.darkest,
    textInverseColor: ee.lightest,
    textMutedColor: ee.dark,
    // Toolbar default and active colors
    barTextColor: ee.mediumdark,
    barHoverColor: ee.secondary,
    barSelectedColor: ee.secondary,
    barBg: ee.lightest,
    // Form colors
    buttonBg: Io.app,
    buttonBorder: ee.medium,
    booleanBg: ee.mediumlight,
    booleanSelectedBg: ee.lightest,
    inputBg: ee.lightest,
    inputBorder: ee.border,
    inputTextColor: ee.darkest,
    inputBorderRadius: 4
  }, Cc = T5e;
});

// src/theming/utils.ts
var u3, HF, A5e, O5e, I5e, zF, ha, UF, u1, wp = k(() => {
  "use strict";
  kr();
  Ct();
  Va();
  ({ window: u3 } = Z), HF = /* @__PURE__ */ a((e) => ({ color: e }), "mkColor"), A5e = /* @__PURE__ */ a((e) => typeof e != "string" ? (Ve.
  warn(
    `Color passed to theme object should be a string. Instead ${e}(${typeof e}) was passed.`
  ), !1) : !0, "isColorString"), O5e = /* @__PURE__ */ a((e) => !/(gradient|var|calc)/.test(e), "isValidColorForPolished"), I5e = /* @__PURE__ */ a(
  (e, t) => e === "darken" ? pa(`${ma(1, t)}`, 0.95) : e === "lighten" ? pa(`${vp(1, t)}`, 0.95) : t, "applyPolished"), zF = /* @__PURE__ */ a(
  (e) => (t) => {
    if (!A5e(t) || !O5e(t))
      return t;
    try {
      return I5e(e, t);
    } catch {
      return t;
    }
  }, "colorFactory"), ha = zF("lighten"), UF = zF("darken"), u1 = /* @__PURE__ */ a(() => !u3 || !u3.matchMedia ? "light" : u3.matchMedia("(\
prefers-color-scheme: dark)").matches ? "dark" : "light", "getPreferredColorScheme");
});

// src/theming/create.ts
var d1 = {};
_e(d1, {
  create: () => c1,
  themes: () => hl
});
var hl, c3, c1, Ep = k(() => {
  "use strict";
  $F();
  l3();
  wp();
  hl = {
    light: Cc,
    dark: BF,
    normal: Cc
  }, c3 = u1(), c1 = /* @__PURE__ */ a((e = { base: c3 }, t) => {
    let r = {
      ...hl[c3],
      ...hl[e.base] || {},
      ...e,
      base: hl[e.base] ? e.base : c3
    };
    return {
      ...t,
      ...r,
      barSelectedColor: e.barSelectedColor || r.colorSecondary
    };
  }, "create");
});

// src/theming/animation.ts
var VF, M5e, WF, N5e, L5e, k5e, q5e, GF, YF = k(() => {
  "use strict";
  n1();
  VF = {
    rubber: "cubic-bezier(0.175, 0.885, 0.335, 1.05)"
  }, M5e = dr`
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
`, WF = dr`
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
`, N5e = dr`
  0% { transform: translateY(1px); }
  25% { transform: translateY(0px); }
  50% { transform: translateY(-3px); }
  100% { transform: translateY(1px); }
`, L5e = dr`
  0%, 100% { transform:translate3d(0,0,0); }
  12.5%, 62.5% { transform:translate3d(-4px,0,0); }
  37.5%, 87.5% {  transform: translate3d(4px,0,0);  }
`, k5e = Rc`
  animation: ${WF} 1.5s ease-in-out infinite;
  color: transparent;
  cursor: progress;
`, q5e = Rc`
  transition: all 150ms ease-out;
  transform: translate3d(0, 0, 0);

  &:hover {
    transform: translate3d(0, -2px, 0);
  }

  &:active {
    transform: translate3d(0, 0, 0);
  }
`, GF = {
    rotate360: M5e,
    glow: WF,
    float: N5e,
    jiggle: L5e,
    inlineGlow: k5e,
    hoverable: q5e
  };
});

// src/theming/modules/syntax.ts
var KF, XF, D5e, JF, QF = k(() => {
  "use strict";
  wp();
  KF = {
    BASE_FONT_FAMILY: "Menlo, monospace",
    BASE_FONT_SIZE: "11px",
    BASE_LINE_HEIGHT: 1.2,
    BASE_BACKGROUND_COLOR: "rgb(36, 36, 36)",
    BASE_COLOR: "rgb(213, 213, 213)",
    OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES: 10,
    OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES: 5,
    OBJECT_NAME_COLOR: "rgb(227, 110, 236)",
    OBJECT_VALUE_NULL_COLOR: "rgb(127, 127, 127)",
    OBJECT_VALUE_UNDEFINED_COLOR: "rgb(127, 127, 127)",
    OBJECT_VALUE_REGEXP_COLOR: "rgb(233, 63, 59)",
    OBJECT_VALUE_STRING_COLOR: "rgb(233, 63, 59)",
    OBJECT_VALUE_SYMBOL_COLOR: "rgb(233, 63, 59)",
    OBJECT_VALUE_NUMBER_COLOR: "hsl(252, 100%, 75%)",
    OBJECT_VALUE_BOOLEAN_COLOR: "hsl(252, 100%, 75%)",
    OBJECT_VALUE_FUNCTION_PREFIX_COLOR: "rgb(85, 106, 242)",
    HTML_TAG_COLOR: "rgb(93, 176, 215)",
    HTML_TAGNAME_COLOR: "rgb(93, 176, 215)",
    HTML_TAGNAME_TEXT_TRANSFORM: "lowercase",
    HTML_ATTRIBUTE_NAME_COLOR: "rgb(155, 187, 220)",
    HTML_ATTRIBUTE_VALUE_COLOR: "rgb(242, 151, 102)",
    HTML_COMMENT_COLOR: "rgb(137, 137, 137)",
    HTML_DOCTYPE_COLOR: "rgb(192, 192, 192)",
    ARROW_COLOR: "rgb(145, 145, 145)",
    ARROW_MARGIN_RIGHT: 3,
    ARROW_FONT_SIZE: 12,
    ARROW_ANIMATION_DURATION: "0",
    TREENODE_FONT_FAMILY: "Menlo, monospace",
    TREENODE_FONT_SIZE: "11px",
    TREENODE_LINE_HEIGHT: 1.2,
    TREENODE_PADDING_LEFT: 12,
    TABLE_BORDER_COLOR: "rgb(85, 85, 85)",
    TABLE_TH_BACKGROUND_COLOR: "rgb(44, 44, 44)",
    TABLE_TH_HOVER_COLOR: "rgb(48, 48, 48)",
    TABLE_SORT_ICON_COLOR: "black",
    // 'rgb(48, 57, 66)',
    TABLE_DATA_BACKGROUND_IMAGE: "linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 50%, rgba(51, 139, 255, 0.0980392) 50%, rgb\
a(51, 139, 255, 0.0980392))",
    TABLE_DATA_BACKGROUND_SIZE: "128px 32px"
  }, XF = {
    BASE_FONT_FAMILY: "Menlo, monospace",
    BASE_FONT_SIZE: "11px",
    BASE_LINE_HEIGHT: 1.2,
    BASE_BACKGROUND_COLOR: "white",
    BASE_COLOR: "black",
    OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES: 10,
    OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES: 5,
    OBJECT_NAME_COLOR: "rgb(136, 19, 145)",
    OBJECT_VALUE_NULL_COLOR: "rgb(128, 128, 128)",
    OBJECT_VALUE_UNDEFINED_COLOR: "rgb(128, 128, 128)",
    OBJECT_VALUE_REGEXP_COLOR: "rgb(196, 26, 22)",
    OBJECT_VALUE_STRING_COLOR: "rgb(196, 26, 22)",
    OBJECT_VALUE_SYMBOL_COLOR: "rgb(196, 26, 22)",
    OBJECT_VALUE_NUMBER_COLOR: "rgb(28, 0, 207)",
    OBJECT_VALUE_BOOLEAN_COLOR: "rgb(28, 0, 207)",
    OBJECT_VALUE_FUNCTION_PREFIX_COLOR: "rgb(13, 34, 170)",
    HTML_TAG_COLOR: "rgb(168, 148, 166)",
    HTML_TAGNAME_COLOR: "rgb(136, 18, 128)",
    HTML_TAGNAME_TEXT_TRANSFORM: "lowercase",
    HTML_ATTRIBUTE_NAME_COLOR: "rgb(153, 69, 0)",
    HTML_ATTRIBUTE_VALUE_COLOR: "rgb(26, 26, 166)",
    HTML_COMMENT_COLOR: "rgb(35, 110, 37)",
    HTML_DOCTYPE_COLOR: "rgb(192, 192, 192)",
    ARROW_COLOR: "#6e6e6e",
    ARROW_MARGIN_RIGHT: 3,
    ARROW_FONT_SIZE: 12,
    ARROW_ANIMATION_DURATION: "0",
    TREENODE_FONT_FAMILY: "Menlo, monospace",
    TREENODE_FONT_SIZE: "11px",
    TREENODE_LINE_HEIGHT: 1.2,
    TREENODE_PADDING_LEFT: 12,
    TABLE_BORDER_COLOR: "#aaa",
    TABLE_TH_BACKGROUND_COLOR: "#eee",
    TABLE_TH_HOVER_COLOR: "hsla(0, 0%, 90%, 1)",
    TABLE_SORT_ICON_COLOR: "#6e6e6e",
    TABLE_DATA_BACKGROUND_IMAGE: "linear-gradient(to bottom, white, white 50%, rgb(234, 243, 255) 50%, rgb(234, 243, 255))",
    TABLE_DATA_BACKGROUND_SIZE: "128px 32px"
  }, D5e = /* @__PURE__ */ a((e) => Object.entries(e).reduce((t, [r, n]) => ({ ...t, [r]: HF(n) }), {}), "convertColors"), JF = /* @__PURE__ */ a(
  ({ colors: e, mono: t }) => {
    let r = D5e(e);
    return {
      token: {
        fontFamily: t,
        WebkitFontSmoothing: "antialiased",
        "&.tag": r.red3,
        "&.comment": { ...r.green1, fontStyle: "italic" },
        "&.prolog": { ...r.green1, fontStyle: "italic" },
        "&.doctype": { ...r.green1, fontStyle: "italic" },
        "&.cdata": { ...r.green1, fontStyle: "italic" },
        "&.string": r.red1,
        "&.url": r.cyan1,
        "&.symbol": r.cyan1,
        "&.number": r.cyan1,
        "&.boolean": r.cyan1,
        "&.variable": r.cyan1,
        "&.constant": r.cyan1,
        "&.inserted": r.cyan1,
        "&.atrule": r.blue1,
        "&.keyword": r.blue1,
        "&.attr-value": r.blue1,
        "&.punctuation": r.gray1,
        "&.operator": r.gray1,
        "&.function": r.gray1,
        "&.deleted": r.red2,
        "&.important": {
          fontWeight: "bold"
        },
        "&.bold": {
          fontWeight: "bold"
        },
        "&.italic": {
          fontStyle: "italic"
        },
        "&.class-name": r.cyan2,
        "&.selector": r.red3,
        "&.attr-name": r.red4,
        "&.property": r.red4,
        "&.regex": r.red4,
        "&.entity": r.red4,
        "&.directive.tag .tag": {
          background: "#ffff00",
          ...r.gray1
        }
      },
      "language-json .token.boolean": r.blue1,
      "language-json .token.number": r.blue1,
      "language-json .token.property": r.cyan2,
      namespace: {
        opacity: 0.7
      }
    };
  }, "create");
});

// src/theming/convert.ts
var F5e, j5e, B5e, f1, d3 = k(() => {
  "use strict";
  Va();
  YF();
  bp();
  Ep();
  QF();
  wp();
  F5e = {
    green1: "#008000",
    red1: "#A31515",
    red2: "#9a050f",
    red3: "#800000",
    red4: "#ff0000",
    gray1: "#393A34",
    cyan1: "#36acaa",
    cyan2: "#2B91AF",
    blue1: "#0000ff",
    blue2: "#00009f"
  }, j5e = {
    green1: "#7C7C7C",
    red1: "#92C379",
    red2: "#9a050f",
    red3: "#A8FF60",
    red4: "#96CBFE",
    gray1: "#EDEDED",
    cyan1: "#C6C5FE",
    cyan2: "#FFFFB6",
    blue1: "#B474DD",
    blue2: "#00009f"
  }, B5e = /* @__PURE__ */ a((e) => ({
    // Changeable colors
    primary: e.colorPrimary,
    secondary: e.colorSecondary,
    tertiary: ee.tertiary,
    ancillary: ee.ancillary,
    // Complimentary
    orange: ee.orange,
    gold: ee.gold,
    green: ee.green,
    seafoam: ee.seafoam,
    purple: ee.purple,
    ultraviolet: ee.ultraviolet,
    // Monochrome
    lightest: ee.lightest,
    lighter: ee.lighter,
    light: ee.light,
    mediumlight: ee.mediumlight,
    medium: ee.medium,
    mediumdark: ee.mediumdark,
    dark: ee.dark,
    darker: ee.darker,
    darkest: ee.darkest,
    // For borders
    border: ee.border,
    // Status
    positive: ee.positive,
    negative: ee.negative,
    warning: ee.warning,
    critical: ee.critical,
    defaultText: e.textColor || ee.darkest,
    inverseText: e.textInverseColor || ee.lightest,
    positiveText: ee.positiveText,
    negativeText: ee.negativeText,
    warningText: ee.warningText
  }), "createColors"), f1 = /* @__PURE__ */ a((e = hl[u1()]) => {
    let {
      base: t,
      colorPrimary: r,
      colorSecondary: n,
      appBg: o,
      appContentBg: i,
      appPreviewBg: s,
      appBorderColor: l,
      appBorderRadius: u,
      fontBase: c,
      fontCode: d,
      textColor: f,
      textInverseColor: p,
      barTextColor: m,
      barHoverColor: v,
      barSelectedColor: y,
      barBg: b,
      buttonBg: g,
      buttonBorder: w,
      booleanBg: E,
      booleanSelectedBg: x,
      inputBg: S,
      inputBorder: C,
      inputTextColor: _,
      inputBorderRadius: A,
      brandTitle: O,
      brandUrl: q,
      brandImage: M,
      brandTarget: U,
      gridCellSize: Q,
      ...z
    } = e;
    return {
      ...z,
      base: t,
      color: B5e(e),
      background: {
        app: o,
        bar: b,
        content: i,
        preview: s,
        gridCellSize: Q || Io.gridCellSize,
        hoverable: Io.hoverable,
        positive: Io.positive,
        negative: Io.negative,
        warning: Io.warning,
        critical: Io.critical
      },
      typography: {
        fonts: {
          base: c,
          mono: d
        },
        weight: jr.weight,
        size: jr.size
      },
      animation: GF,
      easing: VF,
      input: {
        background: S,
        border: C,
        borderRadius: A,
        color: _
      },
      button: {
        background: g || S,
        border: w || C
      },
      boolean: {
        background: E || C,
        selectedBackground: x || S
      },
      // UI
      layoutMargin: 10,
      appBorderColor: l,
      appBorderRadius: u,
      // Toolbar default/active colors
      barTextColor: m,
      barHoverColor: v || n,
      barSelectedColor: y || n,
      barBg: b,
      // Brand logo/text
      brand: {
        title: O,
        url: q,
        image: M || (O ? null : void 0),
        target: U
      },
      code: JF({
        colors: t === "light" ? F5e : j5e,
        mono: d
      }),
      // Addon actions theme
      // API example https://github.com/storybookjs/react-inspector/blob/master/src/styles/themes/chromeLight.tsx
      addonActionsTheme: {
        ...t === "light" ? XF : KF,
        BASE_FONT_FAMILY: d,
        BASE_FONT_SIZE: jr.size.s2 - 1,
        BASE_LINE_HEIGHT: "18px",
        BASE_BACKGROUND_COLOR: "transparent",
        BASE_COLOR: f,
        ARROW_COLOR: kF(0.2, l),
        ARROW_MARGIN_RIGHT: 4,
        ARROW_FONT_SIZE: 8,
        TREENODE_FONT_FAMILY: d,
        TREENODE_FONT_SIZE: jr.size.s2 - 1,
        TREENODE_LINE_HEIGHT: "18px",
        TREENODE_PADDING_LEFT: 12
      }
    };
  }, "convert");
});

// ../node_modules/deep-object-diff/mjs/utils.js
var f3, gl, Rp, xp, Sp = k(() => {
  f3 = /* @__PURE__ */ a((e) => Object.keys(e).length === 0, "isEmpty"), gl = /* @__PURE__ */ a((e) => e != null && typeof e == "object", "i\
sObject"), Rp = /* @__PURE__ */ a((e, ...t) => Object.prototype.hasOwnProperty.call(e, ...t), "hasOwnProperty"), xp = /* @__PURE__ */ a(() => /* @__PURE__ */ Object.
  create(null), "makeObjectWithoutPrototype");
});

// ../node_modules/deep-object-diff/mjs/diff.js
var ZF = k(() => {
  Sp();
});

// ../node_modules/deep-object-diff/mjs/added.js
var p3 = k(() => {
  Sp();
});

// ../node_modules/deep-object-diff/mjs/deleted.js
var ej, p1, m3 = k(() => {
  Sp();
  ej = /* @__PURE__ */ a((e, t) => e === t || !gl(e) || !gl(t) ? {} : Object.keys(e).reduce((r, n) => {
    if (Rp(t, n)) {
      let o = ej(e[n], t[n]);
      return gl(o) && f3(o) || (r[n] = o), r;
    }
    return r[n] = void 0, r;
  }, xp()), "deletedDiff"), p1 = ej;
});

// ../node_modules/deep-object-diff/mjs/updated.js
var h3 = k(() => {
  Sp();
});

// ../node_modules/deep-object-diff/mjs/detailed.js
var tj = k(() => {
  p3();
  m3();
  h3();
});

// ../node_modules/deep-object-diff/mjs/index.js
var rj = k(() => {
  ZF();
  p3();
  m3();
  h3();
  tj();
});

// src/theming/ensure.ts
var V5e, nj = k(() => {
  "use strict";
  kr();
  rj();
  Ao();
  d3();
  l3();
  V5e = /* @__PURE__ */ a((e) => {
    if (!e)
      return f1(Cc);
    let t = p1(Cc, e);
    return Object.keys(t).length && Ve.warn(
      _t`
          Your theme is missing properties, you should update your theme!

          theme-data missing:
        `,
      t
    ), f1(e);
  }, "ensure");
});

// src/theming/index.ts
var h1 = {};
_e(h1, {
  CacheProvider: () => YP,
  ClassNames: () => dF,
  Global: () => cF,
  ThemeProvider: () => XP,
  background: () => Io,
  color: () => ee,
  convert: () => f1,
  create: () => c1,
  createCache: () => $g,
  createGlobal: () => FF,
  createReset: () => s3,
  css: () => Rc,
  darken: () => UF,
  ensure: () => V5e,
  ignoreSsrWarning: () => m1,
  isPropValid: () => zi,
  jsx: () => r1,
  keyframes: () => dr,
  lighten: () => ha,
  styled: () => L,
  themes: () => hl,
  typography: () => jr,
  useTheme: () => KP,
  withTheme: () => JP
});
var m1, ue = k(() => {
  "use strict";
  gF();
  n1();
  bp();
  qF();
  Hg();
  o1();
  jF();
  Ep();
  d3();
  nj();
  wp();
  m1 = "/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */";
});

// ../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
function _c(e, t) {
  if (e == null) return {};
  var r = {};
  for (var n in e) if ({}.hasOwnProperty.call(e, n)) {
    if (t.indexOf(n) !== -1) continue;
    r[n] = e[n];
  }
  return r;
}
var v1 = k(() => {
  a(_c, "_objectWithoutPropertiesLoose");
});

// ../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
function ij(e, t) {
  if (e == null) return {};
  var r, n, o = _c(e, t);
  if (Object.getOwnPropertySymbols) {
    var i = Object.getOwnPropertySymbols(e);
    for (n = 0; n < i.length; n++) r = i[n], t.indexOf(r) === -1 && {}.propertyIsEnumerable.call(e, r) && (o[r] = e[r]);
  }
  return o;
}
var sj = k(() => {
  v1();
  a(ij, "_objectWithoutProperties");
});

// ../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
function Cp(e, t) {
  (t == null || t > e.length) && (t = e.length);
  for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r];
  return n;
}
var y3 = k(() => {
  a(Cp, "_arrayLikeToArray");
});

// ../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
function lj(e) {
  if (Array.isArray(e)) return Cp(e);
}
var uj = k(() => {
  y3();
  a(lj, "_arrayWithoutHoles");
});

// ../node_modules/@babel/runtime/helpers/esm/iterableToArray.js
function cj(e) {
  if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
}
var dj = k(() => {
  a(cj, "_iterableToArray");
});

// ../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
function fj(e, t) {
  if (e) {
    if (typeof e == "string") return Cp(e, t);
    var r = {}.toString.call(e).slice(8, -1);
    return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.
    test(r) ? Cp(e, t) : void 0;
  }
}
var pj = k(() => {
  y3();
  a(fj, "_unsupportedIterableToArray");
});

// ../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
function mj() {
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
}
var hj = k(() => {
  a(mj, "_nonIterableSpread");
});

// ../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
function b1(e) {
  return lj(e) || cj(e) || fj(e) || mj();
}
var gj = k(() => {
  uj();
  dj();
  pj();
  hj();
  a(b1, "_toConsumableArray");
});

// ../node_modules/@babel/runtime/helpers/esm/typeof.js
function yl(e) {
  "@babel/helpers - typeof";
  return yl = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
    return typeof t;
  } : function(t) {
    return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
  }, yl(e);
}
var v3 = k(() => {
  a(yl, "_typeof");
});

// ../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
function yj(e, t) {
  if (yl(e) != "object" || !e) return e;
  var r = e[Symbol.toPrimitive];
  if (r !== void 0) {
    var n = r.call(e, t || "default");
    if (yl(n) != "object") return n;
    throw new TypeError("@@toPrimitive must return a primitive value.");
  }
  return (t === "string" ? String : Number)(e);
}
var vj = k(() => {
  v3();
  a(yj, "toPrimitive");
});

// ../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
function bj(e) {
  var t = yj(e, "string");
  return yl(t) == "symbol" ? t : t + "";
}
var wj = k(() => {
  v3();
  vj();
  a(bj, "toPropertyKey");
});

// ../node_modules/@babel/runtime/helpers/esm/defineProperty.js
function w1(e, t, r) {
  return (t = bj(t)) in e ? Object.defineProperty(e, t, {
    value: r,
    enumerable: !0,
    configurable: !0,
    writable: !0
  }) : e[t] = r, e;
}
var b3 = k(() => {
  wj();
  a(w1, "_defineProperty");
});

// ../node_modules/react-syntax-highlighter/dist/esm/create-element.js
function Ej(e, t) {
  var r = Object.keys(e);
  if (Object.getOwnPropertySymbols) {
    var n = Object.getOwnPropertySymbols(e);
    t && (n = n.filter(function(o) {
      return Object.getOwnPropertyDescriptor(e, o).enumerable;
    })), r.push.apply(r, n);
  }
  return r;
}
function Pc(e) {
  for (var t = 1; t < arguments.length; t++) {
    var r = arguments[t] != null ? arguments[t] : {};
    t % 2 ? Ej(Object(r), !0).forEach(function(n) {
      w1(e, n, r[n]);
    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Ej(Object(r)).forEach(function(n) {
      Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
    });
  }
  return e;
}
function W5e(e) {
  var t = e.length;
  if (t === 0 || t === 1) return e;
  if (t === 2)
    return [e[0], e[1], "".concat(e[0], ".").concat(e[1]), "".concat(e[1], ".").concat(e[0])];
  if (t === 3)
    return [e[0], e[1], e[2], "".concat(e[0], ".").concat(e[1]), "".concat(e[0], ".").concat(e[2]), "".concat(e[1], ".").concat(e[0]), "".concat(
    e[1], ".").concat(e[2]), "".concat(e[2], ".").concat(e[0]), "".concat(e[2], ".").concat(e[1]), "".concat(e[0], ".").concat(e[1], ".").concat(
    e[2]), "".concat(e[0], ".").concat(e[2], ".").concat(e[1]), "".concat(e[1], ".").concat(e[0], ".").concat(e[2]), "".concat(e[1], ".").concat(
    e[2], ".").concat(e[0]), "".concat(e[2], ".").concat(e[0], ".").concat(e[1]), "".concat(e[2], ".").concat(e[1], ".").concat(e[0])];
  if (t >= 4)
    return [e[0], e[1], e[2], e[3], "".concat(e[0], ".").concat(e[1]), "".concat(e[0], ".").concat(e[2]), "".concat(e[0], ".").concat(e[3]),
    "".concat(e[1], ".").concat(e[0]), "".concat(e[1], ".").concat(e[2]), "".concat(e[1], ".").concat(e[3]), "".concat(e[2], ".").concat(e[0]),
    "".concat(e[2], ".").concat(e[1]), "".concat(e[2], ".").concat(e[3]), "".concat(e[3], ".").concat(e[0]), "".concat(e[3], ".").concat(e[1]),
    "".concat(e[3], ".").concat(e[2]), "".concat(e[0], ".").concat(e[1], ".").concat(e[2]), "".concat(e[0], ".").concat(e[1], ".").concat(e[3]),
    "".concat(e[0], ".").concat(e[2], ".").concat(e[1]), "".concat(e[0], ".").concat(e[2], ".").concat(e[3]), "".concat(e[0], ".").concat(e[3],
    ".").concat(e[1]), "".concat(e[0], ".").concat(e[3], ".").concat(e[2]), "".concat(e[1], ".").concat(e[0], ".").concat(e[2]), "".concat(e[1],
    ".").concat(e[0], ".").concat(e[3]), "".concat(e[1], ".").concat(e[2], ".").concat(e[0]), "".concat(e[1], ".").concat(e[2], ".").concat(
    e[3]), "".concat(e[1], ".").concat(e[3], ".").concat(e[0]), "".concat(e[1], ".").concat(e[3], ".").concat(e[2]), "".concat(e[2], ".").concat(
    e[0], ".").concat(e[1]), "".concat(e[2], ".").concat(e[0], ".").concat(e[3]), "".concat(e[2], ".").concat(e[1], ".").concat(e[0]), "".concat(
    e[2], ".").concat(e[1], ".").concat(e[3]), "".concat(e[2], ".").concat(e[3], ".").concat(e[0]), "".concat(e[2], ".").concat(e[3], ".").concat(
    e[1]), "".concat(e[3], ".").concat(e[0], ".").concat(e[1]), "".concat(e[3], ".").concat(e[0], ".").concat(e[2]), "".concat(e[3], ".").concat(
    e[1], ".").concat(e[0]), "".concat(e[3], ".").concat(e[1], ".").concat(e[2]), "".concat(e[3], ".").concat(e[2], ".").concat(e[0]), "".concat(
    e[3], ".").concat(e[2], ".").concat(e[1]), "".concat(e[0], ".").concat(e[1], ".").concat(e[2], ".").concat(e[3]), "".concat(e[0], ".").concat(
    e[1], ".").concat(e[3], ".").concat(e[2]), "".concat(e[0], ".").concat(e[2], ".").concat(e[1], ".").concat(e[3]), "".concat(e[0], ".").concat(
    e[2], ".").concat(e[3], ".").concat(e[1]), "".concat(e[0], ".").concat(e[3], ".").concat(e[1], ".").concat(e[2]), "".concat(e[0], ".").concat(
    e[3], ".").concat(e[2], ".").concat(e[1]), "".concat(e[1], ".").concat(e[0], ".").concat(e[2], ".").concat(e[3]), "".concat(e[1], ".").concat(
    e[0], ".").concat(e[3], ".").concat(e[2]), "".concat(e[1], ".").concat(e[2], ".").concat(e[0], ".").concat(e[3]), "".concat(e[1], ".").concat(
    e[2], ".").concat(e[3], ".").concat(e[0]), "".concat(e[1], ".").concat(e[3], ".").concat(e[0], ".").concat(e[2]), "".concat(e[1], ".").concat(
    e[3], ".").concat(e[2], ".").concat(e[0]), "".concat(e[2], ".").concat(e[0], ".").concat(e[1], ".").concat(e[3]), "".concat(e[2], ".").concat(
    e[0], ".").concat(e[3], ".").concat(e[1]), "".concat(e[2], ".").concat(e[1], ".").concat(e[0], ".").concat(e[3]), "".concat(e[2], ".").concat(
    e[1], ".").concat(e[3], ".").concat(e[0]), "".concat(e[2], ".").concat(e[3], ".").concat(e[0], ".").concat(e[1]), "".concat(e[2], ".").concat(
    e[3], ".").concat(e[1], ".").concat(e[0]), "".concat(e[3], ".").concat(e[0], ".").concat(e[1], ".").concat(e[2]), "".concat(e[3], ".").concat(
    e[0], ".").concat(e[2], ".").concat(e[1]), "".concat(e[3], ".").concat(e[1], ".").concat(e[0], ".").concat(e[2]), "".concat(e[3], ".").concat(
    e[1], ".").concat(e[2], ".").concat(e[0]), "".concat(e[3], ".").concat(e[2], ".").concat(e[0], ".").concat(e[1]), "".concat(e[3], ".").concat(
    e[2], ".").concat(e[1], ".").concat(e[0])];
}
function G5e(e) {
  if (e.length === 0 || e.length === 1) return e;
  var t = e.join(".");
  return w3[t] || (w3[t] = W5e(e)), w3[t];
}
function Y5e(e) {
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = arguments.length > 2 ? arguments[2] : void 0, n = e.filter(
  function(i) {
    return i !== "token";
  }), o = G5e(n);
  return o.reduce(function(i, s) {
    return Pc(Pc({}, i), r[s]);
  }, t);
}
function Rj(e) {
  return e.join(" ");
}
function K5e(e, t) {
  var r = 0;
  return function(n) {
    return r += 1, n.map(function(o, i) {
      return vl({
        node: o,
        stylesheet: e,
        useInlineStyles: t,
        key: "code-segment-".concat(r, "-").concat(i)
      });
    });
  };
}
function vl(e) {
  var t = e.node, r = e.stylesheet, n = e.style, o = n === void 0 ? {} : n, i = e.useInlineStyles, s = e.key, l = t.properties, u = t.type, c = t.
  tagName, d = t.value;
  if (u === "text")
    return d;
  if (c) {
    var f = K5e(r, i), p;
    if (!i)
      p = Pc(Pc({}, l), {}, {
        className: Rj(l.className)
      });
    else {
      var m = Object.keys(r).reduce(function(g, w) {
        return w.split(".").forEach(function(E) {
          g.includes(E) || g.push(E);
        }), g;
      }, []), v = l.className && l.className.includes("token") ? ["token"] : [], y = l.className && v.concat(l.className.filter(function(g) {
        return !m.includes(g);
      }));
      p = Pc(Pc({}, l), {}, {
        className: Rj(y) || void 0,
        style: Y5e(l.className, Object.assign({}, l.style, o), r)
      });
    }
    var b = f(t.children);
    return /* @__PURE__ */ xj.default.createElement(c, Ie({
      key: s
    }, p), b);
  }
}
var xj, w3, E3 = k(() => {
  Ua();
  b3();
  xj = N(H());
  a(Ej, "ownKeys");
  a(Pc, "_objectSpread");
  a(W5e, "powerSetPermutations");
  w3 = {};
  a(G5e, "getClassNameCombinations");
  a(Y5e, "createStyleObject");
  a(Rj, "createClassNameString");
  a(K5e, "createChildren");
  a(vl, "createElement");
});

// ../node_modules/react-syntax-highlighter/dist/esm/checkForListedLanguage.js
var Sj, Cj = k(() => {
  Sj = /* @__PURE__ */ a(function(e, t) {
    var r = e.listLanguages();
    return r.indexOf(t) !== -1;
  }, "default");
});

// ../node_modules/react-syntax-highlighter/dist/esm/highlight.js
function _j(e, t) {
  var r = Object.keys(e);
  if (Object.getOwnPropertySymbols) {
    var n = Object.getOwnPropertySymbols(e);
    t && (n = n.filter(function(o) {
      return Object.getOwnPropertyDescriptor(e, o).enumerable;
    })), r.push.apply(r, n);
  }
  return r;
}
function Ki(e) {
  for (var t = 1; t < arguments.length; t++) {
    var r = arguments[t] != null ? arguments[t] : {};
    t % 2 ? _j(Object(r), !0).forEach(function(n) {
      w1(e, n, r[n]);
    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : _j(Object(r)).forEach(function(n) {
      Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
    });
  }
  return e;
}
function Q5e(e) {
  return e.match(J5e);
}
function Z5e(e) {
  var t = e.lines, r = e.startingLineNumber, n = e.style;
  return t.map(function(o, i) {
    var s = i + r;
    return /* @__PURE__ */ Yi.default.createElement("span", {
      key: "line-".concat(i),
      className: "react-syntax-highlighter-line-number",
      style: typeof n == "function" ? n(s) : n
    }, "".concat(s, `
`));
  });
}
function ewe(e) {
  var t = e.codeString, r = e.codeStyle, n = e.containerStyle, o = n === void 0 ? {
    float: "left",
    paddingRight: "10px"
  } : n, i = e.numberStyle, s = i === void 0 ? {} : i, l = e.startingLineNumber;
  return /* @__PURE__ */ Yi.default.createElement("code", {
    style: Object.assign({}, r, o)
  }, Z5e({
    lines: t.replace(/\n$/, "").split(`
`),
    style: s,
    startingLineNumber: l
  }));
}
function twe(e) {
  return "".concat(e.toString().length, ".25em");
}
function Pj(e, t) {
  return {
    type: "element",
    tagName: "span",
    properties: {
      key: "line-number--".concat(e),
      className: ["comment", "linenumber", "react-syntax-highlighter-line-number"],
      style: t
    },
    children: [{
      type: "text",
      value: e
    }]
  };
}
function Tj(e, t, r) {
  var n = {
    display: "inline-block",
    minWidth: twe(r),
    paddingRight: "1em",
    textAlign: "right",
    userSelect: "none"
  }, o = typeof e == "function" ? e(t) : e, i = Ki(Ki({}, n), o);
  return i;
}
function E1(e) {
  var t = e.children, r = e.lineNumber, n = e.lineNumberStyle, o = e.largestLineNumber, i = e.showInlineLineNumbers, s = e.lineProps, l = s ===
  void 0 ? {} : s, u = e.className, c = u === void 0 ? [] : u, d = e.showLineNumbers, f = e.wrapLongLines, p = e.wrapLines, m = p === void 0 ?
  !1 : p, v = m ? Ki({}, typeof l == "function" ? l(r) : l) : {};
  if (v.className = v.className ? [].concat(b1(v.className.trim().split(/\s+/)), b1(c)) : c, r && i) {
    var y = Tj(n, r, o);
    t.unshift(Pj(r, y));
  }
  return f & d && (v.style = Ki({
    display: "flex"
  }, v.style)), {
    type: "element",
    tagName: "span",
    properties: v,
    children: t
  };
}
function Aj(e) {
  for (var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] :
  [], n = 0; n < e.length; n++) {
    var o = e[n];
    if (o.type === "text")
      r.push(E1({
        children: [o],
        className: b1(new Set(t))
      }));
    else if (o.children) {
      var i = t.concat(o.properties.className);
      Aj(o.children, i).forEach(function(s) {
        return r.push(s);
      });
    }
  }
  return r;
}
function rwe(e, t, r, n, o, i, s, l, u) {
  var c, d = Aj(e.value), f = [], p = -1, m = 0;
  function v(S, C) {
    var _ = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];
    return E1({
      children: S,
      lineNumber: C,
      lineNumberStyle: l,
      largestLineNumber: s,
      showInlineLineNumbers: o,
      lineProps: r,
      className: _,
      showLineNumbers: n,
      wrapLongLines: u,
      wrapLines: t
    });
  }
  a(v, "createWrappedLine");
  function y(S, C) {
    if (n && C && o) {
      var _ = Tj(l, C, s);
      S.unshift(Pj(C, _));
    }
    return S;
  }
  a(y, "createUnwrappedLine");
  function b(S, C) {
    var _ = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];
    return t || _.length > 0 ? v(S, C, _) : y(S, C);
  }
  a(b, "createLine");
  for (var g = /* @__PURE__ */ a(function() {
    var C = d[m], _ = C.children[0].value, A = Q5e(_);
    if (A) {
      var O = _.split(`
`);
      O.forEach(function(q, M) {
        var U = n && f.length + i, Q = {
          type: "text",
          value: "".concat(q, `
`)
        };
        if (M === 0) {
          var z = d.slice(p + 1, m).concat(E1({
            children: [Q],
            className: C.properties.className
          })), $ = b(z, U);
          f.push($);
        } else if (M === O.length - 1) {
          var D = d[m + 1] && d[m + 1].children && d[m + 1].children[0], V = {
            type: "text",
            value: "".concat(q)
          };
          if (D) {
            var G = E1({
              children: [V],
              className: C.properties.className
            });
            d.splice(m + 1, 0, G);
          } else {
            var ne = [V], de = b(ne, U, C.properties.className);
            f.push(de);
          }
        } else {
          var se = [Q], B = b(se, U, C.properties.className);
          f.push(B);
        }
      }), p = m;
    }
    m++;
  }, "_loop"); m < d.length; )
    g();
  if (p !== d.length - 1) {
    var w = d.slice(p + 1, d.length);
    if (w && w.length) {
      var E = n && f.length + i, x = b(w, E);
      f.push(x);
    }
  }
  return t ? f : (c = []).concat.apply(c, f);
}
function nwe(e) {
  var t = e.rows, r = e.stylesheet, n = e.useInlineStyles;
  return t.map(function(o, i) {
    return vl({
      node: o,
      stylesheet: r,
      useInlineStyles: n,
      key: "code-segement".concat(i)
    });
  });
}
function Oj(e) {
  return e && typeof e.highlightAuto < "u";
}
function owe(e) {
  var t = e.astGenerator, r = e.language, n = e.code, o = e.defaultCodeValue;
  if (Oj(t)) {
    var i = Sj(t, r);
    return r === "text" ? {
      value: o,
      language: "text"
    } : i ? t.highlight(r, n) : t.highlightAuto(n);
  }
  try {
    return r && r !== "text" ? {
      value: t.highlight(n, r)
    } : {
      value: o
    };
  } catch {
    return {
      value: o
    };
  }
}
function R3(e, t) {
  return /* @__PURE__ */ a(function(n) {
    var o = n.language, i = n.children, s = n.style, l = s === void 0 ? t : s, u = n.customStyle, c = u === void 0 ? {} : u, d = n.codeTagProps,
    f = d === void 0 ? {
      className: o ? "language-".concat(o) : void 0,
      style: Ki(Ki({}, l['code[class*="language-"]']), l['code[class*="language-'.concat(o, '"]')])
    } : d, p = n.useInlineStyles, m = p === void 0 ? !0 : p, v = n.showLineNumbers, y = v === void 0 ? !1 : v, b = n.showInlineLineNumbers, g = b ===
    void 0 ? !0 : b, w = n.startingLineNumber, E = w === void 0 ? 1 : w, x = n.lineNumberContainerStyle, S = n.lineNumberStyle, C = S === void 0 ?
    {} : S, _ = n.wrapLines, A = n.wrapLongLines, O = A === void 0 ? !1 : A, q = n.lineProps, M = q === void 0 ? {} : q, U = n.renderer, Q = n.
    PreTag, z = Q === void 0 ? "pre" : Q, $ = n.CodeTag, D = $ === void 0 ? "code" : $, V = n.code, G = V === void 0 ? (Array.isArray(i) ? i[0] :
    i) || "" : V, ne = n.astGenerator, de = ij(n, X5e);
    ne = ne || e;
    var se = y ? /* @__PURE__ */ Yi.default.createElement(ewe, {
      containerStyle: x,
      codeStyle: f.style || {},
      numberStyle: C,
      startingLineNumber: E,
      codeString: G
    }) : null, B = l.hljs || l['pre[class*="language-"]'] || {
      backgroundColor: "#fff"
    }, j = Oj(ne) ? "hljs" : "prismjs", J = m ? Object.assign({}, de, {
      style: Object.assign({}, B, c)
    }) : Object.assign({}, de, {
      className: de.className ? "".concat(j, " ").concat(de.className) : j,
      style: Object.assign({}, c)
    });
    if (O ? f.style = Ki({
      whiteSpace: "pre-wrap"
    }, f.style) : f.style = Ki({
      whiteSpace: "pre"
    }, f.style), !ne)
      return /* @__PURE__ */ Yi.default.createElement(z, J, se, /* @__PURE__ */ Yi.default.createElement(D, f, G));
    (_ === void 0 && U || O) && (_ = !0), U = U || nwe;
    var X = [{
      type: "text",
      value: G
    }], ie = owe({
      astGenerator: ne,
      language: o,
      code: G,
      defaultCodeValue: X
    });
    ie.language === null && (ie.value = X);
    var me = ie.value.length;
    me === 1 && ie.value[0].type === "text" && (me = ie.value[0].value.split(`
`).length);
    var xe = me + E, st = rwe(ie, _, M, y, g, E, xe, C, O);
    return /* @__PURE__ */ Yi.default.createElement(z, J, /* @__PURE__ */ Yi.default.createElement(D, f, !g && se, U({
      rows: st,
      stylesheet: l,
      useInlineStyles: m
    })));
  }, "SyntaxHighlighter");
}
var Yi, X5e, J5e, Ij = k(() => {
  sj();
  gj();
  b3();
  Yi = N(H());
  E3();
  Cj();
  X5e = ["language", "children", "style", "customStyle", "codeTagProps", "useInlineStyles", "showLineNumbers", "showInlineLineNumbers", "sta\
rtingLineNumber", "lineNumberContainerStyle", "lineNumberStyle", "wrapLines", "wrapLongLines", "lineProps", "renderer", "PreTag", "CodeTag",
  "code", "astGenerator"];
  a(_j, "ownKeys");
  a(Ki, "_objectSpread");
  J5e = /\n/g;
  a(Q5e, "getNewLines");
  a(Z5e, "getAllLineNumbers");
  a(ewe, "AllLineNumbers");
  a(twe, "getEmWidthOfNumber");
  a(Pj, "getInlineLineNumber");
  a(Tj, "assembleLineNumberStyles");
  a(E1, "createLineElement");
  a(Aj, "flattenCodeTree");
  a(rwe, "processLines");
  a(nwe, "defaultRenderer");
  a(Oj, "isHighlightJs");
  a(owe, "getCodeTree");
  a(R3, "default");
});

// ../node_modules/xtend/immutable.js
var Nj = R((hmt, Mj) => {
  Mj.exports = iwe;
  var awe = Object.prototype.hasOwnProperty;
  function iwe() {
    for (var e = {}, t = 0; t < arguments.length; t++) {
      var r = arguments[t];
      for (var n in r)
        awe.call(r, n) && (e[n] = r[n]);
    }
    return e;
  }
  a(iwe, "extend");
});

// ../node_modules/hastscript/node_modules/property-information/lib/util/schema.js
var S3 = R((ymt, kj) => {
  "use strict";
  kj.exports = Lj;
  var x3 = Lj.prototype;
  x3.space = null;
  x3.normal = {};
  x3.property = {};
  function Lj(e, t, r) {
    this.property = e, this.normal = t, r && (this.space = r);
  }
  a(Lj, "Schema");
});

// ../node_modules/hastscript/node_modules/property-information/lib/util/merge.js
var Fj = R((bmt, Dj) => {
  "use strict";
  var qj = Nj(), swe = S3();
  Dj.exports = lwe;
  function lwe(e) {
    for (var t = e.length, r = [], n = [], o = -1, i, s; ++o < t; )
      i = e[o], r.push(i.property), n.push(i.normal), s = i.space;
    return new swe(
      qj.apply(null, r),
      qj.apply(null, n),
      s
    );
  }
  a(lwe, "merge");
});

// ../node_modules/hastscript/node_modules/property-information/normalize.js
var R1 = R((Emt, jj) => {
  "use strict";
  jj.exports = uwe;
  function uwe(e) {
    return e.toLowerCase();
  }
  a(uwe, "normalize");
});

// ../node_modules/hastscript/node_modules/property-information/lib/util/info.js
var C3 = R((xmt, $j) => {
  "use strict";
  $j.exports = Bj;
  var Wn = Bj.prototype;
  Wn.space = null;
  Wn.attribute = null;
  Wn.property = null;
  Wn.boolean = !1;
  Wn.booleanish = !1;
  Wn.overloadedBoolean = !1;
  Wn.number = !1;
  Wn.commaSeparated = !1;
  Wn.spaceSeparated = !1;
  Wn.commaOrSpaceSeparated = !1;
  Wn.mustUseProperty = !1;
  Wn.defined = !1;
  function Bj(e, t) {
    this.property = e, this.attribute = t;
  }
  a(Bj, "Info");
});

// ../node_modules/hastscript/node_modules/property-information/lib/util/types.js
var x1 = R((Xi) => {
  "use strict";
  var cwe = 0;
  Xi.boolean = bl();
  Xi.booleanish = bl();
  Xi.overloadedBoolean = bl();
  Xi.number = bl();
  Xi.spaceSeparated = bl();
  Xi.commaSeparated = bl();
  Xi.commaOrSpaceSeparated = bl();
  function bl() {
    return Math.pow(2, ++cwe);
  }
  a(bl, "increment");
});

// ../node_modules/hastscript/node_modules/property-information/lib/util/defined-info.js
var P3 = R((Pmt, Wj) => {
  "use strict";
  var Uj = C3(), Hj = x1();
  Wj.exports = _3;
  _3.prototype = new Uj();
  _3.prototype.defined = !0;
  var Vj = [
    "boolean",
    "booleanish",
    "overloadedBoolean",
    "number",
    "commaSeparated",
    "spaceSeparated",
    "commaOrSpaceSeparated"
  ], dwe = Vj.length;
  function _3(e, t, r, n) {
    var o = -1, i;
    for (zj(this, "space", n), Uj.call(this, e, t); ++o < dwe; )
      i = Vj[o], zj(this, i, (r & Hj[i]) === Hj[i]);
  }
  a(_3, "DefinedInfo");
  function zj(e, t, r) {
    r && (e[t] = r);
  }
  a(zj, "mark");
});

// ../node_modules/hastscript/node_modules/property-information/lib/util/create.js
var Tc = R((Amt, Yj) => {
  "use strict";
  var Gj = R1(), fwe = S3(), pwe = P3();
  Yj.exports = mwe;
  function mwe(e) {
    var t = e.space, r = e.mustUseProperty || [], n = e.attributes || {}, o = e.properties, i = e.transform, s = {}, l = {}, u, c;
    for (u in o)
      c = new pwe(
        u,
        i(n, u),
        o[u],
        t
      ), r.indexOf(u) !== -1 && (c.mustUseProperty = !0), s[u] = c, l[Gj(u)] = u, l[Gj(c.attribute)] = u;
    return new fwe(s, l, t);
  }
  a(mwe, "create");
});

// ../node_modules/hastscript/node_modules/property-information/lib/xlink.js
var Xj = R((Imt, Kj) => {
  "use strict";
  var hwe = Tc();
  Kj.exports = hwe({
    space: "xlink",
    transform: gwe,
    properties: {
      xLinkActuate: null,
      xLinkArcRole: null,
      xLinkHref: null,
      xLinkRole: null,
      xLinkShow: null,
      xLinkTitle: null,
      xLinkType: null
    }
  });
  function gwe(e, t) {
    return "xlink:" + t.slice(5).toLowerCase();
  }
  a(gwe, "xlinkTransform");
});

// ../node_modules/hastscript/node_modules/property-information/lib/xml.js
var Qj = R((Nmt, Jj) => {
  "use strict";
  var ywe = Tc();
  Jj.exports = ywe({
    space: "xml",
    transform: vwe,
    properties: {
      xmlLang: null,
      xmlBase: null,
      xmlSpace: null
    }
  });
  function vwe(e, t) {
    return "xml:" + t.slice(3).toLowerCase();
  }
  a(vwe, "xmlTransform");
});

// ../node_modules/hastscript/node_modules/property-information/lib/util/case-sensitive-transform.js
var eB = R((kmt, Zj) => {
  "use strict";
  Zj.exports = bwe;
  function bwe(e, t) {
    return t in e ? e[t] : t;
  }
  a(bwe, "caseSensitiveTransform");
});

// ../node_modules/hastscript/node_modules/property-information/lib/util/case-insensitive-transform.js
var T3 = R((Dmt, tB) => {
  "use strict";
  var wwe = eB();
  tB.exports = Ewe;
  function Ewe(e, t) {
    return wwe(e, t.toLowerCase());
  }
  a(Ewe, "caseInsensitiveTransform");
});

// ../node_modules/hastscript/node_modules/property-information/lib/xmlns.js
var nB = R((jmt, rB) => {
  "use strict";
  var Rwe = Tc(), xwe = T3();
  rB.exports = Rwe({
    space: "xmlns",
    attributes: {
      xmlnsxlink: "xmlns:xlink"
    },
    transform: xwe,
    properties: {
      xmlns: null,
      xmlnsXLink: null
    }
  });
});

// ../node_modules/hastscript/node_modules/property-information/lib/aria.js
var aB = R((Bmt, oB) => {
  "use strict";
  var A3 = x1(), Swe = Tc(), nn = A3.booleanish, Gn = A3.number, wl = A3.spaceSeparated;
  oB.exports = Swe({
    transform: Cwe,
    properties: {
      ariaActiveDescendant: null,
      ariaAtomic: nn,
      ariaAutoComplete: null,
      ariaBusy: nn,
      ariaChecked: nn,
      ariaColCount: Gn,
      ariaColIndex: Gn,
      ariaColSpan: Gn,
      ariaControls: wl,
      ariaCurrent: null,
      ariaDescribedBy: wl,
      ariaDetails: null,
      ariaDisabled: nn,
      ariaDropEffect: wl,
      ariaErrorMessage: null,
      ariaExpanded: nn,
      ariaFlowTo: wl,
      ariaGrabbed: nn,
      ariaHasPopup: null,
      ariaHidden: nn,
      ariaInvalid: null,
      ariaKeyShortcuts: null,
      ariaLabel: null,
      ariaLabelledBy: wl,
      ariaLevel: Gn,
      ariaLive: null,
      ariaModal: nn,
      ariaMultiLine: nn,
      ariaMultiSelectable: nn,
      ariaOrientation: null,
      ariaOwns: wl,
      ariaPlaceholder: null,
      ariaPosInSet: Gn,
      ariaPressed: nn,
      ariaReadOnly: nn,
      ariaRelevant: null,
      ariaRequired: nn,
      ariaRoleDescription: wl,
      ariaRowCount: Gn,
      ariaRowIndex: Gn,
      ariaRowSpan: Gn,
      ariaSelected: nn,
      ariaSetSize: Gn,
      ariaSort: null,
      ariaValueMax: Gn,
      ariaValueMin: Gn,
      ariaValueNow: Gn,
      ariaValueText: null,
      role: null
    }
  });
  function Cwe(e, t) {
    return t === "role" ? t : "aria-" + t.slice(4).toLowerCase();
  }
  a(Cwe, "ariaTransform");
});

// ../node_modules/hastscript/node_modules/property-information/lib/html.js
var sB = R((Hmt, iB) => {
  "use strict";
  var Ac = x1(), _we = Tc(), Pwe = T3(), Re = Ac.boolean, Twe = Ac.overloadedBoolean, _p = Ac.booleanish, et = Ac.number, Br = Ac.spaceSeparated,
  S1 = Ac.commaSeparated;
  iB.exports = _we({
    space: "html",
    attributes: {
      acceptcharset: "accept-charset",
      classname: "class",
      htmlfor: "for",
      httpequiv: "http-equiv"
    },
    transform: Pwe,
    mustUseProperty: ["checked", "multiple", "muted", "selected"],
    properties: {
      // Standard Properties.
      abbr: null,
      accept: S1,
      acceptCharset: Br,
      accessKey: Br,
      action: null,
      allow: null,
      allowFullScreen: Re,
      allowPaymentRequest: Re,
      allowUserMedia: Re,
      alt: null,
      as: null,
      async: Re,
      autoCapitalize: null,
      autoComplete: Br,
      autoFocus: Re,
      autoPlay: Re,
      capture: Re,
      charSet: null,
      checked: Re,
      cite: null,
      className: Br,
      cols: et,
      colSpan: null,
      content: null,
      contentEditable: _p,
      controls: Re,
      controlsList: Br,
      coords: et | S1,
      crossOrigin: null,
      data: null,
      dateTime: null,
      decoding: null,
      default: Re,
      defer: Re,
      dir: null,
      dirName: null,
      disabled: Re,
      download: Twe,
      draggable: _p,
      encType: null,
      enterKeyHint: null,
      form: null,
      formAction: null,
      formEncType: null,
      formMethod: null,
      formNoValidate: Re,
      formTarget: null,
      headers: Br,
      height: et,
      hidden: Re,
      high: et,
      href: null,
      hrefLang: null,
      htmlFor: Br,
      httpEquiv: Br,
      id: null,
      imageSizes: null,
      imageSrcSet: S1,
      inputMode: null,
      integrity: null,
      is: null,
      isMap: Re,
      itemId: null,
      itemProp: Br,
      itemRef: Br,
      itemScope: Re,
      itemType: Br,
      kind: null,
      label: null,
      lang: null,
      language: null,
      list: null,
      loading: null,
      loop: Re,
      low: et,
      manifest: null,
      max: null,
      maxLength: et,
      media: null,
      method: null,
      min: null,
      minLength: et,
      multiple: Re,
      muted: Re,
      name: null,
      nonce: null,
      noModule: Re,
      noValidate: Re,
      onAbort: null,
      onAfterPrint: null,
      onAuxClick: null,
      onBeforePrint: null,
      onBeforeUnload: null,
      onBlur: null,
      onCancel: null,
      onCanPlay: null,
      onCanPlayThrough: null,
      onChange: null,
      onClick: null,
      onClose: null,
      onContextMenu: null,
      onCopy: null,
      onCueChange: null,
      onCut: null,
      onDblClick: null,
      onDrag: null,
      onDragEnd: null,
      onDragEnter: null,
      onDragExit: null,
      onDragLeave: null,
      onDragOver: null,
      onDragStart: null,
      onDrop: null,
      onDurationChange: null,
      onEmptied: null,
      onEnded: null,
      onError: null,
      onFocus: null,
      onFormData: null,
      onHashChange: null,
      onInput: null,
      onInvalid: null,
      onKeyDown: null,
      onKeyPress: null,
      onKeyUp: null,
      onLanguageChange: null,
      onLoad: null,
      onLoadedData: null,
      onLoadedMetadata: null,
      onLoadEnd: null,
      onLoadStart: null,
      onMessage: null,
      onMessageError: null,
      onMouseDown: null,
      onMouseEnter: null,
      onMouseLeave: null,
      onMouseMove: null,
      onMouseOut: null,
      onMouseOver: null,
      onMouseUp: null,
      onOffline: null,
      onOnline: null,
      onPageHide: null,
      onPageShow: null,
      onPaste: null,
      onPause: null,
      onPlay: null,
      onPlaying: null,
      onPopState: null,
      onProgress: null,
      onRateChange: null,
      onRejectionHandled: null,
      onReset: null,
      onResize: null,
      onScroll: null,
      onSecurityPolicyViolation: null,
      onSeeked: null,
      onSeeking: null,
      onSelect: null,
      onSlotChange: null,
      onStalled: null,
      onStorage: null,
      onSubmit: null,
      onSuspend: null,
      onTimeUpdate: null,
      onToggle: null,
      onUnhandledRejection: null,
      onUnload: null,
      onVolumeChange: null,
      onWaiting: null,
      onWheel: null,
      open: Re,
      optimum: et,
      pattern: null,
      ping: Br,
      placeholder: null,
      playsInline: Re,
      poster: null,
      preload: null,
      readOnly: Re,
      referrerPolicy: null,
      rel: Br,
      required: Re,
      reversed: Re,
      rows: et,
      rowSpan: et,
      sandbox: Br,
      scope: null,
      scoped: Re,
      seamless: Re,
      selected: Re,
      shape: null,
      size: et,
      sizes: null,
      slot: null,
      span: et,
      spellCheck: _p,
      src: null,
      srcDoc: null,
      srcLang: null,
      srcSet: S1,
      start: et,
      step: null,
      style: null,
      tabIndex: et,
      target: null,
      title: null,
      translate: null,
      type: null,
      typeMustMatch: Re,
      useMap: null,
      value: _p,
      width: et,
      wrap: null,
      // Legacy.
      // See: https://html.spec.whatwg.org/#other-elements,-attributes-and-apis
      align: null,
      // Several. Use CSS `text-align` instead,
      aLink: null,
      // `<body>`. Use CSS `a:active {color}` instead
      archive: Br,
      // `<object>`. List of URIs to archives
      axis: null,
      // `<td>` and `<th>`. Use `scope` on `<th>`
      background: null,
      // `<body>`. Use CSS `background-image` instead
      bgColor: null,
      // `<body>` and table elements. Use CSS `background-color` instead
      border: et,
      // `<table>`. Use CSS `border-width` instead,
      borderColor: null,
      // `<table>`. Use CSS `border-color` instead,
      bottomMargin: et,
      // `<body>`
      cellPadding: null,
      // `<table>`
      cellSpacing: null,
      // `<table>`
      char: null,
      // Several table elements. When `align=char`, sets the character to align on
      charOff: null,
      // Several table elements. When `char`, offsets the alignment
      classId: null,
      // `<object>`
      clear: null,
      // `<br>`. Use CSS `clear` instead
      code: null,
      // `<object>`
      codeBase: null,
      // `<object>`
      codeType: null,
      // `<object>`
      color: null,
      // `<font>` and `<hr>`. Use CSS instead
      compact: Re,
      // Lists. Use CSS to reduce space between items instead
      declare: Re,
      // `<object>`
      event: null,
      // `<script>`
      face: null,
      // `<font>`. Use CSS instead
      frame: null,
      // `<table>`
      frameBorder: null,
      // `<iframe>`. Use CSS `border` instead
      hSpace: et,
      // `<img>` and `<object>`
      leftMargin: et,
      // `<body>`
      link: null,
      // `<body>`. Use CSS `a:link {color: *}` instead
      longDesc: null,
      // `<frame>`, `<iframe>`, and `<img>`. Use an `<a>`
      lowSrc: null,
      // `<img>`. Use a `<picture>`
      marginHeight: et,
      // `<body>`
      marginWidth: et,
      // `<body>`
      noResize: Re,
      // `<frame>`
      noHref: Re,
      // `<area>`. Use no href instead of an explicit `nohref`
      noShade: Re,
      // `<hr>`. Use background-color and height instead of borders
      noWrap: Re,
      // `<td>` and `<th>`
      object: null,
      // `<applet>`
      profile: null,
      // `<head>`
      prompt: null,
      // `<isindex>`
      rev: null,
      // `<link>`
      rightMargin: et,
      // `<body>`
      rules: null,
      // `<table>`
      scheme: null,
      // `<meta>`
      scrolling: _p,
      // `<frame>`. Use overflow in the child context
      standby: null,
      // `<object>`
      summary: null,
      // `<table>`
      text: null,
      // `<body>`. Use CSS `color` instead
      topMargin: et,
      // `<body>`
      valueType: null,
      // `<param>`
      version: null,
      // `<html>`. Use a doctype.
      vAlign: null,
      // Several. Use CSS `vertical-align` instead
      vLink: null,
      // `<body>`. Use CSS `a:visited {color}` instead
      vSpace: et,
      // `<img>` and `<object>`
      // Non-standard Properties.
      allowTransparency: null,
      autoCorrect: null,
      autoSave: null,
      disablePictureInPicture: Re,
      disableRemotePlayback: Re,
      prefix: null,
      property: null,
      results: et,
      security: null,
      unselectable: null
    }
  });
});

// ../node_modules/hastscript/node_modules/property-information/html.js
var uB = R((zmt, lB) => {
  "use strict";
  var Awe = Fj(), Owe = Xj(), Iwe = Qj(), Mwe = nB(), Nwe = aB(), Lwe = sB();
  lB.exports = Awe([Iwe, Owe, Mwe, Nwe, Lwe]);
});

// ../node_modules/hastscript/node_modules/property-information/find.js
var fB = R((Umt, dB) => {
  "use strict";
  var kwe = R1(), qwe = P3(), Dwe = C3(), O3 = "data";
  dB.exports = Bwe;
  var Fwe = /^data[-\w.:]+$/i, cB = /-[a-z]/g, jwe = /[A-Z]/g;
  function Bwe(e, t) {
    var r = kwe(t), n = t, o = Dwe;
    return r in e.normal ? e.property[e.normal[r]] : (r.length > 4 && r.slice(0, 4) === O3 && Fwe.test(t) && (t.charAt(4) === "-" ? n = $we(
    t) : t = Hwe(t), o = qwe), new o(n, t));
  }
  a(Bwe, "find");
  function $we(e) {
    var t = e.slice(5).replace(cB, Uwe);
    return O3 + t.charAt(0).toUpperCase() + t.slice(1);
  }
  a($we, "datasetToProperty");
  function Hwe(e) {
    var t = e.slice(4);
    return cB.test(t) ? e : (t = t.replace(jwe, zwe), t.charAt(0) !== "-" && (t = "-" + t), O3 + t);
  }
  a(Hwe, "datasetToAttribute");
  function zwe(e) {
    return "-" + e.toLowerCase();
  }
  a(zwe, "kebab");
  function Uwe(e) {
    return e.charAt(1).toUpperCase();
  }
  a(Uwe, "camelcase");
});

// ../node_modules/hast-util-parse-selector/index.js
var hB = R((Wmt, mB) => {
  "use strict";
  mB.exports = Vwe;
  var pB = /[#.]/g;
  function Vwe(e, t) {
    for (var r = e || "", n = t || "div", o = {}, i = 0, s, l, u; i < r.length; )
      pB.lastIndex = i, u = pB.exec(r), s = r.slice(i, u ? u.index : r.length), s && (l ? l === "#" ? o.id = s : o.className ? o.className.push(
      s) : o.className = [s] : n = s, i += s.length), u && (l = u[0], i++);
    return { type: "element", tagName: n, properties: o, children: [] };
  }
  a(Vwe, "parse");
});

// ../node_modules/hastscript/node_modules/space-separated-tokens/index.js
var yB = R((I3) => {
  "use strict";
  I3.parse = Ywe;
  I3.stringify = Kwe;
  var gB = "", Wwe = " ", Gwe = /[ \t\n\r\f]+/g;
  function Ywe(e) {
    var t = String(e || gB).trim();
    return t === gB ? [] : t.split(Gwe);
  }
  a(Ywe, "parse");
  function Kwe(e) {
    return e.join(Wwe).trim();
  }
  a(Kwe, "stringify");
});

// ../node_modules/hastscript/node_modules/comma-separated-tokens/index.js
var bB = R((N3) => {
  "use strict";
  N3.parse = Xwe;
  N3.stringify = Jwe;
  var M3 = ",", vB = " ", Pp = "";
  function Xwe(e) {
    for (var t = [], r = String(e || Pp), n = r.indexOf(M3), o = 0, i = !1, s; !i; )
      n === -1 && (n = r.length, i = !0), s = r.slice(o, n).trim(), (s || !i) && t.push(s), o = n + 1, n = r.indexOf(M3, o);
    return t;
  }
  a(Xwe, "parse");
  function Jwe(e, t) {
    var r = t || {}, n = r.padLeft === !1 ? Pp : vB, o = r.padRight ? vB : Pp;
    return e[e.length - 1] === Pp && (e = e.concat(Pp)), e.join(o + M3 + n).trim();
  }
  a(Jwe, "stringify");
});

// ../node_modules/hastscript/factory.js
var _B = R((Qmt, CB) => {
  "use strict";
  var Qwe = fB(), wB = R1(), Zwe = hB(), EB = yB().parse, RB = bB().parse;
  CB.exports = tEe;
  var eEe = {}.hasOwnProperty;
  function tEe(e, t, r) {
    var n = r ? iEe(r) : null;
    return o;
    function o(s, l) {
      var u = Zwe(s, t), c = Array.prototype.slice.call(arguments, 2), d = u.tagName.toLowerCase(), f;
      if (u.tagName = n && eEe.call(n, d) ? n[d] : d, l && rEe(l, u) && (c.unshift(l), l = null), l)
        for (f in l)
          i(u.properties, f, l[f]);
      return SB(u.children, c), u.tagName === "template" && (u.content = { type: "root", children: u.children }, u.children = []), u;
    }
    function i(s, l, u) {
      var c, d, f;
      u == null || u !== u || (c = Qwe(e, l), d = c.property, f = u, typeof f == "string" && (c.spaceSeparated ? f = EB(f) : c.commaSeparated ?
      f = RB(f) : c.commaOrSpaceSeparated && (f = EB(RB(f).join(" ")))), d === "style" && typeof u != "string" && (f = aEe(f)), d === "class\
Name" && s.className && (f = s.className.concat(f)), s[d] = oEe(c, d, f));
    }
  }
  a(tEe, "factory");
  function rEe(e, t) {
    return typeof e == "string" || "length" in e || nEe(t.tagName, e);
  }
  a(rEe, "isChildren");
  function nEe(e, t) {
    var r = t.type;
    return e === "input" || !r || typeof r != "string" ? !1 : typeof t.children == "object" && "length" in t.children ? !0 : (r = r.toLowerCase(),
    e === "button" ? r !== "menu" && r !== "submit" && r !== "reset" && r !== "button" : "value" in t);
  }
  a(nEe, "isNode");
  function SB(e, t) {
    var r, n;
    if (typeof t == "string" || typeof t == "number") {
      e.push({ type: "text", value: String(t) });
      return;
    }
    if (typeof t == "object" && "length" in t) {
      for (r = -1, n = t.length; ++r < n; )
        SB(e, t[r]);
      return;
    }
    if (typeof t != "object" || !("type" in t))
      throw new Error("Expected node, nodes, or string, got `" + t + "`");
    e.push(t);
  }
  a(SB, "addChild");
  function oEe(e, t, r) {
    var n, o, i;
    if (typeof r != "object" || !("length" in r))
      return xB(e, t, r);
    for (o = r.length, n = -1, i = []; ++n < o; )
      i[n] = xB(e, t, r[n]);
    return i;
  }
  a(oEe, "parsePrimitives");
  function xB(e, t, r) {
    var n = r;
    return e.number || e.positiveNumber ? !isNaN(n) && n !== "" && (n = Number(n)) : (e.boolean || e.overloadedBoolean) && typeof n == "stri\
ng" && (n === "" || wB(r) === wB(t)) && (n = !0), n;
  }
  a(xB, "parsePrimitive");
  function aEe(e) {
    var t = [], r;
    for (r in e)
      t.push([r, e[r]].join(": "));
    return t.join("; ");
  }
  a(aEe, "style");
  function iEe(e) {
    for (var t = e.length, r = -1, n = {}, o; ++r < t; )
      o = e[r], n[o.toLowerCase()] = o;
    return n;
  }
  a(iEe, "createAdjustMap");
});

// ../node_modules/hastscript/html.js
var AB = R((eht, TB) => {
  "use strict";
  var sEe = uB(), lEe = _B(), PB = lEe(sEe, "div");
  PB.displayName = "html";
  TB.exports = PB;
});

// ../node_modules/hastscript/index.js
var IB = R((tht, OB) => {
  "use strict";
  OB.exports = AB();
});

// ../node_modules/refractor/node_modules/character-entities-legacy/index.json
var MB = R((rht, uEe) => {
  uEe.exports = {
    AElig: "\xC6",
    AMP: "&",
    Aacute: "\xC1",
    Acirc: "\xC2",
    Agrave: "\xC0",
    Aring: "\xC5",
    Atilde: "\xC3",
    Auml: "\xC4",
    COPY: "\xA9",
    Ccedil: "\xC7",
    ETH: "\xD0",
    Eacute: "\xC9",
    Ecirc: "\xCA",
    Egrave: "\xC8",
    Euml: "\xCB",
    GT: ">",
    Iacute: "\xCD",
    Icirc: "\xCE",
    Igrave: "\xCC",
    Iuml: "\xCF",
    LT: "<",
    Ntilde: "\xD1",
    Oacute: "\xD3",
    Ocirc: "\xD4",
    Ograve: "\xD2",
    Oslash: "\xD8",
    Otilde: "\xD5",
    Ouml: "\xD6",
    QUOT: '"',
    REG: "\xAE",
    THORN: "\xDE",
    Uacute: "\xDA",
    Ucirc: "\xDB",
    Ugrave: "\xD9",
    Uuml: "\xDC",
    Yacute: "\xDD",
    aacute: "\xE1",
    acirc: "\xE2",
    acute: "\xB4",
    aelig: "\xE6",
    agrave: "\xE0",
    amp: "&",
    aring: "\xE5",
    atilde: "\xE3",
    auml: "\xE4",
    brvbar: "\xA6",
    ccedil: "\xE7",
    cedil: "\xB8",
    cent: "\xA2",
    copy: "\xA9",
    curren: "\xA4",
    deg: "\xB0",
    divide: "\xF7",
    eacute: "\xE9",
    ecirc: "\xEA",
    egrave: "\xE8",
    eth: "\xF0",
    euml: "\xEB",
    frac12: "\xBD",
    frac14: "\xBC",
    frac34: "\xBE",
    gt: ">",
    iacute: "\xED",
    icirc: "\xEE",
    iexcl: "\xA1",
    igrave: "\xEC",
    iquest: "\xBF",
    iuml: "\xEF",
    laquo: "\xAB",
    lt: "<",
    macr: "\xAF",
    micro: "\xB5",
    middot: "\xB7",
    nbsp: "\xA0",
    not: "\xAC",
    ntilde: "\xF1",
    oacute: "\xF3",
    ocirc: "\xF4",
    ograve: "\xF2",
    ordf: "\xAA",
    ordm: "\xBA",
    oslash: "\xF8",
    otilde: "\xF5",
    ouml: "\xF6",
    para: "\xB6",
    plusmn: "\xB1",
    pound: "\xA3",
    quot: '"',
    raquo: "\xBB",
    reg: "\xAE",
    sect: "\xA7",
    shy: "\xAD",
    sup1: "\xB9",
    sup2: "\xB2",
    sup3: "\xB3",
    szlig: "\xDF",
    thorn: "\xFE",
    times: "\xD7",
    uacute: "\xFA",
    ucirc: "\xFB",
    ugrave: "\xF9",
    uml: "\xA8",
    uuml: "\xFC",
    yacute: "\xFD",
    yen: "\xA5",
    yuml: "\xFF"
  };
});

// ../node_modules/refractor/node_modules/character-reference-invalid/index.json
var NB = R((nht, cEe) => {
  cEe.exports = {
    "0": "\uFFFD",
    "128": "\u20AC",
    "130": "\u201A",
    "131": "\u0192",
    "132": "\u201E",
    "133": "\u2026",
    "134": "\u2020",
    "135": "\u2021",
    "136": "\u02C6",
    "137": "\u2030",
    "138": "\u0160",
    "139": "\u2039",
    "140": "\u0152",
    "142": "\u017D",
    "145": "\u2018",
    "146": "\u2019",
    "147": "\u201C",
    "148": "\u201D",
    "149": "\u2022",
    "150": "\u2013",
    "151": "\u2014",
    "152": "\u02DC",
    "153": "\u2122",
    "154": "\u0161",
    "155": "\u203A",
    "156": "\u0153",
    "158": "\u017E",
    "159": "\u0178"
  };
});

// ../node_modules/refractor/node_modules/is-decimal/index.js
var L3 = R((oht, LB) => {
  "use strict";
  LB.exports = dEe;
  function dEe(e) {
    var t = typeof e == "string" ? e.charCodeAt(0) : e;
    return t >= 48 && t <= 57;
  }
  a(dEe, "decimal");
});

// ../node_modules/refractor/node_modules/is-hexadecimal/index.js
var qB = R((iht, kB) => {
  "use strict";
  kB.exports = fEe;
  function fEe(e) {
    var t = typeof e == "string" ? e.charCodeAt(0) : e;
    return t >= 97 && t <= 102 || t >= 65 && t <= 70 || t >= 48 && t <= 57;
  }
  a(fEe, "hexadecimal");
});

// ../node_modules/refractor/node_modules/is-alphabetical/index.js
var FB = R((lht, DB) => {
  "use strict";
  DB.exports = pEe;
  function pEe(e) {
    var t = typeof e == "string" ? e.charCodeAt(0) : e;
    return t >= 97 && t <= 122 || t >= 65 && t <= 90;
  }
  a(pEe, "alphabetical");
});

// ../node_modules/refractor/node_modules/is-alphanumerical/index.js
var BB = R((cht, jB) => {
  "use strict";
  var mEe = FB(), hEe = L3();
  jB.exports = gEe;
  function gEe(e) {
    return mEe(e) || hEe(e);
  }
  a(gEe, "alphanumerical");
});

// ../node_modules/refractor/node_modules/parse-entities/decode-entity.browser.js
var HB = R((fht, $B) => {
  "use strict";
  var C1, yEe = 59;
  $B.exports = vEe;
  function vEe(e) {
    var t = "&" + e + ";", r;
    return C1 = C1 || document.createElement("i"), C1.innerHTML = t, r = C1.textContent, r.charCodeAt(r.length - 1) === yEe && e !== "semi" ||
    r === t ? !1 : r;
  }
  a(vEe, "decodeEntity");
});

// ../node_modules/refractor/node_modules/parse-entities/index.js
var r$ = R((mht, t$) => {
  "use strict";
  var zB = MB(), UB = NB(), bEe = L3(), wEe = qB(), YB = BB(), EEe = HB();
  t$.exports = LEe;
  var REe = {}.hasOwnProperty, Oc = String.fromCharCode, xEe = Function.prototype, VB = {
    warning: null,
    reference: null,
    text: null,
    warningContext: null,
    referenceContext: null,
    textContext: null,
    position: {},
    additional: null,
    attribute: !1,
    nonTerminated: !0
  }, SEe = 9, WB = 10, CEe = 12, _Ee = 32, GB = 38, PEe = 59, TEe = 60, AEe = 61, OEe = 35, IEe = 88, MEe = 120, NEe = 65533, Ic = "named", q3 = "\
hexadecimal", D3 = "decimal", F3 = {};
  F3[q3] = 16;
  F3[D3] = 10;
  var _1 = {};
  _1[Ic] = YB;
  _1[D3] = bEe;
  _1[q3] = wEe;
  var KB = 1, XB = 2, JB = 3, QB = 4, ZB = 5, k3 = 6, e$ = 7, Ji = {};
  Ji[KB] = "Named character references must be terminated by a semicolon";
  Ji[XB] = "Numeric character references must be terminated by a semicolon";
  Ji[JB] = "Named character references cannot be empty";
  Ji[QB] = "Numeric character references cannot be empty";
  Ji[ZB] = "Named character references must be known";
  Ji[k3] = "Numeric character references cannot be disallowed";
  Ji[e$] = "Numeric character references cannot be outside the permissible Unicode range";
  function LEe(e, t) {
    var r = {}, n, o;
    t || (t = {});
    for (o in VB)
      n = t[o], r[o] = n ?? VB[o];
    return (r.position.indent || r.position.start) && (r.indent = r.position.indent || [], r.position = r.position.start), kEe(e, r);
  }
  a(LEe, "parseEntities");
  function kEe(e, t) {
    var r = t.additional, n = t.nonTerminated, o = t.text, i = t.reference, s = t.warning, l = t.textContext, u = t.referenceContext, c = t.
    warningContext, d = t.position, f = t.indent || [], p = e.length, m = 0, v = -1, y = d.column || 1, b = d.line || 1, g = "", w = [], E, x,
    S, C, _, A, O, q, M, U, Q, z, $, D, V, G, ne, de, se;
    for (typeof r == "string" && (r = r.charCodeAt(0)), G = B(), q = s ? j : xEe, m--, p++; ++m < p; )
      if (_ === WB && (y = f[v] || 1), _ = e.charCodeAt(m), _ === GB) {
        if (O = e.charCodeAt(m + 1), O === SEe || O === WB || O === CEe || O === _Ee || O === GB || O === TEe || O !== O || r && O === r) {
          g += Oc(_), y++;
          continue;
        }
        for ($ = m + 1, z = $, se = $, O === OEe ? (se = ++z, O = e.charCodeAt(se), O === IEe || O === MEe ? (D = q3, se = ++z) : D = D3) : D =
        Ic, E = "", Q = "", C = "", V = _1[D], se--; ++se < p && (O = e.charCodeAt(se), !!V(O)); )
          C += Oc(O), D === Ic && REe.call(zB, C) && (E = C, Q = zB[C]);
        S = e.charCodeAt(se) === PEe, S && (se++, x = D === Ic ? EEe(C) : !1, x && (E = C, Q = x)), de = 1 + se - $, !S && !n || (C ? D === Ic ?
        (S && !Q ? q(ZB, 1) : (E !== C && (se = z + E.length, de = 1 + se - z, S = !1), S || (M = E ? KB : JB, t.attribute ? (O = e.charCodeAt(
        se), O === AEe ? (q(M, de), Q = null) : YB(O) ? Q = null : q(M, de)) : q(M, de))), A = Q) : (S || q(XB, de), A = parseInt(C, F3[D]),
        qEe(A) ? (q(e$, de), A = Oc(NEe)) : A in UB ? (q(k3, de), A = UB[A]) : (U = "", DEe(A) && q(k3, de), A > 65535 && (A -= 65536, U += Oc(
        A >>> 10 | 55296), A = 56320 | A & 1023), A = U + Oc(A))) : D !== Ic && q(QB, de)), A ? (J(), G = B(), m = se - 1, y += se - $ + 1, w.
        push(A), ne = B(), ne.offset++, i && i.call(
          u,
          A,
          { start: G, end: ne },
          e.slice($ - 1, se)
        ), G = ne) : (C = e.slice($ - 1, se), g += C, y += C.length, m = se - 1);
      } else
        _ === 10 && (b++, v++, y = 0), _ === _ ? (g += Oc(_), y++) : J();
    return w.join("");
    function B() {
      return {
        line: b,
        column: y,
        offset: m + (d.offset || 0)
      };
    }
    function j(X, ie) {
      var me = B();
      me.column += ie, me.offset += ie, s.call(c, Ji[X], me, X);
    }
    function J() {
      g && (w.push(g), o && o.call(l, g, { start: G, end: B() }), g = "");
    }
  }
  a(kEe, "parse");
  function qEe(e) {
    return e >= 55296 && e <= 57343 || e > 1114111;
  }
  a(qEe, "prohibited");
  function DEe(e) {
    return e >= 1 && e <= 8 || e === 11 || e >= 13 && e <= 31 || e >= 127 && e <= 159 || e >= 64976 && e <= 65007 || (e & 65535) === 65535 ||
    (e & 65535) === 65534;
  }
  a(DEe, "disallowed");
});

// ../node_modules/refractor/node_modules/prismjs/components/prism-core.js
var o$ = R((ght, P1) => {
  var FEe = typeof window < "u" ? window : typeof WorkerGlobalScope < "u" && self instanceof WorkerGlobalScope ? self : {};
  var n$ = function(e) {
    var t = /(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i, r = 0, n = {}, o = {
      /**
       * By default, Prism will attempt to highlight all code elements (by calling {@link Prism.highlightAll}) on the
       * current page after the page finished loading. This might be a problem if e.g. you wanted to asynchronously load
       * additional languages or plugins yourself.
       *
       * By setting this value to `true`, Prism will not automatically highlight all code elements on the page.
       *
       * You obviously have to change this value before the automatic highlighting started. To do this, you can add an
       * empty Prism object into the global scope before loading the Prism script like this:
       *
       * ```js
       * window.Prism = window.Prism || {};
       * Prism.manual = true;
       * // add a new <script> to load Prism's script
       * ```
       *
       * @default false
       * @type {boolean}
       * @memberof Prism
       * @public
       */
      manual: e.Prism && e.Prism.manual,
      /**
       * By default, if Prism is in a web worker, it assumes that it is in a worker it created itself, so it uses
       * `addEventListener` to communicate with its parent instance. However, if you're using Prism manually in your
       * own worker, you don't want it to do this.
       *
       * By setting this value to `true`, Prism will not add its own listeners to the worker.
       *
       * You obviously have to change this value before Prism executes. To do this, you can add an
       * empty Prism object into the global scope before loading the Prism script like this:
       *
       * ```js
       * window.Prism = window.Prism || {};
       * Prism.disableWorkerMessageHandler = true;
       * // Load Prism's script
       * ```
       *
       * @default false
       * @type {boolean}
       * @memberof Prism
       * @public
       */
      disableWorkerMessageHandler: e.Prism && e.Prism.disableWorkerMessageHandler,
      /**
       * A namespace for utility methods.
       *
       * All function in this namespace that are not explicitly marked as _public_ are for __internal use only__ and may
       * change or disappear at any time.
       *
       * @namespace
       * @memberof Prism
       */
      util: {
        encode: /* @__PURE__ */ a(function y(b) {
          return b instanceof i ? new i(b.type, y(b.content), b.alias) : Array.isArray(b) ? b.map(y) : b.replace(/&/g, "&amp;").replace(/</g,
          "&lt;").replace(/\u00a0/g, " ");
        }, "encode"),
        /**
         * Returns the name of the type of the given value.
         *
         * @param {any} o
         * @returns {string}
         * @example
         * type(null)      === 'Null'
         * type(undefined) === 'Undefined'
         * type(123)       === 'Number'
         * type('foo')     === 'String'
         * type(true)      === 'Boolean'
         * type([1, 2])    === 'Array'
         * type({})        === 'Object'
         * type(String)    === 'Function'
         * type(/abc+/)    === 'RegExp'
         */
        type: /* @__PURE__ */ a(function(y) {
          return Object.prototype.toString.call(y).slice(8, -1);
        }, "type"),
        /**
         * Returns a unique number for the given object. Later calls will still return the same number.
         *
         * @param {Object} obj
         * @returns {number}
         */
        objId: /* @__PURE__ */ a(function(y) {
          return y.__id || Object.defineProperty(y, "__id", { value: ++r }), y.__id;
        }, "objId"),
        /**
         * Creates a deep clone of the given object.
         *
         * The main intended use of this function is to clone language definitions.
         *
         * @param {T} o
         * @param {Record<number, any>} [visited]
         * @returns {T}
         * @template T
         */
        clone: /* @__PURE__ */ a(function y(b, g) {
          g = g || {};
          var w, E;
          switch (o.util.type(b)) {
            case "Object":
              if (E = o.util.objId(b), g[E])
                return g[E];
              w = /** @type {Record<string, any>} */
              {}, g[E] = w;
              for (var x in b)
                b.hasOwnProperty(x) && (w[x] = y(b[x], g));
              return (
                /** @type {any} */
                w
              );
            case "Array":
              return E = o.util.objId(b), g[E] ? g[E] : (w = [], g[E] = w, /** @type {Array} */
              /** @type {any} */
              b.forEach(function(S, C) {
                w[C] = y(S, g);
              }), /** @type {any} */
              w);
            default:
              return b;
          }
        }, "deepClone"),
        /**
         * Returns the Prism language of the given element set by a `language-xxxx` or `lang-xxxx` class.
         *
         * If no language is set for the element or the element is `null` or `undefined`, `none` will be returned.
         *
         * @param {Element} element
         * @returns {string}
         */
        getLanguage: /* @__PURE__ */ a(function(y) {
          for (; y; ) {
            var b = t.exec(y.className);
            if (b)
              return b[1].toLowerCase();
            y = y.parentElement;
          }
          return "none";
        }, "getLanguage"),
        /**
         * Sets the Prism `language-xxxx` class of the given element.
         *
         * @param {Element} element
         * @param {string} language
         * @returns {void}
         */
        setLanguage: /* @__PURE__ */ a(function(y, b) {
          y.className = y.className.replace(RegExp(t, "gi"), ""), y.classList.add("language-" + b);
        }, "setLanguage"),
        /**
         * Returns the script element that is currently executing.
         *
         * This does __not__ work for line script element.
         *
         * @returns {HTMLScriptElement | null}
         */
        currentScript: /* @__PURE__ */ a(function() {
          if (typeof document > "u")
            return null;
          if ("currentScript" in document)
            return (
              /** @type {any} */
              document.currentScript
            );
          try {
            throw new Error();
          } catch (w) {
            var y = (/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(w.stack) || [])[1];
            if (y) {
              var b = document.getElementsByTagName("script");
              for (var g in b)
                if (b[g].src == y)
                  return b[g];
            }
            return null;
          }
        }, "currentScript"),
        /**
         * Returns whether a given class is active for `element`.
         *
         * The class can be activated if `element` or one of its ancestors has the given class and it can be deactivated
         * if `element` or one of its ancestors has the negated version of the given class. The _negated version_ of the
         * given class is just the given class with a `no-` prefix.
         *
         * Whether the class is active is determined by the closest ancestor of `element` (where `element` itself is
         * closest ancestor) that has the given class or the negated version of it. If neither `element` nor any of its
         * ancestors have the given class or the negated version of it, then the default activation will be returned.
         *
         * In the paradoxical situation where the closest ancestor contains __both__ the given class and the negated
         * version of it, the class is considered active.
         *
         * @param {Element} element
         * @param {string} className
         * @param {boolean} [defaultActivation=false]
         * @returns {boolean}
         */
        isActive: /* @__PURE__ */ a(function(y, b, g) {
          for (var w = "no-" + b; y; ) {
            var E = y.classList;
            if (E.contains(b))
              return !0;
            if (E.contains(w))
              return !1;
            y = y.parentElement;
          }
          return !!g;
        }, "isActive")
      },
      /**
       * This namespace contains all currently loaded languages and the some helper functions to create and modify languages.
       *
       * @namespace
       * @memberof Prism
       * @public
       */
      languages: {
        /**
         * The grammar for plain, unformatted text.
         */
        plain: n,
        plaintext: n,
        text: n,
        txt: n,
        /**
         * Creates a deep copy of the language with the given id and appends the given tokens.
         *
         * If a token in `redef` also appears in the copied language, then the existing token in the copied language
         * will be overwritten at its original position.
         *
         * ## Best practices
         *
         * Since the position of overwriting tokens (token in `redef` that overwrite tokens in the copied language)
         * doesn't matter, they can technically be in any order. However, this can be confusing to others that trying to
         * understand the language definition because, normally, the order of tokens matters in Prism grammars.
         *
         * Therefore, it is encouraged to order overwriting tokens according to the positions of the overwritten tokens.
         * Furthermore, all non-overwriting tokens should be placed after the overwriting ones.
         *
         * @param {string} id The id of the language to extend. This has to be a key in `Prism.languages`.
         * @param {Grammar} redef The new tokens to append.
         * @returns {Grammar} The new language created.
         * @public
         * @example
         * Prism.languages['css-with-colors'] = Prism.languages.extend('css', {
         *     // Prism.languages.css already has a 'comment' token, so this token will overwrite CSS' 'comment' token
         *     // at its original position
         *     'comment': { ... },
         *     // CSS doesn't have a 'color' token, so this token will be appended
         *     'color': /\b(?:red|green|blue)\b/
         * });
         */
        extend: /* @__PURE__ */ a(function(y, b) {
          var g = o.util.clone(o.languages[y]);
          for (var w in b)
            g[w] = b[w];
          return g;
        }, "extend"),
        /**
         * Inserts tokens _before_ another token in a language definition or any other grammar.
         *
         * ## Usage
         *
         * This helper method makes it easy to modify existing languages. For example, the CSS language definition
         * not only defines CSS highlighting for CSS documents, but also needs to define highlighting for CSS embedded
         * in HTML through `<style>` elements. To do this, it needs to modify `Prism.languages.markup` and add the
         * appropriate tokens. However, `Prism.languages.markup` is a regular JavaScript object literal, so if you do
         * this:
         *
         * ```js
         * Prism.languages.markup.style = {
         *     // token
         * };
         * ```
         *
         * then the `style` token will be added (and processed) at the end. `insertBefore` allows you to insert tokens
         * before existing tokens. For the CSS example above, you would use it like this:
         *
         * ```js
         * Prism.languages.insertBefore('markup', 'cdata', {
         *     'style': {
         *         // token
         *     }
         * });
         * ```
         *
         * ## Special cases
         *
         * If the grammars of `inside` and `insert` have tokens with the same name, the tokens in `inside`'s grammar
         * will be ignored.
         *
         * This behavior can be used to insert tokens after `before`:
         *
         * ```js
         * Prism.languages.insertBefore('markup', 'comment', {
         *     'comment': Prism.languages.markup.comment,
         *     // tokens after 'comment'
         * });
         * ```
         *
         * ## Limitations
         *
         * The main problem `insertBefore` has to solve is iteration order. Since ES2015, the iteration order for object
         * properties is guaranteed to be the insertion order (except for integer keys) but some browsers behave
         * differently when keys are deleted and re-inserted. So `insertBefore` can't be implemented by temporarily
         * deleting properties which is necessary to insert at arbitrary positions.
         *
         * To solve this problem, `insertBefore` doesn't actually insert the given tokens into the target object.
         * Instead, it will create a new object and replace all references to the target object with the new one. This
         * can be done without temporarily deleting properties, so the iteration order is well-defined.
         *
         * However, only references that can be reached from `Prism.languages` or `insert` will be replaced. I.e. if
         * you hold the target object in a variable, then the value of the variable will not change.
         *
         * ```js
         * var oldMarkup = Prism.languages.markup;
         * var newMarkup = Prism.languages.insertBefore('markup', 'comment', { ... });
         *
         * assert(oldMarkup !== Prism.languages.markup);
         * assert(newMarkup === Prism.languages.markup);
         * ```
         *
         * @param {string} inside The property of `root` (e.g. a language id in `Prism.languages`) that contains the
         * object to be modified.
         * @param {string} before The key to insert before.
         * @param {Grammar} insert An object containing the key-value pairs to be inserted.
         * @param {Object<string, any>} [root] The object containing `inside`, i.e. the object that contains the
         * object to be modified.
         *
         * Defaults to `Prism.languages`.
         * @returns {Grammar} The new grammar object.
         * @public
         */
        insertBefore: /* @__PURE__ */ a(function(y, b, g, w) {
          w = w || /** @type {any} */
          o.languages;
          var E = w[y], x = {};
          for (var S in E)
            if (E.hasOwnProperty(S)) {
              if (S == b)
                for (var C in g)
                  g.hasOwnProperty(C) && (x[C] = g[C]);
              g.hasOwnProperty(S) || (x[S] = E[S]);
            }
          var _ = w[y];
          return w[y] = x, o.languages.DFS(o.languages, function(A, O) {
            O === _ && A != y && (this[A] = x);
          }), x;
        }, "insertBefore"),
        // Traverse a language definition with Depth First Search
        DFS: /* @__PURE__ */ a(function y(b, g, w, E) {
          E = E || {};
          var x = o.util.objId;
          for (var S in b)
            if (b.hasOwnProperty(S)) {
              g.call(b, S, b[S], w || S);
              var C = b[S], _ = o.util.type(C);
              _ === "Object" && !E[x(C)] ? (E[x(C)] = !0, y(C, g, null, E)) : _ === "Array" && !E[x(C)] && (E[x(C)] = !0, y(C, g, S, E));
            }
        }, "DFS")
      },
      plugins: {},
      /**
       * This is the most high-level function in Prism’s API.
       * It fetches all the elements that have a `.language-xxxx` class and then calls {@link Prism.highlightElement} on
       * each one of them.
       *
       * This is equivalent to `Prism.highlightAllUnder(document, async, callback)`.
       *
       * @param {boolean} [async=false] Same as in {@link Prism.highlightAllUnder}.
       * @param {HighlightCallback} [callback] Same as in {@link Prism.highlightAllUnder}.
       * @memberof Prism
       * @public
       */
      highlightAll: /* @__PURE__ */ a(function(y, b) {
        o.highlightAllUnder(document, y, b);
      }, "highlightAll"),
      /**
       * Fetches all the descendants of `container` that have a `.language-xxxx` class and then calls
       * {@link Prism.highlightElement} on each one of them.
       *
       * The following hooks will be run:
       * 1. `before-highlightall`
       * 2. `before-all-elements-highlight`
       * 3. All hooks of {@link Prism.highlightElement} for each element.
       *
       * @param {ParentNode} container The root element, whose descendants that have a `.language-xxxx` class will be highlighted.
       * @param {boolean} [async=false] Whether each element is to be highlighted asynchronously using Web Workers.
       * @param {HighlightCallback} [callback] An optional callback to be invoked on each element after its highlighting is done.
       * @memberof Prism
       * @public
       */
      highlightAllUnder: /* @__PURE__ */ a(function(y, b, g) {
        var w = {
          callback: g,
          container: y,
          selector: 'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'
        };
        o.hooks.run("before-highlightall", w), w.elements = Array.prototype.slice.apply(w.container.querySelectorAll(w.selector)), o.hooks.run(
        "before-all-elements-highlight", w);
        for (var E = 0, x; x = w.elements[E++]; )
          o.highlightElement(x, b === !0, w.callback);
      }, "highlightAllUnder"),
      /**
       * Highlights the code inside a single element.
       *
       * The following hooks will be run:
       * 1. `before-sanity-check`
       * 2. `before-highlight`
       * 3. All hooks of {@link Prism.highlight}. These hooks will be run by an asynchronous worker if `async` is `true`.
       * 4. `before-insert`
       * 5. `after-highlight`
       * 6. `complete`
       *
       * Some the above hooks will be skipped if the element doesn't contain any text or there is no grammar loaded for
       * the element's language.
       *
       * @param {Element} element The element containing the code.
       * It must have a class of `language-xxxx` to be processed, where `xxxx` is a valid language identifier.
       * @param {boolean} [async=false] Whether the element is to be highlighted asynchronously using Web Workers
       * to improve performance and avoid blocking the UI when highlighting very large chunks of code. This option is
       * [disabled by default](https://prismjs.com/faq.html#why-is-asynchronous-highlighting-disabled-by-default).
       *
       * Note: All language definitions required to highlight the code must be included in the main `prism.js` file for
       * asynchronous highlighting to work. You can build your own bundle on the
       * [Download page](https://prismjs.com/download.html).
       * @param {HighlightCallback} [callback] An optional callback to be invoked after the highlighting is done.
       * Mostly useful when `async` is `true`, since in that case, the highlighting is done asynchronously.
       * @memberof Prism
       * @public
       */
      highlightElement: /* @__PURE__ */ a(function(y, b, g) {
        var w = o.util.getLanguage(y), E = o.languages[w];
        o.util.setLanguage(y, w);
        var x = y.parentElement;
        x && x.nodeName.toLowerCase() === "pre" && o.util.setLanguage(x, w);
        var S = y.textContent, C = {
          element: y,
          language: w,
          grammar: E,
          code: S
        };
        function _(O) {
          C.highlightedCode = O, o.hooks.run("before-insert", C), C.element.innerHTML = C.highlightedCode, o.hooks.run("after-highlight", C),
          o.hooks.run("complete", C), g && g.call(C.element);
        }
        if (a(_, "insertHighlightedCode"), o.hooks.run("before-sanity-check", C), x = C.element.parentElement, x && x.nodeName.toLowerCase() ===
        "pre" && !x.hasAttribute("tabindex") && x.setAttribute("tabindex", "0"), !C.code) {
          o.hooks.run("complete", C), g && g.call(C.element);
          return;
        }
        if (o.hooks.run("before-highlight", C), !C.grammar) {
          _(o.util.encode(C.code));
          return;
        }
        if (b && e.Worker) {
          var A = new Worker(o.filename);
          A.onmessage = function(O) {
            _(O.data);
          }, A.postMessage(JSON.stringify({
            language: C.language,
            code: C.code,
            immediateClose: !0
          }));
        } else
          _(o.highlight(C.code, C.grammar, C.language));
      }, "highlightElement"),
      /**
       * Low-level function, only use if you know what you’re doing. It accepts a string of text as input
       * and the language definitions to use, and returns a string with the HTML produced.
       *
       * The following hooks will be run:
       * 1. `before-tokenize`
       * 2. `after-tokenize`
       * 3. `wrap`: On each {@link Token}.
       *
       * @param {string} text A string with the code to be highlighted.
       * @param {Grammar} grammar An object containing the tokens to use.
       *
       * Usually a language definition like `Prism.languages.markup`.
       * @param {string} language The name of the language definition passed to `grammar`.
       * @returns {string} The highlighted HTML.
       * @memberof Prism
       * @public
       * @example
       * Prism.highlight('var foo = true;', Prism.languages.javascript, 'javascript');
       */
      highlight: /* @__PURE__ */ a(function(y, b, g) {
        var w = {
          code: y,
          grammar: b,
          language: g
        };
        if (o.hooks.run("before-tokenize", w), !w.grammar)
          throw new Error('The language "' + w.language + '" has no grammar.');
        return w.tokens = o.tokenize(w.code, w.grammar), o.hooks.run("after-tokenize", w), i.stringify(o.util.encode(w.tokens), w.language);
      }, "highlight"),
      /**
       * This is the heart of Prism, and the most low-level function you can use. It accepts a string of text as input
       * and the language definitions to use, and returns an array with the tokenized code.
       *
       * When the language definition includes nested tokens, the function is called recursively on each of these tokens.
       *
       * This method could be useful in other contexts as well, as a very crude parser.
       *
       * @param {string} text A string with the code to be highlighted.
       * @param {Grammar} grammar An object containing the tokens to use.
       *
       * Usually a language definition like `Prism.languages.markup`.
       * @returns {TokenStream} An array of strings and tokens, a token stream.
       * @memberof Prism
       * @public
       * @example
       * let code = `var foo = 0;`;
       * let tokens = Prism.tokenize(code, Prism.languages.javascript);
       * tokens.forEach(token => {
       *     if (token instanceof Prism.Token && token.type === 'number') {
       *         console.log(`Found numeric literal: ${token.content}`);
       *     }
       * });
       */
      tokenize: /* @__PURE__ */ a(function(y, b) {
        var g = b.rest;
        if (g) {
          for (var w in g)
            b[w] = g[w];
          delete b.rest;
        }
        var E = new u();
        return c(E, E.head, y), l(y, E, b, E.head, 0), f(E);
      }, "tokenize"),
      /**
       * @namespace
       * @memberof Prism
       * @public
       */
      hooks: {
        all: {},
        /**
         * Adds the given callback to the list of callbacks for the given hook.
         *
         * The callback will be invoked when the hook it is registered for is run.
         * Hooks are usually directly run by a highlight function but you can also run hooks yourself.
         *
         * One callback function can be registered to multiple hooks and the same hook multiple times.
         *
         * @param {string} name The name of the hook.
         * @param {HookCallback} callback The callback function which is given environment variables.
         * @public
         */
        add: /* @__PURE__ */ a(function(y, b) {
          var g = o.hooks.all;
          g[y] = g[y] || [], g[y].push(b);
        }, "add"),
        /**
         * Runs a hook invoking all registered callbacks with the given environment variables.
         *
         * Callbacks will be invoked synchronously and in the order in which they were registered.
         *
         * @param {string} name The name of the hook.
         * @param {Object<string, any>} env The environment variables of the hook passed to all callbacks registered.
         * @public
         */
        run: /* @__PURE__ */ a(function(y, b) {
          var g = o.hooks.all[y];
          if (!(!g || !g.length))
            for (var w = 0, E; E = g[w++]; )
              E(b);
        }, "run")
      },
      Token: i
    };
    e.Prism = o;
    function i(y, b, g, w) {
      this.type = y, this.content = b, this.alias = g, this.length = (w || "").length | 0;
    }
    a(i, "Token"), i.stringify = /* @__PURE__ */ a(function y(b, g) {
      if (typeof b == "string")
        return b;
      if (Array.isArray(b)) {
        var w = "";
        return b.forEach(function(_) {
          w += y(_, g);
        }), w;
      }
      var E = {
        type: b.type,
        content: y(b.content, g),
        tag: "span",
        classes: ["token", b.type],
        attributes: {},
        language: g
      }, x = b.alias;
      x && (Array.isArray(x) ? Array.prototype.push.apply(E.classes, x) : E.classes.push(x)), o.hooks.run("wrap", E);
      var S = "";
      for (var C in E.attributes)
        S += " " + C + '="' + (E.attributes[C] || "").replace(/"/g, "&quot;") + '"';
      return "<" + E.tag + ' class="' + E.classes.join(" ") + '"' + S + ">" + E.content + "</" + E.tag + ">";
    }, "stringify");
    function s(y, b, g, w) {
      y.lastIndex = b;
      var E = y.exec(g);
      if (E && w && E[1]) {
        var x = E[1].length;
        E.index += x, E[0] = E[0].slice(x);
      }
      return E;
    }
    a(s, "matchPattern");
    function l(y, b, g, w, E, x) {
      for (var S in g)
        if (!(!g.hasOwnProperty(S) || !g[S])) {
          var C = g[S];
          C = Array.isArray(C) ? C : [C];
          for (var _ = 0; _ < C.length; ++_) {
            if (x && x.cause == S + "," + _)
              return;
            var A = C[_], O = A.inside, q = !!A.lookbehind, M = !!A.greedy, U = A.alias;
            if (M && !A.pattern.global) {
              var Q = A.pattern.toString().match(/[imsuy]*$/)[0];
              A.pattern = RegExp(A.pattern.source, Q + "g");
            }
            for (var z = A.pattern || A, $ = w.next, D = E; $ !== b.tail && !(x && D >= x.reach); D += $.value.length, $ = $.next) {
              var V = $.value;
              if (b.length > y.length)
                return;
              if (!(V instanceof i)) {
                var G = 1, ne;
                if (M) {
                  if (ne = s(z, D, y, q), !ne || ne.index >= y.length)
                    break;
                  var j = ne.index, de = ne.index + ne[0].length, se = D;
                  for (se += $.value.length; j >= se; )
                    $ = $.next, se += $.value.length;
                  if (se -= $.value.length, D = se, $.value instanceof i)
                    continue;
                  for (var B = $; B !== b.tail && (se < de || typeof B.value == "string"); B = B.next)
                    G++, se += B.value.length;
                  G--, V = y.slice(D, se), ne.index -= D;
                } else if (ne = s(z, 0, V, q), !ne)
                  continue;
                var j = ne.index, J = ne[0], X = V.slice(0, j), ie = V.slice(j + J.length), me = D + V.length;
                x && me > x.reach && (x.reach = me);
                var xe = $.prev;
                X && (xe = c(b, xe, X), D += X.length), d(b, xe, G);
                var st = new i(S, O ? o.tokenize(J, O) : J, U, J);
                if ($ = c(b, xe, st), ie && c(b, $, ie), G > 1) {
                  var bo = {
                    cause: S + "," + _,
                    reach: me
                  };
                  l(y, b, g, $.prev, D, bo), x && bo.reach > x.reach && (x.reach = bo.reach);
                }
              }
            }
          }
        }
    }
    a(l, "matchGrammar");
    function u() {
      var y = { value: null, prev: null, next: null }, b = { value: null, prev: y, next: null };
      y.next = b, this.head = y, this.tail = b, this.length = 0;
    }
    a(u, "LinkedList");
    function c(y, b, g) {
      var w = b.next, E = { value: g, prev: b, next: w };
      return b.next = E, w.prev = E, y.length++, E;
    }
    a(c, "addAfter");
    function d(y, b, g) {
      for (var w = b.next, E = 0; E < g && w !== y.tail; E++)
        w = w.next;
      b.next = w, w.prev = b, y.length -= E;
    }
    a(d, "removeRange");
    function f(y) {
      for (var b = [], g = y.head.next; g !== y.tail; )
        b.push(g.value), g = g.next;
      return b;
    }
    if (a(f, "toArray"), !e.document)
      return e.addEventListener && (o.disableWorkerMessageHandler || e.addEventListener("message", function(y) {
        var b = JSON.parse(y.data), g = b.language, w = b.code, E = b.immediateClose;
        e.postMessage(o.highlight(w, o.languages[g], g)), E && e.close();
      }, !1)), o;
    var p = o.util.currentScript();
    p && (o.filename = p.src, p.hasAttribute("data-manual") && (o.manual = !0));
    function m() {
      o.manual || o.highlightAll();
    }
    if (a(m, "highlightAutomaticallyCallback"), !o.manual) {
      var v = document.readyState;
      v === "loading" || v === "interactive" && p && p.defer ? document.addEventListener("DOMContentLoaded", m) : window.requestAnimationFrame ?
      window.requestAnimationFrame(m) : window.setTimeout(m, 16);
    }
    return o;
  }(FEe);
  typeof P1 < "u" && P1.exports && (P1.exports = n$);
  typeof global < "u" && (global.Prism = n$);
});

// ../node_modules/refractor/lang/markup.js
var B3 = R((vht, a$) => {
  "use strict";
  a$.exports = j3;
  j3.displayName = "markup";
  j3.aliases = ["html", "mathml", "svg", "xml", "ssml", "atom", "rss"];
  function j3(e) {
    e.languages.markup = {
      comment: {
        pattern: /<!--(?:(?!<!--)[\s\S])*?-->/,
        greedy: !0
      },
      prolog: {
        pattern: /<\?[\s\S]+?\?>/,
        greedy: !0
      },
      doctype: {
        // https://www.w3.org/TR/xml/#NT-doctypedecl
        pattern: /<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,
        greedy: !0,
        inside: {
          "internal-subset": {
            pattern: /(^[^\[]*\[)[\s\S]+(?=\]>$)/,
            lookbehind: !0,
            greedy: !0,
            inside: null
            // see below
          },
          string: {
            pattern: /"[^"]*"|'[^']*'/,
            greedy: !0
          },
          punctuation: /^<!|>$|[[\]]/,
          "doctype-tag": /^DOCTYPE/i,
          name: /[^\s<>'"]+/
        }
      },
      cdata: {
        pattern: /<!\[CDATA\[[\s\S]*?\]\]>/i,
        greedy: !0
      },
      tag: {
        pattern: /<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,
        greedy: !0,
        inside: {
          tag: {
            pattern: /^<\/?[^\s>\/]+/,
            inside: {
              punctuation: /^<\/?/,
              namespace: /^[^\s>\/:]+:/
            }
          },
          "special-attr": [],
          "attr-value": {
            pattern: /=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,
            inside: {
              punctuation: [
                {
                  pattern: /^=/,
                  alias: "attr-equals"
                },
                /"|'/
              ]
            }
          },
          punctuation: /\/?>/,
          "attr-name": {
            pattern: /[^\s>\/]+/,
            inside: {
              namespace: /^[^\s>\/:]+:/
            }
          }
        }
      },
      entity: [
        {
          pattern: /&[\da-z]{1,8};/i,
          alias: "named-entity"
        },
        /&#x?[\da-f]{1,8};/i
      ]
    }, e.languages.markup.tag.inside["attr-value"].inside.entity = e.languages.markup.entity, e.languages.markup.doctype.inside["internal-su\
bset"].inside = e.languages.markup, e.hooks.add("wrap", function(t) {
      t.type === "entity" && (t.attributes.title = t.content.value.replace(/&amp;/, "&"));
    }), Object.defineProperty(e.languages.markup.tag, "addInlined", {
      /**
       * Adds an inlined language to markup.
       *
       * An example of an inlined language is CSS with `<style>` tags.
       *
       * @param {string} tagName The name of the tag that contains the inlined language. This name will be treated as
       * case insensitive.
       * @param {string} lang The language key.
       * @example
       * addInlined('style', 'css');
       */
      value: /* @__PURE__ */ a(function(r, n) {
        var o = {};
        o["language-" + n] = {
          pattern: /(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,
          lookbehind: !0,
          inside: e.languages[n]
        }, o.cdata = /^<!\[CDATA\[|\]\]>$/i;
        var i = {
          "included-cdata": {
            pattern: /<!\[CDATA\[[\s\S]*?\]\]>/i,
            inside: o
          }
        };
        i["language-" + n] = {
          pattern: /[\s\S]+/,
          inside: e.languages[n]
        };
        var s = {};
        s[r] = {
          pattern: RegExp(
            /(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(
              /__/g,
              function() {
                return r;
              }
            ),
            "i"
          ),
          lookbehind: !0,
          greedy: !0,
          inside: i
        }, e.languages.insertBefore("markup", "cdata", s);
      }, "addInlined")
    }), Object.defineProperty(e.languages.markup.tag, "addAttribute", {
      /**
       * Adds an pattern to highlight languages embedded in HTML attributes.
       *
       * An example of an inlined language is CSS with `style` attributes.
       *
       * @param {string} attrName The name of the tag that contains the inlined language. This name will be treated as
       * case insensitive.
       * @param {string} lang The language key.
       * @example
       * addAttribute('style', 'css');
       */
      value: /* @__PURE__ */ a(function(t, r) {
        e.languages.markup.tag.inside["special-attr"].push({
          pattern: RegExp(
            /(^|["'\s])/.source + "(?:" + t + ")" + /\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,
            "i"
          ),
          lookbehind: !0,
          inside: {
            "attr-name": /^[^\s=]+/,
            "attr-value": {
              pattern: /=[\s\S]+/,
              inside: {
                value: {
                  pattern: /(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,
                  lookbehind: !0,
                  alias: [r, "language-" + r],
                  inside: e.languages[r]
                },
                punctuation: [
                  {
                    pattern: /^=/,
                    alias: "attr-equals"
                  },
                  /"|'/
                ]
              }
            }
          }
        });
      }, "value")
    }), e.languages.html = e.languages.markup, e.languages.mathml = e.languages.markup, e.languages.svg = e.languages.markup, e.languages.xml =
    e.languages.extend("markup", {}), e.languages.ssml = e.languages.xml, e.languages.atom = e.languages.xml, e.languages.rss = e.languages.
    xml;
  }
  a(j3, "markup");
});

// ../node_modules/refractor/lang/css.js
var H3 = R((wht, i$) => {
  "use strict";
  i$.exports = $3;
  $3.displayName = "css";
  $3.aliases = [];
  function $3(e) {
    (function(t) {
      var r = /(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;
      t.languages.css = {
        comment: /\/\*[\s\S]*?\*\//,
        atrule: {
          pattern: /@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,
          inside: {
            rule: /^@[\w-]+/,
            "selector-function-argument": {
              pattern: /(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,
              lookbehind: !0,
              alias: "selector"
            },
            keyword: {
              pattern: /(^|[^\w-])(?:and|not|only|or)(?![\w-])/,
              lookbehind: !0
            }
            // See rest below
          }
        },
        url: {
          // https://drafts.csswg.org/css-values-3/#urls
          pattern: RegExp(
            "\\burl\\((?:" + r.source + "|" + /(?:[^\\\r\n()"']|\\[\s\S])*/.source + ")\\)",
            "i"
          ),
          greedy: !0,
          inside: {
            function: /^url/i,
            punctuation: /^\(|\)$/,
            string: {
              pattern: RegExp("^" + r.source + "$"),
              alias: "url"
            }
          }
        },
        selector: {
          pattern: RegExp(
            `(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|` + r.source + ")*(?=\\s*\\{)"
          ),
          lookbehind: !0
        },
        string: {
          pattern: r,
          greedy: !0
        },
        property: {
          pattern: /(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,
          lookbehind: !0
        },
        important: /!important\b/i,
        function: {
          pattern: /(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,
          lookbehind: !0
        },
        punctuation: /[(){};:,]/
      }, t.languages.css.atrule.inside.rest = t.languages.css;
      var n = t.languages.markup;
      n && (n.tag.addInlined("style", "css"), n.tag.addAttribute("style", "css"));
    })(e);
  }
  a($3, "css");
});

// ../node_modules/refractor/lang/clike.js
var l$ = R((Rht, s$) => {
  "use strict";
  s$.exports = z3;
  z3.displayName = "clike";
  z3.aliases = [];
  function z3(e) {
    e.languages.clike = {
      comment: [
        {
          pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,
          lookbehind: !0,
          greedy: !0
        },
        {
          pattern: /(^|[^\\:])\/\/.*/,
          lookbehind: !0,
          greedy: !0
        }
      ],
      string: {
        pattern: /(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,
        greedy: !0
      },
      "class-name": {
        pattern: /(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,
        lookbehind: !0,
        inside: {
          punctuation: /[.\\]/
        }
      },
      keyword: /\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,
      boolean: /\b(?:false|true)\b/,
      function: /\b\w+(?=\()/,
      number: /\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,
      operator: /[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,
      punctuation: /[{}[\];(),.:]/
    };
  }
  a(z3, "clike");
});

// ../node_modules/refractor/lang/javascript.js
var c$ = R((Sht, u$) => {
  "use strict";
  u$.exports = U3;
  U3.displayName = "javascript";
  U3.aliases = ["js"];
  function U3(e) {
    e.languages.javascript = e.languages.extend("clike", {
      "class-name": [
        e.languages.clike["class-name"],
        {
          pattern: /(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,
          lookbehind: !0
        }
      ],
      keyword: [
        {
          pattern: /((?:^|\})\s*)catch\b/,
          lookbehind: !0
        },
        {
          pattern: /(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,
          lookbehind: !0
        }
      ],
      // Allow for all non-ASCII characters (See http://stackoverflow.com/a/2008444)
      function: /#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,
      number: {
        pattern: RegExp(
          /(^|[^\w$])/.source + "(?:" + // constant
          (/NaN|Infinity/.source + "|" + // binary integer
          /0[bB][01]+(?:_[01]+)*n?/.source + "|" + // octal integer
          /0[oO][0-7]+(?:_[0-7]+)*n?/.source + "|" + // hexadecimal integer
          /0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source + "|" + // decimal bigint
          /\d+(?:_\d+)*n/.source + "|" + // decimal number (integer or float) but no bigint
          /(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source) + ")" + /(?![\w$])/.source
        ),
        lookbehind: !0
      },
      operator: /--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/
    }), e.languages.javascript["class-name"][0].pattern = /(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/, e.languages.
    insertBefore("javascript", "keyword", {
      regex: {
        // eslint-disable-next-line regexp/no-dupe-characters-character-class
        pattern: /((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,
        lookbehind: !0,
        greedy: !0,
        inside: {
          "regex-source": {
            pattern: /^(\/)[\s\S]+(?=\/[a-z]*$)/,
            lookbehind: !0,
            alias: "language-regex",
            inside: e.languages.regex
          },
          "regex-delimiter": /^\/|\/$/,
          "regex-flags": /^[a-z]+$/
        }
      },
      // This must be declared before keyword because we use "function" inside the look-forward
      "function-variable": {
        pattern: /#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,
        alias: "function"
      },
      parameter: [
        {
          pattern: /(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,
          lookbehind: !0,
          inside: e.languages.javascript
        },
        {
          pattern: /(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,
          lookbehind: !0,
          inside: e.languages.javascript
        },
        {
          pattern: /(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,
          lookbehind: !0,
          inside: e.languages.javascript
        },
        {
          pattern: /((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,
          lookbehind: !0,
          inside: e.languages.javascript
        }
      ],
      constant: /\b[A-Z](?:[A-Z_]|\dx?)*\b/
    }), e.languages.insertBefore("javascript", "string", {
      hashbang: {
        pattern: /^#!.*/,
        greedy: !0,
        alias: "comment"
      },
      "template-string": {
        pattern: /`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,
        greedy: !0,
        inside: {
          "template-punctuation": {
            pattern: /^`|`$/,
            alias: "string"
          },
          interpolation: {
            pattern: /((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,
            lookbehind: !0,
            inside: {
              "interpolation-punctuation": {
                pattern: /^\$\{|\}$/,
                alias: "punctuation"
              },
              rest: e.languages.javascript
            }
          },
          string: /[\s\S]+/
        }
      },
      "string-property": {
        pattern: /((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,
        lookbehind: !0,
        greedy: !0,
        alias: "property"
      }
    }), e.languages.insertBefore("javascript", "operator", {
      "literal-property": {
        pattern: /((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,
        lookbehind: !0,
        alias: "property"
      }
    }), e.languages.markup && (e.languages.markup.tag.addInlined("script", "javascript"), e.languages.markup.tag.addAttribute(
      /on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.
      source,
      "javascript"
    )), e.languages.js = e.languages.javascript;
  }
  a(U3, "javascript");
});

// ../node_modules/refractor/core.js
var m$ = R((_ht, p$) => {
  "use strict";
  var Tp = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof global ==
  "object" ? global : {}, jEe = e2e();
  Tp.Prism = { manual: !0, disableWorkerMessageHandler: !0 };
  var BEe = IB(), $Ee = r$(), d$ = o$(), HEe = B3(), zEe = H3(), UEe = l$(), VEe = c$();
  jEe();
  var V3 = {}.hasOwnProperty;
  function f$() {
  }
  a(f$, "Refractor");
  f$.prototype = d$;
  var Nt = new f$();
  p$.exports = Nt;
  Nt.highlight = GEe;
  Nt.register = Ap;
  Nt.alias = WEe;
  Nt.registered = YEe;
  Nt.listLanguages = KEe;
  Ap(HEe);
  Ap(zEe);
  Ap(UEe);
  Ap(VEe);
  Nt.util.encode = QEe;
  Nt.Token.stringify = XEe;
  function Ap(e) {
    if (typeof e != "function" || !e.displayName)
      throw new Error("Expected `function` for `grammar`, got `" + e + "`");
    Nt.languages[e.displayName] === void 0 && e(Nt);
  }
  a(Ap, "register");
  function WEe(e, t) {
    var r = Nt.languages, n = e, o, i, s, l;
    t && (n = {}, n[e] = t);
    for (o in n)
      for (i = n[o], i = typeof i == "string" ? [i] : i, s = i.length, l = -1; ++l < s; )
        r[i[l]] = r[o];
  }
  a(WEe, "alias");
  function GEe(e, t) {
    var r = d$.highlight, n;
    if (typeof e != "string")
      throw new Error("Expected `string` for `value`, got `" + e + "`");
    if (Nt.util.type(t) === "Object")
      n = t, t = null;
    else {
      if (typeof t != "string")
        throw new Error("Expected `string` for `name`, got `" + t + "`");
      if (V3.call(Nt.languages, t))
        n = Nt.languages[t];
      else
        throw new Error("Unknown language: `" + t + "` is not registered");
    }
    return r.call(this, e, n, t);
  }
  a(GEe, "highlight");
  function YEe(e) {
    if (typeof e != "string")
      throw new Error("Expected `string` for `language`, got `" + e + "`");
    return V3.call(Nt.languages, e);
  }
  a(YEe, "registered");
  function KEe() {
    var e = Nt.languages, t = [], r;
    for (r in e)
      V3.call(e, r) && typeof e[r] == "object" && t.push(r);
    return t;
  }
  a(KEe, "listLanguages");
  function XEe(e, t, r) {
    var n;
    return typeof e == "string" ? { type: "text", value: e } : Nt.util.type(e) === "Array" ? JEe(e, t) : (n = {
      type: e.type,
      content: Nt.Token.stringify(e.content, t, r),
      tag: "span",
      classes: ["token", e.type],
      attributes: {},
      language: t,
      parent: r
    }, e.alias && (n.classes = n.classes.concat(e.alias)), Nt.hooks.run("wrap", n), BEe(
      n.tag + "." + n.classes.join("."),
      ZEe(n.attributes),
      n.content
    ));
  }
  a(XEe, "stringify");
  function JEe(e, t) {
    for (var r = [], n = e.length, o = -1, i; ++o < n; )
      i = e[o], i !== "" && i !== null && i !== void 0 && r.push(i);
    for (o = -1, n = r.length; ++o < n; )
      i = r[o], r[o] = Nt.Token.stringify(i, t, r);
    return r;
  }
  a(JEe, "stringifyAll");
  function QEe(e) {
    return e;
  }
  a(QEe, "encode");
  function ZEe(e) {
    var t;
    for (t in e)
      e[t] = $Ee(e[t]);
    return e;
  }
  a(ZEe, "attributes");
  function e2e() {
    var e = "Prism" in Tp, t = e ? Tp.Prism : void 0;
    return r;
    function r() {
      e ? Tp.Prism = t : delete Tp.Prism, e = void 0, t = void 0;
    }
  }
  a(e2e, "capture");
});

// ../node_modules/react-syntax-highlighter/dist/esm/prism-light.js
var T1, W3, A1, h$ = k(() => {
  Ij();
  T1 = N(m$()), W3 = R3(T1.default, {});
  W3.registerLanguage = function(e, t) {
    return T1.default.register(t);
  };
  W3.alias = function(e, t) {
    return T1.default.alias(e, t);
  };
  A1 = W3;
});

// ../node_modules/react-syntax-highlighter/dist/esm/index.js
var g$ = k(() => {
  E3();
});

// ../node_modules/refractor/lang/bash.js
var v$ = R((Mht, y$) => {
  "use strict";
  y$.exports = G3;
  G3.displayName = "bash";
  G3.aliases = ["shell"];
  function G3(e) {
    (function(t) {
      var r = "\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE\
|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|G\
DMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HO\
STTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHON\
E|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OST\
YPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS\
|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRE\
NT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_\
SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b", n = {
        pattern: /(^(["']?)\w+\2)[ \t]+\S.*/,
        lookbehind: !0,
        alias: "punctuation",
        // this looks reasonably well in all themes
        inside: null
        // see below
      }, o = {
        bash: n,
        environment: {
          pattern: RegExp("\\$" + r),
          alias: "constant"
        },
        variable: [
          // [0]: Arithmetic Environment
          {
            pattern: /\$?\(\([\s\S]+?\)\)/,
            greedy: !0,
            inside: {
              // If there is a $ sign at the beginning highlight $(( and )) as variable
              variable: [
                {
                  pattern: /(^\$\(\([\s\S]+)\)\)/,
                  lookbehind: !0
                },
                /^\$\(\(/
              ],
              number: /\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,
              // Operators according to https://www.gnu.org/software/bash/manual/bashref.html#Shell-Arithmetic
              operator: /--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,
              // If there is no $ sign at the beginning highlight (( and )) as punctuation
              punctuation: /\(\(?|\)\)?|,|;/
            }
          },
          // [1]: Command Substitution
          {
            pattern: /\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,
            greedy: !0,
            inside: {
              variable: /^\$\(|^`|\)$|`$/
            }
          },
          // [2]: Brace expansion
          {
            pattern: /\$\{[^}]+\}/,
            greedy: !0,
            inside: {
              operator: /:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,
              punctuation: /[\[\]]/,
              environment: {
                pattern: RegExp("(\\{)" + r),
                lookbehind: !0,
                alias: "constant"
              }
            }
          },
          /\$(?:\w+|[#?*!@$])/
        ],
        // Escape sequences from echo and printf's manuals, and escaped quotes.
        entity: /\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/
      };
      t.languages.bash = {
        shebang: {
          pattern: /^#!\s*\/.*/,
          alias: "important"
        },
        comment: {
          pattern: /(^|[^"{\\$])#.*/,
          lookbehind: !0
        },
        "function-name": [
          // a) function foo {
          // b) foo() {
          // c) function foo() {
          // but not “foo {”
          {
            // a) and c)
            pattern: /(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,
            lookbehind: !0,
            alias: "function"
          },
          {
            // b)
            pattern: /\b[\w-]+(?=\s*\(\s*\)\s*\{)/,
            alias: "function"
          }
        ],
        // Highlight variable names as variables in for and select beginnings.
        "for-or-select": {
          pattern: /(\b(?:for|select)\s+)\w+(?=\s+in\s)/,
          alias: "variable",
          lookbehind: !0
        },
        // Highlight variable names as variables in the left-hand part
        // of assignments (“=” and “+=”).
        "assign-left": {
          pattern: /(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,
          inside: {
            environment: {
              pattern: RegExp("(^|[\\s;|&]|[<>]\\()" + r),
              lookbehind: !0,
              alias: "constant"
            }
          },
          alias: "variable",
          lookbehind: !0
        },
        string: [
          // Support for Here-documents https://en.wikipedia.org/wiki/Here_document
          {
            pattern: /((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,
            lookbehind: !0,
            greedy: !0,
            inside: o
          },
          // Here-document with quotes around the tag
          // → No expansion (so no “inside”).
          {
            pattern: /((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,
            lookbehind: !0,
            greedy: !0,
            inside: {
              bash: n
            }
          },
          // “Normal” string
          {
            // https://www.gnu.org/software/bash/manual/html_node/Double-Quotes.html
            pattern: /(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,
            lookbehind: !0,
            greedy: !0,
            inside: o
          },
          {
            // https://www.gnu.org/software/bash/manual/html_node/Single-Quotes.html
            pattern: /(^|[^$\\])'[^']*'/,
            lookbehind: !0,
            greedy: !0
          },
          {
            // https://www.gnu.org/software/bash/manual/html_node/ANSI_002dC-Quoting.html
            pattern: /\$'(?:[^'\\]|\\[\s\S])*'/,
            greedy: !0,
            inside: {
              entity: o.entity
            }
          }
        ],
        environment: {
          pattern: RegExp("\\$?" + r),
          alias: "constant"
        },
        variable: o.variable,
        function: {
          pattern: /(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,
          lookbehind: !0
        },
        keyword: {
          pattern: /(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,
          lookbehind: !0
        },
        // https://www.gnu.org/software/bash/manual/html_node/Shell-Builtin-Commands.html
        builtin: {
          pattern: /(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,
          lookbehind: !0,
          // Alias added to make those easier to distinguish from strings.
          alias: "class-name"
        },
        boolean: {
          pattern: /(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,
          lookbehind: !0
        },
        "file-descriptor": {
          pattern: /\B&\d\b/,
          alias: "important"
        },
        operator: {
          // Lots of redirections here, but not just that.
          pattern: /\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,
          inside: {
            "file-descriptor": {
              pattern: /^\d/,
              alias: "important"
            }
          }
        },
        punctuation: /\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,
        number: {
          pattern: /(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,
          lookbehind: !0
        }
      }, n.inside = t.languages.bash;
      for (var i = [
        "comment",
        "function-name",
        "for-or-select",
        "assign-left",
        "string",
        "environment",
        "function",
        "keyword",
        "builtin",
        "boolean",
        "file-descriptor",
        "operator",
        "punctuation",
        "number"
      ], s = o.variable[1].inside, l = 0; l < i.length; l++)
        s[i[l]] = t.languages.bash[i[l]];
      t.languages.shell = t.languages.bash;
    })(e);
  }
  a(G3, "bash");
});

// ../node_modules/react-syntax-highlighter/dist/esm/languages/prism/bash.js
var b$, w$, E$ = k(() => {
  b$ = N(v$()), w$ = b$.default;
});

// ../node_modules/react-syntax-highlighter/dist/esm/languages/prism/css.js
var R$, x$, S$ = k(() => {
  R$ = N(H3()), x$ = R$.default;
});

// ../node_modules/refractor/lang/graphql.js
var _$ = R((qht, C$) => {
  "use strict";
  C$.exports = Y3;
  Y3.displayName = "graphql";
  Y3.aliases = [];
  function Y3(e) {
    e.languages.graphql = {
      comment: /#.*/,
      description: {
        pattern: /(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,
        greedy: !0,
        alias: "string",
        inside: {
          "language-markdown": {
            pattern: /(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,
            lookbehind: !0,
            inside: e.languages.markdown
          }
        }
      },
      string: {
        pattern: /"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,
        greedy: !0
      },
      number: /(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,
      boolean: /\b(?:false|true)\b/,
      variable: /\$[a-z_]\w*/i,
      directive: {
        pattern: /@[a-z_]\w*/i,
        alias: "function"
      },
      "attr-name": {
        pattern: /\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,
        greedy: !0
      },
      "atom-input": {
        pattern: /\b[A-Z]\w*Input\b/,
        alias: "class-name"
      },
      scalar: /\b(?:Boolean|Float|ID|Int|String)\b/,
      constant: /\b[A-Z][A-Z_\d]*\b/,
      "class-name": {
        pattern: /(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,
        lookbehind: !0
      },
      fragment: {
        pattern: /(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,
        lookbehind: !0,
        alias: "function"
      },
      "definition-mutation": {
        pattern: /(\bmutation\s+)[a-zA-Z_]\w*/,
        lookbehind: !0,
        alias: "function"
      },
      "definition-query": {
        pattern: /(\bquery\s+)[a-zA-Z_]\w*/,
        lookbehind: !0,
        alias: "function"
      },
      keyword: /\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,
      operator: /[!=|&]|\.{3}/,
      "property-query": /\w+(?=\s*\()/,
      object: /\w+(?=\s*\{)/,
      punctuation: /[!(){}\[\]:=,]/,
      property: /\w+/
    }, e.hooks.add("after-tokenize", /* @__PURE__ */ a(function(r) {
      if (r.language !== "graphql")
        return;
      var n = r.tokens.filter(function(b) {
        return typeof b != "string" && b.type !== "comment" && b.type !== "scalar";
      }), o = 0;
      function i(b) {
        return n[o + b];
      }
      a(i, "getToken");
      function s(b, g) {
        g = g || 0;
        for (var w = 0; w < b.length; w++) {
          var E = i(w + g);
          if (!E || E.type !== b[w])
            return !1;
        }
        return !0;
      }
      a(s, "isTokenType");
      function l(b, g) {
        for (var w = 1, E = o; E < n.length; E++) {
          var x = n[E], S = x.content;
          if (x.type === "punctuation" && typeof S == "string") {
            if (b.test(S))
              w++;
            else if (g.test(S) && (w--, w === 0))
              return E;
          }
        }
        return -1;
      }
      a(l, "findClosingBracket");
      function u(b, g) {
        var w = b.alias;
        w ? Array.isArray(w) || (b.alias = w = [w]) : b.alias = w = [], w.push(g);
      }
      for (a(u, "addAlias"); o < n.length; ) {
        var c = n[o++];
        if (c.type === "keyword" && c.content === "mutation") {
          var d = [];
          if (s(["definition-mutation", "punctuation"]) && i(1).content === "(") {
            o += 2;
            var f = l(/^\($/, /^\)$/);
            if (f === -1)
              continue;
            for (; o < f; o++) {
              var p = i(0);
              p.type === "variable" && (u(p, "variable-input"), d.push(p.content));
            }
            o = f + 1;
          }
          if (s(["punctuation", "property-query"]) && i(0).content === "{" && (o++, u(i(0), "property-mutation"), d.length > 0)) {
            var m = l(/^\{$/, /^\}$/);
            if (m === -1)
              continue;
            for (var v = o; v < m; v++) {
              var y = n[v];
              y.type === "variable" && d.indexOf(y.content) >= 0 && u(y, "variable-input");
            }
          }
        }
      }
    }, "afterTokenizeGraphql"));
  }
  a(Y3, "graphql");
});

// ../node_modules/react-syntax-highlighter/dist/esm/languages/prism/graphql.js
var P$, T$, A$ = k(() => {
  P$ = N(_$()), T$ = P$.default;
});

// ../node_modules/refractor/lang/js-extras.js
var I$ = R((jht, O$) => {
  "use strict";
  O$.exports = K3;
  K3.displayName = "jsExtras";
  K3.aliases = [];
  function K3(e) {
    (function(t) {
      t.languages.insertBefore("javascript", "function-variable", {
        "method-variable": {
          pattern: RegExp(
            "(\\.\\s*)" + t.languages.javascript["function-variable"].pattern.source
          ),
          lookbehind: !0,
          alias: ["function-variable", "method", "function", "property-access"]
        }
      }), t.languages.insertBefore("javascript", "function", {
        method: {
          pattern: RegExp(
            "(\\.\\s*)" + t.languages.javascript.function.source
          ),
          lookbehind: !0,
          alias: ["function", "property-access"]
        }
      }), t.languages.insertBefore("javascript", "constant", {
        "known-class-name": [
          {
            // standard built-ins
            // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects
            pattern: /\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,
            alias: "class-name"
          },
          {
            // errors
            pattern: /\b(?:[A-Z]\w*)Error\b/,
            alias: "class-name"
          }
        ]
      });
      function r(u, c) {
        return RegExp(
          u.replace(/<ID>/g, function() {
            return /(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source;
          }),
          c
        );
      }
      a(r, "withId"), t.languages.insertBefore("javascript", "keyword", {
        imports: {
          // https://tc39.es/ecma262/#sec-imports
          pattern: r(
            /(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source
          ),
          lookbehind: !0,
          inside: t.languages.javascript
        },
        exports: {
          // https://tc39.es/ecma262/#sec-exports
          pattern: r(
            /(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source
          ),
          lookbehind: !0,
          inside: t.languages.javascript
        }
      }), t.languages.javascript.keyword.unshift(
        {
          pattern: /\b(?:as|default|export|from|import)\b/,
          alias: "module"
        },
        {
          pattern: /\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,
          alias: "control-flow"
        },
        {
          pattern: /\bnull\b/,
          alias: ["null", "nil"]
        },
        {
          pattern: /\bundefined\b/,
          alias: "nil"
        }
      ), t.languages.insertBefore("javascript", "operator", {
        spread: {
          pattern: /\.{3}/,
          alias: "operator"
        },
        arrow: {
          pattern: /=>/,
          alias: "operator"
        }
      }), t.languages.insertBefore("javascript", "punctuation", {
        "property-access": {
          pattern: r(/(\.\s*)#?<ID>/.source),
          lookbehind: !0
        },
        "maybe-class-name": {
          pattern: /(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,
          lookbehind: !0
        },
        dom: {
          // this contains only a few commonly used DOM variables
          pattern: /\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,
          alias: "variable"
        },
        console: {
          pattern: /\bconsole(?=\s*\.)/,
          alias: "class-name"
        }
      });
      for (var n = [
        "function",
        "function-variable",
        "method",
        "method-variable",
        "property-access"
      ], o = 0; o < n.length; o++) {
        var i = n[o], s = t.languages.javascript[i];
        t.util.type(s) === "RegExp" && (s = t.languages.javascript[i] = {
          pattern: s
        });
        var l = s.inside || {};
        s.inside = l, l["maybe-class-name"] = /^[A-Z][\s\S]*/;
      }
    })(e);
  }
  a(K3, "jsExtras");
});

// ../node_modules/react-syntax-highlighter/dist/esm/languages/prism/js-extras.js
var M$, N$, L$ = k(() => {
  M$ = N(I$()), N$ = M$.default;
});

// ../node_modules/refractor/lang/json.js
var q$ = R((Hht, k$) => {
  "use strict";
  k$.exports = X3;
  X3.displayName = "json";
  X3.aliases = ["webmanifest"];
  function X3(e) {
    e.languages.json = {
      property: {
        pattern: /(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,
        lookbehind: !0,
        greedy: !0
      },
      string: {
        pattern: /(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,
        lookbehind: !0,
        greedy: !0
      },
      comment: {
        pattern: /\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,
        greedy: !0
      },
      number: /-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,
      punctuation: /[{}[\],]/,
      operator: /:/,
      boolean: /\b(?:false|true)\b/,
      null: {
        pattern: /\bnull\b/,
        alias: "keyword"
      }
    }, e.languages.webmanifest = e.languages.json;
  }
  a(X3, "json");
});

// ../node_modules/react-syntax-highlighter/dist/esm/languages/prism/json.js
var D$, F$, j$ = k(() => {
  D$ = N(q$()), F$ = D$.default;
});

// ../node_modules/refractor/lang/jsx.js
var Q3 = R((Vht, B$) => {
  "use strict";
  B$.exports = J3;
  J3.displayName = "jsx";
  J3.aliases = [];
  function J3(e) {
    (function(t) {
      var r = t.util.clone(t.languages.javascript), n = /(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source, o = /(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.
      source, i = /(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;
      function s(c, d) {
        return c = c.replace(/<S>/g, function() {
          return n;
        }).replace(/<BRACES>/g, function() {
          return o;
        }).replace(/<SPREAD>/g, function() {
          return i;
        }), RegExp(c, d);
      }
      a(s, "re"), i = s(i).source, t.languages.jsx = t.languages.extend("markup", r), t.languages.jsx.tag.pattern = s(
        /<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.
        source
      ), t.languages.jsx.tag.inside.tag.pattern = /^<\/?[^\s>\/]*/, t.languages.jsx.tag.inside["attr-value"].pattern = /=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,
      t.languages.jsx.tag.inside.tag.inside["class-name"] = /^[A-Z]\w*(?:\.[A-Z]\w*)*$/, t.languages.jsx.tag.inside.comment = r.comment, t.languages.
      insertBefore(
        "inside",
        "attr-name",
        {
          spread: {
            pattern: s(/<SPREAD>/.source),
            inside: t.languages.jsx
          }
        },
        t.languages.jsx.tag
      ), t.languages.insertBefore(
        "inside",
        "special-attr",
        {
          script: {
            // Allow for two levels of nesting
            pattern: s(/=<BRACES>/.source),
            alias: "language-javascript",
            inside: {
              "script-punctuation": {
                pattern: /^=(?=\{)/,
                alias: "punctuation"
              },
              rest: t.languages.jsx
            }
          }
        },
        t.languages.jsx.tag
      );
      var l = /* @__PURE__ */ a(function(c) {
        return c ? typeof c == "string" ? c : typeof c.content == "string" ? c.content : c.content.map(l).join("") : "";
      }, "stringifyToken"), u = /* @__PURE__ */ a(function(c) {
        for (var d = [], f = 0; f < c.length; f++) {
          var p = c[f], m = !1;
          if (typeof p != "string" && (p.type === "tag" && p.content[0] && p.content[0].type === "tag" ? p.content[0].content[0].content ===
          "</" ? d.length > 0 && d[d.length - 1].tagName === l(p.content[0].content[1]) && d.pop() : p.content[p.content.length - 1].content ===
          "/>" || d.push({
            tagName: l(p.content[0].content[1]),
            openedBraces: 0
          }) : d.length > 0 && p.type === "punctuation" && p.content === "{" ? d[d.length - 1].openedBraces++ : d.length > 0 && d[d.length -
          1].openedBraces > 0 && p.type === "punctuation" && p.content === "}" ? d[d.length - 1].openedBraces-- : m = !0), (m || typeof p ==
          "string") && d.length > 0 && d[d.length - 1].openedBraces === 0) {
            var v = l(p);
            f < c.length - 1 && (typeof c[f + 1] == "string" || c[f + 1].type === "plain-text") && (v += l(c[f + 1]), c.splice(f + 1, 1)), f >
            0 && (typeof c[f - 1] == "string" || c[f - 1].type === "plain-text") && (v = l(c[f - 1]) + v, c.splice(f - 1, 1), f--), c[f] = new t.
            Token(
              "plain-text",
              v,
              null,
              v
            );
          }
          p.content && typeof p.content != "string" && u(p.content);
        }
      }, "walkTokens");
      t.hooks.add("after-tokenize", function(c) {
        c.language !== "jsx" && c.language !== "tsx" || u(c.tokens);
      });
    })(e);
  }
  a(J3, "jsx");
});

// ../node_modules/react-syntax-highlighter/dist/esm/languages/prism/jsx.js
var $$, H$, z$ = k(() => {
  $$ = N(Q3()), H$ = $$.default;
});

// ../node_modules/refractor/lang/markdown.js
var V$ = R((Yht, U$) => {
  "use strict";
  U$.exports = Z3;
  Z3.displayName = "markdown";
  Z3.aliases = ["md"];
  function Z3(e) {
    (function(t) {
      var r = /(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;
      function n(f) {
        return f = f.replace(/<inner>/g, function() {
          return r;
        }), RegExp(/((?:^|[^\\])(?:\\{2})*)/.source + "(?:" + f + ")");
      }
      a(n, "createInline");
      var o = /(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source, i = /\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.
      replace(
        /__/g,
        function() {
          return o;
        }
      ), s = /\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;
      t.languages.markdown = t.languages.extend("markup", {}), t.languages.insertBefore("markdown", "prolog", {
        "front-matter-block": {
          pattern: /(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,
          lookbehind: !0,
          greedy: !0,
          inside: {
            punctuation: /^---|---$/,
            "front-matter": {
              pattern: /\S+(?:\s+\S+)*/,
              alias: ["yaml", "language-yaml"],
              inside: t.languages.yaml
            }
          }
        },
        blockquote: {
          // > ...
          pattern: /^>(?:[\t ]*>)*/m,
          alias: "punctuation"
        },
        table: {
          pattern: RegExp(
            "^" + i + s + "(?:" + i + ")*",
            "m"
          ),
          inside: {
            "table-data-rows": {
              pattern: RegExp(
                "^(" + i + s + ")(?:" + i + ")*$"
              ),
              lookbehind: !0,
              inside: {
                "table-data": {
                  pattern: RegExp(o),
                  inside: t.languages.markdown
                },
                punctuation: /\|/
              }
            },
            "table-line": {
              pattern: RegExp("^(" + i + ")" + s + "$"),
              lookbehind: !0,
              inside: {
                punctuation: /\||:?-{3,}:?/
              }
            },
            "table-header-row": {
              pattern: RegExp("^" + i + "$"),
              inside: {
                "table-header": {
                  pattern: RegExp(o),
                  alias: "important",
                  inside: t.languages.markdown
                },
                punctuation: /\|/
              }
            }
          }
        },
        code: [
          {
            // Prefixed by 4 spaces or 1 tab and preceded by an empty line
            pattern: /((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,
            lookbehind: !0,
            alias: "keyword"
          },
          {
            // ```optional language
            // code block
            // ```
            pattern: /^```[\s\S]*?^```$/m,
            greedy: !0,
            inside: {
              "code-block": {
                pattern: /^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,
                lookbehind: !0
              },
              "code-language": {
                pattern: /^(```).+/,
                lookbehind: !0
              },
              punctuation: /```/
            }
          }
        ],
        title: [
          {
            // title 1
            // =======
            // title 2
            // -------
            pattern: /\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,
            alias: "important",
            inside: {
              punctuation: /==+$|--+$/
            }
          },
          {
            // # title 1
            // ###### title 6
            pattern: /(^\s*)#.+/m,
            lookbehind: !0,
            alias: "important",
            inside: {
              punctuation: /^#+|#+$/
            }
          }
        ],
        hr: {
          // ***
          // ---
          // * * *
          // -----------
          pattern: /(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,
          lookbehind: !0,
          alias: "punctuation"
        },
        list: {
          // * item
          // + item
          // - item
          // 1. item
          pattern: /(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,
          lookbehind: !0,
          alias: "punctuation"
        },
        "url-reference": {
          // [id]: http://example.com "Optional title"
          // [id]: http://example.com 'Optional title'
          // [id]: http://example.com (Optional title)
          // [id]: <http://example.com> "Optional title"
          pattern: /!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,
          inside: {
            variable: {
              pattern: /^(!?\[)[^\]]+/,
              lookbehind: !0
            },
            string: /(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,
            punctuation: /^[\[\]!:]|[<>]/
          },
          alias: "url"
        },
        bold: {
          // **strong**
          // __strong__
          // allow one nested instance of italic text using the same delimiter
          pattern: n(
            /\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source
          ),
          lookbehind: !0,
          greedy: !0,
          inside: {
            content: {
              pattern: /(^..)[\s\S]+(?=..$)/,
              lookbehind: !0,
              inside: {}
              // see below
            },
            punctuation: /\*\*|__/
          }
        },
        italic: {
          // *em*
          // _em_
          // allow one nested instance of bold text using the same delimiter
          pattern: n(
            /\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source
          ),
          lookbehind: !0,
          greedy: !0,
          inside: {
            content: {
              pattern: /(^.)[\s\S]+(?=.$)/,
              lookbehind: !0,
              inside: {}
              // see below
            },
            punctuation: /[*_]/
          }
        },
        strike: {
          // ~~strike through~~
          // ~strike~
          // eslint-disable-next-line regexp/strict
          pattern: n(/(~~?)(?:(?!~)<inner>)+\2/.source),
          lookbehind: !0,
          greedy: !0,
          inside: {
            content: {
              pattern: /(^~~?)[\s\S]+(?=\1$)/,
              lookbehind: !0,
              inside: {}
              // see below
            },
            punctuation: /~~?/
          }
        },
        "code-snippet": {
          // `code`
          // ``code``
          pattern: /(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,
          lookbehind: !0,
          greedy: !0,
          alias: ["code", "keyword"]
        },
        url: {
          // [example](http://example.com "Optional title")
          // [example][id]
          // [example] [id]
          pattern: n(
            /!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source
          ),
          lookbehind: !0,
          greedy: !0,
          inside: {
            operator: /^!/,
            content: {
              pattern: /(^\[)[^\]]+(?=\])/,
              lookbehind: !0,
              inside: {}
              // see below
            },
            variable: {
              pattern: /(^\][ \t]?\[)[^\]]+(?=\]$)/,
              lookbehind: !0
            },
            url: {
              pattern: /(^\]\()[^\s)]+/,
              lookbehind: !0
            },
            string: {
              pattern: /(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,
              lookbehind: !0
            }
          }
        }
      }), ["url", "bold", "italic", "strike"].forEach(function(f) {
        ["url", "bold", "italic", "strike", "code-snippet"].forEach(function(p) {
          f !== p && (t.languages.markdown[f].inside.content.inside[p] = t.languages.markdown[p]);
        });
      }), t.hooks.add("after-tokenize", function(f) {
        if (f.language !== "markdown" && f.language !== "md")
          return;
        function p(m) {
          if (!(!m || typeof m == "string"))
            for (var v = 0, y = m.length; v < y; v++) {
              var b = m[v];
              if (b.type !== "code") {
                p(b.content);
                continue;
              }
              var g = b.content[1], w = b.content[3];
              if (g && w && g.type === "code-language" && w.type === "code-block" && typeof g.content == "string") {
                var E = g.content.replace(/\b#/g, "sharp").replace(/\b\+\+/g, "pp");
                E = (/[a-z][\w-]*/i.exec(E) || [""])[0].toLowerCase();
                var x = "language-" + E;
                w.alias ? typeof w.alias == "string" ? w.alias = [w.alias, x] : w.alias.push(x) : w.alias = [x];
              }
            }
        }
        a(p, "walkTokens"), p(f.tokens);
      }), t.hooks.add("wrap", function(f) {
        if (f.type === "code-block") {
          for (var p = "", m = 0, v = f.classes.length; m < v; m++) {
            var y = f.classes[m], b = /language-(.+)/.exec(y);
            if (b) {
              p = b[1];
              break;
            }
          }
          var g = t.languages[p];
          if (g)
            f.content = t.highlight(
              d(f.content.value),
              g,
              p
            );
          else if (p && p !== "none" && t.plugins.autoloader) {
            var w = "md-" + (/* @__PURE__ */ new Date()).valueOf() + "-" + Math.floor(Math.random() * 1e16);
            f.attributes.id = w, t.plugins.autoloader.loadLanguages(p, function() {
              var E = document.getElementById(w);
              E && (E.innerHTML = t.highlight(
                E.textContent,
                t.languages[p],
                p
              ));
            });
          }
        }
      });
      var l = RegExp(t.languages.markup.tag.pattern.source, "gi"), u = {
        amp: "&",
        lt: "<",
        gt: ">",
        quot: '"'
      }, c = String.fromCodePoint || String.fromCharCode;
      function d(f) {
        var p = f.replace(l, "");
        return p = p.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi, function(m, v) {
          if (v = v.toLowerCase(), v[0] === "#") {
            var y;
            return v[1] === "x" ? y = parseInt(v.slice(2), 16) : y = Number(v.slice(1)), c(y);
          } else {
            var b = u[v];
            return b || m;
          }
        }), p;
      }
      a(d, "textContent"), t.languages.md = t.languages.markdown;
    })(e);
  }
  a(Z3, "markdown");
});

// ../node_modules/react-syntax-highlighter/dist/esm/languages/prism/markdown.js
var W$, G$, Y$ = k(() => {
  W$ = N(V$()), G$ = W$.default;
});

// ../node_modules/react-syntax-highlighter/dist/esm/languages/prism/markup.js
var K$, X$, J$ = k(() => {
  K$ = N(B3()), X$ = K$.default;
});

// ../node_modules/refractor/lang/typescript.js
var tT = R((Qht, Q$) => {
  "use strict";
  Q$.exports = eT;
  eT.displayName = "typescript";
  eT.aliases = ["ts"];
  function eT(e) {
    (function(t) {
      t.languages.typescript = t.languages.extend("javascript", {
        "class-name": {
          pattern: /(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,
          lookbehind: !0,
          greedy: !0,
          inside: null
          // see below
        },
        builtin: /\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/
      }), t.languages.typescript.keyword.push(
        /\b(?:abstract|declare|is|keyof|readonly|require)\b/,
        // keywords that have to be followed by an identifier
        /\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,
        // This is for `import type *, {}`
        /\btype\b(?=\s*(?:[\{*]|$))/
      ), delete t.languages.typescript.parameter, delete t.languages.typescript["literal-property"];
      var r = t.languages.extend("typescript", {});
      delete r["class-name"], t.languages.typescript["class-name"].inside = r, t.languages.insertBefore("typescript", "function", {
        decorator: {
          pattern: /@[$\w\xA0-\uFFFF]+/,
          inside: {
            at: {
              pattern: /^@/,
              alias: "operator"
            },
            function: /^[\s\S]+/
          }
        },
        "generic-function": {
          // e.g. foo<T extends "bar" | "baz">( ...
          pattern: /#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,
          greedy: !0,
          inside: {
            function: /^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,
            generic: {
              pattern: /<[\s\S]+/,
              // everything after the first <
              alias: "class-name",
              inside: r
            }
          }
        }
      }), t.languages.ts = t.languages.typescript;
    })(e);
  }
  a(eT, "typescript");
});

// ../node_modules/refractor/lang/tsx.js
var eH = R((e0t, Z$) => {
  "use strict";
  var t2e = Q3(), r2e = tT();
  Z$.exports = rT;
  rT.displayName = "tsx";
  rT.aliases = [];
  function rT(e) {
    e.register(t2e), e.register(r2e), function(t) {
      var r = t.util.clone(t.languages.typescript);
      t.languages.tsx = t.languages.extend("jsx", r), delete t.languages.tsx.parameter, delete t.languages.tsx["literal-property"];
      var n = t.languages.tsx.tag;
      n.pattern = RegExp(
        /(^|[^\w$]|(?=<\/))/.source + "(?:" + n.pattern.source + ")",
        n.pattern.flags
      ), n.lookbehind = !0;
    }(e);
  }
  a(rT, "tsx");
});

// ../node_modules/react-syntax-highlighter/dist/esm/languages/prism/tsx.js
var tH, rH, nH = k(() => {
  tH = N(eH()), rH = tH.default;
});

// ../node_modules/react-syntax-highlighter/dist/esm/languages/prism/typescript.js
var oH, aH, iH = k(() => {
  oH = N(tT()), aH = oH.default;
});

// ../node_modules/refractor/lang/yaml.js
var lH = R((o0t, sH) => {
  "use strict";
  sH.exports = nT;
  nT.displayName = "yaml";
  nT.aliases = ["yml"];
  function nT(e) {
    (function(t) {
      var r = /[*&][^\s[\]{},]+/, n = /!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/, o = "(?:" + n.source +
      "(?:[ 	]+" + r.source + ")?|" + r.source + "(?:[ 	]+" + n.source + ")?)", i = /(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.
      source.replace(
        /<PLAIN>/g,
        function() {
          return /[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source;
        }
      ), s = /"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;
      function l(u, c) {
        c = (c || "").replace(/m/g, "") + "m";
        var d = /([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g, function() {
          return o;
        }).replace(/<<value>>/g, function() {
          return u;
        });
        return RegExp(d, c);
      }
      a(l, "createValuePattern"), t.languages.yaml = {
        scalar: {
          pattern: RegExp(
            /([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(
              /<<prop>>/g,
              function() {
                return o;
              }
            )
          ),
          lookbehind: !0,
          alias: "string"
        },
        comment: /#.*/,
        key: {
          pattern: RegExp(
            /((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g, function() {
              return o;
            }).replace(/<<key>>/g, function() {
              return "(?:" + i + "|" + s + ")";
            })
          ),
          lookbehind: !0,
          greedy: !0,
          alias: "atrule"
        },
        directive: {
          pattern: /(^[ \t]*)%.+/m,
          lookbehind: !0,
          alias: "important"
        },
        datetime: {
          pattern: l(
            /\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.
            source
          ),
          lookbehind: !0,
          alias: "number"
        },
        boolean: {
          pattern: l(/false|true/.source, "i"),
          lookbehind: !0,
          alias: "important"
        },
        null: {
          pattern: l(/null|~/.source, "i"),
          lookbehind: !0,
          alias: "important"
        },
        string: {
          pattern: l(s),
          lookbehind: !0,
          greedy: !0
        },
        number: {
          pattern: l(
            /[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,
            "i"
          ),
          lookbehind: !0
        },
        tag: n,
        important: r,
        punctuation: /---|[:[\]{}\-,|>?]|\.\.\./
      }, t.languages.yml = t.languages.yaml;
    })(e);
  }
  a(nT, "yaml");
});

// ../node_modules/react-syntax-highlighter/dist/esm/languages/prism/yaml.js
var uH, cH, dH = k(() => {
  uH = N(lH()), cH = uH.default;
});

// src/components/components/ActionBar/ActionBar.tsx
var oT, n2e, fH, O1, aT = k(() => {
  "use strict";
  oT = N(H(), 1);
  ue();
  n2e = L.div(({ theme: e }) => ({
    position: "absolute",
    bottom: 0,
    right: 0,
    maxWidth: "100%",
    display: "flex",
    background: e.background.content,
    zIndex: 1
  })), fH = L.button(
    ({ theme: e }) => ({
      margin: 0,
      border: "0 none",
      padding: "4px 10px",
      cursor: "pointer",
      display: "flex",
      alignItems: "center",
      color: e.color.defaultText,
      background: e.background.content,
      fontSize: 12,
      lineHeight: "16px",
      fontFamily: e.typography.fonts.base,
      fontWeight: e.typography.weight.bold,
      borderTop: `1px solid ${e.appBorderColor}`,
      borderLeft: `1px solid ${e.appBorderColor}`,
      marginLeft: -1,
      borderRadius: "4px 0 0 0",
      "&:not(:last-child)": { borderRight: `1px solid ${e.appBorderColor}` },
      "& + *": {
        borderLeft: `1px solid ${e.appBorderColor}`,
        borderRadius: 0
      },
      "&:focus": {
        boxShadow: `${e.color.secondary} 0 -3px 0 0 inset`,
        outline: "0 none",
        "@media (forced-colors: active)": {
          outline: "1px solid highlight"
        }
      }
    }),
    ({ disabled: e }) => e && {
      cursor: "not-allowed",
      opacity: 0.5
    }
  );
  fH.displayName = "ActionButton";
  O1 = /* @__PURE__ */ a(({ actionItems: e, ...t }) => /* @__PURE__ */ oT.default.createElement(n2e, { ...t }, e.map(({ title: r, className: n,
  onClick: o, disabled: i }, s) => /* @__PURE__ */ oT.default.createElement(fH, { key: s, className: n, onClick: o, disabled: !!i }, r))), "\
ActionBar");
});

// ../node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-compose-refs/dist/index.mjs
function o2e(e, t) {
  typeof e == "function" ? e(t) : e != null && (e.current = t);
}
function iT(...e) {
  return (t) => e.forEach((r) => o2e(r, t));
}
function Ga(...e) {
  return pH.useCallback(iT(...e), e);
}
var pH, I1 = k(() => {
  pH = N(H(), 1);
  a(o2e, "setRef");
  a(iT, "composeRefs");
  a(Ga, "useComposedRefs");
});

// ../node_modules/react/cjs/react-jsx-runtime.production.min.js
var hH = R((M1) => {
  "use strict";
  var a2e = H(), i2e = Symbol.for("react.element"), s2e = Symbol.for("react.fragment"), l2e = Object.prototype.hasOwnProperty, u2e = a2e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.
  ReactCurrentOwner, c2e = { key: !0, ref: !0, __self: !0, __source: !0 };
  function mH(e, t, r) {
    var n, o = {}, i = null, s = null;
    r !== void 0 && (i = "" + r), t.key !== void 0 && (i = "" + t.key), t.ref !== void 0 && (s = t.ref);
    for (n in t) l2e.call(t, n) && !c2e.hasOwnProperty(n) && (o[n] = t[n]);
    if (e && e.defaultProps) for (n in t = e.defaultProps, t) o[n] === void 0 && (o[n] = t[n]);
    return { $$typeof: i2e, type: e, key: i, ref: s, props: o, _owner: u2e.current };
  }
  a(mH, "q");
  M1.Fragment = s2e;
  M1.jsx = mH;
  M1.jsxs = mH;
});

// ../node_modules/react/jsx-runtime.js
var Rn = R((m0t, gH) => {
  "use strict";
  gH.exports = hH();
});

// ../node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-slot/dist/index.mjs
function f2e(e) {
  return fr.isValidElement(e) && e.type === d2e;
}
function p2e(e, t) {
  let r = { ...t };
  for (let n in t) {
    let o = e[n], i = t[n];
    /^on[A-Z]/.test(n) ? o && i ? r[n] = (...l) => {
      i(...l), o(...l);
    } : o && (r[n] = o) : n === "style" ? r[n] = { ...o, ...i } : n === "className" && (r[n] = [o, i].filter(Boolean).join(" "));
  }
  return { ...e, ...r };
}
function m2e(e) {
  let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning;
  return r ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning, r ? e.props.ref :
  e.props.ref || e.ref);
}
var fr, Mc, lT, sT, d2e, yH = k(() => {
  fr = N(H(), 1);
  I1();
  Mc = N(Rn(), 1), lT = fr.forwardRef((e, t) => {
    let { children: r, ...n } = e, o = fr.Children.toArray(r), i = o.find(f2e);
    if (i) {
      let s = i.props.children, l = o.map((u) => u === i ? fr.Children.count(s) > 1 ? fr.Children.only(null) : fr.isValidElement(s) ? s.props.
      children : null : u);
      return /* @__PURE__ */ (0, Mc.jsx)(sT, { ...n, ref: t, children: fr.isValidElement(s) ? fr.cloneElement(s, void 0, l) : null });
    }
    return /* @__PURE__ */ (0, Mc.jsx)(sT, { ...n, ref: t, children: r });
  });
  lT.displayName = "Slot";
  sT = fr.forwardRef((e, t) => {
    let { children: r, ...n } = e;
    if (fr.isValidElement(r)) {
      let o = m2e(r);
      return fr.cloneElement(r, {
        ...p2e(n, r.props),
        // @ts-ignore
        ref: t ? iT(t, o) : o
      });
    }
    return fr.Children.count(r) > 1 ? fr.Children.only(null) : null;
  });
  sT.displayName = "SlotClone";
  d2e = /* @__PURE__ */ a(({ children: e }) => /* @__PURE__ */ (0, Mc.jsx)(Mc.Fragment, { children: e }), "Slottable");
  a(f2e, "isSlottable");
  a(p2e, "mergeProps");
  a(m2e, "getElementRef");
});

// ../node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-primitive/dist/index.mjs
var vH, h2e, bH, g2e, Nc, wH = k(() => {
  vH = N(H(), 1), h2e = N(za(), 1);
  yH();
  bH = N(Rn(), 1), g2e = [
    "a",
    "button",
    "div",
    "form",
    "h2",
    "h3",
    "img",
    "input",
    "label",
    "li",
    "nav",
    "ol",
    "p",
    "span",
    "svg",
    "ul"
  ], Nc = g2e.reduce((e, t) => {
    let r = vH.forwardRef((n, o) => {
      let { asChild: i, ...s } = n, l = i ? lT : t;
      return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ (0, bH.jsx)(l, { ...s, ref: o });
    });
    return r.displayName = `Primitive.${t}`, { ...e, [t]: r };
  }, {});
});

// ../node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
var EH, Op, uT = k(() => {
  EH = N(H(), 1), Op = globalThis?.document ? EH.useLayoutEffect : () => {
  };
});

// ../node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-presence/dist/index.mjs
function y2e(e, t) {
  return xH.useReducer((r, n) => t[r][n] ?? r, e);
}
function v2e(e) {
  let [t, r] = on.useState(), n = on.useRef({}), o = on.useRef(e), i = on.useRef("none"), s = e ? "mounted" : "unmounted", [l, u] = y2e(s, {
    mounted: {
      UNMOUNT: "unmounted",
      ANIMATION_OUT: "unmountSuspended"
    },
    unmountSuspended: {
      MOUNT: "mounted",
      ANIMATION_END: "unmounted"
    },
    unmounted: {
      MOUNT: "mounted"
    }
  });
  return on.useEffect(() => {
    let c = N1(n.current);
    i.current = l === "mounted" ? c : "none";
  }, [l]), Op(() => {
    let c = n.current, d = o.current;
    if (d !== e) {
      let p = i.current, m = N1(c);
      e ? u("MOUNT") : m === "none" || c?.display === "none" ? u("UNMOUNT") : u(d && p !== m ? "ANIMATION_OUT" : "UNMOUNT"), o.current = e;
    }
  }, [e, u]), Op(() => {
    if (t) {
      let c = /* @__PURE__ */ a((f) => {
        let m = N1(n.current).includes(f.animationName);
        f.target === t && m && RH.flushSync(() => u("ANIMATION_END"));
      }, "handleAnimationEnd"), d = /* @__PURE__ */ a((f) => {
        f.target === t && (i.current = N1(n.current));
      }, "handleAnimationStart");
      return t.addEventListener("animationstart", d), t.addEventListener("animationcancel", c), t.addEventListener("animationend", c), () => {
        t.removeEventListener("animationstart", d), t.removeEventListener("animationcancel", c), t.removeEventListener("animationend", c);
      };
    } else
      u("ANIMATION_END");
  }, [t, u]), {
    isPresent: ["mounted", "unmountSuspended"].includes(l),
    ref: on.useCallback((c) => {
      c && (n.current = getComputedStyle(c)), r(c);
    }, [])
  };
}
function N1(e) {
  return e?.animationName || "none";
}
function b2e(e) {
  let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning;
  return r ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning, r ? e.props.ref :
  e.props.ref || e.ref);
}
var on, RH, xH, Lc, SH = k(() => {
  "use client";
  on = N(H(), 1), RH = N(za(), 1);
  I1();
  uT();
  xH = N(H(), 1);
  a(y2e, "useStateMachine");
  Lc = /* @__PURE__ */ a((e) => {
    let { present: t, children: r } = e, n = v2e(t), o = typeof r == "function" ? r({ present: n.isPresent }) : on.Children.only(r), i = Ga(
    n.ref, b2e(o));
    return typeof r == "function" || n.isPresent ? on.cloneElement(o, { ref: i }) : null;
  }, "Presence");
  Lc.displayName = "Presence";
  a(v2e, "usePresence");
  a(N1, "getAnimationName");
  a(b2e, "getElementRef");
});

// ../node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-context/dist/index.mjs
function _H(e, t = []) {
  let r = [];
  function n(i, s) {
    let l = Ya.createContext(s), u = r.length;
    r = [...r, s];
    function c(f) {
      let { scope: p, children: m, ...v } = f, y = p?.[e][u] || l, b = Ya.useMemo(() => v, Object.values(v));
      return /* @__PURE__ */ (0, CH.jsx)(y.Provider, { value: b, children: m });
    }
    a(c, "Provider");
    function d(f, p) {
      let m = p?.[e][u] || l, v = Ya.useContext(m);
      if (v) return v;
      if (s !== void 0) return s;
      throw new Error(`\`${f}\` must be used within \`${i}\``);
    }
    return a(d, "useContext2"), c.displayName = i + "Provider", [c, d];
  }
  a(n, "createContext3");
  let o = /* @__PURE__ */ a(() => {
    let i = r.map((s) => Ya.createContext(s));
    return /* @__PURE__ */ a(function(l) {
      let u = l?.[e] || i;
      return Ya.useMemo(
        () => ({ [`__scope${e}`]: { ...l, [e]: u } }),
        [l, u]
      );
    }, "useScope");
  }, "createScope");
  return o.scopeName = e, [n, w2e(o, ...t)];
}
function w2e(...e) {
  let t = e[0];
  if (e.length === 1) return t;
  let r = /* @__PURE__ */ a(() => {
    let n = e.map((o) => ({
      useScope: o(),
      scopeName: o.scopeName
    }));
    return /* @__PURE__ */ a(function(i) {
      let s = n.reduce((l, { useScope: u, scopeName: c }) => {
        let f = u(i)[`__scope${c}`];
        return { ...l, ...f };
      }, {});
      return Ya.useMemo(() => ({ [`__scope${t.scopeName}`]: s }), [s]);
    }, "useComposedScopes");
  }, "createScope");
  return r.scopeName = t.scopeName, r;
}
var Ya, CH, PH = k(() => {
  Ya = N(H(), 1), CH = N(Rn(), 1);
  a(_H, "createContextScope");
  a(w2e, "composeContextScopes");
});

// ../node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
function Qi(e) {
  let t = kc.useRef(e);
  return kc.useEffect(() => {
    t.current = e;
  }), kc.useMemo(() => (...r) => t.current?.(...r), []);
}
var kc, TH = k(() => {
  kc = N(H(), 1);
  a(Qi, "useCallbackRef");
});

// ../node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-direction/dist/index.mjs
function AH(e) {
  let t = L1.useContext(R2e);
  return e || t || "ltr";
}
var L1, E2e, R2e, OH = k(() => {
  L1 = N(H(), 1), E2e = N(Rn(), 1), R2e = L1.createContext(void 0);
  a(AH, "useDirection");
});

// ../node_modules/@radix-ui/number/dist/index.mjs
function IH(e, [t, r]) {
  return Math.min(r, Math.max(t, e));
}
var MH = k(() => {
  a(IH, "clamp");
});

// ../node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/primitive/dist/index.mjs
function Zi(e, t, { checkForDefaultPrevented: r = !0 } = {}) {
  return /* @__PURE__ */ a(function(o) {
    if (e?.(o), r === !1 || !o.defaultPrevented)
      return t?.(o);
  }, "handleEvent");
}
var NH = k(() => {
  a(Zi, "composeEventHandlers");
});

// ../node_modules/@radix-ui/react-scroll-area/dist/index.mjs
function x2e(e, t) {
  return kH.useReducer((r, n) => t[r][n] ?? r, e);
}
function q1(e) {
  return e ? parseInt(e, 10) : 0;
}
function WH(e, t) {
  let r = e / t;
  return isNaN(r) ? 0 : r;
}
function D1(e) {
  let t = WH(e.viewport, e.content), r = e.scrollbar.paddingStart + e.scrollbar.paddingEnd, n = (e.scrollbar.size - r) * t;
  return Math.max(n, 18);
}
function M2e(e, t, r, n = "ltr") {
  let o = D1(r), i = o / 2, s = t || i, l = o - s, u = r.scrollbar.paddingStart + s, c = r.scrollbar.size - r.scrollbar.paddingEnd - l, d = r.
  content - r.viewport, f = n === "ltr" ? [0, d] : [d * -1, 0];
  return GH([u, c], f)(e);
}
function LH(e, t, r = "ltr") {
  let n = D1(t), o = t.scrollbar.paddingStart + t.scrollbar.paddingEnd, i = t.scrollbar.size - o, s = t.content - t.viewport, l = i - n, u = r ===
  "ltr" ? [0, s] : [s * -1, 0], c = IH(e, u);
  return GH([0, s], [0, l])(c);
}
function GH(e, t) {
  return (r) => {
    if (e[0] === e[1] || t[0] === t[1]) return t[0];
    let n = (t[1] - t[0]) / (e[1] - e[0]);
    return t[0] + n * (r - e[0]);
  };
}
function YH(e, t) {
  return e > 0 && e < t;
}
function F1(e, t) {
  let r = Qi(e), n = ce.useRef(0);
  return ce.useEffect(() => () => window.clearTimeout(n.current), []), ce.useCallback(() => {
    window.clearTimeout(n.current), n.current = window.setTimeout(r, t);
  }, [r, t]);
}
function qc(e, t) {
  let r = Qi(t);
  Op(() => {
    let n = 0;
    if (e) {
      let o = new ResizeObserver(() => {
        cancelAnimationFrame(n), n = window.requestAnimationFrame(r);
      });
      return o.observe(e), () => {
        window.cancelAnimationFrame(n), o.unobserve(e);
      };
    }
  }, [e, r]);
}
function L2e(e, t) {
  let { asChild: r, children: n } = e;
  if (!r) return typeof t == "function" ? t(n) : t;
  let o = ce.Children.only(n);
  return ce.cloneElement(o, {
    children: typeof t == "function" ? t(o.props.children) : t
  });
}
var ce, kH, Le, cT, qH, V0t, S2e, Yn, DH, FH, jH, ya, BH, C2e, _2e, $H, dT, P2e, T2e, A2e, HH, zH, k1, UH, O2e, fT, VH, I2e, N2e, KH, XH, JH,
QH, ZH, ez = k(() => {
  "use client";
  ce = N(H(), 1);
  wH();
  SH();
  PH();
  I1();
  TH();
  OH();
  uT();
  MH();
  NH();
  kH = N(H(), 1), Le = N(Rn(), 1);
  a(x2e, "useStateMachine");
  cT = "ScrollArea", [qH, V0t] = _H(cT), [S2e, Yn] = qH(cT), DH = ce.forwardRef(
    (e, t) => {
      let {
        __scopeScrollArea: r,
        type: n = "hover",
        dir: o,
        scrollHideDelay: i = 600,
        ...s
      } = e, [l, u] = ce.useState(null), [c, d] = ce.useState(null), [f, p] = ce.useState(null), [m, v] = ce.useState(null), [y, b] = ce.useState(
      null), [g, w] = ce.useState(0), [E, x] = ce.useState(0), [S, C] = ce.useState(!1), [_, A] = ce.useState(!1), O = Ga(t, (M) => u(M)), q = AH(
      o);
      return /* @__PURE__ */ (0, Le.jsx)(
        S2e,
        {
          scope: r,
          type: n,
          dir: q,
          scrollHideDelay: i,
          scrollArea: l,
          viewport: c,
          onViewportChange: d,
          content: f,
          onContentChange: p,
          scrollbarX: m,
          onScrollbarXChange: v,
          scrollbarXEnabled: S,
          onScrollbarXEnabledChange: C,
          scrollbarY: y,
          onScrollbarYChange: b,
          scrollbarYEnabled: _,
          onScrollbarYEnabledChange: A,
          onCornerWidthChange: w,
          onCornerHeightChange: x,
          children: /* @__PURE__ */ (0, Le.jsx)(
            Nc.div,
            {
              dir: q,
              ...s,
              ref: O,
              style: {
                position: "relative",
                // Pass corner sizes as CSS vars to reduce re-renders of context consumers
                "--radix-scroll-area-corner-width": g + "px",
                "--radix-scroll-area-corner-height": E + "px",
                ...e.style
              }
            }
          )
        }
      );
    }
  );
  DH.displayName = cT;
  FH = "ScrollAreaViewport", jH = ce.forwardRef(
    (e, t) => {
      let { __scopeScrollArea: r, children: n, asChild: o, nonce: i, ...s } = e, l = Yn(FH, r), u = ce.useRef(null), c = Ga(t, u, l.onViewportChange);
      return /* @__PURE__ */ (0, Le.jsxs)(Le.Fragment, { children: [
        /* @__PURE__ */ (0, Le.jsx)(
          "style",
          {
            dangerouslySetInnerHTML: {
              __html: `
[data-radix-scroll-area-viewport] {
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
[data-radix-scroll-area-viewport]::-webkit-scrollbar {
  display: none;
}
:where([data-radix-scroll-area-viewport]) {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
:where([data-radix-scroll-area-content]) {
  flex-grow: 1;
}
`
            },
            nonce: i
          }
        ),
        /* @__PURE__ */ (0, Le.jsx)(
          Nc.div,
          {
            "data-radix-scroll-area-viewport": "",
            ...s,
            asChild: o,
            ref: c,
            style: {
              /**
               * We don't support `visible` because the intention is to have at least one scrollbar
               * if this component is used and `visible` will behave like `auto` in that case
               * https://developer.mozilla.org/en-US/docs/Web/CSS/overflow#description
               *
               * We don't handle `auto` because the intention is for the native implementation
               * to be hidden if using this component. We just want to ensure the node is scrollable
               * so could have used either `scroll` or `auto` here. We picked `scroll` to prevent
               * the browser from having to work out whether to render native scrollbars or not,
               * we tell it to with the intention of hiding them in CSS.
               */
              overflowX: l.scrollbarXEnabled ? "scroll" : "hidden",
              overflowY: l.scrollbarYEnabled ? "scroll" : "hidden",
              ...e.style
            },
            children: L2e({ asChild: o, children: n }, (d) => /* @__PURE__ */ (0, Le.jsx)(
              "div",
              {
                "data-radix-scroll-area-content": "",
                ref: l.onContentChange,
                style: { minWidth: l.scrollbarXEnabled ? "fit-content" : void 0 },
                children: d
              }
            ))
          }
        )
      ] });
    }
  );
  jH.displayName = FH;
  ya = "ScrollAreaScrollbar", BH = ce.forwardRef(
    (e, t) => {
      let { forceMount: r, ...n } = e, o = Yn(ya, e.__scopeScrollArea), { onScrollbarXEnabledChange: i, onScrollbarYEnabledChange: s } = o, l = e.
      orientation === "horizontal";
      return ce.useEffect(() => (l ? i(!0) : s(!0), () => {
        l ? i(!1) : s(!1);
      }), [l, i, s]), o.type === "hover" ? /* @__PURE__ */ (0, Le.jsx)(C2e, { ...n, ref: t, forceMount: r }) : o.type === "scroll" ? /* @__PURE__ */ (0, Le.jsx)(
      _2e, { ...n, ref: t, forceMount: r }) : o.type === "auto" ? /* @__PURE__ */ (0, Le.jsx)($H, { ...n, ref: t, forceMount: r }) : o.type ===
      "always" ? /* @__PURE__ */ (0, Le.jsx)(dT, { ...n, ref: t }) : null;
    }
  );
  BH.displayName = ya;
  C2e = ce.forwardRef((e, t) => {
    let { forceMount: r, ...n } = e, o = Yn(ya, e.__scopeScrollArea), [i, s] = ce.useState(!1);
    return ce.useEffect(() => {
      let l = o.scrollArea, u = 0;
      if (l) {
        let c = /* @__PURE__ */ a(() => {
          window.clearTimeout(u), s(!0);
        }, "handlePointerEnter"), d = /* @__PURE__ */ a(() => {
          u = window.setTimeout(() => s(!1), o.scrollHideDelay);
        }, "handlePointerLeave");
        return l.addEventListener("pointerenter", c), l.addEventListener("pointerleave", d), () => {
          window.clearTimeout(u), l.removeEventListener("pointerenter", c), l.removeEventListener("pointerleave", d);
        };
      }
    }, [o.scrollArea, o.scrollHideDelay]), /* @__PURE__ */ (0, Le.jsx)(Lc, { present: r || i, children: /* @__PURE__ */ (0, Le.jsx)(
      $H,
      {
        "data-state": i ? "visible" : "hidden",
        ...n,
        ref: t
      }
    ) });
  }), _2e = ce.forwardRef((e, t) => {
    let { forceMount: r, ...n } = e, o = Yn(ya, e.__scopeScrollArea), i = e.orientation === "horizontal", s = F1(() => u("SCROLL_END"), 100),
    [l, u] = x2e("hidden", {
      hidden: {
        SCROLL: "scrolling"
      },
      scrolling: {
        SCROLL_END: "idle",
        POINTER_ENTER: "interacting"
      },
      interacting: {
        SCROLL: "interacting",
        POINTER_LEAVE: "idle"
      },
      idle: {
        HIDE: "hidden",
        SCROLL: "scrolling",
        POINTER_ENTER: "interacting"
      }
    });
    return ce.useEffect(() => {
      if (l === "idle") {
        let c = window.setTimeout(() => u("HIDE"), o.scrollHideDelay);
        return () => window.clearTimeout(c);
      }
    }, [l, o.scrollHideDelay, u]), ce.useEffect(() => {
      let c = o.viewport, d = i ? "scrollLeft" : "scrollTop";
      if (c) {
        let f = c[d], p = /* @__PURE__ */ a(() => {
          let m = c[d];
          f !== m && (u("SCROLL"), s()), f = m;
        }, "handleScroll");
        return c.addEventListener("scroll", p), () => c.removeEventListener("scroll", p);
      }
    }, [o.viewport, i, u, s]), /* @__PURE__ */ (0, Le.jsx)(Lc, { present: r || l !== "hidden", children: /* @__PURE__ */ (0, Le.jsx)(
      dT,
      {
        "data-state": l === "hidden" ? "hidden" : "visible",
        ...n,
        ref: t,
        onPointerEnter: Zi(e.onPointerEnter, () => u("POINTER_ENTER")),
        onPointerLeave: Zi(e.onPointerLeave, () => u("POINTER_LEAVE"))
      }
    ) });
  }), $H = ce.forwardRef((e, t) => {
    let r = Yn(ya, e.__scopeScrollArea), { forceMount: n, ...o } = e, [i, s] = ce.useState(!1), l = e.orientation === "horizontal", u = F1(() => {
      if (r.viewport) {
        let c = r.viewport.offsetWidth < r.viewport.scrollWidth, d = r.viewport.offsetHeight < r.viewport.scrollHeight;
        s(l ? c : d);
      }
    }, 10);
    return qc(r.viewport, u), qc(r.content, u), /* @__PURE__ */ (0, Le.jsx)(Lc, { present: n || i, children: /* @__PURE__ */ (0, Le.jsx)(
      dT,
      {
        "data-state": i ? "visible" : "hidden",
        ...o,
        ref: t
      }
    ) });
  }), dT = ce.forwardRef((e, t) => {
    let { orientation: r = "vertical", ...n } = e, o = Yn(ya, e.__scopeScrollArea), i = ce.useRef(null), s = ce.useRef(0), [l, u] = ce.useState(
    {
      content: 0,
      viewport: 0,
      scrollbar: { size: 0, paddingStart: 0, paddingEnd: 0 }
    }), c = WH(l.viewport, l.content), d = {
      ...n,
      sizes: l,
      onSizesChange: u,
      hasThumb: c > 0 && c < 1,
      onThumbChange: /* @__PURE__ */ a((p) => i.current = p, "onThumbChange"),
      onThumbPointerUp: /* @__PURE__ */ a(() => s.current = 0, "onThumbPointerUp"),
      onThumbPointerDown: /* @__PURE__ */ a((p) => s.current = p, "onThumbPointerDown")
    };
    function f(p, m) {
      return M2e(p, s.current, l, m);
    }
    return a(f, "getScrollPosition"), r === "horizontal" ? /* @__PURE__ */ (0, Le.jsx)(
      P2e,
      {
        ...d,
        ref: t,
        onThumbPositionChange: /* @__PURE__ */ a(() => {
          if (o.viewport && i.current) {
            let p = o.viewport.scrollLeft, m = LH(p, l, o.dir);
            i.current.style.transform = `translate3d(${m}px, 0, 0)`;
          }
        }, "onThumbPositionChange"),
        onWheelScroll: /* @__PURE__ */ a((p) => {
          o.viewport && (o.viewport.scrollLeft = p);
        }, "onWheelScroll"),
        onDragScroll: /* @__PURE__ */ a((p) => {
          o.viewport && (o.viewport.scrollLeft = f(p, o.dir));
        }, "onDragScroll")
      }
    ) : r === "vertical" ? /* @__PURE__ */ (0, Le.jsx)(
      T2e,
      {
        ...d,
        ref: t,
        onThumbPositionChange: /* @__PURE__ */ a(() => {
          if (o.viewport && i.current) {
            let p = o.viewport.scrollTop, m = LH(p, l);
            i.current.style.transform = `translate3d(0, ${m}px, 0)`;
          }
        }, "onThumbPositionChange"),
        onWheelScroll: /* @__PURE__ */ a((p) => {
          o.viewport && (o.viewport.scrollTop = p);
        }, "onWheelScroll"),
        onDragScroll: /* @__PURE__ */ a((p) => {
          o.viewport && (o.viewport.scrollTop = f(p));
        }, "onDragScroll")
      }
    ) : null;
  }), P2e = ce.forwardRef((e, t) => {
    let { sizes: r, onSizesChange: n, ...o } = e, i = Yn(ya, e.__scopeScrollArea), [s, l] = ce.useState(), u = ce.useRef(null), c = Ga(t, u,
    i.onScrollbarXChange);
    return ce.useEffect(() => {
      u.current && l(getComputedStyle(u.current));
    }, [u]), /* @__PURE__ */ (0, Le.jsx)(
      zH,
      {
        "data-orientation": "horizontal",
        ...o,
        ref: c,
        sizes: r,
        style: {
          bottom: 0,
          left: i.dir === "rtl" ? "var(--radix-scroll-area-corner-width)" : 0,
          right: i.dir === "ltr" ? "var(--radix-scroll-area-corner-width)" : 0,
          "--radix-scroll-area-thumb-width": D1(r) + "px",
          ...e.style
        },
        onThumbPointerDown: /* @__PURE__ */ a((d) => e.onThumbPointerDown(d.x), "onThumbPointerDown"),
        onDragScroll: /* @__PURE__ */ a((d) => e.onDragScroll(d.x), "onDragScroll"),
        onWheelScroll: /* @__PURE__ */ a((d, f) => {
          if (i.viewport) {
            let p = i.viewport.scrollLeft + d.deltaX;
            e.onWheelScroll(p), YH(p, f) && d.preventDefault();
          }
        }, "onWheelScroll"),
        onResize: /* @__PURE__ */ a(() => {
          u.current && i.viewport && s && n({
            content: i.viewport.scrollWidth,
            viewport: i.viewport.offsetWidth,
            scrollbar: {
              size: u.current.clientWidth,
              paddingStart: q1(s.paddingLeft),
              paddingEnd: q1(s.paddingRight)
            }
          });
        }, "onResize")
      }
    );
  }), T2e = ce.forwardRef((e, t) => {
    let { sizes: r, onSizesChange: n, ...o } = e, i = Yn(ya, e.__scopeScrollArea), [s, l] = ce.useState(), u = ce.useRef(null), c = Ga(t, u,
    i.onScrollbarYChange);
    return ce.useEffect(() => {
      u.current && l(getComputedStyle(u.current));
    }, [u]), /* @__PURE__ */ (0, Le.jsx)(
      zH,
      {
        "data-orientation": "vertical",
        ...o,
        ref: c,
        sizes: r,
        style: {
          top: 0,
          right: i.dir === "ltr" ? 0 : void 0,
          left: i.dir === "rtl" ? 0 : void 0,
          bottom: "var(--radix-scroll-area-corner-height)",
          "--radix-scroll-area-thumb-height": D1(r) + "px",
          ...e.style
        },
        onThumbPointerDown: /* @__PURE__ */ a((d) => e.onThumbPointerDown(d.y), "onThumbPointerDown"),
        onDragScroll: /* @__PURE__ */ a((d) => e.onDragScroll(d.y), "onDragScroll"),
        onWheelScroll: /* @__PURE__ */ a((d, f) => {
          if (i.viewport) {
            let p = i.viewport.scrollTop + d.deltaY;
            e.onWheelScroll(p), YH(p, f) && d.preventDefault();
          }
        }, "onWheelScroll"),
        onResize: /* @__PURE__ */ a(() => {
          u.current && i.viewport && s && n({
            content: i.viewport.scrollHeight,
            viewport: i.viewport.offsetHeight,
            scrollbar: {
              size: u.current.clientHeight,
              paddingStart: q1(s.paddingTop),
              paddingEnd: q1(s.paddingBottom)
            }
          });
        }, "onResize")
      }
    );
  }), [A2e, HH] = qH(ya), zH = ce.forwardRef((e, t) => {
    let {
      __scopeScrollArea: r,
      sizes: n,
      hasThumb: o,
      onThumbChange: i,
      onThumbPointerUp: s,
      onThumbPointerDown: l,
      onThumbPositionChange: u,
      onDragScroll: c,
      onWheelScroll: d,
      onResize: f,
      ...p
    } = e, m = Yn(ya, r), [v, y] = ce.useState(null), b = Ga(t, (O) => y(O)), g = ce.useRef(null), w = ce.useRef(""), E = m.viewport, x = n.
    content - n.viewport, S = Qi(d), C = Qi(u), _ = F1(f, 10);
    function A(O) {
      if (g.current) {
        let q = O.clientX - g.current.left, M = O.clientY - g.current.top;
        c({ x: q, y: M });
      }
    }
    return a(A, "handleDragScroll"), ce.useEffect(() => {
      let O = /* @__PURE__ */ a((q) => {
        let M = q.target;
        v?.contains(M) && S(q, x);
      }, "handleWheel");
      return document.addEventListener("wheel", O, { passive: !1 }), () => document.removeEventListener("wheel", O, { passive: !1 });
    }, [E, v, x, S]), ce.useEffect(C, [n, C]), qc(v, _), qc(m.content, _), /* @__PURE__ */ (0, Le.jsx)(
      A2e,
      {
        scope: r,
        scrollbar: v,
        hasThumb: o,
        onThumbChange: Qi(i),
        onThumbPointerUp: Qi(s),
        onThumbPositionChange: C,
        onThumbPointerDown: Qi(l),
        children: /* @__PURE__ */ (0, Le.jsx)(
          Nc.div,
          {
            ...p,
            ref: b,
            style: { position: "absolute", ...p.style },
            onPointerDown: Zi(e.onPointerDown, (O) => {
              O.button === 0 && (O.target.setPointerCapture(O.pointerId), g.current = v.getBoundingClientRect(), w.current = document.body.style.
              webkitUserSelect, document.body.style.webkitUserSelect = "none", m.viewport && (m.viewport.style.scrollBehavior = "auto"), A(O));
            }),
            onPointerMove: Zi(e.onPointerMove, A),
            onPointerUp: Zi(e.onPointerUp, (O) => {
              let q = O.target;
              q.hasPointerCapture(O.pointerId) && q.releasePointerCapture(O.pointerId), document.body.style.webkitUserSelect = w.current, m.
              viewport && (m.viewport.style.scrollBehavior = ""), g.current = null;
            })
          }
        )
      }
    );
  }), k1 = "ScrollAreaThumb", UH = ce.forwardRef(
    (e, t) => {
      let { forceMount: r, ...n } = e, o = HH(k1, e.__scopeScrollArea);
      return /* @__PURE__ */ (0, Le.jsx)(Lc, { present: r || o.hasThumb, children: /* @__PURE__ */ (0, Le.jsx)(O2e, { ref: t, ...n }) });
    }
  ), O2e = ce.forwardRef(
    (e, t) => {
      let { __scopeScrollArea: r, style: n, ...o } = e, i = Yn(k1, r), s = HH(k1, r), { onThumbPositionChange: l } = s, u = Ga(
        t,
        (f) => s.onThumbChange(f)
      ), c = ce.useRef(), d = F1(() => {
        c.current && (c.current(), c.current = void 0);
      }, 100);
      return ce.useEffect(() => {
        let f = i.viewport;
        if (f) {
          let p = /* @__PURE__ */ a(() => {
            if (d(), !c.current) {
              let m = N2e(f, l);
              c.current = m, l();
            }
          }, "handleScroll");
          return l(), f.addEventListener("scroll", p), () => f.removeEventListener("scroll", p);
        }
      }, [i.viewport, d, l]), /* @__PURE__ */ (0, Le.jsx)(
        Nc.div,
        {
          "data-state": s.hasThumb ? "visible" : "hidden",
          ...o,
          ref: u,
          style: {
            width: "var(--radix-scroll-area-thumb-width)",
            height: "var(--radix-scroll-area-thumb-height)",
            ...n
          },
          onPointerDownCapture: Zi(e.onPointerDownCapture, (f) => {
            let m = f.target.getBoundingClientRect(), v = f.clientX - m.left, y = f.clientY - m.top;
            s.onThumbPointerDown({ x: v, y });
          }),
          onPointerUp: Zi(e.onPointerUp, s.onThumbPointerUp)
        }
      );
    }
  );
  UH.displayName = k1;
  fT = "ScrollAreaCorner", VH = ce.forwardRef(
    (e, t) => {
      let r = Yn(fT, e.__scopeScrollArea), n = !!(r.scrollbarX && r.scrollbarY);
      return r.type !== "scroll" && n ? /* @__PURE__ */ (0, Le.jsx)(I2e, { ...e, ref: t }) : null;
    }
  );
  VH.displayName = fT;
  I2e = ce.forwardRef((e, t) => {
    let { __scopeScrollArea: r, ...n } = e, o = Yn(fT, r), [i, s] = ce.useState(0), [l, u] = ce.useState(0), c = !!(i && l);
    return qc(o.scrollbarX, () => {
      let d = o.scrollbarX?.offsetHeight || 0;
      o.onCornerHeightChange(d), u(d);
    }), qc(o.scrollbarY, () => {
      let d = o.scrollbarY?.offsetWidth || 0;
      o.onCornerWidthChange(d), s(d);
    }), c ? /* @__PURE__ */ (0, Le.jsx)(
      Nc.div,
      {
        ...n,
        ref: t,
        style: {
          width: i,
          height: l,
          position: "absolute",
          right: o.dir === "ltr" ? 0 : void 0,
          left: o.dir === "rtl" ? 0 : void 0,
          bottom: 0,
          ...e.style
        }
      }
    ) : null;
  });
  a(q1, "toInt");
  a(WH, "getThumbRatio");
  a(D1, "getThumbSize");
  a(M2e, "getScrollPositionFromPointer");
  a(LH, "getThumbOffsetFromScroll");
  a(GH, "linearScale");
  a(YH, "isScrollingWithinScrollbarBounds");
  N2e = /* @__PURE__ */ a((e, t = () => {
  }) => {
    let r = { left: e.scrollLeft, top: e.scrollTop }, n = 0;
    return (/* @__PURE__ */ a(function o() {
      let i = { left: e.scrollLeft, top: e.scrollTop }, s = r.left !== i.left, l = r.top !== i.top;
      (s || l) && t(), r = i, n = window.requestAnimationFrame(o);
    }, "loop"))(), () => window.cancelAnimationFrame(n);
  }, "addUnlinkedScrollListener");
  a(F1, "useDebounceCallback");
  a(qc, "useResizeObserver");
  a(L2e, "getSubtree");
  KH = DH, XH = jH, JH = BH, QH = UH, ZH = VH;
});

// src/components/components/ScrollArea/ScrollArea.tsx
var va, q2e, D2e, tz, rz, El, j1 = k(() => {
  "use strict";
  va = N(H(), 1);
  ez();
  ue();
  q2e = L(KH)(
    ({ scrollbarsize: e, offset: t }) => ({
      width: "100%",
      height: "100%",
      overflow: "hidden",
      "--scrollbar-size": `${e + t}px`,
      "--radix-scroll-area-thumb-width": `${e}px`
    })
  ), D2e = L(XH)({
    width: "100%",
    height: "100%"
  }), tz = L(JH)(({ offset: e, horizontal: t, vertical: r }) => ({
    display: "flex",
    userSelect: "none",
    // ensures no selection
    touchAction: "none",
    // disable browser handling of all panning and zooming gestures on touch devices
    background: "transparent",
    transition: "all 0.2s ease-out",
    borderRadius: "var(--scrollbar-size)",
    zIndex: 1,
    '&[data-orientation="vertical"]': {
      width: "var(--scrollbar-size)",
      paddingRight: e,
      marginTop: e,
      marginBottom: t === "true" && r === "true" ? 0 : e
    },
    '&[data-orientation="horizontal"]': {
      flexDirection: "column",
      height: "var(--scrollbar-size)",
      paddingBottom: e,
      marginLeft: e,
      marginRight: t === "true" && r === "true" ? 0 : e
    }
  })), rz = L(QH)(({ theme: e }) => ({
    flex: 1,
    background: e.textMutedColor,
    opacity: 0.5,
    borderRadius: "var(--scrollbar-size)",
    position: "relative",
    transition: "opacity 0.2s ease-out",
    "&:hover": { opacity: 0.8 },
    /* increase target size for touch devices https://www.w3.org/WAI/WCAG21/Understanding/target-size.html */
    "::before": {
      content: '""',
      position: "absolute",
      top: "50%",
      left: "50%",
      transform: "translate(-50%,-50%)",
      width: "100%",
      height: "100%"
    }
  })), El = (0, va.forwardRef)(
    ({ children: e, horizontal: t = !1, vertical: r = !1, offset: n = 2, scrollbarSize: o = 6, className: i }, s) => /* @__PURE__ */ va.default.
    createElement(q2e, { scrollbarsize: o, offset: n, className: i }, /* @__PURE__ */ va.default.createElement(D2e, { ref: s }, e), t && /* @__PURE__ */ va.default.
    createElement(
      tz,
      {
        orientation: "horizontal",
        offset: n,
        horizontal: t.toString(),
        vertical: r.toString()
      },
      /* @__PURE__ */ va.default.createElement(rz, null)
    ), r && /* @__PURE__ */ va.default.createElement(
      tz,
      {
        orientation: "vertical",
        offset: n,
        horizontal: t.toString(),
        vertical: r.toString()
      },
      /* @__PURE__ */ va.default.createElement(rz, null)
    ), t && r && /* @__PURE__ */ va.default.createElement(ZH, null))
  );
  El.displayName = "ScrollArea";
});

// src/components/components/syntaxhighlighter/syntaxhighlighter.tsx
var pT = {};
_e(pT, {
  SyntaxHighlighter: () => Mp,
  createCopyToClipboardFunction: () => $1,
  default: () => G2e,
  supportedLanguages: () => oz
});
function $1() {
  return B1.navigator?.clipboard ? async (e) => {
    try {
      await B1.top?.navigator.clipboard.writeText(e);
    } catch {
      await B1.navigator.clipboard.writeText(e);
    }
  } : async (e) => {
    let t = Ip.createElement("TEXTAREA"), r = Ip.activeElement;
    t.value = e, Ip.body.appendChild(t), t.select(), Ip.execCommand("copy"), Ip.body.removeChild(t), r.focus();
  };
}
var xn, nz, Ip, B1, oz, F2e, j2e, B2e, $2e, H2e, z2e, U2e, az, V2e, W2e, Mp, G2e, Np = k(() => {
  "use strict";
  xn = N(H(), 1);
  kr();
  Ct();
  nz = N(Wa(), 1);
  g$();
  E$();
  S$();
  A$();
  L$();
  j$();
  z$();
  Y$();
  J$();
  nH();
  iH();
  dH();
  h$();
  ue();
  aT();
  j1();
  ({ document: Ip, window: B1 } = Z), oz = {
    jsextra: N$,
    jsx: H$,
    json: F$,
    yml: cH,
    md: G$,
    bash: w$,
    css: x$,
    html: X$,
    tsx: rH,
    typescript: aH,
    graphql: T$
  };
  Object.entries(oz).forEach(([e, t]) => {
    A1.registerLanguage(e, t);
  });
  F2e = (0, nz.default)(2)(
    (e) => Object.entries(e.code || {}).reduce((t, [r, n]) => ({ ...t, [`* .${r}`]: n }), {})
  ), j2e = $1();
  a($1, "createCopyToClipboardFunction");
  B2e = L.div(
    ({ theme: e }) => ({
      position: "relative",
      overflow: "hidden",
      color: e.color.defaultText
    }),
    ({ theme: e, bordered: t }) => t ? {
      border: `1px solid ${e.appBorderColor}`,
      borderRadius: e.borderRadius,
      background: e.background.content
    } : {},
    ({ showLineNumbers: e }) => e ? {
      // use the before pseudo element to display line numbers
      ".react-syntax-highlighter-line-number::before": {
        content: "attr(data-line-number)"
      }
    } : {}
  ), $2e = /* @__PURE__ */ a(({ children: e, className: t }) => /* @__PURE__ */ xn.default.createElement(El, { horizontal: !0, vertical: !0,
  className: t }, e), "UnstyledScroller"), H2e = L($2e)(
    {
      position: "relative"
    },
    ({ theme: e }) => F2e(e)
  ), z2e = L.pre(({ theme: e, padded: t }) => ({
    display: "flex",
    justifyContent: "flex-start",
    margin: 0,
    padding: t ? e.layoutMargin : 0
  })), U2e = L.div(({ theme: e }) => ({
    flex: 1,
    paddingLeft: 2,
    // TODO: To match theming/global.ts for now
    paddingRight: e.layoutMargin,
    opacity: 1,
    fontFamily: e.typography.fonts.mono
  })), az = /* @__PURE__ */ a((e) => {
    let t = [...e.children], r = t[0], n = r.children[0].value, o = {
      ...r,
      // empty the line-number element
      children: [],
      properties: {
        ...r.properties,
        // add a data-line-number attribute to line-number element, so we can access the line number with `content: attr(data-line-number)`
        "data-line-number": n,
        // remove the 'userSelect: none' style, which will produce extra empty lines when copy-pasting in firefox
        style: { ...r.properties.style, userSelect: "auto" }
      }
    };
    return t[0] = o, { ...e, children: t };
  }, "processLineNumber"), V2e = /* @__PURE__ */ a(({ rows: e, stylesheet: t, useInlineStyles: r }) => e.map((n, o) => vl({
    node: az(n),
    stylesheet: t,
    useInlineStyles: r,
    key: `code-segement${o}`
  })), "defaultRenderer"), W2e = /* @__PURE__ */ a((e, t) => t ? e ? ({ rows: r, ...n }) => e({ rows: r.map((o) => az(o)), ...n }) : V2e : e,
  "wrapRenderer"), Mp = /* @__PURE__ */ a(({
    children: e,
    language: t = "jsx",
    copyable: r = !1,
    bordered: n = !1,
    padded: o = !1,
    format: i = !0,
    formatter: s = void 0,
    className: l = void 0,
    showLineNumbers: u = !1,
    ...c
  }) => {
    if (typeof e != "string" || !e.trim())
      return null;
    let [d, f] = (0, xn.useState)("");
    (0, xn.useEffect)(() => {
      s ? s(i, e).then(f) : f(e.trim());
    }, [e, i, s]);
    let [p, m] = (0, xn.useState)(!1), v = (0, xn.useCallback)(
      (b) => {
        b.preventDefault(), j2e(d).then(() => {
          m(!0), B1.setTimeout(() => m(!1), 1500);
        }).catch(Ve.error);
      },
      [d]
    ), y = W2e(c.renderer, u);
    return /* @__PURE__ */ xn.default.createElement(
      B2e,
      {
        bordered: n,
        padded: o,
        showLineNumbers: u,
        className: l
      },
      /* @__PURE__ */ xn.default.createElement(H2e, null, /* @__PURE__ */ xn.default.createElement(
        A1,
        {
          padded: o || n,
          language: t,
          showLineNumbers: u,
          showInlineLineNumbers: u,
          useInlineStyles: !1,
          PreTag: z2e,
          CodeTag: U2e,
          lineNumberContainerStyle: {},
          ...c,
          renderer: y
        },
        d
      )),
      r ? /* @__PURE__ */ xn.default.createElement(O1, { actionItems: [{ title: p ? "Copied" : "Copy", onClick: v }] }) : null
    );
  }, "SyntaxHighlighter");
  Mp.registerLanguage = (...e) => A1.registerLanguage(...e);
  G2e = Mp;
});

// src/components/components/syntaxhighlighter/formatter.ts
var dz = {};
_e(dz, {
  formatter: () => NCe
});
var cz, NCe, fz = k(() => {
  "use strict";
  cz = N(Wa(), 1);
  Ao();
  NCe = (0, cz.default)(2)(async (e, t) => e === !1 ? t : _t(t));
});

// ../node_modules/react-popper/lib/esm/utils.js
var Ly, gA, yA, eV = k(() => {
  Ly = N(H()), gA = /* @__PURE__ */ a(function(t) {
    return t.reduce(function(r, n) {
      var o = n[0], i = n[1];
      return r[o] = i, r;
    }, {});
  }, "fromEntries"), yA = typeof window < "u" && window.document && window.document.createElement ? Ly.useLayoutEffect : Ly.useEffect;
});

// ../node_modules/@popperjs/core/lib/enums.js
var wt, $t, kt, At, ky, ns, Ja, Ol, tV, qy, Wc, rV, vA, Dy, qPe, DPe, FPe, jPe, BPe, $Pe, HPe, zPe, UPe, nV, Cn = k(() => {
  wt = "top", $t = "bottom", kt = "right", At = "left", ky = "auto", ns = [wt, $t, kt, At], Ja = "start", Ol = "end", tV = "clippingParents",
  qy = "viewport", Wc = "popper", rV = "reference", vA = /* @__PURE__ */ ns.reduce(function(e, t) {
    return e.concat([t + "-" + Ja, t + "-" + Ol]);
  }, []), Dy = /* @__PURE__ */ [].concat(ns, [ky]).reduce(function(e, t) {
    return e.concat([t, t + "-" + Ja, t + "-" + Ol]);
  }, []), qPe = "beforeRead", DPe = "read", FPe = "afterRead", jPe = "beforeMain", BPe = "main", $Pe = "afterMain", HPe = "beforeWrite", zPe =
  "write", UPe = "afterWrite", nV = [qPe, DPe, FPe, jPe, BPe, $Pe, HPe, zPe, UPe];
});

// ../node_modules/@popperjs/core/lib/dom-utils/getNodeName.js
function Qt(e) {
  return e ? (e.nodeName || "").toLowerCase() : null;
}
var os = k(() => {
  a(Qt, "getNodeName");
});

// ../node_modules/@popperjs/core/lib/dom-utils/getWindow.js
function ct(e) {
  if (e == null)
    return window;
  if (e.toString() !== "[object Window]") {
    var t = e.ownerDocument;
    return t && t.defaultView || window;
  }
  return e;
}
var qo = k(() => {
  a(ct, "getWindow");
});

// ../node_modules/@popperjs/core/lib/dom-utils/instanceOf.js
function Zn(e) {
  var t = ct(e).Element;
  return e instanceof t || e instanceof Element;
}
function Ht(e) {
  var t = ct(e).HTMLElement;
  return e instanceof t || e instanceof HTMLElement;
}
function Gc(e) {
  if (typeof ShadowRoot > "u")
    return !1;
  var t = ct(e).ShadowRoot;
  return e instanceof t || e instanceof ShadowRoot;
}
var _n = k(() => {
  qo();
  a(Zn, "isElement");
  a(Ht, "isHTMLElement");
  a(Gc, "isShadowRoot");
});

// ../node_modules/@popperjs/core/lib/modifiers/applyStyles.js
function VPe(e) {
  var t = e.state;
  Object.keys(t.elements).forEach(function(r) {
    var n = t.styles[r] || {}, o = t.attributes[r] || {}, i = t.elements[r];
    !Ht(i) || !Qt(i) || (Object.assign(i.style, n), Object.keys(o).forEach(function(s) {
      var l = o[s];
      l === !1 ? i.removeAttribute(s) : i.setAttribute(s, l === !0 ? "" : l);
    }));
  });
}
function WPe(e) {
  var t = e.state, r = {
    popper: {
      position: t.options.strategy,
      left: "0",
      top: "0",
      margin: "0"
    },
    arrow: {
      position: "absolute"
    },
    reference: {}
  };
  return Object.assign(t.elements.popper.style, r.popper), t.styles = r, t.elements.arrow && Object.assign(t.elements.arrow.style, r.arrow),
  function() {
    Object.keys(t.elements).forEach(function(n) {
      var o = t.elements[n], i = t.attributes[n] || {}, s = Object.keys(t.styles.hasOwnProperty(n) ? t.styles[n] : r[n]), l = s.reduce(function(u, c) {
        return u[c] = "", u;
      }, {});
      !Ht(o) || !Qt(o) || (Object.assign(o.style, l), Object.keys(i).forEach(function(u) {
        o.removeAttribute(u);
      }));
    });
  };
}
var oV, aV = k(() => {
  os();
  _n();
  a(VPe, "applyStyles");
  a(WPe, "effect");
  oV = {
    name: "applyStyles",
    enabled: !0,
    phase: "write",
    fn: VPe,
    effect: WPe,
    requires: ["computeStyles"]
  };
});

// ../node_modules/@popperjs/core/lib/utils/getBasePlacement.js
function Zt(e) {
  return e.split("-")[0];
}
var as = k(() => {
  a(Zt, "getBasePlacement");
});

// ../node_modules/@popperjs/core/lib/utils/math.js
var Do, Il, Qa, is = k(() => {
  Do = Math.max, Il = Math.min, Qa = Math.round;
});

// ../node_modules/@popperjs/core/lib/utils/userAgent.js
function Yc() {
  var e = navigator.userAgentData;
  return e != null && e.brands && Array.isArray(e.brands) ? e.brands.map(function(t) {
    return t.brand + "/" + t.version;
  }).join(" ") : navigator.userAgent;
}
var bA = k(() => {
  a(Yc, "getUAString");
});

// ../node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.js
function Hp() {
  return !/^((?!chrome|android).)*safari/i.test(Yc());
}
var wA = k(() => {
  bA();
  a(Hp, "isLayoutViewport");
});

// ../node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js
function eo(e, t, r) {
  t === void 0 && (t = !1), r === void 0 && (r = !1);
  var n = e.getBoundingClientRect(), o = 1, i = 1;
  t && Ht(e) && (o = e.offsetWidth > 0 && Qa(n.width) / e.offsetWidth || 1, i = e.offsetHeight > 0 && Qa(n.height) / e.offsetHeight || 1);
  var s = Zn(e) ? ct(e) : window, l = s.visualViewport, u = !Hp() && r, c = (n.left + (u && l ? l.offsetLeft : 0)) / o, d = (n.top + (u && l ?
  l.offsetTop : 0)) / i, f = n.width / o, p = n.height / i;
  return {
    width: f,
    height: p,
    top: d,
    right: c + f,
    bottom: d + p,
    left: c,
    x: c,
    y: d
  };
}
var Kc = k(() => {
  _n();
  is();
  qo();
  wA();
  a(eo, "getBoundingClientRect");
});

// ../node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js
function Ml(e) {
  var t = eo(e), r = e.offsetWidth, n = e.offsetHeight;
  return Math.abs(t.width - r) <= 1 && (r = t.width), Math.abs(t.height - n) <= 1 && (n = t.height), {
    x: e.offsetLeft,
    y: e.offsetTop,
    width: r,
    height: n
  };
}
var Fy = k(() => {
  Kc();
  a(Ml, "getLayoutRect");
});

// ../node_modules/@popperjs/core/lib/dom-utils/contains.js
function zp(e, t) {
  var r = t.getRootNode && t.getRootNode();
  if (e.contains(t))
    return !0;
  if (r && Gc(r)) {
    var n = t;
    do {
      if (n && e.isSameNode(n))
        return !0;
      n = n.parentNode || n.host;
    } while (n);
  }
  return !1;
}
var EA = k(() => {
  _n();
  a(zp, "contains");
});

// ../node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js
function Hr(e) {
  return ct(e).getComputedStyle(e);
}
var Xc = k(() => {
  qo();
  a(Hr, "getComputedStyle");
});

// ../node_modules/@popperjs/core/lib/dom-utils/isTableElement.js
function RA(e) {
  return ["table", "td", "th"].indexOf(Qt(e)) >= 0;
}
var iV = k(() => {
  os();
  a(RA, "isTableElement");
});

// ../node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js
function pr(e) {
  return ((Zn(e) ? e.ownerDocument : (
    // $FlowFixMe[prop-missing]
    e.document
  )) || window.document).documentElement;
}
var Za = k(() => {
  _n();
  a(pr, "getDocumentElement");
});

// ../node_modules/@popperjs/core/lib/dom-utils/getParentNode.js
function ei(e) {
  return Qt(e) === "html" ? e : (
    // this is a quicker (but less type safe) way to save quite some bytes from the bundle
    // $FlowFixMe[incompatible-return]
    // $FlowFixMe[prop-missing]
    e.assignedSlot || // step into the shadow DOM of the parent of a slotted node
    e.parentNode || // DOM Element detected
    (Gc(e) ? e.host : null) || // ShadowRoot detected
    // $FlowFixMe[incompatible-call]: HTMLElement is a Node
    pr(e)
  );
}
var Up = k(() => {
  os();
  Za();
  _n();
  a(ei, "getParentNode");
});

// ../node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js
function sV(e) {
  return !Ht(e) || // https://github.com/popperjs/popper-core/issues/837
  Hr(e).position === "fixed" ? null : e.offsetParent;
}
function GPe(e) {
  var t = /firefox/i.test(Yc()), r = /Trident/i.test(Yc());
  if (r && Ht(e)) {
    var n = Hr(e);
    if (n.position === "fixed")
      return null;
  }
  var o = ei(e);
  for (Gc(o) && (o = o.host); Ht(o) && ["html", "body"].indexOf(Qt(o)) < 0; ) {
    var i = Hr(o);
    if (i.transform !== "none" || i.perspective !== "none" || i.contain === "paint" || ["transform", "perspective"].indexOf(i.willChange) !==
    -1 || t && i.willChange === "filter" || t && i.filter && i.filter !== "none")
      return o;
    o = o.parentNode;
  }
  return null;
}
function Fo(e) {
  for (var t = ct(e), r = sV(e); r && RA(r) && Hr(r).position === "static"; )
    r = sV(r);
  return r && (Qt(r) === "html" || Qt(r) === "body" && Hr(r).position === "static") ? t : r || GPe(e) || t;
}
var Jc = k(() => {
  qo();
  os();
  Xc();
  _n();
  iV();
  Up();
  bA();
  a(sV, "getTrueOffsetParent");
  a(GPe, "getContainingBlock");
  a(Fo, "getOffsetParent");
});

// ../node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js
function Nl(e) {
  return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
}
var jy = k(() => {
  a(Nl, "getMainAxisFromPlacement");
});

// ../node_modules/@popperjs/core/lib/utils/within.js
function Ll(e, t, r) {
  return Do(e, Il(t, r));
}
function lV(e, t, r) {
  var n = Ll(e, t, r);
  return n > r ? r : n;
}
var xA = k(() => {
  is();
  a(Ll, "within");
  a(lV, "withinMaxClamp");
});

// ../node_modules/@popperjs/core/lib/utils/getFreshSideObject.js
function Vp() {
  return {
    top: 0,
    right: 0,
    bottom: 0,
    left: 0
  };
}
var SA = k(() => {
  a(Vp, "getFreshSideObject");
});

// ../node_modules/@popperjs/core/lib/utils/mergePaddingObject.js
function Wp(e) {
  return Object.assign({}, Vp(), e);
}
var CA = k(() => {
  SA();
  a(Wp, "mergePaddingObject");
});

// ../node_modules/@popperjs/core/lib/utils/expandToHashMap.js
function Gp(e, t) {
  return t.reduce(function(r, n) {
    return r[n] = e, r;
  }, {});
}
var _A = k(() => {
  a(Gp, "expandToHashMap");
});

// ../node_modules/@popperjs/core/lib/modifiers/arrow.js
function KPe(e) {
  var t, r = e.state, n = e.name, o = e.options, i = r.elements.arrow, s = r.modifiersData.popperOffsets, l = Zt(r.placement), u = Nl(l), c = [
  At, kt].indexOf(l) >= 0, d = c ? "height" : "width";
  if (!(!i || !s)) {
    var f = YPe(o.padding, r), p = Ml(i), m = u === "y" ? wt : At, v = u === "y" ? $t : kt, y = r.rects.reference[d] + r.rects.reference[u] -
    s[u] - r.rects.popper[d], b = s[u] - r.rects.reference[u], g = Fo(i), w = g ? u === "y" ? g.clientHeight || 0 : g.clientWidth || 0 : 0, E = y /
    2 - b / 2, x = f[m], S = w - p[d] - f[v], C = w / 2 - p[d] / 2 + E, _ = Ll(x, C, S), A = u;
    r.modifiersData[n] = (t = {}, t[A] = _, t.centerOffset = _ - C, t);
  }
}
function XPe(e) {
  var t = e.state, r = e.options, n = r.element, o = n === void 0 ? "[data-popper-arrow]" : n;
  o != null && (typeof o == "string" && (o = t.elements.popper.querySelector(o), !o) || zp(t.elements.popper, o) && (t.elements.arrow = o));
}
var YPe, uV, cV = k(() => {
  as();
  Fy();
  EA();
  Jc();
  jy();
  xA();
  CA();
  _A();
  Cn();
  YPe = /* @__PURE__ */ a(function(t, r) {
    return t = typeof t == "function" ? t(Object.assign({}, r.rects, {
      placement: r.placement
    })) : t, Wp(typeof t != "number" ? t : Gp(t, ns));
  }, "toPaddingObject");
  a(KPe, "arrow");
  a(XPe, "effect");
  uV = {
    name: "arrow",
    enabled: !0,
    phase: "main",
    fn: KPe,
    effect: XPe,
    requires: ["popperOffsets"],
    requiresIfExists: ["preventOverflow"]
  };
});

// ../node_modules/@popperjs/core/lib/utils/getVariation.js
function to(e) {
  return e.split("-")[1];
}
var Qc = k(() => {
  a(to, "getVariation");
});

// ../node_modules/@popperjs/core/lib/modifiers/computeStyles.js
function QPe(e, t) {
  var r = e.x, n = e.y, o = t.devicePixelRatio || 1;
  return {
    x: Qa(r * o) / o || 0,
    y: Qa(n * o) / o || 0
  };
}
function dV(e) {
  var t, r = e.popper, n = e.popperRect, o = e.placement, i = e.variation, s = e.offsets, l = e.position, u = e.gpuAcceleration, c = e.adaptive,
  d = e.roundOffsets, f = e.isFixed, p = s.x, m = p === void 0 ? 0 : p, v = s.y, y = v === void 0 ? 0 : v, b = typeof d == "function" ? d({
    x: m,
    y
  }) : {
    x: m,
    y
  };
  m = b.x, y = b.y;
  var g = s.hasOwnProperty("x"), w = s.hasOwnProperty("y"), E = At, x = wt, S = window;
  if (c) {
    var C = Fo(r), _ = "clientHeight", A = "clientWidth";
    if (C === ct(r) && (C = pr(r), Hr(C).position !== "static" && l === "absolute" && (_ = "scrollHeight", A = "scrollWidth")), C = C, o ===
    wt || (o === At || o === kt) && i === Ol) {
      x = $t;
      var O = f && C === S && S.visualViewport ? S.visualViewport.height : (
        // $FlowFixMe[prop-missing]
        C[_]
      );
      y -= O - n.height, y *= u ? 1 : -1;
    }
    if (o === At || (o === wt || o === $t) && i === Ol) {
      E = kt;
      var q = f && C === S && S.visualViewport ? S.visualViewport.width : (
        // $FlowFixMe[prop-missing]
        C[A]
      );
      m -= q - n.width, m *= u ? 1 : -1;
    }
  }
  var M = Object.assign({
    position: l
  }, c && JPe), U = d === !0 ? QPe({
    x: m,
    y
  }, ct(r)) : {
    x: m,
    y
  };
  if (m = U.x, y = U.y, u) {
    var Q;
    return Object.assign({}, M, (Q = {}, Q[x] = w ? "0" : "", Q[E] = g ? "0" : "", Q.transform = (S.devicePixelRatio || 1) <= 1 ? "translate\
(" + m + "px, " + y + "px)" : "translate3d(" + m + "px, " + y + "px, 0)", Q));
  }
  return Object.assign({}, M, (t = {}, t[x] = w ? y + "px" : "", t[E] = g ? m + "px" : "", t.transform = "", t));
}
function ZPe(e) {
  var t = e.state, r = e.options, n = r.gpuAcceleration, o = n === void 0 ? !0 : n, i = r.adaptive, s = i === void 0 ? !0 : i, l = r.roundOffsets,
  u = l === void 0 ? !0 : l, c = {
    placement: Zt(t.placement),
    variation: to(t.placement),
    popper: t.elements.popper,
    popperRect: t.rects.popper,
    gpuAcceleration: o,
    isFixed: t.options.strategy === "fixed"
  };
  t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, dV(Object.assign({}, c, {
    offsets: t.modifiersData.popperOffsets,
    position: t.options.strategy,
    adaptive: s,
    roundOffsets: u
  })))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, dV(Object.assign({}, c, {
    offsets: t.modifiersData.arrow,
    position: "absolute",
    adaptive: !1,
    roundOffsets: u
  })))), t.attributes.popper = Object.assign({}, t.attributes.popper, {
    "data-popper-placement": t.placement
  });
}
var JPe, fV, pV = k(() => {
  Cn();
  Jc();
  qo();
  Za();
  Xc();
  as();
  Qc();
  is();
  JPe = {
    top: "auto",
    right: "auto",
    bottom: "auto",
    left: "auto"
  };
  a(QPe, "roundOffsetsByDPR");
  a(dV, "mapToStyles");
  a(ZPe, "computeStyles");
  fV = {
    name: "computeStyles",
    enabled: !0,
    phase: "beforeWrite",
    fn: ZPe,
    data: {}
  };
});

// ../node_modules/@popperjs/core/lib/modifiers/eventListeners.js
function e3e(e) {
  var t = e.state, r = e.instance, n = e.options, o = n.scroll, i = o === void 0 ? !0 : o, s = n.resize, l = s === void 0 ? !0 : s, u = ct(t.
  elements.popper), c = [].concat(t.scrollParents.reference, t.scrollParents.popper);
  return i && c.forEach(function(d) {
    d.addEventListener("scroll", r.update, By);
  }), l && u.addEventListener("resize", r.update, By), function() {
    i && c.forEach(function(d) {
      d.removeEventListener("scroll", r.update, By);
    }), l && u.removeEventListener("resize", r.update, By);
  };
}
var By, mV, hV = k(() => {
  qo();
  By = {
    passive: !0
  };
  a(e3e, "effect");
  mV = {
    name: "eventListeners",
    enabled: !0,
    phase: "write",
    fn: /* @__PURE__ */ a(function() {
    }, "fn"),
    effect: e3e,
    data: {}
  };
});

// ../node_modules/@popperjs/core/lib/utils/getOppositePlacement.js
function Zc(e) {
  return e.replace(/left|right|bottom|top/g, function(t) {
    return t3e[t];
  });
}
var t3e, gV = k(() => {
  t3e = {
    left: "right",
    right: "left",
    bottom: "top",
    top: "bottom"
  };
  a(Zc, "getOppositePlacement");
});

// ../node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js
function $y(e) {
  return e.replace(/start|end/g, function(t) {
    return r3e[t];
  });
}
var r3e, yV = k(() => {
  r3e = {
    start: "end",
    end: "start"
  };
  a($y, "getOppositeVariationPlacement");
});

// ../node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js
function kl(e) {
  var t = ct(e), r = t.pageXOffset, n = t.pageYOffset;
  return {
    scrollLeft: r,
    scrollTop: n
  };
}
var Hy = k(() => {
  qo();
  a(kl, "getWindowScroll");
});

// ../node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js
function ql(e) {
  return eo(pr(e)).left + kl(e).scrollLeft;
}
var zy = k(() => {
  Kc();
  Za();
  Hy();
  a(ql, "getWindowScrollBarX");
});

// ../node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js
function PA(e, t) {
  var r = ct(e), n = pr(e), o = r.visualViewport, i = n.clientWidth, s = n.clientHeight, l = 0, u = 0;
  if (o) {
    i = o.width, s = o.height;
    var c = Hp();
    (c || !c && t === "fixed") && (l = o.offsetLeft, u = o.offsetTop);
  }
  return {
    width: i,
    height: s,
    x: l + ql(e),
    y: u
  };
}
var vV = k(() => {
  qo();
  Za();
  zy();
  wA();
  a(PA, "getViewportRect");
});

// ../node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js
function TA(e) {
  var t, r = pr(e), n = kl(e), o = (t = e.ownerDocument) == null ? void 0 : t.body, i = Do(r.scrollWidth, r.clientWidth, o ? o.scrollWidth :
  0, o ? o.clientWidth : 0), s = Do(r.scrollHeight, r.clientHeight, o ? o.scrollHeight : 0, o ? o.clientHeight : 0), l = -n.scrollLeft + ql(
  e), u = -n.scrollTop;
  return Hr(o || r).direction === "rtl" && (l += Do(r.clientWidth, o ? o.clientWidth : 0) - i), {
    width: i,
    height: s,
    x: l,
    y: u
  };
}
var bV = k(() => {
  Za();
  Xc();
  zy();
  Hy();
  is();
  a(TA, "getDocumentRect");
});

// ../node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js
function Dl(e) {
  var t = Hr(e), r = t.overflow, n = t.overflowX, o = t.overflowY;
  return /auto|scroll|overlay|hidden/.test(r + o + n);
}
var Uy = k(() => {
  Xc();
  a(Dl, "isScrollParent");
});

// ../node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js
function Vy(e) {
  return ["html", "body", "#document"].indexOf(Qt(e)) >= 0 ? e.ownerDocument.body : Ht(e) && Dl(e) ? e : Vy(ei(e));
}
var wV = k(() => {
  Up();
  Uy();
  os();
  _n();
  a(Vy, "getScrollParent");
});

// ../node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js
function ss(e, t) {
  var r;
  t === void 0 && (t = []);
  var n = Vy(e), o = n === ((r = e.ownerDocument) == null ? void 0 : r.body), i = ct(n), s = o ? [i].concat(i.visualViewport || [], Dl(n) ? n :
  []) : n, l = t.concat(s);
  return o ? l : (
    // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
    l.concat(ss(ei(s)))
  );
}
var AA = k(() => {
  wV();
  Up();
  qo();
  Uy();
  a(ss, "listScrollParents");
});

// ../node_modules/@popperjs/core/lib/utils/rectToClientRect.js
function ed(e) {
  return Object.assign({}, e, {
    left: e.x,
    top: e.y,
    right: e.x + e.width,
    bottom: e.y + e.height
  });
}
var OA = k(() => {
  a(ed, "rectToClientRect");
});

// ../node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js
function n3e(e, t) {
  var r = eo(e, !1, t === "fixed");
  return r.top = r.top + e.clientTop, r.left = r.left + e.clientLeft, r.bottom = r.top + e.clientHeight, r.right = r.left + e.clientWidth, r.
  width = e.clientWidth, r.height = e.clientHeight, r.x = r.left, r.y = r.top, r;
}
function EV(e, t, r) {
  return t === qy ? ed(PA(e, r)) : Zn(t) ? n3e(t, r) : ed(TA(pr(e)));
}
function o3e(e) {
  var t = ss(ei(e)), r = ["absolute", "fixed"].indexOf(Hr(e).position) >= 0, n = r && Ht(e) ? Fo(e) : e;
  return Zn(n) ? t.filter(function(o) {
    return Zn(o) && zp(o, n) && Qt(o) !== "body";
  }) : [];
}
function IA(e, t, r, n) {
  var o = t === "clippingParents" ? o3e(e) : [].concat(t), i = [].concat(o, [r]), s = i[0], l = i.reduce(function(u, c) {
    var d = EV(e, c, n);
    return u.top = Do(d.top, u.top), u.right = Il(d.right, u.right), u.bottom = Il(d.bottom, u.bottom), u.left = Do(d.left, u.left), u;
  }, EV(e, s, n));
  return l.width = l.right - l.left, l.height = l.bottom - l.top, l.x = l.left, l.y = l.top, l;
}
var RV = k(() => {
  Cn();
  vV();
  bV();
  AA();
  Jc();
  Za();
  Xc();
  _n();
  Kc();
  Up();
  EA();
  os();
  OA();
  is();
  a(n3e, "getInnerBoundingClientRect");
  a(EV, "getClientRectFromMixedType");
  a(o3e, "getClippingParents");
  a(IA, "getClippingRect");
});

// ../node_modules/@popperjs/core/lib/utils/computeOffsets.js
function Yp(e) {
  var t = e.reference, r = e.element, n = e.placement, o = n ? Zt(n) : null, i = n ? to(n) : null, s = t.x + t.width / 2 - r.width / 2, l = t.
  y + t.height / 2 - r.height / 2, u;
  switch (o) {
    case wt:
      u = {
        x: s,
        y: t.y - r.height
      };
      break;
    case $t:
      u = {
        x: s,
        y: t.y + t.height
      };
      break;
    case kt:
      u = {
        x: t.x + t.width,
        y: l
      };
      break;
    case At:
      u = {
        x: t.x - r.width,
        y: l
      };
      break;
    default:
      u = {
        x: t.x,
        y: t.y
      };
  }
  var c = o ? Nl(o) : null;
  if (c != null) {
    var d = c === "y" ? "height" : "width";
    switch (i) {
      case Ja:
        u[c] = u[c] - (t[d] / 2 - r[d] / 2);
        break;
      case Ol:
        u[c] = u[c] + (t[d] / 2 - r[d] / 2);
        break;
      default:
    }
  }
  return u;
}
var MA = k(() => {
  as();
  Qc();
  jy();
  Cn();
  a(Yp, "computeOffsets");
});

// ../node_modules/@popperjs/core/lib/utils/detectOverflow.js
function jo(e, t) {
  t === void 0 && (t = {});
  var r = t, n = r.placement, o = n === void 0 ? e.placement : n, i = r.strategy, s = i === void 0 ? e.strategy : i, l = r.boundary, u = l ===
  void 0 ? tV : l, c = r.rootBoundary, d = c === void 0 ? qy : c, f = r.elementContext, p = f === void 0 ? Wc : f, m = r.altBoundary, v = m ===
  void 0 ? !1 : m, y = r.padding, b = y === void 0 ? 0 : y, g = Wp(typeof b != "number" ? b : Gp(b, ns)), w = p === Wc ? rV : Wc, E = e.rects.
  popper, x = e.elements[v ? w : p], S = IA(Zn(x) ? x : x.contextElement || pr(e.elements.popper), u, d, s), C = eo(e.elements.reference), _ = Yp(
  {
    reference: C,
    element: E,
    strategy: "absolute",
    placement: o
  }), A = ed(Object.assign({}, E, _)), O = p === Wc ? A : C, q = {
    top: S.top - O.top + g.top,
    bottom: O.bottom - S.bottom + g.bottom,
    left: S.left - O.left + g.left,
    right: O.right - S.right + g.right
  }, M = e.modifiersData.offset;
  if (p === Wc && M) {
    var U = M[o];
    Object.keys(q).forEach(function(Q) {
      var z = [kt, $t].indexOf(Q) >= 0 ? 1 : -1, $ = [wt, $t].indexOf(Q) >= 0 ? "y" : "x";
      q[Q] += U[$] * z;
    });
  }
  return q;
}
var Kp = k(() => {
  RV();
  Za();
  Kc();
  MA();
  OA();
  Cn();
  _n();
  CA();
  _A();
  a(jo, "detectOverflow");
});

// ../node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js
function NA(e, t) {
  t === void 0 && (t = {});
  var r = t, n = r.placement, o = r.boundary, i = r.rootBoundary, s = r.padding, l = r.flipVariations, u = r.allowedAutoPlacements, c = u ===
  void 0 ? Dy : u, d = to(n), f = d ? l ? vA : vA.filter(function(v) {
    return to(v) === d;
  }) : ns, p = f.filter(function(v) {
    return c.indexOf(v) >= 0;
  });
  p.length === 0 && (p = f);
  var m = p.reduce(function(v, y) {
    return v[y] = jo(e, {
      placement: y,
      boundary: o,
      rootBoundary: i,
      padding: s
    })[Zt(y)], v;
  }, {});
  return Object.keys(m).sort(function(v, y) {
    return m[v] - m[y];
  });
}
var xV = k(() => {
  Qc();
  Cn();
  Kp();
  as();
  a(NA, "computeAutoPlacement");
});

// ../node_modules/@popperjs/core/lib/modifiers/flip.js
function a3e(e) {
  if (Zt(e) === ky)
    return [];
  var t = Zc(e);
  return [$y(e), t, $y(t)];
}
function i3e(e) {
  var t = e.state, r = e.options, n = e.name;
  if (!t.modifiersData[n]._skip) {
    for (var o = r.mainAxis, i = o === void 0 ? !0 : o, s = r.altAxis, l = s === void 0 ? !0 : s, u = r.fallbackPlacements, c = r.padding, d = r.
    boundary, f = r.rootBoundary, p = r.altBoundary, m = r.flipVariations, v = m === void 0 ? !0 : m, y = r.allowedAutoPlacements, b = t.options.
    placement, g = Zt(b), w = g === b, E = u || (w || !v ? [Zc(b)] : a3e(b)), x = [b].concat(E).reduce(function(J, X) {
      return J.concat(Zt(X) === ky ? NA(t, {
        placement: X,
        boundary: d,
        rootBoundary: f,
        padding: c,
        flipVariations: v,
        allowedAutoPlacements: y
      }) : X);
    }, []), S = t.rects.reference, C = t.rects.popper, _ = /* @__PURE__ */ new Map(), A = !0, O = x[0], q = 0; q < x.length; q++) {
      var M = x[q], U = Zt(M), Q = to(M) === Ja, z = [wt, $t].indexOf(U) >= 0, $ = z ? "width" : "height", D = jo(t, {
        placement: M,
        boundary: d,
        rootBoundary: f,
        altBoundary: p,
        padding: c
      }), V = z ? Q ? kt : At : Q ? $t : wt;
      S[$] > C[$] && (V = Zc(V));
      var G = Zc(V), ne = [];
      if (i && ne.push(D[U] <= 0), l && ne.push(D[V] <= 0, D[G] <= 0), ne.every(function(J) {
        return J;
      })) {
        O = M, A = !1;
        break;
      }
      _.set(M, ne);
    }
    if (A)
      for (var de = v ? 3 : 1, se = /* @__PURE__ */ a(function(X) {
        var ie = x.find(function(me) {
          var xe = _.get(me);
          if (xe)
            return xe.slice(0, X).every(function(st) {
              return st;
            });
        });
        if (ie)
          return O = ie, "break";
      }, "_loop"), B = de; B > 0; B--) {
        var j = se(B);
        if (j === "break") break;
      }
    t.placement !== O && (t.modifiersData[n]._skip = !0, t.placement = O, t.reset = !0);
  }
}
var SV, CV = k(() => {
  gV();
  as();
  yV();
  Kp();
  xV();
  Cn();
  Qc();
  a(a3e, "getExpandedFallbackPlacements");
  a(i3e, "flip");
  SV = {
    name: "flip",
    enabled: !0,
    phase: "main",
    fn: i3e,
    requiresIfExists: ["offset"],
    data: {
      _skip: !1
    }
  };
});

// ../node_modules/@popperjs/core/lib/modifiers/hide.js
function _V(e, t, r) {
  return r === void 0 && (r = {
    x: 0,
    y: 0
  }), {
    top: e.top - t.height - r.y,
    right: e.right - t.width + r.x,
    bottom: e.bottom - t.height + r.y,
    left: e.left - t.width - r.x
  };
}
function PV(e) {
  return [wt, kt, $t, At].some(function(t) {
    return e[t] >= 0;
  });
}
function s3e(e) {
  var t = e.state, r = e.name, n = t.rects.reference, o = t.rects.popper, i = t.modifiersData.preventOverflow, s = jo(t, {
    elementContext: "reference"
  }), l = jo(t, {
    altBoundary: !0
  }), u = _V(s, n), c = _V(l, o, i), d = PV(u), f = PV(c);
  t.modifiersData[r] = {
    referenceClippingOffsets: u,
    popperEscapeOffsets: c,
    isReferenceHidden: d,
    hasPopperEscaped: f
  }, t.attributes.popper = Object.assign({}, t.attributes.popper, {
    "data-popper-reference-hidden": d,
    "data-popper-escaped": f
  });
}
var TV, AV = k(() => {
  Cn();
  Kp();
  a(_V, "getSideOffsets");
  a(PV, "isAnySideFullyClipped");
  a(s3e, "hide");
  TV = {
    name: "hide",
    enabled: !0,
    phase: "main",
    requiresIfExists: ["preventOverflow"],
    fn: s3e
  };
});

// ../node_modules/@popperjs/core/lib/modifiers/offset.js
function l3e(e, t, r) {
  var n = Zt(e), o = [At, wt].indexOf(n) >= 0 ? -1 : 1, i = typeof r == "function" ? r(Object.assign({}, t, {
    placement: e
  })) : r, s = i[0], l = i[1];
  return s = s || 0, l = (l || 0) * o, [At, kt].indexOf(n) >= 0 ? {
    x: l,
    y: s
  } : {
    x: s,
    y: l
  };
}
function u3e(e) {
  var t = e.state, r = e.options, n = e.name, o = r.offset, i = o === void 0 ? [0, 0] : o, s = Dy.reduce(function(d, f) {
    return d[f] = l3e(f, t.rects, i), d;
  }, {}), l = s[t.placement], u = l.x, c = l.y;
  t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += u, t.modifiersData.popperOffsets.y += c), t.modifiersData[n] =
  s;
}
var OV, IV = k(() => {
  as();
  Cn();
  a(l3e, "distanceAndSkiddingToXY");
  a(u3e, "offset");
  OV = {
    name: "offset",
    enabled: !0,
    phase: "main",
    requires: ["popperOffsets"],
    fn: u3e
  };
});

// ../node_modules/@popperjs/core/lib/modifiers/popperOffsets.js
function c3e(e) {
  var t = e.state, r = e.name;
  t.modifiersData[r] = Yp({
    reference: t.rects.reference,
    element: t.rects.popper,
    strategy: "absolute",
    placement: t.placement
  });
}
var MV, NV = k(() => {
  MA();
  a(c3e, "popperOffsets");
  MV = {
    name: "popperOffsets",
    enabled: !0,
    phase: "read",
    fn: c3e,
    data: {}
  };
});

// ../node_modules/@popperjs/core/lib/utils/getAltAxis.js
function LA(e) {
  return e === "x" ? "y" : "x";
}
var LV = k(() => {
  a(LA, "getAltAxis");
});

// ../node_modules/@popperjs/core/lib/modifiers/preventOverflow.js
function d3e(e) {
  var t = e.state, r = e.options, n = e.name, o = r.mainAxis, i = o === void 0 ? !0 : o, s = r.altAxis, l = s === void 0 ? !1 : s, u = r.boundary,
  c = r.rootBoundary, d = r.altBoundary, f = r.padding, p = r.tether, m = p === void 0 ? !0 : p, v = r.tetherOffset, y = v === void 0 ? 0 : v,
  b = jo(t, {
    boundary: u,
    rootBoundary: c,
    padding: f,
    altBoundary: d
  }), g = Zt(t.placement), w = to(t.placement), E = !w, x = Nl(g), S = LA(x), C = t.modifiersData.popperOffsets, _ = t.rects.reference, A = t.
  rects.popper, O = typeof y == "function" ? y(Object.assign({}, t.rects, {
    placement: t.placement
  })) : y, q = typeof O == "number" ? {
    mainAxis: O,
    altAxis: O
  } : Object.assign({
    mainAxis: 0,
    altAxis: 0
  }, O), M = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, U = {
    x: 0,
    y: 0
  };
  if (C) {
    if (i) {
      var Q, z = x === "y" ? wt : At, $ = x === "y" ? $t : kt, D = x === "y" ? "height" : "width", V = C[x], G = V + b[z], ne = V - b[$], de = m ?
      -A[D] / 2 : 0, se = w === Ja ? _[D] : A[D], B = w === Ja ? -A[D] : -_[D], j = t.elements.arrow, J = m && j ? Ml(j) : {
        width: 0,
        height: 0
      }, X = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Vp(), ie = X[z], me = X[$], xe = Ll(0, _[D],
      J[D]), st = E ? _[D] / 2 - de - xe - ie - q.mainAxis : se - xe - ie - q.mainAxis, bo = E ? -_[D] / 2 + de + xe + me + q.mainAxis : B +
      xe + me + q.mainAxis, or = t.elements.arrow && Fo(t.elements.arrow), Ue = or ? x === "y" ? or.clientTop || 0 : or.clientLeft || 0 : 0,
      Dt = (Q = M?.[x]) != null ? Q : 0, yt = V + st - Dt - Ue, ar = V + bo - Dt, pn = Ll(m ? Il(G, yt) : G, V, m ? Do(ne, ar) : ne);
      C[x] = pn, U[x] = pn - V;
    }
    if (l) {
      var Ma, vr = x === "x" ? wt : At, Ru = x === "x" ? $t : kt, wo = C[S], oe = S === "y" ? "height" : "width", gi = wo + b[vr], Ln = wo -
      b[Ru], yi = [wt, At].indexOf(g) !== -1, zs = (Ma = M?.[S]) != null ? Ma : 0, Us = yi ? gi : wo - _[oe] - A[oe] - zs + q.altAxis, r9 = yi ?
      wo + _[oe] + A[oe] - zs - q.altAxis : Ln, n9 = m && yi ? lV(Us, wo, r9) : Ll(m ? Us : gi, wo, m ? r9 : Ln);
      C[S] = n9, U[S] = n9 - wo;
    }
    t.modifiersData[n] = U;
  }
}
var kV, qV = k(() => {
  Cn();
  as();
  jy();
  LV();
  xA();
  Fy();
  Jc();
  Kp();
  Qc();
  SA();
  is();
  a(d3e, "preventOverflow");
  kV = {
    name: "preventOverflow",
    enabled: !0,
    phase: "main",
    fn: d3e,
    requiresIfExists: ["offset"]
  };
});

// ../node_modules/@popperjs/core/lib/modifiers/index.js
var kA = k(() => {
});

// ../node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js
function qA(e) {
  return {
    scrollLeft: e.scrollLeft,
    scrollTop: e.scrollTop
  };
}
var DV = k(() => {
  a(qA, "getHTMLElementScroll");
});

// ../node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js
function DA(e) {
  return e === ct(e) || !Ht(e) ? kl(e) : qA(e);
}
var FV = k(() => {
  Hy();
  qo();
  _n();
  DV();
  a(DA, "getNodeScroll");
});

// ../node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js
function f3e(e) {
  var t = e.getBoundingClientRect(), r = Qa(t.width) / e.offsetWidth || 1, n = Qa(t.height) / e.offsetHeight || 1;
  return r !== 1 || n !== 1;
}
function FA(e, t, r) {
  r === void 0 && (r = !1);
  var n = Ht(t), o = Ht(t) && f3e(t), i = pr(t), s = eo(e, o, r), l = {
    scrollLeft: 0,
    scrollTop: 0
  }, u = {
    x: 0,
    y: 0
  };
  return (n || !n && !r) && ((Qt(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
  Dl(i)) && (l = DA(t)), Ht(t) ? (u = eo(t, !0), u.x += t.clientLeft, u.y += t.clientTop) : i && (u.x = ql(i))), {
    x: s.left + l.scrollLeft - u.x,
    y: s.top + l.scrollTop - u.y,
    width: s.width,
    height: s.height
  };
}
var jV = k(() => {
  Kc();
  FV();
  os();
  _n();
  zy();
  Za();
  Uy();
  is();
  a(f3e, "isElementScaled");
  a(FA, "getCompositeRect");
});

// ../node_modules/@popperjs/core/lib/utils/orderModifiers.js
function p3e(e) {
  var t = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Set(), n = [];
  e.forEach(function(i) {
    t.set(i.name, i);
  });
  function o(i) {
    r.add(i.name);
    var s = [].concat(i.requires || [], i.requiresIfExists || []);
    s.forEach(function(l) {
      if (!r.has(l)) {
        var u = t.get(l);
        u && o(u);
      }
    }), n.push(i);
  }
  return a(o, "sort"), e.forEach(function(i) {
    r.has(i.name) || o(i);
  }), n;
}
function jA(e) {
  var t = p3e(e);
  return nV.reduce(function(r, n) {
    return r.concat(t.filter(function(o) {
      return o.phase === n;
    }));
  }, []);
}
var BV = k(() => {
  Cn();
  a(p3e, "order");
  a(jA, "orderModifiers");
});

// ../node_modules/@popperjs/core/lib/utils/debounce.js
function BA(e) {
  var t;
  return function() {
    return t || (t = new Promise(function(r) {
      Promise.resolve().then(function() {
        t = void 0, r(e());
      });
    })), t;
  };
}
var $V = k(() => {
  a(BA, "debounce");
});

// ../node_modules/@popperjs/core/lib/utils/mergeByName.js
function $A(e) {
  var t = e.reduce(function(r, n) {
    var o = r[n.name];
    return r[n.name] = o ? Object.assign({}, o, n, {
      options: Object.assign({}, o.options, n.options),
      data: Object.assign({}, o.data, n.data)
    }) : n, r;
  }, {});
  return Object.keys(t).map(function(r) {
    return t[r];
  });
}
var HV = k(() => {
  a($A, "mergeByName");
});

// ../node_modules/@popperjs/core/lib/createPopper.js
function UV() {
  for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
    t[r] = arguments[r];
  return !t.some(function(n) {
    return !(n && typeof n.getBoundingClientRect == "function");
  });
}
function VV(e) {
  e === void 0 && (e = {});
  var t = e, r = t.defaultModifiers, n = r === void 0 ? [] : r, o = t.defaultOptions, i = o === void 0 ? zV : o;
  return /* @__PURE__ */ a(function(l, u, c) {
    c === void 0 && (c = i);
    var d = {
      placement: "bottom",
      orderedModifiers: [],
      options: Object.assign({}, zV, i),
      modifiersData: {},
      elements: {
        reference: l,
        popper: u
      },
      attributes: {},
      styles: {}
    }, f = [], p = !1, m = {
      state: d,
      setOptions: /* @__PURE__ */ a(function(g) {
        var w = typeof g == "function" ? g(d.options) : g;
        y(), d.options = Object.assign({}, i, d.options, w), d.scrollParents = {
          reference: Zn(l) ? ss(l) : l.contextElement ? ss(l.contextElement) : [],
          popper: ss(u)
        };
        var E = jA($A([].concat(n, d.options.modifiers)));
        return d.orderedModifiers = E.filter(function(x) {
          return x.enabled;
        }), v(), m.update();
      }, "setOptions"),
      // Sync update – it will always be executed, even if not necessary. This
      // is useful for low frequency updates where sync behavior simplifies the
      // logic.
      // For high frequency updates (e.g. `resize` and `scroll` events), always
      // prefer the async Popper#update method
      forceUpdate: /* @__PURE__ */ a(function() {
        if (!p) {
          var g = d.elements, w = g.reference, E = g.popper;
          if (UV(w, E)) {
            d.rects = {
              reference: FA(w, Fo(E), d.options.strategy === "fixed"),
              popper: Ml(E)
            }, d.reset = !1, d.placement = d.options.placement, d.orderedModifiers.forEach(function(q) {
              return d.modifiersData[q.name] = Object.assign({}, q.data);
            });
            for (var x = 0; x < d.orderedModifiers.length; x++) {
              if (d.reset === !0) {
                d.reset = !1, x = -1;
                continue;
              }
              var S = d.orderedModifiers[x], C = S.fn, _ = S.options, A = _ === void 0 ? {} : _, O = S.name;
              typeof C == "function" && (d = C({
                state: d,
                options: A,
                name: O,
                instance: m
              }) || d);
            }
          }
        }
      }, "forceUpdate"),
      // Async and optimistically optimized update – it will not be executed if
      // not necessary (debounced to run at most once-per-tick)
      update: BA(function() {
        return new Promise(function(b) {
          m.forceUpdate(), b(d);
        });
      }),
      destroy: /* @__PURE__ */ a(function() {
        y(), p = !0;
      }, "destroy")
    };
    if (!UV(l, u))
      return m;
    m.setOptions(c).then(function(b) {
      !p && c.onFirstUpdate && c.onFirstUpdate(b);
    });
    function v() {
      d.orderedModifiers.forEach(function(b) {
        var g = b.name, w = b.options, E = w === void 0 ? {} : w, x = b.effect;
        if (typeof x == "function") {
          var S = x({
            state: d,
            name: g,
            instance: m,
            options: E
          }), C = /* @__PURE__ */ a(function() {
          }, "noopFn");
          f.push(S || C);
        }
      });
    }
    a(v, "runModifierEffects");
    function y() {
      f.forEach(function(b) {
        return b();
      }), f = [];
    }
    return a(y, "cleanupModifierEffects"), m;
  }, "createPopper");
}
var zV, WV = k(() => {
  jV();
  Fy();
  AA();
  Jc();
  BV();
  $V();
  HV();
  _n();
  zV = {
    placement: "bottom",
    modifiers: [],
    strategy: "absolute"
  };
  a(UV, "areValidElements");
  a(VV, "popperGenerator");
});

// ../node_modules/@popperjs/core/lib/popper.js
var m3e, HA, GV = k(() => {
  WV();
  hV();
  NV();
  pV();
  aV();
  IV();
  CV();
  qV();
  cV();
  AV();
  kA();
  m3e = [mV, MV, fV, oV, OV, SV, kV, uV, TV], HA = /* @__PURE__ */ VV({
    defaultModifiers: m3e
  });
});

// ../node_modules/@popperjs/core/lib/index.js
var YV = k(() => {
  Cn();
  kA();
  GV();
});

// ../node_modules/react-fast-compare/index.js
var XV = R((iSt, KV) => {
  var h3e = typeof Element < "u", g3e = typeof Map == "function", y3e = typeof Set == "function", v3e = typeof ArrayBuffer == "function" && !!ArrayBuffer.
  isView;
  function Wy(e, t) {
    if (e === t) return !0;
    if (e && t && typeof e == "object" && typeof t == "object") {
      if (e.constructor !== t.constructor) return !1;
      var r, n, o;
      if (Array.isArray(e)) {
        if (r = e.length, r != t.length) return !1;
        for (n = r; n-- !== 0; )
          if (!Wy(e[n], t[n])) return !1;
        return !0;
      }
      var i;
      if (g3e && e instanceof Map && t instanceof Map) {
        if (e.size !== t.size) return !1;
        for (i = e.entries(); !(n = i.next()).done; )
          if (!t.has(n.value[0])) return !1;
        for (i = e.entries(); !(n = i.next()).done; )
          if (!Wy(n.value[1], t.get(n.value[0]))) return !1;
        return !0;
      }
      if (y3e && e instanceof Set && t instanceof Set) {
        if (e.size !== t.size) return !1;
        for (i = e.entries(); !(n = i.next()).done; )
          if (!t.has(n.value[0])) return !1;
        return !0;
      }
      if (v3e && ArrayBuffer.isView(e) && ArrayBuffer.isView(t)) {
        if (r = e.length, r != t.length) return !1;
        for (n = r; n-- !== 0; )
          if (e[n] !== t[n]) return !1;
        return !0;
      }
      if (e.constructor === RegExp) return e.source === t.source && e.flags === t.flags;
      if (e.valueOf !== Object.prototype.valueOf && typeof e.valueOf == "function" && typeof t.valueOf == "function") return e.valueOf() ===
      t.valueOf();
      if (e.toString !== Object.prototype.toString && typeof e.toString == "function" && typeof t.toString == "function") return e.toString() ===
      t.toString();
      if (o = Object.keys(e), r = o.length, r !== Object.keys(t).length) return !1;
      for (n = r; n-- !== 0; )
        if (!Object.prototype.hasOwnProperty.call(t, o[n])) return !1;
      if (h3e && e instanceof Element) return !1;
      for (n = r; n-- !== 0; )
        if (!((o[n] === "_owner" || o[n] === "__v" || o[n] === "__o") && e.$$typeof) && !Wy(e[o[n]], t[o[n]]))
          return !1;
      return !0;
    }
    return e !== e && t !== t;
  }
  a(Wy, "equal");
  KV.exports = /* @__PURE__ */ a(function(t, r) {
    try {
      return Wy(t, r);
    } catch (n) {
      if ((n.message || "").match(/stack|recursion/i))
        return console.warn("react-fast-compare cannot handle circular refs"), !1;
      throw n;
    }
  }, "isEqual");
});

// ../node_modules/react-popper/lib/esm/usePopper.js
var ls, JV, QV, b3e, zA, ZV = k(() => {
  ls = N(H()), JV = N(za());
  YV();
  QV = N(XV());
  eV();
  b3e = [], zA = /* @__PURE__ */ a(function(t, r, n) {
    n === void 0 && (n = {});
    var o = ls.useRef(null), i = {
      onFirstUpdate: n.onFirstUpdate,
      placement: n.placement || "bottom",
      strategy: n.strategy || "absolute",
      modifiers: n.modifiers || b3e
    }, s = ls.useState({
      styles: {
        popper: {
          position: i.strategy,
          left: "0",
          top: "0"
        },
        arrow: {
          position: "absolute"
        }
      },
      attributes: {}
    }), l = s[0], u = s[1], c = ls.useMemo(function() {
      return {
        name: "updateState",
        enabled: !0,
        phase: "write",
        fn: /* @__PURE__ */ a(function(m) {
          var v = m.state, y = Object.keys(v.elements);
          JV.flushSync(function() {
            u({
              styles: gA(y.map(function(b) {
                return [b, v.styles[b] || {}];
              })),
              attributes: gA(y.map(function(b) {
                return [b, v.attributes[b]];
              }))
            });
          });
        }, "fn"),
        requires: ["computeStyles"]
      };
    }, []), d = ls.useMemo(function() {
      var p = {
        onFirstUpdate: i.onFirstUpdate,
        placement: i.placement,
        strategy: i.strategy,
        modifiers: [].concat(i.modifiers, [c, {
          name: "applyStyles",
          enabled: !1
        }])
      };
      return (0, QV.default)(o.current, p) ? o.current || p : (o.current = p, p);
    }, [i.onFirstUpdate, i.placement, i.strategy, i.modifiers, c]), f = ls.useRef();
    return yA(function() {
      f.current && f.current.setOptions(d);
    }, [d]), yA(function() {
      if (!(t == null || r == null)) {
        var p = n.createPopper || HA, m = p(t, r, d);
        return f.current = m, function() {
          m.destroy(), f.current = null;
        };
      }
    }, [t, r, n.createPopper]), {
      state: f.current ? f.current.state : null,
      styles: l.styles,
      attributes: l.attributes,
      update: f.current ? f.current.update : null,
      forceUpdate: f.current ? f.current.forceUpdate : null
    };
  }, "usePopper");
});

// ../node_modules/react-popper/lib/esm/index.js
var eW = k(() => {
  ZV();
});

// ../node_modules/react-popper-tooltip/dist/esm/react-popper-tooltip.js
function nW(e) {
  var t = $e.useRef(e);
  return t.current = e, $e.useCallback(function() {
    return t.current;
  }, []);
}
function E3e(e) {
  var t = e.initial, r = e.value, n = e.onChange, o = n === void 0 ? w3e : n;
  if (t === void 0 && r === void 0)
    throw new TypeError('Either "value" or "initial" variable must be set. Now both are undefined');
  var i = $e.useState(t), s = i[0], l = i[1], u = nW(s), c = $e.useCallback(function(f) {
    var p = u(), m = typeof f == "function" ? f(p) : f;
    typeof m.persist == "function" && m.persist(), l(m), typeof o == "function" && o(m);
  }, [u, o]), d = r !== void 0;
  return [d ? r : s, d ? o : c];
}
function oW(e, t) {
  return e === void 0 && (e = 0), t === void 0 && (t = 0), function() {
    return {
      width: 0,
      height: 0,
      top: t,
      right: e,
      bottom: t,
      left: e,
      x: 0,
      y: 0,
      toJSON: /* @__PURE__ */ a(function() {
        return null;
      }, "toJSON")
    };
  };
}
function aW(e, t) {
  var r, n, o;
  e === void 0 && (e = {}), t === void 0 && (t = {});
  var i = Object.keys(rW).reduce(function($, D) {
    var V;
    return Ie({}, $, (V = {}, V[D] = $[D] !== void 0 ? $[D] : rW[D], V));
  }, e), s = $e.useMemo(
    function() {
      return [{
        name: "offset",
        options: {
          offset: i.offset
        }
      }];
    },
    // eslint-disable-next-line react-hooks/exhaustive-deps
    Array.isArray(i.offset) ? i.offset : []
  ), l = Ie({}, t, {
    placement: t.placement || i.placement,
    modifiers: t.modifiers || s
  }), u = $e.useState(null), c = u[0], d = u[1], f = $e.useState(null), p = f[0], m = f[1], v = E3e({
    initial: i.defaultVisible,
    value: i.visible,
    onChange: i.onVisibleChange
  }), y = v[0], b = v[1], g = $e.useRef();
  $e.useEffect(function() {
    return function() {
      return clearTimeout(g.current);
    };
  }, []);
  var w = zA(i.followCursor ? tW : c, p, l), E = w.styles, x = w.attributes, S = _c(w, R3e), C = S.update, _ = nW({
    visible: y,
    triggerRef: c,
    tooltipRef: p,
    finalConfig: i
  }), A = $e.useCallback(
    function($) {
      return Array.isArray(i.trigger) ? i.trigger.includes($) : i.trigger === $;
    },
    // eslint-disable-next-line react-hooks/exhaustive-deps
    Array.isArray(i.trigger) ? i.trigger : [i.trigger]
  ), O = $e.useCallback(function() {
    clearTimeout(g.current), g.current = window.setTimeout(function() {
      return b(!1);
    }, i.delayHide);
  }, [i.delayHide, b]), q = $e.useCallback(function() {
    clearTimeout(g.current), g.current = window.setTimeout(function() {
      return b(!0);
    }, i.delayShow);
  }, [i.delayShow, b]), M = $e.useCallback(function() {
    _().visible ? O() : q();
  }, [_, O, q]);
  $e.useEffect(function() {
    if (_().finalConfig.closeOnOutsideClick) {
      var $ = /* @__PURE__ */ a(function(V) {
        var G, ne = _(), de = ne.tooltipRef, se = ne.triggerRef, B = (V.composedPath == null || (G = V.composedPath()) == null ? void 0 : G[0]) ||
        V.target;
        B instanceof Node && de != null && se != null && !de.contains(B) && !se.contains(B) && O();
      }, "handleClickOutside");
      return document.addEventListener("mousedown", $), function() {
        return document.removeEventListener("mousedown", $);
      };
    }
  }, [_, O]), $e.useEffect(function() {
    if (!(c == null || !A("click")))
      return c.addEventListener("click", M), function() {
        return c.removeEventListener("click", M);
      };
  }, [c, A, M]), $e.useEffect(function() {
    if (!(c == null || !A("double-click")))
      return c.addEventListener("dblclick", M), function() {
        return c.removeEventListener("dblclick", M);
      };
  }, [c, A, M]), $e.useEffect(function() {
    if (!(c == null || !A("right-click"))) {
      var $ = /* @__PURE__ */ a(function(V) {
        V.preventDefault(), M();
      }, "preventDefaultAndToggle");
      return c.addEventListener("contextmenu", $), function() {
        return c.removeEventListener("contextmenu", $);
      };
    }
  }, [c, A, M]), $e.useEffect(function() {
    if (!(c == null || !A("focus")))
      return c.addEventListener("focus", q), c.addEventListener("blur", O), function() {
        c.removeEventListener("focus", q), c.removeEventListener("blur", O);
      };
  }, [c, A, q, O]), $e.useEffect(function() {
    if (!(c == null || !A("hover")))
      return c.addEventListener("mouseenter", q), c.addEventListener("mouseleave", O), function() {
        c.removeEventListener("mouseenter", q), c.removeEventListener("mouseleave", O);
      };
  }, [c, A, q, O]), $e.useEffect(function() {
    if (!(p == null || !A("hover") || !_().finalConfig.interactive))
      return p.addEventListener("mouseenter", q), p.addEventListener("mouseleave", O), function() {
        p.removeEventListener("mouseenter", q), p.removeEventListener("mouseleave", O);
      };
  }, [p, A, q, O, _]);
  var U = S == null || (r = S.state) == null || (n = r.modifiersData) == null || (o = n.hide) == null ? void 0 : o.isReferenceHidden;
  $e.useEffect(function() {
    i.closeOnTriggerHidden && U && O();
  }, [i.closeOnTriggerHidden, O, U]), $e.useEffect(function() {
    if (!i.followCursor || c == null) return;
    function $(D) {
      var V = D.clientX, G = D.clientY;
      tW.getBoundingClientRect = oW(V, G), C?.();
    }
    return a($, "setMousePosition"), c.addEventListener("mousemove", $), function() {
      return c.removeEventListener("mousemove", $);
    };
  }, [i.followCursor, c, C]), $e.useEffect(function() {
    if (!(p == null || C == null || i.mutationObserverOptions == null)) {
      var $ = new MutationObserver(C);
      return $.observe(p, i.mutationObserverOptions), function() {
        return $.disconnect();
      };
    }
  }, [i.mutationObserverOptions, p, C]);
  var Q = /* @__PURE__ */ a(function(D) {
    return D === void 0 && (D = {}), Ie({}, D, {
      style: Ie({}, D.style, E.popper)
    }, x.popper, {
      "data-popper-interactive": i.interactive
    });
  }, "getTooltipProps"), z = /* @__PURE__ */ a(function(D) {
    return D === void 0 && (D = {}), Ie({}, D, x.arrow, {
      style: Ie({}, D.style, E.arrow),
      "data-popper-arrow": !0
    });
  }, "getArrowProps");
  return Ie({
    getArrowProps: z,
    getTooltipProps: Q,
    setTooltipRef: m,
    setTriggerRef: d,
    tooltipRef: p,
    triggerRef: c,
    visible: y
  }, S);
}
var $e, w3e, R3e, tW, rW, iW = k(() => {
  v1();
  Ua();
  $e = N(H());
  eW();
  a(nW, "useGetLatest");
  w3e = /* @__PURE__ */ a(function() {
  }, "noop");
  a(E3e, "useControlledState");
  a(oW, "generateBoundingClientRect");
  R3e = ["styles", "attributes"], tW = {
    getBoundingClientRect: oW()
  }, rW = {
    closeOnOutsideClick: !0,
    closeOnTriggerHidden: !1,
    defaultVisible: !1,
    delayHide: 0,
    delayShow: 0,
    followCursor: !1,
    interactive: !1,
    mutationObserverOptions: {
      attributes: !0,
      childList: !0,
      subtree: !0
    },
    offset: [0, 6],
    trigger: "hover"
  };
  a(aW, "usePopperTooltip");
});

// src/components/components/tooltip/Tooltip.tsx
var Gy, sW, ro, us, x3e, S3e, UA, lW = k(() => {
  "use strict";
  Gy = N(H(), 1), sW = N(Wa(), 1);
  ue();
  ro = (0, sW.default)(1e3)(
    (e, t, r, n = 0) => t.split("-")[0] === e ? r : n
  ), us = 8, x3e = L.div(
    {
      position: "absolute",
      borderStyle: "solid"
    },
    ({ placement: e }) => {
      let t = 0, r = 0;
      switch (!0) {
        case (e.startsWith("left") || e.startsWith("right")): {
          r = 8;
          break;
        }
        case (e.startsWith("top") || e.startsWith("bottom")): {
          t = 8;
          break;
        }
        default:
      }
      return { transform: `translate3d(${t}px, ${r}px, 0px)` };
    },
    ({ theme: e, color: t, placement: r }) => ({
      bottom: `${ro("top", r, `${us * -1}px`, "auto")}`,
      top: `${ro("bottom", r, `${us * -1}px`, "auto")}`,
      right: `${ro("left", r, `${us * -1}px`, "auto")}`,
      left: `${ro("right", r, `${us * -1}px`, "auto")}`,
      borderBottomWidth: `${ro("top", r, "0", us)}px`,
      borderTopWidth: `${ro("bottom", r, "0", us)}px`,
      borderRightWidth: `${ro("left", r, "0", us)}px`,
      borderLeftWidth: `${ro("right", r, "0", us)}px`,
      borderTopColor: ro(
        "top",
        r,
        e.color[t] || t || e.base === "light" ? ha(e.background.app) : e.background.app,
        "transparent"
      ),
      borderBottomColor: ro(
        "bottom",
        r,
        e.color[t] || t || e.base === "light" ? ha(e.background.app) : e.background.app,
        "transparent"
      ),
      borderLeftColor: ro(
        "left",
        r,
        e.color[t] || t || e.base === "light" ? ha(e.background.app) : e.background.app,
        "transparent"
      ),
      borderRightColor: ro(
        "right",
        r,
        e.color[t] || t || e.base === "light" ? ha(e.background.app) : e.background.app,
        "transparent"
      )
    })
  ), S3e = L.div(
    ({ hidden: e }) => ({
      display: e ? "none" : "inline-block",
      zIndex: 2147483647,
      colorScheme: "light dark"
    }),
    ({ theme: e, color: t, hasChrome: r }) => r ? {
      background: t && e.color[t] || t || e.base === "light" ? ha(e.background.app) : e.background.app,
      filter: `
            drop-shadow(0px 5px 5px rgba(0,0,0,0.05))
            drop-shadow(0 1px 3px rgba(0,0,0,0.1))
          `,
      borderRadius: e.appBorderRadius + 2,
      fontSize: e.typography.size.s1
    } : {}
  ), UA = Gy.default.forwardRef(
    ({
      placement: e = "top",
      hasChrome: t = !0,
      children: r,
      arrowProps: n = {},
      tooltipRef: o,
      color: i,
      withArrows: s,
      ...l
    }, u) => /* @__PURE__ */ Gy.default.createElement(S3e, { "data-testid": "tooltip", hasChrome: t, ref: u, ...l, color: i }, t && s && /* @__PURE__ */ Gy.default.
    createElement(x3e, { placement: e, ...n, color: i }), r)
  );
  UA.displayName = "Tooltip";
});

// src/components/components/tooltip/WithTooltip.tsx
var WA = {};
_e(WA, {
  WithToolTipState: () => VA,
  WithTooltip: () => VA,
  WithTooltipPure: () => cW
});
var no, uW, Yy, C3e, _3e, cW, VA, Ky = k(() => {
  "use strict";
  no = N(H(), 1), uW = N(za(), 1);
  Ct();
  iW();
  ue();
  lW();
  ({ document: Yy } = Z), C3e = L.div`
  display: inline-block;
  cursor: ${(e) => e.trigger === "hover" || e.trigger?.includes("hover") ? "default" : "pointer"};
`, _3e = L.g`
  cursor: ${(e) => e.trigger === "hover" || e.trigger?.includes("hover") ? "default" : "pointer"};
`, cW = /* @__PURE__ */ a(({
    svg: e = !1,
    trigger: t = "click",
    closeOnOutsideClick: r = !1,
    placement: n = "top",
    modifiers: o = [
      {
        name: "preventOverflow",
        options: {
          padding: 8
        }
      },
      {
        name: "offset",
        options: {
          offset: [8, 8]
        }
      },
      {
        name: "arrow",
        options: {
          padding: 8
        }
      }
    ],
    hasChrome: i = !0,
    defaultVisible: s = !1,
    withArrows: l,
    offset: u,
    tooltip: c,
    children: d,
    closeOnTriggerHidden: f,
    mutationObserverOptions: p,
    delayHide: m = t === "hover" ? 200 : 0,
    visible: v,
    interactive: y,
    delayShow: b = t === "hover" ? 400 : 0,
    strategy: g,
    followCursor: w,
    onVisibleChange: E,
    ...x
  }) => {
    let S = e ? _3e : C3e, {
      getArrowProps: C,
      getTooltipProps: _,
      setTooltipRef: A,
      setTriggerRef: O,
      visible: q,
      state: M
    } = aW(
      {
        trigger: t,
        placement: n,
        defaultVisible: s,
        delayHide: m,
        interactive: y,
        closeOnOutsideClick: r,
        closeOnTriggerHidden: f,
        onVisibleChange: E,
        delayShow: b,
        followCursor: w,
        mutationObserverOptions: p,
        visible: v,
        offset: u
      },
      {
        modifiers: o,
        strategy: g
      }
    ), U = q ? /* @__PURE__ */ no.default.createElement(
      UA,
      {
        placement: M?.placement,
        ref: A,
        hasChrome: i,
        arrowProps: C(),
        withArrows: l,
        ..._()
      },
      typeof c == "function" ? c({ onHide: /* @__PURE__ */ a(() => E(!1), "onHide") }) : c
    ) : null;
    return /* @__PURE__ */ no.default.createElement(no.default.Fragment, null, /* @__PURE__ */ no.default.createElement(S, { trigger: t, ref: O,
    ...x }, d), q && uW.default.createPortal(U, Yy.body));
  }, "WithTooltipPure"), VA = /* @__PURE__ */ a(({
    startOpen: e = !1,
    onVisibleChange: t,
    ...r
  }) => {
    let [n, o] = (0, no.useState)(e), i = (0, no.useCallback)(
      (s) => {
        t && t(s) === !1 || o(s);
      },
      [t]
    );
    return (0, no.useEffect)(() => {
      let s = /* @__PURE__ */ a(() => i(!1), "hide");
      Yy.addEventListener("keydown", s, !1);
      let l = Array.from(Yy.getElementsByTagName("iframe")), u = [];
      return l.forEach((c) => {
        let d = /* @__PURE__ */ a(() => {
          try {
            c.contentWindow.document && (c.contentWindow.document.addEventListener("click", s), u.push(() => {
              try {
                c.contentWindow.document.removeEventListener("click", s);
              } catch {
              }
            }));
          } catch {
          }
        }, "bind");
        d(), c.addEventListener("load", d), u.push(() => {
          c.removeEventListener("load", d);
        });
      }), () => {
        Yy.removeEventListener("keydown", s), u.forEach((c) => {
          c();
        });
      };
    }), /* @__PURE__ */ no.default.createElement(cW, { ...r, visible: n, onVisibleChange: i });
  }, "WithToolTipState");
});

// ../node_modules/picoquery/lib/string-util.js
var QA = R((JA) => {
  "use strict";
  Object.defineProperty(JA, "__esModule", { value: !0 });
  JA.encodeString = Y3e;
  var Ea = Array.from({ length: 256 }, (e, t) => "%" + ((t < 16 ? "0" : "") + t.toString(16)).toUpperCase()), G3e = new Int8Array([
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    1,
    0,
    0,
    0,
    0,
    0,
    1,
    1,
    1,
    1,
    0,
    0,
    1,
    1,
    0,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    0,
    0,
    0,
    0,
    1,
    0,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    0,
    0,
    0,
    1,
    0
  ]);
  function Y3e(e) {
    let t = e.length;
    if (t === 0)
      return "";
    let r = "", n = 0, o = 0;
    e: for (; o < t; o++) {
      let i = e.charCodeAt(o);
      for (; i < 128; ) {
        if (G3e[i] !== 1 && (n < o && (r += e.slice(n, o)), n = o + 1, r += Ea[i]), ++o === t)
          break e;
        i = e.charCodeAt(o);
      }
      if (n < o && (r += e.slice(n, o)), i < 2048) {
        n = o + 1, r += Ea[192 | i >> 6] + Ea[128 | i & 63];
        continue;
      }
      if (i < 55296 || i >= 57344) {
        n = o + 1, r += Ea[224 | i >> 12] + Ea[128 | i >> 6 & 63] + Ea[128 | i & 63];
        continue;
      }
      if (++o, o >= t)
        throw new Error("URI malformed");
      let s = e.charCodeAt(o) & 1023;
      n = o + 1, i = 65536 + ((i & 1023) << 10 | s), r += Ea[240 | i >> 18] + Ea[128 | i >> 12 & 63] + Ea[128 | i >> 6 & 63] + Ea[128 | i & 63];
    }
    return n === 0 ? e : n < t ? r + e.slice(n) : r;
  }
  a(Y3e, "encodeString");
});

// ../node_modules/picoquery/lib/shared.js
var Ev = R((Ra) => {
  "use strict";
  Object.defineProperty(Ra, "__esModule", { value: !0 });
  Ra.defaultOptions = Ra.defaultShouldSerializeObject = Ra.defaultValueSerializer = void 0;
  var ZA = QA(), K3e = /* @__PURE__ */ a((e) => {
    switch (typeof e) {
      case "string":
        return (0, ZA.encodeString)(e);
      case "bigint":
      case "boolean":
        return "" + e;
      case "number":
        if (Number.isFinite(e))
          return e < 1e21 ? "" + e : (0, ZA.encodeString)("" + e);
        break;
    }
    return e instanceof Date ? (0, ZA.encodeString)(e.toISOString()) : "";
  }, "defaultValueSerializer");
  Ra.defaultValueSerializer = K3e;
  var X3e = /* @__PURE__ */ a((e) => e instanceof Date, "defaultShouldSerializeObject");
  Ra.defaultShouldSerializeObject = X3e;
  var TW = /* @__PURE__ */ a((e) => e, "identityFunc");
  Ra.defaultOptions = {
    nesting: !0,
    nestingSyntax: "dot",
    arrayRepeat: !1,
    arrayRepeatSyntax: "repeat",
    delimiter: 38,
    valueDeserializer: TW,
    valueSerializer: Ra.defaultValueSerializer,
    keyDeserializer: TW,
    shouldSerializeObject: Ra.defaultShouldSerializeObject
  };
});

// ../node_modules/picoquery/lib/object-util.js
var e7 = R((Rv) => {
  "use strict";
  Object.defineProperty(Rv, "__esModule", { value: !0 });
  Rv.getDeepObject = Z3e;
  Rv.stringifyObject = AW;
  var $l = Ev(), J3e = QA();
  function Q3e(e) {
    return e === "__proto__" || e === "constructor" || e === "prototype";
  }
  a(Q3e, "isPrototypeKey");
  function Z3e(e, t, r, n, o) {
    if (Q3e(t))
      return e;
    let i = e[t];
    return typeof i == "object" && i !== null ? i : !n && (o || typeof r == "number" || typeof r == "string" && r * 0 === 0 && r.indexOf(".") ===
    -1) ? e[t] = [] : e[t] = {};
  }
  a(Z3e, "getDeepObject");
  var eTe = 20, tTe = "[]", rTe = "[", nTe = "]", oTe = ".";
  function AW(e, t, r = 0, n, o) {
    let { nestingSyntax: i = $l.defaultOptions.nestingSyntax, arrayRepeat: s = $l.defaultOptions.arrayRepeat, arrayRepeatSyntax: l = $l.defaultOptions.
    arrayRepeatSyntax, nesting: u = $l.defaultOptions.nesting, delimiter: c = $l.defaultOptions.delimiter, valueSerializer: d = $l.defaultOptions.
    valueSerializer, shouldSerializeObject: f = $l.defaultOptions.shouldSerializeObject } = t, p = typeof c == "number" ? String.fromCharCode(
    c) : c, m = o === !0 && s, v = i === "dot" || i === "js" && !o;
    if (r > eTe)
      return "";
    let y = "", b = !0, g = !1;
    for (let w in e) {
      let E = e[w], x;
      n ? (x = n, m ? l === "bracket" && (x += tTe) : v ? (x += oTe, x += w) : (x += rTe, x += w, x += nTe)) : x = w, b || (y += p), typeof E ==
      "object" && E !== null && !f(E) ? (g = E.pop !== void 0, (u || s && g) && (y += AW(E, t, r + 1, x, g))) : (y += (0, J3e.encodeString)(
      x), y += "=", y += d(E, w)), b && (b = !1);
    }
    return y;
  }
  a(AW, "stringifyObject");
});

// ../node_modules/fast-decode-uri-component/index.js
var NW = R((dCt, MW) => {
  "use strict";
  var OW = 12, aTe = 0, t7 = [
    // The first part of the table maps bytes to character to a transition.
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    2,
    2,
    2,
    2,
    2,
    2,
    2,
    2,
    2,
    2,
    2,
    2,
    2,
    2,
    2,
    2,
    3,
    3,
    3,
    3,
    3,
    3,
    3,
    3,
    3,
    3,
    3,
    3,
    3,
    3,
    3,
    3,
    3,
    3,
    3,
    3,
    3,
    3,
    3,
    3,
    3,
    3,
    3,
    3,
    3,
    3,
    3,
    3,
    4,
    4,
    5,
    5,
    5,
    5,
    5,
    5,
    5,
    5,
    5,
    5,
    5,
    5,
    5,
    5,
    5,
    5,
    5,
    5,
    5,
    5,
    5,
    5,
    5,
    5,
    5,
    5,
    5,
    5,
    5,
    5,
    6,
    7,
    7,
    7,
    7,
    7,
    7,
    7,
    7,
    7,
    7,
    7,
    7,
    8,
    7,
    7,
    10,
    9,
    9,
    9,
    11,
    4,
    4,
    4,
    4,
    4,
    4,
    4,
    4,
    4,
    4,
    4,
    // The second part of the table maps a state to a new state when adding a
    // transition.
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    12,
    0,
    0,
    0,
    0,
    24,
    36,
    48,
    60,
    72,
    84,
    96,
    0,
    12,
    12,
    12,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    24,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    24,
    24,
    24,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    24,
    24,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    48,
    48,
    48,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    48,
    48,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    48,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    // The third part maps the current transition to a mask that needs to apply
    // to the byte.
    127,
    63,
    63,
    63,
    0,
    31,
    15,
    15,
    15,
    7,
    7,
    7
  ];
  function iTe(e) {
    var t = e.indexOf("%");
    if (t === -1) return e;
    for (var r = e.length, n = "", o = 0, i = 0, s = t, l = OW; t > -1 && t < r; ) {
      var u = IW(e[t + 1], 4), c = IW(e[t + 2], 0), d = u | c, f = t7[d];
      if (l = t7[256 + l + f], i = i << 6 | d & t7[364 + f], l === OW)
        n += e.slice(o, s), n += i <= 65535 ? String.fromCharCode(i) : String.fromCharCode(
          55232 + (i >> 10),
          56320 + (i & 1023)
        ), i = 0, o = t + 3, t = s = e.indexOf("%", o);
      else {
        if (l === aTe)
          return null;
        if (t += 3, t < r && e.charCodeAt(t) === 37) continue;
        return null;
      }
    }
    return n + e.slice(o);
  }
  a(iTe, "decodeURIComponent");
  var sTe = {
    0: 0,
    1: 1,
    2: 2,
    3: 3,
    4: 4,
    5: 5,
    6: 6,
    7: 7,
    8: 8,
    9: 9,
    a: 10,
    A: 10,
    b: 11,
    B: 11,
    c: 12,
    C: 12,
    d: 13,
    D: 13,
    e: 14,
    E: 14,
    f: 15,
    F: 15
  };
  function IW(e, t) {
    var r = sTe[e];
    return r === void 0 ? 255 : r << t;
  }
  a(IW, "hexCodeToInt");
  MW.exports = iTe;
});

// ../node_modules/picoquery/lib/parse.js
var DW = R((ti) => {
  "use strict";
  var lTe = ti && ti.__importDefault || function(e) {
    return e && e.__esModule ? e : { default: e };
  };
  Object.defineProperty(ti, "__esModule", { value: !0 });
  ti.numberValueDeserializer = ti.numberKeyDeserializer = void 0;
  ti.parse = dTe;
  var xv = e7(), Hl = Ev(), LW = lTe(NW()), uTe = /* @__PURE__ */ a((e) => {
    let t = Number(e);
    return Number.isNaN(t) ? e : t;
  }, "numberKeyDeserializer");
  ti.numberKeyDeserializer = uTe;
  var cTe = /* @__PURE__ */ a((e) => {
    let t = Number(e);
    return Number.isNaN(t) ? e : t;
  }, "numberValueDeserializer");
  ti.numberValueDeserializer = cTe;
  var kW = /\+/g, qW = /* @__PURE__ */ a(function() {
  }, "Empty");
  qW.prototype = /* @__PURE__ */ Object.create(null);
  function Sv(e, t, r, n, o) {
    let i = e.substring(t, r);
    return n && (i = i.replace(kW, " ")), o && (i = (0, LW.default)(i) || i), i;
  }
  a(Sv, "computeKeySlice");
  function dTe(e, t) {
    let { valueDeserializer: r = Hl.defaultOptions.valueDeserializer, keyDeserializer: n = Hl.defaultOptions.keyDeserializer, arrayRepeatSyntax: o = Hl.
    defaultOptions.arrayRepeatSyntax, nesting: i = Hl.defaultOptions.nesting, arrayRepeat: s = Hl.defaultOptions.arrayRepeat, nestingSyntax: l = Hl.
    defaultOptions.nestingSyntax, delimiter: u = Hl.defaultOptions.delimiter } = t ?? {}, c = typeof u == "string" ? u.charCodeAt(0) : u, d = l ===
    "js", f = new qW();
    if (typeof e != "string")
      return f;
    let p = e.length, m = "", v = -1, y = -1, b = -1, g = f, w, E = "", x = "", S = !1, C = !1, _ = !1, A = !1, O = !1, q = !1, M = !1, U = 0,
    Q = -1, z = -1, $ = -1;
    for (let D = 0; D < p + 1; D++) {
      if (U = D !== p ? e.charCodeAt(D) : c, U === c) {
        if (M = y > v, M || (y = D), b !== y - 1 && (x = Sv(e, b + 1, Q > -1 ? Q : y, _, S), E = n(x), w !== void 0 && (g = (0, xv.getDeepObject)(
        g, w, E, d && O, d && q))), M || E !== "") {
          M && (m = e.slice(y + 1, D), A && (m = m.replace(kW, " ")), C && (m = (0, LW.default)(m) || m));
          let V = r(m, E);
          if (s) {
            let G = g[E];
            G === void 0 ? Q > -1 ? g[E] = [V] : g[E] = V : G.pop ? G.push(V) : g[E] = [G, V];
          } else
            g[E] = V;
        }
        m = "", v = D, y = D, S = !1, C = !1, _ = !1, A = !1, O = !1, q = !1, Q = -1, b = D, g = f, w = void 0, E = "";
      } else U === 93 ? (s && o === "bracket" && $ === 91 && (Q = z), i && (l === "index" || d) && y <= v && (b !== z && (x = Sv(e, b + 1, D,
      _, S), E = n(x), w !== void 0 && (g = (0, xv.getDeepObject)(g, w, E, void 0, d)), w = E, _ = !1, S = !1), b = D, q = !0, O = !1)) : U ===
      46 ? i && (l === "dot" || d) && y <= v && (b !== z && (x = Sv(e, b + 1, D, _, S), E = n(x), w !== void 0 && (g = (0, xv.getDeepObject)(
      g, w, E, d)), w = E, _ = !1, S = !1), O = !0, q = !1, b = D) : U === 91 ? i && (l === "index" || d) && y <= v && (b !== z && (x = Sv(e,
      b + 1, D, _, S), E = n(x), d && w !== void 0 && (g = (0, xv.getDeepObject)(g, w, E, d)), w = E, _ = !1, S = !1, O = !1, q = !0), b = D) :
      U === 61 ? y <= v ? y = D : C = !0 : U === 43 ? y > v ? A = !0 : _ = !0 : U === 37 && (y > v ? C = !0 : S = !0);
      z = D, $ = U;
    }
    return f;
  }
  a(dTe, "parse");
});

// ../node_modules/picoquery/lib/stringify.js
var FW = R((r7) => {
  "use strict";
  Object.defineProperty(r7, "__esModule", { value: !0 });
  r7.stringify = pTe;
  var fTe = e7();
  function pTe(e, t) {
    if (e === null || typeof e != "object")
      return "";
    let r = t ?? {};
    return (0, fTe.stringifyObject)(e, r);
  }
  a(pTe, "stringify");
});

// ../node_modules/picoquery/lib/main.js
var jW = R(($o) => {
  "use strict";
  var mTe = $o && $o.__createBinding || (Object.create ? function(e, t, r, n) {
    n === void 0 && (n = r);
    var o = Object.getOwnPropertyDescriptor(t, r);
    (!o || ("get" in o ? !t.__esModule : o.writable || o.configurable)) && (o = { enumerable: !0, get: /* @__PURE__ */ a(function() {
      return t[r];
    }, "get") }), Object.defineProperty(e, n, o);
  } : function(e, t, r, n) {
    n === void 0 && (n = r), e[n] = t[r];
  }), hTe = $o && $o.__exportStar || function(e, t) {
    for (var r in e) r !== "default" && !Object.prototype.hasOwnProperty.call(t, r) && mTe(t, e, r);
  };
  Object.defineProperty($o, "__esModule", { value: !0 });
  $o.stringify = $o.parse = void 0;
  var gTe = DW();
  Object.defineProperty($o, "parse", { enumerable: !0, get: /* @__PURE__ */ a(function() {
    return gTe.parse;
  }, "get") });
  var yTe = FW();
  Object.defineProperty($o, "stringify", { enumerable: !0, get: /* @__PURE__ */ a(function() {
    return yTe.stringify;
  }, "get") });
  hTe(Ev(), $o);
});

// ../node_modules/min-indent/index.js
var sK = R((RPt, iK) => {
  "use strict";
  iK.exports = (e) => {
    let t = e.match(/^[ \t]*(?=\S)/gm);
    return t ? t.reduce((r, n) => Math.min(r, n.length), 1 / 0) : 0;
  };
});

// ../node_modules/strip-indent/index.js
var uK = R((xPt, lK) => {
  "use strict";
  var COe = sK();
  lK.exports = (e) => {
    let t = COe(e);
    if (t === 0)
      return e;
    let r = new RegExp(`^[ \\t]{${t}}`, "gm");
    return e.replace(r, "");
  };
});

// ../node_modules/indent-string/index.js
var dK = R((SPt, cK) => {
  "use strict";
  cK.exports = (e, t = 1, r) => {
    if (r = {
      indent: " ",
      includeEmptyLines: !1,
      ...r
    }, typeof e != "string")
      throw new TypeError(
        `Expected \`input\` to be a \`string\`, got \`${typeof e}\``
      );
    if (typeof t != "number")
      throw new TypeError(
        `Expected \`count\` to be a \`number\`, got \`${typeof t}\``
      );
    if (typeof r.indent != "string")
      throw new TypeError(
        `Expected \`options.indent\` to be a \`string\`, got \`${typeof r.indent}\``
      );
    if (t === 0)
      return e;
    let n = r.includeEmptyLines ? /^/gm : /^(?!\s*$)/gm;
    return e.replace(n, r.indent.repeat(t));
  };
});

// ../node_modules/redent/index.js
var $O = R((CPt, fK) => {
  "use strict";
  var _Oe = uK(), POe = dK();
  fK.exports = (e, t = 0, r) => POe(_Oe(e), t, r);
});

// ../node_modules/aria-query/lib/util/iteratorProxy.js
var jK = R((hb) => {
  "use strict";
  Object.defineProperty(hb, "__esModule", {
    value: !0
  });
  hb.default = void 0;
  function l6e() {
    var e = this, t = 0, r = {
      "@@iterator": /* @__PURE__ */ a(function() {
        return r;
      }, "iterator"),
      next: /* @__PURE__ */ a(function() {
        if (t < e.length) {
          var o = e[t];
          return t = t + 1, {
            done: !1,
            value: o
          };
        } else
          return {
            done: !0
          };
      }, "next")
    };
    return r;
  }
  a(l6e, "iteratorProxy");
  var c3t = hb.default = l6e;
});

// ../node_modules/aria-query/lib/util/iterationDecorator.js
var pd = R((JO) => {
  "use strict";
  Object.defineProperty(JO, "__esModule", {
    value: !0
  });
  JO.default = d6e;
  var u6e = c6e(jK());
  function c6e(e) {
    return e && e.__esModule ? e : { default: e };
  }
  a(c6e, "_interopRequireDefault");
  function XO(e) {
    "@babel/helpers - typeof";
    return XO = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
      return typeof t;
    } : function(t) {
      return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
    }, XO(e);
  }
  a(XO, "_typeof");
  function d6e(e, t) {
    return typeof Symbol == "function" && XO(Symbol.iterator) === "symbol" && Object.defineProperty(e, Symbol.iterator, {
      value: u6e.default.bind(t)
    }), e;
  }
  a(d6e, "iterationDecorator");
});

// ../node_modules/aria-query/lib/ariaPropsMap.js
var $K = R((gb) => {
  "use strict";
  Object.defineProperty(gb, "__esModule", {
    value: !0
  });
  gb.default = void 0;
  var f6e = p6e(pd());
  function p6e(e) {
    return e && e.__esModule ? e : { default: e };
  }
  a(p6e, "_interopRequireDefault");
  function QO(e, t) {
    return y6e(e) || g6e(e, t) || h6e(e, t) || m6e();
  }
  a(QO, "_slicedToArray");
  function m6e() {
    throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
  }
  a(m6e, "_nonIterableRest");
  function h6e(e, t) {
    if (e) {
      if (typeof e == "string") return BK(e, t);
      var r = {}.toString.call(e).slice(8, -1);
      return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.
      test(r) ? BK(e, t) : void 0;
    }
  }
  a(h6e, "_unsupportedIterableToArray");
  function BK(e, t) {
    (t == null || t > e.length) && (t = e.length);
    for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r];
    return n;
  }
  a(BK, "_arrayLikeToArray");
  function g6e(e, t) {
    var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
    if (r != null) {
      var n, o, i, s, l = [], u = !0, c = !1;
      try {
        if (i = (r = r.call(e)).next, t === 0) {
          if (Object(r) !== r) return;
          u = !1;
        } else for (; !(u = (n = i.call(r)).done) && (l.push(n.value), l.length !== t); u = !0) ;
      } catch (d) {
        c = !0, o = d;
      } finally {
        try {
          if (!u && r.return != null && (s = r.return(), Object(s) !== s)) return;
        } finally {
          if (c) throw o;
        }
      }
      return l;
    }
  }
  a(g6e, "_iterableToArrayLimit");
  function y6e(e) {
    if (Array.isArray(e)) return e;
  }
  a(y6e, "_arrayWithHoles");
  var md = [["aria-activedescendant", {
    type: "id"
  }], ["aria-atomic", {
    type: "boolean"
  }], ["aria-autocomplete", {
    type: "token",
    values: ["inline", "list", "both", "none"]
  }], ["aria-braillelabel", {
    type: "string"
  }], ["aria-brailleroledescription", {
    type: "string"
  }], ["aria-busy", {
    type: "boolean"
  }], ["aria-checked", {
    type: "tristate"
  }], ["aria-colcount", {
    type: "integer"
  }], ["aria-colindex", {
    type: "integer"
  }], ["aria-colspan", {
    type: "integer"
  }], ["aria-controls", {
    type: "idlist"
  }], ["aria-current", {
    type: "token",
    values: ["page", "step", "location", "date", "time", !0, !1]
  }], ["aria-describedby", {
    type: "idlist"
  }], ["aria-description", {
    type: "string"
  }], ["aria-details", {
    type: "id"
  }], ["aria-disabled", {
    type: "boolean"
  }], ["aria-dropeffect", {
    type: "tokenlist",
    values: ["copy", "execute", "link", "move", "none", "popup"]
  }], ["aria-errormessage", {
    type: "id"
  }], ["aria-expanded", {
    type: "boolean",
    allowundefined: !0
  }], ["aria-flowto", {
    type: "idlist"
  }], ["aria-grabbed", {
    type: "boolean",
    allowundefined: !0
  }], ["aria-haspopup", {
    type: "token",
    values: [!1, !0, "menu", "listbox", "tree", "grid", "dialog"]
  }], ["aria-hidden", {
    type: "boolean",
    allowundefined: !0
  }], ["aria-invalid", {
    type: "token",
    values: ["grammar", !1, "spelling", !0]
  }], ["aria-keyshortcuts", {
    type: "string"
  }], ["aria-label", {
    type: "string"
  }], ["aria-labelledby", {
    type: "idlist"
  }], ["aria-level", {
    type: "integer"
  }], ["aria-live", {
    type: "token",
    values: ["assertive", "off", "polite"]
  }], ["aria-modal", {
    type: "boolean"
  }], ["aria-multiline", {
    type: "boolean"
  }], ["aria-multiselectable", {
    type: "boolean"
  }], ["aria-orientation", {
    type: "token",
    values: ["vertical", "undefined", "horizontal"]
  }], ["aria-owns", {
    type: "idlist"
  }], ["aria-placeholder", {
    type: "string"
  }], ["aria-posinset", {
    type: "integer"
  }], ["aria-pressed", {
    type: "tristate"
  }], ["aria-readonly", {
    type: "boolean"
  }], ["aria-relevant", {
    type: "tokenlist",
    values: ["additions", "all", "removals", "text"]
  }], ["aria-required", {
    type: "boolean"
  }], ["aria-roledescription", {
    type: "string"
  }], ["aria-rowcount", {
    type: "integer"
  }], ["aria-rowindex", {
    type: "integer"
  }], ["aria-rowspan", {
    type: "integer"
  }], ["aria-selected", {
    type: "boolean",
    allowundefined: !0
  }], ["aria-setsize", {
    type: "integer"
  }], ["aria-sort", {
    type: "token",
    values: ["ascending", "descending", "none", "other"]
  }], ["aria-valuemax", {
    type: "number"
  }], ["aria-valuemin", {
    type: "number"
  }], ["aria-valuenow", {
    type: "number"
  }], ["aria-valuetext", {
    type: "string"
  }]], ZO = {
    entries: /* @__PURE__ */ a(function() {
      return md;
    }, "entries"),
    forEach: /* @__PURE__ */ a(function(t) {
      for (var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, n = 0, o = md; n < o.length; n++) {
        var i = QO(o[n], 2), s = i[0], l = i[1];
        t.call(r, l, s, md);
      }
    }, "forEach"),
    get: /* @__PURE__ */ a(function(t) {
      var r = md.filter(function(n) {
        return n[0] === t;
      })[0];
      return r && r[1];
    }, "get"),
    has: /* @__PURE__ */ a(function(t) {
      return !!ZO.get(t);
    }, "has"),
    keys: /* @__PURE__ */ a(function() {
      return md.map(function(t) {
        var r = QO(t, 1), n = r[0];
        return n;
      });
    }, "keys"),
    values: /* @__PURE__ */ a(function() {
      return md.map(function(t) {
        var r = QO(t, 2), n = r[1];
        return n;
      });
    }, "values")
  }, h3t = gb.default = (0, f6e.default)(ZO, ZO.entries());
});

// ../node_modules/aria-query/lib/domMap.js
var zK = R((yb) => {
  "use strict";
  Object.defineProperty(yb, "__esModule", {
    value: !0
  });
  yb.default = void 0;
  var v6e = b6e(pd());
  function b6e(e) {
    return e && e.__esModule ? e : { default: e };
  }
  a(b6e, "_interopRequireDefault");
  function e6(e, t) {
    return x6e(e) || R6e(e, t) || E6e(e, t) || w6e();
  }
  a(e6, "_slicedToArray");
  function w6e() {
    throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
  }
  a(w6e, "_nonIterableRest");
  function E6e(e, t) {
    if (e) {
      if (typeof e == "string") return HK(e, t);
      var r = {}.toString.call(e).slice(8, -1);
      return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.
      test(r) ? HK(e, t) : void 0;
    }
  }
  a(E6e, "_unsupportedIterableToArray");
  function HK(e, t) {
    (t == null || t > e.length) && (t = e.length);
    for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r];
    return n;
  }
  a(HK, "_arrayLikeToArray");
  function R6e(e, t) {
    var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
    if (r != null) {
      var n, o, i, s, l = [], u = !0, c = !1;
      try {
        if (i = (r = r.call(e)).next, t === 0) {
          if (Object(r) !== r) return;
          u = !1;
        } else for (; !(u = (n = i.call(r)).done) && (l.push(n.value), l.length !== t); u = !0) ;
      } catch (d) {
        c = !0, o = d;
      } finally {
        try {
          if (!u && r.return != null && (s = r.return(), Object(s) !== s)) return;
        } finally {
          if (c) throw o;
        }
      }
      return l;
    }
  }
  a(R6e, "_iterableToArrayLimit");
  function x6e(e) {
    if (Array.isArray(e)) return e;
  }
  a(x6e, "_arrayWithHoles");
  var hd = [["a", {
    reserved: !1
  }], ["abbr", {
    reserved: !1
  }], ["acronym", {
    reserved: !1
  }], ["address", {
    reserved: !1
  }], ["applet", {
    reserved: !1
  }], ["area", {
    reserved: !1
  }], ["article", {
    reserved: !1
  }], ["aside", {
    reserved: !1
  }], ["audio", {
    reserved: !1
  }], ["b", {
    reserved: !1
  }], ["base", {
    reserved: !0
  }], ["bdi", {
    reserved: !1
  }], ["bdo", {
    reserved: !1
  }], ["big", {
    reserved: !1
  }], ["blink", {
    reserved: !1
  }], ["blockquote", {
    reserved: !1
  }], ["body", {
    reserved: !1
  }], ["br", {
    reserved: !1
  }], ["button", {
    reserved: !1
  }], ["canvas", {
    reserved: !1
  }], ["caption", {
    reserved: !1
  }], ["center", {
    reserved: !1
  }], ["cite", {
    reserved: !1
  }], ["code", {
    reserved: !1
  }], ["col", {
    reserved: !0
  }], ["colgroup", {
    reserved: !0
  }], ["content", {
    reserved: !1
  }], ["data", {
    reserved: !1
  }], ["datalist", {
    reserved: !1
  }], ["dd", {
    reserved: !1
  }], ["del", {
    reserved: !1
  }], ["details", {
    reserved: !1
  }], ["dfn", {
    reserved: !1
  }], ["dialog", {
    reserved: !1
  }], ["dir", {
    reserved: !1
  }], ["div", {
    reserved: !1
  }], ["dl", {
    reserved: !1
  }], ["dt", {
    reserved: !1
  }], ["em", {
    reserved: !1
  }], ["embed", {
    reserved: !1
  }], ["fieldset", {
    reserved: !1
  }], ["figcaption", {
    reserved: !1
  }], ["figure", {
    reserved: !1
  }], ["font", {
    reserved: !1
  }], ["footer", {
    reserved: !1
  }], ["form", {
    reserved: !1
  }], ["frame", {
    reserved: !1
  }], ["frameset", {
    reserved: !1
  }], ["h1", {
    reserved: !1
  }], ["h2", {
    reserved: !1
  }], ["h3", {
    reserved: !1
  }], ["h4", {
    reserved: !1
  }], ["h5", {
    reserved: !1
  }], ["h6", {
    reserved: !1
  }], ["head", {
    reserved: !0
  }], ["header", {
    reserved: !1
  }], ["hgroup", {
    reserved: !1
  }], ["hr", {
    reserved: !1
  }], ["html", {
    reserved: !0
  }], ["i", {
    reserved: !1
  }], ["iframe", {
    reserved: !1
  }], ["img", {
    reserved: !1
  }], ["input", {
    reserved: !1
  }], ["ins", {
    reserved: !1
  }], ["kbd", {
    reserved: !1
  }], ["keygen", {
    reserved: !1
  }], ["label", {
    reserved: !1
  }], ["legend", {
    reserved: !1
  }], ["li", {
    reserved: !1
  }], ["link", {
    reserved: !0
  }], ["main", {
    reserved: !1
  }], ["map", {
    reserved: !1
  }], ["mark", {
    reserved: !1
  }], ["marquee", {
    reserved: !1
  }], ["menu", {
    reserved: !1
  }], ["menuitem", {
    reserved: !1
  }], ["meta", {
    reserved: !0
  }], ["meter", {
    reserved: !1
  }], ["nav", {
    reserved: !1
  }], ["noembed", {
    reserved: !0
  }], ["noscript", {
    reserved: !0
  }], ["object", {
    reserved: !1
  }], ["ol", {
    reserved: !1
  }], ["optgroup", {
    reserved: !1
  }], ["option", {
    reserved: !1
  }], ["output", {
    reserved: !1
  }], ["p", {
    reserved: !1
  }], ["param", {
    reserved: !0
  }], ["picture", {
    reserved: !0
  }], ["pre", {
    reserved: !1
  }], ["progress", {
    reserved: !1
  }], ["q", {
    reserved: !1
  }], ["rp", {
    reserved: !1
  }], ["rt", {
    reserved: !1
  }], ["rtc", {
    reserved: !1
  }], ["ruby", {
    reserved: !1
  }], ["s", {
    reserved: !1
  }], ["samp", {
    reserved: !1
  }], ["script", {
    reserved: !0
  }], ["section", {
    reserved: !1
  }], ["select", {
    reserved: !1
  }], ["small", {
    reserved: !1
  }], ["source", {
    reserved: !0
  }], ["spacer", {
    reserved: !1
  }], ["span", {
    reserved: !1
  }], ["strike", {
    reserved: !1
  }], ["strong", {
    reserved: !1
  }], ["style", {
    reserved: !0
  }], ["sub", {
    reserved: !1
  }], ["summary", {
    reserved: !1
  }], ["sup", {
    reserved: !1
  }], ["table", {
    reserved: !1
  }], ["tbody", {
    reserved: !1
  }], ["td", {
    reserved: !1
  }], ["textarea", {
    reserved: !1
  }], ["tfoot", {
    reserved: !1
  }], ["th", {
    reserved: !1
  }], ["thead", {
    reserved: !1
  }], ["time", {
    reserved: !1
  }], ["title", {
    reserved: !0
  }], ["tr", {
    reserved: !1
  }], ["track", {
    reserved: !0
  }], ["tt", {
    reserved: !1
  }], ["u", {
    reserved: !1
  }], ["ul", {
    reserved: !1
  }], ["var", {
    reserved: !1
  }], ["video", {
    reserved: !1
  }], ["wbr", {
    reserved: !1
  }], ["xmp", {
    reserved: !1
  }]], t6 = {
    entries: /* @__PURE__ */ a(function() {
      return hd;
    }, "entries"),
    forEach: /* @__PURE__ */ a(function(t) {
      for (var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, n = 0, o = hd; n < o.length; n++) {
        var i = e6(o[n], 2), s = i[0], l = i[1];
        t.call(r, l, s, hd);
      }
    }, "forEach"),
    get: /* @__PURE__ */ a(function(t) {
      var r = hd.filter(function(n) {
        return n[0] === t;
      })[0];
      return r && r[1];
    }, "get"),
    has: /* @__PURE__ */ a(function(t) {
      return !!t6.get(t);
    }, "has"),
    keys: /* @__PURE__ */ a(function() {
      return hd.map(function(t) {
        var r = e6(t, 1), n = r[0];
        return n;
      });
    }, "keys"),
    values: /* @__PURE__ */ a(function() {
      return hd.map(function(t) {
        var r = e6(t, 2), n = r[1];
        return n;
      });
    }, "values")
  }, v3t = yb.default = (0, v6e.default)(t6, t6.entries());
});

// ../node_modules/aria-query/lib/etc/roles/abstract/commandRole.js
var UK = R((vb) => {
  "use strict";
  Object.defineProperty(vb, "__esModule", {
    value: !0
  });
  vb.default = void 0;
  var S6e = {
    abstract: !0,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "widget"]]
  }, E3t = vb.default = S6e;
});

// ../node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js
var VK = R((bb) => {
  "use strict";
  Object.defineProperty(bb, "__esModule", {
    value: !0
  });
  bb.default = void 0;
  var C6e = {
    abstract: !0,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-activedescendant": null,
      "aria-disabled": null
    },
    relatedConcepts: [],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "widget"]]
  }, x3t = bb.default = C6e;
});

// ../node_modules/aria-query/lib/etc/roles/abstract/inputRole.js
var WK = R((wb) => {
  "use strict";
  Object.defineProperty(wb, "__esModule", {
    value: !0
  });
  wb.default = void 0;
  var _6e = {
    abstract: !0,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null
    },
    relatedConcepts: [{
      concept: {
        name: "input"
      },
      module: "XForms"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "widget"]]
  }, C3t = wb.default = _6e;
});

// ../node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js
var GK = R((Eb) => {
  "use strict";
  Object.defineProperty(Eb, "__esModule", {
    value: !0
  });
  Eb.default = void 0;
  var P6e = {
    abstract: !0,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, P3t = Eb.default = P6e;
});

// ../node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js
var YK = R((Rb) => {
  "use strict";
  Object.defineProperty(Rb, "__esModule", {
    value: !0
  });
  Rb.default = void 0;
  var T6e = {
    abstract: !0,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-valuemax": null,
      "aria-valuemin": null,
      "aria-valuenow": null
    },
    relatedConcepts: [],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure"]]
  }, A3t = Rb.default = T6e;
});

// ../node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js
var KK = R((xb) => {
  "use strict";
  Object.defineProperty(xb, "__esModule", {
    value: !0
  });
  xb.default = void 0;
  var A6e = {
    abstract: !0,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: [],
    prohibitedProps: [],
    props: {
      "aria-atomic": null,
      "aria-busy": null,
      "aria-controls": null,
      "aria-current": null,
      "aria-describedby": null,
      "aria-details": null,
      "aria-dropeffect": null,
      "aria-flowto": null,
      "aria-grabbed": null,
      "aria-hidden": null,
      "aria-keyshortcuts": null,
      "aria-label": null,
      "aria-labelledby": null,
      "aria-live": null,
      "aria-owns": null,
      "aria-relevant": null,
      "aria-roledescription": null
    },
    relatedConcepts: [{
      concept: {
        name: "role"
      },
      module: "XHTML"
    }, {
      concept: {
        name: "type"
      },
      module: "Dublin Core"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: []
  }, I3t = xb.default = A6e;
});

// ../node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js
var XK = R((Sb) => {
  "use strict";
  Object.defineProperty(Sb, "__esModule", {
    value: !0
  });
  Sb.default = void 0;
  var O6e = {
    abstract: !0,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: [],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "frontmatter"
      },
      module: "DTB"
    }, {
      concept: {
        name: "level"
      },
      module: "DTB"
    }, {
      concept: {
        name: "level"
      },
      module: "SMIL"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure"]]
  }, N3t = Sb.default = O6e;
});

// ../node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js
var JK = R((Cb) => {
  "use strict";
  Object.defineProperty(Cb, "__esModule", {
    value: !0
  });
  Cb.default = void 0;
  var I6e = {
    abstract: !0,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author", "contents"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure"]]
  }, k3t = Cb.default = I6e;
});

// ../node_modules/aria-query/lib/etc/roles/abstract/selectRole.js
var QK = R((_b) => {
  "use strict";
  Object.defineProperty(_b, "__esModule", {
    value: !0
  });
  _b.default = void 0;
  var M6e = {
    abstract: !0,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-orientation": null
    },
    relatedConcepts: [],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "widget", "composite"], ["roletype", "structure", "section", "group"]]
  }, D3t = _b.default = M6e;
});

// ../node_modules/aria-query/lib/etc/roles/abstract/structureRole.js
var ZK = R((Pb) => {
  "use strict";
  Object.defineProperty(Pb, "__esModule", {
    value: !0
  });
  Pb.default = void 0;
  var N6e = {
    abstract: !0,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: [],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype"]]
  }, j3t = Pb.default = N6e;
});

// ../node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js
var eX = R((Tb) => {
  "use strict";
  Object.defineProperty(Tb, "__esModule", {
    value: !0
  });
  Tb.default = void 0;
  var L6e = {
    abstract: !0,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: [],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype"]]
  }, $3t = Tb.default = L6e;
});

// ../node_modules/aria-query/lib/etc/roles/abstract/windowRole.js
var tX = R((Ab) => {
  "use strict";
  Object.defineProperty(Ab, "__esModule", {
    value: !0
  });
  Ab.default = void 0;
  var k6e = {
    abstract: !0,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-modal": null
    },
    relatedConcepts: [],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype"]]
  }, z3t = Ab.default = k6e;
});

// ../node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js
var rX = R((Ob) => {
  "use strict";
  Object.defineProperty(Ob, "__esModule", {
    value: !0
  });
  Ob.default = void 0;
  var q6e = uo(UK()), D6e = uo(VK()), F6e = uo(WK()), j6e = uo(GK()), B6e = uo(YK()), $6e = uo(KK()), H6e = uo(XK()), z6e = uo(JK()), U6e = uo(
  QK()), V6e = uo(ZK()), W6e = uo(eX()), G6e = uo(tX());
  function uo(e) {
    return e && e.__esModule ? e : { default: e };
  }
  a(uo, "_interopRequireDefault");
  var Y6e = [["command", q6e.default], ["composite", D6e.default], ["input", F6e.default], ["landmark", j6e.default], ["range", B6e.default],
  ["roletype", $6e.default], ["section", H6e.default], ["sectionhead", z6e.default], ["select", U6e.default], ["structure", V6e.default], ["\
widget", W6e.default], ["window", G6e.default]], V3t = Ob.default = Y6e;
});

// ../node_modules/aria-query/lib/etc/roles/literal/alertRole.js
var nX = R((Ib) => {
  "use strict";
  Object.defineProperty(Ib, "__esModule", {
    value: !0
  });
  Ib.default = void 0;
  var K6e = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-atomic": "true",
      "aria-live": "assertive"
    },
    relatedConcepts: [{
      concept: {
        name: "alert"
      },
      module: "XForms"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, Y3t = Ib.default = K6e;
});

// ../node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js
var oX = R((Mb) => {
  "use strict";
  Object.defineProperty(Mb, "__esModule", {
    value: !0
  });
  Mb.default = void 0;
  var X6e = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "alert"
      },
      module: "XForms"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "alert"], ["roletype", "window", "dialog"]]
  }, X3t = Mb.default = X6e;
});

// ../node_modules/aria-query/lib/etc/roles/literal/applicationRole.js
var aX = R((Nb) => {
  "use strict";
  Object.defineProperty(Nb, "__esModule", {
    value: !0
  });
  Nb.default = void 0;
  var J6e = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-activedescendant": null,
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "Device Independence Delivery Unit"
      }
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure"]]
  }, Q3t = Nb.default = J6e;
});

// ../node_modules/aria-query/lib/etc/roles/literal/articleRole.js
var iX = R((Lb) => {
  "use strict";
  Object.defineProperty(Lb, "__esModule", {
    value: !0
  });
  Lb.default = void 0;
  var Q6e = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-posinset": null,
      "aria-setsize": null
    },
    relatedConcepts: [{
      concept: {
        name: "article"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "document"]]
  }, eTt = Lb.default = Q6e;
});

// ../node_modules/aria-query/lib/etc/roles/literal/bannerRole.js
var sX = R((kb) => {
  "use strict";
  Object.defineProperty(kb, "__esModule", {
    value: !0
  });
  kb.default = void 0;
  var Z6e = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [{
      concept: {
        constraints: ["scoped to the body element"],
        name: "header"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark"]]
  }, rTt = kb.default = Z6e;
});

// ../node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js
var lX = R((qb) => {
  "use strict";
  Object.defineProperty(qb, "__esModule", {
    value: !0
  });
  qb.default = void 0;
  var eIe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "blockquote"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, oTt = qb.default = eIe;
});

// ../node_modules/aria-query/lib/etc/roles/literal/buttonRole.js
var uX = R((Db) => {
  "use strict";
  Object.defineProperty(Db, "__esModule", {
    value: !0
  });
  Db.default = void 0;
  var tIe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !0,
    nameFrom: ["author", "contents"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-pressed": null
    },
    relatedConcepts: [{
      concept: {
        attributes: [{
          name: "type",
          value: "button"
        }],
        name: "input"
      },
      module: "HTML"
    }, {
      concept: {
        attributes: [{
          name: "type",
          value: "image"
        }],
        name: "input"
      },
      module: "HTML"
    }, {
      concept: {
        attributes: [{
          name: "type",
          value: "reset"
        }],
        name: "input"
      },
      module: "HTML"
    }, {
      concept: {
        attributes: [{
          name: "type",
          value: "submit"
        }],
        name: "input"
      },
      module: "HTML"
    }, {
      concept: {
        name: "button"
      },
      module: "HTML"
    }, {
      concept: {
        name: "trigger"
      },
      module: "XForms"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "widget", "command"]]
  }, iTt = Db.default = tIe;
});

// ../node_modules/aria-query/lib/etc/roles/literal/captionRole.js
var cX = R((Fb) => {
  "use strict";
  Object.defineProperty(Fb, "__esModule", {
    value: !0
  });
  Fb.default = void 0;
  var rIe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["prohibited"],
    prohibitedProps: ["aria-label", "aria-labelledby"],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "caption"
      },
      module: "HTML"
    }],
    requireContextRole: ["figure", "grid", "table"],
    requiredContextRole: ["figure", "grid", "table"],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, lTt = Fb.default = rIe;
});

// ../node_modules/aria-query/lib/etc/roles/literal/cellRole.js
var dX = R((jb) => {
  "use strict";
  Object.defineProperty(jb, "__esModule", {
    value: !0
  });
  jb.default = void 0;
  var nIe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author", "contents"],
    prohibitedProps: [],
    props: {
      "aria-colindex": null,
      "aria-colspan": null,
      "aria-rowindex": null,
      "aria-rowspan": null
    },
    relatedConcepts: [{
      concept: {
        constraints: ["ancestor table element has table role"],
        name: "td"
      },
      module: "HTML"
    }],
    requireContextRole: ["row"],
    requiredContextRole: ["row"],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, cTt = jb.default = nIe;
});

// ../node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js
var fX = R((Bb) => {
  "use strict";
  Object.defineProperty(Bb, "__esModule", {
    value: !0
  });
  Bb.default = void 0;
  var oIe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !0,
    nameFrom: ["author", "contents"],
    prohibitedProps: [],
    props: {
      "aria-checked": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-invalid": null,
      "aria-readonly": null,
      "aria-required": null
    },
    relatedConcepts: [{
      concept: {
        attributes: [{
          name: "type",
          value: "checkbox"
        }],
        name: "input"
      },
      module: "HTML"
    }, {
      concept: {
        name: "option"
      },
      module: "ARIA"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {
      "aria-checked": null
    },
    superClass: [["roletype", "widget", "input"]]
  }, fTt = Bb.default = oIe;
});

// ../node_modules/aria-query/lib/etc/roles/literal/codeRole.js
var pX = R(($b) => {
  "use strict";
  Object.defineProperty($b, "__esModule", {
    value: !0
  });
  $b.default = void 0;
  var aIe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["prohibited"],
    prohibitedProps: ["aria-label", "aria-labelledby"],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "code"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, mTt = $b.default = aIe;
});

// ../node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js
var mX = R((Hb) => {
  "use strict";
  Object.defineProperty(Hb, "__esModule", {
    value: !0
  });
  Hb.default = void 0;
  var iIe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author", "contents"],
    prohibitedProps: [],
    props: {
      "aria-sort": null
    },
    relatedConcepts: [{
      concept: {
        name: "th"
      },
      module: "HTML"
    }, {
      concept: {
        attributes: [{
          name: "scope",
          value: "col"
        }],
        name: "th"
      },
      module: "HTML"
    }, {
      concept: {
        attributes: [{
          name: "scope",
          value: "colgroup"
        }],
        name: "th"
      },
      module: "HTML"
    }],
    requireContextRole: ["row"],
    requiredContextRole: ["row"],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "cell"], ["roletype", "structure", "section", "cell", "gridcell"], ["roletype", "widge\
t", "gridcell"], ["roletype", "structure", "sectionhead"]]
  }, gTt = Hb.default = iIe;
});

// ../node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js
var hX = R((zb) => {
  "use strict";
  Object.defineProperty(zb, "__esModule", {
    value: !0
  });
  zb.default = void 0;
  var sIe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-activedescendant": null,
      "aria-autocomplete": null,
      "aria-errormessage": null,
      "aria-invalid": null,
      "aria-readonly": null,
      "aria-required": null,
      "aria-expanded": "false",
      "aria-haspopup": "listbox"
    },
    relatedConcepts: [{
      concept: {
        attributes: [{
          constraints: ["set"],
          name: "list"
        }, {
          name: "type",
          value: "email"
        }],
        name: "input"
      },
      module: "HTML"
    }, {
      concept: {
        attributes: [{
          constraints: ["set"],
          name: "list"
        }, {
          name: "type",
          value: "search"
        }],
        name: "input"
      },
      module: "HTML"
    }, {
      concept: {
        attributes: [{
          constraints: ["set"],
          name: "list"
        }, {
          name: "type",
          value: "tel"
        }],
        name: "input"
      },
      module: "HTML"
    }, {
      concept: {
        attributes: [{
          constraints: ["set"],
          name: "list"
        }, {
          name: "type",
          value: "text"
        }],
        name: "input"
      },
      module: "HTML"
    }, {
      concept: {
        attributes: [{
          constraints: ["set"],
          name: "list"
        }, {
          name: "type",
          value: "url"
        }],
        name: "input"
      },
      module: "HTML"
    }, {
      concept: {
        attributes: [{
          constraints: ["set"],
          name: "list"
        }, {
          name: "type",
          value: "url"
        }],
        name: "input"
      },
      module: "HTML"
    }, {
      concept: {
        attributes: [{
          constraints: ["undefined"],
          name: "multiple"
        }, {
          constraints: ["undefined"],
          name: "size"
        }],
        constraints: ["the multiple attribute is not set and the size attribute does not have a value greater than 1"],
        name: "select"
      },
      module: "HTML"
    }, {
      concept: {
        name: "select"
      },
      module: "XForms"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {
      "aria-controls": null,
      "aria-expanded": "false"
    },
    superClass: [["roletype", "widget", "input"]]
  }, vTt = zb.default = sIe;
});

// ../node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js
var gX = R((Ub) => {
  "use strict";
  Object.defineProperty(Ub, "__esModule", {
    value: !0
  });
  Ub.default = void 0;
  var lIe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [{
      concept: {
        constraints: ["scoped to the body element", "scoped to the main element"],
        name: "aside"
      },
      module: "HTML"
    }, {
      concept: {
        attributes: [{
          constraints: ["set"],
          name: "aria-label"
        }],
        constraints: ["scoped to a sectioning content element", "scoped to a sectioning root element other than body"],
        name: "aside"
      },
      module: "HTML"
    }, {
      concept: {
        attributes: [{
          constraints: ["set"],
          name: "aria-labelledby"
        }],
        constraints: ["scoped to a sectioning content element", "scoped to a sectioning root element other than body"],
        name: "aside"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark"]]
  }, wTt = Ub.default = lIe;
});

// ../node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js
var yX = R((Vb) => {
  "use strict";
  Object.defineProperty(Vb, "__esModule", {
    value: !0
  });
  Vb.default = void 0;
  var uIe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [{
      concept: {
        constraints: ["scoped to the body element"],
        name: "footer"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark"]]
  }, RTt = Vb.default = uIe;
});

// ../node_modules/aria-query/lib/etc/roles/literal/definitionRole.js
var vX = R((Wb) => {
  "use strict";
  Object.defineProperty(Wb, "__esModule", {
    value: !0
  });
  Wb.default = void 0;
  var cIe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "dd"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, STt = Wb.default = cIe;
});

// ../node_modules/aria-query/lib/etc/roles/literal/deletionRole.js
var bX = R((Gb) => {
  "use strict";
  Object.defineProperty(Gb, "__esModule", {
    value: !0
  });
  Gb.default = void 0;
  var dIe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["prohibited"],
    prohibitedProps: ["aria-label", "aria-labelledby"],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "del"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, _Tt = Gb.default = dIe;
});

// ../node_modules/aria-query/lib/etc/roles/literal/dialogRole.js
var wX = R((Yb) => {
  "use strict";
  Object.defineProperty(Yb, "__esModule", {
    value: !0
  });
  Yb.default = void 0;
  var fIe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "dialog"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "window"]]
  }, TTt = Yb.default = fIe;
});

// ../node_modules/aria-query/lib/etc/roles/literal/directoryRole.js
var EX = R((Kb) => {
  "use strict";
  Object.defineProperty(Kb, "__esModule", {
    value: !0
  });
  Kb.default = void 0;
  var pIe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [{
      module: "DAISY Guide"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "list"]]
  }, OTt = Kb.default = pIe;
});

// ../node_modules/aria-query/lib/etc/roles/literal/documentRole.js
var RX = R((Xb) => {
  "use strict";
  Object.defineProperty(Xb, "__esModule", {
    value: !0
  });
  Xb.default = void 0;
  var mIe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "Device Independence Delivery Unit"
      }
    }, {
      concept: {
        name: "html"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure"]]
  }, MTt = Xb.default = mIe;
});

// ../node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js
var xX = R((Jb) => {
  "use strict";
  Object.defineProperty(Jb, "__esModule", {
    value: !0
  });
  Jb.default = void 0;
  var hIe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["prohibited"],
    prohibitedProps: ["aria-label", "aria-labelledby"],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "em"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, LTt = Jb.default = hIe;
});

// ../node_modules/aria-query/lib/etc/roles/literal/feedRole.js
var SX = R((Qb) => {
  "use strict";
  Object.defineProperty(Qb, "__esModule", {
    value: !0
  });
  Qb.default = void 0;
  var gIe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [["article"]],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "list"]]
  }, qTt = Qb.default = gIe;
});

// ../node_modules/aria-query/lib/etc/roles/literal/figureRole.js
var CX = R((Zb) => {
  "use strict";
  Object.defineProperty(Zb, "__esModule", {
    value: !0
  });
  Zb.default = void 0;
  var yIe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "figure"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, FTt = Zb.default = yIe;
});

// ../node_modules/aria-query/lib/etc/roles/literal/formRole.js
var _X = R((e5) => {
  "use strict";
  Object.defineProperty(e5, "__esModule", {
    value: !0
  });
  e5.default = void 0;
  var vIe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [{
      concept: {
        attributes: [{
          constraints: ["set"],
          name: "aria-label"
        }],
        name: "form"
      },
      module: "HTML"
    }, {
      concept: {
        attributes: [{
          constraints: ["set"],
          name: "aria-labelledby"
        }],
        name: "form"
      },
      module: "HTML"
    }, {
      concept: {
        attributes: [{
          constraints: ["set"],
          name: "name"
        }],
        name: "form"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark"]]
  }, BTt = e5.default = vIe;
});

// ../node_modules/aria-query/lib/etc/roles/literal/genericRole.js
var PX = R((t5) => {
  "use strict";
  Object.defineProperty(t5, "__esModule", {
    value: !0
  });
  t5.default = void 0;
  var bIe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["prohibited"],
    prohibitedProps: ["aria-label", "aria-labelledby"],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "a"
      },
      module: "HTML"
    }, {
      concept: {
        name: "area"
      },
      module: "HTML"
    }, {
      concept: {
        name: "aside"
      },
      module: "HTML"
    }, {
      concept: {
        name: "b"
      },
      module: "HTML"
    }, {
      concept: {
        name: "bdo"
      },
      module: "HTML"
    }, {
      concept: {
        name: "body"
      },
      module: "HTML"
    }, {
      concept: {
        name: "data"
      },
      module: "HTML"
    }, {
      concept: {
        name: "div"
      },
      module: "HTML"
    }, {
      concept: {
        constraints: ["scoped to the main element", "scoped to a sectioning content element", "scoped to a sectioning root element other tha\
n body"],
        name: "footer"
      },
      module: "HTML"
    }, {
      concept: {
        constraints: ["scoped to the main element", "scoped to a sectioning content element", "scoped to a sectioning root element other tha\
n body"],
        name: "header"
      },
      module: "HTML"
    }, {
      concept: {
        name: "hgroup"
      },
      module: "HTML"
    }, {
      concept: {
        name: "i"
      },
      module: "HTML"
    }, {
      concept: {
        name: "pre"
      },
      module: "HTML"
    }, {
      concept: {
        name: "q"
      },
      module: "HTML"
    }, {
      concept: {
        name: "samp"
      },
      module: "HTML"
    }, {
      concept: {
        name: "section"
      },
      module: "HTML"
    }, {
      concept: {
        name: "small"
      },
      module: "HTML"
    }, {
      concept: {
        name: "span"
      },
      module: "HTML"
    }, {
      concept: {
        name: "u"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure"]]
  }, HTt = t5.default = bIe;
});

// ../node_modules/aria-query/lib/etc/roles/literal/gridRole.js
var TX = R((r5) => {
  "use strict";
  Object.defineProperty(r5, "__esModule", {
    value: !0
  });
  r5.default = void 0;
  var wIe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-multiselectable": null,
      "aria-readonly": null
    },
    relatedConcepts: [],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [["row"], ["row", "rowgroup"]],
    requiredProps: {},
    superClass: [["roletype", "widget", "composite"], ["roletype", "structure", "section", "table"]]
  }, UTt = r5.default = wIe;
});

// ../node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js
var AX = R((n5) => {
  "use strict";
  Object.defineProperty(n5, "__esModule", {
    value: !0
  });
  n5.default = void 0;
  var EIe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author", "contents"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null,
      "aria-readonly": null,
      "aria-required": null,
      "aria-selected": null
    },
    relatedConcepts: [{
      concept: {
        constraints: ["ancestor table element has grid role", "ancestor table element has treegrid role"],
        name: "td"
      },
      module: "HTML"
    }],
    requireContextRole: ["row"],
    requiredContextRole: ["row"],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "cell"], ["roletype", "widget"]]
  }, WTt = n5.default = EIe;
});

// ../node_modules/aria-query/lib/etc/roles/literal/groupRole.js
var OX = R((o5) => {
  "use strict";
  Object.defineProperty(o5, "__esModule", {
    value: !0
  });
  o5.default = void 0;
  var RIe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-activedescendant": null,
      "aria-disabled": null
    },
    relatedConcepts: [{
      concept: {
        name: "details"
      },
      module: "HTML"
    }, {
      concept: {
        name: "fieldset"
      },
      module: "HTML"
    }, {
      concept: {
        name: "optgroup"
      },
      module: "HTML"
    }, {
      concept: {
        name: "address"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, YTt = o5.default = RIe;
});

// ../node_modules/aria-query/lib/etc/roles/literal/headingRole.js
var IX = R((a5) => {
  "use strict";
  Object.defineProperty(a5, "__esModule", {
    value: !0
  });
  a5.default = void 0;
  var xIe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author", "contents"],
    prohibitedProps: [],
    props: {
      "aria-level": "2"
    },
    relatedConcepts: [{
      concept: {
        name: "h1"
      },
      module: "HTML"
    }, {
      concept: {
        name: "h2"
      },
      module: "HTML"
    }, {
      concept: {
        name: "h3"
      },
      module: "HTML"
    }, {
      concept: {
        name: "h4"
      },
      module: "HTML"
    }, {
      concept: {
        name: "h5"
      },
      module: "HTML"
    }, {
      concept: {
        name: "h6"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {
      "aria-level": "2"
    },
    superClass: [["roletype", "structure", "sectionhead"]]
  }, XTt = a5.default = xIe;
});

// ../node_modules/aria-query/lib/etc/roles/literal/imgRole.js
var MX = R((i5) => {
  "use strict";
  Object.defineProperty(i5, "__esModule", {
    value: !0
  });
  i5.default = void 0;
  var SIe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !0,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [{
      concept: {
        attributes: [{
          constraints: ["set"],
          name: "alt"
        }],
        name: "img"
      },
      module: "HTML"
    }, {
      concept: {
        attributes: [{
          constraints: ["undefined"],
          name: "alt"
        }],
        name: "img"
      },
      module: "HTML"
    }, {
      concept: {
        name: "imggroup"
      },
      module: "DTB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, QTt = i5.default = SIe;
});

// ../node_modules/aria-query/lib/etc/roles/literal/insertionRole.js
var NX = R((s5) => {
  "use strict";
  Object.defineProperty(s5, "__esModule", {
    value: !0
  });
  s5.default = void 0;
  var CIe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["prohibited"],
    prohibitedProps: ["aria-label", "aria-labelledby"],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "ins"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, eAt = s5.default = CIe;
});

// ../node_modules/aria-query/lib/etc/roles/literal/linkRole.js
var LX = R((l5) => {
  "use strict";
  Object.defineProperty(l5, "__esModule", {
    value: !0
  });
  l5.default = void 0;
  var _Ie = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author", "contents"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-expanded": null,
      "aria-haspopup": null
    },
    relatedConcepts: [{
      concept: {
        attributes: [{
          constraints: ["set"],
          name: "href"
        }],
        name: "a"
      },
      module: "HTML"
    }, {
      concept: {
        attributes: [{
          constraints: ["set"],
          name: "href"
        }],
        name: "area"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "widget", "command"]]
  }, rAt = l5.default = _Ie;
});

// ../node_modules/aria-query/lib/etc/roles/literal/listRole.js
var kX = R((u5) => {
  "use strict";
  Object.defineProperty(u5, "__esModule", {
    value: !0
  });
  u5.default = void 0;
  var PIe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "menu"
      },
      module: "HTML"
    }, {
      concept: {
        name: "ol"
      },
      module: "HTML"
    }, {
      concept: {
        name: "ul"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [["listitem"]],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, oAt = u5.default = PIe;
});

// ../node_modules/aria-query/lib/etc/roles/literal/listboxRole.js
var qX = R((c5) => {
  "use strict";
  Object.defineProperty(c5, "__esModule", {
    value: !0
  });
  c5.default = void 0;
  var TIe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-invalid": null,
      "aria-multiselectable": null,
      "aria-readonly": null,
      "aria-required": null,
      "aria-orientation": "vertical"
    },
    relatedConcepts: [{
      concept: {
        attributes: [{
          constraints: [">1"],
          name: "size"
        }],
        constraints: ["the size attribute value is greater than 1"],
        name: "select"
      },
      module: "HTML"
    }, {
      concept: {
        attributes: [{
          name: "multiple"
        }],
        name: "select"
      },
      module: "HTML"
    }, {
      concept: {
        name: "datalist"
      },
      module: "HTML"
    }, {
      concept: {
        name: "list"
      },
      module: "ARIA"
    }, {
      concept: {
        name: "select"
      },
      module: "XForms"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [["option", "group"], ["option"]],
    requiredProps: {},
    superClass: [["roletype", "widget", "composite", "select"], ["roletype", "structure", "section", "group", "select"]]
  }, iAt = c5.default = TIe;
});

// ../node_modules/aria-query/lib/etc/roles/literal/listitemRole.js
var DX = R((d5) => {
  "use strict";
  Object.defineProperty(d5, "__esModule", {
    value: !0
  });
  d5.default = void 0;
  var AIe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-level": null,
      "aria-posinset": null,
      "aria-setsize": null
    },
    relatedConcepts: [{
      concept: {
        constraints: ["direct descendant of ol", "direct descendant of ul", "direct descendant of menu"],
        name: "li"
      },
      module: "HTML"
    }, {
      concept: {
        name: "item"
      },
      module: "XForms"
    }],
    requireContextRole: ["directory", "list"],
    requiredContextRole: ["directory", "list"],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, lAt = d5.default = AIe;
});

// ../node_modules/aria-query/lib/etc/roles/literal/logRole.js
var FX = R((f5) => {
  "use strict";
  Object.defineProperty(f5, "__esModule", {
    value: !0
  });
  f5.default = void 0;
  var OIe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-live": "polite"
    },
    relatedConcepts: [],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, cAt = f5.default = OIe;
});

// ../node_modules/aria-query/lib/etc/roles/literal/mainRole.js
var jX = R((p5) => {
  "use strict";
  Object.defineProperty(p5, "__esModule", {
    value: !0
  });
  p5.default = void 0;
  var IIe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "main"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark"]]
  }, fAt = p5.default = IIe;
});

// ../node_modules/aria-query/lib/etc/roles/literal/markRole.js
var BX = R((m5) => {
  "use strict";
  Object.defineProperty(m5, "__esModule", {
    value: !0
  });
  m5.default = void 0;
  var MIe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["prohibited"],
    prohibitedProps: [],
    props: {
      "aria-braillelabel": null,
      "aria-brailleroledescription": null,
      "aria-description": null
    },
    relatedConcepts: [{
      concept: {
        name: "mark"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, mAt = m5.default = MIe;
});

// ../node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js
var $X = R((h5) => {
  "use strict";
  Object.defineProperty(h5, "__esModule", {
    value: !0
  });
  h5.default = void 0;
  var NIe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, gAt = h5.default = NIe;
});

// ../node_modules/aria-query/lib/etc/roles/literal/mathRole.js
var HX = R((g5) => {
  "use strict";
  Object.defineProperty(g5, "__esModule", {
    value: !0
  });
  g5.default = void 0;
  var LIe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "math"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, vAt = g5.default = LIe;
});

// ../node_modules/aria-query/lib/etc/roles/literal/menuRole.js
var zX = R((y5) => {
  "use strict";
  Object.defineProperty(y5, "__esModule", {
    value: !0
  });
  y5.default = void 0;
  var kIe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-orientation": "vertical"
    },
    relatedConcepts: [{
      concept: {
        name: "MENU"
      },
      module: "JAPI"
    }, {
      concept: {
        name: "list"
      },
      module: "ARIA"
    }, {
      concept: {
        name: "select"
      },
      module: "XForms"
    }, {
      concept: {
        name: "sidebar"
      },
      module: "DTB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [["menuitem", "group"], ["menuitemradio", "group"], ["menuitemcheckbox", "group"], ["menuitem"], ["menuitemcheckb\
ox"], ["menuitemradio"]],
    requiredProps: {},
    superClass: [["roletype", "widget", "composite", "select"], ["roletype", "structure", "section", "group", "select"]]
  }, wAt = y5.default = kIe;
});

// ../node_modules/aria-query/lib/etc/roles/literal/menubarRole.js
var UX = R((v5) => {
  "use strict";
  Object.defineProperty(v5, "__esModule", {
    value: !0
  });
  v5.default = void 0;
  var qIe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-orientation": "horizontal"
    },
    relatedConcepts: [{
      concept: {
        name: "toolbar"
      },
      module: "ARIA"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [["menuitem", "group"], ["menuitemradio", "group"], ["menuitemcheckbox", "group"], ["menuitem"], ["menuitemcheckb\
ox"], ["menuitemradio"]],
    requiredProps: {},
    superClass: [["roletype", "widget", "composite", "select", "menu"], ["roletype", "structure", "section", "group", "select", "menu"]]
  }, RAt = v5.default = qIe;
});

// ../node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js
var VX = R((b5) => {
  "use strict";
  Object.defineProperty(b5, "__esModule", {
    value: !0
  });
  b5.default = void 0;
  var DIe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author", "contents"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-posinset": null,
      "aria-setsize": null
    },
    relatedConcepts: [{
      concept: {
        name: "MENU_ITEM"
      },
      module: "JAPI"
    }, {
      concept: {
        name: "listitem"
      },
      module: "ARIA"
    }, {
      concept: {
        name: "option"
      },
      module: "ARIA"
    }],
    requireContextRole: ["group", "menu", "menubar"],
    requiredContextRole: ["group", "menu", "menubar"],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "widget", "command"]]
  }, SAt = b5.default = DIe;
});

// ../node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js
var WX = R((w5) => {
  "use strict";
  Object.defineProperty(w5, "__esModule", {
    value: !0
  });
  w5.default = void 0;
  var FIe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !0,
    nameFrom: ["author", "contents"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "menuitem"
      },
      module: "ARIA"
    }],
    requireContextRole: ["group", "menu", "menubar"],
    requiredContextRole: ["group", "menu", "menubar"],
    requiredOwnedElements: [],
    requiredProps: {
      "aria-checked": null
    },
    superClass: [["roletype", "widget", "input", "checkbox"], ["roletype", "widget", "command", "menuitem"]]
  }, _At = w5.default = FIe;
});

// ../node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js
var GX = R((E5) => {
  "use strict";
  Object.defineProperty(E5, "__esModule", {
    value: !0
  });
  E5.default = void 0;
  var jIe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !0,
    nameFrom: ["author", "contents"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "menuitem"
      },
      module: "ARIA"
    }],
    requireContextRole: ["group", "menu", "menubar"],
    requiredContextRole: ["group", "menu", "menubar"],
    requiredOwnedElements: [],
    requiredProps: {
      "aria-checked": null
    },
    superClass: [["roletype", "widget", "input", "checkbox", "menuitemcheckbox"], ["roletype", "widget", "command", "menuitem", "menuitemche\
ckbox"], ["roletype", "widget", "input", "radio"]]
  }, TAt = E5.default = jIe;
});

// ../node_modules/aria-query/lib/etc/roles/literal/meterRole.js
var YX = R((R5) => {
  "use strict";
  Object.defineProperty(R5, "__esModule", {
    value: !0
  });
  R5.default = void 0;
  var BIe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !0,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-valuetext": null,
      "aria-valuemax": "100",
      "aria-valuemin": "0"
    },
    relatedConcepts: [{
      concept: {
        name: "meter"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {
      "aria-valuenow": null
    },
    superClass: [["roletype", "structure", "range"]]
  }, OAt = R5.default = BIe;
});

// ../node_modules/aria-query/lib/etc/roles/literal/navigationRole.js
var KX = R((x5) => {
  "use strict";
  Object.defineProperty(x5, "__esModule", {
    value: !0
  });
  x5.default = void 0;
  var $Ie = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "nav"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark"]]
  }, MAt = x5.default = $Ie;
});

// ../node_modules/aria-query/lib/etc/roles/literal/noneRole.js
var XX = R((S5) => {
  "use strict";
  Object.defineProperty(S5, "__esModule", {
    value: !0
  });
  S5.default = void 0;
  var HIe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: [],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: []
  }, LAt = S5.default = HIe;
});

// ../node_modules/aria-query/lib/etc/roles/literal/noteRole.js
var JX = R((C5) => {
  "use strict";
  Object.defineProperty(C5, "__esModule", {
    value: !0
  });
  C5.default = void 0;
  var zIe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, qAt = C5.default = zIe;
});

// ../node_modules/aria-query/lib/etc/roles/literal/optionRole.js
var QX = R((_5) => {
  "use strict";
  Object.defineProperty(_5, "__esModule", {
    value: !0
  });
  _5.default = void 0;
  var UIe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !0,
    nameFrom: ["author", "contents"],
    prohibitedProps: [],
    props: {
      "aria-checked": null,
      "aria-posinset": null,
      "aria-setsize": null,
      "aria-selected": "false"
    },
    relatedConcepts: [{
      concept: {
        name: "item"
      },
      module: "XForms"
    }, {
      concept: {
        name: "listitem"
      },
      module: "ARIA"
    }, {
      concept: {
        name: "option"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {
      "aria-selected": "false"
    },
    superClass: [["roletype", "widget", "input"]]
  }, FAt = _5.default = UIe;
});

// ../node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js
var ZX = R((P5) => {
  "use strict";
  Object.defineProperty(P5, "__esModule", {
    value: !0
  });
  P5.default = void 0;
  var VIe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["prohibited"],
    prohibitedProps: ["aria-label", "aria-labelledby"],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "p"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, BAt = P5.default = VIe;
});

// ../node_modules/aria-query/lib/etc/roles/literal/presentationRole.js
var eJ = R((T5) => {
  "use strict";
  Object.defineProperty(T5, "__esModule", {
    value: !0
  });
  T5.default = void 0;
  var WIe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["prohibited"],
    prohibitedProps: ["aria-label", "aria-labelledby"],
    props: {},
    relatedConcepts: [{
      concept: {
        attributes: [{
          name: "alt",
          value: ""
        }],
        name: "img"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure"]]
  }, HAt = T5.default = WIe;
});

// ../node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js
var tJ = R((A5) => {
  "use strict";
  Object.defineProperty(A5, "__esModule", {
    value: !0
  });
  A5.default = void 0;
  var GIe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !0,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-valuetext": null
    },
    relatedConcepts: [{
      concept: {
        name: "progress"
      },
      module: "HTML"
    }, {
      concept: {
        name: "status"
      },
      module: "ARIA"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "range"], ["roletype", "widget"]]
  }, UAt = A5.default = GIe;
});

// ../node_modules/aria-query/lib/etc/roles/literal/radioRole.js
var rJ = R((O5) => {
  "use strict";
  Object.defineProperty(O5, "__esModule", {
    value: !0
  });
  O5.default = void 0;
  var YIe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !0,
    nameFrom: ["author", "contents"],
    prohibitedProps: [],
    props: {
      "aria-checked": null,
      "aria-posinset": null,
      "aria-setsize": null
    },
    relatedConcepts: [{
      concept: {
        attributes: [{
          name: "type",
          value: "radio"
        }],
        name: "input"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {
      "aria-checked": null
    },
    superClass: [["roletype", "widget", "input"]]
  }, WAt = O5.default = YIe;
});

// ../node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js
var nJ = R((I5) => {
  "use strict";
  Object.defineProperty(I5, "__esModule", {
    value: !0
  });
  I5.default = void 0;
  var KIe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-errormessage": null,
      "aria-invalid": null,
      "aria-readonly": null,
      "aria-required": null
    },
    relatedConcepts: [{
      concept: {
        name: "list"
      },
      module: "ARIA"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [["radio"]],
    requiredProps: {},
    superClass: [["roletype", "widget", "composite", "select"], ["roletype", "structure", "section", "group", "select"]]
  }, YAt = I5.default = KIe;
});

// ../node_modules/aria-query/lib/etc/roles/literal/regionRole.js
var oJ = R((M5) => {
  "use strict";
  Object.defineProperty(M5, "__esModule", {
    value: !0
  });
  M5.default = void 0;
  var XIe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [{
      concept: {
        attributes: [{
          constraints: ["set"],
          name: "aria-label"
        }],
        name: "section"
      },
      module: "HTML"
    }, {
      concept: {
        attributes: [{
          constraints: ["set"],
          name: "aria-labelledby"
        }],
        name: "section"
      },
      module: "HTML"
    }, {
      concept: {
        name: "Device Independence Glossart perceivable unit"
      }
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark"]]
  }, XAt = M5.default = XIe;
});

// ../node_modules/aria-query/lib/etc/roles/literal/rowRole.js
var aJ = R((N5) => {
  "use strict";
  Object.defineProperty(N5, "__esModule", {
    value: !0
  });
  N5.default = void 0;
  var JIe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author", "contents"],
    prohibitedProps: [],
    props: {
      "aria-colindex": null,
      "aria-expanded": null,
      "aria-level": null,
      "aria-posinset": null,
      "aria-rowindex": null,
      "aria-selected": null,
      "aria-setsize": null
    },
    relatedConcepts: [{
      concept: {
        name: "tr"
      },
      module: "HTML"
    }],
    requireContextRole: ["grid", "rowgroup", "table", "treegrid"],
    requiredContextRole: ["grid", "rowgroup", "table", "treegrid"],
    requiredOwnedElements: [["cell"], ["columnheader"], ["gridcell"], ["rowheader"]],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "group"], ["roletype", "widget"]]
  }, QAt = N5.default = JIe;
});

// ../node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js
var iJ = R((L5) => {
  "use strict";
  Object.defineProperty(L5, "__esModule", {
    value: !0
  });
  L5.default = void 0;
  var QIe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author", "contents"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "tbody"
      },
      module: "HTML"
    }, {
      concept: {
        name: "tfoot"
      },
      module: "HTML"
    }, {
      concept: {
        name: "thead"
      },
      module: "HTML"
    }],
    requireContextRole: ["grid", "table", "treegrid"],
    requiredContextRole: ["grid", "table", "treegrid"],
    requiredOwnedElements: [["row"]],
    requiredProps: {},
    superClass: [["roletype", "structure"]]
  }, e7t = L5.default = QIe;
});

// ../node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js
var sJ = R((k5) => {
  "use strict";
  Object.defineProperty(k5, "__esModule", {
    value: !0
  });
  k5.default = void 0;
  var ZIe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author", "contents"],
    prohibitedProps: [],
    props: {
      "aria-sort": null
    },
    relatedConcepts: [{
      concept: {
        attributes: [{
          name: "scope",
          value: "row"
        }],
        name: "th"
      },
      module: "HTML"
    }, {
      concept: {
        attributes: [{
          name: "scope",
          value: "rowgroup"
        }],
        name: "th"
      },
      module: "HTML"
    }],
    requireContextRole: ["row", "rowgroup"],
    requiredContextRole: ["row", "rowgroup"],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "cell"], ["roletype", "structure", "section", "cell", "gridcell"], ["roletype", "widge\
t", "gridcell"], ["roletype", "structure", "sectionhead"]]
  }, r7t = k5.default = ZIe;
});

// ../node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js
var lJ = R((q5) => {
  "use strict";
  Object.defineProperty(q5, "__esModule", {
    value: !0
  });
  q5.default = void 0;
  var e8e = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !0,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-valuetext": null,
      "aria-orientation": "vertical",
      "aria-valuemax": "100",
      "aria-valuemin": "0"
    },
    relatedConcepts: [],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {
      "aria-controls": null,
      "aria-valuenow": null
    },
    superClass: [["roletype", "structure", "range"], ["roletype", "widget"]]
  }, o7t = q5.default = e8e;
});

// ../node_modules/aria-query/lib/etc/roles/literal/searchRole.js
var uJ = R((D5) => {
  "use strict";
  Object.defineProperty(D5, "__esModule", {
    value: !0
  });
  D5.default = void 0;
  var t8e = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark"]]
  }, i7t = D5.default = t8e;
});

// ../node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js
var cJ = R((F5) => {
  "use strict";
  Object.defineProperty(F5, "__esModule", {
    value: !0
  });
  F5.default = void 0;
  var r8e = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [{
      concept: {
        attributes: [{
          constraints: ["undefined"],
          name: "list"
        }, {
          name: "type",
          value: "search"
        }],
        constraints: ["the list attribute is not set"],
        name: "input"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "widget", "input", "textbox"]]
  }, l7t = F5.default = r8e;
});

// ../node_modules/aria-query/lib/etc/roles/literal/separatorRole.js
var dJ = R((j5) => {
  "use strict";
  Object.defineProperty(j5, "__esModule", {
    value: !0
  });
  j5.default = void 0;
  var n8e = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !0,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-orientation": "horizontal",
      "aria-valuemax": "100",
      "aria-valuemin": "0",
      "aria-valuenow": null,
      "aria-valuetext": null
    },
    relatedConcepts: [{
      concept: {
        name: "hr"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure"]]
  }, c7t = j5.default = n8e;
});

// ../node_modules/aria-query/lib/etc/roles/literal/sliderRole.js
var fJ = R((B5) => {
  "use strict";
  Object.defineProperty(B5, "__esModule", {
    value: !0
  });
  B5.default = void 0;
  var o8e = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !0,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-errormessage": null,
      "aria-haspopup": null,
      "aria-invalid": null,
      "aria-readonly": null,
      "aria-valuetext": null,
      "aria-orientation": "horizontal",
      "aria-valuemax": "100",
      "aria-valuemin": "0"
    },
    relatedConcepts: [{
      concept: {
        attributes: [{
          name: "type",
          value: "range"
        }],
        name: "input"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {
      "aria-valuenow": null
    },
    superClass: [["roletype", "widget", "input"], ["roletype", "structure", "range"]]
  }, f7t = B5.default = o8e;
});

// ../node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js
var pJ = R(($5) => {
  "use strict";
  Object.defineProperty($5, "__esModule", {
    value: !0
  });
  $5.default = void 0;
  var a8e = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-errormessage": null,
      "aria-invalid": null,
      "aria-readonly": null,
      "aria-required": null,
      "aria-valuetext": null,
      "aria-valuenow": "0"
    },
    relatedConcepts: [{
      concept: {
        attributes: [{
          name: "type",
          value: "number"
        }],
        name: "input"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "widget", "composite"], ["roletype", "widget", "input"], ["roletype", "structure", "range"]]
  }, m7t = $5.default = a8e;
});

// ../node_modules/aria-query/lib/etc/roles/literal/statusRole.js
var mJ = R((H5) => {
  "use strict";
  Object.defineProperty(H5, "__esModule", {
    value: !0
  });
  H5.default = void 0;
  var i8e = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-atomic": "true",
      "aria-live": "polite"
    },
    relatedConcepts: [{
      concept: {
        name: "output"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, g7t = H5.default = i8e;
});

// ../node_modules/aria-query/lib/etc/roles/literal/strongRole.js
var hJ = R((z5) => {
  "use strict";
  Object.defineProperty(z5, "__esModule", {
    value: !0
  });
  z5.default = void 0;
  var s8e = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["prohibited"],
    prohibitedProps: ["aria-label", "aria-labelledby"],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "strong"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, v7t = z5.default = s8e;
});

// ../node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js
var gJ = R((U5) => {
  "use strict";
  Object.defineProperty(U5, "__esModule", {
    value: !0
  });
  U5.default = void 0;
  var l8e = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["prohibited"],
    prohibitedProps: ["aria-label", "aria-labelledby"],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "sub"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, w7t = U5.default = l8e;
});

// ../node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js
var yJ = R((V5) => {
  "use strict";
  Object.defineProperty(V5, "__esModule", {
    value: !0
  });
  V5.default = void 0;
  var u8e = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["prohibited"],
    prohibitedProps: ["aria-label", "aria-labelledby"],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "sup"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, R7t = V5.default = u8e;
});

// ../node_modules/aria-query/lib/etc/roles/literal/switchRole.js
var vJ = R((W5) => {
  "use strict";
  Object.defineProperty(W5, "__esModule", {
    value: !0
  });
  W5.default = void 0;
  var c8e = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !0,
    nameFrom: ["author", "contents"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "button"
      },
      module: "ARIA"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {
      "aria-checked": null
    },
    superClass: [["roletype", "widget", "input", "checkbox"]]
  }, S7t = W5.default = c8e;
});

// ../node_modules/aria-query/lib/etc/roles/literal/tabRole.js
var bJ = R((G5) => {
  "use strict";
  Object.defineProperty(G5, "__esModule", {
    value: !0
  });
  G5.default = void 0;
  var d8e = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !0,
    nameFrom: ["author", "contents"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-posinset": null,
      "aria-setsize": null,
      "aria-selected": "false"
    },
    relatedConcepts: [],
    requireContextRole: ["tablist"],
    requiredContextRole: ["tablist"],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "sectionhead"], ["roletype", "widget"]]
  }, _7t = G5.default = d8e;
});

// ../node_modules/aria-query/lib/etc/roles/literal/tableRole.js
var wJ = R((Y5) => {
  "use strict";
  Object.defineProperty(Y5, "__esModule", {
    value: !0
  });
  Y5.default = void 0;
  var f8e = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-colcount": null,
      "aria-rowcount": null
    },
    relatedConcepts: [{
      concept: {
        name: "table"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [["row"], ["row", "rowgroup"]],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, T7t = Y5.default = f8e;
});

// ../node_modules/aria-query/lib/etc/roles/literal/tablistRole.js
var EJ = R((K5) => {
  "use strict";
  Object.defineProperty(K5, "__esModule", {
    value: !0
  });
  K5.default = void 0;
  var p8e = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-level": null,
      "aria-multiselectable": null,
      "aria-orientation": "horizontal"
    },
    relatedConcepts: [{
      module: "DAISY",
      concept: {
        name: "guide"
      }
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [["tab"]],
    requiredProps: {},
    superClass: [["roletype", "widget", "composite"]]
  }, O7t = K5.default = p8e;
});

// ../node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js
var RJ = R((X5) => {
  "use strict";
  Object.defineProperty(X5, "__esModule", {
    value: !0
  });
  X5.default = void 0;
  var m8e = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, M7t = X5.default = m8e;
});

// ../node_modules/aria-query/lib/etc/roles/literal/termRole.js
var xJ = R((J5) => {
  "use strict";
  Object.defineProperty(J5, "__esModule", {
    value: !0
  });
  J5.default = void 0;
  var h8e = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "dfn"
      },
      module: "HTML"
    }, {
      concept: {
        name: "dt"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, L7t = J5.default = h8e;
});

// ../node_modules/aria-query/lib/etc/roles/literal/textboxRole.js
var SJ = R((Q5) => {
  "use strict";
  Object.defineProperty(Q5, "__esModule", {
    value: !0
  });
  Q5.default = void 0;
  var g8e = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-activedescendant": null,
      "aria-autocomplete": null,
      "aria-errormessage": null,
      "aria-haspopup": null,
      "aria-invalid": null,
      "aria-multiline": null,
      "aria-placeholder": null,
      "aria-readonly": null,
      "aria-required": null
    },
    relatedConcepts: [{
      concept: {
        attributes: [{
          constraints: ["undefined"],
          name: "type"
        }, {
          constraints: ["undefined"],
          name: "list"
        }],
        constraints: ["the list attribute is not set"],
        name: "input"
      },
      module: "HTML"
    }, {
      concept: {
        attributes: [{
          constraints: ["undefined"],
          name: "list"
        }, {
          name: "type",
          value: "email"
        }],
        constraints: ["the list attribute is not set"],
        name: "input"
      },
      module: "HTML"
    }, {
      concept: {
        attributes: [{
          constraints: ["undefined"],
          name: "list"
        }, {
          name: "type",
          value: "tel"
        }],
        constraints: ["the list attribute is not set"],
        name: "input"
      },
      module: "HTML"
    }, {
      concept: {
        attributes: [{
          constraints: ["undefined"],
          name: "list"
        }, {
          name: "type",
          value: "text"
        }],
        constraints: ["the list attribute is not set"],
        name: "input"
      },
      module: "HTML"
    }, {
      concept: {
        attributes: [{
          constraints: ["undefined"],
          name: "list"
        }, {
          name: "type",
          value: "url"
        }],
        constraints: ["the list attribute is not set"],
        name: "input"
      },
      module: "HTML"
    }, {
      concept: {
        name: "input"
      },
      module: "XForms"
    }, {
      concept: {
        name: "textarea"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "widget", "input"]]
  }, q7t = Q5.default = g8e;
});

// ../node_modules/aria-query/lib/etc/roles/literal/timeRole.js
var CJ = R((Z5) => {
  "use strict";
  Object.defineProperty(Z5, "__esModule", {
    value: !0
  });
  Z5.default = void 0;
  var y8e = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "time"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, F7t = Z5.default = y8e;
});

// ../node_modules/aria-query/lib/etc/roles/literal/timerRole.js
var _J = R((ew) => {
  "use strict";
  Object.defineProperty(ew, "__esModule", {
    value: !0
  });
  ew.default = void 0;
  var v8e = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "status"]]
  }, B7t = ew.default = v8e;
});

// ../node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js
var PJ = R((tw) => {
  "use strict";
  Object.defineProperty(tw, "__esModule", {
    value: !0
  });
  tw.default = void 0;
  var b8e = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-orientation": "horizontal"
    },
    relatedConcepts: [{
      concept: {
        name: "menubar"
      },
      module: "ARIA"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "group"]]
  }, H7t = tw.default = b8e;
});

// ../node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js
var TJ = R((rw) => {
  "use strict";
  Object.defineProperty(rw, "__esModule", {
    value: !0
  });
  rw.default = void 0;
  var w8e = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author", "contents"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, U7t = rw.default = w8e;
});

// ../node_modules/aria-query/lib/etc/roles/literal/treeRole.js
var AJ = R((nw) => {
  "use strict";
  Object.defineProperty(nw, "__esModule", {
    value: !0
  });
  nw.default = void 0;
  var E8e = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-errormessage": null,
      "aria-invalid": null,
      "aria-multiselectable": null,
      "aria-required": null,
      "aria-orientation": "vertical"
    },
    relatedConcepts: [],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [["treeitem", "group"], ["treeitem"]],
    requiredProps: {},
    superClass: [["roletype", "widget", "composite", "select"], ["roletype", "structure", "section", "group", "select"]]
  }, W7t = nw.default = E8e;
});

// ../node_modules/aria-query/lib/etc/roles/literal/treegridRole.js
var OJ = R((ow) => {
  "use strict";
  Object.defineProperty(ow, "__esModule", {
    value: !0
  });
  ow.default = void 0;
  var R8e = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [["row"], ["row", "rowgroup"]],
    requiredProps: {},
    superClass: [["roletype", "widget", "composite", "grid"], ["roletype", "structure", "section", "table", "grid"], ["roletype", "widget", "\
composite", "select", "tree"], ["roletype", "structure", "section", "group", "select", "tree"]]
  }, Y7t = ow.default = R8e;
});

// ../node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js
var IJ = R((aw) => {
  "use strict";
  Object.defineProperty(aw, "__esModule", {
    value: !0
  });
  aw.default = void 0;
  var x8e = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author", "contents"],
    prohibitedProps: [],
    props: {
      "aria-expanded": null,
      "aria-haspopup": null
    },
    relatedConcepts: [],
    requireContextRole: ["group", "tree"],
    requiredContextRole: ["group", "tree"],
    requiredOwnedElements: [],
    requiredProps: {
      "aria-selected": null
    },
    superClass: [["roletype", "structure", "section", "listitem"], ["roletype", "widget", "input", "option"]]
  }, X7t = aw.default = x8e;
});

// ../node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js
var MJ = R((iw) => {
  "use strict";
  Object.defineProperty(iw, "__esModule", {
    value: !0
  });
  iw.default = void 0;
  var S8e = Y(nX()), C8e = Y(oX()), _8e = Y(aX()), P8e = Y(iX()), T8e = Y(sX()), A8e = Y(lX()), O8e = Y(uX()), I8e = Y(cX()), M8e = Y(dX()),
  N8e = Y(fX()), L8e = Y(pX()), k8e = Y(mX()), q8e = Y(hX()), D8e = Y(gX()), F8e = Y(yX()), j8e = Y(vX()), B8e = Y(bX()), $8e = Y(wX()), H8e = Y(
  EX()), z8e = Y(RX()), U8e = Y(xX()), V8e = Y(SX()), W8e = Y(CX()), G8e = Y(_X()), Y8e = Y(PX()), K8e = Y(TX()), X8e = Y(AX()), J8e = Y(OX()),
  Q8e = Y(IX()), Z8e = Y(MX()), eMe = Y(NX()), tMe = Y(LX()), rMe = Y(kX()), nMe = Y(qX()), oMe = Y(DX()), aMe = Y(FX()), iMe = Y(jX()), sMe = Y(
  BX()), lMe = Y($X()), uMe = Y(HX()), cMe = Y(zX()), dMe = Y(UX()), fMe = Y(VX()), pMe = Y(WX()), mMe = Y(GX()), hMe = Y(YX()), gMe = Y(KX()),
  yMe = Y(XX()), vMe = Y(JX()), bMe = Y(QX()), wMe = Y(ZX()), EMe = Y(eJ()), RMe = Y(tJ()), xMe = Y(rJ()), SMe = Y(nJ()), CMe = Y(oJ()), _Me = Y(
  aJ()), PMe = Y(iJ()), TMe = Y(sJ()), AMe = Y(lJ()), OMe = Y(uJ()), IMe = Y(cJ()), MMe = Y(dJ()), NMe = Y(fJ()), LMe = Y(pJ()), kMe = Y(mJ()),
  qMe = Y(hJ()), DMe = Y(gJ()), FMe = Y(yJ()), jMe = Y(vJ()), BMe = Y(bJ()), $Me = Y(wJ()), HMe = Y(EJ()), zMe = Y(RJ()), UMe = Y(xJ()), VMe = Y(
  SJ()), WMe = Y(CJ()), GMe = Y(_J()), YMe = Y(PJ()), KMe = Y(TJ()), XMe = Y(AJ()), JMe = Y(OJ()), QMe = Y(IJ());
  function Y(e) {
    return e && e.__esModule ? e : { default: e };
  }
  a(Y, "_interopRequireDefault");
  var ZMe = [["alert", S8e.default], ["alertdialog", C8e.default], ["application", _8e.default], ["article", P8e.default], ["banner", T8e.default],
  ["blockquote", A8e.default], ["button", O8e.default], ["caption", I8e.default], ["cell", M8e.default], ["checkbox", N8e.default], ["code",
  L8e.default], ["columnheader", k8e.default], ["combobox", q8e.default], ["complementary", D8e.default], ["contentinfo", F8e.default], ["de\
finition", j8e.default], ["deletion", B8e.default], ["dialog", $8e.default], ["directory", H8e.default], ["document", z8e.default], ["emphas\
is", U8e.default], ["feed", V8e.default], ["figure", W8e.default], ["form", G8e.default], ["generic", Y8e.default], ["grid", K8e.default], [
  "gridcell", X8e.default], ["group", J8e.default], ["heading", Q8e.default], ["img", Z8e.default], ["insertion", eMe.default], ["link", tMe.
  default], ["list", rMe.default], ["listbox", nMe.default], ["listitem", oMe.default], ["log", aMe.default], ["main", iMe.default], ["mark",
  sMe.default], ["marquee", lMe.default], ["math", uMe.default], ["menu", cMe.default], ["menubar", dMe.default], ["menuitem", fMe.default],
  ["menuitemcheckbox", pMe.default], ["menuitemradio", mMe.default], ["meter", hMe.default], ["navigation", gMe.default], ["none", yMe.default],
  ["note", vMe.default], ["option", bMe.default], ["paragraph", wMe.default], ["presentation", EMe.default], ["progressbar", RMe.default], [
  "radio", xMe.default], ["radiogroup", SMe.default], ["region", CMe.default], ["row", _Me.default], ["rowgroup", PMe.default], ["rowheader",
  TMe.default], ["scrollbar", AMe.default], ["search", OMe.default], ["searchbox", IMe.default], ["separator", MMe.default], ["slider", NMe.
  default], ["spinbutton", LMe.default], ["status", kMe.default], ["strong", qMe.default], ["subscript", DMe.default], ["superscript", FMe.default],
  ["switch", jMe.default], ["tab", BMe.default], ["table", $Me.default], ["tablist", HMe.default], ["tabpanel", zMe.default], ["term", UMe.default],
  ["textbox", VMe.default], ["time", WMe.default], ["timer", GMe.default], ["toolbar", YMe.default], ["tooltip", KMe.default], ["tree", XMe.
  default], ["treegrid", JMe.default], ["treeitem", QMe.default]], Q7t = iw.default = ZMe;
});

// ../node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js
var NJ = R((sw) => {
  "use strict";
  Object.defineProperty(sw, "__esModule", {
    value: !0
  });
  sw.default = void 0;
  var eNe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "abstract [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, tOt = sw.default = eNe;
});

// ../node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js
var LJ = R((lw) => {
  "use strict";
  Object.defineProperty(lw, "__esModule", {
    value: !0
  });
  lw.default = void 0;
  var tNe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "acknowledgments [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark"]]
  }, nOt = lw.default = tNe;
});

// ../node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js
var kJ = R((uw) => {
  "use strict";
  Object.defineProperty(uw, "__esModule", {
    value: !0
  });
  uw.default = void 0;
  var rNe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "afterword [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark"]]
  }, aOt = uw.default = rNe;
});

// ../node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js
var qJ = R((cw) => {
  "use strict";
  Object.defineProperty(cw, "__esModule", {
    value: !0
  });
  cw.default = void 0;
  var nNe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "appendix [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark"]]
  }, sOt = cw.default = nNe;
});

// ../node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js
var DJ = R((dw) => {
  "use strict";
  Object.defineProperty(dw, "__esModule", {
    value: !0
  });
  dw.default = void 0;
  var oNe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author", "contents"],
    prohibitedProps: [],
    props: {
      "aria-errormessage": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "referrer [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "widget", "command", "link"]]
  }, uOt = dw.default = oNe;
});

// ../node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js
var FJ = R((fw) => {
  "use strict";
  Object.defineProperty(fw, "__esModule", {
    value: !0
  });
  fw.default = void 0;
  var aNe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "EPUB biblioentry [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: ["doc-bibliography"],
    requiredContextRole: ["doc-bibliography"],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "listitem"]]
  }, dOt = fw.default = aNe;
});

// ../node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js
var jJ = R((pw) => {
  "use strict";
  Object.defineProperty(pw, "__esModule", {
    value: !0
  });
  pw.default = void 0;
  var iNe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "bibliography [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [["doc-biblioentry"]],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark"]]
  }, pOt = pw.default = iNe;
});

// ../node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js
var BJ = R((mw) => {
  "use strict";
  Object.defineProperty(mw, "__esModule", {
    value: !0
  });
  mw.default = void 0;
  var sNe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author", "contents"],
    prohibitedProps: [],
    props: {
      "aria-errormessage": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "biblioref [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "widget", "command", "link"]]
  }, hOt = mw.default = sNe;
});

// ../node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js
var $J = R((hw) => {
  "use strict";
  Object.defineProperty(hw, "__esModule", {
    value: !0
  });
  hw.default = void 0;
  var lNe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "chapter [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark"]]
  }, yOt = hw.default = lNe;
});

// ../node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js
var HJ = R((gw) => {
  "use strict";
  Object.defineProperty(gw, "__esModule", {
    value: !0
  });
  gw.default = void 0;
  var uNe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "colophon [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, bOt = gw.default = uNe;
});

// ../node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js
var zJ = R((yw) => {
  "use strict";
  Object.defineProperty(yw, "__esModule", {
    value: !0
  });
  yw.default = void 0;
  var cNe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "conclusion [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark"]]
  }, EOt = yw.default = cNe;
});

// ../node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js
var UJ = R((vw) => {
  "use strict";
  Object.defineProperty(vw, "__esModule", {
    value: !0
  });
  vw.default = void 0;
  var dNe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "cover [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "img"]]
  }, xOt = vw.default = dNe;
});

// ../node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js
var VJ = R((bw) => {
  "use strict";
  Object.defineProperty(bw, "__esModule", {
    value: !0
  });
  bw.default = void 0;
  var fNe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "credit [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, COt = bw.default = fNe;
});

// ../node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js
var WJ = R((ww) => {
  "use strict";
  Object.defineProperty(ww, "__esModule", {
    value: !0
  });
  ww.default = void 0;
  var pNe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "credits [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark"]]
  }, POt = ww.default = pNe;
});

// ../node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js
var GJ = R((Ew) => {
  "use strict";
  Object.defineProperty(Ew, "__esModule", {
    value: !0
  });
  Ew.default = void 0;
  var mNe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "dedication [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, AOt = Ew.default = mNe;
});

// ../node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js
var YJ = R((Rw) => {
  "use strict";
  Object.defineProperty(Rw, "__esModule", {
    value: !0
  });
  Rw.default = void 0;
  var hNe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "rearnote [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: ["doc-endnotes"],
    requiredContextRole: ["doc-endnotes"],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "listitem"]]
  }, IOt = Rw.default = hNe;
});

// ../node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js
var KJ = R((xw) => {
  "use strict";
  Object.defineProperty(xw, "__esModule", {
    value: !0
  });
  xw.default = void 0;
  var gNe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "rearnotes [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [["doc-endnote"]],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark"]]
  }, NOt = xw.default = gNe;
});

// ../node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js
var XJ = R((Sw) => {
  "use strict";
  Object.defineProperty(Sw, "__esModule", {
    value: !0
  });
  Sw.default = void 0;
  var yNe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "epigraph [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, kOt = Sw.default = yNe;
});

// ../node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js
var JJ = R((Cw) => {
  "use strict";
  Object.defineProperty(Cw, "__esModule", {
    value: !0
  });
  Cw.default = void 0;
  var vNe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "epilogue [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark"]]
  }, DOt = Cw.default = vNe;
});

// ../node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js
var QJ = R((_w) => {
  "use strict";
  Object.defineProperty(_w, "__esModule", {
    value: !0
  });
  _w.default = void 0;
  var bNe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "errata [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark"]]
  }, jOt = _w.default = bNe;
});

// ../node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js
var ZJ = R((Pw) => {
  "use strict";
  Object.defineProperty(Pw, "__esModule", {
    value: !0
  });
  Pw.default = void 0;
  var wNe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, $Ot = Pw.default = wNe;
});

// ../node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js
var eQ = R((Tw) => {
  "use strict";
  Object.defineProperty(Tw, "__esModule", {
    value: !0
  });
  Tw.default = void 0;
  var ENe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "footnote [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, zOt = Tw.default = ENe;
});

// ../node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js
var tQ = R((Aw) => {
  "use strict";
  Object.defineProperty(Aw, "__esModule", {
    value: !0
  });
  Aw.default = void 0;
  var RNe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "foreword [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark"]]
  }, VOt = Aw.default = RNe;
});

// ../node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js
var rQ = R((Ow) => {
  "use strict";
  Object.defineProperty(Ow, "__esModule", {
    value: !0
  });
  Ow.default = void 0;
  var xNe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "glossary [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [["definition"], ["term"]],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark"]]
  }, GOt = Ow.default = xNe;
});

// ../node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js
var nQ = R((Iw) => {
  "use strict";
  Object.defineProperty(Iw, "__esModule", {
    value: !0
  });
  Iw.default = void 0;
  var SNe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author", "contents"],
    prohibitedProps: [],
    props: {
      "aria-errormessage": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "glossref [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "widget", "command", "link"]]
  }, KOt = Iw.default = SNe;
});

// ../node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js
var oQ = R((Mw) => {
  "use strict";
  Object.defineProperty(Mw, "__esModule", {
    value: !0
  });
  Mw.default = void 0;
  var CNe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "index [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark", "navigation"]]
  }, JOt = Mw.default = CNe;
});

// ../node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js
var aQ = R((Nw) => {
  "use strict";
  Object.defineProperty(Nw, "__esModule", {
    value: !0
  });
  Nw.default = void 0;
  var _Ne = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "introduction [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark"]]
  }, ZOt = Nw.default = _Ne;
});

// ../node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js
var iQ = R((Lw) => {
  "use strict";
  Object.defineProperty(Lw, "__esModule", {
    value: !0
  });
  Lw.default = void 0;
  var PNe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author", "contents"],
    prohibitedProps: [],
    props: {
      "aria-errormessage": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "noteref [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "widget", "command", "link"]]
  }, t6t = Lw.default = PNe;
});

// ../node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js
var sQ = R((kw) => {
  "use strict";
  Object.defineProperty(kw, "__esModule", {
    value: !0
  });
  kw.default = void 0;
  var TNe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "notice [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "note"]]
  }, n6t = kw.default = TNe;
});

// ../node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js
var lQ = R((qw) => {
  "use strict";
  Object.defineProperty(qw, "__esModule", {
    value: !0
  });
  qw.default = void 0;
  var ANe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !0,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "pagebreak [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "separator"]]
  }, a6t = qw.default = ANe;
});

// ../node_modules/aria-query/lib/etc/roles/dpub/docPagefooterRole.js
var uQ = R((Dw) => {
  "use strict";
  Object.defineProperty(Dw, "__esModule", {
    value: !0
  });
  Dw.default = void 0;
  var ONe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["prohibited"],
    prohibitedProps: [],
    props: {
      "aria-braillelabel": null,
      "aria-brailleroledescription": null,
      "aria-description": null,
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, s6t = Dw.default = ONe;
});

// ../node_modules/aria-query/lib/etc/roles/dpub/docPageheaderRole.js
var cQ = R((Fw) => {
  "use strict";
  Object.defineProperty(Fw, "__esModule", {
    value: !0
  });
  Fw.default = void 0;
  var INe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["prohibited"],
    prohibitedProps: [],
    props: {
      "aria-braillelabel": null,
      "aria-brailleroledescription": null,
      "aria-description": null,
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, u6t = Fw.default = INe;
});

// ../node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js
var dQ = R((jw) => {
  "use strict";
  Object.defineProperty(jw, "__esModule", {
    value: !0
  });
  jw.default = void 0;
  var MNe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "page-list [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark", "navigation"]]
  }, d6t = jw.default = MNe;
});

// ../node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js
var fQ = R((Bw) => {
  "use strict";
  Object.defineProperty(Bw, "__esModule", {
    value: !0
  });
  Bw.default = void 0;
  var NNe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "part [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark"]]
  }, p6t = Bw.default = NNe;
});

// ../node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js
var pQ = R(($w) => {
  "use strict";
  Object.defineProperty($w, "__esModule", {
    value: !0
  });
  $w.default = void 0;
  var LNe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "preface [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark"]]
  }, h6t = $w.default = LNe;
});

// ../node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js
var mQ = R((Hw) => {
  "use strict";
  Object.defineProperty(Hw, "__esModule", {
    value: !0
  });
  Hw.default = void 0;
  var kNe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "prologue [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark"]]
  }, y6t = Hw.default = kNe;
});

// ../node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js
var hQ = R((zw) => {
  "use strict";
  Object.defineProperty(zw, "__esModule", {
    value: !0
  });
  zw.default = void 0;
  var qNe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "pullquote [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["none"]]
  }, b6t = zw.default = qNe;
});

// ../node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js
var gQ = R((Uw) => {
  "use strict";
  Object.defineProperty(Uw, "__esModule", {
    value: !0
  });
  Uw.default = void 0;
  var DNe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "qna [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, E6t = Uw.default = DNe;
});

// ../node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js
var yQ = R((Vw) => {
  "use strict";
  Object.defineProperty(Vw, "__esModule", {
    value: !0
  });
  Vw.default = void 0;
  var FNe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "subtitle [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "sectionhead"]]
  }, x6t = Vw.default = FNe;
});

// ../node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js
var vQ = R((Ww) => {
  "use strict";
  Object.defineProperty(Ww, "__esModule", {
    value: !0
  });
  Ww.default = void 0;
  var jNe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "help [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "note"]]
  }, C6t = Ww.default = jNe;
});

// ../node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js
var bQ = R((Gw) => {
  "use strict";
  Object.defineProperty(Gw, "__esModule", {
    value: !0
  });
  Gw.default = void 0;
  var BNe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "toc [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark", "navigation"]]
  }, P6t = Gw.default = BNe;
});

// ../node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js
var wQ = R((Yw) => {
  "use strict";
  Object.defineProperty(Yw, "__esModule", {
    value: !0
  });
  Yw.default = void 0;
  var $Ne = ve(NJ()), HNe = ve(LJ()), zNe = ve(kJ()), UNe = ve(qJ()), VNe = ve(DJ()), WNe = ve(FJ()), GNe = ve(jJ()), YNe = ve(BJ()), KNe = ve(
  $J()), XNe = ve(HJ()), JNe = ve(zJ()), QNe = ve(UJ()), ZNe = ve(VJ()), e9e = ve(WJ()), t9e = ve(GJ()), r9e = ve(YJ()), n9e = ve(KJ()), o9e = ve(
  XJ()), a9e = ve(JJ()), i9e = ve(QJ()), s9e = ve(ZJ()), l9e = ve(eQ()), u9e = ve(tQ()), c9e = ve(rQ()), d9e = ve(nQ()), f9e = ve(oQ()), p9e = ve(
  aQ()), m9e = ve(iQ()), h9e = ve(sQ()), g9e = ve(lQ()), y9e = ve(uQ()), v9e = ve(cQ()), b9e = ve(dQ()), w9e = ve(fQ()), E9e = ve(pQ()), R9e = ve(
  mQ()), x9e = ve(hQ()), S9e = ve(gQ()), C9e = ve(yQ()), _9e = ve(vQ()), P9e = ve(bQ());
  function ve(e) {
    return e && e.__esModule ? e : { default: e };
  }
  a(ve, "_interopRequireDefault");
  var T9e = [["doc-abstract", $Ne.default], ["doc-acknowledgments", HNe.default], ["doc-afterword", zNe.default], ["doc-appendix", UNe.default],
  ["doc-backlink", VNe.default], ["doc-biblioentry", WNe.default], ["doc-bibliography", GNe.default], ["doc-biblioref", YNe.default], ["doc-\
chapter", KNe.default], ["doc-colophon", XNe.default], ["doc-conclusion", JNe.default], ["doc-cover", QNe.default], ["doc-credit", ZNe.default],
  ["doc-credits", e9e.default], ["doc-dedication", t9e.default], ["doc-endnote", r9e.default], ["doc-endnotes", n9e.default], ["doc-epigraph",
  o9e.default], ["doc-epilogue", a9e.default], ["doc-errata", i9e.default], ["doc-example", s9e.default], ["doc-footnote", l9e.default], ["d\
oc-foreword", u9e.default], ["doc-glossary", c9e.default], ["doc-glossref", d9e.default], ["doc-index", f9e.default], ["doc-introduction", p9e.
  default], ["doc-noteref", m9e.default], ["doc-notice", h9e.default], ["doc-pagebreak", g9e.default], ["doc-pagefooter", y9e.default], ["do\
c-pageheader", v9e.default], ["doc-pagelist", b9e.default], ["doc-part", w9e.default], ["doc-preface", E9e.default], ["doc-prologue", R9e.default],
  ["doc-pullquote", x9e.default], ["doc-qna", S9e.default], ["doc-subtitle", C9e.default], ["doc-tip", _9e.default], ["doc-toc", P9e.default]],
  A6t = Yw.default = T9e;
});

// ../node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js
var EQ = R((Kw) => {
  "use strict";
  Object.defineProperty(Kw, "__esModule", {
    value: !0
  });
  Kw.default = void 0;
  var A9e = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      module: "GRAPHICS",
      concept: {
        name: "graphics-object"
      }
    }, {
      module: "ARIA",
      concept: {
        name: "img"
      }
    }, {
      module: "ARIA",
      concept: {
        name: "article"
      }
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "document"]]
  }, M6t = Kw.default = A9e;
});

// ../node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js
var RQ = R((Xw) => {
  "use strict";
  Object.defineProperty(Xw, "__esModule", {
    value: !0
  });
  Xw.default = void 0;
  var O9e = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author", "contents"],
    prohibitedProps: [],
    props: {
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      module: "GRAPHICS",
      concept: {
        name: "graphics-document"
      }
    }, {
      module: "ARIA",
      concept: {
        name: "group"
      }
    }, {
      module: "ARIA",
      concept: {
        name: "img"
      }
    }, {
      module: "GRAPHICS",
      concept: {
        name: "graphics-symbol"
      }
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "group"]]
  }, L6t = Xw.default = O9e;
});

// ../node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js
var xQ = R((Jw) => {
  "use strict";
  Object.defineProperty(Jw, "__esModule", {
    value: !0
  });
  Jw.default = void 0;
  var I9e = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !0,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "img"]]
  }, q6t = Jw.default = I9e;
});

// ../node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js
var SQ = R((Qw) => {
  "use strict";
  Object.defineProperty(Qw, "__esModule", {
    value: !0
  });
  Qw.default = void 0;
  var M9e = r6(EQ()), N9e = r6(RQ()), L9e = r6(xQ());
  function r6(e) {
    return e && e.__esModule ? e : { default: e };
  }
  a(r6, "_interopRequireDefault");
  var k9e = [["graphics-document", M9e.default], ["graphics-object", N9e.default], ["graphics-symbol", L9e.default]], F6t = Qw.default = k9e;
});

// ../node_modules/aria-query/lib/rolesMap.js
var eE = R((Zw) => {
  "use strict";
  Object.defineProperty(Zw, "__esModule", {
    value: !0
  });
  Zw.default = void 0;
  var q9e = bm(rX()), D9e = bm(MJ()), F9e = bm(wQ()), j9e = bm(SQ()), B9e = bm(pd());
  function bm(e) {
    return e && e.__esModule ? e : { default: e };
  }
  a(bm, "_interopRequireDefault");
  function n6(e, t) {
    var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
    if (!r) {
      if (Array.isArray(e) || (r = _Q(e)) || t && e && typeof e.length == "number") {
        r && (e = r);
        var n = 0, o = /* @__PURE__ */ a(function() {
        }, "F");
        return { s: o, n: /* @__PURE__ */ a(function() {
          return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] };
        }, "n"), e: /* @__PURE__ */ a(function(c) {
          throw c;
        }, "e"), f: o };
      }
      throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
    }
    var i, s = !0, l = !1;
    return { s: /* @__PURE__ */ a(function() {
      r = r.call(e);
    }, "s"), n: /* @__PURE__ */ a(function() {
      var c = r.next();
      return s = c.done, c;
    }, "n"), e: /* @__PURE__ */ a(function(c) {
      l = !0, i = c;
    }, "e"), f: /* @__PURE__ */ a(function() {
      try {
        s || r.return == null || r.return();
      } finally {
        if (l) throw i;
      }
    }, "f") };
  }
  a(n6, "_createForOfIteratorHelper");
  function vm(e, t) {
    return z9e(e) || H9e(e, t) || _Q(e, t) || $9e();
  }
  a(vm, "_slicedToArray");
  function $9e() {
    throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
  }
  a($9e, "_nonIterableRest");
  function _Q(e, t) {
    if (e) {
      if (typeof e == "string") return CQ(e, t);
      var r = {}.toString.call(e).slice(8, -1);
      return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.
      test(r) ? CQ(e, t) : void 0;
    }
  }
  a(_Q, "_unsupportedIterableToArray");
  function CQ(e, t) {
    (t == null || t > e.length) && (t = e.length);
    for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r];
    return n;
  }
  a(CQ, "_arrayLikeToArray");
  function H9e(e, t) {
    var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
    if (r != null) {
      var n, o, i, s, l = [], u = !0, c = !1;
      try {
        if (i = (r = r.call(e)).next, t === 0) {
          if (Object(r) !== r) return;
          u = !1;
        } else for (; !(u = (n = i.call(r)).done) && (l.push(n.value), l.length !== t); u = !0) ;
      } catch (d) {
        c = !0, o = d;
      } finally {
        try {
          if (!u && r.return != null && (s = r.return(), Object(s) !== s)) return;
        } finally {
          if (c) throw o;
        }
      }
      return l;
    }
  }
  a(H9e, "_iterableToArrayLimit");
  function z9e(e) {
    if (Array.isArray(e)) return e;
  }
  a(z9e, "_arrayWithHoles");
  var ys = [].concat(q9e.default, D9e.default, F9e.default, j9e.default);
  ys.forEach(function(e) {
    var t = vm(e, 2), r = t[1], n = n6(r.superClass), o;
    try {
      for (n.s(); !(o = n.n()).done; ) {
        var i = o.value, s = n6(i), l;
        try {
          var u = /* @__PURE__ */ a(function() {
            var d = l.value, f = ys.filter(function(b) {
              var g = vm(b, 1), w = g[0];
              return w === d;
            })[0];
            if (f)
              for (var p = f[1], m = 0, v = Object.keys(p.props); m < v.length; m++) {
                var y = v[m];
                Object.prototype.hasOwnProperty.call(r.props, y) || (r.props[y] = p.props[y]);
              }
          }, "_loop");
          for (s.s(); !(l = s.n()).done; )
            u();
        } catch (c) {
          s.e(c);
        } finally {
          s.f();
        }
      }
    } catch (c) {
      n.e(c);
    } finally {
      n.f();
    }
  });
  var o6 = {
    entries: /* @__PURE__ */ a(function() {
      return ys;
    }, "entries"),
    forEach: /* @__PURE__ */ a(function(t) {
      var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, n = n6(ys), o;
      try {
        for (n.s(); !(o = n.n()).done; ) {
          var i = vm(o.value, 2), s = i[0], l = i[1];
          t.call(r, l, s, ys);
        }
      } catch (u) {
        n.e(u);
      } finally {
        n.f();
      }
    }, "forEach"),
    get: /* @__PURE__ */ a(function(t) {
      var r = ys.filter(function(n) {
        return n[0] === t;
      })[0];
      return r && r[1];
    }, "get"),
    has: /* @__PURE__ */ a(function(t) {
      return !!o6.get(t);
    }, "has"),
    keys: /* @__PURE__ */ a(function() {
      return ys.map(function(t) {
        var r = vm(t, 1), n = r[0];
        return n;
      });
    }, "keys"),
    values: /* @__PURE__ */ a(function() {
      return ys.map(function(t) {
        var r = vm(t, 2), n = r[1];
        return n;
      });
    }, "values")
  }, $6t = Zw.default = (0, B9e.default)(o6, o6.entries());
});

// ../node_modules/aria-query/lib/elementRoleMap.js
var NQ = R((aE) => {
  "use strict";
  Object.defineProperty(aE, "__esModule", {
    value: !0
  });
  aE.default = void 0;
  var U9e = IQ(pd()), OQ = IQ(eE());
  function IQ(e) {
    return e && e.__esModule ? e : { default: e };
  }
  a(IQ, "_interopRequireDefault");
  function a6(e, t) {
    return Y9e(e) || G9e(e, t) || W9e(e, t) || V9e();
  }
  a(a6, "_slicedToArray");
  function V9e() {
    throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
  }
  a(V9e, "_nonIterableRest");
  function W9e(e, t) {
    if (e) {
      if (typeof e == "string") return PQ(e, t);
      var r = {}.toString.call(e).slice(8, -1);
      return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.
      test(r) ? PQ(e, t) : void 0;
    }
  }
  a(W9e, "_unsupportedIterableToArray");
  function PQ(e, t) {
    (t == null || t > e.length) && (t = e.length);
    for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r];
    return n;
  }
  a(PQ, "_arrayLikeToArray");
  function G9e(e, t) {
    var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
    if (r != null) {
      var n, o, i, s, l = [], u = !0, c = !1;
      try {
        if (i = (r = r.call(e)).next, t === 0) {
          if (Object(r) !== r) return;
          u = !1;
        } else for (; !(u = (n = i.call(r)).done) && (l.push(n.value), l.length !== t); u = !0) ;
      } catch (d) {
        c = !0, o = d;
      } finally {
        try {
          if (!u && r.return != null && (s = r.return(), Object(s) !== s)) return;
        } finally {
          if (c) throw o;
        }
      }
      return l;
    }
  }
  a(G9e, "_iterableToArrayLimit");
  function Y9e(e) {
    if (Array.isArray(e)) return e;
  }
  a(Y9e, "_arrayWithHoles");
  var vs = [], TQ = OQ.default.keys();
  for (tE = 0; tE < TQ.length; tE++)
    if (rE = TQ[tE], nE = OQ.default.get(rE), nE)
      for (i6 = [].concat(nE.baseConcepts, nE.relatedConcepts), AQ = /* @__PURE__ */ a(function() {
        var t = i6[oE];
        if (t.module === "HTML") {
          var r = t.concept;
          if (r) {
            var n = vs.filter(function(l) {
              return K9e(l[0], r);
            })[0], o;
            n ? o = n[1] : o = [];
            for (var i = !0, s = 0; s < o.length; s++)
              if (o[s] === rE) {
                i = !1;
                break;
              }
            i && o.push(rE), n || vs.push([r, o]);
          }
        }
      }, "_loop"), oE = 0; oE < i6.length; oE++)
        AQ();
  var rE, nE, i6, AQ, oE, tE, s6 = {
    entries: /* @__PURE__ */ a(function() {
      return vs;
    }, "entries"),
    forEach: /* @__PURE__ */ a(function(t) {
      for (var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, n = 0, o = vs; n < o.length; n++) {
        var i = a6(o[n], 2), s = i[0], l = i[1];
        t.call(r, l, s, vs);
      }
    }, "forEach"),
    get: /* @__PURE__ */ a(function(t) {
      var r = vs.filter(function(n) {
        return t.name === n[0].name && MQ(t.attributes, n[0].attributes);
      })[0];
      return r && r[1];
    }, "get"),
    has: /* @__PURE__ */ a(function(t) {
      return !!s6.get(t);
    }, "has"),
    keys: /* @__PURE__ */ a(function() {
      return vs.map(function(t) {
        var r = a6(t, 1), n = r[0];
        return n;
      });
    }, "keys"),
    values: /* @__PURE__ */ a(function() {
      return vs.map(function(t) {
        var r = a6(t, 2), n = r[1];
        return n;
      });
    }, "values")
  };
  function K9e(e, t) {
    return e.name === t.name && X9e(e.constraints, t.constraints) && MQ(e.attributes, t.attributes);
  }
  a(K9e, "ariaRoleRelationConceptEquals");
  function X9e(e, t) {
    if (e === void 0 && t !== void 0 || e !== void 0 && t === void 0)
      return !1;
    if (e !== void 0 && t !== void 0) {
      if (e.length !== t.length)
        return !1;
      for (var r = 0; r < e.length; r++)
        if (e[r] !== t[r])
          return !1;
    }
    return !0;
  }
  a(X9e, "ariaRoleRelationConstraintsEquals");
  function MQ(e, t) {
    if (e === void 0 && t !== void 0 || e !== void 0 && t === void 0)
      return !1;
    if (e !== void 0 && t !== void 0) {
      if (e.length !== t.length)
        return !1;
      for (var r = 0; r < e.length; r++) {
        if (e[r].name !== t[r].name || e[r].value !== t[r].value || e[r].constraints === void 0 && t[r].constraints !== void 0 || e[r].constraints !==
        void 0 && t[r].constraints === void 0)
          return !1;
        if (e[r].constraints !== void 0 && t[r].constraints !== void 0) {
          if (e[r].constraints.length !== t[r].constraints.length)
            return !1;
          for (var n = 0; n < e[r].constraints.length; n++)
            if (e[r].constraints[n] !== t[r].constraints[n])
              return !1;
        }
      }
    }
    return !0;
  }
  a(MQ, "ariaRoleRelationConceptAttributeEquals");
  var U6t = aE.default = (0, U9e.default)(s6, s6.entries());
});

// ../node_modules/aria-query/lib/roleElementMap.js
var FQ = R((cE) => {
  "use strict";
  Object.defineProperty(cE, "__esModule", {
    value: !0
  });
  cE.default = void 0;
  var J9e = DQ(pd()), qQ = DQ(eE());
  function DQ(e) {
    return e && e.__esModule ? e : { default: e };
  }
  a(DQ, "_interopRequireDefault");
  function l6(e, t) {
    return tLe(e) || eLe(e, t) || Z9e(e, t) || Q9e();
  }
  a(l6, "_slicedToArray");
  function Q9e() {
    throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
  }
  a(Q9e, "_nonIterableRest");
  function Z9e(e, t) {
    if (e) {
      if (typeof e == "string") return LQ(e, t);
      var r = {}.toString.call(e).slice(8, -1);
      return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.
      test(r) ? LQ(e, t) : void 0;
    }
  }
  a(Z9e, "_unsupportedIterableToArray");
  function LQ(e, t) {
    (t == null || t > e.length) && (t = e.length);
    for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r];
    return n;
  }
  a(LQ, "_arrayLikeToArray");
  function eLe(e, t) {
    var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
    if (r != null) {
      var n, o, i, s, l = [], u = !0, c = !1;
      try {
        if (i = (r = r.call(e)).next, t === 0) {
          if (Object(r) !== r) return;
          u = !1;
        } else for (; !(u = (n = i.call(r)).done) && (l.push(n.value), l.length !== t); u = !0) ;
      } catch (d) {
        c = !0, o = d;
      } finally {
        try {
          if (!u && r.return != null && (s = r.return(), Object(s) !== s)) return;
        } finally {
          if (c) throw o;
        }
      }
      return l;
    }
  }
  a(eLe, "_iterableToArrayLimit");
  function tLe(e) {
    if (Array.isArray(e)) return e;
  }
  a(tLe, "_arrayWithHoles");
  var Xl = [], kQ = qQ.default.keys();
  for (iE = 0; iE < kQ.length; iE++)
    if (u6 = kQ[iE], sE = qQ.default.get(u6), lE = [], sE) {
      for (c6 = [].concat(sE.baseConcepts, sE.relatedConcepts), uE = 0; uE < c6.length; uE++)
        d6 = c6[uE], d6.module === "HTML" && (f6 = d6.concept, f6 != null && lE.push(f6));
      lE.length > 0 && Xl.push([u6, lE]);
    }
  var u6, sE, lE, c6, d6, f6, uE, iE, p6 = {
    entries: /* @__PURE__ */ a(function() {
      return Xl;
    }, "entries"),
    forEach: /* @__PURE__ */ a(function(t) {
      for (var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, n = 0, o = Xl; n < o.length; n++) {
        var i = l6(o[n], 2), s = i[0], l = i[1];
        t.call(r, l, s, Xl);
      }
    }, "forEach"),
    get: /* @__PURE__ */ a(function(t) {
      var r = Xl.filter(function(n) {
        return n[0] === t;
      })[0];
      return r && r[1];
    }, "get"),
    has: /* @__PURE__ */ a(function(t) {
      return !!p6.get(t);
    }, "has"),
    keys: /* @__PURE__ */ a(function() {
      return Xl.map(function(t) {
        var r = l6(t, 1), n = r[0];
        return n;
      });
    }, "keys"),
    values: /* @__PURE__ */ a(function() {
      return Xl.map(function(t) {
        var r = l6(t, 2), n = r[1];
        return n;
      });
    }, "values")
  }, G6t = cE.default = (0, J9e.default)(p6, p6.entries());
});

// ../node_modules/aria-query/lib/index.js
var m6 = R((co) => {
  "use strict";
  Object.defineProperty(co, "__esModule", {
    value: !0
  });
  co.roles = co.roleElements = co.elementRoles = co.dom = co.aria = void 0;
  var rLe = wm($K()), nLe = wm(zK()), oLe = wm(eE()), aLe = wm(NQ()), iLe = wm(FQ());
  function wm(e) {
    return e && e.__esModule ? e : { default: e };
  }
  a(wm, "_interopRequireDefault");
  var X6t = co.aria = rLe.default, J6t = co.dom = nLe.default, Q6t = co.roles = oLe.default, Z6t = co.elementRoles = aLe.default, eIt = co.roleElements =
  iLe.default;
});

// ../node_modules/color-name/index.js
var BQ = R((nIt, jQ) => {
  "use strict";
  jQ.exports = {
    aliceblue: [240, 248, 255],
    antiquewhite: [250, 235, 215],
    aqua: [0, 255, 255],
    aquamarine: [127, 255, 212],
    azure: [240, 255, 255],
    beige: [245, 245, 220],
    bisque: [255, 228, 196],
    black: [0, 0, 0],
    blanchedalmond: [255, 235, 205],
    blue: [0, 0, 255],
    blueviolet: [138, 43, 226],
    brown: [165, 42, 42],
    burlywood: [222, 184, 135],
    cadetblue: [95, 158, 160],
    chartreuse: [127, 255, 0],
    chocolate: [210, 105, 30],
    coral: [255, 127, 80],
    cornflowerblue: [100, 149, 237],
    cornsilk: [255, 248, 220],
    crimson: [220, 20, 60],
    cyan: [0, 255, 255],
    darkblue: [0, 0, 139],
    darkcyan: [0, 139, 139],
    darkgoldenrod: [184, 134, 11],
    darkgray: [169, 169, 169],
    darkgreen: [0, 100, 0],
    darkgrey: [169, 169, 169],
    darkkhaki: [189, 183, 107],
    darkmagenta: [139, 0, 139],
    darkolivegreen: [85, 107, 47],
    darkorange: [255, 140, 0],
    darkorchid: [153, 50, 204],
    darkred: [139, 0, 0],
    darksalmon: [233, 150, 122],
    darkseagreen: [143, 188, 143],
    darkslateblue: [72, 61, 139],
    darkslategray: [47, 79, 79],
    darkslategrey: [47, 79, 79],
    darkturquoise: [0, 206, 209],
    darkviolet: [148, 0, 211],
    deeppink: [255, 20, 147],
    deepskyblue: [0, 191, 255],
    dimgray: [105, 105, 105],
    dimgrey: [105, 105, 105],
    dodgerblue: [30, 144, 255],
    firebrick: [178, 34, 34],
    floralwhite: [255, 250, 240],
    forestgreen: [34, 139, 34],
    fuchsia: [255, 0, 255],
    gainsboro: [220, 220, 220],
    ghostwhite: [248, 248, 255],
    gold: [255, 215, 0],
    goldenrod: [218, 165, 32],
    gray: [128, 128, 128],
    green: [0, 128, 0],
    greenyellow: [173, 255, 47],
    grey: [128, 128, 128],
    honeydew: [240, 255, 240],
    hotpink: [255, 105, 180],
    indianred: [205, 92, 92],
    indigo: [75, 0, 130],
    ivory: [255, 255, 240],
    khaki: [240, 230, 140],
    lavender: [230, 230, 250],
    lavenderblush: [255, 240, 245],
    lawngreen: [124, 252, 0],
    lemonchiffon: [255, 250, 205],
    lightblue: [173, 216, 230],
    lightcoral: [240, 128, 128],
    lightcyan: [224, 255, 255],
    lightgoldenrodyellow: [250, 250, 210],
    lightgray: [211, 211, 211],
    lightgreen: [144, 238, 144],
    lightgrey: [211, 211, 211],
    lightpink: [255, 182, 193],
    lightsalmon: [255, 160, 122],
    lightseagreen: [32, 178, 170],
    lightskyblue: [135, 206, 250],
    lightslategray: [119, 136, 153],
    lightslategrey: [119, 136, 153],
    lightsteelblue: [176, 196, 222],
    lightyellow: [255, 255, 224],
    lime: [0, 255, 0],
    limegreen: [50, 205, 50],
    linen: [250, 240, 230],
    magenta: [255, 0, 255],
    maroon: [128, 0, 0],
    mediumaquamarine: [102, 205, 170],
    mediumblue: [0, 0, 205],
    mediumorchid: [186, 85, 211],
    mediumpurple: [147, 112, 219],
    mediumseagreen: [60, 179, 113],
    mediumslateblue: [123, 104, 238],
    mediumspringgreen: [0, 250, 154],
    mediumturquoise: [72, 209, 204],
    mediumvioletred: [199, 21, 133],
    midnightblue: [25, 25, 112],
    mintcream: [245, 255, 250],
    mistyrose: [255, 228, 225],
    moccasin: [255, 228, 181],
    navajowhite: [255, 222, 173],
    navy: [0, 0, 128],
    oldlace: [253, 245, 230],
    olive: [128, 128, 0],
    olivedrab: [107, 142, 35],
    orange: [255, 165, 0],
    orangered: [255, 69, 0],
    orchid: [218, 112, 214],
    palegoldenrod: [238, 232, 170],
    palegreen: [152, 251, 152],
    paleturquoise: [175, 238, 238],
    palevioletred: [219, 112, 147],
    papayawhip: [255, 239, 213],
    peachpuff: [255, 218, 185],
    peru: [205, 133, 63],
    pink: [255, 192, 203],
    plum: [221, 160, 221],
    powderblue: [176, 224, 230],
    purple: [128, 0, 128],
    rebeccapurple: [102, 51, 153],
    red: [255, 0, 0],
    rosybrown: [188, 143, 143],
    royalblue: [65, 105, 225],
    saddlebrown: [139, 69, 19],
    salmon: [250, 128, 114],
    sandybrown: [244, 164, 96],
    seagreen: [46, 139, 87],
    seashell: [255, 245, 238],
    sienna: [160, 82, 45],
    silver: [192, 192, 192],
    skyblue: [135, 206, 235],
    slateblue: [106, 90, 205],
    slategray: [112, 128, 144],
    slategrey: [112, 128, 144],
    snow: [255, 250, 250],
    springgreen: [0, 255, 127],
    steelblue: [70, 130, 180],
    tan: [210, 180, 140],
    teal: [0, 128, 128],
    thistle: [216, 191, 216],
    tomato: [255, 99, 71],
    turquoise: [64, 224, 208],
    violet: [238, 130, 238],
    wheat: [245, 222, 179],
    white: [255, 255, 255],
    whitesmoke: [245, 245, 245],
    yellow: [255, 255, 0],
    yellowgreen: [154, 205, 50]
  };
});

// ../node_modules/color-convert/conversions.js
var h6 = R((oIt, HQ) => {
  var Em = BQ(), $Q = {};
  for (let e of Object.keys(Em))
    $Q[Em[e]] = e;
  var le = {
    rgb: { channels: 3, labels: "rgb" },
    hsl: { channels: 3, labels: "hsl" },
    hsv: { channels: 3, labels: "hsv" },
    hwb: { channels: 3, labels: "hwb" },
    cmyk: { channels: 4, labels: "cmyk" },
    xyz: { channels: 3, labels: "xyz" },
    lab: { channels: 3, labels: "lab" },
    lch: { channels: 3, labels: "lch" },
    hex: { channels: 1, labels: ["hex"] },
    keyword: { channels: 1, labels: ["keyword"] },
    ansi16: { channels: 1, labels: ["ansi16"] },
    ansi256: { channels: 1, labels: ["ansi256"] },
    hcg: { channels: 3, labels: ["h", "c", "g"] },
    apple: { channels: 3, labels: ["r16", "g16", "b16"] },
    gray: { channels: 1, labels: ["gray"] }
  };
  HQ.exports = le;
  for (let e of Object.keys(le)) {
    if (!("channels" in le[e]))
      throw new Error("missing channels property: " + e);
    if (!("labels" in le[e]))
      throw new Error("missing channel labels property: " + e);
    if (le[e].labels.length !== le[e].channels)
      throw new Error("channel and label counts mismatch: " + e);
    let { channels: t, labels: r } = le[e];
    delete le[e].channels, delete le[e].labels, Object.defineProperty(le[e], "channels", { value: t }), Object.defineProperty(le[e], "labels",
    { value: r });
  }
  le.rgb.hsl = function(e) {
    let t = e[0] / 255, r = e[1] / 255, n = e[2] / 255, o = Math.min(t, r, n), i = Math.max(t, r, n), s = i - o, l, u;
    i === o ? l = 0 : t === i ? l = (r - n) / s : r === i ? l = 2 + (n - t) / s : n === i && (l = 4 + (t - r) / s), l = Math.min(l * 60, 360),
    l < 0 && (l += 360);
    let c = (o + i) / 2;
    return i === o ? u = 0 : c <= 0.5 ? u = s / (i + o) : u = s / (2 - i - o), [l, u * 100, c * 100];
  };
  le.rgb.hsv = function(e) {
    let t, r, n, o, i, s = e[0] / 255, l = e[1] / 255, u = e[2] / 255, c = Math.max(s, l, u), d = c - Math.min(s, l, u), f = /* @__PURE__ */ a(
    function(p) {
      return (c - p) / 6 / d + 1 / 2;
    }, "diffc");
    return d === 0 ? (o = 0, i = 0) : (i = d / c, t = f(s), r = f(l), n = f(u), s === c ? o = n - r : l === c ? o = 1 / 3 + t - n : u === c &&
    (o = 2 / 3 + r - t), o < 0 ? o += 1 : o > 1 && (o -= 1)), [
      o * 360,
      i * 100,
      c * 100
    ];
  };
  le.rgb.hwb = function(e) {
    let t = e[0], r = e[1], n = e[2], o = le.rgb.hsl(e)[0], i = 1 / 255 * Math.min(t, Math.min(r, n));
    return n = 1 - 1 / 255 * Math.max(t, Math.max(r, n)), [o, i * 100, n * 100];
  };
  le.rgb.cmyk = function(e) {
    let t = e[0] / 255, r = e[1] / 255, n = e[2] / 255, o = Math.min(1 - t, 1 - r, 1 - n), i = (1 - t - o) / (1 - o) || 0, s = (1 - r - o) /
    (1 - o) || 0, l = (1 - n - o) / (1 - o) || 0;
    return [i * 100, s * 100, l * 100, o * 100];
  };
  function sLe(e, t) {
    return (e[0] - t[0]) ** 2 + (e[1] - t[1]) ** 2 + (e[2] - t[2]) ** 2;
  }
  a(sLe, "comparativeDistance");
  le.rgb.keyword = function(e) {
    let t = $Q[e];
    if (t)
      return t;
    let r = 1 / 0, n;
    for (let o of Object.keys(Em)) {
      let i = Em[o], s = sLe(e, i);
      s < r && (r = s, n = o);
    }
    return n;
  };
  le.keyword.rgb = function(e) {
    return Em[e];
  };
  le.rgb.xyz = function(e) {
    let t = e[0] / 255, r = e[1] / 255, n = e[2] / 255;
    t = t > 0.04045 ? ((t + 0.055) / 1.055) ** 2.4 : t / 12.92, r = r > 0.04045 ? ((r + 0.055) / 1.055) ** 2.4 : r / 12.92, n = n > 0.04045 ?
    ((n + 0.055) / 1.055) ** 2.4 : n / 12.92;
    let o = t * 0.4124 + r * 0.3576 + n * 0.1805, i = t * 0.2126 + r * 0.7152 + n * 0.0722, s = t * 0.0193 + r * 0.1192 + n * 0.9505;
    return [o * 100, i * 100, s * 100];
  };
  le.rgb.lab = function(e) {
    let t = le.rgb.xyz(e), r = t[0], n = t[1], o = t[2];
    r /= 95.047, n /= 100, o /= 108.883, r = r > 8856e-6 ? r ** (1 / 3) : 7.787 * r + 16 / 116, n = n > 8856e-6 ? n ** (1 / 3) : 7.787 * n +
    16 / 116, o = o > 8856e-6 ? o ** (1 / 3) : 7.787 * o + 16 / 116;
    let i = 116 * n - 16, s = 500 * (r - n), l = 200 * (n - o);
    return [i, s, l];
  };
  le.hsl.rgb = function(e) {
    let t = e[0] / 360, r = e[1] / 100, n = e[2] / 100, o, i, s;
    if (r === 0)
      return s = n * 255, [s, s, s];
    n < 0.5 ? o = n * (1 + r) : o = n + r - n * r;
    let l = 2 * n - o, u = [0, 0, 0];
    for (let c = 0; c < 3; c++)
      i = t + 1 / 3 * -(c - 1), i < 0 && i++, i > 1 && i--, 6 * i < 1 ? s = l + (o - l) * 6 * i : 2 * i < 1 ? s = o : 3 * i < 2 ? s = l + (o -
      l) * (2 / 3 - i) * 6 : s = l, u[c] = s * 255;
    return u;
  };
  le.hsl.hsv = function(e) {
    let t = e[0], r = e[1] / 100, n = e[2] / 100, o = r, i = Math.max(n, 0.01);
    n *= 2, r *= n <= 1 ? n : 2 - n, o *= i <= 1 ? i : 2 - i;
    let s = (n + r) / 2, l = n === 0 ? 2 * o / (i + o) : 2 * r / (n + r);
    return [t, l * 100, s * 100];
  };
  le.hsv.rgb = function(e) {
    let t = e[0] / 60, r = e[1] / 100, n = e[2] / 100, o = Math.floor(t) % 6, i = t - Math.floor(t), s = 255 * n * (1 - r), l = 255 * n * (1 -
    r * i), u = 255 * n * (1 - r * (1 - i));
    switch (n *= 255, o) {
      case 0:
        return [n, u, s];
      case 1:
        return [l, n, s];
      case 2:
        return [s, n, u];
      case 3:
        return [s, l, n];
      case 4:
        return [u, s, n];
      case 5:
        return [n, s, l];
    }
  };
  le.hsv.hsl = function(e) {
    let t = e[0], r = e[1] / 100, n = e[2] / 100, o = Math.max(n, 0.01), i, s;
    s = (2 - r) * n;
    let l = (2 - r) * o;
    return i = r * o, i /= l <= 1 ? l : 2 - l, i = i || 0, s /= 2, [t, i * 100, s * 100];
  };
  le.hwb.rgb = function(e) {
    let t = e[0] / 360, r = e[1] / 100, n = e[2] / 100, o = r + n, i;
    o > 1 && (r /= o, n /= o);
    let s = Math.floor(6 * t), l = 1 - n;
    i = 6 * t - s, (s & 1) !== 0 && (i = 1 - i);
    let u = r + i * (l - r), c, d, f;
    switch (s) {
      default:
      case 6:
      case 0:
        c = l, d = u, f = r;
        break;
      case 1:
        c = u, d = l, f = r;
        break;
      case 2:
        c = r, d = l, f = u;
        break;
      case 3:
        c = r, d = u, f = l;
        break;
      case 4:
        c = u, d = r, f = l;
        break;
      case 5:
        c = l, d = r, f = u;
        break;
    }
    return [c * 255, d * 255, f * 255];
  };
  le.cmyk.rgb = function(e) {
    let t = e[0] / 100, r = e[1] / 100, n = e[2] / 100, o = e[3] / 100, i = 1 - Math.min(1, t * (1 - o) + o), s = 1 - Math.min(1, r * (1 - o) +
    o), l = 1 - Math.min(1, n * (1 - o) + o);
    return [i * 255, s * 255, l * 255];
  };
  le.xyz.rgb = function(e) {
    let t = e[0] / 100, r = e[1] / 100, n = e[2] / 100, o, i, s;
    return o = t * 3.2406 + r * -1.5372 + n * -0.4986, i = t * -0.9689 + r * 1.8758 + n * 0.0415, s = t * 0.0557 + r * -0.204 + n * 1.057, o =
    o > 31308e-7 ? 1.055 * o ** (1 / 2.4) - 0.055 : o * 12.92, i = i > 31308e-7 ? 1.055 * i ** (1 / 2.4) - 0.055 : i * 12.92, s = s > 31308e-7 ?
    1.055 * s ** (1 / 2.4) - 0.055 : s * 12.92, o = Math.min(Math.max(0, o), 1), i = Math.min(Math.max(0, i), 1), s = Math.min(Math.max(0, s),
    1), [o * 255, i * 255, s * 255];
  };
  le.xyz.lab = function(e) {
    let t = e[0], r = e[1], n = e[2];
    t /= 95.047, r /= 100, n /= 108.883, t = t > 8856e-6 ? t ** (1 / 3) : 7.787 * t + 16 / 116, r = r > 8856e-6 ? r ** (1 / 3) : 7.787 * r +
    16 / 116, n = n > 8856e-6 ? n ** (1 / 3) : 7.787 * n + 16 / 116;
    let o = 116 * r - 16, i = 500 * (t - r), s = 200 * (r - n);
    return [o, i, s];
  };
  le.lab.xyz = function(e) {
    let t = e[0], r = e[1], n = e[2], o, i, s;
    i = (t + 16) / 116, o = r / 500 + i, s = i - n / 200;
    let l = i ** 3, u = o ** 3, c = s ** 3;
    return i = l > 8856e-6 ? l : (i - 16 / 116) / 7.787, o = u > 8856e-6 ? u : (o - 16 / 116) / 7.787, s = c > 8856e-6 ? c : (s - 16 / 116) /
    7.787, o *= 95.047, i *= 100, s *= 108.883, [o, i, s];
  };
  le.lab.lch = function(e) {
    let t = e[0], r = e[1], n = e[2], o;
    o = Math.atan2(n, r) * 360 / 2 / Math.PI, o < 0 && (o += 360);
    let s = Math.sqrt(r * r + n * n);
    return [t, s, o];
  };
  le.lch.lab = function(e) {
    let t = e[0], r = e[1], o = e[2] / 360 * 2 * Math.PI, i = r * Math.cos(o), s = r * Math.sin(o);
    return [t, i, s];
  };
  le.rgb.ansi16 = function(e, t = null) {
    let [r, n, o] = e, i = t === null ? le.rgb.hsv(e)[2] : t;
    if (i = Math.round(i / 50), i === 0)
      return 30;
    let s = 30 + (Math.round(o / 255) << 2 | Math.round(n / 255) << 1 | Math.round(r / 255));
    return i === 2 && (s += 60), s;
  };
  le.hsv.ansi16 = function(e) {
    return le.rgb.ansi16(le.hsv.rgb(e), e[2]);
  };
  le.rgb.ansi256 = function(e) {
    let t = e[0], r = e[1], n = e[2];
    return t === r && r === n ? t < 8 ? 16 : t > 248 ? 231 : Math.round((t - 8) / 247 * 24) + 232 : 16 + 36 * Math.round(t / 255 * 5) + 6 * Math.
    round(r / 255 * 5) + Math.round(n / 255 * 5);
  };
  le.ansi16.rgb = function(e) {
    let t = e % 10;
    if (t === 0 || t === 7)
      return e > 50 && (t += 3.5), t = t / 10.5 * 255, [t, t, t];
    let r = (~~(e > 50) + 1) * 0.5, n = (t & 1) * r * 255, o = (t >> 1 & 1) * r * 255, i = (t >> 2 & 1) * r * 255;
    return [n, o, i];
  };
  le.ansi256.rgb = function(e) {
    if (e >= 232) {
      let i = (e - 232) * 10 + 8;
      return [i, i, i];
    }
    e -= 16;
    let t, r = Math.floor(e / 36) / 5 * 255, n = Math.floor((t = e % 36) / 6) / 5 * 255, o = t % 6 / 5 * 255;
    return [r, n, o];
  };
  le.rgb.hex = function(e) {
    let r = (((Math.round(e[0]) & 255) << 16) + ((Math.round(e[1]) & 255) << 8) + (Math.round(e[2]) & 255)).toString(16).toUpperCase();
    return "000000".substring(r.length) + r;
  };
  le.hex.rgb = function(e) {
    let t = e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);
    if (!t)
      return [0, 0, 0];
    let r = t[0];
    t[0].length === 3 && (r = r.split("").map((l) => l + l).join(""));
    let n = parseInt(r, 16), o = n >> 16 & 255, i = n >> 8 & 255, s = n & 255;
    return [o, i, s];
  };
  le.rgb.hcg = function(e) {
    let t = e[0] / 255, r = e[1] / 255, n = e[2] / 255, o = Math.max(Math.max(t, r), n), i = Math.min(Math.min(t, r), n), s = o - i, l, u;
    return s < 1 ? l = i / (1 - s) : l = 0, s <= 0 ? u = 0 : o === t ? u = (r - n) / s % 6 : o === r ? u = 2 + (n - t) / s : u = 4 + (t - r) /
    s, u /= 6, u %= 1, [u * 360, s * 100, l * 100];
  };
  le.hsl.hcg = function(e) {
    let t = e[1] / 100, r = e[2] / 100, n = r < 0.5 ? 2 * t * r : 2 * t * (1 - r), o = 0;
    return n < 1 && (o = (r - 0.5 * n) / (1 - n)), [e[0], n * 100, o * 100];
  };
  le.hsv.hcg = function(e) {
    let t = e[1] / 100, r = e[2] / 100, n = t * r, o = 0;
    return n < 1 && (o = (r - n) / (1 - n)), [e[0], n * 100, o * 100];
  };
  le.hcg.rgb = function(e) {
    let t = e[0] / 360, r = e[1] / 100, n = e[2] / 100;
    if (r === 0)
      return [n * 255, n * 255, n * 255];
    let o = [0, 0, 0], i = t % 1 * 6, s = i % 1, l = 1 - s, u = 0;
    switch (Math.floor(i)) {
      case 0:
        o[0] = 1, o[1] = s, o[2] = 0;
        break;
      case 1:
        o[0] = l, o[1] = 1, o[2] = 0;
        break;
      case 2:
        o[0] = 0, o[1] = 1, o[2] = s;
        break;
      case 3:
        o[0] = 0, o[1] = l, o[2] = 1;
        break;
      case 4:
        o[0] = s, o[1] = 0, o[2] = 1;
        break;
      default:
        o[0] = 1, o[1] = 0, o[2] = l;
    }
    return u = (1 - r) * n, [
      (r * o[0] + u) * 255,
      (r * o[1] + u) * 255,
      (r * o[2] + u) * 255
    ];
  };
  le.hcg.hsv = function(e) {
    let t = e[1] / 100, r = e[2] / 100, n = t + r * (1 - t), o = 0;
    return n > 0 && (o = t / n), [e[0], o * 100, n * 100];
  };
  le.hcg.hsl = function(e) {
    let t = e[1] / 100, n = e[2] / 100 * (1 - t) + 0.5 * t, o = 0;
    return n > 0 && n < 0.5 ? o = t / (2 * n) : n >= 0.5 && n < 1 && (o = t / (2 * (1 - n))), [e[0], o * 100, n * 100];
  };
  le.hcg.hwb = function(e) {
    let t = e[1] / 100, r = e[2] / 100, n = t + r * (1 - t);
    return [e[0], (n - t) * 100, (1 - n) * 100];
  };
  le.hwb.hcg = function(e) {
    let t = e[1] / 100, n = 1 - e[2] / 100, o = n - t, i = 0;
    return o < 1 && (i = (n - o) / (1 - o)), [e[0], o * 100, i * 100];
  };
  le.apple.rgb = function(e) {
    return [e[0] / 65535 * 255, e[1] / 65535 * 255, e[2] / 65535 * 255];
  };
  le.rgb.apple = function(e) {
    return [e[0] / 255 * 65535, e[1] / 255 * 65535, e[2] / 255 * 65535];
  };
  le.gray.rgb = function(e) {
    return [e[0] / 100 * 255, e[0] / 100 * 255, e[0] / 100 * 255];
  };
  le.gray.hsl = function(e) {
    return [0, 0, e[0]];
  };
  le.gray.hsv = le.gray.hsl;
  le.gray.hwb = function(e) {
    return [0, 100, e[0]];
  };
  le.gray.cmyk = function(e) {
    return [0, 0, 0, e[0]];
  };
  le.gray.lab = function(e) {
    return [e[0], 0, 0];
  };
  le.gray.hex = function(e) {
    let t = Math.round(e[0] / 100 * 255) & 255, n = ((t << 16) + (t << 8) + t).toString(16).toUpperCase();
    return "000000".substring(n.length) + n;
  };
  le.rgb.gray = function(e) {
    return [(e[0] + e[1] + e[2]) / 3 / 255 * 100];
  };
});

// ../node_modules/color-convert/route.js
var UQ = R((iIt, zQ) => {
  var dE = h6();
  function lLe() {
    let e = {}, t = Object.keys(dE);
    for (let r = t.length, n = 0; n < r; n++)
      e[t[n]] = {
        // http://jsperf.com/1-vs-infinity
        // micro-opt, but this is simple.
        distance: -1,
        parent: null
      };
    return e;
  }
  a(lLe, "buildGraph");
  function uLe(e) {
    let t = lLe(), r = [e];
    for (t[e].distance = 0; r.length; ) {
      let n = r.pop(), o = Object.keys(dE[n]);
      for (let i = o.length, s = 0; s < i; s++) {
        let l = o[s], u = t[l];
        u.distance === -1 && (u.distance = t[n].distance + 1, u.parent = n, r.unshift(l));
      }
    }
    return t;
  }
  a(uLe, "deriveBFS");
  function cLe(e, t) {
    return function(r) {
      return t(e(r));
    };
  }
  a(cLe, "link");
  function dLe(e, t) {
    let r = [t[e].parent, e], n = dE[t[e].parent][e], o = t[e].parent;
    for (; t[o].parent; )
      r.unshift(t[o].parent), n = cLe(dE[t[o].parent][o], n), o = t[o].parent;
    return n.conversion = r, n;
  }
  a(dLe, "wrapConversion");
  zQ.exports = function(e) {
    let t = uLe(e), r = {}, n = Object.keys(t);
    for (let o = n.length, i = 0; i < o; i++) {
      let s = n[i];
      t[s].parent !== null && (r[s] = dLe(s, t));
    }
    return r;
  };
});

// ../node_modules/color-convert/index.js
var WQ = R((lIt, VQ) => {
  var g6 = h6(), fLe = UQ(), gd = {}, pLe = Object.keys(g6);
  function mLe(e) {
    let t = /* @__PURE__ */ a(function(...r) {
      let n = r[0];
      return n == null ? n : (n.length > 1 && (r = n), e(r));
    }, "wrappedFn");
    return "conversion" in e && (t.conversion = e.conversion), t;
  }
  a(mLe, "wrapRaw");
  function hLe(e) {
    let t = /* @__PURE__ */ a(function(...r) {
      let n = r[0];
      if (n == null)
        return n;
      n.length > 1 && (r = n);
      let o = e(r);
      if (typeof o == "object")
        for (let i = o.length, s = 0; s < i; s++)
          o[s] = Math.round(o[s]);
      return o;
    }, "wrappedFn");
    return "conversion" in e && (t.conversion = e.conversion), t;
  }
  a(hLe, "wrapRounded");
  pLe.forEach((e) => {
    gd[e] = {}, Object.defineProperty(gd[e], "channels", { value: g6[e].channels }), Object.defineProperty(gd[e], "labels", { value: g6[e].labels });
    let t = fLe(e);
    Object.keys(t).forEach((n) => {
      let o = t[n];
      gd[e][n] = hLe(o), gd[e][n].raw = mLe(o);
    });
  });
  VQ.exports = gd;
});

// ../node_modules/ansi-styles/index.js
var QQ = R((cIt, JQ) => {
  "use strict";
  var GQ = /* @__PURE__ */ a((e, t) => (...r) => `\x1B[${e(...r) + t}m`, "wrapAnsi16"), YQ = /* @__PURE__ */ a((e, t) => (...r) => {
    let n = e(...r);
    return `\x1B[${38 + t};5;${n}m`;
  }, "wrapAnsi256"), KQ = /* @__PURE__ */ a((e, t) => (...r) => {
    let n = e(...r);
    return `\x1B[${38 + t};2;${n[0]};${n[1]};${n[2]}m`;
  }, "wrapAnsi16m"), fE = /* @__PURE__ */ a((e) => e, "ansi2ansi"), XQ = /* @__PURE__ */ a((e, t, r) => [e, t, r], "rgb2rgb"), yd = /* @__PURE__ */ a(
  (e, t, r) => {
    Object.defineProperty(e, t, {
      get: /* @__PURE__ */ a(() => {
        let n = r();
        return Object.defineProperty(e, t, {
          value: n,
          enumerable: !0,
          configurable: !0
        }), n;
      }, "get"),
      enumerable: !0,
      configurable: !0
    });
  }, "setLazyProperty"), y6, vd = /* @__PURE__ */ a((e, t, r, n) => {
    y6 === void 0 && (y6 = WQ());
    let o = n ? 10 : 0, i = {};
    for (let [s, l] of Object.entries(y6)) {
      let u = s === "ansi16" ? "ansi" : s;
      s === t ? i[u] = e(r, o) : typeof l == "object" && (i[u] = e(l[t], o));
    }
    return i;
  }, "makeDynamicStyles");
  function gLe() {
    let e = /* @__PURE__ */ new Map(), t = {
      modifier: {
        reset: [0, 0],
        // 21 isn't widely supported and 22 does the same thing
        bold: [1, 22],
        dim: [2, 22],
        italic: [3, 23],
        underline: [4, 24],
        inverse: [7, 27],
        hidden: [8, 28],
        strikethrough: [9, 29]
      },
      color: {
        black: [30, 39],
        red: [31, 39],
        green: [32, 39],
        yellow: [33, 39],
        blue: [34, 39],
        magenta: [35, 39],
        cyan: [36, 39],
        white: [37, 39],
        // Bright color
        blackBright: [90, 39],
        redBright: [91, 39],
        greenBright: [92, 39],
        yellowBright: [93, 39],
        blueBright: [94, 39],
        magentaBright: [95, 39],
        cyanBright: [96, 39],
        whiteBright: [97, 39]
      },
      bgColor: {
        bgBlack: [40, 49],
        bgRed: [41, 49],
        bgGreen: [42, 49],
        bgYellow: [43, 49],
        bgBlue: [44, 49],
        bgMagenta: [45, 49],
        bgCyan: [46, 49],
        bgWhite: [47, 49],
        // Bright color
        bgBlackBright: [100, 49],
        bgRedBright: [101, 49],
        bgGreenBright: [102, 49],
        bgYellowBright: [103, 49],
        bgBlueBright: [104, 49],
        bgMagentaBright: [105, 49],
        bgCyanBright: [106, 49],
        bgWhiteBright: [107, 49]
      }
    };
    t.color.gray = t.color.blackBright, t.bgColor.bgGray = t.bgColor.bgBlackBright, t.color.grey = t.color.blackBright, t.bgColor.bgGrey = t.
    bgColor.bgBlackBright;
    for (let [r, n] of Object.entries(t)) {
      for (let [o, i] of Object.entries(n))
        t[o] = {
          open: `\x1B[${i[0]}m`,
          close: `\x1B[${i[1]}m`
        }, n[o] = t[o], e.set(i[0], i[1]);
      Object.defineProperty(t, r, {
        value: n,
        enumerable: !1
      });
    }
    return Object.defineProperty(t, "codes", {
      value: e,
      enumerable: !1
    }), t.color.close = "\x1B[39m", t.bgColor.close = "\x1B[49m", yd(t.color, "ansi", () => vd(GQ, "ansi16", fE, !1)), yd(t.color, "ansi256",
    () => vd(YQ, "ansi256", fE, !1)), yd(t.color, "ansi16m", () => vd(KQ, "rgb", XQ, !1)), yd(t.bgColor, "ansi", () => vd(GQ, "ansi16", fE, !0)),
    yd(t.bgColor, "ansi256", () => vd(YQ, "ansi256", fE, !0)), yd(t.bgColor, "ansi16m", () => vd(KQ, "rgb", XQ, !0)), t;
  }
  a(gLe, "assembleStyles");
  Object.defineProperty(JQ, "exports", {
    enumerable: !0,
    get: gLe
  });
});

// ../node_modules/supports-color/browser.js
var eZ = R((fIt, ZQ) => {
  "use strict";
  ZQ.exports = {
    stdout: !1,
    stderr: !1
  };
});

// ../node_modules/@testing-library/jest-dom/node_modules/chalk/source/util.js
var rZ = R((pIt, tZ) => {
  "use strict";
  var yLe = /* @__PURE__ */ a((e, t, r) => {
    let n = e.indexOf(t);
    if (n === -1)
      return e;
    let o = t.length, i = 0, s = "";
    do
      s += e.substr(i, n - i) + t + r, i = n + o, n = e.indexOf(t, i);
    while (n !== -1);
    return s += e.substr(i), s;
  }, "stringReplaceAll"), vLe = /* @__PURE__ */ a((e, t, r, n) => {
    let o = 0, i = "";
    do {
      let s = e[n - 1] === "\r";
      i += e.substr(o, (s ? n - 1 : n) - o) + t + (s ? `\r
` : `
`) + r, o = n + 1, n = e.indexOf(`
`, o);
    } while (n !== -1);
    return i += e.substr(o), i;
  }, "stringEncaseCRLFWithFirstIndex");
  tZ.exports = {
    stringReplaceAll: yLe,
    stringEncaseCRLFWithFirstIndex: vLe
  };
});

// ../node_modules/@testing-library/jest-dom/node_modules/chalk/source/templates.js
var sZ = R((hIt, iZ) => {
  "use strict";
  var bLe = /(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,
  nZ = /(?:^|\.)(\w+)(?:\(([^)]*)\))?/g, wLe = /^(['"])((?:\\.|(?!\1)[^\\])*)\1$/, ELe = /\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.)|([^\\])/gi,
  RLe = /* @__PURE__ */ new Map([
    ["n", `
`],
    ["r", "\r"],
    ["t", "	"],
    ["b", "\b"],
    ["f", "\f"],
    ["v", "\v"],
    ["0", "\0"],
    ["\\", "\\"],
    ["e", "\x1B"],
    ["a", "\x07"]
  ]);
  function aZ(e) {
    let t = e[0] === "u", r = e[1] === "{";
    return t && !r && e.length === 5 || e[0] === "x" && e.length === 3 ? String.fromCharCode(parseInt(e.slice(1), 16)) : t && r ? String.fromCodePoint(
    parseInt(e.slice(2, -1), 16)) : RLe.get(e) || e;
  }
  a(aZ, "unescape");
  function xLe(e, t) {
    let r = [], n = t.trim().split(/\s*,\s*/g), o;
    for (let i of n) {
      let s = Number(i);
      if (!Number.isNaN(s))
        r.push(s);
      else if (o = i.match(wLe))
        r.push(o[2].replace(ELe, (l, u, c) => u ? aZ(u) : c));
      else
        throw new Error(`Invalid Chalk template style argument: ${i} (in style '${e}')`);
    }
    return r;
  }
  a(xLe, "parseArguments");
  function SLe(e) {
    nZ.lastIndex = 0;
    let t = [], r;
    for (; (r = nZ.exec(e)) !== null; ) {
      let n = r[1];
      if (r[2]) {
        let o = xLe(n, r[2]);
        t.push([n].concat(o));
      } else
        t.push([n]);
    }
    return t;
  }
  a(SLe, "parseStyle");
  function oZ(e, t) {
    let r = {};
    for (let o of t)
      for (let i of o.styles)
        r[i[0]] = o.inverse ? null : i.slice(1);
    let n = e;
    for (let [o, i] of Object.entries(r))
      if (Array.isArray(i)) {
        if (!(o in n))
          throw new Error(`Unknown Chalk style: ${o}`);
        n = i.length > 0 ? n[o](...i) : n[o];
      }
    return n;
  }
  a(oZ, "buildStyle");
  iZ.exports = (e, t) => {
    let r = [], n = [], o = [];
    if (t.replace(bLe, (i, s, l, u, c, d) => {
      if (s)
        o.push(aZ(s));
      else if (u) {
        let f = o.join("");
        o = [], n.push(r.length === 0 ? f : oZ(e, r)(f)), r.push({ inverse: l, styles: SLe(u) });
      } else if (c) {
        if (r.length === 0)
          throw new Error("Found extraneous } in Chalk template literal");
        n.push(oZ(e, r)(o.join(""))), o = [], r.pop();
      } else
        o.push(d);
    }), n.push(o.join("")), r.length > 0) {
      let i = `Chalk template literal is missing ${r.length} closing bracket${r.length === 1 ? "" : "s"} (\`}\`)`;
      throw new Error(i);
    }
    return n.join("");
  };
});

// ../node_modules/@testing-library/jest-dom/node_modules/chalk/source/index.js
var S6 = R((yIt, dZ) => {
  "use strict";
  var Rm = QQ(), { stdout: b6, stderr: w6 } = eZ(), {
    stringReplaceAll: CLe,
    stringEncaseCRLFWithFirstIndex: _Le
  } = rZ(), lZ = [
    "ansi",
    "ansi",
    "ansi256",
    "ansi16m"
  ], bd = /* @__PURE__ */ Object.create(null), PLe = /* @__PURE__ */ a((e, t = {}) => {
    if (t.level > 3 || t.level < 0)
      throw new Error("The `level` option should be an integer from 0 to 3");
    let r = b6 ? b6.level : 0;
    e.level = t.level === void 0 ? r : t.level;
  }, "applyOptions"), x6 = class x6 {
    constructor(t) {
      return uZ(t);
    }
  };
  a(x6, "ChalkClass");
  var E6 = x6, uZ = /* @__PURE__ */ a((e) => {
    let t = {};
    return PLe(t, e), t.template = (...r) => OLe(t.template, ...r), Object.setPrototypeOf(t, pE.prototype), Object.setPrototypeOf(t.template,
    t), t.template.constructor = () => {
      throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.");
    }, t.template.Instance = E6, t.template;
  }, "chalkFactory");
  function pE(e) {
    return uZ(e);
  }
  a(pE, "Chalk");
  for (let [e, t] of Object.entries(Rm))
    bd[e] = {
      get() {
        let r = mE(this, R6(t.open, t.close, this._styler), this._isEmpty);
        return Object.defineProperty(this, e, { value: r }), r;
      }
    };
  bd.visible = {
    get() {
      let e = mE(this, this._styler, !0);
      return Object.defineProperty(this, "visible", { value: e }), e;
    }
  };
  var cZ = ["rgb", "hex", "keyword", "hsl", "hsv", "hwb", "ansi", "ansi256"];
  for (let e of cZ)
    bd[e] = {
      get() {
        let { level: t } = this;
        return function(...r) {
          let n = R6(Rm.color[lZ[t]][e](...r), Rm.color.close, this._styler);
          return mE(this, n, this._isEmpty);
        };
      }
    };
  for (let e of cZ) {
    let t = "bg" + e[0].toUpperCase() + e.slice(1);
    bd[t] = {
      get() {
        let { level: r } = this;
        return function(...n) {
          let o = R6(Rm.bgColor[lZ[r]][e](...n), Rm.bgColor.close, this._styler);
          return mE(this, o, this._isEmpty);
        };
      }
    };
  }
  var TLe = Object.defineProperties(() => {
  }, {
    ...bd,
    level: {
      enumerable: !0,
      get() {
        return this._generator.level;
      },
      set(e) {
        this._generator.level = e;
      }
    }
  }), R6 = /* @__PURE__ */ a((e, t, r) => {
    let n, o;
    return r === void 0 ? (n = e, o = t) : (n = r.openAll + e, o = t + r.closeAll), {
      open: e,
      close: t,
      openAll: n,
      closeAll: o,
      parent: r
    };
  }, "createStyler"), mE = /* @__PURE__ */ a((e, t, r) => {
    let n = /* @__PURE__ */ a((...o) => ALe(n, o.length === 1 ? "" + o[0] : o.join(" ")), "builder");
    return n.__proto__ = TLe, n._generator = e, n._styler = t, n._isEmpty = r, n;
  }, "createBuilder"), ALe = /* @__PURE__ */ a((e, t) => {
    if (e.level <= 0 || !t)
      return e._isEmpty ? "" : t;
    let r = e._styler;
    if (r === void 0)
      return t;
    let { openAll: n, closeAll: o } = r;
    if (t.indexOf("\x1B") !== -1)
      for (; r !== void 0; )
        t = CLe(t, r.close, r.open), r = r.parent;
    let i = t.indexOf(`
`);
    return i !== -1 && (t = _Le(t, o, n, i)), n + t + o;
  }, "applyStyle"), v6, OLe = /* @__PURE__ */ a((e, ...t) => {
    let [r] = t;
    if (!Array.isArray(r))
      return t.join(" ");
    let n = t.slice(1), o = [r.raw[0]];
    for (let i = 1; i < r.length; i++)
      o.push(
        String(n[i - 1]).replace(/[{}\\]/g, "\\$&"),
        String(r.raw[i])
      );
    return v6 === void 0 && (v6 = sZ()), v6(e, o.join(""));
  }, "chalkTag");
  Object.defineProperties(pE.prototype, bd);
  var xm = pE();
  xm.supportsColor = b6;
  xm.stderr = pE({ level: w6 ? w6.level : 0 });
  xm.stderr.supportsColor = w6;
  xm.Level = {
    None: 0,
    Basic: 1,
    Ansi256: 2,
    TrueColor: 3,
    0: "None",
    1: "Basic",
    2: "Ansi256",
    3: "TrueColor"
  };
  dZ.exports = xm;
});

// ../node_modules/lodash/_listCacheClear.js
var pZ = R((bIt, fZ) => {
  function ILe() {
    this.__data__ = [], this.size = 0;
  }
  a(ILe, "listCacheClear");
  fZ.exports = ILe;
});

// ../node_modules/lodash/eq.js
var C6 = R((EIt, mZ) => {
  function MLe(e, t) {
    return e === t || e !== e && t !== t;
  }
  a(MLe, "eq");
  mZ.exports = MLe;
});

// ../node_modules/lodash/_assocIndexOf.js
var Sm = R((xIt, hZ) => {
  var NLe = C6();
  function LLe(e, t) {
    for (var r = e.length; r--; )
      if (NLe(e[r][0], t))
        return r;
    return -1;
  }
  a(LLe, "assocIndexOf");
  hZ.exports = LLe;
});

// ../node_modules/lodash/_listCacheDelete.js
var yZ = R((CIt, gZ) => {
  var kLe = Sm(), qLe = Array.prototype, DLe = qLe.splice;
  function FLe(e) {
    var t = this.__data__, r = kLe(t, e);
    if (r < 0)
      return !1;
    var n = t.length - 1;
    return r == n ? t.pop() : DLe.call(t, r, 1), --this.size, !0;
  }
  a(FLe, "listCacheDelete");
  gZ.exports = FLe;
});

// ../node_modules/lodash/_listCacheGet.js
var bZ = R((PIt, vZ) => {
  var jLe = Sm();
  function BLe(e) {
    var t = this.__data__, r = jLe(t, e);
    return r < 0 ? void 0 : t[r][1];
  }
  a(BLe, "listCacheGet");
  vZ.exports = BLe;
});

// ../node_modules/lodash/_listCacheHas.js
var EZ = R((AIt, wZ) => {
  var $Le = Sm();
  function HLe(e) {
    return $Le(this.__data__, e) > -1;
  }
  a(HLe, "listCacheHas");
  wZ.exports = HLe;
});

// ../node_modules/lodash/_listCacheSet.js
var xZ = R((IIt, RZ) => {
  var zLe = Sm();
  function ULe(e, t) {
    var r = this.__data__, n = zLe(r, e);
    return n < 0 ? (++this.size, r.push([e, t])) : r[n][1] = t, this;
  }
  a(ULe, "listCacheSet");
  RZ.exports = ULe;
});

// ../node_modules/lodash/_ListCache.js
var Cm = R((NIt, SZ) => {
  var VLe = pZ(), WLe = yZ(), GLe = bZ(), YLe = EZ(), KLe = xZ();
  function wd(e) {
    var t = -1, r = e == null ? 0 : e.length;
    for (this.clear(); ++t < r; ) {
      var n = e[t];
      this.set(n[0], n[1]);
    }
  }
  a(wd, "ListCache");
  wd.prototype.clear = VLe;
  wd.prototype.delete = WLe;
  wd.prototype.get = GLe;
  wd.prototype.has = YLe;
  wd.prototype.set = KLe;
  SZ.exports = wd;
});

// ../node_modules/lodash/_stackClear.js
var _Z = R((kIt, CZ) => {
  var XLe = Cm();
  function JLe() {
    this.__data__ = new XLe(), this.size = 0;
  }
  a(JLe, "stackClear");
  CZ.exports = JLe;
});

// ../node_modules/lodash/_stackDelete.js
var TZ = R((DIt, PZ) => {
  function QLe(e) {
    var t = this.__data__, r = t.delete(e);
    return this.size = t.size, r;
  }
  a(QLe, "stackDelete");
  PZ.exports = QLe;
});

// ../node_modules/lodash/_stackGet.js
var OZ = R((jIt, AZ) => {
  function ZLe(e) {
    return this.__data__.get(e);
  }
  a(ZLe, "stackGet");
  AZ.exports = ZLe;
});

// ../node_modules/lodash/_stackHas.js
var MZ = R(($It, IZ) => {
  function eke(e) {
    return this.__data__.has(e);
  }
  a(eke, "stackHas");
  IZ.exports = eke;
});

// ../node_modules/lodash/_freeGlobal.js
var _6 = R((zIt, NZ) => {
  var tke = typeof global == "object" && global && global.Object === Object && global;
  NZ.exports = tke;
});

// ../node_modules/lodash/_root.js
var Ca = R((UIt, LZ) => {
  var rke = _6(), nke = typeof self == "object" && self && self.Object === Object && self, oke = rke || nke || Function("return this")();
  LZ.exports = oke;
});

// ../node_modules/lodash/_Symbol.js
var hE = R((VIt, kZ) => {
  var ake = Ca(), ike = ake.Symbol;
  kZ.exports = ike;
});

// ../node_modules/lodash/_getRawTag.js
var jZ = R((WIt, FZ) => {
  var qZ = hE(), DZ = Object.prototype, ske = DZ.hasOwnProperty, lke = DZ.toString, _m = qZ ? qZ.toStringTag : void 0;
  function uke(e) {
    var t = ske.call(e, _m), r = e[_m];
    try {
      e[_m] = void 0;
      var n = !0;
    } catch {
    }
    var o = lke.call(e);
    return n && (t ? e[_m] = r : delete e[_m]), o;
  }
  a(uke, "getRawTag");
  FZ.exports = uke;
});

// ../node_modules/lodash/_objectToString.js
var $Z = R((YIt, BZ) => {
  var cke = Object.prototype, dke = cke.toString;
  function fke(e) {
    return dke.call(e);
  }
  a(fke, "objectToString");
  BZ.exports = fke;
});

// ../node_modules/lodash/_baseGetTag.js
var Pm = R((XIt, UZ) => {
  var HZ = hE(), pke = jZ(), mke = $Z(), hke = "[object Null]", gke = "[object Undefined]", zZ = HZ ? HZ.toStringTag : void 0;
  function yke(e) {
    return e == null ? e === void 0 ? gke : hke : zZ && zZ in Object(e) ? pke(e) : mke(e);
  }
  a(yke, "baseGetTag");
  UZ.exports = yke;
});

// ../node_modules/lodash/isObject.js
var P6 = R((QIt, VZ) => {
  function vke(e) {
    var t = typeof e;
    return e != null && (t == "object" || t == "function");
  }
  a(vke, "isObject");
  VZ.exports = vke;
});

// ../node_modules/lodash/isFunction.js
var T6 = R((e8t, WZ) => {
  var bke = Pm(), wke = P6(), Eke = "[object AsyncFunction]", Rke = "[object Function]", xke = "[object GeneratorFunction]", Ske = "[object \
Proxy]";
  function Cke(e) {
    if (!wke(e))
      return !1;
    var t = bke(e);
    return t == Rke || t == xke || t == Eke || t == Ske;
  }
  a(Cke, "isFunction");
  WZ.exports = Cke;
});

// ../node_modules/lodash/_coreJsData.js
var YZ = R((r8t, GZ) => {
  var _ke = Ca(), Pke = _ke["__core-js_shared__"];
  GZ.exports = Pke;
});

// ../node_modules/lodash/_isMasked.js
var JZ = R((n8t, XZ) => {
  var A6 = YZ(), KZ = function() {
    var e = /[^.]+$/.exec(A6 && A6.keys && A6.keys.IE_PROTO || "");
    return e ? "Symbol(src)_1." + e : "";
  }();
  function Tke(e) {
    return !!KZ && KZ in e;
  }
  a(Tke, "isMasked");
  XZ.exports = Tke;
});

// ../node_modules/lodash/_toSource.js
var O6 = R((a8t, QZ) => {
  var Ake = Function.prototype, Oke = Ake.toString;
  function Ike(e) {
    if (e != null) {
      try {
        return Oke.call(e);
      } catch {
      }
      try {
        return e + "";
      } catch {
      }
    }
    return "";
  }
  a(Ike, "toSource");
  QZ.exports = Ike;
});

// ../node_modules/lodash/_baseIsNative.js
var eee = R((s8t, ZZ) => {
  var Mke = T6(), Nke = JZ(), Lke = P6(), kke = O6(), qke = /[\\^$.*+?()[\]{}|]/g, Dke = /^\[object .+?Constructor\]$/, Fke = Function.prototype,
  jke = Object.prototype, Bke = Fke.toString, $ke = jke.hasOwnProperty, Hke = RegExp(
    "^" + Bke.call($ke).replace(qke, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
  );
  function zke(e) {
    if (!Lke(e) || Nke(e))
      return !1;
    var t = Mke(e) ? Hke : Dke;
    return t.test(kke(e));
  }
  a(zke, "baseIsNative");
  ZZ.exports = zke;
});

// ../node_modules/lodash/_getValue.js
var ree = R((u8t, tee) => {
  function Uke(e, t) {
    return e?.[t];
  }
  a(Uke, "getValue");
  tee.exports = Uke;
});

// ../node_modules/lodash/_getNative.js
var Jl = R((d8t, nee) => {
  var Vke = eee(), Wke = ree();
  function Gke(e, t) {
    var r = Wke(e, t);
    return Vke(r) ? r : void 0;
  }
  a(Gke, "getNative");
  nee.exports = Gke;
});

// ../node_modules/lodash/_Map.js
var gE = R((p8t, oee) => {
  var Yke = Jl(), Kke = Ca(), Xke = Yke(Kke, "Map");
  oee.exports = Xke;
});

// ../node_modules/lodash/_nativeCreate.js
var Tm = R((m8t, aee) => {
  var Jke = Jl(), Qke = Jke(Object, "create");
  aee.exports = Qke;
});

// ../node_modules/lodash/_hashClear.js
var lee = R((h8t, see) => {
  var iee = Tm();
  function Zke() {
    this.__data__ = iee ? iee(null) : {}, this.size = 0;
  }
  a(Zke, "hashClear");
  see.exports = Zke;
});

// ../node_modules/lodash/_hashDelete.js
var cee = R((y8t, uee) => {
  function eqe(e) {
    var t = this.has(e) && delete this.__data__[e];
    return this.size -= t ? 1 : 0, t;
  }
  a(eqe, "hashDelete");
  uee.exports = eqe;
});

// ../node_modules/lodash/_hashGet.js
var fee = R((b8t, dee) => {
  var tqe = Tm(), rqe = "__lodash_hash_undefined__", nqe = Object.prototype, oqe = nqe.hasOwnProperty;
  function aqe(e) {
    var t = this.__data__;
    if (tqe) {
      var r = t[e];
      return r === rqe ? void 0 : r;
    }
    return oqe.call(t, e) ? t[e] : void 0;
  }
  a(aqe, "hashGet");
  dee.exports = aqe;
});

// ../node_modules/lodash/_hashHas.js
var mee = R((E8t, pee) => {
  var iqe = Tm(), sqe = Object.prototype, lqe = sqe.hasOwnProperty;
  function uqe(e) {
    var t = this.__data__;
    return iqe ? t[e] !== void 0 : lqe.call(t, e);
  }
  a(uqe, "hashHas");
  pee.exports = uqe;
});

// ../node_modules/lodash/_hashSet.js
var gee = R((x8t, hee) => {
  var cqe = Tm(), dqe = "__lodash_hash_undefined__";
  function fqe(e, t) {
    var r = this.__data__;
    return this.size += this.has(e) ? 0 : 1, r[e] = cqe && t === void 0 ? dqe : t, this;
  }
  a(fqe, "hashSet");
  hee.exports = fqe;
});

// ../node_modules/lodash/_Hash.js
var vee = R((C8t, yee) => {
  var pqe = lee(), mqe = cee(), hqe = fee(), gqe = mee(), yqe = gee();
  function Ed(e) {
    var t = -1, r = e == null ? 0 : e.length;
    for (this.clear(); ++t < r; ) {
      var n = e[t];
      this.set(n[0], n[1]);
    }
  }
  a(Ed, "Hash");
  Ed.prototype.clear = pqe;
  Ed.prototype.delete = mqe;
  Ed.prototype.get = hqe;
  Ed.prototype.has = gqe;
  Ed.prototype.set = yqe;
  yee.exports = Ed;
});

// ../node_modules/lodash/_mapCacheClear.js
var Eee = R((P8t, wee) => {
  var bee = vee(), vqe = Cm(), bqe = gE();
  function wqe() {
    this.size = 0, this.__data__ = {
      hash: new bee(),
      map: new (bqe || vqe)(),
      string: new bee()
    };
  }
  a(wqe, "mapCacheClear");
  wee.exports = wqe;
});

// ../node_modules/lodash/_isKeyable.js
var xee = R((A8t, Ree) => {
  function Eqe(e) {
    var t = typeof e;
    return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
  }
  a(Eqe, "isKeyable");
  Ree.exports = Eqe;
});

// ../node_modules/lodash/_getMapData.js
var Am = R((I8t, See) => {
  var Rqe = xee();
  function xqe(e, t) {
    var r = e.__data__;
    return Rqe(t) ? r[typeof t == "string" ? "string" : "hash"] : r.map;
  }
  a(xqe, "getMapData");
  See.exports = xqe;
});

// ../node_modules/lodash/_mapCacheDelete.js
var _ee = R((N8t, Cee) => {
  var Sqe = Am();
  function Cqe(e) {
    var t = Sqe(this, e).delete(e);
    return this.size -= t ? 1 : 0, t;
  }
  a(Cqe, "mapCacheDelete");
  Cee.exports = Cqe;
});

// ../node_modules/lodash/_mapCacheGet.js
var Tee = R((k8t, Pee) => {
  var _qe = Am();
  function Pqe(e) {
    return _qe(this, e).get(e);
  }
  a(Pqe, "mapCacheGet");
  Pee.exports = Pqe;
});

// ../node_modules/lodash/_mapCacheHas.js
var Oee = R((D8t, Aee) => {
  var Tqe = Am();
  function Aqe(e) {
    return Tqe(this, e).has(e);
  }
  a(Aqe, "mapCacheHas");
  Aee.exports = Aqe;
});

// ../node_modules/lodash/_mapCacheSet.js
var Mee = R((j8t, Iee) => {
  var Oqe = Am();
  function Iqe(e, t) {
    var r = Oqe(this, e), n = r.size;
    return r.set(e, t), this.size += r.size == n ? 0 : 1, this;
  }
  a(Iqe, "mapCacheSet");
  Iee.exports = Iqe;
});

// ../node_modules/lodash/_MapCache.js
var I6 = R(($8t, Nee) => {
  var Mqe = Eee(), Nqe = _ee(), Lqe = Tee(), kqe = Oee(), qqe = Mee();
  function Rd(e) {
    var t = -1, r = e == null ? 0 : e.length;
    for (this.clear(); ++t < r; ) {
      var n = e[t];
      this.set(n[0], n[1]);
    }
  }
  a(Rd, "MapCache");
  Rd.prototype.clear = Mqe;
  Rd.prototype.delete = Nqe;
  Rd.prototype.get = Lqe;
  Rd.prototype.has = kqe;
  Rd.prototype.set = qqe;
  Nee.exports = Rd;
});

// ../node_modules/lodash/_stackSet.js
var kee = R((z8t, Lee) => {
  var Dqe = Cm(), Fqe = gE(), jqe = I6(), Bqe = 200;
  function $qe(e, t) {
    var r = this.__data__;
    if (r instanceof Dqe) {
      var n = r.__data__;
      if (!Fqe || n.length < Bqe - 1)
        return n.push([e, t]), this.size = ++r.size, this;
      r = this.__data__ = new jqe(n);
    }
    return r.set(e, t), this.size = r.size, this;
  }
  a($qe, "stackSet");
  Lee.exports = $qe;
});

// ../node_modules/lodash/_Stack.js
var Dee = R((V8t, qee) => {
  var Hqe = Cm(), zqe = _Z(), Uqe = TZ(), Vqe = OZ(), Wqe = MZ(), Gqe = kee();
  function xd(e) {
    var t = this.__data__ = new Hqe(e);
    this.size = t.size;
  }
  a(xd, "Stack");
  xd.prototype.clear = zqe;
  xd.prototype.delete = Uqe;
  xd.prototype.get = Vqe;
  xd.prototype.has = Wqe;
  xd.prototype.set = Gqe;
  qee.exports = xd;
});

// ../node_modules/lodash/_setCacheAdd.js
var jee = R((G8t, Fee) => {
  var Yqe = "__lodash_hash_undefined__";
  function Kqe(e) {
    return this.__data__.set(e, Yqe), this;
  }
  a(Kqe, "setCacheAdd");
  Fee.exports = Kqe;
});

// ../node_modules/lodash/_setCacheHas.js
var $ee = R((K8t, Bee) => {
  function Xqe(e) {
    return this.__data__.has(e);
  }
  a(Xqe, "setCacheHas");
  Bee.exports = Xqe;
});

// ../node_modules/lodash/_SetCache.js
var zee = R((J8t, Hee) => {
  var Jqe = I6(), Qqe = jee(), Zqe = $ee();
  function yE(e) {
    var t = -1, r = e == null ? 0 : e.length;
    for (this.__data__ = new Jqe(); ++t < r; )
      this.add(e[t]);
  }
  a(yE, "SetCache");
  yE.prototype.add = yE.prototype.push = Qqe;
  yE.prototype.has = Zqe;
  Hee.exports = yE;
});

// ../node_modules/lodash/_arraySome.js
var Vee = R((Z8t, Uee) => {
  function eDe(e, t) {
    for (var r = -1, n = e == null ? 0 : e.length; ++r < n; )
      if (t(e[r], r, e))
        return !0;
    return !1;
  }
  a(eDe, "arraySome");
  Uee.exports = eDe;
});

// ../node_modules/lodash/_cacheHas.js
var Gee = R((tMt, Wee) => {
  function tDe(e, t) {
    return e.has(t);
  }
  a(tDe, "cacheHas");
  Wee.exports = tDe;
});

// ../node_modules/lodash/_equalArrays.js
var M6 = R((nMt, Yee) => {
  var rDe = zee(), nDe = Vee(), oDe = Gee(), aDe = 1, iDe = 2;
  function sDe(e, t, r, n, o, i) {
    var s = r & aDe, l = e.length, u = t.length;
    if (l != u && !(s && u > l))
      return !1;
    var c = i.get(e), d = i.get(t);
    if (c && d)
      return c == t && d == e;
    var f = -1, p = !0, m = r & iDe ? new rDe() : void 0;
    for (i.set(e, t), i.set(t, e); ++f < l; ) {
      var v = e[f], y = t[f];
      if (n)
        var b = s ? n(y, v, f, t, e, i) : n(v, y, f, e, t, i);
      if (b !== void 0) {
        if (b)
          continue;
        p = !1;
        break;
      }
      if (m) {
        if (!nDe(t, function(g, w) {
          if (!oDe(m, w) && (v === g || o(v, g, r, n, i)))
            return m.push(w);
        })) {
          p = !1;
          break;
        }
      } else if (!(v === y || o(v, y, r, n, i))) {
        p = !1;
        break;
      }
    }
    return i.delete(e), i.delete(t), p;
  }
  a(sDe, "equalArrays");
  Yee.exports = sDe;
});

// ../node_modules/lodash/_Uint8Array.js
var Xee = R((aMt, Kee) => {
  var lDe = Ca(), uDe = lDe.Uint8Array;
  Kee.exports = uDe;
});

// ../node_modules/lodash/_mapToArray.js
var Qee = R((iMt, Jee) => {
  function cDe(e) {
    var t = -1, r = Array(e.size);
    return e.forEach(function(n, o) {
      r[++t] = [o, n];
    }), r;
  }
  a(cDe, "mapToArray");
  Jee.exports = cDe;
});

// ../node_modules/lodash/_setToArray.js
var ete = R((lMt, Zee) => {
  function dDe(e) {
    var t = -1, r = Array(e.size);
    return e.forEach(function(n) {
      r[++t] = n;
    }), r;
  }
  a(dDe, "setToArray");
  Zee.exports = dDe;
});

// ../node_modules/lodash/_equalByTag.js
var ate = R((cMt, ote) => {
  var tte = hE(), rte = Xee(), fDe = C6(), pDe = M6(), mDe = Qee(), hDe = ete(), gDe = 1, yDe = 2, vDe = "[object Boolean]", bDe = "[object \
Date]", wDe = "[object Error]", EDe = "[object Map]", RDe = "[object Number]", xDe = "[object RegExp]", SDe = "[object Set]", CDe = "[object\
 String]", _De = "[object Symbol]", PDe = "[object ArrayBuffer]", TDe = "[object DataView]", nte = tte ? tte.prototype : void 0, N6 = nte ? nte.
  valueOf : void 0;
  function ADe(e, t, r, n, o, i, s) {
    switch (r) {
      case TDe:
        if (e.byteLength != t.byteLength || e.byteOffset != t.byteOffset)
          return !1;
        e = e.buffer, t = t.buffer;
      case PDe:
        return !(e.byteLength != t.byteLength || !i(new rte(e), new rte(t)));
      case vDe:
      case bDe:
      case RDe:
        return fDe(+e, +t);
      case wDe:
        return e.name == t.name && e.message == t.message;
      case xDe:
      case CDe:
        return e == t + "";
      case EDe:
        var l = mDe;
      case SDe:
        var u = n & gDe;
        if (l || (l = hDe), e.size != t.size && !u)
          return !1;
        var c = s.get(e);
        if (c)
          return c == t;
        n |= yDe, s.set(e, t);
        var d = pDe(l(e), l(t), n, o, i, s);
        return s.delete(e), d;
      case _De:
        if (N6)
          return N6.call(e) == N6.call(t);
    }
    return !1;
  }
  a(ADe, "equalByTag");
  ote.exports = ADe;
});

// ../node_modules/lodash/_arrayPush.js
var ste = R((fMt, ite) => {
  function ODe(e, t) {
    for (var r = -1, n = t.length, o = e.length; ++r < n; )
      e[o + r] = t[r];
    return e;
  }
  a(ODe, "arrayPush");
  ite.exports = ODe;
});

// ../node_modules/lodash/isArray.js
var vE = R((mMt, lte) => {
  var IDe = Array.isArray;
  lte.exports = IDe;
});

// ../node_modules/lodash/_baseGetAllKeys.js
var cte = R((hMt, ute) => {
  var MDe = ste(), NDe = vE();
  function LDe(e, t, r) {
    var n = t(e);
    return NDe(e) ? n : MDe(n, r(e));
  }
  a(LDe, "baseGetAllKeys");
  ute.exports = LDe;
});

// ../node_modules/lodash/_arrayFilter.js
var fte = R((yMt, dte) => {
  function kDe(e, t) {
    for (var r = -1, n = e == null ? 0 : e.length, o = 0, i = []; ++r < n; ) {
      var s = e[r];
      t(s, r, e) && (i[o++] = s);
    }
    return i;
  }
  a(kDe, "arrayFilter");
  dte.exports = kDe;
});

// ../node_modules/lodash/stubArray.js
var mte = R((bMt, pte) => {
  function qDe() {
    return [];
  }
  a(qDe, "stubArray");
  pte.exports = qDe;
});

// ../node_modules/lodash/_getSymbols.js
var yte = R((EMt, gte) => {
  var DDe = fte(), FDe = mte(), jDe = Object.prototype, BDe = jDe.propertyIsEnumerable, hte = Object.getOwnPropertySymbols, $De = hte ? function(e) {
    return e == null ? [] : (e = Object(e), DDe(hte(e), function(t) {
      return BDe.call(e, t);
    }));
  } : FDe;
  gte.exports = $De;
});

// ../node_modules/lodash/_baseTimes.js
var bte = R((RMt, vte) => {
  function HDe(e, t) {
    for (var r = -1, n = Array(e); ++r < e; )
      n[r] = t(r);
    return n;
  }
  a(HDe, "baseTimes");
  vte.exports = HDe;
});

// ../node_modules/lodash/isObjectLike.js
var Om = R((SMt, wte) => {
  function zDe(e) {
    return e != null && typeof e == "object";
  }
  a(zDe, "isObjectLike");
  wte.exports = zDe;
});

// ../node_modules/lodash/_baseIsArguments.js
var Rte = R((_Mt, Ete) => {
  var UDe = Pm(), VDe = Om(), WDe = "[object Arguments]";
  function GDe(e) {
    return VDe(e) && UDe(e) == WDe;
  }
  a(GDe, "baseIsArguments");
  Ete.exports = GDe;
});

// ../node_modules/lodash/isArguments.js
var _te = R((TMt, Cte) => {
  var xte = Rte(), YDe = Om(), Ste = Object.prototype, KDe = Ste.hasOwnProperty, XDe = Ste.propertyIsEnumerable, JDe = xte(/* @__PURE__ */ function() {
    return arguments;
  }()) ? xte : function(e) {
    return YDe(e) && KDe.call(e, "callee") && !XDe.call(e, "callee");
  };
  Cte.exports = JDe;
});

// ../node_modules/lodash/stubFalse.js
var Tte = R((AMt, Pte) => {
  function QDe() {
    return !1;
  }
  a(QDe, "stubFalse");
  Pte.exports = QDe;
});

// ../node_modules/lodash/isBuffer.js
var L6 = R((Im, Sd) => {
  var ZDe = Ca(), eFe = Tte(), Ite = typeof Im == "object" && Im && !Im.nodeType && Im, Ate = Ite && typeof Sd == "object" && Sd && !Sd.nodeType &&
  Sd, tFe = Ate && Ate.exports === Ite, Ote = tFe ? ZDe.Buffer : void 0, rFe = Ote ? Ote.isBuffer : void 0, nFe = rFe || eFe;
  Sd.exports = nFe;
});

// ../node_modules/lodash/_isIndex.js
var Nte = R((IMt, Mte) => {
  var oFe = 9007199254740991, aFe = /^(?:0|[1-9]\d*)$/;
  function iFe(e, t) {
    var r = typeof e;
    return t = t ?? oFe, !!t && (r == "number" || r != "symbol" && aFe.test(e)) && e > -1 && e % 1 == 0 && e < t;
  }
  a(iFe, "isIndex");
  Mte.exports = iFe;
});

// ../node_modules/lodash/isLength.js
var k6 = R((NMt, Lte) => {
  var sFe = 9007199254740991;
  function lFe(e) {
    return typeof e == "number" && e > -1 && e % 1 == 0 && e <= sFe;
  }
  a(lFe, "isLength");
  Lte.exports = lFe;
});

// ../node_modules/lodash/_baseIsTypedArray.js
var qte = R((kMt, kte) => {
  var uFe = Pm(), cFe = k6(), dFe = Om(), fFe = "[object Arguments]", pFe = "[object Array]", mFe = "[object Boolean]", hFe = "[object Date]",
  gFe = "[object Error]", yFe = "[object Function]", vFe = "[object Map]", bFe = "[object Number]", wFe = "[object Object]", EFe = "[object \
RegExp]", RFe = "[object Set]", xFe = "[object String]", SFe = "[object WeakMap]", CFe = "[object ArrayBuffer]", _Fe = "[object DataView]", PFe = "\
[object Float32Array]", TFe = "[object Float64Array]", AFe = "[object Int8Array]", OFe = "[object Int16Array]", IFe = "[object Int32Array]",
  MFe = "[object Uint8Array]", NFe = "[object Uint8ClampedArray]", LFe = "[object Uint16Array]", kFe = "[object Uint32Array]", ot = {};
  ot[PFe] = ot[TFe] = ot[AFe] = ot[OFe] = ot[IFe] = ot[MFe] = ot[NFe] = ot[LFe] = ot[kFe] = !0;
  ot[fFe] = ot[pFe] = ot[CFe] = ot[mFe] = ot[_Fe] = ot[hFe] = ot[gFe] = ot[yFe] = ot[vFe] = ot[bFe] = ot[wFe] = ot[EFe] = ot[RFe] = ot[xFe] =
  ot[SFe] = !1;
  function qFe(e) {
    return dFe(e) && cFe(e.length) && !!ot[uFe(e)];
  }
  a(qFe, "baseIsTypedArray");
  kte.exports = qFe;
});

// ../node_modules/lodash/_baseUnary.js
var Fte = R((DMt, Dte) => {
  function DFe(e) {
    return function(t) {
      return e(t);
    };
  }
  a(DFe, "baseUnary");
  Dte.exports = DFe;
});

// ../node_modules/lodash/_nodeUtil.js
var Bte = R((Mm, Cd) => {
  var FFe = _6(), jte = typeof Mm == "object" && Mm && !Mm.nodeType && Mm, Nm = jte && typeof Cd == "object" && Cd && !Cd.nodeType && Cd, jFe = Nm &&
  Nm.exports === jte, q6 = jFe && FFe.process, BFe = function() {
    try {
      var e = Nm && Nm.require && Nm.require("util").types;
      return e || q6 && q6.binding && q6.binding("util");
    } catch {
    }
  }();
  Cd.exports = BFe;
});

// ../node_modules/lodash/isTypedArray.js
var D6 = R((jMt, zte) => {
  var $Fe = qte(), HFe = Fte(), $te = Bte(), Hte = $te && $te.isTypedArray, zFe = Hte ? HFe(Hte) : $Fe;
  zte.exports = zFe;
});

// ../node_modules/lodash/_arrayLikeKeys.js
var Vte = R((BMt, Ute) => {
  var UFe = bte(), VFe = _te(), WFe = vE(), GFe = L6(), YFe = Nte(), KFe = D6(), XFe = Object.prototype, JFe = XFe.hasOwnProperty;
  function QFe(e, t) {
    var r = WFe(e), n = !r && VFe(e), o = !r && !n && GFe(e), i = !r && !n && !o && KFe(e), s = r || n || o || i, l = s ? UFe(e.length, String) :
    [], u = l.length;
    for (var c in e)
      (t || JFe.call(e, c)) && !(s && // Safari 9 has enumerable `arguments.length` in strict mode.
      (c == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
      o && (c == "offset" || c == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
      i && (c == "buffer" || c == "byteLength" || c == "byteOffset") || // Skip index properties.
      YFe(c, u))) && l.push(c);
    return l;
  }
  a(QFe, "arrayLikeKeys");
  Ute.exports = QFe;
});

// ../node_modules/lodash/_isPrototype.js
var Gte = R((HMt, Wte) => {
  var ZFe = Object.prototype;
  function eje(e) {
    var t = e && e.constructor, r = typeof t == "function" && t.prototype || ZFe;
    return e === r;
  }
  a(eje, "isPrototype");
  Wte.exports = eje;
});

// ../node_modules/lodash/_overArg.js
var Kte = R((UMt, Yte) => {
  function tje(e, t) {
    return function(r) {
      return e(t(r));
    };
  }
  a(tje, "overArg");
  Yte.exports = tje;
});

// ../node_modules/lodash/_nativeKeys.js
var Jte = R((WMt, Xte) => {
  var rje = Kte(), nje = rje(Object.keys, Object);
  Xte.exports = nje;
});

// ../node_modules/lodash/_baseKeys.js
var Zte = R((GMt, Qte) => {
  var oje = Gte(), aje = Jte(), ije = Object.prototype, sje = ije.hasOwnProperty;
  function lje(e) {
    if (!oje(e))
      return aje(e);
    var t = [];
    for (var r in Object(e))
      sje.call(e, r) && r != "constructor" && t.push(r);
    return t;
  }
  a(lje, "baseKeys");
  Qte.exports = lje;
});

// ../node_modules/lodash/isArrayLike.js
var tre = R((KMt, ere) => {
  var uje = T6(), cje = k6();
  function dje(e) {
    return e != null && cje(e.length) && !uje(e);
  }
  a(dje, "isArrayLike");
  ere.exports = dje;
});

// ../node_modules/lodash/keys.js
var nre = R((JMt, rre) => {
  var fje = Vte(), pje = Zte(), mje = tre();
  function hje(e) {
    return mje(e) ? fje(e) : pje(e);
  }
  a(hje, "keys");
  rre.exports = hje;
});

// ../node_modules/lodash/_getAllKeys.js
var are = R((ZMt, ore) => {
  var gje = cte(), yje = yte(), vje = nre();
  function bje(e) {
    return gje(e, vje, yje);
  }
  a(bje, "getAllKeys");
  ore.exports = bje;
});

// ../node_modules/lodash/_equalObjects.js
var lre = R((tNt, sre) => {
  var ire = are(), wje = 1, Eje = Object.prototype, Rje = Eje.hasOwnProperty;
  function xje(e, t, r, n, o, i) {
    var s = r & wje, l = ire(e), u = l.length, c = ire(t), d = c.length;
    if (u != d && !s)
      return !1;
    for (var f = u; f--; ) {
      var p = l[f];
      if (!(s ? p in t : Rje.call(t, p)))
        return !1;
    }
    var m = i.get(e), v = i.get(t);
    if (m && v)
      return m == t && v == e;
    var y = !0;
    i.set(e, t), i.set(t, e);
    for (var b = s; ++f < u; ) {
      p = l[f];
      var g = e[p], w = t[p];
      if (n)
        var E = s ? n(w, g, p, t, e, i) : n(g, w, p, e, t, i);
      if (!(E === void 0 ? g === w || o(g, w, r, n, i) : E)) {
        y = !1;
        break;
      }
      b || (b = p == "constructor");
    }
    if (y && !b) {
      var x = e.constructor, S = t.constructor;
      x != S && "constructor" in e && "constructor" in t && !(typeof x == "function" && x instanceof x && typeof S == "function" && S instanceof
      S) && (y = !1);
    }
    return i.delete(e), i.delete(t), y;
  }
  a(xje, "equalObjects");
  sre.exports = xje;
});

// ../node_modules/lodash/_DataView.js
var cre = R((nNt, ure) => {
  var Sje = Jl(), Cje = Ca(), _je = Sje(Cje, "DataView");
  ure.exports = _je;
});

// ../node_modules/lodash/_Promise.js
var fre = R((oNt, dre) => {
  var Pje = Jl(), Tje = Ca(), Aje = Pje(Tje, "Promise");
  dre.exports = Aje;
});

// ../node_modules/lodash/_Set.js
var mre = R((aNt, pre) => {
  var Oje = Jl(), Ije = Ca(), Mje = Oje(Ije, "Set");
  pre.exports = Mje;
});

// ../node_modules/lodash/_WeakMap.js
var gre = R((iNt, hre) => {
  var Nje = Jl(), Lje = Ca(), kje = Nje(Lje, "WeakMap");
  hre.exports = kje;
});

// ../node_modules/lodash/_getTag.js
var Sre = R((sNt, xre) => {
  var F6 = cre(), j6 = gE(), B6 = fre(), $6 = mre(), H6 = gre(), Rre = Pm(), _d = O6(), yre = "[object Map]", qje = "[object Object]", vre = "\
[object Promise]", bre = "[object Set]", wre = "[object WeakMap]", Ere = "[object DataView]", Dje = _d(F6), Fje = _d(j6), jje = _d(B6), Bje = _d(
  $6), $je = _d(H6), Ql = Rre;
  (F6 && Ql(new F6(new ArrayBuffer(1))) != Ere || j6 && Ql(new j6()) != yre || B6 && Ql(B6.resolve()) != vre || $6 && Ql(new $6()) != bre ||
  H6 && Ql(new H6()) != wre) && (Ql = /* @__PURE__ */ a(function(e) {
    var t = Rre(e), r = t == qje ? e.constructor : void 0, n = r ? _d(r) : "";
    if (n)
      switch (n) {
        case Dje:
          return Ere;
        case Fje:
          return yre;
        case jje:
          return vre;
        case Bje:
          return bre;
        case $je:
          return wre;
      }
    return t;
  }, "getTag"));
  xre.exports = Ql;
});

// ../node_modules/lodash/_baseIsEqualDeep.js
var Mre = R((uNt, Ire) => {
  var z6 = Dee(), Hje = M6(), zje = ate(), Uje = lre(), Cre = Sre(), _re = vE(), Pre = L6(), Vje = D6(), Wje = 1, Tre = "[object Arguments]",
  Are = "[object Array]", bE = "[object Object]", Gje = Object.prototype, Ore = Gje.hasOwnProperty;
  function Yje(e, t, r, n, o, i) {
    var s = _re(e), l = _re(t), u = s ? Are : Cre(e), c = l ? Are : Cre(t);
    u = u == Tre ? bE : u, c = c == Tre ? bE : c;
    var d = u == bE, f = c == bE, p = u == c;
    if (p && Pre(e)) {
      if (!Pre(t))
        return !1;
      s = !0, d = !1;
    }
    if (p && !d)
      return i || (i = new z6()), s || Vje(e) ? Hje(e, t, r, n, o, i) : zje(e, t, u, r, n, o, i);
    if (!(r & Wje)) {
      var m = d && Ore.call(e, "__wrapped__"), v = f && Ore.call(t, "__wrapped__");
      if (m || v) {
        var y = m ? e.value() : e, b = v ? t.value() : t;
        return i || (i = new z6()), o(y, b, r, n, i);
      }
    }
    return p ? (i || (i = new z6()), Uje(e, t, r, n, o, i)) : !1;
  }
  a(Yje, "baseIsEqualDeep");
  Ire.exports = Yje;
});

// ../node_modules/lodash/_baseIsEqual.js
var qre = R((dNt, kre) => {
  var Kje = Mre(), Nre = Om();
  function Lre(e, t, r, n, o) {
    return e === t ? !0 : e == null || t == null || !Nre(e) && !Nre(t) ? e !== e && t !== t : Kje(e, t, r, n, Lre, o);
  }
  a(Lre, "baseIsEqual");
  kre.exports = Lre;
});

// ../node_modules/lodash/isEqualWith.js
var U6 = R((pNt, Dre) => {
  var Xje = qre();
  function Jje(e, t, r) {
    r = typeof r == "function" ? r : void 0;
    var n = r ? r(e, t) : void 0;
    return n === void 0 ? Xje(e, t, void 0, r) : !!n;
  }
  a(Jje, "isEqualWith");
  Dre.exports = Jje;
});

// ../node_modules/css.escape/css.escape.js
var W6 = R((V6, Fre) => {
  (function(e, t) {
    typeof V6 == "object" ? Fre.exports = t(e) : typeof define == "function" && define.amd ? define([], t.bind(e, e)) : t(e);
  })(typeof global < "u" ? global : V6, function(e) {
    if (e.CSS && e.CSS.escape)
      return e.CSS.escape;
    var t = /* @__PURE__ */ a(function(r) {
      if (arguments.length == 0)
        throw new TypeError("`CSS.escape` requires an argument.");
      for (var n = String(r), o = n.length, i = -1, s, l = "", u = n.charCodeAt(0); ++i < o; ) {
        if (s = n.charCodeAt(i), s == 0) {
          l += "\uFFFD";
          continue;
        }
        if (
          // If the character is in the range [\1-\1F] (U+0001 to U+001F) or is
          // U+007F, […]
          s >= 1 && s <= 31 || s == 127 || // If the character is the first character and is in the range [0-9]
          // (U+0030 to U+0039), […]
          i == 0 && s >= 48 && s <= 57 || // If the character is the second character and is in the range [0-9]
          // (U+0030 to U+0039) and the first character is a `-` (U+002D), […]
          i == 1 && s >= 48 && s <= 57 && u == 45
        ) {
          l += "\\" + s.toString(16) + " ";
          continue;
        }
        if (
          // If the character is the first character and is a `-` (U+002D), and
          // there is no second character, […]
          i == 0 && o == 1 && s == 45
        ) {
          l += "\\" + n.charAt(i);
          continue;
        }
        if (s >= 128 || s == 45 || s == 95 || s >= 48 && s <= 57 || s >= 65 && s <= 90 || s >= 97 && s <= 122) {
          l += n.charAt(i);
          continue;
        }
        l += "\\" + n.charAt(i);
      }
      return l;
    }, "cssEscape");
    return e.CSS || (e.CSS = {}), e.CSS.escape = t, t;
  });
});

// ../node_modules/pretty-format/node_modules/ansi-styles/index.js
var GI = R((h9t, Mne) => {
  "use strict";
  var One = /* @__PURE__ */ a((e = 0) => (t) => `\x1B[${38 + e};5;${t}m`, "wrapAnsi256"), Ine = /* @__PURE__ */ a((e = 0) => (t, r, n) => `\x1B\
[${38 + e};2;${t};${r};${n}m`, "wrapAnsi16m");
  function B$e() {
    let e = /* @__PURE__ */ new Map(), t = {
      modifier: {
        reset: [0, 0],
        // 21 isn't widely supported and 22 does the same thing
        bold: [1, 22],
        dim: [2, 22],
        italic: [3, 23],
        underline: [4, 24],
        overline: [53, 55],
        inverse: [7, 27],
        hidden: [8, 28],
        strikethrough: [9, 29]
      },
      color: {
        black: [30, 39],
        red: [31, 39],
        green: [32, 39],
        yellow: [33, 39],
        blue: [34, 39],
        magenta: [35, 39],
        cyan: [36, 39],
        white: [37, 39],
        // Bright color
        blackBright: [90, 39],
        redBright: [91, 39],
        greenBright: [92, 39],
        yellowBright: [93, 39],
        blueBright: [94, 39],
        magentaBright: [95, 39],
        cyanBright: [96, 39],
        whiteBright: [97, 39]
      },
      bgColor: {
        bgBlack: [40, 49],
        bgRed: [41, 49],
        bgGreen: [42, 49],
        bgYellow: [43, 49],
        bgBlue: [44, 49],
        bgMagenta: [45, 49],
        bgCyan: [46, 49],
        bgWhite: [47, 49],
        // Bright color
        bgBlackBright: [100, 49],
        bgRedBright: [101, 49],
        bgGreenBright: [102, 49],
        bgYellowBright: [103, 49],
        bgBlueBright: [104, 49],
        bgMagentaBright: [105, 49],
        bgCyanBright: [106, 49],
        bgWhiteBright: [107, 49]
      }
    };
    t.color.gray = t.color.blackBright, t.bgColor.bgGray = t.bgColor.bgBlackBright, t.color.grey = t.color.blackBright, t.bgColor.bgGrey = t.
    bgColor.bgBlackBright;
    for (let [r, n] of Object.entries(t)) {
      for (let [o, i] of Object.entries(n))
        t[o] = {
          open: `\x1B[${i[0]}m`,
          close: `\x1B[${i[1]}m`
        }, n[o] = t[o], e.set(i[0], i[1]);
      Object.defineProperty(t, r, {
        value: n,
        enumerable: !1
      });
    }
    return Object.defineProperty(t, "codes", {
      value: e,
      enumerable: !1
    }), t.color.close = "\x1B[39m", t.bgColor.close = "\x1B[49m", t.color.ansi256 = One(), t.color.ansi16m = Ine(), t.bgColor.ansi256 = One(
    10), t.bgColor.ansi16m = Ine(10), Object.defineProperties(t, {
      rgbToAnsi256: {
        value: /* @__PURE__ */ a((r, n, o) => r === n && n === o ? r < 8 ? 16 : r > 248 ? 231 : Math.round((r - 8) / 247 * 24) + 232 : 16 + 36 *
        Math.round(r / 255 * 5) + 6 * Math.round(n / 255 * 5) + Math.round(o / 255 * 5), "value"),
        enumerable: !1
      },
      hexToRgb: {
        value: /* @__PURE__ */ a((r) => {
          let n = /(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(r.toString(16));
          if (!n)
            return [0, 0, 0];
          let { colorString: o } = n.groups;
          o.length === 3 && (o = o.split("").map((s) => s + s).join(""));
          let i = Number.parseInt(o, 16);
          return [
            i >> 16 & 255,
            i >> 8 & 255,
            i & 255
          ];
        }, "value"),
        enumerable: !1
      },
      hexToAnsi256: {
        value: /* @__PURE__ */ a((r) => t.rgbToAnsi256(...t.hexToRgb(r)), "value"),
        enumerable: !1
      }
    }), t;
  }
  a(B$e, "assembleStyles");
  Object.defineProperty(Mne, "exports", {
    enumerable: !0,
    get: B$e
  });
});

// ../node_modules/pretty-format/build/collections.js
var zm = R((Od) => {
  "use strict";
  Object.defineProperty(Od, "__esModule", {
    value: !0
  });
  Od.printIteratorEntries = H$e;
  Od.printIteratorValues = z$e;
  Od.printListItems = U$e;
  Od.printObjectProperties = V$e;
  var $$e = /* @__PURE__ */ a((e, t) => {
    let r = Object.keys(e).sort(t);
    return Object.getOwnPropertySymbols && Object.getOwnPropertySymbols(e).forEach((n) => {
      Object.getOwnPropertyDescriptor(e, n).enumerable && r.push(n);
    }), r;
  }, "getKeysOfEnumerableProperties");
  function H$e(e, t, r, n, o, i, s = ": ") {
    let l = "", u = e.next();
    if (!u.done) {
      l += t.spacingOuter;
      let c = r + t.indent;
      for (; !u.done; ) {
        let d = i(
          u.value[0],
          t,
          c,
          n,
          o
        ), f = i(
          u.value[1],
          t,
          c,
          n,
          o
        );
        l += c + d + s + f, u = e.next(), u.done ? t.min || (l += ",") : l += "," + t.spacingInner;
      }
      l += t.spacingOuter + r;
    }
    return l;
  }
  a(H$e, "printIteratorEntries");
  function z$e(e, t, r, n, o, i) {
    let s = "", l = e.next();
    if (!l.done) {
      s += t.spacingOuter;
      let u = r + t.indent;
      for (; !l.done; )
        s += u + i(l.value, t, u, n, o), l = e.next(), l.done ? t.min || (s += ",") : s += "," + t.spacingInner;
      s += t.spacingOuter + r;
    }
    return s;
  }
  a(z$e, "printIteratorValues");
  function U$e(e, t, r, n, o, i) {
    let s = "";
    if (e.length) {
      s += t.spacingOuter;
      let l = r + t.indent;
      for (let u = 0; u < e.length; u++)
        s += l, u in e && (s += i(e[u], t, l, n, o)), u < e.length - 1 ? s += "," + t.spacingInner : t.min || (s += ",");
      s += t.spacingOuter + r;
    }
    return s;
  }
  a(U$e, "printListItems");
  function V$e(e, t, r, n, o, i) {
    let s = "", l = $$e(e, t.compareKeys);
    if (l.length) {
      s += t.spacingOuter;
      let u = r + t.indent;
      for (let c = 0; c < l.length; c++) {
        let d = l[c], f = i(d, t, u, n, o), p = i(e[d], t, u, n, o);
        s += u + f + ": " + p, c < l.length - 1 ? s += "," + t.spacingInner : t.min || (s += ",");
      }
      s += t.spacingOuter + r;
    }
    return s;
  }
  a(V$e, "printObjectProperties");
});

// ../node_modules/pretty-format/build/plugins/AsymmetricMatcher.js
var qne = R((Rs) => {
  "use strict";
  Object.defineProperty(Rs, "__esModule", {
    value: !0
  });
  Rs.test = Rs.serialize = Rs.default = void 0;
  var Nne = zm(), GE = function() {
    return typeof globalThis < "u" ? globalThis : typeof GE < "u" ? GE : typeof self < "u" ? self : typeof window < "u" ? window : Function(
    "return this")();
  }(), YI = GE["jest-symbol-do-not-touch"] || GE.Symbol, W$e = typeof YI == "function" && YI.for ? YI.for("jest.asymmetricMatcher") : 1267621,
  WE = " ", Lne = /* @__PURE__ */ a((e, t, r, n, o, i) => {
    let s = e.toString();
    return s === "ArrayContaining" || s === "ArrayNotContaining" ? ++n > t.maxDepth ? "[" + s + "]" : s + WE + "[" + (0, Nne.printListItems)(
      e.sample,
      t,
      r,
      n,
      o,
      i
    ) + "]" : s === "ObjectContaining" || s === "ObjectNotContaining" ? ++n > t.maxDepth ? "[" + s + "]" : s + WE + "{" + (0, Nne.printObjectProperties)(
      e.sample,
      t,
      r,
      n,
      o,
      i
    ) + "}" : s === "StringMatching" || s === "StringNotMatching" || s === "StringContaining" || s === "StringNotContaining" ? s + WE + i(e.
    sample, t, r, n, o) : e.toAsymmetricMatcher();
  }, "serialize");
  Rs.serialize = Lne;
  var kne = /* @__PURE__ */ a((e) => e && e.$$typeof === W$e, "test");
  Rs.test = kne;
  var G$e = {
    serialize: Lne,
    test: kne
  }, Y$e = G$e;
  Rs.default = Y$e;
});

// ../node_modules/pretty-format/node_modules/ansi-regex/index.js
var Fne = R((E9t, Dne) => {
  "use strict";
  Dne.exports = ({ onlyFirst: e = !1 } = {}) => {
    let t = [
      "[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)",
      "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"
    ].join("|");
    return new RegExp(t, e ? void 0 : "g");
  };
});

// ../node_modules/pretty-format/build/plugins/ConvertAnsi.js
var zne = R((xs) => {
  "use strict";
  Object.defineProperty(xs, "__esModule", {
    value: !0
  });
  xs.test = xs.serialize = xs.default = void 0;
  var jne = Bne(Fne()), Je = Bne(GI());
  function Bne(e) {
    return e && e.__esModule ? e : { default: e };
  }
  a(Bne, "_interopRequireDefault");
  var K$e = /* @__PURE__ */ a((e) => e.replace((0, jne.default)(), (t) => {
    switch (t) {
      case Je.default.red.close:
      case Je.default.green.close:
      case Je.default.cyan.close:
      case Je.default.gray.close:
      case Je.default.white.close:
      case Je.default.yellow.close:
      case Je.default.bgRed.close:
      case Je.default.bgGreen.close:
      case Je.default.bgYellow.close:
      case Je.default.inverse.close:
      case Je.default.dim.close:
      case Je.default.bold.close:
      case Je.default.reset.open:
      case Je.default.reset.close:
        return "</>";
      case Je.default.red.open:
        return "<red>";
      case Je.default.green.open:
        return "<green>";
      case Je.default.cyan.open:
        return "<cyan>";
      case Je.default.gray.open:
        return "<gray>";
      case Je.default.white.open:
        return "<white>";
      case Je.default.yellow.open:
        return "<yellow>";
      case Je.default.bgRed.open:
        return "<bgRed>";
      case Je.default.bgGreen.open:
        return "<bgGreen>";
      case Je.default.bgYellow.open:
        return "<bgYellow>";
      case Je.default.inverse.open:
        return "<inverse>";
      case Je.default.dim.open:
        return "<dim>";
      case Je.default.bold.open:
        return "<bold>";
      default:
        return "";
    }
  }), "toHumanReadableAnsi"), $ne = /* @__PURE__ */ a((e) => typeof e == "string" && !!e.match((0, jne.default)()), "test");
  xs.test = $ne;
  var Hne = /* @__PURE__ */ a((e, t, r, n, o, i) => i(K$e(e), t, r, n, o), "serialize");
  xs.serialize = Hne;
  var X$e = {
    serialize: Hne,
    test: $ne
  }, J$e = X$e;
  xs.default = J$e;
});

// ../node_modules/pretty-format/build/plugins/DOMCollection.js
var Yne = R((Ss) => {
  "use strict";
  Object.defineProperty(Ss, "__esModule", {
    value: !0
  });
  Ss.test = Ss.serialize = Ss.default = void 0;
  var Une = zm(), Q$e = " ", Vne = ["DOMStringMap", "NamedNodeMap"], Z$e = /^(HTML\w*Collection|NodeList)$/, eHe = /* @__PURE__ */ a((e) => Vne.
  indexOf(e) !== -1 || Z$e.test(e), "testName"), Wne = /* @__PURE__ */ a((e) => e && e.constructor && !!e.constructor.name && eHe(e.constructor.
  name), "test");
  Ss.test = Wne;
  var tHe = /* @__PURE__ */ a((e) => e.constructor.name === "NamedNodeMap", "isNamedNodeMap"), Gne = /* @__PURE__ */ a((e, t, r, n, o, i) => {
    let s = e.constructor.name;
    return ++n > t.maxDepth ? "[" + s + "]" : (t.min ? "" : s + Q$e) + (Vne.indexOf(s) !== -1 ? "{" + (0, Une.printObjectProperties)(
      tHe(e) ? Array.from(e).reduce((l, u) => (l[u.name] = u.value, l), {}) : { ...e },
      t,
      r,
      n,
      o,
      i
    ) + "}" : "[" + (0, Une.printListItems)(
      Array.from(e),
      t,
      r,
      n,
      o,
      i
    ) + "]");
  }, "serialize");
  Ss.serialize = Gne;
  var rHe = {
    serialize: Gne,
    test: Wne
  }, nHe = rHe;
  Ss.default = nHe;
});

// ../node_modules/pretty-format/build/plugins/lib/escapeHTML.js
var Kne = R((KI) => {
  "use strict";
  Object.defineProperty(KI, "__esModule", {
    value: !0
  });
  KI.default = oHe;
  function oHe(e) {
    return e.replace(/</g, "&lt;").replace(/>/g, "&gt;");
  }
  a(oHe, "escapeHTML");
});

// ../node_modules/pretty-format/build/plugins/lib/markup.js
var YE = R((ln) => {
  "use strict";
  Object.defineProperty(ln, "__esModule", {
    value: !0
  });
  ln.printText = ln.printProps = ln.printElementAsLeaf = ln.printElement = ln.printComment = ln.printChildren = void 0;
  var Xne = aHe(Kne());
  function aHe(e) {
    return e && e.__esModule ? e : { default: e };
  }
  a(aHe, "_interopRequireDefault");
  var iHe = /* @__PURE__ */ a((e, t, r, n, o, i, s) => {
    let l = n + r.indent, u = r.colors;
    return e.map((c) => {
      let d = t[c], f = s(d, r, l, o, i);
      return typeof d != "string" && (f.indexOf(`
`) !== -1 && (f = r.spacingOuter + l + f + r.spacingOuter + n), f = "{" + f + "}"), r.spacingInner + n + u.prop.open + c + u.prop.close + "=" +
      u.value.open + f + u.value.close;
    }).join("");
  }, "printProps");
  ln.printProps = iHe;
  var sHe = /* @__PURE__ */ a((e, t, r, n, o, i) => e.map(
    (s) => t.spacingOuter + r + (typeof s == "string" ? Jne(s, t) : i(s, t, r, n, o))
  ).join(""), "printChildren");
  ln.printChildren = sHe;
  var Jne = /* @__PURE__ */ a((e, t) => {
    let r = t.colors.content;
    return r.open + (0, Xne.default)(e) + r.close;
  }, "printText");
  ln.printText = Jne;
  var lHe = /* @__PURE__ */ a((e, t) => {
    let r = t.colors.comment;
    return r.open + "<!--" + (0, Xne.default)(e) + "-->" + r.close;
  }, "printComment");
  ln.printComment = lHe;
  var uHe = /* @__PURE__ */ a((e, t, r, n, o) => {
    let i = n.colors.tag;
    return i.open + "<" + e + (t && i.close + t + n.spacingOuter + o + i.open) + (r ? ">" + i.close + r + n.spacingOuter + o + i.open + "</" +
    e : (t && !n.min ? "" : " ") + "/") + ">" + i.close;
  }, "printElement");
  ln.printElement = uHe;
  var cHe = /* @__PURE__ */ a((e, t) => {
    let r = t.colors.tag;
    return r.open + "<" + e + r.close + " \u2026" + r.open + " />" + r.close;
  }, "printElementAsLeaf");
  ln.printElementAsLeaf = cHe;
});

// ../node_modules/pretty-format/build/plugins/DOMElement.js
var noe = R((Cs) => {
  "use strict";
  Object.defineProperty(Cs, "__esModule", {
    value: !0
  });
  Cs.test = Cs.serialize = Cs.default = void 0;
  var Id = YE(), dHe = 1, Qne = 3, Zne = 8, eoe = 11, fHe = /^((HTML|SVG)\w*)?Element$/, pHe = /* @__PURE__ */ a((e) => {
    try {
      return typeof e.hasAttribute == "function" && e.hasAttribute("is");
    } catch {
      return !1;
    }
  }, "testHasAttribute"), mHe = /* @__PURE__ */ a((e) => {
    let t = e.constructor.name, { nodeType: r, tagName: n } = e, o = typeof n == "string" && n.includes("-") || pHe(e);
    return r === dHe && (fHe.test(t) || o) || r === Qne && t === "Text" || r === Zne && t === "Comment" || r === eoe && t === "DocumentFragm\
ent";
  }, "testNode"), toe = /* @__PURE__ */ a((e) => {
    var t;
    return (e == null || (t = e.constructor) === null || t === void 0 ? void 0 : t.name) && mHe(e);
  }, "test");
  Cs.test = toe;
  function hHe(e) {
    return e.nodeType === Qne;
  }
  a(hHe, "nodeIsText");
  function gHe(e) {
    return e.nodeType === Zne;
  }
  a(gHe, "nodeIsComment");
  function XI(e) {
    return e.nodeType === eoe;
  }
  a(XI, "nodeIsFragment");
  var roe = /* @__PURE__ */ a((e, t, r, n, o, i) => {
    if (hHe(e))
      return (0, Id.printText)(e.data, t);
    if (gHe(e))
      return (0, Id.printComment)(e.data, t);
    let s = XI(e) ? "DocumentFragment" : e.tagName.toLowerCase();
    return ++n > t.maxDepth ? (0, Id.printElementAsLeaf)(s, t) : (0, Id.printElement)(
      s,
      (0, Id.printProps)(
        XI(e) ? [] : Array.from(e.attributes).map((l) => l.name).sort(),
        XI(e) ? {} : Array.from(e.attributes).reduce((l, u) => (l[u.name] = u.value, l), {}),
        t,
        r + t.indent,
        n,
        o,
        i
      ),
      (0, Id.printChildren)(
        Array.prototype.slice.call(e.childNodes || e.children),
        t,
        r + t.indent,
        n,
        o,
        i
      ),
      t,
      r
    );
  }, "serialize");
  Cs.serialize = roe;
  var yHe = {
    serialize: roe,
    test: toe
  }, vHe = yHe;
  Cs.default = vHe;
});

// ../node_modules/pretty-format/build/plugins/Immutable.js
var loe = R((_s) => {
  "use strict";
  Object.defineProperty(_s, "__esModule", {
    value: !0
  });
  _s.test = _s.serialize = _s.default = void 0;
  var Um = zm(), bHe = "@@__IMMUTABLE_ITERABLE__@@", wHe = "@@__IMMUTABLE_LIST__@@", EHe = "@@__IMMUTABLE_KEYED__@@", RHe = "@@__IMMUTABLE_M\
AP__@@", ooe = "@@__IMMUTABLE_ORDERED__@@", xHe = "@@__IMMUTABLE_RECORD__@@", SHe = "@@__IMMUTABLE_SEQ__@@", CHe = "@@__IMMUTABLE_SET__@@", _He = "\
@@__IMMUTABLE_STACK__@@", Md = /* @__PURE__ */ a((e) => "Immutable." + e, "getImmutableName"), KE = /* @__PURE__ */ a((e) => "[" + e + "]", "\
printAsLeaf"), Vm = " ", aoe = "\u2026", PHe = /* @__PURE__ */ a((e, t, r, n, o, i, s) => ++n > t.maxDepth ? KE(Md(s)) : Md(s) + Vm + "{" + (0, Um.
  printIteratorEntries)(
    e.entries(),
    t,
    r,
    n,
    o,
    i
  ) + "}", "printImmutableEntries");
  function THe(e) {
    let t = 0;
    return {
      next() {
        if (t < e._keys.length) {
          let r = e._keys[t++];
          return {
            done: !1,
            value: [r, e.get(r)]
          };
        }
        return {
          done: !0,
          value: void 0
        };
      }
    };
  }
  a(THe, "getRecordEntries");
  var AHe = /* @__PURE__ */ a((e, t, r, n, o, i) => {
    let s = Md(e._name || "Record");
    return ++n > t.maxDepth ? KE(s) : s + Vm + "{" + (0, Um.printIteratorEntries)(
      THe(e),
      t,
      r,
      n,
      o,
      i
    ) + "}";
  }, "printImmutableRecord"), OHe = /* @__PURE__ */ a((e, t, r, n, o, i) => {
    let s = Md("Seq");
    return ++n > t.maxDepth ? KE(s) : e[EHe] ? s + Vm + "{" + // from Immutable collection of entries or from ECMAScript object
    (e._iter || e._object ? (0, Um.printIteratorEntries)(
      e.entries(),
      t,
      r,
      n,
      o,
      i
    ) : aoe) + "}" : s + Vm + "[" + (e._iter || // from Immutable collection of values
    e._array || // from ECMAScript array
    e._collection || // from ECMAScript collection in immutable v4
    e._iterable ? (0, Um.printIteratorValues)(
      e.values(),
      t,
      r,
      n,
      o,
      i
    ) : aoe) + "]";
  }, "printImmutableSeq"), JI = /* @__PURE__ */ a((e, t, r, n, o, i, s) => ++n > t.maxDepth ? KE(Md(s)) : Md(s) + Vm + "[" + (0, Um.printIteratorValues)(
    e.values(),
    t,
    r,
    n,
    o,
    i
  ) + "]", "printImmutableValues"), ioe = /* @__PURE__ */ a((e, t, r, n, o, i) => e[RHe] ? PHe(
    e,
    t,
    r,
    n,
    o,
    i,
    e[ooe] ? "OrderedMap" : "Map"
  ) : e[wHe] ? JI(
    e,
    t,
    r,
    n,
    o,
    i,
    "List"
  ) : e[CHe] ? JI(
    e,
    t,
    r,
    n,
    o,
    i,
    e[ooe] ? "OrderedSet" : "Set"
  ) : e[_He] ? JI(
    e,
    t,
    r,
    n,
    o,
    i,
    "Stack"
  ) : e[SHe] ? OHe(e, t, r, n, o, i) : AHe(e, t, r, n, o, i), "serialize");
  _s.serialize = ioe;
  var soe = /* @__PURE__ */ a((e) => e && (e[bHe] === !0 || e[xHe] === !0), "test");
  _s.test = soe;
  var IHe = {
    serialize: ioe,
    test: soe
  }, MHe = IHe;
  _s.default = MHe;
});

// ../node_modules/pretty-format/node_modules/react-is/cjs/react-is.production.min.js
var moe = R((We) => {
  "use strict";
  var XE = 60103, JE = 60106, Wm = 60107, Gm = 60108, Ym = 60114, Km = 60109, Xm = 60110, Jm = 60112, Qm = 60113, QI = 60120, Zm = 60115, eh = 60116,
  uoe = 60121, coe = 60122, doe = 60117, foe = 60129, poe = 60131;
  typeof Symbol == "function" && Symbol.for && (rr = Symbol.for, XE = rr("react.element"), JE = rr("react.portal"), Wm = rr("react.fragment"),
  Gm = rr("react.strict_mode"), Ym = rr("react.profiler"), Km = rr("react.provider"), Xm = rr("react.context"), Jm = rr("react.forward_ref"),
  Qm = rr("react.suspense"), QI = rr("react.suspense_list"), Zm = rr("react.memo"), eh = rr("react.lazy"), uoe = rr("react.block"), coe = rr(
  "react.server.block"), doe = rr("react.fundamental"), foe = rr("react.debug_trace_mode"), poe = rr("react.legacy_hidden"));
  var rr;
  function Ko(e) {
    if (typeof e == "object" && e !== null) {
      var t = e.$$typeof;
      switch (t) {
        case XE:
          switch (e = e.type, e) {
            case Wm:
            case Ym:
            case Gm:
            case Qm:
            case QI:
              return e;
            default:
              switch (e = e && e.$$typeof, e) {
                case Xm:
                case Jm:
                case eh:
                case Zm:
                case Km:
                  return e;
                default:
                  return t;
              }
          }
        case JE:
          return t;
      }
    }
  }
  a(Ko, "y");
  var NHe = Km, LHe = XE, kHe = Jm, qHe = Wm, DHe = eh, FHe = Zm, jHe = JE, BHe = Ym, $He = Gm, HHe = Qm;
  We.ContextConsumer = Xm;
  We.ContextProvider = NHe;
  We.Element = LHe;
  We.ForwardRef = kHe;
  We.Fragment = qHe;
  We.Lazy = DHe;
  We.Memo = FHe;
  We.Portal = jHe;
  We.Profiler = BHe;
  We.StrictMode = $He;
  We.Suspense = HHe;
  We.isAsyncMode = function() {
    return !1;
  };
  We.isConcurrentMode = function() {
    return !1;
  };
  We.isContextConsumer = function(e) {
    return Ko(e) === Xm;
  };
  We.isContextProvider = function(e) {
    return Ko(e) === Km;
  };
  We.isElement = function(e) {
    return typeof e == "object" && e !== null && e.$$typeof === XE;
  };
  We.isForwardRef = function(e) {
    return Ko(e) === Jm;
  };
  We.isFragment = function(e) {
    return Ko(e) === Wm;
  };
  We.isLazy = function(e) {
    return Ko(e) === eh;
  };
  We.isMemo = function(e) {
    return Ko(e) === Zm;
  };
  We.isPortal = function(e) {
    return Ko(e) === JE;
  };
  We.isProfiler = function(e) {
    return Ko(e) === Ym;
  };
  We.isStrictMode = function(e) {
    return Ko(e) === Gm;
  };
  We.isSuspense = function(e) {
    return Ko(e) === Qm;
  };
  We.isValidElementType = function(e) {
    return typeof e == "string" || typeof e == "function" || e === Wm || e === Ym || e === foe || e === Gm || e === Qm || e === QI || e === poe ||
    typeof e == "object" && e !== null && (e.$$typeof === eh || e.$$typeof === Zm || e.$$typeof === Km || e.$$typeof === Xm || e.$$typeof ===
    Jm || e.$$typeof === doe || e.$$typeof === uoe || e[0] === coe);
  };
  We.typeOf = Ko;
});

// ../node_modules/pretty-format/node_modules/react-is/index.js
var goe = R((q9t, hoe) => {
  "use strict";
  hoe.exports = moe();
});

// ../node_modules/pretty-format/build/plugins/ReactElement.js
var Roe = R((Ps) => {
  "use strict";
  Object.defineProperty(Ps, "__esModule", {
    value: !0
  });
  Ps.test = Ps.serialize = Ps.default = void 0;
  var eu = zHe(goe()), QE = YE();
  function voe(e) {
    if (typeof WeakMap != "function") return null;
    var t = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap();
    return (voe = /* @__PURE__ */ a(function(n) {
      return n ? r : t;
    }, "_getRequireWildcardCache"))(e);
  }
  a(voe, "_getRequireWildcardCache");
  function zHe(e, t) {
    if (!t && e && e.__esModule)
      return e;
    if (e === null || typeof e != "object" && typeof e != "function")
      return { default: e };
    var r = voe(t);
    if (r && r.has(e))
      return r.get(e);
    var n = {}, o = Object.defineProperty && Object.getOwnPropertyDescriptor;
    for (var i in e)
      if (i !== "default" && Object.prototype.hasOwnProperty.call(e, i)) {
        var s = o ? Object.getOwnPropertyDescriptor(e, i) : null;
        s && (s.get || s.set) ? Object.defineProperty(n, i, s) : n[i] = e[i];
      }
    return n.default = e, r && r.set(e, n), n;
  }
  a(zHe, "_interopRequireWildcard");
  var boe = /* @__PURE__ */ a((e, t = []) => (Array.isArray(e) ? e.forEach((r) => {
    boe(r, t);
  }) : e != null && e !== !1 && t.push(e), t), "getChildren"), yoe = /* @__PURE__ */ a((e) => {
    let t = e.type;
    if (typeof t == "string")
      return t;
    if (typeof t == "function")
      return t.displayName || t.name || "Unknown";
    if (eu.isFragment(e))
      return "React.Fragment";
    if (eu.isSuspense(e))
      return "React.Suspense";
    if (typeof t == "object" && t !== null) {
      if (eu.isContextProvider(e))
        return "Context.Provider";
      if (eu.isContextConsumer(e))
        return "Context.Consumer";
      if (eu.isForwardRef(e)) {
        if (t.displayName)
          return t.displayName;
        let r = t.render.displayName || t.render.name || "";
        return r !== "" ? "ForwardRef(" + r + ")" : "ForwardRef";
      }
      if (eu.isMemo(e)) {
        let r = t.displayName || t.type.displayName || t.type.name || "";
        return r !== "" ? "Memo(" + r + ")" : "Memo";
      }
    }
    return "UNDEFINED";
  }, "getType"), UHe = /* @__PURE__ */ a((e) => {
    let { props: t } = e;
    return Object.keys(t).filter((r) => r !== "children" && t[r] !== void 0).sort();
  }, "getPropKeys"), woe = /* @__PURE__ */ a((e, t, r, n, o, i) => ++n > t.maxDepth ? (0, QE.printElementAsLeaf)(yoe(e), t) : (0, QE.printElement)(
    yoe(e),
    (0, QE.printProps)(
      UHe(e),
      e.props,
      t,
      r + t.indent,
      n,
      o,
      i
    ),
    (0, QE.printChildren)(
      boe(e.props.children),
      t,
      r + t.indent,
      n,
      o,
      i
    ),
    t,
    r
  ), "serialize");
  Ps.serialize = woe;
  var Eoe = /* @__PURE__ */ a((e) => e != null && eu.isElement(e), "test");
  Ps.test = Eoe;
  var VHe = {
    serialize: woe,
    test: Eoe
  }, WHe = VHe;
  Ps.default = WHe;
});

// ../node_modules/pretty-format/build/plugins/ReactTestComponent.js
var Coe = R((Ts) => {
  "use strict";
  Object.defineProperty(Ts, "__esModule", {
    value: !0
  });
  Ts.test = Ts.serialize = Ts.default = void 0;
  var ZE = YE(), e2 = function() {
    return typeof globalThis < "u" ? globalThis : typeof e2 < "u" ? e2 : typeof self < "u" ? self : typeof window < "u" ? window : Function(
    "return this")();
  }(), ZI = e2["jest-symbol-do-not-touch"] || e2.Symbol, GHe = typeof ZI == "function" && ZI.for ? ZI.for("react.test.json") : 245830487, YHe = /* @__PURE__ */ a(
  (e) => {
    let { props: t } = e;
    return t ? Object.keys(t).filter((r) => t[r] !== void 0).sort() : [];
  }, "getPropKeys"), xoe = /* @__PURE__ */ a((e, t, r, n, o, i) => ++n > t.maxDepth ? (0, ZE.printElementAsLeaf)(e.type, t) : (0, ZE.printElement)(
    e.type,
    e.props ? (0, ZE.printProps)(
      YHe(e),
      e.props,
      t,
      r + t.indent,
      n,
      o,
      i
    ) : "",
    e.children ? (0, ZE.printChildren)(
      e.children,
      t,
      r + t.indent,
      n,
      o,
      i
    ) : "",
    t,
    r
  ), "serialize");
  Ts.serialize = xoe;
  var Soe = /* @__PURE__ */ a((e) => e && e.$$typeof === GHe, "test");
  Ts.test = Soe;
  var KHe = {
    serialize: xoe,
    test: Soe
  }, XHe = KHe;
  Ts.default = XHe;
});

// ../node_modules/pretty-format/build/index.js
var $oe = R((ai) => {
  "use strict";
  Object.defineProperty(ai, "__esModule", {
    value: !0
  });
  ai.default = ai.DEFAULT_OPTIONS = void 0;
  ai.format = Boe;
  ai.plugins = void 0;
  var JHe = Os(GI()), th = zm(), QHe = Os(
    qne()
  ), ZHe = Os(zne()), eze = Os(Yne()), tze = Os(noe()), rze = Os(loe()), nze = Os(Roe()), oze = Os(
    Coe()
  );
  function Os(e) {
    return e && e.__esModule ? e : { default: e };
  }
  a(Os, "_interopRequireDefault");
  var Ioe = Object.prototype.toString, aze = Date.prototype.toISOString, ize = Error.prototype.toString, _oe = RegExp.prototype.toString, e8 = /* @__PURE__ */ a(
  (e) => typeof e.constructor == "function" && e.constructor.name || "Object", "getConstructorName"), sze = /* @__PURE__ */ a((e) => typeof window <
  "u" && e === window, "isWindow"), lze = /^Symbol\((.*)\)(.*)$/, uze = /\n/gi, r8 = class r8 extends Error {
    constructor(t, r) {
      super(t), this.stack = r, this.name = this.constructor.name;
    }
  };
  a(r8, "PrettyFormatPluginError");
  var t2 = r8;
  function cze(e) {
    return e === "[object Array]" || e === "[object ArrayBuffer]" || e === "[object DataView]" || e === "[object Float32Array]" || e === "[o\
bject Float64Array]" || e === "[object Int8Array]" || e === "[object Int16Array]" || e === "[object Int32Array]" || e === "[object Uint8Arra\
y]" || e === "[object Uint8ClampedArray]" || e === "[object Uint16Array]" || e === "[object Uint32Array]";
  }
  a(cze, "isToStringedArrayType");
  function dze(e) {
    return Object.is(e, -0) ? "-0" : String(e);
  }
  a(dze, "printNumber");
  function fze(e) {
    return `${e}n`;
  }
  a(fze, "printBigInt");
  function Poe(e, t) {
    return t ? "[Function " + (e.name || "anonymous") + "]" : "[Function]";
  }
  a(Poe, "printFunction");
  function Toe(e) {
    return String(e).replace(lze, "Symbol($1)");
  }
  a(Toe, "printSymbol");
  function Aoe(e) {
    return "[" + ize.call(e) + "]";
  }
  a(Aoe, "printError");
  function Moe(e, t, r, n) {
    if (e === !0 || e === !1)
      return "" + e;
    if (e === void 0)
      return "undefined";
    if (e === null)
      return "null";
    let o = typeof e;
    if (o === "number")
      return dze(e);
    if (o === "bigint")
      return fze(e);
    if (o === "string")
      return n ? '"' + e.replace(/"|\\/g, "\\$&") + '"' : '"' + e + '"';
    if (o === "function")
      return Poe(e, t);
    if (o === "symbol")
      return Toe(e);
    let i = Ioe.call(e);
    return i === "[object WeakMap]" ? "WeakMap {}" : i === "[object WeakSet]" ? "WeakSet {}" : i === "[object Function]" || i === "[object G\
eneratorFunction]" ? Poe(e, t) : i === "[object Symbol]" ? Toe(e) : i === "[object Date]" ? isNaN(+e) ? "Date { NaN }" : aze.call(e) : i ===
    "[object Error]" ? Aoe(e) : i === "[object RegExp]" ? r ? _oe.call(e).replace(/[\\^$*+?.()|[\]{}]/g, "\\$&") : _oe.call(e) : e instanceof
    Error ? Aoe(e) : null;
  }
  a(Moe, "printBasicValue");
  function Noe(e, t, r, n, o, i) {
    if (o.indexOf(e) !== -1)
      return "[Circular]";
    o = o.slice(), o.push(e);
    let s = ++n > t.maxDepth, l = t.min;
    if (t.callToJSON && !s && e.toJSON && typeof e.toJSON == "function" && !i)
      return As(e.toJSON(), t, r, n, o, !0);
    let u = Ioe.call(e);
    return u === "[object Arguments]" ? s ? "[Arguments]" : (l ? "" : "Arguments ") + "[" + (0, th.printListItems)(
      e,
      t,
      r,
      n,
      o,
      As
    ) + "]" : cze(u) ? s ? "[" + e.constructor.name + "]" : (l || !t.printBasicPrototype && e.constructor.name === "Array" ? "" : e.constructor.
    name + " ") + "[" + (0, th.printListItems)(
      e,
      t,
      r,
      n,
      o,
      As
    ) + "]" : u === "[object Map]" ? s ? "[Map]" : "Map {" + (0, th.printIteratorEntries)(
      e.entries(),
      t,
      r,
      n,
      o,
      As,
      " => "
    ) + "}" : u === "[object Set]" ? s ? "[Set]" : "Set {" + (0, th.printIteratorValues)(
      e.values(),
      t,
      r,
      n,
      o,
      As
    ) + "}" : s || sze(e) ? "[" + e8(e) + "]" : (l || !t.printBasicPrototype && e8(e) === "Object" ? "" : e8(e) + " ") + "{" + (0, th.printObjectProperties)(
      e,
      t,
      r,
      n,
      o,
      As
    ) + "}";
  }
  a(Noe, "printComplexValue");
  function pze(e) {
    return e.serialize != null;
  }
  a(pze, "isNewPlugin");
  function Loe(e, t, r, n, o, i) {
    let s;
    try {
      s = pze(e) ? e.serialize(t, r, n, o, i, As) : e.print(
        t,
        (l) => As(l, r, n, o, i),
        (l) => {
          let u = n + r.indent;
          return u + l.replace(uze, `
` + u);
        },
        {
          edgeSpacing: r.spacingOuter,
          min: r.min,
          spacing: r.spacingInner
        },
        r.colors
      );
    } catch (l) {
      throw new t2(l.message, l.stack);
    }
    if (typeof s != "string")
      throw new Error(
        `pretty-format: Plugin must return type "string" but instead returned "${typeof s}".`
      );
    return s;
  }
  a(Loe, "printPlugin");
  function koe(e, t) {
    for (let r = 0; r < e.length; r++)
      try {
        if (e[r].test(t))
          return e[r];
      } catch (n) {
        throw new t2(n.message, n.stack);
      }
    return null;
  }
  a(koe, "findPlugin");
  function As(e, t, r, n, o, i) {
    let s = koe(t.plugins, e);
    if (s !== null)
      return Loe(s, e, t, r, n, o);
    let l = Moe(
      e,
      t.printFunctionName,
      t.escapeRegex,
      t.escapeString
    );
    return l !== null ? l : Noe(
      e,
      t,
      r,
      n,
      o,
      i
    );
  }
  a(As, "printer");
  var t8 = {
    comment: "gray",
    content: "reset",
    prop: "yellow",
    tag: "cyan",
    value: "green"
  }, qoe = Object.keys(t8), Xo = {
    callToJSON: !0,
    compareKeys: void 0,
    escapeRegex: !1,
    escapeString: !0,
    highlight: !1,
    indent: 2,
    maxDepth: 1 / 0,
    min: !1,
    plugins: [],
    printBasicPrototype: !0,
    printFunctionName: !0,
    theme: t8
  };
  ai.DEFAULT_OPTIONS = Xo;
  function mze(e) {
    if (Object.keys(e).forEach((t) => {
      if (!Xo.hasOwnProperty(t))
        throw new Error(`pretty-format: Unknown option "${t}".`);
    }), e.min && e.indent !== void 0 && e.indent !== 0)
      throw new Error(
        'pretty-format: Options "min" and "indent" cannot be used together.'
      );
    if (e.theme !== void 0) {
      if (e.theme === null)
        throw new Error('pretty-format: Option "theme" must not be null.');
      if (typeof e.theme != "object")
        throw new Error(
          `pretty-format: Option "theme" must be of type "object" but instead received "${typeof e.theme}".`
        );
    }
  }
  a(mze, "validateOptions");
  var hze = /* @__PURE__ */ a((e) => qoe.reduce((t, r) => {
    let n = e.theme && e.theme[r] !== void 0 ? e.theme[r] : t8[r], o = n && JHe.default[n];
    if (o && typeof o.close == "string" && typeof o.open == "string")
      t[r] = o;
    else
      throw new Error(
        `pretty-format: Option "theme" has a key "${r}" whose value "${n}" is undefined in ansi-styles.`
      );
    return t;
  }, /* @__PURE__ */ Object.create(null)), "getColorsHighlight"), gze = /* @__PURE__ */ a(() => qoe.reduce((e, t) => (e[t] = {
    close: "",
    open: ""
  }, e), /* @__PURE__ */ Object.create(null)), "getColorsEmpty"), Doe = /* @__PURE__ */ a((e) => e && e.printFunctionName !== void 0 ? e.printFunctionName :
  Xo.printFunctionName, "getPrintFunctionName"), Foe = /* @__PURE__ */ a((e) => e && e.escapeRegex !== void 0 ? e.escapeRegex : Xo.escapeRegex,
  "getEscapeRegex"), joe = /* @__PURE__ */ a((e) => e && e.escapeString !== void 0 ? e.escapeString : Xo.escapeString, "getEscapeString"), Ooe = /* @__PURE__ */ a(
  (e) => {
    var t;
    return {
      callToJSON: e && e.callToJSON !== void 0 ? e.callToJSON : Xo.callToJSON,
      colors: e && e.highlight ? hze(e) : gze(),
      compareKeys: e && typeof e.compareKeys == "function" ? e.compareKeys : Xo.compareKeys,
      escapeRegex: Foe(e),
      escapeString: joe(e),
      indent: e && e.min ? "" : yze(
        e && e.indent !== void 0 ? e.indent : Xo.indent
      ),
      maxDepth: e && e.maxDepth !== void 0 ? e.maxDepth : Xo.maxDepth,
      min: e && e.min !== void 0 ? e.min : Xo.min,
      plugins: e && e.plugins !== void 0 ? e.plugins : Xo.plugins,
      printBasicPrototype: (t = e?.printBasicPrototype) !== null && t !== void 0 ? t : !0,
      printFunctionName: Doe(e),
      spacingInner: e && e.min ? " " : `
`,
      spacingOuter: e && e.min ? "" : `
`
    };
  }, "getConfig");
  function yze(e) {
    return new Array(e + 1).join(" ");
  }
  a(yze, "createIndent");
  function Boe(e, t) {
    if (t && (mze(t), t.plugins)) {
      let n = koe(t.plugins, e);
      if (n !== null)
        return Loe(n, e, Ooe(t), "", 0, []);
    }
    let r = Moe(
      e,
      Doe(t),
      Foe(t),
      joe(t)
    );
    return r !== null ? r : Noe(e, Ooe(t), "", 0, []);
  }
  a(Boe, "format");
  var vze = {
    AsymmetricMatcher: QHe.default,
    ConvertAnsi: ZHe.default,
    DOMCollection: eze.default,
    DOMElement: tze.default,
    Immutable: rze.default,
    ReactElement: nze.default,
    ReactTestComponent: oze.default
  };
  ai.plugins = vze;
  var bze = Boe;
  ai.default = bze;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/util/iteratorProxy.js
var cae = R((a2) => {
  "use strict";
  Object.defineProperty(a2, "__esModule", {
    value: !0
  });
  a2.default = void 0;
  function Jze() {
    var e = this, t = 0, r = {
      "@@iterator": /* @__PURE__ */ a(function() {
        return r;
      }, "iterator"),
      next: /* @__PURE__ */ a(function() {
        if (t < e.length) {
          var o = e[t];
          return t = t + 1, {
            done: !1,
            value: o
          };
        } else
          return {
            done: !0
          };
      }, "next")
    };
    return r;
  }
  a(Jze, "iteratorProxy");
  var Qze = Jze;
  a2.default = Qze;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/util/iterationDecorator.js
var Ld = R((a8) => {
  "use strict";
  Object.defineProperty(a8, "__esModule", {
    value: !0
  });
  a8.default = tUe;
  var Zze = eUe(cae());
  function eUe(e) {
    return e && e.__esModule ? e : { default: e };
  }
  a(eUe, "_interopRequireDefault");
  function o8(e) {
    "@babel/helpers - typeof";
    return o8 = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
      return typeof t;
    } : function(t) {
      return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
    }, o8(e);
  }
  a(o8, "_typeof");
  function tUe(e, t) {
    return typeof Symbol == "function" && o8(Symbol.iterator) === "symbol" && Object.defineProperty(e, Symbol.iterator, {
      value: Zze.default.bind(t)
    }), e;
  }
  a(tUe, "iterationDecorator");
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/ariaPropsMap.js
var pae = R((i2) => {
  "use strict";
  Object.defineProperty(i2, "__esModule", {
    value: !0
  });
  i2.default = void 0;
  var rUe = nUe(Ld());
  function nUe(e) {
    return e && e.__esModule ? e : { default: e };
  }
  a(nUe, "_interopRequireDefault");
  function i8(e, t) {
    return iUe(e) || aUe(e, t) || fae(e, t) || oUe();
  }
  a(i8, "_slicedToArray");
  function oUe() {
    throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
  }
  a(oUe, "_nonIterableRest");
  function aUe(e, t) {
    var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
    if (r != null) {
      var n = [], o = !0, i = !1, s, l;
      try {
        for (r = r.call(e); !(o = (s = r.next()).done) && (n.push(s.value), !(t && n.length === t)); o = !0)
          ;
      } catch (u) {
        i = !0, l = u;
      } finally {
        try {
          !o && r.return != null && r.return();
        } finally {
          if (i) throw l;
        }
      }
      return n;
    }
  }
  a(aUe, "_iterableToArrayLimit");
  function iUe(e) {
    if (Array.isArray(e)) return e;
  }
  a(iUe, "_arrayWithHoles");
  function sUe(e, t) {
    var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
    if (!r) {
      if (Array.isArray(e) || (r = fae(e)) || t && e && typeof e.length == "number") {
        r && (e = r);
        var n = 0, o = /* @__PURE__ */ a(function() {
        }, "F");
        return { s: o, n: /* @__PURE__ */ a(function() {
          return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] };
        }, "n"), e: /* @__PURE__ */ a(function(c) {
          throw c;
        }, "e"), f: o };
      }
      throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
    }
    var i = !0, s = !1, l;
    return { s: /* @__PURE__ */ a(function() {
      r = r.call(e);
    }, "s"), n: /* @__PURE__ */ a(function() {
      var c = r.next();
      return i = c.done, c;
    }, "n"), e: /* @__PURE__ */ a(function(c) {
      s = !0, l = c;
    }, "e"), f: /* @__PURE__ */ a(function() {
      try {
        !i && r.return != null && r.return();
      } finally {
        if (s) throw l;
      }
    }, "f") };
  }
  a(sUe, "_createForOfIteratorHelper");
  function fae(e, t) {
    if (e) {
      if (typeof e == "string") return dae(e, t);
      var r = Object.prototype.toString.call(e).slice(8, -1);
      if (r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set") return Array.from(e);
      if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return dae(e, t);
    }
  }
  a(fae, "_unsupportedIterableToArray");
  function dae(e, t) {
    (t == null || t > e.length) && (t = e.length);
    for (var r = 0, n = new Array(t); r < t; r++)
      n[r] = e[r];
    return n;
  }
  a(dae, "_arrayLikeToArray");
  var kd = [["aria-activedescendant", {
    type: "id"
  }], ["aria-atomic", {
    type: "boolean"
  }], ["aria-autocomplete", {
    type: "token",
    values: ["inline", "list", "both", "none"]
  }], ["aria-braillelabel", {
    type: "string"
  }], ["aria-brailleroledescription", {
    type: "string"
  }], ["aria-busy", {
    type: "boolean"
  }], ["aria-checked", {
    type: "tristate"
  }], ["aria-colcount", {
    type: "integer"
  }], ["aria-colindex", {
    type: "integer"
  }], ["aria-colspan", {
    type: "integer"
  }], ["aria-controls", {
    type: "idlist"
  }], ["aria-current", {
    type: "token",
    values: ["page", "step", "location", "date", "time", !0, !1]
  }], ["aria-describedby", {
    type: "idlist"
  }], ["aria-description", {
    type: "string"
  }], ["aria-details", {
    type: "id"
  }], ["aria-disabled", {
    type: "boolean"
  }], ["aria-dropeffect", {
    type: "tokenlist",
    values: ["copy", "execute", "link", "move", "none", "popup"]
  }], ["aria-errormessage", {
    type: "id"
  }], ["aria-expanded", {
    type: "boolean",
    allowundefined: !0
  }], ["aria-flowto", {
    type: "idlist"
  }], ["aria-grabbed", {
    type: "boolean",
    allowundefined: !0
  }], ["aria-haspopup", {
    type: "token",
    values: [!1, !0, "menu", "listbox", "tree", "grid", "dialog"]
  }], ["aria-hidden", {
    type: "boolean",
    allowundefined: !0
  }], ["aria-invalid", {
    type: "token",
    values: ["grammar", !1, "spelling", !0]
  }], ["aria-keyshortcuts", {
    type: "string"
  }], ["aria-label", {
    type: "string"
  }], ["aria-labelledby", {
    type: "idlist"
  }], ["aria-level", {
    type: "integer"
  }], ["aria-live", {
    type: "token",
    values: ["assertive", "off", "polite"]
  }], ["aria-modal", {
    type: "boolean"
  }], ["aria-multiline", {
    type: "boolean"
  }], ["aria-multiselectable", {
    type: "boolean"
  }], ["aria-orientation", {
    type: "token",
    values: ["vertical", "undefined", "horizontal"]
  }], ["aria-owns", {
    type: "idlist"
  }], ["aria-placeholder", {
    type: "string"
  }], ["aria-posinset", {
    type: "integer"
  }], ["aria-pressed", {
    type: "tristate"
  }], ["aria-readonly", {
    type: "boolean"
  }], ["aria-relevant", {
    type: "tokenlist",
    values: ["additions", "all", "removals", "text"]
  }], ["aria-required", {
    type: "boolean"
  }], ["aria-roledescription", {
    type: "string"
  }], ["aria-rowcount", {
    type: "integer"
  }], ["aria-rowindex", {
    type: "integer"
  }], ["aria-rowspan", {
    type: "integer"
  }], ["aria-selected", {
    type: "boolean",
    allowundefined: !0
  }], ["aria-setsize", {
    type: "integer"
  }], ["aria-sort", {
    type: "token",
    values: ["ascending", "descending", "none", "other"]
  }], ["aria-valuemax", {
    type: "number"
  }], ["aria-valuemin", {
    type: "number"
  }], ["aria-valuenow", {
    type: "number"
  }], ["aria-valuetext", {
    type: "string"
  }]], s8 = {
    entries: /* @__PURE__ */ a(function() {
      return kd;
    }, "entries"),
    forEach: /* @__PURE__ */ a(function(t) {
      var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, n = sUe(kd), o;
      try {
        for (n.s(); !(o = n.n()).done; ) {
          var i = i8(o.value, 2), s = i[0], l = i[1];
          t.call(r, l, s, kd);
        }
      } catch (u) {
        n.e(u);
      } finally {
        n.f();
      }
    }, "forEach"),
    get: /* @__PURE__ */ a(function(t) {
      var r = kd.find(function(n) {
        return n[0] === t;
      });
      return r && r[1];
    }, "get"),
    has: /* @__PURE__ */ a(function(t) {
      return !!s8.get(t);
    }, "has"),
    keys: /* @__PURE__ */ a(function() {
      return kd.map(function(t) {
        var r = i8(t, 1), n = r[0];
        return n;
      });
    }, "keys"),
    values: /* @__PURE__ */ a(function() {
      return kd.map(function(t) {
        var r = i8(t, 2), n = r[1];
        return n;
      });
    }, "values")
  }, lUe = (0, rUe.default)(s8, s8.entries());
  i2.default = lUe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/domMap.js
var gae = R((s2) => {
  "use strict";
  Object.defineProperty(s2, "__esModule", {
    value: !0
  });
  s2.default = void 0;
  var uUe = cUe(Ld());
  function cUe(e) {
    return e && e.__esModule ? e : { default: e };
  }
  a(cUe, "_interopRequireDefault");
  function l8(e, t) {
    return pUe(e) || fUe(e, t) || hae(e, t) || dUe();
  }
  a(l8, "_slicedToArray");
  function dUe() {
    throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
  }
  a(dUe, "_nonIterableRest");
  function fUe(e, t) {
    var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
    if (r != null) {
      var n = [], o = !0, i = !1, s, l;
      try {
        for (r = r.call(e); !(o = (s = r.next()).done) && (n.push(s.value), !(t && n.length === t)); o = !0)
          ;
      } catch (u) {
        i = !0, l = u;
      } finally {
        try {
          !o && r.return != null && r.return();
        } finally {
          if (i) throw l;
        }
      }
      return n;
    }
  }
  a(fUe, "_iterableToArrayLimit");
  function pUe(e) {
    if (Array.isArray(e)) return e;
  }
  a(pUe, "_arrayWithHoles");
  function mUe(e, t) {
    var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
    if (!r) {
      if (Array.isArray(e) || (r = hae(e)) || t && e && typeof e.length == "number") {
        r && (e = r);
        var n = 0, o = /* @__PURE__ */ a(function() {
        }, "F");
        return { s: o, n: /* @__PURE__ */ a(function() {
          return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] };
        }, "n"), e: /* @__PURE__ */ a(function(c) {
          throw c;
        }, "e"), f: o };
      }
      throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
    }
    var i = !0, s = !1, l;
    return { s: /* @__PURE__ */ a(function() {
      r = r.call(e);
    }, "s"), n: /* @__PURE__ */ a(function() {
      var c = r.next();
      return i = c.done, c;
    }, "n"), e: /* @__PURE__ */ a(function(c) {
      s = !0, l = c;
    }, "e"), f: /* @__PURE__ */ a(function() {
      try {
        !i && r.return != null && r.return();
      } finally {
        if (s) throw l;
      }
    }, "f") };
  }
  a(mUe, "_createForOfIteratorHelper");
  function hae(e, t) {
    if (e) {
      if (typeof e == "string") return mae(e, t);
      var r = Object.prototype.toString.call(e).slice(8, -1);
      if (r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set") return Array.from(e);
      if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return mae(e, t);
    }
  }
  a(hae, "_unsupportedIterableToArray");
  function mae(e, t) {
    (t == null || t > e.length) && (t = e.length);
    for (var r = 0, n = new Array(t); r < t; r++)
      n[r] = e[r];
    return n;
  }
  a(mae, "_arrayLikeToArray");
  var qd = [["a", {
    reserved: !1
  }], ["abbr", {
    reserved: !1
  }], ["acronym", {
    reserved: !1
  }], ["address", {
    reserved: !1
  }], ["applet", {
    reserved: !1
  }], ["area", {
    reserved: !1
  }], ["article", {
    reserved: !1
  }], ["aside", {
    reserved: !1
  }], ["audio", {
    reserved: !1
  }], ["b", {
    reserved: !1
  }], ["base", {
    reserved: !0
  }], ["bdi", {
    reserved: !1
  }], ["bdo", {
    reserved: !1
  }], ["big", {
    reserved: !1
  }], ["blink", {
    reserved: !1
  }], ["blockquote", {
    reserved: !1
  }], ["body", {
    reserved: !1
  }], ["br", {
    reserved: !1
  }], ["button", {
    reserved: !1
  }], ["canvas", {
    reserved: !1
  }], ["caption", {
    reserved: !1
  }], ["center", {
    reserved: !1
  }], ["cite", {
    reserved: !1
  }], ["code", {
    reserved: !1
  }], ["col", {
    reserved: !0
  }], ["colgroup", {
    reserved: !0
  }], ["content", {
    reserved: !1
  }], ["data", {
    reserved: !1
  }], ["datalist", {
    reserved: !1
  }], ["dd", {
    reserved: !1
  }], ["del", {
    reserved: !1
  }], ["details", {
    reserved: !1
  }], ["dfn", {
    reserved: !1
  }], ["dialog", {
    reserved: !1
  }], ["dir", {
    reserved: !1
  }], ["div", {
    reserved: !1
  }], ["dl", {
    reserved: !1
  }], ["dt", {
    reserved: !1
  }], ["em", {
    reserved: !1
  }], ["embed", {
    reserved: !1
  }], ["fieldset", {
    reserved: !1
  }], ["figcaption", {
    reserved: !1
  }], ["figure", {
    reserved: !1
  }], ["font", {
    reserved: !1
  }], ["footer", {
    reserved: !1
  }], ["form", {
    reserved: !1
  }], ["frame", {
    reserved: !1
  }], ["frameset", {
    reserved: !1
  }], ["h1", {
    reserved: !1
  }], ["h2", {
    reserved: !1
  }], ["h3", {
    reserved: !1
  }], ["h4", {
    reserved: !1
  }], ["h5", {
    reserved: !1
  }], ["h6", {
    reserved: !1
  }], ["head", {
    reserved: !0
  }], ["header", {
    reserved: !1
  }], ["hgroup", {
    reserved: !1
  }], ["hr", {
    reserved: !1
  }], ["html", {
    reserved: !0
  }], ["i", {
    reserved: !1
  }], ["iframe", {
    reserved: !1
  }], ["img", {
    reserved: !1
  }], ["input", {
    reserved: !1
  }], ["ins", {
    reserved: !1
  }], ["kbd", {
    reserved: !1
  }], ["keygen", {
    reserved: !1
  }], ["label", {
    reserved: !1
  }], ["legend", {
    reserved: !1
  }], ["li", {
    reserved: !1
  }], ["link", {
    reserved: !0
  }], ["main", {
    reserved: !1
  }], ["map", {
    reserved: !1
  }], ["mark", {
    reserved: !1
  }], ["marquee", {
    reserved: !1
  }], ["menu", {
    reserved: !1
  }], ["menuitem", {
    reserved: !1
  }], ["meta", {
    reserved: !0
  }], ["meter", {
    reserved: !1
  }], ["nav", {
    reserved: !1
  }], ["noembed", {
    reserved: !0
  }], ["noscript", {
    reserved: !0
  }], ["object", {
    reserved: !1
  }], ["ol", {
    reserved: !1
  }], ["optgroup", {
    reserved: !1
  }], ["option", {
    reserved: !1
  }], ["output", {
    reserved: !1
  }], ["p", {
    reserved: !1
  }], ["param", {
    reserved: !0
  }], ["picture", {
    reserved: !0
  }], ["pre", {
    reserved: !1
  }], ["progress", {
    reserved: !1
  }], ["q", {
    reserved: !1
  }], ["rp", {
    reserved: !1
  }], ["rt", {
    reserved: !1
  }], ["rtc", {
    reserved: !1
  }], ["ruby", {
    reserved: !1
  }], ["s", {
    reserved: !1
  }], ["samp", {
    reserved: !1
  }], ["script", {
    reserved: !0
  }], ["section", {
    reserved: !1
  }], ["select", {
    reserved: !1
  }], ["small", {
    reserved: !1
  }], ["source", {
    reserved: !0
  }], ["spacer", {
    reserved: !1
  }], ["span", {
    reserved: !1
  }], ["strike", {
    reserved: !1
  }], ["strong", {
    reserved: !1
  }], ["style", {
    reserved: !0
  }], ["sub", {
    reserved: !1
  }], ["summary", {
    reserved: !1
  }], ["sup", {
    reserved: !1
  }], ["table", {
    reserved: !1
  }], ["tbody", {
    reserved: !1
  }], ["td", {
    reserved: !1
  }], ["textarea", {
    reserved: !1
  }], ["tfoot", {
    reserved: !1
  }], ["th", {
    reserved: !1
  }], ["thead", {
    reserved: !1
  }], ["time", {
    reserved: !1
  }], ["title", {
    reserved: !0
  }], ["tr", {
    reserved: !1
  }], ["track", {
    reserved: !0
  }], ["tt", {
    reserved: !1
  }], ["u", {
    reserved: !1
  }], ["ul", {
    reserved: !1
  }], ["var", {
    reserved: !1
  }], ["video", {
    reserved: !1
  }], ["wbr", {
    reserved: !1
  }], ["xmp", {
    reserved: !1
  }]], u8 = {
    entries: /* @__PURE__ */ a(function() {
      return qd;
    }, "entries"),
    forEach: /* @__PURE__ */ a(function(t) {
      var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, n = mUe(qd), o;
      try {
        for (n.s(); !(o = n.n()).done; ) {
          var i = l8(o.value, 2), s = i[0], l = i[1];
          t.call(r, l, s, qd);
        }
      } catch (u) {
        n.e(u);
      } finally {
        n.f();
      }
    }, "forEach"),
    get: /* @__PURE__ */ a(function(t) {
      var r = qd.find(function(n) {
        return n[0] === t;
      });
      return r && r[1];
    }, "get"),
    has: /* @__PURE__ */ a(function(t) {
      return !!u8.get(t);
    }, "has"),
    keys: /* @__PURE__ */ a(function() {
      return qd.map(function(t) {
        var r = l8(t, 1), n = r[0];
        return n;
      });
    }, "keys"),
    values: /* @__PURE__ */ a(function() {
      return qd.map(function(t) {
        var r = l8(t, 2), n = r[1];
        return n;
      });
    }, "values")
  }, hUe = (0, uUe.default)(u8, u8.entries());
  s2.default = hUe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/commandRole.js
var yae = R((l2) => {
  "use strict";
  Object.defineProperty(l2, "__esModule", {
    value: !0
  });
  l2.default = void 0;
  var gUe = {
    abstract: !0,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "widget"]]
  }, yUe = gUe;
  l2.default = yUe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js
var vae = R((u2) => {
  "use strict";
  Object.defineProperty(u2, "__esModule", {
    value: !0
  });
  u2.default = void 0;
  var vUe = {
    abstract: !0,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-activedescendant": null,
      "aria-disabled": null
    },
    relatedConcepts: [],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "widget"]]
  }, bUe = vUe;
  u2.default = bUe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/inputRole.js
var bae = R((c2) => {
  "use strict";
  Object.defineProperty(c2, "__esModule", {
    value: !0
  });
  c2.default = void 0;
  var wUe = {
    abstract: !0,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null
    },
    relatedConcepts: [{
      concept: {
        name: "input"
      },
      module: "XForms"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "widget"]]
  }, EUe = wUe;
  c2.default = EUe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js
var wae = R((d2) => {
  "use strict";
  Object.defineProperty(d2, "__esModule", {
    value: !0
  });
  d2.default = void 0;
  var RUe = {
    abstract: !0,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, xUe = RUe;
  d2.default = xUe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js
var Eae = R((f2) => {
  "use strict";
  Object.defineProperty(f2, "__esModule", {
    value: !0
  });
  f2.default = void 0;
  var SUe = {
    abstract: !0,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-valuemax": null,
      "aria-valuemin": null,
      "aria-valuenow": null
    },
    relatedConcepts: [],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure"]]
  }, CUe = SUe;
  f2.default = CUe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js
var Rae = R((p2) => {
  "use strict";
  Object.defineProperty(p2, "__esModule", {
    value: !0
  });
  p2.default = void 0;
  var _Ue = {
    abstract: !0,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: [],
    prohibitedProps: [],
    props: {
      "aria-atomic": null,
      "aria-busy": null,
      "aria-controls": null,
      "aria-current": null,
      "aria-describedby": null,
      "aria-details": null,
      "aria-dropeffect": null,
      "aria-flowto": null,
      "aria-grabbed": null,
      "aria-hidden": null,
      "aria-keyshortcuts": null,
      "aria-label": null,
      "aria-labelledby": null,
      "aria-live": null,
      "aria-owns": null,
      "aria-relevant": null,
      "aria-roledescription": null
    },
    relatedConcepts: [{
      concept: {
        name: "role"
      },
      module: "XHTML"
    }, {
      concept: {
        name: "type"
      },
      module: "Dublin Core"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: []
  }, PUe = _Ue;
  p2.default = PUe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js
var xae = R((m2) => {
  "use strict";
  Object.defineProperty(m2, "__esModule", {
    value: !0
  });
  m2.default = void 0;
  var TUe = {
    abstract: !0,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: [],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "frontmatter"
      },
      module: "DTB"
    }, {
      concept: {
        name: "level"
      },
      module: "DTB"
    }, {
      concept: {
        name: "level"
      },
      module: "SMIL"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure"]]
  }, AUe = TUe;
  m2.default = AUe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js
var Sae = R((h2) => {
  "use strict";
  Object.defineProperty(h2, "__esModule", {
    value: !0
  });
  h2.default = void 0;
  var OUe = {
    abstract: !0,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author", "contents"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure"]]
  }, IUe = OUe;
  h2.default = IUe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/selectRole.js
var Cae = R((g2) => {
  "use strict";
  Object.defineProperty(g2, "__esModule", {
    value: !0
  });
  g2.default = void 0;
  var MUe = {
    abstract: !0,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-orientation": null
    },
    relatedConcepts: [],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "widget", "composite"], ["roletype", "structure", "section", "group"]]
  }, NUe = MUe;
  g2.default = NUe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/structureRole.js
var _ae = R((y2) => {
  "use strict";
  Object.defineProperty(y2, "__esModule", {
    value: !0
  });
  y2.default = void 0;
  var LUe = {
    abstract: !0,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: [],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype"]]
  }, kUe = LUe;
  y2.default = kUe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js
var Pae = R((v2) => {
  "use strict";
  Object.defineProperty(v2, "__esModule", {
    value: !0
  });
  v2.default = void 0;
  var qUe = {
    abstract: !0,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: [],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype"]]
  }, DUe = qUe;
  v2.default = DUe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/windowRole.js
var Tae = R((b2) => {
  "use strict";
  Object.defineProperty(b2, "__esModule", {
    value: !0
  });
  b2.default = void 0;
  var FUe = {
    abstract: !0,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-modal": null
    },
    relatedConcepts: [],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype"]]
  }, jUe = FUe;
  b2.default = jUe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js
var Aae = R((w2) => {
  "use strict";
  Object.defineProperty(w2, "__esModule", {
    value: !0
  });
  w2.default = void 0;
  var BUe = po(yae()), $Ue = po(vae()), HUe = po(bae()), zUe = po(wae()), UUe = po(Eae()), VUe = po(Rae()), WUe = po(xae()), GUe = po(Sae()),
  YUe = po(Cae()), KUe = po(_ae()), XUe = po(Pae()), JUe = po(Tae());
  function po(e) {
    return e && e.__esModule ? e : { default: e };
  }
  a(po, "_interopRequireDefault");
  var QUe = [["command", BUe.default], ["composite", $Ue.default], ["input", HUe.default], ["landmark", zUe.default], ["range", UUe.default],
  ["roletype", VUe.default], ["section", WUe.default], ["sectionhead", GUe.default], ["select", YUe.default], ["structure", KUe.default], ["\
widget", XUe.default], ["window", JUe.default]], ZUe = QUe;
  w2.default = ZUe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/alertRole.js
var Oae = R((E2) => {
  "use strict";
  Object.defineProperty(E2, "__esModule", {
    value: !0
  });
  E2.default = void 0;
  var eVe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-atomic": "true",
      "aria-live": "assertive"
    },
    relatedConcepts: [{
      concept: {
        name: "alert"
      },
      module: "XForms"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, tVe = eVe;
  E2.default = tVe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js
var Iae = R((R2) => {
  "use strict";
  Object.defineProperty(R2, "__esModule", {
    value: !0
  });
  R2.default = void 0;
  var rVe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "alert"
      },
      module: "XForms"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "alert"], ["roletype", "window", "dialog"]]
  }, nVe = rVe;
  R2.default = nVe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/applicationRole.js
var Mae = R((x2) => {
  "use strict";
  Object.defineProperty(x2, "__esModule", {
    value: !0
  });
  x2.default = void 0;
  var oVe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-activedescendant": null,
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "Device Independence Delivery Unit"
      }
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure"]]
  }, aVe = oVe;
  x2.default = aVe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/articleRole.js
var Nae = R((S2) => {
  "use strict";
  Object.defineProperty(S2, "__esModule", {
    value: !0
  });
  S2.default = void 0;
  var iVe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-posinset": null,
      "aria-setsize": null
    },
    relatedConcepts: [{
      concept: {
        name: "article"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "document"]]
  }, sVe = iVe;
  S2.default = sVe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/bannerRole.js
var Lae = R((C2) => {
  "use strict";
  Object.defineProperty(C2, "__esModule", {
    value: !0
  });
  C2.default = void 0;
  var lVe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [{
      concept: {
        constraints: ["scoped to the body element"],
        name: "header"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark"]]
  }, uVe = lVe;
  C2.default = uVe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js
var kae = R((_2) => {
  "use strict";
  Object.defineProperty(_2, "__esModule", {
    value: !0
  });
  _2.default = void 0;
  var cVe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "blockquote"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, dVe = cVe;
  _2.default = dVe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/buttonRole.js
var qae = R((P2) => {
  "use strict";
  Object.defineProperty(P2, "__esModule", {
    value: !0
  });
  P2.default = void 0;
  var fVe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !0,
    nameFrom: ["author", "contents"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-pressed": null
    },
    relatedConcepts: [{
      concept: {
        attributes: [{
          name: "type",
          value: "button"
        }],
        name: "input"
      },
      module: "HTML"
    }, {
      concept: {
        attributes: [{
          name: "type",
          value: "image"
        }],
        name: "input"
      },
      module: "HTML"
    }, {
      concept: {
        attributes: [{
          name: "type",
          value: "reset"
        }],
        name: "input"
      },
      module: "HTML"
    }, {
      concept: {
        attributes: [{
          name: "type",
          value: "submit"
        }],
        name: "input"
      },
      module: "HTML"
    }, {
      concept: {
        name: "button"
      },
      module: "HTML"
    }, {
      concept: {
        name: "trigger"
      },
      module: "XForms"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "widget", "command"]]
  }, pVe = fVe;
  P2.default = pVe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/captionRole.js
var Dae = R((T2) => {
  "use strict";
  Object.defineProperty(T2, "__esModule", {
    value: !0
  });
  T2.default = void 0;
  var mVe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["prohibited"],
    prohibitedProps: ["aria-label", "aria-labelledby"],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "caption"
      },
      module: "HTML"
    }],
    requireContextRole: ["figure", "grid", "table"],
    requiredContextRole: ["figure", "grid", "table"],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, hVe = mVe;
  T2.default = hVe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/cellRole.js
var Fae = R((A2) => {
  "use strict";
  Object.defineProperty(A2, "__esModule", {
    value: !0
  });
  A2.default = void 0;
  var gVe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author", "contents"],
    prohibitedProps: [],
    props: {
      "aria-colindex": null,
      "aria-colspan": null,
      "aria-rowindex": null,
      "aria-rowspan": null
    },
    relatedConcepts: [{
      concept: {
        constraints: ["ancestor table element has table role"],
        name: "td"
      },
      module: "HTML"
    }],
    requireContextRole: ["row"],
    requiredContextRole: ["row"],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, yVe = gVe;
  A2.default = yVe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js
var jae = R((O2) => {
  "use strict";
  Object.defineProperty(O2, "__esModule", {
    value: !0
  });
  O2.default = void 0;
  var vVe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !0,
    nameFrom: ["author", "contents"],
    prohibitedProps: [],
    props: {
      "aria-checked": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-invalid": null,
      "aria-readonly": null,
      "aria-required": null
    },
    relatedConcepts: [{
      concept: {
        attributes: [{
          name: "type",
          value: "checkbox"
        }],
        name: "input"
      },
      module: "HTML"
    }, {
      concept: {
        name: "option"
      },
      module: "ARIA"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {
      "aria-checked": null
    },
    superClass: [["roletype", "widget", "input"]]
  }, bVe = vVe;
  O2.default = bVe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/codeRole.js
var Bae = R((I2) => {
  "use strict";
  Object.defineProperty(I2, "__esModule", {
    value: !0
  });
  I2.default = void 0;
  var wVe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["prohibited"],
    prohibitedProps: ["aria-label", "aria-labelledby"],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "code"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, EVe = wVe;
  I2.default = EVe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js
var $ae = R((M2) => {
  "use strict";
  Object.defineProperty(M2, "__esModule", {
    value: !0
  });
  M2.default = void 0;
  var RVe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author", "contents"],
    prohibitedProps: [],
    props: {
      "aria-sort": null
    },
    relatedConcepts: [{
      concept: {
        name: "th"
      },
      module: "HTML"
    }, {
      concept: {
        attributes: [{
          name: "scope",
          value: "col"
        }],
        name: "th"
      },
      module: "HTML"
    }, {
      concept: {
        attributes: [{
          name: "scope",
          value: "colgroup"
        }],
        name: "th"
      },
      module: "HTML"
    }],
    requireContextRole: ["row"],
    requiredContextRole: ["row"],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "cell"], ["roletype", "structure", "section", "cell", "gridcell"], ["roletype", "widge\
t", "gridcell"], ["roletype", "structure", "sectionhead"]]
  }, xVe = RVe;
  M2.default = xVe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js
var Hae = R((N2) => {
  "use strict";
  Object.defineProperty(N2, "__esModule", {
    value: !0
  });
  N2.default = void 0;
  var SVe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-activedescendant": null,
      "aria-autocomplete": null,
      "aria-errormessage": null,
      "aria-invalid": null,
      "aria-readonly": null,
      "aria-required": null,
      "aria-expanded": "false",
      "aria-haspopup": "listbox"
    },
    relatedConcepts: [{
      concept: {
        attributes: [{
          constraints: ["set"],
          name: "list"
        }, {
          name: "type",
          value: "email"
        }],
        name: "input"
      },
      module: "HTML"
    }, {
      concept: {
        attributes: [{
          constraints: ["set"],
          name: "list"
        }, {
          name: "type",
          value: "search"
        }],
        name: "input"
      },
      module: "HTML"
    }, {
      concept: {
        attributes: [{
          constraints: ["set"],
          name: "list"
        }, {
          name: "type",
          value: "tel"
        }],
        name: "input"
      },
      module: "HTML"
    }, {
      concept: {
        attributes: [{
          constraints: ["set"],
          name: "list"
        }, {
          name: "type",
          value: "text"
        }],
        name: "input"
      },
      module: "HTML"
    }, {
      concept: {
        attributes: [{
          constraints: ["set"],
          name: "list"
        }, {
          name: "type",
          value: "url"
        }],
        name: "input"
      },
      module: "HTML"
    }, {
      concept: {
        attributes: [{
          constraints: ["set"],
          name: "list"
        }, {
          name: "type",
          value: "url"
        }],
        name: "input"
      },
      module: "HTML"
    }, {
      concept: {
        attributes: [{
          constraints: ["undefined"],
          name: "multiple"
        }, {
          constraints: ["undefined"],
          name: "size"
        }],
        constraints: ["the multiple attribute is not set and the size attribute does not have a value greater than 1"],
        name: "select"
      },
      module: "HTML"
    }, {
      concept: {
        name: "select"
      },
      module: "XForms"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {
      "aria-controls": null,
      "aria-expanded": "false"
    },
    superClass: [["roletype", "widget", "input"]]
  }, CVe = SVe;
  N2.default = CVe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js
var zae = R((L2) => {
  "use strict";
  Object.defineProperty(L2, "__esModule", {
    value: !0
  });
  L2.default = void 0;
  var _Ve = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "aside"
      },
      module: "HTML"
    }, {
      concept: {
        attributes: [{
          constraints: ["set"],
          name: "aria-label"
        }],
        constraints: ["scoped to a sectioning content element", "scoped to a sectioning root element other than body"],
        name: "aside"
      },
      module: "HTML"
    }, {
      concept: {
        attributes: [{
          constraints: ["set"],
          name: "aria-labelledby"
        }],
        constraints: ["scoped to a sectioning content element", "scoped to a sectioning root element other than body"],
        name: "aside"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark"]]
  }, PVe = _Ve;
  L2.default = PVe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js
var Uae = R((k2) => {
  "use strict";
  Object.defineProperty(k2, "__esModule", {
    value: !0
  });
  k2.default = void 0;
  var TVe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [{
      concept: {
        constraints: ["scoped to the body element"],
        name: "footer"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark"]]
  }, AVe = TVe;
  k2.default = AVe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/definitionRole.js
var Vae = R((q2) => {
  "use strict";
  Object.defineProperty(q2, "__esModule", {
    value: !0
  });
  q2.default = void 0;
  var OVe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "dd"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, IVe = OVe;
  q2.default = IVe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/deletionRole.js
var Wae = R((D2) => {
  "use strict";
  Object.defineProperty(D2, "__esModule", {
    value: !0
  });
  D2.default = void 0;
  var MVe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["prohibited"],
    prohibitedProps: ["aria-label", "aria-labelledby"],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "del"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, NVe = MVe;
  D2.default = NVe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/dialogRole.js
var Gae = R((F2) => {
  "use strict";
  Object.defineProperty(F2, "__esModule", {
    value: !0
  });
  F2.default = void 0;
  var LVe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "dialog"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "window"]]
  }, kVe = LVe;
  F2.default = kVe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/directoryRole.js
var Yae = R((j2) => {
  "use strict";
  Object.defineProperty(j2, "__esModule", {
    value: !0
  });
  j2.default = void 0;
  var qVe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [{
      module: "DAISY Guide"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "list"]]
  }, DVe = qVe;
  j2.default = DVe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/documentRole.js
var Kae = R((B2) => {
  "use strict";
  Object.defineProperty(B2, "__esModule", {
    value: !0
  });
  B2.default = void 0;
  var FVe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "Device Independence Delivery Unit"
      }
    }, {
      concept: {
        name: "html"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure"]]
  }, jVe = FVe;
  B2.default = jVe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js
var Xae = R(($2) => {
  "use strict";
  Object.defineProperty($2, "__esModule", {
    value: !0
  });
  $2.default = void 0;
  var BVe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["prohibited"],
    prohibitedProps: ["aria-label", "aria-labelledby"],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "em"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, $Ve = BVe;
  $2.default = $Ve;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/feedRole.js
var Jae = R((H2) => {
  "use strict";
  Object.defineProperty(H2, "__esModule", {
    value: !0
  });
  H2.default = void 0;
  var HVe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [["article"]],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "list"]]
  }, zVe = HVe;
  H2.default = zVe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/figureRole.js
var Qae = R((z2) => {
  "use strict";
  Object.defineProperty(z2, "__esModule", {
    value: !0
  });
  z2.default = void 0;
  var UVe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "figure"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, VVe = UVe;
  z2.default = VVe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/formRole.js
var Zae = R((U2) => {
  "use strict";
  Object.defineProperty(U2, "__esModule", {
    value: !0
  });
  U2.default = void 0;
  var WVe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [{
      concept: {
        attributes: [{
          constraints: ["set"],
          name: "aria-label"
        }],
        name: "form"
      },
      module: "HTML"
    }, {
      concept: {
        attributes: [{
          constraints: ["set"],
          name: "aria-labelledby"
        }],
        name: "form"
      },
      module: "HTML"
    }, {
      concept: {
        attributes: [{
          constraints: ["set"],
          name: "name"
        }],
        name: "form"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark"]]
  }, GVe = WVe;
  U2.default = GVe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/genericRole.js
var eie = R((V2) => {
  "use strict";
  Object.defineProperty(V2, "__esModule", {
    value: !0
  });
  V2.default = void 0;
  var YVe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["prohibited"],
    prohibitedProps: ["aria-label", "aria-labelledby"],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "a"
      },
      module: "HTML"
    }, {
      concept: {
        name: "area"
      },
      module: "HTML"
    }, {
      concept: {
        name: "aside"
      },
      module: "HTML"
    }, {
      concept: {
        name: "b"
      },
      module: "HTML"
    }, {
      concept: {
        name: "bdo"
      },
      module: "HTML"
    }, {
      concept: {
        name: "body"
      },
      module: "HTML"
    }, {
      concept: {
        name: "data"
      },
      module: "HTML"
    }, {
      concept: {
        name: "div"
      },
      module: "HTML"
    }, {
      concept: {
        constraints: ["scoped to the main element", "scoped to a sectioning content element", "scoped to a sectioning root element other tha\
n body"],
        name: "footer"
      },
      module: "HTML"
    }, {
      concept: {
        constraints: ["scoped to the main element", "scoped to a sectioning content element", "scoped to a sectioning root element other tha\
n body"],
        name: "header"
      },
      module: "HTML"
    }, {
      concept: {
        name: "hgroup"
      },
      module: "HTML"
    }, {
      concept: {
        name: "i"
      },
      module: "HTML"
    }, {
      concept: {
        name: "pre"
      },
      module: "HTML"
    }, {
      concept: {
        name: "q"
      },
      module: "HTML"
    }, {
      concept: {
        name: "samp"
      },
      module: "HTML"
    }, {
      concept: {
        name: "section"
      },
      module: "HTML"
    }, {
      concept: {
        name: "small"
      },
      module: "HTML"
    }, {
      concept: {
        name: "span"
      },
      module: "HTML"
    }, {
      concept: {
        name: "u"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure"]]
  }, KVe = YVe;
  V2.default = KVe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/gridRole.js
var tie = R((W2) => {
  "use strict";
  Object.defineProperty(W2, "__esModule", {
    value: !0
  });
  W2.default = void 0;
  var XVe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-multiselectable": null,
      "aria-readonly": null
    },
    relatedConcepts: [],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [["row"], ["row", "rowgroup"]],
    requiredProps: {},
    superClass: [["roletype", "widget", "composite"], ["roletype", "structure", "section", "table"]]
  }, JVe = XVe;
  W2.default = JVe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js
var rie = R((G2) => {
  "use strict";
  Object.defineProperty(G2, "__esModule", {
    value: !0
  });
  G2.default = void 0;
  var QVe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author", "contents"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null,
      "aria-readonly": null,
      "aria-required": null,
      "aria-selected": null
    },
    relatedConcepts: [{
      concept: {
        constraints: ["ancestor table element has grid role", "ancestor table element has treegrid role"],
        name: "td"
      },
      module: "HTML"
    }],
    requireContextRole: ["row"],
    requiredContextRole: ["row"],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "cell"], ["roletype", "widget"]]
  }, ZVe = QVe;
  G2.default = ZVe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/groupRole.js
var nie = R((Y2) => {
  "use strict";
  Object.defineProperty(Y2, "__esModule", {
    value: !0
  });
  Y2.default = void 0;
  var eWe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-activedescendant": null,
      "aria-disabled": null
    },
    relatedConcepts: [{
      concept: {
        name: "details"
      },
      module: "HTML"
    }, {
      concept: {
        name: "fieldset"
      },
      module: "HTML"
    }, {
      concept: {
        name: "optgroup"
      },
      module: "HTML"
    }, {
      concept: {
        name: "address"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, tWe = eWe;
  Y2.default = tWe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/headingRole.js
var oie = R((K2) => {
  "use strict";
  Object.defineProperty(K2, "__esModule", {
    value: !0
  });
  K2.default = void 0;
  var rWe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author", "contents"],
    prohibitedProps: [],
    props: {
      "aria-level": "2"
    },
    relatedConcepts: [{
      concept: {
        name: "h1"
      },
      module: "HTML"
    }, {
      concept: {
        name: "h2"
      },
      module: "HTML"
    }, {
      concept: {
        name: "h3"
      },
      module: "HTML"
    }, {
      concept: {
        name: "h4"
      },
      module: "HTML"
    }, {
      concept: {
        name: "h5"
      },
      module: "HTML"
    }, {
      concept: {
        name: "h6"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {
      "aria-level": "2"
    },
    superClass: [["roletype", "structure", "sectionhead"]]
  }, nWe = rWe;
  K2.default = nWe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/imgRole.js
var aie = R((X2) => {
  "use strict";
  Object.defineProperty(X2, "__esModule", {
    value: !0
  });
  X2.default = void 0;
  var oWe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !0,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [{
      concept: {
        attributes: [{
          constraints: ["set"],
          name: "alt"
        }],
        name: "img"
      },
      module: "HTML"
    }, {
      concept: {
        attributes: [{
          constraints: ["undefined"],
          name: "alt"
        }],
        name: "img"
      },
      module: "HTML"
    }, {
      concept: {
        name: "imggroup"
      },
      module: "DTB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, aWe = oWe;
  X2.default = aWe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/insertionRole.js
var iie = R((J2) => {
  "use strict";
  Object.defineProperty(J2, "__esModule", {
    value: !0
  });
  J2.default = void 0;
  var iWe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["prohibited"],
    prohibitedProps: ["aria-label", "aria-labelledby"],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "ins"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, sWe = iWe;
  J2.default = sWe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/linkRole.js
var sie = R((Q2) => {
  "use strict";
  Object.defineProperty(Q2, "__esModule", {
    value: !0
  });
  Q2.default = void 0;
  var lWe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author", "contents"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-expanded": null,
      "aria-haspopup": null
    },
    relatedConcepts: [{
      concept: {
        attributes: [{
          constraints: ["set"],
          name: "href"
        }],
        name: "a"
      },
      module: "HTML"
    }, {
      concept: {
        attributes: [{
          constraints: ["set"],
          name: "href"
        }],
        name: "area"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "widget", "command"]]
  }, uWe = lWe;
  Q2.default = uWe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/listRole.js
var lie = R((Z2) => {
  "use strict";
  Object.defineProperty(Z2, "__esModule", {
    value: !0
  });
  Z2.default = void 0;
  var cWe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "menu"
      },
      module: "HTML"
    }, {
      concept: {
        name: "ol"
      },
      module: "HTML"
    }, {
      concept: {
        name: "ul"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [["listitem"]],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, dWe = cWe;
  Z2.default = dWe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/listboxRole.js
var uie = R((eR) => {
  "use strict";
  Object.defineProperty(eR, "__esModule", {
    value: !0
  });
  eR.default = void 0;
  var fWe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-invalid": null,
      "aria-multiselectable": null,
      "aria-readonly": null,
      "aria-required": null,
      "aria-orientation": "vertical"
    },
    relatedConcepts: [{
      concept: {
        attributes: [{
          constraints: [">1"],
          name: "size"
        }],
        constraints: ["the size attribute value is greater than 1"],
        name: "select"
      },
      module: "HTML"
    }, {
      concept: {
        attributes: [{
          name: "multiple"
        }],
        name: "select"
      },
      module: "HTML"
    }, {
      concept: {
        name: "datalist"
      },
      module: "HTML"
    }, {
      concept: {
        name: "list"
      },
      module: "ARIA"
    }, {
      concept: {
        name: "select"
      },
      module: "XForms"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [["option", "group"], ["option"]],
    requiredProps: {},
    superClass: [["roletype", "widget", "composite", "select"], ["roletype", "structure", "section", "group", "select"]]
  }, pWe = fWe;
  eR.default = pWe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/listitemRole.js
var cie = R((tR) => {
  "use strict";
  Object.defineProperty(tR, "__esModule", {
    value: !0
  });
  tR.default = void 0;
  var mWe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-level": null,
      "aria-posinset": null,
      "aria-setsize": null
    },
    relatedConcepts: [{
      concept: {
        constraints: ["direct descendant of ol", "direct descendant of ul", "direct descendant of menu"],
        name: "li"
      },
      module: "HTML"
    }, {
      concept: {
        name: "item"
      },
      module: "XForms"
    }],
    requireContextRole: ["directory", "list"],
    requiredContextRole: ["directory", "list"],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, hWe = mWe;
  tR.default = hWe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/logRole.js
var die = R((rR) => {
  "use strict";
  Object.defineProperty(rR, "__esModule", {
    value: !0
  });
  rR.default = void 0;
  var gWe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-live": "polite"
    },
    relatedConcepts: [],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, yWe = gWe;
  rR.default = yWe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/mainRole.js
var fie = R((nR) => {
  "use strict";
  Object.defineProperty(nR, "__esModule", {
    value: !0
  });
  nR.default = void 0;
  var vWe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "main"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark"]]
  }, bWe = vWe;
  nR.default = bWe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/markRole.js
var pie = R((oR) => {
  "use strict";
  Object.defineProperty(oR, "__esModule", {
    value: !0
  });
  oR.default = void 0;
  var wWe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["prohibited"],
    prohibitedProps: [],
    props: {
      "aria-braillelabel": null,
      "aria-brailleroledescription": null,
      "aria-description": null
    },
    relatedConcepts: [{
      concept: {
        name: "mark"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, EWe = wWe;
  oR.default = EWe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js
var mie = R((aR) => {
  "use strict";
  Object.defineProperty(aR, "__esModule", {
    value: !0
  });
  aR.default = void 0;
  var RWe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, xWe = RWe;
  aR.default = xWe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/mathRole.js
var hie = R((iR) => {
  "use strict";
  Object.defineProperty(iR, "__esModule", {
    value: !0
  });
  iR.default = void 0;
  var SWe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "math"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, CWe = SWe;
  iR.default = CWe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menuRole.js
var gie = R((sR) => {
  "use strict";
  Object.defineProperty(sR, "__esModule", {
    value: !0
  });
  sR.default = void 0;
  var _We = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-orientation": "vertical"
    },
    relatedConcepts: [{
      concept: {
        name: "MENU"
      },
      module: "JAPI"
    }, {
      concept: {
        name: "list"
      },
      module: "ARIA"
    }, {
      concept: {
        name: "select"
      },
      module: "XForms"
    }, {
      concept: {
        name: "sidebar"
      },
      module: "DTB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [["menuitem", "group"], ["menuitemradio", "group"], ["menuitemcheckbox", "group"], ["menuitem"], ["menuitemcheckb\
ox"], ["menuitemradio"]],
    requiredProps: {},
    superClass: [["roletype", "widget", "composite", "select"], ["roletype", "structure", "section", "group", "select"]]
  }, PWe = _We;
  sR.default = PWe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menubarRole.js
var yie = R((lR) => {
  "use strict";
  Object.defineProperty(lR, "__esModule", {
    value: !0
  });
  lR.default = void 0;
  var TWe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-orientation": "horizontal"
    },
    relatedConcepts: [{
      concept: {
        name: "toolbar"
      },
      module: "ARIA"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [["menuitem", "group"], ["menuitemradio", "group"], ["menuitemcheckbox", "group"], ["menuitem"], ["menuitemcheckb\
ox"], ["menuitemradio"]],
    requiredProps: {},
    superClass: [["roletype", "widget", "composite", "select", "menu"], ["roletype", "structure", "section", "group", "select", "menu"]]
  }, AWe = TWe;
  lR.default = AWe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js
var vie = R((uR) => {
  "use strict";
  Object.defineProperty(uR, "__esModule", {
    value: !0
  });
  uR.default = void 0;
  var OWe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author", "contents"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-posinset": null,
      "aria-setsize": null
    },
    relatedConcepts: [{
      concept: {
        name: "MENU_ITEM"
      },
      module: "JAPI"
    }, {
      concept: {
        name: "listitem"
      },
      module: "ARIA"
    }, {
      concept: {
        name: "option"
      },
      module: "ARIA"
    }],
    requireContextRole: ["group", "menu", "menubar"],
    requiredContextRole: ["group", "menu", "menubar"],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "widget", "command"]]
  }, IWe = OWe;
  uR.default = IWe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js
var bie = R((cR) => {
  "use strict";
  Object.defineProperty(cR, "__esModule", {
    value: !0
  });
  cR.default = void 0;
  var MWe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !0,
    nameFrom: ["author", "contents"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "menuitem"
      },
      module: "ARIA"
    }],
    requireContextRole: ["group", "menu", "menubar"],
    requiredContextRole: ["group", "menu", "menubar"],
    requiredOwnedElements: [],
    requiredProps: {
      "aria-checked": null
    },
    superClass: [["roletype", "widget", "input", "checkbox"], ["roletype", "widget", "command", "menuitem"]]
  }, NWe = MWe;
  cR.default = NWe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js
var wie = R((dR) => {
  "use strict";
  Object.defineProperty(dR, "__esModule", {
    value: !0
  });
  dR.default = void 0;
  var LWe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !0,
    nameFrom: ["author", "contents"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "menuitem"
      },
      module: "ARIA"
    }],
    requireContextRole: ["group", "menu", "menubar"],
    requiredContextRole: ["group", "menu", "menubar"],
    requiredOwnedElements: [],
    requiredProps: {
      "aria-checked": null
    },
    superClass: [["roletype", "widget", "input", "checkbox", "menuitemcheckbox"], ["roletype", "widget", "command", "menuitem", "menuitemche\
ckbox"], ["roletype", "widget", "input", "radio"]]
  }, kWe = LWe;
  dR.default = kWe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/meterRole.js
var Eie = R((fR) => {
  "use strict";
  Object.defineProperty(fR, "__esModule", {
    value: !0
  });
  fR.default = void 0;
  var qWe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !0,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-valuetext": null,
      "aria-valuemax": "100",
      "aria-valuemin": "0"
    },
    relatedConcepts: [{
      concept: {
        name: "meter"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {
      "aria-valuenow": null
    },
    superClass: [["roletype", "structure", "range"]]
  }, DWe = qWe;
  fR.default = DWe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/navigationRole.js
var Rie = R((pR) => {
  "use strict";
  Object.defineProperty(pR, "__esModule", {
    value: !0
  });
  pR.default = void 0;
  var FWe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "nav"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark"]]
  }, jWe = FWe;
  pR.default = jWe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/noneRole.js
var xie = R((mR) => {
  "use strict";
  Object.defineProperty(mR, "__esModule", {
    value: !0
  });
  mR.default = void 0;
  var BWe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: [],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: []
  }, $We = BWe;
  mR.default = $We;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/noteRole.js
var Sie = R((hR) => {
  "use strict";
  Object.defineProperty(hR, "__esModule", {
    value: !0
  });
  hR.default = void 0;
  var HWe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, zWe = HWe;
  hR.default = zWe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/optionRole.js
var Cie = R((gR) => {
  "use strict";
  Object.defineProperty(gR, "__esModule", {
    value: !0
  });
  gR.default = void 0;
  var UWe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !0,
    nameFrom: ["author", "contents"],
    prohibitedProps: [],
    props: {
      "aria-checked": null,
      "aria-posinset": null,
      "aria-setsize": null,
      "aria-selected": "false"
    },
    relatedConcepts: [{
      concept: {
        name: "item"
      },
      module: "XForms"
    }, {
      concept: {
        name: "listitem"
      },
      module: "ARIA"
    }, {
      concept: {
        name: "option"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {
      "aria-selected": "false"
    },
    superClass: [["roletype", "widget", "input"]]
  }, VWe = UWe;
  gR.default = VWe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js
var _ie = R((yR) => {
  "use strict";
  Object.defineProperty(yR, "__esModule", {
    value: !0
  });
  yR.default = void 0;
  var WWe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["prohibited"],
    prohibitedProps: ["aria-label", "aria-labelledby"],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "p"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, GWe = WWe;
  yR.default = GWe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/presentationRole.js
var Pie = R((vR) => {
  "use strict";
  Object.defineProperty(vR, "__esModule", {
    value: !0
  });
  vR.default = void 0;
  var YWe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["prohibited"],
    prohibitedProps: ["aria-label", "aria-labelledby"],
    props: {},
    relatedConcepts: [{
      concept: {
        attributes: [{
          name: "alt",
          value: ""
        }],
        name: "img"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure"]]
  }, KWe = YWe;
  vR.default = KWe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js
var Tie = R((bR) => {
  "use strict";
  Object.defineProperty(bR, "__esModule", {
    value: !0
  });
  bR.default = void 0;
  var XWe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !0,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-valuetext": null
    },
    relatedConcepts: [{
      concept: {
        name: "progress"
      },
      module: "HTML"
    }, {
      concept: {
        name: "status"
      },
      module: "ARIA"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "range"], ["roletype", "widget"]]
  }, JWe = XWe;
  bR.default = JWe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/radioRole.js
var Aie = R((wR) => {
  "use strict";
  Object.defineProperty(wR, "__esModule", {
    value: !0
  });
  wR.default = void 0;
  var QWe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !0,
    nameFrom: ["author", "contents"],
    prohibitedProps: [],
    props: {
      "aria-checked": null,
      "aria-posinset": null,
      "aria-setsize": null
    },
    relatedConcepts: [{
      concept: {
        attributes: [{
          name: "type",
          value: "radio"
        }],
        name: "input"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {
      "aria-checked": null
    },
    superClass: [["roletype", "widget", "input"]]
  }, ZWe = QWe;
  wR.default = ZWe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js
var Oie = R((ER) => {
  "use strict";
  Object.defineProperty(ER, "__esModule", {
    value: !0
  });
  ER.default = void 0;
  var eGe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-errormessage": null,
      "aria-invalid": null,
      "aria-readonly": null,
      "aria-required": null
    },
    relatedConcepts: [{
      concept: {
        name: "list"
      },
      module: "ARIA"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [["radio"]],
    requiredProps: {},
    superClass: [["roletype", "widget", "composite", "select"], ["roletype", "structure", "section", "group", "select"]]
  }, tGe = eGe;
  ER.default = tGe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/regionRole.js
var Iie = R((RR) => {
  "use strict";
  Object.defineProperty(RR, "__esModule", {
    value: !0
  });
  RR.default = void 0;
  var rGe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [{
      concept: {
        attributes: [{
          constraints: ["set"],
          name: "aria-label"
        }],
        name: "section"
      },
      module: "HTML"
    }, {
      concept: {
        attributes: [{
          constraints: ["set"],
          name: "aria-labelledby"
        }],
        name: "section"
      },
      module: "HTML"
    }, {
      concept: {
        name: "Device Independence Glossart perceivable unit"
      }
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark"]]
  }, nGe = rGe;
  RR.default = nGe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/rowRole.js
var Mie = R((xR) => {
  "use strict";
  Object.defineProperty(xR, "__esModule", {
    value: !0
  });
  xR.default = void 0;
  var oGe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author", "contents"],
    prohibitedProps: [],
    props: {
      "aria-colindex": null,
      "aria-expanded": null,
      "aria-level": null,
      "aria-posinset": null,
      "aria-rowindex": null,
      "aria-selected": null,
      "aria-setsize": null
    },
    relatedConcepts: [{
      concept: {
        name: "tr"
      },
      module: "HTML"
    }],
    requireContextRole: ["grid", "rowgroup", "table", "treegrid"],
    requiredContextRole: ["grid", "rowgroup", "table", "treegrid"],
    requiredOwnedElements: [["cell"], ["columnheader"], ["gridcell"], ["rowheader"]],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "group"], ["roletype", "widget"]]
  }, aGe = oGe;
  xR.default = aGe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js
var Nie = R((SR) => {
  "use strict";
  Object.defineProperty(SR, "__esModule", {
    value: !0
  });
  SR.default = void 0;
  var iGe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author", "contents"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "tbody"
      },
      module: "HTML"
    }, {
      concept: {
        name: "tfoot"
      },
      module: "HTML"
    }, {
      concept: {
        name: "thead"
      },
      module: "HTML"
    }],
    requireContextRole: ["grid", "table", "treegrid"],
    requiredContextRole: ["grid", "table", "treegrid"],
    requiredOwnedElements: [["row"]],
    requiredProps: {},
    superClass: [["roletype", "structure"]]
  }, sGe = iGe;
  SR.default = sGe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js
var Lie = R((CR) => {
  "use strict";
  Object.defineProperty(CR, "__esModule", {
    value: !0
  });
  CR.default = void 0;
  var lGe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author", "contents"],
    prohibitedProps: [],
    props: {
      "aria-sort": null
    },
    relatedConcepts: [{
      concept: {
        attributes: [{
          name: "scope",
          value: "row"
        }],
        name: "th"
      },
      module: "HTML"
    }, {
      concept: {
        attributes: [{
          name: "scope",
          value: "rowgroup"
        }],
        name: "th"
      },
      module: "HTML"
    }],
    requireContextRole: ["row", "rowgroup"],
    requiredContextRole: ["row", "rowgroup"],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "cell"], ["roletype", "structure", "section", "cell", "gridcell"], ["roletype", "widge\
t", "gridcell"], ["roletype", "structure", "sectionhead"]]
  }, uGe = lGe;
  CR.default = uGe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js
var kie = R((_R) => {
  "use strict";
  Object.defineProperty(_R, "__esModule", {
    value: !0
  });
  _R.default = void 0;
  var cGe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !0,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-valuetext": null,
      "aria-orientation": "vertical",
      "aria-valuemax": "100",
      "aria-valuemin": "0"
    },
    relatedConcepts: [],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {
      "aria-controls": null,
      "aria-valuenow": null
    },
    superClass: [["roletype", "structure", "range"], ["roletype", "widget"]]
  }, dGe = cGe;
  _R.default = dGe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/searchRole.js
var qie = R((PR) => {
  "use strict";
  Object.defineProperty(PR, "__esModule", {
    value: !0
  });
  PR.default = void 0;
  var fGe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark"]]
  }, pGe = fGe;
  PR.default = pGe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js
var Die = R((TR) => {
  "use strict";
  Object.defineProperty(TR, "__esModule", {
    value: !0
  });
  TR.default = void 0;
  var mGe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [{
      concept: {
        attributes: [{
          constraints: ["undefined"],
          name: "list"
        }, {
          name: "type",
          value: "search"
        }],
        constraints: ["the list attribute is not set"],
        name: "input"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "widget", "input", "textbox"]]
  }, hGe = mGe;
  TR.default = hGe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/separatorRole.js
var Fie = R((AR) => {
  "use strict";
  Object.defineProperty(AR, "__esModule", {
    value: !0
  });
  AR.default = void 0;
  var gGe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !0,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-orientation": "horizontal",
      "aria-valuemax": "100",
      "aria-valuemin": "0",
      "aria-valuenow": null,
      "aria-valuetext": null
    },
    relatedConcepts: [{
      concept: {
        name: "hr"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure"]]
  }, yGe = gGe;
  AR.default = yGe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/sliderRole.js
var jie = R((OR) => {
  "use strict";
  Object.defineProperty(OR, "__esModule", {
    value: !0
  });
  OR.default = void 0;
  var vGe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !0,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-errormessage": null,
      "aria-haspopup": null,
      "aria-invalid": null,
      "aria-readonly": null,
      "aria-valuetext": null,
      "aria-orientation": "horizontal",
      "aria-valuemax": "100",
      "aria-valuemin": "0"
    },
    relatedConcepts: [{
      concept: {
        attributes: [{
          name: "type",
          value: "range"
        }],
        name: "input"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {
      "aria-valuenow": null
    },
    superClass: [["roletype", "widget", "input"], ["roletype", "structure", "range"]]
  }, bGe = vGe;
  OR.default = bGe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js
var Bie = R((IR) => {
  "use strict";
  Object.defineProperty(IR, "__esModule", {
    value: !0
  });
  IR.default = void 0;
  var wGe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-errormessage": null,
      "aria-invalid": null,
      "aria-readonly": null,
      "aria-required": null,
      "aria-valuetext": null,
      "aria-valuenow": "0"
    },
    relatedConcepts: [{
      concept: {
        attributes: [{
          name: "type",
          value: "number"
        }],
        name: "input"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "widget", "composite"], ["roletype", "widget", "input"], ["roletype", "structure", "range"]]
  }, EGe = wGe;
  IR.default = EGe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/statusRole.js
var $ie = R((MR) => {
  "use strict";
  Object.defineProperty(MR, "__esModule", {
    value: !0
  });
  MR.default = void 0;
  var RGe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-atomic": "true",
      "aria-live": "polite"
    },
    relatedConcepts: [{
      concept: {
        name: "output"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, xGe = RGe;
  MR.default = xGe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/strongRole.js
var Hie = R((NR) => {
  "use strict";
  Object.defineProperty(NR, "__esModule", {
    value: !0
  });
  NR.default = void 0;
  var SGe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["prohibited"],
    prohibitedProps: ["aria-label", "aria-labelledby"],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "strong"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, CGe = SGe;
  NR.default = CGe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js
var zie = R((LR) => {
  "use strict";
  Object.defineProperty(LR, "__esModule", {
    value: !0
  });
  LR.default = void 0;
  var _Ge = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["prohibited"],
    prohibitedProps: ["aria-label", "aria-labelledby"],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "sub"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, PGe = _Ge;
  LR.default = PGe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js
var Uie = R((kR) => {
  "use strict";
  Object.defineProperty(kR, "__esModule", {
    value: !0
  });
  kR.default = void 0;
  var TGe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["prohibited"],
    prohibitedProps: ["aria-label", "aria-labelledby"],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "sup"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, AGe = TGe;
  kR.default = AGe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/switchRole.js
var Vie = R((qR) => {
  "use strict";
  Object.defineProperty(qR, "__esModule", {
    value: !0
  });
  qR.default = void 0;
  var OGe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !0,
    nameFrom: ["author", "contents"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "button"
      },
      module: "ARIA"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {
      "aria-checked": null
    },
    superClass: [["roletype", "widget", "input", "checkbox"]]
  }, IGe = OGe;
  qR.default = IGe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tabRole.js
var Wie = R((DR) => {
  "use strict";
  Object.defineProperty(DR, "__esModule", {
    value: !0
  });
  DR.default = void 0;
  var MGe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !0,
    nameFrom: ["author", "contents"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-posinset": null,
      "aria-setsize": null,
      "aria-selected": "false"
    },
    relatedConcepts: [],
    requireContextRole: ["tablist"],
    requiredContextRole: ["tablist"],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "sectionhead"], ["roletype", "widget"]]
  }, NGe = MGe;
  DR.default = NGe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tableRole.js
var Gie = R((FR) => {
  "use strict";
  Object.defineProperty(FR, "__esModule", {
    value: !0
  });
  FR.default = void 0;
  var LGe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-colcount": null,
      "aria-rowcount": null
    },
    relatedConcepts: [{
      concept: {
        name: "table"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [["row"], ["row", "rowgroup"]],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, kGe = LGe;
  FR.default = kGe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tablistRole.js
var Yie = R((jR) => {
  "use strict";
  Object.defineProperty(jR, "__esModule", {
    value: !0
  });
  jR.default = void 0;
  var qGe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-level": null,
      "aria-multiselectable": null,
      "aria-orientation": "horizontal"
    },
    relatedConcepts: [{
      module: "DAISY",
      concept: {
        name: "guide"
      }
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [["tab"]],
    requiredProps: {},
    superClass: [["roletype", "widget", "composite"]]
  }, DGe = qGe;
  jR.default = DGe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js
var Kie = R((BR) => {
  "use strict";
  Object.defineProperty(BR, "__esModule", {
    value: !0
  });
  BR.default = void 0;
  var FGe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, jGe = FGe;
  BR.default = jGe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/termRole.js
var Xie = R(($R) => {
  "use strict";
  Object.defineProperty($R, "__esModule", {
    value: !0
  });
  $R.default = void 0;
  var BGe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "dfn"
      },
      module: "HTML"
    }, {
      concept: {
        name: "dt"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, $Ge = BGe;
  $R.default = $Ge;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/textboxRole.js
var Jie = R((HR) => {
  "use strict";
  Object.defineProperty(HR, "__esModule", {
    value: !0
  });
  HR.default = void 0;
  var HGe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-activedescendant": null,
      "aria-autocomplete": null,
      "aria-errormessage": null,
      "aria-haspopup": null,
      "aria-invalid": null,
      "aria-multiline": null,
      "aria-placeholder": null,
      "aria-readonly": null,
      "aria-required": null
    },
    relatedConcepts: [{
      concept: {
        attributes: [{
          constraints: ["undefined"],
          name: "type"
        }, {
          constraints: ["undefined"],
          name: "list"
        }],
        constraints: ["the list attribute is not set"],
        name: "input"
      },
      module: "HTML"
    }, {
      concept: {
        attributes: [{
          constraints: ["undefined"],
          name: "list"
        }, {
          name: "type",
          value: "email"
        }],
        constraints: ["the list attribute is not set"],
        name: "input"
      },
      module: "HTML"
    }, {
      concept: {
        attributes: [{
          constraints: ["undefined"],
          name: "list"
        }, {
          name: "type",
          value: "tel"
        }],
        constraints: ["the list attribute is not set"],
        name: "input"
      },
      module: "HTML"
    }, {
      concept: {
        attributes: [{
          constraints: ["undefined"],
          name: "list"
        }, {
          name: "type",
          value: "text"
        }],
        constraints: ["the list attribute is not set"],
        name: "input"
      },
      module: "HTML"
    }, {
      concept: {
        attributes: [{
          constraints: ["undefined"],
          name: "list"
        }, {
          name: "type",
          value: "url"
        }],
        constraints: ["the list attribute is not set"],
        name: "input"
      },
      module: "HTML"
    }, {
      concept: {
        name: "input"
      },
      module: "XForms"
    }, {
      concept: {
        name: "textarea"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "widget", "input"]]
  }, zGe = HGe;
  HR.default = zGe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/timeRole.js
var Qie = R((zR) => {
  "use strict";
  Object.defineProperty(zR, "__esModule", {
    value: !0
  });
  zR.default = void 0;
  var UGe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "time"
      },
      module: "HTML"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, VGe = UGe;
  zR.default = VGe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/timerRole.js
var Zie = R((UR) => {
  "use strict";
  Object.defineProperty(UR, "__esModule", {
    value: !0
  });
  UR.default = void 0;
  var WGe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "status"]]
  }, GGe = WGe;
  UR.default = GGe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js
var ese = R((VR) => {
  "use strict";
  Object.defineProperty(VR, "__esModule", {
    value: !0
  });
  VR.default = void 0;
  var YGe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-orientation": "horizontal"
    },
    relatedConcepts: [{
      concept: {
        name: "menubar"
      },
      module: "ARIA"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "group"]]
  }, KGe = YGe;
  VR.default = KGe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js
var tse = R((WR) => {
  "use strict";
  Object.defineProperty(WR, "__esModule", {
    value: !0
  });
  WR.default = void 0;
  var XGe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author", "contents"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, JGe = XGe;
  WR.default = JGe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/treeRole.js
var rse = R((GR) => {
  "use strict";
  Object.defineProperty(GR, "__esModule", {
    value: !0
  });
  GR.default = void 0;
  var QGe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-errormessage": null,
      "aria-invalid": null,
      "aria-multiselectable": null,
      "aria-required": null,
      "aria-orientation": "vertical"
    },
    relatedConcepts: [],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [["treeitem", "group"], ["treeitem"]],
    requiredProps: {},
    superClass: [["roletype", "widget", "composite", "select"], ["roletype", "structure", "section", "group", "select"]]
  }, ZGe = QGe;
  GR.default = ZGe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/treegridRole.js
var nse = R((YR) => {
  "use strict";
  Object.defineProperty(YR, "__esModule", {
    value: !0
  });
  YR.default = void 0;
  var eYe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [["row"], ["row", "rowgroup"]],
    requiredProps: {},
    superClass: [["roletype", "widget", "composite", "grid"], ["roletype", "structure", "section", "table", "grid"], ["roletype", "widget", "\
composite", "select", "tree"], ["roletype", "structure", "section", "group", "select", "tree"]]
  }, tYe = eYe;
  YR.default = tYe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js
var ose = R((KR) => {
  "use strict";
  Object.defineProperty(KR, "__esModule", {
    value: !0
  });
  KR.default = void 0;
  var rYe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author", "contents"],
    prohibitedProps: [],
    props: {
      "aria-expanded": null,
      "aria-haspopup": null
    },
    relatedConcepts: [],
    requireContextRole: ["group", "tree"],
    requiredContextRole: ["group", "tree"],
    requiredOwnedElements: [],
    requiredProps: {
      "aria-selected": null
    },
    superClass: [["roletype", "structure", "section", "listitem"], ["roletype", "widget", "input", "option"]]
  }, nYe = rYe;
  KR.default = nYe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js
var ase = R((XR) => {
  "use strict";
  Object.defineProperty(XR, "__esModule", {
    value: !0
  });
  XR.default = void 0;
  var oYe = K(Oae()), aYe = K(Iae()), iYe = K(Mae()), sYe = K(Nae()), lYe = K(Lae()), uYe = K(kae()), cYe = K(qae()), dYe = K(Dae()), fYe = K(
  Fae()), pYe = K(jae()), mYe = K(Bae()), hYe = K($ae()), gYe = K(Hae()), yYe = K(zae()), vYe = K(Uae()), bYe = K(Vae()), wYe = K(Wae()), EYe = K(
  Gae()), RYe = K(Yae()), xYe = K(Kae()), SYe = K(Xae()), CYe = K(Jae()), _Ye = K(Qae()), PYe = K(Zae()), TYe = K(eie()), AYe = K(tie()), OYe = K(
  rie()), IYe = K(nie()), MYe = K(oie()), NYe = K(aie()), LYe = K(iie()), kYe = K(sie()), qYe = K(lie()), DYe = K(uie()), FYe = K(cie()), jYe = K(
  die()), BYe = K(fie()), $Ye = K(pie()), HYe = K(mie()), zYe = K(hie()), UYe = K(gie()), VYe = K(yie()), WYe = K(vie()), GYe = K(bie()), YYe = K(
  wie()), KYe = K(Eie()), XYe = K(Rie()), JYe = K(xie()), QYe = K(Sie()), ZYe = K(Cie()), eKe = K(_ie()), tKe = K(Pie()), rKe = K(Tie()), nKe = K(
  Aie()), oKe = K(Oie()), aKe = K(Iie()), iKe = K(Mie()), sKe = K(Nie()), lKe = K(Lie()), uKe = K(kie()), cKe = K(qie()), dKe = K(Die()), fKe = K(
  Fie()), pKe = K(jie()), mKe = K(Bie()), hKe = K($ie()), gKe = K(Hie()), yKe = K(zie()), vKe = K(Uie()), bKe = K(Vie()), wKe = K(Wie()), EKe = K(
  Gie()), RKe = K(Yie()), xKe = K(Kie()), SKe = K(Xie()), CKe = K(Jie()), _Ke = K(Qie()), PKe = K(Zie()), TKe = K(ese()), AKe = K(tse()), OKe = K(
  rse()), IKe = K(nse()), MKe = K(ose());
  function K(e) {
    return e && e.__esModule ? e : { default: e };
  }
  a(K, "_interopRequireDefault");
  var NKe = [["alert", oYe.default], ["alertdialog", aYe.default], ["application", iYe.default], ["article", sYe.default], ["banner", lYe.default],
  ["blockquote", uYe.default], ["button", cYe.default], ["caption", dYe.default], ["cell", fYe.default], ["checkbox", pYe.default], ["code",
  mYe.default], ["columnheader", hYe.default], ["combobox", gYe.default], ["complementary", yYe.default], ["contentinfo", vYe.default], ["de\
finition", bYe.default], ["deletion", wYe.default], ["dialog", EYe.default], ["directory", RYe.default], ["document", xYe.default], ["emphas\
is", SYe.default], ["feed", CYe.default], ["figure", _Ye.default], ["form", PYe.default], ["generic", TYe.default], ["grid", AYe.default], [
  "gridcell", OYe.default], ["group", IYe.default], ["heading", MYe.default], ["img", NYe.default], ["insertion", LYe.default], ["link", kYe.
  default], ["list", qYe.default], ["listbox", DYe.default], ["listitem", FYe.default], ["log", jYe.default], ["main", BYe.default], ["mark",
  $Ye.default], ["marquee", HYe.default], ["math", zYe.default], ["menu", UYe.default], ["menubar", VYe.default], ["menuitem", WYe.default],
  ["menuitemcheckbox", GYe.default], ["menuitemradio", YYe.default], ["meter", KYe.default], ["navigation", XYe.default], ["none", JYe.default],
  ["note", QYe.default], ["option", ZYe.default], ["paragraph", eKe.default], ["presentation", tKe.default], ["progressbar", rKe.default], [
  "radio", nKe.default], ["radiogroup", oKe.default], ["region", aKe.default], ["row", iKe.default], ["rowgroup", sKe.default], ["rowheader",
  lKe.default], ["scrollbar", uKe.default], ["search", cKe.default], ["searchbox", dKe.default], ["separator", fKe.default], ["slider", pKe.
  default], ["spinbutton", mKe.default], ["status", hKe.default], ["strong", gKe.default], ["subscript", yKe.default], ["superscript", vKe.default],
  ["switch", bKe.default], ["tab", wKe.default], ["table", EKe.default], ["tablist", RKe.default], ["tabpanel", xKe.default], ["term", SKe.default],
  ["textbox", CKe.default], ["time", _Ke.default], ["timer", PKe.default], ["toolbar", TKe.default], ["tooltip", AKe.default], ["tree", OKe.
  default], ["treegrid", IKe.default], ["treeitem", MKe.default]], LKe = NKe;
  XR.default = LKe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js
var ise = R((JR) => {
  "use strict";
  Object.defineProperty(JR, "__esModule", {
    value: !0
  });
  JR.default = void 0;
  var kKe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "abstract [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, qKe = kKe;
  JR.default = qKe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js
var sse = R((QR) => {
  "use strict";
  Object.defineProperty(QR, "__esModule", {
    value: !0
  });
  QR.default = void 0;
  var DKe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "acknowledgments [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark"]]
  }, FKe = DKe;
  QR.default = FKe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js
var lse = R((ZR) => {
  "use strict";
  Object.defineProperty(ZR, "__esModule", {
    value: !0
  });
  ZR.default = void 0;
  var jKe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "afterword [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark"]]
  }, BKe = jKe;
  ZR.default = BKe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js
var use = R((ex) => {
  "use strict";
  Object.defineProperty(ex, "__esModule", {
    value: !0
  });
  ex.default = void 0;
  var $Ke = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "appendix [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark"]]
  }, HKe = $Ke;
  ex.default = HKe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js
var cse = R((tx) => {
  "use strict";
  Object.defineProperty(tx, "__esModule", {
    value: !0
  });
  tx.default = void 0;
  var zKe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author", "contents"],
    prohibitedProps: [],
    props: {
      "aria-errormessage": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "referrer [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "widget", "command", "link"]]
  }, UKe = zKe;
  tx.default = UKe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js
var dse = R((rx) => {
  "use strict";
  Object.defineProperty(rx, "__esModule", {
    value: !0
  });
  rx.default = void 0;
  var VKe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "EPUB biblioentry [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: ["doc-bibliography"],
    requiredContextRole: ["doc-bibliography"],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "listitem"]]
  }, WKe = VKe;
  rx.default = WKe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js
var fse = R((nx) => {
  "use strict";
  Object.defineProperty(nx, "__esModule", {
    value: !0
  });
  nx.default = void 0;
  var GKe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "bibliography [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [["doc-biblioentry"]],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark"]]
  }, YKe = GKe;
  nx.default = YKe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js
var pse = R((ox) => {
  "use strict";
  Object.defineProperty(ox, "__esModule", {
    value: !0
  });
  ox.default = void 0;
  var KKe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author", "contents"],
    prohibitedProps: [],
    props: {
      "aria-errormessage": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "biblioref [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "widget", "command", "link"]]
  }, XKe = KKe;
  ox.default = XKe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js
var mse = R((ax) => {
  "use strict";
  Object.defineProperty(ax, "__esModule", {
    value: !0
  });
  ax.default = void 0;
  var JKe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "chapter [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark"]]
  }, QKe = JKe;
  ax.default = QKe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js
var hse = R((ix) => {
  "use strict";
  Object.defineProperty(ix, "__esModule", {
    value: !0
  });
  ix.default = void 0;
  var ZKe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "colophon [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, eXe = ZKe;
  ix.default = eXe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js
var gse = R((sx) => {
  "use strict";
  Object.defineProperty(sx, "__esModule", {
    value: !0
  });
  sx.default = void 0;
  var tXe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "conclusion [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark"]]
  }, rXe = tXe;
  sx.default = rXe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js
var yse = R((lx) => {
  "use strict";
  Object.defineProperty(lx, "__esModule", {
    value: !0
  });
  lx.default = void 0;
  var nXe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "cover [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "img"]]
  }, oXe = nXe;
  lx.default = oXe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js
var vse = R((ux) => {
  "use strict";
  Object.defineProperty(ux, "__esModule", {
    value: !0
  });
  ux.default = void 0;
  var aXe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "credit [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, iXe = aXe;
  ux.default = iXe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js
var bse = R((cx) => {
  "use strict";
  Object.defineProperty(cx, "__esModule", {
    value: !0
  });
  cx.default = void 0;
  var sXe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "credits [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark"]]
  }, lXe = sXe;
  cx.default = lXe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js
var wse = R((dx) => {
  "use strict";
  Object.defineProperty(dx, "__esModule", {
    value: !0
  });
  dx.default = void 0;
  var uXe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "dedication [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, cXe = uXe;
  dx.default = cXe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js
var Ese = R((fx) => {
  "use strict";
  Object.defineProperty(fx, "__esModule", {
    value: !0
  });
  fx.default = void 0;
  var dXe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "rearnote [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: ["doc-endnotes"],
    requiredContextRole: ["doc-endnotes"],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "listitem"]]
  }, fXe = dXe;
  fx.default = fXe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js
var Rse = R((px) => {
  "use strict";
  Object.defineProperty(px, "__esModule", {
    value: !0
  });
  px.default = void 0;
  var pXe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "rearnotes [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [["doc-endnote"]],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark"]]
  }, mXe = pXe;
  px.default = mXe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js
var xse = R((mx) => {
  "use strict";
  Object.defineProperty(mx, "__esModule", {
    value: !0
  });
  mx.default = void 0;
  var hXe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "epigraph [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, gXe = hXe;
  mx.default = gXe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js
var Sse = R((hx) => {
  "use strict";
  Object.defineProperty(hx, "__esModule", {
    value: !0
  });
  hx.default = void 0;
  var yXe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "epilogue [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark"]]
  }, vXe = yXe;
  hx.default = vXe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js
var Cse = R((gx) => {
  "use strict";
  Object.defineProperty(gx, "__esModule", {
    value: !0
  });
  gx.default = void 0;
  var bXe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "errata [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark"]]
  }, wXe = bXe;
  gx.default = wXe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js
var _se = R((yx) => {
  "use strict";
  Object.defineProperty(yx, "__esModule", {
    value: !0
  });
  yx.default = void 0;
  var EXe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, RXe = EXe;
  yx.default = RXe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js
var Pse = R((vx) => {
  "use strict";
  Object.defineProperty(vx, "__esModule", {
    value: !0
  });
  vx.default = void 0;
  var xXe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "footnote [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, SXe = xXe;
  vx.default = SXe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js
var Tse = R((bx) => {
  "use strict";
  Object.defineProperty(bx, "__esModule", {
    value: !0
  });
  bx.default = void 0;
  var CXe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "foreword [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark"]]
  }, _Xe = CXe;
  bx.default = _Xe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js
var Ase = R((wx) => {
  "use strict";
  Object.defineProperty(wx, "__esModule", {
    value: !0
  });
  wx.default = void 0;
  var PXe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "glossary [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [["definition"], ["term"]],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark"]]
  }, TXe = PXe;
  wx.default = TXe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js
var Ose = R((Ex) => {
  "use strict";
  Object.defineProperty(Ex, "__esModule", {
    value: !0
  });
  Ex.default = void 0;
  var AXe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author", "contents"],
    prohibitedProps: [],
    props: {
      "aria-errormessage": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "glossref [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "widget", "command", "link"]]
  }, OXe = AXe;
  Ex.default = OXe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js
var Ise = R((Rx) => {
  "use strict";
  Object.defineProperty(Rx, "__esModule", {
    value: !0
  });
  Rx.default = void 0;
  var IXe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "index [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark", "navigation"]]
  }, MXe = IXe;
  Rx.default = MXe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js
var Mse = R((xx) => {
  "use strict";
  Object.defineProperty(xx, "__esModule", {
    value: !0
  });
  xx.default = void 0;
  var NXe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "introduction [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark"]]
  }, LXe = NXe;
  xx.default = LXe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js
var Nse = R((Sx) => {
  "use strict";
  Object.defineProperty(Sx, "__esModule", {
    value: !0
  });
  Sx.default = void 0;
  var kXe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author", "contents"],
    prohibitedProps: [],
    props: {
      "aria-errormessage": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "noteref [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "widget", "command", "link"]]
  }, qXe = kXe;
  Sx.default = qXe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js
var Lse = R((Cx) => {
  "use strict";
  Object.defineProperty(Cx, "__esModule", {
    value: !0
  });
  Cx.default = void 0;
  var DXe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "notice [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "note"]]
  }, FXe = DXe;
  Cx.default = FXe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js
var kse = R((_x) => {
  "use strict";
  Object.defineProperty(_x, "__esModule", {
    value: !0
  });
  _x.default = void 0;
  var jXe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !0,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "pagebreak [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "separator"]]
  }, BXe = jXe;
  _x.default = BXe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js
var qse = R((Px) => {
  "use strict";
  Object.defineProperty(Px, "__esModule", {
    value: !0
  });
  Px.default = void 0;
  var $Xe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "page-list [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark", "navigation"]]
  }, HXe = $Xe;
  Px.default = HXe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js
var Dse = R((Tx) => {
  "use strict";
  Object.defineProperty(Tx, "__esModule", {
    value: !0
  });
  Tx.default = void 0;
  var zXe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "part [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark"]]
  }, UXe = zXe;
  Tx.default = UXe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js
var Fse = R((Ax) => {
  "use strict";
  Object.defineProperty(Ax, "__esModule", {
    value: !0
  });
  Ax.default = void 0;
  var VXe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "preface [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark"]]
  }, WXe = VXe;
  Ax.default = WXe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js
var jse = R((Ox) => {
  "use strict";
  Object.defineProperty(Ox, "__esModule", {
    value: !0
  });
  Ox.default = void 0;
  var GXe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "prologue [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark"]]
  }, YXe = GXe;
  Ox.default = YXe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js
var Bse = R((Ix) => {
  "use strict";
  Object.defineProperty(Ix, "__esModule", {
    value: !0
  });
  Ix.default = void 0;
  var KXe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {},
    relatedConcepts: [{
      concept: {
        name: "pullquote [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["none"]]
  }, XXe = KXe;
  Ix.default = XXe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js
var $se = R((Mx) => {
  "use strict";
  Object.defineProperty(Mx, "__esModule", {
    value: !0
  });
  Mx.default = void 0;
  var JXe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "qna [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section"]]
  }, QXe = JXe;
  Mx.default = QXe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js
var Hse = R((Nx) => {
  "use strict";
  Object.defineProperty(Nx, "__esModule", {
    value: !0
  });
  Nx.default = void 0;
  var ZXe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "subtitle [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "sectionhead"]]
  }, eJe = ZXe;
  Nx.default = eJe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js
var zse = R((Lx) => {
  "use strict";
  Object.defineProperty(Lx, "__esModule", {
    value: !0
  });
  Lx.default = void 0;
  var tJe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "help [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "note"]]
  }, rJe = tJe;
  Lx.default = rJe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js
var Use = R((kx) => {
  "use strict";
  Object.defineProperty(kx, "__esModule", {
    value: !0
  });
  kx.default = void 0;
  var nJe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      concept: {
        name: "toc [EPUB-SSV]"
      },
      module: "EPUB"
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "landmark", "navigation"]]
  }, oJe = nJe;
  kx.default = oJe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js
var Vse = R((qx) => {
  "use strict";
  Object.defineProperty(qx, "__esModule", {
    value: !0
  });
  qx.default = void 0;
  var aJe = be(ise()), iJe = be(sse()), sJe = be(lse()), lJe = be(use()), uJe = be(cse()), cJe = be(dse()), dJe = be(fse()), fJe = be(pse()),
  pJe = be(mse()), mJe = be(hse()), hJe = be(gse()), gJe = be(yse()), yJe = be(vse()), vJe = be(bse()), bJe = be(wse()), wJe = be(Ese()), EJe = be(
  Rse()), RJe = be(xse()), xJe = be(Sse()), SJe = be(Cse()), CJe = be(_se()), _Je = be(Pse()), PJe = be(Tse()), TJe = be(Ase()), AJe = be(Ose()),
  OJe = be(Ise()), IJe = be(Mse()), MJe = be(Nse()), NJe = be(Lse()), LJe = be(kse()), kJe = be(qse()), qJe = be(Dse()), DJe = be(Fse()), FJe = be(
  jse()), jJe = be(Bse()), BJe = be($se()), $Je = be(Hse()), HJe = be(zse()), zJe = be(Use());
  function be(e) {
    return e && e.__esModule ? e : { default: e };
  }
  a(be, "_interopRequireDefault");
  var UJe = [["doc-abstract", aJe.default], ["doc-acknowledgments", iJe.default], ["doc-afterword", sJe.default], ["doc-appendix", lJe.default],
  ["doc-backlink", uJe.default], ["doc-biblioentry", cJe.default], ["doc-bibliography", dJe.default], ["doc-biblioref", fJe.default], ["doc-\
chapter", pJe.default], ["doc-colophon", mJe.default], ["doc-conclusion", hJe.default], ["doc-cover", gJe.default], ["doc-credit", yJe.default],
  ["doc-credits", vJe.default], ["doc-dedication", bJe.default], ["doc-endnote", wJe.default], ["doc-endnotes", EJe.default], ["doc-epigraph",
  RJe.default], ["doc-epilogue", xJe.default], ["doc-errata", SJe.default], ["doc-example", CJe.default], ["doc-footnote", _Je.default], ["d\
oc-foreword", PJe.default], ["doc-glossary", TJe.default], ["doc-glossref", AJe.default], ["doc-index", OJe.default], ["doc-introduction", IJe.
  default], ["doc-noteref", MJe.default], ["doc-notice", NJe.default], ["doc-pagebreak", LJe.default], ["doc-pagelist", kJe.default], ["doc-\
part", qJe.default], ["doc-preface", DJe.default], ["doc-prologue", FJe.default], ["doc-pullquote", jJe.default], ["doc-qna", BJe.default], [
  "doc-subtitle", $Je.default], ["doc-tip", HJe.default], ["doc-toc", zJe.default]], VJe = UJe;
  qx.default = VJe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js
var Wse = R((Dx) => {
  "use strict";
  Object.defineProperty(Dx, "__esModule", {
    value: !0
  });
  Dx.default = void 0;
  var WJe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      module: "GRAPHICS",
      concept: {
        name: "graphics-object"
      }
    }, {
      module: "ARIA",
      concept: {
        name: "img"
      }
    }, {
      module: "ARIA",
      concept: {
        name: "article"
      }
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "document"]]
  }, GJe = WJe;
  Dx.default = GJe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js
var Gse = R((Fx) => {
  "use strict";
  Object.defineProperty(Fx, "__esModule", {
    value: !0
  });
  Fx.default = void 0;
  var YJe = {
    abstract: !1,
    accessibleNameRequired: !1,
    baseConcepts: [],
    childrenPresentational: !1,
    nameFrom: ["author", "contents"],
    prohibitedProps: [],
    props: {
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [{
      module: "GRAPHICS",
      concept: {
        name: "graphics-document"
      }
    }, {
      module: "ARIA",
      concept: {
        name: "group"
      }
    }, {
      module: "ARIA",
      concept: {
        name: "img"
      }
    }, {
      module: "GRAPHICS",
      concept: {
        name: "graphics-symbol"
      }
    }],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "group"]]
  }, KJe = YJe;
  Fx.default = KJe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js
var Yse = R((jx) => {
  "use strict";
  Object.defineProperty(jx, "__esModule", {
    value: !0
  });
  jx.default = void 0;
  var XJe = {
    abstract: !1,
    accessibleNameRequired: !0,
    baseConcepts: [],
    childrenPresentational: !0,
    nameFrom: ["author"],
    prohibitedProps: [],
    props: {
      "aria-disabled": null,
      "aria-errormessage": null,
      "aria-expanded": null,
      "aria-haspopup": null,
      "aria-invalid": null
    },
    relatedConcepts: [],
    requireContextRole: [],
    requiredContextRole: [],
    requiredOwnedElements: [],
    requiredProps: {},
    superClass: [["roletype", "structure", "section", "img"]]
  }, JJe = XJe;
  jx.default = JJe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js
var Kse = R((Bx) => {
  "use strict";
  Object.defineProperty(Bx, "__esModule", {
    value: !0
  });
  Bx.default = void 0;
  var QJe = c8(Wse()), ZJe = c8(Gse()), eQe = c8(Yse());
  function c8(e) {
    return e && e.__esModule ? e : { default: e };
  }
  a(c8, "_interopRequireDefault");
  var tQe = [["graphics-document", QJe.default], ["graphics-object", ZJe.default], ["graphics-symbol", eQe.default]], rQe = tQe;
  Bx.default = rQe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/rolesMap.js
var Hx = R(($x) => {
  "use strict";
  Object.defineProperty($x, "__esModule", {
    value: !0
  });
  $x.default = void 0;
  var nQe = sh(Aae()), oQe = sh(ase()), aQe = sh(Vse()), iQe = sh(Kse()), sQe = sh(Ld());
  function sh(e) {
    return e && e.__esModule ? e : { default: e };
  }
  a(sh, "_interopRequireDefault");
  function lQe(e, t, r) {
    return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
  }
  a(lQe, "_defineProperty");
  function d8(e, t) {
    var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
    if (!r) {
      if (Array.isArray(e) || (r = Jse(e)) || t && e && typeof e.length == "number") {
        r && (e = r);
        var n = 0, o = /* @__PURE__ */ a(function() {
        }, "F");
        return { s: o, n: /* @__PURE__ */ a(function() {
          return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] };
        }, "n"), e: /* @__PURE__ */ a(function(c) {
          throw c;
        }, "e"), f: o };
      }
      throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
    }
    var i = !0, s = !1, l;
    return { s: /* @__PURE__ */ a(function() {
      r = r.call(e);
    }, "s"), n: /* @__PURE__ */ a(function() {
      var c = r.next();
      return i = c.done, c;
    }, "n"), e: /* @__PURE__ */ a(function(c) {
      s = !0, l = c;
    }, "e"), f: /* @__PURE__ */ a(function() {
      try {
        !i && r.return != null && r.return();
      } finally {
        if (s) throw l;
      }
    }, "f") };
  }
  a(d8, "_createForOfIteratorHelper");
  function ih(e, t) {
    return dQe(e) || cQe(e, t) || Jse(e, t) || uQe();
  }
  a(ih, "_slicedToArray");
  function uQe() {
    throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
  }
  a(uQe, "_nonIterableRest");
  function Jse(e, t) {
    if (e) {
      if (typeof e == "string") return Xse(e, t);
      var r = Object.prototype.toString.call(e).slice(8, -1);
      if (r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set") return Array.from(e);
      if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return Xse(e, t);
    }
  }
  a(Jse, "_unsupportedIterableToArray");
  function Xse(e, t) {
    (t == null || t > e.length) && (t = e.length);
    for (var r = 0, n = new Array(t); r < t; r++)
      n[r] = e[r];
    return n;
  }
  a(Xse, "_arrayLikeToArray");
  function cQe(e, t) {
    var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
    if (r != null) {
      var n = [], o = !0, i = !1, s, l;
      try {
        for (r = r.call(e); !(o = (s = r.next()).done) && (n.push(s.value), !(t && n.length === t)); o = !0)
          ;
      } catch (u) {
        i = !0, l = u;
      } finally {
        try {
          !o && r.return != null && r.return();
        } finally {
          if (i) throw l;
        }
      }
      return n;
    }
  }
  a(cQe, "_iterableToArrayLimit");
  function dQe(e) {
    if (Array.isArray(e)) return e;
  }
  a(dQe, "_arrayWithHoles");
  var Is = [].concat(nQe.default, oQe.default, aQe.default, iQe.default);
  Is.forEach(function(e) {
    var t = ih(e, 2), r = t[1], n = d8(r.superClass), o;
    try {
      for (n.s(); !(o = n.n()).done; ) {
        var i = o.value, s = d8(i), l;
        try {
          var u = /* @__PURE__ */ a(function() {
            var d = l.value, f = Is.find(function(b) {
              var g = ih(b, 1), w = g[0];
              return w === d;
            });
            if (f)
              for (var p = f[1], m = 0, v = Object.keys(p.props); m < v.length; m++) {
                var y = v[m];
                Object.prototype.hasOwnProperty.call(r.props, y) || Object.assign(r.props, lQe({}, y, p.props[y]));
              }
          }, "_loop");
          for (s.s(); !(l = s.n()).done; )
            u();
        } catch (c) {
          s.e(c);
        } finally {
          s.f();
        }
      }
    } catch (c) {
      n.e(c);
    } finally {
      n.f();
    }
  });
  var f8 = {
    entries: /* @__PURE__ */ a(function() {
      return Is;
    }, "entries"),
    forEach: /* @__PURE__ */ a(function(t) {
      var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, n = d8(Is), o;
      try {
        for (n.s(); !(o = n.n()).done; ) {
          var i = ih(o.value, 2), s = i[0], l = i[1];
          t.call(r, l, s, Is);
        }
      } catch (u) {
        n.e(u);
      } finally {
        n.f();
      }
    }, "forEach"),
    get: /* @__PURE__ */ a(function(t) {
      var r = Is.find(function(n) {
        return n[0] === t;
      });
      return r && r[1];
    }, "get"),
    has: /* @__PURE__ */ a(function(t) {
      return !!f8.get(t);
    }, "has"),
    keys: /* @__PURE__ */ a(function() {
      return Is.map(function(t) {
        var r = ih(t, 1), n = r[0];
        return n;
      });
    }, "keys"),
    values: /* @__PURE__ */ a(function() {
      return Is.map(function(t) {
        var r = ih(t, 2), n = r[1];
        return n;
      });
    }, "values")
  }, fQe = (0, sQe.default)(f8, f8.entries());
  $x.default = fQe;
});

// ../node_modules/dequal/lite/index.mjs
var Zse = {};
_e(Zse, {
  dequal: () => p8
});
function p8(e, t) {
  var r, n;
  if (e === t) return !0;
  if (e && t && (r = e.constructor) === t.constructor) {
    if (r === Date) return e.getTime() === t.getTime();
    if (r === RegExp) return e.toString() === t.toString();
    if (r === Array) {
      if ((n = e.length) === t.length)
        for (; n-- && p8(e[n], t[n]); ) ;
      return n === -1;
    }
    if (!r || typeof e == "object") {
      n = 0;
      for (r in e)
        if (Qse.call(e, r) && ++n && !Qse.call(t, r) || !(r in t) || !p8(e[r], t[r])) return !1;
      return Object.keys(t).length === n;
    }
  }
  return e !== e && t !== t;
}
var Qse, ele = k(() => {
  Qse = Object.prototype.hasOwnProperty;
  a(p8, "dequal");
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/elementRoleMap.js
var sle = R((Gx) => {
  "use strict";
  Object.defineProperty(Gx, "__esModule", {
    value: !0
  });
  Gx.default = void 0;
  var nle = (ele(), ehe(Zse)), pQe = ale(Ld()), ole = ale(Hx());
  function ale(e) {
    return e && e.__esModule ? e : { default: e };
  }
  a(ale, "_interopRequireDefault");
  function m8(e, t) {
    return gQe(e) || hQe(e, t) || ile(e, t) || mQe();
  }
  a(m8, "_slicedToArray");
  function mQe() {
    throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
  }
  a(mQe, "_nonIterableRest");
  function hQe(e, t) {
    var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
    if (r != null) {
      var n = [], o = !0, i = !1, s, l;
      try {
        for (r = r.call(e); !(o = (s = r.next()).done) && (n.push(s.value), !(t && n.length === t)); o = !0)
          ;
      } catch (u) {
        i = !0, l = u;
      } finally {
        try {
          !o && r.return != null && r.return();
        } finally {
          if (i) throw l;
        }
      }
      return n;
    }
  }
  a(hQe, "_iterableToArrayLimit");
  function gQe(e) {
    if (Array.isArray(e)) return e;
  }
  a(gQe, "_arrayWithHoles");
  function yQe(e, t) {
    var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
    if (!r) {
      if (Array.isArray(e) || (r = ile(e)) || t && e && typeof e.length == "number") {
        r && (e = r);
        var n = 0, o = /* @__PURE__ */ a(function() {
        }, "F");
        return { s: o, n: /* @__PURE__ */ a(function() {
          return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] };
        }, "n"), e: /* @__PURE__ */ a(function(c) {
          throw c;
        }, "e"), f: o };
      }
      throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
    }
    var i = !0, s = !1, l;
    return { s: /* @__PURE__ */ a(function() {
      r = r.call(e);
    }, "s"), n: /* @__PURE__ */ a(function() {
      var c = r.next();
      return i = c.done, c;
    }, "n"), e: /* @__PURE__ */ a(function(c) {
      s = !0, l = c;
    }, "e"), f: /* @__PURE__ */ a(function() {
      try {
        !i && r.return != null && r.return();
      } finally {
        if (s) throw l;
      }
    }, "f") };
  }
  a(yQe, "_createForOfIteratorHelper");
  function ile(e, t) {
    if (e) {
      if (typeof e == "string") return tle(e, t);
      var r = Object.prototype.toString.call(e).slice(8, -1);
      if (r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set") return Array.from(e);
      if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return tle(e, t);
    }
  }
  a(ile, "_unsupportedIterableToArray");
  function tle(e, t) {
    (t == null || t > e.length) && (t = e.length);
    for (var r = 0, n = new Array(t); r < t; r++)
      n[r] = e[r];
    return n;
  }
  a(tle, "_arrayLikeToArray");
  var Ms = [], rle = ole.default.keys();
  for (zx = 0; zx < rle.length; zx++)
    if (Ux = rle[zx], Vx = ole.default.get(Ux), Vx)
      for (h8 = [].concat(Vx.baseConcepts, Vx.relatedConcepts), Wx = 0; Wx < h8.length; Wx++)
        g8 = h8[Wx], g8.module === "HTML" && function() {
          var e = g8.concept;
          if (e) {
            var t = Ms.find(function(i) {
              return (0, nle.dequal)(i, e);
            }), r;
            t ? r = t[1] : r = [];
            for (var n = !0, o = 0; o < r.length; o++)
              if (r[o] === Ux) {
                n = !1;
                break;
              }
            n && r.push(Ux), Ms.push([e, r]);
          }
        }();
  var Ux, Vx, h8, g8, Wx, zx, y8 = {
    entries: /* @__PURE__ */ a(function() {
      return Ms;
    }, "entries"),
    forEach: /* @__PURE__ */ a(function(t) {
      var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, n = yQe(Ms), o;
      try {
        for (n.s(); !(o = n.n()).done; ) {
          var i = m8(o.value, 2), s = i[0], l = i[1];
          t.call(r, l, s, Ms);
        }
      } catch (u) {
        n.e(u);
      } finally {
        n.f();
      }
    }, "forEach"),
    get: /* @__PURE__ */ a(function(t) {
      var r = Ms.find(function(n) {
        return t.name === n[0].name && (0, nle.dequal)(t.attributes, n[0].attributes);
      });
      return r && r[1];
    }, "get"),
    has: /* @__PURE__ */ a(function(t) {
      return !!y8.get(t);
    }, "has"),
    keys: /* @__PURE__ */ a(function() {
      return Ms.map(function(t) {
        var r = m8(t, 1), n = r[0];
        return n;
      });
    }, "keys"),
    values: /* @__PURE__ */ a(function() {
      return Ms.map(function(t) {
        var r = m8(t, 2), n = r[1];
        return n;
      });
    }, "values")
  }, vQe = (0, pQe.default)(y8, y8.entries());
  Gx.default = vQe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/roleElementMap.js
var ple = R((Qx) => {
  "use strict";
  Object.defineProperty(Qx, "__esModule", {
    value: !0
  });
  Qx.default = void 0;
  var bQe = dle(Ld()), cle = dle(Hx());
  function dle(e) {
    return e && e.__esModule ? e : { default: e };
  }
  a(dle, "_interopRequireDefault");
  function v8(e, t) {
    return RQe(e) || EQe(e, t) || fle(e, t) || wQe();
  }
  a(v8, "_slicedToArray");
  function wQe() {
    throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
  }
  a(wQe, "_nonIterableRest");
  function EQe(e, t) {
    var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
    if (r != null) {
      var n = [], o = !0, i = !1, s, l;
      try {
        for (r = r.call(e); !(o = (s = r.next()).done) && (n.push(s.value), !(t && n.length === t)); o = !0)
          ;
      } catch (u) {
        i = !0, l = u;
      } finally {
        try {
          !o && r.return != null && r.return();
        } finally {
          if (i) throw l;
        }
      }
      return n;
    }
  }
  a(EQe, "_iterableToArrayLimit");
  function RQe(e) {
    if (Array.isArray(e)) return e;
  }
  a(RQe, "_arrayWithHoles");
  function xQe(e, t) {
    var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
    if (!r) {
      if (Array.isArray(e) || (r = fle(e)) || t && e && typeof e.length == "number") {
        r && (e = r);
        var n = 0, o = /* @__PURE__ */ a(function() {
        }, "F");
        return { s: o, n: /* @__PURE__ */ a(function() {
          return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] };
        }, "n"), e: /* @__PURE__ */ a(function(c) {
          throw c;
        }, "e"), f: o };
      }
      throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
    }
    var i = !0, s = !1, l;
    return { s: /* @__PURE__ */ a(function() {
      r = r.call(e);
    }, "s"), n: /* @__PURE__ */ a(function() {
      var c = r.next();
      return i = c.done, c;
    }, "n"), e: /* @__PURE__ */ a(function(c) {
      s = !0, l = c;
    }, "e"), f: /* @__PURE__ */ a(function() {
      try {
        !i && r.return != null && r.return();
      } finally {
        if (s) throw l;
      }
    }, "f") };
  }
  a(xQe, "_createForOfIteratorHelper");
  function fle(e, t) {
    if (e) {
      if (typeof e == "string") return lle(e, t);
      var r = Object.prototype.toString.call(e).slice(8, -1);
      if (r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set") return Array.from(e);
      if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return lle(e, t);
    }
  }
  a(fle, "_unsupportedIterableToArray");
  function lle(e, t) {
    (t == null || t > e.length) && (t = e.length);
    for (var r = 0, n = new Array(t); r < t; r++)
      n[r] = e[r];
    return n;
  }
  a(lle, "_arrayLikeToArray");
  var tu = [], ule = cle.default.keys();
  for (Yx = 0; Yx < ule.length; Yx++)
    if (b8 = ule[Yx], Kx = cle.default.get(b8), Xx = [], Kx) {
      for (w8 = [].concat(Kx.baseConcepts, Kx.relatedConcepts), Jx = 0; Jx < w8.length; Jx++)
        E8 = w8[Jx], E8.module === "HTML" && (R8 = E8.concept, R8 != null && Xx.push(R8));
      Xx.length > 0 && tu.push([b8, Xx]);
    }
  var b8, Kx, Xx, w8, E8, R8, Jx, Yx, x8 = {
    entries: /* @__PURE__ */ a(function() {
      return tu;
    }, "entries"),
    forEach: /* @__PURE__ */ a(function(t) {
      var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, n = xQe(tu), o;
      try {
        for (n.s(); !(o = n.n()).done; ) {
          var i = v8(o.value, 2), s = i[0], l = i[1];
          t.call(r, l, s, tu);
        }
      } catch (u) {
        n.e(u);
      } finally {
        n.f();
      }
    }, "forEach"),
    get: /* @__PURE__ */ a(function(t) {
      var r = tu.find(function(n) {
        return n[0] === t;
      });
      return r && r[1];
    }, "get"),
    has: /* @__PURE__ */ a(function(t) {
      return !!x8.get(t);
    }, "has"),
    keys: /* @__PURE__ */ a(function() {
      return tu.map(function(t) {
        var r = v8(t, 1), n = r[0];
        return n;
      });
    }, "keys"),
    values: /* @__PURE__ */ a(function() {
      return tu.map(function(t) {
        var r = v8(t, 2), n = r[1];
        return n;
      });
    }, "values")
  }, SQe = (0, bQe.default)(x8, x8.entries());
  Qx.default = SQe;
});

// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/index.js
var mle = R((mo) => {
  "use strict";
  Object.defineProperty(mo, "__esModule", {
    value: !0
  });
  mo.roles = mo.roleElements = mo.elementRoles = mo.dom = mo.aria = void 0;
  var CQe = lh(pae()), _Qe = lh(gae()), PQe = lh(Hx()), TQe = lh(sle()), AQe = lh(ple());
  function lh(e) {
    return e && e.__esModule ? e : { default: e };
  }
  a(lh, "_interopRequireDefault");
  var OQe = CQe.default;
  mo.aria = OQe;
  var IQe = _Qe.default;
  mo.dom = IQe;
  var MQe = PQe.default;
  mo.roles = MQe;
  var NQe = TQe.default;
  mo.elementRoles = NQe;
  var LQe = AQe.default;
  mo.roleElements = LQe;
});

// ../node_modules/lz-string/libs/lz-string.js
var hle = R((bDt, Zx) => {
  var S8 = function() {
    var e = String.fromCharCode, t = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", r = "ABCDEFGHIJKLMNOPQRSTUVWXYZabc\
defghijklmnopqrstuvwxyz0123456789+-$", n = {};
    function o(s, l) {
      if (!n[s]) {
        n[s] = {};
        for (var u = 0; u < s.length; u++)
          n[s][s.charAt(u)] = u;
      }
      return n[s][l];
    }
    a(o, "getBaseValue");
    var i = {
      compressToBase64: /* @__PURE__ */ a(function(s) {
        if (s == null) return "";
        var l = i._compress(s, 6, function(u) {
          return t.charAt(u);
        });
        switch (l.length % 4) {
          // To produce valid Base64
          default:
          // When could this happen ?
          case 0:
            return l;
          case 1:
            return l + "===";
          case 2:
            return l + "==";
          case 3:
            return l + "=";
        }
      }, "compressToBase64"),
      decompressFromBase64: /* @__PURE__ */ a(function(s) {
        return s == null ? "" : s == "" ? null : i._decompress(s.length, 32, function(l) {
          return o(t, s.charAt(l));
        });
      }, "decompressFromBase64"),
      compressToUTF16: /* @__PURE__ */ a(function(s) {
        return s == null ? "" : i._compress(s, 15, function(l) {
          return e(l + 32);
        }) + " ";
      }, "compressToUTF16"),
      decompressFromUTF16: /* @__PURE__ */ a(function(s) {
        return s == null ? "" : s == "" ? null : i._decompress(s.length, 16384, function(l) {
          return s.charCodeAt(l) - 32;
        });
      }, "decompressFromUTF16"),
      //compress into uint8array (UCS-2 big endian format)
      compressToUint8Array: /* @__PURE__ */ a(function(s) {
        for (var l = i.compress(s), u = new Uint8Array(l.length * 2), c = 0, d = l.length; c < d; c++) {
          var f = l.charCodeAt(c);
          u[c * 2] = f >>> 8, u[c * 2 + 1] = f % 256;
        }
        return u;
      }, "compressToUint8Array"),
      //decompress from uint8array (UCS-2 big endian format)
      decompressFromUint8Array: /* @__PURE__ */ a(function(s) {
        if (s == null)
          return i.decompress(s);
        for (var l = new Array(s.length / 2), u = 0, c = l.length; u < c; u++)
          l[u] = s[u * 2] * 256 + s[u * 2 + 1];
        var d = [];
        return l.forEach(function(f) {
          d.push(e(f));
        }), i.decompress(d.join(""));
      }, "decompressFromUint8Array"),
      //compress into a string that is already URI encoded
      compressToEncodedURIComponent: /* @__PURE__ */ a(function(s) {
        return s == null ? "" : i._compress(s, 6, function(l) {
          return r.charAt(l);
        });
      }, "compressToEncodedURIComponent"),
      //decompress from an output of compressToEncodedURIComponent
      decompressFromEncodedURIComponent: /* @__PURE__ */ a(function(s) {
        return s == null ? "" : s == "" ? null : (s = s.replace(/ /g, "+"), i._decompress(s.length, 32, function(l) {
          return o(r, s.charAt(l));
        }));
      }, "decompressFromEncodedURIComponent"),
      compress: /* @__PURE__ */ a(function(s) {
        return i._compress(s, 16, function(l) {
          return e(l);
        });
      }, "compress"),
      _compress: /* @__PURE__ */ a(function(s, l, u) {
        if (s == null) return "";
        var c, d, f = {}, p = {}, m = "", v = "", y = "", b = 2, g = 3, w = 2, E = [], x = 0, S = 0, C;
        for (C = 0; C < s.length; C += 1)
          if (m = s.charAt(C), Object.prototype.hasOwnProperty.call(f, m) || (f[m] = g++, p[m] = !0), v = y + m, Object.prototype.hasOwnProperty.
          call(f, v))
            y = v;
          else {
            if (Object.prototype.hasOwnProperty.call(p, y)) {
              if (y.charCodeAt(0) < 256) {
                for (c = 0; c < w; c++)
                  x = x << 1, S == l - 1 ? (S = 0, E.push(u(x)), x = 0) : S++;
                for (d = y.charCodeAt(0), c = 0; c < 8; c++)
                  x = x << 1 | d & 1, S == l - 1 ? (S = 0, E.push(u(x)), x = 0) : S++, d = d >> 1;
              } else {
                for (d = 1, c = 0; c < w; c++)
                  x = x << 1 | d, S == l - 1 ? (S = 0, E.push(u(x)), x = 0) : S++, d = 0;
                for (d = y.charCodeAt(0), c = 0; c < 16; c++)
                  x = x << 1 | d & 1, S == l - 1 ? (S = 0, E.push(u(x)), x = 0) : S++, d = d >> 1;
              }
              b--, b == 0 && (b = Math.pow(2, w), w++), delete p[y];
            } else
              for (d = f[y], c = 0; c < w; c++)
                x = x << 1 | d & 1, S == l - 1 ? (S = 0, E.push(u(x)), x = 0) : S++, d = d >> 1;
            b--, b == 0 && (b = Math.pow(2, w), w++), f[v] = g++, y = String(m);
          }
        if (y !== "") {
          if (Object.prototype.hasOwnProperty.call(p, y)) {
            if (y.charCodeAt(0) < 256) {
              for (c = 0; c < w; c++)
                x = x << 1, S == l - 1 ? (S = 0, E.push(u(x)), x = 0) : S++;
              for (d = y.charCodeAt(0), c = 0; c < 8; c++)
                x = x << 1 | d & 1, S == l - 1 ? (S = 0, E.push(u(x)), x = 0) : S++, d = d >> 1;
            } else {
              for (d = 1, c = 0; c < w; c++)
                x = x << 1 | d, S == l - 1 ? (S = 0, E.push(u(x)), x = 0) : S++, d = 0;
              for (d = y.charCodeAt(0), c = 0; c < 16; c++)
                x = x << 1 | d & 1, S == l - 1 ? (S = 0, E.push(u(x)), x = 0) : S++, d = d >> 1;
            }
            b--, b == 0 && (b = Math.pow(2, w), w++), delete p[y];
          } else
            for (d = f[y], c = 0; c < w; c++)
              x = x << 1 | d & 1, S == l - 1 ? (S = 0, E.push(u(x)), x = 0) : S++, d = d >> 1;
          b--, b == 0 && (b = Math.pow(2, w), w++);
        }
        for (d = 2, c = 0; c < w; c++)
          x = x << 1 | d & 1, S == l - 1 ? (S = 0, E.push(u(x)), x = 0) : S++, d = d >> 1;
        for (; ; )
          if (x = x << 1, S == l - 1) {
            E.push(u(x));
            break;
          } else S++;
        return E.join("");
      }, "_compress"),
      decompress: /* @__PURE__ */ a(function(s) {
        return s == null ? "" : s == "" ? null : i._decompress(s.length, 32768, function(l) {
          return s.charCodeAt(l);
        });
      }, "decompress"),
      _decompress: /* @__PURE__ */ a(function(s, l, u) {
        var c = [], d, f = 4, p = 4, m = 3, v = "", y = [], b, g, w, E, x, S, C, _ = { val: u(0), position: l, index: 1 };
        for (b = 0; b < 3; b += 1)
          c[b] = b;
        for (w = 0, x = Math.pow(2, 2), S = 1; S != x; )
          E = _.val & _.position, _.position >>= 1, _.position == 0 && (_.position = l, _.val = u(_.index++)), w |= (E > 0 ? 1 : 0) * S, S <<=
          1;
        switch (d = w) {
          case 0:
            for (w = 0, x = Math.pow(2, 8), S = 1; S != x; )
              E = _.val & _.position, _.position >>= 1, _.position == 0 && (_.position = l, _.val = u(_.index++)), w |= (E > 0 ? 1 : 0) * S,
              S <<= 1;
            C = e(w);
            break;
          case 1:
            for (w = 0, x = Math.pow(2, 16), S = 1; S != x; )
              E = _.val & _.position, _.position >>= 1, _.position == 0 && (_.position = l, _.val = u(_.index++)), w |= (E > 0 ? 1 : 0) * S,
              S <<= 1;
            C = e(w);
            break;
          case 2:
            return "";
        }
        for (c[3] = C, g = C, y.push(C); ; ) {
          if (_.index > s)
            return "";
          for (w = 0, x = Math.pow(2, m), S = 1; S != x; )
            E = _.val & _.position, _.position >>= 1, _.position == 0 && (_.position = l, _.val = u(_.index++)), w |= (E > 0 ? 1 : 0) * S, S <<=
            1;
          switch (C = w) {
            case 0:
              for (w = 0, x = Math.pow(2, 8), S = 1; S != x; )
                E = _.val & _.position, _.position >>= 1, _.position == 0 && (_.position = l, _.val = u(_.index++)), w |= (E > 0 ? 1 : 0) * S,
                S <<= 1;
              c[p++] = e(w), C = p - 1, f--;
              break;
            case 1:
              for (w = 0, x = Math.pow(2, 16), S = 1; S != x; )
                E = _.val & _.position, _.position >>= 1, _.position == 0 && (_.position = l, _.val = u(_.index++)), w |= (E > 0 ? 1 : 0) * S,
                S <<= 1;
              c[p++] = e(w), C = p - 1, f--;
              break;
            case 2:
              return y.join("");
          }
          if (f == 0 && (f = Math.pow(2, m), m++), c[C])
            v = c[C];
          else if (C === p)
            v = g + g.charAt(0);
          else
            return null;
          y.push(v), c[p++] = g + v.charAt(0), f--, g = v, f == 0 && (f = Math.pow(2, m), m++);
        }
      }, "_decompress")
    };
    return i;
  }();
  typeof define == "function" && define.amd ? define(function() {
    return S8;
  }) : typeof Zx < "u" && Zx != null ? Zx.exports = S8 : typeof angular < "u" && angular != null && angular.module("LZString", []).factory("\
LZString", function() {
    return S8;
  });
});

// ../node_modules/semver/internal/constants.js
var Vh = R((rJt, jfe) => {
  "use strict";
  var Sot = "2.0.0", Cot = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */
  9007199254740991, _ot = 16, Pot = 250, Tot = [
    "major",
    "premajor",
    "minor",
    "preminor",
    "patch",
    "prepatch",
    "prerelease"
  ];
  jfe.exports = {
    MAX_LENGTH: 256,
    MAX_SAFE_COMPONENT_LENGTH: _ot,
    MAX_SAFE_BUILD_LENGTH: Pot,
    MAX_SAFE_INTEGER: Cot,
    RELEASE_TYPES: Tot,
    SEMVER_SPEC_VERSION: Sot,
    FLAG_INCLUDE_PRERELEASE: 1,
    FLAG_LOOSE: 2
  };
});

// ../node_modules/semver/internal/debug.js
var Wh = R((nJt, Bfe) => {
  "use strict";
  var Aot = typeof process == "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...e) => console.
  error("SEMVER", ...e) : () => {
  };
  Bfe.exports = Aot;
});

// ../node_modules/semver/internal/re.js
var Zd = R((Oa, $fe) => {
  "use strict";
  var {
    MAX_SAFE_COMPONENT_LENGTH: PN,
    MAX_SAFE_BUILD_LENGTH: Oot,
    MAX_LENGTH: Iot
  } = Vh(), Mot = Wh();
  Oa = $fe.exports = {};
  var Not = Oa.re = [], Lot = Oa.safeRe = [], te = Oa.src = [], kot = Oa.safeSrc = [], re = Oa.t = {}, qot = 0, TN = "[a-zA-Z0-9-]", Dot = [
    ["\\s", 1],
    ["\\d", Iot],
    [TN, Oot]
  ], Fot = /* @__PURE__ */ a((e) => {
    for (let [t, r] of Dot)
      e = e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);
    return e;
  }, "makeSafeRegex"), he = /* @__PURE__ */ a((e, t, r) => {
    let n = Fot(t), o = qot++;
    Mot(e, o, t), re[e] = o, te[o] = t, kot[o] = n, Not[o] = new RegExp(t, r ? "g" : void 0), Lot[o] = new RegExp(n, r ? "g" : void 0);
  }, "createToken");
  he("NUMERICIDENTIFIER", "0|[1-9]\\d*");
  he("NUMERICIDENTIFIERLOOSE", "\\d+");
  he("NONNUMERICIDENTIFIER", `\\d*[a-zA-Z-]${TN}*`);
  he("MAINVERSION", `(${te[re.NUMERICIDENTIFIER]})\\.(${te[re.NUMERICIDENTIFIER]})\\.(${te[re.NUMERICIDENTIFIER]})`);
  he("MAINVERSIONLOOSE", `(${te[re.NUMERICIDENTIFIERLOOSE]})\\.(${te[re.NUMERICIDENTIFIERLOOSE]})\\.(${te[re.NUMERICIDENTIFIERLOOSE]})`);
  he("PRERELEASEIDENTIFIER", `(?:${te[re.NONNUMERICIDENTIFIER]}|${te[re.NUMERICIDENTIFIER]})`);
  he("PRERELEASEIDENTIFIERLOOSE", `(?:${te[re.NONNUMERICIDENTIFIER]}|${te[re.NUMERICIDENTIFIERLOOSE]})`);
  he("PRERELEASE", `(?:-(${te[re.PRERELEASEIDENTIFIER]}(?:\\.${te[re.PRERELEASEIDENTIFIER]})*))`);
  he("PRERELEASELOOSE", `(?:-?(${te[re.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${te[re.PRERELEASEIDENTIFIERLOOSE]})*))`);
  he("BUILDIDENTIFIER", `${TN}+`);
  he("BUILD", `(?:\\+(${te[re.BUILDIDENTIFIER]}(?:\\.${te[re.BUILDIDENTIFIER]})*))`);
  he("FULLPLAIN", `v?${te[re.MAINVERSION]}${te[re.PRERELEASE]}?${te[re.BUILD]}?`);
  he("FULL", `^${te[re.FULLPLAIN]}$`);
  he("LOOSEPLAIN", `[v=\\s]*${te[re.MAINVERSIONLOOSE]}${te[re.PRERELEASELOOSE]}?${te[re.BUILD]}?`);
  he("LOOSE", `^${te[re.LOOSEPLAIN]}$`);
  he("GTLT", "((?:<|>)?=?)");
  he("XRANGEIDENTIFIERLOOSE", `${te[re.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);
  he("XRANGEIDENTIFIER", `${te[re.NUMERICIDENTIFIER]}|x|X|\\*`);
  he("XRANGEPLAIN", `[v=\\s]*(${te[re.XRANGEIDENTIFIER]})(?:\\.(${te[re.XRANGEIDENTIFIER]})(?:\\.(${te[re.XRANGEIDENTIFIER]})(?:${te[re.PRERELEASE]}\
)?${te[re.BUILD]}?)?)?`);
  he("XRANGEPLAINLOOSE", `[v=\\s]*(${te[re.XRANGEIDENTIFIERLOOSE]})(?:\\.(${te[re.XRANGEIDENTIFIERLOOSE]})(?:\\.(${te[re.XRANGEIDENTIFIERLOOSE]}\
)(?:${te[re.PRERELEASELOOSE]})?${te[re.BUILD]}?)?)?`);
  he("XRANGE", `^${te[re.GTLT]}\\s*${te[re.XRANGEPLAIN]}$`);
  he("XRANGELOOSE", `^${te[re.GTLT]}\\s*${te[re.XRANGEPLAINLOOSE]}$`);
  he("COERCEPLAIN", `(^|[^\\d])(\\d{1,${PN}})(?:\\.(\\d{1,${PN}}))?(?:\\.(\\d{1,${PN}}))?`);
  he("COERCE", `${te[re.COERCEPLAIN]}(?:$|[^\\d])`);
  he("COERCEFULL", te[re.COERCEPLAIN] + `(?:${te[re.PRERELEASE]})?(?:${te[re.BUILD]})?(?:$|[^\\d])`);
  he("COERCERTL", te[re.COERCE], !0);
  he("COERCERTLFULL", te[re.COERCEFULL], !0);
  he("LONETILDE", "(?:~>?)");
  he("TILDETRIM", `(\\s*)${te[re.LONETILDE]}\\s+`, !0);
  Oa.tildeTrimReplace = "$1~";
  he("TILDE", `^${te[re.LONETILDE]}${te[re.XRANGEPLAIN]}$`);
  he("TILDELOOSE", `^${te[re.LONETILDE]}${te[re.XRANGEPLAINLOOSE]}$`);
  he("LONECARET", "(?:\\^)");
  he("CARETTRIM", `(\\s*)${te[re.LONECARET]}\\s+`, !0);
  Oa.caretTrimReplace = "$1^";
  he("CARET", `^${te[re.LONECARET]}${te[re.XRANGEPLAIN]}$`);
  he("CARETLOOSE", `^${te[re.LONECARET]}${te[re.XRANGEPLAINLOOSE]}$`);
  he("COMPARATORLOOSE", `^${te[re.GTLT]}\\s*(${te[re.LOOSEPLAIN]})$|^$`);
  he("COMPARATOR", `^${te[re.GTLT]}\\s*(${te[re.FULLPLAIN]})$|^$`);
  he("COMPARATORTRIM", `(\\s*)${te[re.GTLT]}\\s*(${te[re.LOOSEPLAIN]}|${te[re.XRANGEPLAIN]})`, !0);
  Oa.comparatorTrimReplace = "$1$2$3";
  he("HYPHENRANGE", `^\\s*(${te[re.XRANGEPLAIN]})\\s+-\\s+(${te[re.XRANGEPLAIN]})\\s*$`);
  he("HYPHENRANGELOOSE", `^\\s*(${te[re.XRANGEPLAINLOOSE]})\\s+-\\s+(${te[re.XRANGEPLAINLOOSE]})\\s*$`);
  he("STAR", "(<|>)?=?\\s*\\*");
  he("GTE0", "^\\s*>=\\s*0\\.0\\.0\\s*$");
  he("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
});

// ../node_modules/semver/internal/parse-options.js
var t4 = R((aJt, Hfe) => {
  "use strict";
  var jot = Object.freeze({ loose: !0 }), Bot = Object.freeze({}), $ot = /* @__PURE__ */ a((e) => e ? typeof e != "object" ? jot : e : Bot, "\
parseOptions");
  Hfe.exports = $ot;
});

// ../node_modules/semver/internal/identifiers.js
var AN = R((sJt, Vfe) => {
  "use strict";
  var zfe = /^[0-9]+$/, Ufe = /* @__PURE__ */ a((e, t) => {
    let r = zfe.test(e), n = zfe.test(t);
    return r && n && (e = +e, t = +t), e === t ? 0 : r && !n ? -1 : n && !r ? 1 : e < t ? -1 : 1;
  }, "compareIdentifiers"), Hot = /* @__PURE__ */ a((e, t) => Ufe(t, e), "rcompareIdentifiers");
  Vfe.exports = {
    compareIdentifiers: Ufe,
    rcompareIdentifiers: Hot
  };
});

// ../node_modules/semver/classes/semver.js
var Or = R((uJt, Gfe) => {
  "use strict";
  var r4 = Wh(), { MAX_LENGTH: Wfe, MAX_SAFE_INTEGER: n4 } = Vh(), { safeRe: o4, t: a4 } = Zd(), zot = t4(), { compareIdentifiers: ef } = AN(),
  go = class go {
    constructor(t, r) {
      if (r = zot(r), t instanceof go) {
        if (t.loose === !!r.loose && t.includePrerelease === !!r.includePrerelease)
          return t;
        t = t.version;
      } else if (typeof t != "string")
        throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);
      if (t.length > Wfe)
        throw new TypeError(
          `version is longer than ${Wfe} characters`
        );
      r4("SemVer", t, r), this.options = r, this.loose = !!r.loose, this.includePrerelease = !!r.includePrerelease;
      let n = t.trim().match(r.loose ? o4[a4.LOOSE] : o4[a4.FULL]);
      if (!n)
        throw new TypeError(`Invalid Version: ${t}`);
      if (this.raw = t, this.major = +n[1], this.minor = +n[2], this.patch = +n[3], this.major > n4 || this.major < 0)
        throw new TypeError("Invalid major version");
      if (this.minor > n4 || this.minor < 0)
        throw new TypeError("Invalid minor version");
      if (this.patch > n4 || this.patch < 0)
        throw new TypeError("Invalid patch version");
      n[4] ? this.prerelease = n[4].split(".").map((o) => {
        if (/^[0-9]+$/.test(o)) {
          let i = +o;
          if (i >= 0 && i < n4)
            return i;
        }
        return o;
      }) : this.prerelease = [], this.build = n[5] ? n[5].split(".") : [], this.format();
    }
    format() {
      return this.version = `${this.major}.${this.minor}.${this.patch}`, this.prerelease.length && (this.version += `-${this.prerelease.join(
      ".")}`), this.version;
    }
    toString() {
      return this.version;
    }
    compare(t) {
      if (r4("SemVer.compare", this.version, this.options, t), !(t instanceof go)) {
        if (typeof t == "string" && t === this.version)
          return 0;
        t = new go(t, this.options);
      }
      return t.version === this.version ? 0 : this.compareMain(t) || this.comparePre(t);
    }
    compareMain(t) {
      return t instanceof go || (t = new go(t, this.options)), ef(this.major, t.major) || ef(this.minor, t.minor) || ef(this.patch, t.patch);
    }
    comparePre(t) {
      if (t instanceof go || (t = new go(t, this.options)), this.prerelease.length && !t.prerelease.length)
        return -1;
      if (!this.prerelease.length && t.prerelease.length)
        return 1;
      if (!this.prerelease.length && !t.prerelease.length)
        return 0;
      let r = 0;
      do {
        let n = this.prerelease[r], o = t.prerelease[r];
        if (r4("prerelease compare", r, n, o), n === void 0 && o === void 0)
          return 0;
        if (o === void 0)
          return 1;
        if (n === void 0)
          return -1;
        if (n === o)
          continue;
        return ef(n, o);
      } while (++r);
    }
    compareBuild(t) {
      t instanceof go || (t = new go(t, this.options));
      let r = 0;
      do {
        let n = this.build[r], o = t.build[r];
        if (r4("build compare", r, n, o), n === void 0 && o === void 0)
          return 0;
        if (o === void 0)
          return 1;
        if (n === void 0)
          return -1;
        if (n === o)
          continue;
        return ef(n, o);
      } while (++r);
    }
    // preminor will bump the version up to the next minor release, and immediately
    // down to pre-release. premajor and prepatch work the same way.
    inc(t, r, n) {
      if (t.startsWith("pre")) {
        if (!r && n === !1)
          throw new Error("invalid increment argument: identifier is empty");
        if (r) {
          let o = `-${r}`.match(this.options.loose ? o4[a4.PRERELEASELOOSE] : o4[a4.PRERELEASE]);
          if (!o || o[1] !== r)
            throw new Error(`invalid identifier: ${r}`);
        }
      }
      switch (t) {
        case "premajor":
          this.prerelease.length = 0, this.patch = 0, this.minor = 0, this.major++, this.inc("pre", r, n);
          break;
        case "preminor":
          this.prerelease.length = 0, this.patch = 0, this.minor++, this.inc("pre", r, n);
          break;
        case "prepatch":
          this.prerelease.length = 0, this.inc("patch", r, n), this.inc("pre", r, n);
          break;
        // If the input is a non-prerelease version, this acts the same as
        // prepatch.
        case "prerelease":
          this.prerelease.length === 0 && this.inc("patch", r, n), this.inc("pre", r, n);
          break;
        case "release":
          if (this.prerelease.length === 0)
            throw new Error(`version ${this.raw} is not a prerelease`);
          this.prerelease.length = 0;
          break;
        case "major":
          (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) && this.major++, this.minor = 0, this.patch = 0, this.prerelease =
          [];
          break;
        case "minor":
          (this.patch !== 0 || this.prerelease.length === 0) && this.minor++, this.patch = 0, this.prerelease = [];
          break;
        case "patch":
          this.prerelease.length === 0 && this.patch++, this.prerelease = [];
          break;
        // This probably shouldn't be used publicly.
        // 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.
        case "pre": {
          let o = Number(n) ? 1 : 0;
          if (this.prerelease.length === 0)
            this.prerelease = [o];
          else {
            let i = this.prerelease.length;
            for (; --i >= 0; )
              typeof this.prerelease[i] == "number" && (this.prerelease[i]++, i = -2);
            if (i === -1) {
              if (r === this.prerelease.join(".") && n === !1)
                throw new Error("invalid increment argument: identifier already exists");
              this.prerelease.push(o);
            }
          }
          if (r) {
            let i = [r, o];
            n === !1 && (i = [r]), ef(this.prerelease[0], r) === 0 ? isNaN(this.prerelease[1]) && (this.prerelease = i) : this.prerelease = i;
          }
          break;
        }
        default:
          throw new Error(`invalid increment argument: ${t}`);
      }
      return this.raw = this.format(), this.build.length && (this.raw += `+${this.build.join(".")}`), this;
    }
  };
  a(go, "SemVer");
  var ON = go;
  Gfe.exports = ON;
});

// ../node_modules/semver/functions/parse.js
var Eu = R((dJt, Kfe) => {
  "use strict";
  var Yfe = Or(), Uot = /* @__PURE__ */ a((e, t, r = !1) => {
    if (e instanceof Yfe)
      return e;
    try {
      return new Yfe(e, t);
    } catch (n) {
      if (!r)
        return null;
      throw n;
    }
  }, "parse");
  Kfe.exports = Uot;
});

// ../node_modules/semver/functions/valid.js
var Jfe = R((pJt, Xfe) => {
  "use strict";
  var Vot = Eu(), Wot = /* @__PURE__ */ a((e, t) => {
    let r = Vot(e, t);
    return r ? r.version : null;
  }, "valid");
  Xfe.exports = Wot;
});

// ../node_modules/semver/functions/clean.js
var Zfe = R((hJt, Qfe) => {
  "use strict";
  var Got = Eu(), Yot = /* @__PURE__ */ a((e, t) => {
    let r = Got(e.trim().replace(/^[=v]+/, ""), t);
    return r ? r.version : null;
  }, "clean");
  Qfe.exports = Yot;
});

// ../node_modules/semver/functions/inc.js
var rpe = R((yJt, tpe) => {
  "use strict";
  var epe = Or(), Kot = /* @__PURE__ */ a((e, t, r, n, o) => {
    typeof r == "string" && (o = n, n = r, r = void 0);
    try {
      return new epe(
        e instanceof epe ? e.version : e,
        r
      ).inc(t, n, o).version;
    } catch {
      return null;
    }
  }, "inc");
  tpe.exports = Kot;
});

// ../node_modules/semver/functions/diff.js
var ape = R((bJt, ope) => {
  "use strict";
  var npe = Eu(), Xot = /* @__PURE__ */ a((e, t) => {
    let r = npe(e, null, !0), n = npe(t, null, !0), o = r.compare(n);
    if (o === 0)
      return null;
    let i = o > 0, s = i ? r : n, l = i ? n : r, u = !!s.prerelease.length;
    if (!!l.prerelease.length && !u) {
      if (!l.patch && !l.minor)
        return "major";
      if (l.compareMain(s) === 0)
        return l.minor && !l.patch ? "minor" : "patch";
    }
    let d = u ? "pre" : "";
    return r.major !== n.major ? d + "major" : r.minor !== n.minor ? d + "minor" : r.patch !== n.patch ? d + "patch" : "prerelease";
  }, "diff");
  ope.exports = Xot;
});

// ../node_modules/semver/functions/major.js
var spe = R((EJt, ipe) => {
  "use strict";
  var Jot = Or(), Qot = /* @__PURE__ */ a((e, t) => new Jot(e, t).major, "major");
  ipe.exports = Qot;
});

// ../node_modules/semver/functions/minor.js
var upe = R((xJt, lpe) => {
  "use strict";
  var Zot = Or(), eat = /* @__PURE__ */ a((e, t) => new Zot(e, t).minor, "minor");
  lpe.exports = eat;
});

// ../node_modules/semver/functions/patch.js
var dpe = R((CJt, cpe) => {
  "use strict";
  var tat = Or(), rat = /* @__PURE__ */ a((e, t) => new tat(e, t).patch, "patch");
  cpe.exports = rat;
});

// ../node_modules/semver/functions/prerelease.js
var ppe = R((PJt, fpe) => {
  "use strict";
  var nat = Eu(), oat = /* @__PURE__ */ a((e, t) => {
    let r = nat(e, t);
    return r && r.prerelease.length ? r.prerelease : null;
  }, "prerelease");
  fpe.exports = oat;
});

// ../node_modules/semver/functions/compare.js
var yo = R((AJt, hpe) => {
  "use strict";
  var mpe = Or(), aat = /* @__PURE__ */ a((e, t, r) => new mpe(e, r).compare(new mpe(t, r)), "compare");
  hpe.exports = aat;
});

// ../node_modules/semver/functions/rcompare.js
var ype = R((IJt, gpe) => {
  "use strict";
  var iat = yo(), sat = /* @__PURE__ */ a((e, t, r) => iat(t, e, r), "rcompare");
  gpe.exports = sat;
});

// ../node_modules/semver/functions/compare-loose.js
var bpe = R((NJt, vpe) => {
  "use strict";
  var lat = yo(), uat = /* @__PURE__ */ a((e, t) => lat(e, t, !0), "compareLoose");
  vpe.exports = uat;
});

// ../node_modules/semver/functions/compare-build.js
var i4 = R((kJt, Epe) => {
  "use strict";
  var wpe = Or(), cat = /* @__PURE__ */ a((e, t, r) => {
    let n = new wpe(e, r), o = new wpe(t, r);
    return n.compare(o) || n.compareBuild(o);
  }, "compareBuild");
  Epe.exports = cat;
});

// ../node_modules/semver/functions/sort.js
var xpe = R((DJt, Rpe) => {
  "use strict";
  var dat = i4(), fat = /* @__PURE__ */ a((e, t) => e.sort((r, n) => dat(r, n, t)), "sort");
  Rpe.exports = fat;
});

// ../node_modules/semver/functions/rsort.js
var Cpe = R((jJt, Spe) => {
  "use strict";
  var pat = i4(), mat = /* @__PURE__ */ a((e, t) => e.sort((r, n) => pat(n, r, t)), "rsort");
  Spe.exports = mat;
});

// ../node_modules/semver/functions/gt.js
var Gh = R(($Jt, _pe) => {
  "use strict";
  var hat = yo(), gat = /* @__PURE__ */ a((e, t, r) => hat(e, t, r) > 0, "gt");
  _pe.exports = gat;
});

// ../node_modules/semver/functions/lt.js
var s4 = R((zJt, Ppe) => {
  "use strict";
  var yat = yo(), vat = /* @__PURE__ */ a((e, t, r) => yat(e, t, r) < 0, "lt");
  Ppe.exports = vat;
});

// ../node_modules/semver/functions/eq.js
var IN = R((VJt, Tpe) => {
  "use strict";
  var bat = yo(), wat = /* @__PURE__ */ a((e, t, r) => bat(e, t, r) === 0, "eq");
  Tpe.exports = wat;
});

// ../node_modules/semver/functions/neq.js
var MN = R((GJt, Ape) => {
  "use strict";
  var Eat = yo(), Rat = /* @__PURE__ */ a((e, t, r) => Eat(e, t, r) !== 0, "neq");
  Ape.exports = Rat;
});

// ../node_modules/semver/functions/gte.js
var l4 = R((KJt, Ope) => {
  "use strict";
  var xat = yo(), Sat = /* @__PURE__ */ a((e, t, r) => xat(e, t, r) >= 0, "gte");
  Ope.exports = Sat;
});

// ../node_modules/semver/functions/lte.js
var u4 = R((JJt, Ipe) => {
  "use strict";
  var Cat = yo(), _at = /* @__PURE__ */ a((e, t, r) => Cat(e, t, r) <= 0, "lte");
  Ipe.exports = _at;
});

// ../node_modules/semver/functions/cmp.js
var NN = R((ZJt, Mpe) => {
  "use strict";
  var Pat = IN(), Tat = MN(), Aat = Gh(), Oat = l4(), Iat = s4(), Mat = u4(), Nat = /* @__PURE__ */ a((e, t, r, n) => {
    switch (t) {
      case "===":
        return typeof e == "object" && (e = e.version), typeof r == "object" && (r = r.version), e === r;
      case "!==":
        return typeof e == "object" && (e = e.version), typeof r == "object" && (r = r.version), e !== r;
      case "":
      case "=":
      case "==":
        return Pat(e, r, n);
      case "!=":
        return Tat(e, r, n);
      case ">":
        return Aat(e, r, n);
      case ">=":
        return Oat(e, r, n);
      case "<":
        return Iat(e, r, n);
      case "<=":
        return Mat(e, r, n);
      default:
        throw new TypeError(`Invalid operator: ${t}`);
    }
  }, "cmp");
  Mpe.exports = Nat;
});

// ../node_modules/semver/functions/coerce.js
var Lpe = R((tQt, Npe) => {
  "use strict";
  var Lat = Or(), kat = Eu(), { safeRe: c4, t: d4 } = Zd(), qat = /* @__PURE__ */ a((e, t) => {
    if (e instanceof Lat)
      return e;
    if (typeof e == "number" && (e = String(e)), typeof e != "string")
      return null;
    t = t || {};
    let r = null;
    if (!t.rtl)
      r = e.match(t.includePrerelease ? c4[d4.COERCEFULL] : c4[d4.COERCE]);
    else {
      let u = t.includePrerelease ? c4[d4.COERCERTLFULL] : c4[d4.COERCERTL], c;
      for (; (c = u.exec(e)) && (!r || r.index + r[0].length !== e.length); )
        (!r || c.index + c[0].length !== r.index + r[0].length) && (r = c), u.lastIndex = c.index + c[1].length + c[2].length;
      u.lastIndex = -1;
    }
    if (r === null)
      return null;
    let n = r[2], o = r[3] || "0", i = r[4] || "0", s = t.includePrerelease && r[5] ? `-${r[5]}` : "", l = t.includePrerelease && r[6] ? `+${r[6]}` :
    "";
    return kat(`${n}.${o}.${i}${s}${l}`, t);
  }, "coerce");
  Npe.exports = qat;
});

// ../node_modules/semver/internal/lrucache.js
var qpe = R((nQt, kpe) => {
  "use strict";
  var kN = class kN {
    constructor() {
      this.max = 1e3, this.map = /* @__PURE__ */ new Map();
    }
    get(t) {
      let r = this.map.get(t);
      if (r !== void 0)
        return this.map.delete(t), this.map.set(t, r), r;
    }
    delete(t) {
      return this.map.delete(t);
    }
    set(t, r) {
      if (!this.delete(t) && r !== void 0) {
        if (this.map.size >= this.max) {
          let o = this.map.keys().next().value;
          this.delete(o);
        }
        this.map.set(t, r);
      }
      return this;
    }
  };
  a(kN, "LRUCache");
  var LN = kN;
  kpe.exports = LN;
});

// ../node_modules/semver/classes/range.js
var vo = R((aQt, Bpe) => {
  "use strict";
  var Dat = /\s+/g, tf = class tf {
    constructor(t, r) {
      if (r = jat(r), t instanceof tf)
        return t.loose === !!r.loose && t.includePrerelease === !!r.includePrerelease ? t : new tf(t.raw, r);
      if (t instanceof DN)
        return this.raw = t.value, this.set = [[t]], this.formatted = void 0, this;
      if (this.options = r, this.loose = !!r.loose, this.includePrerelease = !!r.includePrerelease, this.raw = t.trim().replace(Dat, " "), this.
      set = this.raw.split("||").map((n) => this.parseRange(n.trim())).filter((n) => n.length), !this.set.length)
        throw new TypeError(`Invalid SemVer Range: ${this.raw}`);
      if (this.set.length > 1) {
        let n = this.set[0];
        if (this.set = this.set.filter((o) => !Fpe(o[0])), this.set.length === 0)
          this.set = [n];
        else if (this.set.length > 1) {
          for (let o of this.set)
            if (o.length === 1 && Wat(o[0])) {
              this.set = [o];
              break;
            }
        }
      }
      this.formatted = void 0;
    }
    get range() {
      if (this.formatted === void 0) {
        this.formatted = "";
        for (let t = 0; t < this.set.length; t++) {
          t > 0 && (this.formatted += "||");
          let r = this.set[t];
          for (let n = 0; n < r.length; n++)
            n > 0 && (this.formatted += " "), this.formatted += r[n].toString().trim();
        }
      }
      return this.formatted;
    }
    format() {
      return this.range;
    }
    toString() {
      return this.range;
    }
    parseRange(t) {
      let n = ((this.options.includePrerelease && Uat) | (this.options.loose && Vat)) + ":" + t, o = Dpe.get(n);
      if (o)
        return o;
      let i = this.options.loose, s = i ? fn[Gr.HYPHENRANGELOOSE] : fn[Gr.HYPHENRANGE];
      t = t.replace(s, rit(this.options.includePrerelease)), it("hyphen replace", t), t = t.replace(fn[Gr.COMPARATORTRIM], $at), it("compara\
tor trim", t), t = t.replace(fn[Gr.TILDETRIM], Hat), it("tilde trim", t), t = t.replace(fn[Gr.CARETTRIM], zat), it("caret trim", t);
      let l = t.split(" ").map((f) => Gat(f, this.options)).join(" ").split(/\s+/).map((f) => tit(f, this.options));
      i && (l = l.filter((f) => (it("loose invalid filter", f, this.options), !!f.match(fn[Gr.COMPARATORLOOSE])))), it("range list", l);
      let u = /* @__PURE__ */ new Map(), c = l.map((f) => new DN(f, this.options));
      for (let f of c) {
        if (Fpe(f))
          return [f];
        u.set(f.value, f);
      }
      u.size > 1 && u.has("") && u.delete("");
      let d = [...u.values()];
      return Dpe.set(n, d), d;
    }
    intersects(t, r) {
      if (!(t instanceof tf))
        throw new TypeError("a Range is required");
      return this.set.some((n) => jpe(n, r) && t.set.some((o) => jpe(o, r) && n.every((i) => o.every((s) => i.intersects(s, r)))));
    }
    // if ANY of the sets match ALL of its comparators, then pass
    test(t) {
      if (!t)
        return !1;
      if (typeof t == "string")
        try {
          t = new Bat(t, this.options);
        } catch {
          return !1;
        }
      for (let r = 0; r < this.set.length; r++)
        if (nit(this.set[r], t, this.options))
          return !0;
      return !1;
    }
  };
  a(tf, "Range");
  var qN = tf;
  Bpe.exports = qN;
  var Fat = qpe(), Dpe = new Fat(), jat = t4(), DN = Yh(), it = Wh(), Bat = Or(), {
    safeRe: fn,
    t: Gr,
    comparatorTrimReplace: $at,
    tildeTrimReplace: Hat,
    caretTrimReplace: zat
  } = Zd(), { FLAG_INCLUDE_PRERELEASE: Uat, FLAG_LOOSE: Vat } = Vh(), Fpe = /* @__PURE__ */ a((e) => e.value === "<0.0.0-0", "isNullSet"), Wat = /* @__PURE__ */ a(
  (e) => e.value === "", "isAny"), jpe = /* @__PURE__ */ a((e, t) => {
    let r = !0, n = e.slice(), o = n.pop();
    for (; r && n.length; )
      r = n.every((i) => o.intersects(i, t)), o = n.pop();
    return r;
  }, "isSatisfiable"), Gat = /* @__PURE__ */ a((e, t) => (it("comp", e, t), e = Xat(e, t), it("caret", e), e = Yat(e, t), it("tildes", e), e =
  Qat(e, t), it("xrange", e), e = eit(e, t), it("stars", e), e), "parseComparator"), Yr = /* @__PURE__ */ a((e) => !e || e.toLowerCase() ===
  "x" || e === "*", "isX"), Yat = /* @__PURE__ */ a((e, t) => e.trim().split(/\s+/).map((r) => Kat(r, t)).join(" "), "replaceTildes"), Kat = /* @__PURE__ */ a(
  (e, t) => {
    let r = t.loose ? fn[Gr.TILDELOOSE] : fn[Gr.TILDE];
    return e.replace(r, (n, o, i, s, l) => {
      it("tilde", e, n, o, i, s, l);
      let u;
      return Yr(o) ? u = "" : Yr(i) ? u = `>=${o}.0.0 <${+o + 1}.0.0-0` : Yr(s) ? u = `>=${o}.${i}.0 <${o}.${+i + 1}.0-0` : l ? (it("replace\
Tilde pr", l), u = `>=${o}.${i}.${s}-${l} <${o}.${+i + 1}.0-0`) : u = `>=${o}.${i}.${s} <${o}.${+i + 1}.0-0`, it("tilde return", u), u;
    });
  }, "replaceTilde"), Xat = /* @__PURE__ */ a((e, t) => e.trim().split(/\s+/).map((r) => Jat(r, t)).join(" "), "replaceCarets"), Jat = /* @__PURE__ */ a(
  (e, t) => {
    it("caret", e, t);
    let r = t.loose ? fn[Gr.CARETLOOSE] : fn[Gr.CARET], n = t.includePrerelease ? "-0" : "";
    return e.replace(r, (o, i, s, l, u) => {
      it("caret", e, o, i, s, l, u);
      let c;
      return Yr(i) ? c = "" : Yr(s) ? c = `>=${i}.0.0${n} <${+i + 1}.0.0-0` : Yr(l) ? i === "0" ? c = `>=${i}.${s}.0${n} <${i}.${+s + 1}.0-0` :
      c = `>=${i}.${s}.0${n} <${+i + 1}.0.0-0` : u ? (it("replaceCaret pr", u), i === "0" ? s === "0" ? c = `>=${i}.${s}.${l}-${u} <${i}.${s}\
.${+l + 1}-0` : c = `>=${i}.${s}.${l}-${u} <${i}.${+s + 1}.0-0` : c = `>=${i}.${s}.${l}-${u} <${+i + 1}.0.0-0`) : (it("no pr"), i === "0" ? s ===
      "0" ? c = `>=${i}.${s}.${l}${n} <${i}.${s}.${+l + 1}-0` : c = `>=${i}.${s}.${l}${n} <${i}.${+s + 1}.0-0` : c = `>=${i}.${s}.${l} <${+i +
      1}.0.0-0`), it("caret return", c), c;
    });
  }, "replaceCaret"), Qat = /* @__PURE__ */ a((e, t) => (it("replaceXRanges", e, t), e.split(/\s+/).map((r) => Zat(r, t)).join(" ")), "repla\
ceXRanges"), Zat = /* @__PURE__ */ a((e, t) => {
    e = e.trim();
    let r = t.loose ? fn[Gr.XRANGELOOSE] : fn[Gr.XRANGE];
    return e.replace(r, (n, o, i, s, l, u) => {
      it("xRange", e, n, o, i, s, l, u);
      let c = Yr(i), d = c || Yr(s), f = d || Yr(l), p = f;
      return o === "=" && p && (o = ""), u = t.includePrerelease ? "-0" : "", c ? o === ">" || o === "<" ? n = "<0.0.0-0" : n = "*" : o && p ?
      (d && (s = 0), l = 0, o === ">" ? (o = ">=", d ? (i = +i + 1, s = 0, l = 0) : (s = +s + 1, l = 0)) : o === "<=" && (o = "<", d ? i = +i +
      1 : s = +s + 1), o === "<" && (u = "-0"), n = `${o + i}.${s}.${l}${u}`) : d ? n = `>=${i}.0.0${u} <${+i + 1}.0.0-0` : f && (n = `>=${i}\
.${s}.0${u} <${i}.${+s + 1}.0-0`), it("xRange return", n), n;
    });
  }, "replaceXRange"), eit = /* @__PURE__ */ a((e, t) => (it("replaceStars", e, t), e.trim().replace(fn[Gr.STAR], "")), "replaceStars"), tit = /* @__PURE__ */ a(
  (e, t) => (it("replaceGTE0", e, t), e.trim().replace(fn[t.includePrerelease ? Gr.GTE0PRE : Gr.GTE0], "")), "replaceGTE0"), rit = /* @__PURE__ */ a(
  (e) => (t, r, n, o, i, s, l, u, c, d, f, p) => (Yr(n) ? r = "" : Yr(o) ? r = `>=${n}.0.0${e ? "-0" : ""}` : Yr(i) ? r = `>=${n}.${o}.0${e ?
  "-0" : ""}` : s ? r = `>=${r}` : r = `>=${r}${e ? "-0" : ""}`, Yr(c) ? u = "" : Yr(d) ? u = `<${+c + 1}.0.0-0` : Yr(f) ? u = `<${c}.${+d +
  1}.0-0` : p ? u = `<=${c}.${d}.${f}-${p}` : e ? u = `<${c}.${d}.${+f + 1}-0` : u = `<=${u}`, `${r} ${u}`.trim()), "hyphenReplace"), nit = /* @__PURE__ */ a(
  (e, t, r) => {
    for (let n = 0; n < e.length; n++)
      if (!e[n].test(t))
        return !1;
    if (t.prerelease.length && !r.includePrerelease) {
      for (let n = 0; n < e.length; n++)
        if (it(e[n].semver), e[n].semver !== DN.ANY && e[n].semver.prerelease.length > 0) {
          let o = e[n].semver;
          if (o.major === t.major && o.minor === t.minor && o.patch === t.patch)
            return !0;
        }
      return !1;
    }
    return !0;
  }, "testSet");
});

// ../node_modules/semver/classes/comparator.js
var Yh = R((sQt, Wpe) => {
  "use strict";
  var Kh = Symbol("SemVer ANY"), Xh = class Xh {
    static get ANY() {
      return Kh;
    }
    constructor(t, r) {
      if (r = $pe(r), t instanceof Xh) {
        if (t.loose === !!r.loose)
          return t;
        t = t.value;
      }
      t = t.trim().split(/\s+/).join(" "), jN("comparator", t, r), this.options = r, this.loose = !!r.loose, this.parse(t), this.semver === Kh ?
      this.value = "" : this.value = this.operator + this.semver.version, jN("comp", this);
    }
    parse(t) {
      let r = this.options.loose ? Hpe[zpe.COMPARATORLOOSE] : Hpe[zpe.COMPARATOR], n = t.match(r);
      if (!n)
        throw new TypeError(`Invalid comparator: ${t}`);
      this.operator = n[1] !== void 0 ? n[1] : "", this.operator === "=" && (this.operator = ""), n[2] ? this.semver = new Upe(n[2], this.options.
      loose) : this.semver = Kh;
    }
    toString() {
      return this.value;
    }
    test(t) {
      if (jN("Comparator.test", t, this.options.loose), this.semver === Kh || t === Kh)
        return !0;
      if (typeof t == "string")
        try {
          t = new Upe(t, this.options);
        } catch {
          return !1;
        }
      return FN(t, this.operator, this.semver, this.options);
    }
    intersects(t, r) {
      if (!(t instanceof Xh))
        throw new TypeError("a Comparator is required");
      return this.operator === "" ? this.value === "" ? !0 : new Vpe(t.value, r).test(this.value) : t.operator === "" ? t.value === "" ? !0 :
      new Vpe(this.value, r).test(t.semver) : (r = $pe(r), r.includePrerelease && (this.value === "<0.0.0-0" || t.value === "<0.0.0-0") || !r.
      includePrerelease && (this.value.startsWith("<0.0.0") || t.value.startsWith("<0.0.0")) ? !1 : !!(this.operator.startsWith(">") && t.operator.
      startsWith(">") || this.operator.startsWith("<") && t.operator.startsWith("<") || this.semver.version === t.semver.version && this.operator.
      includes("=") && t.operator.includes("=") || FN(this.semver, "<", t.semver, r) && this.operator.startsWith(">") && t.operator.startsWith(
      "<") || FN(this.semver, ">", t.semver, r) && this.operator.startsWith("<") && t.operator.startsWith(">")));
    }
  };
  a(Xh, "Comparator");
  var BN = Xh;
  Wpe.exports = BN;
  var $pe = t4(), { safeRe: Hpe, t: zpe } = Zd(), FN = NN(), jN = Wh(), Upe = Or(), Vpe = vo();
});

// ../node_modules/semver/functions/satisfies.js
var Jh = R((uQt, Gpe) => {
  "use strict";
  var oit = vo(), ait = /* @__PURE__ */ a((e, t, r) => {
    try {
      t = new oit(t, r);
    } catch {
      return !1;
    }
    return t.test(e);
  }, "satisfies");
  Gpe.exports = ait;
});

// ../node_modules/semver/ranges/to-comparators.js
var Kpe = R((dQt, Ype) => {
  "use strict";
  var iit = vo(), sit = /* @__PURE__ */ a((e, t) => new iit(e, t).set.map((r) => r.map((n) => n.value).join(" ").trim().split(" ")), "toComp\
arators");
  Ype.exports = sit;
});

// ../node_modules/semver/ranges/max-satisfying.js
var Jpe = R((pQt, Xpe) => {
  "use strict";
  var lit = Or(), uit = vo(), cit = /* @__PURE__ */ a((e, t, r) => {
    let n = null, o = null, i = null;
    try {
      i = new uit(t, r);
    } catch {
      return null;
    }
    return e.forEach((s) => {
      i.test(s) && (!n || o.compare(s) === -1) && (n = s, o = new lit(n, r));
    }), n;
  }, "maxSatisfying");
  Xpe.exports = cit;
});

// ../node_modules/semver/ranges/min-satisfying.js
var Zpe = R((hQt, Qpe) => {
  "use strict";
  var dit = Or(), fit = vo(), pit = /* @__PURE__ */ a((e, t, r) => {
    let n = null, o = null, i = null;
    try {
      i = new fit(t, r);
    } catch {
      return null;
    }
    return e.forEach((s) => {
      i.test(s) && (!n || o.compare(s) === 1) && (n = s, o = new dit(n, r));
    }), n;
  }, "minSatisfying");
  Qpe.exports = pit;
});

// ../node_modules/semver/ranges/min-version.js
var rme = R((yQt, tme) => {
  "use strict";
  var $N = Or(), mit = vo(), eme = Gh(), hit = /* @__PURE__ */ a((e, t) => {
    e = new mit(e, t);
    let r = new $N("0.0.0");
    if (e.test(r) || (r = new $N("0.0.0-0"), e.test(r)))
      return r;
    r = null;
    for (let n = 0; n < e.set.length; ++n) {
      let o = e.set[n], i = null;
      o.forEach((s) => {
        let l = new $N(s.semver.version);
        switch (s.operator) {
          case ">":
            l.prerelease.length === 0 ? l.patch++ : l.prerelease.push(0), l.raw = l.format();
          /* fallthrough */
          case "":
          case ">=":
            (!i || eme(l, i)) && (i = l);
            break;
          case "<":
          case "<=":
            break;
          /* istanbul ignore next */
          default:
            throw new Error(`Unexpected operation: ${s.operator}`);
        }
      }), i && (!r || eme(r, i)) && (r = i);
    }
    return r && e.test(r) ? r : null;
  }, "minVersion");
  tme.exports = hit;
});

// ../node_modules/semver/ranges/valid.js
var ome = R((bQt, nme) => {
  "use strict";
  var git = vo(), yit = /* @__PURE__ */ a((e, t) => {
    try {
      return new git(e, t).range || "*";
    } catch {
      return null;
    }
  }, "validRange");
  nme.exports = yit;
});

// ../node_modules/semver/ranges/outside.js
var f4 = R((EQt, lme) => {
  "use strict";
  var vit = Or(), sme = Yh(), { ANY: bit } = sme, wit = vo(), Eit = Jh(), ame = Gh(), ime = s4(), Rit = u4(), xit = l4(), Sit = /* @__PURE__ */ a(
  (e, t, r, n) => {
    e = new vit(e, n), t = new wit(t, n);
    let o, i, s, l, u;
    switch (r) {
      case ">":
        o = ame, i = Rit, s = ime, l = ">", u = ">=";
        break;
      case "<":
        o = ime, i = xit, s = ame, l = "<", u = "<=";
        break;
      default:
        throw new TypeError('Must provide a hilo val of "<" or ">"');
    }
    if (Eit(e, t, n))
      return !1;
    for (let c = 0; c < t.set.length; ++c) {
      let d = t.set[c], f = null, p = null;
      if (d.forEach((m) => {
        m.semver === bit && (m = new sme(">=0.0.0")), f = f || m, p = p || m, o(m.semver, f.semver, n) ? f = m : s(m.semver, p.semver, n) &&
        (p = m);
      }), f.operator === l || f.operator === u || (!p.operator || p.operator === l) && i(e, p.semver))
        return !1;
      if (p.operator === u && s(e, p.semver))
        return !1;
    }
    return !0;
  }, "outside");
  lme.exports = Sit;
});

// ../node_modules/semver/ranges/gtr.js
var cme = R((xQt, ume) => {
  "use strict";
  var Cit = f4(), _it = /* @__PURE__ */ a((e, t, r) => Cit(e, t, ">", r), "gtr");
  ume.exports = _it;
});

// ../node_modules/semver/ranges/ltr.js
var fme = R((CQt, dme) => {
  "use strict";
  var Pit = f4(), Tit = /* @__PURE__ */ a((e, t, r) => Pit(e, t, "<", r), "ltr");
  dme.exports = Tit;
});

// ../node_modules/semver/ranges/intersects.js
var hme = R((PQt, mme) => {
  "use strict";
  var pme = vo(), Ait = /* @__PURE__ */ a((e, t, r) => (e = new pme(e, r), t = new pme(t, r), e.intersects(t, r)), "intersects");
  mme.exports = Ait;
});

// ../node_modules/semver/ranges/simplify.js
var yme = R((AQt, gme) => {
  "use strict";
  var Oit = Jh(), Iit = yo();
  gme.exports = (e, t, r) => {
    let n = [], o = null, i = null, s = e.sort((d, f) => Iit(d, f, r));
    for (let d of s)
      Oit(d, t, r) ? (i = d, o || (o = d)) : (i && n.push([o, i]), i = null, o = null);
    o && n.push([o, null]);
    let l = [];
    for (let [d, f] of n)
      d === f ? l.push(d) : !f && d === s[0] ? l.push("*") : f ? d === s[0] ? l.push(`<=${f}`) : l.push(`${d} - ${f}`) : l.push(`>=${d}`);
    let u = l.join(" || "), c = typeof t.raw == "string" ? t.raw : String(t);
    return u.length < c.length ? u : t;
  };
});

// ../node_modules/semver/ranges/subset.js
var xme = R((OQt, Rme) => {
  "use strict";
  var vme = vo(), zN = Yh(), { ANY: HN } = zN, Qh = Jh(), UN = yo(), Mit = /* @__PURE__ */ a((e, t, r = {}) => {
    if (e === t)
      return !0;
    e = new vme(e, r), t = new vme(t, r);
    let n = !1;
    e: for (let o of e.set) {
      for (let i of t.set) {
        let s = Lit(o, i, r);
        if (n = n || s !== null, s)
          continue e;
      }
      if (n)
        return !1;
    }
    return !0;
  }, "subset"), Nit = [new zN(">=0.0.0-0")], bme = [new zN(">=0.0.0")], Lit = /* @__PURE__ */ a((e, t, r) => {
    if (e === t)
      return !0;
    if (e.length === 1 && e[0].semver === HN) {
      if (t.length === 1 && t[0].semver === HN)
        return !0;
      r.includePrerelease ? e = Nit : e = bme;
    }
    if (t.length === 1 && t[0].semver === HN) {
      if (r.includePrerelease)
        return !0;
      t = bme;
    }
    let n = /* @__PURE__ */ new Set(), o, i;
    for (let m of e)
      m.operator === ">" || m.operator === ">=" ? o = wme(o, m, r) : m.operator === "<" || m.operator === "<=" ? i = Eme(i, m, r) : n.add(m.
      semver);
    if (n.size > 1)
      return null;
    let s;
    if (o && i) {
      if (s = UN(o.semver, i.semver, r), s > 0)
        return null;
      if (s === 0 && (o.operator !== ">=" || i.operator !== "<="))
        return null;
    }
    for (let m of n) {
      if (o && !Qh(m, String(o), r) || i && !Qh(m, String(i), r))
        return null;
      for (let v of t)
        if (!Qh(m, String(v), r))
          return !1;
      return !0;
    }
    let l, u, c, d, f = i && !r.includePrerelease && i.semver.prerelease.length ? i.semver : !1, p = o && !r.includePrerelease && o.semver.prerelease.
    length ? o.semver : !1;
    f && f.prerelease.length === 1 && i.operator === "<" && f.prerelease[0] === 0 && (f = !1);
    for (let m of t) {
      if (d = d || m.operator === ">" || m.operator === ">=", c = c || m.operator === "<" || m.operator === "<=", o) {
        if (p && m.semver.prerelease && m.semver.prerelease.length && m.semver.major === p.major && m.semver.minor === p.minor && m.semver.patch ===
        p.patch && (p = !1), m.operator === ">" || m.operator === ">=") {
          if (l = wme(o, m, r), l === m && l !== o)
            return !1;
        } else if (o.operator === ">=" && !Qh(o.semver, String(m), r))
          return !1;
      }
      if (i) {
        if (f && m.semver.prerelease && m.semver.prerelease.length && m.semver.major === f.major && m.semver.minor === f.minor && m.semver.patch ===
        f.patch && (f = !1), m.operator === "<" || m.operator === "<=") {
          if (u = Eme(i, m, r), u === m && u !== i)
            return !1;
        } else if (i.operator === "<=" && !Qh(i.semver, String(m), r))
          return !1;
      }
      if (!m.operator && (i || o) && s !== 0)
        return !1;
    }
    return !(o && c && !i && s !== 0 || i && d && !o && s !== 0 || p || f);
  }, "simpleSubset"), wme = /* @__PURE__ */ a((e, t, r) => {
    if (!e)
      return t;
    let n = UN(e.semver, t.semver, r);
    return n > 0 ? e : n < 0 || t.operator === ">" && e.operator === ">=" ? t : e;
  }, "higherGT"), Eme = /* @__PURE__ */ a((e, t, r) => {
    if (!e)
      return t;
    let n = UN(e.semver, t.semver, r);
    return n < 0 ? e : n > 0 || t.operator === "<" && e.operator === "<=" ? t : e;
  }, "lowerLT");
  Rme.exports = Mit;
});

// ../node_modules/semver/index.js
var Pme = R((MQt, _me) => {
  "use strict";
  var VN = Zd(), Sme = Vh(), kit = Or(), Cme = AN(), qit = Eu(), Dit = Jfe(), Fit = Zfe(), jit = rpe(), Bit = ape(), $it = spe(), Hit = upe(),
  zit = dpe(), Uit = ppe(), Vit = yo(), Wit = ype(), Git = bpe(), Yit = i4(), Kit = xpe(), Xit = Cpe(), Jit = Gh(), Qit = s4(), Zit = IN(), est = MN(),
  tst = l4(), rst = u4(), nst = NN(), ost = Lpe(), ast = Yh(), ist = vo(), sst = Jh(), lst = Kpe(), ust = Jpe(), cst = Zpe(), dst = rme(), fst = ome(),
  pst = f4(), mst = cme(), hst = fme(), gst = hme(), yst = yme(), vst = xme();
  _me.exports = {
    parse: qit,
    valid: Dit,
    clean: Fit,
    inc: jit,
    diff: Bit,
    major: $it,
    minor: Hit,
    patch: zit,
    prerelease: Uit,
    compare: Vit,
    rcompare: Wit,
    compareLoose: Git,
    compareBuild: Yit,
    sort: Kit,
    rsort: Xit,
    gt: Jit,
    lt: Qit,
    eq: Zit,
    neq: est,
    gte: tst,
    lte: rst,
    cmp: nst,
    coerce: ost,
    Comparator: ast,
    Range: ist,
    satisfies: sst,
    toComparators: lst,
    maxSatisfying: ust,
    minSatisfying: cst,
    minVersion: dst,
    validRange: fst,
    outside: pst,
    gtr: mst,
    ltr: hst,
    intersects: gst,
    simplifyRange: yst,
    subset: vst,
    SemVer: kit,
    re: VN.re,
    src: VN.src,
    tokens: VN.t,
    SEMVER_SPEC_VERSION: Sme.SEMVER_SPEC_VERSION,
    RELEASE_TYPES: Sme.RELEASE_TYPES,
    compareIdentifiers: Cme.compareIdentifiers,
    rcompareIdentifiers: Cme.rcompareIdentifiers
  };
});

// ../node_modules/store2/dist/store2.js
var Mme = R((m4, h4) => {
  (function(e, t) {
    var r = {
      version: "2.14.4",
      areas: {},
      apis: {},
      nsdelim: ".",
      // utilities
      inherit: /* @__PURE__ */ a(function(o, i) {
        for (var s in o)
          i.hasOwnProperty(s) || Object.defineProperty(i, s, Object.getOwnPropertyDescriptor(o, s));
        return i;
      }, "inherit"),
      stringify: /* @__PURE__ */ a(function(o, i) {
        return o === void 0 || typeof o == "function" ? o + "" : JSON.stringify(o, i || r.replace);
      }, "stringify"),
      parse: /* @__PURE__ */ a(function(o, i) {
        try {
          return JSON.parse(o, i || r.revive);
        } catch {
          return o;
        }
      }, "parse"),
      // extension hooks
      fn: /* @__PURE__ */ a(function(o, i) {
        r.storeAPI[o] = i;
        for (var s in r.apis)
          r.apis[s][o] = i;
      }, "fn"),
      get: /* @__PURE__ */ a(function(o, i) {
        return o.getItem(i);
      }, "get"),
      set: /* @__PURE__ */ a(function(o, i, s) {
        o.setItem(i, s);
      }, "set"),
      remove: /* @__PURE__ */ a(function(o, i) {
        o.removeItem(i);
      }, "remove"),
      key: /* @__PURE__ */ a(function(o, i) {
        return o.key(i);
      }, "key"),
      length: /* @__PURE__ */ a(function(o) {
        return o.length;
      }, "length"),
      clear: /* @__PURE__ */ a(function(o) {
        o.clear();
      }, "clear"),
      // core functions
      Store: /* @__PURE__ */ a(function(o, i, s) {
        var l = r.inherit(r.storeAPI, function(c, d, f) {
          return arguments.length === 0 ? l.getAll() : typeof d == "function" ? l.transact(c, d, f) : d !== void 0 ? l.set(c, d, f) : typeof c ==
          "string" || typeof c == "number" ? l.get(c) : typeof c == "function" ? l.each(c) : c ? l.setAll(c, d) : l.clear();
        });
        l._id = o;
        try {
          var u = "__store2_test";
          i.setItem(u, "ok"), l._area = i, i.removeItem(u);
        } catch {
          l._area = r.storage("fake");
        }
        return l._ns = s || "", r.areas[o] || (r.areas[o] = l._area), r.apis[l._ns + l._id] || (r.apis[l._ns + l._id] = l), l;
      }, "Store"),
      storeAPI: {
        // admin functions
        area: /* @__PURE__ */ a(function(o, i) {
          var s = this[o];
          return (!s || !s.area) && (s = r.Store(o, i, this._ns), this[o] || (this[o] = s)), s;
        }, "area"),
        namespace: /* @__PURE__ */ a(function(o, i, s) {
          if (s = s || this._delim || r.nsdelim, !o)
            return this._ns ? this._ns.substring(0, this._ns.length - s.length) : "";
          var l = o, u = this[l];
          if ((!u || !u.namespace) && (u = r.Store(this._id, this._area, this._ns + l + s), u._delim = s, this[l] || (this[l] = u), !i))
            for (var c in r.areas)
              u.area(c, r.areas[c]);
          return u;
        }, "namespace"),
        isFake: /* @__PURE__ */ a(function(o) {
          return o ? (this._real = this._area, this._area = r.storage("fake")) : o === !1 && (this._area = this._real || this._area), this._area.
          name === "fake";
        }, "isFake"),
        toString: /* @__PURE__ */ a(function() {
          return "store" + (this._ns ? "." + this.namespace() : "") + "[" + this._id + "]";
        }, "toString"),
        // storage functions
        has: /* @__PURE__ */ a(function(o) {
          return this._area.has ? this._area.has(this._in(o)) : this._in(o) in this._area;
        }, "has"),
        size: /* @__PURE__ */ a(function() {
          return this.keys().length;
        }, "size"),
        each: /* @__PURE__ */ a(function(o, i) {
          for (var s = 0, l = r.length(this._area); s < l; s++) {
            var u = this._out(r.key(this._area, s));
            if (u !== void 0 && o.call(this, u, this.get(u), i) === !1)
              break;
            l > r.length(this._area) && (l--, s--);
          }
          return i || this;
        }, "each"),
        keys: /* @__PURE__ */ a(function(o) {
          return this.each(function(i, s, l) {
            l.push(i);
          }, o || []);
        }, "keys"),
        get: /* @__PURE__ */ a(function(o, i) {
          var s = r.get(this._area, this._in(o)), l;
          return typeof i == "function" && (l = i, i = null), s !== null ? r.parse(s, l) : i ?? s;
        }, "get"),
        getAll: /* @__PURE__ */ a(function(o) {
          return this.each(function(i, s, l) {
            l[i] = s;
          }, o || {});
        }, "getAll"),
        transact: /* @__PURE__ */ a(function(o, i, s) {
          var l = this.get(o, s), u = i(l);
          return this.set(o, u === void 0 ? l : u), this;
        }, "transact"),
        set: /* @__PURE__ */ a(function(o, i, s) {
          var l = this.get(o), u;
          return l != null && s === !1 ? i : (typeof s == "function" && (u = s, s = void 0), r.set(this._area, this._in(o), r.stringify(i, u),
          s) || l);
        }, "set"),
        setAll: /* @__PURE__ */ a(function(o, i) {
          var s, l;
          for (var u in o)
            l = o[u], this.set(u, l, i) !== l && (s = !0);
          return s;
        }, "setAll"),
        add: /* @__PURE__ */ a(function(o, i, s) {
          var l = this.get(o);
          if (l instanceof Array)
            i = l.concat(i);
          else if (l !== null) {
            var u = typeof l;
            if (u === typeof i && u === "object") {
              for (var c in i)
                l[c] = i[c];
              i = l;
            } else
              i = l + i;
          }
          return r.set(this._area, this._in(o), r.stringify(i, s)), i;
        }, "add"),
        remove: /* @__PURE__ */ a(function(o, i) {
          var s = this.get(o, i);
          return r.remove(this._area, this._in(o)), s;
        }, "remove"),
        clear: /* @__PURE__ */ a(function() {
          return this._ns ? this.each(function(o) {
            r.remove(this._area, this._in(o));
          }, 1) : r.clear(this._area), this;
        }, "clear"),
        clearAll: /* @__PURE__ */ a(function() {
          var o = this._area;
          for (var i in r.areas)
            r.areas.hasOwnProperty(i) && (this._area = r.areas[i], this.clear());
          return this._area = o, this;
        }, "clearAll"),
        // internal use functions
        _in: /* @__PURE__ */ a(function(o) {
          return typeof o != "string" && (o = r.stringify(o)), this._ns ? this._ns + o : o;
        }, "_in"),
        _out: /* @__PURE__ */ a(function(o) {
          return this._ns ? o && o.indexOf(this._ns) === 0 ? o.substring(this._ns.length) : void 0 : (
            // so each() knows to skip it
            o
          );
        }, "_out")
      },
      // end _.storeAPI
      storage: /* @__PURE__ */ a(function(o) {
        return r.inherit(r.storageAPI, { items: {}, name: o });
      }, "storage"),
      storageAPI: {
        length: 0,
        has: /* @__PURE__ */ a(function(o) {
          return this.items.hasOwnProperty(o);
        }, "has"),
        key: /* @__PURE__ */ a(function(o) {
          var i = 0;
          for (var s in this.items)
            if (this.has(s) && o === i++)
              return s;
        }, "key"),
        setItem: /* @__PURE__ */ a(function(o, i) {
          this.has(o) || this.length++, this.items[o] = i;
        }, "setItem"),
        removeItem: /* @__PURE__ */ a(function(o) {
          this.has(o) && (delete this.items[o], this.length--);
        }, "removeItem"),
        getItem: /* @__PURE__ */ a(function(o) {
          return this.has(o) ? this.items[o] : null;
        }, "getItem"),
        clear: /* @__PURE__ */ a(function() {
          for (var o in this.items)
            this.removeItem(o);
        }, "clear")
      }
      // end _.storageAPI
    }, n = (
      // safely set this up (throws error in IE10/32bit mode for local files)
      r.Store("local", function() {
        try {
          return localStorage;
        } catch {
        }
      }())
    );
    n.local = n, n._ = r, n.area("session", function() {
      try {
        return sessionStorage;
      } catch {
      }
    }()), n.area("page", r.storage("page")), typeof t == "function" && t.amd !== void 0 ? t("store2", [], function() {
      return n;
    }) : typeof h4 < "u" && h4.exports ? h4.exports = n : (e.store && (r.conflict = e.store), e.store = n);
  })(m4, m4 && m4.define);
});

// ../node_modules/browser-dtector/browser-dtector.umd.min.js
var Vme = R((ZN, e9) => {
  (function(e, t) {
    typeof ZN == "object" && typeof e9 < "u" ? e9.exports = t() : typeof define == "function" && define.amd ? define(t) : (e = typeof globalThis <
    "u" ? globalThis : e || self).BrowserDetector = t();
  })(ZN, function() {
    "use strict";
    function e(s, l) {
      for (var u = 0; u < l.length; u++) {
        var c = l[u];
        c.enumerable = c.enumerable || !1, c.configurable = !0, "value" in c && (c.writable = !0), Object.defineProperty(s, (d = c.key, f = void 0,
        typeof (f = function(p, m) {
          if (typeof p != "object" || p === null) return p;
          var v = p[Symbol.toPrimitive];
          if (v !== void 0) {
            var y = v.call(p, m || "default");
            if (typeof y != "object") return y;
            throw new TypeError("@@toPrimitive must return a primitive value.");
          }
          return (m === "string" ? String : Number)(p);
        }(d, "string")) == "symbol" ? f : String(f)), c);
      }
      var d, f;
    }
    a(e, "e");
    var t = { chrome: "Google Chrome", brave: "Brave", crios: "Google Chrome", edge: "Microsoft Edge", edg: "Microsoft Edge", edgios: "Micro\
soft Edge", fennec: "Mozilla Firefox", jsdom: "JsDOM", mozilla: "Mozilla Firefox", fxios: "Mozilla Firefox", msie: "Microsoft Internet Explo\
rer", opera: "Opera", opios: "Opera", opr: "Opera", opt: "Opera", rv: "Microsoft Internet Explorer", safari: "Safari", samsungbrowser: "Sams\
ung Browser", electron: "Electron" }, r = { android: "Android", androidTablet: "Android Tablet", cros: "Chrome OS", fennec: "Android Tablet",
    ipad: "IPad", iphone: "IPhone", jsdom: "JsDOM", linux: "Linux", mac: "Macintosh", tablet: "Android Tablet", win: "Windows", "windows pho\
ne": "Windows Phone", xbox: "Microsoft Xbox" }, n = /* @__PURE__ */ a(function(s) {
      var l = new RegExp("^-?\\d+(?:.\\d{0,".concat(arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : -1, "})?")), u = Number(
      s).toString().match(l);
      return u ? u[0] : null;
    }, "n"), o = /* @__PURE__ */ a(function() {
      return typeof window < "u" ? window.navigator : null;
    }, "i"), i = function() {
      function s(d) {
        var f;
        (function(p, m) {
          if (!(p instanceof m)) throw new TypeError("Cannot call a class as a function");
        })(this, s), this.userAgent = d || ((f = o()) === null || f === void 0 ? void 0 : f.userAgent) || null;
      }
      a(s, "t");
      var l, u, c;
      return l = s, u = [{ key: "parseUserAgent", value: /* @__PURE__ */ a(function(d) {
        var f, p, m, v = {}, y = d || this.userAgent || "", b = y.toLowerCase().replace(/\s\s+/g, " "), g = /(edge)\/([\w.]+)/.exec(b) || /(edg)[/]([\w.]+)/.
        exec(b) || /(opr)[/]([\w.]+)/.exec(b) || /(opt)[/]([\w.]+)/.exec(b) || /(fxios)[/]([\w.]+)/.exec(b) || /(edgios)[/]([\w.]+)/.exec(b) ||
        /(jsdom)[/]([\w.]+)/.exec(b) || /(samsungbrowser)[/]([\w.]+)/.exec(b) || /(electron)[/]([\w.]+)/.exec(b) || /(chrome)[/]([\w.]+)/.exec(
        b) || /(crios)[/]([\w.]+)/.exec(b) || /(opios)[/]([\w.]+)/.exec(b) || /(version)(applewebkit)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(
        b) || /(webkit)[/]([\w.]+).*(version)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(b) || /(applewebkit)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(
        b) || /(webkit)[/]([\w.]+)/.exec(b) || /(opera)(?:.*version|)[/]([\w.]+)/.exec(b) || /(msie) ([\w.]+)/.exec(b) || /(fennec)[/]([\w.]+)/.
        exec(b) || b.indexOf("trident") >= 0 && /(rv)(?::| )([\w.]+)/.exec(b) || b.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.
        exec(b) || [], w = /(ipad)/.exec(b) || /(ipod)/.exec(b) || /(iphone)/.exec(b) || /(jsdom)/.exec(b) || /(windows phone)/.exec(b) || /(xbox)/.
        exec(b) || /(win)/.exec(b) || /(tablet)/.exec(b) || /(android)/.test(b) && /(mobile)/.test(b) === !1 && ["androidTablet"] || /(android)/.
        exec(b) || /(mac)/.exec(b) || /(linux)/.exec(b) || /(cros)/.exec(b) || [], E = g[5] || g[3] || g[1] || null, x = w[0] || null, S = g[4] ||
        g[2] || null, C = o();
        E === "chrome" && typeof (C == null || (f = C.brave) === null || f === void 0 ? void 0 : f.isBrave) == "function" && (E = "brave"), E &&
        (v[E] = !0), x && (v[x] = !0);
        var _ = !!(v.tablet || v.android || v.androidTablet), A = !!(v.ipad || v.tablet || v.androidTablet), O = !!(v.android || v.androidTablet ||
        v.tablet || v.ipad || v.ipod || v.iphone || v["windows phone"]), q = !!(v.cros || v.mac || v.linux || v.win), M = !!(v.brave || v.chrome ||
        v.crios || v.opr || v.safari || v.edg || v.electron), U = !!(v.msie || v.rv);
        return { name: (p = t[E]) !== null && p !== void 0 ? p : null, platform: (m = r[x]) !== null && m !== void 0 ? m : null, userAgent: y,
        version: S, shortVersion: S ? n(parseFloat(S), 2) : null, isAndroid: _, isTablet: A, isMobile: O, isDesktop: q, isWebkit: M, isIE: U };
      }, "value") }, { key: "getBrowserInfo", value: /* @__PURE__ */ a(function() {
        var d = this.parseUserAgent();
        return { name: d.name, platform: d.platform, userAgent: d.userAgent, version: d.version, shortVersion: d.shortVersion };
      }, "value") }], c = [{ key: "VERSION", get: /* @__PURE__ */ a(function() {
        return "3.4.0";
      }, "get") }], u && e(l.prototype, u), c && e(l, c), Object.defineProperty(l, "prototype", { writable: !1 }), s;
    }();
    return i;
  });
});

// src/core-events/index.ts
var Gs = {};
_e(Gs, {
  ARGTYPES_INFO_REQUEST: () => Ehe,
  ARGTYPES_INFO_RESPONSE: () => Rhe,
  CHANNEL_CREATED: () => rhe,
  CHANNEL_WS_DISCONNECT: () => E4,
  CONFIG_ERROR: () => R4,
  CREATE_NEW_STORYFILE_REQUEST: () => nhe,
  CREATE_NEW_STORYFILE_RESPONSE: () => ohe,
  CURRENT_STORY_WAS_SET: () => x4,
  DOCS_PREPARED: () => af,
  DOCS_RENDERED: () => ahe,
  FILE_COMPONENT_SEARCH_REQUEST: () => ihe,
  FILE_COMPONENT_SEARCH_RESPONSE: () => she,
  FORCE_REMOUNT: () => xu,
  FORCE_RE_RENDER: () => lhe,
  GLOBALS_UPDATED: () => sf,
  NAVIGATE_URL: () => S4,
  PLAY_FUNCTION_THREW_EXCEPTION: () => uhe,
  PRELOAD_ENTRIES: () => C4,
  PREVIEW_BUILDER_PROGRESS: () => dhe,
  PREVIEW_KEYDOWN: () => _4,
  REGISTER_SUBSCRIPTION: () => fhe,
  REQUEST_WHATS_NEW_DATA: () => $4,
  RESET_STORY_ARGS: () => P4,
  RESULT_WHATS_NEW_DATA: () => H4,
  SAVE_STORY_REQUEST: () => bhe,
  SAVE_STORY_RESPONSE: () => whe,
  SELECT_STORY: () => T4,
  SET_CONFIG: () => vi,
  SET_CURRENT_STORY: () => Vs,
  SET_FILTER: () => A4,
  SET_GLOBALS: () => O4,
  SET_INDEX: () => I4,
  SET_STORIES: () => lf,
  SET_WHATS_NEW_CACHE: () => z4,
  SHARED_STATE_CHANGED: () => r0,
  SHARED_STATE_SET: () => Ws,
  STORIES_COLLAPSE_ALL: () => M4,
  STORIES_EXPAND_ALL: () => N4,
  STORY_ARGS_UPDATED: () => uf,
  STORY_CHANGED: () => cf,
  STORY_ERRORED: () => phe,
  STORY_FINISHED: () => hhe,
  STORY_HOT_UPDATED: () => vhe,
  STORY_INDEX_INVALIDATED: () => L4,
  STORY_MISSING: () => k4,
  STORY_PREPARED: () => df,
  STORY_RENDERED: () => mhe,
  STORY_RENDER_PHASE_CHANGED: () => q4,
  STORY_SPECIFIED: () => D4,
  STORY_THREW_EXCEPTION: () => ghe,
  STORY_UNCHANGED: () => yhe,
  TELEMETRY_ERROR: () => V4,
  TOGGLE_WHATS_NEW_NOTIFICATIONS: () => U4,
  UNHANDLED_ERRORS_WHILE_PLAYING: () => che,
  UPDATE_GLOBALS: () => F4,
  UPDATE_QUERY_PARAMS: () => j4,
  UPDATE_STORY_ARGS: () => B4,
  default: () => the
});
var w4 = /* @__PURE__ */ ((oe) => (oe.CHANNEL_WS_DISCONNECT = "channelWSDisconnect", oe.CHANNEL_CREATED = "channelCreated", oe.CONFIG_ERROR =
"configError", oe.STORY_INDEX_INVALIDATED = "storyIndexInvalidated", oe.STORY_SPECIFIED = "storySpecified", oe.SET_CONFIG = "setConfig", oe.
SET_STORIES = "setStories", oe.SET_INDEX = "setIndex", oe.SET_CURRENT_STORY = "setCurrentStory", oe.CURRENT_STORY_WAS_SET = "currentStoryWas\
Set", oe.FORCE_RE_RENDER = "forceReRender", oe.FORCE_REMOUNT = "forceRemount", oe.PRELOAD_ENTRIES = "preloadStories", oe.STORY_PREPARED = "s\
toryPrepared", oe.DOCS_PREPARED = "docsPrepared", oe.STORY_CHANGED = "storyChanged", oe.STORY_UNCHANGED = "storyUnchanged", oe.STORY_RENDERED =
"storyRendered", oe.STORY_FINISHED = "storyFinished", oe.STORY_MISSING = "storyMissing", oe.STORY_ERRORED = "storyErrored", oe.STORY_THREW_EXCEPTION =
"storyThrewException", oe.STORY_RENDER_PHASE_CHANGED = "storyRenderPhaseChanged", oe.STORY_HOT_UPDATED = "storyHotUpdated", oe.PLAY_FUNCTION_THREW_EXCEPTION =
"playFunctionThrewException", oe.UNHANDLED_ERRORS_WHILE_PLAYING = "unhandledErrorsWhilePlaying", oe.UPDATE_STORY_ARGS = "updateStoryArgs", oe.
STORY_ARGS_UPDATED = "storyArgsUpdated", oe.RESET_STORY_ARGS = "resetStoryArgs", oe.SET_FILTER = "setFilter", oe.SET_GLOBALS = "setGlobals",
oe.UPDATE_GLOBALS = "updateGlobals", oe.GLOBALS_UPDATED = "globalsUpdated", oe.REGISTER_SUBSCRIPTION = "registerSubscription", oe.PREVIEW_KEYDOWN =
"previewKeydown", oe.PREVIEW_BUILDER_PROGRESS = "preview_builder_progress", oe.SELECT_STORY = "selectStory", oe.STORIES_COLLAPSE_ALL = "stor\
iesCollapseAll", oe.STORIES_EXPAND_ALL = "storiesExpandAll", oe.DOCS_RENDERED = "docsRendered", oe.SHARED_STATE_CHANGED = "sharedStateChange\
d", oe.SHARED_STATE_SET = "sharedStateSet", oe.NAVIGATE_URL = "navigateUrl", oe.UPDATE_QUERY_PARAMS = "updateQueryParams", oe.REQUEST_WHATS_NEW_DATA =
"requestWhatsNewData", oe.RESULT_WHATS_NEW_DATA = "resultWhatsNewData", oe.SET_WHATS_NEW_CACHE = "setWhatsNewCache", oe.TOGGLE_WHATS_NEW_NOTIFICATIONS =
"toggleWhatsNewNotifications", oe.TELEMETRY_ERROR = "telemetryError", oe.FILE_COMPONENT_SEARCH_REQUEST = "fileComponentSearchRequest", oe.FILE_COMPONENT_SEARCH_RESPONSE =
"fileComponentSearchResponse", oe.SAVE_STORY_REQUEST = "saveStoryRequest", oe.SAVE_STORY_RESPONSE = "saveStoryResponse", oe.ARGTYPES_INFO_REQUEST =
"argtypesInfoRequest", oe.ARGTYPES_INFO_RESPONSE = "argtypesInfoResponse", oe.CREATE_NEW_STORYFILE_REQUEST = "createNewStoryfileRequest", oe.
CREATE_NEW_STORYFILE_RESPONSE = "createNewStoryfileResponse", oe))(w4 || {}), the = w4, {
  CHANNEL_WS_DISCONNECT: E4,
  CHANNEL_CREATED: rhe,
  CONFIG_ERROR: R4,
  CREATE_NEW_STORYFILE_REQUEST: nhe,
  CREATE_NEW_STORYFILE_RESPONSE: ohe,
  CURRENT_STORY_WAS_SET: x4,
  DOCS_PREPARED: af,
  DOCS_RENDERED: ahe,
  FILE_COMPONENT_SEARCH_REQUEST: ihe,
  FILE_COMPONENT_SEARCH_RESPONSE: she,
  FORCE_RE_RENDER: lhe,
  FORCE_REMOUNT: xu,
  GLOBALS_UPDATED: sf,
  NAVIGATE_URL: S4,
  PLAY_FUNCTION_THREW_EXCEPTION: uhe,
  UNHANDLED_ERRORS_WHILE_PLAYING: che,
  PRELOAD_ENTRIES: C4,
  PREVIEW_BUILDER_PROGRESS: dhe,
  PREVIEW_KEYDOWN: _4,
  REGISTER_SUBSCRIPTION: fhe,
  RESET_STORY_ARGS: P4,
  SELECT_STORY: T4,
  SET_CONFIG: vi,
  SET_CURRENT_STORY: Vs,
  SET_FILTER: A4,
  SET_GLOBALS: O4,
  SET_INDEX: I4,
  SET_STORIES: lf,
  SHARED_STATE_CHANGED: r0,
  SHARED_STATE_SET: Ws,
  STORIES_COLLAPSE_ALL: M4,
  STORIES_EXPAND_ALL: N4,
  STORY_ARGS_UPDATED: uf,
  STORY_CHANGED: cf,
  STORY_ERRORED: phe,
  STORY_INDEX_INVALIDATED: L4,
  STORY_MISSING: k4,
  STORY_PREPARED: df,
  STORY_RENDER_PHASE_CHANGED: q4,
  STORY_RENDERED: mhe,
  STORY_FINISHED: hhe,
  STORY_SPECIFIED: D4,
  STORY_THREW_EXCEPTION: ghe,
  STORY_UNCHANGED: yhe,
  STORY_HOT_UPDATED: vhe,
  UPDATE_GLOBALS: F4,
  UPDATE_QUERY_PARAMS: j4,
  UPDATE_STORY_ARGS: B4,
  REQUEST_WHATS_NEW_DATA: $4,
  RESULT_WHATS_NEW_DATA: H4,
  SET_WHATS_NEW_CACHE: z4,
  TOGGLE_WHATS_NEW_NOTIFICATIONS: U4,
  TELEMETRY_ERROR: V4,
  SAVE_STORY_REQUEST: bhe,
  SAVE_STORY_RESPONSE: whe,
  ARGTYPES_INFO_REQUEST: Ehe,
  ARGTYPES_INFO_RESPONSE: Rhe
} = w4;

// src/manager/globals/globals.ts
var W4 = {
  react: "__REACT__",
  "react-dom": "__REACT_DOM__",
  "react-dom/client": "__REACT_DOM_CLIENT__",
  "@storybook/icons": "__STORYBOOK_ICONS__",
  "storybook/manager-api": "__STORYBOOK_API__",
  "storybook/test": "__STORYBOOK_TEST__",
  "storybook/theming": "__STORYBOOK_THEMING__",
  "storybook/theming/create": "__STORYBOOK_THEMING_CREATE__",
  "storybook/internal/channels": "__STORYBOOK_CHANNELS__",
  "storybook/internal/client-logger": "__STORYBOOK_CLIENT_LOGGER__",
  "storybook/internal/components": "__STORYBOOK_COMPONENTS__",
  "storybook/internal/core-errors": "__STORYBOOK_CORE_EVENTS__",
  "storybook/internal/core-events": "__STORYBOOK_CORE_EVENTS__",
  "storybook/internal/manager-errors": "__STORYBOOK_CORE_EVENTS_MANAGER_ERRORS__",
  "storybook/internal/router": "__STORYBOOK_ROUTER__",
  "storybook/internal/types": "__STORYBOOK_TYPES__",
  // @deprecated TODO: delete in 9.1
  "storybook/internal/manager-api": "__STORYBOOK_API__",
  "storybook/internal/theming": "__STORYBOOK_THEMING__",
  "storybook/internal/theming/create": "__STORYBOOK_THEMING_CREATE__"
}, a9 = Object.keys(W4);

// src/manager/globals/runtime.ts
var $st = N(H(), 1), Hst = N(za(), 1), zst = N(Fq(), 1);

// src/channels/index.ts
var NP = {};
_e(NP, {
  Channel: () => da,
  HEARTBEAT_INTERVAL: () => OP,
  HEARTBEAT_MAX_LATENCY: () => IP,
  PostMessageTransport: () => sc,
  WebsocketTransport: () => lc,
  createBrowserChannel: () => Zve,
  default: () => Qve
});
Ct();

// src/shared/universal-store/index.ts
Ao();

// src/shared/universal-store/instances.ts
var fP = /* @__PURE__ */ new Map();

// src/shared/universal-store/index.ts
var Bge = "UNIVERSAL_STORE:", Hn = {
  PENDING: "PENDING",
  RESOLVED: "RESOLVED",
  REJECTED: "REJECTED"
}, pe = class pe {
  constructor(t, r) {
    /** Enable debug logs for this store */
    this.debugging = !1;
    // TODO: narrow type of listeners based on event type
    this.listeners = /* @__PURE__ */ new Map([["*", /* @__PURE__ */ new Set()]]);
    /** Gets the current state */
    this.getState = /* @__PURE__ */ a(() => (this.debug("getState", { state: this.state }), this.state), "getState");
    /**
     * Subscribes to store events
     *
     * @returns A function to unsubscribe
     */
    this.subscribe = /* @__PURE__ */ a((t, r) => {
      let n = typeof t == "function", o = n ? "*" : t, i = n ? t : r;
      if (this.debug("subscribe", { eventType: o, listener: i }), !i)
        throw new TypeError(
          `Missing first subscribe argument, or second if first is the event type, when subscribing to a UniversalStore with id '${this.id}'`
        );
      return this.listeners.has(o) || this.listeners.set(o, /* @__PURE__ */ new Set()), this.listeners.get(o).add(i), () => {
        this.debug("unsubscribe", { eventType: o, listener: i }), this.listeners.has(o) && (this.listeners.get(o).delete(i), this.listeners.
        get(o)?.size === 0 && this.listeners.delete(o));
      };
    }, "subscribe");
    /** Sends a custom event to the other stores */
    this.send = /* @__PURE__ */ a((t) => {
      if (this.debug("send", { event: t }), this.status !== pe.Status.READY)
        throw new TypeError(
          _t`Cannot send event before store is ready. You can get the current status with store.status,
        or await store.readyPromise to wait for the store to be ready before sending events.
        ${JSON.stringify(
            {
              event: t,
              id: this.id,
              actor: this.actor,
              environment: this.environment
            },
            null,
            2
          )}`
        );
      this.emitToListeners(t, { actor: this.actor }), this.emitToChannel(t, { actor: this.actor });
    }, "send");
    if (this.debugging = t.debug ?? !1, !pe.isInternalConstructing)
      throw new TypeError(
        "UniversalStore is not constructable - use UniversalStore.create() instead"
      );
    if (pe.isInternalConstructing = !1, this.id = t.id, this.actorId = Date.now().toString(36) + Math.random().toString(36).substring(2), this.
    actorType = t.leader ? pe.ActorType.LEADER : pe.ActorType.FOLLOWER, this.state = t.initialState, this.channelEventName = `${Bge}${this.id}`,
    this.debug("constructor", {
      options: t,
      environmentOverrides: r,
      channelEventName: this.channelEventName
    }), this.actor.type === pe.ActorType.LEADER)
      this.syncing = {
        state: Hn.RESOLVED,
        promise: Promise.resolve()
      };
    else {
      let n, o, i = new Promise((s, l) => {
        n = /* @__PURE__ */ a(() => {
          this.syncing.state === Hn.PENDING && (this.syncing.state = Hn.RESOLVED, s());
        }, "syncingResolve"), o = /* @__PURE__ */ a((u) => {
          this.syncing.state === Hn.PENDING && (this.syncing.state = Hn.REJECTED, l(u));
        }, "syncingReject");
      });
      this.syncing = {
        state: Hn.PENDING,
        promise: i,
        resolve: n,
        reject: o
      };
    }
    this.getState = this.getState.bind(this), this.setState = this.setState.bind(this), this.subscribe = this.subscribe.bind(this), this.onStateChange =
    this.onStateChange.bind(this), this.send = this.send.bind(this), this.emitToChannel = this.emitToChannel.bind(this), this.prepareThis = this.
    prepareThis.bind(this), this.emitToListeners = this.emitToListeners.bind(this), this.handleChannelEvents = this.handleChannelEvents.bind(
    this), this.debug = this.debug.bind(this), this.channel = r?.channel ?? pe.preparation.channel, this.environment = r?.environment ?? pe.
    preparation.environment, this.channel && this.environment ? (pe.preparation.resolve({ channel: this.channel, environment: this.environment }),
    this.prepareThis({ channel: this.channel, environment: this.environment })) : pe.preparation.promise.then(this.prepareThis);
  }
  static setupPreparationPromise() {
    let t, r, n = new Promise(
      (o, i) => {
        t = /* @__PURE__ */ a((s) => {
          o(s);
        }, "resolveRef"), r = /* @__PURE__ */ a((...s) => {
          i(s);
        }, "rejectRef");
      }
    );
    pe.preparation = {
      resolve: t,
      reject: r,
      promise: n
    };
  }
  /** The actor object representing the store instance with a unique ID and a type */
  get actor() {
    return Object.freeze({
      id: this.actorId,
      type: this.actorType,
      environment: this.environment ?? pe.Environment.UNKNOWN
    });
  }
  /**
   * The current state of the store, that signals both if the store is prepared by Storybook and
   * also - in the case of a follower - if the state has been synced with the leader's state.
   */
  get status() {
    if (!this.channel || !this.environment)
      return pe.Status.UNPREPARED;
    switch (this.syncing?.state) {
      case Hn.PENDING:
      case void 0:
        return pe.Status.SYNCING;
      case Hn.REJECTED:
        return pe.Status.ERROR;
      case Hn.RESOLVED:
      default:
        return pe.Status.READY;
    }
  }
  /**
   * A promise that resolves when the store is fully ready. A leader will be ready when the store
   * has been prepared by Storybook, which is almost instantly.
   *
   * A follower will be ready when the state has been synced with the leader's state, within a few
   * hundred milliseconds.
   */
  untilReady() {
    return Promise.all([pe.preparation.promise, this.syncing?.promise]);
  }
  /** Creates a new instance of UniversalStore */
  static create(t) {
    if (!t || typeof t?.id != "string")
      throw new TypeError("id is required and must be a string, when creating a UniversalStore");
    t.debug && console.debug(
      _t`[UniversalStore]
        create`,
      { options: t }
    );
    let r = fP.get(t.id);
    if (r)
      return console.warn(_t`UniversalStore with id "${t.id}" already exists in this environment, re-using existing.
        You should reuse the existing instance instead of trying to create a new one.`), r;
    pe.isInternalConstructing = !0;
    let n = new pe(t);
    return fP.set(t.id, n), n;
  }
  /**
   * Used by Storybook to set the channel for all instances of UniversalStore in the given
   * environment.
   *
   * @internal
   */
  static __prepare(t, r) {
    pe.preparation.channel = t, pe.preparation.environment = r, pe.preparation.resolve({ channel: t, environment: r });
  }
  /**
   * Updates the store's state
   *
   * Either a new state or a state updater function can be passed to the method.
   */
  setState(t) {
    let r = this.state, n = typeof t == "function" ? t(r) : t;
    if (this.debug("setState", { newState: n, previousState: r, updater: t }), this.status !== pe.Status.READY)
      throw new TypeError(
        _t`Cannot set state before store is ready. You can get the current status with store.status,
        or await store.readyPromise to wait for the store to be ready before sending events.
        ${JSON.stringify(
          {
            newState: n,
            id: this.id,
            actor: this.actor,
            environment: this.environment
          },
          null,
          2
        )}`
      );
    this.state = n;
    let o = {
      type: pe.InternalEventType.SET_STATE,
      payload: {
        state: n,
        previousState: r
      }
    };
    this.emitToChannel(o, { actor: this.actor }), this.emitToListeners(o, { actor: this.actor });
  }
  /**
   * Subscribes to state changes
   *
   * @returns Unsubscribe function
   */
  onStateChange(t) {
    return this.debug("onStateChange", { listener: t }), this.subscribe(
      pe.InternalEventType.SET_STATE,
      ({ payload: r }, n) => {
        t(r.state, r.previousState, n);
      }
    );
  }
  emitToChannel(t, r) {
    this.debug("emitToChannel", { event: t, eventInfo: r, channel: !!this.channel }), this.channel?.emit(this.channelEventName, {
      event: t,
      eventInfo: r
    });
  }
  prepareThis({
    channel: t,
    environment: r
  }) {
    this.channel = t, this.environment = r, this.debug("prepared", { channel: !!t, environment: r }), this.channel.on(this.channelEventName,
    this.handleChannelEvents), this.actor.type === pe.ActorType.LEADER ? this.emitToChannel(
      { type: pe.InternalEventType.LEADER_CREATED },
      { actor: this.actor }
    ) : (this.emitToChannel(
      { type: pe.InternalEventType.FOLLOWER_CREATED },
      { actor: this.actor }
    ), this.emitToChannel(
      { type: pe.InternalEventType.EXISTING_STATE_REQUEST },
      { actor: this.actor }
    ), setTimeout(() => {
      this.syncing.reject(
        new TypeError(
          `No existing state found for follower with id: '${this.id}'. Make sure a leader with the same id exists before creating a follower\
.`
        )
      );
    }, 1e3));
  }
  emitToListeners(t, r) {
    let n = this.listeners.get(t.type), o = this.listeners.get("*");
    this.debug("emitToListeners", {
      event: t,
      eventInfo: r,
      eventTypeListeners: n,
      everythingListeners: o
    }), [...n ?? [], ...o ?? []].forEach(
      (i) => i(t, r)
    );
  }
  handleChannelEvents(t) {
    let { event: r, eventInfo: n } = t;
    if ([n.actor.id, n.forwardingActor?.id].includes(this.actor.id)) {
      this.debug("handleChannelEvents: Ignoring event from self", { channelEvent: t });
      return;
    } else if (this.syncing?.state === Hn.PENDING && r.type !== pe.InternalEventType.EXISTING_STATE_RESPONSE) {
      this.debug("handleChannelEvents: Ignoring event while syncing", { channelEvent: t });
      return;
    }
    if (this.debug("handleChannelEvents", { channelEvent: t }), this.actor.type === pe.ActorType.LEADER) {
      let o = !0;
      switch (r.type) {
        case pe.InternalEventType.EXISTING_STATE_REQUEST:
          o = !1;
          let i = {
            type: pe.InternalEventType.EXISTING_STATE_RESPONSE,
            payload: this.state
          };
          this.debug("handleChannelEvents: responding to existing state request", {
            responseEvent: i
          }), this.emitToChannel(i, { actor: this.actor }), this.emitToListeners(i, { actor: this.actor });
          break;
        case pe.InternalEventType.LEADER_CREATED:
          o = !1, this.syncing.state = Hn.REJECTED, this.debug("handleChannelEvents: erroring due to second leader being created", {
            event: r
          }), console.error(
            _t`Detected multiple UniversalStore leaders created with the same id "${this.id}".
            Only one leader can exists at a time, your stores are now in an invalid state.
            Leaders detected:
            this: ${JSON.stringify(this.actor, null, 2)}
            other: ${JSON.stringify(n.actor, null, 2)}`
          );
          break;
      }
      o && (this.debug("handleChannelEvents: forwarding event", { channelEvent: t }), this.emitToChannel(r, { actor: n.actor, forwardingActor: this.
      actor }));
    }
    if (this.actor.type === pe.ActorType.FOLLOWER)
      switch (r.type) {
        case pe.InternalEventType.EXISTING_STATE_RESPONSE:
          if (this.debug("handleChannelEvents: Setting state from leader's existing state response", {
            event: r
          }), this.syncing?.state !== Hn.PENDING)
            break;
          this.syncing.resolve?.();
          let o = {
            type: pe.InternalEventType.SET_STATE,
            payload: {
              state: r.payload,
              previousState: this.state
            }
          };
          this.state = r.payload, this.emitToListeners(o, n);
          break;
      }
    switch (r.type) {
      case pe.InternalEventType.SET_STATE:
        this.debug("handleChannelEvents: Setting state", { event: r }), this.state = r.payload.state;
        break;
    }
    this.emitToListeners(r, { actor: n.actor });
  }
  debug(t, r) {
    this.debugging && console.debug(
      _t`[UniversalStore::${this.id}::${this.environment ?? pe.Environment.UNKNOWN}]
        ${t}`,
      JSON.stringify(
        {
          data: r,
          actor: this.actor,
          state: this.state,
          status: this.status
        },
        null,
        2
      )
    );
  }
  /**
   * Used to reset the static fields of the UniversalStore class when cleaning up tests
   *
   * @internal
   */
  static __reset() {
    pe.preparation.reject(new Error("reset")), pe.setupPreparationPromise(), pe.isInternalConstructing = !1;
  }
};
a(pe, "UniversalStore"), /**
 * Defines the possible actor types in the store system
 *
 * @readonly
 */
pe.ActorType = {
  LEADER: "LEADER",
  FOLLOWER: "FOLLOWER"
}, /**
 * Defines the possible environments the store can run in
 *
 * @readonly
 */
pe.Environment = {
  SERVER: "SERVER",
  MANAGER: "MANAGER",
  PREVIEW: "PREVIEW",
  UNKNOWN: "UNKNOWN",
  MOCK: "MOCK"
}, /**
 * Internal event types used for store synchronization
 *
 * @readonly
 */
pe.InternalEventType = {
  EXISTING_STATE_REQUEST: "__EXISTING_STATE_REQUEST",
  EXISTING_STATE_RESPONSE: "__EXISTING_STATE_RESPONSE",
  SET_STATE: "__SET_STATE",
  LEADER_CREATED: "__LEADER_CREATED",
  FOLLOWER_CREATED: "__FOLLOWER_CREATED"
}, pe.Status = {
  UNPREPARED: "UNPREPARED",
  SYNCING: "SYNCING",
  READY: "READY",
  ERROR: "ERROR"
}, // This is used to check if constructor was called from the static factory create()
pe.isInternalConstructing = !1, pe.setupPreparationPromise();
var ur = pe;

// src/channels/main.ts
var $ge = /* @__PURE__ */ a((e) => e.transports !== void 0, "isMulti"), Hge = /* @__PURE__ */ a(() => Math.random().toString(16).slice(2), "\
generateRandomId"), pP = class pP {
  constructor(t = {}) {
    this.sender = Hge();
    this.events = {};
    this.data = {};
    this.transports = [];
    this.isAsync = t.async || !1, $ge(t) ? (this.transports = t.transports || [], this.transports.forEach((r) => {
      r.setHandler((n) => this.handleEvent(n));
    })) : this.transports = t.transport ? [t.transport] : [], this.transports.forEach((r) => {
      r.setHandler((n) => this.handleEvent(n));
    });
  }
  get hasTransport() {
    return this.transports.length > 0;
  }
  addListener(t, r) {
    this.events[t] = this.events[t] || [], this.events[t].push(r);
  }
  emit(t, ...r) {
    let n = { type: t, args: r, from: this.sender }, o = {};
    r.length >= 1 && r[0] && r[0].options && (o = r[0].options);
    let i = /* @__PURE__ */ a(() => {
      this.transports.forEach((s) => {
        s.send(n, o);
      }), this.handleEvent(n);
    }, "handler");
    this.isAsync ? setImmediate(i) : i();
  }
  last(t) {
    return this.data[t];
  }
  eventNames() {
    return Object.keys(this.events);
  }
  listenerCount(t) {
    let r = this.listeners(t);
    return r ? r.length : 0;
  }
  listeners(t) {
    return this.events[t] || void 0;
  }
  once(t, r) {
    let n = this.onceListener(t, r);
    this.addListener(t, n);
  }
  removeAllListeners(t) {
    t ? this.events[t] && delete this.events[t] : this.events = {};
  }
  removeListener(t, r) {
    let n = this.listeners(t);
    n && (this.events[t] = n.filter((o) => o !== r));
  }
  on(t, r) {
    this.addListener(t, r);
  }
  off(t, r) {
    this.removeListener(t, r);
  }
  handleEvent(t) {
    let r = this.listeners(t.type);
    r && r.length && r.forEach((n) => {
      n.apply(t, t.args);
    }), this.data[t.type] = t.args;
  }
  onceListener(t, r) {
    let n = /* @__PURE__ */ a((...o) => (this.removeListener(t, n), r(...o)), "onceListener");
    return n;
  }
};
a(pP, "Channel");
var da = pP;

// src/channels/postmessage/index.ts
kr();
Ct();

// ../node_modules/telejson/dist/chunk-EAFQLD22.mjs
var Wge = Object.create, jq = Object.defineProperty, Gge = Object.getOwnPropertyDescriptor, Bq = Object.getOwnPropertyNames, Yge = Object.getPrototypeOf,
Kge = Object.prototype.hasOwnProperty, ye = /* @__PURE__ */ a((e, t) => /* @__PURE__ */ a(function() {
  return t || (0, e[Bq(e)[0]])((t = { exports: {} }).exports, t), t.exports;
}, "__require"), "__commonJS"), Xge = /* @__PURE__ */ a((e, t, r, n) => {
  if (t && typeof t == "object" || typeof t == "function")
    for (let o of Bq(t))
      !Kge.call(e, o) && o !== r && jq(e, o, { get: /* @__PURE__ */ a(() => t[o], "get"), enumerable: !(n = Gge(t, o)) || n.enumerable });
  return e;
}, "__copyProps"), _g = /* @__PURE__ */ a((e, t, r) => (r = e != null ? Wge(Yge(e)) : {}, Xge(
  // If the importer is in node compatibility mode or this is not an ESM
  // file that has been converted to a CommonJS file using a Babel-
  // compatible transform (i.e. "__esModule" has not been set), then set
  // "default" to the CommonJS "module.exports" for node compatibility.
  t || !e || !e.__esModule ? jq(r, "default", { value: e, enumerable: !0 }) : r,
  e
)), "__toESM"), Jge = [
  "bubbles",
  "cancelBubble",
  "cancelable",
  "composed",
  "currentTarget",
  "defaultPrevented",
  "eventPhase",
  "isTrusted",
  "returnValue",
  "srcElement",
  "target",
  "timeStamp",
  "type"
], Qge = ["detail"];
function $q(e) {
  let t = Jge.filter((r) => e[r] !== void 0).reduce((r, n) => (r[n] = e[n], r), {});
  if (e instanceof CustomEvent)
    for (let r of Qge.filter(
      (n) => e[n] !== void 0
    ))
      t[r] = e[r];
  return t;
}
a($q, "extractEventHiddenProperties");

// ../node_modules/telejson/dist/index.mjs
var Gq = ye({
  "node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.js"(e, t) {
    "use strict";
    t.exports = Object;
  }
}), Zge = ye({
  "node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js"(e, t) {
    "use strict";
    t.exports = Error;
  }
}), e1e = ye({
  "node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js"(e, t) {
    "use strict";
    t.exports = EvalError;
  }
}), t1e = ye({
  "node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js"(e, t) {
    "use strict";
    t.exports = RangeError;
  }
}), r1e = ye({
  "node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js"(e, t) {
    "use strict";
    t.exports = ReferenceError;
  }
}), n1e = ye({
  "node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js"(e, t) {
    "use strict";
    t.exports = SyntaxError;
  }
}), yP = ye({
  "node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js"(e, t) {
    "use strict";
    t.exports = TypeError;
  }
}), o1e = ye({
  "node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js"(e, t) {
    "use strict";
    t.exports = URIError;
  }
}), a1e = ye({
  "node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js"(e, t) {
    "use strict";
    t.exports = Math.abs;
  }
}), i1e = ye({
  "node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js"(e, t) {
    "use strict";
    t.exports = Math.floor;
  }
}), s1e = ye({
  "node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js"(e, t) {
    "use strict";
    t.exports = Math.max;
  }
}), l1e = ye({
  "node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js"(e, t) {
    "use strict";
    t.exports = Math.min;
  }
}), u1e = ye({
  "node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js"(e, t) {
    "use strict";
    t.exports = Math.pow;
  }
}), c1e = ye({
  "node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js"(e, t) {
    "use strict";
    t.exports = Math.round;
  }
}), d1e = ye({
  "node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js"(e, t) {
    "use strict";
    t.exports = Number.isNaN || /* @__PURE__ */ a(function(n) {
      return n !== n;
    }, "isNaN2");
  }
}), f1e = ye({
  "node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js"(e, t) {
    "use strict";
    var r = d1e();
    t.exports = /* @__PURE__ */ a(function(o) {
      return r(o) || o === 0 ? o : o < 0 ? -1 : 1;
    }, "sign");
  }
}), p1e = ye({
  "node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js"(e, t) {
    "use strict";
    t.exports = Object.getOwnPropertyDescriptor;
  }
}), vP = ye({
  "node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js"(e, t) {
    "use strict";
    var r = p1e();
    if (r)
      try {
        r([], "length");
      } catch {
        r = null;
      }
    t.exports = r;
  }
}), m1e = ye({
  "node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js"(e, t) {
    "use strict";
    var r = Object.defineProperty || !1;
    if (r)
      try {
        r({}, "a", { value: 1 });
      } catch {
        r = !1;
      }
    t.exports = r;
  }
}), Yq = ye({
  "node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js"(e, t) {
    "use strict";
    t.exports = /* @__PURE__ */ a(function() {
      if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function")
        return !1;
      if (typeof Symbol.iterator == "symbol")
        return !0;
      var n = {}, o = Symbol("test"), i = Object(o);
      if (typeof o == "string" || Object.prototype.toString.call(o) !== "[object Symbol]" || Object.prototype.toString.call(i) !== "[object \
Symbol]")
        return !1;
      var s = 42;
      n[o] = s;
      for (var l in n)
        return !1;
      if (typeof Object.keys == "function" && Object.keys(n).length !== 0 || typeof Object.getOwnPropertyNames == "function" && Object.getOwnPropertyNames(
      n).length !== 0)
        return !1;
      var u = Object.getOwnPropertySymbols(n);
      if (u.length !== 1 || u[0] !== o || !Object.prototype.propertyIsEnumerable.call(n, o))
        return !1;
      if (typeof Object.getOwnPropertyDescriptor == "function") {
        var c = (
          /** @type {PropertyDescriptor} */
          Object.getOwnPropertyDescriptor(n, o)
        );
        if (c.value !== s || c.enumerable !== !0)
          return !1;
      }
      return !0;
    }, "hasSymbols");
  }
}), Kq = ye({
  "node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js"(e, t) {
    "use strict";
    var r = typeof Symbol < "u" && Symbol, n = Yq();
    t.exports = /* @__PURE__ */ a(function() {
      return typeof r != "function" || typeof Symbol != "function" || typeof r("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 :
      n();
    }, "hasNativeSymbols");
  }
}), Xq = ye({
  "node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js"(e, t) {
    "use strict";
    t.exports = typeof Reflect < "u" && Reflect.getPrototypeOf || null;
  }
}), Jq = ye({
  "node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js"(e, t) {
    "use strict";
    var r = Gq();
    t.exports = r.getPrototypeOf || null;
  }
}), h1e = ye({
  "node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js"(e, t) {
    "use strict";
    var r = "Function.prototype.bind called on incompatible ", n = Object.prototype.toString, o = Math.max, i = "[object Function]", s = /* @__PURE__ */ a(
    function(d, f) {
      for (var p = [], m = 0; m < d.length; m += 1)
        p[m] = d[m];
      for (var v = 0; v < f.length; v += 1)
        p[v + d.length] = f[v];
      return p;
    }, "concatty2"), l = /* @__PURE__ */ a(function(d, f) {
      for (var p = [], m = f || 0, v = 0; m < d.length; m += 1, v += 1)
        p[v] = d[m];
      return p;
    }, "slicy2"), u = /* @__PURE__ */ a(function(c, d) {
      for (var f = "", p = 0; p < c.length; p += 1)
        f += c[p], p + 1 < c.length && (f += d);
      return f;
    }, "joiny");
    t.exports = /* @__PURE__ */ a(function(d) {
      var f = this;
      if (typeof f != "function" || n.apply(f) !== i)
        throw new TypeError(r + f);
      for (var p = l(arguments, 1), m, v = /* @__PURE__ */ a(function() {
        if (this instanceof m) {
          var E = f.apply(
            this,
            s(p, arguments)
          );
          return Object(E) === E ? E : this;
        }
        return f.apply(
          d,
          s(p, arguments)
        );
      }, "binder"), y = o(0, f.length - p.length), b = [], g = 0; g < y; g++)
        b[g] = "$" + g;
      if (m = Function("binder", "return function (" + u(b, ",") + "){ return binder.apply(this,arguments); }")(v), f.prototype) {
        var w = /* @__PURE__ */ a(function() {
        }, "Empty2");
        w.prototype = f.prototype, m.prototype = new w(), w.prototype = null;
      }
      return m;
    }, "bind");
  }
}), Pg = ye({
  "node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js"(e, t) {
    "use strict";
    var r = h1e();
    t.exports = Function.prototype.bind || r;
  }
}), bP = ye({
  "node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.js"(e, t) {
    "use strict";
    t.exports = Function.prototype.call;
  }
}), Qq = ye({
  "node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionApply.js"(e, t) {
    "use strict";
    t.exports = Function.prototype.apply;
  }
}), g1e = ye({
  "node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/reflectApply.js"(e, t) {
    "use strict";
    t.exports = typeof Reflect < "u" && Reflect && Reflect.apply;
  }
}), y1e = ye({
  "node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.js"(e, t) {
    "use strict";
    var r = Pg(), n = Qq(), o = bP(), i = g1e();
    t.exports = i || r.call(o, n);
  }
}), Zq = ye({
  "node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js"(e, t) {
    "use strict";
    var r = Pg(), n = yP(), o = bP(), i = y1e();
    t.exports = /* @__PURE__ */ a(function(l) {
      if (l.length < 1 || typeof l[0] != "function")
        throw new n("a function is required");
      return i(r, o, l);
    }, "callBindBasic");
  }
}), v1e = ye({
  "node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js"(e, t) {
    "use strict";
    var r = Zq(), n = vP(), o;
    try {
      o = /** @type {{ __proto__?: typeof Array.prototype }} */
      [].__proto__ === Array.prototype;
    } catch (u) {
      if (!u || typeof u != "object" || !("code" in u) || u.code !== "ERR_PROTO_ACCESS")
        throw u;
    }
    var i = !!o && n && n(
      Object.prototype,
      /** @type {keyof typeof Object.prototype} */
      "__proto__"
    ), s = Object, l = s.getPrototypeOf;
    t.exports = i && typeof i.get == "function" ? r([i.get]) : typeof l == "function" ? (
      /** @type {import('./get')} */
      /* @__PURE__ */ a(function(c) {
        return l(c == null ? c : s(c));
      }, "getDunder")
    ) : !1;
  }
}), b1e = ye({
  "node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js"(e, t) {
    "use strict";
    var r = Xq(), n = Jq(), o = v1e();
    t.exports = r ? /* @__PURE__ */ a(function(s) {
      return r(s);
    }, "getProto") : n ? /* @__PURE__ */ a(function(s) {
      if (!s || typeof s != "object" && typeof s != "function")
        throw new TypeError("getProto: not an object");
      return n(s);
    }, "getProto") : o ? /* @__PURE__ */ a(function(s) {
      return o(s);
    }, "getProto") : null;
  }
}), eD = ye({
  "node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js"(e, t) {
    "use strict";
    var r = Function.prototype.call, n = Object.prototype.hasOwnProperty, o = Pg();
    t.exports = o.call(r, n);
  }
}), w1e = ye({
  "node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js"(e, t) {
    "use strict";
    var r, n = Gq(), o = Zge(), i = e1e(), s = t1e(), l = r1e(), u = n1e(), c = yP(), d = o1e(), f = a1e(), p = i1e(), m = s1e(), v = l1e(),
    y = u1e(), b = c1e(), g = f1e(), w = Function, E = /* @__PURE__ */ a(function(or) {
      try {
        return w('"use strict"; return (' + or + ").constructor;")();
      } catch {
      }
    }, "getEvalledConstructor"), x = vP(), S = m1e(), C = /* @__PURE__ */ a(function() {
      throw new c();
    }, "throwTypeError"), _ = x ? function() {
      try {
        return arguments.callee, C;
      } catch {
        try {
          return x(arguments, "callee").get;
        } catch {
          return C;
        }
      }
    }() : C, A = Kq()(), O = b1e(), q = Jq(), M = Xq(), U = Qq(), Q = bP(), z = {}, $ = typeof Uint8Array > "u" || !O ? r : O(Uint8Array), D = {
      __proto__: null,
      "%AggregateError%": typeof AggregateError > "u" ? r : AggregateError,
      "%Array%": Array,
      "%ArrayBuffer%": typeof ArrayBuffer > "u" ? r : ArrayBuffer,
      "%ArrayIteratorPrototype%": A && O ? O([][Symbol.iterator]()) : r,
      "%AsyncFromSyncIteratorPrototype%": r,
      "%AsyncFunction%": z,
      "%AsyncGenerator%": z,
      "%AsyncGeneratorFunction%": z,
      "%AsyncIteratorPrototype%": z,
      "%Atomics%": typeof Atomics > "u" ? r : Atomics,
      "%BigInt%": typeof BigInt > "u" ? r : BigInt,
      "%BigInt64Array%": typeof BigInt64Array > "u" ? r : BigInt64Array,
      "%BigUint64Array%": typeof BigUint64Array > "u" ? r : BigUint64Array,
      "%Boolean%": Boolean,
      "%DataView%": typeof DataView > "u" ? r : DataView,
      "%Date%": Date,
      "%decodeURI%": decodeURI,
      "%decodeURIComponent%": decodeURIComponent,
      "%encodeURI%": encodeURI,
      "%encodeURIComponent%": encodeURIComponent,
      "%Error%": o,
      "%eval%": eval,
      // eslint-disable-line no-eval
      "%EvalError%": i,
      "%Float16Array%": typeof Float16Array > "u" ? r : Float16Array,
      "%Float32Array%": typeof Float32Array > "u" ? r : Float32Array,
      "%Float64Array%": typeof Float64Array > "u" ? r : Float64Array,
      "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? r : FinalizationRegistry,
      "%Function%": w,
      "%GeneratorFunction%": z,
      "%Int8Array%": typeof Int8Array > "u" ? r : Int8Array,
      "%Int16Array%": typeof Int16Array > "u" ? r : Int16Array,
      "%Int32Array%": typeof Int32Array > "u" ? r : Int32Array,
      "%isFinite%": isFinite,
      "%isNaN%": isNaN,
      "%IteratorPrototype%": A && O ? O(O([][Symbol.iterator]())) : r,
      "%JSON%": typeof JSON == "object" ? JSON : r,
      "%Map%": typeof Map > "u" ? r : Map,
      "%MapIteratorPrototype%": typeof Map > "u" || !A || !O ? r : O((/* @__PURE__ */ new Map())[Symbol.iterator]()),
      "%Math%": Math,
      "%Number%": Number,
      "%Object%": n,
      "%Object.getOwnPropertyDescriptor%": x,
      "%parseFloat%": parseFloat,
      "%parseInt%": parseInt,
      "%Promise%": typeof Promise > "u" ? r : Promise,
      "%Proxy%": typeof Proxy > "u" ? r : Proxy,
      "%RangeError%": s,
      "%ReferenceError%": l,
      "%Reflect%": typeof Reflect > "u" ? r : Reflect,
      "%RegExp%": RegExp,
      "%Set%": typeof Set > "u" ? r : Set,
      "%SetIteratorPrototype%": typeof Set > "u" || !A || !O ? r : O((/* @__PURE__ */ new Set())[Symbol.iterator]()),
      "%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? r : SharedArrayBuffer,
      "%String%": String,
      "%StringIteratorPrototype%": A && O ? O(""[Symbol.iterator]()) : r,
      "%Symbol%": A ? Symbol : r,
      "%SyntaxError%": u,
      "%ThrowTypeError%": _,
      "%TypedArray%": $,
      "%TypeError%": c,
      "%Uint8Array%": typeof Uint8Array > "u" ? r : Uint8Array,
      "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? r : Uint8ClampedArray,
      "%Uint16Array%": typeof Uint16Array > "u" ? r : Uint16Array,
      "%Uint32Array%": typeof Uint32Array > "u" ? r : Uint32Array,
      "%URIError%": d,
      "%WeakMap%": typeof WeakMap > "u" ? r : WeakMap,
      "%WeakRef%": typeof WeakRef > "u" ? r : WeakRef,
      "%WeakSet%": typeof WeakSet > "u" ? r : WeakSet,
      "%Function.prototype.call%": Q,
      "%Function.prototype.apply%": U,
      "%Object.defineProperty%": S,
      "%Object.getPrototypeOf%": q,
      "%Math.abs%": f,
      "%Math.floor%": p,
      "%Math.max%": m,
      "%Math.min%": v,
      "%Math.pow%": y,
      "%Math.round%": b,
      "%Math.sign%": g,
      "%Reflect.getPrototypeOf%": M
    };
    if (O)
      try {
        null.error;
      } catch (or) {
        V = O(O(or)), D["%Error.prototype%"] = V;
      }
    var V, G = /* @__PURE__ */ a(function or(Ue) {
      var Dt;
      if (Ue === "%AsyncFunction%")
        Dt = E("async function () {}");
      else if (Ue === "%GeneratorFunction%")
        Dt = E("function* () {}");
      else if (Ue === "%AsyncGeneratorFunction%")
        Dt = E("async function* () {}");
      else if (Ue === "%AsyncGenerator%") {
        var yt = or("%AsyncGeneratorFunction%");
        yt && (Dt = yt.prototype);
      } else if (Ue === "%AsyncIteratorPrototype%") {
        var ar = or("%AsyncGenerator%");
        ar && O && (Dt = O(ar.prototype));
      }
      return D[Ue] = Dt, Dt;
    }, "doEval2"), ne = {
      __proto__: null,
      "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
      "%ArrayPrototype%": ["Array", "prototype"],
      "%ArrayProto_entries%": ["Array", "prototype", "entries"],
      "%ArrayProto_forEach%": ["Array", "prototype", "forEach"],
      "%ArrayProto_keys%": ["Array", "prototype", "keys"],
      "%ArrayProto_values%": ["Array", "prototype", "values"],
      "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
      "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
      "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"],
      "%BooleanPrototype%": ["Boolean", "prototype"],
      "%DataViewPrototype%": ["DataView", "prototype"],
      "%DatePrototype%": ["Date", "prototype"],
      "%ErrorPrototype%": ["Error", "prototype"],
      "%EvalErrorPrototype%": ["EvalError", "prototype"],
      "%Float32ArrayPrototype%": ["Float32Array", "prototype"],
      "%Float64ArrayPrototype%": ["Float64Array", "prototype"],
      "%FunctionPrototype%": ["Function", "prototype"],
      "%Generator%": ["GeneratorFunction", "prototype"],
      "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"],
      "%Int8ArrayPrototype%": ["Int8Array", "prototype"],
      "%Int16ArrayPrototype%": ["Int16Array", "prototype"],
      "%Int32ArrayPrototype%": ["Int32Array", "prototype"],
      "%JSONParse%": ["JSON", "parse"],
      "%JSONStringify%": ["JSON", "stringify"],
      "%MapPrototype%": ["Map", "prototype"],
      "%NumberPrototype%": ["Number", "prototype"],
      "%ObjectPrototype%": ["Object", "prototype"],
      "%ObjProto_toString%": ["Object", "prototype", "toString"],
      "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"],
      "%PromisePrototype%": ["Promise", "prototype"],
      "%PromiseProto_then%": ["Promise", "prototype", "then"],
      "%Promise_all%": ["Promise", "all"],
      "%Promise_reject%": ["Promise", "reject"],
      "%Promise_resolve%": ["Promise", "resolve"],
      "%RangeErrorPrototype%": ["RangeError", "prototype"],
      "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
      "%RegExpPrototype%": ["RegExp", "prototype"],
      "%SetPrototype%": ["Set", "prototype"],
      "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
      "%StringPrototype%": ["String", "prototype"],
      "%SymbolPrototype%": ["Symbol", "prototype"],
      "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
      "%TypedArrayPrototype%": ["TypedArray", "prototype"],
      "%TypeErrorPrototype%": ["TypeError", "prototype"],
      "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
      "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
      "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
      "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
      "%URIErrorPrototype%": ["URIError", "prototype"],
      "%WeakMapPrototype%": ["WeakMap", "prototype"],
      "%WeakSetPrototype%": ["WeakSet", "prototype"]
    }, de = Pg(), se = eD(), B = de.call(Q, Array.prototype.concat), j = de.call(U, Array.prototype.splice), J = de.call(Q, String.prototype.
    replace), X = de.call(Q, String.prototype.slice), ie = de.call(Q, RegExp.prototype.exec), me = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,
    xe = /\\(\\)?/g, st = /* @__PURE__ */ a(function(Ue) {
      var Dt = X(Ue, 0, 1), yt = X(Ue, -1);
      if (Dt === "%" && yt !== "%")
        throw new u("invalid intrinsic syntax, expected closing `%`");
      if (yt === "%" && Dt !== "%")
        throw new u("invalid intrinsic syntax, expected opening `%`");
      var ar = [];
      return J(Ue, me, function(pn, Ma, vr, Ru) {
        ar[ar.length] = vr ? J(Ru, xe, "$1") : Ma || pn;
      }), ar;
    }, "stringToPath3"), bo = /* @__PURE__ */ a(function(Ue, Dt) {
      var yt = Ue, ar;
      if (se(ne, yt) && (ar = ne[yt], yt = "%" + ar[0] + "%"), se(D, yt)) {
        var pn = D[yt];
        if (pn === z && (pn = G(yt)), typeof pn > "u" && !Dt)
          throw new c("intrinsic " + Ue + " exists, but is not available. Please file an issue!");
        return {
          alias: ar,
          name: yt,
          value: pn
        };
      }
      throw new u("intrinsic " + Ue + " does not exist!");
    }, "getBaseIntrinsic2");
    t.exports = /* @__PURE__ */ a(function(Ue, Dt) {
      if (typeof Ue != "string" || Ue.length === 0)
        throw new c("intrinsic name must be a non-empty string");
      if (arguments.length > 1 && typeof Dt != "boolean")
        throw new c('"allowMissing" argument must be a boolean');
      if (ie(/^%?[^%]*%?$/, Ue) === null)
        throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
      var yt = st(Ue), ar = yt.length > 0 ? yt[0] : "", pn = bo("%" + ar + "%", Dt), Ma = pn.name, vr = pn.value, Ru = !1, wo = pn.alias;
      wo && (ar = wo[0], j(yt, B([0, 1], wo)));
      for (var oe = 1, gi = !0; oe < yt.length; oe += 1) {
        var Ln = yt[oe], yi = X(Ln, 0, 1), zs = X(Ln, -1);
        if ((yi === '"' || yi === "'" || yi === "`" || zs === '"' || zs === "'" || zs === "`") && yi !== zs)
          throw new u("property names with quotes must have matching quotes");
        if ((Ln === "constructor" || !gi) && (Ru = !0), ar += "." + Ln, Ma = "%" + ar + "%", se(D, Ma))
          vr = D[Ma];
        else if (vr != null) {
          if (!(Ln in vr)) {
            if (!Dt)
              throw new c("base intrinsic for " + Ue + " exists, but the property is not available.");
            return;
          }
          if (x && oe + 1 >= yt.length) {
            var Us = x(vr, Ln);
            gi = !!Us, gi && "get" in Us && !("originalValue" in Us.get) ? vr = Us.get : vr = vr[Ln];
          } else
            gi = se(vr, Ln), vr = vr[Ln];
          gi && !Ru && (D[Ma] = vr);
        }
      }
      return vr;
    }, "GetIntrinsic");
  }
}), wP = ye({
  "node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js"(e, t) {
    "use strict";
    var r = w1e(), n = Zq(), o = n([r("%String.prototype.indexOf%")]);
    t.exports = /* @__PURE__ */ a(function(s, l) {
      var u = (
        /** @type {(this: unknown, ...args: unknown[]) => unknown} */
        r(s, !!l)
      );
      return typeof u == "function" && o(s, ".prototype.") > -1 ? n(
        /** @type {const} */
        [u]
      ) : u;
    }, "callBoundIntrinsic");
  }
}), E1e = ye({
  "node_modules/.pnpm/has-tostringtag@1.0.2/node_modules/has-tostringtag/shams.js"(e, t) {
    "use strict";
    var r = Yq();
    t.exports = /* @__PURE__ */ a(function() {
      return r() && !!Symbol.toStringTag;
    }, "hasToStringTagShams");
  }
}), tD = ye({
  "node_modules/.pnpm/is-regex@1.2.1/node_modules/is-regex/index.js"(e, t) {
    "use strict";
    var r = wP(), n = E1e()(), o = eD(), i = vP(), s;
    n ? (l = r("RegExp.prototype.exec"), u = {}, c = /* @__PURE__ */ a(function() {
      throw u;
    }, "throwRegexMarker"), d = {
      toString: c,
      valueOf: c
    }, typeof Symbol.toPrimitive == "symbol" && (d[Symbol.toPrimitive] = c), s = /* @__PURE__ */ a(function(v) {
      if (!v || typeof v != "object")
        return !1;
      var y = (
        /** @type {NonNullable<typeof gOPD>} */
        i(
          /** @type {{ lastIndex?: unknown }} */
          v,
          "lastIndex"
        )
      ), b = y && o(y, "value");
      if (!b)
        return !1;
      try {
        l(
          v,
          /** @type {string} */
          /** @type {unknown} */
          d
        );
      } catch (g) {
        return g === u;
      }
    }, "isRegex")) : (f = r("Object.prototype.toString"), p = "[object RegExp]", s = /* @__PURE__ */ a(function(v) {
      return !v || typeof v != "object" && typeof v != "function" ? !1 : f(v) === p;
    }, "isRegex"));
    var l, u, c, d, f, p;
    t.exports = s;
  }
}), R1e = ye({
  "node_modules/.pnpm/is-function@1.0.2/node_modules/is-function/index.js"(e, t) {
    t.exports = n;
    var r = Object.prototype.toString;
    function n(o) {
      if (!o)
        return !1;
      var i = r.call(o);
      return i === "[object Function]" || typeof o == "function" && i !== "[object RegExp]" || typeof window < "u" && // IE8 and below
      (o === window.setTimeout || o === window.alert || o === window.confirm || o === window.prompt);
    }
    a(n, "isFunction3");
  }
}), x1e = ye({
  "node_modules/.pnpm/safe-regex-test@1.1.0/node_modules/safe-regex-test/index.js"(e, t) {
    "use strict";
    var r = wP(), n = tD(), o = r("RegExp.prototype.exec"), i = yP();
    t.exports = /* @__PURE__ */ a(function(l) {
      if (!n(l))
        throw new i("`regex` must be a RegExp");
      return /* @__PURE__ */ a(function(c) {
        return o(l, c) !== null;
      }, "test");
    }, "regexTester");
  }
}), S1e = ye({
  "node_modules/.pnpm/is-symbol@1.1.1/node_modules/is-symbol/index.js"(e, t) {
    "use strict";
    var r = wP(), n = r("Object.prototype.toString"), o = Kq()(), i = x1e();
    o ? (s = r("Symbol.prototype.toString"), l = i(/^Symbol\(.*\)$/), u = /* @__PURE__ */ a(function(d) {
      return typeof d.valueOf() != "symbol" ? !1 : l(s(d));
    }, "isRealSymbolObject"), t.exports = /* @__PURE__ */ a(function(d) {
      if (typeof d == "symbol")
        return !0;
      if (!d || typeof d != "object" || n(d) !== "[object Symbol]")
        return !1;
      try {
        return u(d);
      } catch {
        return !1;
      }
    }, "isSymbol3")) : t.exports = /* @__PURE__ */ a(function(d) {
      return !1;
    }, "isSymbol3");
    var s, l, u;
  }
}), C1e = _g(tD()), _1e = _g(R1e()), P1e = _g(S1e());
function T1e(e) {
  return e != null && typeof e == "object" && Array.isArray(e) === !1;
}
a(T1e, "isObject");
var A1e = typeof global == "object" && global && global.Object === Object && global, O1e = A1e, I1e = typeof self == "object" && self && self.
Object === Object && self, M1e = O1e || I1e || Function("return this")(), EP = M1e, N1e = EP.Symbol, tc = N1e, rD = Object.prototype, L1e = rD.
hasOwnProperty, k1e = rD.toString, op = tc ? tc.toStringTag : void 0;
function q1e(e) {
  var t = L1e.call(e, op), r = e[op];
  try {
    e[op] = void 0;
    var n = !0;
  } catch {
  }
  var o = k1e.call(e);
  return n && (t ? e[op] = r : delete e[op]), o;
}
a(q1e, "getRawTag");
var D1e = q1e, F1e = Object.prototype, j1e = F1e.toString;
function B1e(e) {
  return j1e.call(e);
}
a(B1e, "objectToString");
var $1e = B1e, H1e = "[object Null]", z1e = "[object Undefined]", Hq = tc ? tc.toStringTag : void 0;
function U1e(e) {
  return e == null ? e === void 0 ? z1e : H1e : Hq && Hq in Object(e) ? D1e(e) : $1e(e);
}
a(U1e, "baseGetTag");
var nD = U1e;
function V1e(e) {
  return e != null && typeof e == "object";
}
a(V1e, "isObjectLike");
var W1e = V1e, G1e = "[object Symbol]";
function Y1e(e) {
  return typeof e == "symbol" || W1e(e) && nD(e) == G1e;
}
a(Y1e, "isSymbol");
var RP = Y1e;
function K1e(e, t) {
  for (var r = -1, n = e == null ? 0 : e.length, o = Array(n); ++r < n; )
    o[r] = t(e[r], r, e);
  return o;
}
a(K1e, "arrayMap");
var X1e = K1e, J1e = Array.isArray, xP = J1e, Q1e = 1 / 0, zq = tc ? tc.prototype : void 0, Uq = zq ? zq.toString : void 0;
function oD(e) {
  if (typeof e == "string")
    return e;
  if (xP(e))
    return X1e(e, oD) + "";
  if (RP(e))
    return Uq ? Uq.call(e) : "";
  var t = e + "";
  return t == "0" && 1 / e == -Q1e ? "-0" : t;
}
a(oD, "baseToString");
var Z1e = oD;
function eye(e) {
  var t = typeof e;
  return e != null && (t == "object" || t == "function");
}
a(eye, "isObject2");
var aD = eye, tye = "[object AsyncFunction]", rye = "[object Function]", nye = "[object GeneratorFunction]", oye = "[object Proxy]";
function aye(e) {
  if (!aD(e))
    return !1;
  var t = nD(e);
  return t == rye || t == nye || t == tye || t == oye;
}
a(aye, "isFunction");
var iye = aye, sye = EP["__core-js_shared__"], gP = sye, Vq = function() {
  var e = /[^.]+$/.exec(gP && gP.keys && gP.keys.IE_PROTO || "");
  return e ? "Symbol(src)_1." + e : "";
}();
function lye(e) {
  return !!Vq && Vq in e;
}
a(lye, "isMasked");
var uye = lye, cye = Function.prototype, dye = cye.toString;
function fye(e) {
  if (e != null) {
    try {
      return dye.call(e);
    } catch {
    }
    try {
      return e + "";
    } catch {
    }
  }
  return "";
}
a(fye, "toSource");
var pye = fye, mye = /[\\^$.*+?()[\]{}|]/g, hye = /^\[object .+?Constructor\]$/, gye = Function.prototype, yye = Object.prototype, vye = gye.
toString, bye = yye.hasOwnProperty, wye = RegExp(
  "^" + vye.call(bye).replace(mye, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
);
function Eye(e) {
  if (!aD(e) || uye(e))
    return !1;
  var t = iye(e) ? wye : hye;
  return t.test(pye(e));
}
a(Eye, "baseIsNative");
var Rye = Eye;
function xye(e, t) {
  return e?.[t];
}
a(xye, "getValue");
var Sye = xye;
function Cye(e, t) {
  var r = Sye(e, t);
  return Rye(r) ? r : void 0;
}
a(Cye, "getNative");
var iD = Cye;
function _ye(e, t) {
  return e === t || e !== e && t !== t;
}
a(_ye, "eq");
var Pye = _ye, Tye = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Aye = /^\w*$/;
function Oye(e, t) {
  if (xP(e))
    return !1;
  var r = typeof e;
  return r == "number" || r == "symbol" || r == "boolean" || e == null || RP(e) ? !0 : Aye.test(e) || !Tye.test(e) || t != null && e in Object(
  t);
}
a(Oye, "isKey");
var Iye = Oye, Mye = iD(Object, "create"), ap = Mye;
function Nye() {
  this.__data__ = ap ? ap(null) : {}, this.size = 0;
}
a(Nye, "hashClear");
var Lye = Nye;
function kye(e) {
  var t = this.has(e) && delete this.__data__[e];
  return this.size -= t ? 1 : 0, t;
}
a(kye, "hashDelete");
var qye = kye, Dye = "__lodash_hash_undefined__", Fye = Object.prototype, jye = Fye.hasOwnProperty;
function Bye(e) {
  var t = this.__data__;
  if (ap) {
    var r = t[e];
    return r === Dye ? void 0 : r;
  }
  return jye.call(t, e) ? t[e] : void 0;
}
a(Bye, "hashGet");
var $ye = Bye, Hye = Object.prototype, zye = Hye.hasOwnProperty;
function Uye(e) {
  var t = this.__data__;
  return ap ? t[e] !== void 0 : zye.call(t, e);
}
a(Uye, "hashHas");
var Vye = Uye, Wye = "__lodash_hash_undefined__";
function Gye(e, t) {
  var r = this.__data__;
  return this.size += this.has(e) ? 0 : 1, r[e] = ap && t === void 0 ? Wye : t, this;
}
a(Gye, "hashSet");
var Yye = Gye;
function rc(e) {
  var t = -1, r = e == null ? 0 : e.length;
  for (this.clear(); ++t < r; ) {
    var n = e[t];
    this.set(n[0], n[1]);
  }
}
a(rc, "Hash");
rc.prototype.clear = Lye;
rc.prototype.delete = qye;
rc.prototype.get = $ye;
rc.prototype.has = Vye;
rc.prototype.set = Yye;
var Wq = rc;
function Kye() {
  this.__data__ = [], this.size = 0;
}
a(Kye, "listCacheClear");
var Xye = Kye;
function Jye(e, t) {
  for (var r = e.length; r--; )
    if (Pye(e[r][0], t))
      return r;
  return -1;
}
a(Jye, "assocIndexOf");
var Tg = Jye, Qye = Array.prototype, Zye = Qye.splice;
function eve(e) {
  var t = this.__data__, r = Tg(t, e);
  if (r < 0)
    return !1;
  var n = t.length - 1;
  return r == n ? t.pop() : Zye.call(t, r, 1), --this.size, !0;
}
a(eve, "listCacheDelete");
var tve = eve;
function rve(e) {
  var t = this.__data__, r = Tg(t, e);
  return r < 0 ? void 0 : t[r][1];
}
a(rve, "listCacheGet");
var nve = rve;
function ove(e) {
  return Tg(this.__data__, e) > -1;
}
a(ove, "listCacheHas");
var ave = ove;
function ive(e, t) {
  var r = this.__data__, n = Tg(r, e);
  return n < 0 ? (++this.size, r.push([e, t])) : r[n][1] = t, this;
}
a(ive, "listCacheSet");
var sve = ive;
function nc(e) {
  var t = -1, r = e == null ? 0 : e.length;
  for (this.clear(); ++t < r; ) {
    var n = e[t];
    this.set(n[0], n[1]);
  }
}
a(nc, "ListCache");
nc.prototype.clear = Xye;
nc.prototype.delete = tve;
nc.prototype.get = nve;
nc.prototype.has = ave;
nc.prototype.set = sve;
var lve = nc, uve = iD(EP, "Map"), cve = uve;
function dve() {
  this.size = 0, this.__data__ = {
    hash: new Wq(),
    map: new (cve || lve)(),
    string: new Wq()
  };
}
a(dve, "mapCacheClear");
var fve = dve;
function pve(e) {
  var t = typeof e;
  return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
}
a(pve, "isKeyable");
var mve = pve;
function hve(e, t) {
  var r = e.__data__;
  return mve(t) ? r[typeof t == "string" ? "string" : "hash"] : r.map;
}
a(hve, "getMapData");
var Ag = hve;
function gve(e) {
  var t = Ag(this, e).delete(e);
  return this.size -= t ? 1 : 0, t;
}
a(gve, "mapCacheDelete");
var yve = gve;
function vve(e) {
  return Ag(this, e).get(e);
}
a(vve, "mapCacheGet");
var bve = vve;
function wve(e) {
  return Ag(this, e).has(e);
}
a(wve, "mapCacheHas");
var Eve = wve;
function Rve(e, t) {
  var r = Ag(this, e), n = r.size;
  return r.set(e, t), this.size += r.size == n ? 0 : 1, this;
}
a(Rve, "mapCacheSet");
var xve = Rve;
function oc(e) {
  var t = -1, r = e == null ? 0 : e.length;
  for (this.clear(); ++t < r; ) {
    var n = e[t];
    this.set(n[0], n[1]);
  }
}
a(oc, "MapCache");
oc.prototype.clear = fve;
oc.prototype.delete = yve;
oc.prototype.get = bve;
oc.prototype.has = Eve;
oc.prototype.set = xve;
var sD = oc, Sve = "Expected a function";
function SP(e, t) {
  if (typeof e != "function" || t != null && typeof t != "function")
    throw new TypeError(Sve);
  var r = /* @__PURE__ */ a(function() {
    var n = arguments, o = t ? t.apply(this, n) : n[0], i = r.cache;
    if (i.has(o))
      return i.get(o);
    var s = e.apply(this, n);
    return r.cache = i.set(o, s) || i, s;
  }, "memoized");
  return r.cache = new (SP.Cache || sD)(), r;
}
a(SP, "memoize");
SP.Cache = sD;
var Cve = SP, _ve = 500;
function Pve(e) {
  var t = Cve(e, function(n) {
    return r.size === _ve && r.clear(), n;
  }), r = t.cache;
  return t;
}
a(Pve, "memoizeCapped");
var Tve = Pve, Ave = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Ove = /\\(\\)?/g, Ive = Tve(
function(e) {
  var t = [];
  return e.charCodeAt(0) === 46 && t.push(""), e.replace(Ave, function(r, n, o, i) {
    t.push(o ? i.replace(Ove, "$1") : n || r);
  }), t;
}), Mve = Ive;
function Nve(e) {
  return e == null ? "" : Z1e(e);
}
a(Nve, "toString");
var Lve = Nve;
function kve(e, t) {
  return xP(e) ? e : Iye(e, t) ? [e] : Mve(Lve(e));
}
a(kve, "castPath");
var qve = kve, Dve = 1 / 0;
function Fve(e) {
  if (typeof e == "string" || RP(e))
    return e;
  var t = e + "";
  return t == "0" && 1 / e == -Dve ? "-0" : t;
}
a(Fve, "toKey");
var jve = Fve;
function Bve(e, t) {
  t = qve(t, e);
  for (var r = 0, n = t.length; e != null && r < n; )
    e = e[jve(t[r++])];
  return r && r == n ? e : void 0;
}
a(Bve, "baseGet");
var $ve = Bve;
function Hve(e, t, r) {
  var n = e == null ? void 0 : $ve(e, t);
  return n === void 0 ? r : n;
}
a(Hve, "get");
var zve = Hve, CP = T1e, Uve = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/, ip = /* @__PURE__ */ a((e) => e.match(/^[\[\{\"\}].*[\]\}\"]$/),
"isJSON");
function lD(e) {
  if (!CP(e))
    return e;
  let t = e, r = !1;
  return typeof Event < "u" && e instanceof Event && (t = $q(t), r = !0), t = Object.keys(t).reduce((n, o) => {
    try {
      t[o] && t[o].toJSON, n[o] = t[o];
    } catch {
      r = !0;
    }
    return n;
  }, {}), r ? t : e;
}
a(lD, "convertUnconventionalData");
var Vve = /* @__PURE__ */ a(function(t) {
  let r, n, o, i;
  return /* @__PURE__ */ a(function(l, u) {
    try {
      if (l === "")
        return i = [], r = /* @__PURE__ */ new Map([[u, "[]"]]), n = /* @__PURE__ */ new Map(), o = [], u;
      let c = n.get(this) || this;
      for (; o.length && c !== o[0]; )
        o.shift(), i.pop();
      if (typeof u == "boolean")
        return u;
      if (u === void 0)
        return t.allowUndefined ? "_undefined_" : void 0;
      if (u === null)
        return null;
      if (typeof u == "number")
        return u === Number.NEGATIVE_INFINITY ? "_-Infinity_" : u === Number.POSITIVE_INFINITY ? "_Infinity_" : Number.isNaN(u) ? "_NaN_" : u;
      if (typeof u == "bigint")
        return `_bigint_${u.toString()}`;
      if (typeof u == "string")
        return Uve.test(u) ? t.allowDate ? `_date_${u}` : void 0 : u;
      if ((0, C1e.default)(u))
        return t.allowRegExp ? `_regexp_${u.flags}|${u.source}` : void 0;
      if ((0, _1e.default)(u))
        return;
      if ((0, P1e.default)(u)) {
        if (!t.allowSymbol)
          return;
        let f = Symbol.keyFor(u);
        return f !== void 0 ? `_gsymbol_${f}` : `_symbol_${u.toString().slice(7, -1)}`;
      }
      if (o.length >= t.maxDepth)
        return Array.isArray(u) ? `[Array(${u.length})]` : "[Object]";
      if (u === this)
        return `_duplicate_${JSON.stringify(i)}`;
      if (u instanceof Error && t.allowError)
        return {
          __isConvertedError__: !0,
          errorProperties: {
            // @ts-expect-error cause is not defined in the current tsconfig target(es2020)
            ...u.cause ? { cause: u.cause } : {},
            ...u,
            name: u.name,
            message: u.message,
            stack: u.stack,
            "_constructor-name_": u.constructor.name
          }
        };
      if (u?.constructor?.name && u.constructor.name !== "Object" && !Array.isArray(u)) {
        let f = r.get(u);
        if (!f) {
          let p = {
            __isClassInstance__: !0,
            __className__: u.constructor.name,
            ...Object.getOwnPropertyNames(u).reduce(
              (m, v) => {
                try {
                  m[v] = u[v];
                } catch {
                }
                return m;
              },
              {}
            )
          };
          return i.push(l), o.unshift(p), r.set(u, JSON.stringify(i)), u !== p && n.set(u, p), p;
        }
        return `_duplicate_${f}`;
      }
      let d = r.get(u);
      if (!d) {
        let f = Array.isArray(u) ? u : lD(u);
        return i.push(l), o.unshift(f), r.set(u, JSON.stringify(i)), u !== f && n.set(u, f), f;
      }
      return `_duplicate_${d}`;
    } catch {
      return;
    }
  }, "replace");
}, "replacer2"), Wve = /* @__PURE__ */ a(function(t) {
  let r = [], n;
  return /* @__PURE__ */ a(function(i, s) {
    if (i === "" && (n = s, r.forEach(({ target: l, container: u, replacement: c }) => {
      let d = ip(c) ? JSON.parse(c) : c.split(".");
      d.length === 0 ? u[l] = n : u[l] = zve(n, d);
    })), i === "_constructor-name_")
      return s;
    if (CP(s) && s.__isConvertedError__) {
      let { message: l, ...u } = s.errorProperties, c = new Error(l);
      return Object.assign(c, u), c;
    }
    if (typeof s == "string" && s.startsWith("_regexp_") && t.allowRegExp) {
      let [, l, u] = s.match(/_regexp_([^|]*)\|(.*)/) || [];
      return new RegExp(u, l);
    }
    return typeof s == "string" && s.startsWith("_date_") && t.allowDate ? new Date(s.replace("_date_", "")) : typeof s == "string" && s.startsWith(
    "_duplicate_") ? (r.push({ target: i, container: this, replacement: s.replace(/^_duplicate_/, "") }), null) : typeof s == "string" && s.
    startsWith("_symbol_") && t.allowSymbol ? Symbol(s.replace("_symbol_", "")) : typeof s == "string" && s.startsWith("_gsymbol_") && t.allowSymbol ?
    Symbol.for(s.replace("_gsymbol_", "")) : typeof s == "string" && s === "_-Infinity_" ? Number.NEGATIVE_INFINITY : typeof s == "string" &&
    s === "_Infinity_" ? Number.POSITIVE_INFINITY : typeof s == "string" && s === "_NaN_" ? Number.NaN : typeof s == "string" && s.startsWith(
    "_bigint_") && typeof BigInt == "function" ? BigInt(s.replace("_bigint_", "")) : s;
  }, "revive");
}, "reviver2"), uD = {
  maxDepth: 10,
  space: void 0,
  allowRegExp: !0,
  allowDate: !0,
  allowError: !0,
  allowUndefined: !0,
  allowSymbol: !0
}, ac = /* @__PURE__ */ a((e, t = {}) => {
  let r = { ...uD, ...t };
  return JSON.stringify(lD(e), Vve(r), t.space);
}, "stringify"), Gve = /* @__PURE__ */ a(() => {
  let e = /* @__PURE__ */ new Map();
  return /* @__PURE__ */ a(function t(r) {
    CP(r) && Object.entries(r).forEach(([n, o]) => {
      o === "_undefined_" ? r[n] = void 0 : e.get(o) || (e.set(o, !0), t(o));
    }), Array.isArray(r) && r.forEach((n, o) => {
      n === "_undefined_" ? (e.set(n, !0), r[o] = void 0) : e.get(n) || (e.set(n, !0), t(n));
    });
  }, "mutateUndefined");
}, "mutator"), ic = /* @__PURE__ */ a((e, t = {}) => {
  let r = { ...uD, ...t }, n = JSON.parse(e, Wve(r));
  return Gve()(n), n;
}, "parse");

// ../node_modules/tiny-invariant/dist/esm/tiny-invariant.js
var Yve = !0, _P = "Invariant failed";
function sp(e, t) {
  if (!e) {
    if (Yve)
      throw new Error(_P);
    var r = typeof t == "function" ? t() : t, n = r ? "".concat(_P, ": ").concat(r) : _P;
    throw new Error(n);
  }
}
a(sp, "invariant");

// src/channels/postmessage/getEventSourceUrl.ts
kr();
var cD = /* @__PURE__ */ a((e) => {
  let t = Array.from(
    document.querySelectorAll("iframe[data-is-storybook]")
  ), [r, ...n] = t.filter((i) => {
    try {
      return i.contentWindow?.location.origin === e.source.location.origin && i.contentWindow?.location.pathname === e.source.location.pathname;
    } catch {
    }
    try {
      return i.contentWindow === e.source;
    } catch {
    }
    let s = i.getAttribute("src"), l;
    try {
      if (!s)
        return !1;
      ({ origin: l } = new URL(s, document.location.toString()));
    } catch {
      return !1;
    }
    return l === e.origin;
  }), o = r?.getAttribute("src");
  if (o && n.length === 0) {
    let { protocol: i, host: s, pathname: l } = new URL(o, document.location.toString());
    return `${i}//${s}${l}`;
  }
  return n.length > 0 && Ve.error("found multiple candidates for event source"), null;
}, "getEventSourceUrl");

// src/channels/postmessage/index.ts
var { document: PP, location: TP } = Z, dD = "storybook-channel", Kve = { maxDepth: 25 }, AP = class AP {
  constructor(t) {
    this.config = t;
    this.connected = !1;
    if (this.buffer = [], typeof Z?.addEventListener == "function" && Z.addEventListener("message", this.handleEvent.bind(this), !1), t.page !==
    "manager" && t.page !== "preview")
      throw new Error(`postmsg-channel: "config.page" cannot be "${t.page}"`);
  }
  setHandler(t) {
    this.handler = (...r) => {
      t.apply(this, r), !this.connected && this.getLocalFrame().length && (this.flush(), this.connected = !0);
    };
  }
  /**
   * Sends `event` to the associated window. If the window does not yet exist the event will be
   * stored in a buffer and sent when the window exists.
   *
   * @param event
   */
  send(t, r) {
    let {
      target: n,
      // telejson options
      allowRegExp: o,
      allowSymbol: i,
      allowDate: s,
      allowError: l,
      allowUndefined: u,
      maxDepth: c,
      space: d
    } = r || {}, f = Object.fromEntries(
      Object.entries({
        allowRegExp: o,
        allowSymbol: i,
        allowDate: s,
        allowError: l,
        allowUndefined: u,
        maxDepth: c,
        space: d
      }).filter(([b, g]) => typeof g < "u")
    ), p = {
      ...Kve,
      ...Z.CHANNEL_OPTIONS || {},
      ...f
    }, m = this.getFrames(n), v = new URLSearchParams(TP?.search || ""), y = ac(
      {
        key: dD,
        event: t,
        refId: v.get("refId")
      },
      p
    );
    return m.length ? (this.buffer.length && this.flush(), m.forEach((b) => {
      try {
        b.postMessage(y, "*");
      } catch {
        Ve.error("sending over postmessage fail");
      }
    }), Promise.resolve(null)) : new Promise((b, g) => {
      this.buffer.push({ event: t, resolve: b, reject: g });
    });
  }
  flush() {
    let { buffer: t } = this;
    this.buffer = [], t.forEach((r) => {
      this.send(r.event).then(r.resolve).catch(r.reject);
    });
  }
  getFrames(t) {
    if (this.config.page === "manager") {
      let n = Array.from(
        PP.querySelectorAll("iframe[data-is-storybook][data-is-loaded]")
      ).flatMap((o) => {
        try {
          return o.contentWindow && o.dataset.isStorybook !== void 0 && o.id === t ? [o.contentWindow] : [];
        } catch {
          return [];
        }
      });
      return n?.length ? n : this.getCurrentFrames();
    }
    return Z && Z.parent && Z.parent !== Z.self ? [Z.parent] : [];
  }
  getCurrentFrames() {
    return this.config.page === "manager" ? Array.from(
      PP.querySelectorAll('[data-is-storybook="true"]')
    ).flatMap((r) => r.contentWindow ? [r.contentWindow] : []) : Z && Z.parent ? [Z.parent] : [];
  }
  getLocalFrame() {
    return this.config.page === "manager" ? Array.from(
      PP.querySelectorAll("#storybook-preview-iframe")
    ).flatMap((r) => r.contentWindow ? [r.contentWindow] : []) : Z && Z.parent ? [Z.parent] : [];
  }
  handleEvent(t) {
    try {
      let { data: r } = t, { key: n, event: o, refId: i } = typeof r == "string" && ip(r) ? ic(r, Z.CHANNEL_OPTIONS || {}) : r;
      if (n === dD) {
        let s = this.config.page === "manager" ? '<span style="color: #37D5D3; background: black"> manager </span>' : '<span style="color: #\
1EA7FD; background: black"> preview </span>', l = Object.values(Gs).includes(o.type) ? `<span style="color: #FF4785">${o.type}</span>` : `<s\
pan style="color: #FFAE00">${o.type}</span>`;
        if (i && (o.refId = i), o.source = this.config.page === "preview" ? t.origin : cD(t), !o.source) {
          en.error(
            `${s} received ${l} but was unable to determine the source of the event`
          );
          return;
        }
        let u = `${s} received ${l} (${r.length})`;
        en.debug(
          TP.origin !== o.source ? u : `${u} <span style="color: gray">(on ${TP.origin} from ${o.source})</span>`,
          ...o.args
        ), sp(this.handler, "ChannelHandler should be set"), this.handler(o);
      }
    } catch (r) {
      Ve.error(r);
    }
  }
};
a(AP, "PostMessageTransport");
var sc = AP;

// src/channels/websocket/index.ts
Ct();
var { WebSocket: Xve } = Z, OP = 15e3, IP = 5e3, MP = class MP {
  constructor({ url: t, onError: r, page: n }) {
    this.buffer = [];
    this.isReady = !1;
    this.isClosed = !1;
    this.pingTimeout = 0;
    this.socket = new Xve(t), this.socket.onopen = () => {
      this.isReady = !0, this.heartbeat(), this.flush();
    }, this.socket.onmessage = ({ data: o }) => {
      let i = typeof o == "string" && ip(o) ? ic(o) : o;
      sp(this.handler, "WebsocketTransport handler should be set"), this.handler(i), i.type === "ping" && (this.heartbeat(), this.send({ type: "\
pong" }));
    }, this.socket.onerror = (o) => {
      r && r(o);
    }, this.socket.onclose = (o) => {
      sp(this.handler, "WebsocketTransport handler should be set"), this.handler({
        type: E4,
        args: [{ reason: o.reason, code: o.code }],
        from: n || "preview"
      }), this.isClosed = !0, clearTimeout(this.pingTimeout);
    };
  }
  heartbeat() {
    clearTimeout(this.pingTimeout), this.pingTimeout = setTimeout(() => {
      this.socket.close(3008, "timeout");
    }, OP + IP);
  }
  setHandler(t) {
    this.handler = t;
  }
  send(t) {
    this.isClosed || (this.isReady ? this.sendNow(t) : this.sendLater(t));
  }
  sendLater(t) {
    this.buffer.push(t);
  }
  sendNow(t) {
    let r = ac(t, {
      maxDepth: 15,
      ...Z.CHANNEL_OPTIONS
    });
    this.socket.send(r);
  }
  flush() {
    let { buffer: t } = this;
    this.buffer = [], t.forEach((r) => this.send(r));
  }
};
a(MP, "WebsocketTransport");
var lc = MP;

// src/channels/index.ts
var { CONFIG_TYPE: Jve } = Z, Qve = da;
function Zve({ page: e, extraTransports: t = [] }) {
  let r = [new sc({ page: e }), ...t];
  if (Jve === "DEVELOPMENT") {
    let o = window.location.protocol === "http:" ? "ws" : "wss", { hostname: i, port: s } = window.location, l = `${o}://${i}:${s}/storybook\
-server-channel`;
    r.push(new lc({ url: l, onError: /* @__PURE__ */ a(() => {
    }, "onError"), page: e }));
  }
  let n = new da({ transports: r });
  return ur.__prepare(
    n,
    e === "manager" ? ur.Environment.MANAGER : ur.Environment.PREVIEW
  ), n;
}
a(Zve, "createBrowserChannel");

// src/manager/globals/runtime.ts
kr();

// src/components/index.ts
var AM = {};
_e(AM, {
  A: () => g1,
  ActionBar: () => O1,
  AddonPanel: () => Ode,
  Badge: () => lz,
  Bar: () => IS,
  Blockquote: () => y1,
  Button: () => Pl,
  ClipboardCode: () => $de,
  Code: () => H1,
  DL: () => z1,
  Div: () => U1,
  DocumentWrapper: () => uz,
  EmptyTabContent: () => Ih,
  ErrorFormatter: () => OU,
  FlexBar: () => Th,
  Form: () => ZU,
  H1: () => V1,
  H2: () => W1,
  H3: () => G1,
  H4: () => Y1,
  H5: () => K1,
  H6: () => X1,
  HR: () => J1,
  IconButton: () => Bp,
  Img: () => Q1,
  LI: () => Z1,
  Link: () => ly,
  ListItem: () => Xy,
  Loader: () => qde,
  Modal: () => RU,
  OL: () => ey,
  P: () => ty,
  Placeholder: () => CU,
  Pre: () => ry,
  ProgressSpinner: () => Fde,
  ResetWrapper: () => g3,
  ScrollArea: () => El,
  Separator: () => DS,
  Spaced: () => SU,
  Span: () => ny,
  StorybookIcon: () => Mde,
  StorybookLogo: () => Ide,
  SyntaxHighlighter: () => bT,
  TT: () => oy,
  TabBar: () => kS,
  TabButton: () => $s,
  TabWrapper: () => Tde,
  Table: () => ay,
  Tabs: () => qS,
  TabsState: () => NS,
  TooltipLinkList: () => Jy,
  TooltipMessage: () => pW,
  TooltipNote: () => hW,
  UL: () => iy,
  WithTooltip: () => dW,
  WithTooltipPure: () => fW,
  Zoom: () => TU,
  codeCommon: () => ga,
  components: () => rnt,
  createCopyToClipboardFunction: () => $1,
  getStoryHref: () => jde,
  interleaveSeparators: () => Ade,
  nameSpaceClassNames: () => ut,
  resetComponents: () => Hde,
  withReset: () => Ee
});
var FS = N(H(), 1);

// src/components/components/typography/components.tsx
var mt = N(H(), 1);

// src/components/components/typography/DocumentFormatting.tsx
var ut = /* @__PURE__ */ a(({ ...e }, t) => {
  let r = [e.class, e.className];
  return delete e.class, e.className = ["sbdocs", `sbdocs-${t}`, ...r].filter(Boolean).join(" "), e;
}, "nameSpaceClassNames");

// src/components/components/typography/ResetWrapper.tsx
ue();

// src/components/components/typography/lib/common.tsx
Va();
var Vn = /* @__PURE__ */ a(({ theme: e }) => ({
  margin: "20px 0 8px",
  padding: 0,
  cursor: "text",
  position: "relative",
  color: e.color.defaultText,
  "&:first-of-type": {
    marginTop: 0,
    paddingTop: 0
  },
  "&:hover a.anchor": {
    textDecoration: "none"
  },
  "& tt, & code": {
    fontSize: "inherit"
  }
}), "headerCommon"), ga = /* @__PURE__ */ a(({ theme: e }) => ({
  lineHeight: 1,
  margin: "0 2px",
  padding: "3px 5px",
  whiteSpace: "nowrap",
  borderRadius: 3,
  fontSize: e.typography.size.s2 - 1,
  border: e.base === "light" ? `1px solid ${e.color.mediumlight}` : `1px solid ${e.color.darker}`,
  color: e.base === "light" ? Jt(0.1, e.color.defaultText) : Jt(0.3, e.color.defaultText),
  backgroundColor: e.base === "light" ? e.color.lighter : e.color.border
}), "codeCommon"), Ee = /* @__PURE__ */ a(({ theme: e }) => ({
  fontFamily: e.typography.fonts.base,
  fontSize: e.typography.size.s3,
  margin: 0,
  WebkitFontSmoothing: "antialiased",
  MozOsxFontSmoothing: "grayscale",
  WebkitTapHighlightColor: "rgba(0, 0, 0, 0)",
  WebkitOverflowScrolling: "touch"
}), "withReset"), rn = {
  margin: "16px 0"
};

// src/components/components/typography/ResetWrapper.tsx
var g3 = L.div(Ee);

// src/components/components/typography/elements/A.tsx
ue();

// src/components/components/typography/elements/Link.tsx
var oj = N(H(), 1);
var aj = /* @__PURE__ */ a(({
  href: e = "",
  ...t
}) => {
  let n = /^\//.test(e) ? `./?path=${e}` : e, i = /^#.*/.test(e) ? "_self" : "_top";
  return /* @__PURE__ */ oj.default.createElement("a", { href: n, target: i, ...t });
}, "Link");

// src/components/components/typography/elements/A.tsx
var g1 = L(aj)(Ee, ({ theme: e }) => ({
  fontSize: "inherit",
  lineHeight: "24px",
  color: e.color.secondary,
  textDecoration: "none",
  "&.absent": {
    color: "#cc0000"
  },
  "&.anchor": {
    display: "block",
    paddingLeft: 30,
    marginLeft: -30,
    cursor: "pointer",
    position: "absolute",
    top: 0,
    left: 0,
    bottom: 0
  }
}));

// src/components/components/typography/elements/Blockquote.tsx
ue();
var y1 = L.blockquote(Ee, rn, ({ theme: e }) => ({
  borderLeft: `4px solid ${e.color.medium}`,
  padding: "0 15px",
  color: e.color.dark,
  "& > :first-of-type": {
    marginTop: 0
  },
  "& > :last-child": {
    marginBottom: 0
  }
}));

// src/components/components/typography/elements/Code.tsx
var Lp = N(H(), 1);
ue();
Np();

// src/components/components/typography/lib/isReactChildString.tsx
var iz = /* @__PURE__ */ a((e) => typeof e == "string", "isReactChildString");

// src/components/components/typography/elements/Code.tsx
var Y2e = /[\n\r]/g, K2e = L.code(
  ({ theme: e }) => ({
    // from reset
    fontFamily: e.typography.fonts.mono,
    WebkitFontSmoothing: "antialiased",
    MozOsxFontSmoothing: "grayscale",
    display: "inline-block",
    paddingLeft: 2,
    paddingRight: 2,
    verticalAlign: "baseline",
    color: "inherit"
  }),
  ga
), X2e = L(Mp)(({ theme: e }) => ({
  // DocBlocks-specific styling and overrides
  fontFamily: e.typography.fonts.mono,
  fontSize: `${e.typography.size.s2 - 1}px`,
  lineHeight: "19px",
  margin: "25px 0 40px",
  borderRadius: e.appBorderRadius,
  boxShadow: e.base === "light" ? "rgba(0, 0, 0, 0.10) 0 1px 3px 0" : "rgba(0, 0, 0, 0.20) 0 2px 5px 0",
  "pre.prismjs": {
    padding: 20,
    background: "inherit"
  }
})), H1 = /* @__PURE__ */ a(({
  className: e,
  children: t,
  ...r
}) => {
  let n = (e || "").match(/lang-(\S+)/), o = Lp.Children.toArray(t);
  return o.filter(iz).some((s) => s.match(Y2e)) ? /* @__PURE__ */ Lp.default.createElement(
    X2e,
    {
      bordered: !0,
      copyable: !0,
      language: n?.[1] ?? "text",
      format: !1,
      ...r
    },
    t
  ) : /* @__PURE__ */ Lp.default.createElement(K2e, { ...r, className: e }, o);
}, "Code");

// src/components/components/typography/elements/DL.tsx
ue();
var z1 = L.dl(Ee, rn, {
  padding: 0,
  "& dt": {
    fontSize: "14px",
    fontWeight: "bold",
    fontStyle: "italic",
    padding: 0,
    margin: "16px 0 4px"
  },
  "& dt:first-of-type": {
    padding: 0
  },
  "& dt > :first-of-type": {
    marginTop: 0
  },
  "& dt > :last-child": {
    marginBottom: 0
  },
  "& dd": {
    margin: "0 0 16px",
    padding: "0 15px"
  },
  "& dd > :first-of-type": {
    marginTop: 0
  },
  "& dd > :last-child": {
    marginBottom: 0
  }
});

// src/components/components/typography/elements/Div.tsx
ue();
var U1 = L.div(Ee);

// src/components/components/typography/elements/H1.tsx
ue();
var V1 = L.h1(Ee, Vn, ({ theme: e }) => ({
  fontSize: `${e.typography.size.l1}px`,
  fontWeight: e.typography.weight.bold
}));

// src/components/components/typography/elements/H2.tsx
ue();
var W1 = L.h2(Ee, Vn, ({ theme: e }) => ({
  fontSize: `${e.typography.size.m2}px`,
  paddingBottom: 4,
  borderBottom: `1px solid ${e.appBorderColor}`
}));

// src/components/components/typography/elements/H3.tsx
ue();
var G1 = L.h3(Ee, Vn, ({ theme: e }) => ({
  fontSize: `${e.typography.size.m1}px`
}));

// src/components/components/typography/elements/H4.tsx
ue();
var Y1 = L.h4(Ee, Vn, ({ theme: e }) => ({
  fontSize: `${e.typography.size.s3}px`
}));

// src/components/components/typography/elements/H5.tsx
ue();
var K1 = L.h5(Ee, Vn, ({ theme: e }) => ({
  fontSize: `${e.typography.size.s2}px`
}));

// src/components/components/typography/elements/H6.tsx
ue();
var X1 = L.h6(Ee, Vn, ({ theme: e }) => ({
  fontSize: `${e.typography.size.s2}px`,
  color: e.color.dark
}));

// src/components/components/typography/elements/HR.tsx
ue();
var J1 = L.hr(({ theme: e }) => ({
  border: "0 none",
  borderTop: `1px solid ${e.appBorderColor}`,
  height: 4,
  padding: 0
}));

// src/components/components/typography/elements/Img.tsx
ue();
var Q1 = L.img({
  maxWidth: "100%"
});

// src/components/components/typography/elements/LI.tsx
ue();
var Z1 = L.li(Ee, ({ theme: e }) => ({
  fontSize: e.typography.size.s2,
  color: e.color.defaultText,
  lineHeight: "24px",
  "& + li": {
    marginTop: ".25em"
  },
  "& ul, & ol": {
    marginTop: ".25em",
    marginBottom: 0
  },
  "& code": ga({ theme: e })
}));

// src/components/components/typography/elements/OL.tsx
ue();
var J2e = {
  paddingLeft: 30,
  "& :first-of-type": {
    marginTop: 0
  },
  "& :last-child": {
    marginBottom: 0
  }
}, ey = L.ol(Ee, rn, J2e, {
  listStyle: "decimal"
});

// src/components/components/typography/elements/P.tsx
ue();
var ty = L.p(Ee, rn, ({ theme: e }) => ({
  fontSize: e.typography.size.s2,
  lineHeight: "24px",
  color: e.color.defaultText,
  "& code": ga({ theme: e })
}));

// src/components/components/typography/elements/Pre.tsx
ue();
var ry = L.pre(Ee, rn, ({ theme: e }) => ({
  // reset
  fontFamily: e.typography.fonts.mono,
  WebkitFontSmoothing: "antialiased",
  MozOsxFontSmoothing: "grayscale",
  lineHeight: "18px",
  padding: "11px 1rem",
  whiteSpace: "pre-wrap",
  color: "inherit",
  borderRadius: 3,
  margin: "1rem 0",
  "&:not(.prismjs)": {
    background: "transparent",
    border: "none",
    borderRadius: 0,
    padding: 0,
    margin: 0
  },
  "& pre, &.prismjs": {
    padding: 15,
    margin: 0,
    whiteSpace: "pre-wrap",
    color: "inherit",
    fontSize: "13px",
    lineHeight: "19px",
    code: {
      color: "inherit",
      fontSize: "inherit"
    }
  },
  "& code": {
    whiteSpace: "pre"
  },
  "& code, & tt": {
    border: "none"
  }
}));

// src/components/components/typography/elements/Span.tsx
ue();
var ny = L.span(Ee, ({ theme: e }) => ({
  "&.frame": {
    display: "block",
    overflow: "hidden",
    "& > span": {
      border: `1px solid ${e.color.medium}`,
      display: "block",
      float: "left",
      overflow: "hidden",
      margin: "13px 0 0",
      padding: 7,
      width: "auto"
    },
    "& span img": {
      display: "block",
      float: "left"
    },
    "& span span": {
      clear: "both",
      color: e.color.darkest,
      display: "block",
      padding: "5px 0 0"
    }
  },
  "&.align-center": {
    display: "block",
    overflow: "hidden",
    clear: "both",
    "& > span": {
      display: "block",
      overflow: "hidden",
      margin: "13px auto 0",
      textAlign: "center"
    },
    "& span img": {
      margin: "0 auto",
      textAlign: "center"
    }
  },
  "&.align-right": {
    display: "block",
    overflow: "hidden",
    clear: "both",
    "& > span": {
      display: "block",
      overflow: "hidden",
      margin: "13px 0 0",
      textAlign: "right"
    },
    "& span img": {
      margin: 0,
      textAlign: "right"
    }
  },
  "&.float-left": {
    display: "block",
    marginRight: 13,
    overflow: "hidden",
    float: "left",
    "& span": {
      margin: "13px 0 0"
    }
  },
  "&.float-right": {
    display: "block",
    marginLeft: 13,
    overflow: "hidden",
    float: "right",
    "& > span": {
      display: "block",
      overflow: "hidden",
      margin: "13px auto 0",
      textAlign: "right"
    }
  }
}));

// src/components/components/typography/elements/TT.tsx
ue();
var oy = L.title(ga);

// src/components/components/typography/elements/Table.tsx
ue();
var ay = L.table(Ee, rn, ({ theme: e }) => ({
  fontSize: e.typography.size.s2,
  lineHeight: "24px",
  padding: 0,
  borderCollapse: "collapse",
  "& tr": {
    borderTop: `1px solid ${e.appBorderColor}`,
    backgroundColor: e.appContentBg,
    margin: 0,
    padding: 0
  },
  "& tr:nth-of-type(2n)": {
    backgroundColor: e.base === "dark" ? e.color.darker : e.color.lighter
  },
  "& tr th": {
    fontWeight: "bold",
    color: e.color.defaultText,
    border: `1px solid ${e.appBorderColor}`,
    margin: 0,
    padding: "6px 13px"
  },
  "& tr td": {
    border: `1px solid ${e.appBorderColor}`,
    color: e.color.defaultText,
    margin: 0,
    padding: "6px 13px"
  },
  "& tr th :first-of-type, & tr td :first-of-type": {
    marginTop: 0
  },
  "& tr th :last-child, & tr td :last-child": {
    marginBottom: 0
  }
}));

// src/components/components/typography/elements/UL.tsx
ue();
var Q2e = {
  paddingLeft: 30,
  "& :first-of-type": {
    marginTop: 0
  },
  "& :last-child": {
    marginBottom: 0
  }
}, iy = L.ul(Ee, rn, Q2e, { listStyle: "disc" });

// src/components/components/typography/components.tsx
var mT = {
  h1: /* @__PURE__ */ a((e) => /* @__PURE__ */ mt.default.createElement(V1, { ...ut(e, "h1") }), "h1"),
  h2: /* @__PURE__ */ a((e) => /* @__PURE__ */ mt.default.createElement(W1, { ...ut(e, "h2") }), "h2"),
  h3: /* @__PURE__ */ a((e) => /* @__PURE__ */ mt.default.createElement(G1, { ...ut(e, "h3") }), "h3"),
  h4: /* @__PURE__ */ a((e) => /* @__PURE__ */ mt.default.createElement(Y1, { ...ut(e, "h4") }), "h4"),
  h5: /* @__PURE__ */ a((e) => /* @__PURE__ */ mt.default.createElement(K1, { ...ut(e, "h5") }), "h5"),
  h6: /* @__PURE__ */ a((e) => /* @__PURE__ */ mt.default.createElement(X1, { ...ut(e, "h6") }), "h6"),
  pre: /* @__PURE__ */ a((e) => /* @__PURE__ */ mt.default.createElement(ry, { ...ut(e, "pre") }), "pre"),
  a: /* @__PURE__ */ a((e) => /* @__PURE__ */ mt.default.createElement(g1, { ...ut(e, "a") }), "a"),
  hr: /* @__PURE__ */ a((e) => /* @__PURE__ */ mt.default.createElement(J1, { ...ut(e, "hr") }), "hr"),
  dl: /* @__PURE__ */ a((e) => /* @__PURE__ */ mt.default.createElement(z1, { ...ut(e, "dl") }), "dl"),
  blockquote: /* @__PURE__ */ a((e) => /* @__PURE__ */ mt.default.createElement(y1, { ...ut(e, "blockquote") }), "blockquote"),
  table: /* @__PURE__ */ a((e) => /* @__PURE__ */ mt.default.createElement(ay, { ...ut(e, "table") }), "table"),
  img: /* @__PURE__ */ a((e) => /* @__PURE__ */ mt.default.createElement(Q1, { ...ut(e, "img") }), "img"),
  div: /* @__PURE__ */ a((e) => /* @__PURE__ */ mt.default.createElement(U1, { ...ut(e, "div") }), "div"),
  span: /* @__PURE__ */ a((e) => /* @__PURE__ */ mt.default.createElement(ny, { ...ut(e, "span") }), "span"),
  li: /* @__PURE__ */ a((e) => /* @__PURE__ */ mt.default.createElement(Z1, { ...ut(e, "li") }), "li"),
  ul: /* @__PURE__ */ a((e) => /* @__PURE__ */ mt.default.createElement(iy, { ...ut(e, "ul") }), "ul"),
  ol: /* @__PURE__ */ a((e) => /* @__PURE__ */ mt.default.createElement(ey, { ...ut(e, "ol") }), "ol"),
  p: /* @__PURE__ */ a((e) => /* @__PURE__ */ mt.default.createElement(ty, { ...ut(e, "p") }), "p"),
  code: /* @__PURE__ */ a((e) => /* @__PURE__ */ mt.default.createElement(H1, { ...ut(e, "code") }), "code"),
  tt: /* @__PURE__ */ a((e) => /* @__PURE__ */ mt.default.createElement(oy, { ...ut(e, "tt") }), "tt"),
  resetwrapper: /* @__PURE__ */ a((e) => /* @__PURE__ */ mt.default.createElement(g3, { ...ut(e, "resetwrapper") }), "resetwrapper")
};

// src/components/components/Badge/Badge.tsx
var sz = N(H(), 1);
Va();
ue();
var eRe = L.div(
  ({ theme: e, compact: t }) => ({
    display: "inline-flex",
    alignItems: "center",
    justifyContent: "center",
    fontSize: e.typography.size.s1,
    fontWeight: e.typography.weight.bold,
    lineHeight: "12px",
    minWidth: 20,
    borderRadius: 20,
    padding: t ? "4px 7px" : "4px 10px"
  }),
  {
    svg: {
      height: 12,
      width: 12,
      marginRight: 4,
      marginTop: -2,
      path: {
        fill: "currentColor"
      }
    }
  },
  ({ theme: e, status: t }) => {
    switch (t) {
      case "critical":
        return {
          color: e.color.critical,
          background: e.background.critical
        };
      case "negative":
        return {
          color: e.color.negativeText,
          background: e.background.negative,
          boxShadow: e.base === "light" ? `inset 0 0 0 1px ${Jt(0.9, e.color.negativeText)}` : "none"
        };
      case "warning":
        return {
          color: e.color.warningText,
          background: e.background.warning,
          boxShadow: e.base === "light" ? `inset 0 0 0 1px ${Jt(0.9, e.color.warningText)}` : "none"
        };
      case "neutral":
        return {
          color: e.textMutedColor,
          background: e.base === "light" ? e.background.app : e.barBg,
          boxShadow: `inset 0 0 0 1px ${Jt(0.8, e.textMutedColor)}`
        };
      case "positive":
        return {
          color: e.color.positiveText,
          background: e.background.positive,
          boxShadow: e.base === "light" ? `inset 0 0 0 1px ${Jt(0.9, e.color.positiveText)}` : "none"
        };
      case "active":
        return {
          color: e.color.secondary,
          background: e.background.hoverable,
          boxShadow: `inset 0 0 0 1px ${Jt(0.9, e.color.secondary)}`
        };
      default:
        return {};
    }
  }
), lz = /* @__PURE__ */ a(({ ...e }) => /* @__PURE__ */ sz.default.createElement(eRe, { ...e }), "Badge");

// src/components/components/typography/link/link.tsx
var sy = N(H(), 1);

// ../node_modules/@storybook/icons/dist/index.mjs
var vT = {};
_e(vT, {
  AccessibilityAltIcon: () => _Ce,
  AccessibilityIcon: () => CCe,
  AccessibilityIgnoredIcon: () => PCe,
  AddIcon: () => wSe,
  AdminIcon: () => hCe,
  AlertAltIcon: () => YSe,
  AlertIcon: () => GSe,
  AlignLeftIcon: () => XRe,
  AlignRightIcon: () => JRe,
  AppleIcon: () => gxe,
  ArrowBottomLeftIcon: () => $4e,
  ArrowBottomRightIcon: () => H4e,
  ArrowDownIcon: () => q4e,
  ArrowLeftIcon: () => D4e,
  ArrowRightIcon: () => F4e,
  ArrowSolidDownIcon: () => U4e,
  ArrowSolidLeftIcon: () => V4e,
  ArrowSolidRightIcon: () => W4e,
  ArrowSolidUpIcon: () => z4e,
  ArrowTopLeftIcon: () => j4e,
  ArrowTopRightIcon: () => B4e,
  ArrowUpIcon: () => k4e,
  AzureDevOpsIcon: () => Rxe,
  BackIcon: () => oCe,
  BasketIcon: () => y4e,
  BatchAcceptIcon: () => pSe,
  BatchDenyIcon: () => fSe,
  BeakerIcon: () => v4e,
  BellIcon: () => ZSe,
  BitbucketIcon: () => xxe,
  BoldIcon: () => oxe,
  BookIcon: () => $Re,
  BookmarkHollowIcon: () => i4e,
  BookmarkIcon: () => s4e,
  BottomBarIcon: () => Kxe,
  BottomBarToggleIcon: () => Xxe,
  BoxIcon: () => tSe,
  BranchIcon: () => pxe,
  BrowserIcon: () => $xe,
  ButtonIcon: () => FSe,
  CPUIcon: () => Jxe,
  CalendarIcon: () => YRe,
  CameraIcon: () => SRe,
  CameraStabilizeIcon: () => lRe,
  CategoryIcon: () => URe,
  CertificateIcon: () => p4e,
  ChangedIcon: () => CSe,
  ChatIcon: () => MSe,
  CheckIcon: () => cSe,
  ChevronDownIcon: () => A4e,
  ChevronLeftIcon: () => O4e,
  ChevronRightIcon: () => yT,
  ChevronSmallDownIcon: () => M4e,
  ChevronSmallLeftIcon: () => N4e,
  ChevronSmallRightIcon: () => L4e,
  ChevronSmallUpIcon: () => I4e,
  ChevronUpIcon: () => T4e,
  ChromaticIcon: () => Sxe,
  ChromeIcon: () => wxe,
  CircleHollowIcon: () => o4e,
  CircleIcon: () => a4e,
  ClearIcon: () => PSe,
  CloseAltIcon: () => gSe,
  CloseIcon: () => RSe,
  CloudHollowIcon: () => E4e,
  CloudIcon: () => R4e,
  CogIcon: () => oSe,
  CollapseIcon: () => Y4e,
  CommandIcon: () => HSe,
  CommentAddIcon: () => ASe,
  CommentIcon: () => TSe,
  CommentsIcon: () => ISe,
  CommitIcon: () => fxe,
  CompassIcon: () => lCe,
  ComponentDrivenIcon: () => Cxe,
  ComponentIcon: () => nRe,
  ContrastIcon: () => bRe,
  ContrastIgnoredIcon: () => ERe,
  ControlsIcon: () => mSe,
  CopyIcon: () => zRe,
  CreditIcon: () => DSe,
  CrossIcon: () => gT,
  DashboardIcon: () => fCe,
  DatabaseIcon: () => Qxe,
  DeleteIcon: () => xSe,
  DiamondIcon: () => l4e,
  DirectionIcon: () => gCe,
  DiscordIcon: () => _xe,
  DocChartIcon: () => ZRe,
  DocListIcon: () => exe,
  DocumentIcon: () => HRe,
  DownloadIcon: () => nCe,
  DragIcon: () => txe,
  EditIcon: () => nSe,
  EllipsisIcon: () => sSe,
  EmailIcon: () => KSe,
  ExpandAltIcon: () => G4e,
  ExpandIcon: () => K4e,
  EyeCloseIcon: () => hRe,
  EyeIcon: () => mRe,
  FaceHappyIcon: () => RCe,
  FaceNeutralIcon: () => xCe,
  FaceSadIcon: () => SCe,
  FacebookIcon: () => Pxe,
  FailedIcon: () => _Se,
  FastForwardIcon: () => IRe,
  FigmaIcon: () => Txe,
  FilterIcon: () => QRe,
  FlagIcon: () => w4e,
  FolderIcon: () => VRe,
  FormIcon: () => dSe,
  GDriveIcon: () => Axe,
  GithubIcon: () => Oxe,
  GitlabIcon: () => Ixe,
  GlobeIcon: () => sCe,
  GoogleIcon: () => Mxe,
  GraphBarIcon: () => KRe,
  GraphLineIcon: () => GRe,
  GraphqlIcon: () => Nxe,
  GridAltIcon: () => uRe,
  GridIcon: () => oRe,
  GrowIcon: () => vRe,
  HeartHollowIcon: () => u4e,
  HeartIcon: () => c4e,
  HomeIcon: () => mCe,
  HourglassIcon: () => b4e,
  InfoIcon: () => USe,
  ItalicIcon: () => axe,
  JumpToIcon: () => n4e,
  KeyIcon: () => kSe,
  LightningIcon: () => gRe,
  LightningOffIcon: () => hT,
  LinkBrokenIcon: () => QSe,
  LinkIcon: () => JSe,
  LinkedinIcon: () => jxe,
  LinuxIcon: () => yxe,
  ListOrderedIcon: () => sxe,
  ListUnorderedIcon: () => lxe,
  LocationIcon: () => uCe,
  LockIcon: () => NSe,
  MarkdownIcon: () => cxe,
  MarkupIcon: () => nxe,
  MediumIcon: () => Lxe,
  MemoryIcon: () => Zxe,
  MenuIcon: () => rxe,
  MergeIcon: () => hxe,
  MirrorIcon: () => yRe,
  MobileIcon: () => zxe,
  MoonIcon: () => LRe,
  NutIcon: () => aSe,
  OutboxIcon: () => qSe,
  OutlineIcon: () => aRe,
  PaintBrushIcon: () => RRe,
  PaperClipIcon: () => ixe,
  ParagraphIcon: () => uxe,
  PassedIcon: () => SSe,
  PhoneIcon: () => XSe,
  PhotoDragIcon: () => iRe,
  PhotoIcon: () => rRe,
  PhotoStabilizeIcon: () => sRe,
  PinAltIcon: () => vSe,
  PinIcon: () => cCe,
  PlayAllHollowIcon: () => DRe,
  PlayBackIcon: () => TRe,
  PlayHollowIcon: () => qRe,
  PlayIcon: () => PRe,
  PlayNextIcon: () => ARe,
  PlusIcon: () => hSe,
  PointerDefaultIcon: () => BSe,
  PointerHandIcon: () => $Se,
  PowerIcon: () => rSe,
  PrintIcon: () => WRe,
  ProceedIcon: () => aCe,
  ProfileIcon: () => ECe,
  PullRequestIcon: () => mxe,
  QuestionIcon: () => VSe,
  RSSIcon: () => e4e,
  RedirectIcon: () => Q4e,
  ReduxIcon: () => kxe,
  RefreshIcon: () => iCe,
  ReplyIcon: () => eCe,
  RepoIcon: () => dxe,
  RequestChangeIcon: () => OSe,
  RewindIcon: () => ORe,
  RulerIcon: () => xRe,
  SaveIcon: () => zSe,
  SearchIcon: () => cRe,
  ShareAltIcon: () => t4e,
  ShareIcon: () => r4e,
  ShieldIcon: () => g4e,
  SideBySideIcon: () => jRe,
  SidebarAltIcon: () => Wxe,
  SidebarAltToggleIcon: () => Gxe,
  SidebarIcon: () => Vxe,
  SidebarToggleIcon: () => Yxe,
  SpeakerIcon: () => _Re,
  StackedIcon: () => BRe,
  StarHollowIcon: () => d4e,
  StarIcon: () => f4e,
  StatusFailIcon: () => S4e,
  StatusIcon: () => C4e,
  StatusPassIcon: () => P4e,
  StatusWarnIcon: () => _4e,
  StickerIcon: () => x4e,
  StopAltHollowIcon: () => kRe,
  StopAltIcon: () => MRe,
  StopIcon: () => FRe,
  StorybookIcon: () => Exe,
  StructureIcon: () => eSe,
  SubtractIcon: () => ESe,
  SunIcon: () => NRe,
  SupportIcon: () => WSe,
  SweepIcon: () => uSe,
  SwitchAltIcon: () => wRe,
  SyncIcon: () => tCe,
  TabletIcon: () => Hxe,
  ThumbsUpIcon: () => h4e,
  TimeIcon: () => dCe,
  TimerIcon: () => pCe,
  TransferIcon: () => J4e,
  TrashIcon: () => ySe,
  TwitterIcon: () => qxe,
  TypeIcon: () => jSe,
  UbuntuIcon: () => vxe,
  UndoIcon: () => Z4e,
  UnfoldIcon: () => X4e,
  UnlockIcon: () => LSe,
  UnpinIcon: () => bSe,
  UploadIcon: () => rCe,
  UserAddIcon: () => bCe,
  UserAltIcon: () => vCe,
  UserIcon: () => yCe,
  UsersIcon: () => wCe,
  VSCodeIcon: () => Fxe,
  VerifiedIcon: () => m4e,
  VideoIcon: () => CRe,
  WandIcon: () => lSe,
  WatchIcon: () => Uxe,
  WindowsIcon: () => bxe,
  WrenchIcon: () => iSe,
  XIcon: () => Bxe,
  YoutubeIcon: () => Dxe,
  ZoomIcon: () => dRe,
  ZoomOutIcon: () => fRe,
  ZoomResetIcon: () => pRe,
  iconList: () => tRe
});
var h = N(H(), 1), tRe = [
  {
    name: "Images",
    icons: [
      "PhotoIcon",
      "ComponentIcon",
      "GridIcon",
      "OutlineIcon",
      "PhotoDragIcon",
      "PhotoStabilizeIcon",
      "CameraStabilizeIcon",
      "GridAltIcon",
      "SearchIcon",
      "ZoomIcon",
      "ZoomOutIcon",
      "ZoomResetIcon",
      "EyeIcon",
      "EyeCloseIcon",
      "LightningIcon",
      "LightningOffIcon",
      "MirrorIcon",
      "GrowIcon",
      "ContrastIcon",
      "SwitchAltIcon",
      "ContrastIgnoredIcon",
      "PaintBrushIcon",
      "RulerIcon",
      "CameraIcon",
      "VideoIcon",
      "SpeakerIcon",
      "PlayIcon",
      "PlayBackIcon",
      "PlayNextIcon",
      "RewindIcon",
      "FastForwardIcon",
      "StopAltIcon",
      "SunIcon",
      "MoonIcon",
      "StopAltHollowIcon",
      "PlayHollowIcon",
      "PlayAllHollowIcon",
      "StopIcon",
      "SideBySideIcon",
      "StackedIcon"
    ]
  },
  {
    name: "Documents",
    icons: [
      "BookIcon",
      "DocumentIcon",
      "CopyIcon",
      "CategoryIcon",
      "FolderIcon",
      "PrintIcon",
      "GraphLineIcon",
      "CalendarIcon",
      "GraphBarIcon",
      "AlignLeftIcon",
      "AlignRightIcon",
      "FilterIcon",
      "DocChartIcon",
      "DocListIcon",
      "DragIcon",
      "MenuIcon"
    ]
  },
  {
    name: "Editing",
    icons: [
      "MarkupIcon",
      "BoldIcon",
      "ItalicIcon",
      "PaperClipIcon",
      "ListOrderedIcon",
      "ListUnorderedIcon",
      "ParagraphIcon",
      "MarkdownIcon"
    ]
  },
  {
    name: "Git",
    icons: [
      "RepoIcon",
      "CommitIcon",
      "BranchIcon",
      "PullRequestIcon",
      "MergeIcon"
    ]
  },
  {
    name: "OS",
    icons: [
      "AppleIcon",
      "LinuxIcon",
      "UbuntuIcon",
      "WindowsIcon",
      "ChromeIcon"
    ]
  },
  {
    name: "Logos",
    icons: [
      "StorybookIcon",
      "AzureDevOpsIcon",
      "BitbucketIcon",
      "ChromaticIcon",
      "ComponentDrivenIcon",
      "DiscordIcon",
      "FacebookIcon",
      "FigmaIcon",
      "GDriveIcon",
      "GithubIcon",
      "GitlabIcon",
      "GoogleIcon",
      "GraphqlIcon",
      "MediumIcon",
      "ReduxIcon",
      "TwitterIcon",
      "YoutubeIcon",
      "VSCodeIcon",
      "LinkedinIcon",
      "XIcon"
    ]
  },
  {
    name: "Devices",
    icons: [
      "BrowserIcon",
      "TabletIcon",
      "MobileIcon",
      "WatchIcon",
      "SidebarIcon",
      "SidebarAltIcon",
      "SidebarAltToggleIcon",
      "SidebarToggleIcon",
      "BottomBarIcon",
      "BottomBarToggleIcon",
      "CPUIcon",
      "DatabaseIcon",
      "MemoryIcon",
      "StructureIcon",
      "BoxIcon",
      "PowerIcon"
    ]
  },
  {
    name: "CRUD",
    icons: [
      "EditIcon",
      "CogIcon",
      "NutIcon",
      "WrenchIcon",
      "EllipsisIcon",
      "WandIcon",
      "SweepIcon",
      "CheckIcon",
      "FormIcon",
      "BatchDenyIcon",
      "BatchAcceptIcon",
      "ControlsIcon",
      "PlusIcon",
      "CloseAltIcon",
      "CrossIcon",
      "TrashIcon",
      "PinAltIcon",
      "UnpinIcon",
      "AddIcon",
      "SubtractIcon",
      "CloseIcon",
      "DeleteIcon",
      "PassedIcon",
      "ChangedIcon",
      "FailedIcon",
      "ClearIcon",
      "CommentIcon",
      "CommentAddIcon",
      "RequestChangeIcon",
      "CommentsIcon",
      "ChatIcon",
      "LockIcon",
      "UnlockIcon",
      "KeyIcon",
      "OutboxIcon",
      "CreditIcon",
      "ButtonIcon",
      "TypeIcon",
      "PointerDefaultIcon",
      "PointerHandIcon",
      "CommandIcon",
      "SaveIcon"
    ]
  },
  {
    name: "Communicate",
    icons: [
      "InfoIcon",
      "QuestionIcon",
      "SupportIcon",
      "AlertIcon",
      "AlertAltIcon",
      "EmailIcon",
      "PhoneIcon",
      "LinkIcon",
      "LinkBrokenIcon",
      "BellIcon",
      "RSSIcon",
      "ShareAltIcon",
      "ShareIcon",
      "JumpToIcon",
      "CircleHollowIcon",
      "CircleIcon",
      "BookmarkHollowIcon",
      "BookmarkIcon",
      "DiamondIcon",
      "HeartHollowIcon",
      "HeartIcon",
      "StarHollowIcon",
      "StarIcon",
      "CertificateIcon",
      "VerifiedIcon",
      "ThumbsUpIcon",
      "ShieldIcon",
      "BasketIcon",
      "BeakerIcon",
      "HourglassIcon",
      "FlagIcon",
      "CloudHollowIcon",
      "CloudIcon",
      "StickerIcon",
      "StatusFailIcon",
      "StatusIcon",
      "StatusWarnIcon",
      "StatusPassIcon"
    ]
  },
  {
    name: "Wayfinding",
    icons: [
      "ChevronUpIcon",
      "ChevronDownIcon",
      "ChevronLeftIcon",
      "ChevronRightIcon",
      "ChevronSmallUpIcon",
      "ChevronSmallDownIcon",
      "ChevronSmallLeftIcon",
      "ChevronSmallRightIcon",
      "ArrowUpIcon",
      "ArrowDownIcon",
      "ArrowLeftIcon",
      "ArrowRightIcon",
      "ArrowTopLeftIcon",
      "ArrowTopRightIcon",
      "ArrowBottomLeftIcon",
      "ArrowBottomRightIcon",
      "ArrowSolidUpIcon",
      "ArrowSolidDownIcon",
      "ArrowSolidLeftIcon",
      "ArrowSolidRightIcon",
      "ExpandAltIcon",
      "CollapseIcon",
      "ExpandIcon",
      "UnfoldIcon",
      "TransferIcon",
      "RedirectIcon",
      "UndoIcon",
      "ReplyIcon",
      "SyncIcon",
      "UploadIcon",
      "DownloadIcon",
      "BackIcon",
      "ProceedIcon",
      "RefreshIcon",
      "GlobeIcon",
      "CompassIcon",
      "LocationIcon",
      "PinIcon",
      "TimeIcon",
      "DashboardIcon",
      "TimerIcon",
      "HomeIcon",
      "AdminIcon",
      "DirectionIcon"
    ]
  },
  {
    name: "People",
    icons: [
      "UserIcon",
      "UserAltIcon",
      "UserAddIcon",
      "UsersIcon",
      "ProfileIcon",
      "FaceHappyIcon",
      "FaceNeutralIcon",
      "FaceSadIcon",
      "AccessibilityIcon",
      "AccessibilityAltIcon",
      "AccessibilityIgnoredIcon"
    ]
  }
], rRe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M6.25 4.254a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0zm-.5 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M13 1.504v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5zM2 9.297V2.004h10v5.293L9.854 5.15a.5.5 0 00-.\
708 0L6.5 7.797 5.354 6.65a.5.5 0 00-.708 0L2 9.297zM9.5 6.21l2.5 2.5v3.293H2V10.71l3-3 3.146 3.146a.5.5 0 00.708-.707L7.207 8.504 9.5 6.21z",
      fill: e
    }
  )
)), nRe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M3.5 1.004a2.5 2.5 0 00-2.5 2.5v7a2.5 2.5 0 002.5 2.5h7a2.5 2.5 0 002.5-2.5v-7a2.5 2.5 0 00-2.5-2.5h-7zm8.5 5.5H7.5v-4.5h3a1.5 1.5\
 0 011.5 1.5v3zm0 1v3a1.5 1.5 0 01-1.5 1.5h-3v-4.5H12zm-5.5 4.5v-4.5H2v3a1.5 1.5 0 001.5 1.5h3zM2 6.504h4.5v-4.5h-3a1.5 1.5 0 00-1.5 1.5v3z",
      fill: e
    }
  )
)), oRe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M1 1.504a.5.5 0 01.5-.5H6a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H1.5a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5h3.5v3.5H2zM7.5 1.504a.5.5 0 01.5-.5h\
4.5a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H8a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5H12v3.5H8.5zM1.5 7.504a.5.5 0 00-.5.5v4.5a.5.5 0 00.5.5H6a.5.5 0 00.5-.\
5v-4.5a.5.5 0 00-.5-.5H1.5zm.5 1v3.5h3.5v-3.5H2zM7.5 8.004a.5.5 0 01.5-.5h4.5a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H8a.5.5 0 01-.5-.5v-4.5zm1 4v-\
3.5H12v3.5H8.5z",
      fill: e
    }
  )
)), aRe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M2 2.004v2H1v-2.5a.5.5 0 01.5-.5H4v1H2zM1 9.004v-4h1v4H1zM1 10.004v2.5a.5.5 0 00.5.5H4v-1H2v-2H1zM10 13.004h2.5a.5.5 0 00.5-.5v-2.\
5h-1v2h-2v1zM12 4.004h1v-2.5a.5.5 0 00-.5-.5H10v1h2v2zM9 12.004v1H5v-1h4zM9 1.004v1H5v-1h4zM13 9.004h-1v-4h1v4zM7 8.004a1 1 0 100-2 1 1 0 00\
0 2z",
      fill: e
    }
  )
)), iRe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 15",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M8.25 3.254a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0zm-.5 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M14 7.003v-6.5a.5.5 0 00-.5-.5h-10a.5.5 0 00-.5.5v2.5H.5a.5.5 0 00-.5.5v2.5h1v-2h2v6.5a.5.5 0 00.5.5H10v2H8v1h2.5a.5.5 0 00.5-.5v-\
2.5h2.5a.5.5 0 00.5-.5v-3.5zm-10-6v5.794L5.646 5.15a.5.5 0 01.708 0L7.5 6.297l2.646-2.647a.5.5 0 01.708 0L13 5.797V1.004H4zm9 6.208l-2.5-2.5\
-2.293 2.293L9.354 8.15a.5.5 0 11-.708.707L6 6.211l-2 2v1.793h9V7.21z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M0 10.004v-3h1v3H0zM0 13.504v-2.5h1v2h2v1H.5a.5.5 0 01-.5-.5zM7 14.004H4v-1h3v1z",
      fill: e
    }
  )
)), sRe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M2.5 1H4V0H2.5A2.5 2.5 0 000 2.5V4h1V2.5A1.5 1.5 0 012.5 1z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7.25 5.25a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0zm-.5 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M12 2.5v9a.5.5 0 01-.5.5h-9a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h9a.5.5 0 01.5.5zM3 8.793V3h8v3.793L9.854 5.646a.5.5 0 00-.708 0L6.5 \
8.293 5.354 7.146a.5.5 0 00-.708 0L3 8.793zm6.5-2.086l1.5 1.5V11H3v-.793l2-2 2.146 2.147a.5.5 0 00.708-.708L7.207 9 9.5 6.707z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M10 1h1.5A1.5 1.5 0 0113 2.5V4h1V2.5A2.5 2.5 0 0011.5 0H10v1zM2.5 13H4v1H2.5A2.5 2.5 0 010 11.5V10h1v1.5A1.5 1.5 0 002.5 13zM10 13\
h1.5a1.5 1.5 0 001.5-1.5V10h1v1.5a2.5 2.5 0 01-2.5 2.5H10v-1z",
      fill: e
    }
  )
)), lRe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement("g", { clipPath: "url(#prefix__clip0_2484_400)" }, /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M2.5 1A1.5 1.5 0 001 2.5v1a.5.5 0 01-1 0v-1A2.5 2.5 0 012.5 0h1a.5.5 0 010 1h-1zm3.352 1.223A.5.5 0 016.268 2h1.464a.5.5 0 01.416.\
223L9.333 4H11.5a.5.5 0 01.5.5v5a.5.5 0 01-.5.5h-9a.5.5 0 01-.5-.5v-5a.5.5 0 01.5-.5h2.167l1.185-1.777zM11.5 1A1.5 1.5 0 0113 2.5v1a.5.5 0 0\
01 0v-1A2.5 2.5 0 0011.5 0h-1a.5.5 0 000 1h1zm-9 12A1.5 1.5 0 011 11.5v-1a.5.5 0 00-1 0v1A2.5 2.5 0 002.5 14h1a.5.5 0 000-1h-1zm9 0a1.5 1.5 \
0 001.5-1.5v-1a.5.5 0 011 0v1a2.5 2.5 0 01-2.5 2.5h-1a.5.5 0 010-1h1zM8 7a1 1 0 11-2 0 1 1 0 012 0zm1 0a2 2 0 11-4 0 2 2 0 014 0z",
      fill: e
    }
  )),
  /* @__PURE__ */ h.createElement("defs", null, /* @__PURE__ */ h.createElement("clipPath", { id: "prefix__clip0_2484_400" }, /* @__PURE__ */ h.createElement(
  "path", { fill: "#fff", d: "M0 0h14v14H0z" })))
)), uRe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M4 3V1h1v2H4zM4 6v2h1V6H4zM4 11v2h1v-2H4zM9 11v2h1v-2H9zM9 8V6h1v2H9zM9 1v2h1V1H9zM13 5h-2V4h2v1zM11 10h2V9h-2v1zM3 10H1V9h2v1zM1 \
5h2V4H1v1zM8 5H6V4h2v1zM6 10h2V9H6v1zM4 4h1v1H4V4zM10 4H9v1h1V4zM9 9h1v1H9V9zM5 9H4v1h1V9z",
      fill: e
    }
  )
)), cRe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 \
4.5 0 019 0z",
      fill: e
    }
  )
)), dRe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M6 3.5a.5.5 0 01.5.5v1.5H8a.5.5 0 010 1H6.5V8a.5.5 0 01-1 0V6.5H4a.5.5 0 010-1h1.5V4a.5.5 0 01.5-.5z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 \
4.5 0 019 0z",
      fill: e
    }
  )
)), fRe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement("path", { d: "M4 5.5a.5.5 0 000 1h4a.5.5 0 000-1H4z", fill: e }),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M6 11.5c1.35 0 2.587-.487 3.544-1.294a.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 106 11.5zm0-1a4.\
5 4.5 0 100-9 4.5 4.5 0 000 9z",
      fill: e
    }
  )
)), pRe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M1.5 2.837V1.5a.5.5 0 00-1 0V4a.5.5 0 00.5.5h2.5a.5.5 0 000-1H2.258a4.5 4.5 0 11-.496 4.016.5.5 0 10-.942.337 5.502 5.502 0 008.72\
4 2.353.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 101.5 2.837z",
      fill: e
    }
  )
)), mRe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement("path", { d: "M7 9.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5z", fill: e }),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M14 7l-.21.293C13.669 7.465 10.739 11.5 7 11.5S.332 7.465.21 7.293L0 7l.21-.293C.331 6.536 3.261 2.5 7 2.5s6.668 4.036 6.79 4.207L\
14 7zM2.896 5.302A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5c1.518 0 2.958-.83 4.104-1.802A12.72 12.\
72 0 0012.755 7c-.297-.37-.875-1.04-1.65-1.698C9.957 4.33 8.517 3.5 7 3.5c-1.519 0-2.958.83-4.104 1.802z",
      fill: e
    }
  )
)), hRe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11zM11.104 8.698c-.177.15-.362.298-.553.439l.714.714a13.25 13.25 0 00\
2.526-2.558L14 7l-.21-.293C13.669 6.536 10.739 2.5 7 2.5c-.89 0-1.735.229-2.506.58l.764.763A4.859 4.859 0 017 3.5c1.518 0 2.958.83 4.104 1.8\
02A12.724 12.724 0 0112.755 7a12.72 12.72 0 01-1.65 1.698zM.21 6.707c.069-.096 1.03-1.42 2.525-2.558l.714.714c-.191.141-.376.288-.553.439A12\
.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5a4.86 4.86 0 001.742-.344l.764.764c-.772.351-1.616.58-2.506.\
58C3.262 11.5.332 7.465.21 7.293L0 7l.21-.293z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M4.5 7c0-.322.061-.63.172-.914l3.242 3.242A2.5 2.5 0 014.5 7zM9.328 7.914L6.086 4.672a2.5 2.5 0 013.241 3.241z",
      fill: e
    }
  )
)), gRe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M2.522 6.6a.566.566 0 00-.176.544.534.534 0 00.382.41l2.781.721-1.493 5.013a.563.563 0 00.216.627.496.496 0 00.63-.06l6.637-6.453a\
.568.568 0 00.151-.54.534.534 0 00-.377-.396l-2.705-.708 2.22-4.976a.568.568 0 00-.15-.666.497.497 0 00-.648.008L2.522 6.6zm7.72.63l-3.067-.\
804L9.02 2.29 3.814 6.803l2.95.764-1.277 4.285 4.754-4.622zM4.51 13.435l.037.011-.037-.011z",
      fill: e
    }
  )
)), hT = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M10.139 8.725l1.36-1.323a.568.568 0 00.151-.54.534.534 0 00-.377-.396l-2.705-.708 2.22-4.976a.568.568 0 00-.15-.666.497.497 0 00-.\
648.008L5.464 4.05l.708.71 2.848-2.47-1.64 3.677.697.697 2.164.567-.81.787.708.708zM2.523 6.6a.566.566 0 00-.177.544.534.534 0 00.382.41l2.7\
82.721-1.494 5.013a.563.563 0 00.217.627.496.496 0 00.629-.06l3.843-3.736-.708-.707-2.51 2.44 1.137-3.814-.685-.685-2.125-.55.844-.731-.71-.\
71L2.524 6.6zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11z",
      fill: e
    }
  )
)), yRe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zm1 10.5h10v-10l-10 10z",
      fill: e
    }
  )
)), vRe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M1.5 1.004a.5.5 0 100 1H12v10.5a.5.5 0 001 0v-10.5a1 1 0 00-1-1H1.5z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M1 3.504a.5.5 0 01.5-.5H10a1 1 0 011 1v8.5a.5.5 0 01-1 0v-8.5H1.5a.5.5 0 01-.5-.5z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M1.5 5.004a.5.5 0 00-.5.5v7a.5.5 0 00.5.5h7a.5.5 0 00.5-.5v-7a.5.5 0 00-.5-.5h-7zm.5 1v6h6v-6H2z",
      fill: e
    }
  )
)), bRe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 15",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M3 3.004H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h10a.5.5 0 00.5-.5v-2.5h2.5a.5.5 0 00.5-.5v-10a.5.5 0 00-.5-.5h-10a.5.5 0 00-.5.5v2.5zm\
1 1v2.293l2.293-2.293H4zm-1 0v6.5a.499.499 0 00.497.5H10v2H1v-9h2zm1-1h6.5a.499.499 0 01.5.5v6.5h2v-9H4v2zm6 7V7.71l-2.293 2.293H10zm0-3.707\
V4.71l-5.293 5.293h1.586L10 6.297zm-.707-2.293H7.707L4 7.71v1.586l5.293-5.293z",
      fill: e
    }
  )
)), wRe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 15",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M3 3.004v-2.5a.5.5 0 01.5-.5h10a.5.5 0 01.5.5v10a.5.5 0 01-.5.5H11v2.5a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-10a.5.5 0 01.5-.5H3zm1 0\
v-2h9v9h-2v-6.5a.5.5 0 00-.5-.5H4zm6 8v2H1v-9h2v6.5a.5.5 0 00.5.5H10zm0-1H4v-6h6v6z",
      fill: e
    }
  )
)), ERe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "g",
    {
      clipPath: "url(#prefix__clip0_2359_559)",
      fillRule: "evenodd",
      clipRule: "evenodd",
      fill: e
    },
    /* @__PURE__ */ h.createElement("path", { d: "M3 3.004H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h7.176a4.526 4.526 0 01-.916-1H1v-9h2v6.5a.499.\
499 0 00.497.5h2.531a4.548 4.548 0 01-.001-1h-1.32l2.16-2.16c.274-.374.603-.703.977-.977L10 4.711v1.316a4.552 4.552 0 011 0V3.504a.48.48 0 0\
0-.038-.191.5.5 0 00-.462-.31H4v-2h9v5.755c.378.253.715.561 1 .913V.504a.5.5 0 00-.5-.5h-10a.5.5 0 00-.5.5v2.5zm1 1v2.293l2.293-2.293H4zm5.2\
93 0H7.707L4 7.71v1.586l5.293-5.293z" }),
    /* @__PURE__ */ h.createElement("path", { d: "M14 10.5a3.5 3.5 0 11-7 0 3.5 3.5 0 017 0zm-5.5 0A.5.5 0 019 10h3a.5.5 0 010 1H9a.5.5 0 01\
-.5-.5z" })
  ),
  /* @__PURE__ */ h.createElement("defs", null, /* @__PURE__ */ h.createElement("clipPath", { id: "prefix__clip0_2359_559" }, /* @__PURE__ */ h.createElement(
  "path", { fill: "#fff", d: "M0 0h14v14H0z" })))
)), RRe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M11.854.146a.5.5 0 00-.708 0L2.983 8.31a2.24 2.24 0 00-1.074.6C.677 10.14.24 11.902.085 12.997 0 13.6 0 14 0 14s.4 0 1.002-.085c1.\
095-.155 2.857-.592 4.089-1.824a2.24 2.24 0 00.6-1.074l8.163-8.163a.5.5 0 000-.708l-2-2zM5.6 9.692l.942-.942L5.25 7.457l-.942.943A2.242 2.24\
2 0 015.6 9.692zm1.649-1.65L12.793 2.5 11.5 1.207 5.957 6.75 7.25 8.043zM4.384 9.617a1.25 1.25 0 010 1.768c-.767.766-1.832 1.185-2.78 1.403-\
.17.04-.335.072-.49.098.027-.154.06-.318.099-.49.219-.947.637-2.012 1.403-2.779a1.25 1.25 0 011.768 0z",
      fill: e
    }
  )
)), xRe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M1.5 1.004a.5.5 0 01.5.5v.5h10v-.5a.5.5 0 011 0v2a.5.5 0 01-1 0v-.5H2v.5a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M1.5 6a.5.5 0 00-.5.5v6a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-6a.5.5 0 00-.5-.5h-11zM2 7v5h10V7h-1v2.5a.5.5 0 01-1 0V7h-.75v1a.5.5 0 01\
-1 0V7H7.5v2.5a.5.5 0 01-1 0V7h-.75v1a.5.5 0 01-1 0V7H4v2.5a.5.5 0 01-1 0V7H2z",
      fill: e
    }
  )
)), SRe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M10 7a3 3 0 11-6 0 3 3 0 016 0zM9 7a2 2 0 11-4 0 2 2 0 014 0z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M2.5 1a.5.5 0 00-.5.5v.504H.5a.5.5 0 00-.5.5v9a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H6V1.5a.5.5 0 00-.5-.5h-3zM1 3.00\
4v8h12v-8H1z",
      fill: e
    }
  )
)), CRe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement("path", { d: "M2.5 10a.5.5 0 100-1 .5.5 0 000 1z", fill: e }),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M0 4a2 2 0 012-2h6a2 2 0 012 2v.5l3.189-2.391A.5.5 0 0114 2.5v9a.5.5 0 01-.804.397L10 9.5v.5a2 2 0 01-2 2H2a2 2 0 01-2-2V4zm9 0v1.\
5a.5.5 0 00.8.4L13 3.5v7L9.8 8.1a.5.5 0 00-.8.4V10a1 1 0 01-1 1H2a1 1 0 01-1-1V4a1 1 0 011-1h6a1 1 0 011 1z",
      fill: e
    }
  )
)), _Re = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M1 4.5v5a.5.5 0 00.5.5H4l3.17 2.775a.5.5 0 00.83-.377V1.602a.5.5 0 00-.83-.376L4 4H1.5a.5.5 0 00-.5.5zM4 9V5H2v4h2zm.998.545A.504.\
504 0 005 9.5v-5c0-.015 0-.03-.002-.044L7 2.704v8.592L4.998 9.545z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M10.15 1.752a.5.5 0 00-.3.954 4.502 4.502 0 010 8.588.5.5 0 00.3.954 5.502 5.502 0 000-10.496z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M10.25 3.969a.5.5 0 00-.5.865 2.499 2.499 0 010 4.332.5.5 0 10.5.866 3.499 3.499 0 000-6.063z",
      fill: e
    }
  )
)), PRe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M12.813 7.425l-9.05 5.603A.5.5 0 013 12.603V1.398a.5.5 0 01.763-.425l9.05 5.602a.5.5 0 010 .85z",
      fill: e
    }
  )
)), TRe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M11.24 12.035L3.697 7.427A.494.494 0 013.5 7.2v4.05a.75.75 0 01-1.5 0v-8.5a.75.75 0 011.5 0V6.8a.494.494 0 01.198-.227l7.541-4.608\
A.5.5 0 0112 2.39v9.217a.5.5 0 01-.76.427z",
      fill: e
    }
  )
)), ARe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M2.76 12.035l7.542-4.608A.495.495 0 0010.5 7.2v4.05a.75.75 0 001.5 0v-8.5a.75.75 0 00-1.5 0V6.8a.495.495 0 00-.198-.227L2.76 1.965\
A.5.5 0 002 2.39v9.217a.5.5 0 00.76.427z",
      fill: e
    }
  )
)), ORe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M9 2.42v2.315l4.228-2.736a.5.5 0 01.772.42v9.162a.5.5 0 01-.772.42L9 9.263v2.317a.5.5 0 01-.772.42L1.5 7.647v3.603a.75.75 0 01-1.5\
 0v-8.5a.75.75 0 011.5 0v3.603L8.228 2A.5.5 0 019 2.42z",
      fill: e
    }
  )
)), IRe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M5 2.42v2.315L.772 1.999a.5.5 0 00-.772.42v9.162a.5.5 0 00.772.42L5 9.263v2.317a.5.5 0 00.772.42L12.5 7.647v3.603a.75.75 0 001.5 0\
v-8.5a.75.75 0 00-1.5 0v3.603L5.772 2A.5.5 0 005 2.42z",
      fill: e
    }
  )
)), MRe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11z",
      fill: e
    }
  )
)), NRe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement("g", { clipPath: "url(#prefix__clip0_1107_3492)", fill: e }, /* @__PURE__ */ h.createElement("path", { d: "\
M7.5.5a.5.5 0 00-1 0V2a.5.5 0 001 0V.5z" }), /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7 10a3 3 0 100-6 3 3 0 000 6zm0-1a2 2 0 100-4 2 2 0 000 4z"
    }
  ), /* @__PURE__ */ h.createElement("path", { d: "M7 11.5a.5.5 0 01.5.5v1.5a.5.5 0 01-1 0V12a.5.5 0 01.5-.5zM11.5 7a.5.5 0 01.5-.5h1.5a.5.5\
 0 010 1H12a.5.5 0 01-.5-.5zM.5 6.5a.5.5 0 000 1H2a.5.5 0 000-1H.5zM3.818 10.182a.5.5 0 010 .707l-1.06 1.06a.5.5 0 11-.708-.706l1.06-1.06a.5\
.5 0 01.708 0zM11.95 2.757a.5.5 0 10-.707-.707l-1.061 1.061a.5.5 0 10.707.707l1.06-1.06zM10.182 10.182a.5.5 0 01.707 0l1.06 1.06a.5.5 0 11-.\
706.708l-1.061-1.06a.5.5 0 010-.708zM2.757 2.05a.5.5 0 10-.707.707l1.06 1.061a.5.5 0 00.708-.707l-1.06-1.06z" })),
  /* @__PURE__ */ h.createElement("defs", null, /* @__PURE__ */ h.createElement("clipPath", { id: "prefix__clip0_1107_3492" }, /* @__PURE__ */ h.createElement(
  "path", { fill: "#fff", d: "M0 0h14v14H0z" })))
)), LRe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 15 15",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement("g", { clipPath: "url(#prefix__clip0_1107_3493)" }, /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M8.335.047l-.15-.015a7.499 7.499 0 106.14 10.577c.103-.229-.156-.447-.386-.346a5.393 5.393 0 01-.771.27A5.356 5.356 0 019.153.691C\
9.37.568 9.352.23 9.106.175a7.545 7.545 0 00-.77-.128zM6.977 1.092a6.427 6.427 0 005.336 10.671A6.427 6.427 0 116.977 1.092z",
      fill: e
    }
  )),
  /* @__PURE__ */ h.createElement("defs", null, /* @__PURE__ */ h.createElement("clipPath", { id: "prefix__clip0_1107_3493" }, /* @__PURE__ */ h.createElement(
    "path",
    {
      fill: "#fff",
      transform: "scale(1.07124)",
      d: "M0 0h14.001v14.002H0z"
    }
  )))
)), kRe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M2.2 2.204v9.6h9.6v-9.6H2.2zm-.7-1.2a.5.5 0 00-.5.5v11a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-11a.5.5 0 00-.5-.5h-11z",
      fill: e
    }
  )
)), qRe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M4.2 10.88L10.668 7 4.2 3.12v7.76zM3 2.414v9.174a.8.8 0 001.212.686l7.645-4.587a.8.8 0 000-1.372L4.212 1.727A.8.8 0 003 2.413z",
      fill: e
    }
  )
)), DRe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M5.2 10.88L11.668 7 5.2 3.12v7.76zM4 2.414v9.174a.8.8 0 001.212.686l7.645-4.587a.8.8 0 000-1.372L5.212 1.727A.8.8 0 004 2.413zM1.5\
 1.6a.6.6 0 01.6.6v9.6a.6.6 0 11-1.2 0V2.2a.6.6 0 01.6-.6z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M.963 1.932a.6.6 0 01.805-.268l1 .5a.6.6 0 01-.536 1.073l-1-.5a.6.6 0 01-.269-.805zM3.037 11.132a.6.6 0 01-.269.805l-1 .5a.6.6 0 0\
1-.536-1.073l1-.5a.6.6 0 01.805.268z",
      fill: e
    }
  )
)), FRe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M4.5 4a.5.5 0 00-.5.5v5a.5.5 0 00.5.5h5a.5.5 0 00.5-.5v-5a.5.5 0 00-.5-.5h-5z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",
      fill: e
    }
  )
)), jRe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zm1 10.5v-10h5v10H2z",
      fill: e
    }
  )
)), BRe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M12.5 1.004a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11zm-10.5 1h10v5H2v-5z",
      fill: e
    }
  )
)), $Re = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M13 2a2 2 0 00-2-2H1.5a.5.5 0 00-.5.5v13a.5.5 0 00.5.5H11a2 2 0 002-2V2zM3 13h8a1 1 0 001-1V2a1 1 0 00-1-1H7v6.004a.5.5 0 01-.856.\
352l-.002-.002L5.5 6.71l-.645.647A.5.5 0 014 7.009V1H3v12zM5 1v4.793l.146-.146a.5.5 0 01.743.039l.111.11V1H5z",
      fill: e
    }
  )
)), HRe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M4 5.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zM4.5 7.5a.5.5 0 000 1h5a.5.5 0 000-1h-5zM4 10.5a.5.5 0 01.5-.5h5a.5.5 0 01\
0 1h-5a.5.5 0 01-.5-.5z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M1.5 0a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h11a.5.5 0 00.5-.5V3.207a.5.5 0 00-.146-.353L10.146.146A.5.5 0 009.793 0H1.5zM2 1h7.5v2a.5.5\
 0 00.5.5h2V13H2V1z",
      fill: e
    }
  )
)), zRe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 15",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M11.746.07A.5.5 0 0011.5.003h-6a.5.5 0 00-.5.5v2.5H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h8a.5.5 0 00.5-.5v-2.5h4.5a.5.5 0 00.5-.5v-8a\
.498.498 0 00-.15-.357L11.857.154a.506.506 0 00-.11-.085zM9 10.003h4v-7h-1.5a.5.5 0 01-.5-.5v-1.5H6v2h.5a.5.5 0 01.357.15L8.85 5.147c.093.09\
.15.217.15.357v4.5zm-8-6v9h7v-7H6.5a.5.5 0 01-.5-.5v-1.5H1z",
      fill: e
    }
  )
)), URe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M3 1.5a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5zM2 3.504a.5.5 0 01.5-.5h9a.5.5 0 010 1h-9a.5.5 0 01-.5-.5z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M1 5.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v7a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-7zM2 12V6h10v6H2z",
      fill: e
    }
  )
)), VRe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M6.586 3.504l-1.5-1.5H1v9h12v-7.5H6.586zm.414-1L5.793 1.297a1 1 0 00-.707-.293H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h13a.5.5 0 00.5-.\
5v-8.5a.5.5 0 00-.5-.5H7z",
      fill: e
    }
  )
)), WRe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M4.5 8.004a.5.5 0 100 1h5a.5.5 0 000-1h-5zM4.5 10.004a.5.5 0 000 1h5a.5.5 0 000-1h-5z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M2 1.504a.5.5 0 01.5-.5h8a.498.498 0 01.357.15l.993.993c.093.09.15.217.15.357v1.5h1.5a.5.5 0 01.5.5v5a.5.5 0 01-.5.5H12v2.5a.5.5 0\
 01-.5.5h-9a.5.5 0 01-.5-.5v-2.5H.5a.5.5 0 01-.5-.5v-5a.5.5 0 01.5-.5H2v-2.5zm11 7.5h-1v-2.5a.5.5 0 00-.5-.5h-9a.5.5 0 00-.5.5v2.5H1v-4h12v4\
zm-2-6v1H3v-2h7v.5a.5.5 0 00.5.5h.5zm-8 9h8v-5H3v5z",
      fill: e
    }
  )
)), GRe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M5.146 6.15a.5.5 0 01.708 0L7 7.297 9.146 5.15a.5.5 0 01.708 0l1 1a.5.5 0 01-.708.707L9.5 6.211 7.354 8.357a.5.5 0 01-.708 0L5.5 7\
.211 3.854 8.857a.5.5 0 11-.708-.707l2-2z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M1.5 1.004a.5.5 0 00-.5.5v11a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-11a.5.5 0 00-.5-.5h-11zm.5 1v10h10v-10H2z",
      fill: e
    }
  )
)), YRe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M3.5 0a.5.5 0 01.5.5V1h6V.5a.5.5 0 011 0V1h1.5a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5H3V.5a.5.5 0 \
01.5-.5zM2 4v2.3h3V4H2zm0 5.2V6.8h3v2.4H2zm0 .5V12h3V9.7H2zm3.5 0V12h3V9.7h-3zm3.5 0V12h3V9.7H9zm3-.5H9V6.8h3v2.4zm-3.5 0h-3V6.8h3v2.4zM9 4v\
2.3h3V4H9zM5.5 6.3h3V4h-3v2.3z",
      fill: e
    }
  )
)), KRe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M12 2.5a.5.5 0 00-1 0v10a.5.5 0 001 0v-10zM9 4.5a.5.5 0 00-1 0v8a.5.5 0 001 0v-8zM5.5 7a.5.5 0 01.5.5v5a.5.5 0 01-1 0v-5a.5.5 0 01\
.5-.5zM3 10.5a.5.5 0 00-1 0v2a.5.5 0 001 0v-2z",
      fill: e
    }
  )
)), XRe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M13 2a.5.5 0 010 1H1a.5.5 0 010-1h12zM10 5a.5.5 0 010 1H1a.5.5 0 010-1h9zM11.5 8.5A.5.5 0 0011 8H1a.5.5 0 000 1h10a.5.5 0 00.5-.5z\
M7.5 11a.5.5 0 010 1H1a.5.5 0 010-1h6.5z",
      fill: e
    }
  )
)), JRe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M1 2a.5.5 0 000 1h12a.5.5 0 000-1H1zM4 5a.5.5 0 000 1h9a.5.5 0 000-1H4zM2.5 8.5A.5.5 0 013 8h10a.5.5 0 010 1H3a.5.5 0 01-.5-.5zM6.\
5 11a.5.5 0 000 1H13a.5.5 0 000-1H6.5z",
      fill: e
    }
  )
)), QRe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M1 2a.5.5 0 000 1h12a.5.5 0 000-1H1zM3 5a.5.5 0 000 1h8a.5.5 0 000-1H3zM4.5 8.5A.5.5 0 015 8h4a.5.5 0 010 1H5a.5.5 0 01-.5-.5zM6.5\
 11a.5.5 0 000 1h1a.5.5 0 000-1h-1z",
      fill: e
    }
  )
)), ZRe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M1 1.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zM2 4v2.3h3V4H2zm0 5.2V6.8h3v2.4H2zm0 .5V12h3V9.7H\
2zm3.5 0V12h3V9.7h-3zm3.5 0V12h3V9.7H9zm3-.5H9V6.8h3v2.4zm-3.5 0h-3V6.8h3v2.4zM9 6.3h3V4H9v2.3zm-3.5 0h3V4h-3v2.3z",
      fill: e
    }
  )
)), exe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M3.5 6.5A.5.5 0 014 6h6a.5.5 0 010 1H4a.5.5 0 01-.5-.5zM4 9a.5.5 0 000 1h6a.5.5 0 000-1H4z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M1 1.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zM2 4v8h10V4H2z",
      fill: e
    }
  )
)), txe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M13 4a.5.5 0 010 1H1a.5.5 0 010-1h12zM13.5 9.5A.5.5 0 0013 9H1a.5.5 0 000 1h12a.5.5 0 00.5-.5z",
      fill: e
    }
  )
)), rxe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M13 3.5a.5.5 0 010 1H1a.5.5 0 010-1h12zM13.5 10a.5.5 0 00-.5-.5H1a.5.5 0 000 1h12a.5.5 0 00.5-.5zM13 6.5a.5.5 0 010 1H1a.5.5 0 010\
-1h12z",
      fill: e
    }
  )
)), nxe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M8.982 1.632a.5.5 0 00-.964-.263l-3 11a.5.5 0 10.964.263l3-11zM3.32 3.616a.5.5 0 01.064.704L1.151 7l2.233 2.68a.5.5 0 11-.768.64l-\
2.5-3a.5.5 0 010-.64l2.5-3a.5.5 0 01.704-.064zM10.68 3.616a.5.5 0 00-.064.704L12.849 7l-2.233 2.68a.5.5 0 00.768.64l2.5-3a.5.5 0 000-.64l-2.\
5-3a.5.5 0 00-.704-.064z",
      fill: e
    }
  )
)), oxe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M3 2v1.5h1v7H3V12h5a3 3 0 001.791-5.407A2.75 2.75 0 008 2.011V2H3zm5 5.5H5.5v3H8a1.5 1.5 0 100-3zm-.25-4H5.5V6h2.25a1.25 1.25 0 10\
0-2.5z",
      fill: e
    }
  )
)), axe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement("path", { d: "M5 2h6v1H8.5l-2 8H9v1H3v-1h2.5l2-8H5V2z", fill: e })
)), ixe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M10.553 2.268a1.5 1.5 0 00-2.12 0L2.774 7.925a2.5 2.5 0 003.536 3.535l3.535-3.535a.5.5 0 11.707.707l-3.535 3.536-.002.002a3.5 3.5 \
0 01-4.959-4.941l.011-.011L7.725 1.56l.007-.008a2.5 2.5 0 013.53 3.541l-.002.002-5.656 5.657-.003.003a1.5 1.5 0 01-2.119-2.124l3.536-3.536a.\
5.5 0 11.707.707L4.189 9.34a.5.5 0 00.707.707l5.657-5.657a1.5 1.5 0 000-2.121z",
      fill: e
    }
  )
)), sxe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M5 2.5a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5zM5 7a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7A.5.5 0 015 7zM5.5 11a.5.5 0 000 1h7a\
.5.5 0 000-1h-7zM2.5 2H1v1h1v3h1V2.5a.5.5 0 00-.5-.5zM3 8.5v1a.5.5 0 01-1 0V9h-.5a.5.5 0 010-1h1a.5.5 0 01.5.5zM2 10.5a.5.5 0 00-1 0V12h2v-1\
H2v-.5z",
      fill: e
    }
  )
)), lxe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M2.75 2.5a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM5.5 2a.5.5 0 000 1h7a.5.5 0 000-1h-7zM5.5 11a.5.5 0 000 1h7a.5.5 0 000-1h-7zM2 12.25\
a.75.75 0 100-1.5.75.75 0 000 1.5zM5 7a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7A.5.5 0 015 7zM2 7.75a.75.75 0 100-1.5.75.75 0 000 1.5z",
      fill: e
    }
  )
)), uxe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M6 7a3 3 0 110-6h5.5a.5.5 0 010 1H10v10.5a.5.5 0 01-1 0V2H7v10.5a.5.5 0 01-1 0V7z",
      fill: e
    }
  )
)), cxe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M2 4.5h1.5L5 6.375 6.5 4.5H8v5H6.5V7L5 8.875 3.5 7v2.5H2v-5zM9.75 4.5h1.5V7h1.25l-2 2.5-2-2.5h1.25V4.5z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M.5 2a.5.5 0 00-.5.5v9a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H.5zM1 3v8h12V3H1z",
      fill: e
    }
  )
)), dxe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M5 2.5a.5.5 0 11-1 0 .5.5 0 011 0zM4.5 5a.5.5 0 100-1 .5.5 0 000 1zM5 6.5a.5.5 0 11-1 0 .5.5 0 011 0z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M11 0a2 2 0 012 2v10a2 2 0 01-2 2H1.5a.5.5 0 01-.5-.5V.5a.5.5 0 01.5-.5H11zm0 1H3v12h8a1 1 0 001-1V2a1 1 0 00-1-1z",
      fill: e
    }
  )
)), fxe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M3.031 7.5a4 4 0 007.938 0H13.5a.5.5 0 000-1h-2.53a4 4 0 00-7.94 0H.501a.5.5 0 000 1h2.531zM7 10a3 3 0 100-6 3 3 0 000 6z",
      fill: e
    }
  )
)), pxe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M6 2.5a1.5 1.5 0 01-1 1.415v4.053C5.554 7.4 6.367 7 7.5 7c.89 0 1.453-.252 1.812-.557.218-.184.374-.4.482-.62a1.5 1.5 0 111.026.14\
3c-.155.423-.425.87-.86 1.24C9.394 7.685 8.59 8 7.5 8c-1.037 0-1.637.42-1.994.917a2.81 2.81 0 00-.472 1.18A1.5 1.5 0 114 10.086v-6.17A1.5 1.\
5 0 116 2.5zm-2 9a.5.5 0 111 0 .5.5 0 01-1 0zm1-9a.5.5 0 11-1 0 .5.5 0 011 0zm6 2a.5.5 0 11-1 0 .5.5 0 011 0z",
      fill: e
    }
  )
)), mxe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M8.354 1.354L7.707 2H8.5A2.5 2.5 0 0111 4.5v5.585a1.5 1.5 0 11-1 0V4.5A1.5 1.5 0 008.5 3h-.793l.647.646a.5.5 0 11-.708.708l-1.5-1.\
5a.5.5 0 010-.708l1.5-1.5a.5.5 0 11.708.708zM11 11.5a.5.5 0 11-1 0 .5.5 0 011 0zM4 3.915a1.5 1.5 0 10-1 0v6.17a1.5 1.5 0 101 0v-6.17zM3.5 11\
a.5.5 0 100 1 .5.5 0 000-1zm0-8a.5.5 0 100-1 .5.5 0 000 1z",
      fill: e
    }
  )
)), hxe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M4.108 3.872A1.5 1.5 0 103 3.915v6.17a1.5 1.5 0 101 0V6.41c.263.41.573.77.926 1.083 1.108.98 2.579 1.433 4.156 1.5A1.5 1.5 0 109.0\
9 7.99c-1.405-.065-2.62-.468-3.5-1.248-.723-.64-1.262-1.569-1.481-2.871zM3.5 11a.5.5 0 100 1 .5.5 0 000-1zM4 2.5a.5.5 0 11-1 0 .5.5 0 011 0z\
m7 6a.5.5 0 11-1 0 .5.5 0 011 0z",
      fill: e
    }
  )
)), gxe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M11.03 8.103a3.044 3.044 0 01-.202-1.744 2.697 2.697 0 011.4-1.935c-.749-1.18-1.967-1.363-2.35-1.403-.835-.086-2.01.56-2.648.57h-.\
016c-.639-.01-1.814-.656-2.649-.57-.415.044-1.741.319-2.541 1.593-.281.447-.498 1.018-.586 1.744a6.361 6.361 0 00-.044.85c.005.305.028.604.0\
7.895.09.62.259 1.207.477 1.744.242.595.543 1.13.865 1.585.712 1.008 1.517 1.59 1.971 1.6.934.021 1.746-.61 2.416-.594.006.002.014.003.02.00\
2h.017c.007 0 .014 0 .021-.002.67-.017 1.481.615 2.416.595.453-.011 1.26-.593 1.971-1.6a7.95 7.95 0 00.97-1.856c-.697-.217-1.27-.762-1.578-1\
.474zm-2.168-5.97c.717-.848.69-2.07.624-2.125-.065-.055-1.25.163-1.985.984-.735.82-.69 2.071-.624 2.125.064.055 1.268-.135 1.985-.984z",
      fill: e
    }
  )
)), yxe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7 0a3 3 0 013 3v1.24c.129.132.25.27.362.415.113.111.283.247.515.433l.194.155c.325.261.711.582 1.095.966.765.765 1.545 1.806 1.823\
 3.186a.501.501 0 01-.338.581 3.395 3.395 0 01-1.338.134 2.886 2.886 0 01-1.049-.304 5.535 5.535 0 01-.17.519 2 2 0 11-2.892 2.55A5.507 5.50\
7 0 017 13c-.439 0-.838-.044-1.201-.125a2 2 0 11-2.892-2.55 5.553 5.553 0 01-.171-.519c-.349.182-.714.27-1.05.304A3.395 3.395 0 01.35 9.977a\
.497.497 0 01-.338-.582c.278-1.38 1.058-2.42 1.823-3.186.384-.384.77-.705 1.095-.966l.194-.155c.232-.186.402-.322.515-.433.112-.145.233-.283\
.362-.414V3a3 3 0 013-3zm1.003 11.895a2 2 0 012.141-1.89c.246-.618.356-1.322.356-2.005 0-.514-.101-1.07-.301-1.599l-.027-.017a6.387 6.387 0 \
00-.857-.42 6.715 6.715 0 00-1.013-.315l-.852.638a.75.75 0 01-.9 0l-.852-.638a6.716 6.716 0 00-1.693.634 4.342 4.342 0 00-.177.101l-.027.017\
A4.6 4.6 0 003.501 8c0 .683.109 1.387.355 2.005a2 2 0 012.142 1.89c.295.067.627.105 1.002.105s.707-.038 1.003-.105zM5 12a1 1 0 11-2 0 1 1 0 \
012 0zm6 0a1 1 0 11-2 0 1 1 0 012 0zM6.1 4.3a1.5 1.5 0 011.8 0l.267.2L7 5.375 5.833 4.5l.267-.2zM8.5 2a.5.5 0 01.5.5V3a.5.5 0 01-1 0v-.5a.5.\
5 0 01.5-.5zM6 2.5a.5.5 0 00-1 0V3a.5.5 0 001 0v-.5z",
      fill: e
    }
  )
)), vxe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement("g", { clipPath: "url(#prefix__clip0_1107_3497)", fill: e }, /* @__PURE__ */ h.createElement("path", { d: "\
M12.261 2.067c0 1.142-.89 2.068-1.988 2.068-1.099 0-1.99-.926-1.99-2.068C8.283.926 9.174 0 10.273 0c1.098 0 1.989.926 1.989 2.067zM3.978 6.6\
c0 1.142-.89 2.068-1.989 2.068C.891 8.668 0 7.742 0 6.601c0-1.142.89-2.068 1.989-2.068 1.099 0 1.989.926 1.989 2.068zM6.475 11.921A4.761 4.7\
61 0 014.539 11a4.993 4.993 0 01-1.367-1.696 2.765 2.765 0 01-1.701.217 6.725 6.725 0 001.844 2.635 6.379 6.379 0 004.23 1.577 3.033 3.033 0\
 01-.582-1.728 4.767 4.767 0 01-.488-.083zM11.813 11.933c0 1.141-.89 2.067-1.989 2.067-1.098 0-1.989-.926-1.989-2.067 0-1.142.891-2.068 1.99\
-2.068 1.098 0 1.989.926 1.989 2.068zM12.592 11.173a6.926 6.926 0 001.402-3.913 6.964 6.964 0 00-1.076-4.023A2.952 2.952 0 0111.8 4.6c.398.7\
8.592 1.656.564 2.539a5.213 5.213 0 01-.724 2.495c.466.396.8.935.952 1.54zM1.987 3.631c-.05 0-.101.002-.151.004C3.073 1.365 5.504.024 8.005.\
23a3.07 3.07 0 00-.603 1.676 4.707 4.707 0 00-2.206.596 4.919 4.919 0 00-1.7 1.576 2.79 2.79 0 00-1.509-.447z" })),
  /* @__PURE__ */ h.createElement("defs", null, /* @__PURE__ */ h.createElement("clipPath", { id: "prefix__clip0_1107_3497" }, /* @__PURE__ */ h.createElement(
  "path", { fill: "#fff", d: "M0 0h14v14H0z" })))
)), bxe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M6.5 1H1v5.5h5.5V1zM13 1H7.5v5.5H13V1zM7.5 7.5H13V13H7.5V7.5zM6.5 7.5H1V13h5.5V7.5z",
      fill: e
    }
  )
)), wxe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement("g", { clipPath: "url(#prefix__clip0_1107_3496)" }, /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M13.023 3.431a.115.115 0 01-.099.174H7.296A3.408 3.408 0 003.7 6.148a.115.115 0 01-.21.028l-1.97-3.413a.115.115 0 01.01-.129A6.97 \
6.97 0 017 0a6.995 6.995 0 016.023 3.431zM7 9.615A2.619 2.619 0 014.384 7 2.62 2.62 0 017 4.383 2.619 2.619 0 019.616 7 2.619 2.619 0 017 9.\
615zm1.034.71a.115.115 0 00-.121-.041 3.4 3.4 0 01-.913.124 3.426 3.426 0 01-3.091-1.973L1.098 3.567a.115.115 0 00-.2.001 7.004 7.004 0 005.\
058 10.354l.017.001c.04 0 .078-.021.099-.057l1.971-3.414a.115.115 0 00-.009-.128zm1.43-5.954h3.947c.047 0 .09.028.107.072.32.815.481 1.675.4\
81 2.557a6.957 6.957 0 01-2.024 4.923A6.957 6.957 0 017.08 14h-.001a.115.115 0 01-.1-.172L9.794 8.95A3.384 3.384 0 0010.408 7c0-.921-.364-1.\
785-1.024-2.433a.115.115 0 01.08-.196z",
      fill: e
    }
  )),
  /* @__PURE__ */ h.createElement("defs", null, /* @__PURE__ */ h.createElement("clipPath", { id: "prefix__clip0_1107_3496" }, /* @__PURE__ */ h.createElement(
  "path", { fill: "#fff", d: "M0 0h14v14H0z" })))
)), Exe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M2.042.616a.704.704 0 00-.66.729L1.816 12.9c.014.367.306.66.672.677l9.395.422h.032a.704.704 0 00.704-.703V.704c0-.015 0-.03-.002-.\
044a.704.704 0 00-.746-.659l-.773.049.057 1.615a.105.105 0 01-.17.086l-.52-.41-.617.468a.105.105 0 01-.168-.088L9.746.134 2.042.616zm8.003 4\
.747c-.247.192-2.092.324-2.092.05.04-1.045-.429-1.091-.689-1.091-.247 0-.662.075-.662.634 0 .57.607.893 1.32 1.27 1.014.538 2.24 1.188 2.24 \
2.823 0 1.568-1.273 2.433-2.898 2.433-1.676 0-3.141-.678-2.976-3.03.065-.275 2.197-.21 2.197 0-.026.971.195 1.256.753 1.256.43 0 .624-.236.6\
24-.634 0-.602-.633-.958-1.361-1.367-.987-.554-2.148-1.205-2.148-2.7 0-1.494 1.027-2.489 2.86-2.489 1.832 0 2.832.98 2.832 2.845z",
      fill: e
    }
  )
)), Rxe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement("g", { clipPath: "url(#prefix__clip0_1107_3503)" }, /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M0 5.176l1.31-1.73 4.902-1.994V.014l4.299 3.144-8.78 1.706v4.8L0 9.162V5.176zm14-2.595v8.548l-3.355 2.857-5.425-1.783v1.783L1.73 9\
.661l8.784 1.047v-7.55L14 2.581z",
      fill: e
    }
  )),
  /* @__PURE__ */ h.createElement("defs", null, /* @__PURE__ */ h.createElement("clipPath", { id: "prefix__clip0_1107_3503" }, /* @__PURE__ */ h.createElement(
  "path", { fill: "#fff", d: "M0 0h14v14H0z" })))
)), xxe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M1 1.522a.411.411 0 00-.412.476l1.746 10.597a.56.56 0 00.547.466h8.373a.411.411 0 00.412-.345l1.017-6.248h-3.87L8.35 9.18H5.677l-.\
724-3.781h7.904L13.412 2A.411.411 0 0013 1.524L1 1.522z",
      fill: e
    }
  )
)), Sxe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M0 7a7 7 0 1014 0A7 7 0 000 7zm5.215-3.869a1.967 1.967 0 013.747.834v1.283l-3.346-1.93a2.486 2.486 0 00-.401-.187zm3.484 2.58l-3.3\
46-1.93a1.968 1.968 0 00-2.685.72 1.954 1.954 0 00.09 2.106 2.45 2.45 0 01.362-.254l1.514-.873a.27.27 0 01.268 0l2.1 1.21 1.697-.978zm-.323 \
4.972L6.86 9.81a.268.268 0 01-.134-.231V7.155l-1.698-.98v3.86a1.968 1.968 0 003.747.835 2.488 2.488 0 01-.4-.187zm.268-.464a1.967 1.967 0 00\
2.685-.719 1.952 1.952 0 00-.09-2.106c-.112.094-.233.18-.361.253L7.53 9.577l1.113.642zm-4.106.257a1.974 1.974 0 01-1.87-.975A1.95 1.95 0 012\
.47 8.01c.136-.507.461-.93.916-1.193L4.5 6.175v3.86c0 .148.013.295.039.44zM11.329 4.5a1.973 1.973 0 00-1.87-.976c.025.145.039.292.039.44v1.7\
47a.268.268 0 01-.135.232l-2.1 1.211v1.96l3.346-1.931a1.966 1.966 0 00.72-2.683z",
      fill: e
    }
  )
)), Cxe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M10.847 2.181L8.867.201a.685.685 0 00-.97 0l-4.81 4.81a.685.685 0 000 .969l2.466 2.465-2.405 2.404a.685.685 0 000 .97l1.98 1.98a.6\
85.685 0 00.97 0l4.81-4.81a.685.685 0 000-.969L8.441 5.555l2.405-2.404a.685.685 0 000-.97z",
      fill: e
    }
  )
)), _xe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M11.852 2.885c-.893-.41-1.85-.712-2.85-.884a.043.043 0 00-.046.021c-.123.22-.26.505-.355.73a10.658 10.658 0 00-3.2 0 7.377 7.377 0\
 00-.36-.73.045.045 0 00-.046-.021c-1 .172-1.957.474-2.85.884a.04.04 0 00-.019.016C.311 5.612-.186 8.257.058 10.869a.048.048 0 00.018.033 11\
.608 11.608 0 003.496 1.767.045.045 0 00.049-.016c.27-.368.51-.755.715-1.163a.044.044 0 00-.024-.062 7.661 7.661 0 01-1.092-.52.045.045 0 01\
-.005-.075c.074-.055.147-.112.217-.17a.043.043 0 01.046-.006c2.29 1.046 4.771 1.046 7.035 0a.043.043 0 01.046.006c.07.057.144.115.218.17a.04\
5.045 0 01-.004.075 7.186 7.186 0 01-1.093.52.045.045 0 00-.024.062c.21.407.45.795.715 1.162.011.016.03.023.05.017a11.57 11.57 0 003.5-1.767\
.045.045 0 00.019-.032c.292-3.02-.49-5.643-2.07-7.969a.036.036 0 00-.018-.016zM4.678 9.279c-.69 0-1.258-.634-1.258-1.411 0-.778.558-1.411 1.\
258-1.411.707 0 1.27.639 1.259 1.41 0 .778-.558 1.412-1.259 1.412zm4.652 0c-.69 0-1.258-.634-1.258-1.411 0-.778.557-1.411 1.258-1.411.707 0 \
1.27.639 1.258 1.41 0 .778-.551 1.412-1.258 1.412z",
      fill: e
    }
  )
)), Pxe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7.399 14H5.06V7H3.5V4.588l1.56-.001-.002-1.421C5.058 1.197 5.533 0 7.6 0h1.721v2.413H8.246c-.805 0-.844.337-.844.966l-.003 1.208h\
1.934l-.228 2.412L7.401 7l-.002 7z",
      fill: e
    }
  )
)), Txe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M9.2 0H4.803A2.603 2.603 0 003.41 4.802a2.603 2.603 0 000 4.396 2.602 2.602 0 103.998 2.199v-2.51a2.603 2.603 0 103.187-4.085A2.60\
4 2.604 0 009.2 0zM7.407 7a1.793 1.793 0 103.586 0 1.793 1.793 0 00-3.586 0zm-.81 2.603H4.803a1.793 1.793 0 101.794 1.794V9.603zM4.803 4.397\
h1.794V.81H4.803a1.793 1.793 0 000 3.587zm0 .81a1.793 1.793 0 000 3.586h1.794V5.207H4.803zm4.397-.81H7.407V.81H9.2a1.794 1.794 0 010 3.587z",
      fill: e
    }
  )
)), Axe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M6.37 8.768l-2.042 3.537h6.755l2.042-3.537H6.37zm6.177-1.003l-3.505-6.07H4.96l3.504 6.07h4.084zM4.378 2.7L.875 8.77l2.042 3.536L6.\
42 6.236 4.378 2.7z",
      fill: e
    }
  )
)), Oxe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7 0C3.132 0 0 3.132 0 7a6.996 6.996 0 004.786 6.641c.35.062.482-.149.482-.332 0-.166-.01-.718-.01-1.304-1.758.324-2.213-.429-2.35\
3-.823-.079-.2-.42-.822-.717-.988-.246-.132-.596-.455-.01-.464.552-.009.946.508 1.077.717.63 1.06 1.636.762 2.039.578.061-.455.245-.761.446-\
.936-1.558-.175-3.185-.779-3.185-3.457 0-.76.271-1.39.717-1.88-.07-.176-.314-.893.07-1.856 0 0 .587-.183 1.925.718a6.495 6.495 0 011.75-.236\
c.595 0 1.19.078 1.75.236 1.34-.91 1.926-.718 1.926-.718.385.963.14 1.68.07 1.855.446.49.717 1.111.717 1.881 0 2.687-1.636 3.282-3.194 3.457\
.254.218.473.638.473 1.295 0 .936-.009 1.688-.009 1.925 0 .184.131.402.481.332A7.012 7.012 0 0014 7c0-3.868-3.133-7-7-7z",
      fill: e
    }
  )
)), Ixe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M1.068 5.583l1.487-4.557a.256.256 0 01.487 0L4.53 5.583H1.068L7 13.15 4.53 5.583h4.941l-2.47 7.565 5.931-7.565H9.471l1.488-4.557a.\
256.256 0 01.486 0l1.488 4.557.75 2.3a.508.508 0 01-.185.568L7 13.148v.001H7L.503 8.452a.508.508 0 01-.186-.57l.75-2.299z",
      fill: e
    }
  )
)), Mxe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M10.925 1.094H7.262c-1.643 0-3.189 1.244-3.189 2.685 0 1.473 1.12 2.661 2.791 2.661.116 0 .23-.002.34-.01a1.49 1.49 0 00-.186.684c\
0 .41.22.741.498 1.012-.21 0-.413.006-.635.006-2.034 0-3.6 1.296-3.6 2.64 0 1.323 1.717 2.15 3.75 2.15 2.32 0 3.6-1.315 3.6-2.639 0-1.06-.31\
3-1.696-1.28-2.38-.331-.235-.965-.805-.965-1.14 0-.392.112-.586.703-1.047.606-.474 1.035-1.14 1.035-1.914 0-.92-.41-1.819-1.18-2.115h1.161l.\
82-.593zm-1.335 8.96c.03.124.045.25.045.378 0 1.07-.688 1.905-2.665 1.905-1.406 0-2.421-.89-2.421-1.96 0-1.047 1.259-1.92 2.665-1.904.328.00\
4.634.057.911.146.764.531 1.311.832 1.465 1.436zM7.34 6.068c-.944-.028-1.841-1.055-2.005-2.295-.162-1.24.47-2.188 1.415-2.16.943.029 1.84 1.\
023 2.003 2.262.163 1.24-.47 2.222-1.414 2.193z",
      fill: e
    }
  )
)), Nxe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7.873 11.608a1.167 1.167 0 00-1.707-.027L3.46 10.018l.01-.04h7.072l.022.076-2.69 1.554zM6.166 2.42l.031.03-3.535 6.124a1.265 1.26\
5 0 00-.043-.012V5.438a1.166 1.166 0 00.84-1.456L6.167 2.42zm4.387 1.562a1.165 1.165 0 00.84 1.456v3.124l-.043.012-3.536-6.123a1.2 1.2 0 00.\
033-.032l2.706 1.563zM3.473 9.42a1.168 1.168 0 00-.327-.568L6.68 2.73a1.17 1.17 0 00.652 0l3.536 6.123a1.169 1.169 0 00-.327.567H3.473zm8.79\
-.736a1.169 1.169 0 00-.311-.124V5.44a1.17 1.17 0 10-1.122-1.942L8.13 1.938a1.168 1.168 0 00-1.122-1.5 1.17 1.17 0 00-1.121 1.5l-2.702 1.56a\
1.168 1.168 0 00-1.86.22 1.17 1.17 0 00.739 1.722v3.12a1.168 1.168 0 00-.74 1.721 1.17 1.17 0 001.861.221l2.701 1.56a1.169 1.169 0 102.233-.\
035l2.687-1.552a1.168 1.168 0 101.457-1.791z",
      fill: e
    }
  )
)), Lxe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M0 0v14h14V0H0zm11.63 3.317l-.75.72a.22.22 0 00-.083.212v-.001 5.289a.22.22 0 00.083.21l.733.72v.159H7.925v-.158l.76-.738c.074-.07\
4.074-.096.074-.21V5.244l-2.112 5.364h-.285l-2.46-5.364V8.84a.494.494 0 00.136.413h.001l.988 1.198v.158H2.226v-.158l.988-1.198a.477.477 0 00\
.126-.416v.003-4.157a.363.363 0 00-.118-.307l-.878-1.058v-.158h2.727l2.107 4.622L9.031 3.16h2.6v.158z",
      fill: e
    }
  )
)), kxe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M4.06 9.689c.016.49.423.88.912.88h.032a.911.911 0 00.88-.945.916.916 0 00-.912-.88h-.033c-.033 0-.08 0-.113.016-.669-1.108-.946-2.\
314-.848-3.618.065-.978.391-1.825.961-2.526.473-.603 1.386-.896 2.005-.913 1.728-.032 2.461 2.119 2.51 2.983.212.049.57.163.815.244C10.073 2\
.29 8.444.92 6.88.92c-1.467 0-2.82 1.06-3.357 2.625-.75 2.086-.261 4.09.651 5.671a.74.74 0 00-.114.473zm8.279-2.298c-1.239-1.45-3.064-2.249-\
5.15-2.249h-.261a.896.896 0 00-.798-.489h-.033A.912.912 0 006.13 6.48h.031a.919.919 0 00.8-.554h.293c1.239 0 2.412.358 3.472 1.059.814.538 1\
.401 1.238 1.727 2.086.277.684.261 1.353-.033 1.923-.456.864-1.222 1.337-2.232 1.337a4.16 4.16 0 01-1.597-.343 9.58 9.58 0 01-.734.587c.7.32\
6 1.418.505 2.102.505 1.565 0 2.722-.863 3.162-1.727.473-.946.44-2.575-.782-3.961zm-7.433 5.51a4.005 4.005 0 01-.977.113c-1.206 0-2.298-.505\
-2.836-1.32C.376 10.603.13 8.289 2.494 6.577c.05.261.147.62.212.832-.31.228-.798.685-1.108 1.303-.44.864-.391 1.729.13 2.527.359.537.93.864 \
1.663.962.896.114 1.793-.05 2.657-.505 1.271-.669 2.119-1.467 2.672-2.56a.944.944 0 01-.26-.603.913.913 0 01.88-.945h.033a.915.915 0 01.098 \
1.825c-.897 1.842-2.478 3.08-4.565 3.488z",
      fill: e
    }
  )
)), qxe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M14 2.547a5.632 5.632 0 01-1.65.464 2.946 2.946 0 001.263-1.63 5.67 5.67 0 01-1.823.715 2.837 2.837 0 00-2.097-.93c-1.586 0-2.872 \
1.319-2.872 2.946 0 .23.025.456.074.67C4.508 4.66 2.392 3.488.975 1.706c-.247.435-.389.941-.389 1.481 0 1.022.507 1.923 1.278 2.452a2.806 2.\
806 0 01-1.3-.368l-.001.037c0 1.427.99 2.617 2.303 2.888a2.82 2.82 0 01-1.297.05c.366 1.17 1.427 2.022 2.683 2.045A5.671 5.671 0 010 11.51a7\
.985 7.985 0 004.403 1.323c5.283 0 8.172-4.488 8.172-8.38 0-.128-.003-.255-.009-.38A5.926 5.926 0 0014 2.546z",
      fill: e
    }
  )
)), Dxe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M13.99 8.172c.005-.281.007-.672.007-1.172 0-.5-.002-.89-.007-1.172a14.952 14.952 0 00-.066-1.066 9.638 9.638 0 00-.169-1.153c-.083\
-.38-.264-.7-.542-.96a1.667 1.667 0 00-.972-.454C11.084 2.065 9.337 2 6.999 2s-4.085.065-5.241.195a1.65 1.65 0 00-.969.453c-.276.26-.455.58-\
.539.961a8.648 8.648 0 00-.176 1.153c-.039.43-.061.785-.066 1.066C.002 6.11 0 6.5 0 7c0 .5.002.89.008 1.172.005.281.027.637.066 1.067.04.43.\
095.813.168 1.152.084.38.265.7.543.96.279.261.603.412.973.453 1.156.13 2.902.196 5.24.196 2.34 0 4.087-.065 5.243-.196a1.65 1.65 0 00.967-.4\
53c.276-.26.456-.58.54-.96.077-.339.136-.722.175-1.152.04-.43.062-.786.067-1.067zM9.762 6.578A.45.45 0 019.997 7a.45.45 0 01-.235.422l-3.998\
 2.5a.442.442 0 01-.266.078.538.538 0 01-.242-.063.465.465 0 01-.258-.437v-5c0-.197.086-.343.258-.437a.471.471 0 01.508.016l3.998 2.5z",
      fill: e
    }
  )
)), Fxe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M10.243.04a.87.87 0 01.38.087l2.881 1.386a.874.874 0 01.496.79V11.713a.875.875 0 01-.496.775l-2.882 1.386a.872.872 0 01-.994-.17L4\
.11 8.674l-2.404 1.823a.583.583 0 01-.744-.034l-.771-.7a.583.583 0 010-.862L2.274 7 .19 5.1a.583.583 0 010-.862l.772-.701a.583.583 0 01.744-\
.033L4.11 5.327 9.628.296a.871.871 0 01.615-.255zm.259 3.784L6.315 7l4.187 3.176V3.824z",
      fill: e
    }
  )
)), jxe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M11.667 13H2.333A1.333 1.333 0 011 11.667V2.333C1 1.597 1.597 1 2.333 1h9.334C12.403 1 13 1.597 13 2.333v9.334c0 .736-.597 1.333-1\
.333 1.333zm-2.114-1.667h1.78V7.675c0-1.548-.877-2.296-2.102-2.296-1.226 0-1.742.955-1.742.955v-.778H5.773v5.777h1.716V8.3c0-.812.374-1.296 \
1.09-1.296.658 0 .974.465.974 1.296v3.033zm-6.886-7.6c0 .589.474 1.066 1.058 1.066.585 0 1.058-.477 1.058-1.066 0-.589-.473-1.066-1.058-1.06\
6-.584 0-1.058.477-1.058 1.066zm1.962 7.6h-1.79V5.556h1.79v5.777z",
      fill: e
    }
  )
)), Bxe = /* @__PURE__ */ h.forwardRef(
  ({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
    "svg",
    {
      width: t,
      height: t,
      viewBox: "0 0 14 14",
      fill: "none",
      xmlns: "http://www.w3.org/2000/svg",
      ref: n,
      ...r
    },
    /* @__PURE__ */ h.createElement(
      "path",
      {
        d: "M11.02.446h2.137L8.49 5.816l5.51 7.28H9.67L6.298 8.683l-3.88 4.413H.282l5.004-5.735L0 .446h4.442l3.064 4.048L11.02.446zm-.759 11\
.357h1.18L3.796 1.655H2.502l7.759 10.148z",
        fill: e
      }
    )
  )
), $xe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h13a.5.5 0 01.5.5v11a.5.5 0 01-.5.5H.5zm.5-1v-8h12v8H1zm1-9.5a.5.5 0 11-1 0 .5.5 0 01\
1 0zm2 0a.5.5 0 11-1 0 .5.5 0 011 0zm2 0a.5.5 0 11-1 0 .5.5 0 011 0z",
      fill: e
    }
  )
)), Hxe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 15",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M3.5.004a1.5 1.5 0 00-1.5 1.5v11a1.5 1.5 0 001.5 1.5h7a1.5 1.5 0 001.5-1.5v-11a1.5 1.5 0 00-1.5-1.5h-7zm0 1h7a.5.5 0 01.5.5v9.5H3v\
-9.5a.5.5 0 01.5-.5zm2.5 11a.5.5 0 000 1h2a.5.5 0 000-1H6z",
      fill: e
    }
  )
)), zxe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 15",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M3 1.504a1.5 1.5 0 011.5-1.5h5a1.5 1.5 0 011.5 1.5v11a1.5 1.5 0 01-1.5 1.5h-5a1.5 1.5 0 01-1.5-1.5v-11zm1 10.5v-10h6v10H4z",
      fill: e
    }
  )
)), Uxe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 15",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M4 .504a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zm5.5 2.5h-5a.5.5 0 00-.5.5v7a.5.5 0 00.5.5h5a.5.5 0 00.5-.5v-7a.5.5 0 00-\
.5-.5zm-5-1a1.5 1.5 0 00-1.5 1.5v7a1.5 1.5 0 001.5 1.5h5a1.5 1.5 0 001.5-1.5v-7a1.5 1.5 0 00-1.5-1.5h-5zm2.5 2a.5.5 0 01.5.5v2h1a.5.5 0 110 \
1H7a.5.5 0 01-.5-.5v-2.5a.5.5 0 01.5-.5zm-2.5 9a.5.5 0 000 1h5a.5.5 0 000-1h-5z",
      fill: e
    }
  )
)), Vxe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M2.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H3a.5.5 0 01-.5-.5zM3 6.004a.5.5 0 100 1h1a.5.5 0 000-1H3zM2.5 8.504a.5.5 0 01.5-.5h1a.5.5\
 0 110 1H3a.5.5 0 01-.5-.5z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm.5-1v-10h3v10H2zm4-10h6v10H6v-10z",
      fill: e
    }
  )
)), Wxe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M9.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM10 6.004a.5.5 0 100 1h1a.5.5 0 000-1h-1zM9.5 8.504a.5.5 0 01.5-.5h1a.\
5.5 0 010 1h-1a.5.5 0 01-.5-.5z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm.5-1v-10h6v10H2zm7-10h3v10H9v-10z",
      fill: e
    }
  )
)), Gxe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M11.5 4.504a.5.5 0 00-.5-.5h-1a.5.5 0 100 1h1a.5.5 0 00.5-.5zM11 6.004a.5.5 0 010 1h-1a.5.5 0 010-1h1zM11.5 8.504a.5.5 0 00-.5-.5h\
-1a.5.5 0 100 1h1a.5.5 0 00.5-.5z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm7.5-1h3v-10H9v10zm-1 0H2v-10h6v4.5H5.207l.6\
5-.65a.5.5 0 10-.707-.708L3.646 6.65a.5.5 0 000 .707l1.497 1.497a.5.5 0 10.707-.708l-.643-.642H8v4.5z",
      fill: e
    }
  )
)), Yxe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M1.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H2a.5.5 0 01-.5-.5zM2 6.004a.5.5 0 100 1h1a.5.5 0 000-1H2zM1.5 8.504a.5.5 0 01.5-.5h1a.5.5\
 0 110 1H2a.5.5 0 01-.5-.5z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5H.5zm.5-1v-10h3v10H1zm4 0v-4.5h2.793l-.643.642a.5.\
5 0 10.707.708l1.497-1.497a.5.5 0 000-.707L7.85 5.146a.5.5 0 10-.707.708l.65.65H5v-4.5h6v10H5z",
      fill: e
    }
  )
)), Kxe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M3 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM6.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1zM9 10.504a.5.5 0 01.5-.5h1a.\
5.5 0 010 1h-1a.5.5 0 01-.5-.5z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zm1 6.5v-6h10v6H2zm10 1v3H2v-3h10z",
      fill: e
    }
  )
)), Xxe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M3.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1zM6 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM9.5 10.004a.5.5 0 000 1h1a.\
5.5 0 000-1h-1z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M1 12.504v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5zm1-.5v-3h10v3H2zm4.5-4H2v-6h10v6H7.5V5.21l.646\
.646a.5.5 0 10.708-.707l-1.5-1.5a.5.5 0 00-.708 0l-1.5 1.5a.5.5 0 10.708.707l.646-.646v2.793z",
      fill: e
    }
  )
)), Jxe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 15",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M5 5.504a.5.5 0 01.5-.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5v-3zm1 2.5v-2h2v2H6z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M5.5.004a.5.5 0 01.5.5v1.5h2v-1.5a.5.5 0 011 0v1.5h2.5a.5.5 0 01.5.5v2.5h1.5a.5.5 0 010 1H12v2h1.5a.5.5 0 010 1H12v2.5a.5.5 0 01-.\
5.5H9v1.5a.5.5 0 01-1 0v-1.5H6v1.5a.5.5 0 01-1 0v-1.5H2.5a.5.5 0 01-.5-.5v-2.5H.5a.5.5 0 010-1H2v-2H.5a.5.5 0 010-1H2v-2.5a.5.5 0 01.5-.5H5v\
-1.5a.5.5 0 01.5-.5zm5.5 3H3v8h8v-8z",
      fill: e
    }
  )
)), Qxe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M12 3c0-1.105-2.239-2-5-2s-5 .895-5 2v8c0 .426.26.752.544.977.29.228.68.413 1.116.558.878.293 2.059.465 3.34.465 1.281 0 2.462-.17\
2 3.34-.465.436-.145.825-.33 1.116-.558.285-.225.544-.551.544-.977V3zm-1.03 0a.787.787 0 00-.05-.052c-.13-.123-.373-.28-.756-.434C9.404 2.21\
 8.286 2 7 2c-1.286 0-2.404.21-3.164.514-.383.153-.625.31-.756.434A.756.756 0 003.03 3a.756.756 0 00.05.052c.13.123.373.28.756.434C4.596 3.7\
9 5.714 4 7 4c1.286 0 2.404-.21 3.164-.514.383-.153.625-.31.756-.434A.787.787 0 0010.97 3zM11 5.75V4.2c-.912.486-2.364.8-4 .8-1.636 0-3.088-\
.314-4-.8v1.55l.002.008a.147.147 0 00.016.033.618.618 0 00.145.15c.165.13.435.27.813.395.751.25 1.82.414 3.024.414s2.273-.163 3.024-.414c.37\
8-.126.648-.265.813-.395a.62.62 0 00.146-.15.149.149 0 00.015-.033A.03.03 0 0011 5.75zM3 7.013c.2.103.423.193.66.272.878.293 2.059.465 3.34.\
465 1.281 0 2.462-.172 3.34-.465.237-.079.46-.17.66-.272V8.5l-.002.008a.149.149 0 01-.015.033.62.62 0 01-.146.15c-.165.13-.435.27-.813.395-.\
751.25-1.82.414-3.024.414s-2.273-.163-3.024-.414c-.378-.126-.648-.265-.813-.395a.618.618 0 01-.145-.15.147.147 0 01-.016-.033A.027.027 0 013\
 8.5V7.013zm0 2.75V11l.002.008a.147.147 0 00.016.033.617.617 0 00.145.15c.165.13.435.27.813.395.751.25 1.82.414 3.024.414s2.273-.163 3.024-.\
414c.378-.126.648-.265.813-.395a.619.619 0 00.146-.15.148.148 0 00.015-.033L11 11V9.763c-.2.103-.423.193-.66.272-.878.293-2.059.465-3.34.465\
-1.281 0-2.462-.172-3.34-.465A4.767 4.767 0 013 9.763z",
      fill: e
    }
  )
)), Zxe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 15",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M5 3a.5.5 0 00-1 0v3a.5.5 0 001 0V3zM7 2.5a.5.5 0 01.5.5v3a.5.5 0 01-1 0V3a.5.5 0 01.5-.5zM10 4.504a.5.5 0 10-1 0V6a.5.5 0 001 0V4\
.504z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M12 3.54l-.001-.002a.499.499 0 00-.145-.388l-3-3a.499.499 0 00-.388-.145L8.464.004H2.5a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h9a.5.5 0 00\
.5-.5V3.54zM3 1.004h5.293L11 3.71v5.293H3v-8zm0 9v3h8v-3H3z",
      fill: e
    }
  )
)), eSe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M8.164 3.446a1.5 1.5 0 10-2.328 0L1.81 10.032A1.503 1.503 0 000 11.5a1.5 1.5 0 002.915.5h8.17a1.5 1.5 0 101.104-1.968L8.164 3.446z\
m-1.475.522a1.506 1.506 0 00.622 0l4.025 6.586a1.495 1.495 0 00-.25.446H2.914a1.497 1.497 0 00-.25-.446l4.024-6.586z",
      fill: e
    }
  )
)), tSe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7.21.046l6.485 2.994A.5.5 0 0114 3.51v6.977a.495.495 0 01-.23.432.481.481 0 01-.071.038L7.23 13.944a.499.499 0 01-.46 0L.3 10.958\
a.498.498 0 01-.3-.47V3.511a.497.497 0 01.308-.473L6.78.051a.499.499 0 01.43-.005zM1 4.282v5.898l5.5 2.538V6.82L1 4.282zm6.5 8.436L13 10.18V\
4.282L7.5 6.82v5.898zM12.307 3.5L7 5.95 1.693 3.5 7 1.05l5.307 2.45z",
      fill: e
    }
  )
)), rSe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement("path", { d: "M7.5.5a.5.5 0 00-1 0v6a.5.5 0 001 0v-6z", fill: e }),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M4.273 2.808a.5.5 0 00-.546-.837 6 6 0 106.546 0 .5.5 0 00-.546.837 5 5 0 11-5.454 0z",
      fill: e
    }
  )
)), nSe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M13.854 2.146l-2-2a.5.5 0 00-.708 0l-1.5 1.5-8.995 8.995a.499.499 0 00-.143.268L.012 13.39a.495.495 0 00.135.463.5.5 0 00.462.134l\
2.482-.496a.495.495 0 00.267-.143l8.995-8.995 1.5-1.5a.5.5 0 000-.708zM12 3.293l.793-.793L11.5 1.207 10.707 2 12 3.293zm-2-.586L1.707 11 3 1\
2.293 11.293 4 10 2.707zM1.137 12.863l.17-.849.679.679-.849.17z",
      fill: e
    }
  )
)), oSe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M5.586 5.586A2 2 0 018.862 7.73a.5.5 0 10.931.365 3 3 0 10-1.697 1.697.5.5 0 10-.365-.93 2 2 0 01-2.145-3.277z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M.939 6.527c.127.128.19.297.185.464a.635.635 0 01-.185.465L0 8.395a7.099 7.099 0 001.067 2.572h1.32c.182 0 .345.076.46.197a.635.63\
5 0 01.198.46v1.317A7.097 7.097 0 005.602 14l.94-.94a.634.634 0 01.45-.186H7.021c.163 0 .326.061.45.186l.939.938a7.098 7.098 0 002.547-1.057\
V11.61c0-.181.075-.344.197-.46a.634.634 0 01.46-.197h1.33c.507-.76.871-1.622 1.056-2.55l-.946-.946a.635.635 0 01-.186-.465.635.635 0 01.186-\
.464l.943-.944a7.099 7.099 0 00-1.044-2.522h-1.34a.635.635 0 01-.46-.197.635.635 0 01-.196-.46V1.057A7.096 7.096 0 008.413.002l-.942.942a.63\
4.634 0 01-.45.186H6.992a.634.634 0 01-.45-.186L5.598 0a7.097 7.097 0 00-2.553 1.058v1.33c0 .182-.076.345-.197.46a.635.635 0 01-.46.198h-1.3\
3A7.098 7.098 0 00.003 5.591l.936.936zm.707 1.636c.324-.324.482-.752.479-1.172a1.634 1.634 0 00-.48-1.171l-.538-.539c.126-.433.299-.847.513-\
1.235h.768c.459 0 .873-.19 1.167-.49.3-.295.49-.708.49-1.167v-.77c.39-.215.807-.388 1.243-.515l.547.547c.32.32.742.48 1.157.48l.015-.001h.01\
4c.415 0 .836-.158 1.157-.479l.545-.544c.433.126.846.299 1.234.512v.784c0 .46.19.874.49 1.168.294.3.708.49 1.167.49h.776c.209.382.378.788.50\
2 1.213l-.545.546a1.635 1.635 0 00-.48 1.17c-.003.421.155.849.48 1.173l.549.55c-.126.434-.3.85-.513 1.239h-.77c-.458 0-.872.19-1.166.49-.3.2\
94-.49.708-.49 1.167v.77a6.09 6.09 0 01-1.238.514l-.54-.54a1.636 1.636 0 00-1.158-.48H6.992c-.415 0-.837.159-1.157.48l-.543.543a6.091 6.091 \
0 01-1.247-.516v-.756c0-.459-.19-.873-.49-1.167-.294-.3-.708-.49-1.167-.49h-.761a6.094 6.094 0 01-.523-1.262l.542-.542z",
      fill: e
    }
  )
)), aSe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M5.585 8.414a2 2 0 113.277-.683.5.5 0 10.931.365 3 3 0 10-1.697 1.697.5.5 0 00-.365-.93 2 2 0 01-2.146-.449z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M6.5.289a1 1 0 011 0l5.062 2.922a1 1 0 01.5.866v5.846a1 1 0 01-.5.866L7.5 13.71a1 1 0 01-1 0L1.437 10.79a1 1 0 01-.5-.866V4.077a1 \
1 0 01.5-.866L6.5.29zm.5.866l5.062 2.922v5.846L7 12.845 1.937 9.923V4.077L7 1.155z",
      fill: e
    }
  )
)), iSe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M10.5 1c.441 0 .564.521.252.833l-.806.807a.51.51 0 000 .72l.694.694a.51.51 0 00.72 0l.807-.806c.312-.312.833-.19.833.252a2.5 2.5 0\
 01-3.414 2.328l-6.879 6.88a1 1 0 01-1.414-1.415l6.88-6.88A2.5 2.5 0 0110.5 1zM2 12.5a.5.5 0 100-1 .5.5 0 000 1z",
      fill: e
    }
  )
)), sSe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M4 7a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM13 7a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM7 8.5a1.5 1.5 0 100-3 1.5 1.5 0 000 3z",
      fill: e
    }
  )
)), lSe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 15",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M5.903.112a.107.107 0 01.194 0l.233.505.552.066c.091.01.128.123.06.185l-.408.377.109.546a.107.107 0 01-.158.114L6 1.633l-.486.272a\
.107.107 0 01-.157-.114l.108-.546-.408-.377a.107.107 0 01.06-.185L5.67.617l.233-.505zM2.194.224a.214.214 0 00-.389 0l-.466 1.01-1.104.13a.21\
4.214 0 00-.12.371l.816.755-.217 1.091a.214.214 0 00.315.23L2 3.266l.971.543c.16.09.35-.05.315-.229l-.217-1.09.817-.756a.214.214 0 00-.12-.3\
7L2.66 1.234 2.194.224zM12.194 8.224a.214.214 0 00-.389 0l-.466 1.01-1.104.13a.214.214 0 00-.12.371l.816.755-.217 1.091a.214.214 0 00.315.23\
l.97-.544.971.543c.16.09.35-.05.315-.229l-.217-1.09.817-.756a.214.214 0 00-.12-.37l-1.105-.131-.466-1.01z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M.147 11.857a.5.5 0 010-.707l11-11a.5.5 0 01.706 0l2 2a.5.5 0 010 .708l-11 11a.5.5 0 01-.706 0l-2-2zm2.353.94l-1.293-1.293 6.758-6\
.758L9.258 6.04 2.5 12.797zm7.465-7.465l2.828-2.828L11.5 1.211 8.672 4.039l1.293 1.293z",
      fill: e
    }
  )
)), uSe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M9.621 3.914l.379.379 3.146-3.147a.5.5 0 01.708.708L10.707 5l.379.379a3 3 0 010 4.242l-.707.707-.005.005-.008.008-.012.013-1.733 1\
.732a3 3 0 01-4.242 0L.146 7.854a.5.5 0 01.708-.707.915.915 0 001.292 0L4.64 4.654a.52.52 0 01.007-.008l.733-.732a3 3 0 014.242 0zm-4.26 1.4\
32l.139-.139 3.146 3.147a.5.5 0 10.708-.707L6.212 4.505a2 2 0 012.702.116l.731.731.001.002h.002l.73.732a2 2 0 010 2.828l-.706.707-.012.013a.\
503.503 0 00-.014.013l-1.732 1.732a2 2 0 01-2.828 0L3.354 9.647a2.489 2.489 0 001.414-.708l1.086-1.085a.5.5 0 10-.708-.707L4.061 8.232a1.5 1\
.5 0 01-2.01.102c.294-.088.57-.248.803-.48l2.5-2.5a.475.475 0 00.007-.008z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M2 5.004a1 1 0 11-2 0 1 1 0 012 0zM4 3.25a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",
      fill: e
    }
  )
)), cSe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M13.854 3.354a.5.5 0 00-.708-.708L5 10.793.854 6.646a.5.5 0 10-.708.708l4.5 4.5a.5.5 0 00.708 0l8.5-8.5z",
      fill: e
    }
  )
)), dSe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1V6.393a.5.5 0 00-1 0v5.61H2v-10h7.5a.5.5 0 000-1H2z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M6.354 9.857l7.5-7.5a.5.5 0 00-.708-.707L6 8.797 3.854 6.65a.5.5 0 10-.708.707l2.5 2.5a.5.5 0 00.708 0z",
      fill: e
    }
  )
)), fSe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M11.5 2a.5.5 0 000 1h2a.5.5 0 000-1h-2zM8.854 2.646a.5.5 0 010 .708L5.207 7l3.647 3.646a.5.5 0 01-.708.708L4.5 7.707.854 11.354a.5\
.5 0 01-.708-.708L3.793 7 .146 3.354a.5.5 0 11.708-.708L4.5 6.293l3.646-3.647a.5.5 0 01.708 0zM11 7a.5.5 0 01.5-.5h2a.5.5 0 010 1h-2A.5.5 0 \
0111 7zM11.5 11a.5.5 0 000 1h2a.5.5 0 000-1h-2z",
      fill: e
    }
  )
)), pSe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M11.5 2a.5.5 0 000 1h2a.5.5 0 000-1h-2zM9.3 2.6a.5.5 0 01.1.7l-5.995 7.993a.505.505 0 01-.37.206.5.5 0 01-.395-.152L.146 8.854a.5.\
5 0 11.708-.708l2.092 2.093L8.6 2.7a.5.5 0 01.7-.1zM11 7a.5.5 0 01.5-.5h2a.5.5 0 010 1h-2A.5.5 0 0111 7zM11.5 11a.5.5 0 000 1h2a.5.5 0 000-1\
h-2z",
      fill: e
    }
  )
)), mSe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M10.5 1a.5.5 0 01.5.5V2h1.5a.5.5 0 010 1H11v.5a.5.5 0 01-1 0V3H1.5a.5.5 0 010-1H10v-.5a.5.5 0 01.5-.5zM1.5 11a.5.5 0 000 1H10v.5a.\
5.5 0 001 0V12h1.5a.5.5 0 000-1H11v-.5a.5.5 0 00-1 0v.5H1.5zM1 7a.5.5 0 01.5-.5H3V6a.5.5 0 011 0v.5h8.5a.5.5 0 010 1H4V8a.5.5 0 01-1 0v-.5H1\
.5A.5.5 0 011 7z",
      fill: e
    }
  )
)), hSe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M7.5.5a.5.5 0 00-1 0v6h-6a.5.5 0 000 1h6v6a.5.5 0 001 0v-6h6a.5.5 0 000-1h-6v-6z",
      fill: e
    }
  )
)), gSe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M2.03.97A.75.75 0 00.97 2.03L5.94 7 .97 11.97a.75.75 0 101.06 1.06L7 8.06l4.97 4.97a.75.75 0 101.06-1.06L8.06 7l4.97-4.97A.75.75 0\
 0011.97.97L7 5.94 2.03.97z",
      fill: e
    }
  )
)), gT = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M1.854 1.146a.5.5 0 10-.708.708L6.293 7l-5.147 5.146a.5.5 0 00.708.708L7 7.707l5.146 5.147a.5.5 0 00.708-.708L7.707 7l5.147-5.146a\
.5.5 0 00-.708-.708L7 6.293 1.854 1.146z",
      fill: e
    }
  )
)), ySe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M5.5 4.5A.5.5 0 016 5v5a.5.5 0 01-1 0V5a.5.5 0 01.5-.5zM9 5a.5.5 0 00-1 0v5a.5.5 0 001 0V5z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M4.5.5A.5.5 0 015 0h4a.5.5 0 01.5.5V2h3a.5.5 0 010 1H12v8a2 2 0 01-2 2H4a2 2 0 01-2-2V3h-.5a.5.5 0 010-1h3V.5zM3 3v8a1 1 0 001 1h6\
a1 1 0 001-1V3H3zm2.5-2h3v1h-3V1z",
      fill: e
    }
  )
)), vSe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement("g", { clipPath: "url(#prefix__clip0_1107_3502)" }, /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M13.44 4.44L9.56.56a1.5 1.5 0 00-2.12 0L7 1a1.415 1.415 0 000 2L5 5H3.657A4 4 0 00.828 6.17l-.474.475a.5.5 0 000 .707l2.793 2.793-\
3 3a.5.5 0 00.707.708l3-3 2.792 2.792a.5.5 0 00.708 0l.474-.475A4 4 0 009 10.343V9l2-2a1.414 1.414 0 002 0l.44-.44a1.5 1.5 0 000-2.12zM11 5.\
585l-3 3v1.757a3 3 0 01-.879 2.121L7 12.586 1.414 7l.122-.122A3 3 0 013.656 6h1.758l3-3-.707-.707a.414.414 0 010-.586l.44-.44a.5.5 0 01.707 \
0l3.878 3.88a.5.5 0 010 .706l-.44.44a.414.414 0 01-.585 0L11 5.586z",
      fill: e
    }
  )),
  /* @__PURE__ */ h.createElement("defs", null, /* @__PURE__ */ h.createElement("clipPath", { id: "prefix__clip0_1107_3502" }, /* @__PURE__ */ h.createElement(
  "path", { fill: "#fff", d: "M0 0h14v14H0z" })))
)), bSe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement("g", { clipPath: "url(#prefix__clip0_1107_3501)", fill: e }, /* @__PURE__ */ h.createElement("path", { d: "\
M13.44 4.44L9.56.56a1.5 1.5 0 00-2.12 0L7 1a1.415 1.415 0 000 2L5.707 4.293 6.414 5l2-2-.707-.707a.414.414 0 010-.586l.44-.44a.5.5 0 01.707 \
0l3.878 3.88a.5.5 0 010 .706l-.44.44a.414.414 0 01-.585 0L11 5.586l-2 2 .707.707L11 7a1.414 1.414 0 002 0l.44-.44a1.5 1.5 0 000-2.12zM.828 6\
.171a4 4 0 012.758-1.17l1 .999h-.93a3 3 0 00-2.12.878L1.414 7 7 12.586l.121-.122A3 3 0 008 10.343v-.929l1 1a4 4 0 01-1.172 2.757l-.474.475a.\
5.5 0 01-.708 0l-2.792-2.792-3 3a.5.5 0 01-.708-.708l3-3L.355 7.353a.5.5 0 010-.707l.474-.475zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 0\
0.708-.708l-11-11z" })),
  /* @__PURE__ */ h.createElement("defs", null, /* @__PURE__ */ h.createElement("clipPath", { id: "prefix__clip0_1107_3501" }, /* @__PURE__ */ h.createElement(
  "path", { fill: "#fff", d: "M0 0h14v14H0z" })))
)), wSe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M7 3a.5.5 0 01.5.5v3h3a.5.5 0 010 1h-3v3a.5.5 0 01-1 0v-3h-3a.5.5 0 010-1h3v-3A.5.5 0 017 3z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",
      fill: e
    }
  )
)), ESe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement("path", { d: "M3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z", fill: e }),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",
      fill: e
    }
  )
)), RSe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M9.854 4.146a.5.5 0 010 .708L7.707 7l2.147 2.146a.5.5 0 01-.708.708L7 7.707 4.854 9.854a.5.5 0 01-.708-.708L6.293 7 4.146 4.854a.5\
.5 0 11.708-.708L7 6.293l2.146-2.147a.5.5 0 01.708 0z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",
      fill: e
    }
  )
)), xSe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0a6 6 0 01-9.874 4.582l8.456-8.456A5.976 5.976 0 0113 7zM2.418 10.874l8.456-8.456a6 6 0 00-8.45\
6 8.456z",
      fill: e
    }
  )
)), SSe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7 14A7 7 0 107 0a7 7 0 000 14zm3.854-9.354a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708 0l-2.5-2.5a.5.5 0 11.708-.708L6 8.793l4.146-4.\
147a.5.5 0 01.708 0z",
      fill: e
    }
  )
)), CSe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7 14A7 7 0 107 0a7 7 0 000 14zM3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",
      fill: e
    }
  )
)), _Se = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7 14A7 7 0 107 0a7 7 0 000 14zm2.854-9.854a.5.5 0 010 .708L7.707 7l2.147 2.146a.5.5 0 01-.708.708L7 7.707 4.854 9.854a.5.5 0 01-.\
708-.708L6.293 7 4.146 4.854a.5.5 0 11.708-.708L7 6.293l2.146-2.147a.5.5 0 01.708 0z",
      fill: e
    }
  )
)), PSe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M5 2h7a2 2 0 012 2v6a2 2 0 01-2 2H5a1.994 1.994 0 01-1.414-.586l-3-3a2 2 0 010-2.828l3-3A1.994 1.994 0 015 2zm1.146 3.146a.5.5 0 0\
1.708 0L8 6.293l1.146-1.147a.5.5 0 11.708.708L8.707 7l1.147 1.146a.5.5 0 01-.708.708L8 7.707 6.854 8.854a.5.5 0 11-.708-.708L7.293 7 6.146 5\
.854a.5.5 0 010-.708z",
      fill: e
    }
  )
)), TSe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 15",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M3.5 5.004a.5.5 0 100 1h7a.5.5 0 000-1h-7zM3 8.504a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M12.5 12.004H5.707l-1.853 1.854a.5.5 0 01-.351.146h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 \
0 01.5.5v9a.5.5 0 01-.5.5zm-10.5-1v-8h10v8H2z",
      fill: e
    }
  )
)), ASe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 15",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M7.5 5.004a.5.5 0 10-1 0v1.5H5a.5.5 0 100 1h1.5v1.5a.5.5 0 001 0v-1.5H9a.5.5 0 000-1H7.5v-1.5z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M3.691 13.966a.498.498 0 01-.188.038h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.\
5 0 01-.5.5H5.707l-1.853 1.854a.5.5 0 01-.163.108zM2 3.004v8h10v-8H2z",
      fill: e
    }
  )
)), OSe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 15",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M9.854 6.65a.5.5 0 010 .707l-2 2a.5.5 0 11-.708-.707l1.15-1.15-3.796.004a.5.5 0 010-1L8.29 6.5 7.145 5.357a.5.5 0 11.708-.707l2 2z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M3.691 13.966a.498.498 0 01-.188.038h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.\
5 0 01-.5.5H5.707l-1.853 1.854a.5.5 0 01-.163.108zM2 3.004v8h10v-8H2z",
      fill: e
    }
  )
)), ISe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 15",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M8.5 7.004a.5.5 0 000-1h-5a.5.5 0 100 1h5zM9 8.504a.5.5 0 01-.5.5h-5a.5.5 0 010-1h5a.5.5 0 01.5.5z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M12 11.504v-1.5h1.5a.5.5 0 00.5-.5v-8a.5.5 0 00-.5-.5h-11a.5.5 0 00-.5.5v1.5H.5a.5.5 0 00-.5.5v8a.5.5 0 00.5.5H2v1.5a.499.499 0 00\
.497.5h.006a.498.498 0 00.35-.146l1.854-1.854H11.5a.5.5 0 00.5-.5zm-9-8.5v-1h10v7h-1v-5.5a.5.5 0 00-.5-.5H3zm-2 8v-7h10v7H1z",
      fill: e
    }
  )
)), MSe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M1 2a2 2 0 012-2h8a2 2 0 012 2v8a2 2 0 01-2 2H6.986a.444.444 0 01-.124.103l-3.219 1.84A.43.43 0 013 13.569V12a2 2 0 01-2-2V2zm3.42\
 4.78a.921.921 0 110-1.843.921.921 0 010 1.842zm1.658-.922a.921.921 0 101.843 0 .921.921 0 00-1.843 0zm2.58 0a.921.921 0 101.842 0 .921.921 \
0 00-1.843 0z",
      fill: e
    }
  )
)), NSe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 15",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M8 8.004a1 1 0 01-.5.866v1.634a.5.5 0 01-1 0V8.87A1 1 0 118 8.004z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M3 4.004a4 4 0 118 0v1h1.5a.5.5 0 01.5.5v8a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-8a.5.5 0 01.5-.5H3v-1zm7 1v-1a3 3 0 10-6 0v1h6zm2 1\
H2v7h10v-7z",
      fill: e
    }
  )
)), LSe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement("g", { clipPath: "url(#prefix__clip0_1107_3614)", fill: e }, /* @__PURE__ */ h.createElement("path", { d: "\
M6.5 8.87a1 1 0 111 0v1.634a.5.5 0 01-1 0V8.87z" }), /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7 1a3 3 0 00-3 3v1.004h8.5a.5.5 0 01.5.5v8a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-8a.5.5 0 01.5-.5H3V4a4 4 0 017.755-1.381.5.5 0 01-\
.939.345A3.001 3.001 0 007 1zM2 6.004h10v7H2v-7z"
    }
  )),
  /* @__PURE__ */ h.createElement("defs", null, /* @__PURE__ */ h.createElement("clipPath", { id: "prefix__clip0_1107_3614" }, /* @__PURE__ */ h.createElement(
  "path", { fill: "#fff", d: "M0 0h14v14H0z" })))
)), kSe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement("path", { d: "M11 4a1 1 0 11-2 0 1 1 0 012 0z", fill: e }),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7.5 8.532V9.5a.5.5 0 01-.5.5H5.5v1.5a.5.5 0 01-.5.5H3.5v1.5a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-2a.5.5 0 01.155-.362l5.11-5.11A4.5\
 4.5 0 117.5 8.532zM6 4.5a3.5 3.5 0 111.5 2.873c-.29-.203-1-.373-1 .481V9H5a.5.5 0 00-.5.5V11H3a.5.5 0 00-.5.5V13H1v-1.293l5.193-5.193a.552.\
552 0 00.099-.613A3.473 3.473 0 016 4.5z",
      fill: e
    }
  )
)), qSe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M7.354.15a.5.5 0 00-.708 0l-2 2a.5.5 0 10.708.707L6.5 1.711v6.793a.5.5 0 001 0V1.71l1.146 1.146a.5.5 0 10.708-.707l-2-2z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M2 7.504a.5.5 0 10-1 0v5a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-5a.5.5 0 00-1 0v4.5H2v-4.5z",
      fill: e
    }
  )
)), DSe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement("path", { d: "M2.5 8.004a.5.5 0 100 1h3a.5.5 0 000-1h-3z", fill: e }),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M0 11.504a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H.5a.5.5 0 00-.5.5v9zm1-8.5v1h12v-1H1zm0 8h12v-5H1v5z",
      fill: e
    }
  )
)), FSe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M1 3.004a1 1 0 00-1 1v5a1 1 0 001 1h3.5a.5.5 0 100-1H1v-5h12v5h-1a.5.5 0 000 1h1a1 1 0 001-1v-5a1 1 0 00-1-1H1z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M6.45 7.006a.498.498 0 01.31.07L10.225 9.1a.5.5 0 01-.002.873l-1.074.621.75 1.3a.75.75 0 01-1.3.75l-.75-1.3-1.074.62a.497.497 0 01\
-.663-.135.498.498 0 01-.095-.3L6 7.515a.497.497 0 01.45-.509z",
      fill: e
    }
  )
)), jSe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M4 1.504a.5.5 0 01.5-.5h5a.5.5 0 110 1h-2v10h2a.5.5 0 010 1h-5a.5.5 0 010-1h2v-10h-2a.5.5 0 01-.5-.5z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M0 4.504a.5.5 0 01.5-.5h4a.5.5 0 110 1H1v4h3.5a.5.5 0 110 1h-4a.5.5 0 01-.5-.5v-5zM9.5 4.004a.5.5 0 100 1H13v4H9.5a.5.5 0 100 1h4a\
.5.5 0 00.5-.5v-5a.5.5 0 00-.5-.5h-4z",
      fill: e
    }
  )
)), BSe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M5.943 12.457a.27.27 0 00.248-.149L7.77 9.151l2.54 2.54a.257.257 0 00.188.073c.082 0 .158-.03.21-.077l.788-.79a.27.27 0 000-.392L8\
.891 7.9l3.416-1.708a.29.29 0 00.117-.106.222.222 0 00.033-.134.332.332 0 00-.053-.161.174.174 0 00-.092-.072l-.02-.007-10.377-4.15a.274.274\
 0 00-.355.354l4.15 10.372a.275.275 0 00.233.169zm-.036 1l-.02-.002c-.462-.03-.912-.31-1.106-.796L.632 2.287A1.274 1.274 0 012.286.633l10.35\
8 4.143c.516.182.782.657.81 1.114a1.25 1.25 0 01-.7 1.197L10.58 8.174l1.624 1.624a1.27 1.27 0 010 1.807l-.8.801-.008.007c-.491.46-1.298.48-1\
.792-.014l-1.56-1.56-.957 1.916a1.27 1.27 0 01-1.142.702h-.037z",
      fill: e
    }
  )
)), $Se = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M11.87 6.008a.505.505 0 00-.003-.028v-.002c-.026-.27-.225-.48-.467-.498a.5.5 0 00-.53.5v1.41c0 .25-.22.47-.47.47a.48.48 0 01-.47-.\
47V5.17a.6.6 0 00-.002-.05c-.023-.268-.223-.49-.468-.5a.5.5 0 00-.52.5v1.65a.486.486 0 01-.47.47.48.48 0 01-.47-.47V4.62a.602.602 0 00-.002-\
.05v-.002c-.023-.266-.224-.48-.468-.498a.5.5 0 00-.53.5v2.2c0 .25-.22.47-.47.47a.49.49 0 01-.47-.47V1.8c0-.017 0-.034-.002-.05-.022-.268-.21\
4-.49-.468-.5a.5.5 0 00-.52.5v6.78c0 .25-.22.47-.47.47a.48.48 0 01-.47-.47l.001-.1c.001-.053.002-.104 0-.155a.775.775 0 00-.06-.315.65.65 0 \
00-.16-.22 29.67 29.67 0 01-.21-.189c-.2-.182-.4-.365-.617-.532l-.003-.003A6.366 6.366 0 003.06 7l-.01-.007c-.433-.331-.621-.243-.69-.193-.2\
6.14-.29.5-.13.74l1.73 2.6v.01h-.016l-.035.023.05-.023s1.21 2.6 3.57 2.6c3.54 0 4.2-1.9 4.31-4.42.039-.591.036-1.189.032-1.783l-.002-.507v-.\
032zm.969 2.376c-.057 1.285-.254 2.667-1.082 3.72-.88 1.118-2.283 1.646-4.227 1.646-1.574 0-2.714-.87-3.406-1.623a6.958 6.958 0 01-1.046-1.5\
04l-.006-.012-1.674-2.516a1.593 1.593 0 01-.25-1.107 1.44 1.44 0 01.69-1.041c.195-.124.485-.232.856-.186.357.044.681.219.976.446.137.106.272\
.22.4.331V1.75A1.5 1.5 0 015.63.25c.93.036 1.431.856 1.431 1.55v1.335a1.5 1.5 0 01.53-.063h.017c.512.04.915.326 1.153.71a1.5 1.5 0 01.74-.16\
1c.659.025 1.115.458 1.316.964a1.493 1.493 0 01.644-.103h.017c.856.067 1.393.814 1.393 1.558l.002.48c.004.596.007 1.237-.033 1.864z",
      fill: e
    }
  )
)), HSe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M3.5 6A2.5 2.5 0 116 3.5V5h2V3.5A2.5 2.5 0 1110.5 6H9v2h1.5A2.5 2.5 0 118 10.5V9H6v1.5A2.5 2.5 0 113.5 8H5V6H3.5zM2 3.5a1.5 1.5 0 \
113 0V5H3.5A1.5 1.5 0 012 3.5zM6 6v2h2V6H6zm3-1h1.5A1.5 1.5 0 109 3.5V5zM3.5 9H5v1.5A1.5 1.5 0 113.5 9zM9 9v1.5A1.5 1.5 0 1010.5 9H9z",
      fill: e
    }
  )
)), zSe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M11.083 12.25H2.917a1.167 1.167 0 01-1.167-1.167V2.917A1.167 1.167 0 012.917 1.75h6.416l2.917 2.917v6.416a1.167 1.167 0 01-1.167 1\
.167z",
      stroke: e,
      strokeLinecap: "round",
      strokeLinejoin: "round"
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M9.917 12.25V7.583H4.083v4.667M4.083 1.75v2.917H8.75",
      stroke: e,
      strokeLinecap: "round",
      strokeLinejoin: "round"
    }
  )
)), USe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M7 5.5a.5.5 0 01.5.5v4a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zM7 4.5A.75.75 0 107 3a.75.75 0 000 1.5z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",
      fill: e
    }
  )
)), VSe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M5.25 5.25A1.75 1.75 0 117 7a.5.5 0 00-.5.5V9a.5.5 0 001 0V7.955A2.75 2.75 0 104.25 5.25a.5.5 0 001 0zM7 11.5A.75.75 0 107 10a.75.\
75 0 000 1.5z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",
      fill: e
    }
  )
)), WSe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M14 7A7 7 0 110 7a7 7 0 0114 0zm-3.524 4.89A5.972 5.972 0 017 13a5.972 5.972 0 01-3.477-1.11l1.445-1.444C5.564 10.798 6.258 11 7 1\
1s1.436-.202 2.032-.554l1.444 1.445zm-.03-2.858l1.445 1.444A5.972 5.972 0 0013 7c0-1.296-.41-2.496-1.11-3.477l-1.444 1.445C10.798 5.564 11 6\
.258 11 7s-.202 1.436-.554 2.032zM9.032 3.554l1.444-1.445A5.972 5.972 0 007 1c-1.296 0-2.496.41-3.477 1.11l1.445 1.444A3.981 3.981 0 017 3c.\
742 0 1.436.202 2.032.554zM3.554 4.968L2.109 3.523A5.973 5.973 0 001 7c0 1.296.41 2.496 1.11 3.476l1.444-1.444A3.981 3.981 0 013 7c0-.742.20\
2-1.436.554-2.032zM10 7a3 3 0 11-6 0 3 3 0 016 0z",
      fill: e
    }
  )
)), GSe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M7 4.5a.5.5 0 01.5.5v3.5a.5.5 0 11-1 0V5a.5.5 0 01.5-.5zM7.75 10.5a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7.206 1.045a.498.498 0 01.23.209l6.494 10.992a.5.5 0 01-.438.754H.508a.497.497 0 01-.506-.452.498.498 0 01.072-.31l6.49-10.984a.4\
97.497 0 01.642-.21zM7 2.483L1.376 12h11.248L7 2.483z",
      fill: e
    }
  )
)), YSe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M14 7A7 7 0 110 7a7 7 0 0114 0zM6.5 8a.5.5 0 001 0V4a.5.5 0 00-1 0v4zm-.25 2.25a.75.75 0 111.5 0 .75.75 0 01-1.5 0z",
      fill: e
    }
  )
)), KSe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M0 2.504a.5.5 0 01.5-.5h13a.5.5 0 01.5.5v9a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-9zm1 1.012v7.488h12V3.519L7.313 7.894a.496.496 0 01-\
.526.062.497.497 0 01-.1-.062L1 3.516zm11.03-.512H1.974L7 6.874l5.03-3.87z",
      fill: e
    }
  )
)), XSe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7.76 8.134l-.05.05a.2.2 0 01-.28.03 6.76 6.76 0 01-1.63-1.65.21.21 0 01.04-.27l.05-.05c.23-.2.54-.47.71-.96.17-.47-.02-1.04-.66-1\
.94-.26-.38-.72-.96-1.22-1.46-.68-.69-1.2-1-1.65-1a.98.98 0 00-.51.13A3.23 3.23 0 00.9 3.424c-.13 1.1.26 2.37 1.17 3.78a16.679 16.679 0 004.\
55 4.6 6.57 6.57 0 003.53 1.32 3.2 3.2 0 002.85-1.66c.14-.24.24-.64-.07-1.18a7.803 7.803 0 00-1.73-1.81c-.64-.5-1.52-1.11-2.13-1.11a.97.97 0\
 00-.34.06c-.472.164-.74.458-.947.685l-.023.025zm4.32 2.678a6.801 6.801 0 00-1.482-1.54l-.007-.005-.006-.005a8.418 8.418 0 00-.957-.662 2.7 \
2.7 0 00-.4-.193.683.683 0 00-.157-.043l-.004.002-.009.003c-.224.078-.343.202-.56.44l-.014.016-.046.045a1.2 1.2 0 01-1.602.149A7.76 7.76 0 0\
14.98 7.134l-.013-.019-.013-.02a1.21 1.21 0 01.195-1.522l.06-.06.026-.024c.219-.19.345-.312.422-.533l.003-.01v-.008a.518.518 0 00-.032-.142c\
-.06-.178-.203-.453-.502-.872l-.005-.008-.005-.007A10.18 10.18 0 004.013 2.59l-.005-.005c-.31-.314-.543-.5-.716-.605-.147-.088-.214-.096-.22\
2-.097h-.016l-.006.003-.01.006a2.23 2.23 0 00-1.145 1.656c-.09.776.175 1.806 1.014 3.108a15.68 15.68 0 004.274 4.32l.022.014.022.016a5.57 5.\
57 0 002.964 1.117 2.2 2.2 0 001.935-1.141l.006-.012.004-.007a.182.182 0 00-.007-.038.574.574 0 00-.047-.114z",
      fill: e
    }
  )
)), JSe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M11.841 2.159a2.25 2.25 0 00-3.182 0l-2.5 2.5a2.25 2.25 0 000 3.182.5.5 0 01-.707.707 3.25 3.25 0 010-4.596l2.5-2.5a3.25 3.25 0 01\
4.596 4.596l-2.063 2.063a4.27 4.27 0 00-.094-1.32l1.45-1.45a2.25 2.25 0 000-3.182z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M3.61 7.21c-.1-.434-.132-.88-.095-1.321L1.452 7.952a3.25 3.25 0 104.596 4.596l2.5-2.5a3.25 3.25 0 000-4.596.5.5 0 00-.707.707 2.25\
 2.25 0 010 3.182l-2.5 2.5A2.25 2.25 0 112.159 8.66l1.45-1.45z",
      fill: e
    }
  )
)), QSe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M1.452 7.952l1.305-1.305.708.707-1.306 1.305a2.25 2.25 0 103.182 3.182l1.306-1.305.707.707-1.306 1.305a3.25 3.25 0 01-4.596-4.596z\
M12.548 6.048l-1.305 1.306-.707-.708 1.305-1.305a2.25 2.25 0 10-3.182-3.182L7.354 3.464l-.708-.707 1.306-1.305a3.25 3.25 0 014.596 4.596zM1.\
854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.707-.707l-11-11z",
      fill: e
    }
  )
)), ZSe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7.994 1.11a1 1 0 10-1.988 0A4.502 4.502 0 002.5 5.5v3.882l-.943 1.885a.497.497 0 00-.053.295.5.5 0 00.506.438h3.575a1.5 1.5 0 102\
.83 0h3.575a.5.5 0 00.453-.733L11.5 9.382V5.5a4.502 4.502 0 00-3.506-4.39zM2.81 11h8.382l-.5-1H3.31l-.5 1zM10.5 9V5.5a3.5 3.5 0 10-7 0V9h7zm\
-4 3.5a.5.5 0 111 0 .5.5 0 01-1 0z",
      fill: e
    }
  )
)), e4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M1.5.5A.5.5 0 012 0c6.627 0 12 5.373 12 12a.5.5 0 01-1 0C13 5.925 8.075 1 2 1a.5.5 0 01-.5-.5z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M1.5 4.5A.5.5 0 012 4a8 8 0 018 8 .5.5 0 01-1 0 7 7 0 00-7-7 .5.5 0 01-.5-.5z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M5 11a2 2 0 11-4 0 2 2 0 014 0zm-1 0a1 1 0 11-2 0 1 1 0 012 0z",
      fill: e
    }
  )
)), t4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1v-4.5a.5.5 0 00-1 0v4.5H2v-10h4.5a.5.5 0 000-1H2z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M7.354 7.357L12 2.711v1.793a.5.5 0 001 0v-3a.5.5 0 00-.5-.5h-3a.5.5 0 100 1h1.793L6.646 6.65a.5.5 0 10.708.707z",
      fill: e
    }
  )
)), r4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M6.646.15a.5.5 0 01.708 0l2 2a.5.5 0 11-.708.707L7.5 1.711v6.793a.5.5 0 01-1 0V1.71L5.354 2.857a.5.5 0 11-.708-.707l2-2z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M2 4.004a1 1 0 00-1 1v7a1 1 0 001 1h10a1 1 0 001-1v-7a1 1 0 00-1-1H9.5a.5.5 0 100 1H12v7H2v-7h2.5a.5.5 0 000-1H2z",
      fill: e
    }
  )
)), n4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M13.854 6.646a.5.5 0 010 .708l-2 2a.5.5 0 01-.708-.708L12.293 7.5H5.5a.5.5 0 010-1h6.793l-1.147-1.146a.5.5 0 01.708-.708l2 2z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M10 2a1 1 0 00-1-1H2a1 1 0 00-1 1v10a1 1 0 001 1h7a1 1 0 001-1V9.5a.5.5 0 00-1 0V12H2V2h7v2.5a.5.5 0 001 0V2z",
      fill: e
    }
  )
)), o4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7 13A6 6 0 107 1a6 6 0 000 12zm0 1A7 7 0 107 0a7 7 0 000 14z",
      fill: e
    }
  )
)), a4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement("path", { d: "M14 7A7 7 0 110 7a7 7 0 0114 0z", fill: e })
)), i4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 15",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M3.5 0h7a.5.5 0 01.5.5v13a.5.5 0 01-.454.498.462.462 0 01-.371-.118L7 11.159l-3.175 2.72a.46.46 0 01-.379.118A.5.5 0 013 13.5V.5a.\
5.5 0 01.5-.5zM4 12.413l2.664-2.284a.454.454 0 01.377-.128.498.498 0 01.284.12L10 12.412V1H4v11.413z",
      fill: e
    }
  )
)), s4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 15",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M3.5 0h7a.5.5 0 01.5.5v13a.5.5 0 01-.454.498.462.462 0 01-.371-.118L7 11.159l-3.175 2.72a.46.46 0 01-.379.118A.5.5 0 013 13.5V.5a.\
5.5 0 01.5-.5z",
      fill: e
    }
  )
)), l4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement("g", { clipPath: "url(#prefix__clip0_1449_588)" }, /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M8.414 1.586a2 2 0 00-2.828 0l-4 4a2 2 0 000 2.828l4 4a2 2 0 002.828 0l4-4a2 2 0 000-2.828l-4-4zm.707-.707a3 3 0 00-4.242 0l-4 4a3\
 3 0 000 4.242l4 4a3 3 0 004.242 0l4-4a3 3 0 000-4.242l-4-4z",
      fill: e
    }
  )),
  /* @__PURE__ */ h.createElement("defs", null, /* @__PURE__ */ h.createElement("clipPath", { id: "prefix__clip0_1449_588" }, /* @__PURE__ */ h.createElement(
  "path", { fill: "#fff", d: "M0 0h14v14H0z" })))
)), u4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M12.814 1.846c.06.05.116.101.171.154l.001.002a3.254 3.254 0 01.755 1.168c.171.461.259.974.259 1.538 0 .332-.046.656-.143.976a4.546\
 4.546 0 01-.397.937c-.169.302-.36.589-.58.864a7.627 7.627 0 01-.674.746l-4.78 4.596a.585.585 0 01-.427.173.669.669 0 01-.44-.173L1.78 8.217\
a7.838 7.838 0 01-.677-.748 6.124 6.124 0 01-.572-.855 4.975 4.975 0 01-.388-.931A3.432 3.432 0 010 4.708C0 4.144.09 3.63.265 3.17c.176-.459\
.429-.85.757-1.168a3.432 3.432 0 011.193-.74c.467-.176.99-.262 1.57-.262.304 0 .608.044.907.137.301.092.586.215.855.367.27.148.526.321.771.5\
12.244.193.471.386.682.584.202-.198.427-.391.678-.584.248-.19.507-.364.78-.512a4.65 4.65 0 01.845-.367c.294-.093.594-.137.9-.137.585 0 1.115\
.086 1.585.262.392.146.734.34 1.026.584zM1.2 3.526c.128-.333.304-.598.52-.806.218-.212.497-.389.849-.522m-1.37 1.328A3.324 3.324 0 001 4.708\
c0 .225.032.452.101.686.082.265.183.513.307.737.135.246.294.484.479.716.188.237.386.454.59.652l.001.002 4.514 4.355 4.519-4.344c.2-.193.398-\
.41.585-.648l.003-.003c.184-.23.345-.472.486-.726l.004-.007c.131-.23.232-.474.31-.732v-.002c.068-.224.101-.45.101-.686 0-.457-.07-.849-.195-\
1.185a2.177 2.177 0 00-.515-.802l.007-.012-.008.009a2.383 2.383 0 00-.85-.518l-.003-.001C11.1 2.072 10.692 2 10.203 2c-.21 0-.406.03-.597.09\
h-.001c-.22.07-.443.167-.663.289l-.007.003c-.22.12-.434.262-.647.426-.226.174-.42.341-.588.505l-.684.672-.7-.656a9.967 9.967 0 00-.615-.527 \
4.82 4.82 0 00-.635-.422l-.01-.005a3.289 3.289 0 00-.656-.281l-.008-.003A2.014 2.014 0 003.785 2c-.481 0-.881.071-1.217.198",
      fill: e
    }
  )
)), c4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M12.814 1.846c.06.05.116.101.171.154l.001.002a3.254 3.254 0 01.755 1.168c.171.461.259.974.259 1.538 0 .332-.046.656-.143.976a4.546\
 4.546 0 01-.397.937c-.169.302-.36.589-.58.864a7.627 7.627 0 01-.674.746l-4.78 4.596a.585.585 0 01-.427.173.669.669 0 01-.44-.173L1.78 8.217\
a7.838 7.838 0 01-.677-.748 6.124 6.124 0 01-.572-.855 4.975 4.975 0 01-.388-.931A3.432 3.432 0 010 4.708C0 4.144.09 3.63.265 3.17c.176-.459\
.429-.85.757-1.168a3.432 3.432 0 011.193-.74c.467-.176.99-.262 1.57-.262.304 0 .608.044.907.137.301.092.586.215.855.367.27.148.526.321.771.5\
12.244.193.471.386.682.584.202-.198.427-.391.678-.584.248-.19.507-.364.78-.512a4.65 4.65 0 01.845-.367c.294-.093.594-.137.9-.137.585 0 1.115\
.086 1.585.262.392.146.734.34 1.026.584z",
      fill: e
    }
  )
)), d4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M6.319.783a.75.75 0 011.362 0l1.63 3.535 3.867.458a.75.75 0 01.42 1.296L10.74 8.715l.76 3.819a.75.75 0 01-1.103.8L7 11.434l-3.398 \
1.902a.75.75 0 01-1.101-.801l.758-3.819L.401 6.072a.75.75 0 01.42-1.296l3.867-.458L6.318.783zm.68.91l-1.461 3.17a.75.75 0 01-.593.431l-3.467\
.412 2.563 2.37a.75.75 0 01.226.697l-.68 3.424 3.046-1.705a.75.75 0 01.733 0l3.047 1.705-.68-3.424a.75.75 0 01.226-.697l2.563-2.37-3.467-.41\
2a.75.75 0 01-.593-.43L7 1.694z",
      fill: e
    }
  )
)), f4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M7.68.783a.75.75 0 00-1.361 0l-1.63 3.535-3.867.458A.75.75 0 00.4 6.072l2.858 2.643-.758 3.819a.75.75 0 001.101.8L7 11.434l3.397 1\
.902a.75.75 0 001.102-.801l-.759-3.819L13.6 6.072a.75.75 0 00-.421-1.296l-3.866-.458L7.68.783z",
      fill: e
    }
  )
)), p4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M10 7.854a4.5 4.5 0 10-6 0V13a.5.5 0 00.497.5h.006c.127 0 .254-.05.35-.146L7 11.207l2.146 2.147A.5.5 0 0010 13V7.854zM7 8a3.5 3.5 \
0 100-7 3.5 3.5 0 000 7zm-.354 2.146a.5.5 0 01.708 0L9 11.793v-3.26C8.398 8.831 7.718 9 7 9a4.481 4.481 0 01-2-.468v3.26l1.646-1.646z",
      fill: e
    }
  )
)), m4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M6.565 13.123a.991.991 0 01.87 0l.987.482a.991.991 0 001.31-.426l.515-.97a.991.991 0 01.704-.511l1.082-.19a.99.99 0 00.81-1.115l-.\
154-1.087a.991.991 0 01.269-.828l.763-.789a.991.991 0 000-1.378l-.763-.79a.991.991 0 01-.27-.827l.155-1.087a.99.99 0 00-.81-1.115l-1.082-.19\
a.991.991 0 01-.704-.511L9.732.82a.99.99 0 00-1.31-.426l-.987.482a.991.991 0 01-.87 0L5.578.395a.99.99 0 00-1.31.426l-.515.97a.99.99 0 01-.7\
04.511l-1.082.19a.99.99 0 00-.81 1.115l.154 1.087a.99.99 0 01-.269.828L.28 6.31a.99.99 0 000 1.378l.763.79a.99.99 0 01.27.827l-.155 1.087a.9\
9.99 0 00.81 1.115l1.082.19a.99.99 0 01.704.511l.515.97c.25.473.83.661 1.31.426l.987-.482zm4.289-8.477a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.7\
08 0l-2.5-2.5a.5.5 0 11.708-.708L6 8.793l4.146-4.147a.5.5 0 01.708 0z",
      fill: e
    }
  )
)), h4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M11 12.02c-.4.37-.91.56-1.56.56h-.88a5.493 5.493 0 01-1.3-.16c-.42-.1-.91-.25-1.47-.45a5.056 5.056 0 00-.95-.27H2.88a.84.84 0 01-.\
62-.26.84.84 0 01-.26-.61V6.45c0-.24.09-.45.26-.62a.84.84 0 01.62-.25h1.87c.16-.11.47-.47.93-1.06.27-.35.51-.64.74-.88.1-.11.19-.3.24-.58.05\
-.28.12-.57.2-.87.1-.3.24-.55.43-.74a.87.87 0 01.62-.25c.38 0 .72.07 1.03.22.3.15.54.38.7.7.15.31.23.73.23 1.27a3 3 0 01-.32 1.31h1.2c.47 0 \
.88.17 1.23.52s.52.8.52 1.22c0 .29-.04.66-.34 1.12.05.15.07.3.07.47 0 .35-.09.68-.26.98a2.05 2.05 0 01-.4 1.51 1.9 1.9 0 01-.57 1.5zm.473-5.\
33a.965.965 0 00.027-.25.742.742 0 00-.227-.513.683.683 0 00-.523-.227H7.927l.73-1.45a2 2 0 00.213-.867c0-.444-.068-.695-.127-.822a.53.53 0 \
00-.245-.244 1.296 1.296 0 00-.539-.116.989.989 0 00-.141.28 9.544 9.544 0 00-.174.755c-.069.387-.213.779-.484 1.077l-.009.01-.009.01c-.195.\
202-.41.46-.67.798l-.003.004c-.235.3-.44.555-.613.753-.151.173-.343.381-.54.516l-.255.176H5v4.133l.018.003c.384.07.76.176 1.122.318.532.189.\
98.325 1.352.413l.007.002a4.5 4.5 0 001.063.131h.878c.429 0 .683-.115.871-.285a.9.9 0 00.262-.702l-.028-.377.229-.3a1.05 1.05 0 00.205-.774l\
-.044-.333.165-.292a.969.969 0 00.13-.487.457.457 0 00-.019-.154l-.152-.458.263-.404a1.08 1.08 0 00.152-.325zM3.5 10.8a.5.5 0 100-1 .5.5 0 0\
00 1z",
      fill: e
    }
  )
)), g4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M11.765 2.076A.5.5 0 0112 2.5v6.009a.497.497 0 01-.17.366L7.337 12.87a.497.497 0 01-.674 0L2.17 8.875l-.009-.007a.498.498 0 01-.16\
-.358L2 8.5v-6a.5.5 0 01.235-.424l.018-.011c.016-.01.037-.024.065-.04.056-.032.136-.077.24-.128a6.97 6.97 0 01.909-.371C4.265 1.26 5.443 1 7\
 1s2.735.26 3.533.526c.399.133.702.267.91.37a4.263 4.263 0 01.304.169l.018.01zM3 2.793v5.482l1.068.95 6.588-6.588a6.752 6.752 0 00-.44-.163C\
9.517 2.24 8.444 2 7 2c-1.443 0-2.515.24-3.217.474-.351.117-.61.233-.778.317L3 2.793zm4 9.038l-2.183-1.94L11 3.706v4.568l-4 3.556z",
      fill: e
    }
  )
)), y4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M10.354 2.854a.5.5 0 10-.708-.708l-3 3a.5.5 0 10.708.708l3-3z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M2.09 6H4.5a.5.5 0 000-1H1.795a.75.75 0 00-.74.873l.813 4.874A1.5 1.5 0 003.348 12h7.305a1.5 1.5 0 001.48-1.253l.812-4.874a.75.75 \
0 00-.74-.873H10a.5.5 0 000 1h1.91l-.764 4.582a.5.5 0 01-.493.418H3.347a.5.5 0 01-.493-.418L2.09 6z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M4.5 7a.5.5 0 01.5.5v2a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5zM10 7.5a.5.5 0 00-1 0v2a.5.5 0 001 0v-2zM6.5 9.5v-2a.5.5 0 011 0v2a.5.5 0 0\
1-1 0z",
      fill: e
    }
  )
)), v4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M4.5 2h.75v3.866l-3.034 5.26A1.25 1.25 0 003.299 13H10.7a1.25 1.25 0 001.083-1.875L8.75 5.866V2h.75a.5.5 0 100-1h-5a.5.5 0 000 1zm\
1.75 4V2h1.5v4.134l.067.116L8.827 8H5.173l1.01-1.75.067-.116V6zM4.597 9l-1.515 2.625A.25.25 0 003.3 12H10.7a.25.25 0 00.217-.375L9.404 9H4.5\
97z",
      fill: e
    }
  )
)), b4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement("path", { d: "M7.5 10.5a.5.5 0 11-1 0 .5.5 0 011 0z", fill: e }),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M3.5 1a.5.5 0 00-.5.5c0 1.063.137 1.892.678 2.974.346.692.858 1.489 1.598 2.526-.89 1.247-1.455 2.152-1.798 2.956-.377.886-.477 1.\
631-.478 2.537v.007a.5.5 0 00.5.5h7c.017 0 .034 0 .051-.003A.5.5 0 0011 12.5v-.007c0-.906-.1-1.65-.478-2.537-.343-.804-.909-1.709-1.798-2.95\
6.74-1.037 1.252-1.834 1.598-2.526C10.863 3.392 11 2.563 11 1.5a.5.5 0 00-.5-.5h-7zm6.487 11a4.675 4.675 0 00-.385-1.652c-.277-.648-.735-1.4\
07-1.499-2.494-.216.294-.448.606-.696.937a.497.497 0 01-.195.162.5.5 0 01-.619-.162c-.248-.331-.48-.643-.696-.937-.764 1.087-1.222 1.846-1.4\
99 2.494A4.675 4.675 0 004.013 12h5.974zM6.304 6.716c.212.293.443.609.696.948a90.058 90.058 0 00.709-.965c.48-.664.86-1.218 1.163-1.699H5.12\
8a32.672 32.672 0 001.176 1.716zM4.559 4h4.882c.364-.735.505-1.312.546-2H4.013c.04.688.182 1.265.546 2z",
      fill: e
    }
  )
)), w4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M11.5 1h-9a.5.5 0 00-.5.5v11a.5.5 0 001 0V8h8.5a.5.5 0 00.354-.854L9.207 4.5l2.647-2.646A.499.499 0 0011.5 1zM8.146 4.146L10.293 2\
H3v5h7.293L8.146 4.854a.5.5 0 010-.708z",
      fill: e
    }
  )
)), E4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M10 7V6a3 3 0 00-5.91-.736l-.17.676-.692.075A2.5 2.5 0 003.5 11h3c.063 0 .125-.002.187-.007l.076-.005.076.006c.053.004.106.006.161\
.006h4a2 2 0 100-4h-1zM3.12 5.02A3.5 3.5 0 003.5 12h3c.087 0 .174-.003.26-.01.079.007.16.01.24.01h4a3 3 0 100-6 4 4 0 00-7.88-.98z",
      fill: e
    }
  )
)), R4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M7 2a4 4 0 014 4 3 3 0 110 6H7c-.08 0-.161-.003-.24-.01-.086.007-.173.01-.26.01h-3a3.5 3.5 0 01-.38-6.98A4.002 4.002 0 017 2z",
      fill: e
    }
  )
)), x4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M11 7a4 4 0 11-8 0 4 4 0 018 0zm-1 0a3 3 0 11-6 0 3 3 0 016 0z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M4.268 13.18c.25.472.83.66 1.31.425l.987-.482a.991.991 0 01.87 0l.987.482a.991.991 0 001.31-.426l.515-.97a.991.991 0 01.704-.511l1\
.082-.19a.99.99 0 00.81-1.115l-.154-1.087a.991.991 0 01.269-.828l.763-.789a.991.991 0 000-1.378l-.763-.79a.991.991 0 01-.27-.827l.155-1.087a\
.99.99 0 00-.81-1.115l-1.082-.19a.991.991 0 01-.704-.511L9.732.82a.99.99 0 00-1.31-.426l-.987.482a.991.991 0 01-.87 0L5.578.395a.99.99 0 00-\
1.31.426l-.515.97a.99.99 0 01-.704.511l-1.082.19a.99.99 0 00-.81 1.115l.154 1.087a.99.99 0 01-.269.828L.28 6.31a.99.99 0 000 1.378l.763.79a.\
99.99 0 01.27.827l-.155 1.087a.99.99 0 00.81 1.115l1.082.19a.99.99 0 01.704.511l.515.97zm5.096-1.44l-.511.963-.979-.478a1.99 1.99 0 00-1.748\
 0l-.979.478-.51-.962a1.991 1.991 0 00-1.415-1.028l-1.073-.188.152-1.079a1.991 1.991 0 00-.54-1.663L1.004 7l.757-.783a1.991 1.991 0 00.54-1.\
663L2.15 3.475l1.073-.188A1.991 1.991 0 004.636 2.26l.511-.962.979.478a1.99 1.99 0 001.748 0l.979-.478.51.962c.288.543.81.922 1.415 1.028l1.\
073.188-.152 1.079a1.99 1.99 0 00.54 1.663l.757.783-.757.783a1.99 1.99 0 00-.54 1.663l.152 1.079-1.073.188a1.991 1.991 0 00-1.414 1.028z",
      fill: e
    }
  )
)), S4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7 4a3 3 0 100 6 3 3 0 000-6zM3 7a4 4 0 118 0 4 4 0 01-8 0z",
      fill: e
    }
  )
)), C4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement("circle", { cx: 7, cy: 7, r: 3, fill: e })
)), _4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7.206 3.044a.498.498 0 01.23.212l3.492 5.985a.494.494 0 01.006.507.497.497 0 01-.443.252H3.51a.499.499 0 01-.437-.76l3.492-5.984a\
.497.497 0 01.642-.212zM7 4.492L4.37 9h5.26L7 4.492z",
      fill: e
    }
  )
)), P4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M10.854 4.146a.5.5 0 010 .708l-5 5a.5.5 0 01-.708 0l-2-2a.5.5 0 11.708-.708L5.5 8.793l4.646-4.647a.5.5 0 01.708 0z",
      fill: e
    }
  )
)), T4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M7.354 3.896l5.5 5.5a.5.5 0 01-.708.708L7 4.957l-5.146 5.147a.5.5 0 01-.708-.708l5.5-5.5a.5.5 0 01.708 0z",
      fill: e
    }
  )
)), A4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M1.146 4.604l5.5 5.5a.5.5 0 00.708 0l5.5-5.5a.5.5 0 00-.708-.708L7 9.043 1.854 3.896a.5.5 0 10-.708.708z",
      fill: e
    }
  )
)), O4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M2.76 7.096a.498.498 0 00.136.258l5.5 5.5a.5.5 0 00.707-.708L3.958 7l5.147-5.146a.5.5 0 10-.708-.708l-5.5 5.5a.5.5 0 00-.137.45z",
      fill: e
    }
  )
)), yT = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M11.104 7.354l-5.5 5.5a.5.5 0 01-.708-.708L10.043 7 4.896 1.854a.5.5 0 11.708-.708l5.5 5.5a.5.5 0 010 .708z",
      fill: e
    }
  )
)), I4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M3.854 9.104a.5.5 0 11-.708-.708l3.5-3.5a.5.5 0 01.708 0l3.5 3.5a.5.5 0 01-.708.708L7 5.957 3.854 9.104z",
      fill: e
    }
  )
)), M4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M3.854 4.896a.5.5 0 10-.708.708l3.5 3.5a.5.5 0 00.708 0l3.5-3.5a.5.5 0 00-.708-.708L7 8.043 3.854 4.896z",
      fill: e
    }
  )
)), N4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M9.104 10.146a.5.5 0 01-.708.708l-3.5-3.5a.5.5 0 010-.708l3.5-3.5a.5.5 0 11.708.708L5.957 7l3.147 3.146z",
      fill: e
    }
  )
)), L4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M4.896 10.146a.5.5 0 00.708.708l3.5-3.5a.5.5 0 000-.708l-3.5-3.5a.5.5 0 10-.708.708L8.043 7l-3.147 3.146z",
      fill: e
    }
  )
)), k4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M11.854 4.646l-4.5-4.5a.5.5 0 00-.708 0l-4.5 4.5a.5.5 0 10.708.708L6.5 1.707V13.5a.5.5 0 001 0V1.707l3.646 3.647a.5.5 0 00.708-.70\
8z",
      fill: e
    }
  )
)), q4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M7.5.5a.5.5 0 00-1 0v11.793L2.854 8.646a.5.5 0 10-.708.708l4.5 4.5a.5.5 0 00.351.146h.006c.127 0 .254-.05.35-.146l4.5-4.5a.5.5 0 0\
0-.707-.708L7.5 12.293V.5z",
      fill: e
    }
  )
)), D4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M5.354 2.146a.5.5 0 010 .708L1.707 6.5H13.5a.5.5 0 010 1H1.707l3.647 3.646a.5.5 0 01-.708.708l-4.5-4.5a.5.5 0 010-.708l4.5-4.5a.5.\
5 0 01.708 0z",
      fill: e
    }
  )
)), F4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M8.646 2.146a.5.5 0 01.708 0l4.5 4.5a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708-.708L12.293 7.5H.5a.5.5 0 010-1h11.793L8.646 2.854a.5\
.5 0 010-.708z",
      fill: e
    }
  )
)), j4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M1.904 8.768V2.404a.5.5 0 01.5-.5h6.364a.5.5 0 110 1H3.61l8.339 8.339a.5.5 0 01-.707.707l-8.34-8.34v5.158a.5.5 0 01-1 0z",
      fill: e
    }
  )
)), B4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M12.096 8.768V2.404a.5.5 0 00-.5-.5H5.232a.5.5 0 100 1h5.157L2.05 11.243a.5.5 0 10.707.707l8.34-8.34v5.158a.5.5 0 101 0z",
      fill: e
    }
  )
)), $4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M1.904 5.232v6.364a.5.5 0 00.5.5h6.364a.5.5 0 000-1H3.61l8.339-8.339a.5.5 0 00-.707-.707l-8.34 8.34V5.231a.5.5 0 00-1 0z",
      fill: e
    }
  )
)), H4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M12.096 5.232v6.364a.5.5 0 01-.5.5H5.232a.5.5 0 010-1h5.157L2.05 2.757a.5.5 0 01.707-.707l8.34 8.34V5.231a.5.5 0 111 0z",
      fill: e
    }
  )
)), z4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M6.772 3.59c.126-.12.33-.12.456 0l5.677 5.387c.203.193.06.523-.228.523H1.323c-.287 0-.431-.33-.228-.523L6.772 3.59z",
      fill: e
    }
  )
)), U4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7.228 10.41a.335.335 0 01-.456 0L1.095 5.023c-.203-.193-.06-.523.228-.523h11.354c.287 0 .431.33.228.523L7.228 10.41z",
      fill: e
    }
  )
)), V4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M3.712 7.212a.3.3 0 010-.424l5.276-5.276a.3.3 0 01.512.212v10.552a.3.3 0 01-.512.212L3.712 7.212z",
      fill: e
    }
  )
)), W4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M10.288 7.212a.3.3 0 000-.424L5.012 1.512a.3.3 0 00-.512.212v10.552a.3.3 0 00.512.212l5.276-5.276z",
      fill: e
    }
  )
)), G4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M7.354.146l4 4a.5.5 0 01-.708.708L7 1.207 3.354 4.854a.5.5 0 11-.708-.708l4-4a.5.5 0 01.708 0zM11.354 9.146a.5.5 0 010 .708l-4 4a.\
5.5 0 01-.708 0l-4-4a.5.5 0 11.708-.708L7 12.793l3.646-3.647a.5.5 0 01.708 0z",
      fill: e
    }
  )
)), Y4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M3.354.146a.5.5 0 10-.708.708l4 4a.5.5 0 00.708 0l4-4a.5.5 0 00-.708-.708L7 3.793 3.354.146zM6.646 9.146a.5.5 0 01.708 0l4 4a.5.5 \
0 01-.708.708L7 10.207l-3.646 3.647a.5.5 0 01-.708-.708l4-4z",
      fill: e
    }
  )
)), K4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M1.5 1h2a.5.5 0 010 1h-.793l3.147 3.146a.5.5 0 11-.708.708L2 2.707V3.5a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5zM10 1.5a.5.5 0 01.5-.5h2a.5\
.5 0 01.5.5v2a.5.5 0 01-1 0v-.793L8.854 5.854a.5.5 0 11-.708-.708L11.293 2H10.5a.5.5 0 01-.5-.5zM12.5 10a.5.5 0 01.5.5v2a.5.5 0 01-.5.5h-2a.\
5.5 0 010-1h.793L8.146 8.854a.5.5 0 11.708-.708L12 11.293V10.5a.5.5 0 01.5-.5zM2 11.293V10.5a.5.5 0 00-1 0v2a.5.5 0 00.5.5h2a.5.5 0 000-1h-.\
793l3.147-3.146a.5.5 0 10-.708-.708L2 11.293z",
      fill: e
    }
  )
)), X4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M6.646.147l-1.5 1.5a.5.5 0 10.708.707l.646-.647V5a.5.5 0 001 0V1.707l.646.647a.5.5 0 10.708-.707l-1.5-1.5a.5.5 0 00-.708 0z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M1.309 4.038a.498.498 0 00-.16.106l-.005.005a.498.498 0 00.002.705L3.293 7 1.146 9.146A.498.498 0 001.5 10h3a.5.5 0 000-1H2.707l1.\
5-1.5h5.586l2.353 2.354a.5.5 0 00.708-.708L10.707 7l2.146-2.146.11-.545-.107.542A.499.499 0 0013 4.503v-.006a.5.5 0 00-.144-.348l-.005-.005A\
.498.498 0 0012.5 4h-3a.5.5 0 000 1h1.793l-1.5 1.5H4.207L2.707 5H4.5a.5.5 0 000-1h-3a.498.498 0 00-.191.038z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M7 8.5a.5.5 0 01.5.5v3.293l.646-.647a.5.5 0 01.708.708l-1.5 1.5a.5.5 0 01-.708 0l-1.5-1.5a.5.5 0 01.708-.708l.646.647V9a.5.5 0 01.\
5-.5zM9 9.5a.5.5 0 01.5-.5h3a.5.5 0 010 1h-3a.5.5 0 01-.5-.5z",
      fill: e
    }
  )
)), J4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M10.646 2.646a.5.5 0 01.708 0l1.5 1.5a.5.5 0 010 .708l-1.5 1.5a.5.5 0 01-.708-.708L11.293 5H1.5a.5.5 0 010-1h9.793l-.647-.646a.5.5\
 0 010-.708zM3.354 8.354L2.707 9H12.5a.5.5 0 010 1H2.707l.647.646a.5.5 0 01-.708.708l-1.5-1.5a.5.5 0 010-.708l1.5-1.5a.5.5 0 11.708.708z",
      fill: e
    }
  )
)), Q4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M1.5 1a.5.5 0 01.5.5V10a2 2 0 004 0V4a3 3 0 016 0v7.793l1.146-1.147a.5.5 0 01.708.708l-2 2a.5.5 0 01-.708 0l-2-2a.5.5 0 01.708-.70\
8L11 11.793V4a2 2 0 10-4 0v6.002a3 3 0 01-6 0V1.5a.5.5 0 01.5-.5z",
      fill: e
    }
  )
)), Z4e = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M1.146 3.854a.5.5 0 010-.708l2-2a.5.5 0 11.708.708L2.707 3h6.295A4 4 0 019 11H3a.5.5 0 010-1h6a3 3 0 100-6H2.707l1.147 1.146a.5.5 \
0 11-.708.708l-2-2z",
      fill: e
    }
  )
)), eCe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M4.354 2.146a.5.5 0 010 .708L1.707 5.5H9.5A4.5 4.5 0 0114 10v1.5a.5.5 0 01-1 0V10a3.5 3.5 0 00-3.5-3.5H1.707l2.647 2.646a.5.5 0 11\
-.708.708l-3.5-3.5a.5.5 0 010-.708l3.5-3.5a.5.5 0 01.708 0z",
      fill: e
    }
  )
)), tCe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M5.5 1A.5.5 0 005 .5H2a.5.5 0 000 1h1.535a6.502 6.502 0 002.383 11.91.5.5 0 10.165-.986A5.502 5.502 0 014.5 2.1V4a.5.5 0 001 0V1.3\
53a.5.5 0 000-.023V1zM7.507 1a.5.5 0 01.576-.41 6.502 6.502 0 012.383 11.91H12a.5.5 0 010 1H9a.5.5 0 01-.5-.5v-3a.5.5 0 011 0v1.9A5.5 5.5 0 \
007.917 1.576.5.5 0 017.507 1z",
      fill: e
    }
  )
)), rCe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M8.646 5.854L7.5 4.707V10.5a.5.5 0 01-1 0V4.707L5.354 5.854a.5.5 0 11-.708-.708l2-2a.5.5 0 01.708 0l2 2a.5.5 0 11-.708.708z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",
      fill: e
    }
  )
)), nCe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M5.354 8.146L6.5 9.293V3.5a.5.5 0 011 0v5.793l1.146-1.147a.5.5 0 11.708.708l-2 2a.5.5 0 01-.708 0l-2-2a.5.5 0 11.708-.708z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M0 7a7 7 0 1114 0A7 7 0 010 7zm1 0a6 6 0 1112 0A6 6 0 011 7z",
      fill: e
    }
  )
)), oCe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M5.854 5.354L4.707 6.5H10.5a.5.5 0 010 1H4.707l1.147 1.146a.5.5 0 11-.708.708l-2-2a.5.5 0 010-.708l2-2a.5.5 0 11.708.708z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7 0a7 7 0 110 14A7 7 0 017 0zm0 1a6 6 0 110 12A6 6 0 017 1z",
      fill: e
    }
  )
)), aCe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M3.5 6.5h5.793L8.146 5.354a.5.5 0 11.708-.708l2 2a.5.5 0 010 .708l-2 2a.5.5 0 11-.708-.708L9.293 7.5H3.5a.5.5 0 010-1z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7 14A7 7 0 117 0a7 7 0 010 14zm0-1A6 6 0 117 1a6 6 0 010 12z",
      fill: e
    }
  )
)), iCe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M7.092.5H7a6.5 6.5 0 106.41 7.583.5.5 0 10-.986-.166A5.495 5.495 0 017 12.5a5.5 5.5 0 010-11h.006a5.5 5.5 0 014.894 3H10a.5.5 0 00\
0 1h3a.5.5 0 00.5-.5V2a.5.5 0 00-1 0v1.535A6.495 6.495 0 007.092.5z",
      fill: e
    }
  )
)), sCe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M14 7A7 7 0 100 7a7 7 0 0014 0zm-6.535 5.738c-.233.23-.389.262-.465.262-.076 0-.232-.032-.465-.262-.238-.234-.497-.623-.737-1.182-\
.434-1.012-.738-2.433-.79-4.056h3.984c-.052 1.623-.356 3.043-.79 4.056-.24.56-.5.948-.737 1.182zM8.992 6.5H5.008c.052-1.623.356-3.044.79-4.0\
56.24-.56.5-.948.737-1.182C6.768 1.032 6.924 1 7 1c.076 0 .232.032.465.262.238.234.497.623.737 1.182.434 1.012.738 2.433.79 4.056zm1 1c-.065\
 2.176-.558 4.078-1.282 5.253A6.005 6.005 0 0012.98 7.5H9.992zm2.987-1H9.992c-.065-2.176-.558-4.078-1.282-5.253A6.005 6.005 0 0112.98 6.5zm-\
8.971 0c.065-2.176.558-4.078 1.282-5.253A6.005 6.005 0 001.02 6.5h2.988zm-2.987 1a6.005 6.005 0 004.27 5.253C4.565 11.578 4.072 9.676 4.007 \
7.5H1.02z",
      fill: e
    }
  )
)), lCe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M10.087 3.397L5.95 5.793a.374.374 0 00-.109.095.377.377 0 00-.036.052l-2.407 4.147a.374.374 0 00-.004.384c.104.179.334.24.513.136l\
4.142-2.404a.373.373 0 00.148-.143l2.406-4.146a.373.373 0 00-.037-.443.373.373 0 00-.478-.074zM4.75 9.25l2.847-1.652-1.195-1.195L4.75 9.25z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",
      fill: e
    }
  )
)), uCe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M0 7a7 7 0 1114 0A7 7 0 010 7zm6.5 3.5v2.48A6.001 6.001 0 011.02 7.5H3.5a.5.5 0 000-1H1.02A6.001 6.001 0 016.5 1.02V3.5a.5.5 0 001\
 0V1.02a6.001 6.001 0 015.48 5.48H10.5a.5.5 0 000 1h2.48a6.002 6.002 0 01-5.48 5.48V10.5a.5.5 0 00-1 0z",
      fill: e
    }
  )
)), cCe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M9 5a2 2 0 11-4 0 2 2 0 014 0zM8 5a1 1 0 11-2 0 1 1 0 012 0z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M12 5A5 5 0 002 5c0 2.633 2.273 6.154 4.65 8.643.192.2.508.2.7 0C9.726 11.153 12 7.633 12 5zM7 1a4 4 0 014 4c0 1.062-.471 2.42-1.3\
03 3.88-.729 1.282-1.69 2.562-2.697 3.67-1.008-1.108-1.968-2.388-2.697-3.67C3.47 7.42 3 6.063 3 5a4 4 0 014-4z",
      fill: e
    }
  )
)), dCe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M7 2a.5.5 0 01.5.5v4H10a.5.5 0 010 1H7a.5.5 0 01-.5-.5V2.5A.5.5 0 017 2z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",
      fill: e
    }
  )
)), fCe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M9.79 4.093a.5.5 0 01.117.698L7.91 7.586a1 1 0 11-.814-.581l1.997-2.796a.5.5 0 01.698-.116z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M2.069 12.968a7 7 0 119.863 0A12.962 12.962 0 007 12c-1.746 0-3.41.344-4.931.968zm9.582-1.177a6 6 0 10-9.301 0A13.98 13.98 0 017 1\
1c1.629 0 3.194.279 4.65.791z",
      fill: e
    }
  )
)), pCe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement("path", { d: "M7.5 4.5a.5.5 0 00-1 0v2.634a1 1 0 101 0V4.5z", fill: e }),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M5.5.5A.5.5 0 016 0h2a.5.5 0 010 1h-.5v1.02a5.973 5.973 0 013.374 1.398l.772-.772a.5.5 0 01.708.708l-.772.772A6 6 0 116.5 2.02V1H6\
a.5.5 0 01-.5-.5zM7 3a5 5 0 100 10A5 5 0 007 3z",
      fill: e
    }
  )
)), mCe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7.354 1.146l5.5 5.5a.5.5 0 01-.708.708L12 7.207V12.5a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V9H6v3.5a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V\
7.207l-.146.147a.5.5 0 11-.708-.708l1-1 4.5-4.5a.5.5 0 01.708 0zM3 6.207V12h2V8.5a.5.5 0 01.5-.5h3a.5.5 0 01.5.5V12h2V6.207l-4-4-4 4z",
      fill: e
    }
  )
)), hCe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M1.213 4.094a.5.5 0 01.056-.034l5.484-2.995a.498.498 0 01.494 0L12.73 4.06a.507.507 0 01.266.389.498.498 0 01-.507.555H1.51a.5.5 0\
 01-.297-.91zm2.246-.09h7.082L7 2.07 3.459 4.004z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M4 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM11 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM5.75 5.5a.5.5 0 01.5.5v5a.5.5 0 01-1 0V6a.5.5 0 01.5-.5z\
M8.75 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM1.5 12.504a.5.5 0 01.5-.5h10a.5.5 0 010 1H2a.5.5 0 01-.5-.5z",
      fill: e
    }
  )
)), gCe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement("g", { clipPath: "url(#prefix__clip0_1107_3594)" }, /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M11.451.537l.01 12.922h0L7.61 8.946a1.077 1.077 0 00-.73-.374L.964 8.087 11.45.537h0z",
      stroke: e,
      strokeWidth: 1.077
    }
  )),
  /* @__PURE__ */ h.createElement("defs", null, /* @__PURE__ */ h.createElement("clipPath", { id: "prefix__clip0_1107_3594" }, /* @__PURE__ */ h.createElement(
  "path", { fill: "#fff", d: "M0 0h14v14H0z" })))
)), yCe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M14 7A7 7 0 110 7a7 7 0 0114 0zM2.671 11.155c.696-1.006 2.602-1.816 3.194-1.91.226-.036.232-.658.232-.658s-.665-.658-.81-1.544c-.3\
9 0-.63-.94-.241-1.272a2.578 2.578 0 00-.012-.13c-.066-.607-.28-2.606 1.965-2.606 2.246 0 2.031 2 1.966 2.606l-.012.13c.39.331.149 1.272-.24\
 1.272-.146.886-.81 1.544-.81 1.544s.004.622.23.658c.593.094 2.5.904 3.195 1.91a6 6 0 10-8.657 0z",
      fill: e
    }
  )
)), vCe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M7.275 13.16a11.388 11.388 0 005.175-1.232v-.25c0-1.566-3.237-2.994-4.104-3.132-.27-.043-.276-.783-.276-.783s.791-.783.964-1.836c.\
463 0 .75-1.119.286-1.513C9.34 4 9.916 1.16 6.997 1.16c-2.92 0-2.343 2.84-2.324 3.254-.463.394-.177 1.513.287 1.513.172 1.053.963 1.836.963 \
1.836s-.006.74-.275.783c-.858.136-4.036 1.536-4.103 3.082a11.388 11.388 0 005.73 1.532z",
      fill: e
    }
  )
)), bCe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M1.183 11.906a10.645 10.645 0 01-1.181-.589c.062-1.439 3.02-2.74 3.818-2.868.25-.04.256-.728.256-.728s-.736-.729-.896-1.709c-.432 \
0-.698-1.041-.267-1.408A2.853 2.853 0 002.9 4.46c-.072-.672-.31-2.884 2.175-2.884 2.486 0 2.248 2.212 2.176 2.884-.007.062-.012.112-.014.144\
.432.367.165 1.408-.266 1.408-.16.98-.896 1.709-.896 1.709s.005.688.256.728c.807.129 3.82 1.457 3.82 2.915v.233a10.598 10.598 0 01-4.816 1.1\
46c-1.441 0-2.838-.282-4.152-.837zM11.5 2.16a.5.5 0 01.5.5v1.5h1.5a.5.5 0 010 1H12v1.5a.5.5 0 01-1 0v-1.5H9.5a.5.5 0 110-1H11v-1.5a.5.5 0 01\
.5-.5z",
      fill: e
    }
  )
)), wCe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M9.21 11.623a10.586 10.586 0 01-4.031.787A10.585 10.585 0 010 11.07c.06-1.354 2.933-2.578 3.708-2.697.243-.038.249-.685.249-.685s-\
.715-.685-.87-1.607c-.42 0-.679-.979-.26-1.323a2.589 2.589 0 00-.013-.136c-.07-.632-.3-2.712 2.113-2.712 2.414 0 2.183 2.08 2.113 2.712-.007\
.059-.012.105-.013.136.419.344.16 1.323-.259 1.323-.156.922-.87 1.607-.87 1.607s.005.647.248.685c.784.12 3.71 1.37 3.71 2.74v.22c-.212.103-.\
427.2-.646.29z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M8.81 8.417a9.643 9.643 0 00-.736-.398c.61-.42 1.396-.71 1.7-.757.167-.026.171-.471.171-.471s-.491-.471-.598-1.104c-.288 0-.466-.6\
74-.178-.91-.001-.022-.005-.053-.01-.094-.048-.434-.206-1.864 1.453-1.864 1.66 0 1.5 1.43 1.453 1.864l-.01.094c.289.236.11.91-.178.91-.107.6\
33-.598 1.104-.598 1.104s.004.445.171.47c.539.084 2.55.942 2.55 1.884v.628a10.604 10.604 0 01-3.302.553 2.974 2.974 0 00-.576-.879c-.375-.40\
8-.853-.754-1.312-1.03z",
      fill: e
    }
  )
)), ECe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M9.106 7.354c-.627.265-1.295.4-1.983.4a5.062 5.062 0 01-2.547-.681c.03-.688 1.443-1.31 1.824-1.37.12-.02.122-.348.122-.348s-.351-.\
348-.428-.816c-.206 0-.333-.498-.127-.673 0-.016-.003-.04-.007-.07C5.926 3.477 5.812 2.42 7 2.42c1.187 0 1.073 1.057 1.039 1.378l-.007.069c.\
207.175.08.673-.127.673-.076.468-.428.816-.428.816s.003.329.122.348c.386.06 1.825.696 1.825 1.392v.111c-.104.053-.21.102-.318.148zM3.75 11.2\
5A.25.25 0 014 11h6a.25.25 0 110 .5H4a.25.25 0 01-.25-.25zM4 9a.25.25 0 000 .5h6a.25.25 0 100-.5H4z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M1 .5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v13a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5V.5zM2 13V1h10v12H2z",
      fill: e
    }
  )
)), RCe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M3.968 8.75a.5.5 0 00-.866.5A4.498 4.498 0 007 11.5c1.666 0 3.12-.906 3.898-2.25a.5.5 0 10-.866-.5A3.498 3.498 0 017 10.5a3.498 3.\
498 0 01-3.032-1.75zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",
      fill: e
    }
  )
)), xCe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M4.5 9a.5.5 0 000 1h5a.5.5 0 000-1h-5zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",
      fill: e
    }
  )
)), SCe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M3.968 10.25a.5.5 0 01-.866-.5A4.498 4.498 0 017 7.5c1.666 0 3.12.906 3.898 2.25a.5.5 0 11-.866.5A3.498 3.498 0 007 8.5a3.498 3.49\
8 0 00-3.032 1.75zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",
      fill: e
    }
  )
)), CCe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      d: "M3.526 4.842a.5.5 0 01.632-.316l2.051.684a2.5 2.5 0 001.582 0l2.05-.684a.5.5 0 01.317.948l-2.453.818a.3.3 0 00-.205.285v.243a4.5 4\
.5 0 00.475 2.012l.972 1.944a.5.5 0 11-.894.448L7 9.118l-1.053 2.106a.5.5 0 11-.894-.447l.972-1.945A4.5 4.5 0 006.5 6.82v-.243a.3.3 0 00-.20\
5-.285l-2.453-.818a.5.5 0 01-.316-.632z",
      fill: e
    }
  ),
  /* @__PURE__ */ h.createElement("path", { d: "M7 4.5a1 1 0 100-2 1 1 0 000 2z", fill: e }),
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",
      fill: e
    }
  )
)), _Ce = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7 14A7 7 0 107 0a7 7 0 000 14zM8 3.5a1 1 0 11-2 0 1 1 0 012 0zM3.526 4.842a.5.5 0 01.632-.316l2.051.684a2.5 2.5 0 001.582 0l2.05-\
.684a.5.5 0 01.317.948l-2.453.818a.3.3 0 00-.205.285v.243a4.5 4.5 0 00.475 2.012l.972 1.944a.5.5 0 11-.894.448L7 9.118l-1.053 2.106a.5.5 0 1\
1-.894-.447l.972-1.945A4.5 4.5 0 006.5 6.82v-.243a.3.3 0 00-.205-.285l-2.453-.818a.5.5 0 01-.316-.632z",
      fill: e
    }
  )
)), PCe = /* @__PURE__ */ h.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ h.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ h.createElement("g", { clipPath: "url(#prefix__clip0_2359_558)", fill: e }, /* @__PURE__ */ h.createElement("path", { d: "\
M7.636 13.972a7 7 0 116.335-6.335c-.28-.34-.609-.637-.976-.883a6 6 0 10-6.24 6.241c.245.367.542.696.881.977z" }), /* @__PURE__ */ h.createElement(
  "path", { d: "M7.511 7.136a4.489 4.489 0 00-1.478 3.915l-.086.173a.5.5 0 11-.894-.447l.972-1.945A4.5 4.5 0 006.5 6.82v-.243a.3.3 0 00-.205\
-.285l-2.453-.818a.5.5 0 01.316-.948l2.051.684a2.5 2.5 0 001.582 0l2.05-.684a.5.5 0 01.317.948l-2.453.818a.3.3 0 00-.205.285v.243c0 .105.004\
.21.011.316z" }), /* @__PURE__ */ h.createElement("path", { d: "M8 3.5a1 1 0 11-2 0 1 1 0 012 0z" }), /* @__PURE__ */ h.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M14 10.5a3.5 3.5 0 11-7 0 3.5 3.5 0 017 0zm-5.5 0A.5.5 0 019 10h3a.5.5 0 010 1H9a.5.5 0 01-.5-.5z"
    }
  )),
  /* @__PURE__ */ h.createElement("defs", null, /* @__PURE__ */ h.createElement("clipPath", { id: "prefix__clip0_2359_558" }, /* @__PURE__ */ h.createElement(
  "path", { fill: "#fff", d: "M0 0h14v14H0z" })))
));

// src/components/components/typography/link/link.tsx
Va();
ue();
var TCe = 0, ACe = /* @__PURE__ */ a((e) => e.button === TCe && !e.altKey && !e.ctrlKey && !e.metaKey && !e.shiftKey, "isPlainLeftClick"), OCe = /* @__PURE__ */ a(
(e, t) => {
  ACe(e) && (e.preventDefault(), t(e));
}, "cancelled"), ICe = L.span(
  ({ withArrow: e }) => e ? {
    "> svg:last-of-type": {
      height: "0.7em",
      width: "0.7em",
      marginRight: 0,
      marginLeft: "0.25em",
      bottom: "auto",
      verticalAlign: "inherit"
    }
  } : {},
  ({ containsIcon: e }) => e ? {
    svg: {
      height: "1em",
      width: "1em",
      verticalAlign: "middle",
      position: "relative",
      bottom: 0,
      marginRight: 0
    }
  } : {}
), MCe = L.a(
  ({ theme: e }) => ({
    display: "inline-block",
    transition: "all 150ms ease-out",
    textDecoration: "none",
    color: e.color.secondary,
    "&:hover, &:focus": {
      cursor: "pointer",
      color: ma(0.07, e.color.secondary),
      "svg path:not([fill])": {
        fill: ma(0.07, e.color.secondary)
      }
    },
    "&:active": {
      color: ma(0.1, e.color.secondary),
      "svg path:not([fill])": {
        fill: ma(0.1, e.color.secondary)
      }
    },
    svg: {
      display: "inline-block",
      height: "1em",
      width: "1em",
      verticalAlign: "text-top",
      position: "relative",
      bottom: "-0.125em",
      marginRight: "0.4em",
      "& path": {
        fill: e.color.secondary
      }
    }
  }),
  ({ theme: e, secondary: t, tertiary: r }) => {
    let n;
    return t && (n = [e.textMutedColor, e.color.dark, e.color.darker]), r && (n = [e.color.dark, e.color.darkest, e.textMutedColor]), n ? {
      color: n[0],
      "svg path:not([fill])": {
        fill: n[0]
      },
      "&:hover": {
        color: n[1],
        "svg path:not([fill])": {
          fill: n[1]
        }
      },
      "&:active": {
        color: n[2],
        "svg path:not([fill])": {
          fill: n[2]
        }
      }
    } : {};
  },
  ({ nochrome: e }) => e ? {
    color: "inherit",
    "&:hover, &:active": {
      color: "inherit",
      textDecoration: "underline"
    }
  } : {},
  ({ theme: e, inverse: t }) => t ? {
    color: e.color.lightest,
    ":not([fill])": {
      fill: e.color.lightest
    },
    "&:hover": {
      color: e.color.lighter,
      "svg path:not([fill])": {
        fill: e.color.lighter
      }
    },
    "&:active": {
      color: e.color.light,
      "svg path:not([fill])": {
        fill: e.color.light
      }
    }
  } : {},
  ({ isButton: e }) => e ? {
    border: 0,
    borderRadius: 0,
    background: "none",
    padding: 0,
    fontSize: "inherit"
  } : {}
), ly = /* @__PURE__ */ a(({
  cancel: e = !0,
  children: t,
  onClick: r = void 0,
  withArrow: n = !1,
  containsIcon: o = !1,
  className: i = void 0,
  style: s = void 0,
  ...l
}) => /* @__PURE__ */ sy.default.createElement(
  MCe,
  {
    ...l,
    onClick: r && e ? (u) => OCe(u, r) : r,
    className: i
  },
  /* @__PURE__ */ sy.default.createElement(ICe, { withArrow: n, containsIcon: o }, t, n && /* @__PURE__ */ sy.default.createElement(yT, null))
), "Link");

// src/components/components/typography/DocumentWrapper.tsx
ue();
var uz = L.div(({ theme: e }) => ({
  fontSize: `${e.typography.size.s2}px`,
  lineHeight: "1.6",
  h1: {
    fontSize: `${e.typography.size.l1}px`,
    fontWeight: e.typography.weight.bold
  },
  h2: {
    fontSize: `${e.typography.size.m2}px`,
    borderBottom: `1px solid ${e.appBorderColor}`
  },
  h3: {
    fontSize: `${e.typography.size.m1}px`
  },
  h4: {
    fontSize: `${e.typography.size.s3}px`
  },
  h5: {
    fontSize: `${e.typography.size.s2}px`
  },
  h6: {
    fontSize: `${e.typography.size.s2}px`,
    color: e.color.dark
  },
  "pre:not(.prismjs)": {
    background: "transparent",
    border: "none",
    borderRadius: 0,
    padding: 0,
    margin: 0
  },
  "pre pre, pre.prismjs": {
    padding: 15,
    margin: 0,
    whiteSpace: "pre-wrap",
    color: "inherit",
    fontSize: "13px",
    lineHeight: "19px"
  },
  "pre pre code, pre.prismjs code": {
    color: "inherit",
    fontSize: "inherit"
  },
  "pre code": {
    margin: 0,
    padding: 0,
    whiteSpace: "pre",
    border: "none",
    background: "transparent"
  },
  "pre code, pre tt": {
    backgroundColor: "transparent",
    border: "none"
  },
  /* GitHub inspired Markdown styles loosely from https://gist.github.com/tuzz/3331384 */
  "body > *:first-of-type": {
    marginTop: "0 !important"
  },
  "body > *:last-child": {
    marginBottom: "0 !important"
  },
  a: {
    color: e.color.secondary,
    textDecoration: "none"
  },
  "a.absent": {
    color: "#cc0000"
  },
  "a.anchor": {
    display: "block",
    paddingLeft: 30,
    marginLeft: -30,
    cursor: "pointer",
    position: "absolute",
    top: 0,
    left: 0,
    bottom: 0
  },
  "h1, h2, h3, h4, h5, h6": {
    margin: "20px 0 10px",
    padding: 0,
    cursor: "text",
    position: "relative",
    "&:first-of-type": {
      marginTop: 0,
      paddingTop: 0
    },
    "&:hover a.anchor": {
      textDecoration: "none"
    },
    "& tt, & code": {
      fontSize: "inherit"
    }
  },
  "h1:first-of-type + h2": {
    marginTop: 0,
    paddingTop: 0
  },
  "p, blockquote, ul, ol, dl, li, table, pre": {
    margin: "15px 0"
  },
  hr: {
    border: "0 none",
    borderTop: `1px solid ${e.appBorderColor}`,
    height: 4,
    padding: 0
  },
  "body > h1:first-of-type, body > h2:first-of-type, body > h3:first-of-type, body > h4:first-of-type, body > h5:first-of-type, body > h6:fi\
rst-of-type": {
    marginTop: 0,
    paddingTop: 0
  },
  "body > h1:first-of-type + h2": {
    marginTop: 0,
    paddingTop: 0
  },
  "a:first-of-type h1, a:first-of-type h2, a:first-of-type h3, a:first-of-type h4, a:first-of-type h5, a:first-of-type h6": {
    marginTop: 0,
    paddingTop: 0
  },
  "h1 p, h2 p, h3 p, h4 p, h5 p, h6 p": {
    marginTop: 0
  },
  "li p.first": {
    display: "inline-block"
  },
  "ul, ol": {
    paddingLeft: 30,
    "& :first-of-type": {
      marginTop: 0
    },
    "& :last-child": {
      marginBottom: 0
    }
  },
  dl: {
    padding: 0
  },
  "dl dt": {
    fontSize: "14px",
    fontWeight: "bold",
    fontStyle: "italic",
    margin: "0 0 15px",
    padding: "0 15px",
    "&:first-of-type": {
      padding: 0
    },
    "& > :first-of-type": {
      marginTop: 0
    },
    "& > :last-child": {
      marginBottom: 0
    }
  },
  blockquote: {
    borderLeft: `4px solid ${e.color.medium}`,
    padding: "0 15px",
    color: e.color.dark,
    "& > :first-of-type": {
      marginTop: 0
    },
    "& > :last-child": {
      marginBottom: 0
    }
  },
  table: {
    padding: 0,
    borderCollapse: "collapse",
    "& tr": {
      borderTop: `1px solid ${e.appBorderColor}`,
      backgroundColor: "white",
      margin: 0,
      padding: 0,
      "& th": {
        fontWeight: "bold",
        border: `1px solid ${e.appBorderColor}`,
        textAlign: "left",
        margin: 0,
        padding: "6px 13px"
      },
      "& td": {
        border: `1px solid ${e.appBorderColor}`,
        textAlign: "left",
        margin: 0,
        padding: "6px 13px"
      },
      "&:nth-of-type(2n)": {
        backgroundColor: e.color.lighter
      },
      "& th :first-of-type, & td :first-of-type": {
        marginTop: 0
      },
      "& th :last-child, & td :last-child": {
        marginBottom: 0
      }
    }
  },
  img: {
    maxWidth: "100%"
  },
  "span.frame": {
    display: "block",
    overflow: "hidden",
    "& > span": {
      border: `1px solid ${e.color.medium}`,
      display: "block",
      float: "left",
      overflow: "hidden",
      margin: "13px 0 0",
      padding: 7,
      width: "auto"
    },
    "& span img": {
      display: "block",
      float: "left"
    },
    "& span span": {
      clear: "both",
      color: e.color.darkest,
      display: "block",
      padding: "5px 0 0"
    }
  },
  "span.align-center": {
    display: "block",
    overflow: "hidden",
    clear: "both",
    "& > span": {
      display: "block",
      overflow: "hidden",
      margin: "13px auto 0",
      textAlign: "center"
    },
    "& span img": {
      margin: "0 auto",
      textAlign: "center"
    }
  },
  "span.align-right": {
    display: "block",
    overflow: "hidden",
    clear: "both",
    "& > span": {
      display: "block",
      overflow: "hidden",
      margin: "13px 0 0",
      textAlign: "right"
    },
    "& span img": {
      margin: 0,
      textAlign: "right"
    }
  },
  "span.float-left": {
    display: "block",
    marginRight: 13,
    overflow: "hidden",
    float: "left",
    "& span": {
      margin: "13px 0 0"
    }
  },
  "span.float-right": {
    display: "block",
    marginLeft: 13,
    overflow: "hidden",
    float: "right",
    "& > span": {
      display: "block",
      overflow: "hidden",
      margin: "13px auto 0",
      textAlign: "right"
    }
  },
  "code, tt": {
    margin: "0 2px",
    padding: "0 5px",
    whiteSpace: "nowrap",
    border: `1px solid ${e.color.mediumlight}`,
    backgroundColor: e.color.lighter,
    borderRadius: 3,
    color: e.base === "dark" ? e.color.darkest : e.color.dark
  }
}));

// src/components/components/syntaxhighlighter/lazy-syntaxhighlighter.tsx
var Kn = N(H(), 1);
var Rl = [], Dc = null, LCe = (0, Kn.lazy)(async () => {
  let { SyntaxHighlighter: e } = await Promise.resolve().then(() => (Np(), pT));
  return Rl.length > 0 && (Rl.forEach((t) => {
    e.registerLanguage(...t);
  }), Rl = []), Dc === null && (Dc = e), {
    default: /* @__PURE__ */ a((t) => /* @__PURE__ */ Kn.default.createElement(e, { ...t }), "default")
  };
}), kCe = (0, Kn.lazy)(async () => {
  let [{ SyntaxHighlighter: e }, { formatter: t }] = await Promise.all([
    Promise.resolve().then(() => (Np(), pT)),
    Promise.resolve().then(() => (fz(), dz))
  ]);
  return Rl.length > 0 && (Rl.forEach((r) => {
    e.registerLanguage(...r);
  }), Rl = []), Dc === null && (Dc = e), {
    default: /* @__PURE__ */ a((r) => /* @__PURE__ */ Kn.default.createElement(e, { ...r, formatter: t }), "default")
  };
}), bT = /* @__PURE__ */ a((e) => /* @__PURE__ */ Kn.default.createElement(Kn.Suspense, { fallback: /* @__PURE__ */ Kn.default.createElement(
"div", null) }, e.format !== !1 ? /* @__PURE__ */ Kn.default.createElement(kCe, { ...e }) : /* @__PURE__ */ Kn.default.createElement(LCe, { ...e })),
"SyntaxHighlighter");
bT.registerLanguage = (...e) => {
  if (Dc !== null) {
    Dc.registerLanguage(...e);
    return;
  }
  Rl.push(e);
};

// src/components/index.ts
Np();
aT();

// src/components/components/Modal/Modal.tsx
var Tl = N(H(), 1);

// ../node_modules/@radix-ui/react-dialog/dist/index.mjs
var Cy = {};
_e(Cy, {
  Close: () => uA,
  Content: () => iA,
  Description: () => lA,
  Dialog: () => WT,
  DialogClose: () => tA,
  DialogContent: () => JT,
  DialogDescription: () => eA,
  DialogOverlay: () => XT,
  DialogPortal: () => KT,
  DialogTitle: () => ZT,
  DialogTrigger: () => GT,
  Overlay: () => aA,
  Portal: () => oA,
  Root: () => nA,
  Title: () => sA,
  Trigger: () => G_e,
  WarningProvider: () => z_e,
  createDialogScope: () => q_e
});
var Ke = N(H(), 1);

// ../node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/primitive/dist/index.mjs
function Fc(e, t, { checkForDefaultPrevented: r = !0 } = {}) {
  return /* @__PURE__ */ a(function(o) {
    if (e?.(o), r === !1 || !o.defaultPrevented)
      return t?.(o);
  }, "handleEvent");
}
a(Fc, "composeEventHandlers");

// ../node_modules/@radix-ui/react-compose-refs/dist/index.mjs
var mz = N(H(), 1);
function pz(e, t) {
  if (typeof e == "function")
    return e(t);
  e != null && (e.current = t);
}
a(pz, "setRef");
function wT(...e) {
  return (t) => {
    let r = !1, n = e.map((o) => {
      let i = pz(o, t);
      return !r && typeof i == "function" && (r = !0), i;
    });
    if (r)
      return () => {
        for (let o = 0; o < n.length; o++) {
          let i = n[o];
          typeof i == "function" ? i() : pz(e[o], null);
        }
      };
  };
}
a(wT, "composeRefs");
function Mo(...e) {
  return mz.useCallback(wT(...e), e);
}
a(Mo, "useComposedRefs");

// ../node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-context/dist/index.mjs
var Xn = N(H(), 1), ET = N(Rn(), 1);
function hz(e, t) {
  let r = Xn.createContext(t), n = /* @__PURE__ */ a((i) => {
    let { children: s, ...l } = i, u = Xn.useMemo(() => l, Object.values(l));
    return /* @__PURE__ */ (0, ET.jsx)(r.Provider, { value: u, children: s });
  }, "Provider");
  n.displayName = e + "Provider";
  function o(i) {
    let s = Xn.useContext(r);
    if (s) return s;
    if (t !== void 0) return t;
    throw new Error(`\`${i}\` must be used within \`${e}\``);
  }
  return a(o, "useContext2"), [n, o];
}
a(hz, "createContext2");
function gz(e, t = []) {
  let r = [];
  function n(i, s) {
    let l = Xn.createContext(s), u = r.length;
    r = [...r, s];
    let c = /* @__PURE__ */ a((f) => {
      let { scope: p, children: m, ...v } = f, y = p?.[e]?.[u] || l, b = Xn.useMemo(() => v, Object.values(v));
      return /* @__PURE__ */ (0, ET.jsx)(y.Provider, { value: b, children: m });
    }, "Provider");
    c.displayName = i + "Provider";
    function d(f, p) {
      let m = p?.[e]?.[u] || l, v = Xn.useContext(m);
      if (v) return v;
      if (s !== void 0) return s;
      throw new Error(`\`${f}\` must be used within \`${i}\``);
    }
    return a(d, "useContext2"), [c, d];
  }
  a(n, "createContext3");
  let o = /* @__PURE__ */ a(() => {
    let i = r.map((s) => Xn.createContext(s));
    return /* @__PURE__ */ a(function(l) {
      let u = l?.[e] || i;
      return Xn.useMemo(
        () => ({ [`__scope${e}`]: { ...l, [e]: u } }),
        [l, u]
      );
    }, "useScope");
  }, "createScope");
  return o.scopeName = e, [n, qCe(o, ...t)];
}
a(gz, "createContextScope");
function qCe(...e) {
  let t = e[0];
  if (e.length === 1) return t;
  let r = /* @__PURE__ */ a(() => {
    let n = e.map((o) => ({
      useScope: o(),
      scopeName: o.scopeName
    }));
    return /* @__PURE__ */ a(function(i) {
      let s = n.reduce((l, { useScope: u, scopeName: c }) => {
        let f = u(i)[`__scope${c}`];
        return { ...l, ...f };
      }, {});
      return Xn.useMemo(() => ({ [`__scope${t.scopeName}`]: s }), [s]);
    }, "useComposedScopes");
  }, "createScope");
  return r.scopeName = t.scopeName, r;
}
a(qCe, "composeContextScopes");

// ../node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-id/dist/index.mjs
var RT = N(H(), 1);

// ../node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
var yz = N(H(), 1), Ka = globalThis?.document ? yz.useLayoutEffect : () => {
};

// ../node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-id/dist/index.mjs
var DCe = RT[" useId ".trim().toString()] || (() => {
}), FCe = 0;
function uy(e) {
  let [t, r] = RT.useState(DCe());
  return Ka(() => {
    e || r((n) => n ?? String(FCe++));
  }, [e]), e || (t ? `radix-${t}` : "");
}
a(uy, "useId");

// ../node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
var Jn = N(H(), 1);
var cy = N(H(), 1);
var jCe = Jn[" useInsertionEffect ".trim().toString()] || Ka;
function vz({
  prop: e,
  defaultProp: t,
  onChange: r = /* @__PURE__ */ a(() => {
  }, "onChange"),
  caller: n
}) {
  let [o, i, s] = BCe({
    defaultProp: t,
    onChange: r
  }), l = e !== void 0, u = l ? e : o;
  {
    let d = Jn.useRef(e !== void 0);
    Jn.useEffect(() => {
      let f = d.current;
      f !== l && console.warn(
        `${n} is changing from ${f ? "controlled" : "uncontrolled"} to ${l ? "controlled" : "uncontrolled"}. Components should not switch fr\
om controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`
      ), d.current = l;
    }, [l, n]);
  }
  let c = Jn.useCallback(
    (d) => {
      if (l) {
        let f = $Ce(d) ? d(e) : d;
        f !== e && s.current?.(f);
      } else
        i(d);
    },
    [l, e, i, s]
  );
  return [u, c];
}
a(vz, "useControllableState");
function BCe({
  defaultProp: e,
  onChange: t
}) {
  let [r, n] = Jn.useState(e), o = Jn.useRef(r), i = Jn.useRef(t);
  return jCe(() => {
    i.current = t;
  }, [t]), Jn.useEffect(() => {
    o.current !== r && (i.current?.(r), o.current = r);
  }, [r, o]), [r, n, i];
}
a(BCe, "useUncontrolledState");
function $Ce(e) {
  return typeof e == "function";
}
a($Ce, "isFunction");
var hyt = Symbol("RADIX:SYNC_STATE");

// ../node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
var ht = N(H(), 1);

// ../node_modules/@radix-ui/react-dismissable-layer/node_modules/@radix-ui/primitive/dist/index.mjs
function dy(e, t, { checkForDefaultPrevented: r = !0 } = {}) {
  return /* @__PURE__ */ a(function(o) {
    if (e?.(o), r === !1 || !o.defaultPrevented)
      return t?.(o);
  }, "handleEvent");
}
a(dy, "composeEventHandlers");

// ../node_modules/@radix-ui/react-primitive/dist/index.mjs
var wz = N(H(), 1), Ez = N(za(), 1);

// ../node_modules/@radix-ui/react-slot/dist/index.mjs
var Bt = N(H(), 1);
var fy = N(Rn(), 1);
// @__NO_SIDE_EFFECTS__
function kp(e) {
  let t = /* @__PURE__ */ HCe(e), r = Bt.forwardRef((n, o) => {
    let { children: i, ...s } = n, l = Bt.Children.toArray(i), u = l.find(UCe);
    if (u) {
      let c = u.props.children, d = l.map((f) => f === u ? Bt.Children.count(c) > 1 ? Bt.Children.only(null) : Bt.isValidElement(c) ? c.props.
      children : null : f);
      return /* @__PURE__ */ (0, fy.jsx)(t, { ...s, ref: o, children: Bt.isValidElement(c) ? Bt.cloneElement(c, void 0, d) : null });
    }
    return /* @__PURE__ */ (0, fy.jsx)(t, { ...s, ref: o, children: i });
  });
  return r.displayName = `${e}.Slot`, r;
}
a(kp, "createSlot");
var bz = /* @__PURE__ */ kp("Slot");
// @__NO_SIDE_EFFECTS__
function HCe(e) {
  let t = Bt.forwardRef((r, n) => {
    let { children: o, ...i } = r;
    if (Bt.isValidElement(o)) {
      let s = WCe(o), l = VCe(i, o.props);
      return o.type !== Bt.Fragment && (l.ref = n ? wT(n, s) : s), Bt.cloneElement(o, l);
    }
    return Bt.Children.count(o) > 1 ? Bt.Children.only(null) : null;
  });
  return t.displayName = `${e}.SlotClone`, t;
}
a(HCe, "createSlotClone");
var zCe = Symbol("radix.slottable");
function UCe(e) {
  return Bt.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === zCe;
}
a(UCe, "isSlottable");
function VCe(e, t) {
  let r = { ...t };
  for (let n in t) {
    let o = e[n], i = t[n];
    /^on[A-Z]/.test(n) ? o && i ? r[n] = (...l) => {
      i(...l), o(...l);
    } : o && (r[n] = o) : n === "style" ? r[n] = { ...o, ...i } : n === "className" && (r[n] = [o, i].filter(Boolean).join(" "));
  }
  return { ...e, ...r };
}
a(VCe, "mergeProps");
function WCe(e) {
  let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning;
  return r ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning, r ? e.props.ref :
  e.props.ref || e.ref);
}
a(WCe, "getElementRef");

// ../node_modules/@radix-ui/react-primitive/dist/index.mjs
var Rz = N(Rn(), 1);
var GCe = [
  "a",
  "button",
  "div",
  "form",
  "h2",
  "h3",
  "img",
  "input",
  "label",
  "li",
  "nav",
  "ol",
  "p",
  "select",
  "span",
  "svg",
  "ul"
], Sn = GCe.reduce((e, t) => {
  let r = kp(`Primitive.${t}`), n = wz.forwardRef((o, i) => {
    let { asChild: s, ...l } = o, u = s ? r : t;
    return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ (0, Rz.jsx)(u, { ...l, ref: i });
  });
  return n.displayName = `Primitive.${t}`, { ...e, [t]: n };
}, {});
function xz(e, t) {
  e && Ez.flushSync(() => e.dispatchEvent(t));
}
a(xz, "dispatchDiscreteCustomEvent");

// ../node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
var jc = N(H(), 1);
function es(e) {
  let t = jc.useRef(e);
  return jc.useEffect(() => {
    t.current = e;
  }), jc.useMemo(() => (...r) => t.current?.(...r), []);
}
a(es, "useCallbackRef");

// ../node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs
var Sz = N(H(), 1);
function Cz(e, t = globalThis?.document) {
  let r = es(e);
  Sz.useEffect(() => {
    let n = /* @__PURE__ */ a((o) => {
      o.key === "Escape" && r(o);
    }, "handleKeyDown");
    return t.addEventListener("keydown", n, { capture: !0 }), () => t.removeEventListener("keydown", n, { capture: !0 });
  }, [r, t]);
}
a(Cz, "useEscapeKeydown");

// ../node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
var ST = N(Rn(), 1);
var YCe = "DismissableLayer", xT = "dismissableLayer.update", KCe = "dismissableLayer.pointerDownOutside", XCe = "dismissableLayer.focusOuts\
ide", _z, Tz = ht.createContext({
  layers: /* @__PURE__ */ new Set(),
  layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
  branches: /* @__PURE__ */ new Set()
}), CT = ht.forwardRef(
  (e, t) => {
    let {
      disableOutsidePointerEvents: r = !1,
      onEscapeKeyDown: n,
      onPointerDownOutside: o,
      onFocusOutside: i,
      onInteractOutside: s,
      onDismiss: l,
      ...u
    } = e, c = ht.useContext(Tz), [d, f] = ht.useState(null), p = d?.ownerDocument ?? globalThis?.document, [, m] = ht.useState({}), v = Mo(
    t, (_) => f(_)), y = Array.from(c.layers), [b] = [...c.layersWithOutsidePointerEventsDisabled].slice(-1), g = y.indexOf(b), w = d ? y.indexOf(
    d) : -1, E = c.layersWithOutsidePointerEventsDisabled.size > 0, x = w >= g, S = ZCe((_) => {
      let A = _.target, O = [...c.branches].some((q) => q.contains(A));
      !x || O || (o?.(_), s?.(_), _.defaultPrevented || l?.());
    }, p), C = e_e((_) => {
      let A = _.target;
      [...c.branches].some((q) => q.contains(A)) || (i?.(_), s?.(_), _.defaultPrevented || l?.());
    }, p);
    return Cz((_) => {
      w === c.layers.size - 1 && (n?.(_), !_.defaultPrevented && l && (_.preventDefault(), l()));
    }, p), ht.useEffect(() => {
      if (d)
        return r && (c.layersWithOutsidePointerEventsDisabled.size === 0 && (_z = p.body.style.pointerEvents, p.body.style.pointerEvents = "\
none"), c.layersWithOutsidePointerEventsDisabled.add(d)), c.layers.add(d), Pz(), () => {
          r && c.layersWithOutsidePointerEventsDisabled.size === 1 && (p.body.style.pointerEvents = _z);
        };
    }, [d, p, r, c]), ht.useEffect(() => () => {
      d && (c.layers.delete(d), c.layersWithOutsidePointerEventsDisabled.delete(d), Pz());
    }, [d, c]), ht.useEffect(() => {
      let _ = /* @__PURE__ */ a(() => m({}), "handleUpdate");
      return document.addEventListener(xT, _), () => document.removeEventListener(xT, _);
    }, []), /* @__PURE__ */ (0, ST.jsx)(
      Sn.div,
      {
        ...u,
        ref: v,
        style: {
          pointerEvents: E ? x ? "auto" : "none" : void 0,
          ...e.style
        },
        onFocusCapture: dy(e.onFocusCapture, C.onFocusCapture),
        onBlurCapture: dy(e.onBlurCapture, C.onBlurCapture),
        onPointerDownCapture: dy(
          e.onPointerDownCapture,
          S.onPointerDownCapture
        )
      }
    );
  }
);
CT.displayName = YCe;
var JCe = "DismissableLayerBranch", QCe = ht.forwardRef((e, t) => {
  let r = ht.useContext(Tz), n = ht.useRef(null), o = Mo(t, n);
  return ht.useEffect(() => {
    let i = n.current;
    if (i)
      return r.branches.add(i), () => {
        r.branches.delete(i);
      };
  }, [r.branches]), /* @__PURE__ */ (0, ST.jsx)(Sn.div, { ...e, ref: o });
});
QCe.displayName = JCe;
function ZCe(e, t = globalThis?.document) {
  let r = es(e), n = ht.useRef(!1), o = ht.useRef(() => {
  });
  return ht.useEffect(() => {
    let i = /* @__PURE__ */ a((l) => {
      if (l.target && !n.current) {
        let c = /* @__PURE__ */ a(function() {
          Az(
            KCe,
            r,
            d,
            { discrete: !0 }
          );
        }, "handleAndDispatchPointerDownOutsideEvent2");
        var u = c;
        let d = { originalEvent: l };
        l.pointerType === "touch" ? (t.removeEventListener("click", o.current), o.current = c, t.addEventListener("click", o.current, { once: !0 })) :
        c();
      } else
        t.removeEventListener("click", o.current);
      n.current = !1;
    }, "handlePointerDown"), s = window.setTimeout(() => {
      t.addEventListener("pointerdown", i);
    }, 0);
    return () => {
      window.clearTimeout(s), t.removeEventListener("pointerdown", i), t.removeEventListener("click", o.current);
    };
  }, [t, r]), {
    // ensures we check React component tree (not just DOM tree)
    onPointerDownCapture: /* @__PURE__ */ a(() => n.current = !0, "onPointerDownCapture")
  };
}
a(ZCe, "usePointerDownOutside");
function e_e(e, t = globalThis?.document) {
  let r = es(e), n = ht.useRef(!1);
  return ht.useEffect(() => {
    let o = /* @__PURE__ */ a((i) => {
      i.target && !n.current && Az(XCe, r, { originalEvent: i }, {
        discrete: !1
      });
    }, "handleFocus");
    return t.addEventListener("focusin", o), () => t.removeEventListener("focusin", o);
  }, [t, r]), {
    onFocusCapture: /* @__PURE__ */ a(() => n.current = !0, "onFocusCapture"),
    onBlurCapture: /* @__PURE__ */ a(() => n.current = !1, "onBlurCapture")
  };
}
a(e_e, "useFocusOutside");
function Pz() {
  let e = new CustomEvent(xT);
  document.dispatchEvent(e);
}
a(Pz, "dispatchUpdate");
function Az(e, t, r, { discrete: n }) {
  let o = r.originalEvent.target, i = new CustomEvent(e, { bubbles: !1, cancelable: !0, detail: r });
  t && o.addEventListener(e, t, { once: !0 }), n ? xz(o, i) : o.dispatchEvent(i);
}
a(Az, "handleAndDispatchCustomEvent");

// ../node_modules/@radix-ui/react-focus-scope/dist/index.mjs
var Qn = N(H(), 1);
var Lz = N(Rn(), 1);
var _T = "focusScope.autoFocusOnMount", PT = "focusScope.autoFocusOnUnmount", Oz = { bubbles: !1, cancelable: !0 }, t_e = "FocusScope", TT = Qn.forwardRef(
(e, t) => {
  let {
    loop: r = !1,
    trapped: n = !1,
    onMountAutoFocus: o,
    onUnmountAutoFocus: i,
    ...s
  } = e, [l, u] = Qn.useState(null), c = es(o), d = es(i), f = Qn.useRef(null), p = Mo(t, (y) => u(y)), m = Qn.useRef({
    paused: !1,
    pause() {
      this.paused = !0;
    },
    resume() {
      this.paused = !1;
    }
  }).current;
  Qn.useEffect(() => {
    if (n) {
      let w = /* @__PURE__ */ a(function(C) {
        if (m.paused || !l) return;
        let _ = C.target;
        l.contains(_) ? f.current = _ : ts(f.current, { select: !0 });
      }, "handleFocusIn2"), E = /* @__PURE__ */ a(function(C) {
        if (m.paused || !l) return;
        let _ = C.relatedTarget;
        _ !== null && (l.contains(_) || ts(f.current, { select: !0 }));
      }, "handleFocusOut2"), x = /* @__PURE__ */ a(function(C) {
        if (document.activeElement === document.body)
          for (let A of C)
            A.removedNodes.length > 0 && ts(l);
      }, "handleMutations2");
      var y = w, b = E, g = x;
      document.addEventListener("focusin", w), document.addEventListener("focusout", E);
      let S = new MutationObserver(x);
      return l && S.observe(l, { childList: !0, subtree: !0 }), () => {
        document.removeEventListener("focusin", w), document.removeEventListener("focusout", E), S.disconnect();
      };
    }
  }, [n, l, m.paused]), Qn.useEffect(() => {
    if (l) {
      Mz.add(m);
      let y = document.activeElement;
      if (!l.contains(y)) {
        let g = new CustomEvent(_T, Oz);
        l.addEventListener(_T, c), l.dispatchEvent(g), g.defaultPrevented || (r_e(s_e(kz(l)), { select: !0 }), document.activeElement === y &&
        ts(l));
      }
      return () => {
        l.removeEventListener(_T, c), setTimeout(() => {
          let g = new CustomEvent(PT, Oz);
          l.addEventListener(PT, d), l.dispatchEvent(g), g.defaultPrevented || ts(y ?? document.body, { select: !0 }), l.removeEventListener(
          PT, d), Mz.remove(m);
        }, 0);
      };
    }
  }, [l, c, d, m]);
  let v = Qn.useCallback(
    (y) => {
      if (!r && !n || m.paused) return;
      let b = y.key === "Tab" && !y.altKey && !y.ctrlKey && !y.metaKey, g = document.activeElement;
      if (b && g) {
        let w = y.currentTarget, [E, x] = n_e(w);
        E && x ? !y.shiftKey && g === x ? (y.preventDefault(), r && ts(E, { select: !0 })) : y.shiftKey && g === E && (y.preventDefault(), r &&
        ts(x, { select: !0 })) : g === w && y.preventDefault();
      }
    },
    [r, n, m.paused]
  );
  return /* @__PURE__ */ (0, Lz.jsx)(Sn.div, { tabIndex: -1, ...s, ref: p, onKeyDown: v });
});
TT.displayName = t_e;
function r_e(e, { select: t = !1 } = {}) {
  let r = document.activeElement;
  for (let n of e)
    if (ts(n, { select: t }), document.activeElement !== r) return;
}
a(r_e, "focusFirst");
function n_e(e) {
  let t = kz(e), r = Iz(t, e), n = Iz(t.reverse(), e);
  return [r, n];
}
a(n_e, "getTabbableEdges");
function kz(e) {
  let t = [], r = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, {
    acceptNode: /* @__PURE__ */ a((n) => {
      let o = n.tagName === "INPUT" && n.type === "hidden";
      return n.disabled || n.hidden || o ? NodeFilter.FILTER_SKIP : n.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
    }, "acceptNode")
  });
  for (; r.nextNode(); ) t.push(r.currentNode);
  return t;
}
a(kz, "getTabbableCandidates");
function Iz(e, t) {
  for (let r of e)
    if (!o_e(r, { upTo: t })) return r;
}
a(Iz, "findVisible");
function o_e(e, { upTo: t }) {
  if (getComputedStyle(e).visibility === "hidden") return !0;
  for (; e; ) {
    if (t !== void 0 && e === t) return !1;
    if (getComputedStyle(e).display === "none") return !0;
    e = e.parentElement;
  }
  return !1;
}
a(o_e, "isHidden");
function a_e(e) {
  return e instanceof HTMLInputElement && "select" in e;
}
a(a_e, "isSelectableInput");
function ts(e, { select: t = !1 } = {}) {
  if (e && e.focus) {
    let r = document.activeElement;
    e.focus({ preventScroll: !0 }), e !== r && a_e(e) && t && e.select();
  }
}
a(ts, "focus");
var Mz = i_e();
function i_e() {
  let e = [];
  return {
    add(t) {
      let r = e[0];
      t !== r && r?.pause(), e = Nz(e, t), e.unshift(t);
    },
    remove(t) {
      e = Nz(e, t), e[0]?.resume();
    }
  };
}
a(i_e, "createFocusScopesStack");
function Nz(e, t) {
  let r = [...e], n = r.indexOf(t);
  return n !== -1 && r.splice(n, 1), r;
}
a(Nz, "arrayRemove");
function s_e(e) {
  return e.filter((t) => t.tagName !== "A");
}
a(s_e, "removeLinks");

// ../node_modules/@radix-ui/react-portal/dist/index.mjs
var py = N(H(), 1), qz = N(za(), 1);
var Dz = N(Rn(), 1), l_e = "Portal", AT = py.forwardRef((e, t) => {
  let { container: r, ...n } = e, [o, i] = py.useState(!1);
  Ka(() => i(!0), []);
  let s = r || o && globalThis?.document?.body;
  return s ? qz.default.createPortal(/* @__PURE__ */ (0, Dz.jsx)(Sn.div, { ...n, ref: t }), s) : null;
});
AT.displayName = l_e;

// ../node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-presence/dist/index.mjs
var an = N(H(), 1);
var Fz = N(H(), 1);
function u_e(e, t) {
  return Fz.useReducer((r, n) => t[r][n] ?? r, e);
}
a(u_e, "useStateMachine");
var qp = /* @__PURE__ */ a((e) => {
  let { present: t, children: r } = e, n = c_e(t), o = typeof r == "function" ? r({ present: n.isPresent }) : an.Children.only(r), i = Mo(n.
  ref, d_e(o));
  return typeof r == "function" || n.isPresent ? an.cloneElement(o, { ref: i }) : null;
}, "Presence");
qp.displayName = "Presence";
function c_e(e) {
  let [t, r] = an.useState(), n = an.useRef(null), o = an.useRef(e), i = an.useRef("none"), s = e ? "mounted" : "unmounted", [l, u] = u_e(s,
  {
    mounted: {
      UNMOUNT: "unmounted",
      ANIMATION_OUT: "unmountSuspended"
    },
    unmountSuspended: {
      MOUNT: "mounted",
      ANIMATION_END: "unmounted"
    },
    unmounted: {
      MOUNT: "mounted"
    }
  });
  return an.useEffect(() => {
    let c = my(n.current);
    i.current = l === "mounted" ? c : "none";
  }, [l]), Ka(() => {
    let c = n.current, d = o.current;
    if (d !== e) {
      let p = i.current, m = my(c);
      e ? u("MOUNT") : m === "none" || c?.display === "none" ? u("UNMOUNT") : u(d && p !== m ? "ANIMATION_OUT" : "UNMOUNT"), o.current = e;
    }
  }, [e, u]), Ka(() => {
    if (t) {
      let c, d = t.ownerDocument.defaultView ?? window, f = /* @__PURE__ */ a((m) => {
        let y = my(n.current).includes(m.animationName);
        if (m.target === t && y && (u("ANIMATION_END"), !o.current)) {
          let b = t.style.animationFillMode;
          t.style.animationFillMode = "forwards", c = d.setTimeout(() => {
            t.style.animationFillMode === "forwards" && (t.style.animationFillMode = b);
          });
        }
      }, "handleAnimationEnd"), p = /* @__PURE__ */ a((m) => {
        m.target === t && (i.current = my(n.current));
      }, "handleAnimationStart");
      return t.addEventListener("animationstart", p), t.addEventListener("animationcancel", f), t.addEventListener("animationend", f), () => {
        d.clearTimeout(c), t.removeEventListener("animationstart", p), t.removeEventListener("animationcancel", f), t.removeEventListener("a\
nimationend", f);
      };
    } else
      u("ANIMATION_END");
  }, [t, u]), {
    isPresent: ["mounted", "unmountSuspended"].includes(l),
    ref: an.useCallback((c) => {
      n.current = c ? getComputedStyle(c) : null, r(c);
    }, [])
  };
}
a(c_e, "usePresence");
function my(e) {
  return e?.animationName || "none";
}
a(my, "getAnimationName");
function d_e(e) {
  let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning;
  return r ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning, r ? e.props.ref :
  e.props.ref || e.ref);
}
a(d_e, "getElementRef");

// ../node_modules/@radix-ui/react-focus-guards/dist/index.mjs
var Bz = N(H(), 1);
var OT = 0;
function $z() {
  Bz.useEffect(() => {
    let e = document.querySelectorAll("[data-radix-focus-guard]");
    return document.body.insertAdjacentElement("afterbegin", e[0] ?? jz()), document.body.insertAdjacentElement("beforeend", e[1] ?? jz()), OT++,
    () => {
      OT === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((t) => t.remove()), OT--;
    };
  }, []);
}
a($z, "useFocusGuards");
function jz() {
  let e = document.createElement("span");
  return e.setAttribute("data-radix-focus-guard", ""), e.tabIndex = 0, e.style.outline = "none", e.style.opacity = "0", e.style.position = "\
fixed", e.style.pointerEvents = "none", e;
}
a(jz, "createFocusGuard");

// ../node_modules/tslib/tslib.es6.mjs
var sn = /* @__PURE__ */ a(function() {
  return sn = Object.assign || /* @__PURE__ */ a(function(t) {
    for (var r, n = 1, o = arguments.length; n < o; n++) {
      r = arguments[n];
      for (var i in r) Object.prototype.hasOwnProperty.call(r, i) && (t[i] = r[i]);
    }
    return t;
  }, "__assign"), sn.apply(this, arguments);
}, "__assign");
function hy(e, t) {
  var r = {};
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
    for (var o = 0, n = Object.getOwnPropertySymbols(e); o < n.length; o++)
      t.indexOf(n[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[o]) && (r[n[o]] = e[n[o]]);
  return r;
}
a(hy, "__rest");
function Hz(e, t, r) {
  if (r || arguments.length === 2) for (var n = 0, o = t.length, i; n < o; n++)
    (i || !(n in t)) && (i || (i = Array.prototype.slice.call(t, 0, n)), i[n] = t[n]);
  return e.concat(i || Array.prototype.slice.call(t));
}
a(Hz, "__spreadArray");

// ../node_modules/react-remove-scroll/dist/es2015/Combination.js
var wy = N(H());

// ../node_modules/react-remove-scroll/dist/es2015/UI.js
var Sr = N(H());

// ../node_modules/react-remove-scroll-bar/dist/es2015/constants.js
var xl = "right-scroll-bar-position", Sl = "width-before-scroll-bar", IT = "with-scroll-bars-hidden", MT = "--removed-body-scroll-bar-size";

// ../node_modules/use-callback-ref/dist/es2015/assignRef.js
function gy(e, t) {
  return typeof e == "function" ? e(t) : e && (e.current = t), e;
}
a(gy, "assignRef");

// ../node_modules/use-callback-ref/dist/es2015/useRef.js
var zz = N(H());
function Uz(e, t) {
  var r = (0, zz.useState)(function() {
    return {
      // value
      value: e,
      // last callback
      callback: t,
      // "memoized" public interface
      facade: {
        get current() {
          return r.value;
        },
        set current(n) {
          var o = r.value;
          o !== n && (r.value = n, r.callback(n, o));
        }
      }
    };
  })[0];
  return r.callback = t, r.facade;
}
a(Uz, "useCallbackRef");

// ../node_modules/use-callback-ref/dist/es2015/useMergeRef.js
var yy = N(H());
var f_e = typeof window < "u" ? yy.useLayoutEffect : yy.useEffect, Vz = /* @__PURE__ */ new WeakMap();
function NT(e, t) {
  var r = Uz(t || null, function(n) {
    return e.forEach(function(o) {
      return gy(o, n);
    });
  });
  return f_e(function() {
    var n = Vz.get(r);
    if (n) {
      var o = new Set(n), i = new Set(e), s = r.current;
      o.forEach(function(l) {
        i.has(l) || gy(l, null);
      }), i.forEach(function(l) {
        o.has(l) || gy(l, s);
      });
    }
    Vz.set(r, e);
  }, [e]), r;
}
a(NT, "useMergeRefs");

// ../node_modules/use-sidecar/dist/es2015/medium.js
function p_e(e) {
  return e;
}
a(p_e, "ItoI");
function m_e(e, t) {
  t === void 0 && (t = p_e);
  var r = [], n = !1, o = {
    read: /* @__PURE__ */ a(function() {
      if (n)
        throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");
      return r.length ? r[r.length - 1] : e;
    }, "read"),
    useMedium: /* @__PURE__ */ a(function(i) {
      var s = t(i, n);
      return r.push(s), function() {
        r = r.filter(function(l) {
          return l !== s;
        });
      };
    }, "useMedium"),
    assignSyncMedium: /* @__PURE__ */ a(function(i) {
      for (n = !0; r.length; ) {
        var s = r;
        r = [], s.forEach(i);
      }
      r = {
        push: /* @__PURE__ */ a(function(l) {
          return i(l);
        }, "push"),
        filter: /* @__PURE__ */ a(function() {
          return r;
        }, "filter")
      };
    }, "assignSyncMedium"),
    assignMedium: /* @__PURE__ */ a(function(i) {
      n = !0;
      var s = [];
      if (r.length) {
        var l = r;
        r = [], l.forEach(i), s = r;
      }
      var u = /* @__PURE__ */ a(function() {
        var d = s;
        s = [], d.forEach(i);
      }, "executeQueue"), c = /* @__PURE__ */ a(function() {
        return Promise.resolve().then(u);
      }, "cycle");
      c(), r = {
        push: /* @__PURE__ */ a(function(d) {
          s.push(d), c();
        }, "push"),
        filter: /* @__PURE__ */ a(function(d) {
          return s = s.filter(d), r;
        }, "filter")
      };
    }, "assignMedium")
  };
  return o;
}
a(m_e, "innerCreateMedium");
function LT(e) {
  e === void 0 && (e = {});
  var t = m_e(null);
  return t.options = sn({ async: !0, ssr: !1 }, e), t;
}
a(LT, "createSidecarMedium");

// ../node_modules/use-sidecar/dist/es2015/exports.js
var Wz = N(H());
var Gz = /* @__PURE__ */ a(function(e) {
  var t = e.sideCar, r = hy(e, ["sideCar"]);
  if (!t)
    throw new Error("Sidecar: please provide `sideCar` property to import the right car");
  var n = t.read();
  if (!n)
    throw new Error("Sidecar medium not found");
  return Wz.createElement(n, sn({}, r));
}, "SideCar");
Gz.isSideCarExport = !0;
function kT(e, t) {
  return e.useMedium(t), Gz;
}
a(kT, "exportSidecar");

// ../node_modules/react-remove-scroll/dist/es2015/medium.js
var vy = LT();

// ../node_modules/react-remove-scroll/dist/es2015/UI.js
var qT = /* @__PURE__ */ a(function() {
}, "nothing"), Dp = Sr.forwardRef(function(e, t) {
  var r = Sr.useRef(null), n = Sr.useState({
    onScrollCapture: qT,
    onWheelCapture: qT,
    onTouchMoveCapture: qT
  }), o = n[0], i = n[1], s = e.forwardProps, l = e.children, u = e.className, c = e.removeScrollBar, d = e.enabled, f = e.shards, p = e.sideCar,
  m = e.noIsolation, v = e.inert, y = e.allowPinchZoom, b = e.as, g = b === void 0 ? "div" : b, w = e.gapMode, E = hy(e, ["forwardProps", "c\
hildren", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), x = p,
  S = NT([r, t]), C = sn(sn({}, E), o);
  return Sr.createElement(
    Sr.Fragment,
    null,
    d && Sr.createElement(x, { sideCar: vy, removeScrollBar: c, shards: f, noIsolation: m, inert: v, setCallbacks: i, allowPinchZoom: !!y, lockRef: r,
    gapMode: w }),
    s ? Sr.cloneElement(Sr.Children.only(l), sn(sn({}, C), { ref: S })) : Sr.createElement(g, sn({}, C, { className: u, ref: S }), l)
  );
});
Dp.defaultProps = {
  enabled: !0,
  removeScrollBar: !0,
  inert: !1
};
Dp.classNames = {
  fullWidth: Sl,
  zeroRight: xl
};

// ../node_modules/react-remove-scroll/dist/es2015/SideEffect.js
var tt = N(H());

// ../node_modules/react-remove-scroll-bar/dist/es2015/component.js
var $c = N(H());

// ../node_modules/react-style-singleton/dist/es2015/hook.js
var Xz = N(H());

// ../node_modules/get-nonce/dist/es2015/index.js
var Yz;
var Kz = /* @__PURE__ */ a(function() {
  if (Yz)
    return Yz;
  if (typeof __webpack_nonce__ < "u")
    return __webpack_nonce__;
}, "getNonce");

// ../node_modules/react-style-singleton/dist/es2015/singleton.js
function h_e() {
  if (!document)
    return null;
  var e = document.createElement("style");
  e.type = "text/css";
  var t = Kz();
  return t && e.setAttribute("nonce", t), e;
}
a(h_e, "makeStyleTag");
function g_e(e, t) {
  e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t));
}
a(g_e, "injectStyles");
function y_e(e) {
  var t = document.head || document.getElementsByTagName("head")[0];
  t.appendChild(e);
}
a(y_e, "insertStyleTag");
var DT = /* @__PURE__ */ a(function() {
  var e = 0, t = null;
  return {
    add: /* @__PURE__ */ a(function(r) {
      e == 0 && (t = h_e()) && (g_e(t, r), y_e(t)), e++;
    }, "add"),
    remove: /* @__PURE__ */ a(function() {
      e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null);
    }, "remove")
  };
}, "stylesheetSingleton");

// ../node_modules/react-style-singleton/dist/es2015/hook.js
var FT = /* @__PURE__ */ a(function() {
  var e = DT();
  return function(t, r) {
    Xz.useEffect(function() {
      return e.add(t), function() {
        e.remove();
      };
    }, [t && r]);
  };
}, "styleHookSingleton");

// ../node_modules/react-style-singleton/dist/es2015/component.js
var Fp = /* @__PURE__ */ a(function() {
  var e = FT(), t = /* @__PURE__ */ a(function(r) {
    var n = r.styles, o = r.dynamic;
    return e(n, o), null;
  }, "Sheet");
  return t;
}, "styleSingleton");

// ../node_modules/react-remove-scroll-bar/dist/es2015/utils.js
var v_e = {
  left: 0,
  top: 0,
  right: 0,
  gap: 0
}, jT = /* @__PURE__ */ a(function(e) {
  return parseInt(e || "", 10) || 0;
}, "parse"), b_e = /* @__PURE__ */ a(function(e) {
  var t = window.getComputedStyle(document.body), r = t[e === "padding" ? "paddingLeft" : "marginLeft"], n = t[e === "padding" ? "paddingTop" :
  "marginTop"], o = t[e === "padding" ? "paddingRight" : "marginRight"];
  return [jT(r), jT(n), jT(o)];
}, "getOffset"), BT = /* @__PURE__ */ a(function(e) {
  if (e === void 0 && (e = "margin"), typeof window > "u")
    return v_e;
  var t = b_e(e), r = document.documentElement.clientWidth, n = window.innerWidth;
  return {
    left: t[0],
    top: t[1],
    right: t[2],
    gap: Math.max(0, n - r + t[2] - t[0])
  };
}, "getGapWidth");

// ../node_modules/react-remove-scroll-bar/dist/es2015/component.js
var w_e = Fp(), Bc = "data-scroll-locked", E_e = /* @__PURE__ */ a(function(e, t, r, n) {
  var o = e.left, i = e.top, s = e.right, l = e.gap;
  return r === void 0 && (r = "margin"), `
  .`.concat(IT, ` {
   overflow: hidden `).concat(n, `;
   padding-right: `).concat(l, "px ").concat(n, `;
  }
  body[`).concat(Bc, `] {
    overflow: hidden `).concat(n, `;
    overscroll-behavior: contain;
    `).concat([
    t && "position: relative ".concat(n, ";"),
    r === "margin" && `
    padding-left: `.concat(o, `px;
    padding-top: `).concat(i, `px;
    padding-right: `).concat(s, `px;
    margin-left:0;
    margin-top:0;
    margin-right: `).concat(l, "px ").concat(n, `;
    `),
    r === "padding" && "padding-right: ".concat(l, "px ").concat(n, ";")
  ].filter(Boolean).join(""), `
  }
  
  .`).concat(xl, ` {
    right: `).concat(l, "px ").concat(n, `;
  }
  
  .`).concat(Sl, ` {
    margin-right: `).concat(l, "px ").concat(n, `;
  }
  
  .`).concat(xl, " .").concat(xl, ` {
    right: 0 `).concat(n, `;
  }
  
  .`).concat(Sl, " .").concat(Sl, ` {
    margin-right: 0 `).concat(n, `;
  }
  
  body[`).concat(Bc, `] {
    `).concat(MT, ": ").concat(l, `px;
  }
`);
}, "getStyles"), Jz = /* @__PURE__ */ a(function() {
  var e = parseInt(document.body.getAttribute(Bc) || "0", 10);
  return isFinite(e) ? e : 0;
}, "getCurrentUseCounter"), R_e = /* @__PURE__ */ a(function() {
  $c.useEffect(function() {
    return document.body.setAttribute(Bc, (Jz() + 1).toString()), function() {
      var e = Jz() - 1;
      e <= 0 ? document.body.removeAttribute(Bc) : document.body.setAttribute(Bc, e.toString());
    };
  }, []);
}, "useLockAttribute"), $T = /* @__PURE__ */ a(function(e) {
  var t = e.noRelative, r = e.noImportant, n = e.gapMode, o = n === void 0 ? "margin" : n;
  R_e();
  var i = $c.useMemo(function() {
    return BT(o);
  }, [o]);
  return $c.createElement(w_e, { styles: E_e(i, !t, o, r ? "" : "!important") });
}, "RemoveScrollBar");

// ../node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js
var HT = !1;
if (typeof window < "u")
  try {
    jp = Object.defineProperty({}, "passive", {
      get: /* @__PURE__ */ a(function() {
        return HT = !0, !0;
      }, "get")
    }), window.addEventListener("test", jp, jp), window.removeEventListener("test", jp, jp);
  } catch {
    HT = !1;
  }
var jp, Cl = HT ? { passive: !1 } : !1;

// ../node_modules/react-remove-scroll/dist/es2015/handleScroll.js
var x_e = /* @__PURE__ */ a(function(e) {
  return e.tagName === "TEXTAREA";
}, "alwaysContainsScroll"), Qz = /* @__PURE__ */ a(function(e, t) {
  if (!(e instanceof Element))
    return !1;
  var r = window.getComputedStyle(e);
  return (
    // not-not-scrollable
    r[t] !== "hidden" && // contains scroll inside self
    !(r.overflowY === r.overflowX && !x_e(e) && r[t] === "visible")
  );
}, "elementCanBeScrolled"), S_e = /* @__PURE__ */ a(function(e) {
  return Qz(e, "overflowY");
}, "elementCouldBeVScrolled"), C_e = /* @__PURE__ */ a(function(e) {
  return Qz(e, "overflowX");
}, "elementCouldBeHScrolled"), zT = /* @__PURE__ */ a(function(e, t) {
  var r = t.ownerDocument, n = t;
  do {
    typeof ShadowRoot < "u" && n instanceof ShadowRoot && (n = n.host);
    var o = Zz(e, n);
    if (o) {
      var i = eU(e, n), s = i[1], l = i[2];
      if (s > l)
        return !0;
    }
    n = n.parentNode;
  } while (n && n !== r.body);
  return !1;
}, "locationCouldBeScrolled"), __e = /* @__PURE__ */ a(function(e) {
  var t = e.scrollTop, r = e.scrollHeight, n = e.clientHeight;
  return [
    t,
    r,
    n
  ];
}, "getVScrollVariables"), P_e = /* @__PURE__ */ a(function(e) {
  var t = e.scrollLeft, r = e.scrollWidth, n = e.clientWidth;
  return [
    t,
    r,
    n
  ];
}, "getHScrollVariables"), Zz = /* @__PURE__ */ a(function(e, t) {
  return e === "v" ? S_e(t) : C_e(t);
}, "elementCouldBeScrolled"), eU = /* @__PURE__ */ a(function(e, t) {
  return e === "v" ? __e(t) : P_e(t);
}, "getScrollVariables"), T_e = /* @__PURE__ */ a(function(e, t) {
  return e === "h" && t === "rtl" ? -1 : 1;
}, "getDirectionFactor"), tU = /* @__PURE__ */ a(function(e, t, r, n, o) {
  var i = T_e(e, window.getComputedStyle(t).direction), s = i * n, l = r.target, u = t.contains(l), c = !1, d = s > 0, f = 0, p = 0;
  do {
    var m = eU(e, l), v = m[0], y = m[1], b = m[2], g = y - b - i * v;
    (v || g) && Zz(e, l) && (f += g, p += v), l instanceof ShadowRoot ? l = l.host : l = l.parentNode;
  } while (
    // portaled content
    !u && l !== document.body || // self content
    u && (t.contains(l) || t === l)
  );
  return (d && (o && Math.abs(f) < 1 || !o && s > f) || !d && (o && Math.abs(p) < 1 || !o && -s > p)) && (c = !0), c;
}, "handleScroll");

// ../node_modules/react-remove-scroll/dist/es2015/SideEffect.js
var by = /* @__PURE__ */ a(function(e) {
  return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
}, "getTouchXY"), rU = /* @__PURE__ */ a(function(e) {
  return [e.deltaX, e.deltaY];
}, "getDeltaXY"), nU = /* @__PURE__ */ a(function(e) {
  return e && "current" in e ? e.current : e;
}, "extractRef"), A_e = /* @__PURE__ */ a(function(e, t) {
  return e[0] === t[0] && e[1] === t[1];
}, "deltaCompare"), O_e = /* @__PURE__ */ a(function(e) {
  return `
  .block-interactivity-`.concat(e, ` {pointer-events: none;}
  .allow-interactivity-`).concat(e, ` {pointer-events: all;}
`);
}, "generateStyle"), I_e = 0, Hc = [];
function oU(e) {
  var t = tt.useRef([]), r = tt.useRef([0, 0]), n = tt.useRef(), o = tt.useState(I_e++)[0], i = tt.useState(Fp)[0], s = tt.useRef(e);
  tt.useEffect(function() {
    s.current = e;
  }, [e]), tt.useEffect(function() {
    if (e.inert) {
      document.body.classList.add("block-interactivity-".concat(o));
      var y = Hz([e.lockRef.current], (e.shards || []).map(nU), !0).filter(Boolean);
      return y.forEach(function(b) {
        return b.classList.add("allow-interactivity-".concat(o));
      }), function() {
        document.body.classList.remove("block-interactivity-".concat(o)), y.forEach(function(b) {
          return b.classList.remove("allow-interactivity-".concat(o));
        });
      };
    }
  }, [e.inert, e.lockRef.current, e.shards]);
  var l = tt.useCallback(function(y, b) {
    if ("touches" in y && y.touches.length === 2 || y.type === "wheel" && y.ctrlKey)
      return !s.current.allowPinchZoom;
    var g = by(y), w = r.current, E = "deltaX" in y ? y.deltaX : w[0] - g[0], x = "deltaY" in y ? y.deltaY : w[1] - g[1], S, C = y.target, _ = Math.
    abs(E) > Math.abs(x) ? "h" : "v";
    if ("touches" in y && _ === "h" && C.type === "range")
      return !1;
    var A = zT(_, C);
    if (!A)
      return !0;
    if (A ? S = _ : (S = _ === "v" ? "h" : "v", A = zT(_, C)), !A)
      return !1;
    if (!n.current && "changedTouches" in y && (E || x) && (n.current = S), !S)
      return !0;
    var O = n.current || S;
    return tU(O, b, y, O === "h" ? E : x, !0);
  }, []), u = tt.useCallback(function(y) {
    var b = y;
    if (!(!Hc.length || Hc[Hc.length - 1] !== i)) {
      var g = "deltaY" in b ? rU(b) : by(b), w = t.current.filter(function(S) {
        return S.name === b.type && (S.target === b.target || b.target === S.shadowParent) && A_e(S.delta, g);
      })[0];
      if (w && w.should) {
        b.cancelable && b.preventDefault();
        return;
      }
      if (!w) {
        var E = (s.current.shards || []).map(nU).filter(Boolean).filter(function(S) {
          return S.contains(b.target);
        }), x = E.length > 0 ? l(b, E[0]) : !s.current.noIsolation;
        x && b.cancelable && b.preventDefault();
      }
    }
  }, []), c = tt.useCallback(function(y, b, g, w) {
    var E = { name: y, delta: b, target: g, should: w, shadowParent: M_e(g) };
    t.current.push(E), setTimeout(function() {
      t.current = t.current.filter(function(x) {
        return x !== E;
      });
    }, 1);
  }, []), d = tt.useCallback(function(y) {
    r.current = by(y), n.current = void 0;
  }, []), f = tt.useCallback(function(y) {
    c(y.type, rU(y), y.target, l(y, e.lockRef.current));
  }, []), p = tt.useCallback(function(y) {
    c(y.type, by(y), y.target, l(y, e.lockRef.current));
  }, []);
  tt.useEffect(function() {
    return Hc.push(i), e.setCallbacks({
      onScrollCapture: f,
      onWheelCapture: f,
      onTouchMoveCapture: p
    }), document.addEventListener("wheel", u, Cl), document.addEventListener("touchmove", u, Cl), document.addEventListener("touchstart", d,
    Cl), function() {
      Hc = Hc.filter(function(y) {
        return y !== i;
      }), document.removeEventListener("wheel", u, Cl), document.removeEventListener("touchmove", u, Cl), document.removeEventListener("touc\
hstart", d, Cl);
    };
  }, []);
  var m = e.removeScrollBar, v = e.inert;
  return tt.createElement(
    tt.Fragment,
    null,
    v ? tt.createElement(i, { styles: O_e(o) }) : null,
    m ? tt.createElement($T, { gapMode: e.gapMode }) : null
  );
}
a(oU, "RemoveScrollSideCar");
function M_e(e) {
  for (var t = null; e !== null; )
    e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
  return t;
}
a(M_e, "getOutermostShadowParent");

// ../node_modules/react-remove-scroll/dist/es2015/sidecar.js
var aU = kT(vy, oU);

// ../node_modules/react-remove-scroll/dist/es2015/Combination.js
var iU = wy.forwardRef(function(e, t) {
  return wy.createElement(Dp, sn({}, e, { ref: t, sideCar: aU }));
});
iU.classNames = Dp.classNames;
var UT = iU;

// ../node_modules/aria-hidden/dist/es2015/index.js
var N_e = /* @__PURE__ */ a(function(e) {
  if (typeof document > "u")
    return null;
  var t = Array.isArray(e) ? e[0] : e;
  return t.ownerDocument.body;
}, "getDefaultParent"), zc = /* @__PURE__ */ new WeakMap(), Ey = /* @__PURE__ */ new WeakMap(), Ry = {}, VT = 0, sU = /* @__PURE__ */ a(function(e) {
  return e && (e.host || sU(e.parentNode));
}, "unwrapHost"), L_e = /* @__PURE__ */ a(function(e, t) {
  return t.map(function(r) {
    if (e.contains(r))
      return r;
    var n = sU(r);
    return n && e.contains(n) ? n : (console.error("aria-hidden", r, "in not contained inside", e, ". Doing nothing"), null);
  }).filter(function(r) {
    return !!r;
  });
}, "correctTargets"), k_e = /* @__PURE__ */ a(function(e, t, r, n) {
  var o = L_e(t, Array.isArray(e) ? e : [e]);
  Ry[r] || (Ry[r] = /* @__PURE__ */ new WeakMap());
  var i = Ry[r], s = [], l = /* @__PURE__ */ new Set(), u = new Set(o), c = /* @__PURE__ */ a(function(f) {
    !f || l.has(f) || (l.add(f), c(f.parentNode));
  }, "keep");
  o.forEach(c);
  var d = /* @__PURE__ */ a(function(f) {
    !f || u.has(f) || Array.prototype.forEach.call(f.children, function(p) {
      if (l.has(p))
        d(p);
      else
        try {
          var m = p.getAttribute(n), v = m !== null && m !== "false", y = (zc.get(p) || 0) + 1, b = (i.get(p) || 0) + 1;
          zc.set(p, y), i.set(p, b), s.push(p), y === 1 && v && Ey.set(p, !0), b === 1 && p.setAttribute(r, "true"), v || p.setAttribute(n, "\
true");
        } catch (g) {
          console.error("aria-hidden: cannot operate on ", p, g);
        }
    });
  }, "deep");
  return d(t), l.clear(), VT++, function() {
    s.forEach(function(f) {
      var p = zc.get(f) - 1, m = i.get(f) - 1;
      zc.set(f, p), i.set(f, m), p || (Ey.has(f) || f.removeAttribute(n), Ey.delete(f)), m || f.removeAttribute(r);
    }), VT--, VT || (zc = /* @__PURE__ */ new WeakMap(), zc = /* @__PURE__ */ new WeakMap(), Ey = /* @__PURE__ */ new WeakMap(), Ry = {});
  };
}, "applyAttributeToOthers"), lU = /* @__PURE__ */ a(function(e, t, r) {
  r === void 0 && (r = "data-aria-hidden");
  var n = Array.from(Array.isArray(e) ? e : [e]), o = t || N_e(e);
  return o ? (n.push.apply(n, Array.from(o.querySelectorAll("[aria-live]"))), k_e(n, o, r, "aria-hidden")) : function() {
    return null;
  };
}, "hideOthers");

// ../node_modules/@radix-ui/react-dialog/dist/index.mjs
var Be = N(Rn(), 1);
var Sy = "Dialog", [uU, q_e] = gz(Sy), [D_e, No] = uU(Sy), WT = /* @__PURE__ */ a((e) => {
  let {
    __scopeDialog: t,
    children: r,
    open: n,
    defaultOpen: o,
    onOpenChange: i,
    modal: s = !0
  } = e, l = Ke.useRef(null), u = Ke.useRef(null), [c, d] = vz({
    prop: n,
    defaultProp: o ?? !1,
    onChange: i,
    caller: Sy
  });
  return /* @__PURE__ */ (0, Be.jsx)(
    D_e,
    {
      scope: t,
      triggerRef: l,
      contentRef: u,
      contentId: uy(),
      titleId: uy(),
      descriptionId: uy(),
      open: c,
      onOpenChange: d,
      onOpenToggle: Ke.useCallback(() => d((f) => !f), [d]),
      modal: s,
      children: r
    }
  );
}, "Dialog");
WT.displayName = Sy;
var cU = "DialogTrigger", GT = Ke.forwardRef(
  (e, t) => {
    let { __scopeDialog: r, ...n } = e, o = No(cU, r), i = Mo(t, o.triggerRef);
    return /* @__PURE__ */ (0, Be.jsx)(
      Sn.button,
      {
        type: "button",
        "aria-haspopup": "dialog",
        "aria-expanded": o.open,
        "aria-controls": o.contentId,
        "data-state": rA(o.open),
        ...n,
        ref: i,
        onClick: Fc(e.onClick, o.onOpenToggle)
      }
    );
  }
);
GT.displayName = cU;
var YT = "DialogPortal", [F_e, dU] = uU(YT, {
  forceMount: void 0
}), KT = /* @__PURE__ */ a((e) => {
  let { __scopeDialog: t, forceMount: r, children: n, container: o } = e, i = No(YT, t);
  return /* @__PURE__ */ (0, Be.jsx)(F_e, { scope: t, forceMount: r, children: Ke.Children.map(n, (s) => /* @__PURE__ */ (0, Be.jsx)(qp, { present: r ||
  i.open, children: /* @__PURE__ */ (0, Be.jsx)(AT, { asChild: !0, container: o, children: s }) })) });
}, "DialogPortal");
KT.displayName = YT;
var xy = "DialogOverlay", XT = Ke.forwardRef(
  (e, t) => {
    let r = dU(xy, e.__scopeDialog), { forceMount: n = r.forceMount, ...o } = e, i = No(xy, e.__scopeDialog);
    return i.modal ? /* @__PURE__ */ (0, Be.jsx)(qp, { present: n || i.open, children: /* @__PURE__ */ (0, Be.jsx)(B_e, { ...o, ref: t }) }) :
    null;
  }
);
XT.displayName = xy;
var j_e = kp("DialogOverlay.RemoveScroll"), B_e = Ke.forwardRef(
  (e, t) => {
    let { __scopeDialog: r, ...n } = e, o = No(xy, r);
    return (
      // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
      // ie. when `Overlay` and `Content` are siblings
      /* @__PURE__ */ (0, Be.jsx)(UT, { as: j_e, allowPinchZoom: !0, shards: [o.contentRef], children: /* @__PURE__ */ (0, Be.jsx)(
        Sn.div,
        {
          "data-state": rA(o.open),
          ...n,
          ref: t,
          style: { pointerEvents: "auto", ...n.style }
        }
      ) })
    );
  }
), _l = "DialogContent", JT = Ke.forwardRef(
  (e, t) => {
    let r = dU(_l, e.__scopeDialog), { forceMount: n = r.forceMount, ...o } = e, i = No(_l, e.__scopeDialog);
    return /* @__PURE__ */ (0, Be.jsx)(qp, { present: n || i.open, children: i.modal ? /* @__PURE__ */ (0, Be.jsx)($_e, { ...o, ref: t }) : /* @__PURE__ */ (0, Be.jsx)(
    H_e, { ...o, ref: t }) });
  }
);
JT.displayName = _l;
var $_e = Ke.forwardRef(
  (e, t) => {
    let r = No(_l, e.__scopeDialog), n = Ke.useRef(null), o = Mo(t, r.contentRef, n);
    return Ke.useEffect(() => {
      let i = n.current;
      if (i) return lU(i);
    }, []), /* @__PURE__ */ (0, Be.jsx)(
      fU,
      {
        ...e,
        ref: o,
        trapFocus: r.open,
        disableOutsidePointerEvents: !0,
        onCloseAutoFocus: Fc(e.onCloseAutoFocus, (i) => {
          i.preventDefault(), r.triggerRef.current?.focus();
        }),
        onPointerDownOutside: Fc(e.onPointerDownOutside, (i) => {
          let s = i.detail.originalEvent, l = s.button === 0 && s.ctrlKey === !0;
          (s.button === 2 || l) && i.preventDefault();
        }),
        onFocusOutside: Fc(
          e.onFocusOutside,
          (i) => i.preventDefault()
        )
      }
    );
  }
), H_e = Ke.forwardRef(
  (e, t) => {
    let r = No(_l, e.__scopeDialog), n = Ke.useRef(!1), o = Ke.useRef(!1);
    return /* @__PURE__ */ (0, Be.jsx)(
      fU,
      {
        ...e,
        ref: t,
        trapFocus: !1,
        disableOutsidePointerEvents: !1,
        onCloseAutoFocus: /* @__PURE__ */ a((i) => {
          e.onCloseAutoFocus?.(i), i.defaultPrevented || (n.current || r.triggerRef.current?.focus(), i.preventDefault()), n.current = !1, o.
          current = !1;
        }, "onCloseAutoFocus"),
        onInteractOutside: /* @__PURE__ */ a((i) => {
          e.onInteractOutside?.(i), i.defaultPrevented || (n.current = !0, i.detail.originalEvent.type === "pointerdown" && (o.current = !0));
          let s = i.target;
          r.triggerRef.current?.contains(s) && i.preventDefault(), i.detail.originalEvent.type === "focusin" && o.current && i.preventDefault();
        }, "onInteractOutside")
      }
    );
  }
), fU = Ke.forwardRef(
  (e, t) => {
    let { __scopeDialog: r, trapFocus: n, onOpenAutoFocus: o, onCloseAutoFocus: i, ...s } = e, l = No(_l, r), u = Ke.useRef(null), c = Mo(t,
    u);
    return $z(), /* @__PURE__ */ (0, Be.jsxs)(Be.Fragment, { children: [
      /* @__PURE__ */ (0, Be.jsx)(
        TT,
        {
          asChild: !0,
          loop: !0,
          trapped: n,
          onMountAutoFocus: o,
          onUnmountAutoFocus: i,
          children: /* @__PURE__ */ (0, Be.jsx)(
            CT,
            {
              role: "dialog",
              id: l.contentId,
              "aria-describedby": l.descriptionId,
              "aria-labelledby": l.titleId,
              "data-state": rA(l.open),
              ...s,
              ref: c,
              onDismiss: /* @__PURE__ */ a(() => l.onOpenChange(!1), "onDismiss")
            }
          )
        }
      ),
      /* @__PURE__ */ (0, Be.jsxs)(Be.Fragment, { children: [
        /* @__PURE__ */ (0, Be.jsx)(U_e, { titleId: l.titleId }),
        /* @__PURE__ */ (0, Be.jsx)(W_e, { contentRef: u, descriptionId: l.descriptionId })
      ] })
    ] });
  }
), QT = "DialogTitle", ZT = Ke.forwardRef(
  (e, t) => {
    let { __scopeDialog: r, ...n } = e, o = No(QT, r);
    return /* @__PURE__ */ (0, Be.jsx)(Sn.h2, { id: o.titleId, ...n, ref: t });
  }
);
ZT.displayName = QT;
var pU = "DialogDescription", eA = Ke.forwardRef(
  (e, t) => {
    let { __scopeDialog: r, ...n } = e, o = No(pU, r);
    return /* @__PURE__ */ (0, Be.jsx)(Sn.p, { id: o.descriptionId, ...n, ref: t });
  }
);
eA.displayName = pU;
var mU = "DialogClose", tA = Ke.forwardRef(
  (e, t) => {
    let { __scopeDialog: r, ...n } = e, o = No(mU, r);
    return /* @__PURE__ */ (0, Be.jsx)(
      Sn.button,
      {
        type: "button",
        ...n,
        ref: t,
        onClick: Fc(e.onClick, () => o.onOpenChange(!1))
      }
    );
  }
);
tA.displayName = mU;
function rA(e) {
  return e ? "open" : "closed";
}
a(rA, "getState");
var hU = "DialogTitleWarning", [z_e, gU] = hz(hU, {
  contentName: _l,
  titleName: QT,
  docsSlug: "dialog"
}), U_e = /* @__PURE__ */ a(({ titleId: e }) => {
  let t = gU(hU), r = `\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.

If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.

For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;
  return Ke.useEffect(() => {
    e && (document.getElementById(e) || console.error(r));
  }, [r, e]), null;
}, "TitleWarning"), V_e = "DialogDescriptionWarning", W_e = /* @__PURE__ */ a(({ contentRef: e, descriptionId: t }) => {
  let n = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${gU(V_e).contentName}}.`;
  return Ke.useEffect(() => {
    let o = e.current?.getAttribute("aria-describedby");
    t && o && (document.getElementById(t) || console.warn(n));
  }, [n, e, t]), null;
}, "DescriptionWarning"), nA = WT, G_e = GT, oA = KT, aA = XT, iA = JT, sA = ZT, lA = eA, uA = tA;

// src/components/components/Modal/Modal.styled.tsx
var fA = {};
_e(fA, {
  Actions: () => tPe,
  CloseButton: () => vU,
  Col: () => wU,
  Container: () => dA,
  Content: () => J_e,
  Description: () => ePe,
  Error: () => rPe,
  ErrorWrapper: () => EU,
  Header: () => Q_e,
  Overlay: () => cA,
  Row: () => bU,
  Title: () => Z_e
});
var Xa = N(H(), 1);
ue();

// src/components/components/IconButton/IconButton.tsx
var _y = N(H(), 1);

// src/components/components/Button/Button.tsx
var rs = N(H(), 1);
Va();
ue();
var Pl = (0, rs.forwardRef)(
  ({
    asChild: e = !1,
    animation: t = "none",
    size: r = "small",
    variant: n = "outline",
    padding: o = "medium",
    disabled: i = !1,
    active: s = !1,
    onClick: l,
    ...u
  }, c) => {
    let d = "button";
    e && (d = bz);
    let [f, p] = (0, rs.useState)(!1), m = /* @__PURE__ */ a((v) => {
      l && l(v), t !== "none" && p(!0);
    }, "handleClick");
    return (0, rs.useEffect)(() => {
      let v = setTimeout(() => {
        f && p(!1);
      }, 1e3);
      return () => clearTimeout(v);
    }, [f]), /* @__PURE__ */ rs.default.createElement(
      Y_e,
      {
        as: d,
        ref: c,
        variant: n,
        size: r,
        padding: o,
        disabled: i,
        active: s,
        animating: f,
        animation: t,
        onClick: m,
        ...u
      }
    );
  }
);
Pl.displayName = "Button";
var Y_e = L("button", {
  shouldForwardProp: /* @__PURE__ */ a((e) => zi(e), "shouldForwardProp")
})(({ theme: e, variant: t, size: r, disabled: n, active: o, animating: i, animation: s = "none", padding: l }) => ({
  border: 0,
  cursor: n ? "not-allowed" : "pointer",
  display: "inline-flex",
  gap: "6px",
  alignItems: "center",
  justifyContent: "center",
  overflow: "hidden",
  padding: l === "none" ? 0 : l === "small" && r === "small" ? "0 7px" : l === "small" && r === "medium" ? "0 9px" : r === "small" ? "0 10px" :
  r === "medium" ? "0 12px" : 0,
  height: r === "small" ? "28px" : "32px",
  position: "relative",
  textAlign: "center",
  textDecoration: "none",
  transitionProperty: "background, box-shadow",
  transitionDuration: "150ms",
  transitionTimingFunction: "ease-out",
  verticalAlign: "top",
  whiteSpace: "nowrap",
  userSelect: "none",
  opacity: n ? 0.5 : 1,
  margin: 0,
  fontSize: `${e.typography.size.s1}px`,
  fontWeight: e.typography.weight.bold,
  lineHeight: "1",
  background: t === "solid" ? e.color.secondary : t === "outline" ? e.button.background : t === "ghost" && o ? e.background.hoverable : "tra\
nsparent",
  ...t === "ghost" ? {
    // This is a hack to apply bar styles to the button as soon as it is part of a bar
    // It is a temporary solution until we have implemented Theming 2.0.
    ".sb-bar &": {
      background: o ? Jt(0.9, e.barTextColor) : "transparent",
      color: o ? e.barSelectedColor : e.barTextColor,
      "&:hover": {
        color: e.barHoverColor,
        background: Jt(0.86, e.barHoverColor)
      },
      "&:active": {
        color: e.barSelectedColor,
        background: Jt(0.9, e.barSelectedColor)
      },
      "&:focus": {
        boxShadow: `${pa(e.barHoverColor, 1)} 0 0 0 1px inset`,
        outline: "none"
      }
    }
  } : {},
  color: t === "solid" ? e.color.lightest : t === "outline" ? e.input.color : t === "ghost" && o ? e.color.secondary : t === "ghost" ? e.color.
  mediumdark : e.input.color,
  boxShadow: t === "outline" ? `${e.button.border} 0 0 0 1px inset` : "none",
  borderRadius: e.input.borderRadius,
  // Making sure that the button never shrinks below its minimum size
  flexShrink: 0,
  "&:hover": {
    color: t === "ghost" ? e.color.secondary : void 0,
    background: (() => {
      let u = e.color.secondary;
      return t === "solid" && (u = e.color.secondary), t === "outline" && (u = e.button.background), t === "ghost" ? Jt(0.86, e.color.secondary) :
      e.base === "light" ? ma(0.02, u) : vp(0.03, u);
    })()
  },
  "&:active": {
    color: t === "ghost" ? e.color.secondary : void 0,
    background: (() => {
      let u = e.color.secondary;
      return t === "solid" && (u = e.color.secondary), t === "outline" && (u = e.button.background), t === "ghost" ? e.background.hoverable :
      e.base === "light" ? ma(0.02, u) : vp(0.03, u);
    })()
  },
  "&:focus": {
    boxShadow: `${pa(e.color.secondary, 1)} 0 0 0 1px inset`,
    outline: "none"
  },
  "> svg": {
    animation: i && s !== "none" ? `${e.animation[s]} 1000ms ease-out` : ""
  }
}));

// src/components/components/IconButton/IconButton.tsx
var Bp = (0, _y.forwardRef)(
  ({ padding: e = "small", variant: t = "ghost", ...r }, n) => /* @__PURE__ */ _y.default.createElement(Pl, { padding: e, variant: t, ref: n,
  ...r })
);
Bp.displayName = "IconButton";

// src/components/components/Modal/Modal.styled.tsx
var yU = dr({
  from: { opacity: 0 },
  to: { opacity: 1 }
}), K_e = dr({
  from: { maxHeight: 0 },
  to: {}
}), X_e = dr({
  from: {
    opacity: 0,
    transform: "translate(-50%, -50%) scale(0.9)"
  },
  to: {
    opacity: 1,
    transform: "translate(-50%, -50%) scale(1)"
  }
}), cA = L.div({
  backdropFilter: "blur(24px)",
  position: "fixed",
  inset: 0,
  width: "100%",
  height: "100%",
  zIndex: 10,
  animation: `${yU} 200ms`
}), dA = L.div(
  ({ theme: e, width: t, height: r }) => ({
    backgroundColor: e.background.bar,
    borderRadius: 6,
    boxShadow: "0px 4px 67px 0px #00000040",
    position: "fixed",
    top: "50%",
    left: "50%",
    transform: "translate(-50%, -50%)",
    width: t ?? 740,
    height: r ?? "auto",
    maxWidth: "calc(100% - 40px)",
    maxHeight: "85vh",
    overflow: "auto",
    zIndex: 11,
    animation: `${X_e} 200ms`,
    "&:focus-visible": {
      outline: "none"
    }
  })
), vU = /* @__PURE__ */ a((e) => /* @__PURE__ */ Xa.default.createElement(uA, { asChild: !0 }, /* @__PURE__ */ Xa.default.createElement(Bp, {
"aria-label": "Close", ...e }, /* @__PURE__ */ Xa.default.createElement(gT, null))), "CloseButton"), J_e = L.div({
  display: "flex",
  flexDirection: "column",
  margin: 16,
  gap: 16
}), bU = L.div({
  display: "flex",
  justifyContent: "space-between",
  gap: 16
}), wU = L.div({
  display: "flex",
  flexDirection: "column",
  gap: 4
}), Q_e = /* @__PURE__ */ a((e) => /* @__PURE__ */ Xa.default.createElement(bU, null, /* @__PURE__ */ Xa.default.createElement(wU, { ...e }),
/* @__PURE__ */ Xa.default.createElement(vU, null)), "Header"), Z_e = L(sA)(({ theme: e }) => ({
  margin: 0,
  fontSize: e.typography.size.s3,
  fontWeight: e.typography.weight.bold
})), ePe = L(lA)(({ theme: e }) => ({
  position: "relative",
  zIndex: 1,
  margin: 0,
  fontSize: e.typography.size.s2
})), tPe = L.div({
  display: "flex",
  flexDirection: "row-reverse",
  gap: 8
}), EU = L.div(({ theme: e }) => ({
  maxHeight: 100,
  overflow: "auto",
  animation: `${K_e} 300ms, ${yU} 300ms`,
  backgroundColor: e.background.critical,
  color: e.color.lightest,
  fontSize: e.typography.size.s2,
  "& > div": {
    position: "relative",
    padding: "8px 16px"
  }
})), rPe = /* @__PURE__ */ a(({
  children: e,
  ...t
}) => /* @__PURE__ */ Xa.default.createElement(EU, { ...t }, /* @__PURE__ */ Xa.default.createElement("div", null, e)), "Error");

// src/components/components/Modal/Modal.tsx
function nPe({
  children: e,
  width: t,
  height: r,
  onEscapeKeyDown: n,
  onInteractOutside: o = /* @__PURE__ */ a((c) => c.preventDefault(), "onInteractOutside"),
  className: i,
  container: s,
  portalSelector: l,
  ...u
}) {
  let c = s ?? (l ? document.querySelector(l) : null) ?? document.body;
  return /* @__PURE__ */ Tl.default.createElement(nA, { ...u }, /* @__PURE__ */ Tl.default.createElement(oA, { container: c }, /* @__PURE__ */ Tl.default.
  createElement(aA, { asChild: !0 }, /* @__PURE__ */ Tl.default.createElement(cA, null)), /* @__PURE__ */ Tl.default.createElement(
    iA,
    {
      asChild: !0,
      onInteractOutside: o,
      onEscapeKeyDown: n
    },
    /* @__PURE__ */ Tl.default.createElement(dA, { className: i, width: t, height: r }, e)
  )));
}
a(nPe, "BaseModal");
var RU = Object.assign(nPe, fA, { Dialog: Cy });

// src/components/components/spaced/Spaced.tsx
var xU = N(H(), 1);
ue();
var oPe = /* @__PURE__ */ a((e) => typeof e == "number" ? e : Number(e), "toNumber"), aPe = L.div(
  ({ theme: e, col: t, row: r = 1 }) => t ? {
    display: "inline-block",
    verticalAlign: "inherit",
    "& > *": {
      marginLeft: t * e.layoutMargin,
      verticalAlign: "inherit"
    },
    [`& > *:first-child${m1}`]: {
      marginLeft: 0
    }
  } : {
    "& > *": {
      marginTop: r * e.layoutMargin
    },
    [`& > *:first-child${m1}`]: {
      marginTop: 0
    }
  },
  ({ theme: e, outer: t, col: r, row: n }) => {
    switch (!0) {
      case !!(t && r):
        return {
          marginLeft: t * e.layoutMargin,
          marginRight: t * e.layoutMargin
        };
      case !!(t && n):
        return {
          marginTop: t * e.layoutMargin,
          marginBottom: t * e.layoutMargin
        };
      default:
        return {};
    }
  }
), SU = /* @__PURE__ */ a(({ col: e, row: t, outer: r, children: n, ...o }) => {
  let i = oPe(typeof r == "number" || !r ? r : e || t);
  return /* @__PURE__ */ xU.default.createElement(aPe, { col: e, row: t, outer: i, ...o }, n);
}, "Spaced");

// src/components/components/placeholder/placeholder.tsx
var Uc = N(H(), 1);
ue();
var iPe = L.div(({ theme: e }) => ({
  fontWeight: e.typography.weight.bold
})), sPe = L.div(), lPe = L.div(({ theme: e }) => ({
  padding: 30,
  textAlign: "center",
  color: e.color.defaultText,
  fontSize: e.typography.size.s2 - 1
})), CU = /* @__PURE__ */ a(({ children: e, ...t }) => {
  let [r, n] = Uc.Children.toArray(e);
  return /* @__PURE__ */ Uc.default.createElement(lPe, { ...t }, /* @__PURE__ */ Uc.default.createElement(iPe, null, r), n && /* @__PURE__ */ Uc.default.
  createElement(sPe, null, n));
}, "Placeholder");

// src/components/index.ts
j1();

// src/components/components/Zoom/ZoomElement.tsx
var Lo = N(H(), 1);
ue();

// ../node_modules/use-resize-observer/dist/bundle.esm.js
var Lt = N(H());
function uPe(e, t) {
  var r = (0, Lt.useRef)(null), n = (0, Lt.useRef)(null);
  n.current = t;
  var o = (0, Lt.useRef)(null);
  (0, Lt.useEffect)(function() {
    i();
  });
  var i = (0, Lt.useCallback)(function() {
    var s = o.current, l = n.current, u = s || (l ? l instanceof Element ? l : l.current : null);
    r.current && r.current.element === u && r.current.subscriber === e || (r.current && r.current.cleanup && r.current.cleanup(), r.current =
    {
      element: u,
      subscriber: e,
      // Only calling the subscriber, if there's an actual element to report.
      // Setting cleanup to undefined unless a subscriber returns one, as an existing cleanup function would've been just called.
      cleanup: u ? e(u) : void 0
    });
  }, [e]);
  return (0, Lt.useEffect)(function() {
    return function() {
      r.current && r.current.cleanup && (r.current.cleanup(), r.current = null);
    };
  }, []), (0, Lt.useCallback)(function(s) {
    o.current = s, i();
  }, [i]);
}
a(uPe, "useResolvedElement");
function _U(e, t, r) {
  return e[t] ? e[t][0] ? e[t][0][r] : (
    // TS complains about this, because the RO entry type follows the spec and does not reflect Firefox's current
    // behaviour of returning objects instead of arrays for `borderBoxSize` and `contentBoxSize`.
    // @ts-ignore
    e[t][r]
  ) : t === "contentBoxSize" ? e.contentRect[r === "inlineSize" ? "width" : "height"] : void 0;
}
a(_U, "extractSize");
function Py(e) {
  e === void 0 && (e = {});
  var t = e.onResize, r = (0, Lt.useRef)(void 0);
  r.current = t;
  var n = e.round || Math.round, o = (0, Lt.useRef)(), i = (0, Lt.useState)({
    width: void 0,
    height: void 0
  }), s = i[0], l = i[1], u = (0, Lt.useRef)(!1);
  (0, Lt.useEffect)(function() {
    return u.current = !1, function() {
      u.current = !0;
    };
  }, []);
  var c = (0, Lt.useRef)({
    width: void 0,
    height: void 0
  }), d = uPe((0, Lt.useCallback)(function(f) {
    return (!o.current || o.current.box !== e.box || o.current.round !== n) && (o.current = {
      box: e.box,
      round: n,
      instance: new ResizeObserver(function(p) {
        var m = p[0], v = e.box === "border-box" ? "borderBoxSize" : e.box === "device-pixel-content-box" ? "devicePixelContentBoxSize" : "c\
ontentBoxSize", y = _U(m, v, "inlineSize"), b = _U(m, v, "blockSize"), g = y ? n(y) : void 0, w = b ? n(b) : void 0;
        if (c.current.width !== g || c.current.height !== w) {
          var E = {
            width: g,
            height: w
          };
          c.current.width = g, c.current.height = w, r.current ? r.current(E) : u.current || l(E);
        }
      })
    }), o.current.instance.observe(f, {
      box: e.box
    }), function() {
      o.current && o.current.instance.unobserve(f);
    };
  }, [e.box, n]), e.ref);
  return (0, Lt.useMemo)(function() {
    return {
      ref: d,
      width: s.width,
      height: s.height
    };
  }, [d, s.width, s.height]);
}
a(Py, "useResizeObserver");

// src/components/components/Zoom/ZoomElement.tsx
var cPe = L.div(
  ({ centered: e = !1, scale: t = 1, elementHeight: r }) => ({
    height: r || "auto",
    transformOrigin: e ? "center top" : "left top",
    transform: `scale(${1 / t})`
  })
);
function PU({ centered: e, scale: t, children: r }) {
  let n = (0, Lo.useRef)(null), [o, i] = (0, Lo.useState)(0), s = (0, Lo.useCallback)(
    ({ height: l }) => {
      l && i(l / t);
    },
    [t]
  );
  return (0, Lo.useEffect)(() => {
    n.current && i(n.current.getBoundingClientRect().height);
  }, [t]), Py({
    ref: n,
    onResize: s
  }), /* @__PURE__ */ Lo.default.createElement(cPe, { centered: e, scale: t, elementHeight: o }, /* @__PURE__ */ Lo.default.createElement("d\
iv", { ref: n, className: "innerZoomElementWrapper" }, r));
}
a(PU, "ZoomElement");

// src/components/components/Zoom/ZoomIFrame.tsx
var $p = N(H(), 1);
var pA = class pA extends $p.Component {
  constructor() {
    super(...arguments);
    // @ts-expect-error (non strict)
    this.iframe = null;
  }
  componentDidMount() {
    let { iFrameRef: r } = this.props;
    this.iframe = r.current;
  }
  shouldComponentUpdate(r) {
    let { scale: n, active: o } = this.props;
    return n !== r.scale && this.setIframeInnerZoom(r.scale), o !== r.active && this.iframe.setAttribute("data-is-storybook", r.active ? "tr\
ue" : "false"), r.children.props.src !== this.props.children.props.src;
  }
  setIframeInnerZoom(r) {
    try {
      Object.assign(this.iframe.contentDocument.body.style, {
        width: `${r * 100}%`,
        height: `${r * 100}%`,
        transform: `scale(${1 / r})`,
        transformOrigin: "top left"
      });
    } catch {
      this.setIframeZoom(r);
    }
  }
  setIframeZoom(r) {
    Object.assign(this.iframe.style, {
      width: `${r * 100}%`,
      height: `${r * 100}%`,
      transform: `scale(${1 / r})`,
      transformOrigin: "top left"
    });
  }
  render() {
    let { children: r } = this.props;
    return /* @__PURE__ */ $p.default.createElement($p.default.Fragment, null, r);
  }
};
a(pA, "ZoomIFrame");
var Ty = pA;

// src/components/components/Zoom/Zoom.tsx
var TU = {
  Element: PU,
  IFrame: Ty
};

// src/components/components/ErrorFormatter/ErrorFormatter.tsx
var bt = N(H(), 1);
Ct();
ue();
var { document: dPe } = Z, fPe = L.strong(({ theme: e }) => ({
  color: e.color.orange
})), pPe = L.strong(({ theme: e }) => ({
  color: e.color.ancillary,
  textDecoration: "underline"
})), AU = L.em(({ theme: e }) => ({
  color: e.textMutedColor
})), mPe = /(Error): (.*)\n/, hPe = /at (?:(.*) )?\(?(.+)\)?/, gPe = /([^@]+)?(?:\/<)?@(.+)?/, yPe = /([^@]+)?@(.+)?/, OU = /* @__PURE__ */ a(
({ error: e }) => {
  if (!e)
    return /* @__PURE__ */ bt.default.createElement(bt.Fragment, null, "This error has no stack or message");
  if (!e.stack)
    return /* @__PURE__ */ bt.default.createElement(bt.Fragment, null, e.message || "This error has no stack or message");
  let t = e.stack.toString();
  t && e.message && !t.includes(e.message) && (t = `Error: ${e.message}

${t}`);
  let r = t.match(mPe);
  if (!r)
    return /* @__PURE__ */ bt.default.createElement(bt.Fragment, null, t);
  let [, n, o] = r, i = t.split(/\n/).slice(1), [, ...s] = i.map((l) => {
    let u = l.match(hPe) || l.match(gPe) || l.match(yPe);
    return u ? {
      name: (u[1] || "").replace("/<", ""),
      location: u[2].replace(dPe.location.origin, "")
    } : null;
  }).filter(Boolean);
  return /* @__PURE__ */ bt.default.createElement(bt.Fragment, null, /* @__PURE__ */ bt.default.createElement("span", null, n), ": ", /* @__PURE__ */ bt.default.
  createElement(fPe, null, o), /* @__PURE__ */ bt.default.createElement("br", null), s.map(
    (l, u) => l?.name ? /* @__PURE__ */ bt.default.createElement(bt.Fragment, { key: u }, "  ", "at ", /* @__PURE__ */ bt.default.createElement(
    pPe, null, l.name), " (", /* @__PURE__ */ bt.default.createElement(AU, null, l.location), ")", /* @__PURE__ */ bt.default.createElement(
    "br", null)) : /* @__PURE__ */ bt.default.createElement(bt.Fragment, { key: u }, "  ", "at ", /* @__PURE__ */ bt.default.createElement(AU,
    null, l?.location), /* @__PURE__ */ bt.default.createElement("br", null))
  ));
}, "ErrorFormatter");

// src/components/components/Form/Form.tsx
ue();

// src/components/components/Form/Checkbox.tsx
var IU = N(H(), 1);
ue();
var vPe = L.input({
  appearance: "none",
  display: "grid",
  placeContent: "center",
  width: 14,
  height: 14,
  flexShrink: 0,
  margin: 0,
  border: `1px solid ${ee.border}`,
  borderRadius: 2,
  backgroundColor: "white",
  transition: "background-color 0.1s",
  "&:enabled": {
    cursor: "pointer"
  },
  "&:disabled": {
    backgroundColor: ee.medium
  },
  "&:disabled:checked, &:disabled:indeterminate": {
    backgroundColor: ee.mediumdark
  },
  "&:checked, &:indeterminate": {
    backgroundColor: ee.secondary
  },
  "&:checked::before": {
    content: '""',
    width: 14,
    height: 14,
    background: `no-repeat center url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Cpath fill='n\
one' stroke='%23fff' stroke-width='2' d='m3 7 2.5 2.5L11 4'/%3E%3C/svg%3E")`
  },
  "&:indeterminate::before": {
    content: '""',
    width: 8,
    height: 2,
    background: "white"
  },
  "&:enabled:focus-visible": {
    outline: `1px solid ${ee.secondary}`,
    outlineOffset: 1
  }
}), MU = /* @__PURE__ */ a((e) => /* @__PURE__ */ IU.default.createElement(vPe, { ...e, type: "checkbox" }), "Checkbox");

// src/components/components/Form/Field.tsx
var Ay = N(H(), 1);
ue();
var bPe = L.label(({ theme: e }) => ({
  display: "flex",
  borderBottom: `1px solid ${e.appBorderColor}`,
  margin: "0 15px",
  padding: "8px 0",
  "&:last-child": {
    marginBottom: "3rem"
  }
})), wPe = L.span(({ theme: e }) => ({
  minWidth: 100,
  fontWeight: e.typography.weight.bold,
  marginRight: 15,
  display: "flex",
  justifyContent: "flex-start",
  alignItems: "center",
  lineHeight: "16px"
})), NU = /* @__PURE__ */ a(({ label: e, children: t, ...r }) => /* @__PURE__ */ Ay.default.createElement(bPe, { ...r }, e ? /* @__PURE__ */ Ay.default.
createElement(wPe, null, /* @__PURE__ */ Ay.default.createElement("span", null, e)) : null, t), "Field");

// src/components/components/Form/Input.tsx
var LU = N(H(), 1), kU = N(H(), 1);
ue();

// src/components/components/Form/styles.ts
var Vc = /* @__PURE__ */ a(({ size: e }) => {
  switch (e) {
    case "100%":
      return { width: "100%" };
    case "flex":
      return { flex: 1 };
    case "auto":
    default:
      return { display: "inline" };
  }
}, "sizes"), Oy = /* @__PURE__ */ a(({
  align: e
}) => {
  switch (e) {
    case "end":
      return { textAlign: "right" };
    case "center":
      return { textAlign: "center" };
    case "start":
    default:
      return { textAlign: "left" };
  }
}, "alignment"), Iy = /* @__PURE__ */ a(({
  valid: e,
  theme: t
}) => {
  switch (e) {
    case "valid":
      return { boxShadow: `${t.color.positive} 0 0 0 1px inset !important` };
    case "error":
      return { boxShadow: `${t.color.negative} 0 0 0 1px inset !important` };
    case "warn":
      return {
        boxShadow: `${t.color.warning} 0 0 0 1px inset`
      };
    case void 0:
    case null:
    default:
      return {};
  }
}, "validation"), EPe = {
  // resets
  appearance: "none",
  border: "0 none",
  boxSizing: "inherit",
  display: " block",
  margin: " 0",
  background: "transparent",
  padding: 0,
  fontSize: "inherit",
  position: "relative"
}, My = /* @__PURE__ */ a(({ theme: e }) => ({
  ...EPe,
  transition: "box-shadow 200ms ease-out, opacity 200ms ease-out",
  color: e.input.color || "inherit",
  background: e.input.background,
  boxShadow: `${e.input.border} 0 0 0 1px inset`,
  borderRadius: e.input.borderRadius,
  fontSize: e.typography.size.s2 - 1,
  lineHeight: "20px",
  padding: "6px 10px",
  // 32
  boxSizing: "border-box",
  height: 32,
  '&[type="file"]': {
    height: "auto"
  },
  "&:focus": {
    boxShadow: `${e.color.secondary} 0 0 0 1px inset`,
    outline: "none",
    "@media (forced-colors: active)": {
      outline: "1px solid highlight"
    }
  },
  "&[disabled]": {
    cursor: "not-allowed",
    opacity: 0.5
  },
  "&:-webkit-autofill": { WebkitBoxShadow: `0 0 0 3em ${e.color.lightest} inset` },
  "&::placeholder": {
    color: e.textMutedColor,
    opacity: 1
  }
}), "styles");

// src/components/components/Form/Input.tsx
var qU = Object.assign(
  L(
    (0, kU.forwardRef)(/* @__PURE__ */ a(function({ size: t, valid: r, align: n, ...o }, i) {
      return /* @__PURE__ */ LU.default.createElement("input", { ...o, ref: i });
    }, "Input"))
  )(My, Vc, Oy, Iy, {
    minHeight: 32
  }),
  {
    displayName: "Input"
  }
);

// src/components/components/Form/Radio.tsx
var DU = N(H(), 1);
ue();
var RPe = L.input({
  appearance: "none",
  display: "grid",
  placeContent: "center",
  width: 16,
  height: 16,
  flexShrink: 0,
  margin: -1,
  border: `1px solid ${ee.border}`,
  borderRadius: 8,
  backgroundColor: "white",
  transition: "background-color 0.1s",
  "&:enabled": {
    cursor: "pointer"
  },
  "&:disabled": {
    backgroundColor: ee.medium
  },
  "&:disabled:checked": {
    backgroundColor: ee.mediumdark
  },
  "&:checked": {
    backgroundColor: ee.secondary,
    boxShadow: "inset 0 0 0 2px white"
  },
  "&:enabled:focus-visible": {
    outline: `1px solid ${ee.secondary}`,
    outlineOffset: 1
  }
}), FU = /* @__PURE__ */ a((e) => /* @__PURE__ */ DU.default.createElement(RPe, { ...e, type: "radio" }), "Radio");

// src/components/components/Form/Select.tsx
var Al = N(H(), 1);
ue();

// src/preview-api/modules/preview-web/render/animation-utils.ts
function jU() {
  try {
    return (
      // @ts-expect-error This property exists in Vitest browser mode
      !!globalThis.__vitest_browser__ || !!globalThis.window?.navigator?.userAgent?.match(/StorybookTestRunner/)
    );
  } catch {
    return !1;
  }
}
a(jU, "isTestEnvironment");

// src/components/components/Form/Select.tsx
var xPe = L.select(Vc, ({ theme: e }) => ({
  appearance: "none",
  background: `calc(100% - 12px) center no-repeat url("data:image/svg+xml,%3Csvg width='8' height='4' viewBox='0 0 8 4' fill='none' xmlns='h\
ttp://www.w3.org/2000/svg'%3E%3Cpath d='M1.30303 0.196815C1.13566 0.0294472 0.864304 0.0294472 0.696937 0.196815C0.529569 0.364182 0.529569 \
0.635539 0.696937 0.802906L3.69694 3.80291C3.8643 3.97027 4.13566 3.97027 4.30303 3.80291L7.30303 0.802906C7.4704 0.635539 7.4704 0.364182 7\
.30303 0.196815C7.13566 0.0294473 6.8643 0.0294473 6.69694 0.196815L3.99998 2.89377L1.30303 0.196815Z' fill='%2373828C'/%3E%3C/svg%3E%0A")`,
  backgroundSize: 10,
  padding: "6px 30px 6px 10px",
  "@supports (appearance: base-select)": {
    appearance: "base-select",
    background: e.input.background,
    padding: "6px 10px"
  },
  transition: "box-shadow 200ms ease-out, opacity 200ms ease-out",
  color: e.input.color || "inherit",
  boxShadow: `${e.input.border} 0 0 0 1px inset`,
  borderRadius: e.input.borderRadius,
  fontSize: e.typography.size.s2 - 1,
  lineHeight: "20px",
  boxSizing: "border-box",
  border: "none",
  cursor: "pointer",
  "& > button": {
    display: "flex",
    alignItems: "center",
    justifyContent: "space-between",
    width: "100%",
    gap: 8,
    "& > svg": {
      width: 14,
      height: 14,
      color: e.color.mediumdark
    }
  },
  "&:has(option:not([hidden]):checked)": {
    color: e.color.defaultText
  },
  "&:focus-visible, &:focus-within": {
    outline: "none",
    boxShadow: `${e.color.secondary} 0 0 0 1px inset`
  },
  "&::picker-icon": {
    display: "none"
  },
  "&::picker(select)": {
    appearance: "base-select",
    border: "1px solid #e4e4e7",
    padding: 4,
    marginTop: 4,
    background: e.base === "light" ? ha(e.background.app) : e.background.app,
    filter: `
      drop-shadow(0 5px 5px rgba(0,0,0,0.05))
      drop-shadow(0 0 3px rgba(0,0,0,0.1))
    `,
    borderRadius: e.appBorderRadius + 2,
    fontSize: e.typography.size.s1,
    cursor: "default",
    transition: "opacity 100ms ease-in-out, transform 100ms ease-in-out",
    transformOrigin: "top",
    transform: "translateY(0)",
    opacity: 1,
    "@starting-style": {
      transform: "translateY(-0.25rem) scale(0.95)",
      opacity: 0
    }
  },
  "& optgroup label": {
    display: "block",
    padding: "3px 6px"
  },
  "& option": {
    lineHeight: "18px",
    padding: "7px 10px",
    borderRadius: 4,
    outline: "none",
    cursor: "pointer",
    color: e.color.defaultText,
    "&::checkmark": {
      display: "none"
    },
    "&:hover, &:focus-visible": {
      backgroundColor: e.background.hoverable
    },
    "&:checked": {
      color: e.color.secondary,
      fontWeight: e.typography.weight.bold
    },
    "&:disabled": {
      backgroundColor: "transparent",
      cursor: "default",
      color: e.color.defaultText
    }
  }
})), BU = /* @__PURE__ */ a(({ children: e, ...t }) => (
  // @ts-expect-error Weird props mismatch
  /* @__PURE__ */ Al.default.createElement(xPe, { ...t }, !jU() && /* @__PURE__ */ Al.default.createElement("button", null, /* @__PURE__ */ Al.default.
  createElement("selectedcontent", null), /* @__PURE__ */ Al.default.createElement(
    "svg",
    {
      xmlns: "http://www.w3.org/2000/svg",
      viewBox: "0 0 24 24",
      fill: "none",
      stroke: "currentColor",
      strokeWidth: "2",
      strokeLinecap: "round",
      strokeLinejoin: "round",
      "aria-hidden": "true"
    },
    /* @__PURE__ */ Al.default.createElement("path", { d: "m6 9 6 6 6-6" })
  )), /* @__PURE__ */ Al.default.createElement("optgroup", null, e))
), "Select");

// src/components/components/Form/Textarea.tsx
var Ny = N(H(), 1);

// ../node_modules/react-textarea-autosize/dist/react-textarea-autosize.browser.esm.js
Ua();
v1();
var ko = N(H());

// ../node_modules/use-latest/dist/use-latest.esm.js
var zU = N(H());

// ../node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.js
var $U = N(H()), HU = $U.useLayoutEffect;

// ../node_modules/use-latest/dist/use-latest.esm.js
var UU = /* @__PURE__ */ a(function(t) {
  var r = zU.default.useRef(t);
  return HU(function() {
    r.current = t;
  }), r;
}, "useLatest");

// ../node_modules/use-composed-ref/dist/use-composed-ref.esm.js
var mA = N(H());
var VU = /* @__PURE__ */ a(function(t, r) {
  if (typeof t == "function") {
    t(r);
    return;
  }
  t.current = r;
}, "updateRef"), WU = /* @__PURE__ */ a(function(t, r) {
  var n = mA.default.useRef();
  return mA.default.useCallback(function(o) {
    t.current = o, n.current && VU(n.current, null), n.current = r, r && VU(r, o);
  }, [r]);
}, "useComposedRef");

// ../node_modules/react-textarea-autosize/dist/react-textarea-autosize.browser.esm.js
var GU = {
  "min-height": "0",
  "max-height": "none",
  height: "0",
  visibility: "hidden",
  overflow: "hidden",
  position: "absolute",
  "z-index": "-1000",
  top: "0",
  right: "0",
  display: "block"
}, SPe = /* @__PURE__ */ a(function(t) {
  Object.keys(GU).forEach(function(r) {
    t.style.setProperty(r, GU[r], "important");
  });
}, "forceHiddenStyles"), YU = SPe, $r = null, KU = /* @__PURE__ */ a(function(t, r) {
  var n = t.scrollHeight;
  return r.sizingStyle.boxSizing === "border-box" ? n + r.borderSize : n - r.paddingSize;
}, "getHeight");
function CPe(e, t, r, n) {
  r === void 0 && (r = 1), n === void 0 && (n = 1 / 0), $r || ($r = document.createElement("textarea"), $r.setAttribute("tabindex", "-1"), $r.
  setAttribute("aria-hidden", "true"), YU($r)), $r.parentNode === null && document.body.appendChild($r);
  var o = e.paddingSize, i = e.borderSize, s = e.sizingStyle, l = s.boxSizing;
  Object.keys(s).forEach(function(p) {
    var m = p;
    $r.style[m] = s[m];
  }), YU($r), $r.value = t;
  var u = KU($r, e);
  $r.value = t, u = KU($r, e), $r.value = "x";
  var c = $r.scrollHeight - o, d = c * r;
  l === "border-box" && (d = d + o + i), u = Math.max(d, u);
  var f = c * n;
  return l === "border-box" && (f = f + o + i), u = Math.min(f, u), [u, c];
}
a(CPe, "calculateNodeHeight");
var XU = /* @__PURE__ */ a(function() {
}, "noop"), _Pe = /* @__PURE__ */ a(function(t, r) {
  return t.reduce(function(n, o) {
    return n[o] = r[o], n;
  }, {});
}, "pick"), PPe = [
  "borderBottomWidth",
  "borderLeftWidth",
  "borderRightWidth",
  "borderTopWidth",
  "boxSizing",
  "fontFamily",
  "fontSize",
  "fontStyle",
  "fontWeight",
  "letterSpacing",
  "lineHeight",
  "paddingBottom",
  "paddingLeft",
  "paddingRight",
  "paddingTop",
  // non-standard
  "tabSize",
  "textIndent",
  // non-standard
  "textRendering",
  "textTransform",
  "width",
  "wordBreak",
  "wordSpacing",
  "scrollbarGutter"
], TPe = !!document.documentElement.currentStyle, APe = /* @__PURE__ */ a(function(t) {
  var r = window.getComputedStyle(t);
  if (r === null)
    return null;
  var n = _Pe(PPe, r), o = n.boxSizing;
  if (o === "")
    return null;
  TPe && o === "border-box" && (n.width = parseFloat(n.width) + parseFloat(n.borderRightWidth) + parseFloat(n.borderLeftWidth) + parseFloat(
  n.paddingRight) + parseFloat(n.paddingLeft) + "px");
  var i = parseFloat(n.paddingBottom) + parseFloat(n.paddingTop), s = parseFloat(n.borderBottomWidth) + parseFloat(n.borderTopWidth);
  return {
    sizingStyle: n,
    paddingSize: i,
    borderSize: s
  };
}, "getSizingData"), OPe = APe;
function hA(e, t, r) {
  var n = UU(r);
  ko.useLayoutEffect(function() {
    var o = /* @__PURE__ */ a(function(s) {
      return n.current(s);
    }, "handler");
    if (e)
      return e.addEventListener(t, o), function() {
        return e.removeEventListener(t, o);
      };
  }, []);
}
a(hA, "useListener");
var IPe = /* @__PURE__ */ a(function(t, r) {
  hA(document.body, "reset", function(n) {
    t.current.form === n.target && r(n);
  });
}, "useFormResetListener"), MPe = /* @__PURE__ */ a(function(t) {
  hA(window, "resize", t);
}, "useWindowResizeListener"), NPe = /* @__PURE__ */ a(function(t) {
  hA(document.fonts, "loadingdone", t);
}, "useFontsLoadedListener"), LPe = ["cacheMeasurements", "maxRows", "minRows", "onChange", "onHeightChange"], kPe = /* @__PURE__ */ a(function(t, r) {
  var n = t.cacheMeasurements, o = t.maxRows, i = t.minRows, s = t.onChange, l = s === void 0 ? XU : s, u = t.onHeightChange, c = u === void 0 ?
  XU : u, d = _c(t, LPe), f = d.value !== void 0, p = ko.useRef(null), m = WU(p, r), v = ko.useRef(0), y = ko.useRef(), b = /* @__PURE__ */ a(
  function() {
    var E = p.current, x = n && y.current ? y.current : OPe(E);
    if (x) {
      y.current = x;
      var S = CPe(x, E.value || E.placeholder || "x", i, o), C = S[0], _ = S[1];
      v.current !== C && (v.current = C, E.style.setProperty("height", C + "px", "important"), c(C, {
        rowHeight: _
      }));
    }
  }, "resizeTextarea"), g = /* @__PURE__ */ a(function(E) {
    f || b(), l(E);
  }, "handleChange");
  return ko.useLayoutEffect(b), IPe(p, function() {
    if (!f) {
      var w = p.current.value;
      requestAnimationFrame(function() {
        var E = p.current;
        E && w !== E.value && b();
      });
    }
  }), MPe(b), NPe(b), /* @__PURE__ */ ko.createElement("textarea", Ie({}, d, {
    onChange: g,
    ref: m
  }));
}, "TextareaAutosize"), JU = /* @__PURE__ */ ko.forwardRef(kPe);

// src/components/components/Form/Textarea.tsx
ue();
var QU = Object.assign(
  L(
    (0, Ny.forwardRef)(/* @__PURE__ */ a(function({ size: t, valid: r, align: n, ...o }, i) {
      return /* @__PURE__ */ Ny.default.createElement(JU, { ...o, ref: i });
    }, "Textarea"))
  )(My, Vc, Oy, Iy, ({ height: e = 400 }) => ({
    overflow: "visible",
    maxHeight: e
  })),
  {
    displayName: "Textarea"
  }
);

// src/components/components/Form/Form.tsx
var ZU = Object.assign(
  L.form({
    boxSizing: "border-box",
    width: "100%"
  }),
  {
    Field: NU,
    Input: qU,
    Select: BU,
    Textarea: QU,
    Button: Pl,
    Checkbox: MU,
    Radio: FU
  }
);

// src/components/components/tooltip/lazy-WithTooltip.tsx
var Pn = N(H(), 1);
var P3e = (0, Pn.lazy)(
  () => Promise.resolve().then(() => (Ky(), WA)).then((e) => ({ default: e.WithTooltip }))
), dW = /* @__PURE__ */ a((e) => /* @__PURE__ */ Pn.default.createElement(Pn.Suspense, { fallback: /* @__PURE__ */ Pn.default.createElement(
"div", null) }, /* @__PURE__ */ Pn.default.createElement(P3e, { ...e })), "WithTooltip"), T3e = (0, Pn.lazy)(
  () => Promise.resolve().then(() => (Ky(), WA)).then((e) => ({ default: e.WithTooltipPure }))
), fW = /* @__PURE__ */ a((e) => /* @__PURE__ */ Pn.default.createElement(Pn.Suspense, { fallback: /* @__PURE__ */ Pn.default.createElement(
"div", null) }, /* @__PURE__ */ Pn.default.createElement(T3e, { ...e })), "WithTooltipPure");

// src/components/components/tooltip/TooltipMessage.tsx
var Fl = N(H(), 1);
ue();
var A3e = L.div(({ theme: e }) => ({
  fontWeight: e.typography.weight.bold
})), O3e = L.span(), I3e = L.div(({ theme: e }) => ({
  marginTop: 8,
  textAlign: "center",
  "> *": {
    margin: "0 8px",
    fontWeight: e.typography.weight.bold
  }
})), M3e = L.div(({ theme: e }) => ({
  color: e.color.defaultText,
  lineHeight: "18px"
})), N3e = L.div({
  padding: 15,
  width: 280,
  boxSizing: "border-box"
}), pW = /* @__PURE__ */ a(({ title: e, desc: t, links: r }) => /* @__PURE__ */ Fl.default.createElement(N3e, null, /* @__PURE__ */ Fl.default.
createElement(M3e, null, e && /* @__PURE__ */ Fl.default.createElement(A3e, null, e), t && /* @__PURE__ */ Fl.default.createElement(O3e, null,
t)), r && /* @__PURE__ */ Fl.default.createElement(I3e, null, r.map(({ title: n, ...o }) => /* @__PURE__ */ Fl.default.createElement(ly, { ...o,
key: n }, n)))), "TooltipMessage");

// src/components/components/tooltip/TooltipNote.tsx
var mW = N(H(), 1);
ue();
var L3e = L.div(({ theme: e }) => ({
  padding: "2px 6px",
  lineHeight: "16px",
  fontSize: 10,
  fontWeight: e.typography.weight.bold,
  color: e.color.lightest,
  boxShadow: "0 0 5px 0 rgba(0, 0, 0, 0.3)",
  borderRadius: 4,
  whiteSpace: "nowrap",
  pointerEvents: "none",
  zIndex: -1,
  background: e.base === "light" ? "rgba(60, 60, 60, 0.9)" : "rgba(0, 0, 0, 0.95)",
  margin: 6
})), hW = /* @__PURE__ */ a(({ note: e, ...t }) => /* @__PURE__ */ mW.default.createElement(L3e, { ...t }, e), "TooltipNote");

// src/components/components/tooltip/TooltipLinkList.tsx
var ba = N(H(), 1);
ue();

// src/components/components/tooltip/ListItem.tsx
var Bo = N(H(), 1), gW = N(Wa(), 1);
ue();
var k3e = L(({ active: e, loading: t, disabled: r, ...n }) => /* @__PURE__ */ Bo.default.createElement("span", { ...n }))(
  ({ theme: e }) => ({
    color: e.color.defaultText,
    // Previously was theme.typography.weight.normal but this weight does not exists in Theme
    fontWeight: e.typography.weight.regular
  }),
  ({ active: e, theme: t }) => e ? {
    color: t.color.secondary,
    fontWeight: t.typography.weight.bold
  } : {},
  ({ loading: e, theme: t }) => e ? {
    display: "inline-block",
    flex: "none",
    ...t.animation.inlineGlow
  } : {},
  ({ disabled: e, theme: t }) => e ? {
    color: t.textMutedColor
  } : {}
), q3e = L.span({
  display: "flex",
  "& svg": {
    height: 12,
    width: 12,
    margin: "3px 0",
    verticalAlign: "top"
  },
  "& path": {
    fill: "inherit"
  }
}), D3e = L.span(
  {
    flex: 1,
    textAlign: "left",
    display: "flex",
    flexDirection: "column"
  },
  ({ isIndented: e }) => e ? { marginLeft: 24 } : {}
), F3e = L.span(
  ({ theme: e }) => ({
    fontSize: "11px",
    lineHeight: "14px"
  }),
  ({ active: e, theme: t }) => e ? {
    color: t.color.secondary
  } : {},
  ({ theme: e, disabled: t }) => t ? {
    color: e.textMutedColor
  } : {}
), j3e = L.span(
  ({ active: e, theme: t }) => e ? {
    color: t.color.secondary
  } : {},
  () => ({
    display: "flex",
    maxWidth: 14
  })
), B3e = L.div(
  ({ theme: e }) => ({
    width: "100%",
    border: "none",
    borderRadius: e.appBorderRadius,
    background: "none",
    fontSize: e.typography.size.s1,
    transition: "all 150ms ease-out",
    color: e.color.dark,
    textDecoration: "none",
    justifyContent: "space-between",
    lineHeight: "18px",
    padding: "7px 10px",
    display: "flex",
    alignItems: "center",
    "& > * + *": {
      paddingLeft: 10
    }
  }),
  ({ theme: e, href: t, onClick: r }) => (t || r) && {
    cursor: "pointer",
    "&:hover": {
      background: e.background.hoverable
    },
    "&:hover svg": {
      opacity: 1
    }
  },
  ({ theme: e, as: t }) => t === "label" && {
    "&:has(input:not(:disabled))": {
      cursor: "pointer",
      "&:hover": {
        background: e.background.hoverable
      }
    }
  },
  ({ disabled: e }) => e && { cursor: "not-allowed" }
), $3e = (0, gW.default)(100)(({ onClick: e, input: t, href: r, LinkWrapper: n }) => ({
  ...e && {
    as: "button",
    onClick: e
  },
  ...t && {
    as: "label"
  },
  ...r && {
    as: "a",
    href: r,
    ...n && {
      as: n,
      to: r
    }
  }
})), H3e = /* @__PURE__ */ a((e) => {
  let {
    loading: t = !1,
    title: r = /* @__PURE__ */ Bo.default.createElement("span", null, "Loading state"),
    center: n = null,
    right: o = null,
    active: i = !1,
    disabled: s = !1,
    isIndented: l = !1,
    href: u = void 0,
    onClick: c = void 0,
    icon: d,
    input: f,
    LinkWrapper: p = void 0,
    ...m
  } = e, v = { active: i, disabled: s }, y = $3e(e), b = d || f;
  return /* @__PURE__ */ Bo.default.createElement(B3e, { ...m, ...v, ...y }, /* @__PURE__ */ Bo.default.createElement(Bo.default.Fragment, null,
  b && /* @__PURE__ */ Bo.default.createElement(j3e, { ...v }, b), r || n ? /* @__PURE__ */ Bo.default.createElement(D3e, { isIndented: l &&
  !b }, r && /* @__PURE__ */ Bo.default.createElement(k3e, { ...v, loading: t }, r), n && /* @__PURE__ */ Bo.default.createElement(F3e, { ...v },
  n)) : null, o && /* @__PURE__ */ Bo.default.createElement(q3e, { ...v }, o)));
}, "ListItem"), Xy = H3e;

// src/components/components/tooltip/TooltipLinkList.tsx
var z3e = L.div(
  {
    minWidth: 180,
    overflow: "hidden",
    overflowY: "auto",
    maxHeight: 15.5 * 32 + 8
    // 15.5 items at 32px each + 8px padding
  },
  ({ theme: e }) => ({
    borderRadius: e.appBorderRadius + 2
  }),
  ({ theme: e }) => e.base === "dark" ? { background: e.background.content } : {}
), U3e = L.div(({ theme: e }) => ({
  padding: 4,
  "& + &": {
    borderTop: `1px solid ${e.appBorderColor}`
  }
})), V3e = /* @__PURE__ */ a(({ id: e, onClick: t, ...r }) => {
  let { active: n, disabled: o, title: i, href: s } = r, l = (0, ba.useCallback)(
    (u) => t?.(u, { id: e, active: n, disabled: o, title: i, href: s }),
    [t, e, n, o, i, s]
  );
  return /* @__PURE__ */ ba.default.createElement(Xy, { id: `list-item-${e}`, ...r, ...t && { onClick: l } });
}, "Item"), Jy = /* @__PURE__ */ a(({ links: e, LinkWrapper: t, ...r }) => {
  let n = Array.isArray(e[0]) ? e : [e], o = n.some(
    (i) => i.some((s) => "icon" in s && s.icon || "input" in s && s.input)
  );
  return /* @__PURE__ */ ba.default.createElement(z3e, { ...r }, n.filter((i) => i.length).map((i, s) => /* @__PURE__ */ ba.default.createElement(
  U3e, { key: i.map((l) => l.id).join(`~${s}~`) }, i.map((l) => "content" in l ? /* @__PURE__ */ ba.default.createElement(ba.Fragment, { key: l.
  id }, l.content) : /* @__PURE__ */ ba.default.createElement(V3e, { key: l.id, isIndented: o, LinkWrapper: t, ...l })))));
}, "TooltipLinkList");

// src/components/components/tabs/tabs.tsx
var Ot = N(H(), 1);

// src/preview-errors.ts
Ao();

// src/storybook-error.ts
function yW({
  code: e,
  category: t
}) {
  let r = String(e).padStart(4, "0");
  return `SB_${t}_${r}`;
}
a(yW, "parseErrorCode");
var Qy = class Qy extends Error {
  constructor(r) {
    super(Qy.getFullMessage(r));
    /**
     * Data associated with the error. Used to provide additional information in the error message or
     * to be passed to telemetry.
     */
    this.data = {};
    /** Flag used to easily determine if the error originates from Storybook. */
    this.fromStorybook = !0;
    this.category = r.category, this.documentation = r.documentation ?? !1, this.code = r.code;
  }
  get fullErrorCode() {
    return yW({ code: this.code, category: this.category });
  }
  /** Overrides the default `Error.name` property in the format: SB_<CATEGORY>_<CODE>. */
  get name() {
    let r = this.constructor.name;
    return `${this.fullErrorCode} (${r})`;
  }
  /** Generates the error message along with additional documentation link (if applicable). */
  static getFullMessage({
    documentation: r,
    code: n,
    category: o,
    message: i
  }) {
    let s;
    return r === !0 ? s = `https://storybook.js.org/error/${yW({ code: n, category: o })}` : typeof r == "string" ? s = r : Array.isArray(r) &&
    (s = `
${r.map((l) => `	- ${l}`).join(`
`)}`), `${i}${s != null ? `

More info: ${s}
` : ""}`;
  }
};
a(Qy, "StorybookError");
var wa = Qy;

// src/preview-errors.ts
var GA = class GA extends wa {
  constructor(r) {
    super({
      category: "PREVIEW_API",
      code: 16,
      message: `Status has typeId "${r.status.typeId}" but was added to store with typeId "${r.typeId}". Full status: ${JSON.stringify(
        r.status,
        null,
        2
      )}`
    });
    this.data = r;
  }
};
a(GA, "StatusTypeIdMismatchError");
var Zy = GA;

// ../node_modules/es-toolkit/dist/array/countBy.mjs
function YA(e, t) {
  let r = {};
  for (let n = 0; n < e.length; n++) {
    let o = e[n], i = t(o);
    r[i] = (r[i] ?? 0) + 1;
  }
  return r;
}
a(YA, "countBy");

// ../node_modules/es-toolkit/dist/array/partition.mjs
function ev(e, t) {
  let r = [], n = [];
  for (let o = 0; o < e.length; o++) {
    let i = e[o];
    t(i) ? r.push(i) : n.push(i);
  }
  return [r, n];
}
a(ev, "partition");

// ../node_modules/es-toolkit/dist/function/noop.mjs
function vW() {
}
a(vW, "noop");

// ../node_modules/es-toolkit/dist/predicate/isPrimitive.mjs
function bW(e) {
  return e == null || typeof e != "object" && typeof e != "function";
}
a(bW, "isPrimitive");

// ../node_modules/es-toolkit/dist/predicate/isTypedArray.mjs
function wW(e) {
  return ArrayBuffer.isView(e) && !(e instanceof DataView);
}
a(wW, "isTypedArray");

// ../node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs
function Xp(e) {
  return Object.getOwnPropertySymbols(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));
}
a(Xp, "getSymbols");

// ../node_modules/es-toolkit/dist/compat/_internal/getTag.mjs
function Jp(e) {
  return e == null ? e === void 0 ? "[object Undefined]" : "[object Null]" : Object.prototype.toString.call(e);
}
a(Jp, "getTag");

// ../node_modules/es-toolkit/dist/compat/_internal/tags.mjs
var tv = "[object RegExp]", rv = "[object String]", nv = "[object Number]", ov = "[object Boolean]", Qp = "[object Arguments]", av = "[objec\
t Symbol]", iv = "[object Date]", sv = "[object Map]", lv = "[object Set]", uv = "[object Array]", EW = "[object Function]", cv = "[object A\
rrayBuffer]", td = "[object Object]", RW = "[object Error]", dv = "[object DataView]", fv = "[object Uint8Array]", pv = "[object Uint8Clampe\
dArray]", mv = "[object Uint16Array]", hv = "[object Uint32Array]", xW = "[object BigUint64Array]", gv = "[object Int8Array]", yv = "[object\
 Int16Array]", vv = "[object Int32Array]", SW = "[object BigInt64Array]", bv = "[object Float32Array]", wv = "[object Float64Array]";

// ../node_modules/es-toolkit/dist/object/cloneDeepWith.mjs
function jl(e, t, r, n = /* @__PURE__ */ new Map(), o = void 0) {
  let i = o?.(e, t, r, n);
  if (i != null)
    return i;
  if (bW(e))
    return e;
  if (n.has(e))
    return n.get(e);
  if (Array.isArray(e)) {
    let s = new Array(e.length);
    n.set(e, s);
    for (let l = 0; l < e.length; l++)
      s[l] = jl(e[l], l, r, n, o);
    return Object.hasOwn(e, "index") && (s.index = e.index), Object.hasOwn(e, "input") && (s.input = e.input), s;
  }
  if (e instanceof Date)
    return new Date(e.getTime());
  if (e instanceof RegExp) {
    let s = new RegExp(e.source, e.flags);
    return s.lastIndex = e.lastIndex, s;
  }
  if (e instanceof Map) {
    let s = /* @__PURE__ */ new Map();
    n.set(e, s);
    for (let [l, u] of e)
      s.set(l, jl(u, l, r, n, o));
    return s;
  }
  if (e instanceof Set) {
    let s = /* @__PURE__ */ new Set();
    n.set(e, s);
    for (let l of e)
      s.add(jl(l, void 0, r, n, o));
    return s;
  }
  if (typeof Buffer < "u" && Buffer.isBuffer(e))
    return e.subarray();
  if (wW(e)) {
    let s = new (Object.getPrototypeOf(e)).constructor(e.length);
    n.set(e, s);
    for (let l = 0; l < e.length; l++)
      s[l] = jl(e[l], l, r, n, o);
    return s;
  }
  if (e instanceof ArrayBuffer || typeof SharedArrayBuffer < "u" && e instanceof SharedArrayBuffer)
    return e.slice(0);
  if (e instanceof DataView) {
    let s = new DataView(e.buffer.slice(0), e.byteOffset, e.byteLength);
    return n.set(e, s), Zp(s, e, r, n, o), s;
  }
  if (typeof File < "u" && e instanceof File) {
    let s = new File([e], e.name, {
      type: e.type
    });
    return n.set(e, s), Zp(s, e, r, n, o), s;
  }
  if (e instanceof Blob) {
    let s = new Blob([e], { type: e.type });
    return n.set(e, s), Zp(s, e, r, n, o), s;
  }
  if (e instanceof Error) {
    let s = new e.constructor();
    return n.set(e, s), s.message = e.message, s.name = e.name, s.stack = e.stack, s.cause = e.cause, Zp(s, e, r, n, o), s;
  }
  if (typeof e == "object" && W3e(e)) {
    let s = Object.create(Object.getPrototypeOf(e));
    return n.set(e, s), Zp(s, e, r, n, o), s;
  }
  return e;
}
a(jl, "cloneDeepWithImpl");
function Zp(e, t, r = e, n, o) {
  let i = [...Object.keys(t), ...Xp(t)];
  for (let s = 0; s < i.length; s++) {
    let l = i[s], u = Object.getOwnPropertyDescriptor(e, l);
    (u == null || u.writable) && (e[l] = jl(t[l], l, r, n, o));
  }
}
a(Zp, "copyProperties");
function W3e(e) {
  switch (Jp(e)) {
    case Qp:
    case uv:
    case cv:
    case dv:
    case ov:
    case iv:
    case bv:
    case wv:
    case gv:
    case yv:
    case vv:
    case sv:
    case nv:
    case td:
    case tv:
    case lv:
    case rv:
    case av:
    case fv:
    case pv:
    case mv:
    case hv:
      return !0;
    default:
      return !1;
  }
}
a(W3e, "isCloneableObject");

// ../node_modules/es-toolkit/dist/object/cloneDeep.mjs
function CW(e) {
  return jl(e, void 0, e, /* @__PURE__ */ new Map(), void 0);
}
a(CW, "cloneDeep");

// ../node_modules/es-toolkit/dist/predicate/isPlainObject.mjs
function oo(e) {
  if (!e || typeof e != "object")
    return !1;
  let t = Object.getPrototypeOf(e);
  return t === null || t === Object.prototype || Object.getPrototypeOf(t) === null ? Object.prototype.toString.call(e) === "[object Object]" :
  !1;
}
a(oo, "isPlainObject");

// ../node_modules/es-toolkit/dist/object/mapValues.mjs
function KA(e, t) {
  let r = {}, n = Object.keys(e);
  for (let o = 0; o < n.length; o++) {
    let i = n[o], s = e[i];
    r[i] = t(s, i, e);
  }
  return r;
}
a(KA, "mapValues");

// ../node_modules/es-toolkit/dist/object/merge.mjs
function rd(e, t) {
  let r = Object.keys(t);
  for (let n = 0; n < r.length; n++) {
    let o = r[n], i = t[o], s = e[o];
    Array.isArray(i) ? Array.isArray(s) ? e[o] = rd(s, i) : e[o] = rd([], i) : oo(i) ? oo(s) ? e[o] = rd(s, i) : e[o] = rd({}, i) : (s === void 0 ||
    i !== void 0) && (e[o] = i);
  }
  return e;
}
a(rd, "merge");

// ../node_modules/es-toolkit/dist/compat/predicate/isObjectLike.mjs
function XA(e) {
  return typeof e == "object" && e !== null;
}
a(XA, "isObjectLike");

// ../node_modules/es-toolkit/dist/object/mergeWith.mjs
function cs(e, t, r) {
  let n = Object.keys(t);
  for (let o = 0; o < n.length; o++) {
    let i = n[o], s = t[i], l = e[i], u = r(l, s, i, e, t);
    u != null ? e[i] = u : Array.isArray(s) ? e[i] = cs(l ?? [], s, r) : XA(l) && XA(s) ? e[i] = cs(l ?? {}, s, r) : (l === void 0 || s !== void 0) &&
    (e[i] = s);
  }
  return e;
}
a(cs, "mergeWith");

// ../node_modules/es-toolkit/dist/object/pick.mjs
function Bl(e, t) {
  let r = {};
  for (let n = 0; n < t.length; n++) {
    let o = t[n];
    Object.hasOwn(e, o) && (r[o] = e[o]);
  }
  return r;
}
a(Bl, "pick");

// ../node_modules/es-toolkit/dist/object/toMerged.mjs
function em(e, t) {
  return rd(CW(e), t);
}
a(em, "toMerged");

// ../node_modules/es-toolkit/dist/compat/util/eq.mjs
function _W(e, t) {
  return e === t || Number.isNaN(e) && Number.isNaN(t);
}
a(_W, "eq");

// ../node_modules/es-toolkit/dist/predicate/isEqualWith.mjs
function PW(e, t, r) {
  return tm(e, t, void 0, void 0, void 0, void 0, r);
}
a(PW, "isEqualWith");
function tm(e, t, r, n, o, i, s) {
  let l = s(e, t, r, n, o, i);
  if (l !== void 0)
    return l;
  if (typeof e == typeof t)
    switch (typeof e) {
      case "bigint":
      case "string":
      case "boolean":
      case "symbol":
      case "undefined":
        return e === t;
      case "number":
        return e === t || Object.is(e, t);
      case "function":
        return e === t;
      case "object":
        return rm(e, t, i, s);
    }
  return rm(e, t, i, s);
}
a(tm, "isEqualWithImpl");
function rm(e, t, r, n) {
  if (Object.is(e, t))
    return !0;
  let o = Jp(e), i = Jp(t);
  if (o === Qp && (o = td), i === Qp && (i = td), o !== i)
    return !1;
  switch (o) {
    case rv:
      return e.toString() === t.toString();
    case nv: {
      let u = e.valueOf(), c = t.valueOf();
      return _W(u, c);
    }
    case ov:
    case iv:
    case av:
      return Object.is(e.valueOf(), t.valueOf());
    case tv:
      return e.source === t.source && e.flags === t.flags;
    case EW:
      return e === t;
  }
  r = r ?? /* @__PURE__ */ new Map();
  let s = r.get(e), l = r.get(t);
  if (s != null && l != null)
    return s === t;
  r.set(e, t), r.set(t, e);
  try {
    switch (o) {
      case sv: {
        if (e.size !== t.size)
          return !1;
        for (let [u, c] of e.entries())
          if (!t.has(u) || !tm(c, t.get(u), u, e, t, r, n))
            return !1;
        return !0;
      }
      case lv: {
        if (e.size !== t.size)
          return !1;
        let u = Array.from(e.values()), c = Array.from(t.values());
        for (let d = 0; d < u.length; d++) {
          let f = u[d], p = c.findIndex((m) => tm(f, m, void 0, e, t, r, n));
          if (p === -1)
            return !1;
          c.splice(p, 1);
        }
        return !0;
      }
      case uv:
      case fv:
      case pv:
      case mv:
      case hv:
      case xW:
      case gv:
      case yv:
      case vv:
      case SW:
      case bv:
      case wv: {
        if (typeof Buffer < "u" && Buffer.isBuffer(e) !== Buffer.isBuffer(t) || e.length !== t.length)
          return !1;
        for (let u = 0; u < e.length; u++)
          if (!tm(e[u], t[u], u, e, t, r, n))
            return !1;
        return !0;
      }
      case cv:
        return e.byteLength !== t.byteLength ? !1 : rm(new Uint8Array(e), new Uint8Array(t), r, n);
      case dv:
        return e.byteLength !== t.byteLength || e.byteOffset !== t.byteOffset ? !1 : rm(new Uint8Array(e), new Uint8Array(t), r, n);
      case RW:
        return e.name === t.name && e.message === t.message;
      case td: {
        if (!(rm(e.constructor, t.constructor, r, n) || oo(e) && oo(t)))
          return !1;
        let c = [...Object.keys(e), ...Xp(e)], d = [...Object.keys(t), ...Xp(t)];
        if (c.length !== d.length)
          return !1;
        for (let f = 0; f < c.length; f++) {
          let p = c[f], m = e[p];
          if (!Object.hasOwn(t, p))
            return !1;
          let v = t[p];
          if (!tm(m, v, p, e, t, r, n))
            return !1;
        }
        return !0;
      }
      default:
        return !1;
    }
  } finally {
    r.delete(e), r.delete(t);
  }
}
a(rm, "areObjectsEqual");

// ../node_modules/es-toolkit/dist/predicate/isEqual.mjs
function Cr(e, t) {
  return PW(e, t, vW);
}
a(Cr, "isEqual");

// src/test/index.ts
var RM = {};
_e(RM, {
  buildQueries: () => utt,
  clearAllMocks: () => q$e,
  configure: () => ctt,
  createEvent: () => dtt,
  expect: () => Art,
  findAllByAltText: () => ptt,
  findAllByDisplayValue: () => mtt,
  findAllByLabelText: () => htt,
  findAllByPlaceholderText: () => gtt,
  findAllByRole: () => ytt,
  findAllByTestId: () => vtt,
  findAllByText: () => btt,
  findAllByTitle: () => wtt,
  findByAltText: () => Ett,
  findByDisplayValue: () => Rtt,
  findByLabelText: () => xtt,
  findByPlaceholderText: () => Stt,
  findByRole: () => Ctt,
  findByTestId: () => _tt,
  findByText: () => Ptt,
  findByTitle: () => Ttt,
  fireEvent: () => ftt,
  fn: () => k$e,
  getAllByAltText: () => Att,
  getAllByDisplayValue: () => Ott,
  getAllByLabelText: () => Itt,
  getAllByPlaceholderText: () => Mtt,
  getAllByRole: () => Ntt,
  getAllByTestId: () => Ltt,
  getAllByText: () => ktt,
  getAllByTitle: () => qtt,
  getByAltText: () => Dtt,
  getByDisplayValue: () => Ftt,
  getByLabelText: () => jtt,
  getByPlaceholderText: () => Btt,
  getByRole: () => $tt,
  getByTestId: () => Htt,
  getByText: () => ztt,
  getByTitle: () => Utt,
  getConfig: () => Vtt,
  getDefaultNormalizer: () => Wtt,
  getElementError: () => Gtt,
  getNodeText: () => Ytt,
  getQueriesForElement: () => Ktt,
  getRoles: () => Xtt,
  getSuggestedQuery: () => Jtt,
  isInaccessible: () => Qtt,
  isMockFunction: () => Zl,
  logDOM: () => Ztt,
  logRoles: () => ert,
  mocked: () => j$e,
  mocks: () => Ad,
  onMockCall: () => N$e,
  prettyDOM: () => trt,
  prettyFormat: () => _rt,
  queries: () => rrt,
  queryAllByAltText: () => nrt,
  queryAllByAttribute: () => ort,
  queryAllByDisplayValue: () => art,
  queryAllByLabelText: () => irt,
  queryAllByPlaceholderText: () => srt,
  queryAllByRole: () => lrt,
  queryAllByTestId: () => urt,
  queryAllByText: () => crt,
  queryAllByTitle: () => drt,
  queryByAltText: () => frt,
  queryByAttribute: () => prt,
  queryByDisplayValue: () => mrt,
  queryByLabelText: () => hrt,
  queryByPlaceholderText: () => grt,
  queryByRole: () => yrt,
  queryByTestId: () => vrt,
  queryByText: () => brt,
  queryByTitle: () => wrt,
  queryHelpers: () => Ert,
  resetAllMocks: () => D$e,
  restoreAllMocks: () => F$e,
  sb: () => Ort,
  screen: () => Rrt,
  spyOn: () => L$e,
  uninstrumentedUserEvent: () => Prt,
  userEvent: () => Trt,
  waitFor: () => xrt,
  waitForElementToBeRemoved: () => Srt,
  within: () => Crt
});

// src/instrumenter/instrumenter.ts
kr();
Ct();

// ../node_modules/tinyrainbow/dist/chunk-BVHSVHOK.js
var vTe = {
  reset: [0, 0],
  bold: [1, 22, "\x1B[22m\x1B[1m"],
  dim: [2, 22, "\x1B[22m\x1B[2m"],
  italic: [3, 23],
  underline: [4, 24],
  inverse: [7, 27],
  hidden: [8, 28],
  strikethrough: [9, 29],
  black: [30, 39],
  red: [31, 39],
  green: [32, 39],
  yellow: [33, 39],
  blue: [34, 39],
  magenta: [35, 39],
  cyan: [36, 39],
  white: [37, 39],
  gray: [90, 39],
  bgBlack: [40, 49],
  bgRed: [41, 49],
  bgGreen: [42, 49],
  bgYellow: [43, 49],
  bgBlue: [44, 49],
  bgMagenta: [45, 49],
  bgCyan: [46, 49],
  bgWhite: [47, 49],
  blackBright: [90, 39],
  redBright: [91, 39],
  greenBright: [92, 39],
  yellowBright: [93, 39],
  blueBright: [94, 39],
  magentaBright: [95, 39],
  cyanBright: [96, 39],
  whiteBright: [97, 39],
  bgBlackBright: [100, 49],
  bgRedBright: [101, 49],
  bgGreenBright: [102, 49],
  bgYellowBright: [103, 49],
  bgBlueBright: [104, 49],
  bgMagentaBright: [105, 49],
  bgCyanBright: [106, 49],
  bgWhiteBright: [107, 49]
}, bTe = Object.entries(vTe);
function n7(e) {
  return String(e);
}
a(n7, "a");
n7.open = "";
n7.close = "";
function BW(e = !1) {
  let t = typeof process < "u" ? process : void 0, r = t?.env || {}, n = t?.argv || [];
  return !("NO_COLOR" in r || n.includes("--no-color")) && ("FORCE_COLOR" in r || n.includes("--color") || t?.platform === "win32" || e && r.
  TERM !== "dumb" || "CI" in r) || typeof window < "u" && !!window.chrome;
}
a(BW, "C");
function $W(e = !1) {
  let t = BW(e), r = /* @__PURE__ */ a((s, l, u, c) => {
    let d = "", f = 0;
    do
      d += s.substring(f, c) + u, f = c + l.length, c = s.indexOf(l, f);
    while (~c);
    return d + s.substring(f);
  }, "i"), n = /* @__PURE__ */ a((s, l, u = s) => {
    let c = /* @__PURE__ */ a((d) => {
      let f = String(d), p = f.indexOf(l, s.length);
      return ~p ? s + r(f, l, u, p) + l : s + f + l;
    }, "o");
    return c.open = s, c.close = l, c;
  }, "g"), o = {
    isColorSupported: t
  }, i = /* @__PURE__ */ a((s) => `\x1B[${s}m`, "d");
  for (let [s, l] of bTe)
    o[s] = t ? n(
      i(l[0]),
      i(l[1]),
      l[2]
    ) : n7;
  return o;
}
a($W, "p");

// ../node_modules/tinyrainbow/dist/browser.js
var Xe = $W();

// ../node_modules/@vitest/pretty-format/dist/index.js
function eG(e, t) {
  return t.forEach(function(r) {
    r && typeof r != "string" && !Array.isArray(r) && Object.keys(r).forEach(function(n) {
      if (n !== "default" && !(n in e)) {
        var o = Object.getOwnPropertyDescriptor(r, n);
        Object.defineProperty(e, n, o.get ? o : {
          enumerable: !0,
          get: /* @__PURE__ */ a(function() {
            return r[n];
          }, "get")
        });
      }
    });
  }), Object.freeze(e);
}
a(eG, "_mergeNamespaces");
function wTe(e, t) {
  let r = Object.keys(e), n = t === null ? r : r.sort(t);
  if (Object.getOwnPropertySymbols)
    for (let o of Object.getOwnPropertySymbols(e))
      Object.getOwnPropertyDescriptor(e, o).enumerable && n.push(o);
  return n;
}
a(wTe, "getKeysOfEnumerableProperties");
function om(e, t, r, n, o, i, s = ": ") {
  let l = "", u = 0, c = e.next();
  if (!c.done) {
    l += t.spacingOuter;
    let d = r + t.indent;
    for (; !c.done; ) {
      if (l += d, u++ === t.maxWidth) {
        l += "\u2026";
        break;
      }
      let f = i(c.value[0], t, d, n, o), p = i(c.value[1], t, d, n, o);
      l += f + s + p, c = e.next(), c.done ? t.min || (l += ",") : l += `,${t.spacingInner}`;
    }
    l += t.spacingOuter + r;
  }
  return l;
}
a(om, "printIteratorEntries");
function l7(e, t, r, n, o, i) {
  let s = "", l = 0, u = e.next();
  if (!u.done) {
    s += t.spacingOuter;
    let c = r + t.indent;
    for (; !u.done; ) {
      if (s += c, l++ === t.maxWidth) {
        s += "\u2026";
        break;
      }
      s += i(u.value, t, c, n, o), u = e.next(), u.done ? t.min || (s += ",") : s += `,${t.spacingInner}`;
    }
    s += t.spacingOuter + r;
  }
  return s;
}
a(l7, "printIteratorValues");
function Pv(e, t, r, n, o, i) {
  let s = "";
  e = e instanceof ArrayBuffer ? new DataView(e) : e;
  let l = /* @__PURE__ */ a((c) => c instanceof DataView, "isDataView"), u = l(e) ? e.byteLength : e.length;
  if (u > 0) {
    s += t.spacingOuter;
    let c = r + t.indent;
    for (let d = 0; d < u; d++) {
      if (s += c, d === t.maxWidth) {
        s += "\u2026";
        break;
      }
      (l(e) || d in e) && (s += i(l(e) ? e.getInt8(d) : e[d], t, c, n, o)), d < u - 1 ? s += `,${t.spacingInner}` : t.min || (s += ",");
    }
    s += t.spacingOuter + r;
  }
  return s;
}
a(Pv, "printListItems");
function u7(e, t, r, n, o, i) {
  let s = "", l = wTe(e, t.compareKeys);
  if (l.length > 0) {
    s += t.spacingOuter;
    let u = r + t.indent;
    for (let c = 0; c < l.length; c++) {
      let d = l[c], f = i(d, t, u, n, o), p = i(e[d], t, u, n, o);
      s += `${u + f}: ${p}`, c < l.length - 1 ? s += `,${t.spacingInner}` : t.min || (s += ",");
    }
    s += t.spacingOuter + r;
  }
  return s;
}
a(u7, "printObjectProperties");
var ETe = typeof Symbol == "function" && Symbol.for ? Symbol.for("jest.asymmetricMatcher") : 1267621, Cv = " ", RTe = /* @__PURE__ */ a((e, t, r, n, o, i) => {
  let s = e.toString();
  if (s === "ArrayContaining" || s === "ArrayNotContaining")
    return ++n > t.maxDepth ? `[${s}]` : `${s + Cv}[${Pv(e.sample, t, r, n, o, i)}]`;
  if (s === "ObjectContaining" || s === "ObjectNotContaining")
    return ++n > t.maxDepth ? `[${s}]` : `${s + Cv}{${u7(e.sample, t, r, n, o, i)}}`;
  if (s === "StringMatching" || s === "StringNotMatching" || s === "StringContaining" || s === "StringNotContaining")
    return s + Cv + i(e.sample, t, r, n, o);
  if (typeof e.toAsymmetricMatcher != "function")
    throw new TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`);
  return e.toAsymmetricMatcher();
}, "serialize$5"), xTe = /* @__PURE__ */ a((e) => e && e.$$typeof === ETe, "test$5"), STe = {
  serialize: RTe,
  test: xTe
}, CTe = " ", tG = /* @__PURE__ */ new Set(["DOMStringMap", "NamedNodeMap"]), _Te = /^(?:HTML\w*Collection|NodeList)$/;
function PTe(e) {
  return tG.has(e) || _Te.test(e);
}
a(PTe, "testName");
var TTe = /* @__PURE__ */ a((e) => e && e.constructor && !!e.constructor.name && PTe(e.constructor.name), "test$4");
function ATe(e) {
  return e.constructor.name === "NamedNodeMap";
}
a(ATe, "isNamedNodeMap");
var OTe = /* @__PURE__ */ a((e, t, r, n, o, i) => {
  let s = e.constructor.name;
  return ++n > t.maxDepth ? `[${s}]` : (t.min ? "" : s + CTe) + (tG.has(s) ? `{${u7(ATe(e) ? [...e].reduce((l, u) => (l[u.name] = u.value, l),
  {}) : { ...e }, t, r, n, o, i)}}` : `[${Pv([...e], t, r, n, o, i)}]`);
}, "serialize$4"), ITe = {
  serialize: OTe,
  test: TTe
};
function rG(e) {
  return e.replaceAll("<", "&lt;").replaceAll(">", "&gt;");
}
a(rG, "escapeHTML");
function c7(e, t, r, n, o, i, s) {
  let l = n + r.indent, u = r.colors;
  return e.map((c) => {
    let d = t[c], f = s(d, r, l, o, i);
    return typeof d != "string" && (f.includes(`
`) && (f = r.spacingOuter + l + f + r.spacingOuter + n), f = `{${f}}`), `${r.spacingInner + n + u.prop.open + c + u.prop.close}=${u.value.open}${f}${u.
    value.close}`;
  }).join("");
}
a(c7, "printProps");
function d7(e, t, r, n, o, i) {
  return e.map((s) => t.spacingOuter + r + (typeof s == "string" ? nG(s, t) : i(s, t, r, n, o))).join("");
}
a(d7, "printChildren");
function nG(e, t) {
  let r = t.colors.content;
  return r.open + rG(e) + r.close;
}
a(nG, "printText");
function MTe(e, t) {
  let r = t.colors.comment;
  return `${r.open}<!--${rG(e)}-->${r.close}`;
}
a(MTe, "printComment");
function f7(e, t, r, n, o) {
  let i = n.colors.tag;
  return `${i.open}<${e}${t && i.close + t + n.spacingOuter + o + i.open}${r ? `>${i.close}${r}${n.spacingOuter}${o}${i.open}</${e}` : `${t &&
  !n.min ? "" : " "}/`}>${i.close}`;
}
a(f7, "printElement");
function p7(e, t) {
  let r = t.colors.tag;
  return `${r.open}<${e}${r.close} \u2026${r.open} />${r.close}`;
}
a(p7, "printElementAsLeaf");
var NTe = 1, oG = 3, aG = 8, iG = 11, LTe = /^(?:(?:HTML|SVG)\w*)?Element$/;
function kTe(e) {
  try {
    return typeof e.hasAttribute == "function" && e.hasAttribute("is");
  } catch {
    return !1;
  }
}
a(kTe, "testHasAttribute");
function qTe(e) {
  let t = e.constructor.name, { nodeType: r, tagName: n } = e, o = typeof n == "string" && n.includes("-") || kTe(e);
  return r === NTe && (LTe.test(t) || o) || r === oG && t === "Text" || r === aG && t === "Comment" || r === iG && t === "DocumentFragment";
}
a(qTe, "testNode");
var DTe = /* @__PURE__ */ a((e) => {
  var t;
  return (e == null || (t = e.constructor) === null || t === void 0 ? void 0 : t.name) && qTe(e);
}, "test$3");
function FTe(e) {
  return e.nodeType === oG;
}
a(FTe, "nodeIsText");
function jTe(e) {
  return e.nodeType === aG;
}
a(jTe, "nodeIsComment");
function o7(e) {
  return e.nodeType === iG;
}
a(o7, "nodeIsFragment");
var BTe = /* @__PURE__ */ a((e, t, r, n, o, i) => {
  if (FTe(e))
    return nG(e.data, t);
  if (jTe(e))
    return MTe(e.data, t);
  let s = o7(e) ? "DocumentFragment" : e.tagName.toLowerCase();
  return ++n > t.maxDepth ? p7(s, t) : f7(s, c7(o7(e) ? [] : Array.from(e.attributes, (l) => l.name).sort(), o7(e) ? {} : [...e.attributes].
  reduce((l, u) => (l[u.name] = u.value, l), {}), t, r + t.indent, n, o, i), d7(Array.prototype.slice.call(e.childNodes || e.children), t, r +
  t.indent, n, o, i), t, r);
}, "serialize$3"), $Te = {
  serialize: BTe,
  test: DTe
}, HTe = "@@__IMMUTABLE_ITERABLE__@@", zTe = "@@__IMMUTABLE_LIST__@@", UTe = "@@__IMMUTABLE_KEYED__@@", VTe = "@@__IMMUTABLE_MAP__@@", HW = "\
@@__IMMUTABLE_ORDERED__@@", WTe = "@@__IMMUTABLE_RECORD__@@", GTe = "@@__IMMUTABLE_SEQ__@@", YTe = "@@__IMMUTABLE_SET__@@", KTe = "@@__IMMUT\
ABLE_STACK__@@", nd = /* @__PURE__ */ a((e) => `Immutable.${e}`, "getImmutableName"), Av = /* @__PURE__ */ a((e) => `[${e}]`, "printAsLeaf"),
nm = " ", zW = "\u2026";
function XTe(e, t, r, n, o, i, s) {
  return ++n > t.maxDepth ? Av(nd(s)) : `${nd(s) + nm}{${om(e.entries(), t, r, n, o, i)}}`;
}
a(XTe, "printImmutableEntries");
function JTe(e) {
  let t = 0;
  return { next() {
    if (t < e._keys.length) {
      let r = e._keys[t++];
      return {
        done: !1,
        value: [r, e.get(r)]
      };
    }
    return {
      done: !0,
      value: void 0
    };
  } };
}
a(JTe, "getRecordEntries");
function QTe(e, t, r, n, o, i) {
  let s = nd(e._name || "Record");
  return ++n > t.maxDepth ? Av(s) : `${s + nm}{${om(JTe(e), t, r, n, o, i)}}`;
}
a(QTe, "printImmutableRecord");
function ZTe(e, t, r, n, o, i) {
  let s = nd("Seq");
  return ++n > t.maxDepth ? Av(s) : e[UTe] ? `${s + nm}{${e._iter || e._object ? om(e.entries(), t, r, n, o, i) : zW}}` : `${s + nm}[${e._iter ||
  e._array || e._collection || e._iterable ? l7(e.values(), t, r, n, o, i) : zW}]`;
}
a(ZTe, "printImmutableSeq");
function a7(e, t, r, n, o, i, s) {
  return ++n > t.maxDepth ? Av(nd(s)) : `${nd(s) + nm}[${l7(e.values(), t, r, n, o, i)}]`;
}
a(a7, "printImmutableValues");
var eAe = /* @__PURE__ */ a((e, t, r, n, o, i) => e[VTe] ? XTe(e, t, r, n, o, i, e[HW] ? "OrderedMap" : "Map") : e[zTe] ? a7(e, t, r, n, o, i,
"List") : e[YTe] ? a7(e, t, r, n, o, i, e[HW] ? "OrderedSet" : "Set") : e[KTe] ? a7(e, t, r, n, o, i, "Stack") : e[GTe] ? ZTe(e, t, r, n, o,
i) : QTe(e, t, r, n, o, i), "serialize$2"), tAe = /* @__PURE__ */ a((e) => e && (e[HTe] === !0 || e[WTe] === !0), "test$2"), rAe = {
  serialize: eAe,
  test: tAe
};
function sG(e) {
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
}
a(sG, "getDefaultExportFromCjs");
var i7 = { exports: {} }, He = {};
var UW;
function nAe() {
  if (UW) return He;
  UW = 1;
  var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.\
strict_mode"), o = Symbol.for("react.profiler"), i = Symbol.for("react.consumer"), s = Symbol.for("react.context"), l = Symbol.for("react.fo\
rward_ref"), u = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), f = Symbol.for("react.la\
zy"), p = Symbol.for("react.view_transition"), m = Symbol.for("react.client.reference");
  function v(y) {
    if (typeof y == "object" && y !== null) {
      var b = y.$$typeof;
      switch (b) {
        case e:
          switch (y = y.type, y) {
            case r:
            case o:
            case n:
            case u:
            case c:
            case p:
              return y;
            default:
              switch (y = y && y.$$typeof, y) {
                case s:
                case l:
                case f:
                case d:
                  return y;
                case i:
                  return y;
                default:
                  return b;
              }
          }
        case t:
          return b;
      }
    }
  }
  return a(v, "typeOf"), He.ContextConsumer = i, He.ContextProvider = s, He.Element = e, He.ForwardRef = l, He.Fragment = r, He.Lazy = f, He.
  Memo = d, He.Portal = t, He.Profiler = o, He.StrictMode = n, He.Suspense = u, He.SuspenseList = c, He.isContextConsumer = function(y) {
    return v(y) === i;
  }, He.isContextProvider = function(y) {
    return v(y) === s;
  }, He.isElement = function(y) {
    return typeof y == "object" && y !== null && y.$$typeof === e;
  }, He.isForwardRef = function(y) {
    return v(y) === l;
  }, He.isFragment = function(y) {
    return v(y) === r;
  }, He.isLazy = function(y) {
    return v(y) === f;
  }, He.isMemo = function(y) {
    return v(y) === d;
  }, He.isPortal = function(y) {
    return v(y) === t;
  }, He.isProfiler = function(y) {
    return v(y) === o;
  }, He.isStrictMode = function(y) {
    return v(y) === n;
  }, He.isSuspense = function(y) {
    return v(y) === u;
  }, He.isSuspenseList = function(y) {
    return v(y) === c;
  }, He.isValidElementType = function(y) {
    return typeof y == "string" || typeof y == "function" || y === r || y === o || y === n || y === u || y === c || typeof y == "object" && y !==
    null && (y.$$typeof === f || y.$$typeof === d || y.$$typeof === s || y.$$typeof === i || y.$$typeof === l || y.$$typeof === m || y.getModuleId !==
    void 0);
  }, He.typeOf = v, He;
}
a(nAe, "requireReactIs_production");
var VW;
function oAe() {
  return VW || (VW = 1, i7.exports = nAe()), i7.exports;
}
a(oAe, "requireReactIs$1");
var lG = oAe(), aAe = /* @__PURE__ */ sG(lG), iAe = /* @__PURE__ */ eG({
  __proto__: null,
  default: aAe
}, [lG]), s7 = { exports: {} }, qe = {};
var WW;
function sAe() {
  if (WW) return qe;
  WW = 1;
  var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"),
  o = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), s = Symbol.for("react.context"), l = Symbol.for("react.server_context"),
  u = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"),
  p = Symbol.for("react.lazy"), m = Symbol.for("react.offscreen"), v;
  v = Symbol.for("react.module.reference");
  function y(b) {
    if (typeof b == "object" && b !== null) {
      var g = b.$$typeof;
      switch (g) {
        case e:
          switch (b = b.type, b) {
            case r:
            case o:
            case n:
            case c:
            case d:
              return b;
            default:
              switch (b = b && b.$$typeof, b) {
                case l:
                case s:
                case u:
                case p:
                case f:
                case i:
                  return b;
                default:
                  return g;
              }
          }
        case t:
          return g;
      }
    }
  }
  return a(y, "v"), qe.ContextConsumer = s, qe.ContextProvider = i, qe.Element = e, qe.ForwardRef = u, qe.Fragment = r, qe.Lazy = p, qe.Memo =
  f, qe.Portal = t, qe.Profiler = o, qe.StrictMode = n, qe.Suspense = c, qe.SuspenseList = d, qe.isAsyncMode = function() {
    return !1;
  }, qe.isConcurrentMode = function() {
    return !1;
  }, qe.isContextConsumer = function(b) {
    return y(b) === s;
  }, qe.isContextProvider = function(b) {
    return y(b) === i;
  }, qe.isElement = function(b) {
    return typeof b == "object" && b !== null && b.$$typeof === e;
  }, qe.isForwardRef = function(b) {
    return y(b) === u;
  }, qe.isFragment = function(b) {
    return y(b) === r;
  }, qe.isLazy = function(b) {
    return y(b) === p;
  }, qe.isMemo = function(b) {
    return y(b) === f;
  }, qe.isPortal = function(b) {
    return y(b) === t;
  }, qe.isProfiler = function(b) {
    return y(b) === o;
  }, qe.isStrictMode = function(b) {
    return y(b) === n;
  }, qe.isSuspense = function(b) {
    return y(b) === c;
  }, qe.isSuspenseList = function(b) {
    return y(b) === d;
  }, qe.isValidElementType = function(b) {
    return typeof b == "string" || typeof b == "function" || b === r || b === o || b === n || b === c || b === d || b === m || typeof b == "\
object" && b !== null && (b.$$typeof === p || b.$$typeof === f || b.$$typeof === i || b.$$typeof === s || b.$$typeof === u || b.$$typeof ===
    v || b.getModuleId !== void 0);
  }, qe.typeOf = y, qe;
}
a(sAe, "requireReactIs_production_min");
var GW;
function lAe() {
  return GW || (GW = 1, s7.exports = sAe()), s7.exports;
}
a(lAe, "requireReactIs");
var uG = lAe(), uAe = /* @__PURE__ */ sG(uG), cAe = /* @__PURE__ */ eG({
  __proto__: null,
  default: uAe
}, [uG]), dAe = [
  "isAsyncMode",
  "isConcurrentMode",
  "isContextConsumer",
  "isContextProvider",
  "isElement",
  "isForwardRef",
  "isFragment",
  "isLazy",
  "isMemo",
  "isPortal",
  "isProfiler",
  "isStrictMode",
  "isSuspense",
  "isSuspenseList",
  "isValidElementType"
], zl = Object.fromEntries(dAe.map((e) => [e, (t) => cAe[e](t) || iAe[e](t)]));
function cG(e, t = []) {
  if (Array.isArray(e))
    for (let r of e)
      cG(r, t);
  else e != null && e !== !1 && e !== "" && t.push(e);
  return t;
}
a(cG, "getChildren");
function YW(e) {
  let t = e.type;
  if (typeof t == "string")
    return t;
  if (typeof t == "function")
    return t.displayName || t.name || "Unknown";
  if (zl.isFragment(e))
    return "React.Fragment";
  if (zl.isSuspense(e))
    return "React.Suspense";
  if (typeof t == "object" && t !== null) {
    if (zl.isContextProvider(e))
      return "Context.Provider";
    if (zl.isContextConsumer(e))
      return "Context.Consumer";
    if (zl.isForwardRef(e)) {
      if (t.displayName)
        return t.displayName;
      let r = t.render.displayName || t.render.name || "";
      return r === "" ? "ForwardRef" : `ForwardRef(${r})`;
    }
    if (zl.isMemo(e)) {
      let r = t.displayName || t.type.displayName || t.type.name || "";
      return r === "" ? "Memo" : `Memo(${r})`;
    }
  }
  return "UNDEFINED";
}
a(YW, "getType");
function fAe(e) {
  let { props: t } = e;
  return Object.keys(t).filter((r) => r !== "children" && t[r] !== void 0).sort();
}
a(fAe, "getPropKeys$1");
var pAe = /* @__PURE__ */ a((e, t, r, n, o, i) => ++n > t.maxDepth ? p7(YW(e), t) : f7(YW(e), c7(fAe(e), e.props, t, r + t.indent, n, o, i),
d7(cG(e.props.children), t, r + t.indent, n, o, i), t, r), "serialize$1"), mAe = /* @__PURE__ */ a((e) => e != null && zl.isElement(e), "tes\
t$1"), hAe = {
  serialize: pAe,
  test: mAe
}, gAe = typeof Symbol == "function" && Symbol.for ? Symbol.for("react.test.json") : 245830487;
function yAe(e) {
  let { props: t } = e;
  return t ? Object.keys(t).filter((r) => t[r] !== void 0).sort() : [];
}
a(yAe, "getPropKeys");
var vAe = /* @__PURE__ */ a((e, t, r, n, o, i) => ++n > t.maxDepth ? p7(e.type, t) : f7(e.type, e.props ? c7(yAe(e), e.props, t, r + t.indent,
n, o, i) : "", e.children ? d7(e.children, t, r + t.indent, n, o, i) : "", t, r), "serialize"), bAe = /* @__PURE__ */ a((e) => e && e.$$typeof ===
gAe, "test"), wAe = {
  serialize: vAe,
  test: bAe
}, dG = Object.prototype.toString, EAe = Date.prototype.toISOString, RAe = Error.prototype.toString, KW = RegExp.prototype.toString;
function _v(e) {
  return typeof e.constructor == "function" && e.constructor.name || "Object";
}
a(_v, "getConstructorName");
function xAe(e) {
  return typeof window < "u" && e === window;
}
a(xAe, "isWindow");
var SAe = /^Symbol\((.*)\)(.*)$/, CAe = /\n/g, h7 = class h7 extends Error {
  constructor(t, r) {
    super(t), this.stack = r, this.name = this.constructor.name;
  }
};
a(h7, "PrettyFormatPluginError");
var Tv = h7;
function _Ae(e) {
  return e === "[object Array]" || e === "[object ArrayBuffer]" || e === "[object DataView]" || e === "[object Float32Array]" || e === "[obj\
ect Float64Array]" || e === "[object Int8Array]" || e === "[object Int16Array]" || e === "[object Int32Array]" || e === "[object Uint8Array]" ||
  e === "[object Uint8ClampedArray]" || e === "[object Uint16Array]" || e === "[object Uint32Array]";
}
a(_Ae, "isToStringedArrayType");
function PAe(e) {
  return Object.is(e, -0) ? "-0" : String(e);
}
a(PAe, "printNumber");
function TAe(e) {
  return `${e}n`;
}
a(TAe, "printBigInt");
function XW(e, t) {
  return t ? `[Function ${e.name || "anonymous"}]` : "[Function]";
}
a(XW, "printFunction");
function JW(e) {
  return String(e).replace(SAe, "Symbol($1)");
}
a(JW, "printSymbol");
function QW(e) {
  return `[${RAe.call(e)}]`;
}
a(QW, "printError");
function fG(e, t, r, n) {
  if (e === !0 || e === !1)
    return `${e}`;
  if (e === void 0)
    return "undefined";
  if (e === null)
    return "null";
  let o = typeof e;
  if (o === "number")
    return PAe(e);
  if (o === "bigint")
    return TAe(e);
  if (o === "string")
    return n ? `"${e.replaceAll(/"|\\/g, "\\$&")}"` : `"${e}"`;
  if (o === "function")
    return XW(e, t);
  if (o === "symbol")
    return JW(e);
  let i = dG.call(e);
  return i === "[object WeakMap]" ? "WeakMap {}" : i === "[object WeakSet]" ? "WeakSet {}" : i === "[object Function]" || i === "[object Gen\
eratorFunction]" ? XW(e, t) : i === "[object Symbol]" ? JW(e) : i === "[object Date]" ? Number.isNaN(+e) ? "Date { NaN }" : EAe.call(e) : i ===
  "[object Error]" ? QW(e) : i === "[object RegExp]" ? r ? KW.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g, "\\$&") : KW.call(e) : e instanceof Error ?
  QW(e) : null;
}
a(fG, "printBasicValue");
function pG(e, t, r, n, o, i) {
  if (o.includes(e))
    return "[Circular]";
  o = [...o], o.push(e);
  let s = ++n > t.maxDepth, l = t.min;
  if (t.callToJSON && !s && e.toJSON && typeof e.toJSON == "function" && !i)
    return ds(e.toJSON(), t, r, n, o, !0);
  let u = dG.call(e);
  return u === "[object Arguments]" ? s ? "[Arguments]" : `${l ? "" : "Arguments "}[${Pv(e, t, r, n, o, ds)}]` : _Ae(u) ? s ? `[${e.constructor.
  name}]` : `${l || !t.printBasicPrototype && e.constructor.name === "Array" ? "" : `${e.constructor.name} `}[${Pv(e, t, r, n, o, ds)}]` : u ===
  "[object Map]" ? s ? "[Map]" : `Map {${om(e.entries(), t, r, n, o, ds, " => ")}}` : u === "[object Set]" ? s ? "[Set]" : `Set {${l7(e.values(),
  t, r, n, o, ds)}}` : s || xAe(e) ? `[${_v(e)}]` : `${l || !t.printBasicPrototype && _v(e) === "Object" ? "" : `${_v(e)} `}{${u7(e, t, r, n,
  o, ds)}}`;
}
a(pG, "printComplexValue");
var AAe = {
  test: /* @__PURE__ */ a((e) => e && e instanceof Error, "test"),
  serialize(e, t, r, n, o, i) {
    if (o.includes(e))
      return "[Circular]";
    o = [...o, e];
    let s = ++n > t.maxDepth, { message: l, cause: u, ...c } = e, d = {
      message: l,
      ...typeof u < "u" ? { cause: u } : {},
      ...e instanceof AggregateError ? { errors: e.errors } : {},
      ...c
    }, f = e.name !== "Error" ? e.name : _v(e);
    return s ? `[${f}]` : `${f} {${om(Object.entries(d).values(), t, r, n, o, i)}}`;
  }
};
function OAe(e) {
  return e.serialize != null;
}
a(OAe, "isNewPlugin");
function mG(e, t, r, n, o, i) {
  let s;
  try {
    s = OAe(e) ? e.serialize(t, r, n, o, i, ds) : e.print(t, (l) => ds(l, r, n, o, i), (l) => {
      let u = n + r.indent;
      return u + l.replaceAll(CAe, `
${u}`);
    }, {
      edgeSpacing: r.spacingOuter,
      min: r.min,
      spacing: r.spacingInner
    }, r.colors);
  } catch (l) {
    throw new Tv(l.message, l.stack);
  }
  if (typeof s != "string")
    throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof s}".`);
  return s;
}
a(mG, "printPlugin");
function hG(e, t) {
  for (let r of e)
    try {
      if (r.test(t))
        return r;
    } catch (n) {
      throw new Tv(n.message, n.stack);
    }
  return null;
}
a(hG, "findPlugin");
function ds(e, t, r, n, o, i) {
  let s = hG(t.plugins, e);
  if (s !== null)
    return mG(s, e, t, r, n, o);
  let l = fG(e, t.printFunctionName, t.escapeRegex, t.escapeString);
  return l !== null ? l : pG(e, t, r, n, o, i);
}
a(ds, "printer");
var m7 = {
  comment: "gray",
  content: "reset",
  prop: "yellow",
  tag: "cyan",
  value: "green"
}, gG = Object.keys(m7), Ho = {
  callToJSON: !0,
  compareKeys: void 0,
  escapeRegex: !1,
  escapeString: !0,
  highlight: !1,
  indent: 2,
  maxDepth: Number.POSITIVE_INFINITY,
  maxWidth: Number.POSITIVE_INFINITY,
  min: !1,
  plugins: [],
  printBasicPrototype: !0,
  printFunctionName: !0,
  theme: m7
};
function IAe(e) {
  for (let t of Object.keys(e))
    if (!Object.prototype.hasOwnProperty.call(Ho, t))
      throw new Error(`pretty-format: Unknown option "${t}".`);
  if (e.min && e.indent !== void 0 && e.indent !== 0)
    throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');
}
a(IAe, "validateOptions");
function MAe() {
  return gG.reduce((e, t) => {
    let r = m7[t], n = r && Xe[r];
    if (n && typeof n.close == "string" && typeof n.open == "string")
      e[t] = n;
    else
      throw new Error(`pretty-format: Option "theme" has a key "${t}" whose value "${r}" is undefined in ansi-styles.`);
    return e;
  }, /* @__PURE__ */ Object.create(null));
}
a(MAe, "getColorsHighlight");
function NAe() {
  return gG.reduce((e, t) => (e[t] = {
    close: "",
    open: ""
  }, e), /* @__PURE__ */ Object.create(null));
}
a(NAe, "getColorsEmpty");
function yG(e) {
  return e?.printFunctionName ?? Ho.printFunctionName;
}
a(yG, "getPrintFunctionName");
function vG(e) {
  return e?.escapeRegex ?? Ho.escapeRegex;
}
a(vG, "getEscapeRegex");
function bG(e) {
  return e?.escapeString ?? Ho.escapeString;
}
a(bG, "getEscapeString");
function ZW(e) {
  return {
    callToJSON: e?.callToJSON ?? Ho.callToJSON,
    colors: e?.highlight ? MAe() : NAe(),
    compareKeys: typeof e?.compareKeys == "function" || e?.compareKeys === null ? e.compareKeys : Ho.compareKeys,
    escapeRegex: vG(e),
    escapeString: bG(e),
    indent: e?.min ? "" : LAe(e?.indent ?? Ho.indent),
    maxDepth: e?.maxDepth ?? Ho.maxDepth,
    maxWidth: e?.maxWidth ?? Ho.maxWidth,
    min: e?.min ?? Ho.min,
    plugins: e?.plugins ?? Ho.plugins,
    printBasicPrototype: e?.printBasicPrototype ?? !0,
    printFunctionName: yG(e),
    spacingInner: e?.min ? " " : `
`,
    spacingOuter: e?.min ? "" : `
`
  };
}
a(ZW, "getConfig");
function LAe(e) {
  return Array.from({ length: e + 1 }).join(" ");
}
a(LAe, "createIndent");
function ao(e, t) {
  if (t && (IAe(t), t.plugins)) {
    let n = hG(t.plugins, e);
    if (n !== null)
      return mG(n, e, ZW(t), "", 0, []);
  }
  let r = fG(e, yG(t), vG(t), bG(t));
  return r !== null ? r : pG(e, ZW(t), "", 0, []);
}
a(ao, "format");
var am = {
  AsymmetricMatcher: STe,
  DOMCollection: ITe,
  DOMElement: $Te,
  Immutable: rAe,
  ReactElement: hAe,
  ReactTestComponent: wAe,
  Error: AAe
};

// ../node_modules/loupe/lib/helpers.js
var wG = {
  bold: ["1", "22"],
  dim: ["2", "22"],
  italic: ["3", "23"],
  underline: ["4", "24"],
  // 5 & 6 are blinking
  inverse: ["7", "27"],
  hidden: ["8", "28"],
  strike: ["9", "29"],
  // 10-20 are fonts
  // 21-29 are resets for 1-9
  black: ["30", "39"],
  red: ["31", "39"],
  green: ["32", "39"],
  yellow: ["33", "39"],
  blue: ["34", "39"],
  magenta: ["35", "39"],
  cyan: ["36", "39"],
  white: ["37", "39"],
  brightblack: ["30;1", "39"],
  brightred: ["31;1", "39"],
  brightgreen: ["32;1", "39"],
  brightyellow: ["33;1", "39"],
  brightblue: ["34;1", "39"],
  brightmagenta: ["35;1", "39"],
  brightcyan: ["36;1", "39"],
  brightwhite: ["37;1", "39"],
  grey: ["90", "39"]
}, kAe = {
  special: "cyan",
  number: "yellow",
  bigint: "yellow",
  boolean: "yellow",
  undefined: "grey",
  null: "bold",
  string: "green",
  symbol: "green",
  date: "magenta",
  regexp: "red"
}, ri = "\u2026";
function qAe(e, t) {
  let r = wG[kAe[t]] || wG[t] || "";
  return r ? `\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m` : String(e);
}
a(qAe, "colorise");
function EG({
  showHidden: e = !1,
  depth: t = 2,
  colors: r = !1,
  customInspect: n = !0,
  showProxy: o = !1,
  maxArrayLength: i = 1 / 0,
  breakLength: s = 1 / 0,
  seen: l = [],
  // eslint-disable-next-line no-shadow
  truncate: u = 1 / 0,
  stylize: c = String
} = {}, d) {
  let f = {
    showHidden: !!e,
    depth: Number(t),
    colors: !!r,
    customInspect: !!n,
    showProxy: !!o,
    maxArrayLength: Number(i),
    breakLength: Number(s),
    truncate: Number(u),
    seen: l,
    inspect: d,
    stylize: c
  };
  return f.colors && (f.stylize = qAe), f;
}
a(EG, "normaliseOptions");
function DAe(e) {
  return e >= "\uD800" && e <= "\uDBFF";
}
a(DAe, "isHighSurrogate");
function _r(e, t, r = ri) {
  e = String(e);
  let n = r.length, o = e.length;
  if (n > t && o > n)
    return r;
  if (o > t && o > n) {
    let i = t - n;
    return i > 0 && DAe(e[i - 1]) && (i = i - 1), `${e.slice(0, i)}${r}`;
  }
  return e;
}
a(_r, "truncate");
function zt(e, t, r, n = ", ") {
  r = r || t.inspect;
  let o = e.length;
  if (o === 0)
    return "";
  let i = t.truncate, s = "", l = "", u = "";
  for (let c = 0; c < o; c += 1) {
    let d = c + 1 === e.length, f = c + 2 === e.length;
    u = `${ri}(${e.length - c})`;
    let p = e[c];
    t.truncate = i - s.length - (d ? 0 : n.length);
    let m = l || r(p, t) + (d ? "" : n), v = s.length + m.length, y = v + u.length;
    if (d && v > i && s.length + u.length <= i || !d && !f && y > i || (l = d ? "" : r(e[c + 1], t) + (f ? "" : n), !d && f && y > i && v + l.
    length > i))
      break;
    if (s += m, !d && !f && v + l.length >= i) {
      u = `${ri}(${e.length - c - 1})`;
      break;
    }
    u = "";
  }
  return `${s}${u}`;
}
a(zt, "inspectList");
function FAe(e) {
  return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/) ? e : JSON.stringify(e).replace(/'/g, "\\'").replace(/\\"/g, '"').replace(/(^"|"$)/g, "'");
}
a(FAe, "quoteComplexKey");
function ni([e, t], r) {
  return r.truncate -= 2, typeof e == "string" ? e = FAe(e) : typeof e != "number" && (e = `[${r.inspect(e, r)}]`), r.truncate -= e.length, t =
  r.inspect(t, r), `${e}: ${t}`;
}
a(ni, "inspectProperty");

// ../node_modules/loupe/lib/array.js
function g7(e, t) {
  let r = Object.keys(e).slice(e.length);
  if (!e.length && !r.length)
    return "[]";
  t.truncate -= 4;
  let n = zt(e, t);
  t.truncate -= n.length;
  let o = "";
  return r.length && (o = zt(r.map((i) => [i, e[i]]), t, ni)), `[ ${n}${o ? `, ${o}` : ""} ]`;
}
a(g7, "inspectArray");

// ../node_modules/loupe/lib/typedarray.js
var jAe = /* @__PURE__ */ a((e) => typeof Buffer == "function" && e instanceof Buffer ? "Buffer" : e[Symbol.toStringTag] ? e[Symbol.toStringTag] :
e.constructor.name, "getArrayName");
function zo(e, t) {
  let r = jAe(e);
  t.truncate -= r.length + 4;
  let n = Object.keys(e).slice(e.length);
  if (!e.length && !n.length)
    return `${r}[]`;
  let o = "";
  for (let s = 0; s < e.length; s++) {
    let l = `${t.stylize(_r(e[s], t.truncate), "number")}${s === e.length - 1 ? "" : ", "}`;
    if (t.truncate -= l.length, e[s] !== e.length && t.truncate <= 3) {
      o += `${ri}(${e.length - e[s] + 1})`;
      break;
    }
    o += l;
  }
  let i = "";
  return n.length && (i = zt(n.map((s) => [s, e[s]]), t, ni)), `${r}[ ${o}${i ? `, ${i}` : ""} ]`;
}
a(zo, "inspectTypedArray");

// ../node_modules/loupe/lib/date.js
function y7(e, t) {
  let r = e.toJSON();
  if (r === null)
    return "Invalid Date";
  let n = r.split("T"), o = n[0];
  return t.stylize(`${o}T${_r(n[1], t.truncate - o.length - 1)}`, "date");
}
a(y7, "inspectDate");

// ../node_modules/loupe/lib/function.js
function Ov(e, t) {
  let r = e[Symbol.toStringTag] || "Function", n = e.name;
  return n ? t.stylize(`[${r} ${_r(n, t.truncate - 11)}]`, "special") : t.stylize(`[${r}]`, "special");
}
a(Ov, "inspectFunction");

// ../node_modules/loupe/lib/map.js
function BAe([e, t], r) {
  return r.truncate -= 4, e = r.inspect(e, r), r.truncate -= e.length, t = r.inspect(t, r), `${e} => ${t}`;
}
a(BAe, "inspectMapEntry");
function $Ae(e) {
  let t = [];
  return e.forEach((r, n) => {
    t.push([n, r]);
  }), t;
}
a($Ae, "mapToEntries");
function v7(e, t) {
  return e.size === 0 ? "Map{}" : (t.truncate -= 7, `Map{ ${zt($Ae(e), t, BAe)} }`);
}
a(v7, "inspectMap");

// ../node_modules/loupe/lib/number.js
var HAe = Number.isNaN || ((e) => e !== e);
function Iv(e, t) {
  return HAe(e) ? t.stylize("NaN", "number") : e === 1 / 0 ? t.stylize("Infinity", "number") : e === -1 / 0 ? t.stylize("-Infinity", "number") :
  e === 0 ? t.stylize(1 / e === 1 / 0 ? "+0" : "-0", "number") : t.stylize(_r(String(e), t.truncate), "number");
}
a(Iv, "inspectNumber");

// ../node_modules/loupe/lib/bigint.js
function Mv(e, t) {
  let r = _r(e.toString(), t.truncate - 1);
  return r !== ri && (r += "n"), t.stylize(r, "bigint");
}
a(Mv, "inspectBigInt");

// ../node_modules/loupe/lib/regexp.js
function b7(e, t) {
  let r = e.toString().split("/")[2], n = t.truncate - (2 + r.length), o = e.source;
  return t.stylize(`/${_r(o, n)}/${r}`, "regexp");
}
a(b7, "inspectRegExp");

// ../node_modules/loupe/lib/set.js
function zAe(e) {
  let t = [];
  return e.forEach((r) => {
    t.push(r);
  }), t;
}
a(zAe, "arrayFromSet");
function w7(e, t) {
  return e.size === 0 ? "Set{}" : (t.truncate -= 7, `Set{ ${zt(zAe(e), t)} }`);
}
a(w7, "inspectSet");

// ../node_modules/loupe/lib/string.js
var RG = new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\u\
ffff]", "g"), UAe = {
  "\b": "\\b",
  "	": "\\t",
  "\n": "\\n",
  "\f": "\\f",
  "\r": "\\r",
  "'": "\\'",
  "\\": "\\\\"
}, VAe = 16, WAe = 4;
function GAe(e) {
  return UAe[e] || `\\u${`0000${e.charCodeAt(0).toString(VAe)}`.slice(-WAe)}`;
}
a(GAe, "escape");
function Nv(e, t) {
  return RG.test(e) && (e = e.replace(RG, GAe)), t.stylize(`'${_r(e, t.truncate - 2)}'`, "string");
}
a(Nv, "inspectString");

// ../node_modules/loupe/lib/symbol.js
function Lv(e) {
  return "description" in Symbol.prototype ? e.description ? `Symbol(${e.description})` : "Symbol()" : e.toString();
}
a(Lv, "inspectSymbol");

// ../node_modules/loupe/lib/promise.js
var xG = /* @__PURE__ */ a(() => "Promise{\u2026}", "getPromiseValue");
try {
  let { getPromiseDetails: e, kPending: t, kRejected: r } = process.binding("util");
  Array.isArray(e(Promise.resolve())) && (xG = /* @__PURE__ */ a((n, o) => {
    let [i, s] = e(n);
    return i === t ? "Promise{<pending>}" : `Promise${i === r ? "!" : ""}{${o.inspect(s, o)}}`;
  }, "getPromiseValue"));
} catch {
}
var SG = xG;

// ../node_modules/loupe/lib/object.js
function Ul(e, t) {
  let r = Object.getOwnPropertyNames(e), n = Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e) : [];
  if (r.length === 0 && n.length === 0)
    return "{}";
  if (t.truncate -= 4, t.seen = t.seen || [], t.seen.includes(e))
    return "[Circular]";
  t.seen.push(e);
  let o = zt(r.map((l) => [l, e[l]]), t, ni), i = zt(n.map((l) => [l, e[l]]), t, ni);
  t.seen.pop();
  let s = "";
  return o && i && (s = ", "), `{ ${o}${s}${i} }`;
}
a(Ul, "inspectObject");

// ../node_modules/loupe/lib/class.js
var E7 = typeof Symbol < "u" && Symbol.toStringTag ? Symbol.toStringTag : !1;
function R7(e, t) {
  let r = "";
  return E7 && E7 in e && (r = e[E7]), r = r || e.constructor.name, (!r || r === "_class") && (r = "<Anonymous Class>"), t.truncate -= r.length,
  `${r}${Ul(e, t)}`;
}
a(R7, "inspectClass");

// ../node_modules/loupe/lib/arguments.js
function x7(e, t) {
  return e.length === 0 ? "Arguments[]" : (t.truncate -= 13, `Arguments[ ${zt(e, t)} ]`);
}
a(x7, "inspectArguments");

// ../node_modules/loupe/lib/error.js
var YAe = [
  "stack",
  "line",
  "column",
  "name",
  "message",
  "fileName",
  "lineNumber",
  "columnNumber",
  "number",
  "description",
  "cause"
];
function S7(e, t) {
  let r = Object.getOwnPropertyNames(e).filter((s) => YAe.indexOf(s) === -1), n = e.name;
  t.truncate -= n.length;
  let o = "";
  if (typeof e.message == "string" ? o = _r(e.message, t.truncate) : r.unshift("message"), o = o ? `: ${o}` : "", t.truncate -= o.length + 5,
  t.seen = t.seen || [], t.seen.includes(e))
    return "[Circular]";
  t.seen.push(e);
  let i = zt(r.map((s) => [s, e[s]]), t, ni);
  return `${n}${o}${i ? ` { ${i} }` : ""}`;
}
a(S7, "inspectObject");

// ../node_modules/loupe/lib/html.js
function KAe([e, t], r) {
  return r.truncate -= 3, t ? `${r.stylize(String(e), "yellow")}=${r.stylize(`"${t}"`, "string")}` : `${r.stylize(String(e), "yellow")}`;
}
a(KAe, "inspectAttribute");
function kv(e, t) {
  return zt(e, t, XAe, `
`);
}
a(kv, "inspectNodeCollection");
function XAe(e, t) {
  switch (e.nodeType) {
    case 1:
      return qv(e, t);
    case 3:
      return t.inspect(e.data, t);
    default:
      return t.inspect(e, t);
  }
}
a(XAe, "inspectNode");
function qv(e, t) {
  let r = e.getAttributeNames(), n = e.tagName.toLowerCase(), o = t.stylize(`<${n}`, "special"), i = t.stylize(">", "special"), s = t.stylize(
  `</${n}>`, "special");
  t.truncate -= n.length * 2 + 5;
  let l = "";
  r.length > 0 && (l += " ", l += zt(r.map((d) => [d, e.getAttribute(d)]), t, KAe, " ")), t.truncate -= l.length;
  let u = t.truncate, c = kv(e.children, t);
  return c && c.length > u && (c = `${ri}(${e.children.length})`), `${o}${l}${i}${c}${s}`;
}
a(qv, "inspectHTML");

// ../node_modules/loupe/lib/index.js
var JAe = typeof Symbol == "function" && typeof Symbol.for == "function", C7 = JAe ? Symbol.for("chai/inspect") : "@@chai/inspect", _7 = Symbol.
for("nodejs.util.inspect.custom"), CG = /* @__PURE__ */ new WeakMap(), _G = {}, PG = {
  undefined: /* @__PURE__ */ a((e, t) => t.stylize("undefined", "undefined"), "undefined"),
  null: /* @__PURE__ */ a((e, t) => t.stylize("null", "null"), "null"),
  boolean: /* @__PURE__ */ a((e, t) => t.stylize(String(e), "boolean"), "boolean"),
  Boolean: /* @__PURE__ */ a((e, t) => t.stylize(String(e), "boolean"), "Boolean"),
  number: Iv,
  Number: Iv,
  bigint: Mv,
  BigInt: Mv,
  string: Nv,
  String: Nv,
  function: Ov,
  Function: Ov,
  symbol: Lv,
  // A Symbol polyfill will return `Symbol` not `symbol` from typedetect
  Symbol: Lv,
  Array: g7,
  Date: y7,
  Map: v7,
  Set: w7,
  RegExp: b7,
  Promise: SG,
  // WeakSet, WeakMap are totally opaque to us
  WeakSet: /* @__PURE__ */ a((e, t) => t.stylize("WeakSet{\u2026}", "special"), "WeakSet"),
  WeakMap: /* @__PURE__ */ a((e, t) => t.stylize("WeakMap{\u2026}", "special"), "WeakMap"),
  Arguments: x7,
  Int8Array: zo,
  Uint8Array: zo,
  Uint8ClampedArray: zo,
  Int16Array: zo,
  Uint16Array: zo,
  Int32Array: zo,
  Uint32Array: zo,
  Float32Array: zo,
  Float64Array: zo,
  Generator: /* @__PURE__ */ a(() => "", "Generator"),
  DataView: /* @__PURE__ */ a(() => "", "DataView"),
  ArrayBuffer: /* @__PURE__ */ a(() => "", "ArrayBuffer"),
  Error: S7,
  HTMLCollection: kv,
  NodeList: kv
}, QAe = /* @__PURE__ */ a((e, t, r) => C7 in e && typeof e[C7] == "function" ? e[C7](t) : _7 in e && typeof e[_7] == "function" ? e[_7](t.depth,
t) : "inspect" in e && typeof e.inspect == "function" ? e.inspect(t.depth, t) : "constructor" in e && CG.has(e.constructor) ? CG.get(e.constructor)(
e, t) : _G[r] ? _G[r](e, t) : "", "inspectCustom"), ZAe = Object.prototype.toString;
function Dv(e, t = {}) {
  let r = EG(t, Dv), { customInspect: n } = r, o = e === null ? "null" : typeof e;
  if (o === "object" && (o = ZAe.call(e).slice(8, -1)), o in PG)
    return PG[o](e, r);
  if (n && e) {
    let s = QAe(e, r, o);
    if (s)
      return typeof s == "string" ? s : Dv(s, r);
  }
  let i = e ? Object.getPrototypeOf(e) : !1;
  return i === Object.prototype || i === null ? Ul(e, r) : e && typeof HTMLElement == "function" && e instanceof HTMLElement ? qv(e, r) : "c\
onstructor" in e ? e.constructor !== Object ? R7(e, r) : Ul(e, r) : e === Object(e) ? Ul(e, r) : r.stylize(String(e), o);
}
a(Dv, "inspect");

// ../node_modules/@vitest/utils/dist/chunk-_commonjsHelpers.js
var { AsymmetricMatcher: t7e, DOMCollection: r7e, DOMElement: n7e, Immutable: o7e, ReactElement: a7e, ReactTestComponent: i7e } = am, TG = [
  i7e,
  a7e,
  n7e,
  r7e,
  o7e,
  t7e
];
function mr(e, t = 10, { maxLength: r, ...n } = {}) {
  let o = r ?? 1e4, i;
  try {
    i = ao(e, {
      maxDepth: t,
      escapeString: !1,
      plugins: TG,
      ...n
    });
  } catch {
    i = ao(e, {
      callToJSON: !1,
      maxDepth: t,
      escapeString: !1,
      plugins: TG,
      ...n
    });
  }
  return i.length >= o && t > 1 ? mr(e, Math.floor(Math.min(t, Number.MAX_SAFE_INTEGER) / 2), {
    maxLength: r,
    ...n
  }) : i;
}
a(mr, "stringify");
var s7e = /%[sdjifoOc%]/g;
function P7(...e) {
  if (typeof e[0] != "string") {
    let i = [];
    for (let s = 0; s < e.length; s++)
      i.push(od(e[s], {
        depth: 0,
        colors: !1
      }));
    return i.join(" ");
  }
  let t = e.length, r = 1, n = e[0], o = String(n).replace(s7e, (i) => {
    if (i === "%%")
      return "%";
    if (r >= t)
      return i;
    switch (i) {
      case "%s": {
        let s = e[r++];
        return typeof s == "bigint" ? `${s.toString()}n` : typeof s == "number" && s === 0 && 1 / s < 0 ? "-0" : typeof s == "object" && s !==
        null ? typeof s.toString == "function" && s.toString !== Object.prototype.toString ? s.toString() : od(s, {
          depth: 0,
          colors: !1
        }) : String(s);
      }
      case "%d": {
        let s = e[r++];
        return typeof s == "bigint" ? `${s.toString()}n` : Number(s).toString();
      }
      case "%i": {
        let s = e[r++];
        return typeof s == "bigint" ? `${s.toString()}n` : Number.parseInt(String(s)).toString();
      }
      case "%f":
        return Number.parseFloat(String(e[r++])).toString();
      case "%o":
        return od(e[r++], {
          showHidden: !0,
          showProxy: !0
        });
      case "%O":
        return od(e[r++]);
      case "%c":
        return r++, "";
      case "%j":
        try {
          return JSON.stringify(e[r++]);
        } catch (s) {
          let l = s.message;
          if (l.includes("circular structure") || l.includes("cyclic structures") || l.includes("cyclic object"))
            return "[Circular]";
          throw s;
        }
      default:
        return i;
    }
  });
  for (let i = e[r]; r < t; i = e[++r])
    i === null || typeof i != "object" ? o += ` ${i}` : o += ` ${od(i)}`;
  return o;
}
a(P7, "format");
function od(e, t = {}) {
  return t.truncate === 0 && (t.truncate = Number.POSITIVE_INFINITY), Dv(e, t);
}
a(od, "inspect");
function AG(e) {
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
}
a(AG, "getDefaultExportFromCjs");

// ../node_modules/@vitest/utils/dist/helpers.js
function Uo(e, t, r) {
  let n = typeof e;
  if (!r.includes(n))
    throw new TypeError(`${t} value must be ${r.join(" or ")}, received "${n}"`);
}
a(Uo, "assertTypes");
function ad(e) {
  return e != null && typeof e == "object" && !Array.isArray(e);
}
a(ad, "isObject");
function l7e(e) {
  return e === Object.prototype || e === Function.prototype || e === RegExp.prototype;
}
a(l7e, "isFinalObj");
function Vl(e) {
  return Object.prototype.toString.apply(e).slice(8, -1);
}
a(Vl, "getType");
function u7e(e, t) {
  let r = typeof t == "function" ? t : (n) => t.add(n);
  Object.getOwnPropertyNames(e).forEach(r), Object.getOwnPropertySymbols(e).forEach(r);
}
a(u7e, "collectOwnProperties");
function jv(e) {
  let t = /* @__PURE__ */ new Set();
  return l7e(e) ? [] : (u7e(e, t), Array.from(t));
}
a(jv, "getOwnProperties");
var OG = { forceWritable: !1 };
function Bv(e, t = OG) {
  return Fv(e, /* @__PURE__ */ new WeakMap(), t);
}
a(Bv, "deepClone");
function Fv(e, t, r = OG) {
  let n, o;
  if (t.has(e))
    return t.get(e);
  if (Array.isArray(e)) {
    for (o = Array.from({ length: n = e.length }), t.set(e, o); n--; )
      o[n] = Fv(e[n], t, r);
    return o;
  }
  if (Object.prototype.toString.call(e) === "[object Object]") {
    o = Object.create(Object.getPrototypeOf(e)), t.set(e, o);
    let i = jv(e);
    for (let s of i) {
      let l = Object.getOwnPropertyDescriptor(e, s);
      if (!l)
        continue;
      let u = Fv(e[s], t, r);
      r.forceWritable ? Object.defineProperty(o, s, {
        enumerable: l.enumerable,
        configurable: !0,
        writable: !0,
        value: u
      }) : "get" in l ? Object.defineProperty(o, s, {
        ...l,
        get() {
          return u;
        }
      }) : Object.defineProperty(o, s, {
        ...l,
        value: u
      });
    }
    return o;
  }
  return e;
}
a(Fv, "clone");
function T7() {
}
a(T7, "noop");

// ../node_modules/@vitest/utils/dist/diff.js
var Pr = -1, hr = 1, Et = 0, D7 = class D7 {
  0;
  1;
  constructor(t, r) {
    this[0] = t, this[1] = r;
  }
};
a(D7, "Diff");
var rt = D7;
function c7e(e, t) {
  if (!e || !t || e.charAt(0) !== t.charAt(0))
    return 0;
  let r = 0, n = Math.min(e.length, t.length), o = n, i = 0;
  for (; r < o; )
    e.substring(i, o) === t.substring(i, o) ? (r = o, i = r) : n = o, o = Math.floor((n - r) / 2 + r);
  return o;
}
a(c7e, "diff_commonPrefix");
function WG(e, t) {
  if (!e || !t || e.charAt(e.length - 1) !== t.charAt(t.length - 1))
    return 0;
  let r = 0, n = Math.min(e.length, t.length), o = n, i = 0;
  for (; r < o; )
    e.substring(e.length - o, e.length - i) === t.substring(t.length - o, t.length - i) ? (r = o, i = r) : n = o, o = Math.floor((n - r) / 2 +
    r);
  return o;
}
a(WG, "diff_commonSuffix");
function IG(e, t) {
  let r = e.length, n = t.length;
  if (r === 0 || n === 0)
    return 0;
  r > n ? e = e.substring(r - n) : r < n && (t = t.substring(0, r));
  let o = Math.min(r, n);
  if (e === t)
    return o;
  let i = 0, s = 1;
  for (; ; ) {
    let l = e.substring(o - s), u = t.indexOf(l);
    if (u === -1)
      return i;
    s += u, (u === 0 || e.substring(o - s) === t.substring(0, s)) && (i = s, s++);
  }
}
a(IG, "diff_commonOverlap_");
function d7e(e) {
  let t = !1, r = [], n = 0, o = null, i = 0, s = 0, l = 0, u = 0, c = 0;
  for (; i < e.length; )
    e[i][0] === Et ? (r[n++] = i, s = u, l = c, u = 0, c = 0, o = e[i][1]) : (e[i][0] === hr ? u += e[i][1].length : c += e[i][1].length, o &&
    o.length <= Math.max(s, l) && o.length <= Math.max(u, c) && (e.splice(r[n - 1], 0, new rt(Pr, o)), e[r[n - 1] + 1][0] = hr, n--, n--, i =
    n > 0 ? r[n - 1] : -1, s = 0, l = 0, u = 0, c = 0, o = null, t = !0)), i++;
  for (t && GG(e), m7e(e), i = 1; i < e.length; ) {
    if (e[i - 1][0] === Pr && e[i][0] === hr) {
      let d = e[i - 1][1], f = e[i][1], p = IG(d, f), m = IG(f, d);
      p >= m ? (p >= d.length / 2 || p >= f.length / 2) && (e.splice(i, 0, new rt(Et, f.substring(0, p))), e[i - 1][1] = d.substring(0, d.length -
      p), e[i + 1][1] = f.substring(p), i++) : (m >= d.length / 2 || m >= f.length / 2) && (e.splice(i, 0, new rt(Et, d.substring(0, m))), e[i -
      1][0] = hr, e[i - 1][1] = f.substring(0, f.length - m), e[i + 1][0] = Pr, e[i + 1][1] = d.substring(m), i++), i++;
    }
    i++;
  }
}
a(d7e, "diff_cleanupSemantic");
var MG = /[^a-z0-9]/i, NG = /\s/, LG = /[\r\n]/, f7e = /\n\r?\n$/, p7e = /^\r?\n\r?\n/;
function m7e(e) {
  let t = 1;
  for (; t < e.length - 1; ) {
    if (e[t - 1][0] === Et && e[t + 1][0] === Et) {
      let r = e[t - 1][1], n = e[t][1], o = e[t + 1][1], i = WG(r, n);
      if (i) {
        let d = n.substring(n.length - i);
        r = r.substring(0, r.length - i), n = d + n.substring(0, n.length - i), o = d + o;
      }
      let s = r, l = n, u = o, c = $v(r, n) + $v(n, o);
      for (; n.charAt(0) === o.charAt(0); ) {
        r += n.charAt(0), n = n.substring(1) + o.charAt(0), o = o.substring(1);
        let d = $v(r, n) + $v(n, o);
        d >= c && (c = d, s = r, l = n, u = o);
      }
      e[t - 1][1] !== s && (s ? e[t - 1][1] = s : (e.splice(t - 1, 1), t--), e[t][1] = l, u ? e[t + 1][1] = u : (e.splice(t + 1, 1), t--));
    }
    t++;
  }
}
a(m7e, "diff_cleanupSemanticLossless");
function GG(e) {
  e.push(new rt(Et, ""));
  let t = 0, r = 0, n = 0, o = "", i = "", s;
  for (; t < e.length; )
    switch (e[t][0]) {
      case hr:
        n++, i += e[t][1], t++;
        break;
      case Pr:
        r++, o += e[t][1], t++;
        break;
      case Et:
        r + n > 1 ? (r !== 0 && n !== 0 && (s = c7e(i, o), s !== 0 && (t - r - n > 0 && e[t - r - n - 1][0] === Et ? e[t - r - n - 1][1] += i.
        substring(0, s) : (e.splice(0, 0, new rt(Et, i.substring(0, s))), t++), i = i.substring(s), o = o.substring(s)), s = WG(i, o), s !==
        0 && (e[t][1] = i.substring(i.length - s) + e[t][1], i = i.substring(0, i.length - s), o = o.substring(0, o.length - s))), t -= r + n,
        e.splice(t, r + n), o.length && (e.splice(t, 0, new rt(Pr, o)), t++), i.length && (e.splice(t, 0, new rt(hr, i)), t++), t++) : t !==
        0 && e[t - 1][0] === Et ? (e[t - 1][1] += e[t][1], e.splice(t, 1)) : t++, n = 0, r = 0, o = "", i = "";
        break;
    }
  e[e.length - 1][1] === "" && e.pop();
  let l = !1;
  for (t = 1; t < e.length - 1; )
    e[t - 1][0] === Et && e[t + 1][0] === Et && (e[t][1].substring(e[t][1].length - e[t - 1][1].length) === e[t - 1][1] ? (e[t][1] = e[t - 1][1] +
    e[t][1].substring(0, e[t][1].length - e[t - 1][1].length), e[t + 1][1] = e[t - 1][1] + e[t + 1][1], e.splice(t - 1, 1), l = !0) : e[t][1].
    substring(0, e[t + 1][1].length) === e[t + 1][1] && (e[t - 1][1] += e[t + 1][1], e[t][1] = e[t][1].substring(e[t + 1][1].length) + e[t +
    1][1], e.splice(t + 1, 1), l = !0)), t++;
  l && GG(e);
}
a(GG, "diff_cleanupMerge");
function $v(e, t) {
  if (!e || !t)
    return 6;
  let r = e.charAt(e.length - 1), n = t.charAt(0), o = r.match(MG), i = n.match(MG), s = o && r.match(NG), l = i && n.match(NG), u = s && r.
  match(LG), c = l && n.match(LG), d = u && e.match(f7e), f = c && t.match(p7e);
  return d || f ? 5 : u || c ? 4 : o && !s && l ? 3 : s || l ? 2 : o || i ? 1 : 0;
}
a($v, "diff_cleanupSemanticScore_");
var YG = "Compared values have no visual difference.", h7e = "Compared values serialize to the same structure.\nPrinting internal object stru\
cture without calling `toJSON` instead.", Hv = {}, kG;
function g7e() {
  if (kG) return Hv;
  kG = 1, Object.defineProperty(Hv, "__esModule", {
    value: !0
  }), Hv.default = p;
  let e = "diff-sequences", t = 0, r = /* @__PURE__ */ a((m, v, y, b, g) => {
    let w = 0;
    for (; m < v && y < b && g(m, y); )
      m += 1, y += 1, w += 1;
    return w;
  }, "countCommonItemsF"), n = /* @__PURE__ */ a((m, v, y, b, g) => {
    let w = 0;
    for (; m <= v && y <= b && g(v, b); )
      v -= 1, b -= 1, w += 1;
    return w;
  }, "countCommonItemsR"), o = /* @__PURE__ */ a((m, v, y, b, g, w, E) => {
    let x = 0, S = -m, C = w[x], _ = C;
    w[x] += r(
      C + 1,
      v,
      b + C - S + 1,
      y,
      g
    );
    let A = m < E ? m : E;
    for (x += 1, S += 2; x <= A; x += 1, S += 2) {
      if (x !== m && _ < w[x])
        C = w[x];
      else if (C = _ + 1, v <= C)
        return x - 1;
      _ = w[x], w[x] = C + r(C + 1, v, b + C - S + 1, y, g);
    }
    return E;
  }, "extendPathsF"), i = /* @__PURE__ */ a((m, v, y, b, g, w, E) => {
    let x = 0, S = m, C = w[x], _ = C;
    w[x] -= n(
      v,
      C - 1,
      y,
      b + C - S - 1,
      g
    );
    let A = m < E ? m : E;
    for (x += 1, S -= 2; x <= A; x += 1, S -= 2) {
      if (x !== m && w[x] < _)
        C = w[x];
      else if (C = _ - 1, C < v)
        return x - 1;
      _ = w[x], w[x] = C - n(
        v,
        C - 1,
        y,
        b + C - S - 1,
        g
      );
    }
    return E;
  }, "extendPathsR"), s = /* @__PURE__ */ a((m, v, y, b, g, w, E, x, S, C, _) => {
    let A = b - v, O = y - v, M = g - b - O, U = -M - (m - 1), Q = -M + (m - 1), z = t, $ = m < x ? m : x;
    for (let D = 0, V = -m; D <= $; D += 1, V += 2) {
      let G = D === 0 || D !== m && z < E[D], ne = G ? E[D] : z, de = G ? ne : ne + 1, se = A + de - V, B = r(
        de + 1,
        y,
        se + 1,
        g,
        w
      ), j = de + B;
      if (z = E[D], E[D] = j, U <= V && V <= Q) {
        let J = (m - 1 - (V + M)) / 2;
        if (J <= C && S[J] - 1 <= j) {
          let X = A + ne - (G ? V + 1 : V - 1), ie = n(
            v,
            ne,
            b,
            X,
            w
          ), me = ne - ie, xe = X - ie, st = me + 1, bo = xe + 1;
          _.nChangePreceding = m - 1, m - 1 === st + bo - v - b ? (_.aEndPreceding = v, _.bEndPreceding = b) : (_.aEndPreceding = st, _.bEndPreceding =
          bo), _.nCommonPreceding = ie, ie !== 0 && (_.aCommonPreceding = st, _.bCommonPreceding = bo), _.nCommonFollowing = B, B !== 0 && (_.
          aCommonFollowing = de + 1, _.bCommonFollowing = se + 1);
          let or = j + 1, Ue = se + B + 1;
          return _.nChangeFollowing = m - 1, m - 1 === y + g - or - Ue ? (_.aStartFollowing = y, _.bStartFollowing = g) : (_.aStartFollowing =
          or, _.bStartFollowing = Ue), !0;
        }
      }
    }
    return !1;
  }, "extendOverlappablePathsF"), l = /* @__PURE__ */ a((m, v, y, b, g, w, E, x, S, C, _) => {
    let A = g - y, O = y - v, M = g - b - O, U = M - m, Q = M + m, z = t, $ = m < C ? m : C;
    for (let D = 0, V = m; D <= $; D += 1, V -= 2) {
      let G = D === 0 || D !== m && S[D] < z, ne = G ? S[D] : z, de = G ? ne : ne - 1, se = A + de - V, B = n(
        v,
        de - 1,
        b,
        se - 1,
        w
      ), j = de - B;
      if (z = S[D], S[D] = j, U <= V && V <= Q) {
        let J = (m + (V - M)) / 2;
        if (J <= x && j - 1 <= E[J]) {
          let X = se - B;
          if (_.nChangePreceding = m, m === j + X - v - b ? (_.aEndPreceding = v, _.bEndPreceding = b) : (_.aEndPreceding = j, _.bEndPreceding =
          X), _.nCommonPreceding = B, B !== 0 && (_.aCommonPreceding = j, _.bCommonPreceding = X), _.nChangeFollowing = m - 1, m === 1)
            _.nCommonFollowing = 0, _.aStartFollowing = y, _.bStartFollowing = g;
          else {
            let ie = A + ne - (G ? V - 1 : V + 1), me = r(
              ne,
              y,
              ie,
              g,
              w
            );
            _.nCommonFollowing = me, me !== 0 && (_.aCommonFollowing = ne, _.bCommonFollowing = ie);
            let xe = ne + me, st = ie + me;
            m - 1 === y + g - xe - st ? (_.aStartFollowing = y, _.bStartFollowing = g) : (_.aStartFollowing = xe, _.bStartFollowing = st);
          }
          return !0;
        }
      }
    }
    return !1;
  }, "extendOverlappablePathsR"), u = /* @__PURE__ */ a((m, v, y, b, g, w, E, x, S) => {
    let C = b - v, _ = g - y, A = y - v, O = g - b, q = O - A, M = A, U = A;
    if (E[0] = v - 1, x[0] = y, q % 2 === 0) {
      let Q = (m || q) / 2, z = (A + O) / 2;
      for (let $ = 1; $ <= z; $ += 1)
        if (M = o($, y, g, C, w, E, M), $ < Q)
          U = i($, v, b, _, w, x, U);
        else if (
          // If a reverse path overlaps a forward path in the same diagonal,
          // return a division of the index intervals at the middle change.
          l(
            $,
            v,
            y,
            b,
            g,
            w,
            E,
            M,
            x,
            U,
            S
          )
        )
          return;
    } else {
      let Q = ((m || q) + 1) / 2, z = (A + O + 1) / 2, $ = 1;
      for (M = o($, y, g, C, w, E, M), $ += 1; $ <= z; $ += 1)
        if (U = i(
          $ - 1,
          v,
          b,
          _,
          w,
          x,
          U
        ), $ < Q)
          M = o($, y, g, C, w, E, M);
        else if (
          // If a forward path overlaps a reverse path in the same diagonal,
          // return a division of the index intervals at the middle change.
          s(
            $,
            v,
            y,
            b,
            g,
            w,
            E,
            M,
            x,
            U,
            S
          )
        )
          return;
    }
    throw new Error(
      `${e}: no overlap aStart=${v} aEnd=${y} bStart=${b} bEnd=${g}`
    );
  }, "divide"), c = /* @__PURE__ */ a((m, v, y, b, g, w, E, x, S, C) => {
    if (g - b < y - v) {
      if (w = !w, w && E.length === 1) {
        let { foundSubsequence: j, isCommon: J } = E[0];
        E[1] = {
          foundSubsequence: /* @__PURE__ */ a((X, ie, me) => {
            j(X, me, ie);
          }, "foundSubsequence"),
          isCommon: /* @__PURE__ */ a((X, ie) => J(ie, X), "isCommon")
        };
      }
      let se = v, B = y;
      v = b, y = g, b = se, g = B;
    }
    let { foundSubsequence: _, isCommon: A } = E[w ? 1 : 0];
    u(
      m,
      v,
      y,
      b,
      g,
      A,
      x,
      S,
      C
    );
    let {
      nChangePreceding: O,
      aEndPreceding: q,
      bEndPreceding: M,
      nCommonPreceding: U,
      aCommonPreceding: Q,
      bCommonPreceding: z,
      nCommonFollowing: $,
      aCommonFollowing: D,
      bCommonFollowing: V,
      nChangeFollowing: G,
      aStartFollowing: ne,
      bStartFollowing: de
    } = C;
    v < q && b < M && c(
      O,
      v,
      q,
      b,
      M,
      w,
      E,
      x,
      S,
      C
    ), U !== 0 && _(U, Q, z), $ !== 0 && _($, D, V), ne < y && de < g && c(
      G,
      ne,
      y,
      de,
      g,
      w,
      E,
      x,
      S,
      C
    );
  }, "findSubsequences"), d = /* @__PURE__ */ a((m, v) => {
    if (typeof v != "number")
      throw new TypeError(`${e}: ${m} typeof ${typeof v} is not a number`);
    if (!Number.isSafeInteger(v))
      throw new RangeError(`${e}: ${m} value ${v} is not a safe integer`);
    if (v < 0)
      throw new RangeError(`${e}: ${m} value ${v} is a negative integer`);
  }, "validateLength"), f = /* @__PURE__ */ a((m, v) => {
    let y = typeof v;
    if (y !== "function")
      throw new TypeError(`${e}: ${m} typeof ${y} is not a function`);
  }, "validateCallback");
  function p(m, v, y, b) {
    d("aLength", m), d("bLength", v), f("isCommon", y), f("foundSubsequence", b);
    let g = r(0, m, 0, v, y);
    if (g !== 0 && b(g, 0, 0), m !== g || v !== g) {
      let w = g, E = g, x = n(
        w,
        m - 1,
        E,
        v - 1,
        y
      ), S = m - x, C = v - x, _ = g + x;
      m !== _ && v !== _ && c(
        0,
        w,
        S,
        E,
        C,
        !1,
        [
          {
            foundSubsequence: b,
            isCommon: y
          }
        ],
        [t],
        [t],
        {
          aCommonFollowing: t,
          aCommonPreceding: t,
          aEndPreceding: t,
          aStartFollowing: t,
          bCommonFollowing: t,
          bCommonPreceding: t,
          bEndPreceding: t,
          bStartFollowing: t,
          nChangeFollowing: t,
          nChangePreceding: t,
          nCommonFollowing: t,
          nCommonPreceding: t
        }
      ), x !== 0 && b(x, S, C);
    }
  }
  return a(p, "diffSequence"), Hv;
}
a(g7e, "requireBuild");
var y7e = g7e(), KG = /* @__PURE__ */ AG(y7e);
function v7e(e, t) {
  return e.replace(/\s+$/, (r) => t(r));
}
a(v7e, "formatTrailingSpaces");
function k7(e, t, r, n, o, i) {
  return e.length !== 0 ? r(`${n} ${v7e(e, o)}`) : n !== " " ? r(n) : t && i.length !== 0 ? r(`${n} ${i}`) : "";
}
a(k7, "printDiffLine");
function XG(e, t, { aColor: r, aIndicator: n, changeLineTrailingSpaceColor: o, emptyFirstOrLastLinePlaceholder: i }) {
  return k7(e, t, r, n, o, i);
}
a(XG, "printDeleteLine");
function JG(e, t, { bColor: r, bIndicator: n, changeLineTrailingSpaceColor: o, emptyFirstOrLastLinePlaceholder: i }) {
  return k7(e, t, r, n, o, i);
}
a(JG, "printInsertLine");
function QG(e, t, { commonColor: r, commonIndicator: n, commonLineTrailingSpaceColor: o, emptyFirstOrLastLinePlaceholder: i }) {
  return k7(e, t, r, n, o, i);
}
a(QG, "printCommonLine");
function qG(e, t, r, n, { patchColor: o }) {
  return o(`@@ -${e + 1},${t - e} +${r + 1},${n - r} @@`);
}
a(qG, "createPatchMark");
function b7e(e, t) {
  let r = e.length, n = t.contextLines, o = n + n, i = r, s = !1, l = 0, u = 0;
  for (; u !== r; ) {
    let x = u;
    for (; u !== r && e[u][0] === Et; )
      u += 1;
    if (x !== u)
      if (x === 0)
        u > n && (i -= u - n, s = !0);
      else if (u === r) {
        let S = u - x;
        S > n && (i -= S - n, s = !0);
      } else {
        let S = u - x;
        S > o && (i -= S - o, l += 1);
      }
    for (; u !== r && e[u][0] !== Et; )
      u += 1;
  }
  let c = l !== 0 || s;
  l !== 0 ? i += l + 1 : s && (i += 1);
  let d = i - 1, f = [], p = 0;
  c && f.push("");
  let m = 0, v = 0, y = 0, b = 0, g = /* @__PURE__ */ a((x) => {
    let S = f.length;
    f.push(QG(x, S === 0 || S === d, t)), y += 1, b += 1;
  }, "pushCommonLine"), w = /* @__PURE__ */ a((x) => {
    let S = f.length;
    f.push(XG(x, S === 0 || S === d, t)), y += 1;
  }, "pushDeleteLine"), E = /* @__PURE__ */ a((x) => {
    let S = f.length;
    f.push(JG(x, S === 0 || S === d, t)), b += 1;
  }, "pushInsertLine");
  for (u = 0; u !== r; ) {
    let x = u;
    for (; u !== r && e[u][0] === Et; )
      u += 1;
    if (x !== u)
      if (x === 0) {
        u > n && (x = u - n, m = x, v = x, y = m, b = v);
        for (let S = x; S !== u; S += 1)
          g(e[S][1]);
      } else if (u === r) {
        let S = u - x > n ? x + n : u;
        for (let C = x; C !== S; C += 1)
          g(e[C][1]);
      } else {
        let S = u - x;
        if (S > o) {
          let C = x + n;
          for (let A = x; A !== C; A += 1)
            g(e[A][1]);
          f[p] = qG(m, y, v, b, t), p = f.length, f.push("");
          let _ = S - o;
          m = y + _, v = b + _, y = m, b = v;
          for (let A = u - n; A !== u; A += 1)
            g(e[A][1]);
        } else
          for (let C = x; C !== u; C += 1)
            g(e[C][1]);
      }
    for (; u !== r && e[u][0] === Pr; )
      w(e[u][1]), u += 1;
    for (; u !== r && e[u][0] === hr; )
      E(e[u][1]), u += 1;
  }
  return c && (f[p] = qG(m, y, v, b, t)), f.join(`
`);
}
a(b7e, "joinAlignedDiffsNoExpand");
function w7e(e, t) {
  return e.map((r, n, o) => {
    let i = r[1], s = n === 0 || n === o.length - 1;
    switch (r[0]) {
      case Pr:
        return XG(i, s, t);
      case hr:
        return JG(i, s, t);
      default:
        return QG(i, s, t);
    }
  }).join(`
`);
}
a(w7e, "joinAlignedDiffsExpand");
var A7 = /* @__PURE__ */ a((e) => e, "noColor"), ZG = 5, E7e = 0;
function R7e() {
  return {
    aAnnotation: "Expected",
    aColor: Xe.green,
    aIndicator: "-",
    bAnnotation: "Received",
    bColor: Xe.red,
    bIndicator: "+",
    changeColor: Xe.inverse,
    changeLineTrailingSpaceColor: A7,
    commonColor: Xe.dim,
    commonIndicator: " ",
    commonLineTrailingSpaceColor: A7,
    compareKeys: void 0,
    contextLines: ZG,
    emptyFirstOrLastLinePlaceholder: "",
    expand: !1,
    includeChangeCounts: !1,
    omitAnnotationLines: !1,
    patchColor: Xe.yellow,
    printBasicPrototype: !1,
    truncateThreshold: E7e,
    truncateAnnotation: "... Diff result is truncated",
    truncateAnnotationColor: A7
  };
}
a(R7e, "getDefaultOptions");
function x7e(e) {
  return e && typeof e == "function" ? e : void 0;
}
a(x7e, "getCompareKeys");
function S7e(e) {
  return typeof e == "number" && Number.isSafeInteger(e) && e >= 0 ? e : ZG;
}
a(S7e, "getContextLines");
function Wl(e = {}) {
  return {
    ...R7e(),
    ...e,
    compareKeys: x7e(e.compareKeys),
    contextLines: S7e(e.contextLines)
  };
}
a(Wl, "normalizeDiffOptions");
function id(e) {
  return e.length === 1 && e[0].length === 0;
}
a(id, "isEmptyString");
function C7e(e) {
  let t = 0, r = 0;
  return e.forEach((n) => {
    switch (n[0]) {
      case Pr:
        t += 1;
        break;
      case hr:
        r += 1;
        break;
    }
  }), {
    a: t,
    b: r
  };
}
a(C7e, "countChanges");
function _7e({ aAnnotation: e, aColor: t, aIndicator: r, bAnnotation: n, bColor: o, bIndicator: i, includeChangeCounts: s, omitAnnotationLines: l }, u) {
  if (l)
    return "";
  let c = "", d = "";
  if (s) {
    let m = String(u.a), v = String(u.b), y = n.length - e.length, b = " ".repeat(Math.max(0, y)), g = " ".repeat(Math.max(0, -y)), w = v.length -
    m.length, E = " ".repeat(Math.max(0, w)), x = " ".repeat(Math.max(0, -w));
    c = `${b}  ${r} ${E}${m}`, d = `${g}  ${i} ${x}${v}`;
  }
  let f = `${r} ${e}${c}`, p = `${i} ${n}${d}`;
  return `${t(f)}
${o(p)}

`;
}
a(_7e, "printAnnotation");
function q7(e, t, r) {
  return _7e(r, C7e(e)) + (r.expand ? w7e(e, r) : b7e(e, r)) + (t ? r.truncateAnnotationColor(`
${r.truncateAnnotation}`) : "");
}
a(q7, "printDiffLines");
function Uv(e, t, r) {
  let n = Wl(r), [o, i] = eY(id(e) ? [] : e, id(t) ? [] : t, n);
  return q7(o, i, n);
}
a(Uv, "diffLinesUnified");
function P7e(e, t, r, n, o) {
  if (id(e) && id(r) && (e = [], r = []), id(t) && id(n) && (t = [], n = []), e.length !== r.length || t.length !== n.length)
    return Uv(e, t, o);
  let [i, s] = eY(r, n, o), l = 0, u = 0;
  return i.forEach((c) => {
    switch (c[0]) {
      case Pr:
        c[1] = e[l], l += 1;
        break;
      case hr:
        c[1] = t[u], u += 1;
        break;
      default:
        c[1] = t[u], l += 1, u += 1;
    }
  }), q7(i, s, Wl(o));
}
a(P7e, "diffLinesUnified2");
function eY(e, t, r) {
  let n = r?.truncateThreshold ?? !1, o = Math.max(Math.floor(r?.truncateThreshold ?? 0), 0), i = n ? Math.min(e.length, o) : e.length, s = n ?
  Math.min(t.length, o) : t.length, l = i !== e.length || s !== t.length, u = /* @__PURE__ */ a((m, v) => e[m] === t[v], "isCommon"), c = [],
  d = 0, f = 0;
  for (KG(i, s, u, /* @__PURE__ */ a((m, v, y) => {
    for (; d !== v; d += 1)
      c.push(new rt(Pr, e[d]));
    for (; f !== y; f += 1)
      c.push(new rt(hr, t[f]));
    for (; m !== 0; m -= 1, d += 1, f += 1)
      c.push(new rt(Et, t[f]));
  }, "foundSubsequence")); d !== i; d += 1)
    c.push(new rt(Pr, e[d]));
  for (; f !== s; f += 1)
    c.push(new rt(hr, t[f]));
  return [c, l];
}
a(eY, "diffLinesRaw");
function DG(e) {
  if (e === void 0)
    return "undefined";
  if (e === null)
    return "null";
  if (Array.isArray(e))
    return "array";
  if (typeof e == "boolean")
    return "boolean";
  if (typeof e == "function")
    return "function";
  if (typeof e == "number")
    return "number";
  if (typeof e == "string")
    return "string";
  if (typeof e == "bigint")
    return "bigint";
  if (typeof e == "object") {
    if (e != null) {
      if (e.constructor === RegExp)
        return "regexp";
      if (e.constructor === Map)
        return "map";
      if (e.constructor === Set)
        return "set";
      if (e.constructor === Date)
        return "date";
    }
    return "object";
  } else if (typeof e == "symbol")
    return "symbol";
  throw new Error(`value of unknown type: ${e}`);
}
a(DG, "getType");
function FG(e) {
  return e.includes(`\r
`) ? `\r
` : `
`;
}
a(FG, "getNewLineSymbol");
function T7e(e, t, r) {
  let n = r?.truncateThreshold ?? !1, o = Math.max(Math.floor(r?.truncateThreshold ?? 0), 0), i = e.length, s = t.length;
  if (n) {
    let m = e.includes(`
`), v = t.includes(`
`), y = FG(e), b = FG(t), g = m ? `${e.split(y, o).join(y)}
` : e, w = v ? `${t.split(b, o).join(b)}
` : t;
    i = g.length, s = w.length;
  }
  let l = i !== e.length || s !== t.length, u = /* @__PURE__ */ a((m, v) => e[m] === t[v], "isCommon"), c = 0, d = 0, f = [];
  return KG(i, s, u, /* @__PURE__ */ a((m, v, y) => {
    c !== v && f.push(new rt(Pr, e.slice(c, v))), d !== y && f.push(new rt(hr, t.slice(d, y))), c = v + m, d = y + m, f.push(new rt(Et, t.slice(
    y, d)));
  }, "foundSubsequence")), c !== i && f.push(new rt(Pr, e.slice(c))), d !== s && f.push(new rt(hr, t.slice(d))), [f, l];
}
a(T7e, "diffStrings");
function A7e(e, t, r) {
  return t.reduce((n, o) => n + (o[0] === Et ? o[1] : o[0] === e && o[1].length !== 0 ? r(o[1]) : ""), "");
}
a(A7e, "concatenateRelevantDiffs");
var F7 = class F7 {
  op;
  line;
  lines;
  changeColor;
  constructor(t, r) {
    this.op = t, this.line = [], this.lines = [], this.changeColor = r;
  }
  pushSubstring(t) {
    this.pushDiff(new rt(this.op, t));
  }
  pushLine() {
    this.lines.push(this.line.length !== 1 ? new rt(this.op, A7e(this.op, this.line, this.changeColor)) : this.line[0][0] === this.op ? this.
    line[0] : new rt(this.op, this.line[0][1])), this.line.length = 0;
  }
  isLineEmpty() {
    return this.line.length === 0;
  }
  // Minor input to buffer.
  pushDiff(t) {
    this.line.push(t);
  }
  // Main input to buffer.
  align(t) {
    let r = t[1];
    if (r.includes(`
`)) {
      let n = r.split(`
`), o = n.length - 1;
      n.forEach((i, s) => {
        s < o ? (this.pushSubstring(i), this.pushLine()) : i.length !== 0 && this.pushSubstring(i);
      });
    } else
      this.pushDiff(t);
  }
  // Output from buffer.
  moveLinesTo(t) {
    this.isLineEmpty() || this.pushLine(), t.push(...this.lines), this.lines.length = 0;
  }
};
a(F7, "ChangeBuffer");
var zv = F7, j7 = class j7 {
  deleteBuffer;
  insertBuffer;
  lines;
  constructor(t, r) {
    this.deleteBuffer = t, this.insertBuffer = r, this.lines = [];
  }
  pushDiffCommonLine(t) {
    this.lines.push(t);
  }
  pushDiffChangeLines(t) {
    let r = t[1].length === 0;
    (!r || this.deleteBuffer.isLineEmpty()) && this.deleteBuffer.pushDiff(t), (!r || this.insertBuffer.isLineEmpty()) && this.insertBuffer.pushDiff(
    t);
  }
  flushChangeLines() {
    this.deleteBuffer.moveLinesTo(this.lines), this.insertBuffer.moveLinesTo(this.lines);
  }
  // Input to buffer.
  align(t) {
    let r = t[0], n = t[1];
    if (n.includes(`
`)) {
      let o = n.split(`
`), i = o.length - 1;
      o.forEach((s, l) => {
        if (l === 0) {
          let u = new rt(r, s);
          this.deleteBuffer.isLineEmpty() && this.insertBuffer.isLineEmpty() ? (this.flushChangeLines(), this.pushDiffCommonLine(u)) : (this.
          pushDiffChangeLines(u), this.flushChangeLines());
        } else l < i ? this.pushDiffCommonLine(new rt(r, s)) : s.length !== 0 && this.pushDiffChangeLines(new rt(r, s));
      });
    } else
      this.pushDiffChangeLines(t);
  }
  // Output from buffer.
  getLines() {
    return this.flushChangeLines(), this.lines;
  }
};
a(j7, "CommonBuffer");
var I7 = j7;
function O7e(e, t) {
  let r = new zv(Pr, t), n = new zv(hr, t), o = new I7(r, n);
  return e.forEach((i) => {
    switch (i[0]) {
      case Pr:
        r.align(i);
        break;
      case hr:
        n.align(i);
        break;
      default:
        o.align(i);
    }
  }), o.getLines();
}
a(O7e, "getAlignedDiffs");
function I7e(e, t) {
  if (t) {
    let r = e.length - 1;
    return e.some((n, o) => n[0] === Et && (o !== r || n[1] !== `
`));
  }
  return e.some((r) => r[0] === Et);
}
a(I7e, "hasCommonDiff");
function M7e(e, t, r) {
  if (e !== t && e.length !== 0 && t.length !== 0) {
    let n = e.includes(`
`) || t.includes(`
`), [o, i] = tY(n ? `${e}
` : e, n ? `${t}
` : t, !0, r);
    if (I7e(o, n)) {
      let s = Wl(r), l = O7e(o, s.changeColor);
      return q7(l, i, s);
    }
  }
  return Uv(e.split(`
`), t.split(`
`), r);
}
a(M7e, "diffStringsUnified");
function tY(e, t, r, n) {
  let [o, i] = T7e(e, t, n);
  return r && d7e(o), [o, i];
}
a(tY, "diffStringsRaw");
function M7(e, t) {
  let { commonColor: r } = Wl(t);
  return r(e);
}
a(M7, "getCommonMessage");
var { AsymmetricMatcher: N7e, DOMCollection: L7e, DOMElement: k7e, Immutable: q7e, ReactElement: D7e, ReactTestComponent: F7e } = am, rY = [
  F7e,
  D7e,
  k7e,
  L7e,
  q7e,
  N7e,
  am.Error
], N7 = {
  maxDepth: 20,
  plugins: rY
}, nY = {
  callToJSON: !1,
  maxDepth: 8,
  plugins: rY
};
function Gl(e, t, r) {
  if (Object.is(e, t))
    return "";
  let n = DG(e), o = n, i = !1;
  if (n === "object" && typeof e.asymmetricMatch == "function") {
    if (e.$$typeof !== Symbol.for("jest.asymmetricMatcher") || typeof e.getExpectedType != "function")
      return;
    o = e.getExpectedType(), i = o === "string";
  }
  if (o !== DG(t)) {
    let b = function(E) {
      return E.length <= y ? E : `${E.slice(0, y)}...`;
    };
    a(b, "truncate");
    let { aAnnotation: s, aColor: l, aIndicator: u, bAnnotation: c, bColor: d, bIndicator: f } = Wl(r), p = L7(nY, r), m = ao(e, p), v = ao(
    t, p), y = 1e5;
    m = b(m), v = b(v);
    let g = `${l(`${u} ${s}:`)} 
${m}`, w = `${d(`${f} ${c}:`)} 
${v}`;
    return `${g}

${w}`;
  }
  if (!i)
    switch (n) {
      case "string":
        return Uv(e.split(`
`), t.split(`
`), r);
      case "boolean":
      case "number":
        return j7e(e, t, r);
      case "map":
        return O7(jG(e), jG(t), r);
      case "set":
        return O7(BG(e), BG(t), r);
      default:
        return O7(e, t, r);
    }
}
a(Gl, "diff");
function j7e(e, t, r) {
  let n = ao(e, N7), o = ao(t, N7);
  return n === o ? "" : Uv(n.split(`
`), o.split(`
`), r);
}
a(j7e, "comparePrimitive");
function jG(e) {
  return new Map(Array.from(e.entries()).sort());
}
a(jG, "sortMap");
function BG(e) {
  return new Set(Array.from(e.values()).sort());
}
a(BG, "sortSet");
function O7(e, t, r) {
  let n, o = !1;
  try {
    let s = L7(N7, r);
    n = $G(e, t, s, r);
  } catch {
    o = !0;
  }
  let i = M7(YG, r);
  if (n === void 0 || n === i) {
    let s = L7(nY, r);
    n = $G(e, t, s, r), n !== i && !o && (n = `${M7(h7e, r)}

${n}`);
  }
  return n;
}
a(O7, "compareObjects");
function L7(e, t) {
  let { compareKeys: r, printBasicPrototype: n, maxDepth: o } = Wl(t);
  return {
    ...e,
    compareKeys: r,
    printBasicPrototype: n,
    maxDepth: o ?? e.maxDepth
  };
}
a(L7, "getFormatOptions");
function $G(e, t, r, n) {
  let o = {
    ...r,
    indent: 0
  }, i = ao(e, o), s = ao(t, o);
  if (i === s)
    return M7(YG, n);
  {
    let l = ao(e, r), u = ao(t, r);
    return P7e(l.split(`
`), u.split(`
`), i.split(`
`), s.split(`
`), n);
  }
}
a($G, "getObjectsDifference");
var HG = 2e4;
function zG(e) {
  return Vl(e) === "Object" && typeof e.asymmetricMatch == "function";
}
a(zG, "isAsymmetricMatcher");
function UG(e, t) {
  let r = Vl(e), n = Vl(t);
  return r === n && (r === "Object" || r === "Array");
}
a(UG, "isReplaceable");
function Vv(e, t, r) {
  let { aAnnotation: n, bAnnotation: o } = Wl(r);
  if (typeof t == "string" && typeof e == "string" && t.length > 0 && e.length > 0 && t.length <= HG && e.length <= HG && t !== e) {
    if (t.includes(`
`) || e.includes(`
`))
      return M7e(t, e, r);
    let [d] = tY(t, e, !0), f = d.some((y) => y[0] === Et), p = B7e(n, o), m = p(n) + z7e(VG(d, Pr, f)), v = p(o) + H7e(VG(d, hr, f));
    return `${m}
${v}`;
  }
  let i = Bv(t, { forceWritable: !0 }), s = Bv(e, { forceWritable: !0 }), { replacedExpected: l, replacedActual: u } = oY(s, i);
  return Gl(l, u, r);
}
a(Vv, "printDiffOrStringify");
function oY(e, t, r = /* @__PURE__ */ new WeakSet(), n = /* @__PURE__ */ new WeakSet()) {
  return e instanceof Error && t instanceof Error && typeof e.cause < "u" && typeof t.cause > "u" ? (delete e.cause, {
    replacedActual: e,
    replacedExpected: t
  }) : UG(e, t) ? r.has(e) || n.has(t) ? {
    replacedActual: e,
    replacedExpected: t
  } : (r.add(e), n.add(t), jv(t).forEach((o) => {
    let i = t[o], s = e[o];
    if (zG(i))
      i.asymmetricMatch(s) && (e[o] = i);
    else if (zG(s))
      s.asymmetricMatch(i) && (t[o] = s);
    else if (UG(s, i)) {
      let l = oY(s, i, r, n);
      e[o] = l.replacedActual, t[o] = l.replacedExpected;
    }
  }), {
    replacedActual: e,
    replacedExpected: t
  }) : {
    replacedActual: e,
    replacedExpected: t
  };
}
a(oY, "replaceAsymmetricMatcher");
function B7e(...e) {
  let t = e.reduce((r, n) => n.length > r ? n.length : r, 0);
  return (r) => `${r}: ${" ".repeat(t - r.length)}`;
}
a(B7e, "getLabelPrinter");
var $7e = "\xB7";
function aY(e) {
  return e.replace(/\s+$/gm, (t) => $7e.repeat(t.length));
}
a(aY, "replaceTrailingSpaces");
function H7e(e) {
  return Xe.red(aY(mr(e)));
}
a(H7e, "printReceived");
function z7e(e) {
  return Xe.green(aY(mr(e)));
}
a(z7e, "printExpected");
function VG(e, t, r) {
  return e.reduce((n, o) => n + (o[0] === Et ? o[1] : o[0] === t ? r ? Xe.inverse(o[1]) : o[1] : ""), "");
}
a(VG, "getCommonAndChangedSubstrings");

// ../node_modules/@vitest/utils/dist/error.js
var U7e = "@@__IMMUTABLE_RECORD__@@", V7e = "@@__IMMUTABLE_ITERABLE__@@";
function W7e(e) {
  return e && (e[V7e] || e[U7e]);
}
a(W7e, "isImmutable");
var G7e = Object.getPrototypeOf({});
function iY(e) {
  return e instanceof Error ? `<unserializable>: ${e.message}` : typeof e == "string" ? `<unserializable>: ${e}` : "<unserializable>";
}
a(iY, "getUnserializableMessage");
function fs(e, t = /* @__PURE__ */ new WeakMap()) {
  if (!e || typeof e == "string")
    return e;
  if (e instanceof Error && "toJSON" in e && typeof e.toJSON == "function") {
    let r = e.toJSON();
    return r && r !== e && typeof r == "object" && (typeof e.message == "string" && Wv(() => r.message ?? (r.message = e.message)), typeof e.
    stack == "string" && Wv(() => r.stack ?? (r.stack = e.stack)), typeof e.name == "string" && Wv(() => r.name ?? (r.name = e.name)), e.cause !=
    null && Wv(() => r.cause ?? (r.cause = fs(e.cause, t)))), fs(r, t);
  }
  if (typeof e == "function")
    return `Function<${e.name || "anonymous"}>`;
  if (typeof e == "symbol")
    return e.toString();
  if (typeof e != "object")
    return e;
  if (typeof Buffer < "u" && e instanceof Buffer)
    return `<Buffer(${e.length}) ...>`;
  if (typeof Uint8Array < "u" && e instanceof Uint8Array)
    return `<Uint8Array(${e.length}) ...>`;
  if (W7e(e))
    return fs(e.toJSON(), t);
  if (e instanceof Promise || e.constructor && e.constructor.prototype === "AsyncFunction")
    return "Promise";
  if (typeof Element < "u" && e instanceof Element)
    return e.tagName;
  if (typeof e.asymmetricMatch == "function")
    return `${e.toString()} ${P7(e.sample)}`;
  if (typeof e.toJSON == "function")
    return fs(e.toJSON(), t);
  if (t.has(e))
    return t.get(e);
  if (Array.isArray(e)) {
    let r = new Array(e.length);
    return t.set(e, r), e.forEach((n, o) => {
      try {
        r[o] = fs(n, t);
      } catch (i) {
        r[o] = iY(i);
      }
    }), r;
  } else {
    let r = /* @__PURE__ */ Object.create(null);
    t.set(e, r);
    let n = e;
    for (; n && n !== G7e; )
      Object.getOwnPropertyNames(n).forEach((o) => {
        if (!(o in r))
          try {
            r[o] = fs(e[o], t);
          } catch (i) {
            delete r[o], r[o] = iY(i);
          }
      }), n = Object.getPrototypeOf(n);
    return r;
  }
}
a(fs, "serializeValue");
function Wv(e) {
  try {
    return e();
  } catch {
  }
}
a(Wv, "safe");
function Y7e(e) {
  return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g, "");
}
a(Y7e, "normalizeErrorMessage");
function im(e, t, r = /* @__PURE__ */ new WeakSet()) {
  if (!e || typeof e != "object")
    return { message: String(e) };
  let n = e;
  (n.showDiff || n.showDiff === void 0 && n.expected !== void 0 && n.actual !== void 0) && (n.diff = Vv(n.actual, n.expected, {
    ...t,
    ...n.diffOptions
  })), "expected" in n && typeof n.expected != "string" && (n.expected = mr(n.expected, 10)), "actual" in n && typeof n.actual != "string" &&
  (n.actual = mr(n.actual, 10));
  try {
    typeof n.message == "string" && (n.message = Y7e(n.message));
  } catch {
  }
  try {
    !r.has(n) && typeof n.cause == "object" && (r.add(n), n.cause = im(n.cause, t, r));
  } catch {
  }
  try {
    return fs(n);
  } catch (o) {
    return fs(new Error(`Failed to fully serialize error: ${o?.message}
Inner error message: ${n?.message}`));
  }
}
a(im, "processError");

// src/instrumenter/EVENTS.ts
var xa = {
  CALL: "storybook/instrumenter/call",
  SYNC: "storybook/instrumenter/sync",
  START: "storybook/instrumenter/start",
  BACK: "storybook/instrumenter/back",
  GOTO: "storybook/instrumenter/goto",
  NEXT: "storybook/instrumenter/next",
  END: "storybook/instrumenter/end"
};

// src/instrumenter/preview-api.ts
var Gv = globalThis.__STORYBOOK_ADDONS_PREVIEW;

// src/instrumenter/instrumenter.ts
var K7e = new Error(
  "This function ran after the play function completed. Did you forget to `await` it?"
), sY = /* @__PURE__ */ a((e) => Object.prototype.toString.call(e) === "[object Object]", "isObject"), X7e = /* @__PURE__ */ a((e) => Object.
prototype.toString.call(e) === "[object Module]", "isModule"), J7e = /* @__PURE__ */ a((e) => {
  if (!sY(e) && !X7e(e))
    return !1;
  if (e.constructor === void 0)
    return !0;
  let t = e.constructor.prototype;
  return !!sY(t);
}, "isInstrumentable"), Q7e = /* @__PURE__ */ a((e) => {
  try {
    return new e.constructor();
  } catch {
    return {};
  }
}, "construct"), B7 = /* @__PURE__ */ a(() => ({
  renderPhase: "preparing",
  isDebugging: !1,
  isPlaying: !1,
  isLocked: !1,
  cursor: 0,
  calls: [],
  shadowCalls: [],
  callRefsByResult: /* @__PURE__ */ new Map(),
  chainedCallIds: /* @__PURE__ */ new Set(),
  ancestors: [],
  playUntil: void 0,
  resolvers: {},
  syncTimeout: void 0
}), "getInitialState"), lY = /* @__PURE__ */ a((e, t = !1) => {
  let r = (t ? e.shadowCalls : e.calls).filter((o) => o.retain);
  if (!r.length)
    return;
  let n = new Map(
    Array.from(e.callRefsByResult.entries()).filter(([, o]) => o.retain)
  );
  return { cursor: r.length, calls: r, callRefsByResult: n };
}, "getRetainedState"), H7 = class H7 {
  constructor() {
    this.detached = !1;
    this.initialized = !1;
    // State is tracked per story to deal with multiple stories on the same canvas (i.e. docs mode)
    this.state = {};
    this.loadParentWindowState = /* @__PURE__ */ a(() => {
      try {
        this.state = Z.window?.parent?.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__ || {};
      } catch {
        this.detached = !0;
      }
    }, "loadParentWindowState");
    this.updateParentWindowState = /* @__PURE__ */ a(() => {
      try {
        Z.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__ = this.state;
      } catch {
        this.detached = !0;
      }
    }, "updateParentWindowState");
    this.loadParentWindowState();
    let t = /* @__PURE__ */ a(({
      storyId: u,
      renderPhase: c,
      isPlaying: d = !0,
      isDebugging: f = !1
    }) => {
      let p = this.getState(u);
      this.setState(u, {
        ...B7(),
        ...lY(p, f),
        renderPhase: c || p.renderPhase,
        shadowCalls: f ? p.shadowCalls : [],
        chainedCallIds: f ? p.chainedCallIds : /* @__PURE__ */ new Set(),
        playUntil: f ? p.playUntil : void 0,
        isPlaying: d,
        isDebugging: f
      }), this.sync(u);
    }, "resetState"), r = /* @__PURE__ */ a((u) => ({ storyId: c, playUntil: d }) => {
      this.getState(c).isDebugging || this.setState(c, ({ calls: p }) => ({
        calls: [],
        shadowCalls: p.map((m) => ({ ...m, status: "waiting" })),
        isDebugging: !0
      }));
      let f = this.getLog(c);
      this.setState(c, ({ shadowCalls: p }) => {
        if (d || !f.length)
          return { playUntil: d };
        let m = p.findIndex((v) => v.id === f[0].callId);
        return {
          playUntil: p.slice(0, m).filter((v) => v.interceptable && !v.ancestors?.length).slice(-1)[0]?.id
        };
      }), u.emit(xu, { storyId: c, isDebugging: !0 });
    }, "start"), n = /* @__PURE__ */ a((u) => ({ storyId: c }) => {
      let d = this.getLog(c).filter((p) => !p.ancestors?.length), f = d.reduceRight((p, m, v) => p >= 0 || m.status === "waiting" ? p : v, -1);
      r(u)({ storyId: c, playUntil: d[f - 1]?.callId });
    }, "back"), o = /* @__PURE__ */ a((u) => ({ storyId: c, callId: d }) => {
      let { calls: f, shadowCalls: p, resolvers: m } = this.getState(c), v = f.find(({ id: b }) => b === d), y = p.find(({ id: b }) => b ===
      d);
      if (!v && y && Object.values(m).length > 0) {
        let b = this.getLog(c).find((g) => g.status === "waiting")?.callId;
        y.id !== b && this.setState(c, { playUntil: y.id }), Object.values(m).forEach((g) => g());
      } else
        r(u)({ storyId: c, playUntil: d });
    }, "goto"), i = /* @__PURE__ */ a((u) => ({ storyId: c }) => {
      let { resolvers: d } = this.getState(c);
      if (Object.values(d).length > 0)
        Object.values(d).forEach((f) => f());
      else {
        let f = this.getLog(c).find((p) => p.status === "waiting")?.callId;
        f ? r(u)({ storyId: c, playUntil: f }) : s({ storyId: c });
      }
    }, "next"), s = /* @__PURE__ */ a(({ storyId: u }) => {
      this.setState(u, { playUntil: void 0, isDebugging: !1 }), Object.values(this.getState(u).resolvers).forEach((c) => c());
    }, "end"), l = /* @__PURE__ */ a(({
      storyId: u,
      newPhase: c
    }) => {
      let { isDebugging: d } = this.getState(u);
      if (c === "preparing" && d)
        return t({ storyId: u, renderPhase: c });
      if (c === "playing")
        return t({ storyId: u, renderPhase: c, isDebugging: d });
      c === "played" ? this.setState(u, {
        renderPhase: c,
        isLocked: !1,
        isPlaying: !1,
        isDebugging: !1
      }) : c === "errored" ? this.setState(u, {
        renderPhase: c,
        isLocked: !1,
        isPlaying: !1
      }) : c === "aborted" ? this.setState(u, {
        renderPhase: c,
        isLocked: !0,
        isPlaying: !1
      }) : this.setState(u, {
        renderPhase: c
      }), this.sync(u);
    }, "renderPhaseChanged");
    Gv && Gv.ready().then(() => {
      this.channel = Gv.getChannel(), this.channel.on(xu, t), this.channel.on(q4, l), this.channel.on(Vs, () => {
        this.initialized ? this.cleanup() : this.initialized = !0;
      }), this.channel.on(xa.START, r(this.channel)), this.channel.on(xa.BACK, n(this.channel)), this.channel.on(xa.GOTO, o(this.channel)), this.
      channel.on(xa.NEXT, i(this.channel)), this.channel.on(xa.END, s);
    });
  }
  getState(t) {
    return this.state[t] || B7();
  }
  setState(t, r) {
    if (t) {
      let n = this.getState(t), o = typeof r == "function" ? r(n) : r;
      this.state = { ...this.state, [t]: { ...n, ...o } }, this.updateParentWindowState();
    }
  }
  cleanup() {
    this.state = Object.entries(this.state).reduce(
      (n, [o, i]) => {
        let s = lY(i);
        return s && (n[o] = Object.assign(B7(), s)), n;
      },
      {}
    );
    let r = { controlStates: {
      detached: this.detached,
      start: !1,
      back: !1,
      goto: !1,
      next: !1,
      end: !1
    }, logItems: [] };
    this.channel?.emit(xa.SYNC, r), this.updateParentWindowState();
  }
  getLog(t) {
    let { calls: r, shadowCalls: n } = this.getState(t), o = [...n];
    r.forEach((s, l) => {
      o[l] = s;
    });
    let i = /* @__PURE__ */ new Set();
    return o.reduceRight((s, l) => (l.args.forEach((u) => {
      u?.__callId__ && i.add(u.__callId__);
    }), l.path.forEach((u) => {
      u.__callId__ && i.add(u.__callId__);
    }), (l.interceptable || l.exception) && !i.has(l.id) && (s.unshift({ callId: l.id, status: l.status, ancestors: l.ancestors }), i.add(l.
    id)), s), []);
  }
  // Traverses the object structure to recursively patch all function properties.
  // Returns the original object, or a new object with the same constructor,
  // depending on whether it should mutate.
  instrument(t, r, n = 0) {
    if (!J7e(t))
      return t;
    let { mutate: o = !1, path: i = [] } = r, s = r.getKeys ? r.getKeys(t, n) : Object.keys(t);
    return n += 1, s.reduce(
      (l, u) => {
        let c = Z7e(t, u);
        if (typeof c?.get == "function") {
          if (c.configurable) {
            let f = /* @__PURE__ */ a(() => c?.get?.bind(t)?.(), "getter");
            Object.defineProperty(l, u, {
              get: /* @__PURE__ */ a(() => this.instrument(f(), { ...r, path: i.concat(u) }, n), "get")
            });
          }
          return l;
        }
        let d = t[u];
        return typeof d != "function" ? (l[u] = this.instrument(d, { ...r, path: i.concat(u) }, n), l) : "__originalFn__" in d && typeof d.__originalFn__ ==
        "function" ? (l[u] = d, l) : (l[u] = (...f) => this.track(u, d, t, f, r), l[u].__originalFn__ = d, Object.defineProperty(l[u], "name",
        { value: u, writable: !1 }), Object.keys(d).length > 0 && Object.assign(
          l[u],
          this.instrument({ ...d }, { ...r, path: i.concat(u) }, n)
        ), l);
      },
      o ? t : Q7e(t)
    );
  }
  // Monkey patch an object method to record calls.
  // Returns a function that invokes the original function, records the invocation ("call") and
  // returns the original result.
  track(t, r, n, o, i) {
    let s = o?.[0]?.__storyId__ || Z.__STORYBOOK_PREVIEW__?.selectionStore?.selection?.storyId, { cursor: l, ancestors: u } = this.getState(
    s);
    this.setState(s, { cursor: l + 1 });
    let c = `${u.slice(-1)[0] || s} [${l}] ${t}`, { path: d = [], intercept: f = !1, retain: p = !1 } = i, m = typeof f == "function" ? f(t,
    d) : f, v = { id: c, cursor: l, storyId: s, ancestors: u, path: d, method: t, args: o, interceptable: m, retain: p }, b = (m && !u.length ?
    this.intercept : this.invoke).call(this, r, n, v, i);
    return this.instrument(b, { ...i, mutate: !0, path: [{ __callId__: v.id }] });
  }
  intercept(t, r, n, o) {
    let { chainedCallIds: i, isDebugging: s, playUntil: l } = this.getState(n.storyId), u = i.has(n.id);
    return !s || u || l ? (l === n.id && this.setState(n.storyId, { playUntil: void 0 }), this.invoke(t, r, n, o)) : new Promise((c) => {
      this.setState(n.storyId, ({ resolvers: d }) => ({
        isLocked: !1,
        resolvers: { ...d, [n.id]: c }
      }));
    }).then(() => (this.setState(n.storyId, (c) => {
      let { [n.id]: d, ...f } = c.resolvers;
      return { isLocked: !0, resolvers: f };
    }), this.invoke(t, r, n, o)));
  }
  invoke(t, r, n, o) {
    let { callRefsByResult: i, renderPhase: s } = this.getState(n.storyId), l = 25, u = /* @__PURE__ */ a((f, p, m) => {
      if (m.includes(f))
        return "[Circular]";
      if (m = [...m, f], p > l)
        return "...";
      if (i.has(f))
        return i.get(f);
      if (f instanceof Array)
        return f.map((v) => u(v, ++p, m));
      if (f instanceof Date)
        return { __date__: { value: f.toISOString() } };
      if (f instanceof Error) {
        let { name: v, message: y, stack: b } = f;
        return { __error__: { name: v, message: y, stack: b } };
      }
      if (f instanceof RegExp) {
        let { flags: v, source: y } = f;
        return { __regexp__: { flags: v, source: y } };
      }
      if (f instanceof Z.window?.HTMLElement) {
        let { prefix: v, localName: y, id: b, classList: g, innerText: w } = f, E = Array.from(g);
        return { __element__: { prefix: v, localName: y, id: b, classNames: E, innerText: w } };
      }
      return typeof f == "function" ? {
        __function__: { name: "getMockName" in f ? f.getMockName() : f.name }
      } : typeof f == "symbol" ? { __symbol__: { description: f.description } } : typeof f == "object" && f?.constructor?.name && f?.constructor?.
      name !== "Object" ? { __class__: { name: f.constructor.name } } : Object.prototype.toString.call(f) === "[object Object]" ? Object.fromEntries(
        Object.entries(f).map(([v, y]) => [v, u(y, ++p, m)])
      ) : f;
    }, "serializeValues"), c = {
      ...n,
      args: n.args.map((f) => u(f, 0, []))
    };
    n.path.forEach((f) => {
      f?.__callId__ && this.setState(n.storyId, ({ chainedCallIds: p }) => ({
        chainedCallIds: new Set(Array.from(p).concat(f.__callId__))
      }));
    });
    let d = /* @__PURE__ */ a((f) => {
      if (f instanceof Error) {
        let { name: p, message: m, stack: v, callId: y = n.id } = f, {
          showDiff: b = void 0,
          diff: g = void 0,
          actual: w = void 0,
          expected: E = void 0
        } = f.name === "AssertionError" ? im(f) : f, x = { name: p, message: m, stack: v, callId: y, showDiff: b, diff: g, actual: w, expected: E };
        if (this.update({ ...c, status: "error", exception: x }), this.setState(n.storyId, (S) => ({
          callRefsByResult: new Map([
            ...Array.from(S.callRefsByResult.entries()),
            [f, { __callId__: n.id, retain: n.retain }]
          ])
        })), n.ancestors?.length)
          throw Object.prototype.hasOwnProperty.call(f, "callId") || Object.defineProperty(f, "callId", { value: n.id }), f;
      }
      throw f;
    }, "handleException");
    try {
      if (s === "played" && !n.retain)
        throw K7e;
      let p = (o.getArgs ? o.getArgs(n, this.getState(n.storyId)) : n.args).map((v) => typeof v != "function" || eOe(v) || Object.keys(v).length ?
      v : (...y) => {
        let { cursor: b, ancestors: g } = this.getState(n.storyId);
        this.setState(n.storyId, { cursor: 0, ancestors: [...g, n.id] });
        let w = /* @__PURE__ */ a(() => this.setState(n.storyId, { cursor: b, ancestors: g }), "restore"), E = !1;
        try {
          let x = v(...y);
          return x instanceof Promise ? (E = !0, x.finally(w)) : x;
        } finally {
          E || w();
        }
      }), m = t.apply(r, p);
      return m && ["object", "function", "symbol"].includes(typeof m) && this.setState(n.storyId, (v) => ({
        callRefsByResult: new Map([
          ...Array.from(v.callRefsByResult.entries()),
          [m, { __callId__: n.id, retain: n.retain }]
        ])
      })), this.update({
        ...c,
        status: m instanceof Promise ? "active" : "done"
      }), m instanceof Promise ? m.then((v) => (this.update({ ...c, status: "done" }), v), d) : m;
    } catch (f) {
      return d(f);
    }
  }
  // Sends the call info to the manager and synchronizes the log.
  update(t) {
    this.channel?.emit(xa.CALL, t), this.setState(t.storyId, ({ calls: r }) => {
      let n = r.concat(t).reduce((o, i) => Object.assign(o, { [i.id]: i }), {});
      return {
        // Calls are sorted to ensure parent calls always come before calls in their callback.
        calls: Object.values(n).sort(
          (o, i) => o.id.localeCompare(i.id, void 0, { numeric: !0 })
        )
      };
    }), this.sync(t.storyId);
  }
  // Builds a log of interceptable calls and control states and sends it to the manager.
  // Uses a 0ms debounce because this might get called many times in one tick.
  sync(t) {
    let r = /* @__PURE__ */ a(() => {
      let { isLocked: n, isPlaying: o } = this.getState(t), i = this.getLog(t), s = i.filter(({ ancestors: f }) => !f.length).find((f) => f.
      status === "waiting")?.callId, l = i.some((f) => f.status === "active");
      if (this.detached || n || l || i.length === 0) {
        let p = { controlStates: {
          detached: this.detached,
          start: !1,
          back: !1,
          goto: !1,
          next: !1,
          end: !1
        }, logItems: i };
        this.channel?.emit(xa.SYNC, p);
        return;
      }
      let u = i.some(
        (f) => f.status === "done" || f.status === "error"
      ), d = { controlStates: {
        detached: this.detached,
        start: u,
        back: u,
        goto: !0,
        next: o,
        end: o
      }, logItems: i, pausedAt: s };
      this.channel?.emit(xa.SYNC, d);
    }, "synchronize");
    this.setState(t, ({ syncTimeout: n }) => (clearTimeout(n), { syncTimeout: setTimeout(r, 0) }));
  }
};
a(H7, "Instrumenter");
var $7 = H7;
function sd(e, t = {}) {
  try {
    let r = !1, n = !1;
    return Z.window?.location?.search?.includes("instrument=true") ? r = !0 : Z.window?.location?.search?.includes("instrument=false") && (n =
    !0), Z.window?.parent === Z.window && !r || n ? e : (Z.window && !Z.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__ && (Z.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__ =
    new $7()), (Z.window?.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__).instrument(e, t));
  } catch (r) {
    return Pt.warn(r), e;
  }
}
a(sd, "instrument");
function Z7e(e, t) {
  let r = e;
  for (; r != null; ) {
    let n = Object.getOwnPropertyDescriptor(r, t);
    if (n)
      return n;
    r = Object.getPrototypeOf(r);
  }
}
a(Z7e, "getPropertyDescriptor");
function eOe(e) {
  if (typeof e != "function")
    return !1;
  let t = Object.getOwnPropertyDescriptor(e, "prototype");
  return t ? !t.writable : !1;
}
a(eOe, "isClass");

// ../node_modules/chai/chai.js
var vY = Object.defineProperty, tOe = Object.getOwnPropertyNames, F = /* @__PURE__ */ a((e, t) => vY(e, "name", { value: t, configurable: !0 }),
"__name"), rOe = /* @__PURE__ */ a((e, t) => /* @__PURE__ */ a(function() {
  return t || (0, e[tOe(e)[0]])((t = { exports: {} }).exports, t), t.exports;
}, "__require"), "__commonJS"), aO = /* @__PURE__ */ a((e, t) => {
  for (var r in t)
    vY(e, r, { get: t[r], enumerable: !0 });
}, "__export"), nOe = rOe({
  "(disabled):util"() {
  }
}), io = {};
aO(io, {
  addChainableMethod: /* @__PURE__ */ a(() => yO, "addChainableMethod"),
  addLengthGuard: /* @__PURE__ */ a(() => dm, "addLengthGuard"),
  addMethod: /* @__PURE__ */ a(() => mO, "addMethod"),
  addProperty: /* @__PURE__ */ a(() => pO, "addProperty"),
  checkError: /* @__PURE__ */ a(() => Tn, "checkError"),
  compareByInspect: /* @__PURE__ */ a(() => Jv, "compareByInspect"),
  eql: /* @__PURE__ */ a(() => VY, "eql"),
  expectTypes: /* @__PURE__ */ a(() => CY, "expectTypes"),
  flag: /* @__PURE__ */ a(() => ge, "flag"),
  getActual: /* @__PURE__ */ a(() => rb, "getActual"),
  getMessage: /* @__PURE__ */ a(() => lO, "getMessage"),
  getName: /* @__PURE__ */ a(() => ob, "getName"),
  getOperator: /* @__PURE__ */ a(() => EO, "getOperator"),
  getOwnEnumerableProperties: /* @__PURE__ */ a(() => wO, "getOwnEnumerableProperties"),
  getOwnEnumerablePropertySymbols: /* @__PURE__ */ a(() => bO, "getOwnEnumerablePropertySymbols"),
  getPathInfo: /* @__PURE__ */ a(() => fO, "getPathInfo"),
  hasProperty: /* @__PURE__ */ a(() => nb, "hasProperty"),
  inspect: /* @__PURE__ */ a(() => Ae, "inspect"),
  isNaN: /* @__PURE__ */ a(() => Qv, "isNaN"),
  isNumeric: /* @__PURE__ */ a(() => er, "isNumeric"),
  isProxyEnabled: /* @__PURE__ */ a(() => cm, "isProxyEnabled"),
  isRegExp: /* @__PURE__ */ a(() => Zv, "isRegExp"),
  objDisplay: /* @__PURE__ */ a(() => Yl, "objDisplay"),
  overwriteChainableMethod: /* @__PURE__ */ a(() => vO, "overwriteChainableMethod"),
  overwriteMethod: /* @__PURE__ */ a(() => gO, "overwriteMethod"),
  overwriteProperty: /* @__PURE__ */ a(() => hO, "overwriteProperty"),
  proxify: /* @__PURE__ */ a(() => dd, "proxify"),
  test: /* @__PURE__ */ a(() => iO, "test"),
  transferFlags: /* @__PURE__ */ a(() => Vo, "transferFlags"),
  type: /* @__PURE__ */ a(() => ze, "type")
});
var Tn = {};
aO(Tn, {
  compatibleConstructor: /* @__PURE__ */ a(() => EY, "compatibleConstructor"),
  compatibleInstance: /* @__PURE__ */ a(() => wY, "compatibleInstance"),
  compatibleMessage: /* @__PURE__ */ a(() => RY, "compatibleMessage"),
  getConstructorName: /* @__PURE__ */ a(() => xY, "getConstructorName"),
  getMessage: /* @__PURE__ */ a(() => SY, "getMessage")
});
function tb(e) {
  return e instanceof Error || Object.prototype.toString.call(e) === "[object Error]";
}
a(tb, "isErrorInstance");
F(tb, "isErrorInstance");
function bY(e) {
  return Object.prototype.toString.call(e) === "[object RegExp]";
}
a(bY, "isRegExp");
F(bY, "isRegExp");
function wY(e, t) {
  return tb(t) && e === t;
}
a(wY, "compatibleInstance");
F(wY, "compatibleInstance");
function EY(e, t) {
  return tb(t) ? e.constructor === t.constructor || e instanceof t.constructor : (typeof t == "object" || typeof t == "function") && t.prototype ?
  e.constructor === t || e instanceof t : !1;
}
a(EY, "compatibleConstructor");
F(EY, "compatibleConstructor");
function RY(e, t) {
  let r = typeof e == "string" ? e : e.message;
  return bY(t) ? t.test(r) : typeof t == "string" ? r.indexOf(t) !== -1 : !1;
}
a(RY, "compatibleMessage");
F(RY, "compatibleMessage");
function xY(e) {
  let t = e;
  return tb(e) ? t = e.constructor.name : typeof e == "function" && (t = e.name, t === "" && (t = new e().name || t)), t;
}
a(xY, "getConstructorName");
F(xY, "getConstructorName");
function SY(e) {
  let t = "";
  return e && e.message ? t = e.message : typeof e == "string" && (t = e), t;
}
a(SY, "getMessage");
F(SY, "getMessage");
function ge(e, t, r) {
  var n = e.__flags || (e.__flags = /* @__PURE__ */ Object.create(null));
  if (arguments.length === 3)
    n[t] = r;
  else
    return n[t];
}
a(ge, "flag");
F(ge, "flag");
function iO(e, t) {
  var r = ge(e, "negate"), n = t[0];
  return r ? !n : n;
}
a(iO, "test");
F(iO, "test");
function ze(e) {
  if (typeof e > "u")
    return "undefined";
  if (e === null)
    return "null";
  let t = e[Symbol.toStringTag];
  return typeof t == "string" ? t : Object.prototype.toString.call(e).slice(8, -1);
}
a(ze, "type");
F(ze, "type");
var oOe = "captureStackTrace" in Error, ms, Ne = (ms = class extends Error {
  message;
  get name() {
    return "AssertionError";
  }
  get ok() {
    return !1;
  }
  constructor(t = "Unspecified AssertionError", r, n) {
    super(t), this.message = t, oOe && Error.captureStackTrace(this, n || ms);
    for (let o in r)
      o in this || (this[o] = r[o]);
  }
  toJSON(t) {
    return {
      ...this,
      name: this.name,
      message: this.message,
      ok: !1,
      stack: t !== !1 ? this.stack : void 0
    };
  }
}, a(ms, "_AssertionError"), F(ms, "AssertionError"), ms);
function CY(e, t) {
  var r = ge(e, "message"), n = ge(e, "ssfi");
  r = r ? r + ": " : "", e = ge(e, "object"), t = t.map(function(s) {
    return s.toLowerCase();
  }), t.sort();
  var o = t.map(function(s, l) {
    var u = ~["a", "e", "i", "o", "u"].indexOf(s.charAt(0)) ? "an" : "a", c = t.length > 1 && l === t.length - 1 ? "or " : "";
    return c + u + " " + s;
  }).join(", "), i = ze(e).toLowerCase();
  if (!t.some(function(s) {
    return i === s;
  }))
    throw new Ne(
      r + "object tested must be " + o + ", but " + i + " given",
      void 0,
      n
    );
}
a(CY, "expectTypes");
F(CY, "expectTypes");
function rb(e, t) {
  return t.length > 4 ? t[4] : e._obj;
}
a(rb, "getActual");
F(rb, "getActual");
var uY = {
  bold: ["1", "22"],
  dim: ["2", "22"],
  italic: ["3", "23"],
  underline: ["4", "24"],
  // 5 & 6 are blinking
  inverse: ["7", "27"],
  hidden: ["8", "28"],
  strike: ["9", "29"],
  // 10-20 are fonts
  // 21-29 are resets for 1-9
  black: ["30", "39"],
  red: ["31", "39"],
  green: ["32", "39"],
  yellow: ["33", "39"],
  blue: ["34", "39"],
  magenta: ["35", "39"],
  cyan: ["36", "39"],
  white: ["37", "39"],
  brightblack: ["30;1", "39"],
  brightred: ["31;1", "39"],
  brightgreen: ["32;1", "39"],
  brightyellow: ["33;1", "39"],
  brightblue: ["34;1", "39"],
  brightmagenta: ["35;1", "39"],
  brightcyan: ["36;1", "39"],
  brightwhite: ["37;1", "39"],
  grey: ["90", "39"]
}, aOe = {
  special: "cyan",
  number: "yellow",
  bigint: "yellow",
  boolean: "yellow",
  undefined: "grey",
  null: "bold",
  string: "green",
  symbol: "green",
  date: "magenta",
  regexp: "red"
}, ud = "\u2026";
function _Y(e, t) {
  let r = uY[aOe[t]] || uY[t] || "";
  return r ? `\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m` : String(e);
}
a(_Y, "colorise");
F(_Y, "colorise");
function PY({
  showHidden: e = !1,
  depth: t = 2,
  colors: r = !1,
  customInspect: n = !0,
  showProxy: o = !1,
  maxArrayLength: i = 1 / 0,
  breakLength: s = 1 / 0,
  seen: l = [],
  // eslint-disable-next-line no-shadow
  truncate: u = 1 / 0,
  stylize: c = String
} = {}, d) {
  let f = {
    showHidden: !!e,
    depth: Number(t),
    colors: !!r,
    customInspect: !!n,
    showProxy: !!o,
    maxArrayLength: Number(i),
    breakLength: Number(s),
    truncate: Number(u),
    seen: l,
    inspect: d,
    stylize: c
  };
  return f.colors && (f.stylize = _Y), f;
}
a(PY, "normaliseOptions");
F(PY, "normaliseOptions");
function TY(e) {
  return e >= "\uD800" && e <= "\uDBFF";
}
a(TY, "isHighSurrogate");
F(TY, "isHighSurrogate");
function oi(e, t, r = ud) {
  e = String(e);
  let n = r.length, o = e.length;
  if (n > t && o > n)
    return r;
  if (o > t && o > n) {
    let i = t - n;
    return i > 0 && TY(e[i - 1]) && (i = i - 1), `${e.slice(0, i)}${r}`;
  }
  return e;
}
a(oi, "truncate");
F(oi, "truncate");
function so(e, t, r, n = ", ") {
  r = r || t.inspect;
  let o = e.length;
  if (o === 0)
    return "";
  let i = t.truncate, s = "", l = "", u = "";
  for (let c = 0; c < o; c += 1) {
    let d = c + 1 === e.length, f = c + 2 === e.length;
    u = `${ud}(${e.length - c})`;
    let p = e[c];
    t.truncate = i - s.length - (d ? 0 : n.length);
    let m = l || r(p, t) + (d ? "" : n), v = s.length + m.length, y = v + u.length;
    if (d && v > i && s.length + u.length <= i || !d && !f && y > i || (l = d ? "" : r(e[c + 1], t) + (f ? "" : n), !d && f && y > i && v + l.
    length > i))
      break;
    if (s += m, !d && !f && v + l.length >= i) {
      u = `${ud}(${e.length - c - 1})`;
      break;
    }
    u = "";
  }
  return `${s}${u}`;
}
a(so, "inspectList");
F(so, "inspectList");
function AY(e) {
  return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/) ? e : JSON.stringify(e).replace(/'/g, "\\'").replace(/\\"/g, '"').replace(/(^"|"$)/g, "'");
}
a(AY, "quoteComplexKey");
F(AY, "quoteComplexKey");
function cd([e, t], r) {
  return r.truncate -= 2, typeof e == "string" ? e = AY(e) : typeof e != "number" && (e = `[${r.inspect(e, r)}]`), r.truncate -= e.length, t =
  r.inspect(t, r), `${e}: ${t}`;
}
a(cd, "inspectProperty");
F(cd, "inspectProperty");
function OY(e, t) {
  let r = Object.keys(e).slice(e.length);
  if (!e.length && !r.length)
    return "[]";
  t.truncate -= 4;
  let n = so(e, t);
  t.truncate -= n.length;
  let o = "";
  return r.length && (o = so(r.map((i) => [i, e[i]]), t, cd)), `[ ${n}${o ? `, ${o}` : ""} ]`;
}
a(OY, "inspectArray");
F(OY, "inspectArray");
var iOe = /* @__PURE__ */ F((e) => typeof Buffer == "function" && e instanceof Buffer ? "Buffer" : e[Symbol.toStringTag] ? e[Symbol.toStringTag] :
e.constructor.name, "getArrayName");
function Sa(e, t) {
  let r = iOe(e);
  t.truncate -= r.length + 4;
  let n = Object.keys(e).slice(e.length);
  if (!e.length && !n.length)
    return `${r}[]`;
  let o = "";
  for (let s = 0; s < e.length; s++) {
    let l = `${t.stylize(oi(e[s], t.truncate), "number")}${s === e.length - 1 ? "" : ", "}`;
    if (t.truncate -= l.length, e[s] !== e.length && t.truncate <= 3) {
      o += `${ud}(${e.length - e[s] + 1})`;
      break;
    }
    o += l;
  }
  let i = "";
  return n.length && (i = so(n.map((s) => [s, e[s]]), t, cd)), `${r}[ ${o}${i ? `, ${i}` : ""} ]`;
}
a(Sa, "inspectTypedArray");
F(Sa, "inspectTypedArray");
function IY(e, t) {
  let r = e.toJSON();
  if (r === null)
    return "Invalid Date";
  let n = r.split("T"), o = n[0];
  return t.stylize(`${o}T${oi(n[1], t.truncate - o.length - 1)}`, "date");
}
a(IY, "inspectDate");
F(IY, "inspectDate");
function V7(e, t) {
  let r = e[Symbol.toStringTag] || "Function", n = e.name;
  return n ? t.stylize(`[${r} ${oi(n, t.truncate - 11)}]`, "special") : t.stylize(`[${r}]`, "special");
}
a(V7, "inspectFunction");
F(V7, "inspectFunction");
function MY([e, t], r) {
  return r.truncate -= 4, e = r.inspect(e, r), r.truncate -= e.length, t = r.inspect(t, r), `${e} => ${t}`;
}
a(MY, "inspectMapEntry");
F(MY, "inspectMapEntry");
function NY(e) {
  let t = [];
  return e.forEach((r, n) => {
    t.push([n, r]);
  }), t;
}
a(NY, "mapToEntries");
F(NY, "mapToEntries");
function LY(e, t) {
  return e.size - 1 <= 0 ? "Map{}" : (t.truncate -= 7, `Map{ ${so(NY(e), t, MY)} }`);
}
a(LY, "inspectMap");
F(LY, "inspectMap");
var sOe = Number.isNaN || ((e) => e !== e);
function W7(e, t) {
  return sOe(e) ? t.stylize("NaN", "number") : e === 1 / 0 ? t.stylize("Infinity", "number") : e === -1 / 0 ? t.stylize("-Infinity", "number") :
  e === 0 ? t.stylize(1 / e === 1 / 0 ? "+0" : "-0", "number") : t.stylize(oi(String(e), t.truncate), "number");
}
a(W7, "inspectNumber");
F(W7, "inspectNumber");
function G7(e, t) {
  let r = oi(e.toString(), t.truncate - 1);
  return r !== ud && (r += "n"), t.stylize(r, "bigint");
}
a(G7, "inspectBigInt");
F(G7, "inspectBigInt");
function kY(e, t) {
  let r = e.toString().split("/")[2], n = t.truncate - (2 + r.length), o = e.source;
  return t.stylize(`/${oi(o, n)}/${r}`, "regexp");
}
a(kY, "inspectRegExp");
F(kY, "inspectRegExp");
function qY(e) {
  let t = [];
  return e.forEach((r) => {
    t.push(r);
  }), t;
}
a(qY, "arrayFromSet");
F(qY, "arrayFromSet");
function DY(e, t) {
  return e.size === 0 ? "Set{}" : (t.truncate -= 7, `Set{ ${so(qY(e), t)} }`);
}
a(DY, "inspectSet");
F(DY, "inspectSet");
var cY = new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\u\
ffff]", "g"), lOe = {
  "\b": "\\b",
  "	": "\\t",
  "\n": "\\n",
  "\f": "\\f",
  "\r": "\\r",
  "'": "\\'",
  "\\": "\\\\"
}, uOe = 16, cOe = 4;
function FY(e) {
  return lOe[e] || `\\u${`0000${e.charCodeAt(0).toString(uOe)}`.slice(-cOe)}`;
}
a(FY, "escape");
F(FY, "escape");
function Y7(e, t) {
  return cY.test(e) && (e = e.replace(cY, FY)), t.stylize(`'${oi(e, t.truncate - 2)}'`, "string");
}
a(Y7, "inspectString");
F(Y7, "inspectString");
function K7(e) {
  return "description" in Symbol.prototype ? e.description ? `Symbol(${e.description})` : "Symbol()" : e.toString();
}
a(K7, "inspectSymbol");
F(K7, "inspectSymbol");
var jY = /* @__PURE__ */ F(() => "Promise{\u2026}", "getPromiseValue");
try {
  let { getPromiseDetails: e, kPending: t, kRejected: r } = process.binding("util");
  Array.isArray(e(Promise.resolve())) && (jY = /* @__PURE__ */ F((n, o) => {
    let [i, s] = e(n);
    return i === t ? "Promise{<pending>}" : `Promise${i === r ? "!" : ""}{${o.inspect(s, o)}}`;
  }, "getPromiseValue"));
} catch {
}
var dOe = jY;
function lm(e, t) {
  let r = Object.getOwnPropertyNames(e), n = Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e) : [];
  if (r.length === 0 && n.length === 0)
    return "{}";
  if (t.truncate -= 4, t.seen = t.seen || [], t.seen.includes(e))
    return "[Circular]";
  t.seen.push(e);
  let o = so(r.map((l) => [l, e[l]]), t, cd), i = so(n.map((l) => [l, e[l]]), t, cd);
  t.seen.pop();
  let s = "";
  return o && i && (s = ", "), `{ ${o}${s}${i} }`;
}
a(lm, "inspectObject");
F(lm, "inspectObject");
var z7 = typeof Symbol < "u" && Symbol.toStringTag ? Symbol.toStringTag : !1;
function BY(e, t) {
  let r = "";
  return z7 && z7 in e && (r = e[z7]), r = r || e.constructor.name, (!r || r === "_class") && (r = "<Anonymous Class>"), t.truncate -= r.length,
  `${r}${lm(e, t)}`;
}
a(BY, "inspectClass");
F(BY, "inspectClass");
function $Y(e, t) {
  return e.length === 0 ? "Arguments[]" : (t.truncate -= 13, `Arguments[ ${so(e, t)} ]`);
}
a($Y, "inspectArguments");
F($Y, "inspectArguments");
var fOe = [
  "stack",
  "line",
  "column",
  "name",
  "message",
  "fileName",
  "lineNumber",
  "columnNumber",
  "number",
  "description",
  "cause"
];
function HY(e, t) {
  let r = Object.getOwnPropertyNames(e).filter((s) => fOe.indexOf(s) === -1), n = e.name;
  t.truncate -= n.length;
  let o = "";
  if (typeof e.message == "string" ? o = oi(e.message, t.truncate) : r.unshift("message"), o = o ? `: ${o}` : "", t.truncate -= o.length + 5,
  t.seen = t.seen || [], t.seen.includes(e))
    return "[Circular]";
  t.seen.push(e);
  let i = so(r.map((s) => [s, e[s]]), t, cd);
  return `${n}${o}${i ? ` { ${i} }` : ""}`;
}
a(HY, "inspectObject2");
F(HY, "inspectObject");
function zY([e, t], r) {
  return r.truncate -= 3, t ? `${r.stylize(String(e), "yellow")}=${r.stylize(`"${t}"`, "string")}` : `${r.stylize(String(e), "yellow")}`;
}
a(zY, "inspectAttribute");
F(zY, "inspectAttribute");
function Yv(e, t) {
  return so(e, t, sO, `
`);
}
a(Yv, "inspectHTMLCollection");
F(Yv, "inspectHTMLCollection");
function sO(e, t) {
  let r = e.getAttributeNames(), n = e.tagName.toLowerCase(), o = t.stylize(`<${n}`, "special"), i = t.stylize(">", "special"), s = t.stylize(
  `</${n}>`, "special");
  t.truncate -= n.length * 2 + 5;
  let l = "";
  r.length > 0 && (l += " ", l += so(r.map((d) => [d, e.getAttribute(d)]), t, zY, " ")), t.truncate -= l.length;
  let u = t.truncate, c = Yv(e.children, t);
  return c && c.length > u && (c = `${ud}(${e.children.length})`), `${o}${l}${i}${c}${s}`;
}
a(sO, "inspectHTML");
F(sO, "inspectHTML");
var pOe = typeof Symbol == "function" && typeof Symbol.for == "function", U7 = pOe ? Symbol.for("chai/inspect") : "@@chai/inspect", ld = !1;
try {
  let e = nOe();
  ld = e.inspect ? e.inspect.custom : !1;
} catch {
  ld = !1;
}
var dY = /* @__PURE__ */ new WeakMap(), fY = {}, pY = {
  undefined: /* @__PURE__ */ a((e, t) => t.stylize("undefined", "undefined"), "undefined"),
  null: /* @__PURE__ */ a((e, t) => t.stylize("null", "null"), "null"),
  boolean: /* @__PURE__ */ a((e, t) => t.stylize(String(e), "boolean"), "boolean"),
  Boolean: /* @__PURE__ */ a((e, t) => t.stylize(String(e), "boolean"), "Boolean"),
  number: W7,
  Number: W7,
  bigint: G7,
  BigInt: G7,
  string: Y7,
  String: Y7,
  function: V7,
  Function: V7,
  symbol: K7,
  // A Symbol polyfill will return `Symbol` not `symbol` from typedetect
  Symbol: K7,
  Array: OY,
  Date: IY,
  Map: LY,
  Set: DY,
  RegExp: kY,
  Promise: dOe,
  // WeakSet, WeakMap are totally opaque to us
  WeakSet: /* @__PURE__ */ a((e, t) => t.stylize("WeakSet{\u2026}", "special"), "WeakSet"),
  WeakMap: /* @__PURE__ */ a((e, t) => t.stylize("WeakMap{\u2026}", "special"), "WeakMap"),
  Arguments: $Y,
  Int8Array: Sa,
  Uint8Array: Sa,
  Uint8ClampedArray: Sa,
  Int16Array: Sa,
  Uint16Array: Sa,
  Int32Array: Sa,
  Uint32Array: Sa,
  Float32Array: Sa,
  Float64Array: Sa,
  Generator: /* @__PURE__ */ a(() => "", "Generator"),
  DataView: /* @__PURE__ */ a(() => "", "DataView"),
  ArrayBuffer: /* @__PURE__ */ a(() => "", "ArrayBuffer"),
  Error: HY,
  HTMLCollection: Yv,
  NodeList: Yv
}, mOe = /* @__PURE__ */ F((e, t, r) => U7 in e && typeof e[U7] == "function" ? e[U7](t) : ld && ld in e && typeof e[ld] == "function" ? e[ld](
t.depth, t) : "inspect" in e && typeof e.inspect == "function" ? e.inspect(t.depth, t) : "constructor" in e && dY.has(e.constructor) ? dY.get(
e.constructor)(e, t) : fY[r] ? fY[r](e, t) : "", "inspectCustom"), hOe = Object.prototype.toString;
function Kv(e, t = {}) {
  let r = PY(t, Kv), { customInspect: n } = r, o = e === null ? "null" : typeof e;
  if (o === "object" && (o = hOe.call(e).slice(8, -1)), o in pY)
    return pY[o](e, r);
  if (n && e) {
    let s = mOe(e, r, o);
    if (s)
      return typeof s == "string" ? s : Kv(s, r);
  }
  let i = e ? Object.getPrototypeOf(e) : !1;
  return i === Object.prototype || i === null ? lm(e, r) : e && typeof HTMLElement == "function" && e instanceof HTMLElement ? sO(e, r) : "c\
onstructor" in e ? e.constructor !== Object ? BY(e, r) : lm(e, r) : e === Object(e) ? lm(e, r) : r.stylize(String(e), o);
}
a(Kv, "inspect");
F(Kv, "inspect");
var zr = {
  /**
   * ### config.includeStack
   *
   * User configurable property, influences whether stack trace
   * is included in Assertion error message. Default of false
   * suppresses stack trace in the error message.
   *
   *     chai.config.includeStack = true;  // enable stack on error
   *
   * @param {boolean}
   * @public
   */
  includeStack: !1,
  /**
   * ### config.showDiff
   *
   * User configurable property, influences whether or not
   * the `showDiff` flag should be included in the thrown
   * AssertionErrors. `false` will always be `false`; `true`
   * will be true when the assertion has requested a diff
   * be shown.
   *
   * @param {boolean}
   * @public
   */
  showDiff: !0,
  /**
   * ### config.truncateThreshold
   *
   * User configurable property, sets length threshold for actual and
   * expected values in assertion errors. If this threshold is exceeded, for
   * example for large data structures, the value is replaced with something
   * like `[ Array(3) ]` or `{ Object (prop1, prop2) }`.
   *
   * Set it to zero if you want to disable truncating altogether.
   *
   * This is especially userful when doing assertions on arrays: having this
   * set to a reasonable large value makes the failure messages readily
   * inspectable.
   *
   *     chai.config.truncateThreshold = 0;  // disable truncating
   *
   * @param {number}
   * @public
   */
  truncateThreshold: 40,
  /**
   * ### config.useProxy
   *
   * User configurable property, defines if chai will use a Proxy to throw
   * an error when a non-existent property is read, which protects users
   * from typos when using property-based assertions.
   *
   * Set it to false if you want to disable this feature.
   *
   *     chai.config.useProxy = false;  // disable use of Proxy
   *
   * This feature is automatically disabled regardless of this config value
   * in environments that don't support proxies.
   *
   * @param {boolean}
   * @public
   */
  useProxy: !0,
  /**
   * ### config.proxyExcludedKeys
   *
   * User configurable property, defines which properties should be ignored
   * instead of throwing an error if they do not exist on the assertion.
   * This is only applied if the environment Chai is running in supports proxies and
   * if the `useProxy` configuration setting is enabled.
   * By default, `then` and `inspect` will not throw an error if they do not exist on the
   * assertion object because the `.inspect` property is read by `util.inspect` (for example, when
   * using `console.log` on the assertion object) and `.then` is necessary for promise type-checking.
   *
   *     // By default these keys will not throw an error if they do not exist on the assertion object
   *     chai.config.proxyExcludedKeys = ['then', 'inspect'];
   *
   * @param {Array}
   * @public
   */
  proxyExcludedKeys: ["then", "catch", "inspect", "toJSON"],
  /**
   * ### config.deepEqual
   *
   * User configurable property, defines which a custom function to use for deepEqual
   * comparisons.
   * By default, the function used is the one from the `deep-eql` package without custom comparator.
   *
   *     // use a custom comparator
   *     chai.config.deepEqual = (expected, actual) => {
   *         return chai.util.eql(expected, actual, {
   *             comparator: (expected, actual) => {
   *                 // for non number comparison, use the default behavior
   *                 if(typeof expected !== 'number') return null;
   *                 // allow a difference of 10 between compared numbers
   *                 return typeof actual === 'number' && Math.abs(actual - expected) < 10
   *             }
   *         })
   *     };
   *
   * @param {Function}
   * @public
   */
  deepEqual: null
};
function Ae(e, t, r, n) {
  var o = {
    colors: n,
    depth: typeof r > "u" ? 2 : r,
    showHidden: t,
    truncate: zr.truncateThreshold ? zr.truncateThreshold : 1 / 0
  };
  return Kv(e, o);
}
a(Ae, "inspect2");
F(Ae, "inspect");
function Yl(e) {
  var t = Ae(e), r = Object.prototype.toString.call(e);
  if (zr.truncateThreshold && t.length >= zr.truncateThreshold) {
    if (r === "[object Function]")
      return !e.name || e.name === "" ? "[Function]" : "[Function: " + e.name + "]";
    if (r === "[object Array]")
      return "[ Array(" + e.length + ") ]";
    if (r === "[object Object]") {
      var n = Object.keys(e), o = n.length > 2 ? n.splice(0, 2).join(", ") + ", ..." : n.join(", ");
      return "{ Object (" + o + ") }";
    } else
      return t;
  } else
    return t;
}
a(Yl, "objDisplay");
F(Yl, "objDisplay");
function lO(e, t) {
  var r = ge(e, "negate"), n = ge(e, "object"), o = t[3], i = rb(e, t), s = r ? t[2] : t[1], l = ge(e, "message");
  return typeof s == "function" && (s = s()), s = s || "", s = s.replace(/#\{this\}/g, function() {
    return Yl(n);
  }).replace(/#\{act\}/g, function() {
    return Yl(i);
  }).replace(/#\{exp\}/g, function() {
    return Yl(o);
  }), l ? l + ": " + s : s;
}
a(lO, "getMessage2");
F(lO, "getMessage");
function Vo(e, t, r) {
  var n = e.__flags || (e.__flags = /* @__PURE__ */ Object.create(null));
  t.__flags || (t.__flags = /* @__PURE__ */ Object.create(null)), r = arguments.length === 3 ? r : !0;
  for (var o in n)
    (r || o !== "object" && o !== "ssfi" && o !== "lockSsfi" && o != "message") && (t.__flags[o] = n[o]);
}
a(Vo, "transferFlags");
F(Vo, "transferFlags");
function X7(e) {
  if (typeof e > "u")
    return "undefined";
  if (e === null)
    return "null";
  let t = e[Symbol.toStringTag];
  return typeof t == "string" ? t : Object.prototype.toString.call(e).slice(8, -1);
}
a(X7, "type2");
F(X7, "type");
function uO() {
  this._key = "chai/deep-eql__" + Math.random() + Date.now();
}
a(uO, "FakeMap");
F(uO, "FakeMap");
uO.prototype = {
  get: /* @__PURE__ */ F(/* @__PURE__ */ a(function(t) {
    return t[this._key];
  }, "get"), "get"),
  set: /* @__PURE__ */ F(/* @__PURE__ */ a(function(t, r) {
    Object.isExtensible(t) && Object.defineProperty(t, this._key, {
      value: r,
      configurable: !0
    });
  }, "set"), "set")
};
var UY = typeof WeakMap == "function" ? WeakMap : uO;
function J7(e, t, r) {
  if (!r || Kl(e) || Kl(t))
    return null;
  var n = r.get(e);
  if (n) {
    var o = n.get(t);
    if (typeof o == "boolean")
      return o;
  }
  return null;
}
a(J7, "memoizeCompare");
F(J7, "memoizeCompare");
function sm(e, t, r, n) {
  if (!(!r || Kl(e) || Kl(t))) {
    var o = r.get(e);
    o ? o.set(t, n) : (o = new UY(), o.set(t, n), r.set(e, o));
  }
}
a(sm, "memoizeSet");
F(sm, "memoizeSet");
var VY = um;
function um(e, t, r) {
  if (r && r.comparator)
    return Q7(e, t, r);
  var n = cO(e, t);
  return n !== null ? n : Q7(e, t, r);
}
a(um, "deepEqual");
F(um, "deepEqual");
function cO(e, t) {
  return e === t ? e !== 0 || 1 / e === 1 / t : e !== e && // eslint-disable-line no-self-compare
  t !== t ? !0 : Kl(e) || Kl(t) ? !1 : null;
}
a(cO, "simpleEqual");
F(cO, "simpleEqual");
function Q7(e, t, r) {
  r = r || {}, r.memoize = r.memoize === !1 ? !1 : r.memoize || new UY();
  var n = r && r.comparator, o = J7(e, t, r.memoize);
  if (o !== null)
    return o;
  var i = J7(t, e, r.memoize);
  if (i !== null)
    return i;
  if (n) {
    var s = n(e, t);
    if (s === !1 || s === !0)
      return sm(e, t, r.memoize, s), s;
    var l = cO(e, t);
    if (l !== null)
      return l;
  }
  var u = X7(e);
  if (u !== X7(t))
    return sm(e, t, r.memoize, !1), !1;
  sm(e, t, r.memoize, !0);
  var c = WY(e, t, u, r);
  return sm(e, t, r.memoize, c), c;
}
a(Q7, "extensiveDeepEqual");
F(Q7, "extensiveDeepEqual");
function WY(e, t, r, n) {
  switch (r) {
    case "String":
    case "Number":
    case "Boolean":
    case "Date":
      return um(e.valueOf(), t.valueOf());
    case "Promise":
    case "Symbol":
    case "function":
    case "WeakMap":
    case "WeakSet":
      return e === t;
    case "Error":
      return dO(e, t, ["name", "message", "code"], n);
    case "Arguments":
    case "Int8Array":
    case "Uint8Array":
    case "Uint8ClampedArray":
    case "Int16Array":
    case "Uint16Array":
    case "Int32Array":
    case "Uint32Array":
    case "Float32Array":
    case "Float64Array":
    case "Array":
      return ps(e, t, n);
    case "RegExp":
      return GY(e, t);
    case "Generator":
      return YY(e, t, n);
    case "DataView":
      return ps(new Uint8Array(e.buffer), new Uint8Array(t.buffer), n);
    case "ArrayBuffer":
      return ps(new Uint8Array(e), new Uint8Array(t), n);
    case "Set":
      return Z7(e, t, n);
    case "Map":
      return Z7(e, t, n);
    case "Temporal.PlainDate":
    case "Temporal.PlainTime":
    case "Temporal.PlainDateTime":
    case "Temporal.Instant":
    case "Temporal.ZonedDateTime":
    case "Temporal.PlainYearMonth":
    case "Temporal.PlainMonthDay":
      return e.equals(t);
    case "Temporal.Duration":
      return e.total("nanoseconds") === t.total("nanoseconds");
    case "Temporal.TimeZone":
    case "Temporal.Calendar":
      return e.toString() === t.toString();
    default:
      return XY(e, t, n);
  }
}
a(WY, "extensiveDeepEqualByType");
F(WY, "extensiveDeepEqualByType");
function GY(e, t) {
  return e.toString() === t.toString();
}
a(GY, "regexpEqual");
F(GY, "regexpEqual");
function Z7(e, t, r) {
  try {
    if (e.size !== t.size)
      return !1;
    if (e.size === 0)
      return !0;
  } catch {
    return !1;
  }
  var n = [], o = [];
  return e.forEach(/* @__PURE__ */ F(/* @__PURE__ */ a(function(s, l) {
    n.push([s, l]);
  }, "gatherEntries"), "gatherEntries")), t.forEach(/* @__PURE__ */ F(/* @__PURE__ */ a(function(s, l) {
    o.push([s, l]);
  }, "gatherEntries"), "gatherEntries")), ps(n.sort(), o.sort(), r);
}
a(Z7, "entriesEqual");
F(Z7, "entriesEqual");
function ps(e, t, r) {
  var n = e.length;
  if (n !== t.length)
    return !1;
  if (n === 0)
    return !0;
  for (var o = -1; ++o < n; )
    if (um(e[o], t[o], r) === !1)
      return !1;
  return !0;
}
a(ps, "iterableEqual");
F(ps, "iterableEqual");
function YY(e, t, r) {
  return ps(Xv(e), Xv(t), r);
}
a(YY, "generatorEqual");
F(YY, "generatorEqual");
function KY(e) {
  return typeof Symbol < "u" && typeof e == "object" && typeof Symbol.iterator < "u" && typeof e[Symbol.iterator] == "function";
}
a(KY, "hasIteratorFunction");
F(KY, "hasIteratorFunction");
function eO(e) {
  if (KY(e))
    try {
      return Xv(e[Symbol.iterator]());
    } catch {
      return [];
    }
  return [];
}
a(eO, "getIteratorEntries");
F(eO, "getIteratorEntries");
function Xv(e) {
  for (var t = e.next(), r = [t.value]; t.done === !1; )
    t = e.next(), r.push(t.value);
  return r;
}
a(Xv, "getGeneratorEntries");
F(Xv, "getGeneratorEntries");
function tO(e) {
  var t = [];
  for (var r in e)
    t.push(r);
  return t;
}
a(tO, "getEnumerableKeys");
F(tO, "getEnumerableKeys");
function rO(e) {
  for (var t = [], r = Object.getOwnPropertySymbols(e), n = 0; n < r.length; n += 1) {
    var o = r[n];
    Object.getOwnPropertyDescriptor(e, o).enumerable && t.push(o);
  }
  return t;
}
a(rO, "getEnumerableSymbols");
F(rO, "getEnumerableSymbols");
function dO(e, t, r, n) {
  var o = r.length;
  if (o === 0)
    return !0;
  for (var i = 0; i < o; i += 1)
    if (um(e[r[i]], t[r[i]], n) === !1)
      return !1;
  return !0;
}
a(dO, "keysEqual");
F(dO, "keysEqual");
function XY(e, t, r) {
  var n = tO(e), o = tO(t), i = rO(e), s = rO(t);
  if (n = n.concat(i), o = o.concat(s), n.length && n.length === o.length)
    return ps(nO(n).sort(), nO(o).sort()) === !1 ? !1 : dO(e, t, n, r);
  var l = eO(e), u = eO(t);
  return l.length && l.length === u.length ? (l.sort(), u.sort(), ps(l, u, r)) : n.length === 0 && l.length === 0 && o.length === 0 && u.length ===
  0;
}
a(XY, "objectEqual");
F(XY, "objectEqual");
function Kl(e) {
  return e === null || typeof e != "object";
}
a(Kl, "isPrimitive");
F(Kl, "isPrimitive");
function nO(e) {
  return e.map(/* @__PURE__ */ F(/* @__PURE__ */ a(function(r) {
    return typeof r == "symbol" ? r.toString() : r;
  }, "mapSymbol"), "mapSymbol"));
}
a(nO, "mapSymbols");
F(nO, "mapSymbols");
function nb(e, t) {
  return typeof e > "u" || e === null ? !1 : t in Object(e);
}
a(nb, "hasProperty");
F(nb, "hasProperty");
function JY(e) {
  return e.replace(/([^\\])\[/g, "$1.[").match(/(\\\.|[^.]+?)+/g).map((n) => {
    if (n === "constructor" || n === "__proto__" || n === "prototype")
      return {};
    let i = /^\[(\d+)\]$/.exec(n), s = null;
    return i ? s = { i: parseFloat(i[1]) } : s = { p: n.replace(/\\([.[\]])/g, "$1") }, s;
  });
}
a(JY, "parsePath");
F(JY, "parsePath");
function oO(e, t, r) {
  let n = e, o = null;
  r = typeof r > "u" ? t.length : r;
  for (let i = 0; i < r; i++) {
    let s = t[i];
    n && (typeof s.p > "u" ? n = n[s.i] : n = n[s.p], i === r - 1 && (o = n));
  }
  return o;
}
a(oO, "internalGetPathValue");
F(oO, "internalGetPathValue");
function fO(e, t) {
  let r = JY(t), n = r[r.length - 1], o = {
    parent: r.length > 1 ? oO(e, r, r.length - 1) : e,
    name: n.p || n.i,
    value: oO(e, r)
  };
  return o.exists = nb(o.parent, o.name), o;
}
a(fO, "getPathInfo");
F(fO, "getPathInfo");
function T(e, t, r, n) {
  return ge(this, "ssfi", r || T), ge(this, "lockSsfi", n), ge(this, "object", e), ge(this, "message", t), ge(this, "eql", zr.deepEqual || VY),
  dd(this);
}
a(T, "Assertion");
F(T, "Assertion");
Object.defineProperty(T, "includeStack", {
  get: /* @__PURE__ */ a(function() {
    return console.warn(
      "Assertion.includeStack is deprecated, use chai.config.includeStack instead."
    ), zr.includeStack;
  }, "get"),
  set: /* @__PURE__ */ a(function(e) {
    console.warn(
      "Assertion.includeStack is deprecated, use chai.config.includeStack instead."
    ), zr.includeStack = e;
  }, "set")
});
Object.defineProperty(T, "showDiff", {
  get: /* @__PURE__ */ a(function() {
    return console.warn(
      "Assertion.showDiff is deprecated, use chai.config.showDiff instead."
    ), zr.showDiff;
  }, "get"),
  set: /* @__PURE__ */ a(function(e) {
    console.warn(
      "Assertion.showDiff is deprecated, use chai.config.showDiff instead."
    ), zr.showDiff = e;
  }, "set")
});
T.addProperty = function(e, t) {
  pO(this.prototype, e, t);
};
T.addMethod = function(e, t) {
  mO(this.prototype, e, t);
};
T.addChainableMethod = function(e, t, r) {
  yO(this.prototype, e, t, r);
};
T.overwriteProperty = function(e, t) {
  hO(this.prototype, e, t);
};
T.overwriteMethod = function(e, t) {
  gO(this.prototype, e, t);
};
T.overwriteChainableMethod = function(e, t, r) {
  vO(this.prototype, e, t, r);
};
T.prototype.assert = function(e, t, r, n, o, i) {
  var s = iO(this, arguments);
  if (i !== !1 && (i = !0), n === void 0 && o === void 0 && (i = !1), zr.showDiff !== !0 && (i = !1), !s) {
    t = lO(this, arguments);
    var l = rb(this, arguments), u = {
      actual: l,
      expected: n,
      showDiff: i
    }, c = EO(this, arguments);
    throw c && (u.operator = c), new Ne(
      t,
      u,
      zr.includeStack ? this.assert : ge(this, "ssfi")
    );
  }
};
Object.defineProperty(T.prototype, "_obj", {
  get: /* @__PURE__ */ a(function() {
    return ge(this, "object");
  }, "get"),
  set: /* @__PURE__ */ a(function(e) {
    ge(this, "object", e);
  }, "set")
});
function cm() {
  return zr.useProxy && typeof Proxy < "u" && typeof Reflect < "u";
}
a(cm, "isProxyEnabled");
F(cm, "isProxyEnabled");
function pO(e, t, r) {
  r = r === void 0 ? function() {
  } : r, Object.defineProperty(e, t, {
    get: /* @__PURE__ */ F(/* @__PURE__ */ a(function n() {
      !cm() && !ge(this, "lockSsfi") && ge(this, "ssfi", n);
      var o = r.call(this);
      if (o !== void 0)
        return o;
      var i = new T();
      return Vo(this, i), i;
    }, "propertyGetter"), "propertyGetter"),
    configurable: !0
  });
}
a(pO, "addProperty");
F(pO, "addProperty");
var gOe = Object.getOwnPropertyDescriptor(function() {
}, "length");
function dm(e, t, r) {
  return gOe.configurable && Object.defineProperty(e, "length", {
    get: /* @__PURE__ */ a(function() {
      throw Error(
        r ? "Invalid Chai property: " + t + '.length. Due to a compatibility issue, "length" cannot directly follow "' + t + '". Use "' + t +
        '.lengthOf" instead.' : "Invalid Chai property: " + t + '.length. See docs for proper usage of "' + t + '".'
      );
    }, "get")
  }), e;
}
a(dm, "addLengthGuard");
F(dm, "addLengthGuard");
function QY(e) {
  var t = Object.getOwnPropertyNames(e);
  function r(o) {
    t.indexOf(o) === -1 && t.push(o);
  }
  a(r, "addProperty2"), F(r, "addProperty");
  for (var n = Object.getPrototypeOf(e); n !== null; )
    Object.getOwnPropertyNames(n).forEach(r), n = Object.getPrototypeOf(n);
  return t;
}
a(QY, "getProperties");
F(QY, "getProperties");
var mY = ["__flags", "__methods", "_obj", "assert"];
function dd(e, t) {
  return cm() ? new Proxy(e, {
    get: /* @__PURE__ */ F(/* @__PURE__ */ a(function r(n, o) {
      if (typeof o == "string" && zr.proxyExcludedKeys.indexOf(o) === -1 && !Reflect.has(n, o)) {
        if (t)
          throw Error(
            "Invalid Chai property: " + t + "." + o + '. See docs for proper usage of "' + t + '".'
          );
        var i = null, s = 4;
        throw QY(n).forEach(function(l) {
          if (
            // we actually mean to check `Object.prototype` here
            // eslint-disable-next-line no-prototype-builtins
            !Object.prototype.hasOwnProperty(l) && mY.indexOf(l) === -1
          ) {
            var u = ZY(o, l, s);
            u < s && (i = l, s = u);
          }
        }), Error(
          i !== null ? "Invalid Chai property: " + o + '. Did you mean "' + i + '"?' : "Invalid Chai property: " + o
        );
      }
      return mY.indexOf(o) === -1 && !ge(n, "lockSsfi") && ge(n, "ssfi", r), Reflect.get(n, o);
    }, "proxyGetter"), "proxyGetter")
  }) : e;
}
a(dd, "proxify");
F(dd, "proxify");
function ZY(e, t, r) {
  if (Math.abs(e.length - t.length) >= r)
    return r;
  var n = [];
  for (let i = 0; i <= e.length; i++)
    n[i] = Array(t.length + 1).fill(0), n[i][0] = i;
  for (let i = 0; i < t.length; i++)
    n[0][i] = i;
  for (let i = 1; i <= e.length; i++) {
    var o = e.charCodeAt(i - 1);
    for (let s = 1; s <= t.length; s++) {
      if (Math.abs(i - s) >= r) {
        n[i][s] = r;
        continue;
      }
      n[i][s] = Math.min(
        n[i - 1][s] + 1,
        n[i][s - 1] + 1,
        n[i - 1][s - 1] + (o === t.charCodeAt(s - 1) ? 0 : 1)
      );
    }
  }
  return n[e.length][t.length];
}
a(ZY, "stringDistanceCapped");
F(ZY, "stringDistanceCapped");
function mO(e, t, r) {
  var n = /* @__PURE__ */ F(function() {
    ge(this, "lockSsfi") || ge(this, "ssfi", n);
    var o = r.apply(this, arguments);
    if (o !== void 0)
      return o;
    var i = new T();
    return Vo(this, i), i;
  }, "methodWrapper");
  dm(n, t, !1), e[t] = dd(n, t);
}
a(mO, "addMethod");
F(mO, "addMethod");
function hO(e, t, r) {
  var n = Object.getOwnPropertyDescriptor(e, t), o = /* @__PURE__ */ F(function() {
  }, "_super");
  n && typeof n.get == "function" && (o = n.get), Object.defineProperty(e, t, {
    get: /* @__PURE__ */ F(/* @__PURE__ */ a(function i() {
      !cm() && !ge(this, "lockSsfi") && ge(this, "ssfi", i);
      var s = ge(this, "lockSsfi");
      ge(this, "lockSsfi", !0);
      var l = r(o).call(this);
      if (ge(this, "lockSsfi", s), l !== void 0)
        return l;
      var u = new T();
      return Vo(this, u), u;
    }, "overwritingPropertyGetter"), "overwritingPropertyGetter"),
    configurable: !0
  });
}
a(hO, "overwriteProperty");
F(hO, "overwriteProperty");
function gO(e, t, r) {
  var n = e[t], o = /* @__PURE__ */ F(function() {
    throw new Error(t + " is not a function");
  }, "_super");
  n && typeof n == "function" && (o = n);
  var i = /* @__PURE__ */ F(function() {
    ge(this, "lockSsfi") || ge(this, "ssfi", i);
    var s = ge(this, "lockSsfi");
    ge(this, "lockSsfi", !0);
    var l = r(o).apply(this, arguments);
    if (ge(this, "lockSsfi", s), l !== void 0)
      return l;
    var u = new T();
    return Vo(this, u), u;
  }, "overwritingMethodWrapper");
  dm(i, t, !1), e[t] = dd(i, t);
}
a(gO, "overwriteMethod");
F(gO, "overwriteMethod");
var yOe = typeof Object.setPrototypeOf == "function", hY = /* @__PURE__ */ F(function() {
}, "testFn"), vOe = Object.getOwnPropertyNames(hY).filter(function(e) {
  var t = Object.getOwnPropertyDescriptor(hY, e);
  return typeof t != "object" ? !0 : !t.configurable;
}), bOe = Function.prototype.call, wOe = Function.prototype.apply;
function yO(e, t, r, n) {
  typeof n != "function" && (n = /* @__PURE__ */ F(function() {
  }, "chainingBehavior"));
  var o = {
    method: r,
    chainingBehavior: n
  };
  e.__methods || (e.__methods = {}), e.__methods[t] = o, Object.defineProperty(e, t, {
    get: /* @__PURE__ */ F(/* @__PURE__ */ a(function() {
      o.chainingBehavior.call(this);
      var s = /* @__PURE__ */ F(function() {
        ge(this, "lockSsfi") || ge(this, "ssfi", s);
        var c = o.method.apply(this, arguments);
        if (c !== void 0)
          return c;
        var d = new T();
        return Vo(this, d), d;
      }, "chainableMethodWrapper");
      if (dm(s, t, !0), yOe) {
        var l = Object.create(this);
        l.call = bOe, l.apply = wOe, Object.setPrototypeOf(s, l);
      } else {
        var u = Object.getOwnPropertyNames(e);
        u.forEach(function(c) {
          if (vOe.indexOf(c) === -1) {
            var d = Object.getOwnPropertyDescriptor(e, c);
            Object.defineProperty(s, c, d);
          }
        });
      }
      return Vo(this, s), dd(s);
    }, "chainableMethodGetter"), "chainableMethodGetter"),
    configurable: !0
  });
}
a(yO, "addChainableMethod");
F(yO, "addChainableMethod");
function vO(e, t, r, n) {
  var o = e.__methods[t], i = o.chainingBehavior;
  o.chainingBehavior = /* @__PURE__ */ F(/* @__PURE__ */ a(function() {
    var u = n(i).call(this);
    if (u !== void 0)
      return u;
    var c = new T();
    return Vo(this, c), c;
  }, "overwritingChainableMethodGetter"), "overwritingChainableMethodGetter");
  var s = o.method;
  o.method = /* @__PURE__ */ F(/* @__PURE__ */ a(function() {
    var u = r(s).apply(this, arguments);
    if (u !== void 0)
      return u;
    var c = new T();
    return Vo(this, c), c;
  }, "overwritingChainableMethodWrapper"), "overwritingChainableMethodWrapper");
}
a(vO, "overwriteChainableMethod");
F(vO, "overwriteChainableMethod");
function Jv(e, t) {
  return Ae(e) < Ae(t) ? -1 : 1;
}
a(Jv, "compareByInspect");
F(Jv, "compareByInspect");
function bO(e) {
  return typeof Object.getOwnPropertySymbols != "function" ? [] : Object.getOwnPropertySymbols(e).filter(function(t) {
    return Object.getOwnPropertyDescriptor(e, t).enumerable;
  });
}
a(bO, "getOwnEnumerablePropertySymbols");
F(bO, "getOwnEnumerablePropertySymbols");
function wO(e) {
  return Object.keys(e).concat(bO(e));
}
a(wO, "getOwnEnumerableProperties");
F(wO, "getOwnEnumerableProperties");
var Qv = Number.isNaN;
function eK(e) {
  var t = ze(e), r = ["Array", "Object", "Function"];
  return r.indexOf(t) !== -1;
}
a(eK, "isObjectType");
F(eK, "isObjectType");
function EO(e, t) {
  var r = ge(e, "operator"), n = ge(e, "negate"), o = t[3], i = n ? t[2] : t[1];
  if (r)
    return r;
  if (typeof i == "function" && (i = i()), i = i || "", !!i && !/\shave\s/.test(i)) {
    var s = eK(o);
    return /\snot\s/.test(i) ? s ? "notDeepStrictEqual" : "notStrictEqual" : s ? "deepStrictEqual" : "strictEqual";
  }
}
a(EO, "getOperator");
F(EO, "getOperator");
function ob(e) {
  return e.name;
}
a(ob, "getName");
F(ob, "getName");
function Zv(e) {
  return Object.prototype.toString.call(e) === "[object RegExp]";
}
a(Zv, "isRegExp2");
F(Zv, "isRegExp");
function er(e) {
  return ["Number", "BigInt"].includes(ze(e));
}
a(er, "isNumeric");
F(er, "isNumeric");
var { flag: I } = io;
[
  "to",
  "be",
  "been",
  "is",
  "and",
  "has",
  "have",
  "with",
  "that",
  "which",
  "at",
  "of",
  "same",
  "but",
  "does",
  "still",
  "also"
].forEach(function(e) {
  T.addProperty(e);
});
T.addProperty("not", function() {
  I(this, "negate", !0);
});
T.addProperty("deep", function() {
  I(this, "deep", !0);
});
T.addProperty("nested", function() {
  I(this, "nested", !0);
});
T.addProperty("own", function() {
  I(this, "own", !0);
});
T.addProperty("ordered", function() {
  I(this, "ordered", !0);
});
T.addProperty("any", function() {
  I(this, "any", !0), I(this, "all", !1);
});
T.addProperty("all", function() {
  I(this, "all", !0), I(this, "any", !1);
});
var gY = {
  function: [
    "function",
    "asyncfunction",
    "generatorfunction",
    "asyncgeneratorfunction"
  ],
  asyncfunction: ["asyncfunction", "asyncgeneratorfunction"],
  generatorfunction: ["generatorfunction", "asyncgeneratorfunction"],
  asyncgeneratorfunction: ["asyncgeneratorfunction"]
};
function RO(e, t) {
  t && I(this, "message", t), e = e.toLowerCase();
  var r = I(this, "object"), n = ~["a", "e", "i", "o", "u"].indexOf(e.charAt(0)) ? "an " : "a ";
  let o = ze(r).toLowerCase();
  gY.function.includes(e) ? this.assert(
    gY[e].includes(o),
    "expected #{this} to be " + n + e,
    "expected #{this} not to be " + n + e
  ) : this.assert(
    e === o,
    "expected #{this} to be " + n + e,
    "expected #{this} not to be " + n + e
  );
}
a(RO, "an");
F(RO, "an");
T.addChainableMethod("an", RO);
T.addChainableMethod("a", RO);
function tK(e, t) {
  return Qv(e) && Qv(t) || e === t;
}
a(tK, "SameValueZero");
F(tK, "SameValueZero");
function fm() {
  I(this, "contains", !0);
}
a(fm, "includeChainingBehavior");
F(fm, "includeChainingBehavior");
function pm(e, t) {
  t && I(this, "message", t);
  var r = I(this, "object"), n = ze(r).toLowerCase(), o = I(this, "message"), i = I(this, "negate"), s = I(this, "ssfi"), l = I(this, "deep"),
  u = l ? "deep " : "", c = l ? I(this, "eql") : tK;
  o = o ? o + ": " : "";
  var d = !1;
  switch (n) {
    case "string":
      d = r.indexOf(e) !== -1;
      break;
    case "weakset":
      if (l)
        throw new Ne(
          o + "unable to use .deep.include with WeakSet",
          void 0,
          s
        );
      d = r.has(e);
      break;
    case "map":
      r.forEach(function(v) {
        d = d || c(v, e);
      });
      break;
    case "set":
      l ? r.forEach(function(v) {
        d = d || c(v, e);
      }) : d = r.has(e);
      break;
    case "array":
      l ? d = r.some(function(v) {
        return c(v, e);
      }) : d = r.indexOf(e) !== -1;
      break;
    default:
      if (e !== Object(e))
        throw new Ne(
          o + "the given combination of arguments (" + n + " and " + ze(e).toLowerCase() + ") is invalid for this assertion. You can use an \
array, a map, an object, a set, a string, or a weakset instead of a " + ze(e).toLowerCase(),
          void 0,
          s
        );
      var f = Object.keys(e), p = null, m = 0;
      if (f.forEach(function(v) {
        var y = new T(r);
        if (Vo(this, y, !0), I(y, "lockSsfi", !0), !i || f.length === 1) {
          y.property(v, e[v]);
          return;
        }
        try {
          y.property(v, e[v]);
        } catch (b) {
          if (!Tn.compatibleConstructor(b, Ne))
            throw b;
          p === null && (p = b), m++;
        }
      }, this), i && f.length > 1 && m === f.length)
        throw p;
      return;
  }
  this.assert(
    d,
    "expected #{this} to " + u + "include " + Ae(e),
    "expected #{this} to not " + u + "include " + Ae(e)
  );
}
a(pm, "include");
F(pm, "include");
T.addChainableMethod("include", pm, fm);
T.addChainableMethod("contain", pm, fm);
T.addChainableMethod("contains", pm, fm);
T.addChainableMethod("includes", pm, fm);
T.addProperty("ok", function() {
  this.assert(
    I(this, "object"),
    "expected #{this} to be truthy",
    "expected #{this} to be falsy"
  );
});
T.addProperty("true", function() {
  this.assert(
    I(this, "object") === !0,
    "expected #{this} to be true",
    "expected #{this} to be false",
    !I(this, "negate")
  );
});
T.addProperty("numeric", function() {
  let e = I(this, "object");
  this.assert(
    ["Number", "BigInt"].includes(ze(e)),
    "expected #{this} to be numeric",
    "expected #{this} to not be numeric",
    !I(this, "negate")
  );
});
T.addProperty("callable", function() {
  let e = I(this, "object"), t = I(this, "ssfi"), r = I(this, "message"), n = r ? `${r}: ` : "", o = I(this, "negate"), i = o ? `${n}expecte\
d ${Ae(e)} not to be a callable function` : `${n}expected ${Ae(e)} to be a callable function`, s = [
    "Function",
    "AsyncFunction",
    "GeneratorFunction",
    "AsyncGeneratorFunction"
  ].includes(ze(e));
  if (s && o || !s && !o)
    throw new Ne(i, void 0, t);
});
T.addProperty("false", function() {
  this.assert(
    I(this, "object") === !1,
    "expected #{this} to be false",
    "expected #{this} to be true",
    !!I(this, "negate")
  );
});
T.addProperty("null", function() {
  this.assert(
    I(this, "object") === null,
    "expected #{this} to be null",
    "expected #{this} not to be null"
  );
});
T.addProperty("undefined", function() {
  this.assert(
    I(this, "object") === void 0,
    "expected #{this} to be undefined",
    "expected #{this} not to be undefined"
  );
});
T.addProperty("NaN", function() {
  this.assert(
    Qv(I(this, "object")),
    "expected #{this} to be NaN",
    "expected #{this} not to be NaN"
  );
});
function xO() {
  var e = I(this, "object");
  this.assert(
    e != null,
    "expected #{this} to exist",
    "expected #{this} to not exist"
  );
}
a(xO, "assertExist");
F(xO, "assertExist");
T.addProperty("exist", xO);
T.addProperty("exists", xO);
T.addProperty("empty", function() {
  var e = I(this, "object"), t = I(this, "ssfi"), r = I(this, "message"), n;
  switch (r = r ? r + ": " : "", ze(e).toLowerCase()) {
    case "array":
    case "string":
      n = e.length;
      break;
    case "map":
    case "set":
      n = e.size;
      break;
    case "weakmap":
    case "weakset":
      throw new Ne(
        r + ".empty was passed a weak collection",
        void 0,
        t
      );
    case "function":
      var o = r + ".empty was passed a function " + ob(e);
      throw new Ne(o.trim(), void 0, t);
    default:
      if (e !== Object(e))
        throw new Ne(
          r + ".empty was passed non-string primitive " + Ae(e),
          void 0,
          t
        );
      n = Object.keys(e).length;
  }
  this.assert(
    n === 0,
    "expected #{this} to be empty",
    "expected #{this} not to be empty"
  );
});
function SO() {
  var e = I(this, "object"), t = ze(e);
  this.assert(
    t === "Arguments",
    "expected #{this} to be arguments but got " + t,
    "expected #{this} to not be arguments"
  );
}
a(SO, "checkArguments");
F(SO, "checkArguments");
T.addProperty("arguments", SO);
T.addProperty("Arguments", SO);
function ab(e, t) {
  t && I(this, "message", t);
  var r = I(this, "object");
  if (I(this, "deep")) {
    var n = I(this, "lockSsfi");
    I(this, "lockSsfi", !0), this.eql(e), I(this, "lockSsfi", n);
  } else
    this.assert(
      e === r,
      "expected #{this} to equal #{exp}",
      "expected #{this} to not equal #{exp}",
      e,
      this._obj,
      !0
    );
}
a(ab, "assertEqual");
F(ab, "assertEqual");
T.addMethod("equal", ab);
T.addMethod("equals", ab);
T.addMethod("eq", ab);
function CO(e, t) {
  t && I(this, "message", t);
  var r = I(this, "eql");
  this.assert(
    r(e, I(this, "object")),
    "expected #{this} to deeply equal #{exp}",
    "expected #{this} to not deeply equal #{exp}",
    e,
    this._obj,
    !0
  );
}
a(CO, "assertEql");
F(CO, "assertEql");
T.addMethod("eql", CO);
T.addMethod("eqls", CO);
function ib(e, t) {
  t && I(this, "message", t);
  var r = I(this, "object"), n = I(this, "doLength"), o = I(this, "message"), i = o ? o + ": " : "", s = I(this, "ssfi"), l = ze(r).toLowerCase(),
  u = ze(e).toLowerCase();
  if (n && l !== "map" && l !== "set" && new T(r, o, s, !0).to.have.property("length"), !n && l === "date" && u !== "date")
    throw new Ne(
      i + "the argument to above must be a date",
      void 0,
      s
    );
  if (!er(e) && (n || er(r)))
    throw new Ne(
      i + "the argument to above must be a number",
      void 0,
      s
    );
  if (!n && l !== "date" && !er(r)) {
    var c = l === "string" ? "'" + r + "'" : r;
    throw new Ne(
      i + "expected " + c + " to be a number or a date",
      void 0,
      s
    );
  }
  if (n) {
    var d = "length", f;
    l === "map" || l === "set" ? (d = "size", f = r.size) : f = r.length, this.assert(
      f > e,
      "expected #{this} to have a " + d + " above #{exp} but got #{act}",
      "expected #{this} to not have a " + d + " above #{exp}",
      e,
      f
    );
  } else
    this.assert(
      r > e,
      "expected #{this} to be above #{exp}",
      "expected #{this} to be at most #{exp}",
      e
    );
}
a(ib, "assertAbove");
F(ib, "assertAbove");
T.addMethod("above", ib);
T.addMethod("gt", ib);
T.addMethod("greaterThan", ib);
function sb(e, t) {
  t && I(this, "message", t);
  var r = I(this, "object"), n = I(this, "doLength"), o = I(this, "message"), i = o ? o + ": " : "", s = I(this, "ssfi"), l = ze(r).toLowerCase(),
  u = ze(e).toLowerCase(), c, d = !0;
  if (n && l !== "map" && l !== "set" && new T(r, o, s, !0).to.have.property("length"), !n && l === "date" && u !== "date")
    c = i + "the argument to least must be a date";
  else if (!er(e) && (n || er(r)))
    c = i + "the argument to least must be a number";
  else if (!n && l !== "date" && !er(r)) {
    var f = l === "string" ? "'" + r + "'" : r;
    c = i + "expected " + f + " to be a number or a date";
  } else
    d = !1;
  if (d)
    throw new Ne(c, void 0, s);
  if (n) {
    var p = "length", m;
    l === "map" || l === "set" ? (p = "size", m = r.size) : m = r.length, this.assert(
      m >= e,
      "expected #{this} to have a " + p + " at least #{exp} but got #{act}",
      "expected #{this} to have a " + p + " below #{exp}",
      e,
      m
    );
  } else
    this.assert(
      r >= e,
      "expected #{this} to be at least #{exp}",
      "expected #{this} to be below #{exp}",
      e
    );
}
a(sb, "assertLeast");
F(sb, "assertLeast");
T.addMethod("least", sb);
T.addMethod("gte", sb);
T.addMethod("greaterThanOrEqual", sb);
function lb(e, t) {
  t && I(this, "message", t);
  var r = I(this, "object"), n = I(this, "doLength"), o = I(this, "message"), i = o ? o + ": " : "", s = I(this, "ssfi"), l = ze(r).toLowerCase(),
  u = ze(e).toLowerCase(), c, d = !0;
  if (n && l !== "map" && l !== "set" && new T(r, o, s, !0).to.have.property("length"), !n && l === "date" && u !== "date")
    c = i + "the argument to below must be a date";
  else if (!er(e) && (n || er(r)))
    c = i + "the argument to below must be a number";
  else if (!n && l !== "date" && !er(r)) {
    var f = l === "string" ? "'" + r + "'" : r;
    c = i + "expected " + f + " to be a number or a date";
  } else
    d = !1;
  if (d)
    throw new Ne(c, void 0, s);
  if (n) {
    var p = "length", m;
    l === "map" || l === "set" ? (p = "size", m = r.size) : m = r.length, this.assert(
      m < e,
      "expected #{this} to have a " + p + " below #{exp} but got #{act}",
      "expected #{this} to not have a " + p + " below #{exp}",
      e,
      m
    );
  } else
    this.assert(
      r < e,
      "expected #{this} to be below #{exp}",
      "expected #{this} to be at least #{exp}",
      e
    );
}
a(lb, "assertBelow");
F(lb, "assertBelow");
T.addMethod("below", lb);
T.addMethod("lt", lb);
T.addMethod("lessThan", lb);
function ub(e, t) {
  t && I(this, "message", t);
  var r = I(this, "object"), n = I(this, "doLength"), o = I(this, "message"), i = o ? o + ": " : "", s = I(this, "ssfi"), l = ze(r).toLowerCase(),
  u = ze(e).toLowerCase(), c, d = !0;
  if (n && l !== "map" && l !== "set" && new T(r, o, s, !0).to.have.property("length"), !n && l === "date" && u !== "date")
    c = i + "the argument to most must be a date";
  else if (!er(e) && (n || er(r)))
    c = i + "the argument to most must be a number";
  else if (!n && l !== "date" && !er(r)) {
    var f = l === "string" ? "'" + r + "'" : r;
    c = i + "expected " + f + " to be a number or a date";
  } else
    d = !1;
  if (d)
    throw new Ne(c, void 0, s);
  if (n) {
    var p = "length", m;
    l === "map" || l === "set" ? (p = "size", m = r.size) : m = r.length, this.assert(
      m <= e,
      "expected #{this} to have a " + p + " at most #{exp} but got #{act}",
      "expected #{this} to have a " + p + " above #{exp}",
      e,
      m
    );
  } else
    this.assert(
      r <= e,
      "expected #{this} to be at most #{exp}",
      "expected #{this} to be above #{exp}",
      e
    );
}
a(ub, "assertMost");
F(ub, "assertMost");
T.addMethod("most", ub);
T.addMethod("lte", ub);
T.addMethod("lessThanOrEqual", ub);
T.addMethod("within", function(e, t, r) {
  r && I(this, "message", r);
  var n = I(this, "object"), o = I(this, "doLength"), i = I(this, "message"), s = i ? i + ": " : "", l = I(this, "ssfi"), u = ze(n).toLowerCase(),
  c = ze(e).toLowerCase(), d = ze(t).toLowerCase(), f, p = !0, m = c === "date" && d === "date" ? e.toISOString() + ".." + t.toISOString() :
  e + ".." + t;
  if (o && u !== "map" && u !== "set" && new T(n, i, l, !0).to.have.property("length"), !o && u === "date" && (c !== "date" || d !== "date"))
    f = s + "the arguments to within must be dates";
  else if ((!er(e) || !er(t)) && (o || er(n)))
    f = s + "the arguments to within must be numbers";
  else if (!o && u !== "date" && !er(n)) {
    var v = u === "string" ? "'" + n + "'" : n;
    f = s + "expected " + v + " to be a number or a date";
  } else
    p = !1;
  if (p)
    throw new Ne(f, void 0, l);
  if (o) {
    var y = "length", b;
    u === "map" || u === "set" ? (y = "size", b = n.size) : b = n.length, this.assert(
      b >= e && b <= t,
      "expected #{this} to have a " + y + " within " + m,
      "expected #{this} to not have a " + y + " within " + m
    );
  } else
    this.assert(
      n >= e && n <= t,
      "expected #{this} to be within " + m,
      "expected #{this} to not be within " + m
    );
});
function _O(e, t) {
  t && I(this, "message", t);
  var r = I(this, "object"), n = I(this, "ssfi"), o = I(this, "message");
  try {
    var i = r instanceof e;
  } catch (l) {
    throw l instanceof TypeError ? (o = o ? o + ": " : "", new Ne(
      o + "The instanceof assertion needs a constructor but " + ze(e) + " was given.",
      void 0,
      n
    )) : l;
  }
  var s = ob(e);
  s == null && (s = "an unnamed constructor"), this.assert(
    i,
    "expected #{this} to be an instance of " + s,
    "expected #{this} to not be an instance of " + s
  );
}
a(_O, "assertInstanceOf");
F(_O, "assertInstanceOf");
T.addMethod("instanceof", _O);
T.addMethod("instanceOf", _O);
function PO(e, t, r) {
  r && I(this, "message", r);
  var n = I(this, "nested"), o = I(this, "own"), i = I(this, "message"), s = I(this, "object"), l = I(this, "ssfi"), u = typeof e;
  if (i = i ? i + ": " : "", n) {
    if (u !== "string")
      throw new Ne(
        i + "the argument to property must be a string when using nested syntax",
        void 0,
        l
      );
  } else if (u !== "string" && u !== "number" && u !== "symbol")
    throw new Ne(
      i + "the argument to property must be a string, number, or symbol",
      void 0,
      l
    );
  if (n && o)
    throw new Ne(
      i + 'The "nested" and "own" flags cannot be combined.',
      void 0,
      l
    );
  if (s == null)
    throw new Ne(
      i + "Target cannot be null or undefined.",
      void 0,
      l
    );
  var c = I(this, "deep"), d = I(this, "negate"), f = n ? fO(s, e) : null, p = n ? f.value : s[e], m = c ? I(this, "eql") : (b, g) => b === g,
  v = "";
  c && (v += "deep "), o && (v += "own "), n && (v += "nested "), v += "property ";
  var y;
  o ? y = Object.prototype.hasOwnProperty.call(s, e) : n ? y = f.exists : y = nb(s, e), (!d || arguments.length === 1) && this.assert(
    y,
    "expected #{this} to have " + v + Ae(e),
    "expected #{this} to not have " + v + Ae(e)
  ), arguments.length > 1 && this.assert(
    y && m(t, p),
    "expected #{this} to have " + v + Ae(e) + " of #{exp}, but got #{act}",
    "expected #{this} to not have " + v + Ae(e) + " of #{act}",
    t,
    p
  ), I(this, "object", p);
}
a(PO, "assertProperty");
F(PO, "assertProperty");
T.addMethod("property", PO);
function TO(e, t, r) {
  I(this, "own", !0), PO.apply(this, arguments);
}
a(TO, "assertOwnProperty");
F(TO, "assertOwnProperty");
T.addMethod("ownProperty", TO);
T.addMethod("haveOwnProperty", TO);
function AO(e, t, r) {
  typeof t == "string" && (r = t, t = null), r && I(this, "message", r);
  var n = I(this, "object"), o = Object.getOwnPropertyDescriptor(Object(n), e), i = I(this, "eql");
  o && t ? this.assert(
    i(t, o),
    "expected the own property descriptor for " + Ae(e) + " on #{this} to match " + Ae(t) + ", got " + Ae(o),
    "expected the own property descriptor for " + Ae(e) + " on #{this} to not match " + Ae(t),
    t,
    o,
    !0
  ) : this.assert(
    o,
    "expected #{this} to have an own property descriptor for " + Ae(e),
    "expected #{this} to not have an own property descriptor for " + Ae(e)
  ), I(this, "object", o);
}
a(AO, "assertOwnPropertyDescriptor");
F(AO, "assertOwnPropertyDescriptor");
T.addMethod("ownPropertyDescriptor", AO);
T.addMethod("haveOwnPropertyDescriptor", AO);
function OO() {
  I(this, "doLength", !0);
}
a(OO, "assertLengthChain");
F(OO, "assertLengthChain");
function IO(e, t) {
  t && I(this, "message", t);
  var r = I(this, "object"), n = ze(r).toLowerCase(), o = I(this, "message"), i = I(this, "ssfi"), s = "length", l;
  switch (n) {
    case "map":
    case "set":
      s = "size", l = r.size;
      break;
    default:
      new T(r, o, i, !0).to.have.property("length"), l = r.length;
  }
  this.assert(
    l == e,
    "expected #{this} to have a " + s + " of #{exp} but got #{act}",
    "expected #{this} to not have a " + s + " of #{act}",
    e,
    l
  );
}
a(IO, "assertLength");
F(IO, "assertLength");
T.addChainableMethod("length", IO, OO);
T.addChainableMethod("lengthOf", IO, OO);
function MO(e, t) {
  t && I(this, "message", t);
  var r = I(this, "object");
  this.assert(
    e.exec(r),
    "expected #{this} to match " + e,
    "expected #{this} not to match " + e
  );
}
a(MO, "assertMatch");
F(MO, "assertMatch");
T.addMethod("match", MO);
T.addMethod("matches", MO);
T.addMethod("string", function(e, t) {
  t && I(this, "message", t);
  var r = I(this, "object"), n = I(this, "message"), o = I(this, "ssfi");
  new T(r, n, o, !0).is.a("string"), this.assert(
    ~r.indexOf(e),
    "expected #{this} to contain " + Ae(e),
    "expected #{this} to not contain " + Ae(e)
  );
});
function NO(e) {
  var t = I(this, "object"), r = ze(t), n = ze(e), o = I(this, "ssfi"), i = I(this, "deep"), s, l = "", u, c = !0, d = I(this, "message");
  d = d ? d + ": " : "";
  var f = d + "when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String argume\
nts";
  if (r === "Map" || r === "Set")
    l = i ? "deeply " : "", u = [], t.forEach(function(w, E) {
      u.push(E);
    }), n !== "Array" && (e = Array.prototype.slice.call(arguments));
  else {
    switch (u = wO(t), n) {
      case "Array":
        if (arguments.length > 1)
          throw new Ne(f, void 0, o);
        break;
      case "Object":
        if (arguments.length > 1)
          throw new Ne(f, void 0, o);
        e = Object.keys(e);
        break;
      default:
        e = Array.prototype.slice.call(arguments);
    }
    e = e.map(function(w) {
      return typeof w == "symbol" ? w : String(w);
    });
  }
  if (!e.length)
    throw new Ne(d + "keys required", void 0, o);
  var p = e.length, m = I(this, "any"), v = I(this, "all"), y = e, b = i ? I(this, "eql") : (w, E) => w === E;
  if (!m && !v && (v = !0), m && (c = y.some(function(w) {
    return u.some(function(E) {
      return b(w, E);
    });
  })), v && (c = y.every(function(w) {
    return u.some(function(E) {
      return b(w, E);
    });
  }), I(this, "contains") || (c = c && e.length == u.length)), p > 1) {
    e = e.map(function(w) {
      return Ae(w);
    });
    var g = e.pop();
    v && (s = e.join(", ") + ", and " + g), m && (s = e.join(", ") + ", or " + g);
  } else
    s = Ae(e[0]);
  s = (p > 1 ? "keys " : "key ") + s, s = (I(this, "contains") ? "contain " : "have ") + s, this.assert(
    c,
    "expected #{this} to " + l + s,
    "expected #{this} to not " + l + s,
    y.slice(0).sort(Jv),
    u.sort(Jv),
    !0
  );
}
a(NO, "assertKeys");
F(NO, "assertKeys");
T.addMethod("keys", NO);
T.addMethod("key", NO);
function cb(e, t, r) {
  r && I(this, "message", r);
  var n = I(this, "object"), o = I(this, "ssfi"), i = I(this, "message"), s = I(this, "negate") || !1;
  new T(n, i, o, !0).is.a("function"), (Zv(e) || typeof e == "string") && (t = e, e = null);
  let l, u = !1;
  try {
    n();
  } catch (w) {
    u = !0, l = w;
  }
  var c = e === void 0 && t === void 0, d = !!(e && t), f = !1, p = !1;
  if (c || !c && !s) {
    var m = "an error";
    e instanceof Error ? m = "#{exp}" : e && (m = Tn.getConstructorName(e));
    let w = l;
    if (l instanceof Error)
      w = l.toString();
    else if (typeof l == "string")
      w = l;
    else if (l && (typeof l == "object" || typeof l == "function"))
      try {
        w = Tn.getConstructorName(l);
      } catch {
      }
    this.assert(
      u,
      "expected #{this} to throw " + m,
      "expected #{this} to not throw an error but #{act} was thrown",
      e && e.toString(),
      w
    );
  }
  if (e && l) {
    if (e instanceof Error) {
      var v = Tn.compatibleInstance(
        l,
        e
      );
      v === s && (d && s ? f = !0 : this.assert(
        s,
        "expected #{this} to throw #{exp} but #{act} was thrown",
        "expected #{this} to not throw #{exp}" + (l && !s ? " but #{act} was thrown" : ""),
        e.toString(),
        l.toString()
      ));
    }
    var y = Tn.compatibleConstructor(
      l,
      e
    );
    y === s && (d && s ? f = !0 : this.assert(
      s,
      "expected #{this} to throw #{exp} but #{act} was thrown",
      "expected #{this} to not throw #{exp}" + (l ? " but #{act} was thrown" : ""),
      e instanceof Error ? e.toString() : e && Tn.getConstructorName(e),
      l instanceof Error ? l.toString() : l && Tn.getConstructorName(l)
    ));
  }
  if (l && t !== void 0 && t !== null) {
    var b = "including";
    Zv(t) && (b = "matching");
    var g = Tn.compatibleMessage(
      l,
      t
    );
    g === s && (d && s ? p = !0 : this.assert(
      s,
      "expected #{this} to throw error " + b + " #{exp} but got #{act}",
      "expected #{this} to throw error not " + b + " #{exp}",
      t,
      Tn.getMessage(l)
    ));
  }
  f && p && this.assert(
    s,
    "expected #{this} to throw #{exp} but #{act} was thrown",
    "expected #{this} to not throw #{exp}" + (l ? " but #{act} was thrown" : ""),
    e instanceof Error ? e.toString() : e && Tn.getConstructorName(e),
    l instanceof Error ? l.toString() : l && Tn.getConstructorName(l)
  ), I(this, "object", l);
}
a(cb, "assertThrows");
F(cb, "assertThrows");
T.addMethod("throw", cb);
T.addMethod("throws", cb);
T.addMethod("Throw", cb);
function LO(e, t) {
  t && I(this, "message", t);
  var r = I(this, "object"), n = I(this, "itself"), o = typeof r == "function" && !n ? r.prototype[e] : r[e];
  this.assert(
    typeof o == "function",
    "expected #{this} to respond to " + Ae(e),
    "expected #{this} to not respond to " + Ae(e)
  );
}
a(LO, "respondTo");
F(LO, "respondTo");
T.addMethod("respondTo", LO);
T.addMethod("respondsTo", LO);
T.addProperty("itself", function() {
  I(this, "itself", !0);
});
function kO(e, t) {
  t && I(this, "message", t);
  var r = I(this, "object"), n = e(r);
  this.assert(
    n,
    "expected #{this} to satisfy " + Yl(e),
    "expected #{this} to not satisfy" + Yl(e),
    !I(this, "negate"),
    n
  );
}
a(kO, "satisfy");
F(kO, "satisfy");
T.addMethod("satisfy", kO);
T.addMethod("satisfies", kO);
function qO(e, t, r) {
  r && I(this, "message", r);
  var n = I(this, "object"), o = I(this, "message"), i = I(this, "ssfi");
  new T(n, o, i, !0).is.numeric;
  let s = "A `delta` value is required for `closeTo`";
  if (t == null)
    throw new Ne(
      o ? `${o}: ${s}` : s,
      void 0,
      i
    );
  if (new T(t, o, i, !0).is.numeric, s = "A `expected` value is required for `closeTo`", e == null)
    throw new Ne(
      o ? `${o}: ${s}` : s,
      void 0,
      i
    );
  new T(e, o, i, !0).is.numeric;
  let l = /* @__PURE__ */ F((c) => c < 0n ? -c : c, "abs"), u = /* @__PURE__ */ F((c) => parseFloat(parseFloat(c).toPrecision(12)), "strip");
  this.assert(
    u(l(n - e)) <= t,
    "expected #{this} to be close to " + e + " +/- " + t,
    "expected #{this} not to be close to " + e + " +/- " + t
  );
}
a(qO, "closeTo");
F(qO, "closeTo");
T.addMethod("closeTo", qO);
T.addMethod("approximately", qO);
function rK(e, t, r, n, o) {
  let i = Array.from(t), s = Array.from(e);
  if (!n) {
    if (s.length !== i.length)
      return !1;
    i = i.slice();
  }
  return s.every(function(l, u) {
    if (o)
      return r ? r(l, i[u]) : l === i[u];
    if (!r) {
      var c = i.indexOf(l);
      return c === -1 ? !1 : (n || i.splice(c, 1), !0);
    }
    return i.some(function(d, f) {
      return r(l, d) ? (n || i.splice(f, 1), !0) : !1;
    });
  });
}
a(rK, "isSubsetOf");
F(rK, "isSubsetOf");
T.addMethod("members", function(e, t) {
  t && I(this, "message", t);
  var r = I(this, "object"), n = I(this, "message"), o = I(this, "ssfi");
  new T(r, n, o, !0).to.be.iterable, new T(e, n, o, !0).to.be.iterable;
  var i = I(this, "contains"), s = I(this, "ordered"), l, u, c;
  i ? (l = s ? "an ordered superset" : "a superset", u = "expected #{this} to be " + l + " of #{exp}", c = "expected #{this} to not be " + l +
  " of #{exp}") : (l = s ? "ordered members" : "members", u = "expected #{this} to have the same " + l + " as #{exp}", c = "expected #{this}\
 to not have the same " + l + " as #{exp}");
  var d = I(this, "deep") ? I(this, "eql") : void 0;
  this.assert(
    rK(e, r, d, i, s),
    u,
    c,
    e,
    r,
    !0
  );
});
T.addProperty("iterable", function(e) {
  e && I(this, "message", e);
  var t = I(this, "object");
  this.assert(
    t != null && t[Symbol.iterator],
    "expected #{this} to be an iterable",
    "expected #{this} to not be an iterable",
    t
  );
});
function nK(e, t) {
  t && I(this, "message", t);
  var r = I(this, "object"), n = I(this, "message"), o = I(this, "ssfi"), i = I(this, "contains"), s = I(this, "deep"), l = I(this, "eql");
  new T(e, n, o, !0).to.be.an("array"), i ? this.assert(
    e.some(function(u) {
      return r.indexOf(u) > -1;
    }),
    "expected #{this} to contain one of #{exp}",
    "expected #{this} to not contain one of #{exp}",
    e,
    r
  ) : s ? this.assert(
    e.some(function(u) {
      return l(r, u);
    }),
    "expected #{this} to deeply equal one of #{exp}",
    "expected #{this} to deeply equal one of #{exp}",
    e,
    r
  ) : this.assert(
    e.indexOf(r) > -1,
    "expected #{this} to be one of #{exp}",
    "expected #{this} to not be one of #{exp}",
    e,
    r
  );
}
a(nK, "oneOf");
F(nK, "oneOf");
T.addMethod("oneOf", nK);
function DO(e, t, r) {
  r && I(this, "message", r);
  var n = I(this, "object"), o = I(this, "message"), i = I(this, "ssfi");
  new T(n, o, i, !0).is.a("function");
  var s;
  t ? (new T(e, o, i, !0).to.have.property(t), s = e[t]) : (new T(e, o, i, !0).is.a("function"), s = e()), n();
  var l = t == null ? e() : e[t], u = t == null ? s : "." + t;
  I(this, "deltaMsgObj", u), I(this, "initialDeltaValue", s), I(this, "finalDeltaValue", l), I(this, "deltaBehavior", "change"), I(this, "re\
alDelta", l !== s), this.assert(
    s !== l,
    "expected " + u + " to change",
    "expected " + u + " to not change"
  );
}
a(DO, "assertChanges");
F(DO, "assertChanges");
T.addMethod("change", DO);
T.addMethod("changes", DO);
function FO(e, t, r) {
  r && I(this, "message", r);
  var n = I(this, "object"), o = I(this, "message"), i = I(this, "ssfi");
  new T(n, o, i, !0).is.a("function");
  var s;
  t ? (new T(e, o, i, !0).to.have.property(t), s = e[t]) : (new T(e, o, i, !0).is.a("function"), s = e()), new T(s, o, i, !0).is.a("number"),
  n();
  var l = t == null ? e() : e[t], u = t == null ? s : "." + t;
  I(this, "deltaMsgObj", u), I(this, "initialDeltaValue", s), I(this, "finalDeltaValue", l), I(this, "deltaBehavior", "increase"), I(this, "\
realDelta", l - s), this.assert(
    l - s > 0,
    "expected " + u + " to increase",
    "expected " + u + " to not increase"
  );
}
a(FO, "assertIncreases");
F(FO, "assertIncreases");
T.addMethod("increase", FO);
T.addMethod("increases", FO);
function jO(e, t, r) {
  r && I(this, "message", r);
  var n = I(this, "object"), o = I(this, "message"), i = I(this, "ssfi");
  new T(n, o, i, !0).is.a("function");
  var s;
  t ? (new T(e, o, i, !0).to.have.property(t), s = e[t]) : (new T(e, o, i, !0).is.a("function"), s = e()), new T(s, o, i, !0).is.a("number"),
  n();
  var l = t == null ? e() : e[t], u = t == null ? s : "." + t;
  I(this, "deltaMsgObj", u), I(this, "initialDeltaValue", s), I(this, "finalDeltaValue", l), I(this, "deltaBehavior", "decrease"), I(this, "\
realDelta", s - l), this.assert(
    l - s < 0,
    "expected " + u + " to decrease",
    "expected " + u + " to not decrease"
  );
}
a(jO, "assertDecreases");
F(jO, "assertDecreases");
T.addMethod("decrease", jO);
T.addMethod("decreases", jO);
function oK(e, t) {
  t && I(this, "message", t);
  var r = I(this, "deltaMsgObj"), n = I(this, "initialDeltaValue"), o = I(this, "finalDeltaValue"), i = I(this, "deltaBehavior"), s = I(this,
  "realDelta"), l;
  i === "change" ? l = Math.abs(o - n) === Math.abs(e) : l = s === Math.abs(e), this.assert(
    l,
    "expected " + r + " to " + i + " by " + e,
    "expected " + r + " to not " + i + " by " + e
  );
}
a(oK, "assertDelta");
F(oK, "assertDelta");
T.addMethod("by", oK);
T.addProperty("extensible", function() {
  var e = I(this, "object"), t = e === Object(e) && Object.isExtensible(e);
  this.assert(
    t,
    "expected #{this} to be extensible",
    "expected #{this} to not be extensible"
  );
});
T.addProperty("sealed", function() {
  var e = I(this, "object"), t = e === Object(e) ? Object.isSealed(e) : !0;
  this.assert(
    t,
    "expected #{this} to be sealed",
    "expected #{this} to not be sealed"
  );
});
T.addProperty("frozen", function() {
  var e = I(this, "object"), t = e === Object(e) ? Object.isFrozen(e) : !0;
  this.assert(
    t,
    "expected #{this} to be frozen",
    "expected #{this} to not be frozen"
  );
});
T.addProperty("finite", function(e) {
  var t = I(this, "object");
  this.assert(
    typeof t == "number" && isFinite(t),
    "expected #{this} to be a finite number",
    "expected #{this} to not be a finite number"
  );
});
function eb(e, t) {
  return e === t ? !0 : typeof t != typeof e ? !1 : typeof e != "object" || e === null ? e === t : t ? Array.isArray(e) ? Array.isArray(t) ?
  e.every(function(r) {
    return t.some(function(n) {
      return eb(r, n);
    });
  }) : !1 : e instanceof Date ? t instanceof Date ? e.getTime() === t.getTime() : !1 : Object.keys(e).every(function(r) {
    var n = e[r], o = t[r];
    return typeof n == "object" && n !== null && o !== null ? eb(n, o) : typeof n == "function" ? n(o) : o === n;
  }) : !1;
}
a(eb, "compareSubset");
F(eb, "compareSubset");
T.addMethod("containSubset", function(e) {
  let t = ge(this, "object"), r = zr.showDiff;
  this.assert(
    eb(e, t),
    "expected #{act} to contain subset #{exp}",
    "expected #{act} to not contain subset #{exp}",
    e,
    t,
    r
  );
});
function hs(e, t) {
  return new T(e, t);
}
a(hs, "expect");
F(hs, "expect");
hs.fail = function(e, t, r, n) {
  throw arguments.length < 2 && (r = e, e = void 0), r = r || "expect.fail()", new Ne(
    r,
    {
      actual: e,
      expected: t,
      operator: n
    },
    hs.fail
  );
};
var aK = {};
aO(aK, {
  Should: /* @__PURE__ */ a(() => ROe, "Should"),
  should: /* @__PURE__ */ a(() => EOe, "should")
});
function BO() {
  function e() {
    return this instanceof String || this instanceof Number || this instanceof Boolean || typeof Symbol == "function" && this instanceof Symbol ||
    typeof BigInt == "function" && this instanceof BigInt ? new T(this.valueOf(), null, e) : new T(this, null, e);
  }
  a(e, "shouldGetter"), F(e, "shouldGetter");
  function t(n) {
    Object.defineProperty(this, "should", {
      value: n,
      enumerable: !0,
      configurable: !0,
      writable: !0
    });
  }
  a(t, "shouldSetter"), F(t, "shouldSetter"), Object.defineProperty(Object.prototype, "should", {
    set: t,
    get: e,
    configurable: !0
  });
  var r = {};
  return r.fail = function(n, o, i, s) {
    throw arguments.length < 2 && (i = n, n = void 0), i = i || "should.fail()", new Ne(
      i,
      {
        actual: n,
        expected: o,
        operator: s
      },
      r.fail
    );
  }, r.equal = function(n, o, i) {
    new T(n, i).to.equal(o);
  }, r.Throw = function(n, o, i, s) {
    new T(n, s).to.Throw(o, i);
  }, r.exist = function(n, o) {
    new T(n, o).to.exist;
  }, r.not = {}, r.not.equal = function(n, o, i) {
    new T(n, i).to.not.equal(o);
  }, r.not.Throw = function(n, o, i, s) {
    new T(n, s).to.not.Throw(o, i);
  }, r.not.exist = function(n, o) {
    new T(n, o).to.not.exist;
  }, r.throw = r.Throw, r.not.throw = r.not.Throw, r;
}
a(BO, "loadShould");
F(BO, "loadShould");
var EOe = BO, ROe = BO;
function P(e, t) {
  var r = new T(null, null, P, !0);
  r.assert(e, t, "[ negation message unavailable ]");
}
a(P, "assert");
F(P, "assert");
P.fail = function(e, t, r, n) {
  throw arguments.length < 2 && (r = e, e = void 0), r = r || "assert.fail()", new Ne(
    r,
    {
      actual: e,
      expected: t,
      operator: n
    },
    P.fail
  );
};
P.isOk = function(e, t) {
  new T(e, t, P.isOk, !0).is.ok;
};
P.isNotOk = function(e, t) {
  new T(e, t, P.isNotOk, !0).is.not.ok;
};
P.equal = function(e, t, r) {
  var n = new T(e, r, P.equal, !0);
  n.assert(
    t == ge(n, "object"),
    "expected #{this} to equal #{exp}",
    "expected #{this} to not equal #{act}",
    t,
    e,
    !0
  );
};
P.notEqual = function(e, t, r) {
  var n = new T(e, r, P.notEqual, !0);
  n.assert(
    t != ge(n, "object"),
    "expected #{this} to not equal #{exp}",
    "expected #{this} to equal #{act}",
    t,
    e,
    !0
  );
};
P.strictEqual = function(e, t, r) {
  new T(e, r, P.strictEqual, !0).to.equal(t);
};
P.notStrictEqual = function(e, t, r) {
  new T(e, r, P.notStrictEqual, !0).to.not.equal(t);
};
P.deepEqual = P.deepStrictEqual = function(e, t, r) {
  new T(e, r, P.deepEqual, !0).to.eql(t);
};
P.notDeepEqual = function(e, t, r) {
  new T(e, r, P.notDeepEqual, !0).to.not.eql(t);
};
P.isAbove = function(e, t, r) {
  new T(e, r, P.isAbove, !0).to.be.above(t);
};
P.isAtLeast = function(e, t, r) {
  new T(e, r, P.isAtLeast, !0).to.be.least(t);
};
P.isBelow = function(e, t, r) {
  new T(e, r, P.isBelow, !0).to.be.below(t);
};
P.isAtMost = function(e, t, r) {
  new T(e, r, P.isAtMost, !0).to.be.most(t);
};
P.isTrue = function(e, t) {
  new T(e, t, P.isTrue, !0).is.true;
};
P.isNotTrue = function(e, t) {
  new T(e, t, P.isNotTrue, !0).to.not.equal(!0);
};
P.isFalse = function(e, t) {
  new T(e, t, P.isFalse, !0).is.false;
};
P.isNotFalse = function(e, t) {
  new T(e, t, P.isNotFalse, !0).to.not.equal(!1);
};
P.isNull = function(e, t) {
  new T(e, t, P.isNull, !0).to.equal(null);
};
P.isNotNull = function(e, t) {
  new T(e, t, P.isNotNull, !0).to.not.equal(null);
};
P.isNaN = function(e, t) {
  new T(e, t, P.isNaN, !0).to.be.NaN;
};
P.isNotNaN = function(e, t) {
  new T(e, t, P.isNotNaN, !0).not.to.be.NaN;
};
P.exists = function(e, t) {
  new T(e, t, P.exists, !0).to.exist;
};
P.notExists = function(e, t) {
  new T(e, t, P.notExists, !0).to.not.exist;
};
P.isUndefined = function(e, t) {
  new T(e, t, P.isUndefined, !0).to.equal(void 0);
};
P.isDefined = function(e, t) {
  new T(e, t, P.isDefined, !0).to.not.equal(void 0);
};
P.isCallable = function(e, t) {
  new T(e, t, P.isCallable, !0).is.callable;
};
P.isNotCallable = function(e, t) {
  new T(e, t, P.isNotCallable, !0).is.not.callable;
};
P.isObject = function(e, t) {
  new T(e, t, P.isObject, !0).to.be.a("object");
};
P.isNotObject = function(e, t) {
  new T(e, t, P.isNotObject, !0).to.not.be.a("object");
};
P.isArray = function(e, t) {
  new T(e, t, P.isArray, !0).to.be.an("array");
};
P.isNotArray = function(e, t) {
  new T(e, t, P.isNotArray, !0).to.not.be.an("array");
};
P.isString = function(e, t) {
  new T(e, t, P.isString, !0).to.be.a("string");
};
P.isNotString = function(e, t) {
  new T(e, t, P.isNotString, !0).to.not.be.a("string");
};
P.isNumber = function(e, t) {
  new T(e, t, P.isNumber, !0).to.be.a("number");
};
P.isNotNumber = function(e, t) {
  new T(e, t, P.isNotNumber, !0).to.not.be.a("number");
};
P.isNumeric = function(e, t) {
  new T(e, t, P.isNumeric, !0).is.numeric;
};
P.isNotNumeric = function(e, t) {
  new T(e, t, P.isNotNumeric, !0).is.not.numeric;
};
P.isFinite = function(e, t) {
  new T(e, t, P.isFinite, !0).to.be.finite;
};
P.isBoolean = function(e, t) {
  new T(e, t, P.isBoolean, !0).to.be.a("boolean");
};
P.isNotBoolean = function(e, t) {
  new T(e, t, P.isNotBoolean, !0).to.not.be.a("boolean");
};
P.typeOf = function(e, t, r) {
  new T(e, r, P.typeOf, !0).to.be.a(t);
};
P.notTypeOf = function(e, t, r) {
  new T(e, r, P.notTypeOf, !0).to.not.be.a(t);
};
P.instanceOf = function(e, t, r) {
  new T(e, r, P.instanceOf, !0).to.be.instanceOf(t);
};
P.notInstanceOf = function(e, t, r) {
  new T(e, r, P.notInstanceOf, !0).to.not.be.instanceOf(
    t
  );
};
P.include = function(e, t, r) {
  new T(e, r, P.include, !0).include(t);
};
P.notInclude = function(e, t, r) {
  new T(e, r, P.notInclude, !0).not.include(t);
};
P.deepInclude = function(e, t, r) {
  new T(e, r, P.deepInclude, !0).deep.include(t);
};
P.notDeepInclude = function(e, t, r) {
  new T(e, r, P.notDeepInclude, !0).not.deep.include(t);
};
P.nestedInclude = function(e, t, r) {
  new T(e, r, P.nestedInclude, !0).nested.include(t);
};
P.notNestedInclude = function(e, t, r) {
  new T(e, r, P.notNestedInclude, !0).not.nested.include(
    t
  );
};
P.deepNestedInclude = function(e, t, r) {
  new T(e, r, P.deepNestedInclude, !0).deep.nested.include(
    t
  );
};
P.notDeepNestedInclude = function(e, t, r) {
  new T(
    e,
    r,
    P.notDeepNestedInclude,
    !0
  ).not.deep.nested.include(t);
};
P.ownInclude = function(e, t, r) {
  new T(e, r, P.ownInclude, !0).own.include(t);
};
P.notOwnInclude = function(e, t, r) {
  new T(e, r, P.notOwnInclude, !0).not.own.include(t);
};
P.deepOwnInclude = function(e, t, r) {
  new T(e, r, P.deepOwnInclude, !0).deep.own.include(t);
};
P.notDeepOwnInclude = function(e, t, r) {
  new T(e, r, P.notDeepOwnInclude, !0).not.deep.own.include(
    t
  );
};
P.match = function(e, t, r) {
  new T(e, r, P.match, !0).to.match(t);
};
P.notMatch = function(e, t, r) {
  new T(e, r, P.notMatch, !0).to.not.match(t);
};
P.property = function(e, t, r) {
  new T(e, r, P.property, !0).to.have.property(t);
};
P.notProperty = function(e, t, r) {
  new T(e, r, P.notProperty, !0).to.not.have.property(t);
};
P.propertyVal = function(e, t, r, n) {
  new T(e, n, P.propertyVal, !0).to.have.property(t, r);
};
P.notPropertyVal = function(e, t, r, n) {
  new T(e, n, P.notPropertyVal, !0).to.not.have.property(
    t,
    r
  );
};
P.deepPropertyVal = function(e, t, r, n) {
  new T(e, n, P.deepPropertyVal, !0).to.have.deep.property(
    t,
    r
  );
};
P.notDeepPropertyVal = function(e, t, r, n) {
  new T(
    e,
    n,
    P.notDeepPropertyVal,
    !0
  ).to.not.have.deep.property(t, r);
};
P.ownProperty = function(e, t, r) {
  new T(e, r, P.ownProperty, !0).to.have.own.property(t);
};
P.notOwnProperty = function(e, t, r) {
  new T(e, r, P.notOwnProperty, !0).to.not.have.own.property(
    t
  );
};
P.ownPropertyVal = function(e, t, r, n) {
  new T(e, n, P.ownPropertyVal, !0).to.have.own.property(
    t,
    r
  );
};
P.notOwnPropertyVal = function(e, t, r, n) {
  new T(
    e,
    n,
    P.notOwnPropertyVal,
    !0
  ).to.not.have.own.property(t, r);
};
P.deepOwnPropertyVal = function(e, t, r, n) {
  new T(
    e,
    n,
    P.deepOwnPropertyVal,
    !0
  ).to.have.deep.own.property(t, r);
};
P.notDeepOwnPropertyVal = function(e, t, r, n) {
  new T(
    e,
    n,
    P.notDeepOwnPropertyVal,
    !0
  ).to.not.have.deep.own.property(t, r);
};
P.nestedProperty = function(e, t, r) {
  new T(e, r, P.nestedProperty, !0).to.have.nested.property(
    t
  );
};
P.notNestedProperty = function(e, t, r) {
  new T(
    e,
    r,
    P.notNestedProperty,
    !0
  ).to.not.have.nested.property(t);
};
P.nestedPropertyVal = function(e, t, r, n) {
  new T(
    e,
    n,
    P.nestedPropertyVal,
    !0
  ).to.have.nested.property(t, r);
};
P.notNestedPropertyVal = function(e, t, r, n) {
  new T(
    e,
    n,
    P.notNestedPropertyVal,
    !0
  ).to.not.have.nested.property(t, r);
};
P.deepNestedPropertyVal = function(e, t, r, n) {
  new T(
    e,
    n,
    P.deepNestedPropertyVal,
    !0
  ).to.have.deep.nested.property(t, r);
};
P.notDeepNestedPropertyVal = function(e, t, r, n) {
  new T(
    e,
    n,
    P.notDeepNestedPropertyVal,
    !0
  ).to.not.have.deep.nested.property(t, r);
};
P.lengthOf = function(e, t, r) {
  new T(e, r, P.lengthOf, !0).to.have.lengthOf(t);
};
P.hasAnyKeys = function(e, t, r) {
  new T(e, r, P.hasAnyKeys, !0).to.have.any.keys(t);
};
P.hasAllKeys = function(e, t, r) {
  new T(e, r, P.hasAllKeys, !0).to.have.all.keys(t);
};
P.containsAllKeys = function(e, t, r) {
  new T(e, r, P.containsAllKeys, !0).to.contain.all.keys(
    t
  );
};
P.doesNotHaveAnyKeys = function(e, t, r) {
  new T(e, r, P.doesNotHaveAnyKeys, !0).to.not.have.any.keys(
    t
  );
};
P.doesNotHaveAllKeys = function(e, t, r) {
  new T(e, r, P.doesNotHaveAllKeys, !0).to.not.have.all.keys(
    t
  );
};
P.hasAnyDeepKeys = function(e, t, r) {
  new T(e, r, P.hasAnyDeepKeys, !0).to.have.any.deep.keys(
    t
  );
};
P.hasAllDeepKeys = function(e, t, r) {
  new T(e, r, P.hasAllDeepKeys, !0).to.have.all.deep.keys(
    t
  );
};
P.containsAllDeepKeys = function(e, t, r) {
  new T(
    e,
    r,
    P.containsAllDeepKeys,
    !0
  ).to.contain.all.deep.keys(t);
};
P.doesNotHaveAnyDeepKeys = function(e, t, r) {
  new T(
    e,
    r,
    P.doesNotHaveAnyDeepKeys,
    !0
  ).to.not.have.any.deep.keys(t);
};
P.doesNotHaveAllDeepKeys = function(e, t, r) {
  new T(
    e,
    r,
    P.doesNotHaveAllDeepKeys,
    !0
  ).to.not.have.all.deep.keys(t);
};
P.throws = function(e, t, r, n) {
  (typeof t == "string" || t instanceof RegExp) && (r = t, t = null);
  var o = new T(e, n, P.throws, !0).to.throw(
    t,
    r
  );
  return ge(o, "object");
};
P.doesNotThrow = function(e, t, r, n) {
  (typeof t == "string" || t instanceof RegExp) && (r = t, t = null), new T(e, n, P.doesNotThrow, !0).to.not.throw(
    t,
    r
  );
};
P.operator = function(e, t, r, n) {
  var o;
  switch (t) {
    case "==":
      o = e == r;
      break;
    case "===":
      o = e === r;
      break;
    case ">":
      o = e > r;
      break;
    case ">=":
      o = e >= r;
      break;
    case "<":
      o = e < r;
      break;
    case "<=":
      o = e <= r;
      break;
    case "!=":
      o = e != r;
      break;
    case "!==":
      o = e !== r;
      break;
    default:
      throw n = n && n + ": ", new Ne(
        n + 'Invalid operator "' + t + '"',
        void 0,
        P.operator
      );
  }
  var i = new T(o, n, P.operator, !0);
  i.assert(
    ge(i, "object") === !0,
    "expected " + Ae(e) + " to be " + t + " " + Ae(r),
    "expected " + Ae(e) + " to not be " + t + " " + Ae(r)
  );
};
P.closeTo = function(e, t, r, n) {
  new T(e, n, P.closeTo, !0).to.be.closeTo(t, r);
};
P.approximately = function(e, t, r, n) {
  new T(e, n, P.approximately, !0).to.be.approximately(
    t,
    r
  );
};
P.sameMembers = function(e, t, r) {
  new T(e, r, P.sameMembers, !0).to.have.same.members(t);
};
P.notSameMembers = function(e, t, r) {
  new T(
    e,
    r,
    P.notSameMembers,
    !0
  ).to.not.have.same.members(t);
};
P.sameDeepMembers = function(e, t, r) {
  new T(
    e,
    r,
    P.sameDeepMembers,
    !0
  ).to.have.same.deep.members(t);
};
P.notSameDeepMembers = function(e, t, r) {
  new T(
    e,
    r,
    P.notSameDeepMembers,
    !0
  ).to.not.have.same.deep.members(t);
};
P.sameOrderedMembers = function(e, t, r) {
  new T(
    e,
    r,
    P.sameOrderedMembers,
    !0
  ).to.have.same.ordered.members(t);
};
P.notSameOrderedMembers = function(e, t, r) {
  new T(
    e,
    r,
    P.notSameOrderedMembers,
    !0
  ).to.not.have.same.ordered.members(t);
};
P.sameDeepOrderedMembers = function(e, t, r) {
  new T(
    e,
    r,
    P.sameDeepOrderedMembers,
    !0
  ).to.have.same.deep.ordered.members(t);
};
P.notSameDeepOrderedMembers = function(e, t, r) {
  new T(
    e,
    r,
    P.notSameDeepOrderedMembers,
    !0
  ).to.not.have.same.deep.ordered.members(t);
};
P.includeMembers = function(e, t, r) {
  new T(e, r, P.includeMembers, !0).to.include.members(
    t
  );
};
P.notIncludeMembers = function(e, t, r) {
  new T(
    e,
    r,
    P.notIncludeMembers,
    !0
  ).to.not.include.members(t);
};
P.includeDeepMembers = function(e, t, r) {
  new T(
    e,
    r,
    P.includeDeepMembers,
    !0
  ).to.include.deep.members(t);
};
P.notIncludeDeepMembers = function(e, t, r) {
  new T(
    e,
    r,
    P.notIncludeDeepMembers,
    !0
  ).to.not.include.deep.members(t);
};
P.includeOrderedMembers = function(e, t, r) {
  new T(
    e,
    r,
    P.includeOrderedMembers,
    !0
  ).to.include.ordered.members(t);
};
P.notIncludeOrderedMembers = function(e, t, r) {
  new T(
    e,
    r,
    P.notIncludeOrderedMembers,
    !0
  ).to.not.include.ordered.members(t);
};
P.includeDeepOrderedMembers = function(e, t, r) {
  new T(
    e,
    r,
    P.includeDeepOrderedMembers,
    !0
  ).to.include.deep.ordered.members(t);
};
P.notIncludeDeepOrderedMembers = function(e, t, r) {
  new T(
    e,
    r,
    P.notIncludeDeepOrderedMembers,
    !0
  ).to.not.include.deep.ordered.members(t);
};
P.oneOf = function(e, t, r) {
  new T(e, r, P.oneOf, !0).to.be.oneOf(t);
};
P.isIterable = function(e, t) {
  if (e == null || !e[Symbol.iterator])
    throw t = t ? `${t} expected ${Ae(e)} to be an iterable` : `expected ${Ae(e)} to be an iterable`, new Ne(t, void 0, P.isIterable);
};
P.changes = function(e, t, r, n) {
  arguments.length === 3 && typeof t == "function" && (n = r, r = null), new T(e, n, P.changes, !0).to.change(t, r);
};
P.changesBy = function(e, t, r, n, o) {
  if (arguments.length === 4 && typeof t == "function") {
    var i = n;
    n = r, o = i;
  } else arguments.length === 3 && (n = r, r = null);
  new T(e, o, P.changesBy, !0).to.change(t, r).by(n);
};
P.doesNotChange = function(e, t, r, n) {
  return arguments.length === 3 && typeof t == "function" && (n = r, r = null), new T(e, n, P.doesNotChange, !0).to.not.change(
    t,
    r
  );
};
P.changesButNotBy = function(e, t, r, n, o) {
  if (arguments.length === 4 && typeof t == "function") {
    var i = n;
    n = r, o = i;
  } else arguments.length === 3 && (n = r, r = null);
  new T(e, o, P.changesButNotBy, !0).to.change(t, r).but.not.by(n);
};
P.increases = function(e, t, r, n) {
  return arguments.length === 3 && typeof t == "function" && (n = r, r = null), new T(e, n, P.increases, !0).to.increase(t, r);
};
P.increasesBy = function(e, t, r, n, o) {
  if (arguments.length === 4 && typeof t == "function") {
    var i = n;
    n = r, o = i;
  } else arguments.length === 3 && (n = r, r = null);
  new T(e, o, P.increasesBy, !0).to.increase(t, r).by(n);
};
P.doesNotIncrease = function(e, t, r, n) {
  return arguments.length === 3 && typeof t == "function" && (n = r, r = null), new T(e, n, P.doesNotIncrease, !0).to.not.increase(
    t,
    r
  );
};
P.increasesButNotBy = function(e, t, r, n, o) {
  if (arguments.length === 4 && typeof t == "function") {
    var i = n;
    n = r, o = i;
  } else arguments.length === 3 && (n = r, r = null);
  new T(e, o, P.increasesButNotBy, !0).to.increase(t, r).but.not.by(n);
};
P.decreases = function(e, t, r, n) {
  return arguments.length === 3 && typeof t == "function" && (n = r, r = null), new T(e, n, P.decreases, !0).to.decrease(t, r);
};
P.decreasesBy = function(e, t, r, n, o) {
  if (arguments.length === 4 && typeof t == "function") {
    var i = n;
    n = r, o = i;
  } else arguments.length === 3 && (n = r, r = null);
  new T(e, o, P.decreasesBy, !0).to.decrease(t, r).by(n);
};
P.doesNotDecrease = function(e, t, r, n) {
  return arguments.length === 3 && typeof t == "function" && (n = r, r = null), new T(e, n, P.doesNotDecrease, !0).to.not.decrease(
    t,
    r
  );
};
P.doesNotDecreaseBy = function(e, t, r, n, o) {
  if (arguments.length === 4 && typeof t == "function") {
    var i = n;
    n = r, o = i;
  } else arguments.length === 3 && (n = r, r = null);
  return new T(e, o, P.doesNotDecreaseBy, !0).to.not.decrease(t, r).by(n);
};
P.decreasesButNotBy = function(e, t, r, n, o) {
  if (arguments.length === 4 && typeof t == "function") {
    var i = n;
    n = r, o = i;
  } else arguments.length === 3 && (n = r, r = null);
  new T(e, o, P.decreasesButNotBy, !0).to.decrease(t, r).but.not.by(n);
};
P.ifError = function(e) {
  if (e)
    throw e;
};
P.isExtensible = function(e, t) {
  new T(e, t, P.isExtensible, !0).to.be.extensible;
};
P.isNotExtensible = function(e, t) {
  new T(e, t, P.isNotExtensible, !0).to.not.be.extensible;
};
P.isSealed = function(e, t) {
  new T(e, t, P.isSealed, !0).to.be.sealed;
};
P.isNotSealed = function(e, t) {
  new T(e, t, P.isNotSealed, !0).to.not.be.sealed;
};
P.isFrozen = function(e, t) {
  new T(e, t, P.isFrozen, !0).to.be.frozen;
};
P.isNotFrozen = function(e, t) {
  new T(e, t, P.isNotFrozen, !0).to.not.be.frozen;
};
P.isEmpty = function(e, t) {
  new T(e, t, P.isEmpty, !0).to.be.empty;
};
P.isNotEmpty = function(e, t) {
  new T(e, t, P.isNotEmpty, !0).to.not.be.empty;
};
P.containsSubset = function(e, t, r) {
  new T(e, r).to.containSubset(t);
};
P.doesNotContainSubset = function(e, t, r) {
  new T(e, r).to.not.containSubset(t);
};
var xOe = [
  ["isOk", "ok"],
  ["isNotOk", "notOk"],
  ["throws", "throw"],
  ["throws", "Throw"],
  ["isExtensible", "extensible"],
  ["isNotExtensible", "notExtensible"],
  ["isSealed", "sealed"],
  ["isNotSealed", "notSealed"],
  ["isFrozen", "frozen"],
  ["isNotFrozen", "notFrozen"],
  ["isEmpty", "empty"],
  ["isNotEmpty", "notEmpty"],
  ["isCallable", "isFunction"],
  ["isNotCallable", "isNotFunction"],
  ["containsSubset", "containSubset"]
];
for (let [e, t] of xOe)
  P[t] = P[e];
var yY = [];
function gs(e) {
  let t = {
    use: gs,
    AssertionError: Ne,
    util: io,
    config: zr,
    expect: hs,
    assert: P,
    Assertion: T,
    ...aK
  };
  return ~yY.indexOf(e) || (e(t, io), yY.push(e)), t;
}
a(gs, "use");
F(gs, "use");

// ../node_modules/@testing-library/jest-dom/dist/matchers.mjs
var xI = {};
_e(xI, {
  toBeChecked: () => mI,
  toBeDisabled: () => sI,
  toBeEmpty: () => J6,
  toBeEmptyDOMElement: () => Q6,
  toBeEnabled: () => lI,
  toBeInTheDOM: () => xE,
  toBeInTheDocument: () => X6,
  toBeInvalid: () => cI,
  toBePartiallyChecked: () => hI,
  toBeRequired: () => uI,
  toBeValid: () => dI,
  toBeVisible: () => iI,
  toContainElement: () => SE,
  toContainHTML: () => Z6,
  toHaveAccessibleDescription: () => CE,
  toHaveAccessibleErrorMessage: () => tI,
  toHaveAccessibleName: () => PE,
  toHaveAttribute: () => rI,
  toHaveClass: () => nI,
  toHaveDescription: () => gI,
  toHaveDisplayValue: () => pI,
  toHaveErrorMessage: () => yI,
  toHaveFocus: () => oI,
  toHaveFormValues: () => aI,
  toHaveRole: () => _E,
  toHaveSelection: () => vI,
  toHaveStyle: () => TE,
  toHaveTextContent: () => eI,
  toHaveValue: () => fI
});

// ../node_modules/@testing-library/jest-dom/dist/matchers-c85aadf8.mjs
var G6 = N($O(), 1);

// ../node_modules/@adobe/css-tools/dist/index.mjs
function pK(e) {
  Object.defineProperty(e, "__esModule", { value: !0, configurable: !0 });
}
a(pK, "$parcel$defineInteropFlag");
function UO(e, t, r, n) {
  Object.defineProperty(e, t, { get: r, set: n, enumerable: !0, configurable: !0 });
}
a(UO, "$parcel$export");
var mK = {};
pK(mK);
UO(mK, "default", () => db);
var VO = class VO extends Error {
  constructor(t, r, n, o, i) {
    super(t + ":" + n + ":" + o + ": " + r), this.reason = r, this.filename = t, this.line = n, this.column = o, this.source = i;
  }
};
a(VO, "$009ddb00d3ec72b8$export$2e2bcd8739ae039");
var db = VO, hK = {};
pK(hK);
UO(hK, "default", () => fb);
var WO = class WO {
  constructor(t, r, n) {
    this.start = t, this.end = r, this.source = n;
  }
};
a(WO, "$0865a9fb4cc365fe$export$2e2bcd8739ae039");
var fb = WO, TOe = {};
UO(TOe, "CssTypes", () => tr);
var tr = /* @__PURE__ */ function(e) {
  return e.stylesheet = "stylesheet", e.rule = "rule", e.declaration = "declaration", e.comment = "comment", e.container = "container", e.charset =
  "charset", e.document = "document", e.customMedia = "custom-media", e.fontFace = "font-face", e.host = "host", e.import = "import", e.keyframes =
  "keyframes", e.keyframe = "keyframe", e.layer = "layer", e.media = "media", e.namespace = "namespace", e.page = "page", e.startingStyle = "\
starting-style", e.supports = "supports", e;
}({}), HO = /\/\*[^]*?(?:\*\/|$)/g, AOe = /* @__PURE__ */ a((e, t) => {
  t = t || {};
  let r = 1, n = 1;
  function o(B) {
    let j = B.match(/\n/g);
    j && (r += j.length);
    let J = B.lastIndexOf(`
`);
    n = ~J ? B.length - J : n + B.length;
  }
  a(o, "updatePosition");
  function i() {
    let B = {
      line: r,
      column: n
    };
    return function(j) {
      return j.position = new fb(B, {
        line: r,
        column: n
      }, t?.source || ""), m(), j;
    };
  }
  a(i, "position");
  let s = [];
  function l(B) {
    let j = new db(t?.source || "", B, r, n, e);
    if (t?.silent) s.push(j);
    else throw j;
  }
  a(l, "error");
  function u() {
    let B = f();
    return {
      type: tr.stylesheet,
      stylesheet: {
        source: t?.source,
        rules: B,
        parsingErrors: s
      }
    };
  }
  a(u, "stylesheet");
  function c() {
    return p(/^{\s*/);
  }
  a(c, "open");
  function d() {
    return p(/^}/);
  }
  a(d, "close");
  function f() {
    let B, j = [];
    for (m(), v(j); e.length && e.charAt(0) !== "}" && (B = de() || se()); ) B && (j.push(B), v(j));
    return j;
  }
  a(f, "rules");
  function p(B) {
    let j = B.exec(e);
    if (!j) return;
    let J = j[0];
    return o(J), e = e.slice(J.length), j;
  }
  a(p, "match");
  function m() {
    p(/^\s*/);
  }
  a(m, "whitespace");
  function v(B) {
    let j;
    for (B = B || []; j = y(); ) j && B.push(j);
    return B;
  }
  a(v, "comments");
  function y() {
    let B = i();
    if (e.charAt(0) !== "/" || e.charAt(1) !== "*") return;
    let j = p(/^\/\*[^]*?\*\//);
    return j ? B({
      type: tr.comment,
      comment: j[0].slice(2, -2)
    }) : l("End of comment missing");
  }
  a(y, "comment");
  function b(B, j, J) {
    let X = j + 1, ie = !1, me = B.indexOf(")", X);
    for (; !ie && me !== -1; ) {
      let xe = B.indexOf("(", X);
      xe !== -1 && xe < me ? (X = b(B, xe + 1, J + 1) + 1, me = B.indexOf(")", X)) : ie = !0;
    }
    return ie && me !== -1 ? me : -1;
  }
  a(b, "findClosingParenthese");
  function g() {
    let B = p(/^([^{]+)/);
    if (!B) return;
    let j = lo(B[0]).replace(HO, "");
    if (j.indexOf(",") === -1) return [
      j
    ];
    let J = 0, X = j.indexOf("(", J);
    for (; X !== -1; ) {
      let ie = b(j, X, 0);
      if (ie === -1) break;
      J = ie + 1, j = j.substring(0, X) + j.substring(X, ie).replace(/,/g, "\u200C") + j.substring(ie), X = j.indexOf("(", J);
    }
    return j = j.replace(/("|')(?:\\\1|.)*?\1/g, (ie) => ie.replace(/,/g, "\u200C")), j.split(",").map((ie) => lo(ie.replace(/\u200C/g, ",")));
  }
  a(g, "selector");
  function w() {
    let B = i(), j = p(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);
    if (!j) return;
    let J = lo(j[0]);
    if (!p(/^:\s*/)) return l("property missing ':'");
    let X = p(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|[^)])*?\)|[^};])+)/), ie = B({
      type: tr.declaration,
      property: J.replace(HO, ""),
      value: X ? lo(X[0]).replace(HO, "") : ""
    });
    return p(/^[;\s]*/), ie;
  }
  a(w, "declaration");
  function E() {
    let B = [];
    if (!c()) return l("missing '{'");
    v(B);
    let j;
    for (; j = w(); ) j && (B.push(j), v(B));
    return d() ? B : l("missing '}'");
  }
  a(E, "declarations");
  function x() {
    let B, j = [], J = i();
    for (; B = p(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/); )
      j.push(B[1]), p(/^,\s*/);
    if (j.length)
      return J({
        type: tr.keyframe,
        values: j,
        declarations: E() || []
      });
  }
  a(x, "keyframe");
  function S() {
    let B = i(), j = p(/^@([-\w]+)?keyframes\s*/);
    if (!j) return;
    let J = j[1], X = p(/^([-\w]+)\s*/);
    if (!X) return l("@keyframes missing name");
    let ie = X[1];
    if (!c()) return l("@keyframes missing '{'");
    let me, xe = v();
    for (; me = x(); )
      xe.push(me), xe = xe.concat(v());
    return d() ? B({
      type: tr.keyframes,
      name: ie,
      vendor: J,
      keyframes: xe
    }) : l("@keyframes missing '}'");
  }
  a(S, "atkeyframes");
  function C() {
    let B = i(), j = p(/^@supports *([^{]+)/);
    if (!j) return;
    let J = lo(j[1]);
    if (!c()) return l("@supports missing '{'");
    let X = v().concat(f());
    return d() ? B({
      type: tr.supports,
      supports: J,
      rules: X
    }) : l("@supports missing '}'");
  }
  a(C, "atsupports");
  function _() {
    let B = i();
    if (!p(/^@host\s*/)) return;
    if (!c()) return l("@host missing '{'");
    let J = v().concat(f());
    return d() ? B({
      type: tr.host,
      rules: J
    }) : l("@host missing '}'");
  }
  a(_, "athost");
  function A() {
    let B = i(), j = p(/^@container *([^{]+)/);
    if (!j) return;
    let J = lo(j[1]);
    if (!c()) return l("@container missing '{'");
    let X = v().concat(f());
    return d() ? B({
      type: tr.container,
      container: J,
      rules: X
    }) : l("@container missing '}'");
  }
  a(A, "atcontainer");
  function O() {
    let B = i(), j = p(/^@layer *([^{;@]+)/);
    if (!j) return;
    let J = lo(j[1]);
    if (!c())
      return p(/^[;\s]*/), B({
        type: tr.layer,
        layer: J
      });
    let X = v().concat(f());
    return d() ? B({
      type: tr.layer,
      layer: J,
      rules: X
    }) : l("@layer missing '}'");
  }
  a(O, "atlayer");
  function q() {
    let B = i(), j = p(/^@media *([^{]+)/);
    if (!j) return;
    let J = lo(j[1]);
    if (!c()) return l("@media missing '{'");
    let X = v().concat(f());
    return d() ? B({
      type: tr.media,
      media: J,
      rules: X
    }) : l("@media missing '}'");
  }
  a(q, "atmedia");
  function M() {
    let B = i(), j = p(/^@custom-media\s+(--\S+)\s*([^{;\s][^{;]*);/);
    if (j)
      return B({
        type: tr.customMedia,
        name: lo(j[1]),
        media: lo(j[2])
      });
  }
  a(M, "atcustommedia");
  function U() {
    let B = i();
    if (!p(/^@page */)) return;
    let J = g() || [];
    if (!c()) return l("@page missing '{'");
    let X = v(), ie;
    for (; ie = w(); )
      X.push(ie), X = X.concat(v());
    return d() ? B({
      type: tr.page,
      selectors: J,
      declarations: X
    }) : l("@page missing '}'");
  }
  a(U, "atpage");
  function Q() {
    let B = i(), j = p(/^@([-\w]+)?document *([^{]+)/);
    if (!j) return;
    let J = lo(j[1]), X = lo(j[2]);
    if (!c()) return l("@document missing '{'");
    let ie = v().concat(f());
    return d() ? B({
      type: tr.document,
      document: X,
      vendor: J,
      rules: ie
    }) : l("@document missing '}'");
  }
  a(Q, "atdocument");
  function z() {
    let B = i();
    if (!p(/^@font-face\s*/)) return;
    if (!c()) return l("@font-face missing '{'");
    let J = v(), X;
    for (; X = w(); )
      J.push(X), J = J.concat(v());
    return d() ? B({
      type: tr.fontFace,
      declarations: J
    }) : l("@font-face missing '}'");
  }
  a(z, "atfontface");
  function $() {
    let B = i();
    if (!p(/^@starting-style\s*/)) return;
    if (!c()) return l("@starting-style missing '{'");
    let J = v().concat(f());
    return d() ? B({
      type: tr.startingStyle,
      rules: J
    }) : l("@starting-style missing '}'");
  }
  a($, "atstartingstyle");
  let D = ne("import"), V = ne("charset"), G = ne("namespace");
  function ne(B) {
    let j = new RegExp("^@" + B + `\\s*((?::?[^;'"]|"(?:\\\\"|[^"])*?"|'(?:\\\\'|[^'])*?')+)(?:;|$)`);
    return function() {
      let J = i(), X = p(j);
      if (!X) return;
      let ie = {
        type: B
      };
      return ie[B] = X[1].trim(), J(ie);
    };
  }
  a(ne, "_compileAtrule");
  function de() {
    if (e[0] === "@")
      return S() || q() || M() || C() || D() || V() || G() || Q() || U() || _() || z() || A() || $() || O();
  }
  a(de, "atrule");
  function se() {
    let B = i(), j = g();
    return j ? (v(), B({
      type: tr.rule,
      selectors: j,
      declarations: E() || []
    })) : l("selector missing");
  }
  return a(se, "rule"), zO(u());
}, "$d708735ed1303b43$export$98e6a39c04603d36");
function lo(e) {
  return e ? e.trim() : "";
}
a(lo, "$d708735ed1303b43$var$trim");
function zO(e, t) {
  let r = e && typeof e.type == "string", n = r ? e : t;
  for (let o in e) {
    let i = e[o];
    Array.isArray(i) ? i.forEach((s) => {
      zO(s, n);
    }) : i && typeof i == "object" && zO(i, n);
  }
  return r && Object.defineProperty(e, "parent", {
    configurable: !0,
    writable: !0,
    enumerable: !1,
    value: t || null
  }), e;
}
a(zO, "$d708735ed1303b43$var$addParent");
var OOe = AOe;
var gK = OOe;

// ../node_modules/@testing-library/jest-dom/node_modules/dom-accessibility-api/dist/polyfills/array.from.mjs
var IOe = Object.prototype.toString;
function yK(e) {
  return typeof e == "function" || IOe.call(e) === "[object Function]";
}
a(yK, "isCallable");
function MOe(e) {
  var t = Number(e);
  return isNaN(t) ? 0 : t === 0 || !isFinite(t) ? t : (t > 0 ? 1 : -1) * Math.floor(Math.abs(t));
}
a(MOe, "toInteger");
var NOe = Math.pow(2, 53) - 1;
function LOe(e) {
  var t = MOe(e);
  return Math.min(Math.max(t, 0), NOe);
}
a(LOe, "toLength");
function An(e, t) {
  var r = Array, n = Object(e);
  if (e == null)
    throw new TypeError("Array.from requires an array-like object - not null or undefined");
  if (typeof t < "u" && !yK(t))
    throw new TypeError("Array.from: when provided, the second argument must be a function");
  for (var o = LOe(n.length), i = yK(r) ? Object(new r(o)) : new Array(o), s = 0, l; s < o; )
    l = n[s], t ? i[s] = t(l, s) : i[s] = l, s += 1;
  return i.length = o, i;
}
a(An, "arrayFrom");

// ../node_modules/@testing-library/jest-dom/node_modules/dom-accessibility-api/dist/polyfills/SetLike.mjs
function mm(e) {
  "@babel/helpers - typeof";
  return mm = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
    return typeof t;
  } : function(t) {
    return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
  }, mm(e);
}
a(mm, "_typeof");
function kOe(e, t) {
  if (!(e instanceof t))
    throw new TypeError("Cannot call a class as a function");
}
a(kOe, "_classCallCheck");
function vK(e, t) {
  for (var r = 0; r < t.length; r++) {
    var n = t[r];
    n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, bK(n.key), n);
  }
}
a(vK, "_defineProperties");
function qOe(e, t, r) {
  return t && vK(e.prototype, t), r && vK(e, r), Object.defineProperty(e, "prototype", { writable: !1 }), e;
}
a(qOe, "_createClass");
function DOe(e, t, r) {
  return t = bK(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
}
a(DOe, "_defineProperty");
function bK(e) {
  var t = FOe(e, "string");
  return mm(t) === "symbol" ? t : String(t);
}
a(bK, "_toPropertyKey");
function FOe(e, t) {
  if (mm(e) !== "object" || e === null) return e;
  var r = e[Symbol.toPrimitive];
  if (r !== void 0) {
    var n = r.call(e, t || "default");
    if (mm(n) !== "object") return n;
    throw new TypeError("@@toPrimitive must return a primitive value.");
  }
  return (t === "string" ? String : Number)(e);
}
a(FOe, "_toPrimitive");
var jOe = /* @__PURE__ */ function() {
  function e() {
    var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [];
    kOe(this, e), DOe(this, "items", void 0), this.items = t;
  }
  return a(e, "SetLike"), qOe(e, [{
    key: "add",
    value: /* @__PURE__ */ a(function(r) {
      return this.has(r) === !1 && this.items.push(r), this;
    }, "add")
  }, {
    key: "clear",
    value: /* @__PURE__ */ a(function() {
      this.items = [];
    }, "clear")
  }, {
    key: "delete",
    value: /* @__PURE__ */ a(function(r) {
      var n = this.items.length;
      return this.items = this.items.filter(function(o) {
        return o !== r;
      }), n !== this.items.length;
    }, "_delete")
  }, {
    key: "forEach",
    value: /* @__PURE__ */ a(function(r) {
      var n = this;
      this.items.forEach(function(o) {
        r(o, o, n);
      });
    }, "forEach")
  }, {
    key: "has",
    value: /* @__PURE__ */ a(function(r) {
      return this.items.indexOf(r) !== -1;
    }, "has")
  }, {
    key: "size",
    get: /* @__PURE__ */ a(function() {
      return this.items.length;
    }, "get")
  }]), e;
}(), wK = typeof Set > "u" ? Set : jOe;

// ../node_modules/@testing-library/jest-dom/node_modules/dom-accessibility-api/dist/getRole.mjs
function qt(e) {
  var t;
  return (
    // eslint-disable-next-line no-restricted-properties -- actual guard for environments without localName
    (t = e.localName) !== null && t !== void 0 ? t : (
      // eslint-disable-next-line no-restricted-properties -- required for the fallback
      e.tagName.toLowerCase()
    )
  );
}
a(qt, "getLocalName");
var BOe = {
  article: "article",
  aside: "complementary",
  button: "button",
  datalist: "listbox",
  dd: "definition",
  details: "group",
  dialog: "dialog",
  dt: "term",
  fieldset: "group",
  figure: "figure",
  // WARNING: Only with an accessible name
  form: "form",
  footer: "contentinfo",
  h1: "heading",
  h2: "heading",
  h3: "heading",
  h4: "heading",
  h5: "heading",
  h6: "heading",
  header: "banner",
  hr: "separator",
  html: "document",
  legend: "legend",
  li: "listitem",
  math: "math",
  main: "main",
  menu: "list",
  nav: "navigation",
  ol: "list",
  optgroup: "group",
  // WARNING: Only in certain context
  option: "option",
  output: "status",
  progress: "progressbar",
  // WARNING: Only with an accessible name
  section: "region",
  summary: "button",
  table: "table",
  tbody: "rowgroup",
  textarea: "textbox",
  tfoot: "rowgroup",
  // WARNING: Only in certain context
  td: "cell",
  th: "columnheader",
  thead: "rowgroup",
  tr: "row",
  ul: "list"
}, $Oe = {
  caption: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
  code: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
  deletion: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
  emphasis: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
  generic: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby", "aria-roledescription"]),
  insertion: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
  none: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
  paragraph: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
  presentation: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
  strong: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
  subscript: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
  superscript: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"])
};
function HOe(e, t) {
  return [
    "aria-atomic",
    "aria-busy",
    "aria-controls",
    "aria-current",
    "aria-description",
    "aria-describedby",
    "aria-details",
    // "disabled",
    "aria-dropeffect",
    // "errormessage",
    "aria-flowto",
    "aria-grabbed",
    // "haspopup",
    "aria-hidden",
    // "invalid",
    "aria-keyshortcuts",
    "aria-label",
    "aria-labelledby",
    "aria-live",
    "aria-owns",
    "aria-relevant",
    "aria-roledescription"
  ].some(function(r) {
    var n;
    return e.hasAttribute(r) && !((n = $Oe[t]) !== null && n !== void 0 && n.has(r));
  });
}
a(HOe, "hasGlobalAriaAttributes");
function EK(e, t) {
  return HOe(e, t);
}
a(EK, "ignorePresentationalRole");
function pb(e) {
  var t = UOe(e);
  if (t === null || hm.indexOf(t) !== -1) {
    var r = zOe(e);
    if (hm.indexOf(t || "") === -1 || EK(e, r || ""))
      return r;
  }
  return t;
}
a(pb, "getRole");
function zOe(e) {
  var t = BOe[qt(e)];
  if (t !== void 0)
    return t;
  switch (qt(e)) {
    case "a":
    case "area":
    case "link":
      if (e.hasAttribute("href"))
        return "link";
      break;
    case "img":
      return e.getAttribute("alt") === "" && !EK(e, "img") ? "presentation" : "img";
    case "input": {
      var r = e, n = r.type;
      switch (n) {
        case "button":
        case "image":
        case "reset":
        case "submit":
          return "button";
        case "checkbox":
        case "radio":
          return n;
        case "range":
          return "slider";
        case "email":
        case "tel":
        case "text":
        case "url":
          return e.hasAttribute("list") ? "combobox" : "textbox";
        case "search":
          return e.hasAttribute("list") ? "combobox" : "searchbox";
        case "number":
          return "spinbutton";
        default:
          return null;
      }
    }
    case "select":
      return e.hasAttribute("multiple") || e.size > 1 ? "listbox" : "combobox";
  }
  return null;
}
a(zOe, "getImplicitRole");
function UOe(e) {
  var t = e.getAttribute("role");
  if (t !== null) {
    var r = t.trim().split(" ")[0];
    if (r.length > 0)
      return r;
  }
  return null;
}
a(UOe, "getExplicitRole");

// ../node_modules/@testing-library/jest-dom/node_modules/dom-accessibility-api/dist/util.mjs
var hm = ["presentation", "none"];
function nt(e) {
  return e !== null && e.nodeType === e.ELEMENT_NODE;
}
a(nt, "isElement");
function GO(e) {
  return nt(e) && qt(e) === "caption";
}
a(GO, "isHTMLTableCaptionElement");
function gm(e) {
  return nt(e) && qt(e) === "input";
}
a(gm, "isHTMLInputElement");
function RK(e) {
  return nt(e) && qt(e) === "optgroup";
}
a(RK, "isHTMLOptGroupElement");
function xK(e) {
  return nt(e) && qt(e) === "select";
}
a(xK, "isHTMLSelectElement");
function SK(e) {
  return nt(e) && qt(e) === "table";
}
a(SK, "isHTMLTableElement");
function CK(e) {
  return nt(e) && qt(e) === "textarea";
}
a(CK, "isHTMLTextAreaElement");
function _K(e) {
  var t = e.ownerDocument === null ? e : e.ownerDocument, r = t.defaultView;
  if (r === null)
    throw new TypeError("no window available");
  return r;
}
a(_K, "safeWindow");
function PK(e) {
  return nt(e) && qt(e) === "fieldset";
}
a(PK, "isHTMLFieldSetElement");
function TK(e) {
  return nt(e) && qt(e) === "legend";
}
a(TK, "isHTMLLegendElement");
function AK(e) {
  return nt(e) && qt(e) === "slot";
}
a(AK, "isHTMLSlotElement");
function VOe(e) {
  return nt(e) && e.ownerSVGElement !== void 0;
}
a(VOe, "isSVGElement");
function OK(e) {
  return nt(e) && qt(e) === "svg";
}
a(OK, "isSVGSVGElement");
function IK(e) {
  return VOe(e) && qt(e) === "title";
}
a(IK, "isSVGTitleElement");
function fd(e, t) {
  if (nt(e) && e.hasAttribute(t)) {
    var r = e.getAttribute(t).split(" "), n = e.getRootNode ? e.getRootNode() : e.ownerDocument;
    return r.map(function(o) {
      return n.getElementById(o);
    }).filter(
      function(o) {
        return o !== null;
      }
      // TODO: why does this not narrow?
    );
  }
  return [];
}
a(fd, "queryIdRefs");
function Wo(e, t) {
  return nt(e) ? t.indexOf(pb(e)) !== -1 : !1;
}
a(Wo, "hasAnyConcreteRoles");

// ../node_modules/@testing-library/jest-dom/node_modules/dom-accessibility-api/dist/accessible-name-and-description.mjs
function WOe(e) {
  return e.trim().replace(/\s\s+/g, " ");
}
a(WOe, "asFlatString");
function GOe(e, t) {
  if (!nt(e))
    return !1;
  if (e.hasAttribute("hidden") || e.getAttribute("aria-hidden") === "true")
    return !0;
  var r = t(e);
  return r.getPropertyValue("display") === "none" || r.getPropertyValue("visibility") === "hidden";
}
a(GOe, "isHidden");
function YOe(e) {
  return Wo(e, ["button", "combobox", "listbox", "textbox"]) || LK(e, "range");
}
a(YOe, "isControl");
function LK(e, t) {
  if (!nt(e))
    return !1;
  switch (t) {
    case "range":
      return Wo(e, ["meter", "progressbar", "scrollbar", "slider", "spinbutton"]);
    default:
      throw new TypeError("No knowledge about abstract role '".concat(t, "'. This is likely a bug :("));
  }
}
a(LK, "hasAbstractRole");
function MK(e, t) {
  var r = An(e.querySelectorAll(t));
  return fd(e, "aria-owns").forEach(function(n) {
    r.push.apply(r, An(n.querySelectorAll(t)));
  }), r;
}
a(MK, "querySelectorAllSubtree");
function KOe(e) {
  return xK(e) ? e.selectedOptions || MK(e, "[selected]") : MK(e, '[aria-selected="true"]');
}
a(KOe, "querySelectedOptions");
function XOe(e) {
  return Wo(e, hm);
}
a(XOe, "isMarkedPresentational");
function JOe(e) {
  return GO(e);
}
a(JOe, "isNativeHostLanguageTextAlternativeElement");
function QOe(e) {
  return Wo(e, ["button", "cell", "checkbox", "columnheader", "gridcell", "heading", "label", "legend", "link", "menuitem", "menuitemcheckbo\
x", "menuitemradio", "option", "radio", "row", "rowheader", "switch", "tab", "tooltip", "treeitem"]);
}
a(QOe, "allowsNameFromContent");
function ZOe(e) {
  return !1;
}
a(ZOe, "isDescendantOfNativeHostLanguageTextAlternativeElement");
function e6e(e) {
  return gm(e) || CK(e) ? e.value : e.textContent || "";
}
a(e6e, "getValueOfTextbox");
function NK(e) {
  var t = e.getPropertyValue("content");
  return /^["'].*["']$/.test(t) ? t.slice(1, -1) : "";
}
a(NK, "getTextualContent");
function kK(e) {
  var t = qt(e);
  return t === "button" || t === "input" && e.getAttribute("type") !== "hidden" || t === "meter" || t === "output" || t === "progress" || t ===
  "select" || t === "textarea";
}
a(kK, "isLabelableElement");
function qK(e) {
  if (kK(e))
    return e;
  var t = null;
  return e.childNodes.forEach(function(r) {
    if (t === null && nt(r)) {
      var n = qK(r);
      n !== null && (t = n);
    }
  }), t;
}
a(qK, "findLabelableElement");
function t6e(e) {
  if (e.control !== void 0)
    return e.control;
  var t = e.getAttribute("for");
  return t !== null ? e.ownerDocument.getElementById(t) : qK(e);
}
a(t6e, "getControlOfLabel");
function r6e(e) {
  var t = e.labels;
  if (t === null)
    return t;
  if (t !== void 0)
    return An(t);
  if (!kK(e))
    return null;
  var r = e.ownerDocument;
  return An(r.querySelectorAll("label")).filter(function(n) {
    return t6e(n) === e;
  });
}
a(r6e, "getLabels");
function n6e(e) {
  var t = e.assignedNodes();
  return t.length === 0 ? An(e.childNodes) : t;
}
a(n6e, "getSlotContents");
function mb(e) {
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = new wK(), n = _K(e), o = t.compute, i = o === void 0 ? "n\
ame" : o, s = t.computedStyleSupportsPseudoElements, l = s === void 0 ? t.getComputedStyle !== void 0 : s, u = t.getComputedStyle, c = u ===
  void 0 ? n.getComputedStyle.bind(n) : u, d = t.hidden, f = d === void 0 ? !1 : d;
  function p(g, w) {
    var E = "";
    if (nt(g) && l) {
      var x = c(g, "::before"), S = NK(x);
      E = "".concat(S, " ").concat(E);
    }
    var C = AK(g) ? n6e(g) : An(g.childNodes).concat(fd(g, "aria-owns"));
    if (C.forEach(function(O) {
      var q = b(O, {
        isEmbeddedInLabel: w.isEmbeddedInLabel,
        isReferenced: !1,
        recursion: !0
      }), M = nt(O) ? c(O).getPropertyValue("display") : "inline", U = M !== "inline" ? " " : "";
      E += "".concat(U).concat(q).concat(U);
    }), nt(g) && l) {
      var _ = c(g, "::after"), A = NK(_);
      E = "".concat(E, " ").concat(A);
    }
    return E.trim();
  }
  a(p, "computeMiscTextAlternative");
  function m(g, w) {
    var E = g.getAttributeNode(w);
    return E !== null && !r.has(E) && E.value.trim() !== "" ? (r.add(E), E.value) : null;
  }
  a(m, "useAttribute");
  function v(g) {
    return nt(g) ? m(g, "title") : null;
  }
  a(v, "computeTooltipAttributeValue");
  function y(g) {
    if (!nt(g))
      return null;
    if (PK(g)) {
      r.add(g);
      for (var w = An(g.childNodes), E = 0; E < w.length; E += 1) {
        var x = w[E];
        if (TK(x))
          return b(x, {
            isEmbeddedInLabel: !1,
            isReferenced: !1,
            recursion: !1
          });
      }
    } else if (SK(g)) {
      r.add(g);
      for (var S = An(g.childNodes), C = 0; C < S.length; C += 1) {
        var _ = S[C];
        if (GO(_))
          return b(_, {
            isEmbeddedInLabel: !1,
            isReferenced: !1,
            recursion: !1
          });
      }
    } else if (OK(g)) {
      r.add(g);
      for (var A = An(g.childNodes), O = 0; O < A.length; O += 1) {
        var q = A[O];
        if (IK(q))
          return q.textContent;
      }
      return null;
    } else if (qt(g) === "img" || qt(g) === "area") {
      var M = m(g, "alt");
      if (M !== null)
        return M;
    } else if (RK(g)) {
      var U = m(g, "label");
      if (U !== null)
        return U;
    }
    if (gm(g) && (g.type === "button" || g.type === "submit" || g.type === "reset")) {
      var Q = m(g, "value");
      if (Q !== null)
        return Q;
      if (g.type === "submit")
        return "Submit";
      if (g.type === "reset")
        return "Reset";
    }
    var z = r6e(g);
    if (z !== null && z.length !== 0)
      return r.add(g), An(z).map(function(G) {
        return b(G, {
          isEmbeddedInLabel: !0,
          isReferenced: !1,
          recursion: !0
        });
      }).filter(function(G) {
        return G.length > 0;
      }).join(" ");
    if (gm(g) && g.type === "image") {
      var $ = m(g, "alt");
      if ($ !== null)
        return $;
      var D = m(g, "title");
      return D !== null ? D : "Submit Query";
    }
    if (Wo(g, ["button"])) {
      var V = p(g, {
        isEmbeddedInLabel: !1,
        isReferenced: !1
      });
      if (V !== "")
        return V;
    }
    return null;
  }
  a(y, "computeElementTextAlternative");
  function b(g, w) {
    if (r.has(g))
      return "";
    if (!f && GOe(g, c) && !w.isReferenced)
      return r.add(g), "";
    var E = nt(g) ? g.getAttributeNode("aria-labelledby") : null, x = E !== null && !r.has(E) ? fd(g, "aria-labelledby") : [];
    if (i === "name" && !w.isReferenced && x.length > 0)
      return r.add(E), x.map(function(M) {
        return b(M, {
          isEmbeddedInLabel: w.isEmbeddedInLabel,
          isReferenced: !0,
          // this isn't recursion as specified, otherwise we would skip
          // `aria-label` in
          // <input id="myself" aria-label="foo" aria-labelledby="myself"
          recursion: !1
        });
      }).join(" ");
    var S = w.recursion && YOe(g) && i === "name";
    if (!S) {
      var C = (nt(g) && g.getAttribute("aria-label") || "").trim();
      if (C !== "" && i === "name")
        return r.add(g), C;
      if (!XOe(g)) {
        var _ = y(g);
        if (_ !== null)
          return r.add(g), _;
      }
    }
    if (Wo(g, ["menu"]))
      return r.add(g), "";
    if (S || w.isEmbeddedInLabel || w.isReferenced) {
      if (Wo(g, ["combobox", "listbox"])) {
        r.add(g);
        var A = KOe(g);
        return A.length === 0 ? gm(g) ? g.value : "" : An(A).map(function(M) {
          return b(M, {
            isEmbeddedInLabel: w.isEmbeddedInLabel,
            isReferenced: !1,
            recursion: !0
          });
        }).join(" ");
      }
      if (LK(g, "range"))
        return r.add(g), g.hasAttribute("aria-valuetext") ? g.getAttribute("aria-valuetext") : g.hasAttribute("aria-valuenow") ? g.getAttribute(
        "aria-valuenow") : g.getAttribute("value") || "";
      if (Wo(g, ["textbox"]))
        return r.add(g), e6e(g);
    }
    if (QOe(g) || nt(g) && w.isReferenced || JOe(g) || ZOe(g)) {
      var O = p(g, {
        isEmbeddedInLabel: w.isEmbeddedInLabel,
        isReferenced: !1
      });
      if (O !== "")
        return r.add(g), O;
    }
    if (g.nodeType === g.TEXT_NODE)
      return r.add(g), g.textContent || "";
    if (w.recursion)
      return r.add(g), p(g, {
        isEmbeddedInLabel: w.isEmbeddedInLabel,
        isReferenced: !1
      });
    var q = v(g);
    return q !== null ? (r.add(g), q) : (r.add(g), "");
  }
  return a(b, "computeTextAlternative"), WOe(b(e, {
    isEmbeddedInLabel: !1,
    // by spec computeAccessibleDescription starts with the referenced elements as roots
    isReferenced: i === "description",
    recursion: !1
  }));
}
a(mb, "computeTextAlternative");

// ../node_modules/@testing-library/jest-dom/node_modules/dom-accessibility-api/dist/accessible-description.mjs
function ym(e) {
  "@babel/helpers - typeof";
  return ym = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
    return typeof t;
  } : function(t) {
    return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
  }, ym(e);
}
a(ym, "_typeof");
function DK(e, t) {
  var r = Object.keys(e);
  if (Object.getOwnPropertySymbols) {
    var n = Object.getOwnPropertySymbols(e);
    t && (n = n.filter(function(o) {
      return Object.getOwnPropertyDescriptor(e, o).enumerable;
    })), r.push.apply(r, n);
  }
  return r;
}
a(DK, "ownKeys");
function FK(e) {
  for (var t = 1; t < arguments.length; t++) {
    var r = arguments[t] != null ? arguments[t] : {};
    t % 2 ? DK(Object(r), !0).forEach(function(n) {
      o6e(e, n, r[n]);
    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : DK(Object(r)).forEach(function(n) {
      Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
    });
  }
  return e;
}
a(FK, "_objectSpread");
function o6e(e, t, r) {
  return t = a6e(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
}
a(o6e, "_defineProperty");
function a6e(e) {
  var t = i6e(e, "string");
  return ym(t) === "symbol" ? t : String(t);
}
a(a6e, "_toPropertyKey");
function i6e(e, t) {
  if (ym(e) !== "object" || e === null) return e;
  var r = e[Symbol.toPrimitive];
  if (r !== void 0) {
    var n = r.call(e, t || "default");
    if (ym(n) !== "object") return n;
    throw new TypeError("@@toPrimitive must return a primitive value.");
  }
  return (t === "string" ? String : Number)(e);
}
a(i6e, "_toPrimitive");
function YO(e) {
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = fd(e, "aria-describedby").map(function(i) {
    return mb(i, FK(FK({}, t), {}, {
      compute: "description"
    }));
  }).join(" ");
  if (r === "") {
    var n = e.getAttribute("aria-description");
    r = n === null ? "" : n;
  }
  if (r === "") {
    var o = e.getAttribute("title");
    r = o === null ? "" : o;
  }
  return r;
}
a(YO, "computeAccessibleDescription");

// ../node_modules/@testing-library/jest-dom/node_modules/dom-accessibility-api/dist/accessible-name.mjs
function s6e(e) {
  return Wo(e, ["caption", "code", "deletion", "emphasis", "generic", "insertion", "none", "paragraph", "presentation", "strong", "subscript",
  "superscript"]);
}
a(s6e, "prohibitsNaming");
function KO(e) {
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
  return s6e(e) ? "" : mb(e, t);
}
a(KO, "computeAccessibleName");

// ../node_modules/@testing-library/jest-dom/dist/matchers-c85aadf8.mjs
var km = N(m6(), 1), Ure = N(S6(), 1), AE = N(U6(), 1), Vre = N(W6(), 1);
var bI = class bI extends Error {
  constructor(t, r, n, o) {
    super(), Error.captureStackTrace && Error.captureStackTrace(this, n);
    let i = "";
    try {
      i = o.utils.printWithType(
        "Received",
        r,
        o.utils.printReceived
      );
    } catch {
    }
    this.message = [
      o.utils.matcherHint(
        `${o.isNot ? ".not" : ""}.${n.name}`,
        "received",
        ""
      ),
      "",
      // eslint-disable-next-line new-cap
      `${o.utils.RECEIVED_COLOR(
        "received"
      )} value must ${t}.`,
      i
    ].join(`
`);
  }
};
a(bI, "GenericTypeError");
var wE = bI, wI = class wI extends wE {
  constructor(...t) {
    super("be an HTMLElement or an SVGElement", ...t);
  }
};
a(wI, "HtmlElementTypeError");
var EE = wI, EI = class EI extends wE {
  constructor(...t) {
    super("be a Node", ...t);
  }
};
a(EI, "NodeTypeError");
var RE = EI;
function Wre(e, t, ...r) {
  if (!e || !e.ownerDocument || !e.ownerDocument.defaultView)
    throw new t(e, ...r);
}
a(Wre, "checkHasWindow");
function Qje(e, ...t) {
  Wre(e, RE, ...t);
  let r = e.ownerDocument.defaultView;
  if (!(e instanceof r.Node))
    throw new RE(e, ...t);
}
a(Qje, "checkNode");
function De(e, ...t) {
  Wre(e, EE, ...t);
  let r = e.ownerDocument.defaultView;
  if (!(e instanceof r.HTMLElement) && !(e instanceof r.SVGElement))
    throw new EE(e, ...t);
}
a(De, "checkHtmlElement");
var RI = class RI extends Error {
  constructor(t, r, n) {
    super(), Error.captureStackTrace && Error.captureStackTrace(this, r), this.message = [
      t.message,
      "",
      // eslint-disable-next-line new-cap
      n.utils.RECEIVED_COLOR("Failing css:"),
      // eslint-disable-next-line new-cap
      n.utils.RECEIVED_COLOR(`${t.css}`)
    ].join(`
`);
  }
};
a(RI, "InvalidCSSError");
var Y6 = RI;
function Zje(e, ...t) {
  let r = gK(`selector { ${e} }`, { silent: !0 }).stylesheet;
  if (r.parsingErrors && r.parsingErrors.length > 0) {
    let { reason: o, line: i } = r.parsingErrors[0];
    throw new Y6(
      {
        css: e,
        message: `Syntax error parsing expected css: ${o} on line: ${i}`
      },
      ...t
    );
  }
  return r.rules[0].declarations.filter((o) => o.type === "declaration").reduce(
    (o, { property: i, value: s }) => Object.assign(o, { [i]: s }),
    {}
  );
}
a(Zje, "parseCSS");
function jre(e, t) {
  return typeof t == "string" ? t : e.utils.stringify(t);
}
a(jre, "display");
function gr(e, t, r, n, o, i) {
  return [
    `${t}
`,
    // eslint-disable-next-line new-cap
    `${r}:
${e.utils.EXPECTED_COLOR(
      (0, G6.default)(jre(e, n), 2)
    )}`,
    // eslint-disable-next-line new-cap
    `${o}:
${e.utils.RECEIVED_COLOR(
      (0, G6.default)(jre(e, i), 2)
    )}`
  ].join(`
`);
}
a(gr, "getMessage");
function eBe(e, t) {
  return t instanceof RegExp ? t.test(e) : e.includes(String(t));
}
a(eBe, "matches");
function OE(e, t) {
  console.warn(
    `Warning: ${e} has been deprecated and will be removed in future updates.`,
    t
  );
}
a(OE, "deprecate");
function IE(e) {
  return e.replace(/\s+/g, " ").trim();
}
a(IE, "normalize");
function bs(e) {
  return e.tagName && e.tagName.toLowerCase();
}
a(bs, "getTag");
function tBe({ multiple: e, options: t }) {
  let r = [...t].filter((n) => n.selected);
  if (e)
    return [...r].map((n) => n.value);
  if (r.length !== 0)
    return r[0].value;
}
a(tBe, "getSelectValue");
function rBe(e) {
  switch (e.type) {
    case "number":
      return e.value === "" ? null : Number(e.value);
    case "checkbox":
      return e.checked;
    default:
      return e.value;
  }
}
a(rBe, "getInputValue");
var nBe = ["meter", "progressbar", "slider", "spinbutton"];
function oBe(e) {
  if (nBe.includes(e.getAttribute("role")))
    return Number(e.getAttribute("aria-valuenow"));
}
a(oBe, "getAccessibleValue");
function Gre(e) {
  if (e)
    switch (e.tagName.toLowerCase()) {
      case "input":
        return rBe(e);
      case "select":
        return tBe(e);
      default:
        return e.value ?? oBe(e);
    }
}
a(Gre, "getSingleElementValue");
function aBe(e, { wordConnector: t = ", ", lastWordConnector: r = " and " } = {}) {
  return [e.slice(0, -1).join(t), e[e.length - 1]].join(
    e.length > 1 ? r : ""
  );
}
a(aBe, "toSentence");
function K6(e, t) {
  if (Array.isArray(e) && Array.isArray(t))
    return [...new Set(e)].every((r) => new Set(t).has(r));
}
a(K6, "compareArraysAsSet");
function xE(e, t) {
  return OE(
    "toBeInTheDOM",
    "Please use toBeInTheDocument for searching the entire document and toContainElement for searching a specific container."
  ), e && De(e, xE, this), t && De(t, xE, this), {
    pass: t ? t.contains(e) : !!e,
    message: /* @__PURE__ */ a(() => [
      this.utils.matcherHint(
        `${this.isNot ? ".not" : ""}.toBeInTheDOM`,
        "element",
        ""
      ),
      "",
      "Received:",
      `  ${this.utils.printReceived(
        e && e.cloneNode(!1)
      )}`
    ].join(`
`), "message")
  };
}
a(xE, "toBeInTheDOM");
function X6(e) {
  (e !== null || !this.isNot) && De(e, X6, this);
  let t = e === null ? !1 : e.ownerDocument === e.getRootNode({ composed: !0 }), r = /* @__PURE__ */ a(() => `expected document not to conta\
in element, found ${this.utils.stringify(
    e.cloneNode(!0)
  )} instead`, "errorFound"), n = /* @__PURE__ */ a(() => "element could not be found in the document", "errorNotFound");
  return {
    pass: t,
    message: /* @__PURE__ */ a(() => [
      this.utils.matcherHint(
        `${this.isNot ? ".not" : ""}.toBeInTheDocument`,
        "element",
        ""
      ),
      "",
      // eslint-disable-next-line new-cap
      this.utils.RECEIVED_COLOR(this.isNot ? r() : n())
    ].join(`
`), "message")
  };
}
a(X6, "toBeInTheDocument");
function J6(e) {
  return OE(
    "toBeEmpty",
    "Please use instead toBeEmptyDOMElement for finding empty nodes in the DOM."
  ), De(e, J6, this), {
    pass: e.innerHTML === "",
    message: /* @__PURE__ */ a(() => [
      this.utils.matcherHint(
        `${this.isNot ? ".not" : ""}.toBeEmpty`,
        "element",
        ""
      ),
      "",
      "Received:",
      `  ${this.utils.printReceived(e.innerHTML)}`
    ].join(`
`), "message")
  };
}
a(J6, "toBeEmpty");
function Q6(e) {
  return De(e, Q6, this), {
    pass: iBe(e),
    message: /* @__PURE__ */ a(() => [
      this.utils.matcherHint(
        `${this.isNot ? ".not" : ""}.toBeEmptyDOMElement`,
        "element",
        ""
      ),
      "",
      "Received:",
      `  ${this.utils.printReceived(e.innerHTML)}`
    ].join(`
`), "message")
  };
}
a(Q6, "toBeEmptyDOMElement");
function iBe(e) {
  return [...e.childNodes].filter((r) => r.nodeType !== 8).length === 0;
}
a(iBe, "isEmptyElement");
function SE(e, t) {
  return De(e, SE, this), t !== null && De(t, SE, this), {
    pass: e.contains(t),
    message: /* @__PURE__ */ a(() => [
      this.utils.matcherHint(
        `${this.isNot ? ".not" : ""}.toContainElement`,
        "element",
        "element"
      ),
      "",
      // eslint-disable-next-line new-cap
      this.utils.RECEIVED_COLOR(`${this.utils.stringify(
        e.cloneNode(!1)
      )} ${this.isNot ? "contains:" : "does not contain:"} ${this.utils.stringify(t && t.cloneNode(!1))}
        `)
    ].join(`
`), "message")
  };
}
a(SE, "toContainElement");
function sBe(e, t) {
  let r = e.ownerDocument.createElement("div");
  return r.innerHTML = t, r.innerHTML;
}
a(sBe, "getNormalizedHtml");
function Z6(e, t) {
  if (De(e, Z6, this), typeof t != "string")
    throw new Error(`.toContainHTML() expects a string value, got ${t}`);
  return {
    pass: e.outerHTML.includes(sBe(e, t)),
    message: /* @__PURE__ */ a(() => [
      this.utils.matcherHint(
        `${this.isNot ? ".not" : ""}.toContainHTML`,
        "element",
        ""
      ),
      "Expected:",
      // eslint-disable-next-line new-cap
      `  ${this.utils.EXPECTED_COLOR(t)}`,
      "Received:",
      `  ${this.utils.printReceived(e.cloneNode(!0))}`
    ].join(`
`), "message")
  };
}
a(Z6, "toContainHTML");
function eI(e, t, r = { normalizeWhitespace: !0 }) {
  Qje(e, eI, this);
  let n = r.normalizeWhitespace ? IE(e.textContent) : e.textContent.replace(/\u00a0/g, " "), o = n !== "" && t === "";
  return {
    pass: !o && eBe(n, t),
    message: /* @__PURE__ */ a(() => {
      let i = this.isNot ? "not to" : "to";
      return gr(
        this,
        this.utils.matcherHint(
          `${this.isNot ? ".not" : ""}.toHaveTextContent`,
          "element",
          ""
        ),
        o ? "Checking with empty string will always match, use .toBeEmptyDOMElement() instead" : `Expected element ${i} have text content`,
        t,
        "Received",
        n
      );
    }, "message")
  };
}
a(eI, "toHaveTextContent");
function CE(e, t) {
  De(e, CE, this);
  let r = YO(e), n = arguments.length === 1, o = !1;
  return n ? o = r !== "" : o = t instanceof RegExp ? t.test(r) : this.equals(
    r,
    t
  ), {
    pass: o,
    message: /* @__PURE__ */ a(() => {
      let i = this.isNot ? "not to" : "to";
      return gr(
        this,
        this.utils.matcherHint(
          `${this.isNot ? ".not" : ""}.${CE.name}`,
          "element",
          ""
        ),
        `Expected element ${i} have accessible description`,
        t,
        "Received",
        r
      );
    }, "message")
  };
}
a(CE, "toHaveAccessibleDescription");
var Lm = "aria-invalid", lBe = ["false"];
function tI(e, t) {
  De(e, tI, this);
  let r = this.isNot ? "not to" : "to", n = this.isNot ? ".not.toHaveAccessibleErrorMessage" : ".toHaveAccessibleErrorMessage", o = e.getAttribute(
  "aria-errormessage");
  if (!!o && /\s+/.test(o))
    return {
      pass: !1,
      message: /* @__PURE__ */ a(() => gr(
        this,
        this.utils.matcherHint(n, "element"),
        "Expected element's `aria-errormessage` attribute to be empty or a single, valid ID",
        "",
        "Received",
        `aria-errormessage="${o}"`
      ), "message")
    };
  let s = e.getAttribute(Lm);
  if (!e.hasAttribute(Lm) || lBe.includes(s))
    return {
      pass: !1,
      message: /* @__PURE__ */ a(() => gr(
        this,
        this.utils.matcherHint(n, "element"),
        "Expected element to be marked as invalid with attribute",
        `${Lm}="${String(!0)}"`,
        "Received",
        e.hasAttribute("aria-invalid") ? `${Lm}="${e.getAttribute(Lm)}` : null
      ), "message")
    };
  let u = IE(
    e.ownerDocument.getElementById(o)?.textContent ?? ""
  );
  return {
    pass: t === void 0 ? !!u : t instanceof RegExp ? t.test(u) : this.equals(u, t),
    message: /* @__PURE__ */ a(() => gr(
      this,
      this.utils.matcherHint(n, "element"),
      `Expected element ${r} have accessible error message`,
      t ?? "",
      "Received",
      u
    ), "message")
  };
}
a(tI, "toHaveAccessibleErrorMessage");
var uBe = fBe(km.elementRoles);
function _E(e, t) {
  De(e, _E, this);
  let r = cBe(e);
  return {
    pass: r.some((o) => o === t),
    message: /* @__PURE__ */ a(() => {
      let o = this.isNot ? "not to" : "to";
      return gr(
        this,
        this.utils.matcherHint(
          `${this.isNot ? ".not" : ""}.${_E.name}`,
          "element",
          ""
        ),
        `Expected element ${o} have role`,
        t,
        "Received",
        r.join(", ")
      );
    }, "message")
  };
}
a(_E, "toHaveRole");
function cBe(e) {
  return e.hasAttribute("role") ? e.getAttribute("role").split(" ").filter(Boolean) : dBe(e);
}
a(cBe, "getExplicitOrImplicitRoles");
function dBe(e) {
  for (let { match: t, roles: r } of uBe)
    if (t(e))
      return [...r];
  return [];
}
a(dBe, "getImplicitAriaRoles");
function fBe(e) {
  function t({ name: s, attributes: l }) {
    return `${s}${l.map(({ name: u, value: c, constraints: d = [] }) => d.indexOf("undefined") !== -1 ? `:not([${u}])` : c ? `[${u}="${c}"]` :
    `[${u}]`).join("")}`;
  }
  a(t, "makeElementSelector");
  function r({ attributes: s = [] }) {
    return s.length;
  }
  a(r, "getSelectorSpecificity");
  function n({ specificity: s }, { specificity: l }) {
    return l - s;
  }
  a(n, "bySelectorSpecificity");
  function o(s) {
    let { attributes: l = [] } = s, u = l.findIndex(
      (d) => d.value && d.name === "type" && d.value === "text"
    );
    u >= 0 && (l = [
      ...l.slice(0, u),
      ...l.slice(u + 1)
    ]);
    let c = t({ ...s, attributes: l });
    return (d) => u >= 0 && d.type !== "text" ? !1 : d.matches(c);
  }
  a(o, "match");
  let i = [];
  for (let [s, l] of e.entries())
    i = [
      ...i,
      {
        match: o(s),
        roles: Array.from(l),
        specificity: r(s)
      }
    ];
  return i.sort(n);
}
a(fBe, "buildElementRoleList");
function PE(e, t) {
  De(e, PE, this);
  let r = KO(e), n = arguments.length === 1, o = !1;
  return n ? o = r !== "" : o = t instanceof RegExp ? t.test(r) : this.equals(r, t), {
    pass: o,
    message: /* @__PURE__ */ a(() => {
      let i = this.isNot ? "not to" : "to";
      return gr(
        this,
        this.utils.matcherHint(
          `${this.isNot ? ".not" : ""}.${PE.name}`,
          "element",
          ""
        ),
        `Expected element ${i} have accessible name`,
        t,
        "Received",
        r
      );
    }, "message")
  };
}
a(PE, "toHaveAccessibleName");
function Bre(e, t, r) {
  return r === void 0 ? t : `${t}=${e(r)}`;
}
a(Bre, "printAttribute");
function pBe(e, t, r) {
  return r === void 0 ? `element.hasAttribute(${e(t)})` : `element.getAttribute(${e(t)}) === ${e(r)}`;
}
a(pBe, "getAttributeComment");
function rI(e, t, r) {
  De(e, rI, this);
  let n = r !== void 0, o = e.hasAttribute(t), i = e.getAttribute(t);
  return {
    pass: n ? o && this.equals(i, r) : o,
    message: /* @__PURE__ */ a(() => {
      let s = this.isNot ? "not to" : "to", l = o ? Bre(this.utils.stringify, t, i) : null, u = this.utils.matcherHint(
        `${this.isNot ? ".not" : ""}.toHaveAttribute`,
        "element",
        this.utils.printExpected(t),
        {
          secondArgument: n ? this.utils.printExpected(r) : void 0,
          comment: pBe(
            this.utils.stringify,
            t,
            r
          )
        }
      );
      return gr(
        this,
        u,
        `Expected the element ${s} have attribute`,
        Bre(this.utils.stringify, t, r),
        "Received",
        l
      );
    }, "message")
  };
}
a(rI, "toHaveAttribute");
function mBe(e) {
  let t = e.pop(), r, n;
  return typeof t == "object" && !(t instanceof RegExp) ? (r = e, n = t) : (r = e.concat(t), n = { exact: !1 }), { expectedClassNames: r, options: n };
}
a(mBe, "getExpectedClassNamesAndOptions");
function $re(e) {
  return e ? e.split(/\s+/).filter((t) => t.length > 0) : [];
}
a($re, "splitClassNames");
function Hre(e, t) {
  return e.every(
    (r) => typeof r == "string" ? t.includes(r) : t.some((n) => r.test(n))
  );
}
a(Hre, "isSubset$1");
function nI(e, ...t) {
  De(e, nI, this);
  let { expectedClassNames: r, options: n } = mBe(t), o = $re(e.getAttribute("class")), i = r.reduce(
    (l, u) => l.concat(
      typeof u == "string" || !u ? $re(u) : u
    ),
    []
  ), s = i.some((l) => l instanceof RegExp);
  if (n.exact && s)
    throw new Error("Exact option does not support RegExp expected class names");
  return n.exact ? {
    pass: Hre(i, o) && i.length === o.length,
    message: /* @__PURE__ */ a(() => {
      let l = this.isNot ? "not to" : "to";
      return gr(
        this,
        this.utils.matcherHint(
          `${this.isNot ? ".not" : ""}.toHaveClass`,
          "element",
          this.utils.printExpected(i.join(" "))
        ),
        `Expected the element ${l} have EXACTLY defined classes`,
        i.join(" "),
        "Received",
        o.join(" ")
      );
    }, "message")
  } : i.length > 0 ? {
    pass: Hre(i, o),
    message: /* @__PURE__ */ a(() => {
      let l = this.isNot ? "not to" : "to";
      return gr(
        this,
        this.utils.matcherHint(
          `${this.isNot ? ".not" : ""}.toHaveClass`,
          "element",
          this.utils.printExpected(i.join(" "))
        ),
        `Expected the element ${l} have class`,
        i.join(" "),
        "Received",
        o.join(" ")
      );
    }, "message")
  } : {
    pass: this.isNot ? o.length > 0 : !1,
    message: /* @__PURE__ */ a(() => this.isNot ? gr(
      this,
      this.utils.matcherHint(".not.toHaveClass", "element", ""),
      "Expected the element to have classes",
      "(none)",
      "Received",
      o.join(" ")
    ) : [
      this.utils.matcherHint(".toHaveClass", "element"),
      "At least one expected class must be provided."
    ].join(`
`), "message")
  };
}
a(nI, "toHaveClass");
function hBe(e, t) {
  let r = {}, n = e.createElement("div");
  return Object.keys(t).forEach((o) => {
    n.style[o] = t[o], r[o] = n.style[o];
  }), r;
}
a(hBe, "getStyleDeclaration");
function gBe(e, t) {
  return !!Object.keys(e).length && Object.entries(e).every(([r, n]) => {
    let o = r.startsWith("--"), i = [r];
    return o || i.push(r.toLowerCase()), i.some(
      (s) => t[s] === n || t.getPropertyValue(s) === n
    );
  });
}
a(gBe, "isSubset");
function zre(e) {
  return Object.keys(e).sort().map((t) => `${t}: ${e[t]};`).join(`
`);
}
a(zre, "printoutStyles");
function yBe(e, t, r) {
  let n = Array.from(r).filter((i) => t[i] !== void 0).reduce(
    (i, s) => Object.assign(i, { [s]: r.getPropertyValue(s) }),
    {}
  );
  return e(zre(t), zre(n)).replace(`${Ure.default.red("+ Received")}
`, "");
}
a(yBe, "expectedDiff");
function TE(e, t) {
  De(e, TE, this);
  let r = typeof t == "object" ? t : Zje(t, TE, this), { getComputedStyle: n } = e.ownerDocument.defaultView, o = hBe(e.ownerDocument, r), i = n(
  e);
  return {
    pass: gBe(o, i),
    message: /* @__PURE__ */ a(() => {
      let s = `${this.isNot ? ".not" : ""}.toHaveStyle`;
      return [
        this.utils.matcherHint(s, "element", ""),
        yBe(this.utils.diff, o, i)
      ].join(`

`);
    }, "message")
  };
}
a(TE, "toHaveStyle");
function oI(e) {
  return De(e, oI, this), {
    pass: e.ownerDocument.activeElement === e,
    message: /* @__PURE__ */ a(() => [
      this.utils.matcherHint(
        `${this.isNot ? ".not" : ""}.toHaveFocus`,
        "element",
        ""
      ),
      "",
      ...this.isNot ? [
        "Received element is focused:",
        `  ${this.utils.printReceived(e)}`
      ] : [
        "Expected element with focus:",
        `  ${this.utils.printExpected(e)}`,
        "Received element with focus:",
        `  ${this.utils.printReceived(
          e.ownerDocument.activeElement
        )}`
      ]
    ].join(`
`), "message")
  };
}
a(oI, "toHaveFocus");
function vBe(e) {
  let t = [...new Set(e.map((r) => r.type))];
  if (t.length !== 1)
    throw new Error(
      "Multiple form elements with the same name must be of the same type"
    );
  switch (t[0]) {
    case "radio": {
      let r = e.find((n) => n.checked);
      return r ? r.value : void 0;
    }
    case "checkbox":
      return e.filter((r) => r.checked).map((r) => r.value);
    default:
      return e.map((r) => r.value);
  }
}
a(vBe, "getMultiElementValue");
function bBe(e, t) {
  let r = [...e.querySelectorAll(`[name="${(0, Vre.default)(t)}"]`)];
  if (r.length !== 0)
    switch (r.length) {
      case 1:
        return Gre(r[0]);
      default:
        return vBe(r);
    }
}
a(bBe, "getFormValue");
function wBe(e) {
  return /\[\]$/.test(e) ? e.slice(0, -2) : e;
}
a(wBe, "getPureName");
function EBe(e) {
  return Array.from(e.elements).map((r) => r.name).reduce(
    (r, n) => ({
      ...r,
      [wBe(n)]: bBe(e, n)
    }),
    {}
  );
}
a(EBe, "getAllFormValues");
function aI(e, t) {
  if (De(e, aI, this), !e.elements)
    throw new Error("toHaveFormValues must be called on a form or a fieldset");
  let r = EBe(e);
  return {
    pass: Object.entries(t).every(
      ([n, o]) => (0, AE.default)(r[n], o, K6)
    ),
    message: /* @__PURE__ */ a(() => {
      let n = this.isNot ? "not to" : "to", o = `${this.isNot ? ".not" : ""}.toHaveFormValues`, i = Object.keys(r).filter((s) => t.hasOwnProperty(
      s)).reduce((s, l) => ({ ...s, [l]: r[l] }), {});
      return [
        this.utils.matcherHint(o, "element", ""),
        `Expected the element ${n} have form values`,
        this.utils.diff(t, i)
      ].join(`

`);
    }, "message")
  };
}
a(aI, "toHaveFormValues");
function RBe(e) {
  let { getComputedStyle: t } = e.ownerDocument.defaultView, { display: r, visibility: n, opacity: o } = t(e);
  return r !== "none" && n !== "hidden" && n !== "collapse" && o !== "0" && o !== 0;
}
a(RBe, "isStyleVisible");
function xBe(e, t) {
  let r;
  return t ? r = e.nodeName === "DETAILS" && t.nodeName !== "SUMMARY" ? e.hasAttribute("open") : !0 : r = e.nodeName === "DETAILS" ? e.hasAttribute(
  "open") : !0, !e.hasAttribute("hidden") && r;
}
a(xBe, "isAttributeVisible");
function Yre(e, t) {
  return RBe(e) && xBe(e, t) && (!e.parentElement || Yre(e.parentElement, e));
}
a(Yre, "isElementVisible");
function iI(e) {
  De(e, iI, this);
  let t = e.ownerDocument === e.getRootNode({ composed: !0 }), r = t && Yre(e);
  return {
    pass: r,
    message: /* @__PURE__ */ a(() => {
      let n = r ? "is" : "is not";
      return [
        this.utils.matcherHint(
          `${this.isNot ? ".not" : ""}.toBeVisible`,
          "element",
          ""
        ),
        "",
        `Received element ${n} visible${t ? "" : " (element is not in the document)"}:`,
        `  ${this.utils.printReceived(e.cloneNode(!1))}`
      ].join(`
`);
    }, "message")
  };
}
a(iI, "toBeVisible");
var SBe = [
  "fieldset",
  "input",
  "select",
  "optgroup",
  "option",
  "button",
  "textarea"
];
function CBe(e, t) {
  return bs(e) === "legend" && bs(t) === "fieldset" && e.isSameNode(
    Array.from(t.children).find((r) => bs(r) === "legend")
  );
}
a(CBe, "isFirstLegendChildOfFieldset");
function _Be(e, t) {
  return Xre(t) && !CBe(e, t);
}
a(_Be, "isElementDisabledByParent");
function PBe(e) {
  return e.includes("-");
}
a(PBe, "isCustomElement");
function Kre(e) {
  let t = bs(e);
  return SBe.includes(t) || PBe(t);
}
a(Kre, "canElementBeDisabled");
function Xre(e) {
  return Kre(e) && e.hasAttribute("disabled");
}
a(Xre, "isElementDisabled");
function Jre(e) {
  let t = e.parentElement;
  return !!t && (_Be(e, t) || Jre(t));
}
a(Jre, "isAncestorDisabled");
function Qre(e) {
  return Kre(e) && (Xre(e) || Jre(e));
}
a(Qre, "isElementOrAncestorDisabled");
function sI(e) {
  De(e, sI, this);
  let t = Qre(e);
  return {
    pass: t,
    message: /* @__PURE__ */ a(() => {
      let r = t ? "is" : "is not";
      return [
        this.utils.matcherHint(
          `${this.isNot ? ".not" : ""}.toBeDisabled`,
          "element",
          ""
        ),
        "",
        `Received element ${r} disabled:`,
        `  ${this.utils.printReceived(e.cloneNode(!1))}`
      ].join(`
`);
    }, "message")
  };
}
a(sI, "toBeDisabled");
function lI(e) {
  De(e, lI, this);
  let t = !Qre(e);
  return {
    pass: t,
    message: /* @__PURE__ */ a(() => {
      let r = t ? "is" : "is not";
      return [
        this.utils.matcherHint(
          `${this.isNot ? ".not" : ""}.toBeEnabled`,
          "element",
          ""
        ),
        "",
        `Received element ${r} enabled:`,
        `  ${this.utils.printReceived(e.cloneNode(!1))}`
      ].join(`
`);
    }, "message")
  };
}
a(lI, "toBeEnabled");
var TBe = ["select", "textarea"], ABe = ["input", "select", "textarea"], OBe = [
  "color",
  "hidden",
  "range",
  "submit",
  "image",
  "reset"
], IBe = [
  "checkbox",
  "combobox",
  "gridcell",
  "listbox",
  "radiogroup",
  "spinbutton",
  "textbox",
  "tree"
];
function MBe(e) {
  return TBe.includes(bs(e)) && e.hasAttribute("required");
}
a(MBe, "isRequiredOnFormTagsExceptInput");
function NBe(e) {
  return bs(e) === "input" && e.hasAttribute("required") && (e.hasAttribute("type") && !OBe.includes(e.getAttribute("type")) || !e.hasAttribute(
  "type"));
}
a(NBe, "isRequiredOnSupportedInput");
function LBe(e) {
  return e.hasAttribute("aria-required") && e.getAttribute("aria-required") === "true" && (ABe.includes(bs(e)) || e.hasAttribute("role") && IBe.
  includes(e.getAttribute("role")));
}
a(LBe, "isElementRequiredByARIA");
function uI(e) {
  De(e, uI, this);
  let t = MBe(e) || NBe(e) || LBe(e);
  return {
    pass: t,
    message: /* @__PURE__ */ a(() => {
      let r = t ? "is" : "is not";
      return [
        this.utils.matcherHint(
          `${this.isNot ? ".not" : ""}.toBeRequired`,
          "element",
          ""
        ),
        "",
        `Received element ${r} required:`,
        `  ${this.utils.printReceived(e.cloneNode(!1))}`
      ].join(`
`);
    }, "message")
  };
}
a(uI, "toBeRequired");
var kBe = ["form", "input", "select", "textarea"];
function qBe(e) {
  return e.hasAttribute("aria-invalid") && e.getAttribute("aria-invalid") !== "false";
}
a(qBe, "isElementHavingAriaInvalid");
function DBe(e) {
  return kBe.includes(bs(e));
}
a(DBe, "isSupportsValidityMethod");
function Zre(e) {
  let t = qBe(e);
  return DBe(e) ? t || !e.checkValidity() : t;
}
a(Zre, "isElementInvalid");
function cI(e) {
  De(e, cI, this);
  let t = Zre(e);
  return {
    pass: t,
    message: /* @__PURE__ */ a(() => {
      let r = t ? "is" : "is not";
      return [
        this.utils.matcherHint(
          `${this.isNot ? ".not" : ""}.toBeInvalid`,
          "element",
          ""
        ),
        "",
        `Received element ${r} currently invalid:`,
        `  ${this.utils.printReceived(e.cloneNode(!1))}`
      ].join(`
`);
    }, "message")
  };
}
a(cI, "toBeInvalid");
function dI(e) {
  De(e, dI, this);
  let t = !Zre(e);
  return {
    pass: t,
    message: /* @__PURE__ */ a(() => {
      let r = t ? "is" : "is not";
      return [
        this.utils.matcherHint(
          `${this.isNot ? ".not" : ""}.toBeValid`,
          "element",
          ""
        ),
        "",
        `Received element ${r} currently valid:`,
        `  ${this.utils.printReceived(e.cloneNode(!1))}`
      ].join(`
`);
    }, "message")
  };
}
a(dI, "toBeValid");
function fI(e, t) {
  if (De(e, fI, this), e.tagName.toLowerCase() === "input" && ["checkbox", "radio"].includes(e.type))
    throw new Error(
      "input with type=checkbox or type=radio cannot be used with .toHaveValue(). Use .toBeChecked() for type=checkbox or .toHaveFormValues(\
) instead"
    );
  let r = Gre(e), n = t !== void 0, o = t, i = r;
  return t == r && t !== r && (o = `${t} (${typeof t})`, i = `${r} (${typeof r})`), {
    pass: n ? (0, AE.default)(r, t, K6) : !!r,
    message: /* @__PURE__ */ a(() => {
      let s = this.isNot ? "not to" : "to", l = this.utils.matcherHint(
        `${this.isNot ? ".not" : ""}.toHaveValue`,
        "element",
        t
      );
      return gr(
        this,
        l,
        `Expected the element ${s} have value`,
        n ? o : "(any)",
        "Received",
        i
      );
    }, "message")
  };
}
a(fI, "toHaveValue");
function pI(e, t) {
  De(e, pI, this);
  let r = e.tagName.toLowerCase();
  if (!["select", "input", "textarea"].includes(r))
    throw new Error(
      ".toHaveDisplayValue() currently supports only input, textarea or select elements, try with another matcher instead."
    );
  if (r === "input" && ["radio", "checkbox"].includes(e.type))
    throw new Error(
      `.toHaveDisplayValue() currently does not support input[type="${e.type}"], try with another matcher instead.`
    );
  let n = FBe(r, e), o = jBe(t), i = o.filter(
    (u) => n.some(
      (c) => u instanceof RegExp ? u.test(c) : this.equals(c, String(u))
    )
  ).length, s = i === n.length, l = i === o.length;
  return {
    pass: s && l,
    message: /* @__PURE__ */ a(() => gr(
      this,
      this.utils.matcherHint(
        `${this.isNot ? ".not" : ""}.toHaveDisplayValue`,
        "element",
        ""
      ),
      `Expected element ${this.isNot ? "not " : ""}to have display value`,
      t,
      "Received",
      n
    ), "message")
  };
}
a(pI, "toHaveDisplayValue");
function FBe(e, t) {
  return e === "select" ? Array.from(t).filter((r) => r.selected).map((r) => r.textContent) : [t.value];
}
a(FBe, "getValues");
function jBe(e) {
  return e instanceof Array ? e : [e];
}
a(jBe, "getExpectedValues");
function mI(e) {
  De(e, mI, this);
  let t = /* @__PURE__ */ a(() => e.tagName.toLowerCase() === "input" && ["checkbox", "radio"].includes(e.type), "isValidInput"), r = /* @__PURE__ */ a(
  () => ene(e.getAttribute("role")) && ["true", "false"].includes(e.getAttribute("aria-checked")), "isValidAriaElement");
  if (!t() && !r())
    return {
      pass: !1,
      message: /* @__PURE__ */ a(() => `only inputs with type="checkbox" or type="radio" or elements with ${BBe()} and a valid aria-checked \
attribute can be used with .toBeChecked(). Use .toHaveValue() instead`, "message")
    };
  let n = /* @__PURE__ */ a(() => t() ? e.checked : e.getAttribute("aria-checked") === "true", "isChecked");
  return {
    pass: n(),
    message: /* @__PURE__ */ a(() => {
      let o = n() ? "is" : "is not";
      return [
        this.utils.matcherHint(
          `${this.isNot ? ".not" : ""}.toBeChecked`,
          "element",
          ""
        ),
        "",
        `Received element ${o} checked:`,
        `  ${this.utils.printReceived(e.cloneNode(!1))}`
      ].join(`
`);
    }, "message")
  };
}
a(mI, "toBeChecked");
function BBe() {
  return aBe(
    $Be().map((e) => `role="${e}"`),
    { lastWordConnector: " or " }
  );
}
a(BBe, "supportedRolesSentence");
function $Be() {
  return km.roles.keys().filter(ene);
}
a($Be, "supportedRoles");
function ene(e) {
  return km.roles.get(e)?.props["aria-checked"] !== void 0;
}
a(ene, "roleSupportsChecked");
function hI(e) {
  De(e, hI, this);
  let t = /* @__PURE__ */ a(() => e.tagName.toLowerCase() === "input" && e.type === "checkbox", "isValidInput"), r = /* @__PURE__ */ a(() => e.
  getAttribute("role") === "checkbox", "isValidAriaElement");
  if (!t() && !r())
    return {
      pass: !1,
      message: /* @__PURE__ */ a(() => 'only inputs with type="checkbox" or elements with role="checkbox" and a valid aria-checked attribute\
 can be used with .toBePartiallyChecked(). Use .toHaveValue() instead', "message")
    };
  let n = /* @__PURE__ */ a(() => {
    let o = e.getAttribute("aria-checked") === "mixed";
    return t() && e.indeterminate || o;
  }, "isPartiallyChecked");
  return {
    pass: n(),
    message: /* @__PURE__ */ a(() => {
      let o = n() ? "is" : "is not";
      return [
        this.utils.matcherHint(
          `${this.isNot ? ".not" : ""}.toBePartiallyChecked`,
          "element",
          ""
        ),
        "",
        `Received element ${o} partially checked:`,
        `  ${this.utils.printReceived(e.cloneNode(!1))}`
      ].join(`
`);
    }, "message")
  };
}
a(hI, "toBePartiallyChecked");
function gI(e, t) {
  OE(
    "toHaveDescription",
    "Please use toHaveAccessibleDescription."
  ), De(e, gI, this);
  let r = t !== void 0, o = (e.getAttribute("aria-describedby") || "").split(/\s+/).filter(Boolean), i = "";
  if (o.length > 0) {
    let s = e.ownerDocument, l = o.map((u) => s.getElementById(u)).filter(Boolean);
    i = IE(l.map((u) => u.textContent).join(" "));
  }
  return {
    pass: r ? t instanceof RegExp ? t.test(i) : this.equals(i, t) : !!i,
    message: /* @__PURE__ */ a(() => {
      let s = this.isNot ? "not to" : "to";
      return gr(
        this,
        this.utils.matcherHint(
          `${this.isNot ? ".not" : ""}.toHaveDescription`,
          "element",
          ""
        ),
        `Expected the element ${s} have description`,
        this.utils.printExpected(t),
        "Received",
        this.utils.printReceived(i)
      );
    }, "message")
  };
}
a(gI, "toHaveDescription");
function yI(e, t) {
  if (OE("toHaveErrorMessage", "Please use toHaveAccessibleErrorMessage."), De(e, yI, this), !e.hasAttribute("aria-invalid") || e.getAttribute(
  "aria-invalid") === "false") {
    let s = this.isNot ? ".not" : "";
    return {
      pass: !1,
      message: /* @__PURE__ */ a(() => gr(
        this,
        this.utils.matcherHint(`${s}.toHaveErrorMessage`, "element", ""),
        "Expected the element to have invalid state indicated by",
        'aria-invalid="true"',
        "Received",
        e.hasAttribute("aria-invalid") ? `aria-invalid="${e.getAttribute("aria-invalid")}"` : this.utils.printReceived("")
      ), "message")
    };
  }
  let r = t !== void 0, o = (e.getAttribute("aria-errormessage") || "").split(/\s+/).filter(Boolean), i = "";
  if (o.length > 0) {
    let s = e.ownerDocument, l = o.map((u) => s.getElementById(u)).filter(Boolean);
    i = IE(
      l.map((u) => u.textContent).join(" ")
    );
  }
  return {
    pass: r ? t instanceof RegExp ? t.test(i) : this.equals(i, t) : !!i,
    message: /* @__PURE__ */ a(() => {
      let s = this.isNot ? "not to" : "to";
      return gr(
        this,
        this.utils.matcherHint(
          `${this.isNot ? ".not" : ""}.toHaveErrorMessage`,
          "element",
          ""
        ),
        `Expected the element ${s} have error message`,
        this.utils.printExpected(t),
        "Received",
        this.utils.printReceived(i)
      );
    }, "message")
  };
}
a(yI, "toHaveErrorMessage");
function HBe(e) {
  let t = e.ownerDocument.getSelection();
  if (["input", "textarea"].includes(e.tagName.toLowerCase()))
    return ["radio", "checkbox"].includes(e.type) ? "" : e.value.toString().substring(e.selectionStart, e.selectionEnd);
  if (t.anchorNode === null || t.focusNode === null)
    return "";
  let r = t.getRangeAt(0), n = e.ownerDocument.createRange();
  if (t.containsNode(e, !1))
    n.selectNodeContents(e), t.removeAllRanges(), t.addRange(n);
  else if (!(e.contains(t.anchorNode) && e.contains(t.focusNode))) {
    let i = e === r.startContainer || e.contains(r.startContainer), s = e === r.endContainer || e.contains(r.endContainer);
    t.removeAllRanges(), (i || s) && (n.selectNodeContents(e), i && n.setStart(
      r.startContainer,
      r.startOffset
    ), s && n.setEnd(
      r.endContainer,
      r.endOffset
    ), t.addRange(n));
  }
  let o = t.toString();
  return t.removeAllRanges(), t.addRange(r), o;
}
a(HBe, "getSelection");
function vI(e, t) {
  De(e, vI, this);
  let r = t !== void 0;
  if (r && typeof t != "string")
    throw new Error("expected selection must be a string or undefined");
  let n = HBe(e);
  return {
    pass: r ? (0, AE.default)(n, t, K6) : !!n,
    message: /* @__PURE__ */ a(() => {
      let o = this.isNot ? "not to" : "to", i = this.utils.matcherHint(
        `${this.isNot ? ".not" : ""}.toHaveSelection`,
        "element",
        t
      );
      return gr(
        this,
        i,
        `Expected the element ${o} have selection`,
        r ? t : "(any)",
        "Received",
        n
      );
    }, "message")
  };
}
a(vI, "toHaveSelection");

// ../node_modules/@testing-library/jest-dom/dist/matchers.mjs
var wNt = N($O(), 1);
var xNt = N(m6(), 1), SNt = N(S6(), 1), CNt = N(U6(), 1), _Nt = N(W6(), 1);

// ../node_modules/@vitest/utils/dist/index.js
var SI, tne;
function zBe() {
  if (tne) return SI;
  tne = 1;
  var e, t, r, n, o, i, s, l, u, c, d, f, p, m, v, y, b, g, w;
  return p = /\/(?![*\/])(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\\]).|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/yu, f = /--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y,
  e = /(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/yu, v = /(['"])(?:(?!\1)[^\\\n\r]|\\(?:\r\n|[^]))*(\1)?/y,
  d = /(?:0[xX][\da-fA-F](?:_?[\da-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*)n?|0n|[1-9](?:_?\d)*n|(?:(?:0(?!\d)|0\d*[89]\d*|[1-9](?:_?\d)*)(?:\.(?:\d(?:_?\d)*)?)?|\.\d(?:_?\d)*)(?:[eE][+-]?\d(?:_?\d)*)?|0[0-7]+/y,
  y = /[`}](?:[^`\\$]|\\[^]|\$(?!\{))*(`|\$\{)?/y, w = /[\t\v\f\ufeff\p{Zs}]+/yu, l = /\r?\n|[\r\u2028\u2029]/y, u = /\/\*(?:[^*]|\*(?!\/))*(\*\/)?/y,
  m = /\/\/.*/y, r = /[<>.:={}]|\/(?![\/*])/y, t = /[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/yu, n = /(['"])(?:(?!\1)[^])*(\1)?/y, o =
  /[^<>{}]+/y, g = /^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/,
  b = /^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/, i = /^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/,
  s = /^(?:return|throw|yield)$/, c = RegExp(l.source), SI = /* @__PURE__ */ a(function* (E, { jsx: x = !1 } = {}) {
    var S, C, _, A, O, q, M, U, Q, z, $, D, V, G;
    for ({ length: q } = E, A = 0, O = "", G = [
      { tag: "JS" }
    ], S = [], $ = 0, D = !1; A < q; ) {
      switch (U = G[G.length - 1], U.tag) {
        case "JS":
        case "JSNonExpressionParen":
        case "InterpolationInTemplate":
        case "InterpolationInJSX":
          if (E[A] === "/" && (g.test(O) || i.test(O)) && (p.lastIndex = A, M = p.exec(E))) {
            A = p.lastIndex, O = M[0], D = !0, yield {
              type: "RegularExpressionLiteral",
              value: M[0],
              closed: M[1] !== void 0 && M[1] !== "\\"
            };
            continue;
          }
          if (f.lastIndex = A, M = f.exec(E)) {
            switch (V = M[0], Q = f.lastIndex, z = V, V) {
              case "(":
                O === "?NonExpressionParenKeyword" && G.push({
                  tag: "JSNonExpressionParen",
                  nesting: $
                }), $++, D = !1;
                break;
              case ")":
                $--, D = !0, U.tag === "JSNonExpressionParen" && $ === U.nesting && (G.pop(), z = "?NonExpressionParenEnd", D = !1);
                break;
              case "{":
                f.lastIndex = 0, _ = !b.test(O) && (g.test(O) || i.test(O)), S.push(_), D = !1;
                break;
              case "}":
                switch (U.tag) {
                  case "InterpolationInTemplate":
                    if (S.length === U.nesting) {
                      y.lastIndex = A, M = y.exec(E), A = y.lastIndex, O = M[0], M[1] === "${" ? (O = "?InterpolationInTemplate", D = !1, yield {
                        type: "TemplateMiddle",
                        value: M[0]
                      }) : (G.pop(), D = !0, yield {
                        type: "TemplateTail",
                        value: M[0],
                        closed: M[1] === "`"
                      });
                      continue;
                    }
                    break;
                  case "InterpolationInJSX":
                    if (S.length === U.nesting) {
                      G.pop(), A += 1, O = "}", yield {
                        type: "JSXPunctuator",
                        value: "}"
                      };
                      continue;
                    }
                }
                D = S.pop(), z = D ? "?ExpressionBraceEnd" : "}";
                break;
              case "]":
                D = !0;
                break;
              case "++":
              case "--":
                z = D ? "?PostfixIncDec" : "?UnaryIncDec";
                break;
              case "<":
                if (x && (g.test(O) || i.test(O))) {
                  G.push({ tag: "JSXTag" }), A += 1, O = "<", yield {
                    type: "JSXPunctuator",
                    value: V
                  };
                  continue;
                }
                D = !1;
                break;
              default:
                D = !1;
            }
            A = Q, O = z, yield {
              type: "Punctuator",
              value: V
            };
            continue;
          }
          if (e.lastIndex = A, M = e.exec(E)) {
            switch (A = e.lastIndex, z = M[0], M[0]) {
              case "for":
              case "if":
              case "while":
              case "with":
                O !== "." && O !== "?." && (z = "?NonExpressionParenKeyword");
            }
            O = z, D = !i.test(M[0]), yield {
              type: M[1] === "#" ? "PrivateIdentifier" : "IdentifierName",
              value: M[0]
            };
            continue;
          }
          if (v.lastIndex = A, M = v.exec(E)) {
            A = v.lastIndex, O = M[0], D = !0, yield {
              type: "StringLiteral",
              value: M[0],
              closed: M[2] !== void 0
            };
            continue;
          }
          if (d.lastIndex = A, M = d.exec(E)) {
            A = d.lastIndex, O = M[0], D = !0, yield {
              type: "NumericLiteral",
              value: M[0]
            };
            continue;
          }
          if (y.lastIndex = A, M = y.exec(E)) {
            A = y.lastIndex, O = M[0], M[1] === "${" ? (O = "?InterpolationInTemplate", G.push({
              tag: "InterpolationInTemplate",
              nesting: S.length
            }), D = !1, yield {
              type: "TemplateHead",
              value: M[0]
            }) : (D = !0, yield {
              type: "NoSubstitutionTemplate",
              value: M[0],
              closed: M[1] === "`"
            });
            continue;
          }
          break;
        case "JSXTag":
        case "JSXTagEnd":
          if (r.lastIndex = A, M = r.exec(E)) {
            switch (A = r.lastIndex, z = M[0], M[0]) {
              case "<":
                G.push({ tag: "JSXTag" });
                break;
              case ">":
                G.pop(), O === "/" || U.tag === "JSXTagEnd" ? (z = "?JSX", D = !0) : G.push({ tag: "JSXChildren" });
                break;
              case "{":
                G.push({
                  tag: "InterpolationInJSX",
                  nesting: S.length
                }), z = "?InterpolationInJSX", D = !1;
                break;
              case "/":
                O === "<" && (G.pop(), G[G.length - 1].tag === "JSXChildren" && G.pop(), G.push({ tag: "JSXTagEnd" }));
            }
            O = z, yield {
              type: "JSXPunctuator",
              value: M[0]
            };
            continue;
          }
          if (t.lastIndex = A, M = t.exec(E)) {
            A = t.lastIndex, O = M[0], yield {
              type: "JSXIdentifier",
              value: M[0]
            };
            continue;
          }
          if (n.lastIndex = A, M = n.exec(E)) {
            A = n.lastIndex, O = M[0], yield {
              type: "JSXString",
              value: M[0],
              closed: M[2] !== void 0
            };
            continue;
          }
          break;
        case "JSXChildren":
          if (o.lastIndex = A, M = o.exec(E)) {
            A = o.lastIndex, O = M[0], yield {
              type: "JSXText",
              value: M[0]
            };
            continue;
          }
          switch (E[A]) {
            case "<":
              G.push({ tag: "JSXTag" }), A++, O = "<", yield {
                type: "JSXPunctuator",
                value: "<"
              };
              continue;
            case "{":
              G.push({
                tag: "InterpolationInJSX",
                nesting: S.length
              }), A++, O = "?InterpolationInJSX", D = !1, yield {
                type: "JSXPunctuator",
                value: "{"
              };
              continue;
          }
      }
      if (w.lastIndex = A, M = w.exec(E)) {
        A = w.lastIndex, yield {
          type: "WhiteSpace",
          value: M[0]
        };
        continue;
      }
      if (l.lastIndex = A, M = l.exec(E)) {
        A = l.lastIndex, D = !1, s.test(O) && (O = "?NoLineTerminatorHere"), yield {
          type: "LineTerminatorSequence",
          value: M[0]
        };
        continue;
      }
      if (u.lastIndex = A, M = u.exec(E)) {
        A = u.lastIndex, c.test(M[0]) && (D = !1, s.test(O) && (O = "?NoLineTerminatorHere")), yield {
          type: "MultiLineComment",
          value: M[0],
          closed: M[1] !== void 0
        };
        continue;
      }
      if (m.lastIndex = A, M = m.exec(E)) {
        A = m.lastIndex, D = !1, yield {
          type: "SingleLineComment",
          value: M[0]
        };
        continue;
      }
      C = String.fromCodePoint(E.codePointAt(A)), A += C.length, O = C, D = !1, yield {
        type: U.tag.startsWith("JSX") ? "JSXInvalid" : "Invalid",
        value: C
      };
    }
  }, "jsTokens_1"), SI;
}
a(zBe, "requireJsTokens");
var HNt = zBe();
var rne = {
  keyword: [
    "break",
    "case",
    "catch",
    "continue",
    "debugger",
    "default",
    "do",
    "else",
    "finally",
    "for",
    "function",
    "if",
    "return",
    "switch",
    "throw",
    "try",
    "var",
    "const",
    "while",
    "with",
    "new",
    "this",
    "super",
    "class",
    "extends",
    "export",
    "import",
    "null",
    "true",
    "false",
    "in",
    "instanceof",
    "typeof",
    "void",
    "delete"
  ],
  strict: [
    "implements",
    "interface",
    "let",
    "package",
    "private",
    "protected",
    "public",
    "static",
    "yield"
  ]
}, zNt = new Set(rne.keyword), UNt = new Set(rne.strict);
var VNt = Symbol("vitest:SAFE_TIMERS");

// ../node_modules/@vitest/spy/node_modules/tinyspy/dist/index.js
function ME(e, t) {
  if (!e)
    throw new Error(t);
}
a(ME, "assert");
function Pd(e, t) {
  return typeof t === e;
}
a(Pd, "isType");
function UBe(e) {
  return e instanceof Promise;
}
a(UBe, "isPromise");
function qm(e, t, r) {
  Object.defineProperty(e, t, r);
}
a(qm, "define");
function Td(e, t, r) {
  qm(e, t, { value: r, configurable: !0, writable: !0 });
}
a(Td, "defineValue");
var ws = Symbol.for("tinyspy:spy"), VBe = /* @__PURE__ */ new Set(), WBe = /* @__PURE__ */ a((e) => {
  e.called = !1, e.callCount = 0, e.calls = [], e.results = [], e.resolves = [], e.next = [];
}, "reset"), GBe = /* @__PURE__ */ a((e) => (qm(e, ws, {
  value: { reset: /* @__PURE__ */ a(() => WBe(e[ws]), "reset") }
}), e[ws]), "defineState"), NE = /* @__PURE__ */ a((e) => e[ws] || GBe(e), "getInternalState");
function YBe(e) {
  ME(
    Pd("function", e) || Pd("undefined", e),
    "cannot spy on a non-function value"
  );
  let t = /* @__PURE__ */ a(function(...n) {
    let o = NE(t);
    o.called = !0, o.callCount++, o.calls.push(n);
    let i = o.next.shift();
    if (i) {
      o.results.push(i);
      let [d, f] = i;
      if (d === "ok")
        return f;
      throw f;
    }
    let s, l = "ok", u = o.results.length;
    if (o.impl)
      try {
        new.target ? s = Reflect.construct(o.impl, n, new.target) : s = o.impl.apply(this, n), l = "ok";
      } catch (d) {
        throw s = d, l = "error", o.results.push([l, d]), d;
      }
    let c = [l, s];
    return UBe(s) && s.then(
      (d) => o.resolves[u] = ["ok", d],
      (d) => o.resolves[u] = ["error", d]
    ), o.results.push(c), s;
  }, "fn");
  Td(t, "_isMockFunction", !0), Td(t, "length", e ? e.length : 0), Td(t, "name", e && e.name || "spy");
  let r = NE(t);
  return r.reset(), r.impl = e, t;
}
a(YBe, "createInternalSpy");
function KBe(e) {
  return !!e && e._isMockFunction === !0;
}
a(KBe, "isMockFunction");
var one = /* @__PURE__ */ a((e, t) => {
  let r = Object.getOwnPropertyDescriptor(e, t);
  if (r)
    return [e, r];
  let n = Object.getPrototypeOf(e);
  for (; n !== null; ) {
    let o = Object.getOwnPropertyDescriptor(n, t);
    if (o)
      return [n, o];
    n = Object.getPrototypeOf(n);
  }
}, "getDescriptor"), nne = /* @__PURE__ */ a((e, t) => {
  t != null && typeof t == "function" && t.prototype != null && Object.setPrototypeOf(e.prototype, t.prototype);
}, "setPototype");
function CI(e, t, r) {
  ME(
    !Pd("undefined", e),
    "spyOn could not find an object to spy upon"
  ), ME(
    Pd("object", e) || Pd("function", e),
    "cannot spyOn on a primitive value"
  );
  let [n, o] = (() => {
    if (!Pd("object", t))
      return [t, "value"];
    if ("getter" in t && "setter" in t)
      throw new Error("cannot spy on both getter and setter");
    if ("getter" in t)
      return [t.getter, "get"];
    if ("setter" in t)
      return [t.setter, "set"];
    throw new Error("specify getter or setter to spy on");
  })(), [i, s] = one(e, n) || [];
  ME(
    s || n in e,
    `${String(n)} does not exist`
  );
  let l = !1;
  o === "value" && s && !s.value && s.get && (o = "get", l = !0, r = s.get());
  let u;
  s ? u = s[o] : o !== "value" ? u = /* @__PURE__ */ a(() => e[n], "original") : u = e[n], u && ZBe(u) && (u = u[ws].getOriginal());
  let c = /* @__PURE__ */ a((m) => {
    let { value: v, ...y } = s || {
      configurable: !0,
      writable: !0
    };
    o !== "value" && delete y.writable, y[o] = m, qm(e, n, y);
  }, "reassign"), d = /* @__PURE__ */ a(() => {
    i !== e ? Reflect.deleteProperty(e, n) : s && !u ? qm(e, n, s) : c(u);
  }, "restore");
  r || (r = u);
  let f = QBe(YBe(r), r);
  o === "value" && nne(f, u);
  let p = f[ws];
  return Td(p, "restore", d), Td(p, "getOriginal", () => l ? u() : u), Td(p, "willCall", (m) => (p.impl = m, f)), c(
    l ? () => (nne(f, r), f) : f
  ), VBe.add(f), f;
}
a(CI, "internalSpyOn");
var XBe = /* @__PURE__ */ new Set([
  "length",
  "name",
  "prototype"
]);
function JBe(e) {
  let t = /* @__PURE__ */ new Set(), r = {};
  for (; e && e !== Object.prototype && e !== Function.prototype; ) {
    let n = [
      ...Object.getOwnPropertyNames(e),
      ...Object.getOwnPropertySymbols(e)
    ];
    for (let o of n)
      r[o] || XBe.has(o) || (t.add(o), r[o] = Object.getOwnPropertyDescriptor(e, o));
    e = Object.getPrototypeOf(e);
  }
  return {
    properties: t,
    descriptors: r
  };
}
a(JBe, "getAllProperties");
function QBe(e, t) {
  if (!t || // the original is already a spy, so it has all the properties
  ws in t)
    return e;
  let { properties: r, descriptors: n } = JBe(t);
  for (let o of r) {
    let i = n[o];
    one(e, o) || qm(e, o, i);
  }
  return e;
}
a(QBe, "wrap");
function ZBe(e) {
  return KBe(e) && "getOriginal" in e[ws];
}
a(ZBe, "isSpyFunction");

// ../node_modules/@vitest/spy/dist/index.js
var Ad = /* @__PURE__ */ new Set();
function Zl(e) {
  return typeof e == "function" && "_isMockFunction" in e && e._isMockFunction;
}
a(Zl, "isMockFunction");
function ane(e, t, r) {
  let o = r ? { [{
    get: "getter",
    set: "setter"
  }[r]]: t } : t, i, s = r$e(e, t), l = s && s[r || "value"];
  Zl(l) && (i = l.mock._state());
  try {
    let u = CI(e, o), c = ine(u);
    return i && c.mock._state(i), c;
  } catch (u) {
    throw u instanceof TypeError && Symbol.toStringTag && e[Symbol.toStringTag] === "Module" && (u.message.includes("Cannot redefine propert\
y") || u.message.includes("Cannot replace module namespace") || u.message.includes("can't redefine non-configurable property")) ? new TypeError(
    `Cannot spy on export "${String(o)}". Module namespace is not configurable in ESM. See: https://vitest.dev/guide/browser/#limitations`, {
    cause: u }) : u;
  }
}
a(ane, "spyOn");
var t$e = 0;
function ine(e) {
  let t = e, r, n = [], o = !1, i = [], s = [], l = [], u = NE(e), c = {
    get calls() {
      return u.calls;
    },
    get contexts() {
      return s;
    },
    get instances() {
      return i;
    },
    get invocationCallOrder() {
      return l;
    },
    get results() {
      return u.results.map(([m, v]) => ({
        type: m === "error" ? "throw" : "return",
        value: v
      }));
    },
    get settledResults() {
      return u.resolves.map(([m, v]) => ({
        type: m === "error" ? "rejected" : "fulfilled",
        value: v
      }));
    },
    get lastCall() {
      return u.calls[u.calls.length - 1];
    },
    _state(m) {
      return m && (r = m.implementation, n = m.onceImplementations, o = m.implementationChangedTemporarily), {
        implementation: r,
        onceImplementations: n,
        implementationChangedTemporarily: o
      };
    }
  };
  function d(...m) {
    return i.push(this), s.push(this), l.push(++t$e), (o ? r : n.shift() || r || u.getOriginal() || (() => {
    })).apply(this, m);
  }
  a(d, "mockCall");
  let f = t.name;
  t.getMockName = () => f || "vi.fn()", t.mockName = (m) => (f = m, t), t.mockClear = () => (u.reset(), i = [], s = [], l = [], t), t.mockReset =
  () => (t.mockClear(), r = void 0, n = [], t), t.mockRestore = () => (t.mockReset(), u.restore(), t), Symbol.dispose && (t[Symbol.dispose] =
  () => t.mockRestore()), t.getMockImplementation = () => o ? r : n.at(0) || r, t.mockImplementation = (m) => (r = m, u.willCall(d), t), t.mockImplementationOnce =
  (m) => (n.push(m), t);
  function p(m, v) {
    let y = r;
    r = m, u.willCall(d), o = !0;
    let b = /* @__PURE__ */ a(() => {
      r = y, o = !1;
    }, "reset"), g = v();
    return typeof g == "object" && g && typeof g.then == "function" ? g.then(() => (b(), t)) : (b(), t);
  }
  return a(p, "withImplementation"), t.withImplementation = p, t.mockReturnThis = () => t.mockImplementation(function() {
    return this;
  }), t.mockReturnValue = (m) => t.mockImplementation(() => m), t.mockReturnValueOnce = (m) => t.mockImplementationOnce(() => m), t.mockResolvedValue =
  (m) => t.mockImplementation(() => Promise.resolve(m)), t.mockResolvedValueOnce = (m) => t.mockImplementationOnce(() => Promise.resolve(m)),
  t.mockRejectedValue = (m) => t.mockImplementation(() => Promise.reject(m)), t.mockRejectedValueOnce = (m) => t.mockImplementationOnce(() => Promise.
  reject(m)), Object.defineProperty(t, "mock", { get: /* @__PURE__ */ a(() => c, "get") }), u.willCall(d), Ad.add(t), t;
}
a(ine, "enhanceSpy");
function _I(e) {
  let t = ine(CI({ spy: e || function() {
  } }, "spy"));
  return e && t.mockImplementation(e), t;
}
a(_I, "fn");
function r$e(e, t) {
  let r = Object.getOwnPropertyDescriptor(e, t);
  if (r)
    return r;
  let n = Object.getPrototypeOf(e);
  for (; n !== null; ) {
    let o = Object.getOwnPropertyDescriptor(n, t);
    if (o)
      return o;
    n = Object.getPrototypeOf(n);
  }
}
a(r$e, "getDescriptor");

// ../node_modules/@vitest/expect/dist/index.js
var jm = Symbol.for("matchers-object"), Bm = Symbol.for("$$jest-matchers-object-storybook"), $E = Symbol.for("expect-global"), AI = Symbol.for(
"asymmetric-matchers-object"), gne = {
  toSatisfy(e, t, r) {
    let { printReceived: n, printExpected: o, matcherHint: i } = this.utils, s = t(e);
    return {
      pass: s,
      message: /* @__PURE__ */ a(() => s ? `${i(".not.toSatisfy", "received", "")}

Expected value to not satisfy:
${r || o(t)}
Received:
${n(e)}` : `${i(".toSatisfy", "received", "")}

Expected value to satisfy:
${r || o(t)}

Received:
${n(e)}`, "message")
    };
  },
  toBeOneOf(e, t) {
    let { equals: r, customTesters: n } = this, { printReceived: o, printExpected: i, matcherHint: s } = this.utils;
    if (!Array.isArray(t))
      throw new TypeError(`You must provide an array to ${s(".toBeOneOf")}, not '${typeof t}'.`);
    let l = t.length === 0 || t.some((u) => r(u, e, n));
    return {
      pass: l,
      message: /* @__PURE__ */ a(() => l ? `${s(".not.toBeOneOf", "received", "")}

Expected value to not be one of:
${i(t)}
Received:
${o(e)}` : `${s(".toBeOneOf", "received", "")}

Expected value to be one of:
${i(t)}

Received:
${o(e)}`, "message")
    };
  }
}, LE = Xe.green, NI = Xe.red, n$e = Xe.inverse, o$e = Xe.bold, Es = Xe.dim;
function a$e(e, t = "received", r = "expected", n = {}) {
  let { comment: o = "", isDirectExpectCall: i = !1, isNot: s = !1, promise: l = "", secondArgument: u = "", expectedColor: c = LE, receivedColor: d = NI,
  secondArgumentColor: f = LE } = n, p = "", m = "expect";
  return !i && t !== "" && (p += Es(`${m}(`) + d(t), m = ")"), l !== "" && (p += Es(`${m}.`) + l, m = ""), s && (p += `${Es(`${m}.`)}not`, m =
  ""), e.includes(".") ? m += e : (p += Es(`${m}.`) + e, m = ""), r === "" ? m += "()" : (p += Es(`${m}(`) + c(r), u && (p += Es(", ") + f(u)),
  m = ")"), o !== "" && (m += ` // ${o}`), m !== "" && (p += Es(m)), p;
}
a(a$e, "matcherHint");
var i$e = "\xB7";
function yne(e) {
  return e.replace(/\s+$/gm, (t) => i$e.repeat(t.length));
}
a(yne, "replaceTrailingSpaces");
function s$e(e) {
  return NI(yne(mr(e)));
}
a(s$e, "printReceived");
function l$e(e) {
  return LE(yne(mr(e)));
}
a(l$e, "printExpected");
function vne() {
  return {
    EXPECTED_COLOR: LE,
    RECEIVED_COLOR: NI,
    INVERTED_COLOR: n$e,
    BOLD_WEIGHT: o$e,
    DIM_COLOR: Es,
    diff: Gl,
    matcherHint: a$e,
    printReceived: s$e,
    printExpected: l$e,
    printDiffOrStringify: Vv,
    printWithType: u$e
  };
}
a(vne, "getMatcherUtils");
function u$e(e, t, r) {
  let n = Vl(t), o = n !== "null" && n !== "undefined" ? `${e} has type:  ${n}
` : "", i = `${e} has value: ${r(t)}`;
  return o + i;
}
a(u$e, "printWithType");
function LI() {
  return globalThis[Bm].customEqualityTesters;
}
a(LI, "getCustomEqualityTesters");
function ke(e, t, r, n) {
  return r = r || [], Dm(e, t, [], [], r, n ? bne : f$e);
}
a(ke, "equals");
var a9t = Function.prototype.toString;
function sne(e) {
  return !!e && typeof e == "object" && "asymmetricMatch" in e && Go("Function", e.asymmetricMatch);
}
a(sne, "isAsymmetric");
function c$e(e, t) {
  let r = sne(e), n = sne(t);
  if (!(r && n)) {
    if (r)
      return e.asymmetricMatch(t);
    if (n)
      return t.asymmetricMatch(e);
  }
}
a(c$e, "asymmetricMatch");
function Dm(e, t, r, n, o, i) {
  let s = !0, l = c$e(e, t);
  if (l !== void 0)
    return l;
  let u = { equals: ke };
  for (let v = 0; v < o.length; v++) {
    let y = o[v].call(u, e, t, o);
    if (y !== void 0)
      return y;
  }
  if (typeof URL == "function" && e instanceof URL && t instanceof URL)
    return e.href === t.href;
  if (Object.is(e, t))
    return !0;
  if (e === null || t === null)
    return e === t;
  let c = Object.prototype.toString.call(e);
  if (c !== Object.prototype.toString.call(t))
    return !1;
  switch (c) {
    case "[object Boolean]":
    case "[object String]":
    case "[object Number]":
      return typeof e != typeof t ? !1 : typeof e != "object" && typeof t != "object" ? Object.is(e, t) : Object.is(e.valueOf(), t.valueOf());
    case "[object Date]": {
      let v = +e, y = +t;
      return v === y || Number.isNaN(v) && Number.isNaN(y);
    }
    case "[object RegExp]":
      return e.source === t.source && e.flags === t.flags;
    case "[object Temporal.Instant]":
    case "[object Temporal.ZonedDateTime]":
    case "[object Temporal.PlainDateTime]":
    case "[object Temporal.PlainDate]":
    case "[object Temporal.PlainTime]":
    case "[object Temporal.PlainYearMonth]":
    case "[object Temporal.PlainMonthDay]":
      return e.equals(t);
    case "[object Temporal.Duration]":
      return e.toString() === t.toString();
  }
  if (typeof e != "object" || typeof t != "object")
    return !1;
  if (une(e) && une(t))
    return e.isEqualNode(t);
  let d = r.length;
  for (; d--; ) {
    if (r[d] === e)
      return n[d] === t;
    if (n[d] === t)
      return !1;
  }
  if (r.push(e), n.push(t), c === "[object Array]" && e.length !== t.length)
    return !1;
  if (e instanceof Error && t instanceof Error)
    try {
      return d$e(e, t, r, n, o, i);
    } finally {
      r.pop(), n.pop();
    }
  let f = lne(e, i), p, m = f.length;
  if (lne(t, i).length !== m)
    return !1;
  for (; m--; )
    if (p = f[m], s = i(t, p) && Dm(e[p], t[p], r, n, o, i), !s)
      return !1;
  return r.pop(), n.pop(), s;
}
a(Dm, "eq");
function d$e(e, t, r, n, o, i) {
  let s = Object.getPrototypeOf(e) === Object.getPrototypeOf(t) && e.name === t.name && e.message === t.message;
  return typeof t.cause < "u" && s && (s = Dm(e.cause, t.cause, r, n, o, i)), e instanceof AggregateError && t instanceof AggregateError && s &&
  (s = Dm(e.errors, t.errors, r, n, o, i)), s && (s = Dm({ ...e }, { ...t }, r, n, o, i)), s;
}
a(d$e, "isErrorEqual");
function lne(e, t) {
  let r = [];
  for (let n in e)
    t(e, n) && r.push(n);
  return r.concat(Object.getOwnPropertySymbols(e).filter((n) => Object.getOwnPropertyDescriptor(e, n).enumerable));
}
a(lne, "keys");
function f$e(e, t) {
  return bne(e, t) && e[t] !== void 0;
}
a(f$e, "hasDefinedKey");
function bne(e, t) {
  return Object.prototype.hasOwnProperty.call(e, t);
}
a(bne, "hasKey");
function Go(e, t) {
  return Object.prototype.toString.apply(t) === `[object ${e}]`;
}
a(Go, "isA");
function une(e) {
  return e !== null && typeof e == "object" && "nodeType" in e && typeof e.nodeType == "number" && "nodeName" in e && typeof e.nodeName == "\
string" && "isEqualNode" in e && typeof e.isEqualNode == "function";
}
a(une, "isDomNode");
var wne = "@@__IMMUTABLE_KEYED__@@", Ene = "@@__IMMUTABLE_SET__@@", p$e = "@@__IMMUTABLE_LIST__@@", HE = "@@__IMMUTABLE_ORDERED__@@", m$e = "\
@@__IMMUTABLE_RECORD__@@";
function h$e(e) {
  return !!(e && e[wne] && !e[HE]);
}
a(h$e, "isImmutableUnorderedKeyed");
function g$e(e) {
  return !!(e && e[Ene] && !e[HE]);
}
a(g$e, "isImmutableUnorderedSet");
function zE(e) {
  return e != null && typeof e == "object" && !Array.isArray(e);
}
a(zE, "isObjectLiteral");
function y$e(e) {
  return !!(e && zE(e) && e[p$e]);
}
a(y$e, "isImmutableList");
function v$e(e) {
  return !!(e && zE(e) && e[wne] && e[HE]);
}
a(v$e, "isImmutableOrderedKeyed");
function b$e(e) {
  return !!(e && zE(e) && e[Ene] && e[HE]);
}
a(b$e, "isImmutableOrderedSet");
function w$e(e) {
  return !!(e && zE(e) && e[m$e]);
}
a(w$e, "isImmutableRecord");
var Rne = Symbol.iterator;
function cne(e) {
  return !!(e != null && e[Rne]);
}
a(cne, "hasIterator");
function fo(e, t, r = [], n = [], o = []) {
  if (typeof e != "object" || typeof t != "object" || Array.isArray(e) || Array.isArray(t) || !cne(e) || !cne(t))
    return;
  if (e.constructor !== t.constructor)
    return !1;
  let i = n.length;
  for (; i--; )
    if (n[i] === e)
      return o[i] === t;
  n.push(e), o.push(t);
  let s = [...r.filter((c) => c !== fo), l];
  function l(c, d) {
    return fo(c, d, [...r], [...n], [...o]);
  }
  if (a(l, "iterableEqualityWithStack"), e.size !== void 0) {
    if (e.size !== t.size)
      return !1;
    if (Go("Set", e) || g$e(e)) {
      let c = !0;
      for (let d of e)
        if (!t.has(d)) {
          let f = !1;
          for (let p of t)
            ke(d, p, s) === !0 && (f = !0);
          if (f === !1) {
            c = !1;
            break;
          }
        }
      return n.pop(), o.pop(), c;
    } else if (Go("Map", e) || h$e(e)) {
      let c = !0;
      for (let d of e)
        if (!t.has(d[0]) || !ke(d[1], t.get(d[0]), s)) {
          let f = !1;
          for (let p of t) {
            let m = ke(d[0], p[0], s), v = !1;
            m === !0 && (v = ke(d[1], p[1], s)), v === !0 && (f = !0);
          }
          if (f === !1) {
            c = !1;
            break;
          }
        }
      return n.pop(), o.pop(), c;
    }
  }
  let u = t[Rne]();
  for (let c of e) {
    let d = u.next();
    if (d.done || !ke(c, d.value, s))
      return !1;
  }
  if (!u.next().done)
    return !1;
  if (!y$e(e) && !v$e(e) && !b$e(e) && !w$e(e)) {
    let c = Object.entries(e), d = Object.entries(t);
    if (!ke(c, d, s))
      return !1;
  }
  return n.pop(), o.pop(), !0;
}
a(fo, "iterableEquality");
function kI(e, t) {
  return !e || typeof e != "object" || e === Object.prototype ? !1 : Object.prototype.hasOwnProperty.call(e, t) || kI(Object.getPrototypeOf(
  e), t);
}
a(kI, "hasPropertyInObject");
function E$e(e) {
  return ad(e) && !(e instanceof Error) && !Array.isArray(e) && !(e instanceof Date);
}
a(E$e, "isObjectWithKeys");
function $m(e, t, r = []) {
  let n = r.filter((i) => i !== $m), o = /* @__PURE__ */ a((i = /* @__PURE__ */ new WeakMap()) => (s, l) => {
    if (E$e(l))
      return Object.keys(l).every((u) => {
        if (l[u] != null && typeof l[u] == "object") {
          if (i.has(l[u]))
            return ke(s[u], l[u], n);
          i.set(l[u], !0);
        }
        let c = s != null && kI(s, u) && ke(s[u], l[u], [...n, o(i)]);
        return i.delete(l[u]), c;
      });
  }, "subsetEqualityWithContext");
  return o()(e, t);
}
a($m, "subsetEquality");
function dne(e, t) {
  if (!(e == null || t == null || e.constructor === t.constructor))
    return !1;
}
a(dne, "typeEquality");
function fne(e, t) {
  let r = e, n = t;
  if (!(e instanceof DataView && t instanceof DataView)) {
    if (!(e instanceof ArrayBuffer) || !(t instanceof ArrayBuffer))
      return;
    try {
      r = new DataView(e), n = new DataView(t);
    } catch {
      return;
    }
  }
  if (r.byteLength !== n.byteLength)
    return !1;
  for (let o = 0; o < r.byteLength; o++)
    if (r.getUint8(o) !== n.getUint8(o))
      return !1;
  return !0;
}
a(fne, "arrayBufferEquality");
function OI(e, t, r = []) {
  if (!Array.isArray(e) || !Array.isArray(t))
    return;
  let n = Object.keys(e), o = Object.keys(t), i = r.filter((s) => s !== OI);
  return ke(e, t, i, !0) && ke(n, o);
}
a(OI, "sparseArrayEquality");
function R$e(e, t = "#{this}", r = "#{exp}") {
  let n = `expected ${t} to be ${r} // Object.is equality`;
  return ["toStrictEqual", "toEqual"].includes(e) ? `${n}

If it should pass with deep equality, replace "toBe" with "${e}"

Expected: ${t}
Received: serializes to the same string
` : n;
}
a(R$e, "generateToBeMessage");
function x$e(e, t) {
  return `${t} ${e}${t === 1 ? "" : "s"}`;
}
a(x$e, "pluralize");
function PI(e) {
  return [...Object.keys(e), ...Object.getOwnPropertySymbols(e).filter((t) => {
    var r;
    return (r = Object.getOwnPropertyDescriptor(e, t)) === null || r === void 0 ? void 0 : r.enumerable;
  })];
}
a(PI, "getObjectKeys");
function S$e(e, t, r) {
  let n = 0, o = /* @__PURE__ */ a((i = /* @__PURE__ */ new WeakMap()) => (s, l) => {
    if (Array.isArray(s)) {
      if (Array.isArray(l) && l.length === s.length)
        return l.map((u, c) => o(i)(s[c], u));
    } else {
      if (s instanceof Date)
        return s;
      if (ad(s) && ad(l)) {
        if (ke(s, l, [
          ...r,
          fo,
          $m
        ]))
          return l;
        let u = {};
        i.set(s, u), typeof s.constructor == "function" && typeof s.constructor.name == "string" && Object.defineProperty(u, "constructor", {
          enumerable: !1,
          value: s.constructor
        });
        for (let c of PI(s))
          kI(l, c) ? u[c] = i.has(s[c]) ? i.get(s[c]) : o(i)(s[c], l[c]) : i.has(s[c]) || (n += 1, ad(s[c]) && (n += PI(s[c]).length), o(i)(
          s[c], l[c]));
        if (PI(u).length > 0)
          return u;
      }
    }
    return s;
  }, "getObjectSubsetWithContext");
  return {
    subset: o()(e, t),
    stripped: n
  };
}
a(S$e, "getObjectSubset");
if (!Object.prototype.hasOwnProperty.call(globalThis, jm)) {
  let e = /* @__PURE__ */ new WeakMap();
  Object.defineProperty(globalThis, jm, { get: /* @__PURE__ */ a(() => e, "get") });
}
if (!Object.prototype.hasOwnProperty.call(globalThis, Bm)) {
  let e = /* @__PURE__ */ Object.create(null), t = [];
  Object.defineProperty(globalThis, Bm, {
    configurable: !0,
    get: /* @__PURE__ */ a(() => ({
      state: globalThis[jm].get(globalThis[$E]),
      matchers: e,
      customEqualityTesters: t
    }), "get")
  });
}
if (!Object.prototype.hasOwnProperty.call(globalThis, AI)) {
  let e = /* @__PURE__ */ Object.create(null);
  Object.defineProperty(globalThis, AI, { get: /* @__PURE__ */ a(() => e, "get") });
}
function Hm(e) {
  return globalThis[jm].get(e);
}
a(Hm, "getState");
function UE(e, t) {
  let r = globalThis[jm], n = r.get(t) || {}, o = Object.defineProperties(n, {
    ...Object.getOwnPropertyDescriptors(n),
    ...Object.getOwnPropertyDescriptors(e)
  });
  r.set(t, o);
}
a(UE, "setState");
var qI = class qI {
  // should have "jest" to be compatible with its ecosystem
  $$typeof = Symbol.for("jest.asymmetricMatcher");
  constructor(t, r = !1) {
    this.sample = t, this.inverse = r;
  }
  getMatcherContext(t) {
    return {
      ...Hm(t || globalThis[$E]),
      equals: ke,
      isNot: this.inverse,
      customTesters: LI(),
      utils: {
        ...vne(),
        diff: Gl,
        stringify: mr,
        iterableEquality: fo,
        subsetEquality: $m
      }
    };
  }
};
a(qI, "AsymmetricMatcher");
var Yo = qI;
Yo.prototype[Symbol.for("chai/inspect")] = function(e) {
  let t = mr(this, e.depth, { min: !0 });
  return t.length <= e.truncate ? t : `${this.toString()}{\u2026}`;
};
var DI = class DI extends Yo {
  constructor(t, r = !1) {
    if (!Go("String", t))
      throw new Error("Expected is not a string");
    super(t, r);
  }
  asymmetricMatch(t) {
    let r = Go("String", t) && t.includes(this.sample);
    return this.inverse ? !r : r;
  }
  toString() {
    return `String${this.inverse ? "Not" : ""}Containing`;
  }
  getExpectedType() {
    return "string";
  }
};
a(DI, "StringContaining");
var kE = DI, FI = class FI extends Yo {
  asymmetricMatch(t) {
    return t != null;
  }
  toString() {
    return "Anything";
  }
  toAsymmetricMatcher() {
    return "Anything";
  }
};
a(FI, "Anything");
var II = FI, jI = class jI extends Yo {
  constructor(t, r = !1) {
    super(t, r);
  }
  getPrototype(t) {
    return Object.getPrototypeOf ? Object.getPrototypeOf(t) : t.constructor.prototype === t ? null : t.constructor.prototype;
  }
  hasProperty(t, r) {
    return t ? Object.prototype.hasOwnProperty.call(t, r) ? !0 : this.hasProperty(this.getPrototype(t), r) : !1;
  }
  asymmetricMatch(t) {
    if (typeof this.sample != "object")
      throw new TypeError(`You must provide an object to ${this.toString()}, not '${typeof this.sample}'.`);
    let r = !0, n = this.getMatcherContext();
    for (let o in this.sample)
      if (!this.hasProperty(t, o) || !ke(this.sample[o], t[o], n.customTesters)) {
        r = !1;
        break;
      }
    return this.inverse ? !r : r;
  }
  toString() {
    return `Object${this.inverse ? "Not" : ""}Containing`;
  }
  getExpectedType() {
    return "object";
  }
};
a(jI, "ObjectContaining");
var qE = jI, BI = class BI extends Yo {
  constructor(t, r = !1) {
    super(t, r);
  }
  asymmetricMatch(t) {
    if (!Array.isArray(this.sample))
      throw new TypeError(`You must provide an array to ${this.toString()}, not '${typeof this.sample}'.`);
    let r = this.getMatcherContext(), n = this.sample.length === 0 || Array.isArray(t) && this.sample.every((o) => t.some((i) => ke(o, i, r.
    customTesters)));
    return this.inverse ? !n : n;
  }
  toString() {
    return `Array${this.inverse ? "Not" : ""}Containing`;
  }
  getExpectedType() {
    return "array";
  }
};
a(BI, "ArrayContaining");
var DE = BI, $I = class $I extends Yo {
  constructor(t) {
    if (typeof t > "u")
      throw new TypeError("any() expects to be passed a constructor function. Please pass one or use anything() to match any object.");
    super(t);
  }
  fnNameFor(t) {
    if (t.name)
      return t.name;
    let n = Function.prototype.toString.call(t).match(/^(?:async)?\s*function\s*(?:\*\s*)?([\w$]+)\s*\(/);
    return n ? n[1] : "<anonymous>";
  }
  asymmetricMatch(t) {
    return this.sample === String ? typeof t == "string" || t instanceof String : this.sample === Number ? typeof t == "number" || t instanceof
    Number : this.sample === Function ? typeof t == "function" || typeof t == "function" : this.sample === Boolean ? typeof t == "boolean" ||
    t instanceof Boolean : this.sample === BigInt ? typeof t == "bigint" || t instanceof BigInt : this.sample === Symbol ? typeof t == "symb\
ol" || t instanceof Symbol : this.sample === Object ? typeof t == "object" : t instanceof this.sample;
  }
  toString() {
    return "Any";
  }
  getExpectedType() {
    return this.sample === String ? "string" : this.sample === Number ? "number" : this.sample === Function ? "function" : this.sample === Object ?
    "object" : this.sample === Boolean ? "boolean" : this.fnNameFor(this.sample);
  }
  toAsymmetricMatcher() {
    return `Any<${this.fnNameFor(this.sample)}>`;
  }
};
a($I, "Any");
var MI = $I, HI = class HI extends Yo {
  constructor(t, r = !1) {
    if (!Go("String", t) && !Go("RegExp", t))
      throw new Error("Expected is not a String or a RegExp");
    super(new RegExp(t), r);
  }
  asymmetricMatch(t) {
    let r = Go("String", t) && this.sample.test(t);
    return this.inverse ? !r : r;
  }
  toString() {
    return `String${this.inverse ? "Not" : ""}Matching`;
  }
  getExpectedType() {
    return "string";
  }
};
a(HI, "StringMatching");
var FE = HI, zI = class zI extends Yo {
  precision;
  constructor(t, r = 2, n = !1) {
    if (!Go("Number", t))
      throw new Error("Expected is not a Number");
    if (!Go("Number", r))
      throw new Error("Precision is not a Number");
    super(t), this.inverse = n, this.precision = r;
  }
  asymmetricMatch(t) {
    if (!Go("Number", t))
      return !1;
    let r = !1;
    return t === Number.POSITIVE_INFINITY && this.sample === Number.POSITIVE_INFINITY || t === Number.NEGATIVE_INFINITY && this.sample === Number.
    NEGATIVE_INFINITY ? r = !0 : r = Math.abs(this.sample - t) < 10 ** -this.precision / 2, this.inverse ? !r : r;
  }
  toString() {
    return `Number${this.inverse ? "Not" : ""}CloseTo`;
  }
  getExpectedType() {
    return "number";
  }
  toAsymmetricMatcher() {
    return [
      this.toString(),
      this.sample,
      `(${x$e("digit", this.precision)})`
    ].join(" ");
  }
};
a(zI, "CloseTo");
var jE = zI, xne = /* @__PURE__ */ a((e, t) => {
  t.addMethod(e.expect, "anything", () => new II()), t.addMethod(e.expect, "any", (r) => new MI(r)), t.addMethod(e.expect, "stringContaining",
  (r) => new kE(r)), t.addMethod(e.expect, "objectContaining", (r) => new qE(r)), t.addMethod(e.expect, "arrayContaining", (r) => new DE(r)),
  t.addMethod(e.expect, "stringMatching", (r) => new FE(r)), t.addMethod(e.expect, "closeTo", (r, n) => new jE(r, n)), e.expect.not = {
    stringContaining: /* @__PURE__ */ a((r) => new kE(r, !0), "stringContaining"),
    objectContaining: /* @__PURE__ */ a((r) => new qE(r, !0), "objectContaining"),
    arrayContaining: /* @__PURE__ */ a((r) => new DE(r, !0), "arrayContaining"),
    stringMatching: /* @__PURE__ */ a((r) => new FE(r, !0), "stringMatching"),
    closeTo: /* @__PURE__ */ a((r, n) => new jE(r, n, !0), "closeTo")
  };
}, "JestAsymmetricMatchers");
function pne(e, t, r) {
  let n = e.flag(t, "negate") ? "not." : "", o = `${e.flag(t, "_name")}(${r ? "expected" : ""})`, i = e.flag(t, "promise");
  return `expect(actual)${i ? `.${i}` : ""}.${n}${o}`;
}
a(pne, "createAssertionMessage");
function mne(e, t, r, n) {
  let o = e;
  if (o && t instanceof Promise) {
    t = t.finally(() => {
      if (!o.promises)
        return;
      let s = o.promises.indexOf(t);
      s !== -1 && o.promises.splice(s, 1);
    }), o.promises || (o.promises = []), o.promises.push(t);
    let i = !1;
    return o.onFinished ?? (o.onFinished = []), o.onFinished.push(() => {
      if (!i) {
        var s;
        let u = (((s = globalThis.__vitest_worker__) === null || s === void 0 ? void 0 : s.onFilterStackTrace) || ((c) => c || ""))(n.stack);
        console.warn([
          `Promise returned by \`${r}\` was not awaited. `,
          "Vitest currently auto-awaits hanging assertions at the end of the test, but this will cause the test to fail in Vitest 3. ",
          `Please remember to await the assertion.
`,
          u
        ].join(""));
      }
    }), {
      then(s, l) {
        return i = !0, t.then(s, l);
      },
      catch(s) {
        return t.catch(s);
      },
      finally(s) {
        return t.finally(s);
      },
      [Symbol.toStringTag]: "Promise"
    };
  }
  return t;
}
a(mne, "recordAsyncExpect");
function hne(e, t) {
  var r;
  e.result || (e.result = { state: "fail" }), e.result.state = "fail", (r = e.result).errors || (r.errors = []), e.result.errors.push(im(t));
}
a(hne, "handleTestError");
function Sne(e, t, r) {
  return function(...n) {
    if (t !== "withTest" && e.flag(this, "_name", t), !e.flag(this, "soft"))
      return r.apply(this, n);
    let o = e.flag(this, "vitest-test");
    if (!o)
      throw new Error("expect.soft() can only be used inside a test");
    try {
      let i = r.apply(this, n);
      return i && typeof i == "object" && typeof i.then == "function" ? i.then(T7, (s) => {
        hne(o, s);
      }) : i;
    } catch (i) {
      hne(o, i);
    }
  };
}
a(Sne, "wrapAssertion");
var Cne = /* @__PURE__ */ a((e, t) => {
  let { AssertionError: r } = e, n = LI();
  function o(c, d) {
    let f = /* @__PURE__ */ a((p) => {
      let m = Sne(t, p, d);
      t.addMethod(e.Assertion.prototype, p, m), t.addMethod(globalThis[Bm].matchers, p, m);
    }, "addMethod");
    Array.isArray(c) ? c.forEach((p) => f(p)) : f(c);
  }
  a(o, "def"), [
    "throw",
    "throws",
    "Throw"
  ].forEach((c) => {
    t.overwriteMethod(e.Assertion.prototype, c, (d) => function(...f) {
      let p = t.flag(this, "promise"), m = t.flag(this, "object"), v = t.flag(this, "negate");
      if (p === "rejects")
        t.flag(this, "object", () => {
          throw m;
        });
      else if (p === "resolves" && typeof m != "function") {
        if (v)
          return;
        {
          let y = t.flag(this, "message") || "expected promise to throw an error, but it didn't", b = { showDiff: !1 };
          throw new r(y, b, t.flag(this, "ssfi"));
        }
      }
      d.apply(this, f);
    });
  }), o("withTest", function(c) {
    return t.flag(this, "vitest-test", c), this;
  }), o("toEqual", function(c) {
    let d = t.flag(this, "object"), f = ke(d, c, [...n, fo]);
    return this.assert(f, "expected #{this} to deeply equal #{exp}", "expected #{this} to not deeply equal #{exp}", c, d);
  }), o("toStrictEqual", function(c) {
    let d = t.flag(this, "object"), f = ke(d, c, [
      ...n,
      fo,
      dne,
      OI,
      fne
    ], !0);
    return this.assert(f, "expected #{this} to strictly equal #{exp}", "expected #{this} to not strictly equal #{exp}", c, d);
  }), o("toBe", function(c) {
    let d = this._obj, f = Object.is(d, c), p = "";
    return f || (ke(d, c, [
      ...n,
      fo,
      dne,
      OI,
      fne
    ], !0) ? p = "toStrictEqual" : ke(d, c, [...n, fo]) && (p = "toEqual")), this.assert(f, R$e(p), "expected #{this} not to be #{exp} // Ob\
ject.is equality", c, d);
  }), o("toMatchObject", function(c) {
    let d = this._obj, f = ke(d, c, [
      ...n,
      fo,
      $m
    ]), p = t.flag(this, "negate"), { subset: m, stripped: v } = S$e(d, c, n);
    if (f && p || !f && !p) {
      let y = t.getMessage(this, [
        f,
        "expected #{this} to match object #{exp}",
        "expected #{this} to not match object #{exp}",
        c,
        m,
        !1
      ]), b = v === 0 ? y : `${y}
(${v} matching ${v === 1 ? "property" : "properties"} omitted from actual)`;
      throw new r(b, {
        showDiff: !0,
        expected: c,
        actual: m
      });
    }
  }), o("toMatch", function(c) {
    let d = this._obj;
    if (typeof d != "string")
      throw new TypeError(`.toMatch() expects to receive a string, but got ${typeof d}`);
    return this.assert(typeof c == "string" ? d.includes(c) : d.match(c), "expected #{this} to match #{exp}", "expected #{this} not to match\
 #{exp}", c, d);
  }), o("toContain", function(c) {
    let d = this._obj;
    if (typeof Node < "u" && d instanceof Node) {
      if (!(c instanceof Node))
        throw new TypeError(`toContain() expected a DOM node as the argument, but got ${typeof c}`);
      return this.assert(d.contains(c), "expected #{this} to contain element #{exp}", "expected #{this} not to contain element #{exp}", c, d);
    }
    if (typeof DOMTokenList < "u" && d instanceof DOMTokenList) {
      Uo(c, "class name", ["string"]);
      let p = t.flag(this, "negate") ? d.value.replace(c, "").trim() : `${d.value} ${c}`;
      return this.assert(d.contains(c), `expected "${d.value}" to contain "${c}"`, `expected "${d.value}" not to contain "${c}"`, p, d.value);
    }
    return typeof d == "string" && typeof c == "string" ? this.assert(d.includes(c), "expected #{this} to contain #{exp}", "expected #{this}\
 not to contain #{exp}", c, d) : (d != null && typeof d != "string" && t.flag(this, "object", Array.from(d)), this.contain(c));
  }), o("toContainEqual", function(c) {
    let d = t.flag(this, "object"), f = Array.from(d).findIndex((p) => ke(p, c, n));
    this.assert(f !== -1, "expected #{this} to deep equally contain #{exp}", "expected #{this} to not deep equally contain #{exp}", c);
  }), o("toBeTruthy", function() {
    let c = t.flag(this, "object");
    this.assert(!!c, "expected #{this} to be truthy", "expected #{this} to not be truthy", !0, c);
  }), o("toBeFalsy", function() {
    let c = t.flag(this, "object");
    this.assert(!c, "expected #{this} to be falsy", "expected #{this} to not be falsy", !1, c);
  }), o("toBeGreaterThan", function(c) {
    let d = this._obj;
    return Uo(d, "actual", ["number", "bigint"]), Uo(c, "expected", ["number", "bigint"]), this.assert(d > c, `expected ${d} to be greater t\
han ${c}`, `expected ${d} to be not greater than ${c}`, c, d, !1);
  }), o("toBeGreaterThanOrEqual", function(c) {
    let d = this._obj;
    return Uo(d, "actual", ["number", "bigint"]), Uo(c, "expected", ["number", "bigint"]), this.assert(d >= c, `expected ${d} to be greater \
than or equal to ${c}`, `expected ${d} to be not greater than or equal to ${c}`, c, d, !1);
  }), o("toBeLessThan", function(c) {
    let d = this._obj;
    return Uo(d, "actual", ["number", "bigint"]), Uo(c, "expected", ["number", "bigint"]), this.assert(d < c, `expected ${d} to be less than\
 ${c}`, `expected ${d} to be not less than ${c}`, c, d, !1);
  }), o("toBeLessThanOrEqual", function(c) {
    let d = this._obj;
    return Uo(d, "actual", ["number", "bigint"]), Uo(c, "expected", ["number", "bigint"]), this.assert(d <= c, `expected ${d} to be less tha\
n or equal to ${c}`, `expected ${d} to be not less than or equal to ${c}`, c, d, !1);
  }), o("toBeNaN", function() {
    let c = t.flag(this, "object");
    this.assert(Number.isNaN(c), "expected #{this} to be NaN", "expected #{this} not to be NaN", Number.NaN, c);
  }), o("toBeUndefined", function() {
    let c = t.flag(this, "object");
    this.assert(c === void 0, "expected #{this} to be undefined", "expected #{this} not to be undefined", void 0, c);
  }), o("toBeNull", function() {
    let c = t.flag(this, "object");
    this.assert(c === null, "expected #{this} to be null", "expected #{this} not to be null", null, c);
  }), o("toBeDefined", function() {
    let c = t.flag(this, "object");
    this.assert(typeof c < "u", "expected #{this} to be defined", "expected #{this} to be undefined", c);
  }), o("toBeTypeOf", function(c) {
    let d = typeof this._obj, f = c === d;
    return this.assert(f, "expected #{this} to be type of #{exp}", "expected #{this} not to be type of #{exp}", c, d);
  }), o("toBeInstanceOf", function(c) {
    return this.instanceOf(c);
  }), o("toHaveLength", function(c) {
    return this.have.length(c);
  }), o("toHaveProperty", function(...c) {
    Array.isArray(c[0]) && (c[0] = c[0].map((w) => String(w).replace(/([.[\]])/g, "\\$1")).join("."));
    let d = this._obj, [f, p] = c, m = /* @__PURE__ */ a(() => Object.prototype.hasOwnProperty.call(d, f) ? {
      value: d[f],
      exists: !0
    } : t.getPathInfo(d, f), "getValue"), { value: v, exists: y } = m(), b = y && (c.length === 1 || ke(p, v, n)), g = c.length === 1 ? "" :
    ` with value ${t.objDisplay(p)}`;
    return this.assert(b, `expected #{this} to have property "${f}"${g}`, `expected #{this} to not have property "${f}"${g}`, p, y ? v : void 0);
  }), o("toBeCloseTo", function(c, d = 2) {
    let f = this._obj, p = !1, m = 0, v = 0;
    return c === Number.POSITIVE_INFINITY && f === Number.POSITIVE_INFINITY || c === Number.NEGATIVE_INFINITY && f === Number.NEGATIVE_INFINITY ?
    p = !0 : (m = 10 ** -d / 2, v = Math.abs(f - c), p = v < m), this.assert(p, `expected #{this} to be close to #{exp}, received difference\
 is ${v}, but expected ${m}`, `expected #{this} to not be close to #{exp}, received difference is ${v}, but expected ${m}`, c, f, !1);
  });
  function i(c) {
    if (!Zl(c._obj))
      throw new TypeError(`${t.inspect(c._obj)} is not a spy or a call to a spy!`);
  }
  a(i, "assertIsMock");
  function s(c) {
    return i(c), c._obj;
  }
  a(s, "getSpy"), o(["toHaveBeenCalledTimes", "toBeCalledTimes"], function(c) {
    let d = s(this), f = d.getMockName(), p = d.mock.calls.length;
    return this.assert(p === c, `expected "${f}" to be called #{exp} times, but got ${p} times`, `expected "${f}" to not be called #{exp} ti\
mes`, c, p, !1);
  }), o("toHaveBeenCalledOnce", function() {
    let c = s(this), d = c.getMockName(), f = c.mock.calls.length;
    return this.assert(f === 1, `expected "${d}" to be called once, but got ${f} times`, `expected "${d}" to not be called once`, 1, f, !1);
  }), o(["toHaveBeenCalled", "toBeCalled"], function() {
    let c = s(this), d = c.getMockName(), f = c.mock.calls.length, p = f > 0, m = t.flag(this, "negate"), v = t.getMessage(this, [
      p,
      `expected "${d}" to be called at least once`,
      `expected "${d}" to not be called at all, but actually been called ${f} times`,
      !0,
      p
    ]);
    if (p && m && (v = TI(c, v)), p && m || !p && !m)
      throw new r(v);
  });
  function l(c, d) {
    return c.length === d.length && c.every((f, p) => ke(f, d[p], [...n, fo]));
  }
  a(l, "equalsArgumentArray"), o(["toHaveBeenCalledWith", "toBeCalledWith"], function(...c) {
    let d = s(this), f = d.getMockName(), p = d.mock.calls.some((y) => l(y, c)), m = t.flag(this, "negate"), v = t.getMessage(this, [
      p,
      `expected "${f}" to be called with arguments: #{exp}`,
      `expected "${f}" to not be called with arguments: #{exp}`,
      c
    ]);
    if (p && m || !p && !m)
      throw new r(TI(d, v, c));
  }), o("toHaveBeenCalledExactlyOnceWith", function(...c) {
    let d = s(this), f = d.getMockName(), p = d.mock.calls.length, v = d.mock.calls.some((g) => l(g, c)) && p === 1, y = t.flag(this, "negat\
e"), b = t.getMessage(this, [
      v,
      `expected "${f}" to be called once with arguments: #{exp}`,
      `expected "${f}" to not be called once with arguments: #{exp}`,
      c
    ]);
    if (v && y || !v && !y)
      throw new r(TI(d, b, c));
  }), o(["toHaveBeenNthCalledWith", "nthCalledWith"], function(c, ...d) {
    let f = s(this), p = f.getMockName(), m = f.mock.calls[c - 1], v = f.mock.calls.length, y = c <= v;
    this.assert(m && l(m, d), `expected ${Fm(c)} "${p}" call to have been called with #{exp}${y ? "" : `, but called only ${v} times`}`, `ex\
pected ${Fm(c)} "${p}" call to not have been called with #{exp}`, d, m, y);
  }), o(["toHaveBeenLastCalledWith", "lastCalledWith"], function(...c) {
    let d = s(this), f = d.getMockName(), p = d.mock.calls[d.mock.calls.length - 1];
    this.assert(p && l(p, c), `expected last "${f}" call to have been called with #{exp}`, `expected last "${f}" call to not have been calle\
d with #{exp}`, c, p);
  });
  function u(c, d, f) {
    let p = c.mock.invocationCallOrder, m = d.mock.invocationCallOrder;
    return p.length === 0 ? !f : m.length === 0 ? !1 : p[0] < m[0];
  }
  a(u, "isSpyCalledBeforeAnotherSpy"), o(["toHaveBeenCalledBefore"], function(c, d = !0) {
    let f = s(this);
    if (!Zl(c))
      throw new TypeError(`${t.inspect(c)} is not a spy or a call to a spy`);
    this.assert(u(f, c, d), `expected "${f.getMockName()}" to have been called before "${c.getMockName()}"`, `expected "${f.getMockName()}" \
to not have been called before "${c.getMockName()}"`, c, f);
  }), o(["toHaveBeenCalledAfter"], function(c, d = !0) {
    let f = s(this);
    if (!Zl(c))
      throw new TypeError(`${t.inspect(c)} is not a spy or a call to a spy`);
    this.assert(u(c, f, d), `expected "${f.getMockName()}" to have been called after "${c.getMockName()}"`, `expected "${f.getMockName()}" t\
o not have been called after "${c.getMockName()}"`, c, f);
  }), o(["toThrow", "toThrowError"], function(c) {
    if (typeof c == "string" || typeof c > "u" || c instanceof RegExp)
      return this.throws(c === "" ? /^$/ : c);
    let d = this._obj, f = t.flag(this, "promise"), p = t.flag(this, "negate"), m = null;
    if (f === "rejects")
      m = d;
    else if (f === "resolves" && typeof d != "function") {
      if (p)
        return;
      {
        let v = t.flag(this, "message") || "expected promise to throw an error, but it didn't", y = { showDiff: !1 };
        throw new r(v, y, t.flag(this, "ssfi"));
      }
    } else {
      let v = !1;
      try {
        d();
      } catch (y) {
        v = !0, m = y;
      }
      if (!v && !p) {
        let y = t.flag(this, "message") || "expected function to throw an error, but it didn't", b = { showDiff: !1 };
        throw new r(y, b, t.flag(this, "ssfi"));
      }
    }
    if (typeof c == "function") {
      let v = c.name || c.prototype.constructor.name;
      return this.assert(m && m instanceof c, `expected error to be instance of ${v}`, `expected error not to be instance of ${v}`, c, m);
    }
    if (c instanceof Error) {
      let v = ke(m, c, [...n, fo]);
      return this.assert(v, "expected a thrown error to be #{exp}", "expected a thrown error not to be #{exp}", c, m);
    }
    if (typeof c == "object" && "asymmetricMatch" in c && typeof c.asymmetricMatch == "function") {
      let v = c;
      return this.assert(m && v.asymmetricMatch(m), "expected error to match asymmetric matcher", "expected error not to match asymmetric ma\
tcher", v, m);
    }
    throw new Error(`"toThrow" expects string, RegExp, function, Error instance or asymmetric matcher, got "${typeof c}"`);
  }), [{
    name: "toHaveResolved",
    condition: /* @__PURE__ */ a((c) => c.mock.settledResults.length > 0 && c.mock.settledResults.some(({ type: d }) => d === "fulfilled"), "\
condition"),
    action: "resolved"
  }, {
    name: ["toHaveReturned", "toReturn"],
    condition: /* @__PURE__ */ a((c) => c.mock.calls.length > 0 && c.mock.results.some(({ type: d }) => d !== "throw"), "condition"),
    action: "called"
  }].forEach(({ name: c, condition: d, action: f }) => {
    o(c, function() {
      let p = s(this), m = p.getMockName(), v = d(p);
      this.assert(v, `expected "${m}" to be successfully ${f} at least once`, `expected "${m}" to not be successfully ${f}`, v, !v, !1);
    });
  }), [{
    name: "toHaveResolvedTimes",
    condition: /* @__PURE__ */ a((c, d) => c.mock.settledResults.reduce((f, { type: p }) => p === "fulfilled" ? ++f : f, 0) === d, "conditio\
n"),
    action: "resolved"
  }, {
    name: ["toHaveReturnedTimes", "toReturnTimes"],
    condition: /* @__PURE__ */ a((c, d) => c.mock.results.reduce((f, { type: p }) => p === "throw" ? f : ++f, 0) === d, "condition"),
    action: "called"
  }].forEach(({ name: c, condition: d, action: f }) => {
    o(c, function(p) {
      let m = s(this), v = m.getMockName(), y = d(m, p);
      this.assert(y, `expected "${v}" to be successfully ${f} ${p} times`, `expected "${v}" to not be successfully ${f} ${p} times`, `expect\
ed resolved times: ${p}`, `received resolved times: ${y}`, !1);
    });
  }), [{
    name: "toHaveResolvedWith",
    condition: /* @__PURE__ */ a((c, d) => c.mock.settledResults.some(({ type: f, value: p }) => f === "fulfilled" && ke(d, p)), "condition"),
    action: "resolve"
  }, {
    name: ["toHaveReturnedWith", "toReturnWith"],
    condition: /* @__PURE__ */ a((c, d) => c.mock.results.some(({ type: f, value: p }) => f === "return" && ke(d, p)), "condition"),
    action: "return"
  }].forEach(({ name: c, condition: d, action: f }) => {
    o(c, function(p) {
      let m = s(this), v = d(m, p), y = t.flag(this, "negate");
      if (v && y || !v && !y) {
        let b = m.getMockName(), g = t.getMessage(this, [
          v,
          `expected "${b}" to ${f} with: #{exp} at least once`,
          `expected "${b}" to not ${f} with: #{exp}`,
          p
        ]), w = f === "return" ? m.mock.results : m.mock.settledResults;
        throw new r(C$e(m, w, g, p));
      }
    });
  }), [{
    name: "toHaveLastResolvedWith",
    condition: /* @__PURE__ */ a((c, d) => {
      let f = c.mock.settledResults[c.mock.settledResults.length - 1];
      return f && f.type === "fulfilled" && ke(f.value, d);
    }, "condition"),
    action: "resolve"
  }, {
    name: ["toHaveLastReturnedWith", "lastReturnedWith"],
    condition: /* @__PURE__ */ a((c, d) => {
      let f = c.mock.results[c.mock.results.length - 1];
      return f && f.type === "return" && ke(f.value, d);
    }, "condition"),
    action: "return"
  }].forEach(({ name: c, condition: d, action: f }) => {
    o(c, function(p) {
      let m = s(this), v = f === "return" ? m.mock.results : m.mock.settledResults, y = v[v.length - 1], b = m.getMockName();
      this.assert(d(m, p), `expected last "${b}" call to ${f} #{exp}`, `expected last "${b}" call to not ${f} #{exp}`, p, y?.value);
    });
  }), [{
    name: "toHaveNthResolvedWith",
    condition: /* @__PURE__ */ a((c, d, f) => {
      let p = c.mock.settledResults[d - 1];
      return p && p.type === "fulfilled" && ke(p.value, f);
    }, "condition"),
    action: "resolve"
  }, {
    name: ["toHaveNthReturnedWith", "nthReturnedWith"],
    condition: /* @__PURE__ */ a((c, d, f) => {
      let p = c.mock.results[d - 1];
      return p && p.type === "return" && ke(p.value, f);
    }, "condition"),
    action: "return"
  }].forEach(({ name: c, condition: d, action: f }) => {
    o(c, function(p, m) {
      let v = s(this), y = v.getMockName(), g = (f === "return" ? v.mock.results : v.mock.settledResults)[p - 1], w = `${Fm(p)} call`;
      this.assert(d(v, p, m), `expected ${w} "${y}" call to ${f} #{exp}`, `expected ${w} "${y}" call to not ${f} #{exp}`, m, g?.value);
    });
  }), o("withContext", function(c) {
    for (let d in c)
      t.flag(this, d, c[d]);
    return this;
  }), t.addProperty(e.Assertion.prototype, "resolves", /* @__PURE__ */ a(function() {
    let d = new Error("resolves");
    t.flag(this, "promise", "resolves"), t.flag(this, "error", d);
    let f = t.flag(this, "vitest-test"), p = t.flag(this, "object");
    if (t.flag(this, "poll"))
      throw new SyntaxError("expect.poll() is not supported in combination with .resolves");
    if (typeof p?.then != "function")
      throw new TypeError(`You must provide a Promise to expect() when using .resolves, not '${typeof p}'.`);
    let m = new Proxy(this, { get: /* @__PURE__ */ a((v, y, b) => {
      let g = Reflect.get(v, y, b);
      return typeof g != "function" ? g instanceof e.Assertion ? m : g : (...w) => {
        t.flag(this, "_name", y);
        let E = p.then((x) => (t.flag(this, "object", x), g.call(this, ...w)), (x) => {
          let S = new r(`promise rejected "${t.inspect(x)}" instead of resolving`, { showDiff: !1 });
          throw S.cause = x, S.stack = d.stack.replace(d.message, S.message), S;
        });
        return mne(f, E, pne(t, this, !!w.length), d);
      };
    }, "get") });
    return m;
  }, "__VITEST_RESOLVES__")), t.addProperty(e.Assertion.prototype, "rejects", /* @__PURE__ */ a(function() {
    let d = new Error("rejects");
    t.flag(this, "promise", "rejects"), t.flag(this, "error", d);
    let f = t.flag(this, "vitest-test"), p = t.flag(this, "object"), m = typeof p == "function" ? p() : p;
    if (t.flag(this, "poll"))
      throw new SyntaxError("expect.poll() is not supported in combination with .rejects");
    if (typeof m?.then != "function")
      throw new TypeError(`You must provide a Promise to expect() when using .rejects, not '${typeof m}'.`);
    let v = new Proxy(this, { get: /* @__PURE__ */ a((y, b, g) => {
      let w = Reflect.get(y, b, g);
      return typeof w != "function" ? w instanceof e.Assertion ? v : w : (...E) => {
        t.flag(this, "_name", b);
        let x = m.then((S) => {
          let C = new r(`promise resolved "${t.inspect(S)}" instead of rejecting`, {
            showDiff: !0,
            expected: new Error("rejected promise"),
            actual: S
          });
          throw C.stack = d.stack.replace(d.message, C.message), C;
        }, (S) => (t.flag(this, "object", S), w.call(this, ...E)));
        return mne(f, x, pne(t, this, !!E.length), d);
      };
    }, "get") });
    return v;
  }, "__VITEST_REJECTS__"));
}, "JestChaiExpect");
function Fm(e) {
  let t = e % 10, r = e % 100;
  return t === 1 && r !== 11 ? `${e}st` : t === 2 && r !== 12 ? `${e}nd` : t === 3 && r !== 13 ? `${e}rd` : `${e}th`;
}
a(Fm, "ordinalOf");
function TI(e, t, r) {
  return e.mock.calls.length && (t += Xe.gray(`

Received: 

${e.mock.calls.map((n, o) => {
    let i = Xe.bold(`  ${Fm(o + 1)} ${e.getMockName()} call:

`);
    return r ? i += Gl(r, n, { omitAnnotationLines: !0 }) : i += mr(n).split(`
`).map((s) => `    ${s}`).join(`
`), i += `
`, i;
  }).join(`
`)}`)), t += Xe.gray(`

Number of calls: ${Xe.bold(e.mock.calls.length)}
`), t;
}
a(TI, "formatCalls");
function C$e(e, t, r, n) {
  return t.length && (r += Xe.gray(`

Received: 

${t.map((o, i) => {
    let s = Xe.bold(`  ${Fm(i + 1)} ${e.getMockName()} call return:

`);
    return n ? s += Gl(n, o.value, { omitAnnotationLines: !0 }) : s += mr(o).split(`
`).map((l) => `    ${l}`).join(`
`), s += `
`, s;
  }).join(`
`)}`)), r += Xe.gray(`

Number of calls: ${Xe.bold(e.mock.calls.length)}
`), r;
}
a(C$e, "formatReturns");
function _$e(e, t) {
  let r = e._obj, n = io.flag(e, "negate"), o = io.flag(e, "promise") || "", i = {
    ...vne(),
    diff: Gl,
    stringify: mr,
    iterableEquality: fo,
    subsetEquality: $m
  };
  return {
    state: {
      ...Hm(t),
      customTesters: LI(),
      isNot: n,
      utils: i,
      promise: o,
      equals: ke,
      suppressedErrors: [],
      soft: io.flag(e, "soft"),
      poll: io.flag(e, "poll")
    },
    isNot: n,
    obj: r
  };
}
a(_$e, "getMatcherState");
var UI = class UI extends Error {
  constructor(t, r, n) {
    super(t), this.actual = r, this.expected = n;
  }
};
a(UI, "JestExtendError");
var BE = UI;
function P$e(e, t, r) {
  return (n, o) => {
    Object.entries(r).forEach(([i, s]) => {
      function l(...p) {
        let { state: m, isNot: v, obj: y } = _$e(this, t), b = s.call(m, y, ...p);
        if (b && typeof b == "object" && typeof b.then == "function")
          return b.then(({ pass: C, message: _, actual: A, expected: O }) => {
            if (C && v || !C && !v)
              throw new BE(_(), A, O);
          });
        let { pass: g, message: w, actual: E, expected: x } = b;
        if (g && v || !g && !v)
          throw new BE(w(), E, x);
      }
      a(l, "expectWrapper");
      let u = Sne(o, i, l);
      o.addMethod(globalThis[Bm].matchers, i, u), o.addMethod(e.Assertion.prototype, i, u);
      let f = class f extends Yo {
        constructor(m = !1, ...v) {
          super(v, m);
        }
        asymmetricMatch(m) {
          let { pass: v } = s.call(this.getMatcherContext(t), m, ...this.sample);
          return this.inverse ? !v : v;
        }
        toString() {
          return `${this.inverse ? "not." : ""}${i}`;
        }
        getExpectedType() {
          return "any";
        }
        toAsymmetricMatcher() {
          return `${this.toString()}<${this.sample.map((m) => mr(m)).join(", ")}>`;
        }
      };
      a(f, "CustomMatcher");
      let c = f, d = /* @__PURE__ */ a((...p) => new c(!1, ...p), "customMatcher");
      Object.defineProperty(t, i, {
        configurable: !0,
        enumerable: !0,
        value: d,
        writable: !0
      }), Object.defineProperty(t.not, i, {
        configurable: !0,
        enumerable: !0,
        value: /* @__PURE__ */ a((...p) => new c(!0, ...p), "value"),
        writable: !0
      }), Object.defineProperty(globalThis[AI], i, {
        configurable: !0,
        enumerable: !0,
        value: d,
        writable: !0
      });
    });
  };
}
a(P$e, "JestExtendPlugin");
var _ne = /* @__PURE__ */ a((e, t) => {
  t.addMethod(e.expect, "extend", (r, n) => {
    gs(P$e(e, r, n));
  });
}, "JestExtend");

// src/test/expect.ts
function T$e() {
  gs(_ne), gs(Cne), gs(xne);
  let e = /* @__PURE__ */ a((n, o) => {
    let { assertionCalls: i } = Hm(e);
    return UE({ assertionCalls: i + 1, soft: !1 }, e), hs(n, o);
  }, "expect");
  Object.assign(e, hs), e.getState = () => Hm(e), e.setState = (n) => UE(n, e), e.extend = (n) => hs.extend(e, n), e.soft = (...n) => {
    let o = e(...n);
    return e.setState({
      soft: !0
    }), o;
  }, e.extend(gne), e.unreachable = (n) => {
    P.fail(`expected${n ? ` "${n}" ` : " "}not to be reached`);
  };
  function t(n) {
    let o = /* @__PURE__ */ a(() => new Error(
      `expected number of assertions to be ${n}, but got ${e.getState().assertionCalls}`
    ), "errorGen");
    "captureStackTrace" in Error && typeof Error.captureStackTrace == "function" && Error.captureStackTrace(o(), t), e.setState({
      expectedAssertionsNumber: n,
      expectedAssertionsNumberErrorGen: o
    });
  }
  a(t, "assertions");
  function r() {
    let n = new Error("expected any number of assertion, but got none");
    "captureStackTrace" in Error && typeof Error.captureStackTrace == "function" && Error.captureStackTrace(n, r), e.setState({
      isExpectingAssertions: !0,
      isExpectingAssertionsError: n
    });
  }
  return a(r, "hasAssertions"), UE(
    {
      // this should also add "snapshotState" that is added conditionally
      assertionCalls: 0,
      isExpectingAssertions: !1,
      isExpectingAssertionsError: null,
      expectedAssertionsNumber: null,
      expectedAssertionsNumberErrorGen: null
    },
    e
  ), io.addMethod(e, "assertions", t), io.addMethod(e, "hasAssertions", r), e.extend(xI), e;
}
a(T$e, "createExpect");
var VI = T$e();
Object.defineProperty(globalThis, $E, {
  value: VI,
  writable: !0,
  configurable: !0
});

// ../node_modules/tinyspy/dist/index.js
function A$e(e, t, r) {
  Object.defineProperty(e, t, r);
}
a(A$e, "f");
var VE = Symbol.for("tinyspy:spy");
var O$e = /* @__PURE__ */ a((e) => {
  e.called = !1, e.callCount = 0, e.calls = [], e.results = [], e.resolves = [], e.next = [];
}, "P"), I$e = /* @__PURE__ */ a((e) => (A$e(e, VE, { value: { reset: /* @__PURE__ */ a(() => O$e(e[VE]), "reset") } }), e[VE]), "K"), Pne = /* @__PURE__ */ a(
(e) => e[VE] || I$e(e), "T");

// src/test/spy.ts
var WI = /* @__PURE__ */ new Set();
function N$e(e) {
  return WI.add(e), () => void WI.delete(e);
}
a(N$e, "onMockCall");
var L$e = /* @__PURE__ */ a((...e) => {
  let t = ane(...e);
  return Ane(t);
}, "spyOn");
function k$e(e) {
  let t = e ? _I(e) : _I();
  return Ane(t);
}
a(k$e, "fn");
function Ane(e) {
  let t = Tne(e), r = t.mockImplementation.bind(null);
  return t.mockImplementation = (n) => Tne(r(n)), t;
}
a(Ane, "reactiveMock");
function Tne(e) {
  let t = Pne(e), r = t.impl;
  return t.willCall(function(...n) {
    return WI.forEach((o) => o(e, n)), r?.apply(this, n);
  }), e;
}
a(Tne, "listenWhenCalled");
function q$e() {
  Ad.forEach((e) => e.mockClear());
}
a(q$e, "clearAllMocks");
function D$e() {
  Ad.forEach((e) => e.mockReset());
}
a(D$e, "resetAllMocks");
function F$e() {
  Ad.forEach((e) => e.mockRestore());
}
a(F$e, "restoreAllMocks");
function j$e(e, t = {}) {
  return e;
}
a(j$e, "mocked");

// ../node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js
var U8 = {};
_e(U8, {
  buildQueries: () => li,
  configure: () => tZe,
  createEvent: () => tS,
  findAllByAltText: () => vue,
  findAllByDisplayValue: () => fue,
  findAllByLabelText: () => Vle,
  findAllByPlaceholderText: () => eue,
  findAllByRole: () => Iue,
  findAllByTestId: () => Due,
  findAllByText: () => iue,
  findAllByTitle: () => Sue,
  findByAltText: () => bue,
  findByDisplayValue: () => pue,
  findByLabelText: () => Wle,
  findByPlaceholderText: () => tue,
  findByRole: () => Mue,
  findByTestId: () => Fue,
  findByText: () => sue,
  findByTitle: () => Cue,
  fireEvent: () => dh,
  getAllByAltText: () => gue,
  getAllByDisplayValue: () => cue,
  getAllByLabelText: () => Gle,
  getAllByPlaceholderText: () => Qle,
  getAllByRole: () => Aue,
  getAllByTestId: () => kue,
  getAllByText: () => oue,
  getAllByTitle: () => Rue,
  getByAltText: () => yue,
  getByDisplayValue: () => due,
  getByLabelText: () => Yle,
  getByPlaceholderText: () => Zle,
  getByRole: () => Oue,
  getByTestId: () => que,
  getByText: () => aue,
  getByTitle: () => xue,
  getConfig: () => Ce,
  getDefaultNormalizer: () => j8,
  getElementError: () => aS,
  getMultipleElementsFoundError: () => iS,
  getNodeText: () => ph,
  getQueriesForElement: () => jue,
  getRoles: () => Fle,
  getSuggestedQuery: () => rS,
  isInaccessible: () => oS,
  logDOM: () => P8,
  logRoles: () => iZe,
  makeFindQuery: () => Fd,
  makeGetAllQuery: () => H8,
  makeSingleQuery: () => Dd,
  prettyDOM: () => uh,
  prettyFormat: () => fh,
  queries: () => nS,
  queryAllByAltText: () => mue,
  queryAllByAttribute: () => au,
  queryAllByDisplayValue: () => lue,
  queryAllByLabelText: () => Kle,
  queryAllByPlaceholderText: () => Xle,
  queryAllByRole: () => Pue,
  queryAllByTestId: () => Nue,
  queryAllByText: () => rue,
  queryAllByTitle: () => wue,
  queryByAltText: () => hue,
  queryByAttribute: () => Ble,
  queryByDisplayValue: () => uue,
  queryByLabelText: () => zle,
  queryByPlaceholderText: () => Jle,
  queryByRole: () => Tue,
  queryByTestId: () => Lue,
  queryByText: () => nue,
  queryByTitle: () => Eue,
  queryHelpers: () => wZe,
  screen: () => YZe,
  waitFor: () => $8,
  waitForElementToBeRemoved: () => $Ze,
  within: () => jue,
  wrapAllByQueryWithSuggestion: () => un,
  wrapSingleQueryWithSuggestion: () => ks
});
var fh = N($oe());

// ../node_modules/dom-accessibility-api/dist/polyfills/array.from.mjs
var wze = Object.prototype.toString;
function Hoe(e) {
  return typeof e == "function" || wze.call(e) === "[object Function]";
}
a(Hoe, "isCallable");
function Eze(e) {
  var t = Number(e);
  return isNaN(t) ? 0 : t === 0 || !isFinite(t) ? t : (t > 0 ? 1 : -1) * Math.floor(Math.abs(t));
}
a(Eze, "toInteger");
var Rze = Math.pow(2, 53) - 1;
function xze(e) {
  var t = Eze(e);
  return Math.min(Math.max(t, 0), Rze);
}
a(xze, "toLength");
function On(e, t) {
  var r = Array, n = Object(e);
  if (e == null)
    throw new TypeError("Array.from requires an array-like object - not null or undefined");
  if (typeof t < "u" && !Hoe(t))
    throw new TypeError("Array.from: when provided, the second argument must be a function");
  for (var o = xze(n.length), i = Hoe(r) ? Object(new r(o)) : new Array(o), s = 0, l; s < o; )
    l = n[s], t ? i[s] = t(l, s) : i[s] = l, s += 1;
  return i.length = o, i;
}
a(On, "arrayFrom");

// ../node_modules/dom-accessibility-api/dist/polyfills/SetLike.mjs
function rh(e) {
  "@babel/helpers - typeof";
  return rh = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
    return typeof t;
  } : function(t) {
    return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
  }, rh(e);
}
a(rh, "_typeof");
function Sze(e, t) {
  if (!(e instanceof t))
    throw new TypeError("Cannot call a class as a function");
}
a(Sze, "_classCallCheck");
function zoe(e, t) {
  for (var r = 0; r < t.length; r++) {
    var n = t[r];
    n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, Uoe(n.key), n);
  }
}
a(zoe, "_defineProperties");
function Cze(e, t, r) {
  return t && zoe(e.prototype, t), r && zoe(e, r), Object.defineProperty(e, "prototype", { writable: !1 }), e;
}
a(Cze, "_createClass");
function _ze(e, t, r) {
  return t = Uoe(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
}
a(_ze, "_defineProperty");
function Uoe(e) {
  var t = Pze(e, "string");
  return rh(t) === "symbol" ? t : String(t);
}
a(Uoe, "_toPropertyKey");
function Pze(e, t) {
  if (rh(e) !== "object" || e === null) return e;
  var r = e[Symbol.toPrimitive];
  if (r !== void 0) {
    var n = r.call(e, t || "default");
    if (rh(n) !== "object") return n;
    throw new TypeError("@@toPrimitive must return a primitive value.");
  }
  return (t === "string" ? String : Number)(e);
}
a(Pze, "_toPrimitive");
var Tze = /* @__PURE__ */ function() {
  function e() {
    var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [];
    Sze(this, e), _ze(this, "items", void 0), this.items = t;
  }
  return a(e, "SetLike"), Cze(e, [{
    key: "add",
    value: /* @__PURE__ */ a(function(r) {
      return this.has(r) === !1 && this.items.push(r), this;
    }, "add")
  }, {
    key: "clear",
    value: /* @__PURE__ */ a(function() {
      this.items = [];
    }, "clear")
  }, {
    key: "delete",
    value: /* @__PURE__ */ a(function(r) {
      var n = this.items.length;
      return this.items = this.items.filter(function(o) {
        return o !== r;
      }), n !== this.items.length;
    }, "_delete")
  }, {
    key: "forEach",
    value: /* @__PURE__ */ a(function(r) {
      var n = this;
      this.items.forEach(function(o) {
        r(o, o, n);
      });
    }, "forEach")
  }, {
    key: "has",
    value: /* @__PURE__ */ a(function(r) {
      return this.items.indexOf(r) !== -1;
    }, "has")
  }, {
    key: "size",
    get: /* @__PURE__ */ a(function() {
      return this.items.length;
    }, "get")
  }]), e;
}(), Voe = typeof Set > "u" ? Set : Tze;

// ../node_modules/dom-accessibility-api/dist/getRole.mjs
function Ut(e) {
  var t;
  return (
    // eslint-disable-next-line no-restricted-properties -- actual guard for environments without localName
    (t = e.localName) !== null && t !== void 0 ? t : (
      // eslint-disable-next-line no-restricted-properties -- required for the fallback
      e.tagName.toLowerCase()
    )
  );
}
a(Ut, "getLocalName");
var Aze = {
  article: "article",
  aside: "complementary",
  button: "button",
  datalist: "listbox",
  dd: "definition",
  details: "group",
  dialog: "dialog",
  dt: "term",
  fieldset: "group",
  figure: "figure",
  // WARNING: Only with an accessible name
  form: "form",
  footer: "contentinfo",
  h1: "heading",
  h2: "heading",
  h3: "heading",
  h4: "heading",
  h5: "heading",
  h6: "heading",
  header: "banner",
  hr: "separator",
  html: "document",
  legend: "legend",
  li: "listitem",
  math: "math",
  main: "main",
  menu: "list",
  nav: "navigation",
  ol: "list",
  optgroup: "group",
  // WARNING: Only in certain context
  option: "option",
  output: "status",
  progress: "progressbar",
  // WARNING: Only with an accessible name
  section: "region",
  summary: "button",
  table: "table",
  tbody: "rowgroup",
  textarea: "textbox",
  tfoot: "rowgroup",
  // WARNING: Only in certain context
  td: "cell",
  th: "columnheader",
  thead: "rowgroup",
  tr: "row",
  ul: "list"
}, Oze = {
  caption: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
  code: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
  deletion: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
  emphasis: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
  generic: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby", "aria-roledescription"]),
  insertion: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
  paragraph: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
  presentation: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
  strong: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
  subscript: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
  superscript: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"])
};
function Ize(e, t) {
  return [
    "aria-atomic",
    "aria-busy",
    "aria-controls",
    "aria-current",
    "aria-describedby",
    "aria-details",
    // "disabled",
    "aria-dropeffect",
    // "errormessage",
    "aria-flowto",
    "aria-grabbed",
    // "haspopup",
    "aria-hidden",
    // "invalid",
    "aria-keyshortcuts",
    "aria-label",
    "aria-labelledby",
    "aria-live",
    "aria-owns",
    "aria-relevant",
    "aria-roledescription"
  ].some(function(r) {
    var n;
    return e.hasAttribute(r) && !((n = Oze[t]) !== null && n !== void 0 && n.has(r));
  });
}
a(Ize, "hasGlobalAriaAttributes");
function Woe(e, t) {
  return Ize(e, t);
}
a(Woe, "ignorePresentationalRole");
function r2(e) {
  var t = Nze(e);
  if (t === null || t === "presentation") {
    var r = Mze(e);
    if (t !== "presentation" || Woe(e, r || ""))
      return r;
  }
  return t;
}
a(r2, "getRole");
function Mze(e) {
  var t = Aze[Ut(e)];
  if (t !== void 0)
    return t;
  switch (Ut(e)) {
    case "a":
    case "area":
    case "link":
      if (e.hasAttribute("href"))
        return "link";
      break;
    case "img":
      return e.getAttribute("alt") === "" && !Woe(e, "img") ? "presentation" : "img";
    case "input": {
      var r = e, n = r.type;
      switch (n) {
        case "button":
        case "image":
        case "reset":
        case "submit":
          return "button";
        case "checkbox":
        case "radio":
          return n;
        case "range":
          return "slider";
        case "email":
        case "tel":
        case "text":
        case "url":
          return e.hasAttribute("list") ? "combobox" : "textbox";
        case "search":
          return e.hasAttribute("list") ? "combobox" : "searchbox";
        case "number":
          return "spinbutton";
        default:
          return null;
      }
    }
    case "select":
      return e.hasAttribute("multiple") || e.size > 1 ? "listbox" : "combobox";
  }
  return null;
}
a(Mze, "getImplicitRole");
function Nze(e) {
  var t = e.getAttribute("role");
  if (t !== null) {
    var r = t.trim().split(" ")[0];
    if (r.length > 0)
      return r;
  }
  return null;
}
a(Nze, "getExplicitRole");

// ../node_modules/dom-accessibility-api/dist/util.mjs
function at(e) {
  return e !== null && e.nodeType === e.ELEMENT_NODE;
}
a(at, "isElement");
function n8(e) {
  return at(e) && Ut(e) === "caption";
}
a(n8, "isHTMLTableCaptionElement");
function nh(e) {
  return at(e) && Ut(e) === "input";
}
a(nh, "isHTMLInputElement");
function Goe(e) {
  return at(e) && Ut(e) === "optgroup";
}
a(Goe, "isHTMLOptGroupElement");
function Yoe(e) {
  return at(e) && Ut(e) === "select";
}
a(Yoe, "isHTMLSelectElement");
function Koe(e) {
  return at(e) && Ut(e) === "table";
}
a(Koe, "isHTMLTableElement");
function Xoe(e) {
  return at(e) && Ut(e) === "textarea";
}
a(Xoe, "isHTMLTextAreaElement");
function Joe(e) {
  var t = e.ownerDocument === null ? e : e.ownerDocument, r = t.defaultView;
  if (r === null)
    throw new TypeError("no window available");
  return r;
}
a(Joe, "safeWindow");
function Qoe(e) {
  return at(e) && Ut(e) === "fieldset";
}
a(Qoe, "isHTMLFieldSetElement");
function Zoe(e) {
  return at(e) && Ut(e) === "legend";
}
a(Zoe, "isHTMLLegendElement");
function eae(e) {
  return at(e) && Ut(e) === "slot";
}
a(eae, "isHTMLSlotElement");
function Lze(e) {
  return at(e) && e.ownerSVGElement !== void 0;
}
a(Lze, "isSVGElement");
function tae(e) {
  return at(e) && Ut(e) === "svg";
}
a(tae, "isSVGSVGElement");
function rae(e) {
  return Lze(e) && Ut(e) === "title";
}
a(rae, "isSVGTitleElement");
function Nd(e, t) {
  if (at(e) && e.hasAttribute(t)) {
    var r = e.getAttribute(t).split(" "), n = e.getRootNode ? e.getRootNode() : e.ownerDocument;
    return r.map(function(o) {
      return n.getElementById(o);
    }).filter(
      function(o) {
        return o !== null;
      }
      // TODO: why does this not narrow?
    );
  }
  return [];
}
a(Nd, "queryIdRefs");
function Jo(e, t) {
  return at(e) ? t.indexOf(r2(e)) !== -1 : !1;
}
a(Jo, "hasAnyConcreteRoles");

// ../node_modules/dom-accessibility-api/dist/accessible-name-and-description.mjs
function kze(e) {
  return e.trim().replace(/\s\s+/g, " ");
}
a(kze, "asFlatString");
function qze(e, t) {
  if (!at(e))
    return !1;
  if (e.hasAttribute("hidden") || e.getAttribute("aria-hidden") === "true")
    return !0;
  var r = t(e);
  return r.getPropertyValue("display") === "none" || r.getPropertyValue("visibility") === "hidden";
}
a(qze, "isHidden");
function Dze(e) {
  return Jo(e, ["button", "combobox", "listbox", "textbox"]) || aae(e, "range");
}
a(Dze, "isControl");
function aae(e, t) {
  if (!at(e))
    return !1;
  switch (t) {
    case "range":
      return Jo(e, ["meter", "progressbar", "scrollbar", "slider", "spinbutton"]);
    default:
      throw new TypeError("No knowledge about abstract role '".concat(t, "'. This is likely a bug :("));
  }
}
a(aae, "hasAbstractRole");
function nae(e, t) {
  var r = On(e.querySelectorAll(t));
  return Nd(e, "aria-owns").forEach(function(n) {
    r.push.apply(r, On(n.querySelectorAll(t)));
  }), r;
}
a(nae, "querySelectorAllSubtree");
function Fze(e) {
  return Yoe(e) ? e.selectedOptions || nae(e, "[selected]") : nae(e, '[aria-selected="true"]');
}
a(Fze, "querySelectedOptions");
function jze(e) {
  return Jo(e, ["none", "presentation"]);
}
a(jze, "isMarkedPresentational");
function Bze(e) {
  return n8(e);
}
a(Bze, "isNativeHostLanguageTextAlternativeElement");
function $ze(e) {
  return Jo(e, ["button", "cell", "checkbox", "columnheader", "gridcell", "heading", "label", "legend", "link", "menuitem", "menuitemcheckbo\
x", "menuitemradio", "option", "radio", "row", "rowheader", "switch", "tab", "tooltip", "treeitem"]);
}
a($ze, "allowsNameFromContent");
function Hze(e) {
  return !1;
}
a(Hze, "isDescendantOfNativeHostLanguageTextAlternativeElement");
function zze(e) {
  return nh(e) || Xoe(e) ? e.value : e.textContent || "";
}
a(zze, "getValueOfTextbox");
function oae(e) {
  var t = e.getPropertyValue("content");
  return /^["'].*["']$/.test(t) ? t.slice(1, -1) : "";
}
a(oae, "getTextualContent");
function iae(e) {
  var t = Ut(e);
  return t === "button" || t === "input" && e.getAttribute("type") !== "hidden" || t === "meter" || t === "output" || t === "progress" || t ===
  "select" || t === "textarea";
}
a(iae, "isLabelableElement");
function sae(e) {
  if (iae(e))
    return e;
  var t = null;
  return e.childNodes.forEach(function(r) {
    if (t === null && at(r)) {
      var n = sae(r);
      n !== null && (t = n);
    }
  }), t;
}
a(sae, "findLabelableElement");
function Uze(e) {
  if (e.control !== void 0)
    return e.control;
  var t = e.getAttribute("for");
  return t !== null ? e.ownerDocument.getElementById(t) : sae(e);
}
a(Uze, "getControlOfLabel");
function Vze(e) {
  var t = e.labels;
  if (t === null)
    return t;
  if (t !== void 0)
    return On(t);
  if (!iae(e))
    return null;
  var r = e.ownerDocument;
  return On(r.querySelectorAll("label")).filter(function(n) {
    return Uze(n) === e;
  });
}
a(Vze, "getLabels");
function Wze(e) {
  var t = e.assignedNodes();
  return t.length === 0 ? On(e.childNodes) : t;
}
a(Wze, "getSlotContents");
function n2(e) {
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = new Voe(), n = Joe(e), o = t.compute, i = o === void 0 ? "\
name" : o, s = t.computedStyleSupportsPseudoElements, l = s === void 0 ? t.getComputedStyle !== void 0 : s, u = t.getComputedStyle, c = u ===
  void 0 ? n.getComputedStyle.bind(n) : u, d = t.hidden, f = d === void 0 ? !1 : d;
  function p(g, w) {
    var E = "";
    if (at(g) && l) {
      var x = c(g, "::before"), S = oae(x);
      E = "".concat(S, " ").concat(E);
    }
    var C = eae(g) ? Wze(g) : On(g.childNodes).concat(Nd(g, "aria-owns"));
    if (C.forEach(function(O) {
      var q = b(O, {
        isEmbeddedInLabel: w.isEmbeddedInLabel,
        isReferenced: !1,
        recursion: !0
      }), M = at(O) ? c(O).getPropertyValue("display") : "inline", U = M !== "inline" ? " " : "";
      E += "".concat(U).concat(q).concat(U);
    }), at(g) && l) {
      var _ = c(g, "::after"), A = oae(_);
      E = "".concat(E, " ").concat(A);
    }
    return E.trim();
  }
  a(p, "computeMiscTextAlternative");
  function m(g, w) {
    var E = g.getAttributeNode(w);
    return E !== null && !r.has(E) && E.value.trim() !== "" ? (r.add(E), E.value) : null;
  }
  a(m, "useAttribute");
  function v(g) {
    return at(g) ? m(g, "title") : null;
  }
  a(v, "computeTooltipAttributeValue");
  function y(g) {
    if (!at(g))
      return null;
    if (Qoe(g)) {
      r.add(g);
      for (var w = On(g.childNodes), E = 0; E < w.length; E += 1) {
        var x = w[E];
        if (Zoe(x))
          return b(x, {
            isEmbeddedInLabel: !1,
            isReferenced: !1,
            recursion: !1
          });
      }
    } else if (Koe(g)) {
      r.add(g);
      for (var S = On(g.childNodes), C = 0; C < S.length; C += 1) {
        var _ = S[C];
        if (n8(_))
          return b(_, {
            isEmbeddedInLabel: !1,
            isReferenced: !1,
            recursion: !1
          });
      }
    } else if (tae(g)) {
      r.add(g);
      for (var A = On(g.childNodes), O = 0; O < A.length; O += 1) {
        var q = A[O];
        if (rae(q))
          return q.textContent;
      }
      return null;
    } else if (Ut(g) === "img" || Ut(g) === "area") {
      var M = m(g, "alt");
      if (M !== null)
        return M;
    } else if (Goe(g)) {
      var U = m(g, "label");
      if (U !== null)
        return U;
    }
    if (nh(g) && (g.type === "button" || g.type === "submit" || g.type === "reset")) {
      var Q = m(g, "value");
      if (Q !== null)
        return Q;
      if (g.type === "submit")
        return "Submit";
      if (g.type === "reset")
        return "Reset";
    }
    var z = Vze(g);
    if (z !== null && z.length !== 0)
      return r.add(g), On(z).map(function(G) {
        return b(G, {
          isEmbeddedInLabel: !0,
          isReferenced: !1,
          recursion: !0
        });
      }).filter(function(G) {
        return G.length > 0;
      }).join(" ");
    if (nh(g) && g.type === "image") {
      var $ = m(g, "alt");
      if ($ !== null)
        return $;
      var D = m(g, "title");
      return D !== null ? D : "Submit Query";
    }
    if (Jo(g, ["button"])) {
      var V = p(g, {
        isEmbeddedInLabel: !1,
        isReferenced: !1
      });
      if (V !== "")
        return V;
    }
    return null;
  }
  a(y, "computeElementTextAlternative");
  function b(g, w) {
    if (r.has(g))
      return "";
    if (!f && qze(g, c) && !w.isReferenced)
      return r.add(g), "";
    var E = at(g) ? g.getAttributeNode("aria-labelledby") : null, x = E !== null && !r.has(E) ? Nd(g, "aria-labelledby") : [];
    if (i === "name" && !w.isReferenced && x.length > 0)
      return r.add(E), x.map(function(M) {
        return b(M, {
          isEmbeddedInLabel: w.isEmbeddedInLabel,
          isReferenced: !0,
          // this isn't recursion as specified, otherwise we would skip
          // `aria-label` in
          // <input id="myself" aria-label="foo" aria-labelledby="myself"
          recursion: !1
        });
      }).join(" ");
    var S = w.recursion && Dze(g) && i === "name";
    if (!S) {
      var C = (at(g) && g.getAttribute("aria-label") || "").trim();
      if (C !== "" && i === "name")
        return r.add(g), C;
      if (!jze(g)) {
        var _ = y(g);
        if (_ !== null)
          return r.add(g), _;
      }
    }
    if (Jo(g, ["menu"]))
      return r.add(g), "";
    if (S || w.isEmbeddedInLabel || w.isReferenced) {
      if (Jo(g, ["combobox", "listbox"])) {
        r.add(g);
        var A = Fze(g);
        return A.length === 0 ? nh(g) ? g.value : "" : On(A).map(function(M) {
          return b(M, {
            isEmbeddedInLabel: w.isEmbeddedInLabel,
            isReferenced: !1,
            recursion: !0
          });
        }).join(" ");
      }
      if (aae(g, "range"))
        return r.add(g), g.hasAttribute("aria-valuetext") ? g.getAttribute("aria-valuetext") : g.hasAttribute("aria-valuenow") ? g.getAttribute(
        "aria-valuenow") : g.getAttribute("value") || "";
      if (Jo(g, ["textbox"]))
        return r.add(g), zze(g);
    }
    if ($ze(g) || at(g) && w.isReferenced || Bze(g) || Hze(g)) {
      var O = p(g, {
        isEmbeddedInLabel: w.isEmbeddedInLabel,
        isReferenced: !1
      });
      if (O !== "")
        return r.add(g), O;
    }
    if (g.nodeType === g.TEXT_NODE)
      return r.add(g), g.textContent || "";
    if (w.recursion)
      return r.add(g), p(g, {
        isEmbeddedInLabel: w.isEmbeddedInLabel,
        isReferenced: !1
      });
    var q = v(g);
    return q !== null ? (r.add(g), q) : (r.add(g), "");
  }
  return a(b, "computeTextAlternative"), kze(b(e, {
    isEmbeddedInLabel: !1,
    // by spec computeAccessibleDescription starts with the referenced elements as roots
    isReferenced: i === "description",
    recursion: !1
  }));
}
a(n2, "computeTextAlternative");

// ../node_modules/dom-accessibility-api/dist/accessible-description.mjs
function oh(e) {
  "@babel/helpers - typeof";
  return oh = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
    return typeof t;
  } : function(t) {
    return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
  }, oh(e);
}
a(oh, "_typeof");
function lae(e, t) {
  var r = Object.keys(e);
  if (Object.getOwnPropertySymbols) {
    var n = Object.getOwnPropertySymbols(e);
    t && (n = n.filter(function(o) {
      return Object.getOwnPropertyDescriptor(e, o).enumerable;
    })), r.push.apply(r, n);
  }
  return r;
}
a(lae, "ownKeys");
function uae(e) {
  for (var t = 1; t < arguments.length; t++) {
    var r = arguments[t] != null ? arguments[t] : {};
    t % 2 ? lae(Object(r), !0).forEach(function(n) {
      Gze(e, n, r[n]);
    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : lae(Object(r)).forEach(function(n) {
      Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
    });
  }
  return e;
}
a(uae, "_objectSpread");
function Gze(e, t, r) {
  return t = Yze(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
}
a(Gze, "_defineProperty");
function Yze(e) {
  var t = Kze(e, "string");
  return oh(t) === "symbol" ? t : String(t);
}
a(Yze, "_toPropertyKey");
function Kze(e, t) {
  if (oh(e) !== "object" || e === null) return e;
  var r = e[Symbol.toPrimitive];
  if (r !== void 0) {
    var n = r.call(e, t || "default");
    if (oh(n) !== "object") return n;
    throw new TypeError("@@toPrimitive must return a primitive value.");
  }
  return (t === "string" ? String : Number)(e);
}
a(Kze, "_toPrimitive");
function o2(e) {
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = Nd(e, "aria-describedby").map(function(o) {
    return n2(o, uae(uae({}, t), {}, {
      compute: "description"
    }));
  }).join(" ");
  if (r === "") {
    var n = e.getAttribute("title");
    r = n === null ? "" : n;
  }
  return r;
}
a(o2, "computeAccessibleDescription");

// ../node_modules/dom-accessibility-api/dist/accessible-name.mjs
function Xze(e) {
  return Jo(e, ["caption", "code", "deletion", "emphasis", "generic", "insertion", "paragraph", "presentation", "strong", "subscript", "supe\
rscript"]);
}
a(Xze, "prohibitsNaming");
function ah(e) {
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
  return Xze(e) ? "" : n2(e, t);
}
a(ah, "computeAccessibleName");

// ../node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js
var Ur = N(mle()), Rle = N(hle());
function xle(e) {
  return e.replace(/</g, "&lt;").replace(/>/g, "&gt;");
}
a(xle, "escapeHTML");
var kQe = /* @__PURE__ */ a((e, t, r, n, o, i, s) => {
  let l = n + r.indent, u = r.colors;
  return e.map((c) => {
    let d = t[c], f = s(d, r, l, o, i);
    return typeof d != "string" && (f.indexOf(`
`) !== -1 && (f = r.spacingOuter + l + f + r.spacingOuter + n), f = "{" + f + "}"), r.spacingInner + n + u.prop.open + c + u.prop.close + "=" +
    u.value.open + f + u.value.close;
  }).join("");
}, "printProps"), qQe = 3, DQe = /* @__PURE__ */ a((e, t, r, n, o, i) => e.map((s) => {
  let l = typeof s == "string" ? Sle(s, t) : i(s, t, r, n, o);
  return l === "" && typeof s == "object" && s !== null && s.nodeType !== qQe ? "" : t.spacingOuter + r + l;
}).join(""), "printChildren"), Sle = /* @__PURE__ */ a((e, t) => {
  let r = t.colors.content;
  return r.open + xle(e) + r.close;
}, "printText"), FQe = /* @__PURE__ */ a((e, t) => {
  let r = t.colors.comment;
  return r.open + "<!--" + xle(e) + "-->" + r.close;
}, "printComment"), jQe = /* @__PURE__ */ a((e, t, r, n, o) => {
  let i = n.colors.tag;
  return i.open + "<" + e + (t && i.close + t + n.spacingOuter + o + i.open) + (r ? ">" + i.close + r + n.spacingOuter + o + i.open + "</" +
  e : (t && !n.min ? "" : " ") + "/") + ">" + i.close;
}, "printElement"), BQe = /* @__PURE__ */ a((e, t) => {
  let r = t.colors.tag;
  return r.open + "<" + e + r.close + " \u2026" + r.open + " />" + r.close;
}, "printElementAsLeaf"), $Qe = 1, Cle = 3, _le = 8, Ple = 11, HQe = /^((HTML|SVG)\w*)?Element$/, Tle = /* @__PURE__ */ a((e) => {
  let {
    tagName: t
  } = e;
  return !!(typeof t == "string" && t.includes("-") || typeof e.hasAttribute == "function" && e.hasAttribute("is"));
}, "isCustomElement"), zQe = /* @__PURE__ */ a((e) => {
  let t = e.constructor.name, {
    nodeType: r
  } = e;
  return r === $Qe && (HQe.test(t) || Tle(e)) || r === Cle && t === "Text" || r === _le && t === "Comment" || r === Ple && t === "DocumentFr\
agment";
}, "testNode");
function UQe(e) {
  return e.nodeType === Cle;
}
a(UQe, "nodeIsText");
function VQe(e) {
  return e.nodeType === _le;
}
a(VQe, "nodeIsComment");
function C8(e) {
  return e.nodeType === Ple;
}
a(C8, "nodeIsFragment");
function WQe(e) {
  return {
    test: /* @__PURE__ */ a((t) => {
      var r;
      return ((t == null || (r = t.constructor) == null ? void 0 : r.name) || Tle(t)) && zQe(t);
    }, "test"),
    serialize: /* @__PURE__ */ a((t, r, n, o, i, s) => {
      if (UQe(t))
        return Sle(t.data, r);
      if (VQe(t))
        return FQe(t.data, r);
      let l = C8(t) ? "DocumentFragment" : t.tagName.toLowerCase();
      return ++o > r.maxDepth ? BQe(l, r) : jQe(l, kQe(C8(t) ? [] : Array.from(t.attributes).map((u) => u.name).sort(), C8(t) ? {} : Array.from(
      t.attributes).reduce((u, c) => (u[c.name] = c.value, u), {}), r, n + r.indent, o, i, s), DQe(Array.prototype.slice.call(t.childNodes ||
      t.children).filter(e), r, n + r.indent, o, i, s), r, n);
    }, "serialize")
  };
}
a(WQe, "createDOMElementFilter");
var Ale = null, q8 = null, D8 = null;
try {
  let e = module && module.require;
  q8 = e.call(module, "fs").readFileSync, D8 = e.call(module, "@babel/code-frame").codeFrameColumns, Ale = e.call(module, "chalk");
} catch {
}
function GQe(e) {
  let t = e.indexOf("(") + 1, r = e.indexOf(")"), n = e.slice(t, r), o = n.split(":"), [i, s, l] = [o[0], parseInt(o[1], 10), parseInt(o[2],
  10)], u = "";
  try {
    u = q8(i, "utf-8");
  } catch {
    return "";
  }
  let c = D8(u, {
    start: {
      line: s,
      column: l
    }
  }, {
    highlightCode: !0,
    linesBelow: 0
  });
  return Ale.dim(n) + `
` + c + `
`;
}
a(GQe, "getCodeFrame");
function YQe() {
  if (!q8 || !D8)
    return "";
  let t = new Error().stack.split(`
`).slice(1).find((r) => !r.includes("node_modules/"));
  return GQe(t);
}
a(YQe, "getUserCodeFrame");
var Ole = 3;
function _8() {
  return typeof jest < "u" && jest !== null ? (
    // legacy timers
    setTimeout._isMockFunction === !0 || // modern timers
    // eslint-disable-next-line prefer-object-has-own -- not supported by our support matrix
    Object.prototype.hasOwnProperty.call(setTimeout, "clock")
  ) : !1;
}
a(_8, "jestFakeTimersAreEnabled");
function F8() {
  if (typeof window > "u")
    throw new Error("Could not find default container");
  return window.document;
}
a(F8, "getDocument");
function Ile(e) {
  if (e.defaultView)
    return e.defaultView;
  if (e.ownerDocument && e.ownerDocument.defaultView)
    return e.ownerDocument.defaultView;
  if (e.window)
    return e.window;
  throw e.ownerDocument && e.ownerDocument.defaultView === null ? new Error("It looks like the window object is not available for the provid\
ed node.") : e.then instanceof Function ? new Error("It looks like you passed a Promise object instead of a DOM node. Did you do something l\
ike `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query `f\
ireEvent.click(await screen.findBy...`?") : Array.isArray(e) ? new Error("It looks like you passed an Array instead of a DOM node. Did you d\
o something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?") : typeof e.
  debug == "function" && typeof e.logTestingPlaygroundURL == "function" ? new Error("It looks like you passed a `screen` object. Did you do \
something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?") : new Error("The giv\
en node is not an Element, the node type is: " + typeof e + ".");
}
a(Ile, "getWindowFromNode");
function si(e) {
  if (!e || typeof e.querySelector != "function" || typeof e.querySelectorAll != "function")
    throw new TypeError("Expected container to be an Element, a Document or a DocumentFragment but got " + t(e) + ".");
  function t(r) {
    return typeof r == "object" ? r === null ? "null" : r.constructor.name : typeof r;
  }
  a(t, "getTypeName");
}
a(si, "checkContainerType");
var KQe = /* @__PURE__ */ a(() => {
  if (typeof process > "u")
    return !1;
  let e;
  try {
    var t;
    let r = (t = process.env) == null ? void 0 : t.COLORS;
    r && (e = JSON.parse(r));
  } catch {
  }
  return typeof e == "boolean" ? e : process.versions !== void 0 && process.versions.node !== void 0;
}, "shouldHighlight"), {
  DOMCollection: XQe
} = fh.plugins, JQe = 1, QQe = 8;
function ZQe(e) {
  return e.nodeType !== QQe && (e.nodeType !== JQe || !e.matches(Ce().defaultIgnore));
}
a(ZQe, "filterCommentsAndDefaultIgnoreTagsTags");
function uh(e, t, r) {
  if (r === void 0 && (r = {}), e || (e = F8().body), typeof t != "number" && (t = typeof process < "u" && typeof process.env < "u" && process.
  env.DEBUG_PRINT_LIMIT || 7e3), t === 0)
    return "";
  e.documentElement && (e = e.documentElement);
  let n = typeof e;
  if (n === "object" ? n = e.constructor.name : e = {}, !("outerHTML" in e))
    throw new TypeError("Expected an element or document but got " + n);
  let {
    filterNode: o = ZQe,
    ...i
  } = r, s = fh.format(e, {
    plugins: [WQe(o), XQe],
    printFunctionName: !1,
    highlight: KQe(),
    ...i
  });
  return t !== void 0 && e.outerHTML.length > t ? s.slice(0, t) + "..." : s;
}
a(uh, "prettyDOM");
var P8 = /* @__PURE__ */ a(function() {
  let e = YQe();
  console.log(e ? uh(...arguments) + `

` + e : uh(...arguments));
}, "logDOM"), ru = {
  testIdAttribute: "data-testid",
  asyncUtilTimeout: 1e3,
  // asyncWrapper and advanceTimersWrapper is to support React's async `act` function.
  // forcing react-testing-library to wrap all async functions would've been
  // a total nightmare (consider wrapping every findBy* query and then also
  // updating `within` so those would be wrapped too. Total nightmare).
  // so we have this config option that's really only intended for
  // react-testing-library to use. For that reason, this feature will remain
  // undocumented.
  asyncWrapper: /* @__PURE__ */ a((e) => e(), "asyncWrapper"),
  unstable_advanceTimersWrapper: /* @__PURE__ */ a((e) => e(), "unstable_advanceTimersWrapper"),
  eventWrapper: /* @__PURE__ */ a((e) => e(), "eventWrapper"),
  // default value for the `hidden` option in `ByRole` queries
  defaultHidden: !1,
  // default value for the `ignore` option in `ByText` queries
  defaultIgnore: "script, style",
  // showOriginalStackTrace flag to show the full error stack traces for async errors
  showOriginalStackTrace: !1,
  // throw errors w/ suggestions for better queries. Opt in so off by default.
  throwSuggestions: !1,
  // called when getBy* queries fail. (message, container) => Error
  getElementError(e, t) {
    let r = uh(t), n = new Error([e, "Ignored nodes: comments, " + ru.defaultIgnore + `
` + r].filter(Boolean).join(`

`));
    return n.name = "TestingLibraryElementError", n;
  },
  _disableExpensiveErrorDiagnostics: !1,
  computedStyleSupportsPseudoElements: !1
};
function eZe(e) {
  try {
    return ru._disableExpensiveErrorDiagnostics = !0, e();
  } finally {
    ru._disableExpensiveErrorDiagnostics = !1;
  }
}
a(eZe, "runWithExpensiveErrorDiagnosticsDisabled");
function tZe(e) {
  typeof e == "function" && (e = e(ru)), ru = {
    ...ru,
    ...e
  };
}
a(tZe, "configure");
function Ce() {
  return ru;
}
a(Ce, "getConfig");
var rZe = ["button", "meter", "output", "progress", "select", "textarea", "input"];
function Mle(e) {
  return rZe.includes(e.nodeName.toLowerCase()) ? "" : e.nodeType === Ole ? e.textContent : Array.from(e.childNodes).map((t) => Mle(t)).join(
  "");
}
a(Mle, "getTextContent");
function T8(e) {
  let t;
  return e.tagName.toLowerCase() === "label" ? t = Mle(e) : t = e.value || e.textContent, t;
}
a(T8, "getLabelContent");
function Nle(e) {
  if (e.labels !== void 0) {
    var t;
    return (t = e.labels) != null ? t : [];
  }
  if (!nZe(e)) return [];
  let r = e.ownerDocument.querySelectorAll("label");
  return Array.from(r).filter((n) => n.control === e);
}
a(Nle, "getRealLabels");
function nZe(e) {
  return /BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName) || e.tagName === "INPUT" && e.getAttribute("type") !== "hidden";
}
a(nZe, "isLabelable");
function Lle(e, t, r) {
  let {
    selector: n = "*"
  } = r === void 0 ? {} : r, o = t.getAttribute("aria-labelledby"), i = o ? o.split(" ") : [];
  return i.length ? i.map((s) => {
    let l = e.querySelector('[id="' + s + '"]');
    return l ? {
      content: T8(l),
      formControl: null
    } : {
      content: "",
      formControl: null
    };
  }) : Array.from(Nle(t)).map((s) => {
    let l = T8(s), c = Array.from(s.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter((d) => d.matches(n))[0];
    return {
      content: l,
      formControl: c
    };
  });
}
a(Lle, "getLabels");
function kle(e) {
  if (e == null)
    throw new Error(
      // eslint-disable-next-line @typescript-eslint/restrict-template-expressions -- implicitly converting `T` to `string`
      "It looks like " + e + " was passed instead of a matcher. Did you do something like getByText(" + e + ")?"
    );
}
a(kle, "assertNotNullOrUndefined");
function jd(e, t, r, n) {
  if (typeof e != "string")
    return !1;
  kle(r);
  let o = n(e);
  return typeof r == "string" || typeof r == "number" ? o.toLowerCase().includes(r.toString().toLowerCase()) : typeof r == "function" ? r(o,
  t) : qle(r, o);
}
a(jd, "fuzzyMatches");
function ii(e, t, r, n) {
  if (typeof e != "string")
    return !1;
  kle(r);
  let o = n(e);
  return r instanceof Function ? r(o, t) : r instanceof RegExp ? qle(r, o) : o === String(r);
}
a(ii, "matches");
function j8(e) {
  let {
    trim: t = !0,
    collapseWhitespace: r = !0
  } = e === void 0 ? {} : e;
  return (n) => {
    let o = n;
    return o = t ? o.trim() : o, o = r ? o.replace(/\s+/g, " ") : o, o;
  };
}
a(j8, "getDefaultNormalizer");
function ou(e) {
  let {
    trim: t,
    collapseWhitespace: r,
    normalizer: n
  } = e;
  if (!n)
    return j8({
      trim: t,
      collapseWhitespace: r
    });
  if (typeof t < "u" || typeof r < "u")
    throw new Error('trim and collapseWhitespace are not supported with a normalizer. If you want to use the default trim and collapseWhites\
pace logic in your normalizer, use "getDefaultNormalizer({trim, collapseWhitespace})" and compose that into your normalizer');
  return n;
}
a(ou, "makeNormalizer");
function qle(e, t) {
  let r = e.test(t);
  return e.global && e.lastIndex !== 0 && (console.warn("To match all elements we had to reset the lastIndex of the RegExp because the globa\
l flag is enabled. We encourage to remove the global flag from the RegExp."), e.lastIndex = 0), r;
}
a(qle, "matchRegExp");
function ph(e) {
  return e.matches("input[type=submit], input[type=button], input[type=reset]") ? e.value : Array.from(e.childNodes).filter((t) => t.nodeType ===
  Ole && !!t.textContent).map((t) => t.textContent).join("");
}
a(ph, "getNodeText");
var oZe = aZe(Ur.elementRoles);
function Dle(e) {
  return e.hidden === !0 || e.getAttribute("aria-hidden") === "true" || e.ownerDocument.defaultView.getComputedStyle(e).display === "none";
}
a(Dle, "isSubtreeInaccessible");
function oS(e, t) {
  t === void 0 && (t = {});
  let {
    isSubtreeInaccessible: r = Dle
  } = t;
  if (e.ownerDocument.defaultView.getComputedStyle(e).visibility === "hidden")
    return !0;
  let o = e;
  for (; o; ) {
    if (r(o))
      return !0;
    o = o.parentElement;
  }
  return !1;
}
a(oS, "isInaccessible");
function B8(e) {
  for (let {
    match: t,
    roles: r
  } of oZe)
    if (t(e))
      return [...r];
  return [];
}
a(B8, "getImplicitAriaRoles");
function aZe(e) {
  function t(s) {
    let {
      name: l,
      attributes: u
    } = s;
    return "" + l + u.map((c) => {
      let {
        name: d,
        value: f,
        constraints: p = []
      } = c, m = p.indexOf("undefined") !== -1, v = p.indexOf("set") !== -1;
      return typeof f < "u" ? "[" + d + '="' + f + '"]' : m ? ":not([" + d + "])" : v ? "[" + d + "]:not([" + d + '=""])' : "[" + d + "]";
    }).join("");
  }
  a(t, "makeElementSelector");
  function r(s) {
    let {
      attributes: l = []
    } = s;
    return l.length;
  }
  a(r, "getSelectorSpecificity");
  function n(s, l) {
    let {
      specificity: u
    } = s, {
      specificity: c
    } = l;
    return c - u;
  }
  a(n, "bySelectorSpecificity");
  function o(s) {
    let {
      attributes: l = []
    } = s, u = l.findIndex((d) => d.value && d.name === "type" && d.value === "text");
    u >= 0 && (l = [...l.slice(0, u), ...l.slice(u + 1)]);
    let c = t({
      ...s,
      attributes: l
    });
    return (d) => u >= 0 && d.type !== "text" ? !1 : d.matches(c);
  }
  a(o, "match");
  let i = [];
  for (let [s, l] of e.entries())
    i = [...i, {
      match: o(s),
      roles: Array.from(l),
      specificity: r(s)
    }];
  return i.sort(n);
}
a(aZe, "buildElementRoleList");
function Fle(e, t) {
  let {
    hidden: r = !1
  } = t === void 0 ? {} : t;
  function n(o) {
    return [o, ...Array.from(o.children).reduce((i, s) => [...i, ...n(s)], [])];
  }
  return a(n, "flattenDOM"), n(e).filter((o) => r === !1 ? oS(o) === !1 : !0).reduce((o, i) => {
    let s = [];
    return i.hasAttribute("role") ? s = i.getAttribute("role").split(" ").slice(0, 1) : s = B8(i), s.reduce((l, u) => Array.isArray(l[u]) ? {
      ...l,
      [u]: [...l[u], i]
    } : {
      ...l,
      [u]: [i]
    }, o);
  }, {});
}
a(Fle, "getRoles");
function jle(e, t) {
  let {
    hidden: r,
    includeDescription: n
  } = t, o = Fle(e, {
    hidden: r
  });
  return Object.entries(o).filter((i) => {
    let [s] = i;
    return s !== "generic";
  }).map((i) => {
    let [s, l] = i, u = "-".repeat(50), c = l.map((d) => {
      let f = 'Name "' + ah(d, {
        computedStyleSupportsPseudoElements: Ce().computedStyleSupportsPseudoElements
      }) + `":
`, p = uh(d.cloneNode(!1));
      if (n) {
        let m = 'Description "' + o2(d, {
          computedStyleSupportsPseudoElements: Ce().computedStyleSupportsPseudoElements
        }) + `":
`;
        return "" + f + m + p;
      }
      return "" + f + p;
    }).join(`

`);
    return s + `:

` + c + `

` + u;
  }).join(`
`);
}
a(jle, "prettyRoles");
var iZe = /* @__PURE__ */ a(function(e, t) {
  let {
    hidden: r = !1
  } = t === void 0 ? {} : t;
  return console.log(jle(e, {
    hidden: r
  }));
}, "logRoles");
function sZe(e) {
  return e.tagName === "OPTION" ? e.selected : mh(e, "aria-selected");
}
a(sZe, "computeAriaSelected");
function lZe(e) {
  return e.getAttribute("aria-busy") === "true";
}
a(lZe, "computeAriaBusy");
function uZe(e) {
  if (!("indeterminate" in e && e.indeterminate))
    return "checked" in e ? e.checked : mh(e, "aria-checked");
}
a(uZe, "computeAriaChecked");
function cZe(e) {
  return mh(e, "aria-pressed");
}
a(cZe, "computeAriaPressed");
function dZe(e) {
  var t, r;
  return (t = (r = mh(e, "aria-current")) != null ? r : e.getAttribute("aria-current")) != null ? t : !1;
}
a(dZe, "computeAriaCurrent");
function fZe(e) {
  return mh(e, "aria-expanded");
}
a(fZe, "computeAriaExpanded");
function mh(e, t) {
  let r = e.getAttribute(t);
  if (r === "true")
    return !0;
  if (r === "false")
    return !1;
}
a(mh, "checkBooleanAttribute");
function pZe(e) {
  let t = {
    H1: 1,
    H2: 2,
    H3: 3,
    H4: 4,
    H5: 5,
    H6: 6
  };
  return e.getAttribute("aria-level") && Number(e.getAttribute("aria-level")) || t[e.tagName];
}
a(pZe, "computeHeadingLevel");
function mZe(e) {
  let t = e.getAttribute("aria-valuenow");
  return t === null ? void 0 : +t;
}
a(mZe, "computeAriaValueNow");
function hZe(e) {
  let t = e.getAttribute("aria-valuemax");
  return t === null ? void 0 : +t;
}
a(hZe, "computeAriaValueMax");
function gZe(e) {
  let t = e.getAttribute("aria-valuemin");
  return t === null ? void 0 : +t;
}
a(gZe, "computeAriaValueMin");
function yZe(e) {
  let t = e.getAttribute("aria-valuetext");
  return t === null ? void 0 : t;
}
a(yZe, "computeAriaValueText");
var gle = j8();
function vZe(e) {
  return e.replace(/[.*+\-?^${}()|[\]\\]/g, "\\$&");
}
a(vZe, "escapeRegExp");
function yle(e) {
  return new RegExp(vZe(e.toLowerCase()), "i");
}
a(yle, "getRegExpMatcher");
function Ns(e, t, r, n) {
  let {
    variant: o,
    name: i
  } = n, s = "", l = {}, u = [["Role", "TestId"].includes(e) ? r : yle(r)];
  i && (l.name = yle(i)), e === "Role" && oS(t) && (l.hidden = !0, s = `Element is inaccessible. This means that the element and all its chi\
ldren are invisible to screen readers.
    If you are using the aria-hidden prop, make sure this is the right choice for your case.
    `), Object.keys(l).length > 0 && u.push(l);
  let c = o + "By" + e;
  return {
    queryName: e,
    queryMethod: c,
    queryArgs: u,
    variant: o,
    warning: s,
    toString() {
      s && console.warn(s);
      let [d, f] = u;
      return d = typeof d == "string" ? "'" + d + "'" : d, f = f ? ", { " + Object.entries(f).map((p) => {
        let [m, v] = p;
        return m + ": " + v;
      }).join(", ") + " }" : "", c + "(" + d + f + ")";
    }
  };
}
a(Ns, "makeSuggestion");
function Ls(e, t, r) {
  return r && (!t || t.toLowerCase() === e.toLowerCase());
}
a(Ls, "canSuggest");
function rS(e, t, r) {
  var n, o;
  if (t === void 0 && (t = "get"), e.matches(Ce().defaultIgnore))
    return;
  let i = (n = e.getAttribute("role")) != null ? n : (o = B8(e)) == null ? void 0 : o[0];
  if (i !== "generic" && Ls("Role", r, i))
    return Ns("Role", e, i, {
      variant: t,
      name: ah(e, {
        computedStyleSupportsPseudoElements: Ce().computedStyleSupportsPseudoElements
      })
    });
  let s = Lle(document, e).map((p) => p.content).join(" ");
  if (Ls("LabelText", r, s))
    return Ns("LabelText", e, s, {
      variant: t
    });
  let l = e.getAttribute("placeholder");
  if (Ls("PlaceholderText", r, l))
    return Ns("PlaceholderText", e, l, {
      variant: t
    });
  let u = gle(ph(e));
  if (Ls("Text", r, u))
    return Ns("Text", e, u, {
      variant: t
    });
  if (Ls("DisplayValue", r, e.value))
    return Ns("DisplayValue", e, gle(e.value), {
      variant: t
    });
  let c = e.getAttribute("alt");
  if (Ls("AltText", r, c))
    return Ns("AltText", e, c, {
      variant: t
    });
  let d = e.getAttribute("title");
  if (Ls("Title", r, d))
    return Ns("Title", e, d, {
      variant: t
    });
  let f = e.getAttribute(Ce().testIdAttribute);
  if (Ls("TestId", r, f))
    return Ns("TestId", e, f, {
      variant: t
    });
}
a(rS, "getSuggestedQuery");
function eS(e, t) {
  e.stack = t.stack.replace(t.message, e.message);
}
a(eS, "copyStackTrace");
function bZe(e, t) {
  let {
    container: r = F8(),
    timeout: n = Ce().asyncUtilTimeout,
    showOriginalStackTrace: o = Ce().showOriginalStackTrace,
    stackTraceError: i,
    interval: s = 50,
    onTimeout: l = /* @__PURE__ */ a((c) => (Object.defineProperty(c, "message", {
      value: Ce().getElementError(c.message, r).message
    }), c), "onTimeout"),
    mutationObserverOptions: u = {
      subtree: !0,
      childList: !0,
      attributes: !0,
      characterData: !0
    }
  } = t;
  if (typeof e != "function")
    throw new TypeError("Received `callback` arg must be a function");
  return new Promise(async (c, d) => {
    let f, p, m, v = !1, y = "idle", b = setTimeout(S, n), g = _8();
    if (g) {
      let {
        unstable_advanceTimersWrapper: C
      } = Ce();
      for (x(); !v; ) {
        if (!_8()) {
          let _ = new Error("Changed from using fake timers to real timers while using waitFor. This is not allowed and will result in very \
strange behavior. Please ensure you're awaiting all async things your test is doing before changing to real timers. For more info, please go\
 to https://github.com/testing-library/dom-testing-library/issues/830");
          o || eS(_, i), d(_);
          return;
        }
        if (await C(async () => {
          jest.advanceTimersByTime(s);
        }), v)
          break;
        x();
      }
    } else {
      try {
        si(r);
      } catch (_) {
        d(_);
        return;
      }
      p = setInterval(E, s);
      let {
        MutationObserver: C
      } = Ile(r);
      m = new C(E), m.observe(r, u), x();
    }
    function w(C, _) {
      v = !0, clearTimeout(b), g || (clearInterval(p), m.disconnect()), C ? d(C) : c(_);
    }
    a(w, "onDone");
    function E() {
      if (_8()) {
        let C = new Error("Changed from using real timers to fake timers while using waitFor. This is not allowed and will result in very st\
range behavior. Please ensure you're awaiting all async things your test is doing before changing to fake timers. For more info, please go t\
o https://github.com/testing-library/dom-testing-library/issues/830");
        return o || eS(C, i), d(C);
      } else
        return x();
    }
    a(E, "checkRealTimersCallback");
    function x() {
      if (y !== "pending")
        try {
          let C = eZe(e);
          typeof C?.then == "function" ? (y = "pending", C.then((_) => {
            y = "resolved", w(null, _);
          }, (_) => {
            y = "rejected", f = _;
          })) : w(null, C);
        } catch (C) {
          f = C;
        }
    }
    a(x, "checkCallback");
    function S() {
      let C;
      f ? (C = f, !o && C.name === "TestingLibraryElementError" && eS(C, i)) : (C = new Error("Timed out in waitFor."), o || eS(C, i)), w(l(
      C), null);
    }
    a(S, "handleTimeout");
  });
}
a(bZe, "waitFor");
function $8(e, t) {
  let r = new Error("STACK_TRACE_MESSAGE");
  return Ce().asyncWrapper(() => bZe(e, {
    stackTraceError: r,
    ...t
  }));
}
a($8, "waitForWrapper");
function aS(e, t) {
  return Ce().getElementError(e, t);
}
a(aS, "getElementError");
function iS(e, t) {
  return aS(e + "\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllB\
yText`)).", t);
}
a(iS, "getMultipleElementsFoundError");
function au(e, t, r, n) {
  let {
    exact: o = !0,
    collapseWhitespace: i,
    trim: s,
    normalizer: l
  } = n === void 0 ? {} : n, u = o ? ii : jd, c = ou({
    collapseWhitespace: i,
    trim: s,
    normalizer: l
  });
  return Array.from(t.querySelectorAll("[" + e + "]")).filter((d) => u(d.getAttribute(e), d, r, c));
}
a(au, "queryAllByAttribute");
function Ble(e, t, r, n) {
  let o = au(e, t, r, n);
  if (o.length > 1)
    throw iS("Found multiple elements by [" + e + "=" + r + "]", t);
  return o[0] || null;
}
a(Ble, "queryByAttribute");
function Dd(e, t) {
  return function(r) {
    for (var n = arguments.length, o = new Array(n > 1 ? n - 1 : 0), i = 1; i < n; i++)
      o[i - 1] = arguments[i];
    let s = e(r, ...o);
    if (s.length > 1) {
      let l = s.map((u) => aS(null, u).message).join(`

`);
      throw iS(t(r, ...o) + `

Here are the matching elements:

` + l, r);
    }
    return s[0] || null;
  };
}
a(Dd, "makeSingleQuery");
function $le(e, t) {
  return Ce().getElementError(`A better query is available, try this:
` + e.toString() + `
`, t);
}
a($le, "getSuggestionError");
function H8(e, t) {
  return function(r) {
    for (var n = arguments.length, o = new Array(n > 1 ? n - 1 : 0), i = 1; i < n; i++)
      o[i - 1] = arguments[i];
    let s = e(r, ...o);
    if (!s.length)
      throw Ce().getElementError(t(r, ...o), r);
    return s;
  };
}
a(H8, "makeGetAllQuery");
function Fd(e) {
  return (t, r, n, o) => $8(() => e(t, r, n), {
    container: t,
    ...o
  });
}
a(Fd, "makeFindQuery");
var ks = /* @__PURE__ */ a((e, t, r) => function(n) {
  for (var o = arguments.length, i = new Array(o > 1 ? o - 1 : 0), s = 1; s < o; s++)
    i[s - 1] = arguments[s];
  let l = e(n, ...i), [{
    suggest: u = Ce().throwSuggestions
  } = {}] = i.slice(-1);
  if (l && u) {
    let c = rS(l, r);
    if (c && !t.endsWith(c.queryName))
      throw $le(c.toString(), n);
  }
  return l;
}, "wrapSingleQueryWithSuggestion"), un = /* @__PURE__ */ a((e, t, r) => function(n) {
  for (var o = arguments.length, i = new Array(o > 1 ? o - 1 : 0), s = 1; s < o; s++)
    i[s - 1] = arguments[s];
  let l = e(n, ...i), [{
    suggest: u = Ce().throwSuggestions
  } = {}] = i.slice(-1);
  if (l.length && u) {
    let c = [...new Set(l.map((d) => {
      var f;
      return (f = rS(d, r)) == null ? void 0 : f.toString();
    }))];
    if (
      // only want to suggest if all the els have the same suggestion.
      c.length === 1 && !t.endsWith(
        // eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- TODO: Can this be null at runtime?
        rS(l[0], r).queryName
      )
    )
      throw $le(c[0], n);
  }
  return l;
}, "wrapAllByQueryWithSuggestion");
function li(e, t, r) {
  let n = ks(Dd(e, t), e.name, "query"), o = H8(e, r), i = Dd(o, t), s = ks(i, e.name, "get"), l = un(o, e.name.replace("query", "get"), "ge\
tAll"), u = Fd(un(o, e.name, "findAll")), c = Fd(ks(i, e.name, "find"));
  return [n, l, s, u, c];
}
a(li, "buildQueries");
var wZe = /* @__PURE__ */ Object.freeze({
  __proto__: null,
  getElementError: aS,
  wrapAllByQueryWithSuggestion: un,
  wrapSingleQueryWithSuggestion: ks,
  getMultipleElementsFoundError: iS,
  queryAllByAttribute: au,
  queryByAttribute: Ble,
  makeSingleQuery: Dd,
  makeGetAllQuery: H8,
  makeFindQuery: Fd,
  buildQueries: li
});
function EZe(e) {
  return Array.from(e.querySelectorAll("label,input")).map((t) => ({
    node: t,
    textToMatch: T8(t)
  })).filter((t) => {
    let {
      textToMatch: r
    } = t;
    return r !== null;
  });
}
a(EZe, "queryAllLabels");
var RZe = /* @__PURE__ */ a(function(e, t, r) {
  let {
    exact: n = !0,
    trim: o,
    collapseWhitespace: i,
    normalizer: s
  } = r === void 0 ? {} : r, l = n ? ii : jd, u = ou({
    collapseWhitespace: i,
    trim: o,
    normalizer: s
  });
  return EZe(e).filter((d) => {
    let {
      node: f,
      textToMatch: p
    } = d;
    return l(p, f, t, u);
  }).map((d) => {
    let {
      node: f
    } = d;
    return f;
  });
}, "queryAllLabelsByText"), ch = /* @__PURE__ */ a(function(e, t, r) {
  let {
    selector: n = "*",
    exact: o = !0,
    collapseWhitespace: i,
    trim: s,
    normalizer: l
  } = r === void 0 ? {} : r;
  si(e);
  let u = o ? ii : jd, c = ou({
    collapseWhitespace: i,
    trim: s,
    normalizer: l
  }), d = Array.from(e.querySelectorAll("*")).filter((f) => Nle(f).length || f.hasAttribute("aria-labelledby")).reduce((f, p) => {
    let m = Lle(e, p, {
      selector: n
    });
    m.filter((y) => !!y.formControl).forEach((y) => {
      u(y.content, y.formControl, t, c) && y.formControl && f.push(y.formControl);
    });
    let v = m.filter((y) => !!y.content).map((y) => y.content);
    return u(v.join(" "), p, t, c) && f.push(p), v.length > 1 && v.forEach((y, b) => {
      u(y, p, t, c) && f.push(p);
      let g = [...v];
      g.splice(b, 1), g.length > 1 && u(g.join(" "), p, t, c) && f.push(p);
    }), f;
  }, []).concat(au("aria-label", e, t, {
    exact: o,
    normalizer: c
  }));
  return Array.from(new Set(d)).filter((f) => f.matches(n));
}, "queryAllByLabelText"), nu = /* @__PURE__ */ a(function(e, t) {
  for (var r = arguments.length, n = new Array(r > 2 ? r - 2 : 0), o = 2; o < r; o++)
    n[o - 2] = arguments[o];
  let i = ch(e, t, ...n);
  if (!i.length) {
    let s = RZe(e, t, ...n);
    if (s.length) {
      let l = s.map((u) => xZe(e, u)).filter((u) => !!u);
      throw l.length ? Ce().getElementError(l.map((u) => "Found a label with the text of: " + t + ", however the element associated with thi\
s label (<" + u + " />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a \
<" + u + " />, you can use aria-label or aria-labelledby instead.").join(`

`), e) : Ce().getElementError("Found a label with the text of: " + t + `, however no form control was found associated to that label. Make s\
ure you're using the "for" attribute or "aria-labelledby" attribute correctly.`, e);
    } else
      throw Ce().getElementError("Unable to find a label with the text of: " + t, e);
  }
  return i;
}, "getAllByLabelText");
function xZe(e, t) {
  let r = t.getAttribute("for");
  if (!r)
    return null;
  let n = e.querySelector('[id="' + r + '"]');
  return n ? n.tagName.toLowerCase() : null;
}
a(xZe, "getTagNameOfElementAssociatedWithLabelViaFor");
var Hle = /* @__PURE__ */ a((e, t) => "Found multiple elements with the text of: " + t, "getMultipleError$7"), zle = ks(Dd(ch, Hle), ch.name,
"query"), Ule = Dd(nu, Hle), Vle = Fd(un(nu, nu.name, "findAll")), Wle = Fd(ks(Ule, nu.name, "find")), Gle = un(nu, nu.name, "getAll"), Yle = ks(
Ule, nu.name, "get"), Kle = un(ch, ch.name, "queryAll"), A8 = /* @__PURE__ */ a(function() {
  for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
    t[r] = arguments[r];
  return si(t[0]), au("placeholder", ...t);
}, "queryAllByPlaceholderText"), SZe = /* @__PURE__ */ a((e, t) => "Found multiple elements with the placeholder text of: " + t, "getMultipl\
eError$6"), CZe = /* @__PURE__ */ a((e, t) => "Unable to find an element with the placeholder text of: " + t, "getMissingError$6"), Xle = un(
A8, A8.name, "queryAll"), [Jle, Qle, Zle, eue, tue] = li(A8, SZe, CZe), O8 = /* @__PURE__ */ a(function(e, t, r) {
  let {
    selector: n = "*",
    exact: o = !0,
    collapseWhitespace: i,
    trim: s,
    ignore: l = Ce().defaultIgnore,
    normalizer: u
  } = r === void 0 ? {} : r;
  si(e);
  let c = o ? ii : jd, d = ou({
    collapseWhitespace: i,
    trim: s,
    normalizer: u
  }), f = [];
  return typeof e.matches == "function" && e.matches(n) && (f = [e]), [...f, ...Array.from(e.querySelectorAll(n))].filter((p) => !l || !p.matches(
  l)).filter((p) => c(ph(p), p, t, d));
}, "queryAllByText"), _Ze = /* @__PURE__ */ a((e, t) => "Found multiple elements with the text: " + t, "getMultipleError$5"), PZe = /* @__PURE__ */ a(
function(e, t, r) {
  r === void 0 && (r = {});
  let {
    collapseWhitespace: n,
    trim: o,
    normalizer: i,
    selector: s
  } = r, u = ou({
    collapseWhitespace: n,
    trim: o,
    normalizer: i
  })(t.toString()), c = u !== t.toString(), d = (s ?? "*") !== "*";
  return "Unable to find an element with the text: " + (c ? u + " (normalized from '" + t + "')" : t) + (d ? ", which matches selector '" + s +
  "'" : "") + ". This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text ma\
tcher to make your matcher more flexible.";
}, "getMissingError$5"), rue = un(O8, O8.name, "queryAll"), [nue, oue, aue, iue, sue] = li(O8, _Ze, PZe), I8 = /* @__PURE__ */ a(function(e, t, r) {
  let {
    exact: n = !0,
    collapseWhitespace: o,
    trim: i,
    normalizer: s
  } = r === void 0 ? {} : r;
  si(e);
  let l = n ? ii : jd, u = ou({
    collapseWhitespace: o,
    trim: i,
    normalizer: s
  });
  return Array.from(e.querySelectorAll("input,textarea,select")).filter((c) => c.tagName === "SELECT" ? Array.from(c.options).filter((f) => f.
  selected).some((f) => l(ph(f), f, t, u)) : l(c.value, c, t, u));
}, "queryAllByDisplayValue"), TZe = /* @__PURE__ */ a((e, t) => "Found multiple elements with the display value: " + t + ".", "getMultipleEr\
ror$4"), AZe = /* @__PURE__ */ a((e, t) => "Unable to find an element with the display value: " + t + ".", "getMissingError$4"), lue = un(I8,
I8.name, "queryAll"), [uue, cue, due, fue, pue] = li(I8, TZe, AZe), OZe = /^(img|input|area|.+-.+)$/i, M8 = /* @__PURE__ */ a(function(e, t, r) {
  return r === void 0 && (r = {}), si(e), au("alt", e, t, r).filter((n) => OZe.test(n.tagName));
}, "queryAllByAltText"), IZe = /* @__PURE__ */ a((e, t) => "Found multiple elements with the alt text: " + t, "getMultipleError$3"), MZe = /* @__PURE__ */ a(
(e, t) => "Unable to find an element with the alt text: " + t, "getMissingError$3"), mue = un(M8, M8.name, "queryAll"), [hue, gue, yue, vue,
bue] = li(M8, IZe, MZe), NZe = /* @__PURE__ */ a((e) => {
  var t;
  return e.tagName.toLowerCase() === "title" && ((t = e.parentElement) == null ? void 0 : t.tagName.toLowerCase()) === "svg";
}, "isSvgTitle"), N8 = /* @__PURE__ */ a(function(e, t, r) {
  let {
    exact: n = !0,
    collapseWhitespace: o,
    trim: i,
    normalizer: s
  } = r === void 0 ? {} : r;
  si(e);
  let l = n ? ii : jd, u = ou({
    collapseWhitespace: o,
    trim: i,
    normalizer: s
  });
  return Array.from(e.querySelectorAll("[title], svg > title")).filter((c) => l(c.getAttribute("title"), c, t, u) || NZe(c) && l(ph(c), c, t,
  u));
}, "queryAllByTitle"), LZe = /* @__PURE__ */ a((e, t) => "Found multiple elements with the title: " + t + ".", "getMultipleError$2"), kZe = /* @__PURE__ */ a(
(e, t) => "Unable to find an element with the title: " + t + ".", "getMissingError$2"), wue = un(N8, N8.name, "queryAll"), [Eue, Rue, xue, Sue,
Cue] = li(N8, LZe, kZe), L8 = /* @__PURE__ */ a(function(e, t, r) {
  let {
    hidden: n = Ce().defaultHidden,
    name: o,
    description: i,
    queryFallbacks: s = !1,
    selected: l,
    busy: u,
    checked: c,
    pressed: d,
    current: f,
    level: p,
    expanded: m,
    value: {
      now: v,
      min: y,
      max: b,
      text: g
    } = {}
  } = r === void 0 ? {} : r;
  if (si(e), l !== void 0) {
    var w;
    if (((w = Ur.roles.get(t)) == null ? void 0 : w.props["aria-selected"]) === void 0)
      throw new Error('"aria-selected" is not supported on role "' + t + '".');
  }
  if (u !== void 0) {
    var E;
    if (((E = Ur.roles.get(t)) == null ? void 0 : E.props["aria-busy"]) === void 0)
      throw new Error('"aria-busy" is not supported on role "' + t + '".');
  }
  if (c !== void 0) {
    var x;
    if (((x = Ur.roles.get(t)) == null ? void 0 : x.props["aria-checked"]) === void 0)
      throw new Error('"aria-checked" is not supported on role "' + t + '".');
  }
  if (d !== void 0) {
    var S;
    if (((S = Ur.roles.get(t)) == null ? void 0 : S.props["aria-pressed"]) === void 0)
      throw new Error('"aria-pressed" is not supported on role "' + t + '".');
  }
  if (f !== void 0) {
    var C;
    if (((C = Ur.roles.get(t)) == null ? void 0 : C.props["aria-current"]) === void 0)
      throw new Error('"aria-current" is not supported on role "' + t + '".');
  }
  if (p !== void 0 && t !== "heading")
    throw new Error('Role "' + t + '" cannot have "level" property.');
  if (v !== void 0) {
    var _;
    if (((_ = Ur.roles.get(t)) == null ? void 0 : _.props["aria-valuenow"]) === void 0)
      throw new Error('"aria-valuenow" is not supported on role "' + t + '".');
  }
  if (b !== void 0) {
    var A;
    if (((A = Ur.roles.get(t)) == null ? void 0 : A.props["aria-valuemax"]) === void 0)
      throw new Error('"aria-valuemax" is not supported on role "' + t + '".');
  }
  if (y !== void 0) {
    var O;
    if (((O = Ur.roles.get(t)) == null ? void 0 : O.props["aria-valuemin"]) === void 0)
      throw new Error('"aria-valuemin" is not supported on role "' + t + '".');
  }
  if (g !== void 0) {
    var q;
    if (((q = Ur.roles.get(t)) == null ? void 0 : q.props["aria-valuetext"]) === void 0)
      throw new Error('"aria-valuetext" is not supported on role "' + t + '".');
  }
  if (m !== void 0) {
    var M;
    if (((M = Ur.roles.get(t)) == null ? void 0 : M.props["aria-expanded"]) === void 0)
      throw new Error('"aria-expanded" is not supported on role "' + t + '".');
  }
  let U = /* @__PURE__ */ new WeakMap();
  function Q(z) {
    return U.has(z) || U.set(z, Dle(z)), U.get(z);
  }
  return a(Q, "cachedIsSubtreeInaccessible"), Array.from(e.querySelectorAll(
    // Only query elements that can be matched by the following filters
    qZe(t)
  )).filter((z) => {
    if (z.hasAttribute("role")) {
      let V = z.getAttribute("role");
      if (s)
        return V.split(" ").filter(Boolean).some((ne) => ne === t);
      let [G] = V.split(" ");
      return G === t;
    }
    return B8(z).some((V) => V === t);
  }).filter((z) => {
    if (l !== void 0)
      return l === sZe(z);
    if (u !== void 0)
      return u === lZe(z);
    if (c !== void 0)
      return c === uZe(z);
    if (d !== void 0)
      return d === cZe(z);
    if (f !== void 0)
      return f === dZe(z);
    if (m !== void 0)
      return m === fZe(z);
    if (p !== void 0)
      return p === pZe(z);
    if (v !== void 0 || b !== void 0 || y !== void 0 || g !== void 0) {
      let D = !0;
      if (v !== void 0 && D && (D = v === mZe(z)), b !== void 0 && D && (D = b === hZe(z)), y !== void 0 && D && (D = y === gZe(z)), g !== void 0) {
        var $;
        D && (D = ii(($ = yZe(z)) != null ? $ : null, z, g, (V) => V));
      }
      return D;
    }
    return !0;
  }).filter((z) => o === void 0 ? !0 : ii(ah(z, {
    computedStyleSupportsPseudoElements: Ce().computedStyleSupportsPseudoElements
  }), z, o, ($) => $)).filter((z) => i === void 0 ? !0 : ii(o2(z, {
    computedStyleSupportsPseudoElements: Ce().computedStyleSupportsPseudoElements
  }), z, i, ($) => $)).filter((z) => n === !1 ? oS(z, {
    isSubtreeInaccessible: Q
  }) === !1 : !0);
}, "queryAllByRole");
function qZe(e) {
  var t;
  let r = '*[role~="' + e + '"]', n = (t = Ur.roleElements.get(e)) != null ? t : /* @__PURE__ */ new Set(), o = new Set(Array.from(n).map((i) => {
    let {
      name: s
    } = i;
    return s;
  }));
  return [r].concat(Array.from(o)).join(",");
}
a(qZe, "makeRoleSelector");
var _ue = /* @__PURE__ */ a((e) => {
  let t = "";
  return e === void 0 ? t = "" : typeof e == "string" ? t = ' and name "' + e + '"' : t = " and name `" + e + "`", t;
}, "getNameHint"), DZe = /* @__PURE__ */ a(function(e, t, r) {
  let {
    name: n
  } = r === void 0 ? {} : r;
  return 'Found multiple elements with the role "' + t + '"' + _ue(n);
}, "getMultipleError$1"), FZe = /* @__PURE__ */ a(function(e, t, r) {
  let {
    hidden: n = Ce().defaultHidden,
    name: o,
    description: i
  } = r === void 0 ? {} : r;
  if (Ce()._disableExpensiveErrorDiagnostics)
    return 'Unable to find role="' + t + '"' + _ue(o);
  let s = "";
  Array.from(e.children).forEach((d) => {
    s += jle(d, {
      hidden: n,
      includeDescription: i !== void 0
    });
  });
  let l;
  s.length === 0 ? n === !1 ? l = "There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, th\
en set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole" :
  l = "There are no available roles." : l = (`
Here are the ` + (n === !1 ? "accessible" : "available") + ` roles:

  ` + s.replace(/\n/g, `
  `).replace(/\n\s\s\n/g, `

`) + `
`).trim();
  let u = "";
  o === void 0 ? u = "" : typeof o == "string" ? u = ' and name "' + o + '"' : u = " and name `" + o + "`";
  let c = "";
  return i === void 0 ? c = "" : typeof i == "string" ? c = ' and description "' + i + '"' : c = " and description `" + i + "`", (`
Unable to find an ` + (n === !1 ? "accessible " : "") + 'element with the role "' + t + '"' + u + c + `

` + l).trim();
}, "getMissingError$1"), Pue = un(L8, L8.name, "queryAll"), [Tue, Aue, Oue, Iue, Mue] = li(L8, DZe, FZe), z8 = /* @__PURE__ */ a(() => Ce().
testIdAttribute, "getTestIdAttribute"), k8 = /* @__PURE__ */ a(function() {
  for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
    t[r] = arguments[r];
  return si(t[0]), au(z8(), ...t);
}, "queryAllByTestId"), jZe = /* @__PURE__ */ a((e, t) => "Found multiple elements by: [" + z8() + '="' + t + '"]', "getMultipleError"), BZe = /* @__PURE__ */ a(
(e, t) => "Unable to find an element by: [" + z8() + '="' + t + '"]', "getMissingError"), Nue = un(k8, k8.name, "queryAll"), [Lue, kue, que,
Due, Fue] = li(k8, jZe, BZe), nS = /* @__PURE__ */ Object.freeze({
  __proto__: null,
  queryAllByLabelText: Kle,
  queryByLabelText: zle,
  getAllByLabelText: Gle,
  getByLabelText: Yle,
  findAllByLabelText: Vle,
  findByLabelText: Wle,
  queryByPlaceholderText: Jle,
  queryAllByPlaceholderText: Xle,
  getByPlaceholderText: Zle,
  getAllByPlaceholderText: Qle,
  findAllByPlaceholderText: eue,
  findByPlaceholderText: tue,
  queryByText: nue,
  queryAllByText: rue,
  getByText: aue,
  getAllByText: oue,
  findAllByText: iue,
  findByText: sue,
  queryByDisplayValue: uue,
  queryAllByDisplayValue: lue,
  getByDisplayValue: due,
  getAllByDisplayValue: cue,
  findAllByDisplayValue: fue,
  findByDisplayValue: pue,
  queryByAltText: hue,
  queryAllByAltText: mue,
  getByAltText: yue,
  getAllByAltText: gue,
  findAllByAltText: vue,
  findByAltText: bue,
  queryByTitle: Eue,
  queryAllByTitle: wue,
  getByTitle: xue,
  getAllByTitle: Rue,
  findAllByTitle: Sue,
  findByTitle: Cue,
  queryByRole: Tue,
  queryAllByRole: Pue,
  getAllByRole: Aue,
  getByRole: Oue,
  findAllByRole: Iue,
  findByRole: Mue,
  queryByTestId: Lue,
  queryAllByTestId: Nue,
  getByTestId: que,
  getAllByTestId: kue,
  findAllByTestId: Due,
  findByTestId: Fue
});
function jue(e, t, r) {
  return t === void 0 && (t = nS), r === void 0 && (r = {}), Object.keys(t).reduce((n, o) => {
    let i = t[o];
    return n[o] = i.bind(null, e), n;
  }, r);
}
a(jue, "getQueriesForElement");
var Bue = /* @__PURE__ */ a((e) => !e || Array.isArray(e) && !e.length, "isRemoved");
function vle(e) {
  if (Bue(e))
    throw new Error("The element(s) given to waitForElementToBeRemoved are already removed. waitForElementToBeRemoved requires that the elem\
ent(s) exist(s) before waiting for removal.");
}
a(vle, "initialCheck");
async function $Ze(e, t) {
  let r = new Error("Timed out in waitForElementToBeRemoved.");
  if (typeof e != "function") {
    vle(e);
    let o = (Array.isArray(e) ? e : [e]).map((i) => {
      let s = i.parentElement;
      if (s === null) return () => null;
      for (; s.parentElement; ) s = s.parentElement;
      return () => s.contains(i) ? i : null;
    });
    e = /* @__PURE__ */ a(() => o.map((i) => i()).filter(Boolean), "callback");
  }
  return vle(e()), $8(() => {
    let n;
    try {
      n = e();
    } catch (o) {
      if (o.name === "TestingLibraryElementError")
        return;
      throw o;
    }
    if (!Bue(n))
      throw r;
  }, t);
}
a($Ze, "waitForElementToBeRemoved");
var ble = {
  // Clipboard Events
  copy: {
    EventType: "ClipboardEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0,
      composed: !0
    }
  },
  cut: {
    EventType: "ClipboardEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0,
      composed: !0
    }
  },
  paste: {
    EventType: "ClipboardEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0,
      composed: !0
    }
  },
  // Composition Events
  compositionEnd: {
    EventType: "CompositionEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0,
      composed: !0
    }
  },
  compositionStart: {
    EventType: "CompositionEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0,
      composed: !0
    }
  },
  compositionUpdate: {
    EventType: "CompositionEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0,
      composed: !0
    }
  },
  // Keyboard Events
  keyDown: {
    EventType: "KeyboardEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0,
      charCode: 0,
      composed: !0
    }
  },
  keyPress: {
    EventType: "KeyboardEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0,
      charCode: 0,
      composed: !0
    }
  },
  keyUp: {
    EventType: "KeyboardEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0,
      charCode: 0,
      composed: !0
    }
  },
  // Focus Events
  focus: {
    EventType: "FocusEvent",
    defaultInit: {
      bubbles: !1,
      cancelable: !1,
      composed: !0
    }
  },
  blur: {
    EventType: "FocusEvent",
    defaultInit: {
      bubbles: !1,
      cancelable: !1,
      composed: !0
    }
  },
  focusIn: {
    EventType: "FocusEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !1,
      composed: !0
    }
  },
  focusOut: {
    EventType: "FocusEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !1,
      composed: !0
    }
  },
  // Form Events
  change: {
    EventType: "Event",
    defaultInit: {
      bubbles: !0,
      cancelable: !1
    }
  },
  input: {
    EventType: "InputEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !1,
      composed: !0
    }
  },
  invalid: {
    EventType: "Event",
    defaultInit: {
      bubbles: !1,
      cancelable: !0
    }
  },
  submit: {
    EventType: "Event",
    defaultInit: {
      bubbles: !0,
      cancelable: !0
    }
  },
  reset: {
    EventType: "Event",
    defaultInit: {
      bubbles: !0,
      cancelable: !0
    }
  },
  // Mouse Events
  click: {
    EventType: "MouseEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0,
      button: 0,
      composed: !0
    }
  },
  contextMenu: {
    EventType: "MouseEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0,
      composed: !0
    }
  },
  dblClick: {
    EventType: "MouseEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0,
      composed: !0
    }
  },
  drag: {
    EventType: "DragEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0,
      composed: !0
    }
  },
  dragEnd: {
    EventType: "DragEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !1,
      composed: !0
    }
  },
  dragEnter: {
    EventType: "DragEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0,
      composed: !0
    }
  },
  dragExit: {
    EventType: "DragEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !1,
      composed: !0
    }
  },
  dragLeave: {
    EventType: "DragEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !1,
      composed: !0
    }
  },
  dragOver: {
    EventType: "DragEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0,
      composed: !0
    }
  },
  dragStart: {
    EventType: "DragEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0,
      composed: !0
    }
  },
  drop: {
    EventType: "DragEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0,
      composed: !0
    }
  },
  mouseDown: {
    EventType: "MouseEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0,
      composed: !0
    }
  },
  mouseEnter: {
    EventType: "MouseEvent",
    defaultInit: {
      bubbles: !1,
      cancelable: !1,
      composed: !0
    }
  },
  mouseLeave: {
    EventType: "MouseEvent",
    defaultInit: {
      bubbles: !1,
      cancelable: !1,
      composed: !0
    }
  },
  mouseMove: {
    EventType: "MouseEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0,
      composed: !0
    }
  },
  mouseOut: {
    EventType: "MouseEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0,
      composed: !0
    }
  },
  mouseOver: {
    EventType: "MouseEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0,
      composed: !0
    }
  },
  mouseUp: {
    EventType: "MouseEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0,
      composed: !0
    }
  },
  // Selection Events
  select: {
    EventType: "Event",
    defaultInit: {
      bubbles: !0,
      cancelable: !1
    }
  },
  // Touch Events
  touchCancel: {
    EventType: "TouchEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !1,
      composed: !0
    }
  },
  touchEnd: {
    EventType: "TouchEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0,
      composed: !0
    }
  },
  touchMove: {
    EventType: "TouchEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0,
      composed: !0
    }
  },
  touchStart: {
    EventType: "TouchEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0,
      composed: !0
    }
  },
  // UI Events
  resize: {
    EventType: "UIEvent",
    defaultInit: {
      bubbles: !1,
      cancelable: !1
    }
  },
  scroll: {
    EventType: "UIEvent",
    defaultInit: {
      bubbles: !1,
      cancelable: !1
    }
  },
  // Wheel Events
  wheel: {
    EventType: "WheelEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0,
      composed: !0
    }
  },
  // Media Events
  abort: {
    EventType: "Event",
    defaultInit: {
      bubbles: !1,
      cancelable: !1
    }
  },
  canPlay: {
    EventType: "Event",
    defaultInit: {
      bubbles: !1,
      cancelable: !1
    }
  },
  canPlayThrough: {
    EventType: "Event",
    defaultInit: {
      bubbles: !1,
      cancelable: !1
    }
  },
  durationChange: {
    EventType: "Event",
    defaultInit: {
      bubbles: !1,
      cancelable: !1
    }
  },
  emptied: {
    EventType: "Event",
    defaultInit: {
      bubbles: !1,
      cancelable: !1
    }
  },
  encrypted: {
    EventType: "Event",
    defaultInit: {
      bubbles: !1,
      cancelable: !1
    }
  },
  ended: {
    EventType: "Event",
    defaultInit: {
      bubbles: !1,
      cancelable: !1
    }
  },
  loadedData: {
    EventType: "Event",
    defaultInit: {
      bubbles: !1,
      cancelable: !1
    }
  },
  loadedMetadata: {
    EventType: "Event",
    defaultInit: {
      bubbles: !1,
      cancelable: !1
    }
  },
  loadStart: {
    EventType: "ProgressEvent",
    defaultInit: {
      bubbles: !1,
      cancelable: !1
    }
  },
  pause: {
    EventType: "Event",
    defaultInit: {
      bubbles: !1,
      cancelable: !1
    }
  },
  play: {
    EventType: "Event",
    defaultInit: {
      bubbles: !1,
      cancelable: !1
    }
  },
  playing: {
    EventType: "Event",
    defaultInit: {
      bubbles: !1,
      cancelable: !1
    }
  },
  progress: {
    EventType: "ProgressEvent",
    defaultInit: {
      bubbles: !1,
      cancelable: !1
    }
  },
  rateChange: {
    EventType: "Event",
    defaultInit: {
      bubbles: !1,
      cancelable: !1
    }
  },
  seeked: {
    EventType: "Event",
    defaultInit: {
      bubbles: !1,
      cancelable: !1
    }
  },
  seeking: {
    EventType: "Event",
    defaultInit: {
      bubbles: !1,
      cancelable: !1
    }
  },
  stalled: {
    EventType: "Event",
    defaultInit: {
      bubbles: !1,
      cancelable: !1
    }
  },
  suspend: {
    EventType: "Event",
    defaultInit: {
      bubbles: !1,
      cancelable: !1
    }
  },
  timeUpdate: {
    EventType: "Event",
    defaultInit: {
      bubbles: !1,
      cancelable: !1
    }
  },
  volumeChange: {
    EventType: "Event",
    defaultInit: {
      bubbles: !1,
      cancelable: !1
    }
  },
  waiting: {
    EventType: "Event",
    defaultInit: {
      bubbles: !1,
      cancelable: !1
    }
  },
  // Events
  load: {
    // TODO: load events can be UIEvent or Event depending on what generated them
    // This is where this abstraction breaks down.
    // But the common targets are <img />, <script /> and window.
    // Neither of these targets receive a UIEvent
    EventType: "Event",
    defaultInit: {
      bubbles: !1,
      cancelable: !1
    }
  },
  error: {
    EventType: "Event",
    defaultInit: {
      bubbles: !1,
      cancelable: !1
    }
  },
  // Animation Events
  animationStart: {
    EventType: "AnimationEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !1
    }
  },
  animationEnd: {
    EventType: "AnimationEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !1
    }
  },
  animationIteration: {
    EventType: "AnimationEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !1
    }
  },
  // Transition Events
  transitionCancel: {
    EventType: "TransitionEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !1
    }
  },
  transitionEnd: {
    EventType: "TransitionEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0
    }
  },
  transitionRun: {
    EventType: "TransitionEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !1
    }
  },
  transitionStart: {
    EventType: "TransitionEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !1
    }
  },
  // pointer events
  pointerOver: {
    EventType: "PointerEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0,
      composed: !0
    }
  },
  pointerEnter: {
    EventType: "PointerEvent",
    defaultInit: {
      bubbles: !1,
      cancelable: !1
    }
  },
  pointerDown: {
    EventType: "PointerEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0,
      composed: !0
    }
  },
  pointerMove: {
    EventType: "PointerEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0,
      composed: !0
    }
  },
  pointerUp: {
    EventType: "PointerEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0,
      composed: !0
    }
  },
  pointerCancel: {
    EventType: "PointerEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !1,
      composed: !0
    }
  },
  pointerOut: {
    EventType: "PointerEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0,
      composed: !0
    }
  },
  pointerLeave: {
    EventType: "PointerEvent",
    defaultInit: {
      bubbles: !1,
      cancelable: !1
    }
  },
  gotPointerCapture: {
    EventType: "PointerEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !1,
      composed: !0
    }
  },
  lostPointerCapture: {
    EventType: "PointerEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !1,
      composed: !0
    }
  },
  // history events
  popState: {
    EventType: "PopStateEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !1
    }
  },
  // window events
  offline: {
    EventType: "Event",
    defaultInit: {
      bubbles: !1,
      cancelable: !1
    }
  },
  online: {
    EventType: "Event",
    defaultInit: {
      bubbles: !1,
      cancelable: !1
    }
  },
  pageHide: {
    EventType: "PageTransitionEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0
    }
  },
  pageShow: {
    EventType: "PageTransitionEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0
    }
  }
}, wle = {
  doubleClick: "dblClick"
};
function dh(e, t) {
  return Ce().eventWrapper(() => {
    if (!t)
      throw new Error("Unable to fire an event - please provide an event object.");
    if (!e)
      throw new Error('Unable to fire a "' + t.type + '" event - please provide a DOM element.');
    return e.dispatchEvent(t);
  });
}
a(dh, "fireEvent");
function tS(e, t, r, n) {
  let {
    EventType: o = "Event",
    defaultInit: i = {}
  } = n === void 0 ? {} : n;
  if (!t)
    throw new Error('Unable to fire a "' + e + '" event - please provide a DOM element.');
  let s = {
    ...i,
    ...r
  }, {
    target: {
      value: l,
      files: u,
      ...c
    } = {}
  } = s;
  l !== void 0 && HZe(t, l), u !== void 0 && Object.defineProperty(t, "files", {
    configurable: !0,
    enumerable: !0,
    writable: !0,
    value: u
  }), Object.assign(t, c);
  let d = Ile(t), f = d[o] || d.Event, p;
  if (typeof f == "function")
    p = new f(e, s);
  else {
    p = d.document.createEvent(o);
    let {
      bubbles: v,
      cancelable: y,
      detail: b,
      ...g
    } = s;
    p.initEvent(e, v, y, b), Object.keys(g).forEach((w) => {
      p[w] = g[w];
    });
  }
  return ["dataTransfer", "clipboardData"].forEach((v) => {
    let y = s[v];
    typeof y == "object" && (typeof d.DataTransfer == "function" ? Object.defineProperty(p, v, {
      value: Object.getOwnPropertyNames(y).reduce((b, g) => (Object.defineProperty(b, g, {
        value: y[g]
      }), b), new d.DataTransfer())
    }) : Object.defineProperty(p, v, {
      value: y
    }));
  }), p;
}
a(tS, "createEvent");
Object.keys(ble).forEach((e) => {
  let {
    EventType: t,
    defaultInit: r
  } = ble[e], n = e.toLowerCase();
  tS[e] = (o, i) => tS(n, o, i, {
    EventType: t,
    defaultInit: r
  }), dh[e] = (o, i) => dh(o, tS[e](o, i));
});
function HZe(e, t) {
  let {
    set: r
  } = Object.getOwnPropertyDescriptor(e, "value") || {}, n = Object.getPrototypeOf(e), {
    set: o
  } = Object.getOwnPropertyDescriptor(n, "value") || {};
  if (o && r !== o)
    o.call(e, t);
  else if (r)
    r.call(e, t);
  else
    throw new Error("The given element does not have a value setter");
}
a(HZe, "setNativeValue");
Object.keys(wle).forEach((e) => {
  let t = wle[e];
  dh[e] = function() {
    return dh[t](...arguments);
  };
});
function zZe(e) {
  return e.replace(/[ \t]*[\n][ \t]*/g, `
`);
}
a(zZe, "unindent");
function UZe(e) {
  return Rle.default.compressToEncodedURIComponent(zZe(e));
}
a(UZe, "encode");
function VZe(e) {
  return "https://testing-playground.com/#markup=" + UZe(e);
}
a(VZe, "getPlaygroundUrl");
var WZe = /* @__PURE__ */ a((e, t, r) => Array.isArray(e) ? e.forEach((n) => P8(n, t, r)) : P8(e, t, r), "debug"), GZe = /* @__PURE__ */ a(function(e) {
  if (e === void 0 && (e = F8().body), !e || !("innerHTML" in e)) {
    console.log("The element you're providing isn't a valid DOM element.");
    return;
  }
  if (!e.innerHTML) {
    console.log("The provided element doesn't have any children.");
    return;
  }
  let t = VZe(e.innerHTML);
  return console.log(`Open this URL in your browser

` + t), t;
}, "logTestingPlaygroundURL"), Ele = {
  debug: WZe,
  logTestingPlaygroundURL: GZe
}, YZe = typeof document < "u" && document.body ? jue(document.body, nS, Ele) : Object.keys(nS).reduce((e, t) => (e[t] = () => {
  throw new TypeError("For queries bound to document.body a global document has to be available... Learn more: https://testing-library.com/s\
/screen-global-error");
}, e), Ele);

// ../node_modules/@testing-library/user-event/dist/esm/utils/misc/isElementType.js
function fe(e, t, r) {
  return e.namespaceURI && e.namespaceURI !== "http://www.w3.org/1999/xhtml" || (t = Array.isArray(t) ? t : [
    t
  ], !t.includes(e.tagName.toLowerCase())) ? !1 : r ? Object.entries(r).every(([n, o]) => e[n] === o) : !0;
}
a(fe, "isElementType");

// ../node_modules/@testing-library/user-event/dist/esm/utils/misc/getWindow.js
function gt(e) {
  var t;
  if (KZe(e) && e.defaultView)
    return e.defaultView;
  if (!((t = e.ownerDocument) === null || t === void 0) && t.defaultView)
    return e.ownerDocument.defaultView;
  throw new Error(`Could not determine window of node. Node was ${XZe(e)}`);
}
a(gt, "getWindow");
function KZe(e) {
  return e.nodeType === 9;
}
a(KZe, "isDocument");
function XZe(e) {
  return typeof e == "function" ? `function ${e.name}` : e === null ? "null" : String(e);
}
a(XZe, "describe");

// ../node_modules/@testing-library/user-event/dist/esm/utils/dataTransfer/Blob.js
function V8(e, t) {
  return new Promise((r, n) => {
    let o = new t();
    o.onerror = n, o.onabort = n, o.onload = () => {
      r(String(o.result));
    }, o.readAsText(e);
  });
}
a(V8, "readBlobText");

// ../node_modules/@testing-library/user-event/dist/esm/utils/dataTransfer/FileList.js
function hh(e, t) {
  let r = {
    ...t,
    length: t.length,
    item: /* @__PURE__ */ a((n) => r[n], "item"),
    [Symbol.iterator]: /* @__PURE__ */ a(function* () {
      for (let o = 0; o < r.length; o++)
        yield r[o];
    }, "nextFile")
  };
  return r.constructor = e.FileList, e.FileList && Object.setPrototypeOf(r, e.FileList.prototype), Object.freeze(r), r;
}
a(hh, "createFileList");

// ../node_modules/@testing-library/user-event/dist/esm/utils/dataTransfer/DataTransfer.js
function qs(e, t, r) {
  return t in e ? Object.defineProperty(e, t, {
    value: r,
    enumerable: !0,
    configurable: !0,
    writable: !0
  }) : e[t] = r, e;
}
a(qs, "_define_property");
var G8 = class G8 {
  getAsFile() {
    return this.file;
  }
  getAsString(t) {
    typeof this.data == "string" && t(this.data);
  }
  /* istanbul ignore next */
  webkitGetAsEntry() {
    throw new Error("not implemented");
  }
  constructor(t, r) {
    qs(this, "kind", void 0), qs(this, "type", void 0), qs(this, "file", null), qs(this, "data", void 0), typeof t == "string" ? (this.kind =
    "string", this.type = String(r), this.data = t) : (this.kind = "file", this.type = t.type, this.file = t);
  }
};
a(G8, "DataTransferItemStub");
var lS = G8, Y8 = class Y8 extends Array {
  add(...t) {
    let r = new lS(t[0], t[1]);
    return this.push(r), r;
  }
  clear() {
    this.splice(0, this.length);
  }
  remove(t) {
    this.splice(t, 1);
  }
};
a(Y8, "DataTransferItemListStub");
var W8 = Y8;
function sS(e, t) {
  let [r, n] = e.split("/"), o = !n || n === "*";
  return (i) => t ? i.type === (o ? r : e) : o ? i.type.startsWith(`${r}/`) : i.type === r;
}
a(sS, "getTypeMatcher");
function JZe(e) {
  var t;
  return new (t = class {
    getData(n) {
      var o;
      let i = (o = this.items.find(sS(n, !0))) !== null && o !== void 0 ? o : this.items.find(sS(n, !1)), s = "";
      return i?.getAsString((l) => {
        s = l;
      }), s;
    }
    setData(n, o) {
      let i = this.items.findIndex(sS(n, !0)), s = new lS(o, n);
      i >= 0 ? this.items.splice(i, 1, s) : this.items.push(s);
    }
    clearData(n) {
      if (n) {
        let o = this.items.findIndex(sS(n, !0));
        o >= 0 && this.items.remove(o);
      } else
        this.items.clear();
    }
    get types() {
      let n = [];
      return this.files.length && n.push("Files"), this.items.forEach((o) => n.push(o.type)), Object.freeze(n), n;
    }
    /* istanbul ignore next */
    setDragImage() {
    }
    constructor() {
      qs(this, "dropEffect", "none"), qs(this, "effectAllowed", "uninitialized"), qs(this, "items", new W8()), qs(this, "files", hh(e, []));
    }
  }, a(t, "DataTransferStub"), t)();
}
a(JZe, "createDataTransferStub");
function Bd(e, t = []) {
  let r = typeof e.DataTransfer > "u" ? JZe(e) : (
    /* istanbul ignore next */
    new e.DataTransfer()
  );
  return Object.defineProperty(r, "files", {
    get: /* @__PURE__ */ a(() => hh(e, t), "get")
  }), r;
}
a(Bd, "createDataTransfer");
async function $ue(e, t) {
  return t.kind === "file" ? t.getAsFile() : new e.Blob([
    await new Promise((r) => t.getAsString(r))
  ], {
    type: t.type
  });
}
a($ue, "getBlobFromDataTransferItem");

// ../node_modules/@testing-library/user-event/dist/esm/utils/dataTransfer/Clipboard.js
function zue(e, t, r) {
  return t in e ? Object.defineProperty(e, t, {
    value: r,
    enumerable: !0,
    configurable: !0,
    writable: !0
  }) : e[t] = r, e;
}
a(zue, "_define_property");
function Uue(e, ...t) {
  var n;
  let r = Object.fromEntries(t.map((o) => [
    typeof o == "string" ? "text/plain" : o.type,
    Promise.resolve(o)
  ]));
  return typeof e.ClipboardItem < "u" ? new e.ClipboardItem(r) : new (n = class {
    get types() {
      return Array.from(Object.keys(this.data));
    }
    async getType(i) {
      let s = await this.data[i];
      if (!s)
        throw new Error(`${i} is not one of the available MIME types on this item.`);
      return s instanceof e.Blob ? s : new e.Blob([
        s
      ], {
        type: i
      });
    }
    constructor(i) {
      zue(this, "data", void 0), this.data = i;
    }
  }, a(n, "ClipboardItem"), n)(r);
}
a(Uue, "createClipboardItem");
var $d = Symbol("Manage ClipboardSub");
function Hue(e, t) {
  var r;
  return Object.assign(new (r = class extends e.EventTarget {
    async read() {
      return Array.from(this.items);
    }
    async readText() {
      let o = "";
      for (let i of this.items) {
        let s = i.types.includes("text/plain") ? "text/plain" : i.types.find((l) => l.startsWith("text/"));
        s && (o += await i.getType(s).then((l) => V8(l, e.FileReader)));
      }
      return o;
    }
    async write(o) {
      this.items = o;
    }
    async writeText(o) {
      this.items = [
        Uue(e, o)
      ];
    }
    constructor(...o) {
      super(...o), zue(this, "items", []);
    }
  }, a(r, "Clipboard"), r)(), {
    [$d]: t
  });
}
a(Hue, "createClipboardStub");
function K8(e) {
  return !!e?.[$d];
}
a(K8, "isClipboardStub");
function Vue(e) {
  if (K8(e.navigator.clipboard))
    return e.navigator.clipboard[$d];
  let t = Object.getOwnPropertyDescriptor(e.navigator, "clipboard"), r, n = {
    resetClipboardStub: /* @__PURE__ */ a(() => {
      r = Hue(e, n);
    }, "resetClipboardStub"),
    detachClipboardStub: /* @__PURE__ */ a(() => {
      t ? Object.defineProperty(e.navigator, "clipboard", t) : Object.defineProperty(e.navigator, "clipboard", {
        value: void 0,
        configurable: !0
      });
    }, "detachClipboardStub")
  };
  return r = Hue(e, n), Object.defineProperty(e.navigator, "clipboard", {
    get: /* @__PURE__ */ a(() => r, "get"),
    configurable: !0
  }), r[$d];
}
a(Vue, "attachClipboardStubToView");
function QZe(e) {
  K8(e.navigator.clipboard) && e.navigator.clipboard[$d].resetClipboardStub();
}
a(QZe, "resetClipboardStubOnView");
function ZZe(e) {
  K8(e.navigator.clipboard) && e.navigator.clipboard[$d].detachClipboardStub();
}
a(ZZe, "detachClipboardStubFromView");
async function Wue(e) {
  let t = e.defaultView, r = t?.navigator.clipboard, n = r && await r.read();
  if (!n)
    throw new Error("The Clipboard API is unavailable.");
  let o = Bd(t);
  for (let i of n)
    for (let s of i.types)
      o.setData(s, await i.getType(s).then((l) => V8(l, t.FileReader)));
  return o;
}
a(Wue, "readDataTransferFromClipboard");
async function cS(e, t) {
  let r = gt(e), n = r.navigator.clipboard, o = [];
  for (let s = 0; s < t.items.length; s++) {
    let l = t.items[s], u = await $ue(r, l);
    o.push(Uue(r, u));
  }
  if (!(n && await n.write(o).then(
    () => !0,
    // Can happen with other implementations that e.g. require permissions
    /* istanbul ignore next */
    () => !1
  )))
    throw new Error("The Clipboard API is unavailable.");
}
a(cS, "writeDataTransferToClipboard");
var uS = globalThis;
typeof uS.afterEach == "function" && uS.afterEach(() => {
  typeof globalThis.window < "u" && QZe(globalThis.window);
});
typeof uS.afterAll == "function" && uS.afterAll(() => {
  typeof globalThis.window < "u" && ZZe(globalThis.window);
});

// ../node_modules/@testing-library/user-event/dist/esm/utils/focus/selector.js
var dS = [
  "input:not([type=hidden]):not([disabled])",
  "button:not([disabled])",
  "select:not([disabled])",
  "textarea:not([disabled])",
  '[contenteditable=""]',
  '[contenteditable="true"]',
  "a[href]",
  "[tabindex]:not([disabled])"
].join(", ");

// ../node_modules/@testing-library/user-event/dist/esm/utils/focus/isFocusable.js
function gh(e) {
  return e.matches(dS);
}
a(gh, "isFocusable");

// ../node_modules/@testing-library/user-event/dist/esm/utils/misc/cloneEvent.js
function Gue(e) {
  return new e.constructor(e.type, e);
}
a(Gue, "cloneEvent");

// ../node_modules/@testing-library/user-event/dist/esm/utils/misc/isDisabled.js
function Tr(e) {
  for (let r = e; r; r = r.parentElement)
    if (fe(r, [
      "button",
      "input",
      "select",
      "textarea",
      "optgroup",
      "option"
    ])) {
      if (r.hasAttribute("disabled"))
        return !0;
    } else if (fe(r, "fieldset")) {
      var t;
      if (r.hasAttribute("disabled") && !(!((t = r.querySelector(":scope > legend")) === null || t === void 0) && t.contains(e)))
        return !0;
    } else if (r.tagName.includes("-") && r.constructor.formAssociated && r.hasAttribute("disabled"))
      return !0;
  return !1;
}
a(Tr, "isDisabled");

// ../node_modules/@testing-library/user-event/dist/esm/utils/focus/getActiveElement.js
function iu(e) {
  let t = e.activeElement;
  return t?.shadowRoot ? iu(t.shadowRoot) : Tr(t) ? e.ownerDocument ? (
    /* istanbul ignore next */
    e.ownerDocument.body
  ) : e.body : t;
}
a(iu, "getActiveElement");
function fS(e) {
  var t;
  return (t = iu(e)) !== null && t !== void 0 ? t : (
    /* istanbul ignore next */
    e.body
  );
}
a(fS, "getActiveElementOrBody");

// ../node_modules/@testing-library/user-event/dist/esm/utils/misc/findClosest.js
function Yue(e, t) {
  let r = e;
  do {
    if (t(r))
      return r;
    r = r.parentElement;
  } while (r && r !== e.ownerDocument.body);
}
a(Yue, "findClosest");

// ../node_modules/@testing-library/user-event/dist/esm/utils/edit/isContentEditable.js
function In(e) {
  return e.hasAttribute("contenteditable") && (e.getAttribute("contenteditable") == "true" || e.getAttribute("contenteditable") == "");
}
a(In, "isContentEditable");
function Ds(e) {
  let t = eet(e);
  return t && (t.closest('[contenteditable=""]') || t.closest('[contenteditable="true"]'));
}
a(Ds, "getContentEditable");
function eet(e) {
  return e.nodeType === 1 ? e : e.parentElement;
}
a(eet, "getElement");

// ../node_modules/@testing-library/user-event/dist/esm/utils/click/isClickableInput.js
var Kue = /* @__PURE__ */ function(e) {
  return e.button = "button", e.color = "color", e.file = "file", e.image = "image", e.reset = "reset", e.submit = "submit", e.checkbox = "c\
heckbox", e.radio = "radio", e;
}(Kue || {});
function pS(e) {
  return fe(e, "button") || fe(e, "input") && e.type in Kue;
}
a(pS, "isClickableInput");

// ../node_modules/@testing-library/user-event/dist/esm/utils/edit/isEditable.js
function Qo(e) {
  return X8(e) && !e.readOnly || In(e);
}
a(Qo, "isEditable");
var Xue = /* @__PURE__ */ function(e) {
  return e.text = "text", e.date = "date", e["datetime-local"] = "datetime-local", e.email = "email", e.month = "month", e.number = "number",
  e.password = "password", e.search = "search", e.tel = "tel", e.time = "time", e.url = "url", e.week = "week", e;
}(Xue || {});
function X8(e) {
  return fe(e, "textarea") || fe(e, "input") && e.type in Xue;
}
a(X8, "isEditableInputOrTextArea");

// ../node_modules/@testing-library/user-event/dist/esm/utils/focus/selection.js
function Vt(e) {
  return Que(e) && X8(e);
}
a(Vt, "hasOwnSelection");
function Jue(e) {
  return Que(e) && pS(e);
}
a(Jue, "hasNoSelection");
function Que(e) {
  return e.nodeType === 1;
}
a(Que, "isElement");

// ../node_modules/@testing-library/user-event/dist/esm/event/selection/updateSelectionOnFocus.js
function Zue(e) {
  let t = e.ownerDocument.getSelection();
  if (t?.focusNode && Vt(e)) {
    let n = Ds(t.focusNode);
    if (n) {
      if (!t.isCollapsed) {
        var r;
        let o = ((r = n.firstChild) === null || r === void 0 ? void 0 : r.nodeType) === 3 ? n.firstChild : n;
        t.setBaseAndExtent(o, 0, o, 0);
      }
    } else
      t.setBaseAndExtent(e, 0, e, 0);
  }
}
a(Zue, "updateSelectionOnFocus");

// ../node_modules/@testing-library/user-event/dist/esm/event/wrapEvent.js
function Fs(e, t) {
  return Ce().eventWrapper(e);
}
a(Fs, "wrapEvent");

// ../node_modules/@testing-library/user-event/dist/esm/event/focus.js
function cn(e) {
  let t = Yue(e, gh), r = iu(e.ownerDocument);
  (t ?? e.ownerDocument.body) !== r && (t ? Fs(() => t.focus()) : Fs(() => r?.blur()), Zue(t ?? e.ownerDocument.body));
}
a(cn, "focusElement");
function ece(e) {
  !gh(e) || !(iu(e.ownerDocument) === e) || Fs(() => e.blur());
}
a(ece, "blurElement");

// ../node_modules/@testing-library/user-event/dist/esm/event/behavior/registry.js
var Vr = {};

// ../node_modules/@testing-library/user-event/dist/esm/event/behavior/click.js
Vr.click = (e, t, r) => {
  let n = t.closest("button,input,label,select,textarea"), o = n && fe(n, "label") && n.control;
  if (o && o !== t)
    return () => {
      gh(o) && (cn(o), r.dispatchEvent(o, Gue(e)));
    };
  if (fe(t, "input", {
    type: "file"
  }))
    return () => {
      ece(t), t.dispatchEvent(new (gt(t)).Event("fileDialog")), cn(t);
    };
};

// ../node_modules/@testing-library/user-event/dist/esm/document/UI.js
var Hd = Symbol("Displayed value in UI"), ui = Symbol("Displayed selection in UI"), mS = Symbol("Initial value to compare on blur");
function tce(e) {
  return typeof e == "object" && Hd in e;
}
a(tce, "isUIValue");
function rce(e) {
  return !!e && typeof e == "object" && ui in e;
}
a(rce, "isUISelectionStart");
function nce(e, t) {
  e[mS] === void 0 && (e[mS] = e.value), e[Hd] = t, e.value = Object.assign(new String(t), {
    [Hd]: !0
  });
}
a(nce, "setUIValue");
function nr(e) {
  return e[Hd] === void 0 ? e.value : String(e[Hd]);
}
a(nr, "getUIValue");
function yh(e) {
  e[Hd] = void 0;
}
a(yh, "setUIValueClean");
function hS(e) {
  e[mS] = void 0;
}
a(hS, "clearInitialValue");
function oce(e) {
  return e[mS];
}
a(oce, "getInitialValue");
function ace(e, t) {
  e[ui] = t;
}
a(ace, "setUISelectionRaw");
function Zo(e, { focusOffset: t, anchorOffset: r = t }, n = "replace") {
  let o = nr(e).length, i = /* @__PURE__ */ a((f) => Math.max(0, Math.min(o, f)), "sanitizeOffset"), s = n === "replace" || e[ui] === void 0 ?
  i(r) : e[ui].anchorOffset, l = i(t), u = Math.min(s, l), c = Math.max(s, l);
  if (e[ui] = {
    anchorOffset: s,
    focusOffset: l
  }, e.selectionStart === u && e.selectionEnd === c)
    return;
  let d = Object.assign(new Number(u), {
    [ui]: !0
  });
  try {
    e.setSelectionRange(d, c);
  } catch {
  }
}
a(Zo, "setUISelection");
function ci(e) {
  var t, r, n;
  let o = (n = e[ui]) !== null && n !== void 0 ? n : {
    anchorOffset: (t = e.selectionStart) !== null && t !== void 0 ? t : 0,
    focusOffset: (r = e.selectionEnd) !== null && r !== void 0 ? r : 0
  };
  return {
    ...o,
    startOffset: Math.min(o.anchorOffset, o.focusOffset),
    endOffset: Math.max(o.anchorOffset, o.focusOffset)
  };
}
a(ci, "getUISelection");
function ice(e) {
  return !!e[ui];
}
a(ice, "hasUISelection");
function vh(e) {
  e[ui] = void 0;
}
a(vh, "setUISelectionClean");

// ../node_modules/@testing-library/user-event/dist/esm/utils/edit/timeValue.js
var gS = globalThis.parseInt;
function lce(e) {
  let t = e.replace(/\D/g, "");
  if (t.length < 2)
    return e;
  let r = gS(t[0], 10), n = gS(t[1], 10);
  if (r >= 3 || r === 2 && n >= 4) {
    let o;
    return r >= 3 ? o = 1 : o = 2, sce(t, o);
  }
  return e.length === 2 ? e : sce(t, 2);
}
a(lce, "buildTimeValue");
function sce(e, t) {
  let r = e.slice(0, t), n = Math.min(gS(r, 10), 23), o = e.slice(t), i = gS(o, 10), s = Math.min(i, 59);
  return `${n.toString().padStart(2, "0")}:${s.toString().padStart(2, "0")}`;
}
a(sce, "build");
function J8(e, t) {
  let r = e.cloneNode();
  return r.value = t, r.value === t;
}
a(J8, "isValidDateOrTimeValue");

// ../node_modules/@testing-library/user-event/dist/esm/utils/edit/maxLength.js
var uce = /* @__PURE__ */ function(e) {
  return e.email = "email", e.password = "password", e.search = "search", e.telephone = "telephone", e.text = "text", e.url = "url", e;
}(uce || {});
function cce(e) {
  var t;
  let r = (t = e.getAttribute("maxlength")) !== null && t !== void 0 ? t : "";
  return /^\d+$/.test(r) && Number(r) >= 0 ? Number(r) : void 0;
}
a(cce, "getMaxLength");
function dce(e) {
  return fe(e, "textarea") || fe(e, "input") && e.type in uce;
}
a(dce, "supportsMaxLength");

// ../node_modules/@testing-library/user-event/dist/esm/utils/focus/cursor.js
function bS(e, t, r, n) {
  if (vS(e) && t + r >= 0 && t + r <= e.nodeValue.length)
    return {
      node: e,
      offset: t + r
    };
  let o = fce(e, t, r);
  if (o) {
    if (vS(o))
      return {
        node: o,
        offset: r > 0 ? Math.min(1, o.nodeValue.length) : Math.max(o.nodeValue.length - 1, 0)
      };
    if (fe(o, "br")) {
      let i = fce(o, void 0, r);
      return i ? vS(i) ? {
        node: i,
        offset: r > 0 ? 0 : i.nodeValue.length
      } : r < 0 && fe(i, "br") ? {
        node: o.parentNode,
        offset: yS(o)
      } : {
        node: i.parentNode,
        offset: yS(i) + (r > 0 ? 0 : 1)
      } : r < 0 && n === "deleteContentBackward" ? {
        node: o.parentNode,
        offset: yS(o)
      } : void 0;
    } else
      return {
        node: o.parentNode,
        offset: yS(o) + (r > 0 ? 1 : 0)
      };
  }
}
a(bS, "getNextCursorPosition");
function fce(e, t, r) {
  let n = Number(t) + (r < 0 ? -1 : 0);
  return t !== void 0 && Q8(e) && n >= 0 && n < e.children.length && (e = e.children[n]), ret(e, r === 1 ? "next" : "previous", tet);
}
a(fce, "getNextCharacterContentNode");
function tet(e) {
  if (vS(e))
    return !0;
  if (Q8(e)) {
    if (fe(e, [
      "input",
      "textarea"
    ]))
      return e.type !== "hidden";
    if (fe(e, "br"))
      return !0;
  }
  return !1;
}
a(tet, "isTreatedAsCharacterContent");
function yS(e) {
  let t = 0;
  for (; e.previousSibling; )
    t++, e = e.previousSibling;
  return t;
}
a(yS, "getOffset");
function Q8(e) {
  return e.nodeType === 1;
}
a(Q8, "isElement");
function vS(e) {
  return e.nodeType === 3;
}
a(vS, "isTextNode");
function ret(e, t, r) {
  for (; ; ) {
    var n;
    let o = e[`${t}Sibling`];
    if (o) {
      if (e = net(o, t === "next" ? "first" : "last"), r(e))
        return e;
    } else if (e.parentNode && (!Q8(e.parentNode) || !In(e.parentNode) && e.parentNode !== ((n = e.ownerDocument) === null || n === void 0 ?
    void 0 : n.body)))
      e = e.parentNode;
    else
      break;
  }
}
a(ret, "walkNodes");
function net(e, t) {
  for (; e.hasChildNodes(); )
    e = e[`${t}Child`];
  return e;
}
a(net, "getDescendant");

// ../node_modules/@testing-library/user-event/dist/esm/document/trackValue.js
var bh = Symbol("Track programmatic changes for React workaround");
function oet(e) {
  return Object.getOwnPropertyNames(e).some((t) => t.startsWith("__react")) && gt(e).REACT_VERSION === 17;
}
a(oet, "isReact17Element");
function pce(e) {
  oet(e) && (e[bh] = {
    previousValue: String(e.value),
    tracked: []
  });
}
a(pce, "startTrackValue");
function mce(e, t) {
  var r, n;
  (n = e[bh]) === null || n === void 0 || (r = n.tracked) === null || r === void 0 || r.push(t), e[bh] || (yh(e), Zo(e, {
    focusOffset: t.length
  }));
}
a(mce, "trackOrSetValue");
function hce(e, t) {
  var r;
  let n = e[bh];
  if (e[bh] = void 0, !(!(n == null || (r = n.tracked) === null || r === void 0) && r.length))
    return;
  let o = n.tracked.length === 2 && n.tracked[0] === n.previousValue && n.tracked[1] === e.value;
  o || yh(e), ice(e) && Zo(e, {
    focusOffset: o ? t : e.value.length
  });
}
a(hce, "commitValueAfterInput");

// ../node_modules/@testing-library/user-event/dist/esm/event/selection/getTargetTypeAndSelection.js
function wS(e) {
  let t = aet(e);
  if (t && Vt(t))
    return {
      type: "input",
      selection: ci(t)
    };
  let r = t?.ownerDocument.getSelection();
  return {
    type: Ds(e) && r?.anchorNode && Ds(r.anchorNode) ? "contenteditable" : "default",
    selection: r
  };
}
a(wS, "getTargetTypeAndSelection");
function aet(e) {
  return e.nodeType === 1 ? e : e.parentElement;
}
a(aet, "getElement");

// ../node_modules/@testing-library/user-event/dist/esm/event/selection/getInputRange.js
function gce(e) {
  let t = wS(e);
  if (t.type === "input")
    return t.selection;
  if (t.type === "contenteditable") {
    var r;
    return (r = t.selection) === null || r === void 0 ? void 0 : r.getRangeAt(0);
  }
}
a(gce, "getInputRange");

// ../node_modules/@testing-library/user-event/dist/esm/event/selection/setSelection.js
function ea({ focusNode: e, focusOffset: t, anchorNode: r = e, anchorOffset: n = t }) {
  var o, i;
  if (wS(e).type === "input")
    return Zo(e, {
      anchorOffset: n,
      focusOffset: t
    });
  (i = r.ownerDocument) === null || i === void 0 || (o = i.getSelection()) === null || o === void 0 || o.setBaseAndExtent(r, n, e, t);
}
a(ea, "setSelection");

// ../node_modules/@testing-library/user-event/dist/esm/event/input.js
function vce(e) {
  return fe(e, "input") && [
    "date",
    "time"
  ].includes(e.type);
}
a(vce, "isDateOrTime");
function ta(e, t, r, n = "insertText") {
  let o = gce(t);
  o && (!vce(t) && !e.dispatchUIEvent(t, "beforeinput", {
    inputType: n,
    data: r
  }) || ("startContainer" in o ? iet(e, t, o, r, n) : set(e, t, o, r, n)));
}
a(ta, "input");
function iet(e, t, r, n, o) {
  let i = !1;
  if (!r.collapsed)
    i = !0, r.deleteContents();
  else if ([
    "deleteContentBackward",
    "deleteContentForward"
  ].includes(o)) {
    let s = bS(r.startContainer, r.startOffset, o === "deleteContentBackward" ? -1 : 1, o);
    if (s) {
      i = !0;
      let l = r.cloneRange();
      l.comparePoint(s.node, s.offset) < 0 ? l.setStart(s.node, s.offset) : l.setEnd(s.node, s.offset), l.deleteContents();
    }
  }
  if (n)
    if (r.endContainer.nodeType === 3) {
      let s = r.endOffset;
      r.endContainer.insertData(s, n), r.setStart(r.endContainer, s + n.length), r.setEnd(r.endContainer, s + n.length);
    } else {
      let s = t.ownerDocument.createTextNode(n);
      r.insertNode(s), r.setStart(s, n.length), r.setEnd(s, n.length);
    }
  (i || n) && e.dispatchUIEvent(t, "input", {
    inputType: o
  });
}
a(iet, "editContenteditable");
function set(e, t, r, n, o) {
  let i = n;
  if (dce(t)) {
    let c = cce(t);
    if (c !== void 0 && n.length > 0) {
      let d = c - t.value.length;
      if (d > 0)
        i = n.substring(0, d);
      else
        return;
    }
  }
  let { newValue: s, newOffset: l, oldValue: u } = uet(i, t, r, o);
  s === u && l === r.startOffset && l === r.endOffset || fe(t, "input", {
    type: "number"
  }) && !cet(s) || (nce(t, s), ea({
    focusNode: t,
    anchorOffset: l,
    focusOffset: l
  }), vce(t) ? J8(t, s) && (yce(e, t, l, {}), e.dispatchUIEvent(t, "change"), hS(t)) : yce(e, t, l, {
    data: n,
    inputType: o
  }));
}
a(set, "editInputElement");
function uet(e, t, { startOffset: r, endOffset: n }, o) {
  let i = nr(t), s = Math.max(0, r === n && o === "deleteContentBackward" ? r - 1 : r), l = i.substring(0, s), u = Math.min(i.length, r === n &&
  o === "deleteContentForward" ? r + 1 : n), c = i.substring(u, i.length), d = `${l}${e}${c}`, f = s + e.length;
  if (fe(t, "input", {
    type: "time"
  })) {
    let p = lce(d);
    p !== "" && J8(t, p) && (d = p, f = p.length);
  }
  return {
    oldValue: i,
    newValue: d,
    newOffset: f
  };
}
a(uet, "calculateNewValue");
function yce(e, t, r, n) {
  e.dispatchUIEvent(t, "input", n), hce(t, r);
}
a(yce, "commitInput");
function cet(e) {
  var t, r;
  let n = e.split("e", 2);
  return !(/[^\d.\-e]/.test(e) || Number((t = e.match(/-/g)) === null || t === void 0 ? void 0 : t.length) > 2 || Number((r = e.match(/\./g)) ===
  null || r === void 0 ? void 0 : r.length) > 1 || n[1] && !/^-?\d*$/.test(n[1]));
}
a(cet, "isValidNumberInput");

// ../node_modules/@testing-library/user-event/dist/esm/event/behavior/cut.js
Vr.cut = (e, t, r) => () => {
  Qo(t) && ta(r, t, "", "deleteByCut");
};

// ../node_modules/@testing-library/user-event/dist/esm/document/getValueOrTextContent.js
function bce(e) {
  return e ? In(e) ? e.textContent : nr(e) : null;
}
a(bce, "getValueOrTextContent");

// ../node_modules/@testing-library/user-event/dist/esm/utils/misc/isVisible.js
function wce(e) {
  let t = gt(e);
  for (let r = e; r?.ownerDocument; r = r.parentElement) {
    let { display: n, visibility: o } = t.getComputedStyle(r);
    if (n === "none" || o === "hidden")
      return !1;
  }
  return !0;
}
a(wce, "isVisible");

// ../node_modules/@testing-library/user-event/dist/esm/utils/focus/getTabDestination.js
function Ece(e, t) {
  let r = e.ownerDocument, n = r.querySelectorAll(dS), o = Array.from(n).filter((u) => u === e || !(Number(u.getAttribute("tabindex")) < 0 ||
  Tr(u)));
  Number(e.getAttribute("tabindex")) >= 0 && o.sort((u, c) => {
    let d = Number(u.getAttribute("tabindex")), f = Number(c.getAttribute("tabindex"));
    return d === f ? 0 : d === 0 ? 1 : f === 0 ? -1 : d - f;
  });
  let i = {}, s = [
    r.body
  ], l = fe(e, "input", {
    type: "radio"
  }) ? e.name : void 0;
  o.forEach((u) => {
    let c = u;
    if (fe(c, "input", {
      type: "radio"
    }) && c.name) {
      if (c === e) {
        s.push(c);
        return;
      } else if (c.name === l)
        return;
      if (c.checked) {
        s = s.filter((d) => !fe(d, "input", {
          type: "radio",
          name: c.name
        })), s.push(c), i[c.name] = c;
        return;
      }
      if (typeof i[c.name] < "u")
        return;
    }
    s.push(c);
  });
  for (let u = s.findIndex((c) => c === e); ; )
    if (u += t ? -1 : 1, u === s.length ? u = 0 : u === -1 && (u = s.length - 1), s[u] === e || s[u] === r.body || wce(s[u]))
      return s[u];
}
a(Ece, "getTabDestination");

// ../node_modules/@testing-library/user-event/dist/esm/event/selection/moveSelection.js
function Z8(e, t) {
  if (Vt(e)) {
    let r = ci(e);
    ea({
      focusNode: e,
      focusOffset: r.startOffset === r.endOffset ? r.focusOffset + t : t < 0 ? r.startOffset : r.endOffset
    });
  } else {
    let r = e.ownerDocument.getSelection();
    if (!r?.focusNode)
      return;
    if (r.isCollapsed) {
      let n = bS(r.focusNode, r.focusOffset, t);
      n && ea({
        focusNode: n.node,
        focusOffset: n.offset
      });
    } else
      r[t < 0 ? "collapseToStart" : "collapseToEnd"]();
  }
}
a(Z8, "moveSelection");

// ../node_modules/@testing-library/user-event/dist/esm/event/selection/selectAll.js
function ES(e) {
  if (Vt(e))
    return ea({
      focusNode: e,
      anchorOffset: 0,
      focusOffset: nr(e).length
    });
  var t;
  let r = (t = Ds(e)) !== null && t !== void 0 ? t : e.ownerDocument.body;
  ea({
    focusNode: r,
    anchorOffset: 0,
    focusOffset: r.childNodes.length
  });
}
a(ES, "selectAll");
function Rce(e) {
  if (Vt(e))
    return ci(e).startOffset === 0 && ci(e).endOffset === nr(e).length;
  var t;
  let r = (t = Ds(e)) !== null && t !== void 0 ? t : e.ownerDocument.body, n = e.ownerDocument.getSelection();
  return n?.anchorNode === r && n.focusNode === r && n.anchorOffset === 0 && n.focusOffset === r.childNodes.length;
}
a(Rce, "isAllSelected");

// ../node_modules/@testing-library/user-event/dist/esm/event/selection/setSelectionRange.js
function su(e, t, r) {
  var n;
  if (Vt(e))
    return ea({
      focusNode: e,
      anchorOffset: t,
      focusOffset: r
    });
  if (In(e) && ((n = e.firstChild) === null || n === void 0 ? void 0 : n.nodeType) === 3)
    return ea({
      focusNode: e.firstChild,
      anchorOffset: t,
      focusOffset: r
    });
  throw new Error("Not implemented. The result of this interaction is unreliable.");
}
a(su, "setSelectionRange");

// ../node_modules/@testing-library/user-event/dist/esm/event/radio.js
function wh(e, t, r) {
  let n = gt(t), o = Array.from(t.ownerDocument.querySelectorAll(t.name ? `input[type="radio"][name="${n.CSS.escape(t.name)}"]` : 'input[typ\
e="radio"][name=""], input[type="radio"]:not([name])'));
  for (let i = o.findIndex((s) => s === t) + r; ; i += r) {
    if (o[i] || (i = r > 0 ? 0 : o.length - 1), o[i] === t)
      return;
    if (!Tr(o[i])) {
      cn(o[i]), e.dispatchUIEvent(o[i], "click");
      return;
    }
  }
}
a(wh, "walkRadio");

// ../node_modules/@testing-library/user-event/dist/esm/event/behavior/keydown.js
Vr.keydown = (e, t, r) => {
  var n, o;
  return (o = (n = xce[e.key]) === null || n === void 0 ? void 0 : n.call(xce, e, t, r)) !== null && o !== void 0 ? o : det(e, t, r);
};
var xce = {
  ArrowDown: /* @__PURE__ */ a((e, t, r) => {
    if (fe(t, "input", {
      type: "radio"
    }))
      return () => wh(r, t, 1);
  }, "ArrowDown"),
  ArrowLeft: /* @__PURE__ */ a((e, t, r) => fe(t, "input", {
    type: "radio"
  }) ? () => wh(r, t, -1) : () => Z8(t, -1), "ArrowLeft"),
  ArrowRight: /* @__PURE__ */ a((e, t, r) => fe(t, "input", {
    type: "radio"
  }) ? () => wh(r, t, 1) : () => Z8(t, 1), "ArrowRight"),
  ArrowUp: /* @__PURE__ */ a((e, t, r) => {
    if (fe(t, "input", {
      type: "radio"
    }))
      return () => wh(r, t, -1);
  }, "ArrowUp"),
  Backspace: /* @__PURE__ */ a((e, t, r) => {
    if (Qo(t))
      return () => {
        ta(r, t, "", "deleteContentBackward");
      };
  }, "Backspace"),
  Delete: /* @__PURE__ */ a((e, t, r) => {
    if (Qo(t))
      return () => {
        ta(r, t, "", "deleteContentForward");
      };
  }, "Delete"),
  End: /* @__PURE__ */ a((e, t) => {
    if (fe(t, [
      "input",
      "textarea"
    ]) || In(t))
      return () => {
        var r, n;
        let o = (n = (r = bce(t)) === null || r === void 0 ? void 0 : r.length) !== null && n !== void 0 ? n : (
          /* istanbul ignore next */
          0
        );
        su(t, o, o);
      };
  }, "End"),
  Home: /* @__PURE__ */ a((e, t) => {
    if (fe(t, [
      "input",
      "textarea"
    ]) || In(t))
      return () => {
        su(t, 0, 0);
      };
  }, "Home"),
  PageDown: /* @__PURE__ */ a((e, t) => {
    if (fe(t, [
      "input"
    ]))
      return () => {
        let r = nr(t).length;
        su(t, r, r);
      };
  }, "PageDown"),
  PageUp: /* @__PURE__ */ a((e, t) => {
    if (fe(t, [
      "input"
    ]))
      return () => {
        su(t, 0, 0);
      };
  }, "PageUp"),
  Tab: /* @__PURE__ */ a((e, t, r) => () => {
    let n = Ece(t, r.system.keyboard.modifiers.Shift);
    cn(n), Vt(n) && Zo(n, {
      anchorOffset: 0,
      focusOffset: n.value.length
    });
  }, "Tab")
}, det = /* @__PURE__ */ a((e, t, r) => {
  if (e.code === "KeyA" && r.system.keyboard.modifiers.Control)
    return () => ES(t);
}, "combinationBehavior");

// ../node_modules/@testing-library/user-event/dist/esm/event/behavior/keypress.js
Vr.keypress = (e, t, r) => {
  if (e.key === "Enter") {
    if (fe(t, "button") || fe(t, "input") && fet.includes(t.type) || fe(t, "a") && t.href)
      return () => {
        r.dispatchUIEvent(t, "click");
      };
    if (fe(t, "input")) {
      let n = t.form, o = n?.querySelector('input[type="submit"], button:not([type]), button[type="submit"]');
      return o ? () => r.dispatchUIEvent(o, "click") : n && pet.includes(t.type) && n.querySelectorAll("input").length === 1 ? () => r.dispatchUIEvent(
      n, "submit") : void 0;
    }
  }
  if (Qo(t)) {
    let n = e.key === "Enter" ? In(t) && !r.system.keyboard.modifiers.Shift ? "insertParagraph" : "insertLineBreak" : "insertText", o = e.key ===
    "Enter" ? `
` : e.key;
    return () => ta(r, t, o, n);
  }
};
var fet = [
  "button",
  "color",
  "file",
  "image",
  "reset",
  "submit"
], pet = [
  "email",
  "month",
  "password",
  "search",
  "tel",
  "text",
  "url",
  "week"
];

// ../node_modules/@testing-library/user-event/dist/esm/event/behavior/keyup.js
Vr.keyup = (e, t, r) => {
  var n;
  return (n = Sce[e.key]) === null || n === void 0 ? void 0 : n.call(Sce, e, t, r);
};
var Sce = {
  " ": /* @__PURE__ */ a((e, t, r) => {
    if (pS(t))
      return () => r.dispatchUIEvent(t, "click");
  }, " ")
};

// ../node_modules/@testing-library/user-event/dist/esm/event/behavior/paste.js
Vr.paste = (e, t, r) => {
  if (Qo(t))
    return () => {
      var n;
      let o = (n = e.clipboardData) === null || n === void 0 ? void 0 : n.getData("text");
      o && ta(r, t, o, "insertFromPaste");
    };
};

// ../node_modules/@testing-library/user-event/dist/esm/event/eventMap.js
var eM = {
  auxclick: {
    EventType: "PointerEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0,
      composed: !0
    }
  },
  beforeinput: {
    EventType: "InputEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0,
      composed: !0
    }
  },
  blur: {
    EventType: "FocusEvent",
    defaultInit: {
      bubbles: !1,
      cancelable: !1,
      composed: !0
    }
  },
  click: {
    EventType: "PointerEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0,
      composed: !0
    }
  },
  contextmenu: {
    EventType: "PointerEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0,
      composed: !0
    }
  },
  copy: {
    EventType: "ClipboardEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0,
      composed: !0
    }
  },
  change: {
    EventType: "Event",
    defaultInit: {
      bubbles: !0,
      cancelable: !1
    }
  },
  cut: {
    EventType: "ClipboardEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0,
      composed: !0
    }
  },
  dblclick: {
    EventType: "MouseEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0,
      composed: !0
    }
  },
  focus: {
    EventType: "FocusEvent",
    defaultInit: {
      bubbles: !1,
      cancelable: !1,
      composed: !0
    }
  },
  focusin: {
    EventType: "FocusEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !1,
      composed: !0
    }
  },
  focusout: {
    EventType: "FocusEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !1,
      composed: !0
    }
  },
  keydown: {
    EventType: "KeyboardEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0,
      composed: !0
    }
  },
  keypress: {
    EventType: "KeyboardEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0,
      composed: !0
    }
  },
  keyup: {
    EventType: "KeyboardEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0,
      composed: !0
    }
  },
  paste: {
    EventType: "ClipboardEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0,
      composed: !0
    }
  },
  input: {
    EventType: "InputEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !1,
      composed: !0
    }
  },
  mousedown: {
    EventType: "MouseEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0,
      composed: !0
    }
  },
  mouseenter: {
    EventType: "MouseEvent",
    defaultInit: {
      bubbles: !1,
      cancelable: !1,
      composed: !0
    }
  },
  mouseleave: {
    EventType: "MouseEvent",
    defaultInit: {
      bubbles: !1,
      cancelable: !1,
      composed: !0
    }
  },
  mousemove: {
    EventType: "MouseEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0,
      composed: !0
    }
  },
  mouseout: {
    EventType: "MouseEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0,
      composed: !0
    }
  },
  mouseover: {
    EventType: "MouseEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0,
      composed: !0
    }
  },
  mouseup: {
    EventType: "MouseEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0,
      composed: !0
    }
  },
  pointerover: {
    EventType: "PointerEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0,
      composed: !0
    }
  },
  pointerenter: {
    EventType: "PointerEvent",
    defaultInit: {
      bubbles: !1,
      cancelable: !1
    }
  },
  pointerdown: {
    EventType: "PointerEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0,
      composed: !0
    }
  },
  pointermove: {
    EventType: "PointerEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0,
      composed: !0
    }
  },
  pointerup: {
    EventType: "PointerEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0,
      composed: !0
    }
  },
  pointercancel: {
    EventType: "PointerEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !1,
      composed: !0
    }
  },
  pointerout: {
    EventType: "PointerEvent",
    defaultInit: {
      bubbles: !0,
      cancelable: !0,
      composed: !0
    }
  },
  pointerleave: {
    EventType: "PointerEvent",
    defaultInit: {
      bubbles: !1,
      cancelable: !1
    }
  },
  submit: {
    EventType: "Event",
    defaultInit: {
      bubbles: !0,
      cancelable: !0
    }
  }
};
function Cce(e) {
  return eM[e].EventType;
}
a(Cce, "getEventClass");
var met = [
  "MouseEvent",
  "PointerEvent"
];
function _ce(e) {
  return met.includes(Cce(e));
}
a(_ce, "isMouseEvent");
function Pce(e) {
  return Cce(e) === "KeyboardEvent";
}
a(Pce, "isKeyboardEvent");

// ../node_modules/@testing-library/user-event/dist/esm/event/createEvent.js
var het = {
  ClipboardEvent: [
    yet
  ],
  Event: [],
  FocusEvent: [
    Eh,
    vet
  ],
  InputEvent: [
    Eh,
    bet
  ],
  MouseEvent: [
    Eh,
    tM,
    Tce
  ],
  PointerEvent: [
    Eh,
    tM,
    Tce,
    Eet
  ],
  KeyboardEvent: [
    Eh,
    tM,
    wet
  ]
};
function rM(e, t, r) {
  let n = gt(t), { EventType: o, defaultInit: i } = eM[e], s = new (get(n))[o](e, i);
  return het[o].forEach((l) => l(s, r ?? {})), s;
}
a(rM, "createEvent");
function get(e) {
  var $, D, V, G, ne, de, se, B, j, J, X, ie, me, xe, st;
  var t;
  let r = (t = e.Event) !== null && t !== void 0 ? t : ($ = class {
  }, a($, "Event"), $);
  var n;
  let o = (n = e.AnimationEvent) !== null && n !== void 0 ? n : (D = class extends r {
  }, a(D, "AnimationEvent"), D);
  var i;
  let s = (i = e.ClipboardEvent) !== null && i !== void 0 ? i : (V = class extends r {
  }, a(V, "ClipboardEvent"), V);
  var l;
  let u = (l = e.PopStateEvent) !== null && l !== void 0 ? l : (G = class extends r {
  }, a(G, "PopStateEvent"), G);
  var c;
  let d = (c = e.ProgressEvent) !== null && c !== void 0 ? c : (ne = class extends r {
  }, a(ne, "ProgressEvent"), ne);
  var f;
  let p = (f = e.TransitionEvent) !== null && f !== void 0 ? f : (de = class extends r {
  }, a(de, "TransitionEvent"), de);
  var m;
  let v = (m = e.UIEvent) !== null && m !== void 0 ? m : (se = class extends r {
  }, a(se, "UIEvent"), se);
  var y;
  let b = (y = e.CompositionEvent) !== null && y !== void 0 ? y : (B = class extends v {
  }, a(B, "CompositionEvent"), B);
  var g;
  let w = (g = e.FocusEvent) !== null && g !== void 0 ? g : (j = class extends v {
  }, a(j, "FocusEvent"), j);
  var E;
  let x = (E = e.InputEvent) !== null && E !== void 0 ? E : (J = class extends v {
  }, a(J, "InputEvent"), J);
  var S;
  let C = (S = e.KeyboardEvent) !== null && S !== void 0 ? S : (X = class extends v {
  }, a(X, "KeyboardEvent"), X);
  var _;
  let A = (_ = e.MouseEvent) !== null && _ !== void 0 ? _ : (ie = class extends v {
  }, a(ie, "MouseEvent"), ie);
  var O;
  let q = (O = e.DragEvent) !== null && O !== void 0 ? O : (me = class extends A {
  }, a(me, "DragEvent"), me);
  var M;
  let U = (M = e.PointerEvent) !== null && M !== void 0 ? M : (xe = class extends A {
  }, a(xe, "PointerEvent"), xe);
  var Q;
  let z = (Q = e.TouchEvent) !== null && Q !== void 0 ? Q : (st = class extends v {
  }, a(st, "TouchEvent"), st);
  return {
    Event: r,
    AnimationEvent: o,
    ClipboardEvent: s,
    PopStateEvent: u,
    ProgressEvent: d,
    TransitionEvent: p,
    UIEvent: v,
    CompositionEvent: b,
    FocusEvent: w,
    InputEvent: x,
    KeyboardEvent: C,
    MouseEvent: A,
    DragEvent: q,
    PointerEvent: U,
    TouchEvent: z
  };
}
a(get, "getEventConstructors");
function js(e, t) {
  for (let [r, n] of Object.entries(t))
    Object.defineProperty(e, r, {
      get: /* @__PURE__ */ a(() => n ?? null, "get")
    });
}
a(js, "assignProps");
function Rt(e) {
  return Number(e ?? 0);
}
a(Rt, "sanitizeNumber");
function yet(e, { clipboardData: t }) {
  js(e, {
    clipboardData: t
  });
}
a(yet, "initClipboardEvent");
function vet(e, { relatedTarget: t }) {
  js(e, {
    relatedTarget: t
  });
}
a(vet, "initFocusEvent");
function bet(e, { data: t, inputType: r, isComposing: n }) {
  js(e, {
    data: t,
    isComposing: !!n,
    inputType: String(r)
  });
}
a(bet, "initInputEvent");
function Eh(e, { view: t, detail: r }) {
  js(e, {
    view: t,
    detail: Rt(r ?? 0)
  });
}
a(Eh, "initUIEvent");
function tM(e, { altKey: t, ctrlKey: r, metaKey: n, shiftKey: o, modifierAltGraph: i, modifierCapsLock: s, modifierFn: l, modifierFnLock: u,
modifierNumLock: c, modifierScrollLock: d, modifierSymbol: f, modifierSymbolLock: p }) {
  js(e, {
    altKey: !!t,
    ctrlKey: !!r,
    metaKey: !!n,
    shiftKey: !!o,
    getModifierState(m) {
      return !!{
        Alt: t,
        AltGraph: i,
        CapsLock: s,
        Control: r,
        Fn: l,
        FnLock: u,
        Meta: n,
        NumLock: c,
        ScrollLock: d,
        Shift: o,
        Symbol: f,
        SymbolLock: p
      }[m];
    }
  });
}
a(tM, "initUIEventModifiers");
function wet(e, { key: t, code: r, location: n, repeat: o, isComposing: i, charCode: s }) {
  js(e, {
    key: String(t),
    code: String(r),
    location: Rt(n),
    repeat: !!o,
    isComposing: !!i,
    charCode: s
  });
}
a(wet, "initKeyboardEvent");
function Tce(e, { x: t, y: r, screenX: n, screenY: o, clientX: i = t, clientY: s = r, button: l, buttons: u, relatedTarget: c, offsetX: d, offsetY: f,
pageX: p, pageY: m }) {
  js(e, {
    screenX: Rt(n),
    screenY: Rt(o),
    clientX: Rt(i),
    x: Rt(i),
    clientY: Rt(s),
    y: Rt(s),
    button: Rt(l),
    buttons: Rt(u),
    relatedTarget: c,
    offsetX: Rt(d),
    offsetY: Rt(f),
    pageX: Rt(p),
    pageY: Rt(m)
  });
}
a(Tce, "initMouseEvent");
function Eet(e, { pointerId: t, width: r, height: n, pressure: o, tangentialPressure: i, tiltX: s, tiltY: l, twist: u, pointerType: c, isPrimary: d }) {
  js(e, {
    pointerId: Rt(t),
    width: Rt(r ?? 1),
    height: Rt(n ?? 1),
    pressure: Rt(o),
    tangentialPressure: Rt(i),
    tiltX: Rt(s),
    tiltY: Rt(l),
    twist: Rt(u),
    pointerType: String(c),
    isPrimary: !!d
  });
}
a(Eet, "initPointerEvent");

// ../node_modules/@testing-library/user-event/dist/esm/event/dispatchEvent.js
function Ace(e, t, r, n = !1) {
  (_ce(t) || Pce(t)) && (r = {
    ...r,
    ...this.system.getUIEventModifiers()
  });
  let o = rM(t, e, r);
  return nM.call(this, e, o, n);
}
a(Ace, "dispatchUIEvent");
function nM(e, t, r = !1) {
  var n;
  let o = t.type, i = r ? () => {
  } : (n = Vr[o]) === null || n === void 0 ? void 0 : n.call(Vr, t, e, this);
  if (i) {
    t.preventDefault();
    let s = !1;
    return Object.defineProperty(t, "defaultPrevented", {
      get: /* @__PURE__ */ a(() => s, "get")
    }), Object.defineProperty(t, "preventDefault", {
      value: /* @__PURE__ */ a(() => {
        s = t.cancelable;
      }, "value")
    }), Fs(() => e.dispatchEvent(t)), s || i(), !s;
  }
  return Fs(() => e.dispatchEvent(t));
}
a(nM, "dispatchEvent");
function di(e, t, r) {
  let n = rM(t, e, r);
  Fs(() => e.dispatchEvent(n));
}
a(di, "dispatchDOMEvent");

// ../node_modules/@testing-library/user-event/dist/esm/document/patchFocus.js
var Oce = Symbol("patched focus/blur methods");
function oM(e) {
  if (e.prototype[Oce])
    return;
  let { focus: t, blur: r } = e.prototype;
  Object.defineProperties(e.prototype, {
    focus: {
      configurable: !0,
      get: /* @__PURE__ */ a(() => o, "get")
    },
    blur: {
      configurable: !0,
      get: /* @__PURE__ */ a(() => i, "get")
    },
    [Oce]: {
      configurable: !0,
      get: /* @__PURE__ */ a(() => ({
        focus: t,
        blur: r
      }), "get")
    }
  });
  let n;
  function o(s) {
    if (this.ownerDocument.visibilityState !== "hidden")
      return t.call(this, s);
    let l = Ice(this.ownerDocument);
    if (l === this)
      return;
    let u = Symbol("focus call");
    n = u, l && (r.call(l), di(l, "blur", {
      relatedTarget: this
    }), di(l, "focusout", {
      relatedTarget: n === u ? this : null
    })), n === u && (t.call(this, s), di(this, "focus", {
      relatedTarget: l
    })), n === u && di(this, "focusin", {
      relatedTarget: l
    });
  }
  a(o, "patchedFocus");
  function i() {
    if (this.ownerDocument.visibilityState !== "hidden")
      return r.call(this);
    let s = Ice(this.ownerDocument);
    if (s !== this)
      return;
    n = Symbol("blur call"), r.call(this), di(s, "blur", {
      relatedTarget: null
    }), di(s, "focusout", {
      relatedTarget: null
    });
  }
  a(i, "patchedBlur");
}
a(oM, "patchFocus");
function Ice(e) {
  let t = iu(e);
  return t?.tagName === "BODY" ? null : t;
}
a(Ice, "getActiveTarget");

// ../node_modules/@testing-library/user-event/dist/esm/document/interceptor.js
var aM = Symbol("Interceptor for programmatical calls");
function zd(e, t, r) {
  let n = Object.getOwnPropertyDescriptor(e.constructor.prototype, t), o = Object.getOwnPropertyDescriptor(e, t), i = n?.set ? "set" : "valu\
e";
  if (typeof n?.[i] != "function" || n[i][aM])
    throw new Error(`Element ${e.tagName} does not implement "${String(t)}".`);
  function s(...l) {
    let { applyNative: u = !1, realArgs: c, then: d } = r.call(this, ...l), f = (!u && o || n)[i];
    i === "set" ? f.call(this, c) : f.call(this, ...c), d?.();
  }
  a(s, "intercept"), s[aM] = aM, Object.defineProperty(e, t, {
    ...o ?? n,
    [i]: s
  });
}
a(zd, "prepareInterceptor");
function Mce(e) {
  zd(e, "value", /* @__PURE__ */ a(function(r) {
    let n = tce(r);
    return n && pce(this), {
      applyNative: !!n,
      realArgs: Ret(this, r),
      then: n ? void 0 : () => mce(this, String(r))
    };
  }, "interceptorImpl"));
}
a(Mce, "prepareValueInterceptor");
function Ret(e, t) {
  return fe(e, "input", {
    type: "number"
  }) && String(t) !== "" && !Number.isNaN(Number(t)) ? String(Number(t)) : String(t);
}
a(Ret, "sanitizeValue");
function Nce(e) {
  zd(e, "setSelectionRange", /* @__PURE__ */ a(function(r, ...n) {
    let o = rce(r);
    return {
      applyNative: !!o,
      realArgs: [
        Number(r),
        ...n
      ],
      then: /* @__PURE__ */ a(() => o ? void 0 : vh(e), "then")
    };
  }, "interceptorImpl")), zd(e, "selectionStart", /* @__PURE__ */ a(function(r) {
    return {
      realArgs: r,
      then: /* @__PURE__ */ a(() => vh(e), "then")
    };
  }, "interceptorImpl")), zd(e, "selectionEnd", /* @__PURE__ */ a(function(r) {
    return {
      realArgs: r,
      then: /* @__PURE__ */ a(() => vh(e), "then")
    };
  }, "interceptorImpl")), zd(e, "select", /* @__PURE__ */ a(function() {
    return {
      realArgs: [],
      then: /* @__PURE__ */ a(() => ace(e, {
        anchorOffset: 0,
        focusOffset: nr(e).length
      }), "then")
    };
  }, "interceptorImpl"));
}
a(Nce, "prepareSelectionInterceptor");
function Lce(e) {
  zd(e, "setRangeText", /* @__PURE__ */ a(function(...r) {
    return {
      realArgs: r,
      then: /* @__PURE__ */ a(() => {
        yh(e), vh(e);
      }, "then")
    };
  }, "interceptorImpl"));
}
a(Lce, "prepareRangeTextInterceptor");

// ../node_modules/@testing-library/user-event/dist/esm/document/prepareDocument.js
var Ud = Symbol("Node prepared with document state workarounds");
function iM(e) {
  e[Ud] || (e.addEventListener("focus", (t) => {
    let r = t.target;
    kce(r);
  }, {
    capture: !0,
    passive: !0
  }), e.activeElement && kce(e.activeElement), e.addEventListener("blur", (t) => {
    let r = t.target, n = oce(r);
    n !== void 0 && (r.value !== n && di(r, "change"), hS(r));
  }, {
    capture: !0,
    passive: !0
  }), e[Ud] = Ud);
}
a(iM, "prepareDocument");
function kce(e) {
  e[Ud] || (fe(e, [
    "input",
    "textarea"
  ]) && (Mce(e), Nce(e), Lce(e)), e[Ud] = Ud);
}
a(kce, "prepareElement");

// ../node_modules/@testing-library/user-event/dist/esm/utils/misc/getDocumentFromNode.js
function qce(e) {
  return xet(e) ? e : e.ownerDocument;
}
a(qce, "getDocumentFromNode");
function xet(e) {
  return e.nodeType === 9;
}
a(xet, "isDocument");

// ../node_modules/@testing-library/user-event/dist/esm/utils/misc/level.js
var Ar = /* @__PURE__ */ function(e) {
  return e[e.Trigger = 2] = "Trigger", e[e.Call = 1] = "Call", e;
}({});
function lu(e, t) {
  e.levelRefs[t] = {};
}
a(lu, "setLevelRef");
function Rh(e, t) {
  return e.levelRefs[t];
}
a(Rh, "getLevelRef");

// ../node_modules/@testing-library/user-event/dist/esm/utils/misc/wait.js
function _a(e) {
  let t = e.delay;
  if (typeof t == "number")
    return Promise.all([
      new Promise((r) => globalThis.setTimeout(() => r(), t)),
      e.advanceTimers(t)
    ]);
}
a(_a, "wait");

// ../node_modules/@testing-library/user-event/dist/esm/options.js
var uu = /* @__PURE__ */ function(e) {
  return e[e.EachTrigger = 4] = "EachTrigger", e[e.EachApiCall = 2] = "EachApiCall", e[e.EachTarget = 1] = "EachTarget", e[e.Never = 0] = "N\
ever", e;
}({});

// ../node_modules/@testing-library/user-event/dist/esm/system/keyboard.js
function cu(e, t, r) {
  return t in e ? Object.defineProperty(e, t, {
    value: r,
    enumerable: !0,
    configurable: !0,
    writable: !0
  }) : e[t] = r, e;
}
a(cu, "_define_property");
var ra = /* @__PURE__ */ function(e) {
  return e[e.STANDARD = 0] = "STANDARD", e[e.LEFT = 1] = "LEFT", e[e.RIGHT = 2] = "RIGHT", e[e.NUMPAD = 3] = "NUMPAD", e;
}({}), Cet = [
  "Alt",
  "AltGraph",
  "Control",
  "Fn",
  "Meta",
  "Shift",
  "Symbol"
];
function Dce(e) {
  return Cet.includes(e);
}
a(Dce, "isModifierKey");
var _et = [
  "CapsLock",
  "FnLock",
  "NumLock",
  "ScrollLock",
  "SymbolLock"
];
function Fce(e) {
  return _et.includes(e);
}
a(Fce, "isModifierLock");
var sM = class sM {
  isKeyPressed(t) {
    return this.pressed.has(String(t.code));
  }
  getPressedKeys() {
    return this.pressed.values().map((t) => t.keyDef);
  }
  /** Press a key */
  async keydown(t, r) {
    let n = String(r.key), o = String(r.code), i = fS(t.config.document);
    this.setKeydownTarget(i), this.pressed.add(o, r), Dce(n) && (this.modifiers[n] = !0);
    let s = t.dispatchUIEvent(i, "keydown", {
      key: n,
      code: o
    });
    Fce(n) && !this.modifiers[n] && (this.modifiers[n] = !0, this.modifierLockStart[n] = !0), s && this.pressed.setUnprevented(o), s && this.
    hasKeyPress(n) && t.dispatchUIEvent(fS(t.config.document), "keypress", {
      key: n,
      code: o,
      charCode: r.key === "Enter" ? 13 : String(r.key).charCodeAt(0)
    });
  }
  /** Release a key */
  async keyup(t, r) {
    let n = String(r.key), o = String(r.code), i = this.pressed.isUnprevented(o);
    this.pressed.delete(o), Dce(n) && !this.pressed.values().find((s) => s.keyDef.key === n) && (this.modifiers[n] = !1), t.dispatchUIEvent(
    fS(t.config.document), "keyup", {
      key: n,
      code: o
    }, !i), Fce(n) && this.modifiers[n] && (this.modifierLockStart[n] ? this.modifierLockStart[n] = !1 : this.modifiers[n] = !1);
  }
  setKeydownTarget(t) {
    t !== this.lastKeydownTarget && (this.carryChar = ""), this.lastKeydownTarget = t;
  }
  hasKeyPress(t) {
    return (t.length === 1 || t === "Enter") && !this.modifiers.Control && !this.modifiers.Alt;
  }
  constructor(t) {
    cu(this, "system", void 0), cu(this, "modifiers", {
      Alt: !1,
      AltGraph: !1,
      CapsLock: !1,
      Control: !1,
      Fn: !1,
      FnLock: !1,
      Meta: !1,
      NumLock: !1,
      ScrollLock: !1,
      Shift: !1,
      Symbol: !1,
      SymbolLock: !1
    }), cu(this, "pressed", new class {
      add(r, n) {
        var o, i, s;
        (s = (o = this.registry)[i = r]) !== null && s !== void 0 || (o[i] = {
          keyDef: n,
          unpreventedDefault: !1
        });
      }
      has(r) {
        return !!this.registry[r];
      }
      setUnprevented(r) {
        let n = this.registry[r];
        n && (n.unpreventedDefault = !0);
      }
      isUnprevented(r) {
        var n;
        return !!(!((n = this.registry[r]) === null || n === void 0) && n.unpreventedDefault);
      }
      delete(r) {
        delete this.registry[r];
      }
      values() {
        return Object.values(this.registry);
      }
      constructor() {
        cu(this, "registry", {});
      }
    }()), cu(this, "carryChar", ""), cu(this, "lastKeydownTarget", void 0), cu(this, "modifierLockStart", {}), this.system = t;
  }
};
a(sM, "KeyboardHost");
var RS = sM;

// ../node_modules/@testing-library/user-event/dist/esm/keyboard/keyMap.js
var jce = [
  // alphanumeric block - writing system
  ..."0123456789".split("").map((e) => ({
    code: `Digit${e}`,
    key: e
  })),
  ...")!@#$%^&*(".split("").map((e, t) => ({
    code: `Digit${t}`,
    key: e,
    shiftKey: !0
  })),
  ..."abcdefghijklmnopqrstuvwxyz".split("").map((e) => ({
    code: `Key${e.toUpperCase()}`,
    key: e
  })),
  ..."ABCDEFGHIJKLMNOPQRSTUVWXYZ".split("").map((e) => ({
    code: `Key${e}`,
    key: e,
    shiftKey: !0
  })),
  {
    code: "BracketLeft",
    key: "["
  },
  {
    code: "BracketLeft",
    key: "{",
    shiftKey: !0
  },
  {
    code: "BracketRight",
    key: "]"
  },
  {
    code: "BracketRight",
    key: "}",
    shiftKey: !0
  },
  // alphanumeric block - functional
  {
    code: "Space",
    key: " "
  },
  {
    code: "AltLeft",
    key: "Alt",
    location: ra.LEFT
  },
  {
    code: "AltRight",
    key: "Alt",
    location: ra.RIGHT
  },
  {
    code: "ShiftLeft",
    key: "Shift",
    location: ra.LEFT
  },
  {
    code: "ShiftRight",
    key: "Shift",
    location: ra.RIGHT
  },
  {
    code: "ControlLeft",
    key: "Control",
    location: ra.LEFT
  },
  {
    code: "ControlRight",
    key: "Control",
    location: ra.RIGHT
  },
  {
    code: "MetaLeft",
    key: "Meta",
    location: ra.LEFT
  },
  {
    code: "MetaRight",
    key: "Meta",
    location: ra.RIGHT
  },
  {
    code: "OSLeft",
    key: "OS",
    location: ra.LEFT
  },
  {
    code: "OSRight",
    key: "OS",
    location: ra.RIGHT
  },
  {
    code: "ContextMenu",
    key: "ContextMenu"
  },
  {
    code: "Tab",
    key: "Tab"
  },
  {
    code: "CapsLock",
    key: "CapsLock"
  },
  {
    code: "Backspace",
    key: "Backspace"
  },
  {
    code: "Enter",
    key: "Enter"
  },
  // function
  {
    code: "Escape",
    key: "Escape"
  },
  // arrows
  {
    code: "ArrowUp",
    key: "ArrowUp"
  },
  {
    code: "ArrowDown",
    key: "ArrowDown"
  },
  {
    code: "ArrowLeft",
    key: "ArrowLeft"
  },
  {
    code: "ArrowRight",
    key: "ArrowRight"
  },
  // control pad
  {
    code: "Home",
    key: "Home"
  },
  {
    code: "End",
    key: "End"
  },
  {
    code: "Delete",
    key: "Delete"
  },
  {
    code: "PageUp",
    key: "PageUp"
  },
  {
    code: "PageDown",
    key: "PageDown"
  },
  // Special keys that are not part of a default US-layout but included for specific behavior
  {
    code: "Fn",
    key: "Fn"
  },
  {
    code: "Symbol",
    key: "Symbol"
  },
  {
    code: "AltRight",
    key: "AltGraph"
  }
];

// ../node_modules/@testing-library/user-event/dist/esm/pointer/keyMap.js
var Bce = [
  {
    name: "MouseLeft",
    pointerType: "mouse",
    button: "primary"
  },
  {
    name: "MouseRight",
    pointerType: "mouse",
    button: "secondary"
  },
  {
    name: "MouseMiddle",
    pointerType: "mouse",
    button: "auxiliary"
  },
  {
    name: "TouchA",
    pointerType: "touch"
  },
  {
    name: "TouchB",
    pointerType: "touch"
  },
  {
    name: "TouchC",
    pointerType: "touch"
  }
];

// ../node_modules/@testing-library/user-event/dist/esm/system/pointer/buttons.js
function Pet(e, t, r) {
  return t in e ? Object.defineProperty(e, t, {
    value: r,
    enumerable: !0,
    configurable: !0,
    writable: !0
  }) : e[t] = r, e;
}
a(Pet, "_define_property");
var uM = class uM {
  getButtons() {
    let t = 0;
    for (let r of Object.keys(this.pressed))
      t |= 2 ** Number(r);
    return t;
  }
  down(t) {
    let r = lM(t.button);
    if (r in this.pressed) {
      this.pressed[r].push(t);
      return;
    }
    return this.pressed[r] = [
      t
    ], r;
  }
  up(t) {
    let r = lM(t.button);
    if (r in this.pressed && (this.pressed[r] = this.pressed[r].filter((n) => n.name !== t.name), this.pressed[r].length === 0))
      return delete this.pressed[r], r;
  }
  constructor() {
    Pet(this, "pressed", {});
  }
};
a(uM, "Buttons");
var Vd = uM, $ce = {
  primary: 0,
  secondary: 1,
  auxiliary: 2,
  back: 3,
  X1: 3,
  forward: 4,
  X2: 4
};
function lM(e = 0) {
  return e in $ce ? $ce[e] : Number(e);
}
a(lM, "getMouseButtonId");
var Hce = {
  1: 2,
  2: 1
};
function xh(e) {
  return e = lM(e), e in Hce ? Hce[e] : e;
}
a(xh, "getMouseEventButton");

// ../node_modules/@testing-library/user-event/dist/esm/system/pointer/device.js
function Tet(e, t, r) {
  return t in e ? Object.defineProperty(e, t, {
    value: r,
    enumerable: !0,
    configurable: !0,
    writable: !0
  }) : e[t] = r, e;
}
a(Tet, "_define_property");
var cM = class cM {
  get countPressed() {
    return this.pressedKeys.size;
  }
  isPressed(t) {
    return this.pressedKeys.has(t.name);
  }
  addPressed(t) {
    return this.pressedKeys.add(t.name);
  }
  removePressed(t) {
    return this.pressedKeys.delete(t.name);
  }
  constructor() {
    Tet(this, "pressedKeys", /* @__PURE__ */ new Set());
  }
};
a(cM, "Device");
var xS = cM;

// ../node_modules/@testing-library/user-event/dist/esm/utils/misc/getTreeDiff.js
function du(e, t) {
  let r = [];
  for (let i = e; i; i = i.parentElement)
    r.push(i);
  let n = [];
  for (let i = t; i; i = i.parentElement)
    n.push(i);
  let o = 0;
  for (; !(o >= r.length || o >= n.length || r[r.length - 1 - o] !== n[n.length - 1 - o]); o++)
    ;
  return [
    r.slice(0, r.length - o),
    n.slice(0, n.length - o),
    n.slice(n.length - o)
  ];
}
a(du, "getTreeDiff");

// ../node_modules/@testing-library/user-event/dist/esm/event/selection/resolveCaretPosition.js
function Sh({ target: e, node: t, offset: r }) {
  return Vt(e) ? {
    node: e,
    offset: r ?? nr(e).length
  } : t ? {
    node: t,
    offset: r ?? (t.nodeType === 3 ? t.nodeValue.length : t.childNodes.length)
  } : zce(e, r);
}
a(Sh, "resolveCaretPosition");
function zce(e, t, r = !0) {
  let n = t === void 0 ? e.childNodes.length - 1 : 0, o = t === void 0 ? -1 : 1;
  for (; t === void 0 ? n >= (r ? Math.max(e.childNodes.length - 1, 0) : 0) : n <= e.childNodes.length; ) {
    if (t && n === e.childNodes.length)
      throw new Error("The given offset is out of bounds.");
    let i = e.childNodes.item(n), s = String(i.textContent);
    if (s.length)
      if (t !== void 0 && s.length < t)
        t -= s.length;
      else {
        if (i.nodeType === 1)
          return zce(i, t, !1);
        if (i.nodeType === 3)
          return {
            node: i,
            offset: t ?? i.nodeValue.length
          };
      }
    n += o;
  }
  return {
    node: e,
    offset: e.childNodes.length
  };
}
a(zce, "findNodeAtTextOffset");

// ../node_modules/@testing-library/user-event/dist/esm/event/selection/setSelectionPerMouse.js
function Uce({ document: e, target: t, clickCount: r, node: n, offset: o }) {
  if (Jue(t))
    return;
  let i = Vt(t), s = String(i ? nr(t) : t.textContent), [l, u] = n ? (
    // which elements might be considered in the same line of text.
    // TODO: support expanding initial range on multiple clicks if node is given
    [
      o,
      o
    ]
  ) : Aet(s, o, r);
  if (i)
    return Zo(t, {
      anchorOffset: l ?? s.length,
      focusOffset: u ?? s.length
    }), {
      node: t,
      start: l ?? 0,
      end: u ?? s.length
    };
  {
    let { node: c, offset: d } = Sh({
      target: t,
      node: n,
      offset: l
    }), { node: f, offset: p } = Sh({
      target: t,
      node: n,
      offset: u
    }), m = t.ownerDocument.createRange();
    try {
      m.setStart(c, d), m.setEnd(f, p);
    } catch {
      throw new Error("The given offset is out of bounds.");
    }
    let v = e.getSelection();
    return v?.removeAllRanges(), v?.addRange(m.cloneRange()), m;
  }
}
a(Uce, "setSelectionPerMouseDown");
function Aet(e, t, r) {
  if (r % 3 === 1 || e.length === 0)
    return [
      t,
      t
    ];
  let n = t ?? e.length;
  return r % 3 === 2 ? [
    n - e.substr(0, t).match(/(\w+|\s+|\W)?$/)[0].length,
    t === void 0 ? t : t + e.substr(t).match(/^(\w+|\s+|\W)?/)[0].length
  ] : [
    n - e.substr(0, t).match(/[^\r\n]*$/)[0].length,
    t === void 0 ? t : t + e.substr(t).match(/^[^\r\n]*/)[0].length
  ];
}
a(Aet, "getTextRange");

// ../node_modules/@testing-library/user-event/dist/esm/event/selection/modifySelectionPerMouse.js
function Vce(e, { document: t, target: r, node: n, offset: o }) {
  let i = Sh({
    target: r,
    node: n,
    offset: o
  });
  if ("node" in e) {
    if (i.node === e.node) {
      let s = i.offset < e.start ? e.end : e.start, l = i.offset > e.end || i.offset < e.start ? i.offset : e.end;
      Zo(e.node, {
        anchorOffset: s,
        focusOffset: l
      });
    }
  } else {
    let s = e.cloneRange(), l = s.comparePoint(i.node, i.offset);
    l < 0 ? s.setStart(i.node, i.offset) : l > 0 && s.setEnd(i.node, i.offset);
    let u = t.getSelection();
    u?.removeAllRanges(), u?.addRange(s.cloneRange());
  }
}
a(Vce, "modifySelectionPerMouseMove");

// ../node_modules/@testing-library/user-event/dist/esm/system/pointer/shared.js
function SS(e, t) {
  var r, n, o, i, s, l, u, c, d, f, p, m, v, y, b, g, w, E, x, S, C, _, A, O;
  return e.target !== t.target || ((r = e.coords) === null || r === void 0 ? void 0 : r.x) !== ((n = t.coords) === null || n === void 0 ? void 0 :
  n.x) || ((o = e.coords) === null || o === void 0 ? void 0 : o.y) !== ((i = t.coords) === null || i === void 0 ? void 0 : i.y) || ((s = e.coords) ===
  null || s === void 0 ? void 0 : s.clientX) !== ((l = t.coords) === null || l === void 0 ? void 0 : l.clientX) || ((u = e.coords) === null ||
  u === void 0 ? void 0 : u.clientY) !== ((c = t.coords) === null || c === void 0 ? void 0 : c.clientY) || ((d = e.coords) === null || d ===
  void 0 ? void 0 : d.offsetX) !== ((f = t.coords) === null || f === void 0 ? void 0 : f.offsetX) || ((p = e.coords) === null || p === void 0 ?
  void 0 : p.offsetY) !== ((m = t.coords) === null || m === void 0 ? void 0 : m.offsetY) || ((v = e.coords) === null || v === void 0 ? void 0 :
  v.pageX) !== ((y = t.coords) === null || y === void 0 ? void 0 : y.pageX) || ((b = e.coords) === null || b === void 0 ? void 0 : b.pageY) !==
  ((g = t.coords) === null || g === void 0 ? void 0 : g.pageY) || ((w = e.coords) === null || w === void 0 ? void 0 : w.screenX) !== ((E = t.
  coords) === null || E === void 0 ? void 0 : E.screenX) || ((x = e.coords) === null || x === void 0 ? void 0 : x.screenY) !== ((S = t.coords) ===
  null || S === void 0 ? void 0 : S.screenY) || ((C = e.caret) === null || C === void 0 ? void 0 : C.node) !== ((_ = t.caret) === null || _ ===
  void 0 ? void 0 : _.node) || ((A = e.caret) === null || A === void 0 ? void 0 : A.offset) !== ((O = t.caret) === null || O === void 0 ? void 0 :
  O.offset);
}
a(SS, "isDifferentPointerPosition");

// ../node_modules/@testing-library/user-event/dist/esm/system/pointer/mouse.js
function fu(e, t, r) {
  return t in e ? Object.defineProperty(e, t, {
    value: r,
    enumerable: !0,
    configurable: !0,
    writable: !0
  }) : e[t] = r, e;
}
a(fu, "_define_property");
var dM = class dM {
  move(t, r, n) {
    let o = this.position, i = this.getTarget(t);
    if (this.position = r, !SS(o, r))
      return;
    let s = this.getTarget(t), l = this.getEventInit("mousemove"), [u, c] = du(i, s);
    return {
      leave: /* @__PURE__ */ a(() => {
        i !== s && (t.dispatchUIEvent(i, "mouseout", l), u.forEach((d) => t.dispatchUIEvent(d, "mouseleave", l)));
      }, "leave"),
      enter: /* @__PURE__ */ a(() => {
        i !== s && (t.dispatchUIEvent(s, "mouseover", l), c.forEach((d) => t.dispatchUIEvent(d, "mouseenter", l)));
      }, "enter"),
      move: /* @__PURE__ */ a(() => {
        n || (t.dispatchUIEvent(s, "mousemove", l), this.modifySelecting(t));
      }, "move")
    };
  }
  down(t, r, n) {
    let o = this.buttons.down(r);
    if (o === void 0)
      return;
    let i = this.getTarget(t);
    this.buttonDownTarget[o] = i;
    let s = this.getEventInit("mousedown", r.button), l = Tr(i);
    !n && (l || t.dispatchUIEvent(i, "mousedown", s)) && (this.startSelecting(t, s.detail), cn(i)), !l && xh(r.button) === 2 && t.dispatchUIEvent(
    i, "contextmenu", this.getEventInit("contextmenu", r.button));
  }
  up(t, r, n) {
    let o = this.buttons.up(r);
    if (o === void 0)
      return;
    let i = this.getTarget(t);
    if (!Tr(i)) {
      if (!n) {
        let l = this.getEventInit("mouseup", r.button);
        t.dispatchUIEvent(i, "mouseup", l), this.endSelecting();
      }
      let s = du(this.buttonDownTarget[o], i)[2][0];
      if (s) {
        let l = this.getEventInit("click", r.button);
        l.detail && (t.dispatchUIEvent(s, l.button === 0 ? "click" : "auxclick", l), l.button === 0 && l.detail === 2 && t.dispatchUIEvent(s,
        "dblclick", {
          ...this.getEventInit("dblclick", r.button),
          detail: l.detail
        }));
      }
    }
  }
  resetClickCount() {
    this.clickCount.reset();
  }
  getEventInit(t, r) {
    let n = {
      ...this.position.coords
    };
    return n.button = xh(r), n.buttons = this.buttons.getButtons(), t === "mousedown" ? n.detail = this.clickCount.getOnDown(n.button) : t ===
    "mouseup" ? n.detail = this.clickCount.getOnUp(n.button) : (t === "click" || t === "auxclick") && (n.detail = this.clickCount.incOnClick(
    n.button)), n;
  }
  getTarget(t) {
    var r;
    return (r = this.position.target) !== null && r !== void 0 ? r : t.config.document.body;
  }
  startSelecting(t, r) {
    var n, o;
    this.selecting = Uce({
      document: t.config.document,
      target: this.getTarget(t),
      node: (n = this.position.caret) === null || n === void 0 ? void 0 : n.node,
      offset: (o = this.position.caret) === null || o === void 0 ? void 0 : o.offset,
      clickCount: r
    });
  }
  modifySelecting(t) {
    var r, n;
    this.selecting && Vce(this.selecting, {
      document: t.config.document,
      target: this.getTarget(t),
      node: (r = this.position.caret) === null || r === void 0 ? void 0 : r.node,
      offset: (n = this.position.caret) === null || n === void 0 ? void 0 : n.offset
    });
  }
  endSelecting() {
    this.selecting = void 0;
  }
  constructor() {
    fu(this, "position", {}), fu(this, "buttons", new Vd()), fu(this, "selecting", void 0), fu(this, "buttonDownTarget", {}), fu(this, "clic\
kCount", new class {
      incOnClick(t) {
        let r = this.down[t] === void 0 ? void 0 : Number(this.down[t]) + 1;
        return this.count = this.count[t] === void 0 ? {} : {
          [t]: Number(this.count[t]) + 1
        }, r;
      }
      getOnDown(t) {
        var r;
        this.down = {
          [t]: (r = this.count[t]) !== null && r !== void 0 ? r : 0
        };
        var n;
        return this.count = {
          [t]: (n = this.count[t]) !== null && n !== void 0 ? n : 0
        }, Number(this.count[t]) + 1;
      }
      getOnUp(t) {
        return this.down[t] === void 0 ? void 0 : Number(this.down[t]) + 1;
      }
      reset() {
        this.count = {};
      }
      constructor() {
        fu(this, "down", {}), fu(this, "count", {});
      }
    }());
  }
};
a(dM, "Mouse");
var CS = dM;

// ../node_modules/@testing-library/user-event/dist/esm/utils/pointer/cssPointerEvents.js
function Wd(e, t) {
  var r;
  return ((r = Yce(e, t)) === null || r === void 0 ? void 0 : r.pointerEvents) !== "none";
}
a(Wd, "hasPointerEvents");
function Oet(e) {
  let t = gt(e);
  for (let r = e, n = []; r?.ownerDocument; r = r.parentElement) {
    n.push(r);
    let o = t.getComputedStyle(r).pointerEvents;
    if (o && ![
      "inherit",
      "unset"
    ].includes(o))
      return {
        pointerEvents: o,
        tree: n
      };
  }
}
a(Oet, "closestPointerEventsDeclaration");
var Wce = Symbol("Last check for pointer-events");
function Yce(e, t) {
  let r = t[Wce];
  if (!(e.config.pointerEventsCheck !== uu.Never && (!r || Gce(e.config.pointerEventsCheck, uu.EachApiCall) && r[Ar.Call] !== Rh(e, Ar.Call) ||
  Gce(e.config.pointerEventsCheck, uu.EachTrigger) && r[Ar.Trigger] !== Rh(e, Ar.Trigger))))
    return r?.result;
  let o = Oet(t);
  return t[Wce] = {
    [Ar.Call]: Rh(e, Ar.Call),
    [Ar.Trigger]: Rh(e, Ar.Trigger),
    result: o
  }, o;
}
a(Yce, "checkPointerEvents");
function pu(e, t) {
  let r = Yce(e, t);
  if (r?.pointerEvents === "none")
    throw new Error([
      `Unable to perform pointer interaction as the element ${r.tree.length > 1 ? "inherits" : "has"} \`pointer-events: none\`:`,
      "",
      Iet(r.tree)
    ].join(`
`));
}
a(pu, "assertPointerEvents");
function Iet(e) {
  return e.reverse().map((t, r) => [
    "".padEnd(r),
    t.tagName,
    t.id && `#${t.id}`,
    t.hasAttribute("data-testid") && `(testId=${t.getAttribute("data-testid")})`,
    Met(t),
    e.length > 1 && r === 0 && "  <-- This element declared `pointer-events: none`",
    e.length > 1 && r === e.length - 1 && "  <-- Asserted pointer events here"
  ].filter(Boolean).join("")).join(`
`);
}
a(Iet, "printTree");
function Met(e) {
  var t;
  let r;
  if (e.hasAttribute("aria-label"))
    r = e.getAttribute("aria-label");
  else if (e.hasAttribute("aria-labelledby")) {
    var n, o;
    r = (o = e.ownerDocument.getElementById(e.getAttribute("aria-labelledby"))) === null || o === void 0 || (n = o.textContent) === null || n ===
    void 0 ? void 0 : n.trim();
  } else if (fe(e, [
    "button",
    "input",
    "meter",
    "output",
    "progress",
    "select",
    "textarea"
  ]) && (!((t = e.labels) === null || t === void 0) && t.length))
    r = Array.from(e.labels).map((s) => {
      var l;
      return (l = s.textContent) === null || l === void 0 ? void 0 : l.trim();
    }).join("|");
  else if (fe(e, "button")) {
    var i;
    r = (i = e.textContent) === null || i === void 0 ? void 0 : i.trim();
  }
  return r = r?.replace(/\n/g, "  "), Number(r?.length) > 30 && (r = `${r?.substring(0, 29)}\u2026`), r ? `(label=${r})` : "";
}
a(Met, "getLabelDescr");
function Gce(e, t) {
  return (e & t) > 0;
}
a(Gce, "hasBitFlag");

// ../node_modules/@testing-library/user-event/dist/esm/system/pointer/pointer.js
function fi(e, t, r) {
  return t in e ? Object.defineProperty(e, t, {
    value: r,
    enumerable: !0,
    configurable: !0,
    writable: !0
  }) : e[t] = r, e;
}
a(fi, "_define_property");
var fM = class fM {
  init(t) {
    let r = this.getTarget(t), [, n] = du(null, r), o = this.getEventInit();
    return pu(t, r), t.dispatchUIEvent(r, "pointerover", o), n.forEach((i) => t.dispatchUIEvent(i, "pointerenter", o)), this;
  }
  move(t, r) {
    let n = this.position, o = this.getTarget(t);
    if (this.position = r, !SS(n, r))
      return;
    let i = this.getTarget(t), s = this.getEventInit(-1), [l, u] = du(o, i);
    return {
      leave: /* @__PURE__ */ a(() => {
        Wd(t, o) && o !== i && (t.dispatchUIEvent(o, "pointerout", s), l.forEach((c) => t.dispatchUIEvent(c, "pointerleave", s)));
      }, "leave"),
      enter: /* @__PURE__ */ a(() => {
        pu(t, i), o !== i && (t.dispatchUIEvent(i, "pointerover", s), u.forEach((c) => t.dispatchUIEvent(c, "pointerenter", s)));
      }, "enter"),
      move: /* @__PURE__ */ a(() => {
        t.dispatchUIEvent(i, "pointermove", s);
      }, "move")
    };
  }
  down(t, r = 0) {
    if (this.isDown)
      return;
    let n = this.getTarget(t);
    pu(t, n), this.isDown = !0, this.isPrevented = !t.dispatchUIEvent(n, "pointerdown", this.getEventInit(r));
  }
  up(t, r = 0) {
    if (!this.isDown)
      return;
    let n = this.getTarget(t);
    pu(t, n), this.isPrevented = !1, this.isDown = !1, t.dispatchUIEvent(n, "pointerup", this.getEventInit(r));
  }
  release(t) {
    let r = this.getTarget(t), [n] = du(r, null), o = this.getEventInit();
    Wd(t, r) && (t.dispatchUIEvent(r, "pointerout", o), n.forEach((i) => t.dispatchUIEvent(i, "pointerleave", o))), this.isCancelled = !0;
  }
  getTarget(t) {
    var r;
    return (r = this.position.target) !== null && r !== void 0 ? r : t.config.document.body;
  }
  getEventInit(t) {
    return {
      ...this.position.coords,
      pointerId: this.pointerId,
      pointerType: this.pointerType,
      isPrimary: this.isPrimary,
      button: xh(t),
      buttons: this.buttons.getButtons()
    };
  }
  constructor({ pointerId: t, pointerType: r, isPrimary: n }, o) {
    fi(this, "pointerId", void 0), fi(this, "pointerType", void 0), fi(this, "isPrimary", void 0), fi(this, "buttons", void 0), fi(this, "is\
Multitouch", !1), fi(this, "isCancelled", !1), fi(this, "isDown", !1), fi(this, "isPrevented", !1), fi(this, "position", {}), this.pointerId =
    t, this.pointerType = r, this.isPrimary = n, this.isMultitouch = !n, this.buttons = o;
  }
};
a(fM, "Pointer");
var _S = fM;

// ../node_modules/@testing-library/user-event/dist/esm/system/pointer/index.js
function Bs(e, t, r) {
  return t in e ? Object.defineProperty(e, t, {
    value: r,
    enumerable: !0,
    configurable: !0,
    writable: !0
  }) : e[t] = r, e;
}
a(Bs, "_define_property");
var pM = class pM {
  isKeyPressed(t) {
    return this.devices.get(t.pointerType).isPressed(t);
  }
  async press(t, r, n) {
    this.devices.get(r.pointerType).addPressed(r), this.buttons.down(r);
    let o = this.getPointerName(r), i = r.pointerType === "touch" ? this.pointers.new(o, r.pointerType, this.buttons) : this.pointers.get(o);
    i.position = n, i.pointerType !== "touch" && (this.mouse.position = n), i.pointerType === "touch" && i.init(t), i.down(t, r.button), i.pointerType !==
    "touch" && this.mouse.down(t, r, i.isPrevented);
  }
  async move(t, r, n) {
    let o = this.pointers.get(r), i = o.move(t, n), s = o.pointerType === "touch" ? void 0 : this.mouse.move(t, n, o.isPrevented);
    i?.leave(), s?.leave(), i?.enter(), s?.enter(), i?.move(), s?.move();
  }
  async release(t, r, n) {
    let o = this.devices.get(r.pointerType);
    o.removePressed(r), this.buttons.up(r);
    let i = this.pointers.get(this.getPointerName(r)), s = i.isPrevented;
    if (i.position = n, i.pointerType !== "touch" && (this.mouse.position = n), o.countPressed === 0 && i.up(t, r.button), i.pointerType ===
    "touch" && i.release(t), i.pointerType === "touch" && !i.isMultitouch) {
      let l = this.mouse.move(t, n, s);
      l?.leave(), l?.enter(), l?.move(), this.mouse.down(t, r, s);
    }
    if (!i.isMultitouch) {
      let l = this.mouse.move(t, n, s);
      l?.leave(), l?.enter(), l?.move(), this.mouse.up(t, r, s);
    }
  }
  getPointerName(t) {
    return t.pointerType === "touch" ? t.name : t.pointerType;
  }
  getPreviousPosition(t) {
    return this.pointers.has(t) ? this.pointers.get(t).position : void 0;
  }
  resetClickCount() {
    this.mouse.resetClickCount();
  }
  getMouseTarget(t) {
    var r;
    return (r = this.mouse.position.target) !== null && r !== void 0 ? r : t.config.document.body;
  }
  setMousePosition(t) {
    this.mouse.position = t, this.pointers.get("mouse").position = t;
  }
  constructor(t) {
    Bs(this, "system", void 0), Bs(this, "mouse", void 0), Bs(this, "buttons", void 0), Bs(this, "devices", new class {
      get(r) {
        var n, o, i;
        return (i = (n = this.registry)[o = r]) !== null && i !== void 0 ? i : n[o] = new xS();
      }
      constructor() {
        Bs(this, "registry", {});
      }
    }()), Bs(this, "pointers", new class {
      new(r, n, o) {
        let i = n !== "touch" || !Object.values(this.registry).some((s) => s.pointerType === "touch" && !s.isCancelled);
        return i || Object.values(this.registry).forEach((s) => {
          s.pointerType === n && !s.isCancelled && (s.isMultitouch = !0);
        }), this.registry[r] = new _S({
          pointerId: this.nextId++,
          pointerType: n,
          isPrimary: i
        }, o), this.registry[r];
      }
      get(r) {
        if (!this.has(r))
          throw new Error(`Trying to access pointer "${r}" which does not exist.`);
        return this.registry[r];
      }
      has(r) {
        return r in this.registry;
      }
      constructor() {
        Bs(this, "registry", {}), Bs(this, "nextId", 1);
      }
    }()), this.system = t, this.buttons = new Vd(), this.mouse = new CS(), this.pointers.new("mouse", "mouse", this.buttons);
  }
};
a(pM, "PointerHost");
var PS = pM;

// ../node_modules/@testing-library/user-event/dist/esm/system/index.js
function Kce(e, t, r) {
  return t in e ? Object.defineProperty(e, t, {
    value: r,
    enumerable: !0,
    configurable: !0,
    writable: !0
  }) : e[t] = r, e;
}
a(Kce, "_define_property");
var mM = class mM {
  getUIEventModifiers() {
    return {
      altKey: this.keyboard.modifiers.Alt,
      ctrlKey: this.keyboard.modifiers.Control,
      metaKey: this.keyboard.modifiers.Meta,
      shiftKey: this.keyboard.modifiers.Shift,
      modifierAltGraph: this.keyboard.modifiers.AltGraph,
      modifierCapsLock: this.keyboard.modifiers.CapsLock,
      modifierFn: this.keyboard.modifiers.Fn,
      modifierFnLock: this.keyboard.modifiers.FnLock,
      modifierNumLock: this.keyboard.modifiers.NumLock,
      modifierScrollLock: this.keyboard.modifiers.ScrollLock,
      modifierSymbol: this.keyboard.modifiers.Symbol,
      modifierSymbolLock: this.keyboard.modifiers.SymbolLock
    };
  }
  constructor() {
    Kce(this, "keyboard", new RS(this)), Kce(this, "pointer", new PS(this));
  }
};
a(mM, "System");
var Ch = mM;

// ../node_modules/@testing-library/user-event/dist/esm/convenience/click.js
async function Xce(e) {
  let t = [];
  return this.config.skipHover || t.push({
    target: e
  }), t.push({
    keys: "[MouseLeft]",
    target: e
  }), this.pointer(t);
}
a(Xce, "click");
async function Jce(e) {
  return this.pointer([
    {
      target: e
    },
    "[MouseLeft][MouseLeft]"
  ]);
}
a(Jce, "dblClick");
async function Qce(e) {
  return this.pointer([
    {
      target: e
    },
    "[MouseLeft][MouseLeft][MouseLeft]"
  ]);
}
a(Qce, "tripleClick");

// ../node_modules/@testing-library/user-event/dist/esm/convenience/hover.js
async function Zce(e) {
  return this.pointer({
    target: e
  });
}
a(Zce, "hover");
async function ede(e) {
  return pu(this, this.system.pointer.getMouseTarget(this)), this.pointer({
    target: e.ownerDocument.body
  });
}
a(ede, "unhover");

// ../node_modules/@testing-library/user-event/dist/esm/convenience/tab.js
async function tde({ shift: e } = {}) {
  return this.keyboard(e === !0 ? "{Shift>}{Tab}{/Shift}" : e === !1 ? "[/ShiftLeft][/ShiftRight]{Tab}" : "{Tab}");
}
a(tde, "tab");

// ../node_modules/@testing-library/user-event/dist/esm/utils/keyDef/readNextDescriptor.js
var hM = /* @__PURE__ */ function(e) {
  return e["{"] = "}", e["["] = "]", e;
}(hM || {});
function TS(e, t) {
  let r = 0, n = e[r] in hM ? e[r] : "";
  r += n.length;
  let i = new RegExp(`^\\${n}{2}`).test(e) ? "" : n;
  return {
    type: i,
    ...i === "" ? Net(e, r, t) : Let(e, r, i, t)
  };
}
a(TS, "readNextDescriptor");
function Net(e, t, r) {
  let n = e[t];
  return rde(n, e, t, r), t += n.length, {
    consumedLength: t,
    descriptor: n,
    releasePrevious: !1,
    releaseSelf: !0,
    repeat: 1
  };
}
a(Net, "readPrintableChar");
function Let(e, t, r, n) {
  var o, i;
  let s = e[t] === "/" ? "/" : "";
  t += s.length;
  let l = r === "{" && e[t] === "\\";
  t += Number(l);
  let u = l ? e[t] : (o = e.slice(t).match(r === "{" ? /^\w+|^[^}>/]/ : /^\w+/)) === null || o === void 0 ? void 0 : o[0];
  rde(u, e, t, n), t += u.length;
  var c;
  let d = (c = (i = e.slice(t).match(/^>\d+/)) === null || i === void 0 ? void 0 : i[0]) !== null && c !== void 0 ? c : "";
  t += d.length;
  let f = e[t] === "/" || !d && e[t] === ">" ? e[t] : "";
  t += f.length;
  let p = hM[r], m = e[t] === p ? p : "";
  if (!m)
    throw new Error(nde([
      !d && "repeat modifier",
      !f && "release modifier",
      `"${p}"`
    ].filter(Boolean).join(" or "), e[t], e, n));
  return t += m.length, {
    consumedLength: t,
    descriptor: u,
    releasePrevious: !!s,
    repeat: d ? Math.max(Number(d.substr(1)), 1) : 1,
    releaseSelf: ket(f, d)
  };
}
a(Let, "readTag");
function rde(e, t, r, n) {
  if (!e)
    throw new Error(nde("key descriptor", t[r], t, n));
}
a(rde, "assertDescriptor");
function ket(e, t) {
  if (e)
    return e === "/";
  if (t)
    return !1;
}
a(ket, "hasReleaseSelf");
function nde(e, t, r, n) {
  return `Expected ${e} but found "${t ?? ""}" in "${r}"
    See ${n === "pointer" ? "https://testing-library.com/docs/user-event/pointer#pressing-a-button-or-touching-the-screen" : "https://testin\
g-library.com/docs/user-event/keyboard"}
    for more information about how userEvent parses your input.`;
}
a(nde, "getErrorMessage");

// ../node_modules/@testing-library/user-event/dist/esm/keyboard/parseKeyDef.js
function ode(e, t) {
  let r = [];
  do {
    let { type: o, descriptor: i, consumedLength: s, releasePrevious: l, releaseSelf: u = !0, repeat: c } = TS(t, "keyboard");
    var n;
    let d = (n = e.find((f) => {
      if (o === "[") {
        var p;
        return ((p = f.code) === null || p === void 0 ? void 0 : p.toLowerCase()) === i.toLowerCase();
      } else if (o === "{") {
        var m;
        return ((m = f.key) === null || m === void 0 ? void 0 : m.toLowerCase()) === i.toLowerCase();
      }
      return f.key === i;
    })) !== null && n !== void 0 ? n : {
      key: "Unknown",
      code: "Unknown",
      [o === "[" ? "code" : "key"]: i
    };
    r.push({
      keyDef: d,
      releasePrevious: l,
      releaseSelf: u,
      repeat: c
    }), t = t.slice(s);
  } while (t);
  return r;
}
a(ode, "parseKeyDef");

// ../node_modules/@testing-library/user-event/dist/esm/keyboard/index.js
async function ade(e) {
  let t = ode(this.config.keyboardMap, e);
  for (let r = 0; r < t.length; r++)
    await _a(this.config), await qet(this, t[r]);
}
a(ade, "keyboard");
async function qet(e, { keyDef: t, releasePrevious: r, releaseSelf: n, repeat: o }) {
  let { system: i } = e;
  if (i.keyboard.isKeyPressed(t) && await i.keyboard.keyup(e, t), !r) {
    for (let s = 1; s <= o; s++)
      await i.keyboard.keydown(e, t), s < o && await _a(e.config);
    n && await i.keyboard.keyup(e, t);
  }
}
a(qet, "keyboardAction");
async function ide(e) {
  for (let t of e.system.keyboard.getPressedKeys())
    await e.system.keyboard.keyup(e, t);
}
a(ide, "releaseAllKeys");

// ../node_modules/@testing-library/user-event/dist/esm/document/copySelection.js
function AS(e) {
  let t = Vt(e) ? {
    "text/plain": Det(e)
  } : {
    "text/plain": String(e.ownerDocument.getSelection())
  }, r = Bd(gt(e));
  for (let n in t)
    t[n] && r.setData(n, t[n]);
  return r;
}
a(AS, "copySelection");
function Det(e) {
  let t = ci(e);
  return nr(e).substring(t.startOffset, t.endOffset);
}
a(Det, "readSelectedValueFromInput");

// ../node_modules/@testing-library/user-event/dist/esm/clipboard/copy.js
async function sde() {
  let e = this.config.document;
  var t;
  let r = (t = e.activeElement) !== null && t !== void 0 ? t : (
    /* istanbul ignore next */
    e.body
  ), n = AS(r);
  if (n.items.length !== 0)
    return this.dispatchUIEvent(r, "copy", {
      clipboardData: n
    }) && this.config.writeToClipboard && await cS(e, n), n;
}
a(sde, "copy");

// ../node_modules/@testing-library/user-event/dist/esm/clipboard/cut.js
async function lde() {
  let e = this.config.document;
  var t;
  let r = (t = e.activeElement) !== null && t !== void 0 ? t : (
    /* istanbul ignore next */
    e.body
  ), n = AS(r);
  if (n.items.length !== 0)
    return this.dispatchUIEvent(r, "cut", {
      clipboardData: n
    }) && this.config.writeToClipboard && await cS(r.ownerDocument, n), n;
}
a(lde, "cut");

// ../node_modules/@testing-library/user-event/dist/esm/clipboard/paste.js
async function ude(e) {
  let t = this.config.document;
  var r;
  let n = (r = t.activeElement) !== null && r !== void 0 ? r : (
    /* istanbul ignore next */
    t.body
  );
  var o;
  let i = (o = typeof e == "string" ? Fet(t, e) : e) !== null && o !== void 0 ? o : await Wue(t).catch(() => {
    throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.");
  });
  this.dispatchUIEvent(n, "paste", {
    clipboardData: i
  });
}
a(ude, "paste");
function Fet(e, t) {
  let r = Bd(gt(e));
  return r.setData("text", t), r;
}
a(Fet, "getClipboardDataFromString");

// ../node_modules/@testing-library/user-event/dist/esm/pointer/parseKeyDef.js
function gM(e, t) {
  let r = [];
  do {
    let { descriptor: n, consumedLength: o, releasePrevious: i, releaseSelf: s = !0 } = TS(t, "pointer"), l = e.find((u) => u.name === n);
    l && r.push({
      keyDef: l,
      releasePrevious: i,
      releaseSelf: s
    }), t = t.slice(o);
  } while (t);
  return r;
}
a(gM, "parseKeyDef");

// ../node_modules/@testing-library/user-event/dist/esm/pointer/index.js
async function dde(e) {
  let { pointerMap: t } = this.config, r = [];
  (Array.isArray(e) ? e : [
    e
  ]).forEach((n) => {
    typeof n == "string" ? r.push(...gM(t, n)) : "keys" in n ? r.push(...gM(t, n.keys).map((o) => ({
      ...n,
      ...o
    }))) : r.push(n);
  });
  for (let n = 0; n < r.length; n++)
    await _a(this.config), await jet(this, r[n]);
  this.system.pointer.resetClickCount();
}
a(dde, "pointer");
async function jet(e, t) {
  var r, n;
  let o = "pointerName" in t && t.pointerName ? t.pointerName : "keyDef" in t ? e.system.pointer.getPointerName(t.keyDef) : "mouse", i = e.system.
  pointer.getPreviousPosition(o);
  var s, l, u, c;
  let d = {
    target: (s = t.target) !== null && s !== void 0 ? s : Bet(e, i),
    coords: (l = t.coords) !== null && l !== void 0 ? l : i?.coords,
    caret: {
      node: (u = t.node) !== null && u !== void 0 ? u : cde(t) || i == null || (r = i.caret) === null || r === void 0 ? void 0 : r.node,
      offset: (c = t.offset) !== null && c !== void 0 ? c : cde(t) || i == null || (n = i.caret) === null || n === void 0 ? void 0 : n.offset
    }
  };
  "keyDef" in t ? (e.system.pointer.isKeyPressed(t.keyDef) && (lu(e, Ar.Trigger), await e.system.pointer.release(e, t.keyDef, d)), t.releasePrevious ||
  (lu(e, Ar.Trigger), await e.system.pointer.press(e, t.keyDef, d), t.releaseSelf && (lu(e, Ar.Trigger), await e.system.pointer.release(e, t.
  keyDef, d)))) : (lu(e, Ar.Trigger), await e.system.pointer.move(e, o, d));
}
a(jet, "pointerAction");
function cde(e) {
  var t, r;
  return !!((r = (t = e.target) !== null && t !== void 0 ? t : e.node) !== null && r !== void 0 ? r : e.offset !== void 0);
}
a(cde, "hasCaretPosition");
function Bet(e, t) {
  if (!t)
    throw new Error("This pointer has no previous position. Provide a target property!");
  var r;
  return (r = t.target) !== null && r !== void 0 ? r : e.config.document.body;
}
a(Bet, "getPrevTarget");

// ../node_modules/@testing-library/user-event/dist/esm/utility/clear.js
async function fde(e) {
  if (!Qo(e) || Tr(e))
    throw new Error("clear()` is only supported on editable elements.");
  if (cn(e), e.ownerDocument.activeElement !== e)
    throw new Error("The element to be cleared could not be focused.");
  if (ES(e), !Rce(e))
    throw new Error("The element content to be cleared could not be selected.");
  ta(this, e, "", "deleteContentBackward");
}
a(fde, "clear");

// ../node_modules/@testing-library/user-event/dist/esm/utility/selectOptions.js
async function pde(e, t) {
  return hde.call(this, !0, e, t);
}
a(pde, "selectOptions");
async function mde(e, t) {
  return hde.call(this, !1, e, t);
}
a(mde, "deselectOptions");
async function hde(e, t, r) {
  if (!e && !t.multiple)
    throw Ce().getElementError("Unable to deselect an option in a non-multiple select. Use selectOptions to change the selection instead.", t);
  let n = Array.isArray(r) ? r : [
    r
  ], o = Array.from(t.querySelectorAll('option, [role="option"]')), i = n.map((l) => {
    if (typeof l != "string" && o.includes(l))
      return l;
    {
      let u = o.find((c) => c.value === l || c.innerHTML === l);
      if (u)
        return u;
      throw Ce().getElementError(`Value "${String(l)}" not found in options`, t);
    }
  }).filter((l) => !Tr(l));
  if (Tr(t) || !i.length) return;
  let s = /* @__PURE__ */ a((l) => {
    l.selected = e, this.dispatchUIEvent(t, "input", {
      bubbles: !0,
      cancelable: !1,
      composed: !0
    }), this.dispatchUIEvent(t, "change");
  }, "selectOption");
  if (fe(t, "select"))
    if (t.multiple)
      for (let l of i) {
        let u = this.config.pointerEventsCheck === 0 ? !0 : Wd(this, l);
        u && (this.dispatchUIEvent(l, "pointerover"), this.dispatchUIEvent(t, "pointerenter"), this.dispatchUIEvent(l, "mouseover"), this.dispatchUIEvent(
        t, "mouseenter"), this.dispatchUIEvent(l, "pointermove"), this.dispatchUIEvent(l, "mousemove"), this.dispatchUIEvent(l, "pointerdown"),
        this.dispatchUIEvent(l, "mousedown")), cn(t), u && (this.dispatchUIEvent(l, "pointerup"), this.dispatchUIEvent(l, "mouseup")), s(l),
        u && this.dispatchUIEvent(l, "click"), await _a(this.config);
      }
    else if (i.length === 1) {
      let l = this.config.pointerEventsCheck === 0 ? !0 : Wd(this, t);
      l ? await this.click(t) : cn(t), s(i[0]), l && (this.dispatchUIEvent(t, "pointerover"), this.dispatchUIEvent(t, "pointerenter"), this.
      dispatchUIEvent(t, "mouseover"), this.dispatchUIEvent(t, "mouseenter"), this.dispatchUIEvent(t, "pointerup"), this.dispatchUIEvent(t, "\
mouseup"), this.dispatchUIEvent(t, "click")), await _a(this.config);
    } else
      throw Ce().getElementError("Cannot select multiple options on a non-multiple select", t);
  else if (t.getAttribute("role") === "listbox")
    for (let l of i)
      await this.click(l), await this.unhover(l);
  else
    throw Ce().getElementError("Cannot select options on elements that are neither select nor listbox elements", t);
}
a(hde, "selectOptionsBase");

// ../node_modules/@testing-library/user-event/dist/esm/utility/type.js
async function gde(e, t, { skipClick: r = this.config.skipClick, skipAutoClose: n = this.config.skipAutoClose, initialSelectionStart: o, initialSelectionEnd: i } = {}) {
  e.disabled || (r || await this.click(e), o !== void 0 && su(e, o, i ?? o), await this.keyboard(t), n || await ide(this));
}
a(gde, "type");

// ../node_modules/@testing-library/user-event/dist/esm/utils/edit/setFiles.js
var yde = Symbol("files and value properties are mocked");
function yM(e, t, r) {
  r ? Object.defineProperty(e, t, r) : delete e[t];
}
a(yM, "restoreProperty");
function vde(e, t) {
  var r;
  (r = e[yde]) === null || r === void 0 || r.restore();
  let n = Object.getOwnPropertyDescriptor(e, "type"), o = Object.getOwnPropertyDescriptor(e, "value"), i = Object.getOwnPropertyDescriptor(e,
  "files");
  function s() {
    yM(e, "type", n), yM(e, "value", o), yM(e, "files", i);
  }
  a(s, "restore"), e[yde] = {
    restore: s
  }, Object.defineProperties(e, {
    files: {
      configurable: !0,
      get: /* @__PURE__ */ a(() => t, "get")
    },
    value: {
      configurable: !0,
      get: /* @__PURE__ */ a(() => t.length ? `C:\\fakepath\\${t[0].name}` : "", "get"),
      set(l) {
        if (l === "")
          s();
        else {
          var u;
          o == null || (u = o.set) === null || u === void 0 || u.call(e, l);
        }
      }
    },
    type: {
      configurable: !0,
      get: /* @__PURE__ */ a(() => "file", "get"),
      set(l) {
        l !== "file" && (s(), e.type = l);
      }
    }
  });
}
a(vde, "setFiles");

// ../node_modules/@testing-library/user-event/dist/esm/utility/upload.js
async function bde(e, t) {
  let r = fe(e, "label") ? e.control : e;
  if (!r || !fe(r, "input", {
    type: "file"
  }))
    throw new TypeError(`The ${r === e ? "given" : "associated"} ${r?.tagName} element does not accept file uploads`);
  if (Tr(e)) return;
  let n = (Array.isArray(t) ? t : [
    t
  ]).filter((i) => !this.config.applyAccept || $et(i, r.accept)).slice(0, r.multiple ? void 0 : 1), o = /* @__PURE__ */ a(() => {
    var i;
    n.length === ((i = r.files) === null || i === void 0 ? void 0 : i.length) && n.every((s, l) => {
      var u;
      return s === ((u = r.files) === null || u === void 0 ? void 0 : u.item(l));
    }) || (vde(r, hh(gt(e), n)), this.dispatchUIEvent(r, "input"), this.dispatchUIEvent(r, "change"));
  }, "fileDialog");
  r.addEventListener("fileDialog", o), await this.click(e), r.removeEventListener("fileDialog", o);
}
a(bde, "upload");
function OS(e) {
  return e.toLowerCase().replace(/(\.|\/)jpg\b/g, "$1jpeg");
}
a(OS, "normalize");
function $et(e, t) {
  if (!t)
    return !0;
  let r = [
    "audio/*",
    "image/*",
    "video/*"
  ];
  return OS(t).trim().split(/\s*,\s*/).some((n) => n.startsWith(".") ? OS(e.name).endsWith(n) : r.includes(n) ? OS(e.type).startsWith(n.replace(
  "*", "")) : OS(e.type) === n);
}
a($et, "isAcceptableFile");

// ../node_modules/@testing-library/user-event/dist/esm/setup/api.js
var vM = {
  click: Xce,
  dblClick: Jce,
  tripleClick: Qce,
  hover: Zce,
  unhover: ede,
  tab: tde,
  keyboard: ade,
  copy: sde,
  cut: lde,
  paste: ude,
  pointer: dde,
  clear: fde,
  deselectOptions: mde,
  selectOptions: pde,
  type: gde,
  upload: bde
};

// ../node_modules/@testing-library/user-event/dist/esm/setup/wrapAsync.js
function wde(e) {
  return Ce().asyncWrapper(e);
}
a(wde, "wrapAsync");

// ../node_modules/@testing-library/user-event/dist/esm/setup/setup.js
var Ede = {
  applyAccept: !0,
  autoModify: !0,
  delay: 0,
  document: globalThis.document,
  keyboardMap: jce,
  pointerMap: Bce,
  pointerEventsCheck: uu.EachApiCall,
  skipAutoClose: !1,
  skipClick: !1,
  skipHover: !1,
  writeToClipboard: !1,
  advanceTimers: /* @__PURE__ */ a(() => Promise.resolve(), "advanceTimers")
}, Het = {
  ...Ede,
  writeToClipboard: !0
};
function Rde(e = {}, t = Het, r) {
  let n = Vet(e, r, t);
  return {
    ...t,
    ...e,
    document: n
  };
}
a(Rde, "createConfig");
function xde(e = {}) {
  let t = Rde(e);
  iM(t.document), oM(gt(t.document).HTMLElement);
  var r;
  let n = (r = t.document.defaultView) !== null && r !== void 0 ? r : (
    /* istanbul ignore next */
    globalThis.window
  );
  return Vue(n), bM(t).api;
}
a(xde, "setupMain");
function yr({ keyboardState: e, pointerState: t, ...r } = {}, n) {
  let o = Rde(r, Ede, n);
  iM(o.document), oM(gt(o.document).HTMLElement);
  var i;
  let s = (i = t ?? e) !== null && i !== void 0 ? i : new Ch();
  return {
    api: bM(o, s).api,
    system: s
  };
}
a(yr, "setupDirect");
function zet(e) {
  return bM({
    ...this.config,
    ...e
  }, this.system).api;
}
a(zet, "setupSub");
function Uet(e, t) {
  function r(...n) {
    return lu(e, Ar.Call), wde(() => t.apply(e, n).then(async (o) => (await _a(e.config), o)));
  }
  return a(r, "method"), Object.defineProperty(r, "name", {
    get: /* @__PURE__ */ a(() => t.name, "get")
  }), r;
}
a(Uet, "wrapAndBindImpl");
function bM(e, t = new Ch()) {
  let r = {};
  return Object.assign(r, {
    config: e,
    dispatchEvent: nM.bind(r),
    dispatchUIEvent: Ace.bind(r),
    system: t,
    levelRefs: {},
    ...vM
  }), {
    instance: r,
    api: {
      ...Object.fromEntries(Object.entries(vM).map(([n, o]) => [
        n,
        Uet(r, o)
      ])),
      setup: zet.bind(r)
    }
  };
}
a(bM, "createInstance");
function Vet(e, t, r) {
  var n, o;
  return (o = (n = e.document) !== null && n !== void 0 ? n : t && qce(t)) !== null && o !== void 0 ? o : r.document;
}
a(Vet, "getDocument");

// ../node_modules/@testing-library/user-event/dist/esm/setup/directApi.js
var wM = {};
_e(wM, {
  clear: () => Wet,
  click: () => Get,
  copy: () => Yet,
  cut: () => Ket,
  dblClick: () => Xet,
  deselectOptions: () => Jet,
  hover: () => Qet,
  keyboard: () => Zet,
  paste: () => ttt,
  pointer: () => ett,
  selectOptions: () => rtt,
  tab: () => stt,
  tripleClick: () => ntt,
  type: () => ott,
  unhover: () => att,
  upload: () => itt
});
function Wet(e) {
  return yr().api.clear(e);
}
a(Wet, "clear");
function Get(e, t = {}) {
  return yr(t, e).api.click(e);
}
a(Get, "click");
function Yet(e = {}) {
  return yr(e).api.copy();
}
a(Yet, "copy");
function Ket(e = {}) {
  return yr(e).api.cut();
}
a(Ket, "cut");
function Xet(e, t = {}) {
  return yr(t).api.dblClick(e);
}
a(Xet, "dblClick");
function Jet(e, t, r = {}) {
  return yr(r).api.deselectOptions(e, t);
}
a(Jet, "deselectOptions");
function Qet(e, t = {}) {
  return yr(t).api.hover(e);
}
a(Qet, "hover");
async function Zet(e, t = {}) {
  let { api: r, system: n } = yr(t);
  return r.keyboard(e).then(() => n);
}
a(Zet, "keyboard");
async function ett(e, t = {}) {
  let { api: r, system: n } = yr(t);
  return r.pointer(e).then(() => n);
}
a(ett, "pointer");
function ttt(e, t) {
  return yr(t).api.paste(e);
}
a(ttt, "paste");
function rtt(e, t, r = {}) {
  return yr(r).api.selectOptions(e, t);
}
a(rtt, "selectOptions");
function ntt(e, t = {}) {
  return yr(t).api.tripleClick(e);
}
a(ntt, "tripleClick");
function ott(e, t, r = {}) {
  return yr(r, e).api.type(e, t, r);
}
a(ott, "type");
function att(e, t = {}) {
  let { api: r, system: n } = yr(t);
  return n.pointer.setMousePosition({
    target: e
  }), r.unhover(e);
}
a(att, "unhover");
function itt(e, t, r = {}) {
  return yr(r).api.upload(e, t);
}
a(itt, "upload");
function stt(e = {}) {
  return yr().api.tab(e);
}
a(stt, "tab");

// ../node_modules/@testing-library/user-event/dist/esm/setup/index.js
var _h = {
  ...wM,
  setup: xde
};

// src/test/testing-library.ts
kr();
Ao();
var EM = sd(
  { ...U8 },
  {
    intercept: /* @__PURE__ */ a((e, t) => t[0] === "fireEvent" || e.startsWith("find") || e.startsWith("waitFor"), "intercept")
  }
);
EM.screen = new Proxy(EM.screen, {
  get(e, t, r) {
    return Pt.warn(Cg`
          You are using Testing Library's \`screen\` object. Use \`within(canvasElement)\` instead.
          More info: https://storybook.js.org/docs/essentials/interactions
        `), Reflect.get(e, t, r);
  }
});
var {
  buildQueries: utt,
  configure: ctt,
  createEvent: dtt,
  fireEvent: ftt,
  findAllByAltText: ptt,
  findAllByDisplayValue: mtt,
  findAllByLabelText: htt,
  findAllByPlaceholderText: gtt,
  findAllByRole: ytt,
  findAllByTestId: vtt,
  findAllByText: btt,
  findAllByTitle: wtt,
  findByAltText: Ett,
  findByDisplayValue: Rtt,
  findByLabelText: xtt,
  findByPlaceholderText: Stt,
  findByRole: Ctt,
  findByTestId: _tt,
  findByText: Ptt,
  findByTitle: Ttt,
  getAllByAltText: Att,
  getAllByDisplayValue: Ott,
  getAllByLabelText: Itt,
  getAllByPlaceholderText: Mtt,
  getAllByRole: Ntt,
  getAllByTestId: Ltt,
  getAllByText: ktt,
  getAllByTitle: qtt,
  getByAltText: Dtt,
  getByDisplayValue: Ftt,
  getByLabelText: jtt,
  getByPlaceholderText: Btt,
  getByRole: $tt,
  getByTestId: Htt,
  getByText: ztt,
  getByTitle: Utt,
  getConfig: Vtt,
  getDefaultNormalizer: Wtt,
  getElementError: Gtt,
  getNodeText: Ytt,
  getQueriesForElement: Ktt,
  getRoles: Xtt,
  getSuggestedQuery: Jtt,
  isInaccessible: Qtt,
  logDOM: Ztt,
  logRoles: ert,
  prettyDOM: trt,
  queries: rrt,
  queryAllByAltText: nrt,
  queryAllByAttribute: ort,
  queryAllByDisplayValue: art,
  queryAllByLabelText: irt,
  queryAllByPlaceholderText: srt,
  queryAllByRole: lrt,
  queryAllByTestId: urt,
  queryAllByText: crt,
  queryAllByTitle: drt,
  queryByAltText: frt,
  queryByAttribute: prt,
  queryByDisplayValue: mrt,
  queryByLabelText: hrt,
  queryByPlaceholderText: grt,
  queryByRole: yrt,
  queryByTestId: vrt,
  queryByText: brt,
  queryByTitle: wrt,
  queryHelpers: Ert,
  screen: Rrt,
  waitFor: xrt,
  waitForElementToBeRemoved: Srt,
  within: Crt,
  prettyFormat: _rt
} = EM, Prt = _h, { userEvent: Trt } = sd(
  { userEvent: _h },
  { intercept: !0 }
);

// src/test/index.ts
var { expect: Art } = sd(
  { expect: VI },
  {
    getKeys: /* @__PURE__ */ a((e, t) => {
      if ("constructor" in e && e.constructor === T) {
        let r = ["assert", "__methods", "__flags", "_obj"], n = Object.keys(Object.getPrototypeOf(e)).filter(
          (o) => !r.includes(o)
        );
        return t > 2 ? n : [...n, "not"];
      }
      return "any" in e ? Object.keys(e).filter((r) => r !== "any") : Object.keys(e);
    }, "getKeys"),
    mutate: !0,
    intercept: /* @__PURE__ */ a((e) => e !== "expect", "intercept")
  }
), Ort = {
  mock: /* @__PURE__ */ a(() => {
  }, "mock")
};

// src/csf/index.ts
var Pa = /* @__PURE__ */ a((e) => e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi, "-").replace(/-+/g,
"-").replace(/^-+/, "").replace(/-+$/, ""), "sanitize"), Sde = /* @__PURE__ */ a((e, t) => {
  let r = Pa(e);
  if (r === "")
    throw new Error(`Invalid ${t} '${e}', must include alphanumeric characters`);
  return r;
}, "sanitizeSafe"), Ph = /* @__PURE__ */ a((e, t) => `${Sde(e, "kind")}${t ? `--${Sde(t, "name")}` : ""}`, "toId");

// src/components/components/tabs/tabs.tsx
ue();

// src/components/components/bar/bar.tsx
var pi = N(H(), 1);
ue();
j1();
var xM = L.div(
  {
    display: "flex",
    whiteSpace: "nowrap",
    flexBasis: "auto",
    marginLeft: 3,
    marginRight: 10
  },
  ({ scrollable: e }) => e ? { flexShrink: 0 } : {},
  ({ left: e }) => e ? {
    "& > *": {
      marginLeft: 4
    }
  } : {},
  ({ right: e }) => e ? {
    gap: 6
  } : {}
);
xM.displayName = "Side";
var Irt = /* @__PURE__ */ a(({ children: e, className: t, scrollable: r }) => r ? /* @__PURE__ */ pi.default.createElement(El, { vertical: !1,
className: t }, e) : /* @__PURE__ */ pi.default.createElement("div", { className: t }, e), "UnstyledBar"), IS = L(Irt)(
  ({ backgroundColor: e, theme: t, scrollable: r = !0 }) => ({
    color: t.barTextColor,
    width: "100%",
    minHeight: 40,
    flexShrink: 0,
    scrollbarColor: `${t.barTextColor} ${e || t.barBg}`,
    scrollbarWidth: "thin",
    overflow: r ? "auto" : "hidden",
    overflowY: "hidden"
  }),
  ({ theme: e, border: t = !1 }) => t ? {
    boxShadow: `${e.appBorderColor}  0 -1px 0 0 inset`,
    background: e.barBg
  } : {}
);
IS.displayName = "Bar";
var Mrt = L.div(({ bgColor: e }) => ({
  display: "flex",
  justifyContent: "space-between",
  position: "relative",
  flexWrap: "nowrap",
  flexShrink: 0,
  height: 40,
  backgroundColor: e || ""
})), Th = /* @__PURE__ */ a(({ children: e, backgroundColor: t, className: r, ...n }) => {
  let [o, i] = pi.Children.toArray(e);
  return /* @__PURE__ */ pi.default.createElement(IS, { backgroundColor: t, className: `sb-bar ${r}`, ...n }, /* @__PURE__ */ pi.default.createElement(
  Mrt, { bgColor: t }, /* @__PURE__ */ pi.default.createElement(xM, { scrollable: n.scrollable, left: !0 }, o), i ? /* @__PURE__ */ pi.default.
  createElement(xM, { right: !0 }, i) : null));
}, "FlexBar");
Th.displayName = "FlexBar";

// src/components/components/bar/button.tsx
var Ah = N(H(), 1);
ue();
var Nrt = /* @__PURE__ */ a((e) => typeof e.props.href == "string", "isLink"), Lrt = /* @__PURE__ */ a((e) => typeof e.props.href != "string",
"isButton");
function krt({ children: e, ...t }, r) {
  let n = { props: t, ref: r };
  if (Nrt(n))
    return /* @__PURE__ */ Ah.default.createElement("a", { ref: n.ref, ...n.props }, e);
  if (Lrt(n))
    return /* @__PURE__ */ Ah.default.createElement("button", { ref: n.ref, type: "button", ...n.props }, e);
  throw new Error("invalid props");
}
a(krt, "ForwardRefFunction");
var Cde = (0, Ah.forwardRef)(krt);
Cde.displayName = "ButtonOrLink";
var $s = L(Cde, { shouldForwardProp: zi })(
  {
    whiteSpace: "normal",
    display: "inline-flex",
    overflow: "hidden",
    verticalAlign: "top",
    justifyContent: "center",
    alignItems: "center",
    textAlign: "center",
    textDecoration: "none",
    "&:empty": {
      display: "none"
    },
    "&[hidden]": {
      display: "none"
    }
  },
  ({ theme: e }) => ({
    padding: "0 15px",
    transition: "color 0.2s linear, border-bottom-color 0.2s linear",
    height: 40,
    lineHeight: "12px",
    cursor: "pointer",
    background: "transparent",
    border: "0 solid transparent",
    borderTop: "3px solid transparent",
    borderBottom: "3px solid transparent",
    fontWeight: "bold",
    fontSize: 13,
    "&:focus": {
      outline: "0 none",
      borderBottomColor: e.barSelectedColor
    }
  }),
  ({ active: e, textColor: t, theme: r }) => e ? {
    color: t || r.barSelectedColor,
    borderBottomColor: r.barSelectedColor
  } : {
    color: t || r.barTextColor,
    borderBottomColor: "transparent",
    "&:hover": {
      color: r.barHoverColor
    }
  }
);
$s.displayName = "TabButton";

// src/components/components/tabs/EmptyTabContent.tsx
var Oh = N(H(), 1);
ue();
var qrt = L.div(({ theme: e }) => ({
  height: "100%",
  display: "flex",
  padding: 30,
  alignItems: "center",
  justifyContent: "center",
  flexDirection: "column",
  gap: 15,
  background: e.background.content
})), Drt = L.div({
  display: "flex",
  flexDirection: "column",
  gap: 4,
  maxWidth: 415
}), Frt = L.div(({ theme: e }) => ({
  fontWeight: e.typography.weight.bold,
  fontSize: e.typography.size.s2 - 1,
  textAlign: "center",
  color: e.textColor
})), jrt = L.div(({ theme: e }) => ({
  fontWeight: e.typography.weight.regular,
  fontSize: e.typography.size.s2 - 1,
  textAlign: "center",
  color: e.textMutedColor
})), Ih = /* @__PURE__ */ a(({ title: e, description: t, footer: r }) => /* @__PURE__ */ Oh.default.createElement(qrt, null, /* @__PURE__ */ Oh.default.
createElement(Drt, null, /* @__PURE__ */ Oh.default.createElement(Frt, null, e), t && /* @__PURE__ */ Oh.default.createElement(jrt, null, t)),
r), "EmptyTabContent");

// src/components/components/tabs/tabs.helpers.tsx
var MS = N(H(), 1);
ue();
var SM = L.div(
  ({ active: e }) => e ? { display: "block" } : { display: "none" }
), _de = /* @__PURE__ */ a((e) => MS.Children.toArray(e).map(
  // @ts-expect-error (non strict)
  ({
    props: { title: t, id: r, color: n, children: o }
  }) => {
    let i = Array.isArray(
      o
    ) ? o[0] : o;
    return {
      title: t,
      id: r,
      ...n ? { color: n } : {},
      render: typeof i == "function" ? i : ({ active: l }) => /* @__PURE__ */ MS.default.createElement(SM, { active: l, role: "tabpanel" }, i)
    };
  }
), "childrenToList");

// src/components/components/tabs/tabs.hooks.tsx
var xt = N(H(), 1);
ue();
Ky();
var Brt = L.span(({ theme: e, isActive: t }) => ({
  display: "inline-block",
  width: 0,
  height: 0,
  marginLeft: 8,
  color: t ? e.color.secondary : e.color.mediumdark,
  borderRight: "3px solid transparent",
  borderLeft: "3px solid transparent",
  borderTop: "3px solid",
  transition: "transform .1s ease-out"
})), $rt = L($s)(({ active: e, theme: t, preActive: r }) => `
    color: ${r || e ? t.barSelectedColor : t.barTextColor};
    .addon-collapsible-icon {
      color: ${r || e ? t.barSelectedColor : t.barTextColor};
    }
    &:hover {
      color: ${t.barHoverColor};
      .addon-collapsible-icon {
        color: ${t.barHoverColor};
      }
    }
  `);
function Pde(e) {
  let t = (0, xt.useRef)(), r = (0, xt.useRef)(), n = (0, xt.useRef)(/* @__PURE__ */ new Map()), { width: o = 1 } = Py({
    // @ts-expect-error (non strict)
    ref: t
  }), [i, s] = (0, xt.useState)(e), [l, u] = (0, xt.useState)([]), c = (0, xt.useRef)(e), d = (0, xt.useCallback)(
    ({
      menuName: p,
      actions: m
    }) => {
      let v = l.some(({ active: g }) => g), [y, b] = (0, xt.useState)(!1);
      return /* @__PURE__ */ xt.default.createElement(xt.default.Fragment, null, /* @__PURE__ */ xt.default.createElement(
        VA,
        {
          interactive: !0,
          visible: y,
          onVisibleChange: b,
          placement: "bottom",
          delayHide: 100,
          tooltip: /* @__PURE__ */ xt.default.createElement(
            Jy,
            {
              links: l.map(({ title: g, id: w, color: E, active: x }) => ({
                id: w,
                title: g,
                color: E,
                active: x,
                onClick: /* @__PURE__ */ a((S) => {
                  S.preventDefault(), m.onSelect(w);
                }, "onClick")
              }))
            }
          )
        },
        /* @__PURE__ */ xt.default.createElement(
          $rt,
          {
            id: "addons-menu-button",
            ref: r,
            active: v,
            preActive: y,
            style: { visibility: l.length ? "visible" : "hidden" },
            "aria-hidden": !l.length,
            className: "tabbutton",
            type: "button",
            role: "tab"
          },
          p,
          /* @__PURE__ */ xt.default.createElement(
            Brt,
            {
              className: "addon-collapsible-icon",
              isActive: v || y
            }
          )
        )
      ), l.map(({ title: g, id: w, color: E }, x) => {
        let S = `index-${x}`;
        return /* @__PURE__ */ xt.default.createElement(
          $s,
          {
            id: `tabbutton-${Pa(w) ?? S}`,
            style: { visibility: "hidden" },
            "aria-hidden": !0,
            tabIndex: -1,
            ref: (C) => {
              n.current.set(w, C);
            },
            className: "tabbutton",
            type: "button",
            key: w,
            textColor: E,
            role: "tab"
          },
          g
        );
      }));
    },
    [l]
  ), f = (0, xt.useCallback)(() => {
    if (!t.current || !r.current)
      return;
    let { x: p, width: m } = t.current.getBoundingClientRect(), { width: v } = r.current.getBoundingClientRect(), y = l.length ? p + m - v :
    p + m, b = [], g = 0, w = e.filter((E) => {
      let { id: x } = E, S = n.current.get(x), { width: C = 0 } = S?.getBoundingClientRect() || {}, _ = p + g + C > y;
      return (!_ || !S) && b.push(E), g += C, _;
    });
    (b.length !== i.length || c.current !== e) && (s(b), u(w), c.current = e);
  }, [l.length, e, i]);
  return (0, xt.useLayoutEffect)(f, [f, o]), {
    tabRefs: n,
    addonsRef: r,
    tabBarRef: t,
    visibleList: i,
    invisibleList: l,
    AddonTab: d
  };
}
a(Pde, "useList");

// src/components/components/tabs/tabs.tsx
var Hrt = "/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */", zrt = L.div(
  ({ theme: e, bordered: t }) => t ? {
    backgroundClip: "padding-box",
    border: `1px solid ${e.appBorderColor}`,
    borderRadius: e.appBorderRadius,
    overflow: "hidden",
    boxSizing: "border-box"
  } : {},
  ({ absolute: e }) => e ? {
    width: "100%",
    height: "100%",
    boxSizing: "border-box",
    display: "flex",
    flexDirection: "column"
  } : {
    display: "block"
  }
), kS = L.div({
  overflow: "hidden",
  "&:first-of-type": {
    marginLeft: -3
  },
  whiteSpace: "nowrap",
  flexGrow: 1
});
kS.displayName = "TabBar";
var Urt = L.div(
  {
    display: "block",
    position: "relative",
    container: "tab-content / inline-size"
  },
  ({ theme: e }) => ({
    fontSize: e.typography.size.s2 - 1,
    background: e.background.content
  }),
  ({ bordered: e, theme: t }) => e ? {
    borderRadius: `0 0 ${t.appBorderRadius - 1}px ${t.appBorderRadius - 1}px`
  } : {},
  ({ absolute: e, bordered: t }) => e ? {
    height: `calc(100% - ${t ? 42 : 40}px)`,
    position: "absolute",
    left: 0 + (t ? 1 : 0),
    right: 0 + (t ? 1 : 0),
    bottom: 0 + (t ? 1 : 0),
    top: 40 + (t ? 1 : 0),
    overflow: "auto",
    [`& > *:first-child${Hrt}`]: {
      position: "absolute",
      left: 0 + (t ? 1 : 0),
      right: 0 + (t ? 1 : 0),
      bottom: 0 + (t ? 1 : 0),
      top: 0 + (t ? 1 : 0),
      height: `calc(100% - ${t ? 2 : 0}px)`,
      overflow: "auto"
    }
  } : {}
), Tde = /* @__PURE__ */ a(({ active: e, render: t, children: r }) => /* @__PURE__ */ Ot.default.createElement(SM, { active: e }, t ? t() : r),
"TabWrapper");
var _M = class _M extends Ot.Component {
  constructor(t) {
    super(t), this.state = { hasError: !1 };
  }
  static getDerivedStateFromError() {
    return { hasError: !0 };
  }
  componentDidCatch(t, r) {
    console.error("Error rendering addon panel"), console.error(t), console.error(r.componentStack);
  }
  render() {
    return this.state.hasError && this.props.active ? /* @__PURE__ */ Ot.default.createElement(
      Ih,
      {
        title: "This addon has errors",
        description: "Check your browser logs and addon code to pinpoint what went wrong. This issue was not caused by Storybook."
      }
    ) : this.props.children;
  }
};
a(_M, "TabErrorBoundary");
var CM = _M, qS = (0, Ot.memo)(
  ({
    children: e,
    selected: t = null,
    actions: r,
    absolute: n = !1,
    bordered: o = !1,
    tools: i = null,
    backgroundColor: s,
    id: l = null,
    menuName: u = "Tabs",
    emptyState: c,
    showToolsWhenEmpty: d
  }) => {
    let f = (0, Ot.useMemo)(
      () => _de(e).map((g, w) => ({
        ...g,
        active: t ? g.id === t : w === 0
      })),
      [e, t]
    ), { visibleList: p, tabBarRef: m, tabRefs: v, AddonTab: y } = Pde(f), b = c ?? /* @__PURE__ */ Ot.default.createElement(Ih, { title: "N\
othing found" });
    return !d && f.length === 0 ? b : (
      // @ts-expect-error (non strict)
      /* @__PURE__ */ Ot.default.createElement(zrt, { absolute: n, bordered: o, id: l }, /* @__PURE__ */ Ot.default.createElement(Th, { scrollable: !1,
      border: !0, backgroundColor: s }, /* @__PURE__ */ Ot.default.createElement(kS, { style: { whiteSpace: "normal" }, ref: m, role: "tabli\
st" }, p.map(({ title: g, id: w, active: E, color: x }, S) => {
        let C = `index-${S}`;
        return /* @__PURE__ */ Ot.default.createElement(
          $s,
          {
            id: `tabbutton-${Pa(w) ?? C}`,
            ref: (_) => {
              v.current.set(w, _);
            },
            className: `tabbutton ${E ? "tabbutton-active" : ""}`,
            type: "button",
            key: w,
            active: E,
            textColor: x,
            onClick: (_) => {
              _.preventDefault(), r.onSelect(w);
            },
            role: "tab"
          },
          typeof g == "function" ? /* @__PURE__ */ Ot.default.createElement("title", null) : g
        );
      }), /* @__PURE__ */ Ot.default.createElement(y, { menuName: u, actions: r })), i), /* @__PURE__ */ Ot.default.createElement(Urt, { id: "\
panel-tab-content", bordered: o, absolute: n }, f.length ? f.map(({ id: g, active: w, render: E }) => /* @__PURE__ */ Ot.default.createElement(
      CM, { key: g, active: w }, Ot.default.createElement(E, { active: w }, null))) : b))
    );
  }
);
qS.displayName = "Tabs";
var LS = class LS extends Ot.Component {
  constructor(r) {
    super(r);
    this.handlers = {
      onSelect: /* @__PURE__ */ a((r) => this.setState({ selected: r }), "onSelect")
    };
    this.state = {
      selected: r.initial
    };
  }
  render() {
    let { bordered: r = !1, absolute: n = !1, children: o, backgroundColor: i, menuName: s } = this.props, { selected: l } = this.state;
    return /* @__PURE__ */ Ot.default.createElement(
      qS,
      {
        bordered: r,
        absolute: n,
        selected: l,
        backgroundColor: i,
        menuName: s,
        actions: this.handlers
      },
      o
    );
  }
};
a(LS, "TabsState"), LS.defaultProps = {
  children: [],
  // @ts-expect-error (non strict)
  initial: null,
  absolute: !1,
  bordered: !1,
  backgroundColor: "",
  // @ts-expect-error (non strict)
  menuName: void 0
};
var NS = LS;

// src/components/components/bar/separator.tsx
var Mh = N(H(), 1);
ue();
var DS = L.span(
  ({ theme: e }) => ({
    width: 1,
    height: 20,
    background: e.appBorderColor,
    marginLeft: 2,
    marginRight: 2
  }),
  ({ force: e }) => e ? {} : {
    "& + &": {
      display: "none"
    }
  }
);
DS.displayName = "Separator";
var Ade = /* @__PURE__ */ a((e) => e.reduce(
  (t, r, n) => r ? /* @__PURE__ */ Mh.default.createElement(Mh.Fragment, { key: r.id || r.key || `f-${n}` }, t, n > 0 ? /* @__PURE__ */ Mh.default.
  createElement(DS, { key: `s-${n}` }) : null, r.render() || r) : t,
  null
), "interleaveSeparators");

// src/components/components/addon-panel/addon-panel.tsx
var Gd = N(H(), 1);
var Vrt = /* @__PURE__ */ a((e) => {
  let t = (0, Gd.useRef)();
  return (0, Gd.useEffect)(() => {
    t.current = e;
  }, [e]), t.current;
}, "usePrevious"), Wrt = /* @__PURE__ */ a((e, t) => {
  let r = Vrt(t);
  return e ? t : r;
}, "useUpdate"), Ode = /* @__PURE__ */ a(({ active: e, children: t }) => (
  // the hidden attribute is an valid html element that's both accessible and works to visually hide content
  /* @__PURE__ */ Gd.default.createElement("div", { hidden: !e }, Wrt(e, t))
), "AddonPanel");

// src/components/brand/StorybookLogo.tsx
var na = N(H(), 1);
var Ide = /* @__PURE__ */ a(({ alt: e, ...t }) => /* @__PURE__ */ na.default.createElement("svg", { width: "200px", height: "40px", viewBox: "\
0 0 200 40", ...t, role: "img" }, e ? /* @__PURE__ */ na.default.createElement("title", null, e) : null, /* @__PURE__ */ na.default.createElement(
"defs", null, /* @__PURE__ */ na.default.createElement(
  "path",
  {
    d: "M1.2 36.9L0 3.9c0-1.1.8-2 1.9-2.1l28-1.8a2 2 0 0 1 2.2 1.9 2 2 0 0 1 0 .1v36a2 2 0 0 1-2 2 2 2 0 0 1-.1 0L3.2 38.8a2 2 0 0 1-2-2z",
    id: "a"
  }
)), /* @__PURE__ */ na.default.createElement("g", { fill: "none", fillRule: "evenodd" }, /* @__PURE__ */ na.default.createElement(
  "path",
  {
    d: "M53.3 31.7c-1.7 0-3.4-.3-5-.7-1.5-.5-2.8-1.1-3.9-2l1.6-3.5c2.2 1.5 4.6 2.3 7.3 2.3 1.5 0 2.5-.2 3.3-.7.7-.5 1.1-1 1.1-1.9 0-.7-.3-1.\
3-1-1.7s-2-.8-3.7-1.2c-2-.4-3.6-.9-4.8-1.5-1.1-.5-2-1.2-2.6-2-.5-1-.8-2-.8-3.2 0-1.4.4-2.6 1.2-3.6.7-1.1 1.8-2 3.2-2.6 1.3-.6 2.9-.9 4.7-.9 \
1.6 0 3.1.3 4.6.7 1.5.5 2.7 1.1 3.5 2l-1.6 3.5c-2-1.5-4.2-2.3-6.5-2.3-1.3 0-2.3.2-3 .8-.8.5-1.2 1.1-1.2 2 0 .5.2 1 .5 1.3.2.3.7.6 1.4.9l2.9.\
8c2.9.6 5 1.4 6.2 2.4a5 5 0 0 1 2 4.2 6 6 0 0 1-2.5 5c-1.7 1.2-4 1.9-7 1.9zm21-3.6l1.4-.1-.2 3.5-1.9.1c-2.4 0-4.1-.5-5.2-1.5-1.1-1-1.6-2.7-1\
.6-4.8v-6h-3v-3.6h3V11h4.8v4.6h4v3.6h-4v6c0 1.8.9 2.8 2.6 2.8zm11.1 3.5c-1.6 0-3-.3-4.3-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.\
3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.3-1 1.7 0 3.2.3 4.4 1a7 7 0 0 1 3 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.\
4 1zm0-3.6c2.4 0 3.6-1.6 3.6-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.6-1c-2.3 0-3.5 1.4-3.5 4.4 0 3 1.2 4.6 3.5 4.6zm21.7-8.8l-2.7.3c-1.3.2-2\
.3.5-2.8 1.2-.6.6-.9 1.4-.9 2.5v8.2H96V15.7h4.6v2.6c.8-1.8 2.5-2.8 5-3h1.3l.3 4zm14-3.5h4.8L116.4 37h-4.9l3-6.6-6.4-14.8h5l4 10 4-10zm16-.4c\
1.4 0 2.6.3 3.6 1 1 .6 1.9 1.6 2.5 2.8.6 1.2.9 2.7.9 4.3 0 1.6-.3 3-1 4.3a6.9 6.9 0 0 1-2.4 2.9c-1 .7-2.2 1-3.6 1-1 0-2-.2-3-.7-.8-.4-1.5-1-\
2-1.9v2.4h-4.7V8.8h4.8v9c.5-.8 1.2-1.4 2-1.9.9-.4 1.8-.6 3-.6zM135.7 28c1.1 0 2-.4 2.6-1.2.6-.8 1-2 1-3.4 0-1.5-.4-2.5-1-3.3s-1.5-1.1-2.6-1.\
1-2 .3-2.6 1.1c-.6.8-1 2-1 3.3 0 1.5.4 2.6 1 3.4.6.8 1.5 1.2 2.6 1.2zm18.9 3.6c-1.7 0-3.2-.3-4.4-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6\
.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.4-1 1.6 0 3 .3 4.3 1a7 7 0 0 1 3 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-\
2.7 1-4.3 1zm0-3.6c2.3 0 3.5-1.6 3.5-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.5-1c-2.4 0-3.6 1.4-3.6 4.4 0 3 1.2 4.6 3.6 4.6zm18 3.6c-1.7 0-3.\
2-.3-4.4-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.4-1 1.6 0 3 .3 4.4 1a7 7 0 0 1 2.9 2.8c.6 1.2 \
1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.3 1zm0-3.6c2.3 0 3.5-1.6 3.5-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.5-1c-2.4 0\
-3.6 1.4-3.6 4.4 0 3 1.2 4.6 3.6 4.6zm27.4 3.4h-6l-6-7v7h-4.8V8.8h4.9v13.6l5.8-6.7h5.7l-6.6 7.5 7 8.2z",
    fill: "currentColor"
  }
), /* @__PURE__ */ na.default.createElement("mask", { id: "b", fill: "#fff" }, /* @__PURE__ */ na.default.createElement("use", { xlinkHref: "\
#a" })), /* @__PURE__ */ na.default.createElement("use", { fill: "#FF4785", fillRule: "nonzero", xlinkHref: "#a" }), /* @__PURE__ */ na.default.
createElement(
  "path",
  {
    d: "M23.7 5L24 .2l3.9-.3.1 4.8a.3.3 0 0 1-.5.2L26 3.8l-1.7 1.4a.3.3 0 0 1-.5-.3zm-5 10c0 .9 5.3.5 6 0 0-5.4-2.8-8.2-8-8.2-5.3 0-8.2 2.8-\
8.2 7.1 0 7.4 10 7.6 10 11.6 0 1.2-.5 1.9-1.8 1.9-1.6 0-2.2-.9-2.1-3.6 0-.6-6.1-.8-6.3 0-.5 6.7 3.7 8.6 8.5 8.6 4.6 0 8.3-2.5 8.3-7 0-7.9-10\
.2-7.7-10.2-11.6 0-1.6 1.2-1.8 2-1.8.6 0 2 0 1.9 3z",
    fill: "#FFF",
    fillRule: "nonzero",
    mask: "url(#b)"
  }
))), "StorybookLogo");

// src/components/brand/StorybookIcon.tsx
var mu = N(H(), 1);
var Mde = /* @__PURE__ */ a((e) => /* @__PURE__ */ mu.default.createElement("svg", { viewBox: "0 0 64 64", ...e }, /* @__PURE__ */ mu.default.
createElement("title", null, "Storybook icon"), /* @__PURE__ */ mu.default.createElement("g", { id: "Artboard", stroke: "none", strokeWidth: "\
1", fill: "none", fillRule: "evenodd" }, /* @__PURE__ */ mu.default.createElement(
  "path",
  {
    d: "M8.04798541,58.7875918 L6.07908839,6.32540407 C6.01406344,4.5927838 7.34257463,3.12440831 9.07303814,3.01625434 L53.6958037,0.227331\
489 C55.457209,0.117243658 56.974354,1.45590096 57.0844418,3.21730626 C57.0885895,3.28366922 57.0906648,3.35014546 57.0906648,3.41663791 L57\
.0906648,60.5834697 C57.0906648,62.3483119 55.6599776,63.7789992 53.8951354,63.7789992 C53.847325,63.7789992 53.7995207,63.7779262 53.751758\
5,63.775781 L11.0978899,61.8600599 C9.43669044,61.7854501 8.11034889,60.4492961 8.04798541,58.7875918 Z",
    id: "path-1",
    fill: "#FF4785",
    fillRule: "nonzero"
  }
), /* @__PURE__ */ mu.default.createElement(
  "path",
  {
    d: "M35.9095005,24.1768792 C35.9095005,25.420127 44.2838488,24.8242707 45.4080313,23.9509748 C45.4080313,15.4847538 40.8652557,11.035887\
8 32.5466666,11.0358878 C24.2280775,11.0358878 19.5673077,15.553972 19.5673077,22.3311017 C19.5673077,34.1346028 35.4965208,34.3605071 35.49\
65208,40.7987804 C35.4965208,42.606015 34.6115646,43.6790606 32.6646607,43.6790606 C30.127786,43.6790606 29.1248356,42.3834613 29.2428298,37\
.9783269 C29.2428298,37.0226907 19.5673077,36.7247626 19.2723223,37.9783269 C18.5211693,48.6535354 25.1720308,51.7326752 32.7826549,51.73267\
52 C40.1572906,51.7326752 45.939005,47.8018145 45.939005,40.6858282 C45.939005,28.035186 29.7738035,28.3740425 29.7738035,22.1051974 C29.773\
8035,19.5637737 31.6617103,19.2249173 32.7826549,19.2249173 C33.9625966,19.2249173 36.0864917,19.4328883 35.9095005,24.1768792 Z",
    id: "path9_fill-path",
    fill: "#FFFFFF",
    fillRule: "nonzero"
  }
), /* @__PURE__ */ mu.default.createElement(
  "path",
  {
    d: "M44.0461638,0.830433986 L50.1874092,0.446606143 L50.443532,7.7810017 C50.4527198,8.04410717 50.2468789,8.26484453 49.9837734,8.27403\
237 C49.871115,8.27796649 49.7607078,8.24184808 49.6721567,8.17209069 L47.3089847,6.3104681 L44.5110468,8.43287463 C44.3012992,8.591981 44.0\
022839,8.55092814 43.8431776,8.34118051 C43.7762017,8.25288717 43.742082,8.14401677 43.7466857,8.03329059 L44.0461638,0.830433986 Z",
    id: "Path",
    fill: "#FFFFFF"
  }
))), "StorybookIcon");

// src/components/components/Loader/Loader.tsx
var Ta = N(H(), 1);
Va();
ue();

// src/components/components/shared/animation.ts
ue();
var Nde = dr`
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
`;

// src/components/components/Loader/Loader.tsx
var Grt = L.div(({ size: e = 32 }) => ({
  borderRadius: "50%",
  cursor: "progress",
  display: "inline-block",
  overflow: "hidden",
  position: "absolute",
  transition: "all 200ms ease-out",
  verticalAlign: "top",
  top: "50%",
  left: "50%",
  marginTop: -(e / 2),
  marginLeft: -(e / 2),
  height: e,
  width: e,
  zIndex: 4,
  borderWidth: 2,
  borderStyle: "solid",
  borderColor: "rgba(97, 97, 97, 0.29)",
  borderTopColor: "rgb(100,100,100)",
  animation: `${Nde} 0.7s linear infinite`,
  mixBlendMode: "difference"
})), Lde = L.div({
  position: "absolute",
  display: "flex",
  flexDirection: "column",
  justifyContent: "center",
  alignItems: "center",
  width: "100%",
  height: "100%"
}), Yrt = L.div(({ theme: e }) => ({
  position: "relative",
  width: "80%",
  marginBottom: "0.75rem",
  maxWidth: 300,
  height: 5,
  borderRadius: 5,
  background: Jt(0.8, e.color.secondary),
  overflow: "hidden",
  cursor: "progress"
})), Krt = L.div(({ theme: e }) => ({
  position: "absolute",
  top: 0,
  left: 0,
  height: "100%",
  background: e.color.secondary
})), kde = L.div(({ theme: e }) => ({
  minHeight: "2em",
  fontSize: `${e.typography.size.s1}px`,
  color: e.textMutedColor
})), Xrt = L(hT)(({ theme: e }) => ({
  width: 20,
  height: 20,
  marginBottom: "0.5rem",
  color: e.textMutedColor
})), Jrt = dr`
  from { content: "..." }
  33% { content: "." }
  66% { content: ".." }
  to { content: "..." }
`, Qrt = L.span({
  "&::after": {
    content: "'...'",
    animation: `${Jrt} 1s linear infinite`,
    animationDelay: "1s",
    display: "inline-block",
    width: "1em",
    height: "auto"
  }
}), qde = /* @__PURE__ */ a(({ progress: e, error: t, size: r, ...n }) => {
  if (t)
    return /* @__PURE__ */ Ta.default.createElement(Lde, { "aria-label": t.toString(), "aria-live": "polite", role: "status", ...n }, /* @__PURE__ */ Ta.default.
    createElement(Xrt, null), /* @__PURE__ */ Ta.default.createElement(kde, null, t.message));
  if (e) {
    let { value: o, modules: i } = e, { message: s } = e;
    return i && (s += ` ${i.complete} / ${i.total} modules`), /* @__PURE__ */ Ta.default.createElement(
      Lde,
      {
        "aria-label": "Content is loading...",
        "aria-live": "polite",
        "aria-valuemin": 0,
        "aria-valuemax": 100,
        "aria-valuenow": o * 100,
        "aria-valuetext": s,
        role: "progressbar",
        ...n
      },
      /* @__PURE__ */ Ta.default.createElement(Yrt, null, /* @__PURE__ */ Ta.default.createElement(Krt, { style: { width: `${o * 100}%` } })),
      /* @__PURE__ */ Ta.default.createElement(kde, null, s, o < 1 && /* @__PURE__ */ Ta.default.createElement(Qrt, { key: s }))
    );
  }
  return /* @__PURE__ */ Ta.default.createElement(
    Grt,
    {
      "aria-label": "Content is loading...",
      "aria-live": "polite",
      role: "status",
      size: r,
      ...n
    }
  );
}, "Loader");

// src/components/components/ProgressSpinner/ProgressSpinner.tsx
var mi = N(H(), 1);
ue();
var PM = "http://www.w3.org/2000/svg", Zrt = dr({
  "0%": {
    transform: "rotate(0deg)"
  },
  "100%": {
    transform: "rotate(360deg)"
  }
}), Dde = L.div(({ size: e }) => ({
  display: "inline-flex",
  alignItems: "center",
  justifyContent: "center",
  position: "relative",
  minWidth: e,
  minHeight: e
})), TM = L.svg(
  ({ size: e, width: t }) => ({
    position: "absolute",
    width: `${e}px!important`,
    height: `${e}px!important`,
    transform: "rotate(-90deg)",
    circle: {
      r: (e - Math.ceil(t)) / 2,
      cx: e / 2,
      cy: e / 2,
      opacity: 0.15,
      fill: "transparent",
      stroke: "currentColor",
      strokeWidth: t,
      strokeLinecap: "round",
      strokeDasharray: Math.PI * (e - Math.ceil(t))
    }
  }),
  ({ progress: e }) => e && {
    circle: {
      opacity: 0.75
    }
  },
  ({ spinner: e }) => e && {
    animation: `${Zrt} 1s linear infinite`,
    circle: {
      opacity: 0.25
    }
  }
), Fde = /* @__PURE__ */ a(({
  percentage: e = void 0,
  running: t = !0,
  size: r = 24,
  width: n = 1.5,
  children: o = null,
  ...i
}) => typeof e == "number" ? /* @__PURE__ */ mi.default.createElement(Dde, { size: r, ...i }, o, /* @__PURE__ */ mi.default.createElement(TM,
{ size: r, width: n, xmlns: PM }, /* @__PURE__ */ mi.default.createElement("circle", null)), t && /* @__PURE__ */ mi.default.createElement(TM,
{ size: r, width: n, xmlns: PM, spinner: !0 }, /* @__PURE__ */ mi.default.createElement("circle", { strokeDashoffset: Math.PI * (r - Math.ceil(
n)) * (1 - e / 100) })), /* @__PURE__ */ mi.default.createElement(TM, { size: r, width: n, xmlns: PM, progress: !0 }, /* @__PURE__ */ mi.default.
createElement("circle", { strokeDashoffset: Math.PI * (r - Math.ceil(n)) * (1 - e / 100) }))) : /* @__PURE__ */ mi.default.createElement(Dde,
{ size: r, ...i }, o), "ProgressSpinner");

// src/components/components/utils/getStoryHref.ts
function ent(e) {
  let t = {}, r = e.split("&");
  for (let n = 0; n < r.length; n++) {
    let o = r[n].split("=");
    t[decodeURIComponent(o[0])] = decodeURIComponent(o[1] || "");
  }
  return t;
}
a(ent, "parseQuery");
var jde = /* @__PURE__ */ a((e, t, r = {}) => {
  let [n, o] = e.split("?"), i = o ? {
    ...ent(o),
    ...r,
    id: t
  } : {
    ...r,
    id: t
  };
  return `${n}?${Object.entries(i).map((s) => `${s[0]}=${s[1]}`).join("&")}`;
}, "getStoryHref");

// src/components/components/clipboard/ClipboardCode.tsx
var Bde = N(H(), 1);
ue();
var tnt = L.pre`
  line-height: 18px;
  padding: 11px 1rem;
  white-space: pre-wrap;
  background: rgba(0, 0, 0, 0.05);
  color: ${ee.darkest};
  border-radius: 3px;
  margin: 1rem 0;
  width: 100%;
  display: block;
  overflow: hidden;
  font-family: ${jr.fonts.mono};
  font-size: ${jr.size.s2 - 1}px;
`, $de = /* @__PURE__ */ a(({ code: e, ...t }) => /* @__PURE__ */ Bde.default.createElement(tnt, { id: "clipboard-code", ...t }, e), "Clipbo\
ardCode");

// src/components/index.ts
var rnt = mT, Hde = {};
Object.keys(mT).forEach((e) => {
  Hde[e] = (0, FS.forwardRef)((t, r) => (0, FS.createElement)(e, { ...t, ref: r }));
});

// src/manager-errors.ts
var IM = {};
_e(IM, {
  Category: () => zde,
  ProviderDoesNotExtendBaseProviderError: () => OM,
  StatusTypeIdMismatchError: () => Lh,
  UncaughtManagerError: () => Nh
});
var zde = /* @__PURE__ */ ((u) => (u.MANAGER_UNCAUGHT = "MANAGER_UNCAUGHT", u.MANAGER_UI = "MANAGER_UI", u.MANAGER_API = "MANAGER_API", u.MANAGER_CLIENT_LOGGER =
"MANAGER_CLIENT-LOGGER", u.MANAGER_CHANNELS = "MANAGER_CHANNELS", u.MANAGER_CORE_EVENTS = "MANAGER_CORE-EVENTS", u.MANAGER_ROUTER = "MANAGER\
_ROUTER", u.MANAGER_THEMING = "MANAGER_THEMING", u))(zde || {}), MM = class MM extends wa {
  constructor() {
    super({
      category: "MANAGER_UI",
      code: 1,
      message: "The Provider passed into Storybook's UI is not extended from the base Provider. Please check your Provider implementation."
    });
  }
};
a(MM, "ProviderDoesNotExtendBaseProviderError");
var OM = MM, NM = class NM extends wa {
  constructor(r) {
    super({
      category: "MANAGER_UNCAUGHT",
      code: 1,
      message: r.error.message
    });
    this.data = r;
    this.stack = r.error.stack;
  }
};
a(NM, "UncaughtManagerError");
var Nh = NM, LM = class LM extends wa {
  constructor(r) {
    super({
      category: "MANAGER_API",
      code: 1,
      message: `Status has typeId "${r.status.typeId}" but was added to store with typeId "${r.typeId}". Full status: ${JSON.stringify(
        r.status,
        null,
        2
      )}`
    });
    this.data = r;
  }
};
a(LM, "StatusTypeIdMismatchError");
var Lh = LM;

// src/router/index.ts
var XM = {};
_e(XM, {
  BaseLocationProvider: () => Vnt,
  DEEPLY_EQUAL: () => kh,
  Link: () => cfe,
  Location: () => YM,
  LocationProvider: () => Unt,
  Match: () => KM,
  Route: () => dfe,
  buildArgsParam: () => $S,
  deepDiff: () => jS,
  getMatch: () => FM,
  parsePath: () => DM,
  queryFromLocation: () => Dh,
  stringifyQuery: () => lnt,
  useNavigate: () => znt
});

// src/router/utils.ts
kr();
var BS = N(Wa(), 1), qh = N(jW(), 1);
Ao();
var nnt = /\/([^/]+)\/(?:(.*)_)?([^/]+)?/, DM = (0, BS.default)(1e3)((e) => {
  let t = {
    viewMode: void 0,
    storyId: void 0,
    refId: void 0
  };
  if (e) {
    let [, r, n, o] = e.toLowerCase().match(nnt) || [];
    r && Object.assign(t, {
      viewMode: r,
      storyId: o,
      refId: n
    });
  }
  return t;
}), kh = Symbol("Deeply equal"), jS = /* @__PURE__ */ a((e, t) => {
  if (typeof e != typeof t)
    return t;
  if (Cr(e, t))
    return kh;
  if (Array.isArray(e) && Array.isArray(t)) {
    let r = t.reduce((n, o, i) => {
      let s = jS(e[i], o);
      return s !== kh && (n[i] = s), n;
    }, new Array(t.length));
    return t.length >= e.length ? r : r.concat(new Array(e.length - t.length).fill(void 0));
  }
  return oo(e) && oo(t) ? Object.keys({ ...e, ...t }).reduce((r, n) => {
    let o = jS(e?.[n], t?.[n]);
    return o === kh ? r : Object.assign(r, { [n]: o });
  }, {}) : t;
}, "deepDiff"), Ude = /^[a-zA-Z0-9 _-]*$/, ont = /^-?[0-9]+(\.[0-9]+)?$/, Vde = /^#([a-f0-9]{3,4}|[a-f0-9]{6}|[a-f0-9]{8})$/i, Wde = /^(rgba?|hsla?)\(([0-9]{1,3}),\s?([0-9]{1,3})%?,\s?([0-9]{1,3})%?,?\s?([0-9](\.[0-9]{1,2})?)?\)$/i,
kM = /* @__PURE__ */ a((e = "", t) => e === null || e === "" || !Ude.test(e) ? !1 : t == null || t instanceof Date || typeof t == "number" ||
typeof t == "boolean" ? !0 : typeof t == "string" ? Ude.test(t) || ont.test(t) || Vde.test(t) || Wde.test(t) : Array.isArray(t) ? t.every((r) => kM(
e, r)) : oo(t) ? Object.entries(t).every(([r, n]) => kM(r, n)) : !1, "validateArgs"), qM = /* @__PURE__ */ a((e) => e === void 0 ? "!undefin\
ed" : e === null ? "!null" : typeof e == "string" ? Vde.test(e) ? `!hex(${e.slice(1)})` : Wde.test(e) ? `!${e.replace(/[\s%]/g, "")}` : e : typeof e ==
"boolean" ? `!${e}` : e instanceof Date ? `!date(${e.toISOString()})` : Array.isArray(e) ? e.map(qM) : oo(e) ? Object.entries(e).reduce(
  (t, [r, n]) => Object.assign(t, { [r]: qM(n) }),
  {}
) : e, "encodeSpecialValues"), ant = /* @__PURE__ */ a((e) => {
  switch (e) {
    case "%20":
      return "+";
    case "%5B":
      return "[";
    case "%5D":
      return "]";
    case "%2C":
      return ",";
    case "%3A":
      return ":";
  }
  return e;
}, "decodeKnownQueryChar"), int = /%[0-9A-F]{2}/g, $S = /* @__PURE__ */ a((e, t) => {
  let r = jS(e, t);
  if (!r || r === kh)
    return "";
  let n = Object.entries(r).reduce((o, [i, s]) => kM(i, s) ? Object.assign(o, { [i]: s }) : (Pt.warn(_t`
      Omitted potentially unsafe URL args.

      More info: https://storybook.js.org/docs/writing-stories/args#setting-args-through-the-url
    `), o), {});
  return (0, qh.stringify)(qM(n), {
    delimiter: ";",
    // we don't actually create multiple query params
    nesting: !0,
    nestingSyntax: "js"
    // encode objects using dot notation: obj.key=val
  }).replace(int, ant).split(";").map((o) => o.replace("=", ":")).join(";");
}, "buildArgsParam"), snt = (0, BS.default)(1e3)((e) => e !== void 0 ? (0, qh.parse)(e) : {}), Dh = /* @__PURE__ */ a((e) => snt(e.search ? e.
search.slice(1) : ""), "queryFromLocation"), lnt = /* @__PURE__ */ a((e) => {
  let t = (0, qh.stringify)(e);
  return t ? "?" + t : "";
}, "stringifyQuery"), FM = (0, BS.default)(1e3)((e, t, r = !0) => {
  if (r) {
    if (typeof t != "string")
      throw new Error("startsWith only works with string targets");
    return e && e.startsWith(t) ? { path: e } : null;
  }
  let n = typeof t == "string" && e === t, o = e && t && e.match(t);
  return n || o ? { path: e } : null;
});

// src/router/router.tsx
var Hs = N(H(), 1);
Ct();

// ../node_modules/react-router-dom/dist/index.js
var Wt = N(H());

// ../node_modules/react-router/dist/index.js
var we = N(H());

// ../node_modules/@remix-run/router/dist/router.js
function Fh() {
  return Fh = Object.assign ? Object.assign.bind() : function(e) {
    for (var t = 1; t < arguments.length; t++) {
      var r = arguments[t];
      for (var n in r)
        Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
    }
    return e;
  }, Fh.apply(this, arguments);
}
a(Fh, "_extends");
var Aa;
(function(e) {
  e.Pop = "POP", e.Push = "PUSH", e.Replace = "REPLACE";
})(Aa || (Aa = {}));
var Gde = "popstate";
function Xde(e) {
  e === void 0 && (e = {});
  function t(n, o) {
    let {
      pathname: i,
      search: s,
      hash: l
    } = n.location;
    return BM(
      "",
      {
        pathname: i,
        search: s,
        hash: l
      },
      // state defaults to `null` because `window.history.state` does
      o.state && o.state.usr || null,
      o.state && o.state.key || "default"
    );
  }
  a(t, "createBrowserLocation");
  function r(n, o) {
    return typeof o == "string" ? o : hu(o);
  }
  return a(r, "createBrowserHref"), cnt(t, r, null, e);
}
a(Xde, "createBrowserHistory");
function Mn(e, t) {
  if (e === !1 || e === null || typeof e > "u")
    throw new Error(t);
}
a(Mn, "invariant");
function unt() {
  return Math.random().toString(36).substr(2, 8);
}
a(unt, "createKey");
function Yde(e, t) {
  return {
    usr: e.state,
    key: e.key,
    idx: t
  };
}
a(Yde, "getHistoryState");
function BM(e, t, r, n) {
  return r === void 0 && (r = null), Fh({
    pathname: typeof e == "string" ? e : e.pathname,
    search: "",
    hash: ""
  }, typeof t == "string" ? gu(t) : t, {
    state: r,
    // TODO: This could be cleaned up.  push/replace should probably just take
    // full Locations now and avoid the need to run through this flow at all
    // But that's a pretty big refactor to the current test suite so going to
    // keep as is for the time being and just let any incoming keys take precedence
    key: t && t.key || n || unt()
  });
}
a(BM, "createLocation");
function hu(e) {
  let {
    pathname: t = "/",
    search: r = "",
    hash: n = ""
  } = e;
  return r && r !== "?" && (t += r.charAt(0) === "?" ? r : "?" + r), n && n !== "#" && (t += n.charAt(0) === "#" ? n : "#" + n), t;
}
a(hu, "createPath");
function gu(e) {
  let t = {};
  if (e) {
    let r = e.indexOf("#");
    r >= 0 && (t.hash = e.substr(r), e = e.substr(0, r));
    let n = e.indexOf("?");
    n >= 0 && (t.search = e.substr(n), e = e.substr(0, n)), e && (t.pathname = e);
  }
  return t;
}
a(gu, "parsePath");
function cnt(e, t, r, n) {
  n === void 0 && (n = {});
  let {
    window: o = document.defaultView,
    v5Compat: i = !1
  } = n, s = o.history, l = Aa.Pop, u = null, c = d();
  c == null && (c = 0, s.replaceState(Fh({}, s.state, {
    idx: c
  }), ""));
  function d() {
    return (s.state || {
      idx: null
    }).idx;
  }
  a(d, "getIndex");
  function f() {
    l = Aa.Pop;
    let b = d(), g = b == null ? null : b - c;
    c = b, u && u({
      action: l,
      location: y.location,
      delta: g
    });
  }
  a(f, "handlePop");
  function p(b, g) {
    l = Aa.Push;
    let w = BM(y.location, b, g);
    r && r(w, b), c = d() + 1;
    let E = Yde(w, c), x = y.createHref(w);
    try {
      s.pushState(E, "", x);
    } catch (S) {
      if (S instanceof DOMException && S.name === "DataCloneError")
        throw S;
      o.location.assign(x);
    }
    i && u && u({
      action: l,
      location: y.location,
      delta: 1
    });
  }
  a(p, "push");
  function m(b, g) {
    l = Aa.Replace;
    let w = BM(y.location, b, g);
    r && r(w, b), c = d();
    let E = Yde(w, c), x = y.createHref(w);
    s.replaceState(E, "", x), i && u && u({
      action: l,
      location: y.location,
      delta: 0
    });
  }
  a(m, "replace");
  function v(b) {
    let g = o.location.origin !== "null" ? o.location.origin : o.location.href, w = typeof b == "string" ? b : hu(b);
    return Mn(g, "No window.location.(origin|href) available to create URL for href: " + w), new URL(w, g);
  }
  a(v, "createURL");
  let y = {
    get action() {
      return l;
    },
    get location() {
      return e(o, s);
    },
    listen(b) {
      if (u)
        throw new Error("A history only accepts one active listener");
      return o.addEventListener(Gde, f), u = b, () => {
        o.removeEventListener(Gde, f), u = null;
      };
    },
    createHref(b) {
      return t(o, b);
    },
    createURL: v,
    encodeLocation(b) {
      let g = v(b);
      return {
        pathname: g.pathname,
        search: g.search,
        hash: g.hash
      };
    },
    push: p,
    replace: m,
    go(b) {
      return s.go(b);
    }
  };
  return y;
}
a(cnt, "getUrlBasedHistory");
var Kde;
(function(e) {
  e.data = "data", e.deferred = "deferred", e.redirect = "redirect", e.error = "error";
})(Kde || (Kde = {}));
function HS(e, t) {
  if (t === "/") return e;
  if (!e.toLowerCase().startsWith(t.toLowerCase()))
    return null;
  let r = t.endsWith("/") ? t.length - 1 : t.length, n = e.charAt(r);
  return n && n !== "/" ? null : e.slice(r) || "/";
}
a(HS, "stripBasename");
function $M(e, t) {
  t === void 0 && (t = "/");
  let {
    pathname: r,
    search: n = "",
    hash: o = ""
  } = typeof e == "string" ? gu(e) : e;
  return {
    pathname: r ? r.startsWith("/") ? r : dnt(r, t) : t,
    search: fnt(n),
    hash: pnt(o)
  };
}
a($M, "resolvePath");
function dnt(e, t) {
  let r = t.replace(/\/+$/, "").split("/");
  return e.split("/").forEach((o) => {
    o === ".." ? r.length > 1 && r.pop() : o !== "." && r.push(o);
  }), r.length > 1 ? r.join("/") : "/";
}
a(dnt, "resolvePathname");
function jM(e, t, r, n) {
  return "Cannot include a '" + e + "' character in a manually specified " + ("`to." + t + "` field [" + JSON.stringify(n) + "].  Please sep\
arate it out to the ") + ("`to." + r + "` field. Alternatively you may provide the full path as ") + 'a string in <Link to="..."> and the ro\
uter will parse it for you.';
}
a(jM, "getInvalidPathError");
function HM(e) {
  return e.filter((t, r) => r === 0 || t.route.path && t.route.path.length > 0);
}
a(HM, "getPathContributingMatches");
function zM(e, t, r, n) {
  n === void 0 && (n = !1);
  let o;
  typeof e == "string" ? o = gu(e) : (o = Fh({}, e), Mn(!o.pathname || !o.pathname.includes("?"), jM("?", "pathname", "search", o)), Mn(!o.pathname ||
  !o.pathname.includes("#"), jM("#", "pathname", "hash", o)), Mn(!o.search || !o.search.includes("#"), jM("#", "search", "hash", o)));
  let i = e === "" || o.pathname === "", s = i ? "/" : o.pathname, l;
  if (n || s == null)
    l = r;
  else {
    let f = t.length - 1;
    if (s.startsWith("..")) {
      let p = s.split("/");
      for (; p[0] === ".."; )
        p.shift(), f -= 1;
      o.pathname = p.join("/");
    }
    l = f >= 0 ? t[f] : "/";
  }
  let u = $M(o, l), c = s && s !== "/" && s.endsWith("/"), d = (i || s === ".") && r.endsWith("/");
  return !u.pathname.endsWith("/") && (c || d) && (u.pathname += "/"), u;
}
a(zM, "resolveTo");
var zS = /* @__PURE__ */ a((e) => e.join("/").replace(/\/\/+/g, "/"), "joinPaths");
var fnt = /* @__PURE__ */ a((e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, "normalizeSearch"), pnt = /* @__PURE__ */ a((e) => !e ||
e === "#" ? "" : e.startsWith("#") ? e : "#" + e, "normalizeHash");
var Jde = ["post", "put", "patch", "delete"], ZGt = new Set(Jde), mnt = ["get", ...Jde], eYt = new Set(mnt);
var tYt = Symbol("deferred");

// ../node_modules/react-router/dist/index.js
function UM() {
  return UM = Object.assign ? Object.assign.bind() : function(e) {
    for (var t = 1; t < arguments.length; t++) {
      var r = arguments[t];
      for (var n in r)
        Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
    }
    return e;
  }, UM.apply(this, arguments);
}
a(UM, "_extends");
var US = /* @__PURE__ */ we.createContext(null);
var yu = /* @__PURE__ */ we.createContext(null), VS = /* @__PURE__ */ we.createContext(null), Yd = /* @__PURE__ */ we.createContext({
  outlet: null,
  matches: [],
  isDataRoute: !1
});
function VM(e, t) {
  let {
    relative: r
  } = t === void 0 ? {} : t;
  jh() || Mn(!1);
  let {
    basename: n,
    navigator: o
  } = we.useContext(yu), {
    hash: i,
    pathname: s,
    search: l
  } = WS(e, {
    relative: r
  }), u = s;
  return n !== "/" && (u = s === "/" ? n : zS([n, s])), o.createHref({
    pathname: u,
    search: l,
    hash: i
  });
}
a(VM, "useHref");
function jh() {
  return we.useContext(VS) != null;
}
a(jh, "useInRouterContext");
function vu() {
  return jh() || Mn(!1), we.useContext(VS).location;
}
a(vu, "useLocation");
function rfe(e) {
  we.useContext(yu).static || we.useLayoutEffect(e);
}
a(rfe, "useIsomorphicLayoutEffect");
function Bh() {
  let {
    isDataRoute: e
  } = we.useContext(Yd);
  return e ? Cnt() : Ent();
}
a(Bh, "useNavigate");
function Ent() {
  jh() || Mn(!1);
  let e = we.useContext(US), {
    basename: t,
    navigator: r
  } = we.useContext(yu), {
    matches: n
  } = we.useContext(Yd), {
    pathname: o
  } = vu(), i = JSON.stringify(HM(n).map((u) => u.pathnameBase)), s = we.useRef(!1);
  return rfe(() => {
    s.current = !0;
  }), we.useCallback(function(u, c) {
    if (c === void 0 && (c = {}), !s.current) return;
    if (typeof u == "number") {
      r.go(u);
      return;
    }
    let d = zM(u, JSON.parse(i), o, c.relative === "path");
    e == null && t !== "/" && (d.pathname = d.pathname === "/" ? t : zS([t, d.pathname])), (c.replace ? r.replace : r.push)(d, c.state, c);
  }, [t, r, i, o, e]);
}
a(Ent, "useNavigateUnstable");
function WS(e, t) {
  let {
    relative: r
  } = t === void 0 ? {} : t, {
    matches: n
  } = we.useContext(Yd), {
    pathname: o
  } = vu(), i = JSON.stringify(HM(n).map((s) => s.pathnameBase));
  return we.useMemo(() => zM(e, JSON.parse(i), o, r === "path"), [e, i, o, r]);
}
a(WS, "useResolvedPath");
var nfe = /* @__PURE__ */ function(e) {
  return e.UseBlocker = "useBlocker", e.UseRevalidator = "useRevalidator", e.UseNavigateStable = "useNavigate", e;
}(nfe || {}), ofe = /* @__PURE__ */ function(e) {
  return e.UseBlocker = "useBlocker", e.UseLoaderData = "useLoaderData", e.UseActionData = "useActionData", e.UseRouteError = "useRouteError",
  e.UseNavigation = "useNavigation", e.UseRouteLoaderData = "useRouteLoaderData", e.UseMatches = "useMatches", e.UseRevalidator = "useRevali\
dator", e.UseNavigateStable = "useNavigate", e.UseRouteId = "useRouteId", e;
}(ofe || {});
function Rnt(e) {
  let t = we.useContext(US);
  return t || Mn(!1), t;
}
a(Rnt, "useDataRouterContext");
function xnt(e) {
  let t = we.useContext(Yd);
  return t || Mn(!1), t;
}
a(xnt, "useRouteContext");
function Snt(e) {
  let t = xnt(e), r = t.matches[t.matches.length - 1];
  return r.route.id || Mn(!1), r.route.id;
}
a(Snt, "useCurrentRouteId");
function Cnt() {
  let {
    router: e
  } = Rnt(nfe.UseNavigateStable), t = Snt(ofe.UseNavigateStable), r = we.useRef(!1);
  return rfe(() => {
    r.current = !0;
  }), we.useCallback(function(o, i) {
    i === void 0 && (i = {}), r.current && (typeof o == "number" ? e.navigate(o) : e.navigate(o, UM({
      fromRouteId: t
    }, i)));
  }, [e, t]);
}
a(Cnt, "useNavigateStable");
var _nt = "startTransition", lYt = we[_nt];
function $h(e) {
  let {
    basename: t = "/",
    children: r = null,
    location: n,
    navigationType: o = Aa.Pop,
    navigator: i,
    static: s = !1
  } = e;
  jh() && Mn(!1);
  let l = t.replace(/^\/*/, "/"), u = we.useMemo(() => ({
    basename: l,
    navigator: i,
    static: s
  }), [l, i, s]);
  typeof n == "string" && (n = gu(n));
  let {
    pathname: c = "/",
    search: d = "",
    hash: f = "",
    state: p = null,
    key: m = "default"
  } = n, v = we.useMemo(() => {
    let y = HS(c, l);
    return y == null ? null : {
      location: {
        pathname: y,
        search: d,
        hash: f,
        state: p,
        key: m
      },
      navigationType: o
    };
  }, [l, c, d, f, p, m, o]);
  return v == null ? null : /* @__PURE__ */ we.createElement(yu.Provider, {
    value: u
  }, /* @__PURE__ */ we.createElement(VS.Provider, {
    children: r,
    value: v
  }));
}
a($h, "Router");
var uYt = new Promise(() => {
});

// ../node_modules/react-router-dom/dist/index.js
function WM() {
  return WM = Object.assign ? Object.assign.bind() : function(e) {
    for (var t = 1; t < arguments.length; t++) {
      var r = arguments[t];
      for (var n in r)
        Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
    }
    return e;
  }, WM.apply(this, arguments);
}
a(WM, "_extends");
function Nnt(e, t) {
  if (e == null) return {};
  var r = {}, n = Object.keys(e), o, i;
  for (i = 0; i < n.length; i++)
    o = n[i], !(t.indexOf(o) >= 0) && (r[o] = e[o]);
  return r;
}
a(Nnt, "_objectWithoutPropertiesLoose");
function Lnt(e) {
  return !!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey);
}
a(Lnt, "isModifiedEvent");
function knt(e, t) {
  return e.button === 0 && // Ignore everything but left clicks
  (!t || t === "_self") && // Let browser handle "target=_blank" etc.
  !Lnt(e);
}
a(knt, "shouldProcessLinkClick");
var qnt = ["onClick", "relative", "reloadDocument", "replace", "state", "target", "to", "preventScrollReset"];
var Dnt = "startTransition", afe = Wt[Dnt];
function lfe(e) {
  let {
    basename: t,
    children: r,
    future: n,
    window: o
  } = e, i = Wt.useRef();
  i.current == null && (i.current = Xde({
    window: o,
    v5Compat: !0
  }));
  let s = i.current, [l, u] = Wt.useState({
    action: s.action,
    location: s.location
  }), {
    v7_startTransition: c
  } = n || {}, d = Wt.useCallback((f) => {
    c && afe ? afe(() => u(f)) : u(f);
  }, [u, c]);
  return Wt.useLayoutEffect(() => s.listen(d), [s, d]), /* @__PURE__ */ Wt.createElement($h, {
    basename: t,
    children: r,
    location: l.location,
    navigationType: l.action,
    navigator: s
  });
}
a(lfe, "BrowserRouter");
var Fnt = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", jnt = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,
ufe = /* @__PURE__ */ Wt.forwardRef(/* @__PURE__ */ a(function(t, r) {
  let {
    onClick: n,
    relative: o,
    reloadDocument: i,
    replace: s,
    state: l,
    target: u,
    to: c,
    preventScrollReset: d
  } = t, f = Nnt(t, qnt), {
    basename: p
  } = Wt.useContext(yu), m, v = !1;
  if (typeof c == "string" && jnt.test(c) && (m = c, Fnt))
    try {
      let w = new URL(window.location.href), E = c.startsWith("//") ? new URL(w.protocol + c) : new URL(c), x = HS(E.pathname, p);
      E.origin === w.origin && x != null ? c = x + E.search + E.hash : v = !0;
    } catch {
    }
  let y = VM(c, {
    relative: o
  }), b = Bnt(c, {
    replace: s,
    state: l,
    target: u,
    preventScrollReset: d,
    relative: o
  });
  function g(w) {
    n && n(w), w.defaultPrevented || b(w);
  }
  return a(g, "handleClick"), // eslint-disable-next-line jsx-a11y/anchor-has-content
  /* @__PURE__ */ Wt.createElement("a", WM({}, f, {
    href: m || y,
    onClick: v || i ? n : g,
    ref: r,
    target: u
  }));
}, "LinkWithRef"));
var ife;
(function(e) {
  e.UseScrollRestoration = "useScrollRestoration", e.UseSubmit = "useSubmit", e.UseSubmitFetcher = "useSubmitFetcher", e.UseFetcher = "useFe\
tcher";
})(ife || (ife = {}));
var sfe;
(function(e) {
  e.UseFetchers = "useFetchers", e.UseScrollRestoration = "useScrollRestoration";
})(sfe || (sfe = {}));
function Bnt(e, t) {
  let {
    target: r,
    replace: n,
    state: o,
    preventScrollReset: i,
    relative: s
  } = t === void 0 ? {} : t, l = Bh(), u = vu(), c = WS(e, {
    relative: s
  });
  return Wt.useCallback((d) => {
    if (knt(d, r)) {
      d.preventDefault();
      let f = n !== void 0 ? n : hu(u) === hu(c);
      l(e, {
        replace: f,
        state: o,
        preventScrollReset: i,
        relative: s
      });
    }
  }, [u, l, c, n, o, r, e, i, s]);
}
a(Bnt, "useLinkClickHandler");

// src/router/router.tsx
var { document: GM } = Z, Hnt = /* @__PURE__ */ a(() => `${GM.location.pathname}?`, "getBase"), znt = /* @__PURE__ */ a(() => {
  let e = Bh();
  return (0, Hs.useCallback)((t, { plain: r, ...n } = {}) => {
    if (typeof t == "string" && t.startsWith("#")) {
      t === "#" ? e(GM.location.search) : GM.location.hash = t;
      return;
    }
    if (typeof t == "string") {
      let o = r ? t : `?path=${t}`;
      return e(o, n);
    }
    if (typeof t == "number")
      return e(t);
  }, []);
}, "useNavigate"), cfe = /* @__PURE__ */ a(({ to: e, children: t, ...r }) => /* @__PURE__ */ Hs.default.createElement(ufe, { to: `${Hnt()}pa\
th=${e}`, ...r }, t), "Link");
cfe.displayName = "QueryLink";
var YM = /* @__PURE__ */ a(({ children: e }) => {
  let t = vu(), { path: r, singleStory: n } = Dh(t), { viewMode: o, storyId: i, refId: s } = DM(r);
  return /* @__PURE__ */ Hs.default.createElement(Hs.default.Fragment, null, e({
    path: r || "/",
    location: t,
    viewMode: o,
    storyId: i,
    refId: s,
    singleStory: n === "true"
  }));
}, "Location");
YM.displayName = "QueryLocation";
function KM({
  children: e,
  path: t,
  startsWith: r = !1
}) {
  return /* @__PURE__ */ Hs.default.createElement(YM, null, ({ path: n, ...o }) => e({
    match: FM(n, t, r),
    ...o
  }));
}
a(KM, "Match");
KM.displayName = "QueryMatch";
function dfe(e) {
  let { children: t, ...r } = e;
  return r.startsWith === void 0 && (r.startsWith = !1), /* @__PURE__ */ Hs.default.createElement(KM, { ...r }, ({ match: o }) => o ? t : null);
}
a(dfe, "Route");
dfe.displayName = "Route";
var Unt = /* @__PURE__ */ a((...e) => lfe(...e), "LocationProvider"), Vnt = /* @__PURE__ */ a((...e) => $h(...e), "BaseLocationProvider");

// src/types/index.ts
var JM = {};
_e(JM, {
  Addon_TypesEnum: () => Hh
});

// src/types/modules/addons.ts
var Hh = /* @__PURE__ */ ((l) => (l.TAB = "tab", l.PANEL = "panel", l.TOOL = "tool", l.TOOLEXTRA = "toolextra", l.PREVIEW = "preview", l.experimental_PAGE =
"page", l.experimental_TEST_PROVIDER = "test-provider", l))(Hh || {});

// src/manager-api/index.ts
var b4 = {};
_e(b4, {
  ActiveTabs: () => Pst,
  Consumer: () => kme,
  ManagerContext: () => t0,
  Provider: () => JN,
  RequestResponseError: () => e0,
  addons: () => hfe,
  combineParameters: () => iN,
  controlOrMetaKey: () => dot,
  controlOrMetaSymbol: () => cot,
  eventMatchesShortcut: () => pot,
  eventToShortcut: () => QS,
  experimental_MockUniversalStore: () => y4,
  experimental_UniversalStore: () => ur,
  experimental_getStatusStore: () => qfe,
  experimental_getTestProviderStore: () => $me,
  experimental_requestResponse: () => _st,
  experimental_useStatusStore: () => Dfe,
  experimental_useTestProviderStore: () => Hme,
  experimental_useUniversalStore: () => Qd,
  internal_fullStatusStore: () => Uh,
  internal_fullTestProviderStore: () => Bme,
  internal_universalStatusStore: () => Ffe,
  internal_universalTestProviderStore: () => zme,
  isMacLike: () => JS,
  isShortcutTaken: () => fot,
  keyToSymbol: () => Ife,
  merge: () => oa,
  mockChannel: () => YS,
  optionOrAltSymbol: () => Ofe,
  shortcutMatchesShortcut: () => ZS,
  shortcutToHumanString: () => mot,
  types: () => jst,
  useAddonState: () => Nst,
  useArgTypes: () => Fst,
  useArgs: () => Lst,
  useChannel: () => QN,
  useGlobalTypes: () => qst,
  useGlobals: () => kst,
  useParameter: () => Mst,
  useSharedState: () => Dme,
  useStoryPrepared: () => Ist,
  useStorybookApi: () => hi,
  useStorybookState: () => Ost
});

// src/manager-api/root.tsx
var Oe = N(H(), 1);

// src/manager-api/context.ts
var ffe = N(H(), 1);
var pfe = /* @__PURE__ */ a(({ api: e, state: t }) => (0, ffe.createContext)({ api: e, state: t }), "createContext");

// src/manager-api/lib/merge.ts
kr();
var oa = /* @__PURE__ */ a((e, ...t) => {
  let r = {};
  r = cs(
    {},
    e,
    (n, o) => {
      if (Array.isArray(o) && Array.isArray(n))
        return o.forEach((i) => {
          n.find((l) => l === i || Cr(l, i)) || n.push(i);
        }), n;
      if (Array.isArray(n))
        return Ve.log(["the types mismatch, picking", n]), n;
    }
  );
  for (let n of t)
    r = cs(r, n, (o, i) => {
      if (Array.isArray(i) && Array.isArray(o))
        return i.forEach((s) => {
          o.find((u) => u === s || Cr(u, s)) || o.push(s);
        }), o;
      if (Array.isArray(o))
        return Ve.log(["the types mismatch, picking", o]), o;
    });
  return r;
}, "default"), mfe = /* @__PURE__ */ a((e, ...t) => {
  let r = {};
  r = cs(
    {},
    e,
    (n, o) => {
      if (Array.isArray(o))
        return o;
    }
  );
  for (let n of t)
    r = cs(r, n, (o, i) => {
      if (Array.isArray(i))
        return i;
    });
  return r;
}, "noArrayMerge");

// src/manager-api/initial-state.ts
var Wnt = /* @__PURE__ */ a((...e) => e.reduce((t, r) => oa(t, r), {}), "main"), GS = Wnt;

// src/manager-api/lib/addons.ts
kr();
Ct();

// src/manager-api/lib/storybook-channel-mock.ts
function YS() {
  let e = {
    setHandler: /* @__PURE__ */ a(() => {
    }, "setHandler"),
    send: /* @__PURE__ */ a(() => {
    }, "send")
  };
  return new da({ transport: e });
}
a(YS, "mockChannel");

// src/manager-api/lib/addons.ts
var eN = class eN {
  constructor() {
    this.loaders = {};
    this.elements = {};
    this.config = {};
    this.getChannel = /* @__PURE__ */ a(() => (this.channel || this.setChannel(YS()), this.channel), "getChannel");
    this.ready = /* @__PURE__ */ a(() => this.promise, "ready");
    this.hasChannel = /* @__PURE__ */ a(() => !!this.channel, "hasChannel");
    this.setChannel = /* @__PURE__ */ a((t) => {
      this.channel = t, this.resolve();
    }, "setChannel");
    this.setConfig = /* @__PURE__ */ a((t) => {
      Object.assign(this.config, t), this.hasChannel() ? this.getChannel().emit(vi, this.config) : this.ready().then((r) => {
        r.emit(vi, this.config);
      });
    }, "setConfig");
    this.getConfig = /* @__PURE__ */ a(() => this.config, "getConfig");
    /**
     * Registers an addon loader function.
     *
     * @param {string} id - The id of the addon loader.
     * @param {(api: API) => void} callback - The function that will be called to register the addon.
     * @returns {void}
     */
    this.register = /* @__PURE__ */ a((t, r) => {
      this.loaders[t] && Ve.warn(`${t} was loaded twice, this could have bad side-effects`), this.loaders[t] = r;
    }, "register");
    this.loadAddons = /* @__PURE__ */ a((t) => {
      Object.values(this.loaders).forEach((r) => r(t));
    }, "loadAddons");
    this.promise = new Promise((t) => {
      this.resolve = () => t(this.getChannel());
    });
  }
  getElements(t) {
    return this.elements[t] || (this.elements[t] = {}), this.elements[t];
  }
  /**
   * Adds an addon to the addon store.
   *
   * @param {string} id - The id of the addon.
   * @param {Addon_Type} addon - The addon to add.
   * @returns {void}
   */
  add(t, r) {
    let { type: n } = r, o = this.getElements(n);
    o[t] = { ...r, id: t };
  }
  experimental_getRegisteredAddons() {
    return Object.keys(this.loaders);
  }
};
a(eN, "AddonStore");
var ZM = eN, QM = "__STORYBOOK_ADDONS_MANAGER";
function Gnt() {
  return Z[QM] || (Z[QM] = new ZM()), Z[QM];
}
a(Gnt, "getAddonsStore");
var hfe = Gnt();

// src/manager-api/modules/addons.ts
var rN = {};
_e(rN, {
  ensurePanel: () => tN,
  init: () => Ynt
});
function tN(e, t, r) {
  let n = Object.keys(e);
  return n.indexOf(t) >= 0 ? t : n.length ? n[0] : r;
}
a(tN, "ensurePanel");
var Ynt = /* @__PURE__ */ a(({ provider: e, store: t, fullAPI: r }) => {
  let n = {
    getElements: /* @__PURE__ */ a((o) => e.getElements(o), "getElements"),
    getSelectedPanel: /* @__PURE__ */ a(() => {
      let { selectedPanel: o } = t.getState();
      return tN(n.getElements("panel"), o, o);
    }, "getSelectedPanel"),
    setSelectedPanel: /* @__PURE__ */ a((o) => {
      t.setState({ selectedPanel: o }, { persistence: "session" });
    }, "setSelectedPanel"),
    setAddonState(o, i, s) {
      let l = typeof i == "function" ? i : () => i;
      return t.setState(
        (u) => ({ ...u, addons: { ...u.addons, [o]: l(u.addons[o]) } }),
        s
      ).then(() => n.getAddonState(o));
    },
    getAddonState: /* @__PURE__ */ a((o) => t.getState().addons[o] || globalThis?.STORYBOOK_ADDON_STATE[o], "getAddonState")
  };
  return {
    api: n,
    state: {
      selectedPanel: tN(
        n.getElements("panel"),
        t.getState().selectedPanel
      ),
      addons: {}
    }
  };
}, "init");

// src/manager-api/modules/channel.ts
var nN = {};
_e(nN, {
  init: () => Knt
});
var Knt = /* @__PURE__ */ a(({ provider: e }) => ({ api: {
  getChannel: /* @__PURE__ */ a(() => e.channel, "getChannel"),
  on: /* @__PURE__ */ a((r, n) => (e.channel?.on(r, n), () => e.channel?.off(r, n)), "on"),
  off: /* @__PURE__ */ a((r, n) => e.channel?.off(r, n), "off"),
  once: /* @__PURE__ */ a((r, n) => e.channel?.once(r, n), "once"),
  emit: /* @__PURE__ */ a((r, n, ...o) => {
    n?.options?.target && n.options.target !== "storybook-preview-iframe" && !n.options.target.startsWith("storybook-ref-") && (n.options.target =
    n.options.target !== "storybook_internal" ? `storybook-ref-${n.options.target}` : "storybook-preview-iframe"), e.channel?.emit(r, n, ...o);
  }, "emit")
}, state: {} }), "init");

// src/manager-api/modules/globals.ts
var uN = {};
_e(uN, {
  init: () => oot
});
kr();

// ../node_modules/dequal/dist/index.mjs
var gfe = Object.prototype.hasOwnProperty;
function yfe(e, t, r) {
  for (r of e.keys())
    if (ho(r, t)) return r;
}
a(yfe, "find");
function ho(e, t) {
  var r, n, o;
  if (e === t) return !0;
  if (e && t && (r = e.constructor) === t.constructor) {
    if (r === Date) return e.getTime() === t.getTime();
    if (r === RegExp) return e.toString() === t.toString();
    if (r === Array) {
      if ((n = e.length) === t.length)
        for (; n-- && ho(e[n], t[n]); ) ;
      return n === -1;
    }
    if (r === Set) {
      if (e.size !== t.size)
        return !1;
      for (n of e)
        if (o = n, o && typeof o == "object" && (o = yfe(t, o), !o) || !t.has(o)) return !1;
      return !0;
    }
    if (r === Map) {
      if (e.size !== t.size)
        return !1;
      for (n of e)
        if (o = n[0], o && typeof o == "object" && (o = yfe(t, o), !o) || !ho(n[1], t.get(o)))
          return !1;
      return !0;
    }
    if (r === ArrayBuffer)
      e = new Uint8Array(e), t = new Uint8Array(t);
    else if (r === DataView) {
      if ((n = e.byteLength) === t.byteLength)
        for (; n-- && e.getInt8(n) === t.getInt8(n); ) ;
      return n === -1;
    }
    if (ArrayBuffer.isView(e)) {
      if ((n = e.byteLength) === t.byteLength)
        for (; n-- && e[n] === t[n]; ) ;
      return n === -1;
    }
    if (!r || typeof e == "object") {
      n = 0;
      for (r in e)
        if (gfe.call(e, r) && ++n && !gfe.call(t, r) || !(r in t) || !ho(e[r], t[r])) return !1;
      return Object.keys(t).length === n;
    }
  }
  return e !== e && t !== t;
}
a(ho, "dequal");

// src/manager-api/lib/events.ts
kr();

// src/manager-api/modules/refs.ts
var lN = {};
_e(lN, {
  defaultStoryMapper: () => _fe,
  getSourceType: () => sN,
  init: () => not
});
Ct();
Ao();

// src/manager-api/lib/stories.ts
var oN = N(Wa(), 1);
Ao();

// src/manager-api/lib/intersect.ts
var vfe = /* @__PURE__ */ a((e, t) => !Array.isArray(e) || !Array.isArray(t) || !e.length || !t.length ? [] : e.reduce((r, n) => (t.includes(
n) && r.push(n), r), []), "default");

// src/manager-api/lib/stories.ts
var Xnt = /\s*\/\s*/, bfe = /* @__PURE__ */ a(({
  globalParameters: e,
  kindParameters: t,
  stories: r
}) => KA(r, (n) => ({
  ...n,
  parameters: iN(
    e,
    t[n.kind],
    n.parameters
  )
})), "denormalizeStoryParameters"), wfe = /* @__PURE__ */ a((e) => ({ v: 5, entries: Object.entries(e).reduce(
  (r, [n, o]) => {
    if (!o)
      return r;
    let { docsOnly: i, fileName: s, ...l } = o.parameters, u = {
      title: o.kind,
      id: n,
      name: o.name,
      importPath: s
    };
    if (i)
      r[n] = {
        type: "docs",
        tags: ["stories-mdx"],
        storiesImports: [],
        ...u
      };
    else {
      let { argTypes: c, args: d, initialArgs: f } = o;
      r[n] = {
        type: "story",
        ...u,
        parameters: l,
        argTypes: c,
        args: d,
        initialArgs: f
      };
    }
    return r;
  },
  {}
) }), "transformSetStoriesStoryDataToPreparedStoryIndex"), Jnt = /* @__PURE__ */ a((e) => ({
  v: 3,
  stories: Object.values(e.stories).reduce(
    (t, r) => (t[r.id] = {
      ...r,
      title: r.kind,
      name: r.name || r.story,
      importPath: r.parameters.fileName || ""
    }, t),
    {}
  )
}), "transformStoryIndexV2toV3"), Qnt = /* @__PURE__ */ a((e) => {
  let t = YA(Object.values(e.stories), (r) => r.title);
  return {
    v: 4,
    entries: Object.values(e.stories).reduce(
      (r, n) => {
        let o = "story";
        return (n.parameters?.docsOnly || n.name === "Page" && t[n.title] === 1) && (o = "docs"), r[n.id] = {
          type: o,
          ...o === "docs" && { tags: ["stories-mdx"], storiesImports: [] },
          ...n
        }, delete r[n.id].story, delete r[n.id].kind, r;
      },
      {}
    )
  };
}, "transformStoryIndexV3toV4"), Znt = /* @__PURE__ */ a((e) => ({
  v: 5,
  entries: Object.values(e.entries).reduce(
    (t, r) => (t[r.id] = {
      ...r,
      tags: r.tags ? ["dev", "test", ...r.tags] : ["dev"]
    }, t),
    {}
  )
}), "transformStoryIndexV4toV5"), Kd = /* @__PURE__ */ a((e, { provider: t, docsOptions: r, filters: n, allStatuses: o }) => {
  if (!e.v)
    throw new Error("Composition: Missing stories.json version");
  let i = e;
  i = i.v === 2 ? Jnt(i) : i, i = i.v === 3 ? Qnt(i) : i, i = i.v === 4 ? Znt(i) : i, i = i;
  let s = Object.values(i.entries).filter((y) => {
    let b = !0, g = o[y.id] ?? {};
    return Object.values(g).some(({ value: w }) => w === "status-value:error") || Object.values(n).forEach((w) => {
      b !== !1 && (b = w({ ...y, statuses: g }));
    }), b;
  }), { sidebar: l = {} } = t.getConfig(), { showRoots: u, collapsedRoots: c = [], renderLabel: d } = l, f = typeof u < "u", p = s.reduce((y, b) => {
    if (r.docsMode && b.type !== "docs")
      return y;
    let { title: g } = b, w = g.trim().split(Xnt), E = (!f || u) && w.length > 1 ? [w.shift()] : [], x = [...E, ...w], S = x.reduce((C, _, A) => {
      let O = A > 0 && C[A - 1], q = Pa(O ? `${O}-${_}` : _);
      if (_.trim() === "")
        throw new Error(_t`Invalid title ${g} ending in slash.`);
      if (O === q)
        throw new Error(
          _t`
          Invalid part '${_}', leading to id === parentId ('${q}'), inside title '${g}'
          
          Did you create a path that uses the separator char accidentally, such as 'Vue <docs/>' where '/' is a separator char? See https://github.com/storybookjs/storybook/issues/6128
          `
        );
      return C.push(q), C;
    }, []);
    return S.forEach((C, _) => {
      let A = S[_ + 1] || b.id;
      E.length && _ === 0 ? y[C] = oa(y[C] || {}, {
        type: "root",
        id: C,
        name: x[_],
        tags: [],
        depth: _,
        renderLabel: d,
        startCollapsed: c.includes(C),
        // Note that this will later get appended to the previous list of children (see below)
        children: [A]
      }) : (!y[C] || y[C].type === "component") && _ === S.length - 1 ? y[C] = oa(y[C] || {}, {
        type: "component",
        id: C,
        name: x[_],
        tags: [],
        parent: S[_ - 1],
        depth: _,
        renderLabel: d,
        ...A && {
          children: [A]
        }
      }) : y[C] = oa(y[C] || {}, {
        type: "group",
        id: C,
        name: x[_],
        tags: [],
        parent: S[_ - 1],
        depth: _,
        renderLabel: d,
        ...A && {
          children: [A]
        }
      });
    }), y[b.id] = {
      type: "story",
      tags: [],
      ...b,
      depth: S.length,
      parent: S[S.length - 1],
      renderLabel: d,
      prepared: !!b.parameters
    }, y;
  }, {});
  function m(y, b) {
    return y[b.id] || (y[b.id] = b, (b.type === "root" || b.type === "group" || b.type === "component") && (b.children.forEach((g) => m(y, p[g])),
    b.tags = b.children.reduce((g, w) => {
      let E = y[w];
      return g === null ? E.tags : vfe(g, E.tags);
    }, null))), y;
  }
  a(m, "addItem");
  let v = Object.values(p).filter((y) => y.type !== "root" && !y.parent).reduce(m, {});
  return Object.values(p).filter((y) => y.type === "root").reduce(m, v);
}, "transformStoryIndexToStoriesHash"), aN = /* @__PURE__ */ a((e, t) => t ? Object.fromEntries(
  Object.entries(e).map(([r, n]) => {
    let o = t[r];
    return n.type === "story" && o?.type === "story" && o.prepared ? [r, { ...o, ...n, prepared: !0 }] : [r, n];
  })
) : e, "addPreparedStories"), Efe = (0, oN.default)(1)((e) => Object.entries(e).reduce((t, r) => {
  let n = r[1];
  return n.type === "component" && t.push([...n.children]), t;
}, [])), Rfe = (0, oN.default)(1)((e) => Object.keys(e).filter((t) => ["story", "docs"].includes(e[t].type)));

// src/manager-api/modules/refs.ts
var { location: eot, fetch: xfe } = Z, sN = /* @__PURE__ */ a((e, t) => {
  let { origin: r, pathname: n } = eot, { origin: o, pathname: i } = new URL(e), s = `${r + n}`.replace("/iframe.html", "").replace(/\/$/, ""),
  l = `${o + i}`.replace("/iframe.html", "").replace(/\/$/, "");
  return s === l ? ["local", l] : t || e ? ["external", l] : [null, null];
}, "getSourceType"), _fe = /* @__PURE__ */ a((e, t) => ({ ...t, kind: t.kind.replace("|", "/") }), "defaultStoryMapper"), Sfe = /* @__PURE__ */ a(
(e, t) => Object.entries(e).reduce((r, [n, o]) => ({ ...r, [n]: { ...o, refId: t.id } }), {}), "addRefIds");
async function Cfe(e) {
  if (!e)
    return {};
  try {
    let t = await e;
    if (t === !1 || t === !0)
      throw new Error("Unexpected boolean response");
    if (!t.ok)
      throw new Error(`Unexpected response not OK: ${t.statusText}`);
    let r = await t.json();
    return r.entries || r.stories ? { storyIndex: r } : r;
  } catch (t) {
    return { indexError: t };
  }
}
a(Cfe, "handleRequest");
var tot = /* @__PURE__ */ a((e) => {
  let t = /https?:\/\/(.+:.+)@/, r = e, n, [, o] = e.match(t) || [];
  return o && (r = e.replace(`${o}@`, ""), n = btoa(`${o}`)), {
    url: r,
    authorization: n
  };
}, "parseUrl"), rot = /* @__PURE__ */ a((e, t, r) => {
  let { storyMapper: n } = r;
  return n ? Object.entries(e).reduce((o, [i, s]) => ({ ...o, [i]: n(t, s) }), {}) : e;
}, "map"), not = /* @__PURE__ */ a(({ store: e, provider: t, singleStory: r, docsOptions: n = {} }, { runCheck: o = !0 } = {}) => {
  let i = {
    findRef: /* @__PURE__ */ a((u) => {
      let c = i.getRefs();
      return Object.values(c).find(({ url: d }) => d.match(u));
    }, "findRef"),
    changeRefVersion: /* @__PURE__ */ a(async (u, c) => {
      let { versions: d, title: f } = i.getRefs()[u], p = {
        id: u,
        url: c,
        versions: d,
        title: f,
        index: {},
        filteredIndex: {},
        expanded: !0
      };
      await i.setRef(u, { ...p, type: "unknown" }, !1), await i.checkRef(p);
    }, "changeRefVersion"),
    changeRefState: /* @__PURE__ */ a((u, c) => {
      let { [u]: d, ...f } = i.getRefs();
      f[u] = { ...d, previewInitialized: c }, e.setState({
        refs: f
      });
    }, "changeRefState"),
    checkRef: /* @__PURE__ */ a(async (u) => {
      let { id: c, url: d, version: f, type: p } = u, m = p === "server-checked", v = {}, y = f ? `?version=${f}` : "", b = m ? "omit" : "in\
clude", g = tot(d), w = {
        Accept: "application/json"
      };
      g.authorization && Object.assign(w, {
        Authorization: `Basic ${g.authorization}`
      });
      let [E, x] = await Promise.all(
        ["index.json", "stories.json"].map(
          async (C) => Cfe(
            xfe(`${g.url}/${C}${y}`, {
              headers: w,
              credentials: b
            })
          )
        )
      );
      if (!E.indexError || !x.indexError) {
        let C = await Cfe(
          xfe(`${g.url}/metadata.json${y}`, {
            headers: w,
            credentials: b,
            cache: "no-cache"
          }).catch(() => !1)
        );
        Object.assign(v, {
          ...E.indexError ? x : E,
          ...!C.indexError && C
        });
      } else m || (v.indexError = {
        message: _t`
            Error: Loading of ref failed
              at fetch (lib/api/src/modules/refs.ts)

            URL: ${g.url}

            We weren't able to load the above URL,
            it's possible a CORS error happened.

            Please check your dev-tools network tab.
          `
      });
      let S = u.versions && Object.keys(u.versions).length ? u.versions : v.versions;
      await i.setRef(c, {
        id: c,
        url: g.url,
        ...v,
        ...S ? { versions: S } : {},
        type: v.storyIndex ? "lazy" : "auto-inject"
      });
    }, "checkRef"),
    getRefs: /* @__PURE__ */ a(() => {
      let { refs: u = {} } = e.getState();
      return u;
    }, "getRefs"),
    setRef: /* @__PURE__ */ a(async (u, { storyIndex: c, setStoriesData: d, ...f }, p = !1) => {
      if (r)
        return;
      let m, v, y, { filters: b } = e.getState(), { storyMapper: g = _fe } = t.getConfig(), w = i.getRefs()[u];
      (c || d) && (m = d ? wfe(
        rot(d, w, { storyMapper: g })
      ) : c, y = Kd(c, {
        provider: t,
        docsOptions: n,
        filters: b,
        allStatuses: {}
      }), v = Kd(c, {
        provider: t,
        docsOptions: n,
        filters: {},
        allStatuses: {}
      })), v && (v = Sfe(v, w)), y && (y = Sfe(y, w)), await i.updateRef(u, { ...w, ...f, index: v, filteredIndex: y, internal_index: m });
    }, "setRef"),
    updateRef: /* @__PURE__ */ a(async (u, c) => {
      let { [u]: d, ...f } = i.getRefs();
      f[u] = { ...d, ...c };
      let p = Object.keys(l).reduce((m, v) => (m[v] = f[v], m), {});
      await e.setState({
        refs: p
      });
    }, "updateRef")
  }, s = !r && Z.REFS || {}, l = s;
  return o && new Promise(async (u) => {
    for (let c of Object.values(s))
      await i.checkRef({ ...c, stories: {} });
    u(void 0);
  }), {
    api: i,
    state: {
      refs: l
    }
  };
}, "init");

// src/manager-api/lib/events.ts
var Wr = /* @__PURE__ */ a((e, t) => {
  let { source: r, refId: n, type: o } = e, [i, s] = sN(r, n), l;
  (n || i === "external") && (l = n && t.getRefs()[n] ? t.getRefs()[n] : t.findRef(s));
  let u = {
    source: r,
    sourceType: i,
    sourceLocation: s,
    refId: n,
    ref: l,
    type: o
  };
  switch (!0) {
    case typeof n == "string":
    case i === "local":
    case i === "external":
      return u;
    // if we couldn't find the source, something risky happened, we ignore the input, and log a warning
    default:
      return Ve.warn(`Received a ${o} frame that was not configured as a ref`), null;
  }
}, "getEventMetadata");

// src/manager-api/modules/globals.ts
var oot = /* @__PURE__ */ a(({ store: e, fullAPI: t, provider: r }) => {
  let n = {
    getGlobals() {
      return e.getState().globals;
    },
    getUserGlobals() {
      return e.getState().userGlobals;
    },
    getStoryGlobals() {
      return e.getState().storyGlobals;
    },
    getGlobalTypes() {
      return e.getState().globalTypes;
    },
    updateGlobals(s) {
      r.channel?.emit(F4, {
        globals: s,
        options: {
          target: "storybook-preview-iframe"
        }
      });
    }
  }, o = {
    globals: {},
    userGlobals: {},
    storyGlobals: {},
    globalTypes: {}
  }, i = /* @__PURE__ */ a(({
    globals: s,
    storyGlobals: l,
    userGlobals: u
  }) => {
    let {
      globals: c,
      userGlobals: d,
      storyGlobals: f
    } = e.getState();
    ho(s, c) || e.setState({ globals: s }), ho(u, d) || e.setState({ userGlobals: u }), ho(l, f) || e.setState({ storyGlobals: l });
  }, "updateGlobals");
  return r.channel?.on(
    sf,
    /* @__PURE__ */ a(function({ globals: l, storyGlobals: u, userGlobals: c }) {
      let { ref: d } = Wr(this, t);
      d ? Ve.warn(
        "received a GLOBALS_UPDATED from a non-local ref. This is not currently supported."
      ) : i({ globals: l, storyGlobals: u, userGlobals: c });
    }, "handleGlobalsUpdated")
  ), r.channel?.on(
    O4,
    /* @__PURE__ */ a(function({ globals: l, globalTypes: u }) {
      let { ref: c } = Wr(this, t), d = e.getState()?.globals;
      c ? Object.keys(l).length > 0 && Ve.warn("received globals from a non-local ref. This is not currently supported.") : e.setState({ globals: l,
      userGlobals: l, globalTypes: u }), d && Object.keys(d).length !== 0 && !ho(l, d) && n.updateGlobals(d);
    }, "handleSetGlobals")
  ), {
    api: n,
    state: o
  };
}, "init");

// src/manager-api/modules/layout.ts
var XS = {};
_e(XS, {
  ActiveTabs: () => Afe,
  defaultLayoutState: () => dn,
  focusableUIElements: () => zh,
  init: () => iot
});
Ct();
Ep();
var { document: aot } = Z, Pfe = /* @__PURE__ */ a((e) => typeof e == "function", "isFunction"), Afe = {
  SIDEBAR: "sidebar",
  CANVAS: "canvas",
  ADDONS: "addons"
}, dn = {
  ui: {
    enableShortcuts: !0
  },
  layout: {
    initialActive: Afe.CANVAS,
    showToolbar: !0,
    navSize: 300,
    bottomPanelHeight: 300,
    rightPanelWidth: 400,
    recentVisibleSizes: {
      navSize: 300,
      bottomPanelHeight: 300,
      rightPanelWidth: 400
    },
    panelPosition: "bottom",
    showTabs: !0
  },
  layoutCustomisations: {
    showSidebar: void 0,
    showToolbar: void 0
  },
  selectedPanel: void 0,
  theme: c1()
}, zh = {
  storySearchField: "storybook-explorer-searchfield",
  storyListMenu: "storybook-explorer-menu",
  storyPanelRoot: "storybook-panel-root"
}, cN = /* @__PURE__ */ a((e) => e.layout.navSize > 0, "getIsNavShown"), dN = /* @__PURE__ */ a((e) => {
  let { bottomPanelHeight: t, rightPanelWidth: r, panelPosition: n } = e.layout;
  return n === "bottom" && t > 0 || n === "right" && r > 0;
}, "getIsPanelShown"), Tfe = /* @__PURE__ */ a((e) => !cN(e) && !dN(e), "getIsFullscreen"), KS = /* @__PURE__ */ a((e) => ({
  navSize: e.navSize > 0 ? e.navSize : e.recentVisibleSizes.navSize,
  bottomPanelHeight: e.bottomPanelHeight > 0 ? e.bottomPanelHeight : e.recentVisibleSizes.bottomPanelHeight,
  rightPanelWidth: e.rightPanelWidth > 0 ? e.rightPanelWidth : e.recentVisibleSizes.rightPanelWidth
}), "getRecentVisibleSizes"), iot = /* @__PURE__ */ a(({ store: e, provider: t, singleStory: r }) => {
  let n = {
    toggleFullscreen(i) {
      return e.setState(
        (s) => {
          let l = Tfe(s), u = typeof i == "boolean" ? i : !l;
          return u === l ? { layout: s.layout } : u ? {
            layout: {
              ...s.layout,
              navSize: 0,
              bottomPanelHeight: 0,
              rightPanelWidth: 0,
              recentVisibleSizes: KS(s.layout)
            }
          } : {
            layout: {
              ...s.layout,
              navSize: s.singleStory ? 0 : s.layout.recentVisibleSizes.navSize,
              bottomPanelHeight: s.layout.recentVisibleSizes.bottomPanelHeight,
              rightPanelWidth: s.layout.recentVisibleSizes.rightPanelWidth
            }
          };
        },
        { persistence: "session" }
      );
    },
    togglePanel(i) {
      return e.setState(
        (s) => {
          let l = dN(s), u = typeof i == "boolean" ? i : !l;
          return u === l ? { layout: s.layout } : u ? {
            layout: {
              ...s.layout,
              bottomPanelHeight: s.layout.recentVisibleSizes.bottomPanelHeight,
              rightPanelWidth: s.layout.recentVisibleSizes.rightPanelWidth
            }
          } : {
            layout: {
              ...s.layout,
              bottomPanelHeight: 0,
              rightPanelWidth: 0,
              recentVisibleSizes: KS(s.layout)
            }
          };
        },
        { persistence: "session" }
      );
    },
    togglePanelPosition(i) {
      return e.setState(
        (s) => {
          let l = i || (s.layout.panelPosition === "right" ? "bottom" : "right");
          return {
            layout: {
              ...s.layout,
              panelPosition: l,
              bottomPanelHeight: s.layout.recentVisibleSizes.bottomPanelHeight,
              rightPanelWidth: s.layout.recentVisibleSizes.rightPanelWidth
            }
          };
        },
        { persistence: "permanent" }
      );
    },
    toggleNav(i) {
      return e.setState(
        (s) => {
          if (s.singleStory)
            return { layout: s.layout };
          let l = cN(s), u = typeof i == "boolean" ? i : !l;
          return u === l ? { layout: s.layout } : u ? {
            layout: {
              ...s.layout,
              navSize: s.layout.recentVisibleSizes.navSize
            }
          } : {
            layout: {
              ...s.layout,
              navSize: 0,
              recentVisibleSizes: KS(s.layout)
            }
          };
        },
        { persistence: "session" }
      );
    },
    toggleToolbar(i) {
      return e.setState(
        (s) => {
          let l = typeof i < "u" ? i : !s.layout.showToolbar;
          return {
            layout: {
              ...s.layout,
              showToolbar: l
            }
          };
        },
        { persistence: "session" }
      );
    },
    setSizes({
      navSize: i,
      bottomPanelHeight: s,
      rightPanelWidth: l
    }) {
      return e.setState(
        (u) => {
          let c = {
            ...u.layout,
            navSize: i ?? u.layout.navSize,
            bottomPanelHeight: s ?? u.layout.bottomPanelHeight,
            rightPanelWidth: l ?? u.layout.rightPanelWidth
          };
          return {
            layout: {
              ...c,
              recentVisibleSizes: KS(c)
            }
          };
        },
        { persistence: "session" }
      );
    },
    focusOnUIElement(i, s) {
      if (!i)
        return;
      let l = aot.getElementById(i);
      l && (l.focus(), s && l.select());
    },
    getInitialOptions() {
      let { theme: i, selectedPanel: s, layoutCustomisations: l, ...u } = t.getConfig();
      return {
        ...dn,
        layout: {
          ...em(
            dn.layout,
            Bl(u, Object.keys(dn.layout))
          ),
          ...r && { navSize: 0 }
        },
        layoutCustomisations: {
          ...dn.layoutCustomisations,
          ...l ?? {}
        },
        ui: em(dn.ui, Bl(u, Object.keys(dn.ui))),
        selectedPanel: s || dn.selectedPanel,
        theme: i || dn.theme
      };
    },
    getIsFullscreen() {
      return Tfe(e.getState());
    },
    getIsPanelShown() {
      return dN(e.getState());
    },
    getIsNavShown() {
      return cN(e.getState());
    },
    getShowToolbarWithCustomisations(i) {
      let s = e.getState();
      return Pfe(s.layoutCustomisations.showToolbar) ? s.layoutCustomisations.showToolbar(s, i) ?? i : i;
    },
    getNavSizeWithCustomisations(i) {
      let s = e.getState();
      if (Pfe(s.layoutCustomisations.showSidebar)) {
        let l = s.layoutCustomisations.showSidebar(s, i !== 0);
        if (i === 0 && l === !0)
          return s.layout.recentVisibleSizes.navSize;
        if (i !== 0 && l === !1)
          return 0;
      }
      return i;
    },
    setOptions: /* @__PURE__ */ a((i) => {
      let { layout: s, ui: l, selectedPanel: u, theme: c } = e.getState();
      if (!i)
        return;
      let d = {
        ...s,
        ...i.layout || {},
        ...Bl(i, Object.keys(s)),
        ...r && { navSize: 0 }
      }, f = {
        ...l,
        ...i.ui,
        ...em(i.ui || {}, Bl(i, Object.keys(l)))
      }, p = {
        ...c,
        ...i.theme
      }, m = {};
      Cr(l, f) || (m.ui = f), Cr(s, d) || (m.layout = d), i.selectedPanel && !Cr(u, i.selectedPanel) && (m.selectedPanel = i.selectedPanel),
      Object.keys(m).length && e.setState(m, { persistence: "permanent" }), Cr(c, p) || e.setState({ theme: p });
    }, "setOptions")
  }, o = Bl(e.getState(), ["layout", "selectedPanel"]);
  return t.channel?.on(vi, () => {
    n.setOptions(oa(n.getInitialOptions(), o));
  }), {
    api: n,
    state: oa(n.getInitialOptions(), o)
  };
}, "init");

// src/manager-api/modules/notifications.ts
var fN = {};
_e(fN, {
  init: () => sot
});
var sot = /* @__PURE__ */ a(({ store: e }) => ({ api: {
  addNotification: /* @__PURE__ */ a((n) => {
    e.setState(({ notifications: o }) => {
      let [i, s] = ev(o, (l) => l.id === n.id);
      return i.forEach((l) => {
        l.onClear && l.onClear({ dismissed: !1, timeout: !1 });
      }), { notifications: [...s, n] };
    });
  }, "addNotification"),
  clearNotification: /* @__PURE__ */ a((n) => {
    e.setState(({ notifications: o }) => {
      let [i, s] = ev(o, (l) => l.id === n);
      return i.forEach((l) => {
        l.onClear && l.onClear({ dismissed: !1, timeout: !1 });
      }), { notifications: s };
    });
  }, "clearNotification")
}, state: { notifications: [] } }), "init");

// src/manager-api/modules/provider.ts
var pN = {};
_e(pN, {
  init: () => lot
});
var lot = /* @__PURE__ */ a(({ provider: e, fullAPI: t }) => ({
  api: e.renderPreview ? { renderPreview: e.renderPreview } : {},
  state: {},
  init: /* @__PURE__ */ a(() => {
    e.handleAPI(t);
  }, "init")
}), "init");

// src/manager-api/modules/settings.ts
var mN = {};
_e(mN, {
  init: () => uot
});
var uot = /* @__PURE__ */ a(({ store: e, navigate: t, fullAPI: r }) => ({
  state: { settings: { lastTrackedStoryId: null } },
  api: {
    closeSettings: /* @__PURE__ */ a(() => {
      let {
        settings: { lastTrackedStoryId: i }
      } = e.getState();
      i ? r.selectStory(i) : r.selectFirstStory();
    }, "closeSettings"),
    changeSettingsTab: /* @__PURE__ */ a((i) => {
      t(`/settings/${i}`);
    }, "changeSettingsTab"),
    isSettingsScreenActive: /* @__PURE__ */ a(() => {
      let { path: i } = r.getUrlState();
      return !!(i || "").match(/^\/settings/);
    }, "isSettingsScreenActive"),
    retrieveSelection() {
      let { settings: i } = e.getState();
      return i.lastTrackedStoryId;
    },
    storeSelection: /* @__PURE__ */ a(async () => {
      let { storyId: i, settings: s } = e.getState();
      await e.setState({
        settings: { ...s, lastTrackedStoryId: i }
      });
    }, "storeSelection")
  }
}), "init");

// src/manager-api/modules/shortcuts.ts
var bN = {};
_e(bN, {
  controlOrMetaKey: () => Xd,
  defaultShortcuts: () => Jd,
  init: () => got,
  isMacLike: () => Nfe,
  keys: () => vN
});
Ct();

// src/manager-api/lib/shortcut.ts
Ct();
var { navigator: hN } = Z, JS = /* @__PURE__ */ a(() => hN && hN.platform ? !!hN.platform.match(/(Mac|iPhone|iPod|iPad)/i) : !1, "isMacLike"),
cot = /* @__PURE__ */ a(() => JS() ? "\u2318" : "ctrl", "controlOrMetaSymbol"), dot = /* @__PURE__ */ a(() => JS() ? "meta" : "control", "co\
ntrolOrMetaKey"), Ofe = /* @__PURE__ */ a(() => JS() ? "\u2325" : "alt", "optionOrAltSymbol"), fot = /* @__PURE__ */ a((e, t) => JSON.stringify(
e) === JSON.stringify(t), "isShortcutTaken"), QS = /* @__PURE__ */ a((e) => {
  if (["Meta", "Alt", "Control", "Shift"].includes(e.key))
    return null;
  let t = [];
  if (e.altKey && t.push("alt"), e.ctrlKey && t.push("control"), e.metaKey && t.push("meta"), e.shiftKey && t.push("shift"), e.key && e.key.
  length === 1 && e.key !== " ") {
    let r = e.key.toUpperCase(), n = e.code?.toUpperCase().replace("KEY", "").replace("DIGIT", "");
    n && n.length === 1 && n !== r ? t.push([r, n]) : t.push(r);
  }
  return e.key === " " && t.push("space"), e.key === "Escape" && t.push("escape"), e.key === "ArrowRight" && t.push("ArrowRight"), e.key ===
  "ArrowDown" && t.push("ArrowDown"), e.key === "ArrowUp" && t.push("ArrowUp"), e.key === "ArrowLeft" && t.push("ArrowLeft"), t.length > 0 ?
  t : null;
}, "eventToShortcut"), ZS = /* @__PURE__ */ a((e, t) => !e || !t || (e.join("").startsWith("shift/") && e.shift(), e.length !== t.length) ? !1 :
!e.find(
  (r, n) => Array.isArray(r) ? !r.includes(t[n]) : r !== t[n]
), "shortcutMatchesShortcut"), pot = /* @__PURE__ */ a((e, t) => ZS(QS(e), t), "eventMatchesShortcut"), Ife = /* @__PURE__ */ a((e) => e ===
"alt" ? Ofe() : e === "control" ? "\u2303" : e === "meta" ? "\u2318" : e === "shift" ? "\u21E7\u200B" : e === "Enter" || e === "Backspace" ||
e === "Esc" || e === "escape" ? "" : e === " " ? "SPACE" : e === "ArrowUp" ? "\u2191" : e === "ArrowDown" ? "\u2193" : e === "ArrowLeft" ? "\
\u2190" : e === "ArrowRight" ? "\u2192" : e.toUpperCase(), "keyToSymbol"), mot = /* @__PURE__ */ a((e) => e.map(Ife).join(" "), "shortcutToH\
umanString");

// src/manager-api/modules/shortcuts.ts
var { navigator: gN, document: Mfe } = Z, Nfe = /* @__PURE__ */ a(() => gN && gN.platform ? !!gN.platform.match(/(Mac|iPhone|iPod|iPad)/i) :
!1, "isMacLike"), Xd = /* @__PURE__ */ a(() => Nfe() ? "meta" : "control", "controlOrMetaKey");
function vN(e) {
  return Object.keys(e);
}
a(vN, "keys");
var Jd = Object.freeze({
  fullScreen: ["alt", "F"],
  togglePanel: ["alt", "A"],
  panelPosition: ["alt", "D"],
  toggleNav: ["alt", "S"],
  toolbar: ["alt", "T"],
  search: [Xd(), "K"],
  focusNav: ["1"],
  focusIframe: ["2"],
  focusPanel: ["3"],
  prevComponent: ["alt", "ArrowUp"],
  nextComponent: ["alt", "ArrowDown"],
  prevStory: ["alt", "ArrowLeft"],
  nextStory: ["alt", "ArrowRight"],
  shortcutsPage: [Xd(), "shift", ","],
  aboutPage: [Xd(), ","],
  escape: ["escape"],
  // This one is not customizable
  collapseAll: [Xd(), "shift", "ArrowUp"],
  expandAll: [Xd(), "shift", "ArrowDown"],
  remount: ["alt", "R"]
}), yN = {};
function hot(e) {
  let t = e.target;
  return !!(/input|textarea/i.test(t.tagName) || t.getAttribute("contenteditable") !== null || t.closest("dialog[open]"));
}
a(hot, "shouldSkipShortcut");
var got = /* @__PURE__ */ a(({ store: e, fullAPI: t, provider: r }) => {
  let n = {
    // Getting and setting shortcuts
    getShortcutKeys() {
      return e.getState().shortcuts;
    },
    getDefaultShortcuts() {
      return {
        ...Jd,
        ...n.getAddonsShortcutDefaults()
      };
    },
    getAddonsShortcuts() {
      return yN;
    },
    getAddonsShortcutLabels() {
      let l = {};
      return Object.entries(n.getAddonsShortcuts()).forEach(([u, { label: c }]) => {
        l[u] = c;
      }), l;
    },
    getAddonsShortcutDefaults() {
      let l = {};
      return Object.entries(n.getAddonsShortcuts()).forEach(([u, { defaultShortcut: c }]) => {
        l[u] = c;
      }), l;
    },
    async setShortcuts(l) {
      return await e.setState({ shortcuts: l }, { persistence: "permanent" }), l;
    },
    async restoreAllDefaultShortcuts() {
      return n.setShortcuts(n.getDefaultShortcuts());
    },
    async setShortcut(l, u) {
      let c = n.getShortcutKeys();
      return await n.setShortcuts({ ...c, [l]: u }), u;
    },
    async setAddonShortcut(l, u) {
      let c = n.getShortcutKeys();
      return await n.setShortcuts({
        ...c,
        [`${l}-${u.actionName}`]: u.defaultShortcut
      }), yN[`${l}-${u.actionName}`] = u, u;
    },
    async restoreDefaultShortcut(l) {
      let u = n.getDefaultShortcuts()[l];
      return n.setShortcut(l, u);
    },
    // Listening to shortcut events
    handleKeydownEvent(l) {
      let u = QS(l), c = n.getShortcutKeys(), f = vN(c).find(
        (p) => ZS(u, c[p])
      );
      f && n.handleShortcutFeature(f, l);
    },
    // warning: event might not have a full prototype chain because it may originate from the channel
    handleShortcutFeature(l, u) {
      let {
        ui: { enableShortcuts: c },
        storyId: d
      } = e.getState();
      if (c)
        switch (u?.preventDefault && u.preventDefault(), l) {
          case "escape": {
            t.getIsFullscreen() ? t.toggleFullscreen(!1) : t.getIsNavShown() && t.toggleNav(!0);
            break;
          }
          case "focusNav": {
            t.getIsFullscreen() && t.toggleFullscreen(!1), t.getIsNavShown() || t.toggleNav(!0), t.focusOnUIElement(zh.storyListMenu);
            break;
          }
          case "search": {
            t.getIsFullscreen() && t.toggleFullscreen(!1), t.getIsNavShown() || t.toggleNav(!0), setTimeout(() => {
              t.focusOnUIElement(zh.storySearchField, !0);
            }, 0);
            break;
          }
          case "focusIframe": {
            let f = Mfe.getElementById("storybook-preview-iframe");
            if (f)
              try {
                f.contentWindow.focus();
              } catch {
              }
            break;
          }
          case "focusPanel": {
            t.getIsFullscreen() && t.toggleFullscreen(!1), t.getIsPanelShown() || t.togglePanel(!0), t.focusOnUIElement(zh.storyPanelRoot);
            break;
          }
          case "nextStory": {
            t.jumpToStory(1);
            break;
          }
          case "prevStory": {
            t.jumpToStory(-1);
            break;
          }
          case "nextComponent": {
            t.jumpToComponent(1);
            break;
          }
          case "prevComponent": {
            t.jumpToComponent(-1);
            break;
          }
          case "fullScreen": {
            t.toggleFullscreen();
            break;
          }
          case "togglePanel": {
            t.togglePanel();
            break;
          }
          case "toggleNav": {
            t.toggleNav();
            break;
          }
          case "toolbar": {
            t.toggleToolbar();
            break;
          }
          case "panelPosition": {
            t.getIsFullscreen() && t.toggleFullscreen(!1), t.getIsPanelShown() || t.togglePanel(!0), t.togglePanelPosition();
            break;
          }
          case "aboutPage": {
            t.navigate("/settings/about");
            break;
          }
          case "shortcutsPage": {
            t.navigate("/settings/shortcuts");
            break;
          }
          case "collapseAll": {
            t.emit(M4);
            break;
          }
          case "expandAll": {
            t.emit(N4);
            break;
          }
          case "remount": {
            t.emit(xu, { storyId: d });
            break;
          }
          default:
            yN[l].action();
            break;
        }
    }
  }, { shortcuts: o = Jd } = e.getState(), i = {
    // Any saved shortcuts that are still in our set of defaults
    shortcuts: vN(Jd).reduce(
      (l, u) => ({ ...l, [u]: o[u] || Jd[u] }),
      Jd
    )
  };
  return { api: n, state: i, init: /* @__PURE__ */ a(() => {
    Mfe.addEventListener("keydown", (l) => {
      hot(l) || n.handleKeydownEvent(l);
    }), r.channel?.on(_4, (l) => {
      n.handleKeydownEvent(l.event);
    });
  }, "initModule") };
}, "init");

// src/manager-api/modules/stories.ts
var xN = {};
_e(xN, {
  init: () => Eot
});
kr();
Ct();

// src/server-errors.ts
Ao();
var wN = class wN extends wa {
  constructor(r) {
    super({
      category: "CORE-SERVER",
      code: 16,
      message: `Status has typeId "${r.status.typeId}" but was added to store with typeId "${r.typeId}". Full status: ${JSON.stringify(
        r.status,
        null,
        2
      )}`
    });
    this.data = r;
  }
};
a(wN, "StatusTypeIdMismatchError");
var e4 = wN;

// src/shared/status-store/index.ts
var Lfe = {
  id: "storybook/status",
  leader: !0,
  initialState: {}
}, EN = {
  SELECT: "select"
};
function kfe({
  universalStatusStore: e,
  useUniversalStore: t,
  environment: r
}) {
  let n = {
    getAll() {
      return e.getState();
    },
    set(i) {
      e.setState((s) => {
        let l = { ...s };
        for (let u of i) {
          let { storyId: c, typeId: d } = u;
          l[c] = { ...l[c] ?? {}, [d]: u };
        }
        return l;
      });
    },
    onAllStatusChange(i) {
      return e.onStateChange((s, l) => {
        i(s, l);
      });
    },
    onSelect(i) {
      return e.subscribe(EN.SELECT, (s) => {
        i(s.payload);
      });
    },
    selectStatuses: /* @__PURE__ */ a((i) => {
      e.send({ type: EN.SELECT, payload: i });
    }, "selectStatuses"),
    unset(i) {
      if (!i) {
        e.setState({});
        return;
      }
      e.setState((s) => {
        let l = { ...s };
        for (let u of i)
          delete l[u];
        return l;
      });
    },
    typeId: void 0
  }, o = /* @__PURE__ */ a((i) => ({
    getAll: n.getAll,
    set(s) {
      e.setState((l) => {
        let u = { ...l };
        for (let c of s) {
          let { storyId: d } = c;
          if (c.typeId !== i)
            switch (r) {
              case "server":
                throw new e4({
                  status: c,
                  typeId: i
                });
              case "manager":
                throw new Lh({
                  status: c,
                  typeId: i
                });
              case "preview":
              default:
                throw new Zy({
                  status: c,
                  typeId: i
                });
            }
          u[d] = { ...u[d] ?? {}, [i]: c };
        }
        return u;
      });
    },
    onAllStatusChange: n.onAllStatusChange,
    onSelect(s) {
      return e.subscribe(EN.SELECT, (l) => {
        l.payload.some((u) => u.typeId === i) && s(l.payload);
      });
    },
    unset(s) {
      e.setState((l) => {
        let u = { ...l };
        for (let c in u)
          if (u[c]?.[i] && (!s || s?.includes(c))) {
            let { [i]: d, ...f } = u[c];
            u[c] = f;
          }
        return u;
      });
    },
    typeId: i
  }), "getStatusStoreByTypeId");
  return t ? {
    getStatusStoreByTypeId: o,
    fullStatusStore: n,
    universalStatusStore: e,
    useStatusStore: /* @__PURE__ */ a((i) => t(e, i)[0], "useStatusStore")
  } : { getStatusStoreByTypeId: o, fullStatusStore: n, universalStatusStore: e };
}
a(kfe, "createStatusStore");

// src/shared/universal-store/use-universal-store-manager.ts
var bu = N(H(), 1);
var Qd = /* @__PURE__ */ a((e, t) => {
  let r = bu.useRef(
    t ? t(e.getState()) : e.getState()
  ), n = bu.useCallback(
    (s) => e.onStateChange((l, u) => {
      if (!t) {
        r.current = l, s();
        return;
      }
      let c = t(l), d = t(u);
      !Cr(c, d) && (r.current = c, s());
    }),
    [e, t]
  ), o = bu.useCallback(() => {
    let s = e.getState(), l = t ? t(s) : s;
    return Cr(l, r.current) || (r.current = l), r.current;
  }, [e, t]);
  return [bu.useSyncExternalStore(n, o), e.setState];
}, "useUniversalStore");

// src/manager-api/stores/status.ts
var yot = kfe({
  universalStatusStore: ur.create({
    ...Lfe,
    leader: globalThis.CONFIG_TYPE === "PRODUCTION"
  }),
  useUniversalStore: Qd,
  environment: "manager"
}), { fullStatusStore: Uh, getStatusStoreByTypeId: qfe, useStatusStore: Dfe, universalStatusStore: Ffe } = yot;

// src/manager-api/modules/stories.ts
var { fetch: vot } = Z, bot = "./index.json", wot = ["enableShortcuts", "theme", "showRoots"];
function RN(e) {
  if (!e || typeof e == "string")
    return e;
  let t = { ...e };
  return wot.forEach((r) => {
    r in t && delete t[r];
  }), t;
}
a(RN, "removeRemovedOptions");
var Eot = /* @__PURE__ */ a(({
  fullAPI: e,
  store: t,
  navigate: r,
  provider: n,
  storyId: o,
  viewMode: i,
  docsOptions: s = {}
}) => {
  let l = {
    storyId: Ph,
    getData: /* @__PURE__ */ a((c, d) => {
      let f = l.resolveStory(c, d);
      if (f?.type === "story" || f?.type === "docs")
        return f;
    }, "getData"),
    isPrepared: /* @__PURE__ */ a((c, d) => {
      let f = l.getData(c, d);
      return f ? f.type === "story" ? f.prepared : !0 : !1;
    }, "isPrepared"),
    resolveStory: /* @__PURE__ */ a((c, d) => {
      let { refs: f, index: p } = t.getState();
      if (!(d && !f[d]))
        return d ? f?.[d]?.index?.[c] ?? void 0 : p ? p[c] : void 0;
    }, "resolveStory"),
    getCurrentStoryData: /* @__PURE__ */ a(() => {
      let { storyId: c, refId: d } = t.getState();
      return l.getData(c, d);
    }, "getCurrentStoryData"),
    getParameters: /* @__PURE__ */ a((c, d) => {
      let { storyId: f, refId: p } = typeof c == "string" ? { storyId: c, refId: void 0 } : c, m = l.getData(f, p);
      if (["story", "docs"].includes(m?.type)) {
        let { parameters: v } = m;
        if (v)
          return d ? v[d] : v;
      }
      return null;
    }, "getParameters"),
    getCurrentParameter: /* @__PURE__ */ a((c) => {
      let { storyId: d, refId: f } = t.getState();
      return l.getParameters({ storyId: d, refId: f }, c) || void 0;
    }, "getCurrentParameter"),
    jumpToComponent: /* @__PURE__ */ a((c) => {
      let { index: d, storyId: f, refs: p, refId: m } = t.getState();
      if (!l.getData(f, m))
        return;
      let y = m ? p[m].index || {} : d;
      if (!y)
        return;
      let b = l.findSiblingStoryId(f, y, c, !0);
      b && l.selectStory(b, void 0, { ref: m });
    }, "jumpToComponent"),
    jumpToStory: /* @__PURE__ */ a((c) => {
      let { index: d, storyId: f, refs: p, refId: m } = t.getState(), v = l.getData(f, m);
      if (!v)
        return;
      let y = v.refId ? p[v.refId].index : d;
      if (!y)
        return;
      let b = l.findSiblingStoryId(f, y, c, !1);
      b && l.selectStory(b, void 0, { ref: m });
    }, "jumpToStory"),
    selectFirstStory: /* @__PURE__ */ a(() => {
      let { index: c } = t.getState();
      if (!c)
        return;
      let d = Object.keys(c).find((f) => c[f].type === "story");
      if (d) {
        l.selectStory(d);
        return;
      }
      r("/");
    }, "selectFirstStory"),
    selectStory: /* @__PURE__ */ a((c = void 0, d = void 0, f = {}) => {
      let { ref: p } = f, { storyId: m, index: v, refs: y } = t.getState(), b = p ? y[p].index : v, g = m?.split("--", 2)[0];
      if (b)
        if (d)
          if (c) {
            let w = p ? `${p}_${Ph(c, d)}` : Ph(c, d);
            if (b[w])
              l.selectStory(w, void 0, f);
            else {
              let E = b[Pa(c)];
              if (E?.type === "component") {
                let x = E.children.find((S) => b[S].name === d);
                x && l.selectStory(x, void 0, f);
              }
            }
          } else {
            let w = Ph(g, d);
            l.selectStory(w, void 0, f);
          }
        else {
          let w = c ? b[c] || b[Pa(c)] : b[g];
          if (!w)
            throw new Error(`Unknown id or title: '${c}'`);
          t.setState({
            settings: { ...t.getState().settings, lastTrackedStoryId: w.id }
          });
          let E = l.findLeafEntry(b, w.id), x = E.refId ? `${E.refId}_${E.id}` : E.id;
          r(`/${E.type}/${x}`);
        }
    }, "selectStory"),
    findLeafEntry(c, d) {
      let f = c[d];
      if (f.type === "docs" || f.type === "story")
        return f;
      let p = f.children[0];
      return l.findLeafEntry(c, p);
    },
    findLeafStoryId(c, d) {
      return l.findLeafEntry(c, d)?.id;
    },
    findAllLeafStoryIds(c) {
      let { index: d } = t.getState();
      if (!d)
        return [];
      let f = /* @__PURE__ */ a((p, m = []) => {
        let v = d[p];
        return v && (v.type === "story" ? m.push(v.id) : "children" in v && v.children.forEach((y) => f(y, m))), m;
      }, "findChildEntriesRecursively");
      return f(c, []);
    },
    findSiblingStoryId(c, d, f, p) {
      if (p) {
        let y = Efe(d), b = y.findIndex((g) => g.includes(c));
        return b === y.length - 1 && f > 0 || b === 0 && f < 0 ? void 0 : y[b + f] ? y[b + f][0] : void 0;
      }
      let m = Rfe(d), v = m.indexOf(c);
      if (!(v === m.length - 1 && f > 0) && !(v === 0 && f < 0))
        return m[v + f];
    },
    updateStoryArgs: /* @__PURE__ */ a((c, d) => {
      let { id: f, refId: p } = c;
      n.channel?.emit(B4, {
        storyId: f,
        updatedArgs: d,
        options: { target: p }
      });
    }, "updateStoryArgs"),
    resetStoryArgs: /* @__PURE__ */ a((c, d) => {
      let { id: f, refId: p } = c;
      n.channel?.emit(P4, {
        storyId: f,
        argNames: d,
        options: { target: p }
      });
    }, "resetStoryArgs"),
    fetchIndex: /* @__PURE__ */ a(async () => {
      try {
        let c = await vot(bot);
        if (c.status !== 200)
          throw new Error(await c.text());
        let d = await c.json();
        if (d.v < 3) {
          Ve.warn(`Skipping story index with version v${d.v}, awaiting SET_STORIES.`);
          return;
        }
        await l.setIndex(d);
      } catch (c) {
        await t.setState({ indexError: c });
      }
    }, "fetchIndex"),
    // The story index we receive on SET_INDEX is "prepared" in that it has parameters
    // The story index we receive on fetchStoryIndex is not, but all the prepared fields are optional
    // so we can cast one to the other easily enough
    setIndex: /* @__PURE__ */ a(async (c) => {
      let { filteredIndex: d, index: f, filters: p } = t.getState(), m = Uh.getAll(), v = Kd(c, {
        provider: n,
        docsOptions: s,
        filters: p,
        allStatuses: m
      }), y = Kd(c, {
        provider: n,
        docsOptions: s,
        filters: {},
        allStatuses: m
      });
      await t.setState({
        internal_index: c,
        filteredIndex: aN(v, d),
        index: aN(y, f),
        indexError: void 0
      });
    }, "setIndex"),
    // FIXME: is there a bug where filtered stories get added back in on updateStory???
    updateStory: /* @__PURE__ */ a(async (c, d, f) => {
      if (f) {
        let { id: p, index: m, filteredIndex: v } = f;
        m[c] = {
          ...m[c],
          ...d
        }, v[c] = {
          ...v[c],
          ...d
        }, await e.updateRef(p, { index: m, filteredIndex: v });
      } else {
        let { index: p, filteredIndex: m } = t.getState();
        p && (p[c] = {
          ...p[c],
          ...d
        }), m && (m[c] = {
          ...m[c],
          ...d
        }), (p || m) && await t.setState({ index: p, filteredIndex: m });
      }
    }, "updateStory"),
    updateDocs: /* @__PURE__ */ a(async (c, d, f) => {
      if (f) {
        let { id: p, index: m, filteredIndex: v } = f;
        m[c] = {
          ...m[c],
          ...d
        }, v[c] = {
          ...v[c],
          ...d
        }, await e.updateRef(p, { index: m, filteredIndex: v });
      } else {
        let { index: p, filteredIndex: m } = t.getState();
        p && (p[c] = {
          ...p[c],
          ...d
        }), m && (m[c] = {
          ...m[c],
          ...d
        }), (p || m) && await t.setState({ index: p, filteredIndex: m });
      }
    }, "updateDocs"),
    setPreviewInitialized: /* @__PURE__ */ a(async (c) => {
      c ? e.updateRef(c.id, { previewInitialized: !0 }) : t.setState({ previewInitialized: !0 });
    }, "setPreviewInitialized"),
    experimental_setFilter: /* @__PURE__ */ a(async (c, d) => {
      await t.setState({ filters: { ...t.getState().filters, [c]: d } });
      let { internal_index: f } = t.getState();
      if (!f)
        return;
      await l.setIndex(f);
      let p = await e.getRefs();
      Object.entries(p).forEach(([m, { internal_index: v, ...y }]) => {
        e.setRef(m, { ...y, storyIndex: v }, !0);
      }), n.channel?.emit(A4, { id: c });
    }, "experimental_setFilter")
  };
  n.channel?.on(
    D4,
    /* @__PURE__ */ a(function({
      storyId: d,
      viewMode: f
    }) {
      let { sourceType: p } = Wr(this, e);
      if (p === "local") {
        let m = t.getState(), v = m.path === "/" || m.viewMode === "story" || m.viewMode === "docs", y = m.viewMode && m.storyId, b = m.viewMode !==
        f || m.storyId !== d, { type: g } = m.index?.[m.storyId] || {};
        v && (y && b && !(g === "root" || g === "component" || g === "group") ? n.channel?.emit(Vs, {
          storyId: m.storyId,
          viewMode: m.viewMode
        }) : b && r(`/${f}/${d}`));
      }
    }, "handler")
  ), n.channel?.on(x4, /* @__PURE__ */ a(function() {
    let { ref: d } = Wr(this, e);
    l.setPreviewInitialized(d);
  }, "handler")), n.channel?.on(cf, /* @__PURE__ */ a(function() {
    let { sourceType: d } = Wr(this, e);
    if (d === "local") {
      let f = l.getCurrentParameter("options");
      f && e.setOptions(RN(f));
    }
  }, "handler")), n.channel?.on(
    df,
    /* @__PURE__ */ a(function({ id: d, ...f }) {
      let { ref: p, sourceType: m } = Wr(this, e);
      if (l.updateStory(d, { ...f, prepared: !0 }, p), !p && !t.getState().hasCalledSetOptions) {
        let { options: v } = f.parameters;
        e.setOptions(RN(v)), t.setState({ hasCalledSetOptions: !0 });
      }
      if (m === "local") {
        let { storyId: v, index: y, refId: b } = t.getState();
        if (!y)
          return;
        let g = Array.from(
          /* @__PURE__ */ new Set([
            l.findSiblingStoryId(v, y, 1, !0),
            l.findSiblingStoryId(v, y, -1, !0)
          ])
        ).filter(Boolean);
        n.channel?.emit(C4, {
          ids: g,
          options: { target: b }
        });
      }
    }, "handler")
  ), n.channel?.on(
    af,
    /* @__PURE__ */ a(function({ id: d, ...f }) {
      let { ref: p } = Wr(this, e);
      l.updateStory(d, { ...f, prepared: !0 }, p);
    }, "handler")
  ), n.channel?.on(I4, /* @__PURE__ */ a(function(d) {
    let { ref: f } = Wr(this, e);
    if (f)
      e.setRef(f.id, { ...f, storyIndex: d }, !0);
    else {
      l.setIndex(d);
      let p = l.getCurrentParameter("options");
      e.setOptions(RN(p));
    }
  }, "handler")), n.channel?.on(lf, /* @__PURE__ */ a(function(d) {
    let { ref: f } = Wr(this, e), p = d.v ? bfe(d) : d.stories;
    if (f)
      e.setRef(f.id, { ...f, setStoriesData: p }, !0);
    else
      throw new Error("Cannot call SET_STORIES for local frame");
  }, "handler")), n.channel?.on(
    T4,
    /* @__PURE__ */ a(function({
      kind: d,
      title: f = d,
      story: p,
      name: m = p,
      storyId: v,
      ...y
    }) {
      let { ref: b } = Wr(this, e);
      b ? e.selectStory(v || f, m, { ...y, ref: b.id }) : e.selectStory(v || f, m, y);
    }, "handler")
  ), n.channel?.on(
    uf,
    /* @__PURE__ */ a(function({ storyId: d, args: f }) {
      let { ref: p } = Wr(this, e);
      l.updateStory(d, { args: f }, p);
    }, "handleStoryArgsUpdated")
  ), n.channel?.on(R4, /* @__PURE__ */ a(function(d) {
    let { ref: f } = Wr(this, e);
    l.setPreviewInitialized(f);
  }, "handleConfigError")), n.channel?.on(k4, /* @__PURE__ */ a(function(d) {
    let { ref: f } = Wr(this, e);
    l.setPreviewInitialized(f);
  }, "handleConfigError")), n.channel?.on(vi, () => {
    let c = n.getConfig();
    c?.sidebar?.filters && t.setState({
      filters: {
        ...t.getState().filters,
        ...c?.sidebar?.filters
      }
    });
  }), Uh.onAllStatusChange(async () => {
    let { internal_index: c } = t.getState();
    if (!c)
      return;
    await l.setIndex(c);
    let d = await e.getRefs();
    Object.entries(d).forEach(([f, { internal_index: p, ...m }]) => {
      e.setRef(f, { ...m, storyIndex: p }, !0);
    });
  });
  let u = n.getConfig();
  return {
    api: l,
    state: {
      storyId: o,
      viewMode: i,
      hasCalledSetOptions: !1,
      previewInitialized: !1,
      filters: u?.sidebar?.filters || {}
    },
    init: /* @__PURE__ */ a(async () => {
      n.channel?.on(L4, () => l.fetchIndex()), await l.fetchIndex();
    }, "init")
  };
}, "init");

// src/manager-api/modules/url.ts
var _N = {};
_e(_N, {
  init: () => xot
});
Ct();
var { window: SN } = Z, wu = /* @__PURE__ */ a((e) => {
  if (e === "true" || e === "1")
    return !0;
  if (e === "false" || e === "0")
    return !1;
}, "parseBoolean"), CN, Rot = /* @__PURE__ */ a(({
  state: { location: e, path: t, viewMode: r, storyId: n },
  singleStory: o
}) => {
  let {
    full: i,
    panel: s,
    nav: l,
    shortcuts: u,
    addonPanel: c,
    tabs: d,
    path: f,
    ...p
    // the rest gets passed to the iframe
  } = Dh(e), m, v, y;
  wu(i) === !0 ? (m = 0, v = 0, y = 0) : wu(i) === !1 && (m = dn.layout.navSize, v = dn.layout.bottomPanelHeight, y = dn.layout.rightPanelWidth),
  o || (wu(l) === !0 && (m = dn.layout.navSize), wu(l) === !1 && (m = 0)), wu(s) === !1 && (v = 0, y = 0);
  let b = {
    navSize: m,
    bottomPanelHeight: v,
    rightPanelWidth: y,
    panelPosition: ["right", "bottom"].includes(s) ? s : void 0,
    showTabs: wu(d)
  }, g = {
    enableShortcuts: wu(u)
  }, w = c || void 0, E = n, x = ho(CN, p) ? CN : p;
  return CN = x, { viewMode: r, layout: b, ui: g, selectedPanel: w, location: e, path: t, customQueryParams: x, storyId: E };
}, "initialUrlSupport"), xot = /* @__PURE__ */ a((e) => {
  let { store: t, navigate: r, provider: n, fullAPI: o } = e, i = /* @__PURE__ */ a((c, d = {}, f = {}) => {
    let p = Object.entries(d).filter(([, v]) => v).sort(([v], [y]) => v < y ? -1 : 1).map(([v, y]) => `${v}=${y}`), m = [c, ...p].join("&");
    return r(m, f);
  }, "navigateTo"), s = {
    getQueryParam(c) {
      let { customQueryParams: d } = t.getState();
      return d ? d[c] : void 0;
    },
    getUrlState() {
      let { location: c, path: d, customQueryParams: f, storyId: p, url: m, viewMode: v } = t.getState();
      return {
        path: d,
        hash: c.hash ?? "",
        queryParams: f,
        storyId: p,
        url: m,
        viewMode: v
      };
    },
    setQueryParams(c) {
      let { customQueryParams: d } = t.getState(), f = {}, p = {
        ...d,
        ...Object.entries(c).reduce((m, [v, y]) => (y !== null && (m[v] = y), m), f)
      };
      ho(d, p) || (t.setState({ customQueryParams: p }), n.channel?.emit(j4, p));
    },
    applyQueryParams(c, d) {
      let { path: f, hash: p = "", queryParams: m } = s.getUrlState();
      i(`${f}${p}`, { ...m, ...c }, d), s.setQueryParams(c);
    },
    navigateUrl(c, d) {
      r(c, { plain: !0, ...d });
    }
  }, l = /* @__PURE__ */ a(() => {
    let { path: c, hash: d = "", queryParams: f, viewMode: p } = s.getUrlState();
    if (p !== "story")
      return;
    let m = o.getCurrentStoryData();
    if (m?.type !== "story")
      return;
    let { args: v, initialArgs: y } = m, b = $S(y, v);
    i(`${c}${d}`, { ...f, args: b }, { replace: !0 }), s.setQueryParams({ args: b });
  }, "updateArgsParam");
  n.channel?.on(Vs, () => l());
  let u;
  return n.channel?.on(uf, () => {
    "requestIdleCallback" in SN ? (u && SN.cancelIdleCallback(u), u = SN.requestIdleCallback(l, { timeout: 1e3 })) : (u && clearTimeout(u), setTimeout(
    l, 100));
  }), n.channel?.on(sf, ({ userGlobals: c, initialGlobals: d }) => {
    let { path: f, hash: p = "", queryParams: m } = s.getUrlState(), v = $S(d, c);
    i(`${f}${p}`, { ...m, globals: v }, { replace: !0 }), s.setQueryParams({ globals: v });
  }), n.channel?.on(S4, (c, d) => {
    s.navigateUrl(c, d);
  }), {
    api: s,
    state: Rot(e)
  };
}, "init");

// src/manager-api/modules/versions.ts
var WN = {};
_e(WN, {
  init: () => Est
});
Ct();
var Ome = N(Wa(), 1), Nn = N(Pme(), 1);

// src/manager-api/version.ts
var Tme = "9.1.2";

// src/manager-api/modules/versions.ts
var { VERSIONCHECK: bst } = Z, Ame = (0, Ome.default)(1)(() => {
  try {
    return { ...JSON.parse(bst).data || {} };
  } catch {
    return {};
  }
}), wst = /* @__PURE__ */ a((e) => e.includes("vue") ? "vue" : e, "normalizeRendererName"), Est = /* @__PURE__ */ a(({ store: e }) => {
  let { dismissedVersionNotification: t } = e.getState(), r = {
    versions: {
      current: {
        version: Tme
      },
      ...Ame()
    },
    dismissedVersionNotification: t
  }, n = {
    getCurrentVersion: /* @__PURE__ */ a(() => {
      let {
        versions: { current: i }
      } = e.getState();
      return i;
    }, "getCurrentVersion"),
    getLatestVersion: /* @__PURE__ */ a(() => {
      let {
        versions: { latest: i, next: s, current: l }
      } = e.getState();
      return l && Nn.default.prerelease(l.version) && s ? i && Nn.default.gt(i.version, s.version) ? i : s : i;
    }, "getLatestVersion"),
    // TODO: Move this to it's own "info" module later
    getDocsUrl: /* @__PURE__ */ a(({ subpath: i, versioned: s, renderer: l }) => {
      let {
        versions: { latest: u, current: c }
      } = e.getState(), d = "https://storybook.js.org/docs/";
      if (s && c?.version && u?.version) {
        let m = Nn.default.diff(u.version, c.version);
        m === "patch" || m === null || // assume latest version when current version is a 0.0.0 canary
        Nn.default.satisfies(c.version, "0.0.0", { includePrerelease: !0 }) || (d += `${Nn.default.major(c.version)}.${Nn.default.minor(c.version)}\
/`);
      }
      let [f, p] = i?.split("#") || [];
      if (f && (d += `${f}/`), l && typeof Z.STORYBOOK_RENDERER < "u") {
        let m = Z.STORYBOOK_RENDERER;
        m && (d += `?renderer=${wst(m)}`);
      }
      return p && (d += `#${p}`), d;
    }, "getDocsUrl"),
    versionUpdateAvailable: /* @__PURE__ */ a(() => {
      let i = n.getLatestVersion(), s = n.getCurrentVersion();
      if (i) {
        if (!i.version || !s.version)
          return !0;
        let u = !!Nn.default.prerelease(s.version) ? `${Nn.default.major(s.version)}.${Nn.default.minor(s.version)}.${Nn.default.patch(
          s.version
        )}` : s.version, c = Nn.default.diff(u, i.version);
        return Nn.default.gt(i.version, u) && c !== "patch" && !c.includes("pre");
      }
      return !1;
    }, "versionUpdateAvailable")
  };
  return { init: /* @__PURE__ */ a(async () => {
    let { versions: i = {} } = e.getState(), { latest: s, next: l } = Ame();
    await e.setState({
      versions: { ...i, latest: s, next: l }
    });
  }, "initModule"), state: r, api: n };
}, "init");

// src/manager-api/modules/whatsnew.tsx
var GN = {};
_e(GN, {
  init: () => xst
});
var p4 = N(H(), 1);
Ct();
var Ime = "whats-new", Rst = /* @__PURE__ */ a(({ color: e = "currentColor", size: t = 14 }) => /* @__PURE__ */ p4.default.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg"
  },
  /* @__PURE__ */ p4.default.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M2.042.616a.704.704 0 00-.66.729L1.816 12.9c.014.367.306.66.672.677l9.395.422h.032a.704.704 0 00.704-.703V.704c0-.015 0-.03-.002-.\
044a.704.704 0 00-.746-.659l-.773.049.057 1.615a.105.105 0 01-.17.086l-.52-.41-.617.468a.105.105 0 01-.168-.088L9.746.134 2.042.616zm8.003 4\
.747c-.247.192-2.092.324-2.092.05.04-1.045-.429-1.091-.689-1.091-.247 0-.662.075-.662.634 0 .57.607.893 1.32 1.27 1.014.538 2.24 1.188 2.24 \
2.823 0 1.568-1.273 2.433-2.898 2.433-1.676 0-3.141-.678-2.976-3.03.065-.275 2.197-.21 2.197 0-.026.971.195 1.256.753 1.256.43 0 .624-.236.6\
24-.634 0-.602-.633-.958-1.361-1.367-.987-.554-2.148-1.205-2.148-2.7 0-1.494 1.027-2.489 2.86-2.489 1.832 0 2.832.98 2.832 2.845z",
      fill: e
    }
  )
), "StorybookIcon"), xst = /* @__PURE__ */ a(({ fullAPI: e, store: t, provider: r }) => {
  let n = {
    whatsNewData: void 0
  };
  function o(c) {
    t.setState({ whatsNewData: c }), n.whatsNewData = c;
  }
  a(o, "setWhatsNewState");
  let i = {
    isWhatsNewUnread() {
      return n.whatsNewData?.status === "SUCCESS" && !n.whatsNewData.postIsRead;
    },
    whatsNewHasBeenRead() {
      n.whatsNewData?.status === "SUCCESS" && (l({ lastReadPost: n.whatsNewData.url }), o({ ...n.whatsNewData, postIsRead: !0 }), e.clearNotification(
      Ime));
    },
    toggleWhatsNewNotifications() {
      n.whatsNewData?.status === "SUCCESS" && (o({
        ...n.whatsNewData,
        disableWhatsNewNotifications: !n.whatsNewData.disableWhatsNewNotifications
      }), r.channel?.emit(U4, {
        disableWhatsNewNotifications: n.whatsNewData.disableWhatsNewNotifications
      }));
    }
  };
  function s() {
    return r.channel?.emit($4), new Promise(
      (c) => r.channel?.once(
        H4,
        ({ data: d }) => c(d)
      )
    );
  }
  a(s, "getLatestWhatsNewPost");
  function l(c) {
    r.channel?.emit(z4, c);
  }
  return a(l, "setWhatsNewCache"), { init: /* @__PURE__ */ a(async () => {
    if (Z.CONFIG_TYPE !== "DEVELOPMENT")
      return;
    let c = await s();
    o(c);
    let d = e.getUrlState();
    !(d?.path === "/onboarding" || d.queryParams?.onboarding === "true") && c.status === "SUCCESS" && !c.disableWhatsNewNotifications && c.showNotification &&
    e.addNotification({
      id: Ime,
      link: "/settings/whats-new",
      content: {
        headline: c.title,
        subHeadline: "Learn what's new in Storybook"
      },
      icon: /* @__PURE__ */ p4.default.createElement(Rst, null),
      onClear({ dismissed: p }) {
        p && l({ lastDismissedPost: c.url });
      }
    });
  }, "initModule"), state: n, api: i };
}, "init");

// src/manager-api/store.ts
var rf = N(Mme(), 1);

// src/manager-api/lib/store-setup.ts
var Nme = /* @__PURE__ */ a((e) => {
  e.fn("set", function(t, r) {
    return e.set(
      // @ts-expect-error('this' implicitly has type 'any')
      this._area,
      // @ts-expect-error('this' implicitly has type 'any')
      this._in(t),
      ac(r, { maxDepth: 50 })
    );
  }), e.fn("get", function(t, r) {
    let n = e.get(this._area, this._in(t));
    return n !== null ? ic(n) : r || n;
  });
}, "default");

// src/manager-api/store.ts
Nme(rf.default._);
var Lme = "@storybook/manager/store";
function YN(e) {
  return e.get(Lme) || {};
}
a(YN, "get");
function Sst(e, t) {
  return e.set(Lme, t);
}
a(Sst, "set");
function Cst(e, t) {
  let r = YN(e);
  return Sst(e, { ...r, ...t });
}
a(Cst, "update");
var KN = class KN {
  constructor({ setState: t, getState: r }) {
    this.upstreamSetState = t, this.upstreamGetState = r;
  }
  // The assumption is that this will be called once, to initialize the React state
  // when the module is instantiated
  getInitialState(t) {
    return { ...t, ...YN(rf.default.local), ...YN(rf.default.session) };
  }
  getState() {
    return this.upstreamGetState();
  }
  async setState(t, r, n) {
    let o, i;
    typeof r == "function" ? (o = r, i = n) : i = r;
    let { persistence: s = "none" } = i || {}, l = {}, u = {};
    typeof t == "function" ? l = /* @__PURE__ */ a((d) => (u = t(d), u), "patch") : (l = t, u = l);
    let c = await new Promise((d) => {
      this.upstreamSetState(l, () => {
        d(this.getState());
      });
    });
    if (s !== "none") {
      let d = s === "session" ? rf.default.session : rf.default.local;
      await Cst(d, u);
    }
    return o && o(c), c;
  }
};
a(KN, "Store");
var Zh = KN;

// src/manager-api/lib/request-response.ts
var XN = class XN extends Error {
  constructor(r, n) {
    super(r);
    this.payload = void 0;
    this.payload = n;
  }
};
a(XN, "RequestResponseError");
var e0 = XN, _st = /* @__PURE__ */ a((e, t, r, n, o = 5e3) => {
  let i;
  return new Promise((s, l) => {
    let u = {
      id: Math.random().toString(16).slice(2),
      payload: n
    }, c = /* @__PURE__ */ a((d) => {
      d.id === u.id && (clearTimeout(i), e.off(r, c), d.success ? s(d.payload) : l(new e0(d.error, d.payload)));
    }, "responseHandler");
    e.emit(t, u), e.on(r, c), i = setTimeout(() => {
      e.off(r, c), l(new e0("Timed out waiting for response"));
    }, o);
  });
}, "experimental_requestResponse");

// src/manager-api/root.tsx
var { ActiveTabs: Pst } = XS;
var t0 = pfe({ api: void 0, state: GS({}) }), iN = /* @__PURE__ */ a((...e) => mfe({}, ...e), "combineParameters"), g4 = class g4 extends Oe.Component {
  constructor(r) {
    super(r);
    this.api = {};
    this.initModules = /* @__PURE__ */ a(() => {
      this.modules.forEach((r) => {
        "init" in r && r.init();
      });
    }, "initModules");
    let {
      location: n,
      path: o,
      refId: i,
      viewMode: s = r.docsOptions.docsMode ? "docs" : r.viewMode,
      singleStory: l,
      storyId: u,
      docsOptions: c,
      navigate: d
    } = r, f = new Zh({
      getState: /* @__PURE__ */ a(() => this.state, "getState"),
      setState: /* @__PURE__ */ a((g, w) => (this.setState(g, () => w(this.state)), this.state), "setState")
    }), p = { location: n, path: o, viewMode: s, singleStory: l, storyId: u, refId: i }, m = { docsOptions: c };
    this.state = f.getInitialState(GS({ ...p, ...m }));
    let v = {
      navigate: d,
      store: f,
      provider: r.provider
    };
    this.modules = [
      pN,
      nN,
      rN,
      XS,
      fN,
      mN,
      bN,
      xN,
      lN,
      uN,
      _N,
      WN,
      GN
    ].map(
      (g) => g.init({ ...p, ...m, ...v, state: this.state, fullAPI: this.api })
    );
    let y = GS(this.state, ...this.modules.map((g) => g.state)), b = Object.assign(this.api, { navigate: d }, ...this.modules.map((g) => g.api));
    this.state = y, this.api = b;
  }
  static getDerivedStateFromProps(r, n) {
    return n.path !== r.path ? {
      ...n,
      location: r.location,
      path: r.path,
      refId: r.refId,
      viewMode: r.viewMode,
      storyId: r.storyId
    } : null;
  }
  shouldComponentUpdate(r, n) {
    let o = this.props, i = this.state;
    return o.path !== r.path || !Cr(i, n);
  }
  render() {
    let { children: r } = this.props, n = {
      state: this.state,
      api: this.api
    };
    return /* @__PURE__ */ Oe.default.createElement(Tst, { effect: this.initModules }, /* @__PURE__ */ Oe.default.createElement(t0.Provider,
    { value: n }, /* @__PURE__ */ Oe.default.createElement(kme, null, r)));
  }
};
a(g4, "ManagerProvider"), g4.displayName = "Manager";
var JN = g4, Tst = /* @__PURE__ */ a(({ children: e, effect: t }) => (Oe.default.useEffect(t, []), e), "EffectOnMount"), Ast = /* @__PURE__ */ a(
(e) => e, "defaultFilter");
function kme({
  // @ts-expect-error (Converted from ts-ignore)
  filter: e = Ast,
  children: t
}) {
  let r = (0, Oe.useContext)(t0), n = (0, Oe.useRef)(t), o = (0, Oe.useRef)(e);
  if (typeof n.current != "function")
    return /* @__PURE__ */ Oe.default.createElement(Oe.Fragment, null, n.current);
  let i = o.current(r), s = (0, Oe.useMemo)(() => [...Object.entries(i).reduce((l, u) => l.concat(u), [])], [r.state]);
  return (0, Oe.useMemo)(() => {
    let l = n.current;
    return /* @__PURE__ */ Oe.default.createElement(l, { ...i });
  }, s);
}
a(kme, "ManagerConsumer");
function Ost() {
  let { state: e } = (0, Oe.useContext)(t0);
  return e;
}
a(Ost, "useStorybookState");
function hi() {
  let { api: e } = (0, Oe.useContext)(t0);
  return e;
}
a(hi, "useStorybookApi");
function qme(e, t) {
  return typeof e > "u" ? t : e;
}
a(qme, "orDefault");
var QN = /* @__PURE__ */ a((e, t = []) => {
  let r = hi();
  return (0, Oe.useEffect)(() => (Object.entries(e).forEach(([n, o]) => r.on(n, o)), () => {
    Object.entries(e).forEach(([n, o]) => r.off(n, o));
  }), t), r.emit;
}, "useChannel");
function Ist(e) {
  return hi().isPrepared(e);
}
a(Ist, "useStoryPrepared");
function Mst(e, t) {
  let r = hi(), [n, o] = (0, Oe.useState)(r.getCurrentParameter(e)), i = (0, Oe.useCallback)(() => {
    let s = r.getCurrentParameter(e);
    o(s);
  }, [r, e]);
  return QN(
    {
      [df]: i,
      [af]: i
    },
    [i]
  ), qme(n, t);
}
a(Mst, "useParameter");
globalThis.STORYBOOK_ADDON_STATE = {};
var { STORYBOOK_ADDON_STATE: Ia } = globalThis;
function Dme(e, t) {
  let r = hi(), n = r.getAddonState(e) || Ia[e], o = qme(
    n,
    Ia[e] ? Ia[e] : t
  ), i = !1;
  o === t && t !== void 0 && (Ia[e] = t, i = !0), (0, Oe.useEffect)(() => {
    i && r.setAddonState(e, t);
  }, [i]);
  let s = (0, Oe.useCallback)(
    async (d, f) => {
      await r.setAddonState(e, d, f);
      let p = r.getAddonState(e);
      return Ia[e] = p, p;
    },
    [r, e]
  ), l = (0, Oe.useMemo)(() => {
    let d = {
      [`${r0}-client-${e}`]: s,
      [`${Ws}-client-${e}`]: s
    }, f = {
      [lf]: async () => {
        let p = r.getAddonState(e);
        p ? (Ia[e] = p, r.emit(`${Ws}-manager-${e}`, p)) : Ia[e] ? (await s(Ia[e]), r.emit(`${Ws}-manager-${e}`, Ia[e])) : t !== void 0 && (await s(
        t), Ia[e] = t, r.emit(`${Ws}-manager-${e}`, t));
      },
      [cf]: () => {
        let p = r.getAddonState(e);
        p !== void 0 && r.emit(`${Ws}-manager-${e}`, p);
      }
    };
    return {
      ...d,
      ...f
    };
  }, [e]), u = QN(l), c = (0, Oe.useCallback)(
    async (d, f) => {
      await s(d, f);
      let p = r.getAddonState(e);
      u(`${r0}-manager-${e}`, p);
    },
    [r, u, s, e]
  );
  return [o, c];
}
a(Dme, "useSharedState");
function Nst(e, t) {
  return Dme(e, t);
}
a(Nst, "useAddonState");
function Lst() {
  let { getCurrentStoryData: e, updateStoryArgs: t, resetStoryArgs: r } = hi(), n = e(), o = n?.type === "story" ? n.args : {}, i = n?.type ===
  "story" ? n.initialArgs : {}, s = (0, Oe.useCallback)(
    (u) => t(n, u),
    [n, t]
  ), l = (0, Oe.useCallback)(
    (u) => r(n, u),
    [n, r]
  );
  return [o, s, l, i];
}
a(Lst, "useArgs");
function kst() {
  let e = hi();
  return [e.getGlobals(), e.updateGlobals, e.getStoryGlobals(), e.getUserGlobals()];
}
a(kst, "useGlobals");
function qst() {
  return hi().getGlobalTypes();
}
a(qst, "useGlobalTypes");
function Dst() {
  let { getCurrentStoryData: e } = hi();
  return e();
}
a(Dst, "useCurrentStory");
function Fst() {
  let e = Dst();
  return e?.type === "story" && e.argTypes || {};
}
a(Fst, "useArgTypes");
var jst = Hh;

// src/shared/universal-store/mock.ts
Ao();
var v4 = class v4 extends ur {
  constructor(t, r) {
    ur.isInternalConstructing = !0, super(
      { ...t, leader: !0 },
      { channel: new da({}), environment: ur.Environment.MOCK }
    ), ur.isInternalConstructing = !1, typeof r?.fn == "function" && (this.testUtils = r, this.getState = r.fn(this.getState), this.setState =
    r.fn(this.setState), this.subscribe = r.fn(this.subscribe), this.onStateChange = r.fn(this.onStateChange), this.send = r.fn(this.send));
  }
  /** Create a mock universal store. This is just an alias for the constructor */
  static create(t, r) {
    return new v4(t, r);
  }
  unsubscribeAll() {
    if (!this.testUtils)
      throw new Error(
        Cg`Cannot call unsubscribeAll on a store that does not have testUtils.
        Please provide testUtils as the second argument when creating the store.`
      );
    let t = /* @__PURE__ */ a((r) => {
      try {
        r.value();
      } catch {
      }
    }, "callReturnedUnsubscribeFn");
    this.subscribe.mock?.results.forEach(t), this.onStateChange.mock?.results.forEach(t);
  }
};
a(v4, "MockUniversalStore");
var y4 = v4;

// src/shared/test-provider-store/index.ts
var Fme = {
  id: "storybook/test-provider",
  leader: !0,
  initialState: {}
};
function jme({
  universalTestProviderStore: e,
  useUniversalStore: t
}) {
  let r = {
    settingsChanged: /* @__PURE__ */ a(() => {
      e.untilReady().then(() => {
        e.send({ type: "settings-changed" });
      });
    }, "settingsChanged"),
    onRunAll: /* @__PURE__ */ a((i) => e.subscribe("run-all", i), "onRunAll"),
    onClearAll: /* @__PURE__ */ a((i) => e.subscribe("clear-all", i), "onClearAll")
  }, n = {
    ...r,
    getFullState: e.getState,
    setFullState: e.setState,
    onSettingsChanged: /* @__PURE__ */ a((i) => e.subscribe("settings-changed", i), "onSettingsChanged"),
    runAll: /* @__PURE__ */ a(async () => {
      await e.untilReady(), e.send({ type: "run-all" });
    }, "runAll"),
    clearAll: /* @__PURE__ */ a(async () => {
      await e.untilReady(), e.send({ type: "clear-all" });
    }, "clearAll")
  }, o = /* @__PURE__ */ a((i) => {
    let s = /* @__PURE__ */ a(() => e.getState()[i] ?? "test-provider-state:pending", "getStateForTestProvider"), l = /* @__PURE__ */ a((u) => {
      e.untilReady().then(() => {
        e.setState((c) => ({
          ...c,
          [i]: u
        }));
      });
    }, "setStateForTestProvider");
    return {
      ...r,
      testProviderId: i,
      getState: s,
      setState: l,
      runWithState: /* @__PURE__ */ a(async (u) => {
        l("test-provider-state:running");
        try {
          await u(), l("test-provider-state:succeeded");
        } catch {
          l("test-provider-state:crashed");
        }
      }, "runWithState")
    };
  }, "getTestProviderStoreById");
  return t ? {
    getTestProviderStoreById: o,
    fullTestProviderStore: n,
    universalTestProviderStore: e,
    useTestProviderStore: /* @__PURE__ */ a((i) => t(e, i)[0], "useTestProviderStore")
  } : {
    getTestProviderStoreById: o,
    fullTestProviderStore: n,
    universalTestProviderStore: e
  };
}
a(jme, "createTestProviderStore");

// src/manager-api/stores/test-provider.ts
var Bst = jme({
  universalTestProviderStore: ur.create({
    ...Fme,
    leader: globalThis.CONFIG_TYPE === "PRODUCTION"
  }),
  useUniversalStore: Qd
}), {
  fullTestProviderStore: Bme,
  getTestProviderStoreById: $me,
  useTestProviderStore: Hme,
  universalTestProviderStore: zme
} = Bst;

// src/manager/globals/runtime.ts
ue();
Ep();
var Ume = {
  react: $st,
  "react-dom": Hst,
  "react-dom/client": zst,
  "@storybook/icons": vT,
  "storybook/manager-api": b4,
  "storybook/theming": h1,
  "storybook/theming/create": d1,
  "storybook/test": RM,
  "storybook/internal/channels": NP,
  "storybook/internal/client-logger": hP,
  "storybook/internal/components": AM,
  "storybook/internal/core-errors": Gs,
  "storybook/internal/core-events": Gs,
  "storybook/internal/manager-errors": IM,
  "storybook/internal/router": XM,
  "storybook/internal/types": JM,
  "storybook/internal/manager-api": b4,
  "storybook/internal/theming": h1,
  "storybook/internal/theming/create": d1
};

// src/manager/utils/prepareForTelemetry.ts
Ct();
var Wme = N(Vme(), 1);
var t9;
function Ust() {
  return t9 || (t9 = new Wme.default(Z.navigator?.userAgent).getBrowserInfo()), t9;
}
a(Ust, "getBrowserInfo");
var Vst = [
  // It's a harmless issue with react-resize-detector that supposedly will be gone when we move to React 18.
  // https://github.com/maslianok/react-resize-detector/issues/45#issuecomment-1500958024
  "ResizeObserver loop completed with undelivered notifications.",
  "ResizeObserver loop limit exceeded",
  // Safari does not seem to provide any helpful info on window.onerror
  // https://bugs.webkit.org/show_bug.cgi?id=132945
  "Script error."
], Gme = /* @__PURE__ */ a((e) => Vst.includes(e?.message), "shouldSkipError");
function Yme(e) {
  let t = e;
  return (e.target === Z || e.currentTarget === Z || e.srcElement === Z) && (t = new Error(e.message), t.name = e.name || t.name), e.fromStorybook ||
  (t = new Nh({ error: t })), t.browserInfo = Ust(), t;
}
a(Yme, "prepareForTelemetry");

// src/manager/globals-runtime.ts
a9.forEach((e) => {
  globalThis[W4[e]] = Ume[e];
});
globalThis.sendTelemetryError = (e) => {
  Gme(e) || globalThis.__STORYBOOK_ADDONS_CHANNEL__.emit(V4, Yme(e));
};
globalThis.addEventListener("error", (e) => {
  let t = e.error || e;
  globalThis.sendTelemetryError(t);
});
globalThis.addEventListener("unhandledrejection", ({ reason: e }) => {
  globalThis.sendTelemetryError(e);
});
