const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-BQZM9uZj.js","assets/index-ChbWTil4.js","assets/poll-BI_0HvZY.js","assets/_id_-cxsEKuSj.js","assets/fullfat_bundler-C8o4MXnP.js","assets/_layout-C9jEQBWP.js"])))=>i.map(i=>d[i]);
var __defProp = Object.defineProperty;
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
let Jy, Wy, $y, zi, tn, Rt, dt;
let __tla = (async () => {
  function Vv(s, A) {
    const U = ((...V) => V[0]), y = /* @__PURE__ */ new Map();
    return function(...V) {
      const J = U(...V), I = y.get(J);
      if (typeof I < "u") return I;
      const lt = s.apply(this, V);
      return y.set(J, lt), lt;
    };
  }
  const Lv = "$$server:";
  function wv(s) {
    return s.split("$$cache=")[0];
  }
  function Kv() {
    globalThis.__vite_rsc_require__ = (s) => s.startsWith(Lv) ? (s = s.slice(9), globalThis.__vite_rsc_server_require__(s)) : globalThis.__vite_rsc_client_require__(s);
  }
  let $d = false;
  function g0(s) {
    if ($d) return;
    $d = true;
    const A = Vv((U) => s.load(wv(U)));
    globalThis.__vite_rsc_client_require__ = A, Kv();
  }
  var Qf = {
    exports: {}
  }, Pa = {}, Zf = {
    exports: {}
  }, bl = {}, xf = {
    exports: {}
  }, it = {};
  var Fd;
  function Jv() {
    if (Fd) return it;
    Fd = 1;
    var s = /* @__PURE__ */ Symbol.for("react.transitional.element"), A = /* @__PURE__ */ Symbol.for("react.portal"), U = /* @__PURE__ */ Symbol.for("react.fragment"), y = /* @__PURE__ */ Symbol.for("react.strict_mode"), V = /* @__PURE__ */ Symbol.for("react.profiler"), J = /* @__PURE__ */ Symbol.for("react.consumer"), I = /* @__PURE__ */ Symbol.for("react.context"), lt = /* @__PURE__ */ Symbol.for("react.forward_ref"), X = /* @__PURE__ */ Symbol.for("react.suspense"), O = /* @__PURE__ */ Symbol.for("react.memo"), W = /* @__PURE__ */ Symbol.for("react.lazy"), Q = /* @__PURE__ */ Symbol.for("react.activity"), ut = Symbol.iterator;
    function Yt(v) {
      return v === null || typeof v != "object" ? null : (v = ut && v[ut] || v["@@iterator"], typeof v == "function" ? v : null);
    }
    var Wt = {
      isMounted: function() {
        return false;
      },
      enqueueForceUpdate: function() {
      },
      enqueueReplaceState: function() {
      },
      enqueueSetState: function() {
      }
    }, wt = Object.assign, gl = {};
    function nl(v, R, B) {
      this.props = v, this.context = R, this.refs = gl, this.updater = B || Wt;
    }
    nl.prototype.isReactComponent = {}, nl.prototype.setState = function(v, R) {
      if (typeof v != "object" && typeof v != "function" && v != null) throw Error("takes an object of state variables to update or a function which returns an object of state variables.");
      this.updater.enqueueSetState(this, v, R, "setState");
    }, nl.prototype.forceUpdate = function(v) {
      this.updater.enqueueForceUpdate(this, v, "forceUpdate");
    };
    function _l() {
    }
    _l.prototype = nl.prototype;
    function Zt(v, R, B) {
      this.props = v, this.context = R, this.refs = gl, this.updater = B || Wt;
    }
    var il = Zt.prototype = new _l();
    il.constructor = Zt, wt(il, nl.prototype), il.isPureReactComponent = true;
    var Tl = Array.isArray;
    function ol() {
    }
    var ct = {
      H: null,
      A: null,
      T: null,
      S: null
    }, sl = Object.prototype.hasOwnProperty;
    function L(v, R, B) {
      var G = B.ref;
      return {
        $$typeof: s,
        type: v,
        key: R,
        ref: G !== void 0 ? G : null,
        props: B
      };
    }
    function qt(v, R) {
      return L(v.type, R, v.props);
    }
    function bt(v) {
      return typeof v == "object" && v !== null && v.$$typeof === s;
    }
    function Ot(v) {
      var R = {
        "=": "=0",
        ":": "=2"
      };
      return "$" + v.replace(/[=:]/g, function(B) {
        return R[B];
      });
    }
    var xt = /\/+/g;
    function jt(v, R) {
      return typeof v == "object" && v !== null && v.key != null ? Ot("" + v.key) : R.toString(36);
    }
    function Vt(v) {
      switch (v.status) {
        case "fulfilled":
          return v.value;
        case "rejected":
          throw v.reason;
        default:
          switch (typeof v.status == "string" ? v.then(ol, ol) : (v.status = "pending", v.then(function(R) {
            v.status === "pending" && (v.status = "fulfilled", v.value = R);
          }, function(R) {
            v.status === "pending" && (v.status = "rejected", v.reason = R);
          })), v.status) {
            case "fulfilled":
              return v.value;
            case "rejected":
              throw v.reason;
          }
      }
      throw v;
    }
    function p(v, R, B, G, P) {
      var ft = typeof v;
      (ft === "undefined" || ft === "boolean") && (v = null);
      var st = false;
      if (v === null) st = true;
      else switch (ft) {
        case "bigint":
        case "string":
        case "number":
          st = true;
          break;
        case "object":
          switch (v.$$typeof) {
            case s:
            case A:
              st = true;
              break;
            case W:
              return st = v._init, p(st(v._payload), R, B, G, P);
          }
      }
      if (st) return P = P(v), st = G === "" ? "." + jt(v, 0) : G, Tl(P) ? (B = "", st != null && (B = st.replace(xt, "$&/") + "/"), p(P, R, B, "", function(kt) {
        return kt;
      })) : P != null && (bt(P) && (P = qt(P, B + (P.key == null || v && v.key === P.key ? "" : ("" + P.key).replace(xt, "$&/") + "/") + st)), R.push(P)), 1;
      st = 0;
      var Kt = G === "" ? "." : G + ":";
      if (Tl(v)) for (var Mt = 0; Mt < v.length; Mt++) G = v[Mt], ft = Kt + jt(G, Mt), st += p(G, R, B, ft, P);
      else if (Mt = Yt(v), typeof Mt == "function") for (v = Mt.call(v), Mt = 0; !(G = v.next()).done; ) G = G.value, ft = Kt + jt(G, Mt++), st += p(G, R, B, ft, P);
      else if (ft === "object") {
        if (typeof v.then == "function") return p(Vt(v), R, B, G, P);
        throw R = String(v), Error("Objects are not valid as a React child (found: " + (R === "[object Object]" ? "object with keys {" + Object.keys(v).join(", ") + "}" : R) + "). If you meant to render a collection of children, use an array instead.");
      }
      return st;
    }
    function H(v, R, B) {
      if (v == null) return v;
      var G = [], P = 0;
      return p(v, G, "", "", function(ft) {
        return R.call(B, ft, P++);
      }), G;
    }
    function $(v) {
      if (v._status === -1) {
        var R = v._result;
        R = R(), R.then(function(B) {
          (v._status === 0 || v._status === -1) && (v._status = 1, v._result = B);
        }, function(B) {
          (v._status === 0 || v._status === -1) && (v._status = 2, v._result = B);
        }), v._status === -1 && (v._status = 0, v._result = R);
      }
      if (v._status === 1) return v._result.default;
      throw v._result;
    }
    var _t = typeof reportError == "function" ? reportError : function(v) {
      if (typeof window == "object" && typeof window.ErrorEvent == "function") {
        var R = new window.ErrorEvent("error", {
          bubbles: true,
          cancelable: true,
          message: typeof v == "object" && v !== null && typeof v.message == "string" ? String(v.message) : String(v),
          error: v
        });
        if (!window.dispatchEvent(R)) return;
      } else if (typeof process == "object" && typeof process.emit == "function") {
        process.emit("uncaughtException", v);
        return;
      }
      console.error(v);
    }, Z = {
      map: H,
      forEach: function(v, R, B) {
        H(v, function() {
          R.apply(this, arguments);
        }, B);
      },
      count: function(v) {
        var R = 0;
        return H(v, function() {
          R++;
        }), R;
      },
      toArray: function(v) {
        return H(v, function(R) {
          return R;
        }) || [];
      },
      only: function(v) {
        if (!bt(v)) throw Error("React.Children.only expected to receive a single React element child.");
        return v;
      }
    };
    return it.Activity = Q, it.Children = Z, it.Component = nl, it.Fragment = U, it.Profiler = V, it.PureComponent = Zt, it.StrictMode = y, it.Suspense = X, it.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ct, it.__COMPILER_RUNTIME = {
      __proto__: null,
      c: function(v) {
        return ct.H.useMemoCache(v);
      }
    }, it.cache = function(v) {
      return function() {
        return v.apply(null, arguments);
      };
    }, it.cacheSignal = function() {
      return null;
    }, it.cloneElement = function(v, R, B) {
      if (v == null) throw Error("The argument must be a React element, but you passed " + v + ".");
      var G = wt({}, v.props), P = v.key;
      if (R != null) for (ft in R.key !== void 0 && (P = "" + R.key), R) !sl.call(R, ft) || ft === "key" || ft === "__self" || ft === "__source" || ft === "ref" && R.ref === void 0 || (G[ft] = R[ft]);
      var ft = arguments.length - 2;
      if (ft === 1) G.children = B;
      else if (1 < ft) {
        for (var st = Array(ft), Kt = 0; Kt < ft; Kt++) st[Kt] = arguments[Kt + 2];
        G.children = st;
      }
      return L(v.type, P, G);
    }, it.createContext = function(v) {
      return v = {
        $$typeof: I,
        _currentValue: v,
        _currentValue2: v,
        _threadCount: 0,
        Provider: null,
        Consumer: null
      }, v.Provider = v, v.Consumer = {
        $$typeof: J,
        _context: v
      }, v;
    }, it.createElement = function(v, R, B) {
      var G, P = {}, ft = null;
      if (R != null) for (G in R.key !== void 0 && (ft = "" + R.key), R) sl.call(R, G) && G !== "key" && G !== "__self" && G !== "__source" && (P[G] = R[G]);
      var st = arguments.length - 2;
      if (st === 1) P.children = B;
      else if (1 < st) {
        for (var Kt = Array(st), Mt = 0; Mt < st; Mt++) Kt[Mt] = arguments[Mt + 2];
        P.children = Kt;
      }
      if (v && v.defaultProps) for (G in st = v.defaultProps, st) P[G] === void 0 && (P[G] = st[G]);
      return L(v, ft, P);
    }, it.createRef = function() {
      return {
        current: null
      };
    }, it.forwardRef = function(v) {
      return {
        $$typeof: lt,
        render: v
      };
    }, it.isValidElement = bt, it.lazy = function(v) {
      return {
        $$typeof: W,
        _payload: {
          _status: -1,
          _result: v
        },
        _init: $
      };
    }, it.memo = function(v, R) {
      return {
        $$typeof: O,
        type: v,
        compare: R === void 0 ? null : R
      };
    }, it.startTransition = function(v) {
      var R = ct.T, B = {};
      ct.T = B;
      try {
        var G = v(), P = ct.S;
        P !== null && P(B, G), typeof G == "object" && G !== null && typeof G.then == "function" && G.then(ol, _t);
      } catch (ft) {
        _t(ft);
      } finally {
        R !== null && B.types !== null && (R.types = B.types), ct.T = R;
      }
    }, it.unstable_useCacheRefresh = function() {
      return ct.H.useCacheRefresh();
    }, it.use = function(v) {
      return ct.H.use(v);
    }, it.useActionState = function(v, R, B) {
      return ct.H.useActionState(v, R, B);
    }, it.useCallback = function(v, R) {
      return ct.H.useCallback(v, R);
    }, it.useContext = function(v) {
      return ct.H.useContext(v);
    }, it.useDebugValue = function() {
    }, it.useDeferredValue = function(v, R) {
      return ct.H.useDeferredValue(v, R);
    }, it.useEffect = function(v, R) {
      return ct.H.useEffect(v, R);
    }, it.useEffectEvent = function(v) {
      return ct.H.useEffectEvent(v);
    }, it.useId = function() {
      return ct.H.useId();
    }, it.useImperativeHandle = function(v, R, B) {
      return ct.H.useImperativeHandle(v, R, B);
    }, it.useInsertionEffect = function(v, R) {
      return ct.H.useInsertionEffect(v, R);
    }, it.useLayoutEffect = function(v, R) {
      return ct.H.useLayoutEffect(v, R);
    }, it.useMemo = function(v, R) {
      return ct.H.useMemo(v, R);
    }, it.useOptimistic = function(v, R) {
      return ct.H.useOptimistic(v, R);
    }, it.useReducer = function(v, R, B) {
      return ct.H.useReducer(v, R, B);
    }, it.useRef = function(v) {
      return ct.H.useRef(v);
    }, it.useState = function(v) {
      return ct.H.useState(v);
    }, it.useSyncExternalStore = function(v, R, B) {
      return ct.H.useSyncExternalStore(v, R, B);
    }, it.useTransition = function() {
      return ct.H.useTransition();
    }, it.version = "19.2.4", it;
  }
  var kd;
  function lo() {
    return kd || (kd = 1, xf.exports = Jv()), xf.exports;
  }
  var Id;
  function Wv() {
    if (Id) return bl;
    Id = 1;
    var s = lo();
    function A(X) {
      var O = "https://react.dev/errors/" + X;
      if (1 < arguments.length) {
        O += "?args[]=" + encodeURIComponent(arguments[1]);
        for (var W = 2; W < arguments.length; W++) O += "&args[]=" + encodeURIComponent(arguments[W]);
      }
      return "Minified React error #" + X + "; visit " + O + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
    }
    function U() {
    }
    var y = {
      d: {
        f: U,
        r: function() {
          throw Error(A(522));
        },
        D: U,
        C: U,
        L: U,
        m: U,
        X: U,
        S: U,
        M: U
      },
      p: 0,
      findDOMNode: null
    }, V = /* @__PURE__ */ Symbol.for("react.portal");
    function J(X, O, W) {
      var Q = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
      return {
        $$typeof: V,
        key: Q == null ? null : "" + Q,
        children: X,
        containerInfo: O,
        implementation: W
      };
    }
    var I = s.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
    function lt(X, O) {
      if (X === "font") return "";
      if (typeof O == "string") return O === "use-credentials" ? O : "";
    }
    return bl.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = y, bl.createPortal = function(X, O) {
      var W = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
      if (!O || O.nodeType !== 1 && O.nodeType !== 9 && O.nodeType !== 11) throw Error(A(299));
      return J(X, O, null, W);
    }, bl.flushSync = function(X) {
      var O = I.T, W = y.p;
      try {
        if (I.T = null, y.p = 2, X) return X();
      } finally {
        I.T = O, y.p = W, y.d.f();
      }
    }, bl.preconnect = function(X, O) {
      typeof X == "string" && (O ? (O = O.crossOrigin, O = typeof O == "string" ? O === "use-credentials" ? O : "" : void 0) : O = null, y.d.C(X, O));
    }, bl.prefetchDNS = function(X) {
      typeof X == "string" && y.d.D(X);
    }, bl.preinit = function(X, O) {
      if (typeof X == "string" && O && typeof O.as == "string") {
        var W = O.as, Q = lt(W, O.crossOrigin), ut = typeof O.integrity == "string" ? O.integrity : void 0, Yt = typeof O.fetchPriority == "string" ? O.fetchPriority : void 0;
        W === "style" ? y.d.S(X, typeof O.precedence == "string" ? O.precedence : void 0, {
          crossOrigin: Q,
          integrity: ut,
          fetchPriority: Yt
        }) : W === "script" && y.d.X(X, {
          crossOrigin: Q,
          integrity: ut,
          fetchPriority: Yt,
          nonce: typeof O.nonce == "string" ? O.nonce : void 0
        });
      }
    }, bl.preinitModule = function(X, O) {
      if (typeof X == "string") if (typeof O == "object" && O !== null) {
        if (O.as == null || O.as === "script") {
          var W = lt(O.as, O.crossOrigin);
          y.d.M(X, {
            crossOrigin: W,
            integrity: typeof O.integrity == "string" ? O.integrity : void 0,
            nonce: typeof O.nonce == "string" ? O.nonce : void 0
          });
        }
      } else O == null && y.d.M(X);
    }, bl.preload = function(X, O) {
      if (typeof X == "string" && typeof O == "object" && O !== null && typeof O.as == "string") {
        var W = O.as, Q = lt(W, O.crossOrigin);
        y.d.L(X, W, {
          crossOrigin: Q,
          integrity: typeof O.integrity == "string" ? O.integrity : void 0,
          nonce: typeof O.nonce == "string" ? O.nonce : void 0,
          type: typeof O.type == "string" ? O.type : void 0,
          fetchPriority: typeof O.fetchPriority == "string" ? O.fetchPriority : void 0,
          referrerPolicy: typeof O.referrerPolicy == "string" ? O.referrerPolicy : void 0,
          imageSrcSet: typeof O.imageSrcSet == "string" ? O.imageSrcSet : void 0,
          imageSizes: typeof O.imageSizes == "string" ? O.imageSizes : void 0,
          media: typeof O.media == "string" ? O.media : void 0
        });
      }
    }, bl.preloadModule = function(X, O) {
      if (typeof X == "string") if (O) {
        var W = lt(O.as, O.crossOrigin);
        y.d.m(X, {
          as: typeof O.as == "string" && O.as !== "script" ? O.as : void 0,
          crossOrigin: W,
          integrity: typeof O.integrity == "string" ? O.integrity : void 0
        });
      } else y.d.m(X);
    }, bl.requestFormReset = function(X) {
      y.d.r(X);
    }, bl.unstable_batchedUpdates = function(X, O) {
      return X(O);
    }, bl.useFormState = function(X, O, W) {
      return I.H.useFormState(X, O, W);
    }, bl.useFormStatus = function() {
      return I.H.useHostTransitionStatus();
    }, bl.version = "19.2.4", bl;
  }
  var Pd;
  function ao() {
    if (Pd) return Zf.exports;
    Pd = 1;
    function s() {
      if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) try {
        __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(s);
      } catch (A) {
        console.error(A);
      }
    }
    return s(), Zf.exports = Wv(), Zf.exports;
  }
  var t0;
  function $v() {
    if (t0) return Pa;
    t0 = 1;
    var s = ao(), A = {
      stream: true
    }, U = Object.prototype.hasOwnProperty;
    function y(c, o) {
      if (c) {
        var r = c[o[0]];
        if (c = r && r[o[2]]) r = c.name;
        else {
          if (c = r && r["*"], !c) throw Error('Could not find the module "' + o[0] + '" in the React Server Consumer Manifest. This is probably a bug in the React Server Components bundler.');
          r = o[2];
        }
        return o.length === 4 ? [
          c.id,
          c.chunks,
          r,
          1
        ] : [
          c.id,
          c.chunks,
          r
        ];
      }
      return o;
    }
    function V(c, o) {
      var r = "", h = c[o];
      if (h) r = h.name;
      else {
        var E = o.lastIndexOf("#");
        if (E !== -1 && (r = o.slice(E + 1), h = c[o.slice(0, E)]), !h) throw Error('Could not find the module "' + o + '" in the React Server Manifest. This is probably a bug in the React Server Components bundler.');
      }
      return h.async ? [
        h.id,
        h.chunks,
        r,
        1
      ] : [
        h.id,
        h.chunks,
        r
      ];
    }
    var J = /* @__PURE__ */ new Map();
    function I(c) {
      var o = __vite_rsc_require__(c);
      return typeof o.then != "function" || o.status === "fulfilled" ? null : (o.then(function(r) {
        o.status = "fulfilled", o.value = r;
      }, function(r) {
        o.status = "rejected", o.reason = r;
      }), o);
    }
    function lt() {
    }
    function X(c) {
      for (var o = c[1], r = [], h = 0; h < o.length; ) {
        var E = o[h++], g = o[h++], q = J.get(E);
        q === void 0 ? (W.set(E, g), g = __webpack_chunk_load__(E), r.push(g), q = J.set.bind(J, E, null), g.then(q, lt), J.set(E, g)) : q !== null && r.push(q);
      }
      return c.length === 4 ? r.length === 0 ? I(c[0]) : Promise.all(r).then(function() {
        return I(c[0]);
      }) : 0 < r.length ? Promise.all(r) : null;
    }
    function O(c) {
      var o = __vite_rsc_require__(c[0]);
      if (c.length === 4 && typeof o.then == "function") if (o.status === "fulfilled") o = o.value;
      else throw o.reason;
      if (c[2] === "*") return o;
      if (c[2] === "") return o.__esModule ? o.default : o;
      if (U.call(o, c[2])) return o[c[2]];
    }
    var W = /* @__PURE__ */ new Map(), Q = s.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, ut = /* @__PURE__ */ Symbol.for("react.transitional.element"), Yt = /* @__PURE__ */ Symbol.for("react.lazy"), Wt = Symbol.iterator;
    function wt(c) {
      return c === null || typeof c != "object" ? null : (c = Wt && c[Wt] || c["@@iterator"], typeof c == "function" ? c : null);
    }
    var gl = Symbol.asyncIterator, nl = Array.isArray, _l = Object.getPrototypeOf, Zt = Object.prototype, il = /* @__PURE__ */ new WeakMap();
    function Tl(c) {
      return Number.isFinite(c) ? c === 0 && 1 / c === -1 / 0 ? "$-0" : c : c === 1 / 0 ? "$Infinity" : c === -1 / 0 ? "$-Infinity" : "$NaN";
    }
    function ol(c, o, r, h, E) {
      function g(Y, C) {
        C = new Blob([
          new Uint8Array(C.buffer, C.byteOffset, C.byteLength)
        ]);
        var w = gt++;
        return F === null && (F = new FormData()), F.append(o + w, C), "$" + Y + w.toString(16);
      }
      function q(Y) {
        function C(Gt) {
          Gt.done ? (Gt = gt++, w.append(o + Gt, new Blob(pl)), w.append(o + hl, '"$o' + Gt.toString(16) + '"'), w.append(o + hl, "C"), Tt--, Tt === 0 && h(w)) : (pl.push(Gt.value), Y.read(new Uint8Array(1024)).then(C, E));
        }
        F === null && (F = new FormData());
        var w = F;
        Tt++;
        var hl = gt++, pl = [];
        return Y.read(new Uint8Array(1024)).then(C, E), "$r" + hl.toString(16);
      }
      function j(Y) {
        function C(pl) {
          if (pl.done) w.append(o + hl, "C"), Tt--, Tt === 0 && h(w);
          else try {
            var Gt = JSON.stringify(pl.value, et);
            w.append(o + hl, Gt), Y.read().then(C, E);
          } catch (Jt) {
            E(Jt);
          }
        }
        F === null && (F = new FormData());
        var w = F;
        Tt++;
        var hl = gt++;
        return Y.read().then(C, E), "$R" + hl.toString(16);
      }
      function tt(Y) {
        try {
          var C = Y.getReader({
            mode: "byob"
          });
        } catch {
          return j(Y.getReader());
        }
        return q(C);
      }
      function nt(Y, C) {
        function w(Gt) {
          if (Gt.done) {
            if (Gt.value === void 0) hl.append(o + pl, "C");
            else try {
              var Jt = JSON.stringify(Gt.value, et);
              hl.append(o + pl, "C" + Jt);
            } catch (Rl) {
              E(Rl);
              return;
            }
            Tt--, Tt === 0 && h(hl);
          } else try {
            var tl = JSON.stringify(Gt.value, et);
            hl.append(o + pl, tl), C.next().then(w, E);
          } catch (Rl) {
            E(Rl);
          }
        }
        F === null && (F = new FormData());
        var hl = F;
        Tt++;
        var pl = gt++;
        return Y = Y === C, C.next().then(w, E), "$" + (Y ? "x" : "X") + pl.toString(16);
      }
      function et(Y, C) {
        if (C === null) return null;
        if (typeof C == "object") {
          switch (C.$$typeof) {
            case ut:
              if (r !== void 0 && Y.indexOf(":") === -1) {
                var w = Et.get(this);
                if (w !== void 0) return r.set(w + ":" + Y, C), "$T";
              }
              throw Error("React Element cannot be passed to Server Functions from the Client without a temporary reference set. Pass a TemporaryReferenceSet to the options.");
            case Yt:
              w = C._payload;
              var hl = C._init;
              F === null && (F = new FormData()), Tt++;
              try {
                var pl = hl(w), Gt = gt++, Jt = cl(pl, Gt);
                return F.append(o + Gt, Jt), "$" + Gt.toString(16);
              } catch (Ol) {
                if (typeof Ol == "object" && Ol !== null && typeof Ol.then == "function") {
                  Tt++;
                  var tl = gt++;
                  return w = function() {
                    try {
                      var oa = cl(C, tl), ua = F;
                      ua.append(o + tl, oa), Tt--, Tt === 0 && h(ua);
                    } catch (lu) {
                      E(lu);
                    }
                  }, Ol.then(w, w), "$" + tl.toString(16);
                }
                return E(Ol), null;
              } finally {
                Tt--;
              }
          }
          if (w = Et.get(C), typeof C.then == "function") {
            if (w !== void 0) if (Pl === C) Pl = null;
            else return w;
            F === null && (F = new FormData()), Tt++;
            var Rl = gt++;
            return Y = "$@" + Rl.toString(16), Et.set(C, Y), C.then(function(Ol) {
              try {
                var oa = Et.get(Ol), ua = oa !== void 0 ? JSON.stringify(oa) : cl(Ol, Rl);
                Ol = F, Ol.append(o + Rl, ua), Tt--, Tt === 0 && h(Ol);
              } catch (lu) {
                E(lu);
              }
            }, E), Y;
          }
          if (w !== void 0) if (Pl === C) Pl = null;
          else return w;
          else Y.indexOf(":") === -1 && (w = Et.get(this), w !== void 0 && (Y = w + ":" + Y, Et.set(C, Y), r !== void 0 && r.set(Y, C)));
          if (nl(C)) return C;
          if (C instanceof FormData) {
            F === null && (F = new FormData());
            var re = F;
            Y = gt++;
            var Ni = o + Y + "_";
            return C.forEach(function(Ol, oa) {
              re.append(Ni + oa, Ol);
            }), "$K" + Y.toString(16);
          }
          if (C instanceof Map) return Y = gt++, w = cl(Array.from(C), Y), F === null && (F = new FormData()), F.append(o + Y, w), "$Q" + Y.toString(16);
          if (C instanceof Set) return Y = gt++, w = cl(Array.from(C), Y), F === null && (F = new FormData()), F.append(o + Y, w), "$W" + Y.toString(16);
          if (C instanceof ArrayBuffer) return Y = new Blob([
            C
          ]), w = gt++, F === null && (F = new FormData()), F.append(o + w, Y), "$A" + w.toString(16);
          if (C instanceof Int8Array) return g("O", C);
          if (C instanceof Uint8Array) return g("o", C);
          if (C instanceof Uint8ClampedArray) return g("U", C);
          if (C instanceof Int16Array) return g("S", C);
          if (C instanceof Uint16Array) return g("s", C);
          if (C instanceof Int32Array) return g("L", C);
          if (C instanceof Uint32Array) return g("l", C);
          if (C instanceof Float32Array) return g("G", C);
          if (C instanceof Float64Array) return g("g", C);
          if (C instanceof BigInt64Array) return g("M", C);
          if (C instanceof BigUint64Array) return g("m", C);
          if (C instanceof DataView) return g("V", C);
          if (typeof Blob == "function" && C instanceof Blob) return F === null && (F = new FormData()), Y = gt++, F.append(o + Y, C), "$B" + Y.toString(16);
          if (Y = wt(C)) return w = Y.call(C), w === C ? (Y = gt++, w = cl(Array.from(w), Y), F === null && (F = new FormData()), F.append(o + Y, w), "$i" + Y.toString(16)) : Array.from(w);
          if (typeof ReadableStream == "function" && C instanceof ReadableStream) return tt(C);
          if (Y = C[gl], typeof Y == "function") return nt(C, Y.call(C));
          if (Y = _l(C), Y !== Zt && (Y === null || _l(Y) !== null)) {
            if (r === void 0) throw Error("Only plain objects, and a few built-ins, can be passed to Server Functions. Classes or null prototypes are not supported.");
            return "$T";
          }
          return C;
        }
        if (typeof C == "string") return C[C.length - 1] === "Z" && this[Y] instanceof Date ? "$D" + C : (Y = C[0] === "$" ? "$" + C : C, Y);
        if (typeof C == "boolean") return C;
        if (typeof C == "number") return Tl(C);
        if (typeof C > "u") return "$undefined";
        if (typeof C == "function") {
          if (w = il.get(C), w !== void 0) return Y = Et.get(C), Y !== void 0 || (Y = JSON.stringify({
            id: w.id,
            bound: w.bound
          }, et), F === null && (F = new FormData()), w = gt++, F.set(o + w, Y), Y = "$h" + w.toString(16), Et.set(C, Y)), Y;
          if (r !== void 0 && Y.indexOf(":") === -1 && (w = Et.get(this), w !== void 0)) return r.set(w + ":" + Y, C), "$T";
          throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.");
        }
        if (typeof C == "symbol") {
          if (r !== void 0 && Y.indexOf(":") === -1 && (w = Et.get(this), w !== void 0)) return r.set(w + ":" + Y, C), "$T";
          throw Error("Symbols cannot be passed to a Server Function without a temporary reference set. Pass a TemporaryReferenceSet to the options.");
        }
        if (typeof C == "bigint") return "$n" + C.toString(10);
        throw Error("Type " + typeof C + " is not supported as an argument to a Server Function.");
      }
      function cl(Y, C) {
        return typeof Y == "object" && Y !== null && (C = "$" + C.toString(16), Et.set(Y, C), r !== void 0 && r.set(C, Y)), Pl = Y, JSON.stringify(Y, et);
      }
      var gt = 1, Tt = 0, F = null, Et = /* @__PURE__ */ new WeakMap(), Pl = c, _u = cl(c, 0);
      return F === null ? h(_u) : (F.set(o + "0", _u), Tt === 0 && h(F)), function() {
        0 < Tt && (Tt = 0, h(F === null ? _u : F));
      };
    }
    function ct(c, o, r) {
      il.has(c) || il.set(c, {
        id: o,
        originalBind: c.bind,
        bound: r
      });
    }
    function sl(c, o) {
      function r() {
        var g = Array.prototype.slice.call(arguments);
        return E ? E.status === "fulfilled" ? o(h, E.value.concat(g)) : Promise.resolve(E).then(function(q) {
          return o(h, q.concat(g));
        }) : o(h, g);
      }
      var h = c.id, E = c.bound;
      return ct(r, h, E), r;
    }
    function L(c, o, r) {
      this.status = c, this.value = o, this.reason = r;
    }
    L.prototype = Object.create(Promise.prototype), L.prototype.then = function(c, o) {
      switch (this.status) {
        case "resolved_model":
          v(this);
          break;
        case "resolved_module":
          R(this);
      }
      switch (this.status) {
        case "fulfilled":
          typeof c == "function" && c(this.value);
          break;
        case "pending":
        case "blocked":
          typeof c == "function" && (this.value === null && (this.value = []), this.value.push(c)), typeof o == "function" && (this.reason === null && (this.reason = []), this.reason.push(o));
          break;
        case "halted":
          break;
        default:
          typeof o == "function" && o(this.reason);
      }
    };
    function qt(c) {
      switch (c.status) {
        case "resolved_model":
          v(c);
          break;
        case "resolved_module":
          R(c);
      }
      switch (c.status) {
        case "fulfilled":
          return c.value;
        case "pending":
        case "blocked":
        case "halted":
          throw c;
        default:
          throw c.reason;
      }
    }
    function bt(c, o, r) {
      for (var h = 0; h < c.length; h++) {
        var E = c[h];
        typeof E == "function" ? E(o) : ft(E, o);
      }
    }
    function Ot(c, o) {
      for (var r = 0; r < c.length; r++) {
        var h = c[r];
        typeof h == "function" ? h(o) : st(h, o);
      }
    }
    function xt(c, o) {
      var r = o.handler.chunk;
      if (r === null) return null;
      if (r === c) return o.handler;
      if (o = r.value, o !== null) for (r = 0; r < o.length; r++) {
        var h = o[r];
        if (typeof h != "function" && (h = xt(c, h), h !== null)) return h;
      }
      return null;
    }
    function jt(c, o, r) {
      switch (c.status) {
        case "fulfilled":
          bt(o, c.value);
          break;
        case "blocked":
          for (var h = 0; h < o.length; h++) {
            var E = o[h];
            if (typeof E != "function") {
              var g = xt(c, E);
              if (g !== null) switch (ft(E, g.value), o.splice(h, 1), h--, r !== null && (E = r.indexOf(E), E !== -1 && r.splice(E, 1)), c.status) {
                case "fulfilled":
                  bt(o, c.value);
                  return;
                case "rejected":
                  r !== null && Ot(r, c.reason);
                  return;
              }
            }
          }
        case "pending":
          if (c.value) for (h = 0; h < o.length; h++) c.value.push(o[h]);
          else c.value = o;
          if (c.reason) {
            if (r) for (o = 0; o < r.length; o++) c.reason.push(r[o]);
          } else c.reason = r;
          break;
        case "rejected":
          r && Ot(r, c.reason);
      }
    }
    function Vt(c, o, r) {
      o.status !== "pending" && o.status !== "blocked" ? o.reason.error(r) : (c = o.reason, o.status = "rejected", o.reason = r, c !== null && Ot(c, r));
    }
    function p(c, o, r) {
      return new L("resolved_model", (r ? '{"done":true,"value":' : '{"done":false,"value":') + o + "}", c);
    }
    function H(c, o, r, h) {
      $(c, o, (h ? '{"done":true,"value":' : '{"done":false,"value":') + r + "}");
    }
    function $(c, o, r) {
      if (o.status !== "pending") o.reason.enqueueModel(r);
      else {
        var h = o.value, E = o.reason;
        o.status = "resolved_model", o.value = r, o.reason = c, h !== null && (v(o), jt(o, h, E));
      }
    }
    function _t(c, o, r) {
      if (o.status === "pending" || o.status === "blocked") {
        c = o.value;
        var h = o.reason;
        o.status = "resolved_module", o.value = r, o.reason = null, c !== null && (R(o), jt(o, c, h));
      }
    }
    var Z = null;
    function v(c) {
      var o = Z;
      Z = null;
      var r = c.value, h = c.reason;
      c.status = "blocked", c.value = null, c.reason = null;
      try {
        var E = JSON.parse(r, h._fromJSON), g = c.value;
        if (g !== null) for (c.value = null, c.reason = null, r = 0; r < g.length; r++) {
          var q = g[r];
          typeof q == "function" ? q(E) : ft(q, E, c);
        }
        if (Z !== null) {
          if (Z.errored) throw Z.reason;
          if (0 < Z.deps) {
            Z.value = E, Z.chunk = c;
            return;
          }
        }
        c.status = "fulfilled", c.value = E;
      } catch (j) {
        c.status = "rejected", c.reason = j;
      } finally {
        Z = o;
      }
    }
    function R(c) {
      try {
        var o = O(c.value);
        c.status = "fulfilled", c.value = o;
      } catch (r) {
        c.status = "rejected", c.reason = r;
      }
    }
    function B(c, o) {
      c._closed = true, c._closedReason = o, c._chunks.forEach(function(r) {
        r.status === "pending" ? Vt(c, r, o) : r.status === "fulfilled" && r.reason !== null && r.reason.error(o);
      });
    }
    function G(c) {
      return {
        $$typeof: Yt,
        _payload: c,
        _init: qt
      };
    }
    function P(c, o) {
      var r = c._chunks, h = r.get(o);
      return h || (h = c._closed ? new L("rejected", null, c._closedReason) : new L("pending", null, null), r.set(o, h)), h;
    }
    function ft(c, o) {
      var r = c.response, h = c.handler, E = c.parentObject, g = c.key, q = c.map, j = c.path;
      try {
        for (var tt = 1; tt < j.length; tt++) {
          for (; typeof o == "object" && o !== null && o.$$typeof === Yt; ) {
            var nt = o._payload;
            if (nt === h.chunk) o = h.value;
            else {
              switch (nt.status) {
                case "resolved_model":
                  v(nt);
                  break;
                case "resolved_module":
                  R(nt);
              }
              switch (nt.status) {
                case "fulfilled":
                  o = nt.value;
                  continue;
                case "blocked":
                  var et = xt(nt, c);
                  if (et !== null) {
                    o = et.value;
                    continue;
                  }
                case "pending":
                  j.splice(0, tt - 1), nt.value === null ? nt.value = [
                    c
                  ] : nt.value.push(c), nt.reason === null ? nt.reason = [
                    c
                  ] : nt.reason.push(c);
                  return;
                case "halted":
                  return;
                default:
                  st(c, nt.reason);
                  return;
              }
            }
          }
          var cl = j[tt];
          if (typeof o == "object" && o !== null && U.call(o, cl)) o = o[cl];
          else throw Error("Invalid reference.");
        }
        for (; typeof o == "object" && o !== null && o.$$typeof === Yt; ) {
          var gt = o._payload;
          if (gt === h.chunk) o = h.value;
          else {
            switch (gt.status) {
              case "resolved_model":
                v(gt);
                break;
              case "resolved_module":
                R(gt);
            }
            if (gt.status === "fulfilled") {
              o = gt.value;
              continue;
            }
            break;
          }
        }
        var Tt = q(r, o, E, g);
        if (g !== "__proto__" && (E[g] = Tt), g === "" && h.value === null && (h.value = Tt), E[0] === ut && typeof h.value == "object" && h.value !== null && h.value.$$typeof === ut) {
          var F = h.value;
          g === "3" && (F.props = Tt);
        }
      } catch (Et) {
        st(c, Et);
        return;
      }
      h.deps--, h.deps === 0 && (c = h.chunk, c !== null && c.status === "blocked" && (o = c.value, c.status = "fulfilled", c.value = h.value, c.reason = h.reason, o !== null && bt(o, h.value)));
    }
    function st(c, o) {
      var r = c.handler;
      c = c.response, r.errored || (r.errored = true, r.value = null, r.reason = o, r = r.chunk, r !== null && r.status === "blocked" && Vt(c, r, o));
    }
    function Kt(c, o, r, h, E, g) {
      if (Z) {
        var q = Z;
        q.deps++;
      } else q = Z = {
        parent: null,
        chunk: null,
        value: null,
        reason: null,
        deps: 1,
        errored: false
      };
      return o = {
        response: h,
        handler: q,
        parentObject: o,
        key: r,
        map: E,
        path: g
      }, c.value === null ? c.value = [
        o
      ] : c.value.push(o), c.reason === null ? c.reason = [
        o
      ] : c.reason.push(o), null;
    }
    function Mt(c, o, r, h) {
      if (!c._serverReferenceConfig) return sl(o, c._callServer);
      var E = V(c._serverReferenceConfig, o.id), g = X(E);
      if (g) o.bound && (g = Promise.all([
        g,
        o.bound
      ]));
      else if (o.bound) g = Promise.resolve(o.bound);
      else return g = O(E), ct(g, o.id, o.bound), g;
      if (Z) {
        var q = Z;
        q.deps++;
      } else q = Z = {
        parent: null,
        chunk: null,
        value: null,
        reason: null,
        deps: 1,
        errored: false
      };
      return g.then(function() {
        var j = O(E);
        if (o.bound) {
          var tt = o.bound.value.slice(0);
          tt.unshift(null), j = j.bind.apply(j, tt);
        }
        ct(j, o.id, o.bound), h !== "__proto__" && (r[h] = j), h === "" && q.value === null && (q.value = j), r[0] === ut && typeof q.value == "object" && q.value !== null && q.value.$$typeof === ut && (tt = q.value, h) === "3" && (tt.props = j), q.deps--, q.deps === 0 && (j = q.chunk, j !== null && j.status === "blocked" && (tt = j.value, j.status = "fulfilled", j.value = q.value, j.reason = null, tt !== null && bt(tt, q.value)));
      }, function(j) {
        if (!q.errored) {
          q.errored = true, q.value = null, q.reason = j;
          var tt = q.chunk;
          tt !== null && tt.status === "blocked" && Vt(c, tt, j);
        }
      }), null;
    }
    function kt(c, o, r, h, E) {
      o = o.split(":");
      var g = parseInt(o[0], 16);
      switch (g = P(c, g), g.status) {
        case "resolved_model":
          v(g);
          break;
        case "resolved_module":
          R(g);
      }
      switch (g.status) {
        case "fulfilled":
          g = g.value;
          for (var q = 1; q < o.length; q++) {
            for (; typeof g == "object" && g !== null && g.$$typeof === Yt; ) {
              switch (g = g._payload, g.status) {
                case "resolved_model":
                  v(g);
                  break;
                case "resolved_module":
                  R(g);
              }
              switch (g.status) {
                case "fulfilled":
                  g = g.value;
                  break;
                case "blocked":
                case "pending":
                  return Kt(g, r, h, c, E, o.slice(q - 1));
                case "halted":
                  return Z ? (c = Z, c.deps++) : Z = {
                    parent: null,
                    chunk: null,
                    value: null,
                    reason: null,
                    deps: 1,
                    errored: false
                  }, null;
                default:
                  return Z ? (Z.errored = true, Z.value = null, Z.reason = g.reason) : Z = {
                    parent: null,
                    chunk: null,
                    value: null,
                    reason: g.reason,
                    deps: 0,
                    errored: true
                  }, null;
              }
            }
            g = g[o[q]];
          }
          for (; typeof g == "object" && g !== null && g.$$typeof === Yt; ) {
            switch (o = g._payload, o.status) {
              case "resolved_model":
                v(o);
                break;
              case "resolved_module":
                R(o);
            }
            if (o.status === "fulfilled") {
              g = o.value;
              continue;
            }
            break;
          }
          return E(c, g, r, h);
        case "pending":
        case "blocked":
          return Kt(g, r, h, c, E, o);
        case "halted":
          return Z ? (c = Z, c.deps++) : Z = {
            parent: null,
            chunk: null,
            value: null,
            reason: null,
            deps: 1,
            errored: false
          }, null;
        default:
          return Z ? (Z.errored = true, Z.value = null, Z.reason = g.reason) : Z = {
            parent: null,
            chunk: null,
            value: null,
            reason: g.reason,
            deps: 0,
            errored: true
          }, null;
      }
    }
    function Al(c, o) {
      return new Map(o);
    }
    function ee(c, o) {
      return new Set(o);
    }
    function en(c, o) {
      return new Blob(o.slice(1), {
        type: o[0]
      });
    }
    function fa(c, o) {
      c = new FormData();
      for (var r = 0; r < o.length; r++) c.append(o[r][0], o[r][1]);
      return c;
    }
    function ne(c, o) {
      return o[Symbol.iterator]();
    }
    function ie(c, o) {
      return o;
    }
    function Ri(c, o, r, h) {
      if (h[0] === "$") {
        if (h === "$") return Z !== null && r === "0" && (Z = {
          parent: Z,
          chunk: null,
          value: null,
          reason: null,
          deps: 0,
          errored: false
        }), ut;
        switch (h[1]) {
          case "$":
            return h.slice(1);
          case "L":
            return o = parseInt(h.slice(2), 16), c = P(c, o), G(c);
          case "@":
            return o = parseInt(h.slice(2), 16), P(c, o);
          case "S":
            return Symbol.for(h.slice(2));
          case "h":
            return h = h.slice(2), kt(c, h, o, r, Mt);
          case "T":
            if (o = "$" + h.slice(2), c = c._tempRefs, c == null) throw Error("Missing a temporary reference set but the RSC response returned a temporary reference. Pass a temporaryReference option with the set that was used with the reply.");
            return c.get(o);
          case "Q":
            return h = h.slice(2), kt(c, h, o, r, Al);
          case "W":
            return h = h.slice(2), kt(c, h, o, r, ee);
          case "B":
            return h = h.slice(2), kt(c, h, o, r, en);
          case "K":
            return h = h.slice(2), kt(c, h, o, r, fa);
          case "Z":
            return se();
          case "i":
            return h = h.slice(2), kt(c, h, o, r, ne);
          case "I":
            return 1 / 0;
          case "-":
            return h === "$-0" ? -0 : -1 / 0;
          case "N":
            return NaN;
          case "u":
            return;
          case "D":
            return new Date(Date.parse(h.slice(2)));
          case "n":
            return BigInt(h.slice(2));
          default:
            return h = h.slice(1), kt(c, h, o, r, ie);
        }
      }
      return h;
    }
    function nn() {
      throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');
    }
    function ce(c, o, r, h, E, g, q) {
      var j = /* @__PURE__ */ new Map();
      this._bundlerConfig = c, this._serverReferenceConfig = o, this._moduleLoading = r, this._callServer = h !== void 0 ? h : nn, this._encodeFormAction = E, this._nonce = g, this._chunks = j, this._stringDecoder = new TextDecoder(), this._fromJSON = null, this._closed = false, this._closedReason = null, this._tempRefs = q, this._fromJSON = Ui(this);
    }
    function tu(c, o, r) {
      c = c._chunks;
      var h = c.get(o);
      h && h.status !== "pending" ? h.reason.enqueueValue(r) : (r = new L("fulfilled", r, null), c.set(o, r));
    }
    function fe(c, o, r) {
      var h = c._chunks, E = h.get(o);
      r = JSON.parse(r, c._fromJSON);
      var g = y(c._bundlerConfig, r);
      if (r = X(g)) {
        if (E) {
          var q = E;
          q.status = "blocked";
        } else q = new L("blocked", null, null), h.set(o, q);
        r.then(function() {
          return _t(c, q, g);
        }, function(j) {
          return Vt(c, q, j);
        });
      } else E ? _t(c, E, g) : (E = new L("resolved_module", g, null), h.set(o, E));
    }
    function cn(c, o, r, h) {
      c = c._chunks;
      var E = c.get(o);
      E ? E.status === "pending" && (o = E.value, E.status = "fulfilled", E.value = r, E.reason = h, o !== null && bt(o, E.value)) : (r = new L("fulfilled", r, h), c.set(o, r));
    }
    function fn(c, o, r) {
      var h = null, E = false;
      r = new ReadableStream({
        type: r,
        start: function(q) {
          h = q;
        }
      });
      var g = null;
      cn(c, o, r, {
        enqueueValue: function(q) {
          g === null ? h.enqueue(q) : g.then(function() {
            h.enqueue(q);
          });
        },
        enqueueModel: function(q) {
          if (g === null) {
            var j = new L("resolved_model", q, c);
            v(j), j.status === "fulfilled" ? h.enqueue(j.value) : (j.then(function(nt) {
              return h.enqueue(nt);
            }, function(nt) {
              return h.error(nt);
            }), g = j);
          } else {
            j = g;
            var tt = new L("pending", null, null);
            tt.then(function(nt) {
              return h.enqueue(nt);
            }, function(nt) {
              return h.error(nt);
            }), g = tt, j.then(function() {
              g === tt && (g = null), $(c, tt, q);
            });
          }
        },
        close: function() {
          if (!E) if (E = true, g === null) h.close();
          else {
            var q = g;
            g = null, q.then(function() {
              return h.close();
            });
          }
        },
        error: function(q) {
          if (!E) if (E = true, g === null) h.error(q);
          else {
            var j = g;
            g = null, j.then(function() {
              return h.error(q);
            });
          }
        }
      });
    }
    function zl() {
      return this;
    }
    function Di(c) {
      return c = {
        next: c
      }, c[gl] = zl, c;
    }
    function oe(c, o, r) {
      var h = [], E = false, g = 0, q = {};
      q[gl] = function() {
        var j = 0;
        return Di(function(tt) {
          if (tt !== void 0) throw Error("Values cannot be passed to next() of AsyncIterables passed to Client Components.");
          if (j === h.length) {
            if (E) return new L("fulfilled", {
              done: true,
              value: void 0
            }, null);
            h[j] = new L("pending", null, null);
          }
          return h[j++];
        });
      }, cn(c, o, r ? q[gl]() : q, {
        enqueueValue: function(j) {
          if (g === h.length) h[g] = new L("fulfilled", {
            done: false,
            value: j
          }, null);
          else {
            var tt = h[g], nt = tt.value, et = tt.reason;
            tt.status = "fulfilled", tt.value = {
              done: false,
              value: j
            }, tt.reason = null, nt !== null && jt(tt, nt, et);
          }
          g++;
        },
        enqueueModel: function(j) {
          g === h.length ? h[g] = p(c, j, false) : H(c, h[g], j, false), g++;
        },
        close: function(j) {
          if (!E) for (E = true, g === h.length ? h[g] = p(c, j, true) : H(c, h[g], j, true), g++; g < h.length; ) H(c, h[g++], '"$undefined"', true);
        },
        error: function(j) {
          if (!E) for (E = true, g === h.length && (h[g] = new L("pending", null, null)); g < h.length; ) Vt(c, h[g++], j);
        }
      });
    }
    function se() {
      var c = Error("An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.");
      return c.stack = "Error: " + c.message, c;
    }
    function Ra(c, o) {
      for (var r = c.length, h = o.length, E = 0; E < r; E++) h += c[E].byteLength;
      h = new Uint8Array(h);
      for (var g = E = 0; g < r; g++) {
        var q = c[g];
        h.set(q, E), E += q.byteLength;
      }
      return h.set(o, E), h;
    }
    function Bl(c, o, r, h, E, g) {
      r = r.length === 0 && h.byteOffset % g === 0 ? h : Ra(r, h), E = new E(r.buffer, r.byteOffset, r.byteLength / g), tu(c, o, E);
    }
    function on(c, o, r, h, E, g) {
      switch (h) {
        case 65:
          tu(c, r, Ra(E, g).buffer);
          return;
        case 79:
          Bl(c, r, E, g, Int8Array, 1);
          return;
        case 111:
          tu(c, r, E.length === 0 ? g : Ra(E, g));
          return;
        case 85:
          Bl(c, r, E, g, Uint8ClampedArray, 1);
          return;
        case 83:
          Bl(c, r, E, g, Int16Array, 2);
          return;
        case 115:
          Bl(c, r, E, g, Uint16Array, 2);
          return;
        case 76:
          Bl(c, r, E, g, Int32Array, 4);
          return;
        case 108:
          Bl(c, r, E, g, Uint32Array, 4);
          return;
        case 71:
          Bl(c, r, E, g, Float32Array, 4);
          return;
        case 103:
          Bl(c, r, E, g, Float64Array, 8);
          return;
        case 77:
          Bl(c, r, E, g, BigInt64Array, 8);
          return;
        case 109:
          Bl(c, r, E, g, BigUint64Array, 8);
          return;
        case 86:
          Bl(c, r, E, g, DataView, 1);
          return;
      }
      o = c._stringDecoder;
      for (var q = "", j = 0; j < E.length; j++) q += o.decode(E[j], A);
      switch (E = q += o.decode(g), h) {
        case 73:
          fe(c, r, E);
          break;
        case 72:
          switch (r = E[0], E = E.slice(1), c = JSON.parse(E, c._fromJSON), E = Q.d, r) {
            case "D":
              E.D(c);
              break;
            case "C":
              typeof c == "string" ? E.C(c) : E.C(c[0], c[1]);
              break;
            case "L":
              r = c[0], h = c[1], c.length === 3 ? E.L(r, h, c[2]) : E.L(r, h);
              break;
            case "m":
              typeof c == "string" ? E.m(c) : E.m(c[0], c[1]);
              break;
            case "X":
              typeof c == "string" ? E.X(c) : E.X(c[0], c[1]);
              break;
            case "S":
              typeof c == "string" ? E.S(c) : E.S(c[0], c[1] === 0 ? void 0 : c[1], c.length === 3 ? c[2] : void 0);
              break;
            case "M":
              typeof c == "string" ? E.M(c) : E.M(c[0], c[1]);
          }
          break;
        case 69:
          h = c._chunks, g = h.get(r), E = JSON.parse(E), o = se(), o.digest = E.digest, g ? Vt(c, g, o) : (c = new L("rejected", null, o), h.set(r, c));
          break;
        case 84:
          c = c._chunks, (h = c.get(r)) && h.status !== "pending" ? h.reason.enqueueValue(E) : (E = new L("fulfilled", E, null), c.set(r, E));
          break;
        case 78:
        case 68:
        case 74:
        case 87:
          throw Error("Failed to read a RSC payload created by a development version of React on the server while using a production version on the client. Always use matching versions on the server and the client.");
        case 82:
          fn(c, r, void 0);
          break;
        case 114:
          fn(c, r, "bytes");
          break;
        case 88:
          oe(c, r, false);
          break;
        case 120:
          oe(c, r, true);
          break;
        case 67:
          (r = c._chunks.get(r)) && r.status === "fulfilled" && r.reason.close(E === "" ? '"$undefined"' : E);
          break;
        default:
          h = c._chunks, (g = h.get(r)) ? $(c, g, E) : (c = new L("resolved_model", E, c), h.set(r, c));
      }
    }
    function Ui(c) {
      return function(o, r) {
        if (o !== "__proto__") {
          if (typeof r == "string") return Ri(c, this, o, r);
          if (typeof r == "object" && r !== null) {
            if (r[0] === ut) {
              if (o = {
                $$typeof: ut,
                type: r[1],
                key: r[2],
                ref: null,
                props: r[3]
              }, Z !== null) {
                if (r = Z, Z = r.parent, r.errored) o = new L("rejected", null, r.reason), o = G(o);
                else if (0 < r.deps) {
                  var h = new L("blocked", null, null);
                  r.value = o, r.chunk = h, o = G(h);
                }
              }
            } else o = r;
            return o;
          }
          return r;
        }
      };
    }
    function sn(c) {
      B(c, Error("Connection closed."));
    }
    function Da(c) {
      return new ce(null, null, null, c && c.callServer ? c.callServer : void 0, void 0, void 0, c && c.temporaryReferences ? c.temporaryReferences : void 0);
    }
    function El(c, o, r) {
      function h(j) {
        var tt = j.value;
        if (j.done) return r();
        var nt = 0, et = g._rowState;
        j = g._rowID;
        for (var cl = g._rowTag, gt = g._rowLength, Tt = g._buffer, F = tt.length; nt < F; ) {
          var Et = -1;
          switch (et) {
            case 0:
              Et = tt[nt++], Et === 58 ? et = 1 : j = j << 4 | (96 < Et ? Et - 87 : Et - 48);
              continue;
            case 1:
              et = tt[nt], et === 84 || et === 65 || et === 79 || et === 111 || et === 85 || et === 83 || et === 115 || et === 76 || et === 108 || et === 71 || et === 103 || et === 77 || et === 109 || et === 86 ? (cl = et, et = 2, nt++) : 64 < et && 91 > et || et === 35 || et === 114 || et === 120 ? (cl = et, et = 3, nt++) : (cl = 0, et = 3);
              continue;
            case 2:
              Et = tt[nt++], Et === 44 ? et = 4 : gt = gt << 4 | (96 < Et ? Et - 87 : Et - 48);
              continue;
            case 3:
              Et = tt.indexOf(10, nt);
              break;
            case 4:
              Et = nt + gt, Et > tt.length && (Et = -1);
          }
          var Pl = tt.byteOffset + nt;
          if (-1 < Et) gt = new Uint8Array(tt.buffer, Pl, Et - nt), on(c, g, j, cl, Tt, gt), nt = Et, et === 3 && nt++, gt = j = cl = et = 0, Tt.length = 0;
          else {
            tt = new Uint8Array(tt.buffer, Pl, tt.byteLength - nt), Tt.push(tt), gt -= tt.byteLength;
            break;
          }
        }
        return g._rowState = et, g._rowID = j, g._rowTag = cl, g._rowLength = gt, q.read().then(h).catch(E);
      }
      function E(j) {
        B(c, j);
      }
      var g = {
        _rowState: 0,
        _rowID: 0,
        _rowTag: 0,
        _rowLength: 0,
        _buffer: []
      }, q = o.getReader();
      q.read().then(h).catch(E);
    }
    return Pa.createFromFetch = function(c, o) {
      var r = Da(o);
      return c.then(function(h) {
        El(r, h.body, sn.bind(null, r));
      }, function(h) {
        B(r, h);
      }), P(r, 0);
    }, Pa.createFromReadableStream = function(c, o) {
      return o = Da(o), El(o, c, sn.bind(null, o)), P(o, 0);
    }, Pa.createServerReference = function(c, o) {
      function r() {
        var h = Array.prototype.slice.call(arguments);
        return o(c, h);
      }
      return ct(r, c, null), r;
    }, Pa.createTemporaryReferenceSet = function() {
      return /* @__PURE__ */ new Map();
    }, Pa.encodeReply = function(c, o) {
      return new Promise(function(r, h) {
        var E = ol(c, "", o && o.temporaryReferences ? o.temporaryReferences : void 0, r, h);
        if (o && o.signal) {
          var g = o.signal;
          if (g.aborted) E(g.reason);
          else {
            var q = function() {
              E(g.reason), g.removeEventListener("abort", q);
            };
            g.addEventListener("abort", q);
          }
        }
      });
    }, Pa.registerServerReference = function(c, o) {
      return ct(c, o, null), c;
    }, Pa;
  }
  var l0;
  function Fv() {
    return l0 || (l0 = 1, Qf.exports = $v()), Qf.exports;
  }
  var uo = Fv();
  function kv(s, A = {}) {
    return uo.createFromFetch(s, {
      callServer: _0,
      findSourceMapURL: b0,
      ...A
    });
  }
  const Iv = uo.encodeReply;
  function _0(...s) {
    return globalThis.__viteRscCallServer(...s);
  }
  function E0(s) {
    globalThis.__viteRscCallServer = s;
  }
  const Pv = uo.createTemporaryReferenceSet;
  function b0(s, A) {
    const U = new URL("/__vite_rsc_findSourceMapURL", import.meta.url);
    return U.searchParams.set("filename", s), U.searchParams.set("environmentName", A), U.toString();
  }
  let ty, ly, a0, ay;
  ty = "modulepreload";
  ly = function(s) {
    return "/" + s;
  };
  a0 = {};
  tn = function(A, U, y) {
    let V = Promise.resolve();
    if (U && U.length > 0) {
      let X = function(O) {
        return Promise.all(O.map((W) => Promise.resolve(W).then((Q) => ({
          status: "fulfilled",
          value: Q
        }), (Q) => ({
          status: "rejected",
          reason: Q
        }))));
      };
      document.getElementsByTagName("link");
      const I = document.querySelector("meta[property=csp-nonce]"), lt = (I == null ? void 0 : I.nonce) || (I == null ? void 0 : I.getAttribute("nonce"));
      V = X(U.map((O) => {
        if (O = ly(O), O in a0) return;
        a0[O] = true;
        const W = O.endsWith(".css"), Q = W ? '[rel="stylesheet"]' : "";
        if (document.querySelector(`link[href="${O}"]${Q}`)) return;
        const ut = document.createElement("link");
        if (ut.rel = W ? "stylesheet" : ty, W || (ut.as = "script"), ut.crossOrigin = "", ut.href = O, lt && ut.setAttribute("nonce", lt), document.head.appendChild(ut), W) return new Promise((Yt, Wt) => {
          ut.addEventListener("load", Yt), ut.addEventListener("error", () => Wt(new Error(`Unable to preload CSS for ${O}`)));
        });
      }));
    }
    function J(I) {
      const lt = new Event("vite:preloadError", {
        cancelable: true
      });
      if (lt.payload = I, window.dispatchEvent(lt), !lt.defaultPrevented) throw I;
    }
    return V.then((I) => {
      for (const lt of I || []) lt.status === "rejected" && J(lt.reason);
      return A().catch(J);
    });
  };
  ay = {
    "847a2b1045ef": async () => (await tn(() => import("./client-CsOmnPdF.js"), [])).export_847a2b1045ef,
    "6d786e16fc6b": async () => (await tn(() => import("./client-CsOmnPdF.js"), [])).export_6d786e16fc6b,
    "5ce7e027532e": async () => (await tn(() => import("./index-BQZM9uZj.js"), __vite__mapDeps([0,1,2]))).export_5ce7e027532e,
    "4af94835fa0f": async () => (await tn(() => import("./_id_-cxsEKuSj.js").then(async (m) => {
      await m.__tla;
      return m;
    }), __vite__mapDeps([3,4,1,2]))).export_4af94835fa0f,
    "125820ecd802": async () => (await tn(() => import("./_layout-C9jEQBWP.js").then(async (m) => {
      await m.__tla;
      return m;
    }), __vite__mapDeps([5,1]))).export_125820ecd802
  };
  uy();
  function uy() {
    g0({
      load: async (s) => {
        {
          const A = ay[s];
          if (!A) throw new Error(`client reference not found '${s}'`);
          return A();
        }
      }
    });
  }
  const ey = Object.freeze(Object.defineProperty({
    __proto__: null,
    callServer: _0,
    createFromFetch: kv,
    createTemporaryReferenceSet: Pv,
    encodeReply: Iv,
    findSourceMapURL: b0,
    setRequireModule: g0,
    setServerCallback: E0
  }, Symbol.toStringTag, {
    value: "Module"
  }));
  var Vf = {
    exports: {}
  }, ln = {};
  var u0;
  function ny() {
    if (u0) return ln;
    u0 = 1;
    var s = /* @__PURE__ */ Symbol.for("react.transitional.element"), A = /* @__PURE__ */ Symbol.for("react.fragment");
    function U(y, V, J) {
      var I = null;
      if (J !== void 0 && (I = "" + J), V.key !== void 0 && (I = "" + V.key), "key" in V) {
        J = {};
        for (var lt in V) lt !== "key" && (J[lt] = V[lt]);
      } else J = V;
      return V = J.ref, {
        $$typeof: s,
        type: y,
        key: I,
        ref: V !== void 0 ? V : null,
        props: J
      };
    }
    return ln.Fragment = A, ln.jsx = U, ln.jsxs = U, ln;
  }
  var e0;
  function iy() {
    return e0 || (e0 = 1, Vf.exports = ny()), Vf.exports;
  }
  Rt = iy();
  dt = lo();
  let cy, Ff, fy, oy, sy, n0, ry, dy, hy, vy, yy, my, Sy, i0, gy, T0, kf, A0, If, _y, z0, Oi, eo, p0, Ey, c0, by, f0, O0, M0, R0, Ty, Ay, zy, D0, py, U0;
  cy = (s) => !(typeof s != "object" || s === null || "status" in s && typeof s.status != "number" || "location" in s && typeof s.location != "string");
  Ff = "__WAKU_CUSTOM_ERROR__;";
  fy = (s, A) => {
    const U = new Error(s);
    return U.digest = Ff + JSON.stringify(A), U;
  };
  oy = (s) => {
    const A = s == null ? void 0 : s.digest;
    if (typeof A != "string" || !A.startsWith(Ff)) return null;
    try {
      const U = JSON.parse(A.slice(Ff.length));
      if (cy(U)) return U;
    } catch {
    }
    return null;
  };
  sy = (s) => (s === "" ? s = "_" : ((s.startsWith("_") || s.startsWith("/")) && (s = "_" + s), (s.endsWith("_") || s.endsWith("/")) && (s += "_")), s + ".txt");
  n0 = "F/";
  ry = (s) => {
    const [A, U] = s.split("#");
    if (U.includes("/")) throw new Error("Function name must not include `/`: " + U);
    return A.startsWith("_") || A.startsWith("/") ? n0 + "_" + A + "/" + U : n0 + A + "/" + U;
  };
  ({ createFromFetch: dy, encodeReply: hy, createTemporaryReferenceSet: vy } = ey);
  yy = [
    Rt.jsx("meta", {
      charSet: "utf-8"
    }, "charset"),
    Rt.jsx("meta", {
      name: "viewport",
      content: "width=device-width, initial-scale=1"
    }, "viewport"),
    Rt.jsx("meta", {
      name: "generator",
      content: "Waku"
    }, "generator")
  ];
  my = "/RSC/";
  Sy = async (s) => {
    const A = await s;
    if (!A.ok) {
      const U = A.headers.get("location");
      throw fy(await A.text() || A.statusText, {
        status: A.status,
        ...U && {
          location: U
        }
      });
    }
    return A;
  };
  i0 = (s, A, U) => (A.has(U) ? A : A.set(U, s())).get(U);
  gy = /* @__PURE__ */ new WeakMap();
  T0 = (s, A) => {
    const U = () => Promise.all([
      s,
      A
    ]).then(([V, J]) => {
      const I = {
        ...V,
        ...J
      };
      return delete I._value, I;
    }), y = i0(() => /* @__PURE__ */ new WeakMap(), gy, s);
    return i0(U, y, A);
  };
  kf = "e";
  A0 = "s";
  If = "f";
  _y = "t";
  z0 = "l";
  Oi = {};
  eo = (s, A, U, y) => {
    const V = s[_y];
    if (V) for (const Q of V) [A, U, y] = Q(A, U, y);
    const J = s[If] || fetch, I = globalThis.__WAKU_PREFETCHED__ || (globalThis.__WAKU_PREFETCHED__ = {});
    let lt = y ? void 0 : I[A];
    delete I[A], lt && (Array.isArray(lt) ? lt[1] !== U && (lt = void 0) : lt = [
      lt
    ]);
    const X = (lt == null ? void 0 : lt[2]) || vy(), O = my + sy(A), W = lt ? lt[0] : U === void 0 ? J(O) : U instanceof URLSearchParams ? J(O + "?" + U) : hy(U, {
      temporaryReferences: X
    }).then((Q) => J(O, {
      method: "POST",
      body: Q
    }));
    if (y) {
      I[A] = [
        W,
        U,
        X
      ];
      return;
    }
    return dy(Sy(W), {
      callServer: (Q, ut) => p0(Q, ut, () => s),
      temporaryReferences: X
    });
  };
  p0 = async (s, A, U = (y) => y) => {
    const y = U(Oi), V = y[A0], J = y[z0], I = ry(s), lt = A.length === 1 && A[0] instanceof URLSearchParams ? A[0] : A, { _value: X, ...O } = await eo(y, I, lt, false);
    return Object.keys(O).length && dt.startTransition(() => {
      J == null ? void 0 : J.forEach((W) => {
        W(O);
      }), V((W) => T0(W, O));
    }), X;
  };
  Ey = (s, A) => {
    const U = s[z0] || (s[z0] = /* @__PURE__ */ new Set());
    return U.add(A), () => {
      U.delete(A);
    };
  };
  c0 = (s, A, U = (y) => y) => {
    const y = U(Oi), V = y[kf];
    if (V && V[0] === s && V[1] === A) return V[2];
    const J = eo(y, s, A, false);
    return y[kf] = [
      s,
      A,
      J
    ], J;
  };
  by = (s, A, U = (y) => y) => {
    const y = U(Oi), J = (globalThis.__WAKU_PREFETCHED__ || (globalThis.__WAKU_PREFETCHED__ = {}))[s];
    Array.isArray(J) && J[1] === A || eo(y, s, A, true);
  };
  f0 = (s) => (A) => ({
    ...A,
    [If]: s(A[If] || fetch)
  });
  O0 = dt.createContext(() => {
    throw new Error("Missing Root component");
  });
  M0 = dt.createContext(null);
  R0 = dt.createContext(null);
  Ty = () => {
    const s = dt.use(R0);
    if (!s) throw new Error("Missing Root component");
    return s;
  };
  Ay = ({ initialRscPath: s, initialRscParams: A, fetchRscStore: U = Oi, children: y }) => {
    const [V, J] = dt.useState(() => c0(s || "", A, () => U));
    dt.useEffect(() => {
      U[A0] = J;
    }, [
      U
    ]);
    const I = dt.useCallback(async (lt, X, O = (W) => W) => {
      delete U[kf];
      const W = c0(lt, X, () => O(U)), Q = Promise.resolve(W).catch(() => ({}));
      return J((ut) => T0(ut, Q)), W;
    }, [
      U
    ]);
    return Rt.jsx(R0, {
      value: U,
      children: Rt.jsx(O0, {
        value: I,
        children: Rt.jsxs(M0, {
          value: V,
          children: [
            yy,
            y
          ]
        })
      })
    });
  };
  zy = () => dt.use(O0);
  D0 = dt.createContext(void 0);
  py = dt.memo(D0);
  Jy = () => dt.use(D0);
  U0 = () => {
    const s = dt.use(M0);
    if (!s) throw new Error("Missing Root component");
    return s;
  };
  zi = ({ id: s, children: A }) => {
    const U = U0(), y = dt.use(U);
    if (s in y && y[s] === void 0) throw new Error("Element cannot be undefined, use null instead: " + s);
    const V = y[s];
    if (!(V !== void 0)) throw new Error("Invalid element: " + s);
    return Rt.jsx(py, {
      value: A,
      children: V
    });
  };
  var Lf = {
    exports: {}
  }, an = {}, wf = {
    exports: {}
  }, Kf = {};
  var o0;
  function Oy() {
    return o0 || (o0 = 1, (function(s) {
      function A(p, H) {
        var $ = p.length;
        p.push(H);
        t: for (; 0 < $; ) {
          var _t = $ - 1 >>> 1, Z = p[_t];
          if (0 < V(Z, H)) p[_t] = H, p[$] = Z, $ = _t;
          else break t;
        }
      }
      function U(p) {
        return p.length === 0 ? null : p[0];
      }
      function y(p) {
        if (p.length === 0) return null;
        var H = p[0], $ = p.pop();
        if ($ !== H) {
          p[0] = $;
          t: for (var _t = 0, Z = p.length, v = Z >>> 1; _t < v; ) {
            var R = 2 * (_t + 1) - 1, B = p[R], G = R + 1, P = p[G];
            if (0 > V(B, $)) G < Z && 0 > V(P, B) ? (p[_t] = P, p[G] = $, _t = G) : (p[_t] = B, p[R] = $, _t = R);
            else if (G < Z && 0 > V(P, $)) p[_t] = P, p[G] = $, _t = G;
            else break t;
          }
        }
        return H;
      }
      function V(p, H) {
        var $ = p.sortIndex - H.sortIndex;
        return $ !== 0 ? $ : p.id - H.id;
      }
      if (s.unstable_now = void 0, typeof performance == "object" && typeof performance.now == "function") {
        var J = performance;
        s.unstable_now = function() {
          return J.now();
        };
      } else {
        var I = Date, lt = I.now();
        s.unstable_now = function() {
          return I.now() - lt;
        };
      }
      var X = [], O = [], W = 1, Q = null, ut = 3, Yt = false, Wt = false, wt = false, gl = false, nl = typeof setTimeout == "function" ? setTimeout : null, _l = typeof clearTimeout == "function" ? clearTimeout : null, Zt = typeof setImmediate < "u" ? setImmediate : null;
      function il(p) {
        for (var H = U(O); H !== null; ) {
          if (H.callback === null) y(O);
          else if (H.startTime <= p) y(O), H.sortIndex = H.expirationTime, A(X, H);
          else break;
          H = U(O);
        }
      }
      function Tl(p) {
        if (wt = false, il(p), !Wt) if (U(X) !== null) Wt = true, ol || (ol = true, Ot());
        else {
          var H = U(O);
          H !== null && Vt(Tl, H.startTime - p);
        }
      }
      var ol = false, ct = -1, sl = 5, L = -1;
      function qt() {
        return gl ? true : !(s.unstable_now() - L < sl);
      }
      function bt() {
        if (gl = false, ol) {
          var p = s.unstable_now();
          L = p;
          var H = true;
          try {
            t: {
              Wt = false, wt && (wt = false, _l(ct), ct = -1), Yt = true;
              var $ = ut;
              try {
                l: {
                  for (il(p), Q = U(X); Q !== null && !(Q.expirationTime > p && qt()); ) {
                    var _t = Q.callback;
                    if (typeof _t == "function") {
                      Q.callback = null, ut = Q.priorityLevel;
                      var Z = _t(Q.expirationTime <= p);
                      if (p = s.unstable_now(), typeof Z == "function") {
                        Q.callback = Z, il(p), H = true;
                        break l;
                      }
                      Q === U(X) && y(X), il(p);
                    } else y(X);
                    Q = U(X);
                  }
                  if (Q !== null) H = true;
                  else {
                    var v = U(O);
                    v !== null && Vt(Tl, v.startTime - p), H = false;
                  }
                }
                break t;
              } finally {
                Q = null, ut = $, Yt = false;
              }
              H = void 0;
            }
          } finally {
            H ? Ot() : ol = false;
          }
        }
      }
      var Ot;
      if (typeof Zt == "function") Ot = function() {
        Zt(bt);
      };
      else if (typeof MessageChannel < "u") {
        var xt = new MessageChannel(), jt = xt.port2;
        xt.port1.onmessage = bt, Ot = function() {
          jt.postMessage(null);
        };
      } else Ot = function() {
        nl(bt, 0);
      };
      function Vt(p, H) {
        ct = nl(function() {
          p(s.unstable_now());
        }, H);
      }
      s.unstable_IdlePriority = 5, s.unstable_ImmediatePriority = 1, s.unstable_LowPriority = 4, s.unstable_NormalPriority = 3, s.unstable_Profiling = null, s.unstable_UserBlockingPriority = 2, s.unstable_cancelCallback = function(p) {
        p.callback = null;
      }, s.unstable_forceFrameRate = function(p) {
        0 > p || 125 < p ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : sl = 0 < p ? Math.floor(1e3 / p) : 5;
      }, s.unstable_getCurrentPriorityLevel = function() {
        return ut;
      }, s.unstable_next = function(p) {
        switch (ut) {
          case 1:
          case 2:
          case 3:
            var H = 3;
            break;
          default:
            H = ut;
        }
        var $ = ut;
        ut = H;
        try {
          return p();
        } finally {
          ut = $;
        }
      }, s.unstable_requestPaint = function() {
        gl = true;
      }, s.unstable_runWithPriority = function(p, H) {
        switch (p) {
          case 1:
          case 2:
          case 3:
          case 4:
          case 5:
            break;
          default:
            p = 3;
        }
        var $ = ut;
        ut = p;
        try {
          return H();
        } finally {
          ut = $;
        }
      }, s.unstable_scheduleCallback = function(p, H, $) {
        var _t = s.unstable_now();
        switch (typeof $ == "object" && $ !== null ? ($ = $.delay, $ = typeof $ == "number" && 0 < $ ? _t + $ : _t) : $ = _t, p) {
          case 1:
            var Z = -1;
            break;
          case 2:
            Z = 250;
            break;
          case 5:
            Z = 1073741823;
            break;
          case 4:
            Z = 1e4;
            break;
          default:
            Z = 5e3;
        }
        return Z = $ + Z, p = {
          id: W++,
          callback: H,
          priorityLevel: p,
          startTime: $,
          expirationTime: Z,
          sortIndex: -1
        }, $ > _t ? (p.sortIndex = $, A(O, p), U(X) === null && p === U(O) && (wt ? (_l(ct), ct = -1) : wt = true, Vt(Tl, $ - _t))) : (p.sortIndex = Z, A(X, p), Wt || Yt || (Wt = true, ol || (ol = true, Ot()))), p;
      }, s.unstable_shouldYield = qt, s.unstable_wrapCallback = function(p) {
        var H = ut;
        return function() {
          var $ = ut;
          ut = H;
          try {
            return p.apply(this, arguments);
          } finally {
            ut = $;
          }
        };
      };
    })(Kf)), Kf;
  }
  var s0;
  function My() {
    return s0 || (s0 = 1, wf.exports = Oy()), wf.exports;
  }
  var r0;
  function Ry() {
    if (r0) return an;
    r0 = 1;
    var s = My(), A = lo(), U = ao();
    function y(t) {
      var l = "https://react.dev/errors/" + t;
      if (1 < arguments.length) {
        l += "?args[]=" + encodeURIComponent(arguments[1]);
        for (var a = 2; a < arguments.length; a++) l += "&args[]=" + encodeURIComponent(arguments[a]);
      }
      return "Minified React error #" + t + "; visit " + l + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
    }
    function V(t) {
      return !(!t || t.nodeType !== 1 && t.nodeType !== 9 && t.nodeType !== 11);
    }
    function J(t) {
      var l = t, a = t;
      if (t.alternate) for (; l.return; ) l = l.return;
      else {
        t = l;
        do
          l = t, (l.flags & 4098) !== 0 && (a = l.return), t = l.return;
        while (t);
      }
      return l.tag === 3 ? a : null;
    }
    function I(t) {
      if (t.tag === 13) {
        var l = t.memoizedState;
        if (l === null && (t = t.alternate, t !== null && (l = t.memoizedState)), l !== null) return l.dehydrated;
      }
      return null;
    }
    function lt(t) {
      if (t.tag === 31) {
        var l = t.memoizedState;
        if (l === null && (t = t.alternate, t !== null && (l = t.memoizedState)), l !== null) return l.dehydrated;
      }
      return null;
    }
    function X(t) {
      if (J(t) !== t) throw Error(y(188));
    }
    function O(t) {
      var l = t.alternate;
      if (!l) {
        if (l = J(t), l === null) throw Error(y(188));
        return l !== t ? null : t;
      }
      for (var a = t, u = l; ; ) {
        var e = a.return;
        if (e === null) break;
        var n = e.alternate;
        if (n === null) {
          if (u = e.return, u !== null) {
            a = u;
            continue;
          }
          break;
        }
        if (e.child === n.child) {
          for (n = e.child; n; ) {
            if (n === a) return X(e), t;
            if (n === u) return X(e), l;
            n = n.sibling;
          }
          throw Error(y(188));
        }
        if (a.return !== u.return) a = e, u = n;
        else {
          for (var i = false, f = e.child; f; ) {
            if (f === a) {
              i = true, a = e, u = n;
              break;
            }
            if (f === u) {
              i = true, u = e, a = n;
              break;
            }
            f = f.sibling;
          }
          if (!i) {
            for (f = n.child; f; ) {
              if (f === a) {
                i = true, a = n, u = e;
                break;
              }
              if (f === u) {
                i = true, u = n, a = e;
                break;
              }
              f = f.sibling;
            }
            if (!i) throw Error(y(189));
          }
        }
        if (a.alternate !== u) throw Error(y(190));
      }
      if (a.tag !== 3) throw Error(y(188));
      return a.stateNode.current === a ? t : l;
    }
    function W(t) {
      var l = t.tag;
      if (l === 5 || l === 26 || l === 27 || l === 6) return t;
      for (t = t.child; t !== null; ) {
        if (l = W(t), l !== null) return l;
        t = t.sibling;
      }
      return null;
    }
    var Q = Object.assign, ut = /* @__PURE__ */ Symbol.for("react.element"), Yt = /* @__PURE__ */ Symbol.for("react.transitional.element"), Wt = /* @__PURE__ */ Symbol.for("react.portal"), wt = /* @__PURE__ */ Symbol.for("react.fragment"), gl = /* @__PURE__ */ Symbol.for("react.strict_mode"), nl = /* @__PURE__ */ Symbol.for("react.profiler"), _l = /* @__PURE__ */ Symbol.for("react.consumer"), Zt = /* @__PURE__ */ Symbol.for("react.context"), il = /* @__PURE__ */ Symbol.for("react.forward_ref"), Tl = /* @__PURE__ */ Symbol.for("react.suspense"), ol = /* @__PURE__ */ Symbol.for("react.suspense_list"), ct = /* @__PURE__ */ Symbol.for("react.memo"), sl = /* @__PURE__ */ Symbol.for("react.lazy"), L = /* @__PURE__ */ Symbol.for("react.activity"), qt = /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel"), bt = Symbol.iterator;
    function Ot(t) {
      return t === null || typeof t != "object" ? null : (t = bt && t[bt] || t["@@iterator"], typeof t == "function" ? t : null);
    }
    var xt = /* @__PURE__ */ Symbol.for("react.client.reference");
    function jt(t) {
      if (t == null) return null;
      if (typeof t == "function") return t.$$typeof === xt ? null : t.displayName || t.name || null;
      if (typeof t == "string") return t;
      switch (t) {
        case wt:
          return "Fragment";
        case nl:
          return "Profiler";
        case gl:
          return "StrictMode";
        case Tl:
          return "Suspense";
        case ol:
          return "SuspenseList";
        case L:
          return "Activity";
      }
      if (typeof t == "object") switch (t.$$typeof) {
        case Wt:
          return "Portal";
        case Zt:
          return t.displayName || "Context";
        case _l:
          return (t._context.displayName || "Context") + ".Consumer";
        case il:
          var l = t.render;
          return t = t.displayName, t || (t = l.displayName || l.name || "", t = t !== "" ? "ForwardRef(" + t + ")" : "ForwardRef"), t;
        case ct:
          return l = t.displayName || null, l !== null ? l : jt(t.type) || "Memo";
        case sl:
          l = t._payload, t = t._init;
          try {
            return jt(t(l));
          } catch {
          }
      }
      return null;
    }
    var Vt = Array.isArray, p = A.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, H = U.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, $ = {
      pending: false,
      data: null,
      method: null,
      action: null
    }, _t = [], Z = -1;
    function v(t) {
      return {
        current: t
      };
    }
    function R(t) {
      0 > Z || (t.current = _t[Z], _t[Z] = null, Z--);
    }
    function B(t, l) {
      Z++, _t[Z] = t.current, t.current = l;
    }
    var G = v(null), P = v(null), ft = v(null), st = v(null);
    function Kt(t, l) {
      switch (B(ft, l), B(P, t), B(G, null), l.nodeType) {
        case 9:
        case 11:
          t = (t = l.documentElement) && (t = t.namespaceURI) ? gd(t) : 0;
          break;
        default:
          if (t = l.tagName, l = l.namespaceURI) l = gd(l), t = _d(l, t);
          else switch (t) {
            case "svg":
              t = 1;
              break;
            case "math":
              t = 2;
              break;
            default:
              t = 0;
          }
      }
      R(G), B(G, t);
    }
    function Mt() {
      R(G), R(P), R(ft);
    }
    function kt(t) {
      t.memoizedState !== null && B(st, t);
      var l = G.current, a = _d(l, t.type);
      l !== a && (B(P, t), B(G, a));
    }
    function Al(t) {
      P.current === t && (R(G), R(P)), st.current === t && (R(st), Fe._currentValue = $);
    }
    var ee, en;
    function fa(t) {
      if (ee === void 0) try {
        throw Error();
      } catch (a) {
        var l = a.stack.trim().match(/\n( *(at )?)/);
        ee = l && l[1] || "", en = -1 < a.stack.indexOf(`
    at`) ? " (<anonymous>)" : -1 < a.stack.indexOf("@") ? "@unknown:0:0" : "";
      }
      return `
` + ee + t + en;
    }
    var ne = false;
    function ie(t, l) {
      if (!t || ne) return "";
      ne = true;
      var a = Error.prepareStackTrace;
      Error.prepareStackTrace = void 0;
      try {
        var u = {
          DetermineComponentFrameRoot: function() {
            try {
              if (l) {
                var N = function() {
                  throw Error();
                };
                if (Object.defineProperty(N.prototype, "props", {
                  set: function() {
                    throw Error();
                  }
                }), typeof Reflect == "object" && Reflect.construct) {
                  try {
                    Reflect.construct(N, []);
                  } catch (z) {
                    var T = z;
                  }
                  Reflect.construct(t, [], N);
                } else {
                  try {
                    N.call();
                  } catch (z) {
                    T = z;
                  }
                  t.call(N.prototype);
                }
              } else {
                try {
                  throw Error();
                } catch (z) {
                  T = z;
                }
                (N = t()) && typeof N.catch == "function" && N.catch(function() {
                });
              }
            } catch (z) {
              if (z && T && typeof z.stack == "string") return [
                z.stack,
                T.stack
              ];
            }
            return [
              null,
              null
            ];
          }
        };
        u.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot";
        var e = Object.getOwnPropertyDescriptor(u.DetermineComponentFrameRoot, "name");
        e && e.configurable && Object.defineProperty(u.DetermineComponentFrameRoot, "name", {
          value: "DetermineComponentFrameRoot"
        });
        var n = u.DetermineComponentFrameRoot(), i = n[0], f = n[1];
        if (i && f) {
          var d = i.split(`
`), b = f.split(`
`);
          for (e = u = 0; u < d.length && !d[u].includes("DetermineComponentFrameRoot"); ) u++;
          for (; e < b.length && !b[e].includes("DetermineComponentFrameRoot"); ) e++;
          if (u === d.length || e === b.length) for (u = d.length - 1, e = b.length - 1; 1 <= u && 0 <= e && d[u] !== b[e]; ) e--;
          for (; 1 <= u && 0 <= e; u--, e--) if (d[u] !== b[e]) {
            if (u !== 1 || e !== 1) do
              if (u--, e--, 0 > e || d[u] !== b[e]) {
                var M = `
` + d[u].replace(" at new ", " at ");
                return t.displayName && M.includes("<anonymous>") && (M = M.replace("<anonymous>", t.displayName)), M;
              }
            while (1 <= u && 0 <= e);
            break;
          }
        }
      } finally {
        ne = false, Error.prepareStackTrace = a;
      }
      return (a = t ? t.displayName || t.name : "") ? fa(a) : "";
    }
    function Ri(t, l) {
      switch (t.tag) {
        case 26:
        case 27:
        case 5:
          return fa(t.type);
        case 16:
          return fa("Lazy");
        case 13:
          return t.child !== l && l !== null ? fa("Suspense Fallback") : fa("Suspense");
        case 19:
          return fa("SuspenseList");
        case 0:
        case 15:
          return ie(t.type, false);
        case 11:
          return ie(t.type.render, false);
        case 1:
          return ie(t.type, true);
        case 31:
          return fa("Activity");
        default:
          return "";
      }
    }
    function nn(t) {
      try {
        var l = "", a = null;
        do
          l += Ri(t, a), a = t, t = t.return;
        while (t);
        return l;
      } catch (u) {
        return `
Error generating stack: ` + u.message + `
` + u.stack;
      }
    }
    var ce = Object.prototype.hasOwnProperty, tu = s.unstable_scheduleCallback, fe = s.unstable_cancelCallback, cn = s.unstable_shouldYield, fn = s.unstable_requestPaint, zl = s.unstable_now, Di = s.unstable_getCurrentPriorityLevel, oe = s.unstable_ImmediatePriority, se = s.unstable_UserBlockingPriority, Ra = s.unstable_NormalPriority, Bl = s.unstable_LowPriority, on = s.unstable_IdlePriority, Ui = s.log, sn = s.unstable_setDisableYieldValue, Da = null, El = null;
    function c(t) {
      if (typeof Ui == "function" && sn(t), El && typeof El.setStrictMode == "function") try {
        El.setStrictMode(Da, t);
      } catch {
      }
    }
    var o = Math.clz32 ? Math.clz32 : E, r = Math.log, h = Math.LN2;
    function E(t) {
      return t >>>= 0, t === 0 ? 32 : 31 - (r(t) / h | 0) | 0;
    }
    var g = 256, q = 262144, j = 4194304;
    function tt(t) {
      var l = t & 42;
      if (l !== 0) return l;
      switch (t & -t) {
        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:
          return 64;
        case 128:
          return 128;
        case 256:
        case 512:
        case 1024:
        case 2048:
        case 4096:
        case 8192:
        case 16384:
        case 32768:
        case 65536:
        case 131072:
          return t & 261888;
        case 262144:
        case 524288:
        case 1048576:
        case 2097152:
          return t & 3932160;
        case 4194304:
        case 8388608:
        case 16777216:
        case 33554432:
          return t & 62914560;
        case 67108864:
          return 67108864;
        case 134217728:
          return 134217728;
        case 268435456:
          return 268435456;
        case 536870912:
          return 536870912;
        case 1073741824:
          return 0;
        default:
          return t;
      }
    }
    function nt(t, l, a) {
      var u = t.pendingLanes;
      if (u === 0) return 0;
      var e = 0, n = t.suspendedLanes, i = t.pingedLanes;
      t = t.warmLanes;
      var f = u & 134217727;
      return f !== 0 ? (u = f & ~n, u !== 0 ? e = tt(u) : (i &= f, i !== 0 ? e = tt(i) : a || (a = f & ~t, a !== 0 && (e = tt(a))))) : (f = u & ~n, f !== 0 ? e = tt(f) : i !== 0 ? e = tt(i) : a || (a = u & ~t, a !== 0 && (e = tt(a)))), e === 0 ? 0 : l !== 0 && l !== e && (l & n) === 0 && (n = e & -e, a = l & -l, n >= a || n === 32 && (a & 4194048) !== 0) ? l : e;
    }
    function et(t, l) {
      return (t.pendingLanes & ~(t.suspendedLanes & ~t.pingedLanes) & l) === 0;
    }
    function cl(t, l) {
      switch (t) {
        case 1:
        case 2:
        case 4:
        case 8:
        case 64:
          return l + 250;
        case 16:
        case 32:
        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 l + 5e3;
        case 4194304:
        case 8388608:
        case 16777216:
        case 33554432:
          return -1;
        case 67108864:
        case 134217728:
        case 268435456:
        case 536870912:
        case 1073741824:
          return -1;
        default:
          return -1;
      }
    }
    function gt() {
      var t = j;
      return j <<= 1, (j & 62914560) === 0 && (j = 4194304), t;
    }
    function Tt(t) {
      for (var l = [], a = 0; 31 > a; a++) l.push(t);
      return l;
    }
    function F(t, l) {
      t.pendingLanes |= l, l !== 268435456 && (t.suspendedLanes = 0, t.pingedLanes = 0, t.warmLanes = 0);
    }
    function Et(t, l, a, u, e, n) {
      var i = t.pendingLanes;
      t.pendingLanes = a, t.suspendedLanes = 0, t.pingedLanes = 0, t.warmLanes = 0, t.expiredLanes &= a, t.entangledLanes &= a, t.errorRecoveryDisabledLanes &= a, t.shellSuspendCounter = 0;
      var f = t.entanglements, d = t.expirationTimes, b = t.hiddenUpdates;
      for (a = i & ~a; 0 < a; ) {
        var M = 31 - o(a), N = 1 << M;
        f[M] = 0, d[M] = -1;
        var T = b[M];
        if (T !== null) for (b[M] = null, M = 0; M < T.length; M++) {
          var z = T[M];
          z !== null && (z.lane &= -536870913);
        }
        a &= ~N;
      }
      u !== 0 && Pl(t, u, 0), n !== 0 && e === 0 && t.tag !== 0 && (t.suspendedLanes |= n & ~(i & ~l));
    }
    function Pl(t, l, a) {
      t.pendingLanes |= l, t.suspendedLanes &= ~l;
      var u = 31 - o(l);
      t.entangledLanes |= l, t.entanglements[u] = t.entanglements[u] | 1073741824 | a & 261930;
    }
    function _u(t, l) {
      var a = t.entangledLanes |= l;
      for (t = t.entanglements; a; ) {
        var u = 31 - o(a), e = 1 << u;
        e & l | t[u] & l && (t[u] |= l), a &= ~e;
      }
    }
    function Y(t, l) {
      var a = l & -l;
      return a = (a & 42) !== 0 ? 1 : C(a), (a & (t.suspendedLanes | l)) !== 0 ? 0 : a;
    }
    function C(t) {
      switch (t) {
        case 2:
          t = 1;
          break;
        case 8:
          t = 4;
          break;
        case 32:
          t = 16;
          break;
        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:
          t = 128;
          break;
        case 268435456:
          t = 134217728;
          break;
        default:
          t = 0;
      }
      return t;
    }
    function w(t) {
      return t &= -t, 2 < t ? 8 < t ? (t & 134217727) !== 0 ? 32 : 268435456 : 8 : 2;
    }
    function hl() {
      var t = H.p;
      return t !== 0 ? t : (t = window.event, t === void 0 ? 32 : xd(t.type));
    }
    function pl(t, l) {
      var a = H.p;
      try {
        return H.p = t, l();
      } finally {
        H.p = a;
      }
    }
    var Gt = Math.random().toString(36).slice(2), Jt = "__reactFiber$" + Gt, tl = "__reactProps$" + Gt, Rl = "__reactContainer$" + Gt, re = "__reactEvents$" + Gt, Ni = "__reactListeners$" + Gt, Ol = "__reactHandles$" + Gt, oa = "__reactResources$" + Gt, ua = "__reactMarker$" + Gt;
    function lu(t) {
      delete t[Jt], delete t[tl], delete t[re], delete t[Ni], delete t[Ol];
    }
    function Eu(t) {
      var l = t[Jt];
      if (l) return l;
      for (var a = t.parentNode; a; ) {
        if (l = a[Rl] || a[Jt]) {
          if (a = l.alternate, l.child !== null || a !== null && a.child !== null) for (t = Od(t); t !== null; ) {
            if (a = t[Jt]) return a;
            t = Od(t);
          }
          return l;
        }
        t = a, a = t.parentNode;
      }
      return null;
    }
    function bu(t) {
      if (t = t[Jt] || t[Rl]) {
        var l = t.tag;
        if (l === 5 || l === 6 || l === 13 || l === 31 || l === 26 || l === 27 || l === 3) return t;
      }
      return null;
    }
    function de(t) {
      var l = t.tag;
      if (l === 5 || l === 26 || l === 27 || l === 6) return t.stateNode;
      throw Error(y(33));
    }
    function Tu(t) {
      var l = t[oa];
      return l || (l = t[oa] = {
        hoistableStyles: /* @__PURE__ */ new Map(),
        hoistableScripts: /* @__PURE__ */ new Map()
      }), l;
    }
    function rl(t) {
      t[ua] = true;
    }
    var no = /* @__PURE__ */ new Set(), io = {};
    function au(t, l) {
      Au(t, l), Au(t + "Capture", l);
    }
    function Au(t, l) {
      for (io[t] = l, t = 0; t < l.length; t++) no.add(l[t]);
    }
    var q0 = RegExp("^[: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]*$"), co = {}, fo = {};
    function B0(t) {
      return ce.call(fo, t) ? true : ce.call(co, t) ? false : q0.test(t) ? fo[t] = true : (co[t] = true, false);
    }
    function rn(t, l, a) {
      if (B0(l)) if (a === null) t.removeAttribute(l);
      else {
        switch (typeof a) {
          case "undefined":
          case "function":
          case "symbol":
            t.removeAttribute(l);
            return;
          case "boolean":
            var u = l.toLowerCase().slice(0, 5);
            if (u !== "data-" && u !== "aria-") {
              t.removeAttribute(l);
              return;
            }
        }
        t.setAttribute(l, "" + a);
      }
    }
    function dn(t, l, a) {
      if (a === null) t.removeAttribute(l);
      else {
        switch (typeof a) {
          case "undefined":
          case "function":
          case "symbol":
          case "boolean":
            t.removeAttribute(l);
            return;
        }
        t.setAttribute(l, "" + a);
      }
    }
    function sa(t, l, a, u) {
      if (u === null) t.removeAttribute(a);
      else {
        switch (typeof u) {
          case "undefined":
          case "function":
          case "symbol":
          case "boolean":
            t.removeAttribute(a);
            return;
        }
        t.setAttributeNS(l, a, "" + u);
      }
    }
    function Vl(t) {
      switch (typeof t) {
        case "bigint":
        case "boolean":
        case "number":
        case "string":
        case "undefined":
          return t;
        case "object":
          return t;
        default:
          return "";
      }
    }
    function oo(t) {
      var l = t.type;
      return (t = t.nodeName) && t.toLowerCase() === "input" && (l === "checkbox" || l === "radio");
    }
    function Y0(t, l, a) {
      var u = Object.getOwnPropertyDescriptor(t.constructor.prototype, l);
      if (!t.hasOwnProperty(l) && typeof u < "u" && typeof u.get == "function" && typeof u.set == "function") {
        var e = u.get, n = u.set;
        return Object.defineProperty(t, l, {
          configurable: true,
          get: function() {
            return e.call(this);
          },
          set: function(i) {
            a = "" + i, n.call(this, i);
          }
        }), Object.defineProperty(t, l, {
          enumerable: u.enumerable
        }), {
          getValue: function() {
            return a;
          },
          setValue: function(i) {
            a = "" + i;
          },
          stopTracking: function() {
            t._valueTracker = null, delete t[l];
          }
        };
      }
    }
    function Ci(t) {
      if (!t._valueTracker) {
        var l = oo(t) ? "checked" : "value";
        t._valueTracker = Y0(t, l, "" + t[l]);
      }
    }
    function so(t) {
      if (!t) return false;
      var l = t._valueTracker;
      if (!l) return true;
      var a = l.getValue(), u = "";
      return t && (u = oo(t) ? t.checked ? "true" : "false" : t.value), t = u, t !== a ? (l.setValue(t), true) : false;
    }
    function hn(t) {
      if (t = t || (typeof document < "u" ? document : void 0), typeof t > "u") return null;
      try {
        return t.activeElement || t.body;
      } catch {
        return t.body;
      }
    }
    var j0 = /[\n"\\]/g;
    function Ll(t) {
      return t.replace(j0, function(l) {
        return "\\" + l.charCodeAt(0).toString(16) + " ";
      });
    }
    function Hi(t, l, a, u, e, n, i, f) {
      t.name = "", i != null && typeof i != "function" && typeof i != "symbol" && typeof i != "boolean" ? t.type = i : t.removeAttribute("type"), l != null ? i === "number" ? (l === 0 && t.value === "" || t.value != l) && (t.value = "" + Vl(l)) : t.value !== "" + Vl(l) && (t.value = "" + Vl(l)) : i !== "submit" && i !== "reset" || t.removeAttribute("value"), l != null ? qi(t, i, Vl(l)) : a != null ? qi(t, i, Vl(a)) : u != null && t.removeAttribute("value"), e == null && n != null && (t.defaultChecked = !!n), e != null && (t.checked = e && typeof e != "function" && typeof e != "symbol"), f != null && typeof f != "function" && typeof f != "symbol" && typeof f != "boolean" ? t.name = "" + Vl(f) : t.removeAttribute("name");
    }
    function ro(t, l, a, u, e, n, i, f) {
      if (n != null && typeof n != "function" && typeof n != "symbol" && typeof n != "boolean" && (t.type = n), l != null || a != null) {
        if (!(n !== "submit" && n !== "reset" || l != null)) {
          Ci(t);
          return;
        }
        a = a != null ? "" + Vl(a) : "", l = l != null ? "" + Vl(l) : a, f || l === t.value || (t.value = l), t.defaultValue = l;
      }
      u = u ?? e, u = typeof u != "function" && typeof u != "symbol" && !!u, t.checked = f ? t.checked : !!u, t.defaultChecked = !!u, i != null && typeof i != "function" && typeof i != "symbol" && typeof i != "boolean" && (t.name = i), Ci(t);
    }
    function qi(t, l, a) {
      l === "number" && hn(t.ownerDocument) === t || t.defaultValue === "" + a || (t.defaultValue = "" + a);
    }
    function zu(t, l, a, u) {
      if (t = t.options, l) {
        l = {};
        for (var e = 0; e < a.length; e++) l["$" + a[e]] = true;
        for (a = 0; a < t.length; a++) e = l.hasOwnProperty("$" + t[a].value), t[a].selected !== e && (t[a].selected = e), e && u && (t[a].defaultSelected = true);
      } else {
        for (a = "" + Vl(a), l = null, e = 0; e < t.length; e++) {
          if (t[e].value === a) {
            t[e].selected = true, u && (t[e].defaultSelected = true);
            return;
          }
          l !== null || t[e].disabled || (l = t[e]);
        }
        l !== null && (l.selected = true);
      }
    }
    function ho(t, l, a) {
      if (l != null && (l = "" + Vl(l), l !== t.value && (t.value = l), a == null)) {
        t.defaultValue !== l && (t.defaultValue = l);
        return;
      }
      t.defaultValue = a != null ? "" + Vl(a) : "";
    }
    function vo(t, l, a, u) {
      if (l == null) {
        if (u != null) {
          if (a != null) throw Error(y(92));
          if (Vt(u)) {
            if (1 < u.length) throw Error(y(93));
            u = u[0];
          }
          a = u;
        }
        a == null && (a = ""), l = a;
      }
      a = Vl(l), t.defaultValue = a, u = t.textContent, u === a && u !== "" && u !== null && (t.value = u), Ci(t);
    }
    function pu(t, l) {
      if (l) {
        var a = t.firstChild;
        if (a && a === t.lastChild && a.nodeType === 3) {
          a.nodeValue = l;
          return;
        }
      }
      t.textContent = l;
    }
    var G0 = new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));
    function yo(t, l, a) {
      var u = l.indexOf("--") === 0;
      a == null || typeof a == "boolean" || a === "" ? u ? t.setProperty(l, "") : l === "float" ? t.cssFloat = "" : t[l] = "" : u ? t.setProperty(l, a) : typeof a != "number" || a === 0 || G0.has(l) ? l === "float" ? t.cssFloat = a : t[l] = ("" + a).trim() : t[l] = a + "px";
    }
    function mo(t, l, a) {
      if (l != null && typeof l != "object") throw Error(y(62));
      if (t = t.style, a != null) {
        for (var u in a) !a.hasOwnProperty(u) || l != null && l.hasOwnProperty(u) || (u.indexOf("--") === 0 ? t.setProperty(u, "") : u === "float" ? t.cssFloat = "" : t[u] = "");
        for (var e in l) u = l[e], l.hasOwnProperty(e) && a[e] !== u && yo(t, e, u);
      } else for (var n in l) l.hasOwnProperty(n) && yo(t, n, l[n]);
    }
    function Bi(t) {
      if (t.indexOf("-") === -1) return false;
      switch (t) {
        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 false;
        default:
          return true;
      }
    }
    var X0 = /* @__PURE__ */ new Map([
      [
        "acceptCharset",
        "accept-charset"
      ],
      [
        "htmlFor",
        "for"
      ],
      [
        "httpEquiv",
        "http-equiv"
      ],
      [
        "crossOrigin",
        "crossorigin"
      ],
      [
        "accentHeight",
        "accent-height"
      ],
      [
        "alignmentBaseline",
        "alignment-baseline"
      ],
      [
        "arabicForm",
        "arabic-form"
      ],
      [
        "baselineShift",
        "baseline-shift"
      ],
      [
        "capHeight",
        "cap-height"
      ],
      [
        "clipPath",
        "clip-path"
      ],
      [
        "clipRule",
        "clip-rule"
      ],
      [
        "colorInterpolation",
        "color-interpolation"
      ],
      [
        "colorInterpolationFilters",
        "color-interpolation-filters"
      ],
      [
        "colorProfile",
        "color-profile"
      ],
      [
        "colorRendering",
        "color-rendering"
      ],
      [
        "dominantBaseline",
        "dominant-baseline"
      ],
      [
        "enableBackground",
        "enable-background"
      ],
      [
        "fillOpacity",
        "fill-opacity"
      ],
      [
        "fillRule",
        "fill-rule"
      ],
      [
        "floodColor",
        "flood-color"
      ],
      [
        "floodOpacity",
        "flood-opacity"
      ],
      [
        "fontFamily",
        "font-family"
      ],
      [
        "fontSize",
        "font-size"
      ],
      [
        "fontSizeAdjust",
        "font-size-adjust"
      ],
      [
        "fontStretch",
        "font-stretch"
      ],
      [
        "fontStyle",
        "font-style"
      ],
      [
        "fontVariant",
        "font-variant"
      ],
      [
        "fontWeight",
        "font-weight"
      ],
      [
        "glyphName",
        "glyph-name"
      ],
      [
        "glyphOrientationHorizontal",
        "glyph-orientation-horizontal"
      ],
      [
        "glyphOrientationVertical",
        "glyph-orientation-vertical"
      ],
      [
        "horizAdvX",
        "horiz-adv-x"
      ],
      [
        "horizOriginX",
        "horiz-origin-x"
      ],
      [
        "imageRendering",
        "image-rendering"
      ],
      [
        "letterSpacing",
        "letter-spacing"
      ],
      [
        "lightingColor",
        "lighting-color"
      ],
      [
        "markerEnd",
        "marker-end"
      ],
      [
        "markerMid",
        "marker-mid"
      ],
      [
        "markerStart",
        "marker-start"
      ],
      [
        "overlinePosition",
        "overline-position"
      ],
      [
        "overlineThickness",
        "overline-thickness"
      ],
      [
        "paintOrder",
        "paint-order"
      ],
      [
        "panose-1",
        "panose-1"
      ],
      [
        "pointerEvents",
        "pointer-events"
      ],
      [
        "renderingIntent",
        "rendering-intent"
      ],
      [
        "shapeRendering",
        "shape-rendering"
      ],
      [
        "stopColor",
        "stop-color"
      ],
      [
        "stopOpacity",
        "stop-opacity"
      ],
      [
        "strikethroughPosition",
        "strikethrough-position"
      ],
      [
        "strikethroughThickness",
        "strikethrough-thickness"
      ],
      [
        "strokeDasharray",
        "stroke-dasharray"
      ],
      [
        "strokeDashoffset",
        "stroke-dashoffset"
      ],
      [
        "strokeLinecap",
        "stroke-linecap"
      ],
      [
        "strokeLinejoin",
        "stroke-linejoin"
      ],
      [
        "strokeMiterlimit",
        "stroke-miterlimit"
      ],
      [
        "strokeOpacity",
        "stroke-opacity"
      ],
      [
        "strokeWidth",
        "stroke-width"
      ],
      [
        "textAnchor",
        "text-anchor"
      ],
      [
        "textDecoration",
        "text-decoration"
      ],
      [
        "textRendering",
        "text-rendering"
      ],
      [
        "transformOrigin",
        "transform-origin"
      ],
      [
        "underlinePosition",
        "underline-position"
      ],
      [
        "underlineThickness",
        "underline-thickness"
      ],
      [
        "unicodeBidi",
        "unicode-bidi"
      ],
      [
        "unicodeRange",
        "unicode-range"
      ],
      [
        "unitsPerEm",
        "units-per-em"
      ],
      [
        "vAlphabetic",
        "v-alphabetic"
      ],
      [
        "vHanging",
        "v-hanging"
      ],
      [
        "vIdeographic",
        "v-ideographic"
      ],
      [
        "vMathematical",
        "v-mathematical"
      ],
      [
        "vectorEffect",
        "vector-effect"
      ],
      [
        "vertAdvY",
        "vert-adv-y"
      ],
      [
        "vertOriginX",
        "vert-origin-x"
      ],
      [
        "vertOriginY",
        "vert-origin-y"
      ],
      [
        "wordSpacing",
        "word-spacing"
      ],
      [
        "writingMode",
        "writing-mode"
      ],
      [
        "xmlnsXlink",
        "xmlns:xlink"
      ],
      [
        "xHeight",
        "x-height"
      ]
    ]), Q0 = /^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;
    function vn(t) {
      return Q0.test("" + t) ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')" : t;
    }
    function ra() {
    }
    var Yi = null;
    function ji(t) {
      return t = t.target || t.srcElement || window, t.correspondingUseElement && (t = t.correspondingUseElement), t.nodeType === 3 ? t.parentNode : t;
    }
    var Ou = null, Mu = null;
    function So(t) {
      var l = bu(t);
      if (l && (t = l.stateNode)) {
        var a = t[tl] || null;
        t: switch (t = l.stateNode, l.type) {
          case "input":
            if (Hi(t, a.value, a.defaultValue, a.defaultValue, a.checked, a.defaultChecked, a.type, a.name), l = a.name, a.type === "radio" && l != null) {
              for (a = t; a.parentNode; ) a = a.parentNode;
              for (a = a.querySelectorAll('input[name="' + Ll("" + l) + '"][type="radio"]'), l = 0; l < a.length; l++) {
                var u = a[l];
                if (u !== t && u.form === t.form) {
                  var e = u[tl] || null;
                  if (!e) throw Error(y(90));
                  Hi(u, e.value, e.defaultValue, e.defaultValue, e.checked, e.defaultChecked, e.type, e.name);
                }
              }
              for (l = 0; l < a.length; l++) u = a[l], u.form === t.form && so(u);
            }
            break t;
          case "textarea":
            ho(t, a.value, a.defaultValue);
            break t;
          case "select":
            l = a.value, l != null && zu(t, !!a.multiple, l, false);
        }
      }
    }
    var Gi = false;
    function go(t, l, a) {
      if (Gi) return t(l, a);
      Gi = true;
      try {
        var u = t(l);
        return u;
      } finally {
        if (Gi = false, (Ou !== null || Mu !== null) && (li(), Ou && (l = Ou, t = Mu, Mu = Ou = null, So(l), t))) for (l = 0; l < t.length; l++) So(t[l]);
      }
    }
    function he(t, l) {
      var a = t.stateNode;
      if (a === null) return null;
      var u = a[tl] || null;
      if (u === null) return null;
      a = u[l];
      t: switch (l) {
        case "onClick":
        case "onClickCapture":
        case "onDoubleClick":
        case "onDoubleClickCapture":
        case "onMouseDown":
        case "onMouseDownCapture":
        case "onMouseMove":
        case "onMouseMoveCapture":
        case "onMouseUp":
        case "onMouseUpCapture":
        case "onMouseEnter":
          (u = !u.disabled) || (t = t.type, u = !(t === "button" || t === "input" || t === "select" || t === "textarea")), t = !u;
          break t;
        default:
          t = false;
      }
      if (t) return null;
      if (a && typeof a != "function") throw Error(y(231, l, typeof a));
      return a;
    }
    var da = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"), Xi = false;
    if (da) try {
      var ve = {};
      Object.defineProperty(ve, "passive", {
        get: function() {
          Xi = true;
        }
      }), window.addEventListener("test", ve, ve), window.removeEventListener("test", ve, ve);
    } catch {
      Xi = false;
    }
    var Ua = null, Qi = null, yn = null;
    function _o() {
      if (yn) return yn;
      var t, l = Qi, a = l.length, u, e = "value" in Ua ? Ua.value : Ua.textContent, n = e.length;
      for (t = 0; t < a && l[t] === e[t]; t++) ;
      var i = a - t;
      for (u = 1; u <= i && l[a - u] === e[n - u]; u++) ;
      return yn = e.slice(t, 1 < u ? 1 - u : void 0);
    }
    function mn(t) {
      var l = t.keyCode;
      return "charCode" in t ? (t = t.charCode, t === 0 && l === 13 && (t = 13)) : t = l, t === 10 && (t = 13), 32 <= t || t === 13 ? t : 0;
    }
    function Sn() {
      return true;
    }
    function Eo() {
      return false;
    }
    function Dl(t) {
      function l(a, u, e, n, i) {
        this._reactName = a, this._targetInst = e, this.type = u, this.nativeEvent = n, this.target = i, this.currentTarget = null;
        for (var f in t) t.hasOwnProperty(f) && (a = t[f], this[f] = a ? a(n) : n[f]);
        return this.isDefaultPrevented = (n.defaultPrevented != null ? n.defaultPrevented : n.returnValue === false) ? Sn : Eo, this.isPropagationStopped = Eo, this;
      }
      return Q(l.prototype, {
        preventDefault: function() {
          this.defaultPrevented = true;
          var a = this.nativeEvent;
          a && (a.preventDefault ? a.preventDefault() : typeof a.returnValue != "unknown" && (a.returnValue = false), this.isDefaultPrevented = Sn);
        },
        stopPropagation: function() {
          var a = this.nativeEvent;
          a && (a.stopPropagation ? a.stopPropagation() : typeof a.cancelBubble != "unknown" && (a.cancelBubble = true), this.isPropagationStopped = Sn);
        },
        persist: function() {
        },
        isPersistent: Sn
      }), l;
    }
    var uu = {
      eventPhase: 0,
      bubbles: 0,
      cancelable: 0,
      timeStamp: function(t) {
        return t.timeStamp || Date.now();
      },
      defaultPrevented: 0,
      isTrusted: 0
    }, gn = Dl(uu), ye = Q({}, uu, {
      view: 0,
      detail: 0
    }), Z0 = Dl(ye), Zi, xi, me, _n = Q({}, ye, {
      screenX: 0,
      screenY: 0,
      clientX: 0,
      clientY: 0,
      pageX: 0,
      pageY: 0,
      ctrlKey: 0,
      shiftKey: 0,
      altKey: 0,
      metaKey: 0,
      getModifierState: Li,
      button: 0,
      buttons: 0,
      relatedTarget: function(t) {
        return t.relatedTarget === void 0 ? t.fromElement === t.srcElement ? t.toElement : t.fromElement : t.relatedTarget;
      },
      movementX: function(t) {
        return "movementX" in t ? t.movementX : (t !== me && (me && t.type === "mousemove" ? (Zi = t.screenX - me.screenX, xi = t.screenY - me.screenY) : xi = Zi = 0, me = t), Zi);
      },
      movementY: function(t) {
        return "movementY" in t ? t.movementY : xi;
      }
    }), bo = Dl(_n), x0 = Q({}, _n, {
      dataTransfer: 0
    }), V0 = Dl(x0), L0 = Q({}, ye, {
      relatedTarget: 0
    }), Vi = Dl(L0), w0 = Q({}, uu, {
      animationName: 0,
      elapsedTime: 0,
      pseudoElement: 0
    }), K0 = Dl(w0), J0 = Q({}, uu, {
      clipboardData: function(t) {
        return "clipboardData" in t ? t.clipboardData : window.clipboardData;
      }
    }), W0 = Dl(J0), $0 = Q({}, uu, {
      data: 0
    }), To = Dl($0), F0 = {
      Esc: "Escape",
      Spacebar: " ",
      Left: "ArrowLeft",
      Up: "ArrowUp",
      Right: "ArrowRight",
      Down: "ArrowDown",
      Del: "Delete",
      Win: "OS",
      Menu: "ContextMenu",
      Apps: "ContextMenu",
      Scroll: "ScrollLock",
      MozPrintableKey: "Unidentified"
    }, k0 = {
      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"
    }, I0 = {
      Alt: "altKey",
      Control: "ctrlKey",
      Meta: "metaKey",
      Shift: "shiftKey"
    };
    function P0(t) {
      var l = this.nativeEvent;
      return l.getModifierState ? l.getModifierState(t) : (t = I0[t]) ? !!l[t] : false;
    }
    function Li() {
      return P0;
    }
    var th = Q({}, ye, {
      key: function(t) {
        if (t.key) {
          var l = F0[t.key] || t.key;
          if (l !== "Unidentified") return l;
        }
        return t.type === "keypress" ? (t = mn(t), t === 13 ? "Enter" : String.fromCharCode(t)) : t.type === "keydown" || t.type === "keyup" ? k0[t.keyCode] || "Unidentified" : "";
      },
      code: 0,
      location: 0,
      ctrlKey: 0,
      shiftKey: 0,
      altKey: 0,
      metaKey: 0,
      repeat: 0,
      locale: 0,
      getModifierState: Li,
      charCode: function(t) {
        return t.type === "keypress" ? mn(t) : 0;
      },
      keyCode: function(t) {
        return t.type === "keydown" || t.type === "keyup" ? t.keyCode : 0;
      },
      which: function(t) {
        return t.type === "keypress" ? mn(t) : t.type === "keydown" || t.type === "keyup" ? t.keyCode : 0;
      }
    }), lh = Dl(th), ah = Q({}, _n, {
      pointerId: 0,
      width: 0,
      height: 0,
      pressure: 0,
      tangentialPressure: 0,
      tiltX: 0,
      tiltY: 0,
      twist: 0,
      pointerType: 0,
      isPrimary: 0
    }), Ao = Dl(ah), uh = Q({}, ye, {
      touches: 0,
      targetTouches: 0,
      changedTouches: 0,
      altKey: 0,
      metaKey: 0,
      ctrlKey: 0,
      shiftKey: 0,
      getModifierState: Li
    }), eh = Dl(uh), nh = Q({}, uu, {
      propertyName: 0,
      elapsedTime: 0,
      pseudoElement: 0
    }), ih = Dl(nh), ch = Q({}, _n, {
      deltaX: function(t) {
        return "deltaX" in t ? t.deltaX : "wheelDeltaX" in t ? -t.wheelDeltaX : 0;
      },
      deltaY: function(t) {
        return "deltaY" in t ? t.deltaY : "wheelDeltaY" in t ? -t.wheelDeltaY : "wheelDelta" in t ? -t.wheelDelta : 0;
      },
      deltaZ: 0,
      deltaMode: 0
    }), fh = Dl(ch), oh = Q({}, uu, {
      newState: 0,
      oldState: 0
    }), sh = Dl(oh), rh = [
      9,
      13,
      27,
      32
    ], wi = da && "CompositionEvent" in window, Se = null;
    da && "documentMode" in document && (Se = document.documentMode);
    var dh = da && "TextEvent" in window && !Se, zo = da && (!wi || Se && 8 < Se && 11 >= Se), po = " ", Oo = false;
    function Mo(t, l) {
      switch (t) {
        case "keyup":
          return rh.indexOf(l.keyCode) !== -1;
        case "keydown":
          return l.keyCode !== 229;
        case "keypress":
        case "mousedown":
        case "focusout":
          return true;
        default:
          return false;
      }
    }
    function Ro(t) {
      return t = t.detail, typeof t == "object" && "data" in t ? t.data : null;
    }
    var Ru = false;
    function hh(t, l) {
      switch (t) {
        case "compositionend":
          return Ro(l);
        case "keypress":
          return l.which !== 32 ? null : (Oo = true, po);
        case "textInput":
          return t = l.data, t === po && Oo ? null : t;
        default:
          return null;
      }
    }
    function vh(t, l) {
      if (Ru) return t === "compositionend" || !wi && Mo(t, l) ? (t = _o(), yn = Qi = Ua = null, Ru = false, t) : null;
      switch (t) {
        case "paste":
          return null;
        case "keypress":
          if (!(l.ctrlKey || l.altKey || l.metaKey) || l.ctrlKey && l.altKey) {
            if (l.char && 1 < l.char.length) return l.char;
            if (l.which) return String.fromCharCode(l.which);
          }
          return null;
        case "compositionend":
          return zo && l.locale !== "ko" ? null : l.data;
        default:
          return null;
      }
    }
    var yh = {
      color: true,
      date: true,
      datetime: true,
      "datetime-local": true,
      email: true,
      month: true,
      number: true,
      password: true,
      range: true,
      search: true,
      tel: true,
      text: true,
      time: true,
      url: true,
      week: true
    };
    function Do(t) {
      var l = t && t.nodeName && t.nodeName.toLowerCase();
      return l === "input" ? !!yh[t.type] : l === "textarea";
    }
    function Uo(t, l, a, u) {
      Ou ? Mu ? Mu.push(u) : Mu = [
        u
      ] : Ou = u, l = fi(l, "onChange"), 0 < l.length && (a = new gn("onChange", "change", null, a, u), t.push({
        event: a,
        listeners: l
      }));
    }
    var ge = null, _e = null;
    function mh(t) {
      dd(t, 0);
    }
    function En(t) {
      var l = de(t);
      if (so(l)) return t;
    }
    function No(t, l) {
      if (t === "change") return l;
    }
    var Co = false;
    if (da) {
      var Ki;
      if (da) {
        var Ji = "oninput" in document;
        if (!Ji) {
          var Ho = document.createElement("div");
          Ho.setAttribute("oninput", "return;"), Ji = typeof Ho.oninput == "function";
        }
        Ki = Ji;
      } else Ki = false;
      Co = Ki && (!document.documentMode || 9 < document.documentMode);
    }
    function qo() {
      ge && (ge.detachEvent("onpropertychange", Bo), _e = ge = null);
    }
    function Bo(t) {
      if (t.propertyName === "value" && En(_e)) {
        var l = [];
        Uo(l, _e, t, ji(t)), go(mh, l);
      }
    }
    function Sh(t, l, a) {
      t === "focusin" ? (qo(), ge = l, _e = a, ge.attachEvent("onpropertychange", Bo)) : t === "focusout" && qo();
    }
    function gh(t) {
      if (t === "selectionchange" || t === "keyup" || t === "keydown") return En(_e);
    }
    function _h(t, l) {
      if (t === "click") return En(l);
    }
    function Eh(t, l) {
      if (t === "input" || t === "change") return En(l);
    }
    function bh(t, l) {
      return t === l && (t !== 0 || 1 / t === 1 / l) || t !== t && l !== l;
    }
    var Yl = typeof Object.is == "function" ? Object.is : bh;
    function Ee(t, l) {
      if (Yl(t, l)) return true;
      if (typeof t != "object" || t === null || typeof l != "object" || l === null) return false;
      var a = Object.keys(t), u = Object.keys(l);
      if (a.length !== u.length) return false;
      for (u = 0; u < a.length; u++) {
        var e = a[u];
        if (!ce.call(l, e) || !Yl(t[e], l[e])) return false;
      }
      return true;
    }
    function Yo(t) {
      for (; t && t.firstChild; ) t = t.firstChild;
      return t;
    }
    function jo(t, l) {
      var a = Yo(t);
      t = 0;
      for (var u; a; ) {
        if (a.nodeType === 3) {
          if (u = t + a.textContent.length, t <= l && u >= l) return {
            node: a,
            offset: l - t
          };
          t = u;
        }
        t: {
          for (; a; ) {
            if (a.nextSibling) {
              a = a.nextSibling;
              break t;
            }
            a = a.parentNode;
          }
          a = void 0;
        }
        a = Yo(a);
      }
    }
    function Go(t, l) {
      return t && l ? t === l ? true : t && t.nodeType === 3 ? false : l && l.nodeType === 3 ? Go(t, l.parentNode) : "contains" in t ? t.contains(l) : t.compareDocumentPosition ? !!(t.compareDocumentPosition(l) & 16) : false : false;
    }
    function Xo(t) {
      t = t != null && t.ownerDocument != null && t.ownerDocument.defaultView != null ? t.ownerDocument.defaultView : window;
      for (var l = hn(t.document); l instanceof t.HTMLIFrameElement; ) {
        try {
          var a = typeof l.contentWindow.location.href == "string";
        } catch {
          a = false;
        }
        if (a) t = l.contentWindow;
        else break;
        l = hn(t.document);
      }
      return l;
    }
    function Wi(t) {
      var l = t && t.nodeName && t.nodeName.toLowerCase();
      return l && (l === "input" && (t.type === "text" || t.type === "search" || t.type === "tel" || t.type === "url" || t.type === "password") || l === "textarea" || t.contentEditable === "true");
    }
    var Th = da && "documentMode" in document && 11 >= document.documentMode, Du = null, $i = null, be = null, Fi = false;
    function Qo(t, l, a) {
      var u = a.window === a ? a.document : a.nodeType === 9 ? a : a.ownerDocument;
      Fi || Du == null || Du !== hn(u) || (u = Du, "selectionStart" in u && Wi(u) ? u = {
        start: u.selectionStart,
        end: u.selectionEnd
      } : (u = (u.ownerDocument && u.ownerDocument.defaultView || window).getSelection(), u = {
        anchorNode: u.anchorNode,
        anchorOffset: u.anchorOffset,
        focusNode: u.focusNode,
        focusOffset: u.focusOffset
      }), be && Ee(be, u) || (be = u, u = fi($i, "onSelect"), 0 < u.length && (l = new gn("onSelect", "select", null, l, a), t.push({
        event: l,
        listeners: u
      }), l.target = Du)));
    }
    function eu(t, l) {
      var a = {};
      return a[t.toLowerCase()] = l.toLowerCase(), a["Webkit" + t] = "webkit" + l, a["Moz" + t] = "moz" + l, a;
    }
    var Uu = {
      animationend: eu("Animation", "AnimationEnd"),
      animationiteration: eu("Animation", "AnimationIteration"),
      animationstart: eu("Animation", "AnimationStart"),
      transitionrun: eu("Transition", "TransitionRun"),
      transitionstart: eu("Transition", "TransitionStart"),
      transitioncancel: eu("Transition", "TransitionCancel"),
      transitionend: eu("Transition", "TransitionEnd")
    }, ki = {}, Zo = {};
    da && (Zo = document.createElement("div").style, "AnimationEvent" in window || (delete Uu.animationend.animation, delete Uu.animationiteration.animation, delete Uu.animationstart.animation), "TransitionEvent" in window || delete Uu.transitionend.transition);
    function nu(t) {
      if (ki[t]) return ki[t];
      if (!Uu[t]) return t;
      var l = Uu[t], a;
      for (a in l) if (l.hasOwnProperty(a) && a in Zo) return ki[t] = l[a];
      return t;
    }
    var xo = nu("animationend"), Vo = nu("animationiteration"), Lo = nu("animationstart"), Ah = nu("transitionrun"), zh = nu("transitionstart"), ph = nu("transitioncancel"), wo = nu("transitionend"), Ko = /* @__PURE__ */ new Map(), Ii = "abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");
    Ii.push("scrollEnd");
    function ta(t, l) {
      Ko.set(t, l), au(l, [
        t
      ]);
    }
    var bn = typeof reportError == "function" ? reportError : function(t) {
      if (typeof window == "object" && typeof window.ErrorEvent == "function") {
        var l = new window.ErrorEvent("error", {
          bubbles: true,
          cancelable: true,
          message: typeof t == "object" && t !== null && typeof t.message == "string" ? String(t.message) : String(t),
          error: t
        });
        if (!window.dispatchEvent(l)) return;
      } else if (typeof process == "object" && typeof process.emit == "function") {
        process.emit("uncaughtException", t);
        return;
      }
      console.error(t);
    }, wl = [], Nu = 0, Pi = 0;
    function Tn() {
      for (var t = Nu, l = Pi = Nu = 0; l < t; ) {
        var a = wl[l];
        wl[l++] = null;
        var u = wl[l];
        wl[l++] = null;
        var e = wl[l];
        wl[l++] = null;
        var n = wl[l];
        if (wl[l++] = null, u !== null && e !== null) {
          var i = u.pending;
          i === null ? e.next = e : (e.next = i.next, i.next = e), u.pending = e;
        }
        n !== 0 && Jo(a, e, n);
      }
    }
    function An(t, l, a, u) {
      wl[Nu++] = t, wl[Nu++] = l, wl[Nu++] = a, wl[Nu++] = u, Pi |= u, t.lanes |= u, t = t.alternate, t !== null && (t.lanes |= u);
    }
    function tc(t, l, a, u) {
      return An(t, l, a, u), zn(t);
    }
    function iu(t, l) {
      return An(t, null, null, l), zn(t);
    }
    function Jo(t, l, a) {
      t.lanes |= a;
      var u = t.alternate;
      u !== null && (u.lanes |= a);
      for (var e = false, n = t.return; n !== null; ) n.childLanes |= a, u = n.alternate, u !== null && (u.childLanes |= a), n.tag === 22 && (t = n.stateNode, t === null || t._visibility & 1 || (e = true)), t = n, n = n.return;
      return t.tag === 3 ? (n = t.stateNode, e && l !== null && (e = 31 - o(a), t = n.hiddenUpdates, u = t[e], u === null ? t[e] = [
        l
      ] : u.push(l), l.lane = a | 536870912), n) : null;
    }
    function zn(t) {
      if (50 < Ve) throw Ve = 0, sf = null, Error(y(185));
      for (var l = t.return; l !== null; ) t = l, l = t.return;
      return t.tag === 3 ? t.stateNode : null;
    }
    var Cu = {};
    function Oh(t, l, a, u) {
      this.tag = t, this.key = a, this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null, this.index = 0, this.refCleanup = this.ref = null, this.pendingProps = l, this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null, this.mode = u, this.subtreeFlags = this.flags = 0, this.deletions = null, this.childLanes = this.lanes = 0, this.alternate = null;
    }
    function jl(t, l, a, u) {
      return new Oh(t, l, a, u);
    }
    function lc(t) {
      return t = t.prototype, !(!t || !t.isReactComponent);
    }
    function ha(t, l) {
      var a = t.alternate;
      return a === null ? (a = jl(t.tag, l, t.key, t.mode), a.elementType = t.elementType, a.type = t.type, a.stateNode = t.stateNode, a.alternate = t, t.alternate = a) : (a.pendingProps = l, a.type = t.type, a.flags = 0, a.subtreeFlags = 0, a.deletions = null), a.flags = t.flags & 65011712, a.childLanes = t.childLanes, a.lanes = t.lanes, a.child = t.child, a.memoizedProps = t.memoizedProps, a.memoizedState = t.memoizedState, a.updateQueue = t.updateQueue, l = t.dependencies, a.dependencies = l === null ? null : {
        lanes: l.lanes,
        firstContext: l.firstContext
      }, a.sibling = t.sibling, a.index = t.index, a.ref = t.ref, a.refCleanup = t.refCleanup, a;
    }
    function Wo(t, l) {
      t.flags &= 65011714;
      var a = t.alternate;
      return a === null ? (t.childLanes = 0, t.lanes = l, t.child = null, t.subtreeFlags = 0, t.memoizedProps = null, t.memoizedState = null, t.updateQueue = null, t.dependencies = null, t.stateNode = null) : (t.childLanes = a.childLanes, t.lanes = a.lanes, t.child = a.child, t.subtreeFlags = 0, t.deletions = null, t.memoizedProps = a.memoizedProps, t.memoizedState = a.memoizedState, t.updateQueue = a.updateQueue, t.type = a.type, l = a.dependencies, t.dependencies = l === null ? null : {
        lanes: l.lanes,
        firstContext: l.firstContext
      }), t;
    }
    function pn(t, l, a, u, e, n) {
      var i = 0;
      if (u = t, typeof t == "function") lc(t) && (i = 1);
      else if (typeof t == "string") i = Nv(t, a, G.current) ? 26 : t === "html" || t === "head" || t === "body" ? 27 : 5;
      else t: switch (t) {
        case L:
          return t = jl(31, a, l, e), t.elementType = L, t.lanes = n, t;
        case wt:
          return cu(a.children, e, n, l);
        case gl:
          i = 8, e |= 24;
          break;
        case nl:
          return t = jl(12, a, l, e | 2), t.elementType = nl, t.lanes = n, t;
        case Tl:
          return t = jl(13, a, l, e), t.elementType = Tl, t.lanes = n, t;
        case ol:
          return t = jl(19, a, l, e), t.elementType = ol, t.lanes = n, t;
        default:
          if (typeof t == "object" && t !== null) switch (t.$$typeof) {
            case Zt:
              i = 10;
              break t;
            case _l:
              i = 9;
              break t;
            case il:
              i = 11;
              break t;
            case ct:
              i = 14;
              break t;
            case sl:
              i = 16, u = null;
              break t;
          }
          i = 29, a = Error(y(130, t === null ? "null" : typeof t, "")), u = null;
      }
      return l = jl(i, a, l, e), l.elementType = t, l.type = u, l.lanes = n, l;
    }
    function cu(t, l, a, u) {
      return t = jl(7, t, u, l), t.lanes = a, t;
    }
    function ac(t, l, a) {
      return t = jl(6, t, null, l), t.lanes = a, t;
    }
    function $o(t) {
      var l = jl(18, null, null, 0);
      return l.stateNode = t, l;
    }
    function uc(t, l, a) {
      return l = jl(4, t.children !== null ? t.children : [], t.key, l), l.lanes = a, l.stateNode = {
        containerInfo: t.containerInfo,
        pendingChildren: null,
        implementation: t.implementation
      }, l;
    }
    var Fo = /* @__PURE__ */ new WeakMap();
    function Kl(t, l) {
      if (typeof t == "object" && t !== null) {
        var a = Fo.get(t);
        return a !== void 0 ? a : (l = {
          value: t,
          source: l,
          stack: nn(l)
        }, Fo.set(t, l), l);
      }
      return {
        value: t,
        source: l,
        stack: nn(l)
      };
    }
    var Hu = [], qu = 0, On = null, Te = 0, Jl = [], Wl = 0, Na = null, ea = 1, na = "";
    function va(t, l) {
      Hu[qu++] = Te, Hu[qu++] = On, On = t, Te = l;
    }
    function ko(t, l, a) {
      Jl[Wl++] = ea, Jl[Wl++] = na, Jl[Wl++] = Na, Na = t;
      var u = ea;
      t = na;
      var e = 32 - o(u) - 1;
      u &= ~(1 << e), a += 1;
      var n = 32 - o(l) + e;
      if (30 < n) {
        var i = e - e % 5;
        n = (u & (1 << i) - 1).toString(32), u >>= i, e -= i, ea = 1 << 32 - o(l) + e | a << e | u, na = n + t;
      } else ea = 1 << n | a << e | u, na = t;
    }
    function ec(t) {
      t.return !== null && (va(t, 1), ko(t, 1, 0));
    }
    function nc(t) {
      for (; t === On; ) On = Hu[--qu], Hu[qu] = null, Te = Hu[--qu], Hu[qu] = null;
      for (; t === Na; ) Na = Jl[--Wl], Jl[Wl] = null, na = Jl[--Wl], Jl[Wl] = null, ea = Jl[--Wl], Jl[Wl] = null;
    }
    function Io(t, l) {
      Jl[Wl++] = ea, Jl[Wl++] = na, Jl[Wl++] = Na, ea = l.id, na = l.overflow, Na = t;
    }
    var vl = null, Xt = null, St = false, Ca = null, $l = false, ic = Error(y(519));
    function Ha(t) {
      var l = Error(y(418, 1 < arguments.length && arguments[1] !== void 0 && arguments[1] ? "text" : "HTML", ""));
      throw Ae(Kl(l, t)), ic;
    }
    function Po(t) {
      var l = t.stateNode, a = t.type, u = t.memoizedProps;
      switch (l[Jt] = t, l[tl] = u, a) {
        case "dialog":
          vt("cancel", l), vt("close", l);
          break;
        case "iframe":
        case "object":
        case "embed":
          vt("load", l);
          break;
        case "video":
        case "audio":
          for (a = 0; a < we.length; a++) vt(we[a], l);
          break;
        case "source":
          vt("error", l);
          break;
        case "img":
        case "image":
        case "link":
          vt("error", l), vt("load", l);
          break;
        case "details":
          vt("toggle", l);
          break;
        case "input":
          vt("invalid", l), ro(l, u.value, u.defaultValue, u.checked, u.defaultChecked, u.type, u.name, true);
          break;
        case "select":
          vt("invalid", l);
          break;
        case "textarea":
          vt("invalid", l), vo(l, u.value, u.defaultValue, u.children);
      }
      a = u.children, typeof a != "string" && typeof a != "number" && typeof a != "bigint" || l.textContent === "" + a || u.suppressHydrationWarning === true || md(l.textContent, a) ? (u.popover != null && (vt("beforetoggle", l), vt("toggle", l)), u.onScroll != null && vt("scroll", l), u.onScrollEnd != null && vt("scrollend", l), u.onClick != null && (l.onclick = ra), l = true) : l = false, l || Ha(t, true);
    }
    function ts(t) {
      for (vl = t.return; vl; ) switch (vl.tag) {
        case 5:
        case 31:
        case 13:
          $l = false;
          return;
        case 27:
        case 3:
          $l = true;
          return;
        default:
          vl = vl.return;
      }
    }
    function Bu(t) {
      if (t !== vl) return false;
      if (!St) return ts(t), St = true, false;
      var l = t.tag, a;
      if ((a = l !== 3 && l !== 27) && ((a = l === 5) && (a = t.type, a = !(a !== "form" && a !== "button") || pf(t.type, t.memoizedProps)), a = !a), a && Xt && Ha(t), ts(t), l === 13) {
        if (t = t.memoizedState, t = t !== null ? t.dehydrated : null, !t) throw Error(y(317));
        Xt = pd(t);
      } else if (l === 31) {
        if (t = t.memoizedState, t = t !== null ? t.dehydrated : null, !t) throw Error(y(317));
        Xt = pd(t);
      } else l === 27 ? (l = Xt, Ja(t.type) ? (t = Uf, Uf = null, Xt = t) : Xt = l) : Xt = vl ? kl(t.stateNode.nextSibling) : null;
      return true;
    }
    function fu() {
      Xt = vl = null, St = false;
    }
    function cc() {
      var t = Ca;
      return t !== null && (Hl === null ? Hl = t : Hl.push.apply(Hl, t), Ca = null), t;
    }
    function Ae(t) {
      Ca === null ? Ca = [
        t
      ] : Ca.push(t);
    }
    var fc = v(null), ou = null, ya = null;
    function qa(t, l, a) {
      B(fc, l._currentValue), l._currentValue = a;
    }
    function ma(t) {
      t._currentValue = fc.current, R(fc);
    }
    function oc(t, l, a) {
      for (; t !== null; ) {
        var u = t.alternate;
        if ((t.childLanes & l) !== l ? (t.childLanes |= l, u !== null && (u.childLanes |= l)) : u !== null && (u.childLanes & l) !== l && (u.childLanes |= l), t === a) break;
        t = t.return;
      }
    }
    function sc(t, l, a, u) {
      var e = t.child;
      for (e !== null && (e.return = t); e !== null; ) {
        var n = e.dependencies;
        if (n !== null) {
          var i = e.child;
          n = n.firstContext;
          t: for (; n !== null; ) {
            var f = n;
            n = e;
            for (var d = 0; d < l.length; d++) if (f.context === l[d]) {
              n.lanes |= a, f = n.alternate, f !== null && (f.lanes |= a), oc(n.return, a, t), u || (i = null);
              break t;
            }
            n = f.next;
          }
        } else if (e.tag === 18) {
          if (i = e.return, i === null) throw Error(y(341));
          i.lanes |= a, n = i.alternate, n !== null && (n.lanes |= a), oc(i, a, t), i = null;
        } else i = e.child;
        if (i !== null) i.return = e;
        else for (i = e; i !== null; ) {
          if (i === t) {
            i = null;
            break;
          }
          if (e = i.sibling, e !== null) {
            e.return = i.return, i = e;
            break;
          }
          i = i.return;
        }
        e = i;
      }
    }
    function Yu(t, l, a, u) {
      t = null;
      for (var e = l, n = false; e !== null; ) {
        if (!n) {
          if ((e.flags & 524288) !== 0) n = true;
          else if ((e.flags & 262144) !== 0) break;
        }
        if (e.tag === 10) {
          var i = e.alternate;
          if (i === null) throw Error(y(387));
          if (i = i.memoizedProps, i !== null) {
            var f = e.type;
            Yl(e.pendingProps.value, i.value) || (t !== null ? t.push(f) : t = [
              f
            ]);
          }
        } else if (e === st.current) {
          if (i = e.alternate, i === null) throw Error(y(387));
          i.memoizedState.memoizedState !== e.memoizedState.memoizedState && (t !== null ? t.push(Fe) : t = [
            Fe
          ]);
        }
        e = e.return;
      }
      t !== null && sc(l, t, a, u), l.flags |= 262144;
    }
    function Mn(t) {
      for (t = t.firstContext; t !== null; ) {
        if (!Yl(t.context._currentValue, t.memoizedValue)) return true;
        t = t.next;
      }
      return false;
    }
    function su(t) {
      ou = t, ya = null, t = t.dependencies, t !== null && (t.firstContext = null);
    }
    function yl(t) {
      return ls(ou, t);
    }
    function Rn(t, l) {
      return ou === null && su(t), ls(t, l);
    }
    function ls(t, l) {
      var a = l._currentValue;
      if (l = {
        context: l,
        memoizedValue: a,
        next: null
      }, ya === null) {
        if (t === null) throw Error(y(308));
        ya = l, t.dependencies = {
          lanes: 0,
          firstContext: l
        }, t.flags |= 524288;
      } else ya = ya.next = l;
      return a;
    }
    var Mh = typeof AbortController < "u" ? AbortController : function() {
      var t = [], l = this.signal = {
        aborted: false,
        addEventListener: function(a, u) {
          t.push(u);
        }
      };
      this.abort = function() {
        l.aborted = true, t.forEach(function(a) {
          return a();
        });
      };
    }, Rh = s.unstable_scheduleCallback, Dh = s.unstable_NormalPriority, ll = {
      $$typeof: Zt,
      Consumer: null,
      Provider: null,
      _currentValue: null,
      _currentValue2: null,
      _threadCount: 0
    };
    function rc() {
      return {
        controller: new Mh(),
        data: /* @__PURE__ */ new Map(),
        refCount: 0
      };
    }
    function ze(t) {
      t.refCount--, t.refCount === 0 && Rh(Dh, function() {
        t.controller.abort();
      });
    }
    var pe = null, dc = 0, ju = 0, Gu = null;
    function Uh(t, l) {
      if (pe === null) {
        var a = pe = [];
        dc = 0, ju = mf(), Gu = {
          status: "pending",
          value: void 0,
          then: function(u) {
            a.push(u);
          }
        };
      }
      return dc++, l.then(as, as), l;
    }
    function as() {
      if (--dc === 0 && pe !== null) {
        Gu !== null && (Gu.status = "fulfilled");
        var t = pe;
        pe = null, ju = 0, Gu = null;
        for (var l = 0; l < t.length; l++) (0, t[l])();
      }
    }
    function Nh(t, l) {
      var a = [], u = {
        status: "pending",
        value: null,
        reason: null,
        then: function(e) {
          a.push(e);
        }
      };
      return t.then(function() {
        u.status = "fulfilled", u.value = l;
        for (var e = 0; e < a.length; e++) (0, a[e])(l);
      }, function(e) {
        for (u.status = "rejected", u.reason = e, e = 0; e < a.length; e++) (0, a[e])(void 0);
      }), u;
    }
    var us = p.S;
    p.S = function(t, l) {
      Qr = zl(), typeof l == "object" && l !== null && typeof l.then == "function" && Uh(t, l), us !== null && us(t, l);
    };
    var ru = v(null);
    function hc() {
      var t = ru.current;
      return t !== null ? t : Bt.pooledCache;
    }
    function Dn(t, l) {
      l === null ? B(ru, ru.current) : B(ru, l.pool);
    }
    function es() {
      var t = hc();
      return t === null ? null : {
        parent: ll._currentValue,
        pool: t
      };
    }
    var Xu = Error(y(460)), vc = Error(y(474)), Un = Error(y(542)), Nn = {
      then: function() {
      }
    };
    function ns(t) {
      return t = t.status, t === "fulfilled" || t === "rejected";
    }
    function is(t, l, a) {
      switch (a = t[a], a === void 0 ? t.push(l) : a !== l && (l.then(ra, ra), l = a), l.status) {
        case "fulfilled":
          return l.value;
        case "rejected":
          throw t = l.reason, fs(t), t;
        default:
          if (typeof l.status == "string") l.then(ra, ra);
          else {
            if (t = Bt, t !== null && 100 < t.shellSuspendCounter) throw Error(y(482));
            t = l, t.status = "pending", t.then(function(u) {
              if (l.status === "pending") {
                var e = l;
                e.status = "fulfilled", e.value = u;
              }
            }, function(u) {
              if (l.status === "pending") {
                var e = l;
                e.status = "rejected", e.reason = u;
              }
            });
          }
          switch (l.status) {
            case "fulfilled":
              return l.value;
            case "rejected":
              throw t = l.reason, fs(t), t;
          }
          throw hu = l, Xu;
      }
    }
    function du(t) {
      try {
        var l = t._init;
        return l(t._payload);
      } catch (a) {
        throw a !== null && typeof a == "object" && typeof a.then == "function" ? (hu = a, Xu) : a;
      }
    }
    var hu = null;
    function cs() {
      if (hu === null) throw Error(y(459));
      var t = hu;
      return hu = null, t;
    }
    function fs(t) {
      if (t === Xu || t === Un) throw Error(y(483));
    }
    var Qu = null, Oe = 0;
    function Cn(t) {
      var l = Oe;
      return Oe += 1, Qu === null && (Qu = []), is(Qu, t, l);
    }
    function Me(t, l) {
      l = l.props.ref, t.ref = l !== void 0 ? l : null;
    }
    function Hn(t, l) {
      throw l.$$typeof === ut ? Error(y(525)) : (t = Object.prototype.toString.call(l), Error(y(31, t === "[object Object]" ? "object with keys {" + Object.keys(l).join(", ") + "}" : t)));
    }
    function os(t) {
      function l(S, m) {
        if (t) {
          var _ = S.deletions;
          _ === null ? (S.deletions = [
            m
          ], S.flags |= 16) : _.push(m);
        }
      }
      function a(S, m) {
        if (!t) return null;
        for (; m !== null; ) l(S, m), m = m.sibling;
        return null;
      }
      function u(S) {
        for (var m = /* @__PURE__ */ new Map(); S !== null; ) S.key !== null ? m.set(S.key, S) : m.set(S.index, S), S = S.sibling;
        return m;
      }
      function e(S, m) {
        return S = ha(S, m), S.index = 0, S.sibling = null, S;
      }
      function n(S, m, _) {
        return S.index = _, t ? (_ = S.alternate, _ !== null ? (_ = _.index, _ < m ? (S.flags |= 67108866, m) : _) : (S.flags |= 67108866, m)) : (S.flags |= 1048576, m);
      }
      function i(S) {
        return t && S.alternate === null && (S.flags |= 67108866), S;
      }
      function f(S, m, _, D) {
        return m === null || m.tag !== 6 ? (m = ac(_, S.mode, D), m.return = S, m) : (m = e(m, _), m.return = S, m);
      }
      function d(S, m, _, D) {
        var k = _.type;
        return k === wt ? M(S, m, _.props.children, D, _.key) : m !== null && (m.elementType === k || typeof k == "object" && k !== null && k.$$typeof === sl && du(k) === m.type) ? (m = e(m, _.props), Me(m, _), m.return = S, m) : (m = pn(_.type, _.key, _.props, null, S.mode, D), Me(m, _), m.return = S, m);
      }
      function b(S, m, _, D) {
        return m === null || m.tag !== 4 || m.stateNode.containerInfo !== _.containerInfo || m.stateNode.implementation !== _.implementation ? (m = uc(_, S.mode, D), m.return = S, m) : (m = e(m, _.children || []), m.return = S, m);
      }
      function M(S, m, _, D, k) {
        return m === null || m.tag !== 7 ? (m = cu(_, S.mode, D, k), m.return = S, m) : (m = e(m, _), m.return = S, m);
      }
      function N(S, m, _) {
        if (typeof m == "string" && m !== "" || typeof m == "number" || typeof m == "bigint") return m = ac("" + m, S.mode, _), m.return = S, m;
        if (typeof m == "object" && m !== null) {
          switch (m.$$typeof) {
            case Yt:
              return _ = pn(m.type, m.key, m.props, null, S.mode, _), Me(_, m), _.return = S, _;
            case Wt:
              return m = uc(m, S.mode, _), m.return = S, m;
            case sl:
              return m = du(m), N(S, m, _);
          }
          if (Vt(m) || Ot(m)) return m = cu(m, S.mode, _, null), m.return = S, m;
          if (typeof m.then == "function") return N(S, Cn(m), _);
          if (m.$$typeof === Zt) return N(S, Rn(S, m), _);
          Hn(S, m);
        }
        return null;
      }
      function T(S, m, _, D) {
        var k = m !== null ? m.key : null;
        if (typeof _ == "string" && _ !== "" || typeof _ == "number" || typeof _ == "bigint") return k !== null ? null : f(S, m, "" + _, D);
        if (typeof _ == "object" && _ !== null) {
          switch (_.$$typeof) {
            case Yt:
              return _.key === k ? d(S, m, _, D) : null;
            case Wt:
              return _.key === k ? b(S, m, _, D) : null;
            case sl:
              return _ = du(_), T(S, m, _, D);
          }
          if (Vt(_) || Ot(_)) return k !== null ? null : M(S, m, _, D, null);
          if (typeof _.then == "function") return T(S, m, Cn(_), D);
          if (_.$$typeof === Zt) return T(S, m, Rn(S, _), D);
          Hn(S, _);
        }
        return null;
      }
      function z(S, m, _, D, k) {
        if (typeof D == "string" && D !== "" || typeof D == "number" || typeof D == "bigint") return S = S.get(_) || null, f(m, S, "" + D, k);
        if (typeof D == "object" && D !== null) {
          switch (D.$$typeof) {
            case Yt:
              return S = S.get(D.key === null ? _ : D.key) || null, d(m, S, D, k);
            case Wt:
              return S = S.get(D.key === null ? _ : D.key) || null, b(m, S, D, k);
            case sl:
              return D = du(D), z(S, m, _, D, k);
          }
          if (Vt(D) || Ot(D)) return S = S.get(_) || null, M(m, S, D, k, null);
          if (typeof D.then == "function") return z(S, m, _, Cn(D), k);
          if (D.$$typeof === Zt) return z(S, m, _, Rn(m, D), k);
          Hn(m, D);
        }
        return null;
      }
      function x(S, m, _, D) {
        for (var k = null, At = null, K = m, rt = m = 0, mt = null; K !== null && rt < _.length; rt++) {
          K.index > rt ? (mt = K, K = null) : mt = K.sibling;
          var zt = T(S, K, _[rt], D);
          if (zt === null) {
            K === null && (K = mt);
            break;
          }
          t && K && zt.alternate === null && l(S, K), m = n(zt, m, rt), At === null ? k = zt : At.sibling = zt, At = zt, K = mt;
        }
        if (rt === _.length) return a(S, K), St && va(S, rt), k;
        if (K === null) {
          for (; rt < _.length; rt++) K = N(S, _[rt], D), K !== null && (m = n(K, m, rt), At === null ? k = K : At.sibling = K, At = K);
          return St && va(S, rt), k;
        }
        for (K = u(K); rt < _.length; rt++) mt = z(K, S, rt, _[rt], D), mt !== null && (t && mt.alternate !== null && K.delete(mt.key === null ? rt : mt.key), m = n(mt, m, rt), At === null ? k = mt : At.sibling = mt, At = mt);
        return t && K.forEach(function(Ia) {
          return l(S, Ia);
        }), St && va(S, rt), k;
      }
      function at(S, m, _, D) {
        if (_ == null) throw Error(y(151));
        for (var k = null, At = null, K = m, rt = m = 0, mt = null, zt = _.next(); K !== null && !zt.done; rt++, zt = _.next()) {
          K.index > rt ? (mt = K, K = null) : mt = K.sibling;
          var Ia = T(S, K, zt.value, D);
          if (Ia === null) {
            K === null && (K = mt);
            break;
          }
          t && K && Ia.alternate === null && l(S, K), m = n(Ia, m, rt), At === null ? k = Ia : At.sibling = Ia, At = Ia, K = mt;
        }
        if (zt.done) return a(S, K), St && va(S, rt), k;
        if (K === null) {
          for (; !zt.done; rt++, zt = _.next()) zt = N(S, zt.value, D), zt !== null && (m = n(zt, m, rt), At === null ? k = zt : At.sibling = zt, At = zt);
          return St && va(S, rt), k;
        }
        for (K = u(K); !zt.done; rt++, zt = _.next()) zt = z(K, S, rt, zt.value, D), zt !== null && (t && zt.alternate !== null && K.delete(zt.key === null ? rt : zt.key), m = n(zt, m, rt), At === null ? k = zt : At.sibling = zt, At = zt);
        return t && K.forEach(function(xv) {
          return l(S, xv);
        }), St && va(S, rt), k;
      }
      function Ht(S, m, _, D) {
        if (typeof _ == "object" && _ !== null && _.type === wt && _.key === null && (_ = _.props.children), typeof _ == "object" && _ !== null) {
          switch (_.$$typeof) {
            case Yt:
              t: {
                for (var k = _.key; m !== null; ) {
                  if (m.key === k) {
                    if (k = _.type, k === wt) {
                      if (m.tag === 7) {
                        a(S, m.sibling), D = e(m, _.props.children), D.return = S, S = D;
                        break t;
                      }
                    } else if (m.elementType === k || typeof k == "object" && k !== null && k.$$typeof === sl && du(k) === m.type) {
                      a(S, m.sibling), D = e(m, _.props), Me(D, _), D.return = S, S = D;
                      break t;
                    }
                    a(S, m);
                    break;
                  } else l(S, m);
                  m = m.sibling;
                }
                _.type === wt ? (D = cu(_.props.children, S.mode, D, _.key), D.return = S, S = D) : (D = pn(_.type, _.key, _.props, null, S.mode, D), Me(D, _), D.return = S, S = D);
              }
              return i(S);
            case Wt:
              t: {
                for (k = _.key; m !== null; ) {
                  if (m.key === k) if (m.tag === 4 && m.stateNode.containerInfo === _.containerInfo && m.stateNode.implementation === _.implementation) {
                    a(S, m.sibling), D = e(m, _.children || []), D.return = S, S = D;
                    break t;
                  } else {
                    a(S, m);
                    break;
                  }
                  else l(S, m);
                  m = m.sibling;
                }
                D = uc(_, S.mode, D), D.return = S, S = D;
              }
              return i(S);
            case sl:
              return _ = du(_), Ht(S, m, _, D);
          }
          if (Vt(_)) return x(S, m, _, D);
          if (Ot(_)) {
            if (k = Ot(_), typeof k != "function") throw Error(y(150));
            return _ = k.call(_), at(S, m, _, D);
          }
          if (typeof _.then == "function") return Ht(S, m, Cn(_), D);
          if (_.$$typeof === Zt) return Ht(S, m, Rn(S, _), D);
          Hn(S, _);
        }
        return typeof _ == "string" && _ !== "" || typeof _ == "number" || typeof _ == "bigint" ? (_ = "" + _, m !== null && m.tag === 6 ? (a(S, m.sibling), D = e(m, _), D.return = S, S = D) : (a(S, m), D = ac(_, S.mode, D), D.return = S, S = D), i(S)) : a(S, m);
      }
      return function(S, m, _, D) {
        try {
          Oe = 0;
          var k = Ht(S, m, _, D);
          return Qu = null, k;
        } catch (K) {
          if (K === Xu || K === Un) throw K;
          var At = jl(29, K, null, S.mode);
          return At.lanes = D, At.return = S, At;
        }
      };
    }
    var vu = os(true), ss = os(false), Ba = false;
    function yc(t) {
      t.updateQueue = {
        baseState: t.memoizedState,
        firstBaseUpdate: null,
        lastBaseUpdate: null,
        shared: {
          pending: null,
          lanes: 0,
          hiddenCallbacks: null
        },
        callbacks: null
      };
    }
    function mc(t, l) {
      t = t.updateQueue, l.updateQueue === t && (l.updateQueue = {
        baseState: t.baseState,
        firstBaseUpdate: t.firstBaseUpdate,
        lastBaseUpdate: t.lastBaseUpdate,
        shared: t.shared,
        callbacks: null
      });
    }
    function Ya(t) {
      return {
        lane: t,
        tag: 0,
        payload: null,
        callback: null,
        next: null
      };
    }
    function ja(t, l, a) {
      var u = t.updateQueue;
      if (u === null) return null;
      if (u = u.shared, (pt & 2) !== 0) {
        var e = u.pending;
        return e === null ? l.next = l : (l.next = e.next, e.next = l), u.pending = l, l = zn(t), Jo(t, null, a), l;
      }
      return An(t, u, l, a), zn(t);
    }
    function Re(t, l, a) {
      if (l = l.updateQueue, l !== null && (l = l.shared, (a & 4194048) !== 0)) {
        var u = l.lanes;
        u &= t.pendingLanes, a |= u, l.lanes = a, _u(t, a);
      }
    }
    function Sc(t, l) {
      var a = t.updateQueue, u = t.alternate;
      if (u !== null && (u = u.updateQueue, a === u)) {
        var e = null, n = null;
        if (a = a.firstBaseUpdate, a !== null) {
          do {
            var i = {
              lane: a.lane,
              tag: a.tag,
              payload: a.payload,
              callback: null,
              next: null
            };
            n === null ? e = n = i : n = n.next = i, a = a.next;
          } while (a !== null);
          n === null ? e = n = l : n = n.next = l;
        } else e = n = l;
        a = {
          baseState: u.baseState,
          firstBaseUpdate: e,
          lastBaseUpdate: n,
          shared: u.shared,
          callbacks: u.callbacks
        }, t.updateQueue = a;
        return;
      }
      t = a.lastBaseUpdate, t === null ? a.firstBaseUpdate = l : t.next = l, a.lastBaseUpdate = l;
    }
    var gc = false;
    function De() {
      if (gc) {
        var t = Gu;
        if (t !== null) throw t;
      }
    }
    function Ue(t, l, a, u) {
      gc = false;
      var e = t.updateQueue;
      Ba = false;
      var n = e.firstBaseUpdate, i = e.lastBaseUpdate, f = e.shared.pending;
      if (f !== null) {
        e.shared.pending = null;
        var d = f, b = d.next;
        d.next = null, i === null ? n = b : i.next = b, i = d;
        var M = t.alternate;
        M !== null && (M = M.updateQueue, f = M.lastBaseUpdate, f !== i && (f === null ? M.firstBaseUpdate = b : f.next = b, M.lastBaseUpdate = d));
      }
      if (n !== null) {
        var N = e.baseState;
        i = 0, M = b = d = null, f = n;
        do {
          var T = f.lane & -536870913, z = T !== f.lane;
          if (z ? (yt & T) === T : (u & T) === T) {
            T !== 0 && T === ju && (gc = true), M !== null && (M = M.next = {
              lane: 0,
              tag: f.tag,
              payload: f.payload,
              callback: null,
              next: null
            });
            t: {
              var x = t, at = f;
              T = l;
              var Ht = a;
              switch (at.tag) {
                case 1:
                  if (x = at.payload, typeof x == "function") {
                    N = x.call(Ht, N, T);
                    break t;
                  }
                  N = x;
                  break t;
                case 3:
                  x.flags = x.flags & -65537 | 128;
                case 0:
                  if (x = at.payload, T = typeof x == "function" ? x.call(Ht, N, T) : x, T == null) break t;
                  N = Q({}, N, T);
                  break t;
                case 2:
                  Ba = true;
              }
            }
            T = f.callback, T !== null && (t.flags |= 64, z && (t.flags |= 8192), z = e.callbacks, z === null ? e.callbacks = [
              T
            ] : z.push(T));
          } else z = {
            lane: T,
            tag: f.tag,
            payload: f.payload,
            callback: f.callback,
            next: null
          }, M === null ? (b = M = z, d = N) : M = M.next = z, i |= T;
          if (f = f.next, f === null) {
            if (f = e.shared.pending, f === null) break;
            z = f, f = z.next, z.next = null, e.lastBaseUpdate = z, e.shared.pending = null;
          }
        } while (true);
        M === null && (d = N), e.baseState = d, e.firstBaseUpdate = b, e.lastBaseUpdate = M, n === null && (e.shared.lanes = 0), xa |= i, t.lanes = i, t.memoizedState = N;
      }
    }
    function rs(t, l) {
      if (typeof t != "function") throw Error(y(191, t));
      t.call(l);
    }
    function ds(t, l) {
      var a = t.callbacks;
      if (a !== null) for (t.callbacks = null, t = 0; t < a.length; t++) rs(a[t], l);
    }
    var Zu = v(null), qn = v(0);
    function hs(t, l) {
      t = pa, B(qn, t), B(Zu, l), pa = t | l.baseLanes;
    }
    function _c() {
      B(qn, pa), B(Zu, Zu.current);
    }
    function Ec() {
      pa = qn.current, R(Zu), R(qn);
    }
    var Gl = v(null), Fl = null;
    function Ga(t) {
      var l = t.alternate;
      B(It, It.current & 1), B(Gl, t), Fl === null && (l === null || Zu.current !== null || l.memoizedState !== null) && (Fl = t);
    }
    function bc(t) {
      B(It, It.current), B(Gl, t), Fl === null && (Fl = t);
    }
    function vs(t) {
      t.tag === 22 ? (B(It, It.current), B(Gl, t), Fl === null && (Fl = t)) : Xa();
    }
    function Xa() {
      B(It, It.current), B(Gl, Gl.current);
    }
    function Xl(t) {
      R(Gl), Fl === t && (Fl = null), R(It);
    }
    var It = v(0);
    function Bn(t) {
      for (var l = t; l !== null; ) {
        if (l.tag === 13) {
          var a = l.memoizedState;
          if (a !== null && (a = a.dehydrated, a === null || Rf(a) || Df(a))) return l;
        } else if (l.tag === 19 && (l.memoizedProps.revealOrder === "forwards" || l.memoizedProps.revealOrder === "backwards" || l.memoizedProps.revealOrder === "unstable_legacy-backwards" || l.memoizedProps.revealOrder === "together")) {
          if ((l.flags & 128) !== 0) return l;
        } else if (l.child !== null) {
          l.child.return = l, l = l.child;
          continue;
        }
        if (l === t) break;
        for (; l.sibling === null; ) {
          if (l.return === null || l.return === t) return null;
          l = l.return;
        }
        l.sibling.return = l.return, l = l.sibling;
      }
      return null;
    }
    var Sa = 0, ot = null, Nt = null, al = null, Yn = false, xu = false, yu = false, jn = 0, Ne = 0, Vu = null, Ch = 0;
    function $t() {
      throw Error(y(321));
    }
    function Tc(t, l) {
      if (l === null) return false;
      for (var a = 0; a < l.length && a < t.length; a++) if (!Yl(t[a], l[a])) return false;
      return true;
    }
    function Ac(t, l, a, u, e, n) {
      return Sa = n, ot = l, l.memoizedState = null, l.updateQueue = null, l.lanes = 0, p.H = t === null || t.memoizedState === null ? ks : Gc, yu = false, n = a(u, e), yu = false, xu && (n = ms(l, a, u, e)), ys(t), n;
    }
    function ys(t) {
      p.H = qe;
      var l = Nt !== null && Nt.next !== null;
      if (Sa = 0, al = Nt = ot = null, Yn = false, Ne = 0, Vu = null, l) throw Error(y(300));
      t === null || ul || (t = t.dependencies, t !== null && Mn(t) && (ul = true));
    }
    function ms(t, l, a, u) {
      ot = t;
      var e = 0;
      do {
        if (xu && (Vu = null), Ne = 0, xu = false, 25 <= e) throw Error(y(301));
        if (e += 1, al = Nt = null, t.updateQueue != null) {
          var n = t.updateQueue;
          n.lastEffect = null, n.events = null, n.stores = null, n.memoCache != null && (n.memoCache.index = 0);
        }
        p.H = Is, n = l(a, u);
      } while (xu);
      return n;
    }
    function Hh() {
      var t = p.H, l = t.useState()[0];
      return l = typeof l.then == "function" ? Ce(l) : l, t = t.useState()[0], (Nt !== null ? Nt.memoizedState : null) !== t && (ot.flags |= 1024), l;
    }
    function zc() {
      var t = jn !== 0;
      return jn = 0, t;
    }
    function pc(t, l, a) {
      l.updateQueue = t.updateQueue, l.flags &= -2053, t.lanes &= ~a;
    }
    function Oc(t) {
      if (Yn) {
        for (t = t.memoizedState; t !== null; ) {
          var l = t.queue;
          l !== null && (l.pending = null), t = t.next;
        }
        Yn = false;
      }
      Sa = 0, al = Nt = ot = null, xu = false, Ne = jn = 0, Vu = null;
    }
    function Ml() {
      var t = {
        memoizedState: null,
        baseState: null,
        baseQueue: null,
        queue: null,
        next: null
      };
      return al === null ? ot.memoizedState = al = t : al = al.next = t, al;
    }
    function Pt() {
      if (Nt === null) {
        var t = ot.alternate;
        t = t !== null ? t.memoizedState : null;
      } else t = Nt.next;
      var l = al === null ? ot.memoizedState : al.next;
      if (l !== null) al = l, Nt = t;
      else {
        if (t === null) throw ot.alternate === null ? Error(y(467)) : Error(y(310));
        Nt = t, t = {
          memoizedState: Nt.memoizedState,
          baseState: Nt.baseState,
          baseQueue: Nt.baseQueue,
          queue: Nt.queue,
          next: null
        }, al === null ? ot.memoizedState = al = t : al = al.next = t;
      }
      return al;
    }
    function Gn() {
      return {
        lastEffect: null,
        events: null,
        stores: null,
        memoCache: null
      };
    }
    function Ce(t) {
      var l = Ne;
      return Ne += 1, Vu === null && (Vu = []), t = is(Vu, t, l), l = ot, (al === null ? l.memoizedState : al.next) === null && (l = l.alternate, p.H = l === null || l.memoizedState === null ? ks : Gc), t;
    }
    function Xn(t) {
      if (t !== null && typeof t == "object") {
        if (typeof t.then == "function") return Ce(t);
        if (t.$$typeof === Zt) return yl(t);
      }
      throw Error(y(438, String(t)));
    }
    function Mc(t) {
      var l = null, a = ot.updateQueue;
      if (a !== null && (l = a.memoCache), l == null) {
        var u = ot.alternate;
        u !== null && (u = u.updateQueue, u !== null && (u = u.memoCache, u != null && (l = {
          data: u.data.map(function(e) {
            return e.slice();
          }),
          index: 0
        })));
      }
      if (l == null && (l = {
        data: [],
        index: 0
      }), a === null && (a = Gn(), ot.updateQueue = a), a.memoCache = l, a = l.data[l.index], a === void 0) for (a = l.data[l.index] = Array(t), u = 0; u < t; u++) a[u] = qt;
      return l.index++, a;
    }
    function ga(t, l) {
      return typeof l == "function" ? l(t) : l;
    }
    function Qn(t) {
      var l = Pt();
      return Rc(l, Nt, t);
    }
    function Rc(t, l, a) {
      var u = t.queue;
      if (u === null) throw Error(y(311));
      u.lastRenderedReducer = a;
      var e = t.baseQueue, n = u.pending;
      if (n !== null) {
        if (e !== null) {
          var i = e.next;
          e.next = n.next, n.next = i;
        }
        l.baseQueue = e = n, u.pending = null;
      }
      if (n = t.baseState, e === null) t.memoizedState = n;
      else {
        l = e.next;
        var f = i = null, d = null, b = l, M = false;
        do {
          var N = b.lane & -536870913;
          if (N !== b.lane ? (yt & N) === N : (Sa & N) === N) {
            var T = b.revertLane;
            if (T === 0) d !== null && (d = d.next = {
              lane: 0,
              revertLane: 0,
              gesture: null,
              action: b.action,
              hasEagerState: b.hasEagerState,
              eagerState: b.eagerState,
              next: null
            }), N === ju && (M = true);
            else if ((Sa & T) === T) {
              b = b.next, T === ju && (M = true);
              continue;
            } else N = {
              lane: 0,
              revertLane: b.revertLane,
              gesture: null,
              action: b.action,
              hasEagerState: b.hasEagerState,
              eagerState: b.eagerState,
              next: null
            }, d === null ? (f = d = N, i = n) : d = d.next = N, ot.lanes |= T, xa |= T;
            N = b.action, yu && a(n, N), n = b.hasEagerState ? b.eagerState : a(n, N);
          } else T = {
            lane: N,
            revertLane: b.revertLane,
            gesture: b.gesture,
            action: b.action,
            hasEagerState: b.hasEagerState,
            eagerState: b.eagerState,
            next: null
          }, d === null ? (f = d = T, i = n) : d = d.next = T, ot.lanes |= N, xa |= N;
          b = b.next;
        } while (b !== null && b !== l);
        if (d === null ? i = n : d.next = f, !Yl(n, t.memoizedState) && (ul = true, M && (a = Gu, a !== null))) throw a;
        t.memoizedState = n, t.baseState = i, t.baseQueue = d, u.lastRenderedState = n;
      }
      return e === null && (u.lanes = 0), [
        t.memoizedState,
        u.dispatch
      ];
    }
    function Dc(t) {
      var l = Pt(), a = l.queue;
      if (a === null) throw Error(y(311));
      a.lastRenderedReducer = t;
      var u = a.dispatch, e = a.pending, n = l.memoizedState;
      if (e !== null) {
        a.pending = null;
        var i = e = e.next;
        do
          n = t(n, i.action), i = i.next;
        while (i !== e);
        Yl(n, l.memoizedState) || (ul = true), l.memoizedState = n, l.baseQueue === null && (l.baseState = n), a.lastRenderedState = n;
      }
      return [
        n,
        u
      ];
    }
    function Ss(t, l, a) {
      var u = ot, e = Pt(), n = St;
      if (n) {
        if (a === void 0) throw Error(y(407));
        a = a();
      } else a = l();
      var i = !Yl((Nt || e).memoizedState, a);
      if (i && (e.memoizedState = a, ul = true), e = e.queue, Cc(Es.bind(null, u, e, t), [
        t
      ]), e.getSnapshot !== l || i || al !== null && al.memoizedState.tag & 1) {
        if (u.flags |= 2048, Lu(9, {
          destroy: void 0
        }, _s.bind(null, u, e, a, l), null), Bt === null) throw Error(y(349));
        n || (Sa & 127) !== 0 || gs(u, l, a);
      }
      return a;
    }
    function gs(t, l, a) {
      t.flags |= 16384, t = {
        getSnapshot: l,
        value: a
      }, l = ot.updateQueue, l === null ? (l = Gn(), ot.updateQueue = l, l.stores = [
        t
      ]) : (a = l.stores, a === null ? l.stores = [
        t
      ] : a.push(t));
    }
    function _s(t, l, a, u) {
      l.value = a, l.getSnapshot = u, bs(l) && Ts(t);
    }
    function Es(t, l, a) {
      return a(function() {
        bs(l) && Ts(t);
      });
    }
    function bs(t) {
      var l = t.getSnapshot;
      t = t.value;
      try {
        var a = l();
        return !Yl(t, a);
      } catch {
        return true;
      }
    }
    function Ts(t) {
      var l = iu(t, 2);
      l !== null && ql(l, t, 2);
    }
    function Uc(t) {
      var l = Ml();
      if (typeof t == "function") {
        var a = t;
        if (t = a(), yu) {
          c(true);
          try {
            a();
          } finally {
            c(false);
          }
        }
      }
      return l.memoizedState = l.baseState = t, l.queue = {
        pending: null,
        lanes: 0,
        dispatch: null,
        lastRenderedReducer: ga,
        lastRenderedState: t
      }, l;
    }
    function As(t, l, a, u) {
      return t.baseState = a, Rc(t, Nt, typeof u == "function" ? u : ga);
    }
    function qh(t, l, a, u, e) {
      if (Vn(t)) throw Error(y(485));
      if (t = l.action, t !== null) {
        var n = {
          payload: e,
          action: t,
          next: null,
          isTransition: true,
          status: "pending",
          value: null,
          reason: null,
          listeners: [],
          then: function(i) {
            n.listeners.push(i);
          }
        };
        p.T !== null ? a(true) : n.isTransition = false, u(n), a = l.pending, a === null ? (n.next = l.pending = n, zs(l, n)) : (n.next = a.next, l.pending = a.next = n);
      }
    }
    function zs(t, l) {
      var a = l.action, u = l.payload, e = t.state;
      if (l.isTransition) {
        var n = p.T, i = {};
        p.T = i;
        try {
          var f = a(e, u), d = p.S;
          d !== null && d(i, f), ps(t, l, f);
        } catch (b) {
          Nc(t, l, b);
        } finally {
          n !== null && i.types !== null && (n.types = i.types), p.T = n;
        }
      } else try {
        n = a(e, u), ps(t, l, n);
      } catch (b) {
        Nc(t, l, b);
      }
    }
    function ps(t, l, a) {
      a !== null && typeof a == "object" && typeof a.then == "function" ? a.then(function(u) {
        Os(t, l, u);
      }, function(u) {
        return Nc(t, l, u);
      }) : Os(t, l, a);
    }
    function Os(t, l, a) {
      l.status = "fulfilled", l.value = a, Ms(l), t.state = a, l = t.pending, l !== null && (a = l.next, a === l ? t.pending = null : (a = a.next, l.next = a, zs(t, a)));
    }
    function Nc(t, l, a) {
      var u = t.pending;
      if (t.pending = null, u !== null) {
        u = u.next;
        do
          l.status = "rejected", l.reason = a, Ms(l), l = l.next;
        while (l !== u);
      }
      t.action = null;
    }
    function Ms(t) {
      t = t.listeners;
      for (var l = 0; l < t.length; l++) (0, t[l])();
    }
    function Rs(t, l) {
      return l;
    }
    function Ds(t, l) {
      if (St) {
        var a = Bt.formState;
        if (a !== null) {
          t: {
            var u = ot;
            if (St) {
              if (Xt) {
                l: {
                  for (var e = Xt, n = $l; e.nodeType !== 8; ) {
                    if (!n) {
                      e = null;
                      break l;
                    }
                    if (e = kl(e.nextSibling), e === null) {
                      e = null;
                      break l;
                    }
                  }
                  n = e.data, e = n === "F!" || n === "F" ? e : null;
                }
                if (e) {
                  Xt = kl(e.nextSibling), u = e.data === "F!";
                  break t;
                }
              }
              Ha(u);
            }
            u = false;
          }
          u && (l = a[0]);
        }
      }
      return a = Ml(), a.memoizedState = a.baseState = l, u = {
        pending: null,
        lanes: 0,
        dispatch: null,
        lastRenderedReducer: Rs,
        lastRenderedState: l
      }, a.queue = u, a = Ws.bind(null, ot, u), u.dispatch = a, u = Uc(false), n = jc.bind(null, ot, false, u.queue), u = Ml(), e = {
        state: l,
        dispatch: null,
        action: t,
        pending: null
      }, u.queue = e, a = qh.bind(null, ot, e, n, a), e.dispatch = a, u.memoizedState = t, [
        l,
        a,
        false
      ];
    }
    function Us(t) {
      var l = Pt();
      return Ns(l, Nt, t);
    }
    function Ns(t, l, a) {
      if (l = Rc(t, l, Rs)[0], t = Qn(ga)[0], typeof l == "object" && l !== null && typeof l.then == "function") try {
        var u = Ce(l);
      } catch (i) {
        throw i === Xu ? Un : i;
      }
      else u = l;
      l = Pt();
      var e = l.queue, n = e.dispatch;
      return a !== l.memoizedState && (ot.flags |= 2048, Lu(9, {
        destroy: void 0
      }, Bh.bind(null, e, a), null)), [
        u,
        n,
        t
      ];
    }
    function Bh(t, l) {
      t.action = l;
    }
    function Cs(t) {
      var l = Pt(), a = Nt;
      if (a !== null) return Ns(l, a, t);
      Pt(), l = l.memoizedState, a = Pt();
      var u = a.queue.dispatch;
      return a.memoizedState = t, [
        l,
        u,
        false
      ];
    }
    function Lu(t, l, a, u) {
      return t = {
        tag: t,
        create: a,
        deps: u,
        inst: l,
        next: null
      }, l = ot.updateQueue, l === null && (l = Gn(), ot.updateQueue = l), a = l.lastEffect, a === null ? l.lastEffect = t.next = t : (u = a.next, a.next = t, t.next = u, l.lastEffect = t), t;
    }
    function Hs() {
      return Pt().memoizedState;
    }
    function Zn(t, l, a, u) {
      var e = Ml();
      ot.flags |= t, e.memoizedState = Lu(1 | l, {
        destroy: void 0
      }, a, u === void 0 ? null : u);
    }
    function xn(t, l, a, u) {
      var e = Pt();
      u = u === void 0 ? null : u;
      var n = e.memoizedState.inst;
      Nt !== null && u !== null && Tc(u, Nt.memoizedState.deps) ? e.memoizedState = Lu(l, n, a, u) : (ot.flags |= t, e.memoizedState = Lu(1 | l, n, a, u));
    }
    function qs(t, l) {
      Zn(8390656, 8, t, l);
    }
    function Cc(t, l) {
      xn(2048, 8, t, l);
    }
    function Yh(t) {
      ot.flags |= 4;
      var l = ot.updateQueue;
      if (l === null) l = Gn(), ot.updateQueue = l, l.events = [
        t
      ];
      else {
        var a = l.events;
        a === null ? l.events = [
          t
        ] : a.push(t);
      }
    }
    function Bs(t) {
      var l = Pt().memoizedState;
      return Yh({
        ref: l,
        nextImpl: t
      }), function() {
        if ((pt & 2) !== 0) throw Error(y(440));
        return l.impl.apply(void 0, arguments);
      };
    }
    function Ys(t, l) {
      return xn(4, 2, t, l);
    }
    function js(t, l) {
      return xn(4, 4, t, l);
    }
    function Gs(t, l) {
      if (typeof l == "function") {
        t = t();
        var a = l(t);
        return function() {
          typeof a == "function" ? a() : l(null);
        };
      }
      if (l != null) return t = t(), l.current = t, function() {
        l.current = null;
      };
    }
    function Xs(t, l, a) {
      a = a != null ? a.concat([
        t
      ]) : null, xn(4, 4, Gs.bind(null, l, t), a);
    }
    function Hc() {
    }
    function Qs(t, l) {
      var a = Pt();
      l = l === void 0 ? null : l;
      var u = a.memoizedState;
      return l !== null && Tc(l, u[1]) ? u[0] : (a.memoizedState = [
        t,
        l
      ], t);
    }
    function Zs(t, l) {
      var a = Pt();
      l = l === void 0 ? null : l;
      var u = a.memoizedState;
      if (l !== null && Tc(l, u[1])) return u[0];
      if (u = t(), yu) {
        c(true);
        try {
          t();
        } finally {
          c(false);
        }
      }
      return a.memoizedState = [
        u,
        l
      ], u;
    }
    function qc(t, l, a) {
      return a === void 0 || (Sa & 1073741824) !== 0 && (yt & 261930) === 0 ? t.memoizedState = l : (t.memoizedState = a, t = xr(), ot.lanes |= t, xa |= t, a);
    }
    function xs(t, l, a, u) {
      return Yl(a, l) ? a : Zu.current !== null ? (t = qc(t, a, u), Yl(t, l) || (ul = true), t) : (Sa & 42) === 0 || (Sa & 1073741824) !== 0 && (yt & 261930) === 0 ? (ul = true, t.memoizedState = a) : (t = xr(), ot.lanes |= t, xa |= t, l);
    }
    function Vs(t, l, a, u, e) {
      var n = H.p;
      H.p = n !== 0 && 8 > n ? n : 8;
      var i = p.T, f = {};
      p.T = f, jc(t, false, l, a);
      try {
        var d = e(), b = p.S;
        if (b !== null && b(f, d), d !== null && typeof d == "object" && typeof d.then == "function") {
          var M = Nh(d, u);
          He(t, l, M, xl(t));
        } else He(t, l, u, xl(t));
      } catch (N) {
        He(t, l, {
          then: function() {
          },
          status: "rejected",
          reason: N
        }, xl());
      } finally {
        H.p = n, i !== null && f.types !== null && (i.types = f.types), p.T = i;
      }
    }
    function jh() {
    }
    function Bc(t, l, a, u) {
      if (t.tag !== 5) throw Error(y(476));
      var e = Ls(t).queue;
      Vs(t, e, l, $, a === null ? jh : function() {
        return ws(t), a(u);
      });
    }
    function Ls(t) {
      var l = t.memoizedState;
      if (l !== null) return l;
      l = {
        memoizedState: $,
        baseState: $,
        baseQueue: null,
        queue: {
          pending: null,
          lanes: 0,
          dispatch: null,
          lastRenderedReducer: ga,
          lastRenderedState: $
        },
        next: null
      };
      var a = {};
      return l.next = {
        memoizedState: a,
        baseState: a,
        baseQueue: null,
        queue: {
          pending: null,
          lanes: 0,
          dispatch: null,
          lastRenderedReducer: ga,
          lastRenderedState: a
        },
        next: null
      }, t.memoizedState = l, t = t.alternate, t !== null && (t.memoizedState = l), l;
    }
    function ws(t) {
      var l = Ls(t);
      l.next === null && (l = t.alternate.memoizedState), He(t, l.next.queue, {}, xl());
    }
    function Yc() {
      return yl(Fe);
    }
    function Ks() {
      return Pt().memoizedState;
    }
    function Js() {
      return Pt().memoizedState;
    }
    function Gh(t) {
      for (var l = t.return; l !== null; ) {
        switch (l.tag) {
          case 24:
          case 3:
            var a = xl();
            t = Ya(a);
            var u = ja(l, t, a);
            u !== null && (ql(u, l, a), Re(u, l, a)), l = {
              cache: rc()
            }, t.payload = l;
            return;
        }
        l = l.return;
      }
    }
    function Xh(t, l, a) {
      var u = xl();
      a = {
        lane: u,
        revertLane: 0,
        gesture: null,
        action: a,
        hasEagerState: false,
        eagerState: null,
        next: null
      }, Vn(t) ? $s(l, a) : (a = tc(t, l, a, u), a !== null && (ql(a, t, u), Fs(a, l, u)));
    }
    function Ws(t, l, a) {
      var u = xl();
      He(t, l, a, u);
    }
    function He(t, l, a, u) {
      var e = {
        lane: u,
        revertLane: 0,
        gesture: null,
        action: a,
        hasEagerState: false,
        eagerState: null,
        next: null
      };
      if (Vn(t)) $s(l, e);
      else {
        var n = t.alternate;
        if (t.lanes === 0 && (n === null || n.lanes === 0) && (n = l.lastRenderedReducer, n !== null)) try {
          var i = l.lastRenderedState, f = n(i, a);
          if (e.hasEagerState = true, e.eagerState = f, Yl(f, i)) return An(t, l, e, 0), Bt === null && Tn(), false;
        } catch {
        }
        if (a = tc(t, l, e, u), a !== null) return ql(a, t, u), Fs(a, l, u), true;
      }
      return false;
    }
    function jc(t, l, a, u) {
      if (u = {
        lane: 2,
        revertLane: mf(),
        gesture: null,
        action: u,
        hasEagerState: false,
        eagerState: null,
        next: null
      }, Vn(t)) {
        if (l) throw Error(y(479));
      } else l = tc(t, a, u, 2), l !== null && ql(l, t, 2);
    }
    function Vn(t) {
      var l = t.alternate;
      return t === ot || l !== null && l === ot;
    }
    function $s(t, l) {
      xu = Yn = true;
      var a = t.pending;
      a === null ? l.next = l : (l.next = a.next, a.next = l), t.pending = l;
    }
    function Fs(t, l, a) {
      if ((a & 4194048) !== 0) {
        var u = l.lanes;
        u &= t.pendingLanes, a |= u, l.lanes = a, _u(t, a);
      }
    }
    var qe = {
      readContext: yl,
      use: Xn,
      useCallback: $t,
      useContext: $t,
      useEffect: $t,
      useImperativeHandle: $t,
      useLayoutEffect: $t,
      useInsertionEffect: $t,
      useMemo: $t,
      useReducer: $t,
      useRef: $t,
      useState: $t,
      useDebugValue: $t,
      useDeferredValue: $t,
      useTransition: $t,
      useSyncExternalStore: $t,
      useId: $t,
      useHostTransitionStatus: $t,
      useFormState: $t,
      useActionState: $t,
      useOptimistic: $t,
      useMemoCache: $t,
      useCacheRefresh: $t
    };
    qe.useEffectEvent = $t;
    var ks = {
      readContext: yl,
      use: Xn,
      useCallback: function(t, l) {
        return Ml().memoizedState = [
          t,
          l === void 0 ? null : l
        ], t;
      },
      useContext: yl,
      useEffect: qs,
      useImperativeHandle: function(t, l, a) {
        a = a != null ? a.concat([
          t
        ]) : null, Zn(4194308, 4, Gs.bind(null, l, t), a);
      },
      useLayoutEffect: function(t, l) {
        return Zn(4194308, 4, t, l);
      },
      useInsertionEffect: function(t, l) {
        Zn(4, 2, t, l);
      },
      useMemo: function(t, l) {
        var a = Ml();
        l = l === void 0 ? null : l;
        var u = t();
        if (yu) {
          c(true);
          try {
            t();
          } finally {
            c(false);
          }
        }
        return a.memoizedState = [
          u,
          l
        ], u;
      },
      useReducer: function(t, l, a) {
        var u = Ml();
        if (a !== void 0) {
          var e = a(l);
          if (yu) {
            c(true);
            try {
              a(l);
            } finally {
              c(false);
            }
          }
        } else e = l;
        return u.memoizedState = u.baseState = e, t = {
          pending: null,
          lanes: 0,
          dispatch: null,
          lastRenderedReducer: t,
          lastRenderedState: e
        }, u.queue = t, t = t.dispatch = Xh.bind(null, ot, t), [
          u.memoizedState,
          t
        ];
      },
      useRef: function(t) {
        var l = Ml();
        return t = {
          current: t
        }, l.memoizedState = t;
      },
      useState: function(t) {
        t = Uc(t);
        var l = t.queue, a = Ws.bind(null, ot, l);
        return l.dispatch = a, [
          t.memoizedState,
          a
        ];
      },
      useDebugValue: Hc,
      useDeferredValue: function(t, l) {
        var a = Ml();
        return qc(a, t, l);
      },
      useTransition: function() {
        var t = Uc(false);
        return t = Vs.bind(null, ot, t.queue, true, false), Ml().memoizedState = t, [
          false,
          t
        ];
      },
      useSyncExternalStore: function(t, l, a) {
        var u = ot, e = Ml();
        if (St) {
          if (a === void 0) throw Error(y(407));
          a = a();
        } else {
          if (a = l(), Bt === null) throw Error(y(349));
          (yt & 127) !== 0 || gs(u, l, a);
        }
        e.memoizedState = a;
        var n = {
          value: a,
          getSnapshot: l
        };
        return e.queue = n, qs(Es.bind(null, u, n, t), [
          t
        ]), u.flags |= 2048, Lu(9, {
          destroy: void 0
        }, _s.bind(null, u, n, a, l), null), a;
      },
      useId: function() {
        var t = Ml(), l = Bt.identifierPrefix;
        if (St) {
          var a = na, u = ea;
          a = (u & ~(1 << 32 - o(u) - 1)).toString(32) + a, l = "_" + l + "R_" + a, a = jn++, 0 < a && (l += "H" + a.toString(32)), l += "_";
        } else a = Ch++, l = "_" + l + "r_" + a.toString(32) + "_";
        return t.memoizedState = l;
      },
      useHostTransitionStatus: Yc,
      useFormState: Ds,
      useActionState: Ds,
      useOptimistic: function(t) {
        var l = Ml();
        l.memoizedState = l.baseState = t;
        var a = {
          pending: null,
          lanes: 0,
          dispatch: null,
          lastRenderedReducer: null,
          lastRenderedState: null
        };
        return l.queue = a, l = jc.bind(null, ot, true, a), a.dispatch = l, [
          t,
          l
        ];
      },
      useMemoCache: Mc,
      useCacheRefresh: function() {
        return Ml().memoizedState = Gh.bind(null, ot);
      },
      useEffectEvent: function(t) {
        var l = Ml(), a = {
          impl: t
        };
        return l.memoizedState = a, function() {
          if ((pt & 2) !== 0) throw Error(y(440));
          return a.impl.apply(void 0, arguments);
        };
      }
    }, Gc = {
      readContext: yl,
      use: Xn,
      useCallback: Qs,
      useContext: yl,
      useEffect: Cc,
      useImperativeHandle: Xs,
      useInsertionEffect: Ys,
      useLayoutEffect: js,
      useMemo: Zs,
      useReducer: Qn,
      useRef: Hs,
      useState: function() {
        return Qn(ga);
      },
      useDebugValue: Hc,
      useDeferredValue: function(t, l) {
        var a = Pt();
        return xs(a, Nt.memoizedState, t, l);
      },
      useTransition: function() {
        var t = Qn(ga)[0], l = Pt().memoizedState;
        return [
          typeof t == "boolean" ? t : Ce(t),
          l
        ];
      },
      useSyncExternalStore: Ss,
      useId: Ks,
      useHostTransitionStatus: Yc,
      useFormState: Us,
      useActionState: Us,
      useOptimistic: function(t, l) {
        var a = Pt();
        return As(a, Nt, t, l);
      },
      useMemoCache: Mc,
      useCacheRefresh: Js
    };
    Gc.useEffectEvent = Bs;
    var Is = {
      readContext: yl,
      use: Xn,
      useCallback: Qs,
      useContext: yl,
      useEffect: Cc,
      useImperativeHandle: Xs,
      useInsertionEffect: Ys,
      useLayoutEffect: js,
      useMemo: Zs,
      useReducer: Dc,
      useRef: Hs,
      useState: function() {
        return Dc(ga);
      },
      useDebugValue: Hc,
      useDeferredValue: function(t, l) {
        var a = Pt();
        return Nt === null ? qc(a, t, l) : xs(a, Nt.memoizedState, t, l);
      },
      useTransition: function() {
        var t = Dc(ga)[0], l = Pt().memoizedState;
        return [
          typeof t == "boolean" ? t : Ce(t),
          l
        ];
      },
      useSyncExternalStore: Ss,
      useId: Ks,
      useHostTransitionStatus: Yc,
      useFormState: Cs,
      useActionState: Cs,
      useOptimistic: function(t, l) {
        var a = Pt();
        return Nt !== null ? As(a, Nt, t, l) : (a.baseState = t, [
          t,
          a.queue.dispatch
        ]);
      },
      useMemoCache: Mc,
      useCacheRefresh: Js
    };
    Is.useEffectEvent = Bs;
    function Xc(t, l, a, u) {
      l = t.memoizedState, a = a(u, l), a = a == null ? l : Q({}, l, a), t.memoizedState = a, t.lanes === 0 && (t.updateQueue.baseState = a);
    }
    var Qc = {
      enqueueSetState: function(t, l, a) {
        t = t._reactInternals;
        var u = xl(), e = Ya(u);
        e.payload = l, a != null && (e.callback = a), l = ja(t, e, u), l !== null && (ql(l, t, u), Re(l, t, u));
      },
      enqueueReplaceState: function(t, l, a) {
        t = t._reactInternals;
        var u = xl(), e = Ya(u);
        e.tag = 1, e.payload = l, a != null && (e.callback = a), l = ja(t, e, u), l !== null && (ql(l, t, u), Re(l, t, u));
      },
      enqueueForceUpdate: function(t, l) {
        t = t._reactInternals;
        var a = xl(), u = Ya(a);
        u.tag = 2, l != null && (u.callback = l), l = ja(t, u, a), l !== null && (ql(l, t, a), Re(l, t, a));
      }
    };
    function Ps(t, l, a, u, e, n, i) {
      return t = t.stateNode, typeof t.shouldComponentUpdate == "function" ? t.shouldComponentUpdate(u, n, i) : l.prototype && l.prototype.isPureReactComponent ? !Ee(a, u) || !Ee(e, n) : true;
    }
    function tr(t, l, a, u) {
      t = l.state, typeof l.componentWillReceiveProps == "function" && l.componentWillReceiveProps(a, u), typeof l.UNSAFE_componentWillReceiveProps == "function" && l.UNSAFE_componentWillReceiveProps(a, u), l.state !== t && Qc.enqueueReplaceState(l, l.state, null);
    }
    function mu(t, l) {
      var a = l;
      if ("ref" in l) {
        a = {};
        for (var u in l) u !== "ref" && (a[u] = l[u]);
      }
      if (t = t.defaultProps) {
        a === l && (a = Q({}, a));
        for (var e in t) a[e] === void 0 && (a[e] = t[e]);
      }
      return a;
    }
    function lr(t) {
      bn(t);
    }
    function ar(t) {
      console.error(t);
    }
    function ur(t) {
      bn(t);
    }
    function Ln(t, l) {
      try {
        var a = t.onUncaughtError;
        a(l.value, {
          componentStack: l.stack
        });
      } catch (u) {
        setTimeout(function() {
          throw u;
        });
      }
    }
    function er(t, l, a) {
      try {
        var u = t.onCaughtError;
        u(a.value, {
          componentStack: a.stack,
          errorBoundary: l.tag === 1 ? l.stateNode : null
        });
      } catch (e) {
        setTimeout(function() {
          throw e;
        });
      }
    }
    function Zc(t, l, a) {
      return a = Ya(a), a.tag = 3, a.payload = {
        element: null
      }, a.callback = function() {
        Ln(t, l);
      }, a;
    }
    function nr(t) {
      return t = Ya(t), t.tag = 3, t;
    }
    function ir(t, l, a, u) {
      var e = a.type.getDerivedStateFromError;
      if (typeof e == "function") {
        var n = u.value;
        t.payload = function() {
          return e(n);
        }, t.callback = function() {
          er(l, a, u);
        };
      }
      var i = a.stateNode;
      i !== null && typeof i.componentDidCatch == "function" && (t.callback = function() {
        er(l, a, u), typeof e != "function" && (Va === null ? Va = /* @__PURE__ */ new Set([
          this
        ]) : Va.add(this));
        var f = u.stack;
        this.componentDidCatch(u.value, {
          componentStack: f !== null ? f : ""
        });
      });
    }
    function Qh(t, l, a, u, e) {
      if (a.flags |= 32768, u !== null && typeof u == "object" && typeof u.then == "function") {
        if (l = a.alternate, l !== null && Yu(l, a, e, true), a = Gl.current, a !== null) {
          switch (a.tag) {
            case 31:
            case 13:
              return Fl === null ? ai() : a.alternate === null && Ft === 0 && (Ft = 3), a.flags &= -257, a.flags |= 65536, a.lanes = e, u === Nn ? a.flags |= 16384 : (l = a.updateQueue, l === null ? a.updateQueue = /* @__PURE__ */ new Set([
                u
              ]) : l.add(u), hf(t, u, e)), false;
            case 22:
              return a.flags |= 65536, u === Nn ? a.flags |= 16384 : (l = a.updateQueue, l === null ? (l = {
                transitions: null,
                markerInstances: null,
                retryQueue: /* @__PURE__ */ new Set([
                  u
                ])
              }, a.updateQueue = l) : (a = l.retryQueue, a === null ? l.retryQueue = /* @__PURE__ */ new Set([
                u
              ]) : a.add(u)), hf(t, u, e)), false;
          }
          throw Error(y(435, a.tag));
        }
        return hf(t, u, e), ai(), false;
      }
      if (St) return l = Gl.current, l !== null ? ((l.flags & 65536) === 0 && (l.flags |= 256), l.flags |= 65536, l.lanes = e, u !== ic && (t = Error(y(422), {
        cause: u
      }), Ae(Kl(t, a)))) : (u !== ic && (l = Error(y(423), {
        cause: u
      }), Ae(Kl(l, a))), t = t.current.alternate, t.flags |= 65536, e &= -e, t.lanes |= e, u = Kl(u, a), e = Zc(t.stateNode, u, e), Sc(t, e), Ft !== 4 && (Ft = 2)), false;
      var n = Error(y(520), {
        cause: u
      });
      if (n = Kl(n, a), xe === null ? xe = [
        n
      ] : xe.push(n), Ft !== 4 && (Ft = 2), l === null) return true;
      u = Kl(u, a), a = l;
      do {
        switch (a.tag) {
          case 3:
            return a.flags |= 65536, t = e & -e, a.lanes |= t, t = Zc(a.stateNode, u, t), Sc(a, t), false;
          case 1:
            if (l = a.type, n = a.stateNode, (a.flags & 128) === 0 && (typeof l.getDerivedStateFromError == "function" || n !== null && typeof n.componentDidCatch == "function" && (Va === null || !Va.has(n)))) return a.flags |= 65536, e &= -e, a.lanes |= e, e = nr(e), ir(e, t, a, u), Sc(a, e), false;
        }
        a = a.return;
      } while (a !== null);
      return false;
    }
    var xc = Error(y(461)), ul = false;
    function ml(t, l, a, u) {
      l.child = t === null ? ss(l, null, a, u) : vu(l, t.child, a, u);
    }
    function cr(t, l, a, u, e) {
      a = a.render;
      var n = l.ref;
      if ("ref" in u) {
        var i = {};
        for (var f in u) f !== "ref" && (i[f] = u[f]);
      } else i = u;
      return su(l), u = Ac(t, l, a, i, n, e), f = zc(), t !== null && !ul ? (pc(t, l, e), _a(t, l, e)) : (St && f && ec(l), l.flags |= 1, ml(t, l, u, e), l.child);
    }
    function fr(t, l, a, u, e) {
      if (t === null) {
        var n = a.type;
        return typeof n == "function" && !lc(n) && n.defaultProps === void 0 && a.compare === null ? (l.tag = 15, l.type = n, or(t, l, n, u, e)) : (t = pn(a.type, null, u, l, l.mode, e), t.ref = l.ref, t.return = l, l.child = t);
      }
      if (n = t.child, !Fc(t, e)) {
        var i = n.memoizedProps;
        if (a = a.compare, a = a !== null ? a : Ee, a(i, u) && t.ref === l.ref) return _a(t, l, e);
      }
      return l.flags |= 1, t = ha(n, u), t.ref = l.ref, t.return = l, l.child = t;
    }
    function or(t, l, a, u, e) {
      if (t !== null) {
        var n = t.memoizedProps;
        if (Ee(n, u) && t.ref === l.ref) if (ul = false, l.pendingProps = u = n, Fc(t, e)) (t.flags & 131072) !== 0 && (ul = true);
        else return l.lanes = t.lanes, _a(t, l, e);
      }
      return Vc(t, l, a, u, e);
    }
    function sr(t, l, a, u) {
      var e = u.children, n = t !== null ? t.memoizedState : null;
      if (t === null && l.stateNode === null && (l.stateNode = {
        _visibility: 1,
        _pendingMarkers: null,
        _retryCache: null,
        _transitions: null
      }), u.mode === "hidden") {
        if ((l.flags & 128) !== 0) {
          if (n = n !== null ? n.baseLanes | a : a, t !== null) {
            for (u = l.child = t.child, e = 0; u !== null; ) e = e | u.lanes | u.childLanes, u = u.sibling;
            u = e & ~n;
          } else u = 0, l.child = null;
          return rr(t, l, n, a, u);
        }
        if ((a & 536870912) !== 0) l.memoizedState = {
          baseLanes: 0,
          cachePool: null
        }, t !== null && Dn(l, n !== null ? n.cachePool : null), n !== null ? hs(l, n) : _c(), vs(l);
        else return u = l.lanes = 536870912, rr(t, l, n !== null ? n.baseLanes | a : a, a, u);
      } else n !== null ? (Dn(l, n.cachePool), hs(l, n), Xa(), l.memoizedState = null) : (t !== null && Dn(l, null), _c(), Xa());
      return ml(t, l, e, a), l.child;
    }
    function Be(t, l) {
      return t !== null && t.tag === 22 || l.stateNode !== null || (l.stateNode = {
        _visibility: 1,
        _pendingMarkers: null,
        _retryCache: null,
        _transitions: null
      }), l.sibling;
    }
    function rr(t, l, a, u, e) {
      var n = hc();
      return n = n === null ? null : {
        parent: ll._currentValue,
        pool: n
      }, l.memoizedState = {
        baseLanes: a,
        cachePool: n
      }, t !== null && Dn(l, null), _c(), vs(l), t !== null && Yu(t, l, u, true), l.childLanes = e, null;
    }
    function wn(t, l) {
      return l = Jn({
        mode: l.mode,
        children: l.children
      }, t.mode), l.ref = t.ref, t.child = l, l.return = t, l;
    }
    function dr(t, l, a) {
      return vu(l, t.child, null, a), t = wn(l, l.pendingProps), t.flags |= 2, Xl(l), l.memoizedState = null, t;
    }
    function Zh(t, l, a) {
      var u = l.pendingProps, e = (l.flags & 128) !== 0;
      if (l.flags &= -129, t === null) {
        if (St) {
          if (u.mode === "hidden") return t = wn(l, u), l.lanes = 536870912, Be(null, t);
          if (bc(l), (t = Xt) ? (t = zd(t, $l), t = t !== null && t.data === "&" ? t : null, t !== null && (l.memoizedState = {
            dehydrated: t,
            treeContext: Na !== null ? {
              id: ea,
              overflow: na
            } : null,
            retryLane: 536870912,
            hydrationErrors: null
          }, a = $o(t), a.return = l, l.child = a, vl = l, Xt = null)) : t = null, t === null) throw Ha(l);
          return l.lanes = 536870912, null;
        }
        return wn(l, u);
      }
      var n = t.memoizedState;
      if (n !== null) {
        var i = n.dehydrated;
        if (bc(l), e) if (l.flags & 256) l.flags &= -257, l = dr(t, l, a);
        else if (l.memoizedState !== null) l.child = t.child, l.flags |= 128, l = null;
        else throw Error(y(558));
        else if (ul || Yu(t, l, a, false), e = (a & t.childLanes) !== 0, ul || e) {
          if (u = Bt, u !== null && (i = Y(u, a), i !== 0 && i !== n.retryLane)) throw n.retryLane = i, iu(t, i), ql(u, t, i), xc;
          ai(), l = dr(t, l, a);
        } else t = n.treeContext, Xt = kl(i.nextSibling), vl = l, St = true, Ca = null, $l = false, t !== null && Io(l, t), l = wn(l, u), l.flags |= 4096;
        return l;
      }
      return t = ha(t.child, {
        mode: u.mode,
        children: u.children
      }), t.ref = l.ref, l.child = t, t.return = l, t;
    }
    function Kn(t, l) {
      var a = l.ref;
      if (a === null) t !== null && t.ref !== null && (l.flags |= 4194816);
      else {
        if (typeof a != "function" && typeof a != "object") throw Error(y(284));
        (t === null || t.ref !== a) && (l.flags |= 4194816);
      }
    }
    function Vc(t, l, a, u, e) {
      return su(l), a = Ac(t, l, a, u, void 0, e), u = zc(), t !== null && !ul ? (pc(t, l, e), _a(t, l, e)) : (St && u && ec(l), l.flags |= 1, ml(t, l, a, e), l.child);
    }
    function hr(t, l, a, u, e, n) {
      return su(l), l.updateQueue = null, a = ms(l, u, a, e), ys(t), u = zc(), t !== null && !ul ? (pc(t, l, n), _a(t, l, n)) : (St && u && ec(l), l.flags |= 1, ml(t, l, a, n), l.child);
    }
    function vr(t, l, a, u, e) {
      if (su(l), l.stateNode === null) {
        var n = Cu, i = a.contextType;
        typeof i == "object" && i !== null && (n = yl(i)), n = new a(u, n), l.memoizedState = n.state !== null && n.state !== void 0 ? n.state : null, n.updater = Qc, l.stateNode = n, n._reactInternals = l, n = l.stateNode, n.props = u, n.state = l.memoizedState, n.refs = {}, yc(l), i = a.contextType, n.context = typeof i == "object" && i !== null ? yl(i) : Cu, n.state = l.memoizedState, i = a.getDerivedStateFromProps, typeof i == "function" && (Xc(l, a, i, u), n.state = l.memoizedState), typeof a.getDerivedStateFromProps == "function" || typeof n.getSnapshotBeforeUpdate == "function" || typeof n.UNSAFE_componentWillMount != "function" && typeof n.componentWillMount != "function" || (i = n.state, typeof n.componentWillMount == "function" && n.componentWillMount(), typeof n.UNSAFE_componentWillMount == "function" && n.UNSAFE_componentWillMount(), i !== n.state && Qc.enqueueReplaceState(n, n.state, null), Ue(l, u, n, e), De(), n.state = l.memoizedState), typeof n.componentDidMount == "function" && (l.flags |= 4194308), u = true;
      } else if (t === null) {
        n = l.stateNode;
        var f = l.memoizedProps, d = mu(a, f);
        n.props = d;
        var b = n.context, M = a.contextType;
        i = Cu, typeof M == "object" && M !== null && (i = yl(M));
        var N = a.getDerivedStateFromProps;
        M = typeof N == "function" || typeof n.getSnapshotBeforeUpdate == "function", f = l.pendingProps !== f, M || typeof n.UNSAFE_componentWillReceiveProps != "function" && typeof n.componentWillReceiveProps != "function" || (f || b !== i) && tr(l, n, u, i), Ba = false;
        var T = l.memoizedState;
        n.state = T, Ue(l, u, n, e), De(), b = l.memoizedState, f || T !== b || Ba ? (typeof N == "function" && (Xc(l, a, N, u), b = l.memoizedState), (d = Ba || Ps(l, a, d, u, T, b, i)) ? (M || typeof n.UNSAFE_componentWillMount != "function" && typeof n.componentWillMount != "function" || (typeof n.componentWillMount == "function" && n.componentWillMount(), typeof n.UNSAFE_componentWillMount == "function" && n.UNSAFE_componentWillMount()), typeof n.componentDidMount == "function" && (l.flags |= 4194308)) : (typeof n.componentDidMount == "function" && (l.flags |= 4194308), l.memoizedProps = u, l.memoizedState = b), n.props = u, n.state = b, n.context = i, u = d) : (typeof n.componentDidMount == "function" && (l.flags |= 4194308), u = false);
      } else {
        n = l.stateNode, mc(t, l), i = l.memoizedProps, M = mu(a, i), n.props = M, N = l.pendingProps, T = n.context, b = a.contextType, d = Cu, typeof b == "object" && b !== null && (d = yl(b)), f = a.getDerivedStateFromProps, (b = typeof f == "function" || typeof n.getSnapshotBeforeUpdate == "function") || typeof n.UNSAFE_componentWillReceiveProps != "function" && typeof n.componentWillReceiveProps != "function" || (i !== N || T !== d) && tr(l, n, u, d), Ba = false, T = l.memoizedState, n.state = T, Ue(l, u, n, e), De();
        var z = l.memoizedState;
        i !== N || T !== z || Ba || t !== null && t.dependencies !== null && Mn(t.dependencies) ? (typeof f == "function" && (Xc(l, a, f, u), z = l.memoizedState), (M = Ba || Ps(l, a, M, u, T, z, d) || t !== null && t.dependencies !== null && Mn(t.dependencies)) ? (b || typeof n.UNSAFE_componentWillUpdate != "function" && typeof n.componentWillUpdate != "function" || (typeof n.componentWillUpdate == "function" && n.componentWillUpdate(u, z, d), typeof n.UNSAFE_componentWillUpdate == "function" && n.UNSAFE_componentWillUpdate(u, z, d)), typeof n.componentDidUpdate == "function" && (l.flags |= 4), typeof n.getSnapshotBeforeUpdate == "function" && (l.flags |= 1024)) : (typeof n.componentDidUpdate != "function" || i === t.memoizedProps && T === t.memoizedState || (l.flags |= 4), typeof n.getSnapshotBeforeUpdate != "function" || i === t.memoizedProps && T === t.memoizedState || (l.flags |= 1024), l.memoizedProps = u, l.memoizedState = z), n.props = u, n.state = z, n.context = d, u = M) : (typeof n.componentDidUpdate != "function" || i === t.memoizedProps && T === t.memoizedState || (l.flags |= 4), typeof n.getSnapshotBeforeUpdate != "function" || i === t.memoizedProps && T === t.memoizedState || (l.flags |= 1024), u = false);
      }
      return n = u, Kn(t, l), u = (l.flags & 128) !== 0, n || u ? (n = l.stateNode, a = u && typeof a.getDerivedStateFromError != "function" ? null : n.render(), l.flags |= 1, t !== null && u ? (l.child = vu(l, t.child, null, e), l.child = vu(l, null, a, e)) : ml(t, l, a, e), l.memoizedState = n.state, t = l.child) : t = _a(t, l, e), t;
    }
    function yr(t, l, a, u) {
      return fu(), l.flags |= 256, ml(t, l, a, u), l.child;
    }
    var Lc = {
      dehydrated: null,
      treeContext: null,
      retryLane: 0,
      hydrationErrors: null
    };
    function wc(t) {
      return {
        baseLanes: t,
        cachePool: es()
      };
    }
    function Kc(t, l, a) {
      return t = t !== null ? t.childLanes & ~a : 0, l && (t |= Zl), t;
    }
    function mr(t, l, a) {
      var u = l.pendingProps, e = false, n = (l.flags & 128) !== 0, i;
      if ((i = n) || (i = t !== null && t.memoizedState === null ? false : (It.current & 2) !== 0), i && (e = true, l.flags &= -129), i = (l.flags & 32) !== 0, l.flags &= -33, t === null) {
        if (St) {
          if (e ? Ga(l) : Xa(), (t = Xt) ? (t = zd(t, $l), t = t !== null && t.data !== "&" ? t : null, t !== null && (l.memoizedState = {
            dehydrated: t,
            treeContext: Na !== null ? {
              id: ea,
              overflow: na
            } : null,
            retryLane: 536870912,
            hydrationErrors: null
          }, a = $o(t), a.return = l, l.child = a, vl = l, Xt = null)) : t = null, t === null) throw Ha(l);
          return Df(t) ? l.lanes = 32 : l.lanes = 536870912, null;
        }
        var f = u.children;
        return u = u.fallback, e ? (Xa(), e = l.mode, f = Jn({
          mode: "hidden",
          children: f
        }, e), u = cu(u, e, a, null), f.return = l, u.return = l, f.sibling = u, l.child = f, u = l.child, u.memoizedState = wc(a), u.childLanes = Kc(t, i, a), l.memoizedState = Lc, Be(null, u)) : (Ga(l), Jc(l, f));
      }
      var d = t.memoizedState;
      if (d !== null && (f = d.dehydrated, f !== null)) {
        if (n) l.flags & 256 ? (Ga(l), l.flags &= -257, l = Wc(t, l, a)) : l.memoizedState !== null ? (Xa(), l.child = t.child, l.flags |= 128, l = null) : (Xa(), f = u.fallback, e = l.mode, u = Jn({
          mode: "visible",
          children: u.children
        }, e), f = cu(f, e, a, null), f.flags |= 2, u.return = l, f.return = l, u.sibling = f, l.child = u, vu(l, t.child, null, a), u = l.child, u.memoizedState = wc(a), u.childLanes = Kc(t, i, a), l.memoizedState = Lc, l = Be(null, u));
        else if (Ga(l), Df(f)) {
          if (i = f.nextSibling && f.nextSibling.dataset, i) var b = i.dgst;
          i = b, u = Error(y(419)), u.stack = "", u.digest = i, Ae({
            value: u,
            source: null,
            stack: null
          }), l = Wc(t, l, a);
        } else if (ul || Yu(t, l, a, false), i = (a & t.childLanes) !== 0, ul || i) {
          if (i = Bt, i !== null && (u = Y(i, a), u !== 0 && u !== d.retryLane)) throw d.retryLane = u, iu(t, u), ql(i, t, u), xc;
          Rf(f) || ai(), l = Wc(t, l, a);
        } else Rf(f) ? (l.flags |= 192, l.child = t.child, l = null) : (t = d.treeContext, Xt = kl(f.nextSibling), vl = l, St = true, Ca = null, $l = false, t !== null && Io(l, t), l = Jc(l, u.children), l.flags |= 4096);
        return l;
      }
      return e ? (Xa(), f = u.fallback, e = l.mode, d = t.child, b = d.sibling, u = ha(d, {
        mode: "hidden",
        children: u.children
      }), u.subtreeFlags = d.subtreeFlags & 65011712, b !== null ? f = ha(b, f) : (f = cu(f, e, a, null), f.flags |= 2), f.return = l, u.return = l, u.sibling = f, l.child = u, Be(null, u), u = l.child, f = t.child.memoizedState, f === null ? f = wc(a) : (e = f.cachePool, e !== null ? (d = ll._currentValue, e = e.parent !== d ? {
        parent: d,
        pool: d
      } : e) : e = es(), f = {
        baseLanes: f.baseLanes | a,
        cachePool: e
      }), u.memoizedState = f, u.childLanes = Kc(t, i, a), l.memoizedState = Lc, Be(t.child, u)) : (Ga(l), a = t.child, t = a.sibling, a = ha(a, {
        mode: "visible",
        children: u.children
      }), a.return = l, a.sibling = null, t !== null && (i = l.deletions, i === null ? (l.deletions = [
        t
      ], l.flags |= 16) : i.push(t)), l.child = a, l.memoizedState = null, a);
    }
    function Jc(t, l) {
      return l = Jn({
        mode: "visible",
        children: l
      }, t.mode), l.return = t, t.child = l;
    }
    function Jn(t, l) {
      return t = jl(22, t, null, l), t.lanes = 0, t;
    }
    function Wc(t, l, a) {
      return vu(l, t.child, null, a), t = Jc(l, l.pendingProps.children), t.flags |= 2, l.memoizedState = null, t;
    }
    function Sr(t, l, a) {
      t.lanes |= l;
      var u = t.alternate;
      u !== null && (u.lanes |= l), oc(t.return, l, a);
    }
    function $c(t, l, a, u, e, n) {
      var i = t.memoizedState;
      i === null ? t.memoizedState = {
        isBackwards: l,
        rendering: null,
        renderingStartTime: 0,
        last: u,
        tail: a,
        tailMode: e,
        treeForkCount: n
      } : (i.isBackwards = l, i.rendering = null, i.renderingStartTime = 0, i.last = u, i.tail = a, i.tailMode = e, i.treeForkCount = n);
    }
    function gr(t, l, a) {
      var u = l.pendingProps, e = u.revealOrder, n = u.tail;
      u = u.children;
      var i = It.current, f = (i & 2) !== 0;
      if (f ? (i = i & 1 | 2, l.flags |= 128) : i &= 1, B(It, i), ml(t, l, u, a), u = St ? Te : 0, !f && t !== null && (t.flags & 128) !== 0) t: for (t = l.child; t !== null; ) {
        if (t.tag === 13) t.memoizedState !== null && Sr(t, a, l);
        else if (t.tag === 19) Sr(t, a, l);
        else if (t.child !== null) {
          t.child.return = t, t = t.child;
          continue;
        }
        if (t === l) break t;
        for (; t.sibling === null; ) {
          if (t.return === null || t.return === l) break t;
          t = t.return;
        }
        t.sibling.return = t.return, t = t.sibling;
      }
      switch (e) {
        case "forwards":
          for (a = l.child, e = null; a !== null; ) t = a.alternate, t !== null && Bn(t) === null && (e = a), a = a.sibling;
          a = e, a === null ? (e = l.child, l.child = null) : (e = a.sibling, a.sibling = null), $c(l, false, e, a, n, u);
          break;
        case "backwards":
        case "unstable_legacy-backwards":
          for (a = null, e = l.child, l.child = null; e !== null; ) {
            if (t = e.alternate, t !== null && Bn(t) === null) {
              l.child = e;
              break;
            }
            t = e.sibling, e.sibling = a, a = e, e = t;
          }
          $c(l, true, a, null, n, u);
          break;
        case "together":
          $c(l, false, null, null, void 0, u);
          break;
        default:
          l.memoizedState = null;
      }
      return l.child;
    }
    function _a(t, l, a) {
      if (t !== null && (l.dependencies = t.dependencies), xa |= l.lanes, (a & l.childLanes) === 0) if (t !== null) {
        if (Yu(t, l, a, false), (a & l.childLanes) === 0) return null;
      } else return null;
      if (t !== null && l.child !== t.child) throw Error(y(153));
      if (l.child !== null) {
        for (t = l.child, a = ha(t, t.pendingProps), l.child = a, a.return = l; t.sibling !== null; ) t = t.sibling, a = a.sibling = ha(t, t.pendingProps), a.return = l;
        a.sibling = null;
      }
      return l.child;
    }
    function Fc(t, l) {
      return (t.lanes & l) !== 0 ? true : (t = t.dependencies, !!(t !== null && Mn(t)));
    }
    function xh(t, l, a) {
      switch (l.tag) {
        case 3:
          Kt(l, l.stateNode.containerInfo), qa(l, ll, t.memoizedState.cache), fu();
          break;
        case 27:
        case 5:
          kt(l);
          break;
        case 4:
          Kt(l, l.stateNode.containerInfo);
          break;
        case 10:
          qa(l, l.type, l.memoizedProps.value);
          break;
        case 31:
          if (l.memoizedState !== null) return l.flags |= 128, bc(l), null;
          break;
        case 13:
          var u = l.memoizedState;
          if (u !== null) return u.dehydrated !== null ? (Ga(l), l.flags |= 128, null) : (a & l.child.childLanes) !== 0 ? mr(t, l, a) : (Ga(l), t = _a(t, l, a), t !== null ? t.sibling : null);
          Ga(l);
          break;
        case 19:
          var e = (t.flags & 128) !== 0;
          if (u = (a & l.childLanes) !== 0, u || (Yu(t, l, a, false), u = (a & l.childLanes) !== 0), e) {
            if (u) return gr(t, l, a);
            l.flags |= 128;
          }
          if (e = l.memoizedState, e !== null && (e.rendering = null, e.tail = null, e.lastEffect = null), B(It, It.current), u) break;
          return null;
        case 22:
          return l.lanes = 0, sr(t, l, a, l.pendingProps);
        case 24:
          qa(l, ll, t.memoizedState.cache);
      }
      return _a(t, l, a);
    }
    function _r(t, l, a) {
      if (t !== null) if (t.memoizedProps !== l.pendingProps) ul = true;
      else {
        if (!Fc(t, a) && (l.flags & 128) === 0) return ul = false, xh(t, l, a);
        ul = (t.flags & 131072) !== 0;
      }
      else ul = false, St && (l.flags & 1048576) !== 0 && ko(l, Te, l.index);
      switch (l.lanes = 0, l.tag) {
        case 16:
          t: {
            var u = l.pendingProps;
            if (t = du(l.elementType), l.type = t, typeof t == "function") lc(t) ? (u = mu(t, u), l.tag = 1, l = vr(null, l, t, u, a)) : (l.tag = 0, l = Vc(null, l, t, u, a));
            else {
              if (t != null) {
                var e = t.$$typeof;
                if (e === il) {
                  l.tag = 11, l = cr(null, l, t, u, a);
                  break t;
                } else if (e === ct) {
                  l.tag = 14, l = fr(null, l, t, u, a);
                  break t;
                }
              }
              throw l = jt(t) || t, Error(y(306, l, ""));
            }
          }
          return l;
        case 0:
          return Vc(t, l, l.type, l.pendingProps, a);
        case 1:
          return u = l.type, e = mu(u, l.pendingProps), vr(t, l, u, e, a);
        case 3:
          t: {
            if (Kt(l, l.stateNode.containerInfo), t === null) throw Error(y(387));
            u = l.pendingProps;
            var n = l.memoizedState;
            e = n.element, mc(t, l), Ue(l, u, null, a);
            var i = l.memoizedState;
            if (u = i.cache, qa(l, ll, u), u !== n.cache && sc(l, [
              ll
            ], a, true), De(), u = i.element, n.isDehydrated) if (n = {
              element: u,
              isDehydrated: false,
              cache: i.cache
            }, l.updateQueue.baseState = n, l.memoizedState = n, l.flags & 256) {
              l = yr(t, l, u, a);
              break t;
            } else if (u !== e) {
              e = Kl(Error(y(424)), l), Ae(e), l = yr(t, l, u, a);
              break t;
            } else for (t = l.stateNode.containerInfo, t.nodeType === 9 ? t = t.body : t = t.nodeName === "HTML" ? t.ownerDocument.body : t, Xt = kl(t.firstChild), vl = l, St = true, Ca = null, $l = true, a = ss(l, null, u, a), l.child = a; a; ) a.flags = a.flags & -3 | 4096, a = a.sibling;
            else {
              if (fu(), u === e) {
                l = _a(t, l, a);
                break t;
              }
              ml(t, l, u, a);
            }
            l = l.child;
          }
          return l;
        case 26:
          return Kn(t, l), t === null ? (a = Ud(l.type, null, l.pendingProps, null)) ? l.memoizedState = a : St || (a = l.type, t = l.pendingProps, u = oi(ft.current).createElement(a), u[Jt] = l, u[tl] = t, Sl(u, a, t), rl(u), l.stateNode = u) : l.memoizedState = Ud(l.type, t.memoizedProps, l.pendingProps, t.memoizedState), null;
        case 27:
          return kt(l), t === null && St && (u = l.stateNode = Md(l.type, l.pendingProps, ft.current), vl = l, $l = true, e = Xt, Ja(l.type) ? (Uf = e, Xt = kl(u.firstChild)) : Xt = e), ml(t, l, l.pendingProps.children, a), Kn(t, l), t === null && (l.flags |= 4194304), l.child;
        case 5:
          return t === null && St && ((e = u = Xt) && (u = gv(u, l.type, l.pendingProps, $l), u !== null ? (l.stateNode = u, vl = l, Xt = kl(u.firstChild), $l = false, e = true) : e = false), e || Ha(l)), kt(l), e = l.type, n = l.pendingProps, i = t !== null ? t.memoizedProps : null, u = n.children, pf(e, n) ? u = null : i !== null && pf(e, i) && (l.flags |= 32), l.memoizedState !== null && (e = Ac(t, l, Hh, null, null, a), Fe._currentValue = e), Kn(t, l), ml(t, l, u, a), l.child;
        case 6:
          return t === null && St && ((t = a = Xt) && (a = _v(a, l.pendingProps, $l), a !== null ? (l.stateNode = a, vl = l, Xt = null, t = true) : t = false), t || Ha(l)), null;
        case 13:
          return mr(t, l, a);
        case 4:
          return Kt(l, l.stateNode.containerInfo), u = l.pendingProps, t === null ? l.child = vu(l, null, u, a) : ml(t, l, u, a), l.child;
        case 11:
          return cr(t, l, l.type, l.pendingProps, a);
        case 7:
          return ml(t, l, l.pendingProps, a), l.child;
        case 8:
          return ml(t, l, l.pendingProps.children, a), l.child;
        case 12:
          return ml(t, l, l.pendingProps.children, a), l.child;
        case 10:
          return u = l.pendingProps, qa(l, l.type, u.value), ml(t, l, u.children, a), l.child;
        case 9:
          return e = l.type._context, u = l.pendingProps.children, su(l), e = yl(e), u = u(e), l.flags |= 1, ml(t, l, u, a), l.child;
        case 14:
          return fr(t, l, l.type, l.pendingProps, a);
        case 15:
          return or(t, l, l.type, l.pendingProps, a);
        case 19:
          return gr(t, l, a);
        case 31:
          return Zh(t, l, a);
        case 22:
          return sr(t, l, a, l.pendingProps);
        case 24:
          return su(l), u = yl(ll), t === null ? (e = hc(), e === null && (e = Bt, n = rc(), e.pooledCache = n, n.refCount++, n !== null && (e.pooledCacheLanes |= a), e = n), l.memoizedState = {
            parent: u,
            cache: e
          }, yc(l), qa(l, ll, e)) : ((t.lanes & a) !== 0 && (mc(t, l), Ue(l, null, null, a), De()), e = t.memoizedState, n = l.memoizedState, e.parent !== u ? (e = {
            parent: u,
            cache: u
          }, l.memoizedState = e, l.lanes === 0 && (l.memoizedState = l.updateQueue.baseState = e), qa(l, ll, u)) : (u = n.cache, qa(l, ll, u), u !== e.cache && sc(l, [
            ll
          ], a, true))), ml(t, l, l.pendingProps.children, a), l.child;
        case 29:
          throw l.pendingProps;
      }
      throw Error(y(156, l.tag));
    }
    function Ea(t) {
      t.flags |= 4;
    }
    function kc(t, l, a, u, e) {
      if ((l = (t.mode & 32) !== 0) && (l = false), l) {
        if (t.flags |= 16777216, (e & 335544128) === e) if (t.stateNode.complete) t.flags |= 8192;
        else if (Kr()) t.flags |= 8192;
        else throw hu = Nn, vc;
      } else t.flags &= -16777217;
    }
    function Er(t, l) {
      if (l.type !== "stylesheet" || (l.state.loading & 4) !== 0) t.flags &= -16777217;
      else if (t.flags |= 16777216, !Bd(l)) if (Kr()) t.flags |= 8192;
      else throw hu = Nn, vc;
    }
    function Wn(t, l) {
      l !== null && (t.flags |= 4), t.flags & 16384 && (l = t.tag !== 22 ? gt() : 536870912, t.lanes |= l, Wu |= l);
    }
    function Ye(t, l) {
      if (!St) switch (t.tailMode) {
        case "hidden":
          l = t.tail;
          for (var a = null; l !== null; ) l.alternate !== null && (a = l), l = l.sibling;
          a === null ? t.tail = null : a.sibling = null;
          break;
        case "collapsed":
          a = t.tail;
          for (var u = null; a !== null; ) a.alternate !== null && (u = a), a = a.sibling;
          u === null ? l || t.tail === null ? t.tail = null : t.tail.sibling = null : u.sibling = null;
      }
    }
    function Qt(t) {
      var l = t.alternate !== null && t.alternate.child === t.child, a = 0, u = 0;
      if (l) for (var e = t.child; e !== null; ) a |= e.lanes | e.childLanes, u |= e.subtreeFlags & 65011712, u |= e.flags & 65011712, e.return = t, e = e.sibling;
      else for (e = t.child; e !== null; ) a |= e.lanes | e.childLanes, u |= e.subtreeFlags, u |= e.flags, e.return = t, e = e.sibling;
      return t.subtreeFlags |= u, t.childLanes = a, l;
    }
    function Vh(t, l, a) {
      var u = l.pendingProps;
      switch (nc(l), l.tag) {
        case 16:
        case 15:
        case 0:
        case 11:
        case 7:
        case 8:
        case 12:
        case 9:
        case 14:
          return Qt(l), null;
        case 1:
          return Qt(l), null;
        case 3:
          return a = l.stateNode, u = null, t !== null && (u = t.memoizedState.cache), l.memoizedState.cache !== u && (l.flags |= 2048), ma(ll), Mt(), a.pendingContext && (a.context = a.pendingContext, a.pendingContext = null), (t === null || t.child === null) && (Bu(l) ? Ea(l) : t === null || t.memoizedState.isDehydrated && (l.flags & 256) === 0 || (l.flags |= 1024, cc())), Qt(l), null;
        case 26:
          var e = l.type, n = l.memoizedState;
          return t === null ? (Ea(l), n !== null ? (Qt(l), Er(l, n)) : (Qt(l), kc(l, e, null, u, a))) : n ? n !== t.memoizedState ? (Ea(l), Qt(l), Er(l, n)) : (Qt(l), l.flags &= -16777217) : (t = t.memoizedProps, t !== u && Ea(l), Qt(l), kc(l, e, t, u, a)), null;
        case 27:
          if (Al(l), a = ft.current, e = l.type, t !== null && l.stateNode != null) t.memoizedProps !== u && Ea(l);
          else {
            if (!u) {
              if (l.stateNode === null) throw Error(y(166));
              return Qt(l), null;
            }
            t = G.current, Bu(l) ? Po(l) : (t = Md(e, u, a), l.stateNode = t, Ea(l));
          }
          return Qt(l), null;
        case 5:
          if (Al(l), e = l.type, t !== null && l.stateNode != null) t.memoizedProps !== u && Ea(l);
          else {
            if (!u) {
              if (l.stateNode === null) throw Error(y(166));
              return Qt(l), null;
            }
            if (n = G.current, Bu(l)) Po(l);
            else {
              var i = oi(ft.current);
              switch (n) {
                case 1:
                  n = i.createElementNS("http://www.w3.org/2000/svg", e);
                  break;
                case 2:
                  n = i.createElementNS("http://www.w3.org/1998/Math/MathML", e);
                  break;
                default:
                  switch (e) {
                    case "svg":
                      n = i.createElementNS("http://www.w3.org/2000/svg", e);
                      break;
                    case "math":
                      n = i.createElementNS("http://www.w3.org/1998/Math/MathML", e);
                      break;
                    case "script":
                      n = i.createElement("div"), n.innerHTML = "<script><\/script>", n = n.removeChild(n.firstChild);
                      break;
                    case "select":
                      n = typeof u.is == "string" ? i.createElement("select", {
                        is: u.is
                      }) : i.createElement("select"), u.multiple ? n.multiple = true : u.size && (n.size = u.size);
                      break;
                    default:
                      n = typeof u.is == "string" ? i.createElement(e, {
                        is: u.is
                      }) : i.createElement(e);
                  }
              }
              n[Jt] = l, n[tl] = u;
              t: for (i = l.child; i !== null; ) {
                if (i.tag === 5 || i.tag === 6) n.appendChild(i.stateNode);
                else if (i.tag !== 4 && i.tag !== 27 && i.child !== null) {
                  i.child.return = i, i = i.child;
                  continue;
                }
                if (i === l) break t;
                for (; i.sibling === null; ) {
                  if (i.return === null || i.return === l) break t;
                  i = i.return;
                }
                i.sibling.return = i.return, i = i.sibling;
              }
              l.stateNode = n;
              t: switch (Sl(n, e, u), e) {
                case "button":
                case "input":
                case "select":
                case "textarea":
                  u = !!u.autoFocus;
                  break t;
                case "img":
                  u = true;
                  break t;
                default:
                  u = false;
              }
              u && Ea(l);
            }
          }
          return Qt(l), kc(l, l.type, t === null ? null : t.memoizedProps, l.pendingProps, a), null;
        case 6:
          if (t && l.stateNode != null) t.memoizedProps !== u && Ea(l);
          else {
            if (typeof u != "string" && l.stateNode === null) throw Error(y(166));
            if (t = ft.current, Bu(l)) {
              if (t = l.stateNode, a = l.memoizedProps, u = null, e = vl, e !== null) switch (e.tag) {
                case 27:
                case 5:
                  u = e.memoizedProps;
              }
              t[Jt] = l, t = !!(t.nodeValue === a || u !== null && u.suppressHydrationWarning === true || md(t.nodeValue, a)), t || Ha(l, true);
            } else t = oi(t).createTextNode(u), t[Jt] = l, l.stateNode = t;
          }
          return Qt(l), null;
        case 31:
          if (a = l.memoizedState, t === null || t.memoizedState !== null) {
            if (u = Bu(l), a !== null) {
              if (t === null) {
                if (!u) throw Error(y(318));
                if (t = l.memoizedState, t = t !== null ? t.dehydrated : null, !t) throw Error(y(557));
                t[Jt] = l;
              } else fu(), (l.flags & 128) === 0 && (l.memoizedState = null), l.flags |= 4;
              Qt(l), t = false;
            } else a = cc(), t !== null && t.memoizedState !== null && (t.memoizedState.hydrationErrors = a), t = true;
            if (!t) return l.flags & 256 ? (Xl(l), l) : (Xl(l), null);
            if ((l.flags & 128) !== 0) throw Error(y(558));
          }
          return Qt(l), null;
        case 13:
          if (u = l.memoizedState, t === null || t.memoizedState !== null && t.memoizedState.dehydrated !== null) {
            if (e = Bu(l), u !== null && u.dehydrated !== null) {
              if (t === null) {
                if (!e) throw Error(y(318));
                if (e = l.memoizedState, e = e !== null ? e.dehydrated : null, !e) throw Error(y(317));
                e[Jt] = l;
              } else fu(), (l.flags & 128) === 0 && (l.memoizedState = null), l.flags |= 4;
              Qt(l), e = false;
            } else e = cc(), t !== null && t.memoizedState !== null && (t.memoizedState.hydrationErrors = e), e = true;
            if (!e) return l.flags & 256 ? (Xl(l), l) : (Xl(l), null);
          }
          return Xl(l), (l.flags & 128) !== 0 ? (l.lanes = a, l) : (a = u !== null, t = t !== null && t.memoizedState !== null, a && (u = l.child, e = null, u.alternate !== null && u.alternate.memoizedState !== null && u.alternate.memoizedState.cachePool !== null && (e = u.alternate.memoizedState.cachePool.pool), n = null, u.memoizedState !== null && u.memoizedState.cachePool !== null && (n = u.memoizedState.cachePool.pool), n !== e && (u.flags |= 2048)), a !== t && a && (l.child.flags |= 8192), Wn(l, l.updateQueue), Qt(l), null);
        case 4:
          return Mt(), t === null && Ef(l.stateNode.containerInfo), Qt(l), null;
        case 10:
          return ma(l.type), Qt(l), null;
        case 19:
          if (R(It), u = l.memoizedState, u === null) return Qt(l), null;
          if (e = (l.flags & 128) !== 0, n = u.rendering, n === null) if (e) Ye(u, false);
          else {
            if (Ft !== 0 || t !== null && (t.flags & 128) !== 0) for (t = l.child; t !== null; ) {
              if (n = Bn(t), n !== null) {
                for (l.flags |= 128, Ye(u, false), t = n.updateQueue, l.updateQueue = t, Wn(l, t), l.subtreeFlags = 0, t = a, a = l.child; a !== null; ) Wo(a, t), a = a.sibling;
                return B(It, It.current & 1 | 2), St && va(l, u.treeForkCount), l.child;
              }
              t = t.sibling;
            }
            u.tail !== null && zl() > Pn && (l.flags |= 128, e = true, Ye(u, false), l.lanes = 4194304);
          }
          else {
            if (!e) if (t = Bn(n), t !== null) {
              if (l.flags |= 128, e = true, t = t.updateQueue, l.updateQueue = t, Wn(l, t), Ye(u, true), u.tail === null && u.tailMode === "hidden" && !n.alternate && !St) return Qt(l), null;
            } else 2 * zl() - u.renderingStartTime > Pn && a !== 536870912 && (l.flags |= 128, e = true, Ye(u, false), l.lanes = 4194304);
            u.isBackwards ? (n.sibling = l.child, l.child = n) : (t = u.last, t !== null ? t.sibling = n : l.child = n, u.last = n);
          }
          return u.tail !== null ? (t = u.tail, u.rendering = t, u.tail = t.sibling, u.renderingStartTime = zl(), t.sibling = null, a = It.current, B(It, e ? a & 1 | 2 : a & 1), St && va(l, u.treeForkCount), t) : (Qt(l), null);
        case 22:
        case 23:
          return Xl(l), Ec(), u = l.memoizedState !== null, t !== null ? t.memoizedState !== null !== u && (l.flags |= 8192) : u && (l.flags |= 8192), u ? (a & 536870912) !== 0 && (l.flags & 128) === 0 && (Qt(l), l.subtreeFlags & 6 && (l.flags |= 8192)) : Qt(l), a = l.updateQueue, a !== null && Wn(l, a.retryQueue), a = null, t !== null && t.memoizedState !== null && t.memoizedState.cachePool !== null && (a = t.memoizedState.cachePool.pool), u = null, l.memoizedState !== null && l.memoizedState.cachePool !== null && (u = l.memoizedState.cachePool.pool), u !== a && (l.flags |= 2048), t !== null && R(ru), null;
        case 24:
          return a = null, t !== null && (a = t.memoizedState.cache), l.memoizedState.cache !== a && (l.flags |= 2048), ma(ll), Qt(l), null;
        case 25:
          return null;
        case 30:
          return null;
      }
      throw Error(y(156, l.tag));
    }
    function Lh(t, l) {
      switch (nc(l), l.tag) {
        case 1:
          return t = l.flags, t & 65536 ? (l.flags = t & -65537 | 128, l) : null;
        case 3:
          return ma(ll), Mt(), t = l.flags, (t & 65536) !== 0 && (t & 128) === 0 ? (l.flags = t & -65537 | 128, l) : null;
        case 26:
        case 27:
        case 5:
          return Al(l), null;
        case 31:
          if (l.memoizedState !== null) {
            if (Xl(l), l.alternate === null) throw Error(y(340));
            fu();
          }
          return t = l.flags, t & 65536 ? (l.flags = t & -65537 | 128, l) : null;
        case 13:
          if (Xl(l), t = l.memoizedState, t !== null && t.dehydrated !== null) {
            if (l.alternate === null) throw Error(y(340));
            fu();
          }
          return t = l.flags, t & 65536 ? (l.flags = t & -65537 | 128, l) : null;
        case 19:
          return R(It), null;
        case 4:
          return Mt(), null;
        case 10:
          return ma(l.type), null;
        case 22:
        case 23:
          return Xl(l), Ec(), t !== null && R(ru), t = l.flags, t & 65536 ? (l.flags = t & -65537 | 128, l) : null;
        case 24:
          return ma(ll), null;
        case 25:
          return null;
        default:
          return null;
      }
    }
    function br(t, l) {
      switch (nc(l), l.tag) {
        case 3:
          ma(ll), Mt();
          break;
        case 26:
        case 27:
        case 5:
          Al(l);
          break;
        case 4:
          Mt();
          break;
        case 31:
          l.memoizedState !== null && Xl(l);
          break;
        case 13:
          Xl(l);
          break;
        case 19:
          R(It);
          break;
        case 10:
          ma(l.type);
          break;
        case 22:
        case 23:
          Xl(l), Ec(), t !== null && R(ru);
          break;
        case 24:
          ma(ll);
      }
    }
    function je(t, l) {
      try {
        var a = l.updateQueue, u = a !== null ? a.lastEffect : null;
        if (u !== null) {
          var e = u.next;
          a = e;
          do {
            if ((a.tag & t) === t) {
              u = void 0;
              var n = a.create, i = a.inst;
              u = n(), i.destroy = u;
            }
            a = a.next;
          } while (a !== e);
        }
      } catch (f) {
        Ut(l, l.return, f);
      }
    }
    function Qa(t, l, a) {
      try {
        var u = l.updateQueue, e = u !== null ? u.lastEffect : null;
        if (e !== null) {
          var n = e.next;
          u = n;
          do {
            if ((u.tag & t) === t) {
              var i = u.inst, f = i.destroy;
              if (f !== void 0) {
                i.destroy = void 0, e = l;
                var d = a, b = f;
                try {
                  b();
                } catch (M) {
                  Ut(e, d, M);
                }
              }
            }
            u = u.next;
          } while (u !== n);
        }
      } catch (M) {
        Ut(l, l.return, M);
      }
    }
    function Tr(t) {
      var l = t.updateQueue;
      if (l !== null) {
        var a = t.stateNode;
        try {
          ds(l, a);
        } catch (u) {
          Ut(t, t.return, u);
        }
      }
    }
    function Ar(t, l, a) {
      a.props = mu(t.type, t.memoizedProps), a.state = t.memoizedState;
      try {
        a.componentWillUnmount();
      } catch (u) {
        Ut(t, l, u);
      }
    }
    function Ge(t, l) {
      try {
        var a = t.ref;
        if (a !== null) {
          switch (t.tag) {
            case 26:
            case 27:
            case 5:
              var u = t.stateNode;
              break;
            case 30:
              u = t.stateNode;
              break;
            default:
              u = t.stateNode;
          }
          typeof a == "function" ? t.refCleanup = a(u) : a.current = u;
        }
      } catch (e) {
        Ut(t, l, e);
      }
    }
    function ia(t, l) {
      var a = t.ref, u = t.refCleanup;
      if (a !== null) if (typeof u == "function") try {
        u();
      } catch (e) {
        Ut(t, l, e);
      } finally {
        t.refCleanup = null, t = t.alternate, t != null && (t.refCleanup = null);
      }
      else if (typeof a == "function") try {
        a(null);
      } catch (e) {
        Ut(t, l, e);
      }
      else a.current = null;
    }
    function zr(t) {
      var l = t.type, a = t.memoizedProps, u = t.stateNode;
      try {
        t: switch (l) {
          case "button":
          case "input":
          case "select":
          case "textarea":
            a.autoFocus && u.focus();
            break t;
          case "img":
            a.src ? u.src = a.src : a.srcSet && (u.srcset = a.srcSet);
        }
      } catch (e) {
        Ut(t, t.return, e);
      }
    }
    function Ic(t, l, a) {
      try {
        var u = t.stateNode;
        dv(u, t.type, a, l), u[tl] = l;
      } catch (e) {
        Ut(t, t.return, e);
      }
    }
    function pr(t) {
      return t.tag === 5 || t.tag === 3 || t.tag === 26 || t.tag === 27 && Ja(t.type) || t.tag === 4;
    }
    function Pc(t) {
      t: for (; ; ) {
        for (; t.sibling === null; ) {
          if (t.return === null || pr(t.return)) return null;
          t = t.return;
        }
        for (t.sibling.return = t.return, t = t.sibling; t.tag !== 5 && t.tag !== 6 && t.tag !== 18; ) {
          if (t.tag === 27 && Ja(t.type) || t.flags & 2 || t.child === null || t.tag === 4) continue t;
          t.child.return = t, t = t.child;
        }
        if (!(t.flags & 2)) return t.stateNode;
      }
    }
    function tf(t, l, a) {
      var u = t.tag;
      if (u === 5 || u === 6) t = t.stateNode, l ? (a.nodeType === 9 ? a.body : a.nodeName === "HTML" ? a.ownerDocument.body : a).insertBefore(t, l) : (l = a.nodeType === 9 ? a.body : a.nodeName === "HTML" ? a.ownerDocument.body : a, l.appendChild(t), a = a._reactRootContainer, a != null || l.onclick !== null || (l.onclick = ra));
      else if (u !== 4 && (u === 27 && Ja(t.type) && (a = t.stateNode, l = null), t = t.child, t !== null)) for (tf(t, l, a), t = t.sibling; t !== null; ) tf(t, l, a), t = t.sibling;
    }
    function $n(t, l, a) {
      var u = t.tag;
      if (u === 5 || u === 6) t = t.stateNode, l ? a.insertBefore(t, l) : a.appendChild(t);
      else if (u !== 4 && (u === 27 && Ja(t.type) && (a = t.stateNode), t = t.child, t !== null)) for ($n(t, l, a), t = t.sibling; t !== null; ) $n(t, l, a), t = t.sibling;
    }
    function Or(t) {
      var l = t.stateNode, a = t.memoizedProps;
      try {
        for (var u = t.type, e = l.attributes; e.length; ) l.removeAttributeNode(e[0]);
        Sl(l, u, a), l[Jt] = t, l[tl] = a;
      } catch (n) {
        Ut(t, t.return, n);
      }
    }
    var ba = false, el = false, lf = false, Mr = typeof WeakSet == "function" ? WeakSet : Set, dl = null;
    function wh(t, l) {
      if (t = t.containerInfo, Af = mi, t = Xo(t), Wi(t)) {
        if ("selectionStart" in t) var a = {
          start: t.selectionStart,
          end: t.selectionEnd
        };
        else t: {
          a = (a = t.ownerDocument) && a.defaultView || window;
          var u = a.getSelection && a.getSelection();
          if (u && u.rangeCount !== 0) {
            a = u.anchorNode;
            var e = u.anchorOffset, n = u.focusNode;
            u = u.focusOffset;
            try {
              a.nodeType, n.nodeType;
            } catch {
              a = null;
              break t;
            }
            var i = 0, f = -1, d = -1, b = 0, M = 0, N = t, T = null;
            l: for (; ; ) {
              for (var z; N !== a || e !== 0 && N.nodeType !== 3 || (f = i + e), N !== n || u !== 0 && N.nodeType !== 3 || (d = i + u), N.nodeType === 3 && (i += N.nodeValue.length), (z = N.firstChild) !== null; ) T = N, N = z;
              for (; ; ) {
                if (N === t) break l;
                if (T === a && ++b === e && (f = i), T === n && ++M === u && (d = i), (z = N.nextSibling) !== null) break;
                N = T, T = N.parentNode;
              }
              N = z;
            }
            a = f === -1 || d === -1 ? null : {
              start: f,
              end: d
            };
          } else a = null;
        }
        a = a || {
          start: 0,
          end: 0
        };
      } else a = null;
      for (zf = {
        focusedElem: t,
        selectionRange: a
      }, mi = false, dl = l; dl !== null; ) if (l = dl, t = l.child, (l.subtreeFlags & 1028) !== 0 && t !== null) t.return = l, dl = t;
      else for (; dl !== null; ) {
        switch (l = dl, n = l.alternate, t = l.flags, l.tag) {
          case 0:
            if ((t & 4) !== 0 && (t = l.updateQueue, t = t !== null ? t.events : null, t !== null)) for (a = 0; a < t.length; a++) e = t[a], e.ref.impl = e.nextImpl;
            break;
          case 11:
          case 15:
            break;
          case 1:
            if ((t & 1024) !== 0 && n !== null) {
              t = void 0, a = l, e = n.memoizedProps, n = n.memoizedState, u = a.stateNode;
              try {
                var x = mu(a.type, e);
                t = u.getSnapshotBeforeUpdate(x, n), u.__reactInternalSnapshotBeforeUpdate = t;
              } catch (at) {
                Ut(a, a.return, at);
              }
            }
            break;
          case 3:
            if ((t & 1024) !== 0) {
              if (t = l.stateNode.containerInfo, a = t.nodeType, a === 9) Mf(t);
              else if (a === 1) switch (t.nodeName) {
                case "HEAD":
                case "HTML":
                case "BODY":
                  Mf(t);
                  break;
                default:
                  t.textContent = "";
              }
            }
            break;
          case 5:
          case 26:
          case 27:
          case 6:
          case 4:
          case 17:
            break;
          default:
            if ((t & 1024) !== 0) throw Error(y(163));
        }
        if (t = l.sibling, t !== null) {
          t.return = l.return, dl = t;
          break;
        }
        dl = l.return;
      }
    }
    function Rr(t, l, a) {
      var u = a.flags;
      switch (a.tag) {
        case 0:
        case 11:
        case 15:
          Aa(t, a), u & 4 && je(5, a);
          break;
        case 1:
          if (Aa(t, a), u & 4) if (t = a.stateNode, l === null) try {
            t.componentDidMount();
          } catch (i) {
            Ut(a, a.return, i);
          }
          else {
            var e = mu(a.type, l.memoizedProps);
            l = l.memoizedState;
            try {
              t.componentDidUpdate(e, l, t.__reactInternalSnapshotBeforeUpdate);
            } catch (i) {
              Ut(a, a.return, i);
            }
          }
          u & 64 && Tr(a), u & 512 && Ge(a, a.return);
          break;
        case 3:
          if (Aa(t, a), u & 64 && (t = a.updateQueue, t !== null)) {
            if (l = null, a.child !== null) switch (a.child.tag) {
              case 27:
              case 5:
                l = a.child.stateNode;
                break;
              case 1:
                l = a.child.stateNode;
            }
            try {
              ds(t, l);
            } catch (i) {
              Ut(a, a.return, i);
            }
          }
          break;
        case 27:
          l === null && u & 4 && Or(a);
        case 26:
        case 5:
          Aa(t, a), l === null && u & 4 && zr(a), u & 512 && Ge(a, a.return);
          break;
        case 12:
          Aa(t, a);
          break;
        case 31:
          Aa(t, a), u & 4 && Nr(t, a);
          break;
        case 13:
          Aa(t, a), u & 4 && Cr(t, a), u & 64 && (t = a.memoizedState, t !== null && (t = t.dehydrated, t !== null && (a = tv.bind(null, a), Ev(t, a))));
          break;
        case 22:
          if (u = a.memoizedState !== null || ba, !u) {
            l = l !== null && l.memoizedState !== null || el, e = ba;
            var n = el;
            ba = u, (el = l) && !n ? za(t, a, (a.subtreeFlags & 8772) !== 0) : Aa(t, a), ba = e, el = n;
          }
          break;
        case 30:
          break;
        default:
          Aa(t, a);
      }
    }
    function Dr(t) {
      var l = t.alternate;
      l !== null && (t.alternate = null, Dr(l)), t.child = null, t.deletions = null, t.sibling = null, t.tag === 5 && (l = t.stateNode, l !== null && lu(l)), t.stateNode = null, t.return = null, t.dependencies = null, t.memoizedProps = null, t.memoizedState = null, t.pendingProps = null, t.stateNode = null, t.updateQueue = null;
    }
    var Lt = null, Ul = false;
    function Ta(t, l, a) {
      for (a = a.child; a !== null; ) Ur(t, l, a), a = a.sibling;
    }
    function Ur(t, l, a) {
      if (El && typeof El.onCommitFiberUnmount == "function") try {
        El.onCommitFiberUnmount(Da, a);
      } catch {
      }
      switch (a.tag) {
        case 26:
          el || ia(a, l), Ta(t, l, a), a.memoizedState ? a.memoizedState.count-- : a.stateNode && (a = a.stateNode, a.parentNode.removeChild(a));
          break;
        case 27:
          el || ia(a, l);
          var u = Lt, e = Ul;
          Ja(a.type) && (Lt = a.stateNode, Ul = false), Ta(t, l, a), Je(a.stateNode), Lt = u, Ul = e;
          break;
        case 5:
          el || ia(a, l);
        case 6:
          if (u = Lt, e = Ul, Lt = null, Ta(t, l, a), Lt = u, Ul = e, Lt !== null) if (Ul) try {
            (Lt.nodeType === 9 ? Lt.body : Lt.nodeName === "HTML" ? Lt.ownerDocument.body : Lt).removeChild(a.stateNode);
          } catch (n) {
            Ut(a, l, n);
          }
          else try {
            Lt.removeChild(a.stateNode);
          } catch (n) {
            Ut(a, l, n);
          }
          break;
        case 18:
          Lt !== null && (Ul ? (t = Lt, Td(t.nodeType === 9 ? t.body : t.nodeName === "HTML" ? t.ownerDocument.body : t, a.stateNode), ae(t)) : Td(Lt, a.stateNode));
          break;
        case 4:
          u = Lt, e = Ul, Lt = a.stateNode.containerInfo, Ul = true, Ta(t, l, a), Lt = u, Ul = e;
          break;
        case 0:
        case 11:
        case 14:
        case 15:
          Qa(2, a, l), el || Qa(4, a, l), Ta(t, l, a);
          break;
        case 1:
          el || (ia(a, l), u = a.stateNode, typeof u.componentWillUnmount == "function" && Ar(a, l, u)), Ta(t, l, a);
          break;
        case 21:
          Ta(t, l, a);
          break;
        case 22:
          el = (u = el) || a.memoizedState !== null, Ta(t, l, a), el = u;
          break;
        default:
          Ta(t, l, a);
      }
    }
    function Nr(t, l) {
      if (l.memoizedState === null && (t = l.alternate, t !== null && (t = t.memoizedState, t !== null))) {
        t = t.dehydrated;
        try {
          ae(t);
        } catch (a) {
          Ut(l, l.return, a);
        }
      }
    }
    function Cr(t, l) {
      if (l.memoizedState === null && (t = l.alternate, t !== null && (t = t.memoizedState, t !== null && (t = t.dehydrated, t !== null)))) try {
        ae(t);
      } catch (a) {
        Ut(l, l.return, a);
      }
    }
    function Kh(t) {
      switch (t.tag) {
        case 31:
        case 13:
        case 19:
          var l = t.stateNode;
          return l === null && (l = t.stateNode = new Mr()), l;
        case 22:
          return t = t.stateNode, l = t._retryCache, l === null && (l = t._retryCache = new Mr()), l;
        default:
          throw Error(y(435, t.tag));
      }
    }
    function Fn(t, l) {
      var a = Kh(t);
      l.forEach(function(u) {
        if (!a.has(u)) {
          a.add(u);
          var e = lv.bind(null, t, u);
          u.then(e, e);
        }
      });
    }
    function Nl(t, l) {
      var a = l.deletions;
      if (a !== null) for (var u = 0; u < a.length; u++) {
        var e = a[u], n = t, i = l, f = i;
        t: for (; f !== null; ) {
          switch (f.tag) {
            case 27:
              if (Ja(f.type)) {
                Lt = f.stateNode, Ul = false;
                break t;
              }
              break;
            case 5:
              Lt = f.stateNode, Ul = false;
              break t;
            case 3:
            case 4:
              Lt = f.stateNode.containerInfo, Ul = true;
              break t;
          }
          f = f.return;
        }
        if (Lt === null) throw Error(y(160));
        Ur(n, i, e), Lt = null, Ul = false, n = e.alternate, n !== null && (n.return = null), e.return = null;
      }
      if (l.subtreeFlags & 13886) for (l = l.child; l !== null; ) Hr(l, t), l = l.sibling;
    }
    var la = null;
    function Hr(t, l) {
      var a = t.alternate, u = t.flags;
      switch (t.tag) {
        case 0:
        case 11:
        case 14:
        case 15:
          Nl(l, t), Cl(t), u & 4 && (Qa(3, t, t.return), je(3, t), Qa(5, t, t.return));
          break;
        case 1:
          Nl(l, t), Cl(t), u & 512 && (el || a === null || ia(a, a.return)), u & 64 && ba && (t = t.updateQueue, t !== null && (u = t.callbacks, u !== null && (a = t.shared.hiddenCallbacks, t.shared.hiddenCallbacks = a === null ? u : a.concat(u))));
          break;
        case 26:
          var e = la;
          if (Nl(l, t), Cl(t), u & 512 && (el || a === null || ia(a, a.return)), u & 4) {
            var n = a !== null ? a.memoizedState : null;
            if (u = t.memoizedState, a === null) if (u === null) if (t.stateNode === null) {
              t: {
                u = t.type, a = t.memoizedProps, e = e.ownerDocument || e;
                l: switch (u) {
                  case "title":
                    n = e.getElementsByTagName("title")[0], (!n || n[ua] || n[Jt] || n.namespaceURI === "http://www.w3.org/2000/svg" || n.hasAttribute("itemprop")) && (n = e.createElement(u), e.head.insertBefore(n, e.querySelector("head > title"))), Sl(n, u, a), n[Jt] = t, rl(n), u = n;
                    break t;
                  case "link":
                    var i = Hd("link", "href", e).get(u + (a.href || ""));
                    if (i) {
                      for (var f = 0; f < i.length; f++) if (n = i[f], n.getAttribute("href") === (a.href == null || a.href === "" ? null : a.href) && n.getAttribute("rel") === (a.rel == null ? null : a.rel) && n.getAttribute("title") === (a.title == null ? null : a.title) && n.getAttribute("crossorigin") === (a.crossOrigin == null ? null : a.crossOrigin)) {
                        i.splice(f, 1);
                        break l;
                      }
                    }
                    n = e.createElement(u), Sl(n, u, a), e.head.appendChild(n);
                    break;
                  case "meta":
                    if (i = Hd("meta", "content", e).get(u + (a.content || ""))) {
                      for (f = 0; f < i.length; f++) if (n = i[f], n.getAttribute("content") === (a.content == null ? null : "" + a.content) && n.getAttribute("name") === (a.name == null ? null : a.name) && n.getAttribute("property") === (a.property == null ? null : a.property) && n.getAttribute("http-equiv") === (a.httpEquiv == null ? null : a.httpEquiv) && n.getAttribute("charset") === (a.charSet == null ? null : a.charSet)) {
                        i.splice(f, 1);
                        break l;
                      }
                    }
                    n = e.createElement(u), Sl(n, u, a), e.head.appendChild(n);
                    break;
                  default:
                    throw Error(y(468, u));
                }
                n[Jt] = t, rl(n), u = n;
              }
              t.stateNode = u;
            } else qd(e, t.type, t.stateNode);
            else t.stateNode = Cd(e, u, t.memoizedProps);
            else n !== u ? (n === null ? a.stateNode !== null && (a = a.stateNode, a.parentNode.removeChild(a)) : n.count--, u === null ? qd(e, t.type, t.stateNode) : Cd(e, u, t.memoizedProps)) : u === null && t.stateNode !== null && Ic(t, t.memoizedProps, a.memoizedProps);
          }
          break;
        case 27:
          Nl(l, t), Cl(t), u & 512 && (el || a === null || ia(a, a.return)), a !== null && u & 4 && Ic(t, t.memoizedProps, a.memoizedProps);
          break;
        case 5:
          if (Nl(l, t), Cl(t), u & 512 && (el || a === null || ia(a, a.return)), t.flags & 32) {
            e = t.stateNode;
            try {
              pu(e, "");
            } catch (x) {
              Ut(t, t.return, x);
            }
          }
          u & 4 && t.stateNode != null && (e = t.memoizedProps, Ic(t, e, a !== null ? a.memoizedProps : e)), u & 1024 && (lf = true);
          break;
        case 6:
          if (Nl(l, t), Cl(t), u & 4) {
            if (t.stateNode === null) throw Error(y(162));
            u = t.memoizedProps, a = t.stateNode;
            try {
              a.nodeValue = u;
            } catch (x) {
              Ut(t, t.return, x);
            }
          }
          break;
        case 3:
          if (di = null, e = la, la = si(l.containerInfo), Nl(l, t), la = e, Cl(t), u & 4 && a !== null && a.memoizedState.isDehydrated) try {
            ae(l.containerInfo);
          } catch (x) {
            Ut(t, t.return, x);
          }
          lf && (lf = false, qr(t));
          break;
        case 4:
          u = la, la = si(t.stateNode.containerInfo), Nl(l, t), Cl(t), la = u;
          break;
        case 12:
          Nl(l, t), Cl(t);
          break;
        case 31:
          Nl(l, t), Cl(t), u & 4 && (u = t.updateQueue, u !== null && (t.updateQueue = null, Fn(t, u)));
          break;
        case 13:
          Nl(l, t), Cl(t), t.child.flags & 8192 && t.memoizedState !== null != (a !== null && a.memoizedState !== null) && (In = zl()), u & 4 && (u = t.updateQueue, u !== null && (t.updateQueue = null, Fn(t, u)));
          break;
        case 22:
          e = t.memoizedState !== null;
          var d = a !== null && a.memoizedState !== null, b = ba, M = el;
          if (ba = b || e, el = M || d, Nl(l, t), el = M, ba = b, Cl(t), u & 8192) t: for (l = t.stateNode, l._visibility = e ? l._visibility & -2 : l._visibility | 1, e && (a === null || d || ba || el || Su(t)), a = null, l = t; ; ) {
            if (l.tag === 5 || l.tag === 26) {
              if (a === null) {
                d = a = l;
                try {
                  if (n = d.stateNode, e) i = n.style, typeof i.setProperty == "function" ? i.setProperty("display", "none", "important") : i.display = "none";
                  else {
                    f = d.stateNode;
                    var N = d.memoizedProps.style, T = N != null && N.hasOwnProperty("display") ? N.display : null;
                    f.style.display = T == null || typeof T == "boolean" ? "" : ("" + T).trim();
                  }
                } catch (x) {
                  Ut(d, d.return, x);
                }
              }
            } else if (l.tag === 6) {
              if (a === null) {
                d = l;
                try {
                  d.stateNode.nodeValue = e ? "" : d.memoizedProps;
                } catch (x) {
                  Ut(d, d.return, x);
                }
              }
            } else if (l.tag === 18) {
              if (a === null) {
                d = l;
                try {
                  var z = d.stateNode;
                  e ? Ad(z, true) : Ad(d.stateNode, false);
                } catch (x) {
                  Ut(d, d.return, x);
                }
              }
            } else if ((l.tag !== 22 && l.tag !== 23 || l.memoizedState === null || l === t) && l.child !== null) {
              l.child.return = l, l = l.child;
              continue;
            }
            if (l === t) break t;
            for (; l.sibling === null; ) {
              if (l.return === null || l.return === t) break t;
              a === l && (a = null), l = l.return;
            }
            a === l && (a = null), l.sibling.return = l.return, l = l.sibling;
          }
          u & 4 && (u = t.updateQueue, u !== null && (a = u.retryQueue, a !== null && (u.retryQueue = null, Fn(t, a))));
          break;
        case 19:
          Nl(l, t), Cl(t), u & 4 && (u = t.updateQueue, u !== null && (t.updateQueue = null, Fn(t, u)));
          break;
        case 30:
          break;
        case 21:
          break;
        default:
          Nl(l, t), Cl(t);
      }
    }
    function Cl(t) {
      var l = t.flags;
      if (l & 2) {
        try {
          for (var a, u = t.return; u !== null; ) {
            if (pr(u)) {
              a = u;
              break;
            }
            u = u.return;
          }
          if (a == null) throw Error(y(160));
          switch (a.tag) {
            case 27:
              var e = a.stateNode, n = Pc(t);
              $n(t, n, e);
              break;
            case 5:
              var i = a.stateNode;
              a.flags & 32 && (pu(i, ""), a.flags &= -33);
              var f = Pc(t);
              $n(t, f, i);
              break;
            case 3:
            case 4:
              var d = a.stateNode.containerInfo, b = Pc(t);
              tf(t, b, d);
              break;
            default:
              throw Error(y(161));
          }
        } catch (M) {
          Ut(t, t.return, M);
        }
        t.flags &= -3;
      }
      l & 4096 && (t.flags &= -4097);
    }
    function qr(t) {
      if (t.subtreeFlags & 1024) for (t = t.child; t !== null; ) {
        var l = t;
        qr(l), l.tag === 5 && l.flags & 1024 && l.stateNode.reset(), t = t.sibling;
      }
    }
    function Aa(t, l) {
      if (l.subtreeFlags & 8772) for (l = l.child; l !== null; ) Rr(t, l.alternate, l), l = l.sibling;
    }
    function Su(t) {
      for (t = t.child; t !== null; ) {
        var l = t;
        switch (l.tag) {
          case 0:
          case 11:
          case 14:
          case 15:
            Qa(4, l, l.return), Su(l);
            break;
          case 1:
            ia(l, l.return);
            var a = l.stateNode;
            typeof a.componentWillUnmount == "function" && Ar(l, l.return, a), Su(l);
            break;
          case 27:
            Je(l.stateNode);
          case 26:
          case 5:
            ia(l, l.return), Su(l);
            break;
          case 22:
            l.memoizedState === null && Su(l);
            break;
          case 30:
            Su(l);
            break;
          default:
            Su(l);
        }
        t = t.sibling;
      }
    }
    function za(t, l, a) {
      for (a = a && (l.subtreeFlags & 8772) !== 0, l = l.child; l !== null; ) {
        var u = l.alternate, e = t, n = l, i = n.flags;
        switch (n.tag) {
          case 0:
          case 11:
          case 15:
            za(e, n, a), je(4, n);
            break;
          case 1:
            if (za(e, n, a), u = n, e = u.stateNode, typeof e.componentDidMount == "function") try {
              e.componentDidMount();
            } catch (b) {
              Ut(u, u.return, b);
            }
            if (u = n, e = u.updateQueue, e !== null) {
              var f = u.stateNode;
              try {
                var d = e.shared.hiddenCallbacks;
                if (d !== null) for (e.shared.hiddenCallbacks = null, e = 0; e < d.length; e++) rs(d[e], f);
              } catch (b) {
                Ut(u, u.return, b);
              }
            }
            a && i & 64 && Tr(n), Ge(n, n.return);
            break;
          case 27:
            Or(n);
          case 26:
          case 5:
            za(e, n, a), a && u === null && i & 4 && zr(n), Ge(n, n.return);
            break;
          case 12:
            za(e, n, a);
            break;
          case 31:
            za(e, n, a), a && i & 4 && Nr(e, n);
            break;
          case 13:
            za(e, n, a), a && i & 4 && Cr(e, n);
            break;
          case 22:
            n.memoizedState === null && za(e, n, a), Ge(n, n.return);
            break;
          case 30:
            break;
          default:
            za(e, n, a);
        }
        l = l.sibling;
      }
    }
    function af(t, l) {
      var a = null;
      t !== null && t.memoizedState !== null && t.memoizedState.cachePool !== null && (a = t.memoizedState.cachePool.pool), t = null, l.memoizedState !== null && l.memoizedState.cachePool !== null && (t = l.memoizedState.cachePool.pool), t !== a && (t != null && t.refCount++, a != null && ze(a));
    }
    function uf(t, l) {
      t = null, l.alternate !== null && (t = l.alternate.memoizedState.cache), l = l.memoizedState.cache, l !== t && (l.refCount++, t != null && ze(t));
    }
    function aa(t, l, a, u) {
      if (l.subtreeFlags & 10256) for (l = l.child; l !== null; ) Br(t, l, a, u), l = l.sibling;
    }
    function Br(t, l, a, u) {
      var e = l.flags;
      switch (l.tag) {
        case 0:
        case 11:
        case 15:
          aa(t, l, a, u), e & 2048 && je(9, l);
          break;
        case 1:
          aa(t, l, a, u);
          break;
        case 3:
          aa(t, l, a, u), e & 2048 && (t = null, l.alternate !== null && (t = l.alternate.memoizedState.cache), l = l.memoizedState.cache, l !== t && (l.refCount++, t != null && ze(t)));
          break;
        case 12:
          if (e & 2048) {
            aa(t, l, a, u), t = l.stateNode;
            try {
              var n = l.memoizedProps, i = n.id, f = n.onPostCommit;
              typeof f == "function" && f(i, l.alternate === null ? "mount" : "update", t.passiveEffectDuration, -0);
            } catch (d) {
              Ut(l, l.return, d);
            }
          } else aa(t, l, a, u);
          break;
        case 31:
          aa(t, l, a, u);
          break;
        case 13:
          aa(t, l, a, u);
          break;
        case 23:
          break;
        case 22:
          n = l.stateNode, i = l.alternate, l.memoizedState !== null ? n._visibility & 2 ? aa(t, l, a, u) : Xe(t, l) : n._visibility & 2 ? aa(t, l, a, u) : (n._visibility |= 2, wu(t, l, a, u, (l.subtreeFlags & 10256) !== 0 || false)), e & 2048 && af(i, l);
          break;
        case 24:
          aa(t, l, a, u), e & 2048 && uf(l.alternate, l);
          break;
        default:
          aa(t, l, a, u);
      }
    }
    function wu(t, l, a, u, e) {
      for (e = e && ((l.subtreeFlags & 10256) !== 0 || false), l = l.child; l !== null; ) {
        var n = t, i = l, f = a, d = u, b = i.flags;
        switch (i.tag) {
          case 0:
          case 11:
          case 15:
            wu(n, i, f, d, e), je(8, i);
            break;
          case 23:
            break;
          case 22:
            var M = i.stateNode;
            i.memoizedState !== null ? M._visibility & 2 ? wu(n, i, f, d, e) : Xe(n, i) : (M._visibility |= 2, wu(n, i, f, d, e)), e && b & 2048 && af(i.alternate, i);
            break;
          case 24:
            wu(n, i, f, d, e), e && b & 2048 && uf(i.alternate, i);
            break;
          default:
            wu(n, i, f, d, e);
        }
        l = l.sibling;
      }
    }
    function Xe(t, l) {
      if (l.subtreeFlags & 10256) for (l = l.child; l !== null; ) {
        var a = t, u = l, e = u.flags;
        switch (u.tag) {
          case 22:
            Xe(a, u), e & 2048 && af(u.alternate, u);
            break;
          case 24:
            Xe(a, u), e & 2048 && uf(u.alternate, u);
            break;
          default:
            Xe(a, u);
        }
        l = l.sibling;
      }
    }
    var Qe = 8192;
    function Ku(t, l, a) {
      if (t.subtreeFlags & Qe) for (t = t.child; t !== null; ) Yr(t, l, a), t = t.sibling;
    }
    function Yr(t, l, a) {
      switch (t.tag) {
        case 26:
          Ku(t, l, a), t.flags & Qe && t.memoizedState !== null && Cv(a, la, t.memoizedState, t.memoizedProps);
          break;
        case 5:
          Ku(t, l, a);
          break;
        case 3:
        case 4:
          var u = la;
          la = si(t.stateNode.containerInfo), Ku(t, l, a), la = u;
          break;
        case 22:
          t.memoizedState === null && (u = t.alternate, u !== null && u.memoizedState !== null ? (u = Qe, Qe = 16777216, Ku(t, l, a), Qe = u) : Ku(t, l, a));
          break;
        default:
          Ku(t, l, a);
      }
    }
    function jr(t) {
      var l = t.alternate;
      if (l !== null && (t = l.child, t !== null)) {
        l.child = null;
        do
          l = t.sibling, t.sibling = null, t = l;
        while (t !== null);
      }
    }
    function Ze(t) {
      var l = t.deletions;
      if ((t.flags & 16) !== 0) {
        if (l !== null) for (var a = 0; a < l.length; a++) {
          var u = l[a];
          dl = u, Xr(u, t);
        }
        jr(t);
      }
      if (t.subtreeFlags & 10256) for (t = t.child; t !== null; ) Gr(t), t = t.sibling;
    }
    function Gr(t) {
      switch (t.tag) {
        case 0:
        case 11:
        case 15:
          Ze(t), t.flags & 2048 && Qa(9, t, t.return);
          break;
        case 3:
          Ze(t);
          break;
        case 12:
          Ze(t);
          break;
        case 22:
          var l = t.stateNode;
          t.memoizedState !== null && l._visibility & 2 && (t.return === null || t.return.tag !== 13) ? (l._visibility &= -3, kn(t)) : Ze(t);
          break;
        default:
          Ze(t);
      }
    }
    function kn(t) {
      var l = t.deletions;
      if ((t.flags & 16) !== 0) {
        if (l !== null) for (var a = 0; a < l.length; a++) {
          var u = l[a];
          dl = u, Xr(u, t);
        }
        jr(t);
      }
      for (t = t.child; t !== null; ) {
        switch (l = t, l.tag) {
          case 0:
          case 11:
          case 15:
            Qa(8, l, l.return), kn(l);
            break;
          case 22:
            a = l.stateNode, a._visibility & 2 && (a._visibility &= -3, kn(l));
            break;
          default:
            kn(l);
        }
        t = t.sibling;
      }
    }
    function Xr(t, l) {
      for (; dl !== null; ) {
        var a = dl;
        switch (a.tag) {
          case 0:
          case 11:
          case 15:
            Qa(8, a, l);
            break;
          case 23:
          case 22:
            if (a.memoizedState !== null && a.memoizedState.cachePool !== null) {
              var u = a.memoizedState.cachePool.pool;
              u != null && u.refCount++;
            }
            break;
          case 24:
            ze(a.memoizedState.cache);
        }
        if (u = a.child, u !== null) u.return = a, dl = u;
        else t: for (a = t; dl !== null; ) {
          u = dl;
          var e = u.sibling, n = u.return;
          if (Dr(u), u === a) {
            dl = null;
            break t;
          }
          if (e !== null) {
            e.return = n, dl = e;
            break t;
          }
          dl = n;
        }
      }
    }
    var Jh = {
      getCacheForType: function(t) {
        var l = yl(ll), a = l.data.get(t);
        return a === void 0 && (a = t(), l.data.set(t, a)), a;
      },
      cacheSignal: function() {
        return yl(ll).controller.signal;
      }
    }, Wh = typeof WeakMap == "function" ? WeakMap : Map, pt = 0, Bt = null, ht = null, yt = 0, Dt = 0, Ql = null, Za = false, Ju = false, ef = false, pa = 0, Ft = 0, xa = 0, gu = 0, nf = 0, Zl = 0, Wu = 0, xe = null, Hl = null, cf = false, In = 0, Qr = 0, Pn = 1 / 0, ti = null, Va = null, fl = 0, La = null, $u = null, Oa = 0, ff = 0, of = null, Zr = null, Ve = 0, sf = null;
    function xl() {
      return (pt & 2) !== 0 && yt !== 0 ? yt & -yt : p.T !== null ? mf() : hl();
    }
    function xr() {
      if (Zl === 0) if ((yt & 536870912) === 0 || St) {
        var t = q;
        q <<= 1, (q & 3932160) === 0 && (q = 262144), Zl = t;
      } else Zl = 536870912;
      return t = Gl.current, t !== null && (t.flags |= 32), Zl;
    }
    function ql(t, l, a) {
      (t === Bt && (Dt === 2 || Dt === 9) || t.cancelPendingCommit !== null) && (Fu(t, 0), wa(t, yt, Zl, false)), F(t, a), ((pt & 2) === 0 || t !== Bt) && (t === Bt && ((pt & 2) === 0 && (gu |= a), Ft === 4 && wa(t, yt, Zl, false)), ca(t));
    }
    function Vr(t, l, a) {
      if ((pt & 6) !== 0) throw Error(y(327));
      var u = !a && (l & 127) === 0 && (l & t.expiredLanes) === 0 || et(t, l), e = u ? kh(t, l) : df(t, l, true), n = u;
      do {
        if (e === 0) {
          Ju && !u && wa(t, l, 0, false);
          break;
        } else {
          if (a = t.current.alternate, n && !$h(a)) {
            e = df(t, l, false), n = false;
            continue;
          }
          if (e === 2) {
            if (n = l, t.errorRecoveryDisabledLanes & n) var i = 0;
            else i = t.pendingLanes & -536870913, i = i !== 0 ? i : i & 536870912 ? 536870912 : 0;
            if (i !== 0) {
              l = i;
              t: {
                var f = t;
                e = xe;
                var d = f.current.memoizedState.isDehydrated;
                if (d && (Fu(f, i).flags |= 256), i = df(f, i, false), i !== 2) {
                  if (ef && !d) {
                    f.errorRecoveryDisabledLanes |= n, gu |= n, e = 4;
                    break t;
                  }
                  n = Hl, Hl = e, n !== null && (Hl === null ? Hl = n : Hl.push.apply(Hl, n));
                }
                e = i;
              }
              if (n = false, e !== 2) continue;
            }
          }
          if (e === 1) {
            Fu(t, 0), wa(t, l, 0, true);
            break;
          }
          t: {
            switch (u = t, n = e, n) {
              case 0:
              case 1:
                throw Error(y(345));
              case 4:
                if ((l & 4194048) !== l) break;
              case 6:
                wa(u, l, Zl, !Za);
                break t;
              case 2:
                Hl = null;
                break;
              case 3:
              case 5:
                break;
              default:
                throw Error(y(329));
            }
            if ((l & 62914560) === l && (e = In + 300 - zl(), 10 < e)) {
              if (wa(u, l, Zl, !Za), nt(u, 0, true) !== 0) break t;
              Oa = l, u.timeoutHandle = Ed(Lr.bind(null, u, a, Hl, ti, cf, l, Zl, gu, Wu, Za, n, "Throttled", -0, 0), e);
              break t;
            }
            Lr(u, a, Hl, ti, cf, l, Zl, gu, Wu, Za, n, null, -0, 0);
          }
        }
        break;
      } while (true);
      ca(t);
    }
    function Lr(t, l, a, u, e, n, i, f, d, b, M, N, T, z) {
      if (t.timeoutHandle = -1, N = l.subtreeFlags, N & 8192 || (N & 16785408) === 16785408) {
        N = {
          stylesheets: null,
          count: 0,
          imgCount: 0,
          imgBytes: 0,
          suspenseyImages: [],
          waitingForImages: true,
          waitingForViewTransition: false,
          unsuspend: ra
        }, Yr(l, n, N);
        var x = (n & 62914560) === n ? In - zl() : (n & 4194048) === n ? Qr - zl() : 0;
        if (x = Hv(N, x), x !== null) {
          Oa = n, t.cancelPendingCommit = x(Ir.bind(null, t, l, n, a, u, e, i, f, d, M, N, null, T, z)), wa(t, n, i, !b);
          return;
        }
      }
      Ir(t, l, n, a, u, e, i, f, d);
    }
    function $h(t) {
      for (var l = t; ; ) {
        var a = l.tag;
        if ((a === 0 || a === 11 || a === 15) && l.flags & 16384 && (a = l.updateQueue, a !== null && (a = a.stores, a !== null))) for (var u = 0; u < a.length; u++) {
          var e = a[u], n = e.getSnapshot;
          e = e.value;
          try {
            if (!Yl(n(), e)) return false;
          } catch {
            return false;
          }
        }
        if (a = l.child, l.subtreeFlags & 16384 && a !== null) a.return = l, l = a;
        else {
          if (l === t) break;
          for (; l.sibling === null; ) {
            if (l.return === null || l.return === t) return true;
            l = l.return;
          }
          l.sibling.return = l.return, l = l.sibling;
        }
      }
      return true;
    }
    function wa(t, l, a, u) {
      l &= ~nf, l &= ~gu, t.suspendedLanes |= l, t.pingedLanes &= ~l, u && (t.warmLanes |= l), u = t.expirationTimes;
      for (var e = l; 0 < e; ) {
        var n = 31 - o(e), i = 1 << n;
        u[n] = -1, e &= ~i;
      }
      a !== 0 && Pl(t, a, l);
    }
    function li() {
      return (pt & 6) === 0 ? (Le(0), false) : true;
    }
    function rf() {
      if (ht !== null) {
        if (Dt === 0) var t = ht.return;
        else t = ht, ya = ou = null, Oc(t), Qu = null, Oe = 0, t = ht;
        for (; t !== null; ) br(t.alternate, t), t = t.return;
        ht = null;
      }
    }
    function Fu(t, l) {
      var a = t.timeoutHandle;
      a !== -1 && (t.timeoutHandle = -1, yv(a)), a = t.cancelPendingCommit, a !== null && (t.cancelPendingCommit = null, a()), Oa = 0, rf(), Bt = t, ht = a = ha(t.current, null), yt = l, Dt = 0, Ql = null, Za = false, Ju = et(t, l), ef = false, Wu = Zl = nf = gu = xa = Ft = 0, Hl = xe = null, cf = false, (l & 8) !== 0 && (l |= l & 32);
      var u = t.entangledLanes;
      if (u !== 0) for (t = t.entanglements, u &= l; 0 < u; ) {
        var e = 31 - o(u), n = 1 << e;
        l |= t[e], u &= ~n;
      }
      return pa = l, Tn(), a;
    }
    function wr(t, l) {
      ot = null, p.H = qe, l === Xu || l === Un ? (l = cs(), Dt = 3) : l === vc ? (l = cs(), Dt = 4) : Dt = l === xc ? 8 : l !== null && typeof l == "object" && typeof l.then == "function" ? 6 : 1, Ql = l, ht === null && (Ft = 1, Ln(t, Kl(l, t.current)));
    }
    function Kr() {
      var t = Gl.current;
      return t === null ? true : (yt & 4194048) === yt ? Fl === null : (yt & 62914560) === yt || (yt & 536870912) !== 0 ? t === Fl : false;
    }
    function Jr() {
      var t = p.H;
      return p.H = qe, t === null ? qe : t;
    }
    function Wr() {
      var t = p.A;
      return p.A = Jh, t;
    }
    function ai() {
      Ft = 4, Za || (yt & 4194048) !== yt && Gl.current !== null || (Ju = true), (xa & 134217727) === 0 && (gu & 134217727) === 0 || Bt === null || wa(Bt, yt, Zl, false);
    }
    function df(t, l, a) {
      var u = pt;
      pt |= 2;
      var e = Jr(), n = Wr();
      (Bt !== t || yt !== l) && (ti = null, Fu(t, l)), l = false;
      var i = Ft;
      t: do
        try {
          if (Dt !== 0 && ht !== null) {
            var f = ht, d = Ql;
            switch (Dt) {
              case 8:
                rf(), i = 6;
                break t;
              case 3:
              case 2:
              case 9:
              case 6:
                Gl.current === null && (l = true);
                var b = Dt;
                if (Dt = 0, Ql = null, ku(t, f, d, b), a && Ju) {
                  i = 0;
                  break t;
                }
                break;
              default:
                b = Dt, Dt = 0, Ql = null, ku(t, f, d, b);
            }
          }
          Fh(), i = Ft;
          break;
        } catch (M) {
          wr(t, M);
        }
      while (true);
      return l && t.shellSuspendCounter++, ya = ou = null, pt = u, p.H = e, p.A = n, ht === null && (Bt = null, yt = 0, Tn()), i;
    }
    function Fh() {
      for (; ht !== null; ) $r(ht);
    }
    function kh(t, l) {
      var a = pt;
      pt |= 2;
      var u = Jr(), e = Wr();
      Bt !== t || yt !== l ? (ti = null, Pn = zl() + 500, Fu(t, l)) : Ju = et(t, l);
      t: do
        try {
          if (Dt !== 0 && ht !== null) {
            l = ht;
            var n = Ql;
            l: switch (Dt) {
              case 1:
                Dt = 0, Ql = null, ku(t, l, n, 1);
                break;
              case 2:
              case 9:
                if (ns(n)) {
                  Dt = 0, Ql = null, Fr(l);
                  break;
                }
                l = function() {
                  Dt !== 2 && Dt !== 9 || Bt !== t || (Dt = 7), ca(t);
                }, n.then(l, l);
                break t;
              case 3:
                Dt = 7;
                break t;
              case 4:
                Dt = 5;
                break t;
              case 7:
                ns(n) ? (Dt = 0, Ql = null, Fr(l)) : (Dt = 0, Ql = null, ku(t, l, n, 7));
                break;
              case 5:
                var i = null;
                switch (ht.tag) {
                  case 26:
                    i = ht.memoizedState;
                  case 5:
                  case 27:
                    var f = ht;
                    if (i ? Bd(i) : f.stateNode.complete) {
                      Dt = 0, Ql = null;
                      var d = f.sibling;
                      if (d !== null) ht = d;
                      else {
                        var b = f.return;
                        b !== null ? (ht = b, ui(b)) : ht = null;
                      }
                      break l;
                    }
                }
                Dt = 0, Ql = null, ku(t, l, n, 5);
                break;
              case 6:
                Dt = 0, Ql = null, ku(t, l, n, 6);
                break;
              case 8:
                rf(), Ft = 6;
                break t;
              default:
                throw Error(y(462));
            }
          }
          Ih();
          break;
        } catch (M) {
          wr(t, M);
        }
      while (true);
      return ya = ou = null, p.H = u, p.A = e, pt = a, ht !== null ? 0 : (Bt = null, yt = 0, Tn(), Ft);
    }
    function Ih() {
      for (; ht !== null && !cn(); ) $r(ht);
    }
    function $r(t) {
      var l = _r(t.alternate, t, pa);
      t.memoizedProps = t.pendingProps, l === null ? ui(t) : ht = l;
    }
    function Fr(t) {
      var l = t, a = l.alternate;
      switch (l.tag) {
        case 15:
        case 0:
          l = hr(a, l, l.pendingProps, l.type, void 0, yt);
          break;
        case 11:
          l = hr(a, l, l.pendingProps, l.type.render, l.ref, yt);
          break;
        case 5:
          Oc(l);
        default:
          br(a, l), l = ht = Wo(l, pa), l = _r(a, l, pa);
      }
      t.memoizedProps = t.pendingProps, l === null ? ui(t) : ht = l;
    }
    function ku(t, l, a, u) {
      ya = ou = null, Oc(l), Qu = null, Oe = 0;
      var e = l.return;
      try {
        if (Qh(t, e, l, a, yt)) {
          Ft = 1, Ln(t, Kl(a, t.current)), ht = null;
          return;
        }
      } catch (n) {
        if (e !== null) throw ht = e, n;
        Ft = 1, Ln(t, Kl(a, t.current)), ht = null;
        return;
      }
      l.flags & 32768 ? (St || u === 1 ? t = true : Ju || (yt & 536870912) !== 0 ? t = false : (Za = t = true, (u === 2 || u === 9 || u === 3 || u === 6) && (u = Gl.current, u !== null && u.tag === 13 && (u.flags |= 16384))), kr(l, t)) : ui(l);
    }
    function ui(t) {
      var l = t;
      do {
        if ((l.flags & 32768) !== 0) {
          kr(l, Za);
          return;
        }
        t = l.return;
        var a = Vh(l.alternate, l, pa);
        if (a !== null) {
          ht = a;
          return;
        }
        if (l = l.sibling, l !== null) {
          ht = l;
          return;
        }
        ht = l = t;
      } while (l !== null);
      Ft === 0 && (Ft = 5);
    }
    function kr(t, l) {
      do {
        var a = Lh(t.alternate, t);
        if (a !== null) {
          a.flags &= 32767, ht = a;
          return;
        }
        if (a = t.return, a !== null && (a.flags |= 32768, a.subtreeFlags = 0, a.deletions = null), !l && (t = t.sibling, t !== null)) {
          ht = t;
          return;
        }
        ht = t = a;
      } while (t !== null);
      Ft = 6, ht = null;
    }
    function Ir(t, l, a, u, e, n, i, f, d) {
      t.cancelPendingCommit = null;
      do
        ei();
      while (fl !== 0);
      if ((pt & 6) !== 0) throw Error(y(327));
      if (l !== null) {
        if (l === t.current) throw Error(y(177));
        if (n = l.lanes | l.childLanes, n |= Pi, Et(t, a, n, i, f, d), t === Bt && (ht = Bt = null, yt = 0), $u = l, La = t, Oa = a, ff = n, of = e, Zr = u, (l.subtreeFlags & 10256) !== 0 || (l.flags & 10256) !== 0 ? (t.callbackNode = null, t.callbackPriority = 0, av(Ra, function() {
          return ud(), null;
        })) : (t.callbackNode = null, t.callbackPriority = 0), u = (l.flags & 13878) !== 0, (l.subtreeFlags & 13878) !== 0 || u) {
          u = p.T, p.T = null, e = H.p, H.p = 2, i = pt, pt |= 4;
          try {
            wh(t, l, a);
          } finally {
            pt = i, H.p = e, p.T = u;
          }
        }
        fl = 1, Pr(), td(), ld();
      }
    }
    function Pr() {
      if (fl === 1) {
        fl = 0;
        var t = La, l = $u, a = (l.flags & 13878) !== 0;
        if ((l.subtreeFlags & 13878) !== 0 || a) {
          a = p.T, p.T = null;
          var u = H.p;
          H.p = 2;
          var e = pt;
          pt |= 4;
          try {
            Hr(l, t);
            var n = zf, i = Xo(t.containerInfo), f = n.focusedElem, d = n.selectionRange;
            if (i !== f && f && f.ownerDocument && Go(f.ownerDocument.documentElement, f)) {
              if (d !== null && Wi(f)) {
                var b = d.start, M = d.end;
                if (M === void 0 && (M = b), "selectionStart" in f) f.selectionStart = b, f.selectionEnd = Math.min(M, f.value.length);
                else {
                  var N = f.ownerDocument || document, T = N && N.defaultView || window;
                  if (T.getSelection) {
                    var z = T.getSelection(), x = f.textContent.length, at = Math.min(d.start, x), Ht = d.end === void 0 ? at : Math.min(d.end, x);
                    !z.extend && at > Ht && (i = Ht, Ht = at, at = i);
                    var S = jo(f, at), m = jo(f, Ht);
                    if (S && m && (z.rangeCount !== 1 || z.anchorNode !== S.node || z.anchorOffset !== S.offset || z.focusNode !== m.node || z.focusOffset !== m.offset)) {
                      var _ = N.createRange();
                      _.setStart(S.node, S.offset), z.removeAllRanges(), at > Ht ? (z.addRange(_), z.extend(m.node, m.offset)) : (_.setEnd(m.node, m.offset), z.addRange(_));
                    }
                  }
                }
              }
              for (N = [], z = f; z = z.parentNode; ) z.nodeType === 1 && N.push({
                element: z,
                left: z.scrollLeft,
                top: z.scrollTop
              });
              for (typeof f.focus == "function" && f.focus(), f = 0; f < N.length; f++) {
                var D = N[f];
                D.element.scrollLeft = D.left, D.element.scrollTop = D.top;
              }
            }
            mi = !!Af, zf = Af = null;
          } finally {
            pt = e, H.p = u, p.T = a;
          }
        }
        t.current = l, fl = 2;
      }
    }
    function td() {
      if (fl === 2) {
        fl = 0;
        var t = La, l = $u, a = (l.flags & 8772) !== 0;
        if ((l.subtreeFlags & 8772) !== 0 || a) {
          a = p.T, p.T = null;
          var u = H.p;
          H.p = 2;
          var e = pt;
          pt |= 4;
          try {
            Rr(t, l.alternate, l);
          } finally {
            pt = e, H.p = u, p.T = a;
          }
        }
        fl = 3;
      }
    }
    function ld() {
      if (fl === 4 || fl === 3) {
        fl = 0, fn();
        var t = La, l = $u, a = Oa, u = Zr;
        (l.subtreeFlags & 10256) !== 0 || (l.flags & 10256) !== 0 ? fl = 5 : (fl = 0, $u = La = null, ad(t, t.pendingLanes));
        var e = t.pendingLanes;
        if (e === 0 && (Va = null), w(a), l = l.stateNode, El && typeof El.onCommitFiberRoot == "function") try {
          El.onCommitFiberRoot(Da, l, void 0, (l.current.flags & 128) === 128);
        } catch {
        }
        if (u !== null) {
          l = p.T, e = H.p, H.p = 2, p.T = null;
          try {
            for (var n = t.onRecoverableError, i = 0; i < u.length; i++) {
              var f = u[i];
              n(f.value, {
                componentStack: f.stack
              });
            }
          } finally {
            p.T = l, H.p = e;
          }
        }
        (Oa & 3) !== 0 && ei(), ca(t), e = t.pendingLanes, (a & 261930) !== 0 && (e & 42) !== 0 ? t === sf ? Ve++ : (Ve = 0, sf = t) : Ve = 0, Le(0);
      }
    }
    function ad(t, l) {
      (t.pooledCacheLanes &= l) === 0 && (l = t.pooledCache, l != null && (t.pooledCache = null, ze(l)));
    }
    function ei() {
      return Pr(), td(), ld(), ud();
    }
    function ud() {
      if (fl !== 5) return false;
      var t = La, l = ff;
      ff = 0;
      var a = w(Oa), u = p.T, e = H.p;
      try {
        H.p = 32 > a ? 32 : a, p.T = null, a = of, of = null;
        var n = La, i = Oa;
        if (fl = 0, $u = La = null, Oa = 0, (pt & 6) !== 0) throw Error(y(331));
        var f = pt;
        if (pt |= 4, Gr(n.current), Br(n, n.current, i, a), pt = f, Le(0, false), El && typeof El.onPostCommitFiberRoot == "function") try {
          El.onPostCommitFiberRoot(Da, n);
        } catch {
        }
        return true;
      } finally {
        H.p = e, p.T = u, ad(t, l);
      }
    }
    function ed(t, l, a) {
      l = Kl(a, l), l = Zc(t.stateNode, l, 2), t = ja(t, l, 2), t !== null && (F(t, 2), ca(t));
    }
    function Ut(t, l, a) {
      if (t.tag === 3) ed(t, t, a);
      else for (; l !== null; ) {
        if (l.tag === 3) {
          ed(l, t, a);
          break;
        } else if (l.tag === 1) {
          var u = l.stateNode;
          if (typeof l.type.getDerivedStateFromError == "function" || typeof u.componentDidCatch == "function" && (Va === null || !Va.has(u))) {
            t = Kl(a, t), a = nr(2), u = ja(l, a, 2), u !== null && (ir(a, u, l, t), F(u, 2), ca(u));
            break;
          }
        }
        l = l.return;
      }
    }
    function hf(t, l, a) {
      var u = t.pingCache;
      if (u === null) {
        u = t.pingCache = new Wh();
        var e = /* @__PURE__ */ new Set();
        u.set(l, e);
      } else e = u.get(l), e === void 0 && (e = /* @__PURE__ */ new Set(), u.set(l, e));
      e.has(a) || (ef = true, e.add(a), t = Ph.bind(null, t, l, a), l.then(t, t));
    }
    function Ph(t, l, a) {
      var u = t.pingCache;
      u !== null && u.delete(l), t.pingedLanes |= t.suspendedLanes & a, t.warmLanes &= ~a, Bt === t && (yt & a) === a && (Ft === 4 || Ft === 3 && (yt & 62914560) === yt && 300 > zl() - In ? (pt & 2) === 0 && Fu(t, 0) : nf |= a, Wu === yt && (Wu = 0)), ca(t);
    }
    function nd(t, l) {
      l === 0 && (l = gt()), t = iu(t, l), t !== null && (F(t, l), ca(t));
    }
    function tv(t) {
      var l = t.memoizedState, a = 0;
      l !== null && (a = l.retryLane), nd(t, a);
    }
    function lv(t, l) {
      var a = 0;
      switch (t.tag) {
        case 31:
        case 13:
          var u = t.stateNode, e = t.memoizedState;
          e !== null && (a = e.retryLane);
          break;
        case 19:
          u = t.stateNode;
          break;
        case 22:
          u = t.stateNode._retryCache;
          break;
        default:
          throw Error(y(314));
      }
      u !== null && u.delete(l), nd(t, a);
    }
    function av(t, l) {
      return tu(t, l);
    }
    var ni = null, Iu = null, vf = false, ii = false, yf = false, Ka = 0;
    function ca(t) {
      t !== Iu && t.next === null && (Iu === null ? ni = Iu = t : Iu = Iu.next = t), ii = true, vf || (vf = true, ev());
    }
    function Le(t, l) {
      if (!yf && ii) {
        yf = true;
        do
          for (var a = false, u = ni; u !== null; ) {
            if (t !== 0) {
              var e = u.pendingLanes;
              if (e === 0) var n = 0;
              else {
                var i = u.suspendedLanes, f = u.pingedLanes;
                n = (1 << 31 - o(42 | t) + 1) - 1, n &= e & ~(i & ~f), n = n & 201326741 ? n & 201326741 | 1 : n ? n | 2 : 0;
              }
              n !== 0 && (a = true, od(u, n));
            } else n = yt, n = nt(u, u === Bt ? n : 0, u.cancelPendingCommit !== null || u.timeoutHandle !== -1), (n & 3) === 0 || et(u, n) || (a = true, od(u, n));
            u = u.next;
          }
        while (a);
        yf = false;
      }
    }
    function uv() {
      id();
    }
    function id() {
      ii = vf = false;
      var t = 0;
      Ka !== 0 && vv() && (t = Ka);
      for (var l = zl(), a = null, u = ni; u !== null; ) {
        var e = u.next, n = cd(u, l);
        n === 0 ? (u.next = null, a === null ? ni = e : a.next = e, e === null && (Iu = a)) : (a = u, (t !== 0 || (n & 3) !== 0) && (ii = true)), u = e;
      }
      fl !== 0 && fl !== 5 || Le(t), Ka !== 0 && (Ka = 0);
    }
    function cd(t, l) {
      for (var a = t.suspendedLanes, u = t.pingedLanes, e = t.expirationTimes, n = t.pendingLanes & -62914561; 0 < n; ) {
        var i = 31 - o(n), f = 1 << i, d = e[i];
        d === -1 ? ((f & a) === 0 || (f & u) !== 0) && (e[i] = cl(f, l)) : d <= l && (t.expiredLanes |= f), n &= ~f;
      }
      if (l = Bt, a = yt, a = nt(t, t === l ? a : 0, t.cancelPendingCommit !== null || t.timeoutHandle !== -1), u = t.callbackNode, a === 0 || t === l && (Dt === 2 || Dt === 9) || t.cancelPendingCommit !== null) return u !== null && u !== null && fe(u), t.callbackNode = null, t.callbackPriority = 0;
      if ((a & 3) === 0 || et(t, a)) {
        if (l = a & -a, l === t.callbackPriority) return l;
        switch (u !== null && fe(u), w(a)) {
          case 2:
          case 8:
            a = se;
            break;
          case 32:
            a = Ra;
            break;
          case 268435456:
            a = on;
            break;
          default:
            a = Ra;
        }
        return u = fd.bind(null, t), a = tu(a, u), t.callbackPriority = l, t.callbackNode = a, l;
      }
      return u !== null && u !== null && fe(u), t.callbackPriority = 2, t.callbackNode = null, 2;
    }
    function fd(t, l) {
      if (fl !== 0 && fl !== 5) return t.callbackNode = null, t.callbackPriority = 0, null;
      var a = t.callbackNode;
      if (ei() && t.callbackNode !== a) return null;
      var u = yt;
      return u = nt(t, t === Bt ? u : 0, t.cancelPendingCommit !== null || t.timeoutHandle !== -1), u === 0 ? null : (Vr(t, u, l), cd(t, zl()), t.callbackNode != null && t.callbackNode === a ? fd.bind(null, t) : null);
    }
    function od(t, l) {
      if (ei()) return null;
      Vr(t, l, true);
    }
    function ev() {
      mv(function() {
        (pt & 6) !== 0 ? tu(oe, uv) : id();
      });
    }
    function mf() {
      if (Ka === 0) {
        var t = ju;
        t === 0 && (t = g, g <<= 1, (g & 261888) === 0 && (g = 256)), Ka = t;
      }
      return Ka;
    }
    function sd(t) {
      return t == null || typeof t == "symbol" || typeof t == "boolean" ? null : typeof t == "function" ? t : vn("" + t);
    }
    function rd(t, l) {
      var a = l.ownerDocument.createElement("input");
      return a.name = l.name, a.value = l.value, t.id && a.setAttribute("form", t.id), l.parentNode.insertBefore(a, l), t = new FormData(t), a.parentNode.removeChild(a), t;
    }
    function nv(t, l, a, u, e) {
      if (l === "submit" && a && a.stateNode === e) {
        var n = sd((e[tl] || null).action), i = u.submitter;
        i && (l = (l = i[tl] || null) ? sd(l.formAction) : i.getAttribute("formAction"), l !== null && (n = l, i = null));
        var f = new gn("action", "action", null, u, e);
        t.push({
          event: f,
          listeners: [
            {
              instance: null,
              listener: function() {
                if (u.defaultPrevented) {
                  if (Ka !== 0) {
                    var d = i ? rd(e, i) : new FormData(e);
                    Bc(a, {
                      pending: true,
                      data: d,
                      method: e.method,
                      action: n
                    }, null, d);
                  }
                } else typeof n == "function" && (f.preventDefault(), d = i ? rd(e, i) : new FormData(e), Bc(a, {
                  pending: true,
                  data: d,
                  method: e.method,
                  action: n
                }, n, d));
              },
              currentTarget: e
            }
          ]
        });
      }
    }
    for (var Sf = 0; Sf < Ii.length; Sf++) {
      var gf = Ii[Sf], iv = gf.toLowerCase(), cv = gf[0].toUpperCase() + gf.slice(1);
      ta(iv, "on" + cv);
    }
    ta(xo, "onAnimationEnd"), ta(Vo, "onAnimationIteration"), ta(Lo, "onAnimationStart"), ta("dblclick", "onDoubleClick"), ta("focusin", "onFocus"), ta("focusout", "onBlur"), ta(Ah, "onTransitionRun"), ta(zh, "onTransitionStart"), ta(ph, "onTransitionCancel"), ta(wo, "onTransitionEnd"), Au("onMouseEnter", [
      "mouseout",
      "mouseover"
    ]), Au("onMouseLeave", [
      "mouseout",
      "mouseover"
    ]), Au("onPointerEnter", [
      "pointerout",
      "pointerover"
    ]), Au("onPointerLeave", [
      "pointerout",
      "pointerover"
    ]), au("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ")), au("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")), au("onBeforeInput", [
      "compositionend",
      "keypress",
      "textInput",
      "paste"
    ]), au("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")), au("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")), au("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" "));
    var we = "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(" "), fv = new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(we));
    function dd(t, l) {
      l = (l & 4) !== 0;
      for (var a = 0; a < t.length; a++) {
        var u = t[a], e = u.event;
        u = u.listeners;
        t: {
          var n = void 0;
          if (l) for (var i = u.length - 1; 0 <= i; i--) {
            var f = u[i], d = f.instance, b = f.currentTarget;
            if (f = f.listener, d !== n && e.isPropagationStopped()) break t;
            n = f, e.currentTarget = b;
            try {
              n(e);
            } catch (M) {
              bn(M);
            }
            e.currentTarget = null, n = d;
          }
          else for (i = 0; i < u.length; i++) {
            if (f = u[i], d = f.instance, b = f.currentTarget, f = f.listener, d !== n && e.isPropagationStopped()) break t;
            n = f, e.currentTarget = b;
            try {
              n(e);
            } catch (M) {
              bn(M);
            }
            e.currentTarget = null, n = d;
          }
        }
      }
    }
    function vt(t, l) {
      var a = l[re];
      a === void 0 && (a = l[re] = /* @__PURE__ */ new Set());
      var u = t + "__bubble";
      a.has(u) || (hd(l, t, 2, false), a.add(u));
    }
    function _f(t, l, a) {
      var u = 0;
      l && (u |= 4), hd(a, t, u, l);
    }
    var ci = "_reactListening" + Math.random().toString(36).slice(2);
    function Ef(t) {
      if (!t[ci]) {
        t[ci] = true, no.forEach(function(a) {
          a !== "selectionchange" && (fv.has(a) || _f(a, false, t), _f(a, true, t));
        });
        var l = t.nodeType === 9 ? t : t.ownerDocument;
        l === null || l[ci] || (l[ci] = true, _f("selectionchange", false, l));
      }
    }
    function hd(t, l, a, u) {
      switch (xd(l)) {
        case 2:
          var e = Yv;
          break;
        case 8:
          e = jv;
          break;
        default:
          e = Bf;
      }
      a = e.bind(null, l, a, t), e = void 0, !Xi || l !== "touchstart" && l !== "touchmove" && l !== "wheel" || (e = true), u ? e !== void 0 ? t.addEventListener(l, a, {
        capture: true,
        passive: e
      }) : t.addEventListener(l, a, true) : e !== void 0 ? t.addEventListener(l, a, {
        passive: e
      }) : t.addEventListener(l, a, false);
    }
    function bf(t, l, a, u, e) {
      var n = u;
      if ((l & 1) === 0 && (l & 2) === 0 && u !== null) t: for (; ; ) {
        if (u === null) return;
        var i = u.tag;
        if (i === 3 || i === 4) {
          var f = u.stateNode.containerInfo;
          if (f === e) break;
          if (i === 4) for (i = u.return; i !== null; ) {
            var d = i.tag;
            if ((d === 3 || d === 4) && i.stateNode.containerInfo === e) return;
            i = i.return;
          }
          for (; f !== null; ) {
            if (i = Eu(f), i === null) return;
            if (d = i.tag, d === 5 || d === 6 || d === 26 || d === 27) {
              u = n = i;
              continue t;
            }
            f = f.parentNode;
          }
        }
        u = u.return;
      }
      go(function() {
        var b = n, M = ji(a), N = [];
        t: {
          var T = Ko.get(t);
          if (T !== void 0) {
            var z = gn, x = t;
            switch (t) {
              case "keypress":
                if (mn(a) === 0) break t;
              case "keydown":
              case "keyup":
                z = lh;
                break;
              case "focusin":
                x = "focus", z = Vi;
                break;
              case "focusout":
                x = "blur", z = Vi;
                break;
              case "beforeblur":
              case "afterblur":
                z = Vi;
                break;
              case "click":
                if (a.button === 2) break t;
              case "auxclick":
              case "dblclick":
              case "mousedown":
              case "mousemove":
              case "mouseup":
              case "mouseout":
              case "mouseover":
              case "contextmenu":
                z = bo;
                break;
              case "drag":
              case "dragend":
              case "dragenter":
              case "dragexit":
              case "dragleave":
              case "dragover":
              case "dragstart":
              case "drop":
                z = V0;
                break;
              case "touchcancel":
              case "touchend":
              case "touchmove":
              case "touchstart":
                z = eh;
                break;
              case xo:
              case Vo:
              case Lo:
                z = K0;
                break;
              case wo:
                z = ih;
                break;
              case "scroll":
              case "scrollend":
                z = Z0;
                break;
              case "wheel":
                z = fh;
                break;
              case "copy":
              case "cut":
              case "paste":
                z = W0;
                break;
              case "gotpointercapture":
              case "lostpointercapture":
              case "pointercancel":
              case "pointerdown":
              case "pointermove":
              case "pointerout":
              case "pointerover":
              case "pointerup":
                z = Ao;
                break;
              case "toggle":
              case "beforetoggle":
                z = sh;
            }
            var at = (l & 4) !== 0, Ht = !at && (t === "scroll" || t === "scrollend"), S = at ? T !== null ? T + "Capture" : null : T;
            at = [];
            for (var m = b, _; m !== null; ) {
              var D = m;
              if (_ = D.stateNode, D = D.tag, D !== 5 && D !== 26 && D !== 27 || _ === null || S === null || (D = he(m, S), D != null && at.push(Ke(m, D, _))), Ht) break;
              m = m.return;
            }
            0 < at.length && (T = new z(T, x, null, a, M), N.push({
              event: T,
              listeners: at
            }));
          }
        }
        if ((l & 7) === 0) {
          t: {
            if (T = t === "mouseover" || t === "pointerover", z = t === "mouseout" || t === "pointerout", T && a !== Yi && (x = a.relatedTarget || a.fromElement) && (Eu(x) || x[Rl])) break t;
            if ((z || T) && (T = M.window === M ? M : (T = M.ownerDocument) ? T.defaultView || T.parentWindow : window, z ? (x = a.relatedTarget || a.toElement, z = b, x = x ? Eu(x) : null, x !== null && (Ht = J(x), at = x.tag, x !== Ht || at !== 5 && at !== 27 && at !== 6) && (x = null)) : (z = null, x = b), z !== x)) {
              if (at = bo, D = "onMouseLeave", S = "onMouseEnter", m = "mouse", (t === "pointerout" || t === "pointerover") && (at = Ao, D = "onPointerLeave", S = "onPointerEnter", m = "pointer"), Ht = z == null ? T : de(z), _ = x == null ? T : de(x), T = new at(D, m + "leave", z, a, M), T.target = Ht, T.relatedTarget = _, D = null, Eu(M) === b && (at = new at(S, m + "enter", x, a, M), at.target = _, at.relatedTarget = Ht, D = at), Ht = D, z && x) l: {
                for (at = ov, S = z, m = x, _ = 0, D = S; D; D = at(D)) _++;
                D = 0;
                for (var k = m; k; k = at(k)) D++;
                for (; 0 < _ - D; ) S = at(S), _--;
                for (; 0 < D - _; ) m = at(m), D--;
                for (; _--; ) {
                  if (S === m || m !== null && S === m.alternate) {
                    at = S;
                    break l;
                  }
                  S = at(S), m = at(m);
                }
                at = null;
              }
              else at = null;
              z !== null && vd(N, T, z, at, false), x !== null && Ht !== null && vd(N, Ht, x, at, true);
            }
          }
          t: {
            if (T = b ? de(b) : window, z = T.nodeName && T.nodeName.toLowerCase(), z === "select" || z === "input" && T.type === "file") var At = No;
            else if (Do(T)) if (Co) At = Eh;
            else {
              At = gh;
              var K = Sh;
            }
            else z = T.nodeName, !z || z.toLowerCase() !== "input" || T.type !== "checkbox" && T.type !== "radio" ? b && Bi(b.elementType) && (At = No) : At = _h;
            if (At && (At = At(t, b))) {
              Uo(N, At, a, M);
              break t;
            }
            K && K(t, T, b), t === "focusout" && b && T.type === "number" && b.memoizedProps.value != null && qi(T, "number", T.value);
          }
          switch (K = b ? de(b) : window, t) {
            case "focusin":
              (Do(K) || K.contentEditable === "true") && (Du = K, $i = b, be = null);
              break;
            case "focusout":
              be = $i = Du = null;
              break;
            case "mousedown":
              Fi = true;
              break;
            case "contextmenu":
            case "mouseup":
            case "dragend":
              Fi = false, Qo(N, a, M);
              break;
            case "selectionchange":
              if (Th) break;
            case "keydown":
            case "keyup":
              Qo(N, a, M);
          }
          var rt;
          if (wi) t: {
            switch (t) {
              case "compositionstart":
                var mt = "onCompositionStart";
                break t;
              case "compositionend":
                mt = "onCompositionEnd";
                break t;
              case "compositionupdate":
                mt = "onCompositionUpdate";
                break t;
            }
            mt = void 0;
          }
          else Ru ? Mo(t, a) && (mt = "onCompositionEnd") : t === "keydown" && a.keyCode === 229 && (mt = "onCompositionStart");
          mt && (zo && a.locale !== "ko" && (Ru || mt !== "onCompositionStart" ? mt === "onCompositionEnd" && Ru && (rt = _o()) : (Ua = M, Qi = "value" in Ua ? Ua.value : Ua.textContent, Ru = true)), K = fi(b, mt), 0 < K.length && (mt = new To(mt, t, null, a, M), N.push({
            event: mt,
            listeners: K
          }), rt ? mt.data = rt : (rt = Ro(a), rt !== null && (mt.data = rt)))), (rt = dh ? hh(t, a) : vh(t, a)) && (mt = fi(b, "onBeforeInput"), 0 < mt.length && (K = new To("onBeforeInput", "beforeinput", null, a, M), N.push({
            event: K,
            listeners: mt
          }), K.data = rt)), nv(N, t, b, a, M);
        }
        dd(N, l);
      });
    }
    function Ke(t, l, a) {
      return {
        instance: t,
        listener: l,
        currentTarget: a
      };
    }
    function fi(t, l) {
      for (var a = l + "Capture", u = []; t !== null; ) {
        var e = t, n = e.stateNode;
        if (e = e.tag, e !== 5 && e !== 26 && e !== 27 || n === null || (e = he(t, a), e != null && u.unshift(Ke(t, e, n)), e = he(t, l), e != null && u.push(Ke(t, e, n))), t.tag === 3) return u;
        t = t.return;
      }
      return [];
    }
    function ov(t) {
      if (t === null) return null;
      do
        t = t.return;
      while (t && t.tag !== 5 && t.tag !== 27);
      return t || null;
    }
    function vd(t, l, a, u, e) {
      for (var n = l._reactName, i = []; a !== null && a !== u; ) {
        var f = a, d = f.alternate, b = f.stateNode;
        if (f = f.tag, d !== null && d === u) break;
        f !== 5 && f !== 26 && f !== 27 || b === null || (d = b, e ? (b = he(a, n), b != null && i.unshift(Ke(a, b, d))) : e || (b = he(a, n), b != null && i.push(Ke(a, b, d)))), a = a.return;
      }
      i.length !== 0 && t.push({
        event: l,
        listeners: i
      });
    }
    var sv = /\r\n?/g, rv = /\u0000|\uFFFD/g;
    function yd(t) {
      return (typeof t == "string" ? t : "" + t).replace(sv, `
`).replace(rv, "");
    }
    function md(t, l) {
      return l = yd(l), yd(t) === l;
    }
    function Ct(t, l, a, u, e, n) {
      switch (a) {
        case "children":
          typeof u == "string" ? l === "body" || l === "textarea" && u === "" || pu(t, u) : (typeof u == "number" || typeof u == "bigint") && l !== "body" && pu(t, "" + u);
          break;
        case "className":
          dn(t, "class", u);
          break;
        case "tabIndex":
          dn(t, "tabindex", u);
          break;
        case "dir":
        case "role":
        case "viewBox":
        case "width":
        case "height":
          dn(t, a, u);
          break;
        case "style":
          mo(t, u, n);
          break;
        case "data":
          if (l !== "object") {
            dn(t, "data", u);
            break;
          }
        case "src":
        case "href":
          if (u === "" && (l !== "a" || a !== "href")) {
            t.removeAttribute(a);
            break;
          }
          if (u == null || typeof u == "function" || typeof u == "symbol" || typeof u == "boolean") {
            t.removeAttribute(a);
            break;
          }
          u = vn("" + u), t.setAttribute(a, u);
          break;
        case "action":
        case "formAction":
          if (typeof u == "function") {
            t.setAttribute(a, "javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");
            break;
          } else typeof n == "function" && (a === "formAction" ? (l !== "input" && Ct(t, l, "name", e.name, e, null), Ct(t, l, "formEncType", e.formEncType, e, null), Ct(t, l, "formMethod", e.formMethod, e, null), Ct(t, l, "formTarget", e.formTarget, e, null)) : (Ct(t, l, "encType", e.encType, e, null), Ct(t, l, "method", e.method, e, null), Ct(t, l, "target", e.target, e, null)));
          if (u == null || typeof u == "symbol" || typeof u == "boolean") {
            t.removeAttribute(a);
            break;
          }
          u = vn("" + u), t.setAttribute(a, u);
          break;
        case "onClick":
          u != null && (t.onclick = ra);
          break;
        case "onScroll":
          u != null && vt("scroll", t);
          break;
        case "onScrollEnd":
          u != null && vt("scrollend", t);
          break;
        case "dangerouslySetInnerHTML":
          if (u != null) {
            if (typeof u != "object" || !("__html" in u)) throw Error(y(61));
            if (a = u.__html, a != null) {
              if (e.children != null) throw Error(y(60));
              t.innerHTML = a;
            }
          }
          break;
        case "multiple":
          t.multiple = u && typeof u != "function" && typeof u != "symbol";
          break;
        case "muted":
          t.muted = u && typeof u != "function" && typeof u != "symbol";
          break;
        case "suppressContentEditableWarning":
        case "suppressHydrationWarning":
        case "defaultValue":
        case "defaultChecked":
        case "innerHTML":
        case "ref":
          break;
        case "autoFocus":
          break;
        case "xlinkHref":
          if (u == null || typeof u == "function" || typeof u == "boolean" || typeof u == "symbol") {
            t.removeAttribute("xlink:href");
            break;
          }
          a = vn("" + u), t.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", a);
          break;
        case "contentEditable":
        case "spellCheck":
        case "draggable":
        case "value":
        case "autoReverse":
        case "externalResourcesRequired":
        case "focusable":
        case "preserveAlpha":
          u != null && typeof u != "function" && typeof u != "symbol" ? t.setAttribute(a, "" + u) : t.removeAttribute(a);
          break;
        case "inert":
        case "allowFullScreen":
        case "async":
        case "autoPlay":
        case "controls":
        case "default":
        case "defer":
        case "disabled":
        case "disablePictureInPicture":
        case "disableRemotePlayback":
        case "formNoValidate":
        case "hidden":
        case "loop":
        case "noModule":
        case "noValidate":
        case "open":
        case "playsInline":
        case "readOnly":
        case "required":
        case "reversed":
        case "scoped":
        case "seamless":
        case "itemScope":
          u && typeof u != "function" && typeof u != "symbol" ? t.setAttribute(a, "") : t.removeAttribute(a);
          break;
        case "capture":
        case "download":
          u === true ? t.setAttribute(a, "") : u !== false && u != null && typeof u != "function" && typeof u != "symbol" ? t.setAttribute(a, u) : t.removeAttribute(a);
          break;
        case "cols":
        case "rows":
        case "size":
        case "span":
          u != null && typeof u != "function" && typeof u != "symbol" && !isNaN(u) && 1 <= u ? t.setAttribute(a, u) : t.removeAttribute(a);
          break;
        case "rowSpan":
        case "start":
          u == null || typeof u == "function" || typeof u == "symbol" || isNaN(u) ? t.removeAttribute(a) : t.setAttribute(a, u);
          break;
        case "popover":
          vt("beforetoggle", t), vt("toggle", t), rn(t, "popover", u);
          break;
        case "xlinkActuate":
          sa(t, "http://www.w3.org/1999/xlink", "xlink:actuate", u);
          break;
        case "xlinkArcrole":
          sa(t, "http://www.w3.org/1999/xlink", "xlink:arcrole", u);
          break;
        case "xlinkRole":
          sa(t, "http://www.w3.org/1999/xlink", "xlink:role", u);
          break;
        case "xlinkShow":
          sa(t, "http://www.w3.org/1999/xlink", "xlink:show", u);
          break;
        case "xlinkTitle":
          sa(t, "http://www.w3.org/1999/xlink", "xlink:title", u);
          break;
        case "xlinkType":
          sa(t, "http://www.w3.org/1999/xlink", "xlink:type", u);
          break;
        case "xmlBase":
          sa(t, "http://www.w3.org/XML/1998/namespace", "xml:base", u);
          break;
        case "xmlLang":
          sa(t, "http://www.w3.org/XML/1998/namespace", "xml:lang", u);
          break;
        case "xmlSpace":
          sa(t, "http://www.w3.org/XML/1998/namespace", "xml:space", u);
          break;
        case "is":
          rn(t, "is", u);
          break;
        case "innerText":
        case "textContent":
          break;
        default:
          (!(2 < a.length) || a[0] !== "o" && a[0] !== "O" || a[1] !== "n" && a[1] !== "N") && (a = X0.get(a) || a, rn(t, a, u));
      }
    }
    function Tf(t, l, a, u, e, n) {
      switch (a) {
        case "style":
          mo(t, u, n);
          break;
        case "dangerouslySetInnerHTML":
          if (u != null) {
            if (typeof u != "object" || !("__html" in u)) throw Error(y(61));
            if (a = u.__html, a != null) {
              if (e.children != null) throw Error(y(60));
              t.innerHTML = a;
            }
          }
          break;
        case "children":
          typeof u == "string" ? pu(t, u) : (typeof u == "number" || typeof u == "bigint") && pu(t, "" + u);
          break;
        case "onScroll":
          u != null && vt("scroll", t);
          break;
        case "onScrollEnd":
          u != null && vt("scrollend", t);
          break;
        case "onClick":
          u != null && (t.onclick = ra);
          break;
        case "suppressContentEditableWarning":
        case "suppressHydrationWarning":
        case "innerHTML":
        case "ref":
          break;
        case "innerText":
        case "textContent":
          break;
        default:
          if (!io.hasOwnProperty(a)) t: {
            if (a[0] === "o" && a[1] === "n" && (e = a.endsWith("Capture"), l = a.slice(2, e ? a.length - 7 : void 0), n = t[tl] || null, n = n != null ? n[a] : null, typeof n == "function" && t.removeEventListener(l, n, e), typeof u == "function")) {
              typeof n != "function" && n !== null && (a in t ? t[a] = null : t.hasAttribute(a) && t.removeAttribute(a)), t.addEventListener(l, u, e);
              break t;
            }
            a in t ? t[a] = u : u === true ? t.setAttribute(a, "") : rn(t, a, u);
          }
      }
    }
    function Sl(t, l, a) {
      switch (l) {
        case "div":
        case "span":
        case "svg":
        case "path":
        case "a":
        case "g":
        case "p":
        case "li":
          break;
        case "img":
          vt("error", t), vt("load", t);
          var u = false, e = false, n;
          for (n in a) if (a.hasOwnProperty(n)) {
            var i = a[n];
            if (i != null) switch (n) {
              case "src":
                u = true;
                break;
              case "srcSet":
                e = true;
                break;
              case "children":
              case "dangerouslySetInnerHTML":
                throw Error(y(137, l));
              default:
                Ct(t, l, n, i, a, null);
            }
          }
          e && Ct(t, l, "srcSet", a.srcSet, a, null), u && Ct(t, l, "src", a.src, a, null);
          return;
        case "input":
          vt("invalid", t);
          var f = n = i = e = null, d = null, b = null;
          for (u in a) if (a.hasOwnProperty(u)) {
            var M = a[u];
            if (M != null) switch (u) {
              case "name":
                e = M;
                break;
              case "type":
                i = M;
                break;
              case "checked":
                d = M;
                break;
              case "defaultChecked":
                b = M;
                break;
              case "value":
                n = M;
                break;
              case "defaultValue":
                f = M;
                break;
              case "children":
              case "dangerouslySetInnerHTML":
                if (M != null) throw Error(y(137, l));
                break;
              default:
                Ct(t, l, u, M, a, null);
            }
          }
          ro(t, n, f, d, b, i, e, false);
          return;
        case "select":
          vt("invalid", t), u = i = n = null;
          for (e in a) if (a.hasOwnProperty(e) && (f = a[e], f != null)) switch (e) {
            case "value":
              n = f;
              break;
            case "defaultValue":
              i = f;
              break;
            case "multiple":
              u = f;
            default:
              Ct(t, l, e, f, a, null);
          }
          l = n, a = i, t.multiple = !!u, l != null ? zu(t, !!u, l, false) : a != null && zu(t, !!u, a, true);
          return;
        case "textarea":
          vt("invalid", t), n = e = u = null;
          for (i in a) if (a.hasOwnProperty(i) && (f = a[i], f != null)) switch (i) {
            case "value":
              u = f;
              break;
            case "defaultValue":
              e = f;
              break;
            case "children":
              n = f;
              break;
            case "dangerouslySetInnerHTML":
              if (f != null) throw Error(y(91));
              break;
            default:
              Ct(t, l, i, f, a, null);
          }
          vo(t, u, e, n);
          return;
        case "option":
          for (d in a) a.hasOwnProperty(d) && (u = a[d], u != null) && (d === "selected" ? t.selected = u && typeof u != "function" && typeof u != "symbol" : Ct(t, l, d, u, a, null));
          return;
        case "dialog":
          vt("beforetoggle", t), vt("toggle", t), vt("cancel", t), vt("close", t);
          break;
        case "iframe":
        case "object":
          vt("load", t);
          break;
        case "video":
        case "audio":
          for (u = 0; u < we.length; u++) vt(we[u], t);
          break;
        case "image":
          vt("error", t), vt("load", t);
          break;
        case "details":
          vt("toggle", t);
          break;
        case "embed":
        case "source":
        case "link":
          vt("error", t), vt("load", t);
        case "area":
        case "base":
        case "br":
        case "col":
        case "hr":
        case "keygen":
        case "meta":
        case "param":
        case "track":
        case "wbr":
        case "menuitem":
          for (b in a) if (a.hasOwnProperty(b) && (u = a[b], u != null)) switch (b) {
            case "children":
            case "dangerouslySetInnerHTML":
              throw Error(y(137, l));
            default:
              Ct(t, l, b, u, a, null);
          }
          return;
        default:
          if (Bi(l)) {
            for (M in a) a.hasOwnProperty(M) && (u = a[M], u !== void 0 && Tf(t, l, M, u, a, void 0));
            return;
          }
      }
      for (f in a) a.hasOwnProperty(f) && (u = a[f], u != null && Ct(t, l, f, u, a, null));
    }
    function dv(t, l, a, u) {
      switch (l) {
        case "div":
        case "span":
        case "svg":
        case "path":
        case "a":
        case "g":
        case "p":
        case "li":
          break;
        case "input":
          var e = null, n = null, i = null, f = null, d = null, b = null, M = null;
          for (z in a) {
            var N = a[z];
            if (a.hasOwnProperty(z) && N != null) switch (z) {
              case "checked":
                break;
              case "value":
                break;
              case "defaultValue":
                d = N;
              default:
                u.hasOwnProperty(z) || Ct(t, l, z, null, u, N);
            }
          }
          for (var T in u) {
            var z = u[T];
            if (N = a[T], u.hasOwnProperty(T) && (z != null || N != null)) switch (T) {
              case "type":
                n = z;
                break;
              case "name":
                e = z;
                break;
              case "checked":
                b = z;
                break;
              case "defaultChecked":
                M = z;
                break;
              case "value":
                i = z;
                break;
              case "defaultValue":
                f = z;
                break;
              case "children":
              case "dangerouslySetInnerHTML":
                if (z != null) throw Error(y(137, l));
                break;
              default:
                z !== N && Ct(t, l, T, z, u, N);
            }
          }
          Hi(t, i, f, d, b, M, n, e);
          return;
        case "select":
          z = i = f = T = null;
          for (n in a) if (d = a[n], a.hasOwnProperty(n) && d != null) switch (n) {
            case "value":
              break;
            case "multiple":
              z = d;
            default:
              u.hasOwnProperty(n) || Ct(t, l, n, null, u, d);
          }
          for (e in u) if (n = u[e], d = a[e], u.hasOwnProperty(e) && (n != null || d != null)) switch (e) {
            case "value":
              T = n;
              break;
            case "defaultValue":
              f = n;
              break;
            case "multiple":
              i = n;
            default:
              n !== d && Ct(t, l, e, n, u, d);
          }
          l = f, a = i, u = z, T != null ? zu(t, !!a, T, false) : !!u != !!a && (l != null ? zu(t, !!a, l, true) : zu(t, !!a, a ? [] : "", false));
          return;
        case "textarea":
          z = T = null;
          for (f in a) if (e = a[f], a.hasOwnProperty(f) && e != null && !u.hasOwnProperty(f)) switch (f) {
            case "value":
              break;
            case "children":
              break;
            default:
              Ct(t, l, f, null, u, e);
          }
          for (i in u) if (e = u[i], n = a[i], u.hasOwnProperty(i) && (e != null || n != null)) switch (i) {
            case "value":
              T = e;
              break;
            case "defaultValue":
              z = e;
              break;
            case "children":
              break;
            case "dangerouslySetInnerHTML":
              if (e != null) throw Error(y(91));
              break;
            default:
              e !== n && Ct(t, l, i, e, u, n);
          }
          ho(t, T, z);
          return;
        case "option":
          for (var x in a) T = a[x], a.hasOwnProperty(x) && T != null && !u.hasOwnProperty(x) && (x === "selected" ? t.selected = false : Ct(t, l, x, null, u, T));
          for (d in u) T = u[d], z = a[d], u.hasOwnProperty(d) && T !== z && (T != null || z != null) && (d === "selected" ? t.selected = T && typeof T != "function" && typeof T != "symbol" : Ct(t, l, d, T, u, z));
          return;
        case "img":
        case "link":
        case "area":
        case "base":
        case "br":
        case "col":
        case "embed":
        case "hr":
        case "keygen":
        case "meta":
        case "param":
        case "source":
        case "track":
        case "wbr":
        case "menuitem":
          for (var at in a) T = a[at], a.hasOwnProperty(at) && T != null && !u.hasOwnProperty(at) && Ct(t, l, at, null, u, T);
          for (b in u) if (T = u[b], z = a[b], u.hasOwnProperty(b) && T !== z && (T != null || z != null)) switch (b) {
            case "children":
            case "dangerouslySetInnerHTML":
              if (T != null) throw Error(y(137, l));
              break;
            default:
              Ct(t, l, b, T, u, z);
          }
          return;
        default:
          if (Bi(l)) {
            for (var Ht in a) T = a[Ht], a.hasOwnProperty(Ht) && T !== void 0 && !u.hasOwnProperty(Ht) && Tf(t, l, Ht, void 0, u, T);
            for (M in u) T = u[M], z = a[M], !u.hasOwnProperty(M) || T === z || T === void 0 && z === void 0 || Tf(t, l, M, T, u, z);
            return;
          }
      }
      for (var S in a) T = a[S], a.hasOwnProperty(S) && T != null && !u.hasOwnProperty(S) && Ct(t, l, S, null, u, T);
      for (N in u) T = u[N], z = a[N], !u.hasOwnProperty(N) || T === z || T == null && z == null || Ct(t, l, N, T, u, z);
    }
    function Sd(t) {
      switch (t) {
        case "css":
        case "script":
        case "font":
        case "img":
        case "image":
        case "input":
        case "link":
          return true;
        default:
          return false;
      }
    }
    function hv() {
      if (typeof performance.getEntriesByType == "function") {
        for (var t = 0, l = 0, a = performance.getEntriesByType("resource"), u = 0; u < a.length; u++) {
          var e = a[u], n = e.transferSize, i = e.initiatorType, f = e.duration;
          if (n && f && Sd(i)) {
            for (i = 0, f = e.responseEnd, u += 1; u < a.length; u++) {
              var d = a[u], b = d.startTime;
              if (b > f) break;
              var M = d.transferSize, N = d.initiatorType;
              M && Sd(N) && (d = d.responseEnd, i += M * (d < f ? 1 : (f - b) / (d - b)));
            }
            if (--u, l += 8 * (n + i) / (e.duration / 1e3), t++, 10 < t) break;
          }
        }
        if (0 < t) return l / t / 1e6;
      }
      return navigator.connection && (t = navigator.connection.downlink, typeof t == "number") ? t : 5;
    }
    var Af = null, zf = null;
    function oi(t) {
      return t.nodeType === 9 ? t : t.ownerDocument;
    }
    function gd(t) {
      switch (t) {
        case "http://www.w3.org/2000/svg":
          return 1;
        case "http://www.w3.org/1998/Math/MathML":
          return 2;
        default:
          return 0;
      }
    }
    function _d(t, l) {
      if (t === 0) switch (l) {
        case "svg":
          return 1;
        case "math":
          return 2;
        default:
          return 0;
      }
      return t === 1 && l === "foreignObject" ? 0 : t;
    }
    function pf(t, l) {
      return t === "textarea" || t === "noscript" || typeof l.children == "string" || typeof l.children == "number" || typeof l.children == "bigint" || typeof l.dangerouslySetInnerHTML == "object" && l.dangerouslySetInnerHTML !== null && l.dangerouslySetInnerHTML.__html != null;
    }
    var Of = null;
    function vv() {
      var t = window.event;
      return t && t.type === "popstate" ? t === Of ? false : (Of = t, true) : (Of = null, false);
    }
    var Ed = typeof setTimeout == "function" ? setTimeout : void 0, yv = typeof clearTimeout == "function" ? clearTimeout : void 0, bd = typeof Promise == "function" ? Promise : void 0, mv = typeof queueMicrotask == "function" ? queueMicrotask : typeof bd < "u" ? function(t) {
      return bd.resolve(null).then(t).catch(Sv);
    } : Ed;
    function Sv(t) {
      setTimeout(function() {
        throw t;
      });
    }
    function Ja(t) {
      return t === "head";
    }
    function Td(t, l) {
      var a = l, u = 0;
      do {
        var e = a.nextSibling;
        if (t.removeChild(a), e && e.nodeType === 8) if (a = e.data, a === "/$" || a === "/&") {
          if (u === 0) {
            t.removeChild(e), ae(l);
            return;
          }
          u--;
        } else if (a === "$" || a === "$?" || a === "$~" || a === "$!" || a === "&") u++;
        else if (a === "html") Je(t.ownerDocument.documentElement);
        else if (a === "head") {
          a = t.ownerDocument.head, Je(a);
          for (var n = a.firstChild; n; ) {
            var i = n.nextSibling, f = n.nodeName;
            n[ua] || f === "SCRIPT" || f === "STYLE" || f === "LINK" && n.rel.toLowerCase() === "stylesheet" || a.removeChild(n), n = i;
          }
        } else a === "body" && Je(t.ownerDocument.body);
        a = e;
      } while (a);
      ae(l);
    }
    function Ad(t, l) {
      var a = t;
      t = 0;
      do {
        var u = a.nextSibling;
        if (a.nodeType === 1 ? l ? (a._stashedDisplay = a.style.display, a.style.display = "none") : (a.style.display = a._stashedDisplay || "", a.getAttribute("style") === "" && a.removeAttribute("style")) : a.nodeType === 3 && (l ? (a._stashedText = a.nodeValue, a.nodeValue = "") : a.nodeValue = a._stashedText || ""), u && u.nodeType === 8) if (a = u.data, a === "/$") {
          if (t === 0) break;
          t--;
        } else a !== "$" && a !== "$?" && a !== "$~" && a !== "$!" || t++;
        a = u;
      } while (a);
    }
    function Mf(t) {
      var l = t.firstChild;
      for (l && l.nodeType === 10 && (l = l.nextSibling); l; ) {
        var a = l;
        switch (l = l.nextSibling, a.nodeName) {
          case "HTML":
          case "HEAD":
          case "BODY":
            Mf(a), lu(a);
            continue;
          case "SCRIPT":
          case "STYLE":
            continue;
          case "LINK":
            if (a.rel.toLowerCase() === "stylesheet") continue;
        }
        t.removeChild(a);
      }
    }
    function gv(t, l, a, u) {
      for (; t.nodeType === 1; ) {
        var e = a;
        if (t.nodeName.toLowerCase() !== l.toLowerCase()) {
          if (!u && (t.nodeName !== "INPUT" || t.type !== "hidden")) break;
        } else if (u) {
          if (!t[ua]) switch (l) {
            case "meta":
              if (!t.hasAttribute("itemprop")) break;
              return t;
            case "link":
              if (n = t.getAttribute("rel"), n === "stylesheet" && t.hasAttribute("data-precedence")) break;
              if (n !== e.rel || t.getAttribute("href") !== (e.href == null || e.href === "" ? null : e.href) || t.getAttribute("crossorigin") !== (e.crossOrigin == null ? null : e.crossOrigin) || t.getAttribute("title") !== (e.title == null ? null : e.title)) break;
              return t;
            case "style":
              if (t.hasAttribute("data-precedence")) break;
              return t;
            case "script":
              if (n = t.getAttribute("src"), (n !== (e.src == null ? null : e.src) || t.getAttribute("type") !== (e.type == null ? null : e.type) || t.getAttribute("crossorigin") !== (e.crossOrigin == null ? null : e.crossOrigin)) && n && t.hasAttribute("async") && !t.hasAttribute("itemprop")) break;
              return t;
            default:
              return t;
          }
        } else if (l === "input" && t.type === "hidden") {
          var n = e.name == null ? null : "" + e.name;
          if (e.type === "hidden" && t.getAttribute("name") === n) return t;
        } else return t;
        if (t = kl(t.nextSibling), t === null) break;
      }
      return null;
    }
    function _v(t, l, a) {
      if (l === "") return null;
      for (; t.nodeType !== 3; ) if ((t.nodeType !== 1 || t.nodeName !== "INPUT" || t.type !== "hidden") && !a || (t = kl(t.nextSibling), t === null)) return null;
      return t;
    }
    function zd(t, l) {
      for (; t.nodeType !== 8; ) if ((t.nodeType !== 1 || t.nodeName !== "INPUT" || t.type !== "hidden") && !l || (t = kl(t.nextSibling), t === null)) return null;
      return t;
    }
    function Rf(t) {
      return t.data === "$?" || t.data === "$~";
    }
    function Df(t) {
      return t.data === "$!" || t.data === "$?" && t.ownerDocument.readyState !== "loading";
    }
    function Ev(t, l) {
      var a = t.ownerDocument;
      if (t.data === "$~") t._reactRetry = l;
      else if (t.data !== "$?" || a.readyState !== "loading") l();
      else {
        var u = function() {
          l(), a.removeEventListener("DOMContentLoaded", u);
        };
        a.addEventListener("DOMContentLoaded", u), t._reactRetry = u;
      }
    }
    function kl(t) {
      for (; t != null; t = t.nextSibling) {
        var l = t.nodeType;
        if (l === 1 || l === 3) break;
        if (l === 8) {
          if (l = t.data, l === "$" || l === "$!" || l === "$?" || l === "$~" || l === "&" || l === "F!" || l === "F") break;
          if (l === "/$" || l === "/&") return null;
        }
      }
      return t;
    }
    var Uf = null;
    function pd(t) {
      t = t.nextSibling;
      for (var l = 0; t; ) {
        if (t.nodeType === 8) {
          var a = t.data;
          if (a === "/$" || a === "/&") {
            if (l === 0) return kl(t.nextSibling);
            l--;
          } else a !== "$" && a !== "$!" && a !== "$?" && a !== "$~" && a !== "&" || l++;
        }
        t = t.nextSibling;
      }
      return null;
    }
    function Od(t) {
      t = t.previousSibling;
      for (var l = 0; t; ) {
        if (t.nodeType === 8) {
          var a = t.data;
          if (a === "$" || a === "$!" || a === "$?" || a === "$~" || a === "&") {
            if (l === 0) return t;
            l--;
          } else a !== "/$" && a !== "/&" || l++;
        }
        t = t.previousSibling;
      }
      return null;
    }
    function Md(t, l, a) {
      switch (l = oi(a), t) {
        case "html":
          if (t = l.documentElement, !t) throw Error(y(452));
          return t;
        case "head":
          if (t = l.head, !t) throw Error(y(453));
          return t;
        case "body":
          if (t = l.body, !t) throw Error(y(454));
          return t;
        default:
          throw Error(y(451));
      }
    }
    function Je(t) {
      for (var l = t.attributes; l.length; ) t.removeAttributeNode(l[0]);
      lu(t);
    }
    var Il = /* @__PURE__ */ new Map(), Rd = /* @__PURE__ */ new Set();
    function si(t) {
      return typeof t.getRootNode == "function" ? t.getRootNode() : t.nodeType === 9 ? t : t.ownerDocument;
    }
    var Ma = H.d;
    H.d = {
      f: bv,
      r: Tv,
      D: Av,
      C: zv,
      L: pv,
      m: Ov,
      X: Rv,
      S: Mv,
      M: Dv
    };
    function bv() {
      var t = Ma.f(), l = li();
      return t || l;
    }
    function Tv(t) {
      var l = bu(t);
      l !== null && l.tag === 5 && l.type === "form" ? ws(l) : Ma.r(t);
    }
    var Pu = typeof document > "u" ? null : document;
    function Dd(t, l, a) {
      var u = Pu;
      if (u && typeof l == "string" && l) {
        var e = Ll(l);
        e = 'link[rel="' + t + '"][href="' + e + '"]', typeof a == "string" && (e += '[crossorigin="' + a + '"]'), Rd.has(e) || (Rd.add(e), t = {
          rel: t,
          crossOrigin: a,
          href: l
        }, u.querySelector(e) === null && (l = u.createElement("link"), Sl(l, "link", t), rl(l), u.head.appendChild(l)));
      }
    }
    function Av(t) {
      Ma.D(t), Dd("dns-prefetch", t, null);
    }
    function zv(t, l) {
      Ma.C(t, l), Dd("preconnect", t, l);
    }
    function pv(t, l, a) {
      Ma.L(t, l, a);
      var u = Pu;
      if (u && t && l) {
        var e = 'link[rel="preload"][as="' + Ll(l) + '"]';
        l === "image" && a && a.imageSrcSet ? (e += '[imagesrcset="' + Ll(a.imageSrcSet) + '"]', typeof a.imageSizes == "string" && (e += '[imagesizes="' + Ll(a.imageSizes) + '"]')) : e += '[href="' + Ll(t) + '"]';
        var n = e;
        switch (l) {
          case "style":
            n = te(t);
            break;
          case "script":
            n = le(t);
        }
        Il.has(n) || (t = Q({
          rel: "preload",
          href: l === "image" && a && a.imageSrcSet ? void 0 : t,
          as: l
        }, a), Il.set(n, t), u.querySelector(e) !== null || l === "style" && u.querySelector(We(n)) || l === "script" && u.querySelector($e(n)) || (l = u.createElement("link"), Sl(l, "link", t), rl(l), u.head.appendChild(l)));
      }
    }
    function Ov(t, l) {
      Ma.m(t, l);
      var a = Pu;
      if (a && t) {
        var u = l && typeof l.as == "string" ? l.as : "script", e = 'link[rel="modulepreload"][as="' + Ll(u) + '"][href="' + Ll(t) + '"]', n = e;
        switch (u) {
          case "audioworklet":
          case "paintworklet":
          case "serviceworker":
          case "sharedworker":
          case "worker":
          case "script":
            n = le(t);
        }
        if (!Il.has(n) && (t = Q({
          rel: "modulepreload",
          href: t
        }, l), Il.set(n, t), a.querySelector(e) === null)) {
          switch (u) {
            case "audioworklet":
            case "paintworklet":
            case "serviceworker":
            case "sharedworker":
            case "worker":
            case "script":
              if (a.querySelector($e(n))) return;
          }
          u = a.createElement("link"), Sl(u, "link", t), rl(u), a.head.appendChild(u);
        }
      }
    }
    function Mv(t, l, a) {
      Ma.S(t, l, a);
      var u = Pu;
      if (u && t) {
        var e = Tu(u).hoistableStyles, n = te(t);
        l = l || "default";
        var i = e.get(n);
        if (!i) {
          var f = {
            loading: 0,
            preload: null
          };
          if (i = u.querySelector(We(n))) f.loading = 5;
          else {
            t = Q({
              rel: "stylesheet",
              href: t,
              "data-precedence": l
            }, a), (a = Il.get(n)) && Nf(t, a);
            var d = i = u.createElement("link");
            rl(d), Sl(d, "link", t), d._p = new Promise(function(b, M) {
              d.onload = b, d.onerror = M;
            }), d.addEventListener("load", function() {
              f.loading |= 1;
            }), d.addEventListener("error", function() {
              f.loading |= 2;
            }), f.loading |= 4, ri(i, l, u);
          }
          i = {
            type: "stylesheet",
            instance: i,
            count: 1,
            state: f
          }, e.set(n, i);
        }
      }
    }
    function Rv(t, l) {
      Ma.X(t, l);
      var a = Pu;
      if (a && t) {
        var u = Tu(a).hoistableScripts, e = le(t), n = u.get(e);
        n || (n = a.querySelector($e(e)), n || (t = Q({
          src: t,
          async: true
        }, l), (l = Il.get(e)) && Cf(t, l), n = a.createElement("script"), rl(n), Sl(n, "link", t), a.head.appendChild(n)), n = {
          type: "script",
          instance: n,
          count: 1,
          state: null
        }, u.set(e, n));
      }
    }
    function Dv(t, l) {
      Ma.M(t, l);
      var a = Pu;
      if (a && t) {
        var u = Tu(a).hoistableScripts, e = le(t), n = u.get(e);
        n || (n = a.querySelector($e(e)), n || (t = Q({
          src: t,
          async: true,
          type: "module"
        }, l), (l = Il.get(e)) && Cf(t, l), n = a.createElement("script"), rl(n), Sl(n, "link", t), a.head.appendChild(n)), n = {
          type: "script",
          instance: n,
          count: 1,
          state: null
        }, u.set(e, n));
      }
    }
    function Ud(t, l, a, u) {
      var e = (e = ft.current) ? si(e) : null;
      if (!e) throw Error(y(446));
      switch (t) {
        case "meta":
        case "title":
          return null;
        case "style":
          return typeof a.precedence == "string" && typeof a.href == "string" ? (l = te(a.href), a = Tu(e).hoistableStyles, u = a.get(l), u || (u = {
            type: "style",
            instance: null,
            count: 0,
            state: null
          }, a.set(l, u)), u) : {
            type: "void",
            instance: null,
            count: 0,
            state: null
          };
        case "link":
          if (a.rel === "stylesheet" && typeof a.href == "string" && typeof a.precedence == "string") {
            t = te(a.href);
            var n = Tu(e).hoistableStyles, i = n.get(t);
            if (i || (e = e.ownerDocument || e, i = {
              type: "stylesheet",
              instance: null,
              count: 0,
              state: {
                loading: 0,
                preload: null
              }
            }, n.set(t, i), (n = e.querySelector(We(t))) && !n._p && (i.instance = n, i.state.loading = 5), Il.has(t) || (a = {
              rel: "preload",
              as: "style",
              href: a.href,
              crossOrigin: a.crossOrigin,
              integrity: a.integrity,
              media: a.media,
              hrefLang: a.hrefLang,
              referrerPolicy: a.referrerPolicy
            }, Il.set(t, a), n || Uv(e, t, a, i.state))), l && u === null) throw Error(y(528, ""));
            return i;
          }
          if (l && u !== null) throw Error(y(529, ""));
          return null;
        case "script":
          return l = a.async, a = a.src, typeof a == "string" && l && typeof l != "function" && typeof l != "symbol" ? (l = le(a), a = Tu(e).hoistableScripts, u = a.get(l), u || (u = {
            type: "script",
            instance: null,
            count: 0,
            state: null
          }, a.set(l, u)), u) : {
            type: "void",
            instance: null,
            count: 0,
            state: null
          };
        default:
          throw Error(y(444, t));
      }
    }
    function te(t) {
      return 'href="' + Ll(t) + '"';
    }
    function We(t) {
      return 'link[rel="stylesheet"][' + t + "]";
    }
    function Nd(t) {
      return Q({}, t, {
        "data-precedence": t.precedence,
        precedence: null
      });
    }
    function Uv(t, l, a, u) {
      t.querySelector('link[rel="preload"][as="style"][' + l + "]") ? u.loading = 1 : (l = t.createElement("link"), u.preload = l, l.addEventListener("load", function() {
        return u.loading |= 1;
      }), l.addEventListener("error", function() {
        return u.loading |= 2;
      }), Sl(l, "link", a), rl(l), t.head.appendChild(l));
    }
    function le(t) {
      return '[src="' + Ll(t) + '"]';
    }
    function $e(t) {
      return "script[async]" + t;
    }
    function Cd(t, l, a) {
      if (l.count++, l.instance === null) switch (l.type) {
        case "style":
          var u = t.querySelector('style[data-href~="' + Ll(a.href) + '"]');
          if (u) return l.instance = u, rl(u), u;
          var e = Q({}, a, {
            "data-href": a.href,
            "data-precedence": a.precedence,
            href: null,
            precedence: null
          });
          return u = (t.ownerDocument || t).createElement("style"), rl(u), Sl(u, "style", e), ri(u, a.precedence, t), l.instance = u;
        case "stylesheet":
          e = te(a.href);
          var n = t.querySelector(We(e));
          if (n) return l.state.loading |= 4, l.instance = n, rl(n), n;
          u = Nd(a), (e = Il.get(e)) && Nf(u, e), n = (t.ownerDocument || t).createElement("link"), rl(n);
          var i = n;
          return i._p = new Promise(function(f, d) {
            i.onload = f, i.onerror = d;
          }), Sl(n, "link", u), l.state.loading |= 4, ri(n, a.precedence, t), l.instance = n;
        case "script":
          return n = le(a.src), (e = t.querySelector($e(n))) ? (l.instance = e, rl(e), e) : (u = a, (e = Il.get(n)) && (u = Q({}, a), Cf(u, e)), t = t.ownerDocument || t, e = t.createElement("script"), rl(e), Sl(e, "link", u), t.head.appendChild(e), l.instance = e);
        case "void":
          return null;
        default:
          throw Error(y(443, l.type));
      }
      else l.type === "stylesheet" && (l.state.loading & 4) === 0 && (u = l.instance, l.state.loading |= 4, ri(u, a.precedence, t));
      return l.instance;
    }
    function ri(t, l, a) {
      for (var u = a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'), e = u.length ? u[u.length - 1] : null, n = e, i = 0; i < u.length; i++) {
        var f = u[i];
        if (f.dataset.precedence === l) n = f;
        else if (n !== e) break;
      }
      n ? n.parentNode.insertBefore(t, n.nextSibling) : (l = a.nodeType === 9 ? a.head : a, l.insertBefore(t, l.firstChild));
    }
    function Nf(t, l) {
      t.crossOrigin == null && (t.crossOrigin = l.crossOrigin), t.referrerPolicy == null && (t.referrerPolicy = l.referrerPolicy), t.title == null && (t.title = l.title);
    }
    function Cf(t, l) {
      t.crossOrigin == null && (t.crossOrigin = l.crossOrigin), t.referrerPolicy == null && (t.referrerPolicy = l.referrerPolicy), t.integrity == null && (t.integrity = l.integrity);
    }
    var di = null;
    function Hd(t, l, a) {
      if (di === null) {
        var u = /* @__PURE__ */ new Map(), e = di = /* @__PURE__ */ new Map();
        e.set(a, u);
      } else e = di, u = e.get(a), u || (u = /* @__PURE__ */ new Map(), e.set(a, u));
      if (u.has(t)) return u;
      for (u.set(t, null), a = a.getElementsByTagName(t), e = 0; e < a.length; e++) {
        var n = a[e];
        if (!(n[ua] || n[Jt] || t === "link" && n.getAttribute("rel") === "stylesheet") && n.namespaceURI !== "http://www.w3.org/2000/svg") {
          var i = n.getAttribute(l) || "";
          i = t + i;
          var f = u.get(i);
          f ? f.push(n) : u.set(i, [
            n
          ]);
        }
      }
      return u;
    }
    function qd(t, l, a) {
      t = t.ownerDocument || t, t.head.insertBefore(a, l === "title" ? t.querySelector("head > title") : null);
    }
    function Nv(t, l, a) {
      if (a === 1 || l.itemProp != null) return false;
      switch (t) {
        case "meta":
        case "title":
          return true;
        case "style":
          if (typeof l.precedence != "string" || typeof l.href != "string" || l.href === "") break;
          return true;
        case "link":
          if (typeof l.rel != "string" || typeof l.href != "string" || l.href === "" || l.onLoad || l.onError) break;
          return l.rel === "stylesheet" ? (t = l.disabled, typeof l.precedence == "string" && t == null) : true;
        case "script":
          if (l.async && typeof l.async != "function" && typeof l.async != "symbol" && !l.onLoad && !l.onError && l.src && typeof l.src == "string") return true;
      }
      return false;
    }
    function Bd(t) {
      return !(t.type === "stylesheet" && (t.state.loading & 3) === 0);
    }
    function Cv(t, l, a, u) {
      if (a.type === "stylesheet" && (typeof u.media != "string" || matchMedia(u.media).matches !== false) && (a.state.loading & 4) === 0) {
        if (a.instance === null) {
          var e = te(u.href), n = l.querySelector(We(e));
          if (n) {
            l = n._p, l !== null && typeof l == "object" && typeof l.then == "function" && (t.count++, t = hi.bind(t), l.then(t, t)), a.state.loading |= 4, a.instance = n, rl(n);
            return;
          }
          n = l.ownerDocument || l, u = Nd(u), (e = Il.get(e)) && Nf(u, e), n = n.createElement("link"), rl(n);
          var i = n;
          i._p = new Promise(function(f, d) {
            i.onload = f, i.onerror = d;
          }), Sl(n, "link", u), a.instance = n;
        }
        t.stylesheets === null && (t.stylesheets = /* @__PURE__ */ new Map()), t.stylesheets.set(a, l), (l = a.state.preload) && (a.state.loading & 3) === 0 && (t.count++, a = hi.bind(t), l.addEventListener("load", a), l.addEventListener("error", a));
      }
    }
    var Hf = 0;
    function Hv(t, l) {
      return t.stylesheets && t.count === 0 && yi(t, t.stylesheets), 0 < t.count || 0 < t.imgCount ? function(a) {
        var u = setTimeout(function() {
          if (t.stylesheets && yi(t, t.stylesheets), t.unsuspend) {
            var n = t.unsuspend;
            t.unsuspend = null, n();
          }
        }, 6e4 + l);
        0 < t.imgBytes && Hf === 0 && (Hf = 62500 * hv());
        var e = setTimeout(function() {
          if (t.waitingForImages = false, t.count === 0 && (t.stylesheets && yi(t, t.stylesheets), t.unsuspend)) {
            var n = t.unsuspend;
            t.unsuspend = null, n();
          }
        }, (t.imgBytes > Hf ? 50 : 800) + l);
        return t.unsuspend = a, function() {
          t.unsuspend = null, clearTimeout(u), clearTimeout(e);
        };
      } : null;
    }
    function hi() {
      if (this.count--, this.count === 0 && (this.imgCount === 0 || !this.waitingForImages)) {
        if (this.stylesheets) yi(this, this.stylesheets);
        else if (this.unsuspend) {
          var t = this.unsuspend;
          this.unsuspend = null, t();
        }
      }
    }
    var vi = null;
    function yi(t, l) {
      t.stylesheets = null, t.unsuspend !== null && (t.count++, vi = /* @__PURE__ */ new Map(), l.forEach(qv, t), vi = null, hi.call(t));
    }
    function qv(t, l) {
      if (!(l.state.loading & 4)) {
        var a = vi.get(t);
        if (a) var u = a.get(null);
        else {
          a = /* @__PURE__ */ new Map(), vi.set(t, a);
          for (var e = t.querySelectorAll("link[data-precedence],style[data-precedence]"), n = 0; n < e.length; n++) {
            var i = e[n];
            (i.nodeName === "LINK" || i.getAttribute("media") !== "not all") && (a.set(i.dataset.precedence, i), u = i);
          }
          u && a.set(null, u);
        }
        e = l.instance, i = e.getAttribute("data-precedence"), n = a.get(i) || u, n === u && a.set(null, e), a.set(i, e), this.count++, u = hi.bind(this), e.addEventListener("load", u), e.addEventListener("error", u), n ? n.parentNode.insertBefore(e, n.nextSibling) : (t = t.nodeType === 9 ? t.head : t, t.insertBefore(e, t.firstChild)), l.state.loading |= 4;
      }
    }
    var Fe = {
      $$typeof: Zt,
      Provider: null,
      Consumer: null,
      _currentValue: $,
      _currentValue2: $,
      _threadCount: 0
    };
    function Bv(t, l, a, u, e, n, i, f, d) {
      this.tag = 1, this.containerInfo = t, this.pingCache = this.current = this.pendingChildren = null, this.timeoutHandle = -1, this.callbackNode = this.next = this.pendingContext = this.context = this.cancelPendingCommit = null, this.callbackPriority = 0, this.expirationTimes = Tt(-1), this.entangledLanes = this.shellSuspendCounter = this.errorRecoveryDisabledLanes = this.expiredLanes = this.warmLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0, this.entanglements = Tt(0), this.hiddenUpdates = Tt(null), this.identifierPrefix = u, this.onUncaughtError = e, this.onCaughtError = n, this.onRecoverableError = i, this.pooledCache = null, this.pooledCacheLanes = 0, this.formState = d, this.incompleteTransitions = /* @__PURE__ */ new Map();
    }
    function Yd(t, l, a, u, e, n, i, f, d, b, M, N) {
      return t = new Bv(t, l, a, i, d, b, M, N, f), l = 1, n === true && (l |= 24), n = jl(3, null, null, l), t.current = n, n.stateNode = t, l = rc(), l.refCount++, t.pooledCache = l, l.refCount++, n.memoizedState = {
        element: u,
        isDehydrated: a,
        cache: l
      }, yc(n), t;
    }
    function jd(t) {
      return t ? (t = Cu, t) : Cu;
    }
    function Gd(t, l, a, u, e, n) {
      e = jd(e), u.context === null ? u.context = e : u.pendingContext = e, u = Ya(l), u.payload = {
        element: a
      }, n = n === void 0 ? null : n, n !== null && (u.callback = n), a = ja(t, u, l), a !== null && (ql(a, t, l), Re(a, t, l));
    }
    function Xd(t, l) {
      if (t = t.memoizedState, t !== null && t.dehydrated !== null) {
        var a = t.retryLane;
        t.retryLane = a !== 0 && a < l ? a : l;
      }
    }
    function qf(t, l) {
      Xd(t, l), (t = t.alternate) && Xd(t, l);
    }
    function Qd(t) {
      if (t.tag === 13 || t.tag === 31) {
        var l = iu(t, 67108864);
        l !== null && ql(l, t, 67108864), qf(t, 67108864);
      }
    }
    function Zd(t) {
      if (t.tag === 13 || t.tag === 31) {
        var l = xl();
        l = C(l);
        var a = iu(t, l);
        a !== null && ql(a, t, l), qf(t, l);
      }
    }
    var mi = true;
    function Yv(t, l, a, u) {
      var e = p.T;
      p.T = null;
      var n = H.p;
      try {
        H.p = 2, Bf(t, l, a, u);
      } finally {
        H.p = n, p.T = e;
      }
    }
    function jv(t, l, a, u) {
      var e = p.T;
      p.T = null;
      var n = H.p;
      try {
        H.p = 8, Bf(t, l, a, u);
      } finally {
        H.p = n, p.T = e;
      }
    }
    function Bf(t, l, a, u) {
      if (mi) {
        var e = Yf(u);
        if (e === null) bf(t, l, u, Si, a), Vd(t, u);
        else if (Xv(e, t, l, a, u)) u.stopPropagation();
        else if (Vd(t, u), l & 4 && -1 < Gv.indexOf(t)) {
          for (; e !== null; ) {
            var n = bu(e);
            if (n !== null) switch (n.tag) {
              case 3:
                if (n = n.stateNode, n.current.memoizedState.isDehydrated) {
                  var i = tt(n.pendingLanes);
                  if (i !== 0) {
                    var f = n;
                    for (f.pendingLanes |= 2, f.entangledLanes |= 2; i; ) {
                      var d = 1 << 31 - o(i);
                      f.entanglements[1] |= d, i &= ~d;
                    }
                    ca(n), (pt & 6) === 0 && (Pn = zl() + 500, Le(0));
                  }
                }
                break;
              case 31:
              case 13:
                f = iu(n, 2), f !== null && ql(f, n, 2), li(), qf(n, 2);
            }
            if (n = Yf(u), n === null && bf(t, l, u, Si, a), n === e) break;
            e = n;
          }
          e !== null && u.stopPropagation();
        } else bf(t, l, u, null, a);
      }
    }
    function Yf(t) {
      return t = ji(t), jf(t);
    }
    var Si = null;
    function jf(t) {
      if (Si = null, t = Eu(t), t !== null) {
        var l = J(t);
        if (l === null) t = null;
        else {
          var a = l.tag;
          if (a === 13) {
            if (t = I(l), t !== null) return t;
            t = null;
          } else if (a === 31) {
            if (t = lt(l), t !== null) return t;
            t = null;
          } else if (a === 3) {
            if (l.stateNode.current.memoizedState.isDehydrated) return l.tag === 3 ? l.stateNode.containerInfo : null;
            t = null;
          } else l !== t && (t = null);
        }
      }
      return Si = t, null;
    }
    function xd(t) {
      switch (t) {
        case "beforetoggle":
        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 "toggle":
        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 2;
        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 "touchmove":
        case "wheel":
        case "mouseenter":
        case "mouseleave":
        case "pointerenter":
        case "pointerleave":
          return 8;
        case "message":
          switch (Di()) {
            case oe:
              return 2;
            case se:
              return 8;
            case Ra:
            case Bl:
              return 32;
            case on:
              return 268435456;
            default:
              return 32;
          }
        default:
          return 32;
      }
    }
    var Gf = false, Wa = null, $a = null, Fa = null, ke = /* @__PURE__ */ new Map(), Ie = /* @__PURE__ */ new Map(), ka = [], Gv = "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".split(" ");
    function Vd(t, l) {
      switch (t) {
        case "focusin":
        case "focusout":
          Wa = null;
          break;
        case "dragenter":
        case "dragleave":
          $a = null;
          break;
        case "mouseover":
        case "mouseout":
          Fa = null;
          break;
        case "pointerover":
        case "pointerout":
          ke.delete(l.pointerId);
          break;
        case "gotpointercapture":
        case "lostpointercapture":
          Ie.delete(l.pointerId);
      }
    }
    function Pe(t, l, a, u, e, n) {
      return t === null || t.nativeEvent !== n ? (t = {
        blockedOn: l,
        domEventName: a,
        eventSystemFlags: u,
        nativeEvent: n,
        targetContainers: [
          e
        ]
      }, l !== null && (l = bu(l), l !== null && Qd(l)), t) : (t.eventSystemFlags |= u, l = t.targetContainers, e !== null && l.indexOf(e) === -1 && l.push(e), t);
    }
    function Xv(t, l, a, u, e) {
      switch (l) {
        case "focusin":
          return Wa = Pe(Wa, t, l, a, u, e), true;
        case "dragenter":
          return $a = Pe($a, t, l, a, u, e), true;
        case "mouseover":
          return Fa = Pe(Fa, t, l, a, u, e), true;
        case "pointerover":
          var n = e.pointerId;
          return ke.set(n, Pe(ke.get(n) || null, t, l, a, u, e)), true;
        case "gotpointercapture":
          return n = e.pointerId, Ie.set(n, Pe(Ie.get(n) || null, t, l, a, u, e)), true;
      }
      return false;
    }
    function Ld(t) {
      var l = Eu(t.target);
      if (l !== null) {
        var a = J(l);
        if (a !== null) {
          if (l = a.tag, l === 13) {
            if (l = I(a), l !== null) {
              t.blockedOn = l, pl(t.priority, function() {
                Zd(a);
              });
              return;
            }
          } else if (l === 31) {
            if (l = lt(a), l !== null) {
              t.blockedOn = l, pl(t.priority, function() {
                Zd(a);
              });
              return;
            }
          } else if (l === 3 && a.stateNode.current.memoizedState.isDehydrated) {
            t.blockedOn = a.tag === 3 ? a.stateNode.containerInfo : null;
            return;
          }
        }
      }
      t.blockedOn = null;
    }
    function gi(t) {
      if (t.blockedOn !== null) return false;
      for (var l = t.targetContainers; 0 < l.length; ) {
        var a = Yf(t.nativeEvent);
        if (a === null) {
          a = t.nativeEvent;
          var u = new a.constructor(a.type, a);
          Yi = u, a.target.dispatchEvent(u), Yi = null;
        } else return l = bu(a), l !== null && Qd(l), t.blockedOn = a, false;
        l.shift();
      }
      return true;
    }
    function wd(t, l, a) {
      gi(t) && a.delete(l);
    }
    function Qv() {
      Gf = false, Wa !== null && gi(Wa) && (Wa = null), $a !== null && gi($a) && ($a = null), Fa !== null && gi(Fa) && (Fa = null), ke.forEach(wd), Ie.forEach(wd);
    }
    function _i(t, l) {
      t.blockedOn === l && (t.blockedOn = null, Gf || (Gf = true, s.unstable_scheduleCallback(s.unstable_NormalPriority, Qv)));
    }
    var Ei = null;
    function Kd(t) {
      Ei !== t && (Ei = t, s.unstable_scheduleCallback(s.unstable_NormalPriority, function() {
        Ei === t && (Ei = null);
        for (var l = 0; l < t.length; l += 3) {
          var a = t[l], u = t[l + 1], e = t[l + 2];
          if (typeof u != "function") {
            if (jf(u || a) === null) continue;
            break;
          }
          var n = bu(a);
          n !== null && (t.splice(l, 3), l -= 3, Bc(n, {
            pending: true,
            data: e,
            method: a.method,
            action: u
          }, u, e));
        }
      }));
    }
    function ae(t) {
      function l(d) {
        return _i(d, t);
      }
      Wa !== null && _i(Wa, t), $a !== null && _i($a, t), Fa !== null && _i(Fa, t), ke.forEach(l), Ie.forEach(l);
      for (var a = 0; a < ka.length; a++) {
        var u = ka[a];
        u.blockedOn === t && (u.blockedOn = null);
      }
      for (; 0 < ka.length && (a = ka[0], a.blockedOn === null); ) Ld(a), a.blockedOn === null && ka.shift();
      if (a = (t.ownerDocument || t).$$reactFormReplay, a != null) for (u = 0; u < a.length; u += 3) {
        var e = a[u], n = a[u + 1], i = e[tl] || null;
        if (typeof n == "function") i || Kd(a);
        else if (i) {
          var f = null;
          if (n && n.hasAttribute("formAction")) {
            if (e = n, i = n[tl] || null) f = i.formAction;
            else if (jf(e) !== null) continue;
          } else f = i.action;
          typeof f == "function" ? a[u + 1] = f : (a.splice(u, 3), u -= 3), Kd(a);
        }
      }
    }
    function Jd() {
      function t(n) {
        n.canIntercept && n.info === "react-transition" && n.intercept({
          handler: function() {
            return new Promise(function(i) {
              return e = i;
            });
          },
          focusReset: "manual",
          scroll: "manual"
        });
      }
      function l() {
        e !== null && (e(), e = null), u || setTimeout(a, 20);
      }
      function a() {
        if (!u && !navigation.transition) {
          var n = navigation.currentEntry;
          n && n.url != null && navigation.navigate(n.url, {
            state: n.getState(),
            info: "react-transition",
            history: "replace"
          });
        }
      }
      if (typeof navigation == "object") {
        var u = false, e = null;
        return navigation.addEventListener("navigate", t), navigation.addEventListener("navigatesuccess", l), navigation.addEventListener("navigateerror", l), setTimeout(a, 100), function() {
          u = true, navigation.removeEventListener("navigate", t), navigation.removeEventListener("navigatesuccess", l), navigation.removeEventListener("navigateerror", l), e !== null && (e(), e = null);
        };
      }
    }
    function Xf(t) {
      this._internalRoot = t;
    }
    bi.prototype.render = Xf.prototype.render = function(t) {
      var l = this._internalRoot;
      if (l === null) throw Error(y(409));
      var a = l.current, u = xl();
      Gd(a, u, t, l, null, null);
    }, bi.prototype.unmount = Xf.prototype.unmount = function() {
      var t = this._internalRoot;
      if (t !== null) {
        this._internalRoot = null;
        var l = t.containerInfo;
        Gd(t.current, 2, null, t, null, null), li(), l[Rl] = null;
      }
    };
    function bi(t) {
      this._internalRoot = t;
    }
    bi.prototype.unstable_scheduleHydration = function(t) {
      if (t) {
        var l = hl();
        t = {
          blockedOn: null,
          target: t,
          priority: l
        };
        for (var a = 0; a < ka.length && l !== 0 && l < ka[a].priority; a++) ;
        ka.splice(a, 0, t), a === 0 && Ld(t);
      }
    };
    var Wd = A.version;
    if (Wd !== "19.2.4") throw Error(y(527, Wd, "19.2.4"));
    H.findDOMNode = function(t) {
      var l = t._reactInternals;
      if (l === void 0) throw typeof t.render == "function" ? Error(y(188)) : (t = Object.keys(t).join(","), Error(y(268, t)));
      return t = O(l), t = t !== null ? W(t) : null, t = t === null ? null : t.stateNode, t;
    };
    var Zv = {
      bundleType: 0,
      version: "19.2.4",
      rendererPackageName: "react-dom",
      currentDispatcherRef: p,
      reconcilerVersion: "19.2.4"
    };
    if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u") {
      var Ti = __REACT_DEVTOOLS_GLOBAL_HOOK__;
      if (!Ti.isDisabled && Ti.supportsFiber) try {
        Da = Ti.inject(Zv), El = Ti;
      } catch {
      }
    }
    return an.createRoot = function(t, l) {
      if (!V(t)) throw Error(y(299));
      var a = false, u = "", e = lr, n = ar, i = ur;
      return l != null && (l.unstable_strictMode === true && (a = true), l.identifierPrefix !== void 0 && (u = l.identifierPrefix), l.onUncaughtError !== void 0 && (e = l.onUncaughtError), l.onCaughtError !== void 0 && (n = l.onCaughtError), l.onRecoverableError !== void 0 && (i = l.onRecoverableError)), l = Yd(t, 1, false, null, null, a, u, null, e, n, i, Jd), t[Rl] = l.current, Ef(t), new Xf(l);
    }, an.hydrateRoot = function(t, l, a) {
      if (!V(t)) throw Error(y(299));
      var u = false, e = "", n = lr, i = ar, f = ur, d = null;
      return a != null && (a.unstable_strictMode === true && (u = true), a.identifierPrefix !== void 0 && (e = a.identifierPrefix), a.onUncaughtError !== void 0 && (n = a.onUncaughtError), a.onCaughtError !== void 0 && (i = a.onCaughtError), a.onRecoverableError !== void 0 && (f = a.onRecoverableError), a.formState !== void 0 && (d = a.formState)), l = Yd(t, 1, true, l, a ?? null, u, e, d, n, i, f, Jd), l.context = jd(null), a = l.current, u = xl(), u = C(u), e = Ya(u), e.callback = null, ja(a, e, u), a = u, l.current.lanes = a, F(l, a), ca(l), t[Rl] = l.current, Ef(t), new bi(l);
    }, an.version = "19.2.4", an;
  }
  var d0;
  function Dy() {
    if (d0) return Lf.exports;
    d0 = 1;
    function s() {
      if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) try {
        __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(s);
      } catch (A) {
        console.error(A);
      }
    }
    return s(), Lf.exports = Ry(), Lf.exports;
  }
  var h0 = Dy(), Uy = ao();
  function Ny(s, A) {
    if (A !== "/") {
      if (!s.startsWith(A)) throw new Error("pathname must start with basePath: " + s);
      return s.slice(A.length - 1);
    }
    return s;
  }
  const Jf = "R";
  function Pf(s) {
    if (!s.startsWith("/")) throw new Error("Path must start with `/`: " + s);
    if (s.length > 1 && s.endsWith("/")) throw new Error("Path must not end with `/`: " + s);
    return s === "/" ? Jf + "/_root" : s.startsWith("/_") ? Jf + "/__" + s.slice(2) : Jf + s;
  }
  const Wf = "ROUTE", $f = "IS_STATIC", Cy = "HAS404", ue = "X-Waku-Router-Skip", Hy = (s) => {
    s = Ny(s, "/");
    for (const A of [
      "/",
      "/index.html"
    ]) if (s.endsWith(A)) return s.slice(0, -A.length) || "/";
    return s;
  }, un = (s) => {
    const { pathname: A, searchParams: U, hash: y } = s;
    return {
      path: Hy(A),
      query: U.toString(),
      hash: y
    };
  }, v0 = (s) => {
    const A = new URL(window.location.href);
    return A.pathname = s.path, A.search = s.query, A.hash = s.hash, A;
  }, N0 = () => {
    const s = document.querySelector('meta[name="httpstatus"]');
    if (s && "content" in s && typeof s.content == "string") return s.content;
  }, qy = () => N0() === "404" ? {
    path: "/404",
    query: "",
    hash: ""
  } : un(new URL(window.location.href)), C0 = (s, A) => s.path !== A.path, By = (s, A) => s.hash !== A.hash, y0 = (s, A) => s.path === A.path && s.query === A.query && s.hash === A.hash, Yy = (s, A) => C0(s, A) || By(s, A);
  let Ai;
  const to = (s) => {
    if (Ai && Ai[0] === s) return Ai[1];
    const A = new URLSearchParams({
      query: s
    });
    return Ai = [
      s,
      A
    ], A;
  }, jy = () => {
    const s = {
      start: /* @__PURE__ */ new Set(),
      complete: /* @__PURE__ */ new Set()
    };
    return [
      {
        on: (U, y) => {
          s[U].add(y);
        },
        off: (U, y) => {
          s[U].delete(y);
        }
      },
      (U, y) => {
        const V = s[U];
        if (V.size) for (const J of V) J(y);
      }
    ];
  }, Mi = dt.createContext(null), pi = (s) => () => {
    throw new Error(`${s} is not in the server`);
  };
  function m0(s) {
    return Rt.jsxs("html", {
      children: [
        Rt.jsx("head", {
          children: Rt.jsx("title", {
            children: "Unhandled Error"
          })
        }),
        Rt.jsxs("body", {
          style: {
            height: "100vh",
            display: "flex",
            flexDirection: "column",
            placeContent: "center",
            placeItems: "center",
            fontSize: "16px",
            margin: 0
          },
          children: [
            Rt.jsx("h1", {
              children: "Caught an unexpected error"
            }),
            Rt.jsxs("p", {
              children: [
                "Error: ",
                s
              ]
            })
          ]
        })
      ]
    });
  }
  Wy = class extends dt.Component {
    constructor(A) {
      super(A), this.state = {};
    }
    static getDerivedStateFromError(A) {
      return {
        error: A
      };
    }
    render() {
      return "error" in this.state ? this.state.error instanceof Error ? m0(this.state.error.message) : m0(String(this.state.error)) : this.props.children;
    }
  };
  const Gy = ({ error: s, has404: A, reset: U, handledErrorSet: y }) => {
    const V = dt.useContext(Mi);
    if (!V) throw new Error("Missing Router");
    const { changeRoute: J } = V;
    return dt.useEffect(() => {
      if (A) {
        if (y.has(s)) return;
        y.add(s);
        const I = new URL("/404", window.location.href);
        J(un(I), {
          shouldScroll: true
        }).then(() => {
          U();
        }).catch((lt) => {
          console.log("Error while navigating to 404:", lt);
        });
      }
    }, [
      s,
      A,
      U,
      J,
      y
    ]), A ? null : Rt.jsx("h1", {
      children: "Not Found"
    });
  }, Xy = ({ error: s, to: A, reset: U, handledErrorSet: y }) => {
    const V = dt.useContext(Mi);
    if (!V) throw new Error("Missing Router");
    const { changeRoute: J } = V;
    return dt.useEffect(() => {
      if (y.has(s)) return;
      y.add(s);
      const I = new URL(A, window.location.href);
      if (I.hostname !== window.location.hostname) {
        window.location.replace(A);
        return;
      }
      const lt = window.location.pathname, X = I.pathname !== lt, O = I.origin === window.location.origin ? I : void 0;
      J(un(I), {
        shouldScroll: X,
        mode: "replace",
        url: O
      }).then(() => {
        y.delete(s), setTimeout(() => {
          U();
        }, 1);
      }).catch((W) => {
        y.delete(s), console.log("Error while navigating to redirect:", W);
      });
    }, [
      s,
      A,
      U,
      J,
      y
    ]), null;
  };
  class Qy extends dt.Component {
    constructor(A) {
      super(A);
      __publicField(this, "handledErrorSet", /* @__PURE__ */ new WeakSet());
      this.state = {
        error: null
      }, this.reset = this.reset.bind(this);
    }
    static getDerivedStateFromError(A) {
      return {
        error: A
      };
    }
    reset() {
      this.setState({
        error: null
      });
    }
    render() {
      const { error: A } = this.state;
      if (A !== null) {
        const U = oy(A);
        if ((U == null ? void 0 : U.status) === 404) return Rt.jsx(Gy, {
          error: A,
          has404: this.props.has404,
          reset: this.reset,
          handledErrorSet: this.handledErrorSet
        });
        if (U == null ? void 0 : U.location) return Rt.jsx(Xy, {
          error: A,
          to: U.location,
          reset: this.reset,
          handledErrorSet: this.handledErrorSet
        });
        throw A;
      }
      return this.props.children;
    }
  }
  const Zy = ({ error: s }) => {
    throw s;
  }, H0 = (s) => "route:" + s, xy = (s, A, U) => {
    if (s.hash) {
      const y = document.getElementById(s.hash.slice(1));
      if (!y && !U) return;
      window.scrollTo({
        left: 0,
        top: y ? y.getBoundingClientRect().top + window.scrollY : 0,
        behavior: A
      });
      return;
    }
    window.scrollTo({
      left: 0,
      top: 0,
      behavior: A
    });
  }, Vy = (s) => s, Ly = ({ initialRoute: s, httpStatus: A, routeInterceptor: U = Vy }) => {
    const y = U0(), [V, J] = dt.useState(false), I = dt.useRef(/* @__PURE__ */ new Set()), lt = dt.useRef(/* @__PURE__ */ new Set()), X = dt.useRef(/* @__PURE__ */ new Set());
    dt.useEffect(() => {
      y.then((L) => {
        const { [Wf]: qt, [$f]: bt, [Cy]: Ot, ...xt } = L;
        if (Ot && J(true), qt) {
          const [jt, Vt] = qt;
          bt && I.current.add(jt);
        }
        lt.current = new Set(Object.keys(xt));
      }, () => {
      });
    }, [
      y
    ]);
    const O = zy(), [W, Q] = dt.useState(() => ({
      ...s,
      hash: ""
    })), ut = dt.useRef(null);
    ut.current === null && (ut.current = jy()), dt.useEffect(() => {
      Q((L) => y0(L, s) ? L : s);
    }, [
      s
    ]);
    const [Yt, Wt] = dt.useState(null), wt = dt.useRef(W);
    dt.useEffect(() => {
      wt.current = W;
    }, [
      W
    ]);
    const [gl, nl] = ut.current, _l = dt.useRef(null), Zt = dt.useCallback(async (L, qt) => {
      var _a;
      (_a = _l.current) == null ? void 0 : _a.abort();
      const bt = new AbortController();
      _l.current = bt;
      const Ot = () => bt.signal.aborted;
      nl("start", L);
      const xt = qt.unstable_startTransition || ((G) => G()), { skipRefetch: jt } = qt, Vt = window.location.pathname, p = (G, P) => {
        G && P && window.location.pathname === Vt && (G === "push" ? window.history.pushState(window.history.state, "", P) : window.history.replaceState(window.history.state, "", P));
      };
      let { mode: H, url: $ } = qt;
      const _t = H && ($ || v0(L)), Z = wt.current, v = C0(L, Z);
      if (Wt(null), !I.current.has(L.path) && !jt) {
        const G = Pf(L.path), P = to(L.query), ft = (st) => (Kt, Mt = {}) => {
          Mt.signal === void 0 && (Mt.signal = bt.signal);
          const kt = JSON.stringify(Array.from(lt.current)), Al = Mt.headers || (Mt.headers = {});
          return Array.isArray(Al) ? Al.push([
            ue,
            kt
          ]) : Al instanceof Headers ? Al.set(ue, kt) : Al[ue] = kt, st(Kt, Mt);
        };
        try {
          const st = await O(G, P, f0(ft)), { [Wf]: Kt, [$f]: Mt } = st;
          if (Kt) {
            const [kt, Al] = Kt;
            (L.path !== kt || !Mt && L.query !== Al) && (L = {
              path: kt,
              query: Al,
              hash: ""
            }, H && (H = kt === "/404" ? void 0 : "push", $ = void 0));
          }
        } catch (st) {
          if (Ot()) return;
          throw p(H, _t), _l.current = null, Wt(st), st;
        }
      }
      if (Ot()) return;
      const R = H && ($ || v0(L)), B = v ? "instant" : "auto";
      xt(() => {
        Ot() || (p(H, R), Q(L), _l.current = null, qt.shouldScroll && xy(L, B, v), nl("complete", L));
      });
    }, [
      nl,
      O
    ]), il = dt.useCallback(async (L, qt) => {
      if (!L) return;
      const [bt, Ot] = L, xt = wt.current;
      if (xt.path === bt && (qt || xt.query === Ot)) return;
      const jt = new URL(window.location.href);
      jt.pathname = bt, jt.search = Ot, jt.hash = "", await Zt(un(jt), {
        skipRefetch: true,
        shouldScroll: false,
        mode: bt === "/404" ? void 0 : "push",
        url: jt
      });
    }, [
      Zt
    ]), Tl = Ty();
    dt.useEffect(() => Ey(Tl, (qt) => {
      const { [Wf]: bt, [$f]: Ot } = qt;
      il(bt, Ot).catch((xt) => {
        console.log("Error while handling route updates:", xt);
      });
    }), [
      il,
      Tl
    ]);
    const ol = dt.useCallback((L) => {
      var _a;
      if (I.current.has(L.path)) return;
      const qt = Pf(L.path), bt = to(L.query);
      by(qt, bt, f0((xt) => (jt, Vt = {}) => {
        const p = JSON.stringify(Array.from(lt.current)), H = Vt.headers || (Vt.headers = {});
        return Array.isArray(H) ? H.push([
          ue,
          p
        ]) : H instanceof Headers ? H.set(ue, p) : H[ue] = p, xt(jt, Vt);
      })), (_a = globalThis.__WAKU_ROUTER_PREFETCH__) == null ? void 0 : _a.call(globalThis, L.path, (xt) => {
        Uy.preloadModule(xt, {
          as: "script"
        });
      });
    }, []);
    dt.useEffect(() => {
      const L = () => {
        const qt = U(un(new URL(window.location.href)));
        qt && Zt(qt, {
          shouldScroll: Yy(qt, wt.current),
          skipRefetch: y0(qt, wt.current)
        }).catch((bt) => {
          console.log("Error while navigating back:", bt);
        });
      };
      return window.addEventListener("popstate", L), () => {
        window.removeEventListener("popstate", L);
      };
    }, [
      Zt,
      U
    ]);
    const ct = Yt !== null ? Rt.jsx(Zy, {
      error: Yt
    }) : Rt.jsx(zi, {
      id: H0(W.path)
    }), sl = Rt.jsxs(zi, {
      id: "root",
      children: [
        Rt.jsx("meta", {
          name: "httpstatus",
          content: A
        }),
        Rt.jsx(Qy, {
          has404: V,
          children: ct
        })
      ]
    });
    return Rt.jsx(Mi, {
      value: {
        route: W,
        changeRoute: Zt,
        prefetchRoute: ol,
        routeChangeEvents: gl,
        fetchingSlices: X.current
      },
      children: sl
    });
  };
  function wy({ initialRoute: s = qy(), unstable_fetchRscStore: A, unstable_routeInterceptor: U }) {
    const y = Pf(s.path), V = to(s.query), J = N0();
    return Rt.jsx(Ay, {
      initialRscPath: y,
      initialRscParams: V,
      fetchRscStore: A,
      children: Rt.jsx(Ly, {
        initialRoute: s,
        httpStatus: J,
        routeInterceptor: U
      })
    });
  }
  const Ky = {
    on: () => pi("routeChange:on"),
    off: () => pi("routeChange:off")
  };
  $y = function({ route: s, httpstatus: A }) {
    const U = Rt.jsx(zi, {
      id: H0(s.path)
    }), y = Rt.jsxs(zi, {
      id: "root",
      children: [
        Rt.jsx("meta", {
          name: "httpstatus",
          content: `${A}`
        }),
        U
      ]
    });
    return Rt.jsx(Rt.Fragment, {
      children: Rt.jsx(Mi, {
        value: {
          route: s,
          changeRoute: pi("changeRoute"),
          prefetchRoute: pi("prefetchRoute"),
          routeChangeEvents: Ky,
          fetchingSlices: /* @__PURE__ */ new Set()
        },
        children: y
      })
    });
  };
  const S0 = dt.createElement(dt.StrictMode, null, dt.createElement(wy));
  globalThis.__WAKU_HYDRATE__ ? h0.hydrateRoot(document, S0) : h0.createRoot(document).render(S0);
  E0(p0);
})();
export {
  Jy as C,
  Wy as E,
  $y as I,
  zi as S,
  tn as _,
  __tla,
  Rt as j,
  dt as r
};
