import { j as T, A as pf, m as Na } from "./v_7_4_3_25_2ff64573-14a6-4762-a634-9cd350f14f775.js";
import { d as Sv, a as rv, r as L, b as ru } from "./v_7_4_3_25_2ff64573-14a6-4762-a634-9cd350f14f77.js";
import { a as zv, u as pv, o as Av, b as Ev, F as Tv } from "./v_7_4_3_25_2ff64573-14a6-4762-a634-9cd350f14f778.js";
import { s as Af, v as Ef, w as nt, x as Mv, y as _v, z as Ov, B as xv, C as xm, D as Dv, E as rf, F as vf, m as Uv, G as zf, H as Nv, t as Hv, I as Cv, M as jv } from "./v_7_4_3_25_2ff64573-14a6-4762-a634-9cd350f14f7723.js";
import { C as Dm, b as Ln, e as Kn, s as qv, p as Bv, j as Yv, k as Xv, l as Gv, w as Rv, g as Bm } from "./v_7_4_3_25_2ff64573-14a6-4762-a634-9cd350f14f774.js";
import { _ as Ee } from "./v_7_4_3_25_2ff64573-14a6-4762-a634-9cd350f14f777.js";
import { M as Qv } from "./v_7_4_3_25_2ff64573-14a6-4762-a634-9cd350f14f7746.js";
import { u as Ym, s as Vn } from "./v_7_4_3_25_2ff64573-14a6-4762-a634-9cd350f14f7747.js";
import { X as Jn } from "./v_7_4_3_25_2ff64573-14a6-4762-a634-9cd350f14f776.js";
import { a as Xm } from "./v_7_4_3_25_2ff64573-14a6-4762-a634-9cd350f14f773.js";
import { V as Ae, W as Gm } from "./v_7_4_3_25_2ff64573-14a6-4762-a634-9cd350f14f772.js";
import { T as Zv } from "./v_7_4_3_25_2ff64573-14a6-4762-a634-9cd350f14f7748.js";
var hf = {
  exports: {}
};
var Su = {};
var gf = {
  exports: {}
};
var bf = {};
var Um;
function Vv() {
  if (!Um) {
    Um = 1;
    (function (h) {
      function p(r, M) {
        var H = r.length;
        r.push(M);
        l: while (H > 0) {
          var al = H - 1 >>> 1;
          var el = r[al];
          if (_(el, M) > 0) {
            r[al] = M;
            r[H] = el;
            H = al;
          } else {
            break l;
          }
        }
      }
      function A(r) {
        if (r.length === 0) {
          return null;
        } else {
          return r[0];
        }
      }
      function d(r) {
        if (r.length === 0) {
          return null;
        }
        var M = r[0];
        var H = r.pop();
        if (H !== M) {
          r[0] = H;
          l: for (var al = 0, el = r.length, _l = el >>> 1; al < _l;) {
            var cl = (al + 1) * 2 - 1;
            var K = r[cl];
            var Sl = cl + 1;
            var yt = r[Sl];
            if (_(K, H) < 0) {
              if (Sl < el && _(yt, K) < 0) {
                r[al] = yt;
                r[Sl] = H;
                al = Sl;
              } else {
                r[al] = K;
                r[cl] = H;
                al = cl;
              }
            } else if (Sl < el && _(yt, H) < 0) {
              r[al] = yt;
              r[Sl] = H;
              al = Sl;
            } else {
              break l;
            }
          }
        }
        return M;
      }
      function _(r, M) {
        var H = r.sortIndex - M.sortIndex;
        if (H !== 0) {
          return H;
        } else {
          return r.id - M.id;
        }
      }
      h.unstable_now = undefined;
      if (typeof performance == "object" && typeof performance.now == "function") {
        var E = performance;
        h.unstable_now = function () {
          return E.now();
        };
      } else {
        var N = Date;
        var F = N.now();
        h.unstable_now = function () {
          return N.now() - F;
        };
      }
      var J = [];
      var P = [];
      var ll = 1;
      var j = null;
      var ml = 3;
      var dt = false;
      var ql = false;
      var Jl = false;
      var Ca = false;
      var ja = typeof setTimeout == "function" ? setTimeout : null;
      var Te = typeof clearTimeout == "function" ? clearTimeout : null;
      var wl = typeof setImmediate !== "undefined" ? setImmediate : null;
      function Xt(r) {
        for (var M = A(P); M !== null;) {
          if (M.callback === null) {
            d(P);
          } else if (M.startTime <= r) {
            d(P);
            M.sortIndex = M.expirationTime;
            p(J, M);
          } else {
            break;
          }
          M = A(P);
        }
      }
      function da(r) {
        Jl = false;
        Xt(r);
        if (!ql) {
          if (A(J) !== null) {
            ql = true;
            if (!mt) {
              mt = true;
              Wl();
            }
          } else {
            var M = A(P);
            if (M !== null) {
              rt(da, M.startTime - r);
            }
          }
        }
      }
      var mt = false;
      var St = -1;
      var it = 5;
      var qa = -1;
      function zu() {
        if (Ca) {
          return true;
        } else {
          return !(h.unstable_now() - qa < it);
        }
      }
      function Ba() {
        Ca = false;
        if (mt) {
          var r = h.unstable_now();
          qa = r;
          var M = true;
          try {
            l: {
              ql = false;
              if (Jl) {
                Jl = false;
                Te(St);
                St = -1;
              }
              dt = true;
              var H = ml;
              try {
                t: {
                  Xt(r);
                  j = A(J);
                  while (j !== null && (!(j.expirationTime > r) || !zu())) {
                    var al = j.callback;
                    if (typeof al == "function") {
                      j.callback = null;
                      ml = j.priorityLevel;
                      var el = al(j.expirationTime <= r);
                      r = h.unstable_now();
                      if (typeof el == "function") {
                        j.callback = el;
                        Xt(r);
                        M = true;
                        break t;
                      }
                      if (j === A(J)) {
                        d(J);
                      }
                      Xt(r);
                    } else {
                      d(J);
                    }
                    j = A(J);
                  }
                  if (j !== null) {
                    M = true;
                  } else {
                    var _l = A(P);
                    if (_l !== null) {
                      rt(da, _l.startTime - r);
                    }
                    M = false;
                  }
                }
                break l;
              } finally {
                j = null;
                ml = H;
                dt = false;
              }
              M = undefined;
            }
          } finally {
            if (M) {
              Wl();
            } else {
              mt = false;
            }
          }
        }
      }
      var Wl;
      if (typeof wl == "function") {
        Wl = function () {
          wl(Ba);
        };
      } else if (typeof MessageChannel !== "undefined") {
        var pu = new MessageChannel();
        var Me = pu.port2;
        pu.port1.onmessage = Ba;
        Wl = function () {
          Me.postMessage(null);
        };
      } else {
        Wl = function () {
          ja(Ba, 0);
        };
      }
      function rt(r, M) {
        St = ja(function () {
          r(h.unstable_now());
        }, M);
      }
      h.unstable_IdlePriority = 5;
      h.unstable_ImmediatePriority = 1;
      h.unstable_LowPriority = 4;
      h.unstable_NormalPriority = 3;
      h.unstable_Profiling = null;
      h.unstable_UserBlockingPriority = 2;
      h.unstable_cancelCallback = function (r) {
        r.callback = null;
      };
      h.unstable_forceFrameRate = function (r) {
        if (r < 0 || r > 125) {
          console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");
        } else {
          it = r > 0 ? Math.floor(1000 / r) : 5;
        }
      };
      h.unstable_getCurrentPriorityLevel = function () {
        return ml;
      };
      h.unstable_next = function (r) {
        switch (ml) {
          case 1:
          case 2:
          case 3:
            var M = 3;
            break;
          default:
            M = ml;
        }
        var H = ml;
        ml = M;
        try {
          return r();
        } finally {
          ml = H;
        }
      };
      h.unstable_requestPaint = function () {
        Ca = true;
      };
      h.unstable_runWithPriority = function (r, M) {
        switch (r) {
          case 1:
          case 2:
          case 3:
          case 4:
          case 5:
            break;
          default:
            r = 3;
        }
        var H = ml;
        ml = r;
        try {
          return M();
        } finally {
          ml = H;
        }
      };
      h.unstable_scheduleCallback = function (r, M, H) {
        var al = h.unstable_now();
        if (typeof H == "object" && H !== null) {
          H = H.delay;
          H = typeof H == "number" && H > 0 ? al + H : al;
        } else {
          H = al;
        }
        switch (r) {
          case 1:
            var el = -1;
            break;
          case 2:
            el = 250;
            break;
          case 5:
            el = 1073741823;
            break;
          case 4:
            el = 10000;
            break;
          default:
            el = 5000;
        }
        el = H + el;
        r = {
          id: ll++,
          callback: M,
          priorityLevel: r,
          startTime: H,
          expirationTime: el,
          sortIndex: -1
        };
        if (H > al) {
          r.sortIndex = H;
          p(P, r);
          if (A(J) === null && r === A(P)) {
            if (Jl) {
              Te(St);
              St = -1;
            } else {
              Jl = true;
            }
            rt(da, H - al);
          }
        } else {
          r.sortIndex = el;
          p(J, r);
          if (!ql && !dt) {
            ql = true;
            if (!mt) {
              mt = true;
              Wl();
            }
          }
        }
        return r;
      };
      h.unstable_shouldYield = zu;
      h.unstable_wrapCallback = function (r) {
        var M = ml;
        return function () {
          var H = ml;
          ml = M;
          try {
            return r.apply(this, arguments);
          } finally {
            ml = H;
          }
        };
      };
    })(bf);
  }
  return bf;
}
var Nm;
function Lv() {
  if (!Nm) {
    Nm = 1;
    gf.exports = Vv();
  }
  return gf.exports;
}
var Hm;
function Kv() {
  if (Hm) {
    return Su;
  }
  Hm = 1;
  var h = Lv();
  var p = Sv();
  var A = zv();
  function d(l) {
    var t = "https://react.dev/errors/" + l;
    if (arguments.length > 1) {
      t += "?args[]=" + encodeURIComponent(arguments[1]);
      for (var a = 2; a < arguments.length; a++) {
        t += "&args[]=" + encodeURIComponent(arguments[a]);
      }
    }
    return "Minified React error #" + l + "; visit " + t + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
  }
  function _(l) {
    return !!l && (l.nodeType === 1 || l.nodeType === 9 || l.nodeType === 11);
  }
  function E(l) {
    var t = l;
    var a = l;
    if (l.alternate) {
      while (t.return) {
        t = t.return;
      }
    } else {
      l = t;
      do {
        t = l;
        if ((t.flags & 4098) !== 0) {
          a = t.return;
        }
        l = t.return;
      } while (l);
    }
    if (t.tag === 3) {
      return a;
    } else {
      return null;
    }
  }
  function N(l) {
    if (l.tag === 13) {
      var t = l.memoizedState;
      if (t === null) {
        l = l.alternate;
        if (l !== null) {
          t = l.memoizedState;
        }
      }
      if (t !== null) {
        return t.dehydrated;
      }
    }
    return null;
  }
  function F(l) {
    if (l.tag === 31) {
      var t = l.memoizedState;
      if (t === null) {
        l = l.alternate;
        if (l !== null) {
          t = l.memoizedState;
        }
      }
      if (t !== null) {
        return t.dehydrated;
      }
    }
    return null;
  }
  function J(l) {
    if (E(l) !== l) {
      throw Error(d(188));
    }
  }
  function P(l) {
    var t = l.alternate;
    if (!t) {
      t = E(l);
      if (t === null) {
        throw Error(d(188));
      }
      if (t !== l) {
        return null;
      } else {
        return l;
      }
    }
    var a = l;
    var e = t;
    while (true) {
      var u = a.return;
      if (u === null) {
        break;
      }
      var n = u.alternate;
      if (n === null) {
        e = u.return;
        if (e !== null) {
          a = e;
          continue;
        }
        break;
      }
      if (u.child === n.child) {
        for (n = u.child; n;) {
          if (n === a) {
            J(u);
            return l;
          }
          if (n === e) {
            J(u);
            return t;
          }
          n = n.sibling;
        }
        throw Error(d(188));
      }
      if (a.return !== e.return) {
        a = u;
        e = n;
      } else {
        var i = false;
        for (var c = u.child; c;) {
          if (c === a) {
            i = true;
            a = u;
            e = n;
            break;
          }
          if (c === e) {
            i = true;
            e = u;
            a = n;
            break;
          }
          c = c.sibling;
        }
        if (!i) {
          for (c = n.child; c;) {
            if (c === a) {
              i = true;
              a = n;
              e = u;
              break;
            }
            if (c === e) {
              i = true;
              e = n;
              a = u;
              break;
            }
            c = c.sibling;
          }
          if (!i) {
            throw Error(d(189));
          }
        }
      }
      if (a.alternate !== e) {
        throw Error(d(190));
      }
    }
    if (a.tag !== 3) {
      throw Error(d(188));
    }
    if (a.stateNode.current === a) {
      return l;
    } else {
      return t;
    }
  }
  function ll(l) {
    var t = l.tag;
    if (t === 5 || t === 26 || t === 27 || t === 6) {
      return l;
    }
    for (l = l.child; l !== null;) {
      t = ll(l);
      if (t !== null) {
        return t;
      }
      l = l.sibling;
    }
    return null;
  }
  var j = Object.assign;
  var ml = Symbol.for("react.element");
  var dt = Symbol.for("react.transitional.element");
  var ql = Symbol.for("react.portal");
  var Jl = Symbol.for("react.fragment");
  var Ca = Symbol.for("react.strict_mode");
  var ja = Symbol.for("react.profiler");
  var Te = Symbol.for("react.consumer");
  var wl = Symbol.for("react.context");
  var Xt = Symbol.for("react.forward_ref");
  var da = Symbol.for("react.suspense");
  var mt = Symbol.for("react.suspense_list");
  var St = Symbol.for("react.memo");
  var it = Symbol.for("react.lazy");
  var qa = Symbol.for("react.activity");
  var zu = Symbol.for("react.memo_cache_sentinel");
  var Ba = Symbol.iterator;
  function Wl(l) {
    if (l === null || typeof l != "object") {
      return null;
    } else {
      l = Ba && l[Ba] || l["@@iterator"];
      if (typeof l == "function") {
        return l;
      } else {
        return null;
      }
    }
  }
  var pu = Symbol.for("react.client.reference");
  function Me(l) {
    if (l == null) {
      return null;
    }
    if (typeof l == "function") {
      if (l.$$typeof === pu) {
        return null;
      } else {
        return l.displayName || l.name || null;
      }
    }
    if (typeof l == "string") {
      return l;
    }
    switch (l) {
      case Jl:
        return "Fragment";
      case ja:
        return "Profiler";
      case Ca:
        return "StrictMode";
      case da:
        return "Suspense";
      case mt:
        return "SuspenseList";
      case qa:
        return "Activity";
    }
    if (typeof l == "object") {
      switch (l.$$typeof) {
        case ql:
          return "Portal";
        case wl:
          return l.displayName || "Context";
        case Te:
          return (l._context.displayName || "Context") + ".Consumer";
        case Xt:
          var t = l.render;
          l = l.displayName;
          if (!l) {
            l = t.displayName || t.name || "";
            l = l !== "" ? "ForwardRef(" + l + ")" : "ForwardRef";
          }
          return l;
        case St:
          t = l.displayName || null;
          if (t !== null) {
            return t;
          } else {
            return Me(l.type) || "Memo";
          }
        case it:
          t = l._payload;
          l = l._init;
          try {
            return Me(l(t));
          } catch {}
      }
    }
    return null;
  }
  var rt = Array.isArray;
  var r = p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
  var M = A.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
  var H = {
    pending: false,
    data: null,
    method: null,
    action: null
  };
  var al = [];
  var el = -1;
  function _l(l) {
    return {
      current: l
    };
  }
  function cl(l) {
    if (!(el < 0)) {
      l.current = al[el];
      al[el] = null;
      el--;
    }
  }
  function K(l, t) {
    el++;
    al[el] = l.current;
    l.current = t;
  }
  var Sl = _l(null);
  var yt = _l(null);
  var Gt = _l(null);
  var Au = _l(null);
  function Eu(l, t) {
    K(Gt, t);
    K(yt, l);
    K(Sl, null);
    switch (t.nodeType) {
      case 9:
      case 11:
        l = (l = t.documentElement) && (l = l.namespaceURI) ? $d(l) : 0;
        break;
      default:
        l = t.tagName;
        if (t = t.namespaceURI) {
          t = $d(t);
          l = Id(t, l);
        } else {
          switch (l) {
            case "svg":
              l = 1;
              break;
            case "math":
              l = 2;
              break;
            default:
              l = 0;
          }
        }
    }
    cl(Sl);
    K(Sl, l);
  }
  function Ya() {
    cl(Sl);
    cl(yt);
    cl(Gt);
  }
  function Wn(l) {
    if (l.memoizedState !== null) {
      K(Au, l);
    }
    var t = Sl.current;
    var a = Id(t, l.type);
    if (t !== a) {
      K(yt, l);
      K(Sl, a);
    }
  }
  function Tu(l) {
    if (yt.current === l) {
      cl(Sl);
      cl(yt);
    }
    if (Au.current === l) {
      cl(Au);
      vu._currentValue = H;
    }
  }
  var Fn;
  var _f;
  function ma(l) {
    if (Fn === undefined) {
      try {
        throw Error();
      } catch (a) {
        var t = a.stack.trim().match(/\n( *(at )?)/);
        Fn = t && t[1] || "";
        _f = a.stack.indexOf(`
    at`) > -1 ? " (<anonymous>)" : a.stack.indexOf("@") > -1 ? "@unknown:0:0" : "";
      }
    }
    return `
${Fn}${l}${_f}`;
  }
  var kn = false;
  function $n(l, t) {
    if (!l || kn) {
      return "";
    }
    kn = true;
    var a = Error.prepareStackTrace;
    Error.prepareStackTrace = undefined;
    try {
      var e = {
        DetermineComponentFrameRoot: function () {
          try {
            if (t) {
              function z() {
                throw Error();
              }
              Object.defineProperty(z.prototype, "props", {
                set: function () {
                  throw Error();
                }
              });
              if (typeof Reflect == "object" && Reflect.construct) {
                try {
                  Reflect.construct(z, []);
                } catch (g) {
                  var v = g;
                }
                Reflect.construct(l, [], z);
              } else {
                try {
                  z.call();
                } catch (g) {
                  v = g;
                }
                l.call(z.prototype);
              }
            } else {
              try {
                throw Error();
              } catch (g) {
                v = g;
              }
              if ((z = l()) && typeof z.catch == "function") {
                z.catch(function () {});
              }
            }
          } catch (g) {
            if (g && v && typeof g.stack == "string") {
              return [g.stack, v.stack];
            }
          }
          return [null, null];
        }
      };
      e.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot";
      var u = Object.getOwnPropertyDescriptor(e.DetermineComponentFrameRoot, "name");
      if (u && u.configurable) {
        Object.defineProperty(e.DetermineComponentFrameRoot, "name", {
          value: "DetermineComponentFrameRoot"
        });
      }
      var n = e.DetermineComponentFrameRoot();
      var i = n[0];
      var c = n[1];
      if (i && c) {
        var f = i.split(`
`);
        var y = c.split(`
`);
        for (u = e = 0; e < f.length && !f[e].includes("DetermineComponentFrameRoot");) {
          e++;
        }
        while (u < y.length && !y[u].includes("DetermineComponentFrameRoot")) {
          u++;
        }
        if (e === f.length || u === y.length) {
          e = f.length - 1;
          u = y.length - 1;
          while (e >= 1 && u >= 0 && f[e] !== y[u]) {
            u--;
          }
        }
        for (; e >= 1 && u >= 0; e--, u--) {
          if (f[e] !== y[u]) {
            if (e !== 1 || u !== 1) {
              do {
                e--;
                u--;
                if (u < 0 || f[e] !== y[u]) {
                  var b = `
${f[e].replace(" at new ", " at ")}`;
                  if (l.displayName && b.includes("<anonymous>")) {
                    b = b.replace("<anonymous>", l.displayName);
                  }
                  return b;
                }
              } while (e >= 1 && u >= 0);
            }
            break;
          }
        }
      }
    } finally {
      kn = false;
      Error.prepareStackTrace = a;
    }
    if (a = l ? l.displayName || l.name : "") {
      return ma(a);
    } else {
      return "";
    }
  }
  function Fm(l, t) {
    switch (l.tag) {
      case 26:
      case 27:
      case 5:
        return ma(l.type);
      case 16:
        return ma("Lazy");
      case 13:
        if (l.child !== t && t !== null) {
          return ma("Suspense Fallback");
        } else {
          return ma("Suspense");
        }
      case 19:
        return ma("SuspenseList");
      case 0:
      case 15:
        return $n(l.type, false);
      case 11:
        return $n(l.type.render, false);
      case 1:
        return $n(l.type, true);
      case 31:
        return ma("Activity");
      default:
        return "";
    }
  }
  function Of(l) {
    try {
      var t = "";
      var a = null;
      do {
        t += Fm(l, a);
        a = l;
        l = l.return;
      } while (l);
      return t;
    } catch (e) {
      return `
Error generating stack: ${e.message}
${e.stack}`;
    }
  }
  var In = Object.prototype.hasOwnProperty;
  var Pn = h.unstable_scheduleCallback;
  var li = h.unstable_cancelCallback;
  var km = h.unstable_shouldYield;
  var $m = h.unstable_requestPaint;
  var Bl = h.unstable_now;
  var Im = h.unstable_getCurrentPriorityLevel;
  var xf = h.unstable_ImmediatePriority;
  var Df = h.unstable_UserBlockingPriority;
  var Mu = h.unstable_NormalPriority;
  var Pm = h.unstable_LowPriority;
  var Uf = h.unstable_IdlePriority;
  var l0 = h.log;
  var t0 = h.unstable_setDisableYieldValue;
  var _e = null;
  var Yl = null;
  function Rt(l) {
    if (typeof l0 == "function") {
      t0(l);
    }
    if (Yl && typeof Yl.setStrictMode == "function") {
      try {
        Yl.setStrictMode(_e, l);
      } catch {}
    }
  }
  var Xl = Math.clz32 ? Math.clz32 : u0;
  var a0 = Math.log;
  var e0 = Math.LN2;
  function u0(l) {
    l >>>= 0;
    if (l === 0) {
      return 32;
    } else {
      return 31 - (a0(l) / e0 | 0) | 0;
    }
  }
  var _u = 256;
  var Ou = 262144;
  var xu = 4194304;
  function ya(l) {
    var t = l & 42;
    if (t !== 0) {
      return t;
    }
    switch (l & -l) {
      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 l & 261888;
      case 262144:
      case 524288:
      case 1048576:
      case 2097152:
        return l & 3932160;
      case 4194304:
      case 8388608:
      case 16777216:
      case 33554432:
        return l & 62914560;
      case 67108864:
        return 67108864;
      case 134217728:
        return 134217728;
      case 268435456:
        return 268435456;
      case 536870912:
        return 536870912;
      case 1073741824:
        return 0;
      default:
        return l;
    }
  }
  function Du(l, t, a) {
    var e = l.pendingLanes;
    if (e === 0) {
      return 0;
    }
    var u = 0;
    var n = l.suspendedLanes;
    var i = l.pingedLanes;
    l = l.warmLanes;
    var c = e & 134217727;
    if (c !== 0) {
      e = c & ~n;
      if (e !== 0) {
        u = ya(e);
      } else {
        i &= c;
        if (i !== 0) {
          u = ya(i);
        } else if (!a) {
          a = c & ~l;
          if (a !== 0) {
            u = ya(a);
          }
        }
      }
    } else {
      c = e & ~n;
      if (c !== 0) {
        u = ya(c);
      } else if (i !== 0) {
        u = ya(i);
      } else if (!a) {
        a = e & ~l;
        if (a !== 0) {
          u = ya(a);
        }
      }
    }
    if (u === 0) {
      return 0;
    } else if (t !== 0 && t !== u && (t & n) === 0 && (n = u & -u, a = t & -t, n >= a || n === 32 && (a & 4194048) !== 0)) {
      return t;
    } else {
      return u;
    }
  }
  function Oe(l, t) {
    return (l.pendingLanes & ~(l.suspendedLanes & ~l.pingedLanes) & t) === 0;
  }
  function n0(l, t) {
    switch (l) {
      case 1:
      case 2:
      case 4:
      case 8:
      case 64:
        return t + 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 t + 5000;
      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 Nf() {
    var l = xu;
    xu <<= 1;
    if ((xu & 62914560) === 0) {
      xu = 4194304;
    }
    return l;
  }
  function ti(l) {
    var t = [];
    for (var a = 0; a < 31; a++) {
      t.push(l);
    }
    return t;
  }
  function xe(l, t) {
    l.pendingLanes |= t;
    if (t !== 268435456) {
      l.suspendedLanes = 0;
      l.pingedLanes = 0;
      l.warmLanes = 0;
    }
  }
  function i0(l, t, a, e, u, n) {
    var i = l.pendingLanes;
    l.pendingLanes = a;
    l.suspendedLanes = 0;
    l.pingedLanes = 0;
    l.warmLanes = 0;
    l.expiredLanes &= a;
    l.entangledLanes &= a;
    l.errorRecoveryDisabledLanes &= a;
    l.shellSuspendCounter = 0;
    var c = l.entanglements;
    var f = l.expirationTimes;
    var y = l.hiddenUpdates;
    for (a = i & ~a; a > 0;) {
      var b = 31 - Xl(a);
      var z = 1 << b;
      c[b] = 0;
      f[b] = -1;
      var v = y[b];
      if (v !== null) {
        y[b] = null;
        b = 0;
        for (; b < v.length; b++) {
          var g = v[b];
          if (g !== null) {
            g.lane &= -536870913;
          }
        }
      }
      a &= ~z;
    }
    if (e !== 0) {
      Hf(l, e, 0);
    }
    if (n !== 0 && u === 0 && l.tag !== 0) {
      l.suspendedLanes |= n & ~(i & ~t);
    }
  }
  function Hf(l, t, a) {
    l.pendingLanes |= t;
    l.suspendedLanes &= ~t;
    var e = 31 - Xl(t);
    l.entangledLanes |= t;
    l.entanglements[e] = l.entanglements[e] | 1073741824 | a & 261930;
  }
  function Cf(l, t) {
    var a = l.entangledLanes |= t;
    for (l = l.entanglements; a;) {
      var e = 31 - Xl(a);
      var u = 1 << e;
      if (u & t | l[e] & t) {
        l[e] |= t;
      }
      a &= ~u;
    }
  }
  function jf(l, t) {
    var a = t & -t;
    a = (a & 42) !== 0 ? 1 : ai(a);
    if ((a & (l.suspendedLanes | t)) !== 0) {
      return 0;
    } else {
      return a;
    }
  }
  function ai(l) {
    switch (l) {
      case 2:
        l = 1;
        break;
      case 8:
        l = 4;
        break;
      case 32:
        l = 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:
        l = 128;
        break;
      case 268435456:
        l = 134217728;
        break;
      default:
        l = 0;
    }
    return l;
  }
  function ei(l) {
    l &= -l;
    if (l > 2) {
      if (l > 8) {
        if ((l & 134217727) !== 0) {
          return 32;
        } else {
          return 268435456;
        }
      } else {
        return 8;
      }
    } else {
      return 2;
    }
  }
  function qf() {
    var l = M.p;
    if (l !== 0) {
      return l;
    } else {
      l = window.event;
      if (l === undefined) {
        return 32;
      } else {
        return pm(l.type);
      }
    }
  }
  function Bf(l, t) {
    var a = M.p;
    try {
      M.p = l;
      return t();
    } finally {
      M.p = a;
    }
  }
  var Qt = Math.random().toString(36).slice(2);
  var pl = "__reactFiber$" + Qt;
  var xl = "__reactProps$" + Qt;
  var Xa = "__reactContainer$" + Qt;
  var ui = "__reactEvents$" + Qt;
  var c0 = "__reactListeners$" + Qt;
  var f0 = "__reactHandles$" + Qt;
  var Yf = "__reactResources$" + Qt;
  var De = "__reactMarker$" + Qt;
  function ni(l) {
    delete l[pl];
    delete l[xl];
    delete l[ui];
    delete l[c0];
    delete l[f0];
  }
  function Ga(l) {
    var t = l[pl];
    if (t) {
      return t;
    }
    for (var a = l.parentNode; a;) {
      if (t = a[Xa] || a[pl]) {
        a = t.alternate;
        if (t.child !== null || a !== null && a.child !== null) {
          for (l = nm(l); l !== null;) {
            if (a = l[pl]) {
              return a;
            }
            l = nm(l);
          }
        }
        return t;
      }
      l = a;
      a = l.parentNode;
    }
    return null;
  }
  function Ra(l) {
    if (l = l[pl] || l[Xa]) {
      var t = l.tag;
      if (t === 5 || t === 6 || t === 13 || t === 31 || t === 26 || t === 27 || t === 3) {
        return l;
      }
    }
    return null;
  }
  function Ue(l) {
    var t = l.tag;
    if (t === 5 || t === 26 || t === 27 || t === 6) {
      return l.stateNode;
    }
    throw Error(d(33));
  }
  function Qa(l) {
    var t = l[Yf];
    t ||= l[Yf] = {
      hoistableStyles: new Map(),
      hoistableScripts: new Map()
    };
    return t;
  }
  function rl(l) {
    l[De] = true;
  }
  var Xf = new Set();
  var Gf = {};
  function va(l, t) {
    Za(l, t);
    Za(l + "Capture", t);
  }
  function Za(l, t) {
    Gf[l] = t;
    l = 0;
    for (; l < t.length; l++) {
      Xf.add(t[l]);
    }
  }
  var s0 = 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]*$");
  var Rf = {};
  var Qf = {};
  function o0(l) {
    if (In.call(Qf, l)) {
      return true;
    } else if (In.call(Rf, l)) {
      return false;
    } else if (s0.test(l)) {
      return Qf[l] = true;
    } else {
      Rf[l] = true;
      return false;
    }
  }
  function Uu(l, t, a) {
    if (o0(t)) {
      if (a === null) {
        l.removeAttribute(t);
      } else {
        switch (typeof a) {
          case "undefined":
          case "function":
          case "symbol":
            l.removeAttribute(t);
            return;
          case "boolean":
            var e = t.toLowerCase().slice(0, 5);
            if (e !== "data-" && e !== "aria-") {
              l.removeAttribute(t);
              return;
            }
        }
        l.setAttribute(t, "" + a);
      }
    }
  }
  function Nu(l, t, a) {
    if (a === null) {
      l.removeAttribute(t);
    } else {
      switch (typeof a) {
        case "undefined":
        case "function":
        case "symbol":
        case "boolean":
          l.removeAttribute(t);
          return;
      }
      l.setAttribute(t, "" + a);
    }
  }
  function zt(l, t, a, e) {
    if (e === null) {
      l.removeAttribute(a);
    } else {
      switch (typeof e) {
        case "undefined":
        case "function":
        case "symbol":
        case "boolean":
          l.removeAttribute(a);
          return;
      }
      l.setAttributeNS(t, a, "" + e);
    }
  }
  function Fl(l) {
    switch (typeof l) {
      case "bigint":
      case "boolean":
      case "number":
      case "string":
      case "undefined":
        return l;
      case "object":
        return l;
      default:
        return "";
    }
  }
  function Zf(l) {
    var t = l.type;
    return (l = l.nodeName) && l.toLowerCase() === "input" && (t === "checkbox" || t === "radio");
  }
  function d0(l, t, a) {
    var e = Object.getOwnPropertyDescriptor(l.constructor.prototype, t);
    if (!l.hasOwnProperty(t) && typeof e !== "undefined" && typeof e.get == "function" && typeof e.set == "function") {
      var u = e.get;
      var n = e.set;
      Object.defineProperty(l, t, {
        configurable: true,
        get: function () {
          return u.call(this);
        },
        set: function (i) {
          a = "" + i;
          n.call(this, i);
        }
      });
      Object.defineProperty(l, t, {
        enumerable: e.enumerable
      });
      return {
        getValue: function () {
          return a;
        },
        setValue: function (i) {
          a = "" + i;
        },
        stopTracking: function () {
          l._valueTracker = null;
          delete l[t];
        }
      };
    }
  }
  function ii(l) {
    if (!l._valueTracker) {
      var t = Zf(l) ? "checked" : "value";
      l._valueTracker = d0(l, t, "" + l[t]);
    }
  }
  function Vf(l) {
    if (!l) {
      return false;
    }
    var t = l._valueTracker;
    if (!t) {
      return true;
    }
    var a = t.getValue();
    var e = "";
    if (l) {
      e = Zf(l) ? l.checked ? "true" : "false" : l.value;
    }
    l = e;
    if (l !== a) {
      t.setValue(l);
      return true;
    } else {
      return false;
    }
  }
  function Hu(l) {
    l = l || (typeof document !== "undefined" ? document : undefined);
    if (typeof l === "undefined") {
      return null;
    }
    try {
      return l.activeElement || l.body;
    } catch {
      return l.body;
    }
  }
  var m0 = /[\n"\\]/g;
  function kl(l) {
    return l.replace(m0, function (t) {
      return "\\" + t.charCodeAt(0).toString(16) + " ";
    });
  }
  function ci(l, t, a, e, u, n, i, c) {
    l.name = "";
    if (i != null && typeof i != "function" && typeof i != "symbol" && typeof i != "boolean") {
      l.type = i;
    } else {
      l.removeAttribute("type");
    }
    if (t != null) {
      if (i === "number") {
        if (t === 0 && l.value === "" || l.value != t) {
          l.value = "" + Fl(t);
        }
      } else if (l.value !== "" + Fl(t)) {
        l.value = "" + Fl(t);
      }
    } else if (i === "submit" || i === "reset") {
      l.removeAttribute("value");
    }
    if (t != null) {
      fi(l, i, Fl(t));
    } else if (a != null) {
      fi(l, i, Fl(a));
    } else if (e != null) {
      l.removeAttribute("value");
    }
    if (u == null && n != null) {
      l.defaultChecked = !!n;
    }
    if (u != null) {
      l.checked = u && typeof u != "function" && typeof u != "symbol";
    }
    if (c != null && typeof c != "function" && typeof c != "symbol" && typeof c != "boolean") {
      l.name = "" + Fl(c);
    } else {
      l.removeAttribute("name");
    }
  }
  function Lf(l, t, a, e, u, n, i, c) {
    if (n != null && typeof n != "function" && typeof n != "symbol" && typeof n != "boolean") {
      l.type = n;
    }
    if (t != null || a != null) {
      if ((n === "submit" || n === "reset") && t == null) {
        ii(l);
        return;
      }
      a = a != null ? "" + Fl(a) : "";
      t = t != null ? "" + Fl(t) : a;
      if (!c && t !== l.value) {
        l.value = t;
      }
      l.defaultValue = t;
    }
    e = e ?? u;
    e = typeof e != "function" && typeof e != "symbol" && !!e;
    l.checked = c ? l.checked : !!e;
    l.defaultChecked = !!e;
    if (i != null && typeof i != "function" && typeof i != "symbol" && typeof i != "boolean") {
      l.name = i;
    }
    ii(l);
  }
  function fi(l, t, a) {
    if ((t !== "number" || Hu(l.ownerDocument) !== l) && l.defaultValue !== "" + a) {
      l.defaultValue = "" + a;
    }
  }
  function Va(l, t, a, e) {
    l = l.options;
    if (t) {
      t = {};
      for (var u = 0; u < a.length; u++) {
        t["$" + a[u]] = true;
      }
      for (a = 0; a < l.length; a++) {
        u = t.hasOwnProperty("$" + l[a].value);
        if (l[a].selected !== u) {
          l[a].selected = u;
        }
        if (u && e) {
          l[a].defaultSelected = true;
        }
      }
    } else {
      a = "" + Fl(a);
      t = null;
      u = 0;
      for (; u < l.length; u++) {
        if (l[u].value === a) {
          l[u].selected = true;
          if (e) {
            l[u].defaultSelected = true;
          }
          return;
        }
        if (t === null && !l[u].disabled) {
          t = l[u];
        }
      }
      if (t !== null) {
        t.selected = true;
      }
    }
  }
  function Kf(l, t, a) {
    if (t != null && (t = "" + Fl(t), t !== l.value && (l.value = t), a == null)) {
      if (l.defaultValue !== t) {
        l.defaultValue = t;
      }
      return;
    }
    l.defaultValue = a != null ? "" + Fl(a) : "";
  }
  function Jf(l, t, a, e) {
    if (t == null) {
      if (e != null) {
        if (a != null) {
          throw Error(d(92));
        }
        if (rt(e)) {
          if (e.length > 1) {
            throw Error(d(93));
          }
          e = e[0];
        }
        a = e;
      }
      if (a == null) {
        a = "";
      }
      t = a;
    }
    a = Fl(t);
    l.defaultValue = a;
    e = l.textContent;
    if (e === a && e !== "" && e !== null) {
      l.value = e;
    }
    ii(l);
  }
  function La(l, t) {
    if (t) {
      var a = l.firstChild;
      if (a && a === l.lastChild && a.nodeType === 3) {
        a.nodeValue = t;
        return;
      }
    }
    l.textContent = t;
  }
  var y0 = 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 wf(l, t, a) {
    var e = t.indexOf("--") === 0;
    if (a == null || typeof a == "boolean" || a === "") {
      if (e) {
        l.setProperty(t, "");
      } else if (t === "float") {
        l.cssFloat = "";
      } else {
        l[t] = "";
      }
    } else if (e) {
      l.setProperty(t, a);
    } else if (typeof a != "number" || a === 0 || y0.has(t)) {
      if (t === "float") {
        l.cssFloat = a;
      } else {
        l[t] = ("" + a).trim();
      }
    } else {
      l[t] = a + "px";
    }
  }
  function Wf(l, t, a) {
    if (t != null && typeof t != "object") {
      throw Error(d(62));
    }
    l = l.style;
    if (a != null) {
      for (var e in a) {
        if (!!a.hasOwnProperty(e) && (t == null || !t.hasOwnProperty(e))) {
          if (e.indexOf("--") === 0) {
            l.setProperty(e, "");
          } else if (e === "float") {
            l.cssFloat = "";
          } else {
            l[e] = "";
          }
        }
      }
      for (var u in t) {
        e = t[u];
        if (t.hasOwnProperty(u) && a[u] !== e) {
          wf(l, u, e);
        }
      }
    } else {
      for (var n in t) {
        if (t.hasOwnProperty(n)) {
          wf(l, n, t[n]);
        }
      }
    }
  }
  function si(l) {
    if (l.indexOf("-") === -1) {
      return false;
    }
    switch (l) {
      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 v0 = 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"]]);
  var h0 = /^[\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 Cu(l) {
    if (h0.test("" + l)) {
      return "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')";
    } else {
      return l;
    }
  }
  function pt() {}
  var oi = null;
  function di(l) {
    l = l.target || l.srcElement || window;
    if (l.correspondingUseElement) {
      l = l.correspondingUseElement;
    }
    if (l.nodeType === 3) {
      return l.parentNode;
    } else {
      return l;
    }
  }
  var Ka = null;
  var Ja = null;
  function Ff(l) {
    var t = Ra(l);
    if (t && (l = t.stateNode)) {
      var a = l[xl] || null;
      l = t.stateNode;
      l: switch (t.type) {
        case "input":
          ci(l, a.value, a.defaultValue, a.defaultValue, a.checked, a.defaultChecked, a.type, a.name);
          t = a.name;
          if (a.type === "radio" && t != null) {
            for (a = l; a.parentNode;) {
              a = a.parentNode;
            }
            a = a.querySelectorAll("input[name=\"" + kl("" + t) + "\"][type=\"radio\"]");
            t = 0;
            for (; t < a.length; t++) {
              var e = a[t];
              if (e !== l && e.form === l.form) {
                var u = e[xl] || null;
                if (!u) {
                  throw Error(d(90));
                }
                ci(e, u.value, u.defaultValue, u.defaultValue, u.checked, u.defaultChecked, u.type, u.name);
              }
            }
            for (t = 0; t < a.length; t++) {
              e = a[t];
              if (e.form === l.form) {
                Vf(e);
              }
            }
          }
          break l;
        case "textarea":
          Kf(l, a.value, a.defaultValue);
          break l;
        case "select":
          t = a.value;
          if (t != null) {
            Va(l, !!a.multiple, t, false);
          }
      }
    }
  }
  var mi = false;
  function kf(l, t, a) {
    if (mi) {
      return l(t, a);
    }
    mi = true;
    try {
      var e = l(t);
      return e;
    } finally {
      mi = false;
      if ((Ka !== null || Ja !== null) && (pn(), Ka && (t = Ka, l = Ja, Ja = Ka = null, Ff(t), l))) {
        for (t = 0; t < l.length; t++) {
          Ff(l[t]);
        }
      }
    }
  }
  function Ne(l, t) {
    var a = l.stateNode;
    if (a === null) {
      return null;
    }
    var e = a[xl] || null;
    if (e === null) {
      return null;
    }
    a = e[t];
    l: switch (t) {
      case "onClick":
      case "onClickCapture":
      case "onDoubleClick":
      case "onDoubleClickCapture":
      case "onMouseDown":
      case "onMouseDownCapture":
      case "onMouseMove":
      case "onMouseMoveCapture":
      case "onMouseUp":
      case "onMouseUpCapture":
      case "onMouseEnter":
        if (!(e = !e.disabled)) {
          l = l.type;
          e = l !== "button" && l !== "input" && l !== "select" && l !== "textarea";
        }
        l = !e;
        break l;
      default:
        l = false;
    }
    if (l) {
      return null;
    }
    if (a && typeof a != "function") {
      throw Error(d(231, t, typeof a));
    }
    return a;
  }
  var At = typeof window !== "undefined" && typeof window.document !== "undefined" && typeof window.document.createElement !== "undefined";
  var yi = false;
  if (At) {
    try {
      var He = {};
      Object.defineProperty(He, "passive", {
        get: function () {
          yi = true;
        }
      });
      window.addEventListener("test", He, He);
      window.removeEventListener("test", He, He);
    } catch {
      yi = false;
    }
  }
  var Zt = null;
  var vi = null;
  var ju = null;
  function $f() {
    if (ju) {
      return ju;
    }
    var l;
    var t = vi;
    var a = t.length;
    var e;
    var u = "value" in Zt ? Zt.value : Zt.textContent;
    var n = u.length;
    for (l = 0; l < a && t[l] === u[l]; l++);
    var i = a - l;
    for (e = 1; e <= i && t[a - e] === u[n - e]; e++);
    return ju = u.slice(l, e > 1 ? 1 - e : undefined);
  }
  function qu(l) {
    var t = l.keyCode;
    if ("charCode" in l) {
      l = l.charCode;
      if (l === 0 && t === 13) {
        l = 13;
      }
    } else {
      l = t;
    }
    if (l === 10) {
      l = 13;
    }
    if (l >= 32 || l === 13) {
      return l;
    } else {
      return 0;
    }
  }
  function Bu() {
    return true;
  }
  function If() {
    return false;
  }
  function Dl(l) {
    function t(a, e, u, n, i) {
      this._reactName = a;
      this._targetInst = u;
      this.type = e;
      this.nativeEvent = n;
      this.target = i;
      this.currentTarget = null;
      for (var c in l) {
        if (l.hasOwnProperty(c)) {
          a = l[c];
          this[c] = a ? a(n) : n[c];
        }
      }
      this.isDefaultPrevented = n.defaultPrevented ?? n.returnValue === false ? Bu : If;
      this.isPropagationStopped = If;
      return this;
    }
    j(t.prototype, {
      preventDefault: function () {
        this.defaultPrevented = true;
        var a = this.nativeEvent;
        if (a) {
          if (a.preventDefault) {
            a.preventDefault();
          } else if (typeof a.returnValue != "unknown") {
            a.returnValue = false;
          }
          this.isDefaultPrevented = Bu;
        }
      },
      stopPropagation: function () {
        var a = this.nativeEvent;
        if (a) {
          if (a.stopPropagation) {
            a.stopPropagation();
          } else if (typeof a.cancelBubble != "unknown") {
            a.cancelBubble = true;
          }
          this.isPropagationStopped = Bu;
        }
      },
      persist: function () {},
      isPersistent: Bu
    });
    return t;
  }
  var ha = {
    eventPhase: 0,
    bubbles: 0,
    cancelable: 0,
    timeStamp: function (l) {
      return l.timeStamp || Date.now();
    },
    defaultPrevented: 0,
    isTrusted: 0
  };
  var Yu = Dl(ha);
  var Ce = j({}, ha, {
    view: 0,
    detail: 0
  });
  var g0 = Dl(Ce);
  var hi;
  var gi;
  var je;
  var Xu = j({}, Ce, {
    screenX: 0,
    screenY: 0,
    clientX: 0,
    clientY: 0,
    pageX: 0,
    pageY: 0,
    ctrlKey: 0,
    shiftKey: 0,
    altKey: 0,
    metaKey: 0,
    getModifierState: Si,
    button: 0,
    buttons: 0,
    relatedTarget: function (l) {
      if (l.relatedTarget === undefined) {
        if (l.fromElement === l.srcElement) {
          return l.toElement;
        } else {
          return l.fromElement;
        }
      } else {
        return l.relatedTarget;
      }
    },
    movementX: function (l) {
      if ("movementX" in l) {
        return l.movementX;
      } else {
        if (l !== je) {
          if (je && l.type === "mousemove") {
            hi = l.screenX - je.screenX;
            gi = l.screenY - je.screenY;
          } else {
            gi = hi = 0;
          }
          je = l;
        }
        return hi;
      }
    },
    movementY: function (l) {
      if ("movementY" in l) {
        return l.movementY;
      } else {
        return gi;
      }
    }
  });
  var Pf = Dl(Xu);
  var b0 = j({}, Xu, {
    dataTransfer: 0
  });
  var S0 = Dl(b0);
  var r0 = j({}, Ce, {
    relatedTarget: 0
  });
  var bi = Dl(r0);
  var z0 = j({}, ha, {
    animationName: 0,
    elapsedTime: 0,
    pseudoElement: 0
  });
  var p0 = Dl(z0);
  var A0 = j({}, ha, {
    clipboardData: function (l) {
      if ("clipboardData" in l) {
        return l.clipboardData;
      } else {
        return window.clipboardData;
      }
    }
  });
  var E0 = Dl(A0);
  var T0 = j({}, ha, {
    data: 0
  });
  var ls = Dl(T0);
  var M0 = {
    Esc: "Escape",
    Spacebar: " ",
    Left: "ArrowLeft",
    Up: "ArrowUp",
    Right: "ArrowRight",
    Down: "ArrowDown",
    Del: "Delete",
    Win: "OS",
    Menu: "ContextMenu",
    Apps: "ContextMenu",
    Scroll: "ScrollLock",
    MozPrintableKey: "Unidentified"
  };
  var _0 = {
    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"
  };
  var O0 = {
    Alt: "altKey",
    Control: "ctrlKey",
    Meta: "metaKey",
    Shift: "shiftKey"
  };
  function x0(l) {
    var t = this.nativeEvent;
    if (t.getModifierState) {
      return t.getModifierState(l);
    } else if (l = O0[l]) {
      return !!t[l];
    } else {
      return false;
    }
  }
  function Si() {
    return x0;
  }
  var D0 = j({}, Ce, {
    key: function (l) {
      if (l.key) {
        var t = M0[l.key] || l.key;
        if (t !== "Unidentified") {
          return t;
        }
      }
      if (l.type === "keypress") {
        l = qu(l);
        if (l === 13) {
          return "Enter";
        } else {
          return String.fromCharCode(l);
        }
      } else if (l.type === "keydown" || l.type === "keyup") {
        return _0[l.keyCode] || "Unidentified";
      } else {
        return "";
      }
    },
    code: 0,
    location: 0,
    ctrlKey: 0,
    shiftKey: 0,
    altKey: 0,
    metaKey: 0,
    repeat: 0,
    locale: 0,
    getModifierState: Si,
    charCode: function (l) {
      if (l.type === "keypress") {
        return qu(l);
      } else {
        return 0;
      }
    },
    keyCode: function (l) {
      if (l.type === "keydown" || l.type === "keyup") {
        return l.keyCode;
      } else {
        return 0;
      }
    },
    which: function (l) {
      if (l.type === "keypress") {
        return qu(l);
      } else if (l.type === "keydown" || l.type === "keyup") {
        return l.keyCode;
      } else {
        return 0;
      }
    }
  });
  var U0 = Dl(D0);
  var N0 = j({}, Xu, {
    pointerId: 0,
    width: 0,
    height: 0,
    pressure: 0,
    tangentialPressure: 0,
    tiltX: 0,
    tiltY: 0,
    twist: 0,
    pointerType: 0,
    isPrimary: 0
  });
  var ts = Dl(N0);
  var H0 = j({}, Ce, {
    touches: 0,
    targetTouches: 0,
    changedTouches: 0,
    altKey: 0,
    metaKey: 0,
    ctrlKey: 0,
    shiftKey: 0,
    getModifierState: Si
  });
  var C0 = Dl(H0);
  var j0 = j({}, ha, {
    propertyName: 0,
    elapsedTime: 0,
    pseudoElement: 0
  });
  var q0 = Dl(j0);
  var B0 = j({}, Xu, {
    deltaX: function (l) {
      if ("deltaX" in l) {
        return l.deltaX;
      } else if ("wheelDeltaX" in l) {
        return -l.wheelDeltaX;
      } else {
        return 0;
      }
    },
    deltaY: function (l) {
      if ("deltaY" in l) {
        return l.deltaY;
      } else if ("wheelDeltaY" in l) {
        return -l.wheelDeltaY;
      } else if ("wheelDelta" in l) {
        return -l.wheelDelta;
      } else {
        return 0;
      }
    },
    deltaZ: 0,
    deltaMode: 0
  });
  var Y0 = Dl(B0);
  var X0 = j({}, ha, {
    newState: 0,
    oldState: 0
  });
  var G0 = Dl(X0);
  var R0 = [9, 13, 27, 32];
  var ri = At && "CompositionEvent" in window;
  var qe = null;
  if (At && "documentMode" in document) {
    qe = document.documentMode;
  }
  var Q0 = At && "TextEvent" in window && !qe;
  var as = At && (!ri || qe && qe > 8 && qe <= 11);
  var es = " ";
  var us = false;
  function ns(l, t) {
    switch (l) {
      case "keyup":
        return R0.indexOf(t.keyCode) !== -1;
      case "keydown":
        return t.keyCode !== 229;
      case "keypress":
      case "mousedown":
      case "focusout":
        return true;
      default:
        return false;
    }
  }
  function is(l) {
    l = l.detail;
    if (typeof l == "object" && "data" in l) {
      return l.data;
    } else {
      return null;
    }
  }
  var wa = false;
  function Z0(l, t) {
    switch (l) {
      case "compositionend":
        return is(t);
      case "keypress":
        if (t.which !== 32) {
          return null;
        } else {
          us = true;
          return es;
        }
      case "textInput":
        l = t.data;
        if (l === es && us) {
          return null;
        } else {
          return l;
        }
      default:
        return null;
    }
  }
  function V0(l, t) {
    if (wa) {
      if (l === "compositionend" || !ri && ns(l, t)) {
        l = $f();
        ju = vi = Zt = null;
        wa = false;
        return l;
      } else {
        return null;
      }
    }
    switch (l) {
      case "paste":
        return null;
      case "keypress":
        if (!t.ctrlKey && !t.altKey && !t.metaKey || t.ctrlKey && t.altKey) {
          if (t.char && t.char.length > 1) {
            return t.char;
          }
          if (t.which) {
            return String.fromCharCode(t.which);
          }
        }
        return null;
      case "compositionend":
        if (as && t.locale !== "ko") {
          return null;
        } else {
          return t.data;
        }
      default:
        return null;
    }
  }
  var L0 = {
    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 cs(l) {
    var t = l && l.nodeName && l.nodeName.toLowerCase();
    if (t === "input") {
      return !!L0[l.type];
    } else {
      return t === "textarea";
    }
  }
  function fs(l, t, a, e) {
    if (Ka) {
      if (Ja) {
        Ja.push(e);
      } else {
        Ja = [e];
      }
    } else {
      Ka = e;
    }
    t = xn(t, "onChange");
    if (t.length > 0) {
      a = new Yu("onChange", "change", null, a, e);
      l.push({
        event: a,
        listeners: t
      });
    }
  }
  var Be = null;
  var Ye = null;
  function K0(l) {
    Kd(l, 0);
  }
  function Gu(l) {
    var t = Ue(l);
    if (Vf(t)) {
      return l;
    }
  }
  function ss(l, t) {
    if (l === "change") {
      return t;
    }
  }
  var os = false;
  if (At) {
    var zi;
    if (At) {
      var pi = "oninput" in document;
      if (!pi) {
        var ds = document.createElement("div");
        ds.setAttribute("oninput", "return;");
        pi = typeof ds.oninput == "function";
      }
      zi = pi;
    } else {
      zi = false;
    }
    os = zi && (!document.documentMode || document.documentMode > 9);
  }
  function ms() {
    if (Be) {
      Be.detachEvent("onpropertychange", ys);
      Ye = Be = null;
    }
  }
  function ys(l) {
    if (l.propertyName === "value" && Gu(Ye)) {
      var t = [];
      fs(t, Ye, l, di(l));
      kf(K0, t);
    }
  }
  function J0(l, t, a) {
    if (l === "focusin") {
      ms();
      Be = t;
      Ye = a;
      Be.attachEvent("onpropertychange", ys);
    } else if (l === "focusout") {
      ms();
    }
  }
  function w0(l) {
    if (l === "selectionchange" || l === "keyup" || l === "keydown") {
      return Gu(Ye);
    }
  }
  function W0(l, t) {
    if (l === "click") {
      return Gu(t);
    }
  }
  function F0(l, t) {
    if (l === "input" || l === "change") {
      return Gu(t);
    }
  }
  function k0(l, t) {
    return l === t && (l !== 0 || 1 / l === 1 / t) || l !== l && t !== t;
  }
  var Gl = typeof Object.is == "function" ? Object.is : k0;
  function Xe(l, t) {
    if (Gl(l, t)) {
      return true;
    }
    if (typeof l != "object" || l === null || typeof t != "object" || t === null) {
      return false;
    }
    var a = Object.keys(l);
    var e = Object.keys(t);
    if (a.length !== e.length) {
      return false;
    }
    for (e = 0; e < a.length; e++) {
      var u = a[e];
      if (!In.call(t, u) || !Gl(l[u], t[u])) {
        return false;
      }
    }
    return true;
  }
  function vs(l) {
    while (l && l.firstChild) {
      l = l.firstChild;
    }
    return l;
  }
  function hs(l, t) {
    var a = vs(l);
    l = 0;
    var e;
    for (; a;) {
      if (a.nodeType === 3) {
        e = l + a.textContent.length;
        if (l <= t && e >= t) {
          return {
            node: a,
            offset: t - l
          };
        }
        l = e;
      }
      l: {
        while (a) {
          if (a.nextSibling) {
            a = a.nextSibling;
            break l;
          }
          a = a.parentNode;
        }
        a = undefined;
      }
      a = vs(a);
    }
  }
  function gs(l, t) {
    if (l && t) {
      if (l === t) {
        return true;
      } else if (l && l.nodeType === 3) {
        return false;
      } else if (t && t.nodeType === 3) {
        return gs(l, t.parentNode);
      } else if ("contains" in l) {
        return l.contains(t);
      } else if (l.compareDocumentPosition) {
        return !!(l.compareDocumentPosition(t) & 16);
      } else {
        return false;
      }
    } else {
      return false;
    }
  }
  function bs(l) {
    l = l != null && l.ownerDocument != null && l.ownerDocument.defaultView != null ? l.ownerDocument.defaultView : window;
    for (var t = Hu(l.document); t instanceof l.HTMLIFrameElement;) {
      try {
        var a = typeof t.contentWindow.location.href == "string";
      } catch {
        a = false;
      }
      if (a) {
        l = t.contentWindow;
      } else {
        break;
      }
      t = Hu(l.document);
    }
    return t;
  }
  function Ai(l) {
    var t = l && l.nodeName && l.nodeName.toLowerCase();
    return t && (t === "input" && (l.type === "text" || l.type === "search" || l.type === "tel" || l.type === "url" || l.type === "password") || t === "textarea" || l.contentEditable === "true");
  }
  var $0 = At && "documentMode" in document && document.documentMode <= 11;
  var Wa = null;
  var Ei = null;
  var Ge = null;
  var Ti = false;
  function Ss(l, t, a) {
    var e = a.window === a ? a.document : a.nodeType === 9 ? a : a.ownerDocument;
    if (!Ti && Wa != null && Wa === Hu(e)) {
      e = Wa;
      if ("selectionStart" in e && Ai(e)) {
        e = {
          start: e.selectionStart,
          end: e.selectionEnd
        };
      } else {
        e = (e.ownerDocument && e.ownerDocument.defaultView || window).getSelection();
        e = {
          anchorNode: e.anchorNode,
          anchorOffset: e.anchorOffset,
          focusNode: e.focusNode,
          focusOffset: e.focusOffset
        };
      }
      if (!Ge || !Xe(Ge, e)) {
        Ge = e;
        e = xn(Ei, "onSelect");
        if (e.length > 0) {
          t = new Yu("onSelect", "select", null, t, a);
          l.push({
            event: t,
            listeners: e
          });
          t.target = Wa;
        }
      }
    }
  }
  function ga(l, t) {
    var a = {};
    a[l.toLowerCase()] = t.toLowerCase();
    a["Webkit" + l] = "webkit" + t;
    a["Moz" + l] = "moz" + t;
    return a;
  }
  var Fa = {
    animationend: ga("Animation", "AnimationEnd"),
    animationiteration: ga("Animation", "AnimationIteration"),
    animationstart: ga("Animation", "AnimationStart"),
    transitionrun: ga("Transition", "TransitionRun"),
    transitionstart: ga("Transition", "TransitionStart"),
    transitioncancel: ga("Transition", "TransitionCancel"),
    transitionend: ga("Transition", "TransitionEnd")
  };
  var Mi = {};
  var rs = {};
  if (At) {
    rs = document.createElement("div").style;
    if (!("AnimationEvent" in window)) {
      delete Fa.animationend.animation;
      delete Fa.animationiteration.animation;
      delete Fa.animationstart.animation;
    }
    if (!("TransitionEvent" in window)) {
      delete Fa.transitionend.transition;
    }
  }
  function ba(l) {
    if (Mi[l]) {
      return Mi[l];
    }
    if (!Fa[l]) {
      return l;
    }
    var t = Fa[l];
    var a;
    for (a in t) {
      if (t.hasOwnProperty(a) && a in rs) {
        return Mi[l] = t[a];
      }
    }
    return l;
  }
  var zs = ba("animationend");
  var ps = ba("animationiteration");
  var As = ba("animationstart");
  var I0 = ba("transitionrun");
  var P0 = ba("transitionstart");
  var ly = ba("transitioncancel");
  var Es = ba("transitionend");
  var Ts = new Map();
  var _i = "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(" ");
  _i.push("scrollEnd");
  function ct(l, t) {
    Ts.set(l, t);
    va(t, [l]);
  }
  var Ru = typeof reportError == "function" ? reportError : function (l) {
    if (typeof window == "object" && typeof window.ErrorEvent == "function") {
      var t = new window.ErrorEvent("error", {
        bubbles: true,
        cancelable: true,
        message: typeof l == "object" && l !== null && typeof l.message == "string" ? String(l.message) : String(l),
        error: l
      });
      if (!window.dispatchEvent(t)) {
        return;
      }
    } else if (typeof process == "object" && typeof process.emit == "function") {
      process.emit("uncaughtException", l);
      return;
    }
    console.error(l);
  };
  var $l = [];
  var ka = 0;
  var Oi = 0;
  function Qu() {
    for (var l = ka, t = Oi = ka = 0; t < l;) {
      var a = $l[t];
      $l[t++] = null;
      var e = $l[t];
      $l[t++] = null;
      var u = $l[t];
      $l[t++] = null;
      var n = $l[t];
      $l[t++] = null;
      if (e !== null && u !== null) {
        var i = e.pending;
        if (i === null) {
          u.next = u;
        } else {
          u.next = i.next;
          i.next = u;
        }
        e.pending = u;
      }
      if (n !== 0) {
        Ms(a, u, n);
      }
    }
  }
  function Zu(l, t, a, e) {
    $l[ka++] = l;
    $l[ka++] = t;
    $l[ka++] = a;
    $l[ka++] = e;
    Oi |= e;
    l.lanes |= e;
    l = l.alternate;
    if (l !== null) {
      l.lanes |= e;
    }
  }
  function xi(l, t, a, e) {
    Zu(l, t, a, e);
    return Vu(l);
  }
  function Sa(l, t) {
    Zu(l, null, null, t);
    return Vu(l);
  }
  function Ms(l, t, a) {
    l.lanes |= a;
    var e = l.alternate;
    if (e !== null) {
      e.lanes |= a;
    }
    var u = false;
    for (var n = l.return; n !== null;) {
      n.childLanes |= a;
      e = n.alternate;
      if (e !== null) {
        e.childLanes |= a;
      }
      if (n.tag === 22) {
        l = n.stateNode;
        if (l !== null && !(l._visibility & 1)) {
          u = true;
        }
      }
      l = n;
      n = n.return;
    }
    if (l.tag === 3) {
      n = l.stateNode;
      if (u && t !== null) {
        u = 31 - Xl(a);
        l = n.hiddenUpdates;
        e = l[u];
        if (e === null) {
          l[u] = [t];
        } else {
          e.push(t);
        }
        t.lane = a | 536870912;
      }
      return n;
    } else {
      return null;
    }
  }
  function Vu(l) {
    if (cu > 50) {
      cu = 0;
      Yc = null;
      throw Error(d(185));
    }
    for (var t = l.return; t !== null;) {
      l = t;
      t = l.return;
    }
    if (l.tag === 3) {
      return l.stateNode;
    } else {
      return null;
    }
  }
  var $a = {};
  function ty(l, t, a, e) {
    this.tag = l;
    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 = t;
    this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null;
    this.mode = e;
    this.subtreeFlags = this.flags = 0;
    this.deletions = null;
    this.childLanes = this.lanes = 0;
    this.alternate = null;
  }
  function Rl(l, t, a, e) {
    return new ty(l, t, a, e);
  }
  function Di(l) {
    l = l.prototype;
    return !!l && !!l.isReactComponent;
  }
  function Et(l, t) {
    var a = l.alternate;
    if (a === null) {
      a = Rl(l.tag, t, l.key, l.mode);
      a.elementType = l.elementType;
      a.type = l.type;
      a.stateNode = l.stateNode;
      a.alternate = l;
      l.alternate = a;
    } else {
      a.pendingProps = t;
      a.type = l.type;
      a.flags = 0;
      a.subtreeFlags = 0;
      a.deletions = null;
    }
    a.flags = l.flags & 65011712;
    a.childLanes = l.childLanes;
    a.lanes = l.lanes;
    a.child = l.child;
    a.memoizedProps = l.memoizedProps;
    a.memoizedState = l.memoizedState;
    a.updateQueue = l.updateQueue;
    t = l.dependencies;
    a.dependencies = t === null ? null : {
      lanes: t.lanes,
      firstContext: t.firstContext
    };
    a.sibling = l.sibling;
    a.index = l.index;
    a.ref = l.ref;
    a.refCleanup = l.refCleanup;
    return a;
  }
  function _s(l, t) {
    l.flags &= 65011714;
    var a = l.alternate;
    if (a === null) {
      l.childLanes = 0;
      l.lanes = t;
      l.child = null;
      l.subtreeFlags = 0;
      l.memoizedProps = null;
      l.memoizedState = null;
      l.updateQueue = null;
      l.dependencies = null;
      l.stateNode = null;
    } else {
      l.childLanes = a.childLanes;
      l.lanes = a.lanes;
      l.child = a.child;
      l.subtreeFlags = 0;
      l.deletions = null;
      l.memoizedProps = a.memoizedProps;
      l.memoizedState = a.memoizedState;
      l.updateQueue = a.updateQueue;
      l.type = a.type;
      t = a.dependencies;
      l.dependencies = t === null ? null : {
        lanes: t.lanes,
        firstContext: t.firstContext
      };
    }
    return l;
  }
  function Lu(l, t, a, e, u, n) {
    var i = 0;
    e = l;
    if (typeof l == "function") {
      if (Di(l)) {
        i = 1;
      }
    } else if (typeof l == "string") {
      i = iv(l, a, Sl.current) ? 26 : l === "html" || l === "head" || l === "body" ? 27 : 5;
    } else {
      l: switch (l) {
        case qa:
          l = Rl(31, a, t, u);
          l.elementType = qa;
          l.lanes = n;
          return l;
        case Jl:
          return ra(a.children, u, n, t);
        case Ca:
          i = 8;
          u |= 24;
          break;
        case ja:
          l = Rl(12, a, t, u | 2);
          l.elementType = ja;
          l.lanes = n;
          return l;
        case da:
          l = Rl(13, a, t, u);
          l.elementType = da;
          l.lanes = n;
          return l;
        case mt:
          l = Rl(19, a, t, u);
          l.elementType = mt;
          l.lanes = n;
          return l;
        default:
          if (typeof l == "object" && l !== null) {
            switch (l.$$typeof) {
              case wl:
                i = 10;
                break l;
              case Te:
                i = 9;
                break l;
              case Xt:
                i = 11;
                break l;
              case St:
                i = 14;
                break l;
              case it:
                i = 16;
                e = null;
                break l;
            }
          }
          i = 29;
          a = Error(d(130, l === null ? "null" : typeof l, ""));
          e = null;
      }
    }
    t = Rl(i, a, t, u);
    t.elementType = l;
    t.type = e;
    t.lanes = n;
    return t;
  }
  function ra(l, t, a, e) {
    l = Rl(7, l, e, t);
    l.lanes = a;
    return l;
  }
  function Ui(l, t, a) {
    l = Rl(6, l, null, t);
    l.lanes = a;
    return l;
  }
  function Os(l) {
    var t = Rl(18, null, null, 0);
    t.stateNode = l;
    return t;
  }
  function Ni(l, t, a) {
    t = Rl(4, l.children !== null ? l.children : [], l.key, t);
    t.lanes = a;
    t.stateNode = {
      containerInfo: l.containerInfo,
      pendingChildren: null,
      implementation: l.implementation
    };
    return t;
  }
  var xs = new WeakMap();
  function Il(l, t) {
    if (typeof l == "object" && l !== null) {
      var a = xs.get(l);
      if (a !== undefined) {
        return a;
      } else {
        t = {
          value: l,
          source: t,
          stack: Of(t)
        };
        xs.set(l, t);
        return t;
      }
    }
    return {
      value: l,
      source: t,
      stack: Of(t)
    };
  }
  var Ia = [];
  var Pa = 0;
  var Ku = null;
  var Re = 0;
  var Pl = [];
  var lt = 0;
  var Vt = null;
  var vt = 1;
  var ht = "";
  function Tt(l, t) {
    Ia[Pa++] = Re;
    Ia[Pa++] = Ku;
    Ku = l;
    Re = t;
  }
  function Ds(l, t, a) {
    Pl[lt++] = vt;
    Pl[lt++] = ht;
    Pl[lt++] = Vt;
    Vt = l;
    var e = vt;
    l = ht;
    var u = 32 - Xl(e) - 1;
    e &= ~(1 << u);
    a += 1;
    var n = 32 - Xl(t) + u;
    if (n > 30) {
      var i = u - u % 5;
      n = (e & (1 << i) - 1).toString(32);
      e >>= i;
      u -= i;
      vt = 1 << 32 - Xl(t) + u | a << u | e;
      ht = n + l;
    } else {
      vt = 1 << n | a << u | e;
      ht = l;
    }
  }
  function Hi(l) {
    if (l.return !== null) {
      Tt(l, 1);
      Ds(l, 1, 0);
    }
  }
  function Ci(l) {
    while (l === Ku) {
      Ku = Ia[--Pa];
      Ia[Pa] = null;
      Re = Ia[--Pa];
      Ia[Pa] = null;
    }
    while (l === Vt) {
      Vt = Pl[--lt];
      Pl[lt] = null;
      ht = Pl[--lt];
      Pl[lt] = null;
      vt = Pl[--lt];
      Pl[lt] = null;
    }
  }
  function Us(l, t) {
    Pl[lt++] = vt;
    Pl[lt++] = ht;
    Pl[lt++] = Vt;
    vt = t.id;
    ht = t.overflow;
    Vt = l;
  }
  var Al = null;
  var ul = null;
  var R = false;
  var Lt = null;
  var tt = false;
  var ji = Error(d(519));
  function Kt(l) {
    var t = Error(d(418, arguments.length > 1 && arguments[1] !== undefined && arguments[1] ? "text" : "HTML", ""));
    Qe(Il(t, l));
    throw ji;
  }
  function Ns(l) {
    var t = l.stateNode;
    var a = l.type;
    var e = l.memoizedProps;
    t[pl] = l;
    t[xl] = e;
    switch (a) {
      case "dialog":
        Y("cancel", t);
        Y("close", t);
        break;
      case "iframe":
      case "object":
      case "embed":
        Y("load", t);
        break;
      case "video":
      case "audio":
        for (a = 0; a < su.length; a++) {
          Y(su[a], t);
        }
        break;
      case "source":
        Y("error", t);
        break;
      case "img":
      case "image":
      case "link":
        Y("error", t);
        Y("load", t);
        break;
      case "details":
        Y("toggle", t);
        break;
      case "input":
        Y("invalid", t);
        Lf(t, e.value, e.defaultValue, e.checked, e.defaultChecked, e.type, e.name, true);
        break;
      case "select":
        Y("invalid", t);
        break;
      case "textarea":
        Y("invalid", t);
        Jf(t, e.value, e.defaultValue, e.children);
    }
    a = e.children;
    if (typeof a != "string" && typeof a != "number" && typeof a != "bigint" || t.textContent === "" + a || e.suppressHydrationWarning === true || Fd(t.textContent, a)) {
      if (e.popover != null) {
        Y("beforetoggle", t);
        Y("toggle", t);
      }
      if (e.onScroll != null) {
        Y("scroll", t);
      }
      if (e.onScrollEnd != null) {
        Y("scrollend", t);
      }
      if (e.onClick != null) {
        t.onclick = pt;
      }
      t = true;
    } else {
      t = false;
    }
    if (!t) {
      Kt(l, true);
    }
  }
  function Hs(l) {
    for (Al = l.return; Al;) {
      switch (Al.tag) {
        case 5:
        case 31:
        case 13:
          tt = false;
          return;
        case 27:
        case 3:
          tt = true;
          return;
        default:
          Al = Al.return;
      }
    }
  }
  function le(l) {
    if (l !== Al) {
      return false;
    }
    if (!R) {
      Hs(l);
      R = true;
      return false;
    }
    var t = l.tag;
    var a;
    if (a = t !== 3 && t !== 27) {
      if (a = t === 5) {
        a = l.type;
        a = a === "form" || a === "button" || Ic(l.type, l.memoizedProps);
      }
      a = !a;
    }
    if (a && ul) {
      Kt(l);
    }
    Hs(l);
    if (t === 13) {
      l = l.memoizedState;
      l = l !== null ? l.dehydrated : null;
      if (!l) {
        throw Error(d(317));
      }
      ul = um(l);
    } else if (t === 31) {
      l = l.memoizedState;
      l = l !== null ? l.dehydrated : null;
      if (!l) {
        throw Error(d(317));
      }
      ul = um(l);
    } else if (t === 27) {
      t = ul;
      if (na(l.type)) {
        l = ef;
        ef = null;
        ul = l;
      } else {
        ul = t;
      }
    } else {
      ul = Al ? et(l.stateNode.nextSibling) : null;
    }
    return true;
  }
  function za() {
    ul = Al = null;
    R = false;
  }
  function qi() {
    var l = Lt;
    if (l !== null) {
      if (Cl === null) {
        Cl = l;
      } else {
        Cl.push.apply(Cl, l);
      }
      Lt = null;
    }
    return l;
  }
  function Qe(l) {
    if (Lt === null) {
      Lt = [l];
    } else {
      Lt.push(l);
    }
  }
  var Bi = _l(null);
  var pa = null;
  var Mt = null;
  function Jt(l, t, a) {
    K(Bi, t._currentValue);
    t._currentValue = a;
  }
  function _t(l) {
    l._currentValue = Bi.current;
    cl(Bi);
  }
  function Yi(l, t, a) {
    while (l !== null) {
      var e = l.alternate;
      if ((l.childLanes & t) !== t) {
        l.childLanes |= t;
        if (e !== null) {
          e.childLanes |= t;
        }
      } else if (e !== null && (e.childLanes & t) !== t) {
        e.childLanes |= t;
      }
      if (l === a) {
        break;
      }
      l = l.return;
    }
  }
  function Xi(l, t, a, e) {
    var u = l.child;
    for (u !== null && (u.return = l); u !== null;) {
      var n = u.dependencies;
      if (n !== null) {
        var i = u.child;
        n = n.firstContext;
        l: while (n !== null) {
          var c = n;
          n = u;
          for (var f = 0; f < t.length; f++) {
            if (c.context === t[f]) {
              n.lanes |= a;
              c = n.alternate;
              if (c !== null) {
                c.lanes |= a;
              }
              Yi(n.return, a, l);
              if (!e) {
                i = null;
              }
              break l;
            }
          }
          n = c.next;
        }
      } else if (u.tag === 18) {
        i = u.return;
        if (i === null) {
          throw Error(d(341));
        }
        i.lanes |= a;
        n = i.alternate;
        if (n !== null) {
          n.lanes |= a;
        }
        Yi(i, a, l);
        i = null;
      } else {
        i = u.child;
      }
      if (i !== null) {
        i.return = u;
      } else {
        for (i = u; i !== null;) {
          if (i === l) {
            i = null;
            break;
          }
          u = i.sibling;
          if (u !== null) {
            u.return = i.return;
            i = u;
            break;
          }
          i = i.return;
        }
      }
      u = i;
    }
  }
  function te(l, t, a, e) {
    l = null;
    for (var u = t, n = false; u !== null;) {
      if (!n) {
        if ((u.flags & 524288) !== 0) {
          n = true;
        } else if ((u.flags & 262144) !== 0) {
          break;
        }
      }
      if (u.tag === 10) {
        var i = u.alternate;
        if (i === null) {
          throw Error(d(387));
        }
        i = i.memoizedProps;
        if (i !== null) {
          var c = u.type;
          if (!Gl(u.pendingProps.value, i.value)) {
            if (l !== null) {
              l.push(c);
            } else {
              l = [c];
            }
          }
        }
      } else if (u === Au.current) {
        i = u.alternate;
        if (i === null) {
          throw Error(d(387));
        }
        if (i.memoizedState.memoizedState !== u.memoizedState.memoizedState) {
          if (l !== null) {
            l.push(vu);
          } else {
            l = [vu];
          }
        }
      }
      u = u.return;
    }
    if (l !== null) {
      Xi(t, l, a, e);
    }
    t.flags |= 262144;
  }
  function Ju(l) {
    for (l = l.firstContext; l !== null;) {
      if (!Gl(l.context._currentValue, l.memoizedValue)) {
        return true;
      }
      l = l.next;
    }
    return false;
  }
  function Aa(l) {
    pa = l;
    Mt = null;
    l = l.dependencies;
    if (l !== null) {
      l.firstContext = null;
    }
  }
  function El(l) {
    return Cs(pa, l);
  }
  function wu(l, t) {
    if (pa === null) {
      Aa(l);
    }
    return Cs(l, t);
  }
  function Cs(l, t) {
    var a = t._currentValue;
    t = {
      context: t,
      memoizedValue: a,
      next: null
    };
    if (Mt === null) {
      if (l === null) {
        throw Error(d(308));
      }
      Mt = t;
      l.dependencies = {
        lanes: 0,
        firstContext: t
      };
      l.flags |= 524288;
    } else {
      Mt = Mt.next = t;
    }
    return a;
  }
  var ay = typeof AbortController !== "undefined" ? AbortController : function () {
    var l = [];
    var t = this.signal = {
      aborted: false,
      addEventListener: function (a, e) {
        l.push(e);
      }
    };
    this.abort = function () {
      t.aborted = true;
      l.forEach(function (a) {
        return a();
      });
    };
  };
  var ey = h.unstable_scheduleCallback;
  var uy = h.unstable_NormalPriority;
  var yl = {
    $$typeof: wl,
    Consumer: null,
    Provider: null,
    _currentValue: null,
    _currentValue2: null,
    _threadCount: 0
  };
  function Gi() {
    return {
      controller: new ay(),
      data: new Map(),
      refCount: 0
    };
  }
  function Ze(l) {
    l.refCount--;
    if (l.refCount === 0) {
      ey(uy, function () {
        l.controller.abort();
      });
    }
  }
  var Ve = null;
  var Ri = 0;
  var ae = 0;
  var ee = null;
  function ny(l, t) {
    if (Ve === null) {
      var a = Ve = [];
      Ri = 0;
      ae = Vc();
      ee = {
        status: "pending",
        value: undefined,
        then: function (e) {
          a.push(e);
        }
      };
    }
    Ri++;
    t.then(js, js);
    return t;
  }
  function js() {
    if (--Ri === 0 && Ve !== null) {
      if (ee !== null) {
        ee.status = "fulfilled";
      }
      var l = Ve;
      Ve = null;
      ae = 0;
      ee = null;
      for (var t = 0; t < l.length; t++) {
        (0, l[t])();
      }
    }
  }
  function iy(l, t) {
    var a = [];
    var e = {
      status: "pending",
      value: null,
      reason: null,
      then: function (u) {
        a.push(u);
      }
    };
    l.then(function () {
      e.status = "fulfilled";
      e.value = t;
      for (var u = 0; u < a.length; u++) {
        (0, a[u])(t);
      }
    }, function (u) {
      e.status = "rejected";
      e.reason = u;
      u = 0;
      for (; u < a.length; u++) {
        (0, a[u])(undefined);
      }
    });
    return e;
  }
  var qs = r.S;
  r.S = function (l, t) {
    rd = Bl();
    if (typeof t == "object" && t !== null && typeof t.then == "function") {
      ny(l, t);
    }
    if (qs !== null) {
      qs(l, t);
    }
  };
  var Ea = _l(null);
  function Qi() {
    var l = Ea.current;
    if (l !== null) {
      return l;
    } else {
      return tl.pooledCache;
    }
  }
  function Wu(l, t) {
    if (t === null) {
      K(Ea, Ea.current);
    } else {
      K(Ea, t.pool);
    }
  }
  function Bs() {
    var l = Qi();
    if (l === null) {
      return null;
    } else {
      return {
        parent: yl._currentValue,
        pool: l
      };
    }
  }
  var ue = Error(d(460));
  var Zi = Error(d(474));
  var Fu = Error(d(542));
  var ku = {
    then: function () {}
  };
  function Ys(l) {
    l = l.status;
    return l === "fulfilled" || l === "rejected";
  }
  function Xs(l, t, a) {
    a = l[a];
    if (a === undefined) {
      l.push(t);
    } else if (a !== t) {
      t.then(pt, pt);
      t = a;
    }
    switch (t.status) {
      case "fulfilled":
        return t.value;
      case "rejected":
        l = t.reason;
        Rs(l);
        throw l;
      default:
        if (typeof t.status == "string") {
          t.then(pt, pt);
        } else {
          l = tl;
          if (l !== null && l.shellSuspendCounter > 100) {
            throw Error(d(482));
          }
          l = t;
          l.status = "pending";
          l.then(function (e) {
            if (t.status === "pending") {
              var u = t;
              u.status = "fulfilled";
              u.value = e;
            }
          }, function (e) {
            if (t.status === "pending") {
              var u = t;
              u.status = "rejected";
              u.reason = e;
            }
          });
        }
        switch (t.status) {
          case "fulfilled":
            return t.value;
          case "rejected":
            l = t.reason;
            Rs(l);
            throw l;
        }
        Ma = t;
        throw ue;
    }
  }
  function Ta(l) {
    try {
      var t = l._init;
      return t(l._payload);
    } catch (a) {
      throw a !== null && typeof a == "object" && typeof a.then == "function" ? (Ma = a, ue) : a;
    }
  }
  var Ma = null;
  function Gs() {
    if (Ma === null) {
      throw Error(d(459));
    }
    var l = Ma;
    Ma = null;
    return l;
  }
  function Rs(l) {
    if (l === ue || l === Fu) {
      throw Error(d(483));
    }
  }
  var ne = null;
  var Le = 0;
  function $u(l) {
    var t = Le;
    Le += 1;
    if (ne === null) {
      ne = [];
    }
    return Xs(ne, l, t);
  }
  function Ke(l, t) {
    t = t.props.ref;
    l.ref = t !== undefined ? t : null;
  }
  function Iu(l, t) {
    throw t.$$typeof === ml ? Error(d(525)) : (l = Object.prototype.toString.call(t), Error(d(31, l === "[object Object]" ? "object with keys {" + Object.keys(t).join(", ") + "}" : l)));
  }
  function Qs(l) {
    function t(o, s) {
      if (l) {
        var m = o.deletions;
        if (m === null) {
          o.deletions = [s];
          o.flags |= 16;
        } else {
          m.push(s);
        }
      }
    }
    function a(o, s) {
      if (!l) {
        return null;
      }
      while (s !== null) {
        t(o, s);
        s = s.sibling;
      }
      return null;
    }
    function e(o) {
      var s = new Map();
      for (; o !== null;) {
        if (o.key !== null) {
          s.set(o.key, o);
        } else {
          s.set(o.index, o);
        }
        o = o.sibling;
      }
      return s;
    }
    function u(o, s) {
      o = Et(o, s);
      o.index = 0;
      o.sibling = null;
      return o;
    }
    function n(o, s, m) {
      o.index = m;
      if (l) {
        m = o.alternate;
        if (m !== null) {
          m = m.index;
          if (m < s) {
            o.flags |= 67108866;
            return s;
          } else {
            return m;
          }
        } else {
          o.flags |= 67108866;
          return s;
        }
      } else {
        o.flags |= 1048576;
        return s;
      }
    }
    function i(o) {
      if (l && o.alternate === null) {
        o.flags |= 67108866;
      }
      return o;
    }
    function c(o, s, m, S) {
      if (s === null || s.tag !== 6) {
        s = Ui(m, o.mode, S);
        s.return = o;
        return s;
      } else {
        s = u(s, m);
        s.return = o;
        return s;
      }
    }
    function f(o, s, m, S) {
      var D = m.type;
      if (D === Jl) {
        return b(o, s, m.props.children, S, m.key);
      } else if (s !== null && (s.elementType === D || typeof D == "object" && D !== null && D.$$typeof === it && Ta(D) === s.type)) {
        s = u(s, m.props);
        Ke(s, m);
        s.return = o;
        return s;
      } else {
        s = Lu(m.type, m.key, m.props, null, o.mode, S);
        Ke(s, m);
        s.return = o;
        return s;
      }
    }
    function y(o, s, m, S) {
      if (s === null || s.tag !== 4 || s.stateNode.containerInfo !== m.containerInfo || s.stateNode.implementation !== m.implementation) {
        s = Ni(m, o.mode, S);
        s.return = o;
        return s;
      } else {
        s = u(s, m.children || []);
        s.return = o;
        return s;
      }
    }
    function b(o, s, m, S, D) {
      if (s === null || s.tag !== 7) {
        s = ra(m, o.mode, S, D);
        s.return = o;
        return s;
      } else {
        s = u(s, m);
        s.return = o;
        return s;
      }
    }
    function z(o, s, m) {
      if (typeof s == "string" && s !== "" || typeof s == "number" || typeof s == "bigint") {
        s = Ui("" + s, o.mode, m);
        s.return = o;
        return s;
      }
      if (typeof s == "object" && s !== null) {
        switch (s.$$typeof) {
          case dt:
            m = Lu(s.type, s.key, s.props, null, o.mode, m);
            Ke(m, s);
            m.return = o;
            return m;
          case ql:
            s = Ni(s, o.mode, m);
            s.return = o;
            return s;
          case it:
            s = Ta(s);
            return z(o, s, m);
        }
        if (rt(s) || Wl(s)) {
          s = ra(s, o.mode, m, null);
          s.return = o;
          return s;
        }
        if (typeof s.then == "function") {
          return z(o, $u(s), m);
        }
        if (s.$$typeof === wl) {
          return z(o, wu(o, s), m);
        }
        Iu(o, s);
      }
      return null;
    }
    function v(o, s, m, S) {
      var D = s !== null ? s.key : null;
      if (typeof m == "string" && m !== "" || typeof m == "number" || typeof m == "bigint") {
        if (D !== null) {
          return null;
        } else {
          return c(o, s, "" + m, S);
        }
      }
      if (typeof m == "object" && m !== null) {
        switch (m.$$typeof) {
          case dt:
            if (m.key === D) {
              return f(o, s, m, S);
            } else {
              return null;
            }
          case ql:
            if (m.key === D) {
              return y(o, s, m, S);
            } else {
              return null;
            }
          case it:
            m = Ta(m);
            return v(o, s, m, S);
        }
        if (rt(m) || Wl(m)) {
          if (D !== null) {
            return null;
          } else {
            return b(o, s, m, S, null);
          }
        }
        if (typeof m.then == "function") {
          return v(o, s, $u(m), S);
        }
        if (m.$$typeof === wl) {
          return v(o, s, wu(o, m), S);
        }
        Iu(o, m);
      }
      return null;
    }
    function g(o, s, m, S, D) {
      if (typeof S == "string" && S !== "" || typeof S == "number" || typeof S == "bigint") {
        o = o.get(m) || null;
        return c(s, o, "" + S, D);
      }
      if (typeof S == "object" && S !== null) {
        switch (S.$$typeof) {
          case dt:
            o = o.get(S.key === null ? m : S.key) || null;
            return f(s, o, S, D);
          case ql:
            o = o.get(S.key === null ? m : S.key) || null;
            return y(s, o, S, D);
          case it:
            S = Ta(S);
            return g(o, s, m, S, D);
        }
        if (rt(S) || Wl(S)) {
          o = o.get(m) || null;
          return b(s, o, S, D, null);
        }
        if (typeof S.then == "function") {
          return g(o, s, m, $u(S), D);
        }
        if (S.$$typeof === wl) {
          return g(o, s, m, wu(s, S), D);
        }
        Iu(s, S);
      }
      return null;
    }
    function O(o, s, m, S) {
      var D = null;
      var Q = null;
      for (var x = s, q = s = 0, G = null; x !== null && q < m.length; q++) {
        if (x.index > q) {
          G = x;
          x = null;
        } else {
          G = x.sibling;
        }
        var Z = v(o, x, m[q], S);
        if (Z === null) {
          if (x === null) {
            x = G;
          }
          break;
        }
        if (l && x && Z.alternate === null) {
          t(o, x);
        }
        s = n(Z, s, q);
        if (Q === null) {
          D = Z;
        } else {
          Q.sibling = Z;
        }
        Q = Z;
        x = G;
      }
      if (q === m.length) {
        a(o, x);
        if (R) {
          Tt(o, q);
        }
        return D;
      }
      if (x === null) {
        for (; q < m.length; q++) {
          x = z(o, m[q], S);
          if (x !== null) {
            s = n(x, s, q);
            if (Q === null) {
              D = x;
            } else {
              Q.sibling = x;
            }
            Q = x;
          }
        }
        if (R) {
          Tt(o, q);
        }
        return D;
      }
      for (x = e(x); q < m.length; q++) {
        G = g(x, o, q, m[q], S);
        if (G !== null) {
          if (l && G.alternate !== null) {
            x.delete(G.key === null ? q : G.key);
          }
          s = n(G, s, q);
          if (Q === null) {
            D = G;
          } else {
            Q.sibling = G;
          }
          Q = G;
        }
      }
      if (l) {
        x.forEach(function (oa) {
          return t(o, oa);
        });
      }
      if (R) {
        Tt(o, q);
      }
      return D;
    }
    function U(o, s, m, S) {
      if (m == null) {
        throw Error(d(151));
      }
      var D = null;
      var Q = null;
      for (var x = s, q = s = 0, G = null, Z = m.next(); x !== null && !Z.done; q++, Z = m.next()) {
        if (x.index > q) {
          G = x;
          x = null;
        } else {
          G = x.sibling;
        }
        var oa = v(o, x, Z.value, S);
        if (oa === null) {
          if (x === null) {
            x = G;
          }
          break;
        }
        if (l && x && oa.alternate === null) {
          t(o, x);
        }
        s = n(oa, s, q);
        if (Q === null) {
          D = oa;
        } else {
          Q.sibling = oa;
        }
        Q = oa;
        x = G;
      }
      if (Z.done) {
        a(o, x);
        if (R) {
          Tt(o, q);
        }
        return D;
      }
      if (x === null) {
        for (; !Z.done; q++, Z = m.next()) {
          Z = z(o, Z.value, S);
          if (Z !== null) {
            s = n(Z, s, q);
            if (Q === null) {
              D = Z;
            } else {
              Q.sibling = Z;
            }
            Q = Z;
          }
        }
        if (R) {
          Tt(o, q);
        }
        return D;
      }
      for (x = e(x); !Z.done; q++, Z = m.next()) {
        Z = g(x, o, q, Z.value, S);
        if (Z !== null) {
          if (l && Z.alternate !== null) {
            x.delete(Z.key === null ? q : Z.key);
          }
          s = n(Z, s, q);
          if (Q === null) {
            D = Z;
          } else {
            Q.sibling = Z;
          }
          Q = Z;
        }
      }
      if (l) {
        x.forEach(function (bv) {
          return t(o, bv);
        });
      }
      if (R) {
        Tt(o, q);
      }
      return D;
    }
    function I(o, s, m, S) {
      if (typeof m == "object" && m !== null && m.type === Jl && m.key === null) {
        m = m.props.children;
      }
      if (typeof m == "object" && m !== null) {
        switch (m.$$typeof) {
          case dt:
            l: {
              var D = m.key;
              for (; s !== null;) {
                if (s.key === D) {
                  D = m.type;
                  if (D === Jl) {
                    if (s.tag === 7) {
                      a(o, s.sibling);
                      S = u(s, m.props.children);
                      S.return = o;
                      o = S;
                      break l;
                    }
                  } else if (s.elementType === D || typeof D == "object" && D !== null && D.$$typeof === it && Ta(D) === s.type) {
                    a(o, s.sibling);
                    S = u(s, m.props);
                    Ke(S, m);
                    S.return = o;
                    o = S;
                    break l;
                  }
                  a(o, s);
                  break;
                } else {
                  t(o, s);
                }
                s = s.sibling;
              }
              if (m.type === Jl) {
                S = ra(m.props.children, o.mode, S, m.key);
                S.return = o;
                o = S;
              } else {
                S = Lu(m.type, m.key, m.props, null, o.mode, S);
                Ke(S, m);
                S.return = o;
                o = S;
              }
            }
            return i(o);
          case ql:
            l: {
              for (D = m.key; s !== null;) {
                if (s.key === D) {
                  if (s.tag === 4 && s.stateNode.containerInfo === m.containerInfo && s.stateNode.implementation === m.implementation) {
                    a(o, s.sibling);
                    S = u(s, m.children || []);
                    S.return = o;
                    o = S;
                    break l;
                  } else {
                    a(o, s);
                    break;
                  }
                } else {
                  t(o, s);
                }
                s = s.sibling;
              }
              S = Ni(m, o.mode, S);
              S.return = o;
              o = S;
            }
            return i(o);
          case it:
            m = Ta(m);
            return I(o, s, m, S);
        }
        if (rt(m)) {
          return O(o, s, m, S);
        }
        if (Wl(m)) {
          D = Wl(m);
          if (typeof D != "function") {
            throw Error(d(150));
          }
          m = D.call(m);
          return U(o, s, m, S);
        }
        if (typeof m.then == "function") {
          return I(o, s, $u(m), S);
        }
        if (m.$$typeof === wl) {
          return I(o, s, wu(o, m), S);
        }
        Iu(o, m);
      }
      if (typeof m == "string" && m !== "" || typeof m == "number" || typeof m == "bigint") {
        m = "" + m;
        if (s !== null && s.tag === 6) {
          a(o, s.sibling);
          S = u(s, m);
          S.return = o;
          o = S;
        } else {
          a(o, s);
          S = Ui(m, o.mode, S);
          S.return = o;
          o = S;
        }
        return i(o);
      } else {
        return a(o, s);
      }
    }
    return function (o, s, m, S) {
      try {
        Le = 0;
        var D = I(o, s, m, S);
        ne = null;
        return D;
      } catch (x) {
        if (x === ue || x === Fu) {
          throw x;
        }
        var Q = Rl(29, x, null, o.mode);
        Q.lanes = S;
        Q.return = o;
        return Q;
      }
    };
  }
  var _a = Qs(true);
  var Zs = Qs(false);
  var wt = false;
  function Vi(l) {
    l.updateQueue = {
      baseState: l.memoizedState,
      firstBaseUpdate: null,
      lastBaseUpdate: null,
      shared: {
        pending: null,
        lanes: 0,
        hiddenCallbacks: null
      },
      callbacks: null
    };
  }
  function Li(l, t) {
    l = l.updateQueue;
    if (t.updateQueue === l) {
      t.updateQueue = {
        baseState: l.baseState,
        firstBaseUpdate: l.firstBaseUpdate,
        lastBaseUpdate: l.lastBaseUpdate,
        shared: l.shared,
        callbacks: null
      };
    }
  }
  function Wt(l) {
    return {
      lane: l,
      tag: 0,
      payload: null,
      callback: null,
      next: null
    };
  }
  function Ft(l, t, a) {
    var e = l.updateQueue;
    if (e === null) {
      return null;
    }
    e = e.shared;
    if ((V & 2) !== 0) {
      var u = e.pending;
      if (u === null) {
        t.next = t;
      } else {
        t.next = u.next;
        u.next = t;
      }
      e.pending = t;
      t = Vu(l);
      Ms(l, null, a);
      return t;
    }
    Zu(l, e, t, a);
    return Vu(l);
  }
  function Je(l, t, a) {
    t = t.updateQueue;
    if (t !== null && (t = t.shared, (a & 4194048) !== 0)) {
      var e = t.lanes;
      e &= l.pendingLanes;
      a |= e;
      t.lanes = a;
      Cf(l, a);
    }
  }
  function Ki(l, t) {
    var a = l.updateQueue;
    var e = l.alternate;
    if (e !== null && (e = e.updateQueue, a === e)) {
      var u = null;
      var n = null;
      a = a.firstBaseUpdate;
      if (a !== null) {
        do {
          var i = {
            lane: a.lane,
            tag: a.tag,
            payload: a.payload,
            callback: null,
            next: null
          };
          if (n === null) {
            u = n = i;
          } else {
            n = n.next = i;
          }
          a = a.next;
        } while (a !== null);
        if (n === null) {
          u = n = t;
        } else {
          n = n.next = t;
        }
      } else {
        u = n = t;
      }
      a = {
        baseState: e.baseState,
        firstBaseUpdate: u,
        lastBaseUpdate: n,
        shared: e.shared,
        callbacks: e.callbacks
      };
      l.updateQueue = a;
      return;
    }
    l = a.lastBaseUpdate;
    if (l === null) {
      a.firstBaseUpdate = t;
    } else {
      l.next = t;
    }
    a.lastBaseUpdate = t;
  }
  var Ji = false;
  function we() {
    if (Ji) {
      var l = ee;
      if (l !== null) {
        throw l;
      }
    }
  }
  function We(l, t, a, e) {
    Ji = false;
    var u = l.updateQueue;
    wt = false;
    var n = u.firstBaseUpdate;
    var i = u.lastBaseUpdate;
    var c = u.shared.pending;
    if (c !== null) {
      u.shared.pending = null;
      var f = c;
      var y = f.next;
      f.next = null;
      if (i === null) {
        n = y;
      } else {
        i.next = y;
      }
      i = f;
      var b = l.alternate;
      if (b !== null) {
        b = b.updateQueue;
        c = b.lastBaseUpdate;
        if (c !== i) {
          if (c === null) {
            b.firstBaseUpdate = y;
          } else {
            c.next = y;
          }
          b.lastBaseUpdate = f;
        }
      }
    }
    if (n !== null) {
      var z = u.baseState;
      i = 0;
      b = y = f = null;
      c = n;
      do {
        var v = c.lane & -536870913;
        var g = v !== c.lane;
        if (g ? (X & v) === v : (e & v) === v) {
          if (v !== 0 && v === ae) {
            Ji = true;
          }
          if (b !== null) {
            b = b.next = {
              lane: 0,
              tag: c.tag,
              payload: c.payload,
              callback: null,
              next: null
            };
          }
          l: {
            var O = l;
            var U = c;
            v = t;
            var I = a;
            switch (U.tag) {
              case 1:
                O = U.payload;
                if (typeof O == "function") {
                  z = O.call(I, z, v);
                  break l;
                }
                z = O;
                break l;
              case 3:
                O.flags = O.flags & -65537 | 128;
              case 0:
                O = U.payload;
                v = typeof O == "function" ? O.call(I, z, v) : O;
                if (v == null) {
                  break l;
                }
                z = j({}, z, v);
                break l;
              case 2:
                wt = true;
            }
          }
          v = c.callback;
          if (v !== null) {
            l.flags |= 64;
            if (g) {
              l.flags |= 8192;
            }
            g = u.callbacks;
            if (g === null) {
              u.callbacks = [v];
            } else {
              g.push(v);
            }
          }
        } else {
          g = {
            lane: v,
            tag: c.tag,
            payload: c.payload,
            callback: c.callback,
            next: null
          };
          if (b === null) {
            y = b = g;
            f = z;
          } else {
            b = b.next = g;
          }
          i |= v;
        }
        c = c.next;
        if (c === null) {
          c = u.shared.pending;
          if (c === null) {
            break;
          }
          g = c;
          c = g.next;
          g.next = null;
          u.lastBaseUpdate = g;
          u.shared.pending = null;
        }
      } while (true);
      if (b === null) {
        f = z;
      }
      u.baseState = f;
      u.firstBaseUpdate = y;
      u.lastBaseUpdate = b;
      if (n === null) {
        u.shared.lanes = 0;
      }
      la |= i;
      l.lanes = i;
      l.memoizedState = z;
    }
  }
  function Vs(l, t) {
    if (typeof l != "function") {
      throw Error(d(191, l));
    }
    l.call(t);
  }
  function Ls(l, t) {
    var a = l.callbacks;
    if (a !== null) {
      l.callbacks = null;
      l = 0;
      for (; l < a.length; l++) {
        Vs(a[l], t);
      }
    }
  }
  var ie = _l(null);
  var Pu = _l(0);
  function Ks(l, t) {
    l = qt;
    K(Pu, l);
    K(ie, t);
    qt = l | t.baseLanes;
  }
  function wi() {
    K(Pu, qt);
    K(ie, ie.current);
  }
  function Wi() {
    qt = Pu.current;
    cl(ie);
    cl(Pu);
  }
  var Ql = _l(null);
  var at = null;
  function kt(l) {
    var t = l.alternate;
    K(ol, ol.current & 1);
    K(Ql, l);
    if (at === null && (t === null || ie.current !== null || t.memoizedState !== null)) {
      at = l;
    }
  }
  function Fi(l) {
    K(ol, ol.current);
    K(Ql, l);
    if (at === null) {
      at = l;
    }
  }
  function Js(l) {
    if (l.tag === 22) {
      K(ol, ol.current);
      K(Ql, l);
      if (at === null) {
        at = l;
      }
    } else {
      $t();
    }
  }
  function $t() {
    K(ol, ol.current);
    K(Ql, Ql.current);
  }
  function Zl(l) {
    cl(Ql);
    if (at === l) {
      at = null;
    }
    cl(ol);
  }
  var ol = _l(0);
  function ln(l) {
    for (var t = l; t !== null;) {
      if (t.tag === 13) {
        var a = t.memoizedState;
        if (a !== null && (a = a.dehydrated, a === null || tf(a) || af(a))) {
          return t;
        }
      } else if (t.tag === 19 && (t.memoizedProps.revealOrder === "forwards" || t.memoizedProps.revealOrder === "backwards" || t.memoizedProps.revealOrder === "unstable_legacy-backwards" || t.memoizedProps.revealOrder === "together")) {
        if ((t.flags & 128) !== 0) {
          return t;
        }
      } else if (t.child !== null) {
        t.child.return = t;
        t = t.child;
        continue;
      }
      if (t === l) {
        break;
      }
      while (t.sibling === null) {
        if (t.return === null || t.return === l) {
          return null;
        }
        t = t.return;
      }
      t.sibling.return = t.return;
      t = t.sibling;
    }
    return null;
  }
  var Ot = 0;
  var C = null;
  var k = null;
  var vl = null;
  var tn = false;
  var ce = false;
  var Oa = false;
  var an = 0;
  var Fe = 0;
  var fe = null;
  var cy = 0;
  function fl() {
    throw Error(d(321));
  }
  function ki(l, t) {
    if (t === null) {
      return false;
    }
    for (var a = 0; a < t.length && a < l.length; a++) {
      if (!Gl(l[a], t[a])) {
        return false;
      }
    }
    return true;
  }
  function $i(l, t, a, e, u, n) {
    Ot = n;
    C = t;
    t.memoizedState = null;
    t.updateQueue = null;
    t.lanes = 0;
    r.H = l === null || l.memoizedState === null ? Uo : mc;
    Oa = false;
    n = a(e, u);
    Oa = false;
    if (ce) {
      n = Ws(t, a, e, u);
    }
    ws(l);
    return n;
  }
  function ws(l) {
    r.H = Ie;
    var t = k !== null && k.next !== null;
    Ot = 0;
    vl = k = C = null;
    tn = false;
    Fe = 0;
    fe = null;
    if (t) {
      throw Error(d(300));
    }
    if (l !== null && !hl) {
      l = l.dependencies;
      if (l !== null && Ju(l)) {
        hl = true;
      }
    }
  }
  function Ws(l, t, a, e) {
    C = l;
    var u = 0;
    do {
      if (ce) {
        fe = null;
      }
      Fe = 0;
      ce = false;
      if (u >= 25) {
        throw Error(d(301));
      }
      u += 1;
      vl = k = null;
      if (l.updateQueue != null) {
        var n = l.updateQueue;
        n.lastEffect = null;
        n.events = null;
        n.stores = null;
        if (n.memoCache != null) {
          n.memoCache.index = 0;
        }
      }
      r.H = No;
      n = t(a, e);
    } while (ce);
    return n;
  }
  function fy() {
    var l = r.H;
    var t = l.useState()[0];
    t = typeof t.then == "function" ? ke(t) : t;
    l = l.useState()[0];
    if ((k !== null ? k.memoizedState : null) !== l) {
      C.flags |= 1024;
    }
    return t;
  }
  function Ii() {
    var l = an !== 0;
    an = 0;
    return l;
  }
  function Pi(l, t, a) {
    t.updateQueue = l.updateQueue;
    t.flags &= -2053;
    l.lanes &= ~a;
  }
  function lc(l) {
    if (tn) {
      for (l = l.memoizedState; l !== null;) {
        var t = l.queue;
        if (t !== null) {
          t.pending = null;
        }
        l = l.next;
      }
      tn = false;
    }
    Ot = 0;
    vl = k = C = null;
    ce = false;
    Fe = an = 0;
    fe = null;
  }
  function Ol() {
    var l = {
      memoizedState: null,
      baseState: null,
      baseQueue: null,
      queue: null,
      next: null
    };
    if (vl === null) {
      C.memoizedState = vl = l;
    } else {
      vl = vl.next = l;
    }
    return vl;
  }
  function dl() {
    if (k === null) {
      var l = C.alternate;
      l = l !== null ? l.memoizedState : null;
    } else {
      l = k.next;
    }
    var t = vl === null ? C.memoizedState : vl.next;
    if (t !== null) {
      vl = t;
      k = l;
    } else {
      if (l === null) {
        throw C.alternate === null ? Error(d(467)) : Error(d(310));
      }
      k = l;
      l = {
        memoizedState: k.memoizedState,
        baseState: k.baseState,
        baseQueue: k.baseQueue,
        queue: k.queue,
        next: null
      };
      if (vl === null) {
        C.memoizedState = vl = l;
      } else {
        vl = vl.next = l;
      }
    }
    return vl;
  }
  function en() {
    return {
      lastEffect: null,
      events: null,
      stores: null,
      memoCache: null
    };
  }
  function ke(l) {
    var t = Fe;
    Fe += 1;
    if (fe === null) {
      fe = [];
    }
    l = Xs(fe, l, t);
    t = C;
    if ((vl === null ? t.memoizedState : vl.next) === null) {
      t = t.alternate;
      r.H = t === null || t.memoizedState === null ? Uo : mc;
    }
    return l;
  }
  function un(l) {
    if (l !== null && typeof l == "object") {
      if (typeof l.then == "function") {
        return ke(l);
      }
      if (l.$$typeof === wl) {
        return El(l);
      }
    }
    throw Error(d(438, String(l)));
  }
  function tc(l) {
    var t = null;
    var a = C.updateQueue;
    if (a !== null) {
      t = a.memoCache;
    }
    if (t == null) {
      var e = C.alternate;
      if (e !== null) {
        e = e.updateQueue;
        if (e !== null) {
          e = e.memoCache;
          if (e != null) {
            t = {
              data: e.data.map(function (u) {
                return u.slice();
              }),
              index: 0
            };
          }
        }
      }
    }
    if (t == null) {
      t = {
        data: [],
        index: 0
      };
    }
    if (a === null) {
      a = en();
      C.updateQueue = a;
    }
    a.memoCache = t;
    a = t.data[t.index];
    if (a === undefined) {
      a = t.data[t.index] = Array(l);
      e = 0;
      for (; e < l; e++) {
        a[e] = zu;
      }
    }
    t.index++;
    return a;
  }
  function xt(l, t) {
    if (typeof t == "function") {
      return t(l);
    } else {
      return t;
    }
  }
  function nn(l) {
    var t = dl();
    return ac(t, k, l);
  }
  function ac(l, t, a) {
    var e = l.queue;
    if (e === null) {
      throw Error(d(311));
    }
    e.lastRenderedReducer = a;
    var u = l.baseQueue;
    var n = e.pending;
    if (n !== null) {
      if (u !== null) {
        var i = u.next;
        u.next = n.next;
        n.next = i;
      }
      t.baseQueue = u = n;
      e.pending = null;
    }
    n = l.baseState;
    if (u === null) {
      l.memoizedState = n;
    } else {
      t = u.next;
      var c = i = null;
      var f = null;
      var y = t;
      var b = false;
      do {
        var z = y.lane & -536870913;
        if (z !== y.lane ? (X & z) === z : (Ot & z) === z) {
          var v = y.revertLane;
          if (v === 0) {
            if (f !== null) {
              f = f.next = {
                lane: 0,
                revertLane: 0,
                gesture: null,
                action: y.action,
                hasEagerState: y.hasEagerState,
                eagerState: y.eagerState,
                next: null
              };
            }
            if (z === ae) {
              b = true;
            }
          } else if ((Ot & v) === v) {
            y = y.next;
            if (v === ae) {
              b = true;
            }
            continue;
          } else {
            z = {
              lane: 0,
              revertLane: y.revertLane,
              gesture: null,
              action: y.action,
              hasEagerState: y.hasEagerState,
              eagerState: y.eagerState,
              next: null
            };
            if (f === null) {
              c = f = z;
              i = n;
            } else {
              f = f.next = z;
            }
            C.lanes |= v;
            la |= v;
          }
          z = y.action;
          if (Oa) {
            a(n, z);
          }
          n = y.hasEagerState ? y.eagerState : a(n, z);
        } else {
          v = {
            lane: z,
            revertLane: y.revertLane,
            gesture: y.gesture,
            action: y.action,
            hasEagerState: y.hasEagerState,
            eagerState: y.eagerState,
            next: null
          };
          if (f === null) {
            c = f = v;
            i = n;
          } else {
            f = f.next = v;
          }
          C.lanes |= z;
          la |= z;
        }
        y = y.next;
      } while (y !== null && y !== t);
      if (f === null) {
        i = n;
      } else {
        f.next = c;
      }
      if (!Gl(n, l.memoizedState) && (hl = true, b && (a = ee, a !== null))) {
        throw a;
      }
      l.memoizedState = n;
      l.baseState = i;
      l.baseQueue = f;
      e.lastRenderedState = n;
    }
    if (u === null) {
      e.lanes = 0;
    }
    return [l.memoizedState, e.dispatch];
  }
  function ec(l) {
    var t = dl();
    var a = t.queue;
    if (a === null) {
      throw Error(d(311));
    }
    a.lastRenderedReducer = l;
    var e = a.dispatch;
    var u = a.pending;
    var n = t.memoizedState;
    if (u !== null) {
      a.pending = null;
      var i = u = u.next;
      do {
        n = l(n, i.action);
        i = i.next;
      } while (i !== u);
      if (!Gl(n, t.memoizedState)) {
        hl = true;
      }
      t.memoizedState = n;
      if (t.baseQueue === null) {
        t.baseState = n;
      }
      a.lastRenderedState = n;
    }
    return [n, e];
  }
  function Fs(l, t, a) {
    var e = C;
    var u = dl();
    var n = R;
    if (n) {
      if (a === undefined) {
        throw Error(d(407));
      }
      a = a();
    } else {
      a = t();
    }
    var i = !Gl((k || u).memoizedState, a);
    if (i) {
      u.memoizedState = a;
      hl = true;
    }
    u = u.queue;
    ic(Is.bind(null, e, u, l), [l]);
    if (u.getSnapshot !== t || i || vl !== null && vl.memoizedState.tag & 1) {
      e.flags |= 2048;
      se(9, {
        destroy: undefined
      }, $s.bind(null, e, u, a, t), null);
      if (tl === null) {
        throw Error(d(349));
      }
      if (!n && (Ot & 127) === 0) {
        ks(e, t, a);
      }
    }
    return a;
  }
  function ks(l, t, a) {
    l.flags |= 16384;
    l = {
      getSnapshot: t,
      value: a
    };
    t = C.updateQueue;
    if (t === null) {
      t = en();
      C.updateQueue = t;
      t.stores = [l];
    } else {
      a = t.stores;
      if (a === null) {
        t.stores = [l];
      } else {
        a.push(l);
      }
    }
  }
  function $s(l, t, a, e) {
    t.value = a;
    t.getSnapshot = e;
    if (Ps(t)) {
      lo(l);
    }
  }
  function Is(l, t, a) {
    return a(function () {
      if (Ps(t)) {
        lo(l);
      }
    });
  }
  function Ps(l) {
    var t = l.getSnapshot;
    l = l.value;
    try {
      var a = t();
      return !Gl(l, a);
    } catch {
      return true;
    }
  }
  function lo(l) {
    var t = Sa(l, 2);
    if (t !== null) {
      jl(t, l, 2);
    }
  }
  function uc(l) {
    var t = Ol();
    if (typeof l == "function") {
      var a = l;
      l = a();
      if (Oa) {
        Rt(true);
        try {
          a();
        } finally {
          Rt(false);
        }
      }
    }
    t.memoizedState = t.baseState = l;
    t.queue = {
      pending: null,
      lanes: 0,
      dispatch: null,
      lastRenderedReducer: xt,
      lastRenderedState: l
    };
    return t;
  }
  function to(l, t, a, e) {
    l.baseState = a;
    return ac(l, k, typeof e == "function" ? e : xt);
  }
  function sy(l, t, a, e, u) {
    if (sn(l)) {
      throw Error(d(485));
    }
    l = t.action;
    if (l !== null) {
      var n = {
        payload: u,
        action: l,
        next: null,
        isTransition: true,
        status: "pending",
        value: null,
        reason: null,
        listeners: [],
        then: function (i) {
          n.listeners.push(i);
        }
      };
      if (r.T !== null) {
        a(true);
      } else {
        n.isTransition = false;
      }
      e(n);
      a = t.pending;
      if (a === null) {
        n.next = t.pending = n;
        ao(t, n);
      } else {
        n.next = a.next;
        t.pending = a.next = n;
      }
    }
  }
  function ao(l, t) {
    var a = t.action;
    var e = t.payload;
    var u = l.state;
    if (t.isTransition) {
      var n = r.T;
      var i = {};
      r.T = i;
      try {
        var c = a(u, e);
        var f = r.S;
        if (f !== null) {
          f(i, c);
        }
        eo(l, t, c);
      } catch (y) {
        nc(l, t, y);
      } finally {
        if (n !== null && i.types !== null) {
          n.types = i.types;
        }
        r.T = n;
      }
    } else {
      try {
        n = a(u, e);
        eo(l, t, n);
      } catch (y) {
        nc(l, t, y);
      }
    }
  }
  function eo(l, t, a) {
    if (a !== null && typeof a == "object" && typeof a.then == "function") {
      a.then(function (e) {
        uo(l, t, e);
      }, function (e) {
        return nc(l, t, e);
      });
    } else {
      uo(l, t, a);
    }
  }
  function uo(l, t, a) {
    t.status = "fulfilled";
    t.value = a;
    no(t);
    l.state = a;
    t = l.pending;
    if (t !== null) {
      a = t.next;
      if (a === t) {
        l.pending = null;
      } else {
        a = a.next;
        t.next = a;
        ao(l, a);
      }
    }
  }
  function nc(l, t, a) {
    var e = l.pending;
    l.pending = null;
    if (e !== null) {
      e = e.next;
      do {
        t.status = "rejected";
        t.reason = a;
        no(t);
        t = t.next;
      } while (t !== e);
    }
    l.action = null;
  }
  function no(l) {
    l = l.listeners;
    for (var t = 0; t < l.length; t++) {
      (0, l[t])();
    }
  }
  function io(l, t) {
    return t;
  }
  function co(l, t) {
    if (R) {
      var a = tl.formState;
      if (a !== null) {
        l: {
          var e = C;
          if (R) {
            if (ul) {
              t: {
                for (var u = ul, n = tt; u.nodeType !== 8;) {
                  if (!n) {
                    u = null;
                    break t;
                  }
                  u = et(u.nextSibling);
                  if (u === null) {
                    u = null;
                    break t;
                  }
                }
                n = u.data;
                u = n === "F!" || n === "F" ? u : null;
              }
              if (u) {
                ul = et(u.nextSibling);
                e = u.data === "F!";
                break l;
              }
            }
            Kt(e);
          }
          e = false;
        }
        if (e) {
          t = a[0];
        }
      }
    }
    a = Ol();
    a.memoizedState = a.baseState = t;
    e = {
      pending: null,
      lanes: 0,
      dispatch: null,
      lastRenderedReducer: io,
      lastRenderedState: t
    };
    a.queue = e;
    a = Oo.bind(null, C, e);
    e.dispatch = a;
    e = uc(false);
    n = dc.bind(null, C, false, e.queue);
    e = Ol();
    u = {
      state: t,
      dispatch: null,
      action: l,
      pending: null
    };
    e.queue = u;
    a = sy.bind(null, C, u, n, a);
    u.dispatch = a;
    e.memoizedState = l;
    return [t, a, false];
  }
  function fo(l) {
    var t = dl();
    return so(t, k, l);
  }
  function so(l, t, a) {
    t = ac(l, t, io)[0];
    l = nn(xt)[0];
    if (typeof t == "object" && t !== null && typeof t.then == "function") {
      try {
        var e = ke(t);
      } catch (i) {
        throw i === ue ? Fu : i;
      }
    } else {
      e = t;
    }
    t = dl();
    var u = t.queue;
    var n = u.dispatch;
    if (a !== t.memoizedState) {
      C.flags |= 2048;
      se(9, {
        destroy: undefined
      }, oy.bind(null, u, a), null);
    }
    return [e, n, l];
  }
  function oy(l, t) {
    l.action = t;
  }
  function oo(l) {
    var t = dl();
    var a = k;
    if (a !== null) {
      return so(t, a, l);
    }
    dl();
    t = t.memoizedState;
    a = dl();
    var e = a.queue.dispatch;
    a.memoizedState = l;
    return [t, e, false];
  }
  function se(l, t, a, e) {
    l = {
      tag: l,
      create: a,
      deps: e,
      inst: t,
      next: null
    };
    t = C.updateQueue;
    if (t === null) {
      t = en();
      C.updateQueue = t;
    }
    a = t.lastEffect;
    if (a === null) {
      t.lastEffect = l.next = l;
    } else {
      e = a.next;
      a.next = l;
      l.next = e;
      t.lastEffect = l;
    }
    return l;
  }
  function mo() {
    return dl().memoizedState;
  }
  function cn(l, t, a, e) {
    var u = Ol();
    C.flags |= l;
    u.memoizedState = se(t | 1, {
      destroy: undefined
    }, a, e === undefined ? null : e);
  }
  function fn(l, t, a, e) {
    var u = dl();
    e = e === undefined ? null : e;
    var n = u.memoizedState.inst;
    if (k !== null && e !== null && ki(e, k.memoizedState.deps)) {
      u.memoizedState = se(t, n, a, e);
    } else {
      C.flags |= l;
      u.memoizedState = se(t | 1, n, a, e);
    }
  }
  function yo(l, t) {
    cn(8390656, 8, l, t);
  }
  function ic(l, t) {
    fn(2048, 8, l, t);
  }
  function dy(l) {
    C.flags |= 4;
    var t = C.updateQueue;
    if (t === null) {
      t = en();
      C.updateQueue = t;
      t.events = [l];
    } else {
      var a = t.events;
      if (a === null) {
        t.events = [l];
      } else {
        a.push(l);
      }
    }
  }
  function vo(l) {
    var t = dl().memoizedState;
    dy({
      ref: t,
      nextImpl: l
    });
    return function () {
      if ((V & 2) !== 0) {
        throw Error(d(440));
      }
      return t.impl.apply(undefined, arguments);
    };
  }
  function ho(l, t) {
    return fn(4, 2, l, t);
  }
  function go(l, t) {
    return fn(4, 4, l, t);
  }
  function bo(l, t) {
    if (typeof t == "function") {
      l = l();
      var a = t(l);
      return function () {
        if (typeof a == "function") {
          a();
        } else {
          t(null);
        }
      };
    }
    if (t != null) {
      l = l();
      t.current = l;
      return function () {
        t.current = null;
      };
    }
  }
  function So(l, t, a) {
    a = a != null ? a.concat([l]) : null;
    fn(4, 4, bo.bind(null, t, l), a);
  }
  function cc() {}
  function ro(l, t) {
    var a = dl();
    t = t === undefined ? null : t;
    var e = a.memoizedState;
    if (t !== null && ki(t, e[1])) {
      return e[0];
    } else {
      a.memoizedState = [l, t];
      return l;
    }
  }
  function zo(l, t) {
    var a = dl();
    t = t === undefined ? null : t;
    var e = a.memoizedState;
    if (t !== null && ki(t, e[1])) {
      return e[0];
    }
    e = l();
    if (Oa) {
      Rt(true);
      try {
        l();
      } finally {
        Rt(false);
      }
    }
    a.memoizedState = [e, t];
    return e;
  }
  function fc(l, t, a) {
    if (a === undefined || (Ot & 1073741824) !== 0 && (X & 261930) === 0) {
      return l.memoizedState = t;
    } else {
      l.memoizedState = a;
      l = pd();
      C.lanes |= l;
      la |= l;
      return a;
    }
  }
  function po(l, t, a, e) {
    if (Gl(a, t)) {
      return a;
    } else if (ie.current !== null) {
      l = fc(l, a, e);
      if (!Gl(l, t)) {
        hl = true;
      }
      return l;
    } else if ((Ot & 42) === 0 || (Ot & 1073741824) !== 0 && (X & 261930) === 0) {
      hl = true;
      return l.memoizedState = a;
    } else {
      l = pd();
      C.lanes |= l;
      la |= l;
      return t;
    }
  }
  function Ao(l, t, a, e, u) {
    var n = M.p;
    M.p = n !== 0 && n < 8 ? n : 8;
    var i = r.T;
    var c = {};
    r.T = c;
    dc(l, false, t, a);
    try {
      var f = u();
      var y = r.S;
      if (y !== null) {
        y(c, f);
      }
      if (f !== null && typeof f == "object" && typeof f.then == "function") {
        var b = iy(f, e);
        $e(l, t, b, Kl(l));
      } else {
        $e(l, t, e, Kl(l));
      }
    } catch (z) {
      $e(l, t, {
        then: function () {},
        status: "rejected",
        reason: z
      }, Kl());
    } finally {
      M.p = n;
      if (i !== null && c.types !== null) {
        i.types = c.types;
      }
      r.T = i;
    }
  }
  function my() {}
  function sc(l, t, a, e) {
    if (l.tag !== 5) {
      throw Error(d(476));
    }
    var u = Eo(l).queue;
    Ao(l, u, t, H, a === null ? my : function () {
      To(l);
      return a(e);
    });
  }
  function Eo(l) {
    var t = l.memoizedState;
    if (t !== null) {
      return t;
    }
    t = {
      memoizedState: H,
      baseState: H,
      baseQueue: null,
      queue: {
        pending: null,
        lanes: 0,
        dispatch: null,
        lastRenderedReducer: xt,
        lastRenderedState: H
      },
      next: null
    };
    var a = {};
    t.next = {
      memoizedState: a,
      baseState: a,
      baseQueue: null,
      queue: {
        pending: null,
        lanes: 0,
        dispatch: null,
        lastRenderedReducer: xt,
        lastRenderedState: a
      },
      next: null
    };
    l.memoizedState = t;
    l = l.alternate;
    if (l !== null) {
      l.memoizedState = t;
    }
    return t;
  }
  function To(l) {
    var t = Eo(l);
    if (t.next === null) {
      t = l.alternate.memoizedState;
    }
    $e(l, t.next.queue, {}, Kl());
  }
  function oc() {
    return El(vu);
  }
  function Mo() {
    return dl().memoizedState;
  }
  function _o() {
    return dl().memoizedState;
  }
  function yy(l) {
    for (var t = l.return; t !== null;) {
      switch (t.tag) {
        case 24:
        case 3:
          var a = Kl();
          l = Wt(a);
          var e = Ft(t, l, a);
          if (e !== null) {
            jl(e, t, a);
            Je(e, t, a);
          }
          t = {
            cache: Gi()
          };
          l.payload = t;
          return;
      }
      t = t.return;
    }
  }
  function vy(l, t, a) {
    var e = Kl();
    a = {
      lane: e,
      revertLane: 0,
      gesture: null,
      action: a,
      hasEagerState: false,
      eagerState: null,
      next: null
    };
    if (sn(l)) {
      xo(t, a);
    } else {
      a = xi(l, t, a, e);
      if (a !== null) {
        jl(a, l, e);
        Do(a, t, e);
      }
    }
  }
  function Oo(l, t, a) {
    var e = Kl();
    $e(l, t, a, e);
  }
  function $e(l, t, a, e) {
    var u = {
      lane: e,
      revertLane: 0,
      gesture: null,
      action: a,
      hasEagerState: false,
      eagerState: null,
      next: null
    };
    if (sn(l)) {
      xo(t, u);
    } else {
      var n = l.alternate;
      if (l.lanes === 0 && (n === null || n.lanes === 0) && (n = t.lastRenderedReducer, n !== null)) {
        try {
          var i = t.lastRenderedState;
          var c = n(i, a);
          u.hasEagerState = true;
          u.eagerState = c;
          if (Gl(c, i)) {
            Zu(l, t, u, 0);
            if (tl === null) {
              Qu();
            }
            return false;
          }
        } catch {}
      }
      a = xi(l, t, u, e);
      if (a !== null) {
        jl(a, l, e);
        Do(a, t, e);
        return true;
      }
    }
    return false;
  }
  function dc(l, t, a, e) {
    e = {
      lane: 2,
      revertLane: Vc(),
      gesture: null,
      action: e,
      hasEagerState: false,
      eagerState: null,
      next: null
    };
    if (sn(l)) {
      if (t) {
        throw Error(d(479));
      }
    } else {
      t = xi(l, a, e, 2);
      if (t !== null) {
        jl(t, l, 2);
      }
    }
  }
  function sn(l) {
    var t = l.alternate;
    return l === C || t !== null && t === C;
  }
  function xo(l, t) {
    ce = tn = true;
    var a = l.pending;
    if (a === null) {
      t.next = t;
    } else {
      t.next = a.next;
      a.next = t;
    }
    l.pending = t;
  }
  function Do(l, t, a) {
    if ((a & 4194048) !== 0) {
      var e = t.lanes;
      e &= l.pendingLanes;
      a |= e;
      t.lanes = a;
      Cf(l, a);
    }
  }
  var Ie = {
    readContext: El,
    use: un,
    useCallback: fl,
    useContext: fl,
    useEffect: fl,
    useImperativeHandle: fl,
    useLayoutEffect: fl,
    useInsertionEffect: fl,
    useMemo: fl,
    useReducer: fl,
    useRef: fl,
    useState: fl,
    useDebugValue: fl,
    useDeferredValue: fl,
    useTransition: fl,
    useSyncExternalStore: fl,
    useId: fl,
    useHostTransitionStatus: fl,
    useFormState: fl,
    useActionState: fl,
    useOptimistic: fl,
    useMemoCache: fl,
    useCacheRefresh: fl
  };
  Ie.useEffectEvent = fl;
  var Uo = {
    readContext: El,
    use: un,
    useCallback: function (l, t) {
      Ol().memoizedState = [l, t === undefined ? null : t];
      return l;
    },
    useContext: El,
    useEffect: yo,
    useImperativeHandle: function (l, t, a) {
      a = a != null ? a.concat([l]) : null;
      cn(4194308, 4, bo.bind(null, t, l), a);
    },
    useLayoutEffect: function (l, t) {
      return cn(4194308, 4, l, t);
    },
    useInsertionEffect: function (l, t) {
      cn(4, 2, l, t);
    },
    useMemo: function (l, t) {
      var a = Ol();
      t = t === undefined ? null : t;
      var e = l();
      if (Oa) {
        Rt(true);
        try {
          l();
        } finally {
          Rt(false);
        }
      }
      a.memoizedState = [e, t];
      return e;
    },
    useReducer: function (l, t, a) {
      var e = Ol();
      if (a !== undefined) {
        var u = a(t);
        if (Oa) {
          Rt(true);
          try {
            a(t);
          } finally {
            Rt(false);
          }
        }
      } else {
        u = t;
      }
      e.memoizedState = e.baseState = u;
      l = {
        pending: null,
        lanes: 0,
        dispatch: null,
        lastRenderedReducer: l,
        lastRenderedState: u
      };
      e.queue = l;
      l = l.dispatch = vy.bind(null, C, l);
      return [e.memoizedState, l];
    },
    useRef: function (l) {
      var t = Ol();
      l = {
        current: l
      };
      return t.memoizedState = l;
    },
    useState: function (l) {
      l = uc(l);
      var t = l.queue;
      var a = Oo.bind(null, C, t);
      t.dispatch = a;
      return [l.memoizedState, a];
    },
    useDebugValue: cc,
    useDeferredValue: function (l, t) {
      var a = Ol();
      return fc(a, l, t);
    },
    useTransition: function () {
      var l = uc(false);
      l = Ao.bind(null, C, l.queue, true, false);
      Ol().memoizedState = l;
      return [false, l];
    },
    useSyncExternalStore: function (l, t, a) {
      var e = C;
      var u = Ol();
      if (R) {
        if (a === undefined) {
          throw Error(d(407));
        }
        a = a();
      } else {
        a = t();
        if (tl === null) {
          throw Error(d(349));
        }
        if ((X & 127) === 0) {
          ks(e, t, a);
        }
      }
      u.memoizedState = a;
      var n = {
        value: a,
        getSnapshot: t
      };
      u.queue = n;
      yo(Is.bind(null, e, n, l), [l]);
      e.flags |= 2048;
      se(9, {
        destroy: undefined
      }, $s.bind(null, e, n, a, t), null);
      return a;
    },
    useId: function () {
      var l = Ol();
      var t = tl.identifierPrefix;
      if (R) {
        var a = ht;
        var e = vt;
        a = (e & ~(1 << 32 - Xl(e) - 1)).toString(32) + a;
        t = "_" + t + "R_" + a;
        a = an++;
        if (a > 0) {
          t += "H" + a.toString(32);
        }
        t += "_";
      } else {
        a = cy++;
        t = "_" + t + "r_" + a.toString(32) + "_";
      }
      return l.memoizedState = t;
    },
    useHostTransitionStatus: oc,
    useFormState: co,
    useActionState: co,
    useOptimistic: function (l) {
      var t = Ol();
      t.memoizedState = t.baseState = l;
      var a = {
        pending: null,
        lanes: 0,
        dispatch: null,
        lastRenderedReducer: null,
        lastRenderedState: null
      };
      t.queue = a;
      t = dc.bind(null, C, true, a);
      a.dispatch = t;
      return [l, t];
    },
    useMemoCache: tc,
    useCacheRefresh: function () {
      return Ol().memoizedState = yy.bind(null, C);
    },
    useEffectEvent: function (l) {
      var t = Ol();
      var a = {
        impl: l
      };
      t.memoizedState = a;
      return function () {
        if ((V & 2) !== 0) {
          throw Error(d(440));
        }
        return a.impl.apply(undefined, arguments);
      };
    }
  };
  var mc = {
    readContext: El,
    use: un,
    useCallback: ro,
    useContext: El,
    useEffect: ic,
    useImperativeHandle: So,
    useInsertionEffect: ho,
    useLayoutEffect: go,
    useMemo: zo,
    useReducer: nn,
    useRef: mo,
    useState: function () {
      return nn(xt);
    },
    useDebugValue: cc,
    useDeferredValue: function (l, t) {
      var a = dl();
      return po(a, k.memoizedState, l, t);
    },
    useTransition: function () {
      var l = nn(xt)[0];
      var t = dl().memoizedState;
      return [typeof l == "boolean" ? l : ke(l), t];
    },
    useSyncExternalStore: Fs,
    useId: Mo,
    useHostTransitionStatus: oc,
    useFormState: fo,
    useActionState: fo,
    useOptimistic: function (l, t) {
      var a = dl();
      return to(a, k, l, t);
    },
    useMemoCache: tc,
    useCacheRefresh: _o
  };
  mc.useEffectEvent = vo;
  var No = {
    readContext: El,
    use: un,
    useCallback: ro,
    useContext: El,
    useEffect: ic,
    useImperativeHandle: So,
    useInsertionEffect: ho,
    useLayoutEffect: go,
    useMemo: zo,
    useReducer: ec,
    useRef: mo,
    useState: function () {
      return ec(xt);
    },
    useDebugValue: cc,
    useDeferredValue: function (l, t) {
      var a = dl();
      if (k === null) {
        return fc(a, l, t);
      } else {
        return po(a, k.memoizedState, l, t);
      }
    },
    useTransition: function () {
      var l = ec(xt)[0];
      var t = dl().memoizedState;
      return [typeof l == "boolean" ? l : ke(l), t];
    },
    useSyncExternalStore: Fs,
    useId: Mo,
    useHostTransitionStatus: oc,
    useFormState: oo,
    useActionState: oo,
    useOptimistic: function (l, t) {
      var a = dl();
      if (k !== null) {
        return to(a, k, l, t);
      } else {
        a.baseState = l;
        return [l, a.queue.dispatch];
      }
    },
    useMemoCache: tc,
    useCacheRefresh: _o
  };
  No.useEffectEvent = vo;
  function yc(l, t, a, e) {
    t = l.memoizedState;
    a = a(e, t);
    a = a == null ? t : j({}, t, a);
    l.memoizedState = a;
    if (l.lanes === 0) {
      l.updateQueue.baseState = a;
    }
  }
  var vc = {
    enqueueSetState: function (l, t, a) {
      l = l._reactInternals;
      var e = Kl();
      var u = Wt(e);
      u.payload = t;
      if (a != null) {
        u.callback = a;
      }
      t = Ft(l, u, e);
      if (t !== null) {
        jl(t, l, e);
        Je(t, l, e);
      }
    },
    enqueueReplaceState: function (l, t, a) {
      l = l._reactInternals;
      var e = Kl();
      var u = Wt(e);
      u.tag = 1;
      u.payload = t;
      if (a != null) {
        u.callback = a;
      }
      t = Ft(l, u, e);
      if (t !== null) {
        jl(t, l, e);
        Je(t, l, e);
      }
    },
    enqueueForceUpdate: function (l, t) {
      l = l._reactInternals;
      var a = Kl();
      var e = Wt(a);
      e.tag = 2;
      if (t != null) {
        e.callback = t;
      }
      t = Ft(l, e, a);
      if (t !== null) {
        jl(t, l, a);
        Je(t, l, a);
      }
    }
  };
  function Ho(l, t, a, e, u, n, i) {
    l = l.stateNode;
    if (typeof l.shouldComponentUpdate == "function") {
      return l.shouldComponentUpdate(e, n, i);
    } else if (t.prototype && t.prototype.isPureReactComponent) {
      return !Xe(a, e) || !Xe(u, n);
    } else {
      return true;
    }
  }
  function Co(l, t, a, e) {
    l = t.state;
    if (typeof t.componentWillReceiveProps == "function") {
      t.componentWillReceiveProps(a, e);
    }
    if (typeof t.UNSAFE_componentWillReceiveProps == "function") {
      t.UNSAFE_componentWillReceiveProps(a, e);
    }
    if (t.state !== l) {
      vc.enqueueReplaceState(t, t.state, null);
    }
  }
  function xa(l, t) {
    var a = t;
    if ("ref" in t) {
      a = {};
      for (var e in t) {
        if (e !== "ref") {
          a[e] = t[e];
        }
      }
    }
    if (l = l.defaultProps) {
      if (a === t) {
        a = j({}, a);
      }
      for (var u in l) {
        if (a[u] === undefined) {
          a[u] = l[u];
        }
      }
    }
    return a;
  }
  function jo(l) {
    Ru(l);
  }
  function qo(l) {
    console.error(l);
  }
  function Bo(l) {
    Ru(l);
  }
  function on(l, t) {
    try {
      var a = l.onUncaughtError;
      a(t.value, {
        componentStack: t.stack
      });
    } catch (e) {
      setTimeout(function () {
        throw e;
      });
    }
  }
  function Yo(l, t, a) {
    try {
      var e = l.onCaughtError;
      e(a.value, {
        componentStack: a.stack,
        errorBoundary: t.tag === 1 ? t.stateNode : null
      });
    } catch (u) {
      setTimeout(function () {
        throw u;
      });
    }
  }
  function hc(l, t, a) {
    a = Wt(a);
    a.tag = 3;
    a.payload = {
      element: null
    };
    a.callback = function () {
      on(l, t);
    };
    return a;
  }
  function Xo(l) {
    l = Wt(l);
    l.tag = 3;
    return l;
  }
  function Go(l, t, a, e) {
    var u = a.type.getDerivedStateFromError;
    if (typeof u == "function") {
      var n = e.value;
      l.payload = function () {
        return u(n);
      };
      l.callback = function () {
        Yo(t, a, e);
      };
    }
    var i = a.stateNode;
    if (i !== null && typeof i.componentDidCatch == "function") {
      l.callback = function () {
        Yo(t, a, e);
        if (typeof u != "function") {
          if (ta === null) {
            ta = new Set([this]);
          } else {
            ta.add(this);
          }
        }
        var c = e.stack;
        this.componentDidCatch(e.value, {
          componentStack: c !== null ? c : ""
        });
      };
    }
  }
  function hy(l, t, a, e, u) {
    a.flags |= 32768;
    if (e !== null && typeof e == "object" && typeof e.then == "function") {
      t = a.alternate;
      if (t !== null) {
        te(t, a, u, true);
      }
      a = Ql.current;
      if (a !== null) {
        switch (a.tag) {
          case 31:
          case 13:
            if (at === null) {
              An();
            } else if (a.alternate === null && sl === 0) {
              sl = 3;
            }
            a.flags &= -257;
            a.flags |= 65536;
            a.lanes = u;
            if (e === ku) {
              a.flags |= 16384;
            } else {
              t = a.updateQueue;
              if (t === null) {
                a.updateQueue = new Set([e]);
              } else {
                t.add(e);
              }
              Rc(l, e, u);
            }
            return false;
          case 22:
            a.flags |= 65536;
            if (e === ku) {
              a.flags |= 16384;
            } else {
              t = a.updateQueue;
              if (t === null) {
                t = {
                  transitions: null,
                  markerInstances: null,
                  retryQueue: new Set([e])
                };
                a.updateQueue = t;
              } else {
                a = t.retryQueue;
                if (a === null) {
                  t.retryQueue = new Set([e]);
                } else {
                  a.add(e);
                }
              }
              Rc(l, e, u);
            }
            return false;
        }
        throw Error(d(435, a.tag));
      }
      Rc(l, e, u);
      An();
      return false;
    }
    if (R) {
      t = Ql.current;
      if (t !== null) {
        if ((t.flags & 65536) === 0) {
          t.flags |= 256;
        }
        t.flags |= 65536;
        t.lanes = u;
        if (e !== ji) {
          l = Error(d(422), {
            cause: e
          });
          Qe(Il(l, a));
        }
      } else {
        if (e !== ji) {
          t = Error(d(423), {
            cause: e
          });
          Qe(Il(t, a));
        }
        l = l.current.alternate;
        l.flags |= 65536;
        u &= -u;
        l.lanes |= u;
        e = Il(e, a);
        u = hc(l.stateNode, e, u);
        Ki(l, u);
        if (sl !== 4) {
          sl = 2;
        }
      }
      return false;
    }
    var n = Error(d(520), {
      cause: e
    });
    n = Il(n, a);
    if (iu === null) {
      iu = [n];
    } else {
      iu.push(n);
    }
    if (sl !== 4) {
      sl = 2;
    }
    if (t === null) {
      return true;
    }
    e = Il(e, a);
    a = t;
    do {
      switch (a.tag) {
        case 3:
          a.flags |= 65536;
          l = u & -u;
          a.lanes |= l;
          l = hc(a.stateNode, e, l);
          Ki(a, l);
          return false;
        case 1:
          t = a.type;
          n = a.stateNode;
          if ((a.flags & 128) === 0 && (typeof t.getDerivedStateFromError == "function" || n !== null && typeof n.componentDidCatch == "function" && (ta === null || !ta.has(n)))) {
            a.flags |= 65536;
            u &= -u;
            a.lanes |= u;
            u = Xo(u);
            Go(u, l, a, e);
            Ki(a, u);
            return false;
          }
      }
      a = a.return;
    } while (a !== null);
    return false;
  }
  var gc = Error(d(461));
  var hl = false;
  function Tl(l, t, a, e) {
    t.child = l === null ? Zs(t, null, a, e) : _a(t, l.child, a, e);
  }
  function Ro(l, t, a, e, u) {
    a = a.render;
    var n = t.ref;
    if ("ref" in e) {
      var i = {};
      for (var c in e) {
        if (c !== "ref") {
          i[c] = e[c];
        }
      }
    } else {
      i = e;
    }
    Aa(t);
    e = $i(l, t, a, i, n, u);
    c = Ii();
    if (l !== null && !hl) {
      Pi(l, t, u);
      return Dt(l, t, u);
    } else {
      if (R && c) {
        Hi(t);
      }
      t.flags |= 1;
      Tl(l, t, e, u);
      return t.child;
    }
  }
  function Qo(l, t, a, e, u) {
    if (l === null) {
      var n = a.type;
      if (typeof n == "function" && !Di(n) && n.defaultProps === undefined && a.compare === null) {
        t.tag = 15;
        t.type = n;
        return Zo(l, t, n, e, u);
      } else {
        l = Lu(a.type, null, e, t, t.mode, u);
        l.ref = t.ref;
        l.return = t;
        return t.child = l;
      }
    }
    n = l.child;
    if (!Tc(l, u)) {
      var i = n.memoizedProps;
      a = a.compare;
      a = a !== null ? a : Xe;
      if (a(i, e) && l.ref === t.ref) {
        return Dt(l, t, u);
      }
    }
    t.flags |= 1;
    l = Et(n, e);
    l.ref = t.ref;
    l.return = t;
    return t.child = l;
  }
  function Zo(l, t, a, e, u) {
    if (l !== null) {
      var n = l.memoizedProps;
      if (Xe(n, e) && l.ref === t.ref) {
        hl = false;
        t.pendingProps = e = n;
        if (Tc(l, u)) {
          if ((l.flags & 131072) !== 0) {
            hl = true;
          }
        } else {
          t.lanes = l.lanes;
          return Dt(l, t, u);
        }
      }
    }
    return bc(l, t, a, e, u);
  }
  function Vo(l, t, a, e) {
    var u = e.children;
    var n = l !== null ? l.memoizedState : null;
    if (l === null && t.stateNode === null) {
      t.stateNode = {
        _visibility: 1,
        _pendingMarkers: null,
        _retryCache: null,
        _transitions: null
      };
    }
    if (e.mode === "hidden") {
      if ((t.flags & 128) !== 0) {
        n = n !== null ? n.baseLanes | a : a;
        if (l !== null) {
          e = t.child = l.child;
          u = 0;
          while (e !== null) {
            u = u | e.lanes | e.childLanes;
            e = e.sibling;
          }
          e = u & ~n;
        } else {
          e = 0;
          t.child = null;
        }
        return Lo(l, t, n, a, e);
      }
      if ((a & 536870912) !== 0) {
        t.memoizedState = {
          baseLanes: 0,
          cachePool: null
        };
        if (l !== null) {
          Wu(t, n !== null ? n.cachePool : null);
        }
        if (n !== null) {
          Ks(t, n);
        } else {
          wi();
        }
        Js(t);
      } else {
        e = t.lanes = 536870912;
        return Lo(l, t, n !== null ? n.baseLanes | a : a, a, e);
      }
    } else if (n !== null) {
      Wu(t, n.cachePool);
      Ks(t, n);
      $t();
      t.memoizedState = null;
    } else {
      if (l !== null) {
        Wu(t, null);
      }
      wi();
      $t();
    }
    Tl(l, t, u, a);
    return t.child;
  }
  function Pe(l, t) {
    if ((l === null || l.tag !== 22) && t.stateNode === null) {
      t.stateNode = {
        _visibility: 1,
        _pendingMarkers: null,
        _retryCache: null,
        _transitions: null
      };
    }
    return t.sibling;
  }
  function Lo(l, t, a, e, u) {
    var n = Qi();
    n = n === null ? null : {
      parent: yl._currentValue,
      pool: n
    };
    t.memoizedState = {
      baseLanes: a,
      cachePool: n
    };
    if (l !== null) {
      Wu(t, null);
    }
    wi();
    Js(t);
    if (l !== null) {
      te(l, t, e, true);
    }
    t.childLanes = u;
    return null;
  }
  function dn(l, t) {
    t = yn({
      mode: t.mode,
      children: t.children
    }, l.mode);
    t.ref = l.ref;
    l.child = t;
    t.return = l;
    return t;
  }
  function Ko(l, t, a) {
    _a(t, l.child, null, a);
    l = dn(t, t.pendingProps);
    l.flags |= 2;
    Zl(t);
    t.memoizedState = null;
    return l;
  }
  function gy(l, t, a) {
    var e = t.pendingProps;
    var u = (t.flags & 128) !== 0;
    t.flags &= -129;
    if (l === null) {
      if (R) {
        if (e.mode === "hidden") {
          l = dn(t, e);
          t.lanes = 536870912;
          return Pe(null, l);
        }
        Fi(t);
        if (l = ul) {
          l = em(l, tt);
          l = l !== null && l.data === "&" ? l : null;
          if (l !== null) {
            t.memoizedState = {
              dehydrated: l,
              treeContext: Vt !== null ? {
                id: vt,
                overflow: ht
              } : null,
              retryLane: 536870912,
              hydrationErrors: null
            };
            a = Os(l);
            a.return = t;
            t.child = a;
            Al = t;
            ul = null;
          }
        } else {
          l = null;
        }
        if (l === null) {
          throw Kt(t);
        }
        t.lanes = 536870912;
        return null;
      }
      return dn(t, e);
    }
    var n = l.memoizedState;
    if (n !== null) {
      var i = n.dehydrated;
      Fi(t);
      if (u) {
        if (t.flags & 256) {
          t.flags &= -257;
          t = Ko(l, t, a);
        } else if (t.memoizedState !== null) {
          t.child = l.child;
          t.flags |= 128;
          t = null;
        } else {
          throw Error(d(558));
        }
      } else {
        if (!hl) {
          te(l, t, a, false);
        }
        u = (a & l.childLanes) !== 0;
        if (hl || u) {
          e = tl;
          if (e !== null && (i = jf(e, a), i !== 0 && i !== n.retryLane)) {
            n.retryLane = i;
            Sa(l, i);
            jl(e, l, i);
            throw gc;
          }
          An();
          t = Ko(l, t, a);
        } else {
          l = n.treeContext;
          ul = et(i.nextSibling);
          Al = t;
          R = true;
          Lt = null;
          tt = false;
          if (l !== null) {
            Us(t, l);
          }
          t = dn(t, e);
          t.flags |= 4096;
        }
      }
      return t;
    }
    l = Et(l.child, {
      mode: e.mode,
      children: e.children
    });
    l.ref = t.ref;
    t.child = l;
    l.return = t;
    return l;
  }
  function mn(l, t) {
    var a = t.ref;
    if (a === null) {
      if (l !== null && l.ref !== null) {
        t.flags |= 4194816;
      }
    } else {
      if (typeof a != "function" && typeof a != "object") {
        throw Error(d(284));
      }
      if (l === null || l.ref !== a) {
        t.flags |= 4194816;
      }
    }
  }
  function bc(l, t, a, e, u) {
    Aa(t);
    a = $i(l, t, a, e, undefined, u);
    e = Ii();
    if (l !== null && !hl) {
      Pi(l, t, u);
      return Dt(l, t, u);
    } else {
      if (R && e) {
        Hi(t);
      }
      t.flags |= 1;
      Tl(l, t, a, u);
      return t.child;
    }
  }
  function Jo(l, t, a, e, u, n) {
    Aa(t);
    t.updateQueue = null;
    a = Ws(t, e, a, u);
    ws(l);
    e = Ii();
    if (l !== null && !hl) {
      Pi(l, t, n);
      return Dt(l, t, n);
    } else {
      if (R && e) {
        Hi(t);
      }
      t.flags |= 1;
      Tl(l, t, a, n);
      return t.child;
    }
  }
  function wo(l, t, a, e, u) {
    Aa(t);
    if (t.stateNode === null) {
      var n = $a;
      var i = a.contextType;
      if (typeof i == "object" && i !== null) {
        n = El(i);
      }
      n = new a(e, n);
      t.memoizedState = n.state ?? null;
      n.updater = vc;
      t.stateNode = n;
      n._reactInternals = t;
      n = t.stateNode;
      n.props = e;
      n.state = t.memoizedState;
      n.refs = {};
      Vi(t);
      i = a.contextType;
      n.context = typeof i == "object" && i !== null ? El(i) : $a;
      n.state = t.memoizedState;
      i = a.getDerivedStateFromProps;
      if (typeof i == "function") {
        yc(t, a, i, e);
        n.state = t.memoizedState;
      }
      if (typeof a.getDerivedStateFromProps != "function" && typeof n.getSnapshotBeforeUpdate != "function" && (typeof n.UNSAFE_componentWillMount == "function" || typeof n.componentWillMount == "function")) {
        i = n.state;
        if (typeof n.componentWillMount == "function") {
          n.componentWillMount();
        }
        if (typeof n.UNSAFE_componentWillMount == "function") {
          n.UNSAFE_componentWillMount();
        }
        if (i !== n.state) {
          vc.enqueueReplaceState(n, n.state, null);
        }
        We(t, e, n, u);
        we();
        n.state = t.memoizedState;
      }
      if (typeof n.componentDidMount == "function") {
        t.flags |= 4194308;
      }
      e = true;
    } else if (l === null) {
      n = t.stateNode;
      var c = t.memoizedProps;
      var f = xa(a, c);
      n.props = f;
      var y = n.context;
      var b = a.contextType;
      i = $a;
      if (typeof b == "object" && b !== null) {
        i = El(b);
      }
      var z = a.getDerivedStateFromProps;
      b = typeof z == "function" || typeof n.getSnapshotBeforeUpdate == "function";
      c = t.pendingProps !== c;
      if (!b && (typeof n.UNSAFE_componentWillReceiveProps == "function" || typeof n.componentWillReceiveProps == "function")) {
        if (c || y !== i) {
          Co(t, n, e, i);
        }
      }
      wt = false;
      var v = t.memoizedState;
      n.state = v;
      We(t, e, n, u);
      we();
      y = t.memoizedState;
      if (c || v !== y || wt) {
        if (typeof z == "function") {
          yc(t, a, z, e);
          y = t.memoizedState;
        }
        if (f = wt || Ho(t, a, f, e, v, y, i)) {
          if (!b && (typeof n.UNSAFE_componentWillMount == "function" || typeof n.componentWillMount == "function")) {
            if (typeof n.componentWillMount == "function") {
              n.componentWillMount();
            }
            if (typeof n.UNSAFE_componentWillMount == "function") {
              n.UNSAFE_componentWillMount();
            }
          }
          if (typeof n.componentDidMount == "function") {
            t.flags |= 4194308;
          }
        } else {
          if (typeof n.componentDidMount == "function") {
            t.flags |= 4194308;
          }
          t.memoizedProps = e;
          t.memoizedState = y;
        }
        n.props = e;
        n.state = y;
        n.context = i;
        e = f;
      } else {
        if (typeof n.componentDidMount == "function") {
          t.flags |= 4194308;
        }
        e = false;
      }
    } else {
      n = t.stateNode;
      Li(l, t);
      i = t.memoizedProps;
      b = xa(a, i);
      n.props = b;
      z = t.pendingProps;
      v = n.context;
      y = a.contextType;
      f = $a;
      if (typeof y == "object" && y !== null) {
        f = El(y);
      }
      c = a.getDerivedStateFromProps;
      if (!(y = typeof c == "function" || typeof n.getSnapshotBeforeUpdate == "function") && (typeof n.UNSAFE_componentWillReceiveProps == "function" || typeof n.componentWillReceiveProps == "function")) {
        if (i !== z || v !== f) {
          Co(t, n, e, f);
        }
      }
      wt = false;
      v = t.memoizedState;
      n.state = v;
      We(t, e, n, u);
      we();
      var g = t.memoizedState;
      if (i !== z || v !== g || wt || l !== null && l.dependencies !== null && Ju(l.dependencies)) {
        if (typeof c == "function") {
          yc(t, a, c, e);
          g = t.memoizedState;
        }
        if (b = wt || Ho(t, a, b, e, v, g, f) || l !== null && l.dependencies !== null && Ju(l.dependencies)) {
          if (!y && (typeof n.UNSAFE_componentWillUpdate == "function" || typeof n.componentWillUpdate == "function")) {
            if (typeof n.componentWillUpdate == "function") {
              n.componentWillUpdate(e, g, f);
            }
            if (typeof n.UNSAFE_componentWillUpdate == "function") {
              n.UNSAFE_componentWillUpdate(e, g, f);
            }
          }
          if (typeof n.componentDidUpdate == "function") {
            t.flags |= 4;
          }
          if (typeof n.getSnapshotBeforeUpdate == "function") {
            t.flags |= 1024;
          }
        } else {
          if (typeof n.componentDidUpdate == "function" && (i !== l.memoizedProps || v !== l.memoizedState)) {
            t.flags |= 4;
          }
          if (typeof n.getSnapshotBeforeUpdate == "function" && (i !== l.memoizedProps || v !== l.memoizedState)) {
            t.flags |= 1024;
          }
          t.memoizedProps = e;
          t.memoizedState = g;
        }
        n.props = e;
        n.state = g;
        n.context = f;
        e = b;
      } else {
        if (typeof n.componentDidUpdate == "function" && (i !== l.memoizedProps || v !== l.memoizedState)) {
          t.flags |= 4;
        }
        if (typeof n.getSnapshotBeforeUpdate == "function" && (i !== l.memoizedProps || v !== l.memoizedState)) {
          t.flags |= 1024;
        }
        e = false;
      }
    }
    n = e;
    mn(l, t);
    e = (t.flags & 128) !== 0;
    if (n || e) {
      n = t.stateNode;
      a = e && typeof a.getDerivedStateFromError != "function" ? null : n.render();
      t.flags |= 1;
      if (l !== null && e) {
        t.child = _a(t, l.child, null, u);
        t.child = _a(t, null, a, u);
      } else {
        Tl(l, t, a, u);
      }
      t.memoizedState = n.state;
      l = t.child;
    } else {
      l = Dt(l, t, u);
    }
    return l;
  }
  function Wo(l, t, a, e) {
    za();
    t.flags |= 256;
    Tl(l, t, a, e);
    return t.child;
  }
  var Sc = {
    dehydrated: null,
    treeContext: null,
    retryLane: 0,
    hydrationErrors: null
  };
  function rc(l) {
    return {
      baseLanes: l,
      cachePool: Bs()
    };
  }
  function zc(l, t, a) {
    l = l !== null ? l.childLanes & ~a : 0;
    if (t) {
      l |= Ll;
    }
    return l;
  }
  function Fo(l, t, a) {
    var e = t.pendingProps;
    var u = false;
    var n = (t.flags & 128) !== 0;
    var i;
    if (!(i = n)) {
      i = l !== null && l.memoizedState === null ? false : (ol.current & 2) !== 0;
    }
    if (i) {
      u = true;
      t.flags &= -129;
    }
    i = (t.flags & 32) !== 0;
    t.flags &= -33;
    if (l === null) {
      if (R) {
        if (u) {
          kt(t);
        } else {
          $t();
        }
        if (l = ul) {
          l = em(l, tt);
          l = l !== null && l.data !== "&" ? l : null;
          if (l !== null) {
            t.memoizedState = {
              dehydrated: l,
              treeContext: Vt !== null ? {
                id: vt,
                overflow: ht
              } : null,
              retryLane: 536870912,
              hydrationErrors: null
            };
            a = Os(l);
            a.return = t;
            t.child = a;
            Al = t;
            ul = null;
          }
        } else {
          l = null;
        }
        if (l === null) {
          throw Kt(t);
        }
        if (af(l)) {
          t.lanes = 32;
        } else {
          t.lanes = 536870912;
        }
        return null;
      }
      var c = e.children;
      e = e.fallback;
      if (u) {
        $t();
        u = t.mode;
        c = yn({
          mode: "hidden",
          children: c
        }, u);
        e = ra(e, u, a, null);
        c.return = t;
        e.return = t;
        c.sibling = e;
        t.child = c;
        e = t.child;
        e.memoizedState = rc(a);
        e.childLanes = zc(l, i, a);
        t.memoizedState = Sc;
        return Pe(null, e);
      } else {
        kt(t);
        return pc(t, c);
      }
    }
    var f = l.memoizedState;
    if (f !== null && (c = f.dehydrated, c !== null)) {
      if (n) {
        if (t.flags & 256) {
          kt(t);
          t.flags &= -257;
          t = Ac(l, t, a);
        } else if (t.memoizedState !== null) {
          $t();
          t.child = l.child;
          t.flags |= 128;
          t = null;
        } else {
          $t();
          c = e.fallback;
          u = t.mode;
          e = yn({
            mode: "visible",
            children: e.children
          }, u);
          c = ra(c, u, a, null);
          c.flags |= 2;
          e.return = t;
          c.return = t;
          e.sibling = c;
          t.child = e;
          _a(t, l.child, null, a);
          e = t.child;
          e.memoizedState = rc(a);
          e.childLanes = zc(l, i, a);
          t.memoizedState = Sc;
          t = Pe(null, e);
        }
      } else {
        kt(t);
        if (af(c)) {
          i = c.nextSibling && c.nextSibling.dataset;
          if (i) {
            var y = i.dgst;
          }
          i = y;
          e = Error(d(419));
          e.stack = "";
          e.digest = i;
          Qe({
            value: e,
            source: null,
            stack: null
          });
          t = Ac(l, t, a);
        } else {
          if (!hl) {
            te(l, t, a, false);
          }
          i = (a & l.childLanes) !== 0;
          if (hl || i) {
            i = tl;
            if (i !== null && (e = jf(i, a), e !== 0 && e !== f.retryLane)) {
              f.retryLane = e;
              Sa(l, e);
              jl(i, l, e);
              throw gc;
            }
            if (!tf(c)) {
              An();
            }
            t = Ac(l, t, a);
          } else if (tf(c)) {
            t.flags |= 192;
            t.child = l.child;
            t = null;
          } else {
            l = f.treeContext;
            ul = et(c.nextSibling);
            Al = t;
            R = true;
            Lt = null;
            tt = false;
            if (l !== null) {
              Us(t, l);
            }
            t = pc(t, e.children);
            t.flags |= 4096;
          }
        }
      }
      return t;
    }
    if (u) {
      $t();
      c = e.fallback;
      u = t.mode;
      f = l.child;
      y = f.sibling;
      e = Et(f, {
        mode: "hidden",
        children: e.children
      });
      e.subtreeFlags = f.subtreeFlags & 65011712;
      if (y !== null) {
        c = Et(y, c);
      } else {
        c = ra(c, u, a, null);
        c.flags |= 2;
      }
      c.return = t;
      e.return = t;
      e.sibling = c;
      t.child = e;
      Pe(null, e);
      e = t.child;
      c = l.child.memoizedState;
      if (c === null) {
        c = rc(a);
      } else {
        u = c.cachePool;
        if (u !== null) {
          f = yl._currentValue;
          u = u.parent !== f ? {
            parent: f,
            pool: f
          } : u;
        } else {
          u = Bs();
        }
        c = {
          baseLanes: c.baseLanes | a,
          cachePool: u
        };
      }
      e.memoizedState = c;
      e.childLanes = zc(l, i, a);
      t.memoizedState = Sc;
      return Pe(l.child, e);
    } else {
      kt(t);
      a = l.child;
      l = a.sibling;
      a = Et(a, {
        mode: "visible",
        children: e.children
      });
      a.return = t;
      a.sibling = null;
      if (l !== null) {
        i = t.deletions;
        if (i === null) {
          t.deletions = [l];
          t.flags |= 16;
        } else {
          i.push(l);
        }
      }
      t.child = a;
      t.memoizedState = null;
      return a;
    }
  }
  function pc(l, t) {
    t = yn({
      mode: "visible",
      children: t
    }, l.mode);
    t.return = l;
    return l.child = t;
  }
  function yn(l, t) {
    l = Rl(22, l, null, t);
    l.lanes = 0;
    return l;
  }
  function Ac(l, t, a) {
    _a(t, l.child, null, a);
    l = pc(t, t.pendingProps.children);
    l.flags |= 2;
    t.memoizedState = null;
    return l;
  }
  function ko(l, t, a) {
    l.lanes |= t;
    var e = l.alternate;
    if (e !== null) {
      e.lanes |= t;
    }
    Yi(l.return, t, a);
  }
  function Ec(l, t, a, e, u, n) {
    var i = l.memoizedState;
    if (i === null) {
      l.memoizedState = {
        isBackwards: t,
        rendering: null,
        renderingStartTime: 0,
        last: e,
        tail: a,
        tailMode: u,
        treeForkCount: n
      };
    } else {
      i.isBackwards = t;
      i.rendering = null;
      i.renderingStartTime = 0;
      i.last = e;
      i.tail = a;
      i.tailMode = u;
      i.treeForkCount = n;
    }
  }
  function $o(l, t, a) {
    var e = t.pendingProps;
    var u = e.revealOrder;
    var n = e.tail;
    e = e.children;
    var i = ol.current;
    var c = (i & 2) !== 0;
    if (c) {
      i = i & 1 | 2;
      t.flags |= 128;
    } else {
      i &= 1;
    }
    K(ol, i);
    Tl(l, t, e, a);
    e = R ? Re : 0;
    if (!c && l !== null && (l.flags & 128) !== 0) {
      l: for (l = t.child; l !== null;) {
        if (l.tag === 13) {
          if (l.memoizedState !== null) {
            ko(l, a, t);
          }
        } else if (l.tag === 19) {
          ko(l, a, t);
        } else if (l.child !== null) {
          l.child.return = l;
          l = l.child;
          continue;
        }
        if (l === t) {
          break l;
        }
        while (l.sibling === null) {
          if (l.return === null || l.return === t) {
            break l;
          }
          l = l.return;
        }
        l.sibling.return = l.return;
        l = l.sibling;
      }
    }
    switch (u) {
      case "forwards":
        a = t.child;
        u = null;
        while (a !== null) {
          l = a.alternate;
          if (l !== null && ln(l) === null) {
            u = a;
          }
          a = a.sibling;
        }
        a = u;
        if (a === null) {
          u = t.child;
          t.child = null;
        } else {
          u = a.sibling;
          a.sibling = null;
        }
        Ec(t, false, u, a, n, e);
        break;
      case "backwards":
      case "unstable_legacy-backwards":
        a = null;
        u = t.child;
        t.child = null;
        while (u !== null) {
          l = u.alternate;
          if (l !== null && ln(l) === null) {
            t.child = u;
            break;
          }
          l = u.sibling;
          u.sibling = a;
          a = u;
          u = l;
        }
        Ec(t, true, a, null, n, e);
        break;
      case "together":
        Ec(t, false, null, null, undefined, e);
        break;
      default:
        t.memoizedState = null;
    }
    return t.child;
  }
  function Dt(l, t, a) {
    if (l !== null) {
      t.dependencies = l.dependencies;
    }
    la |= t.lanes;
    if ((a & t.childLanes) === 0) {
      if (l !== null) {
        te(l, t, a, false);
        if ((a & t.childLanes) === 0) {
          return null;
        }
      } else {
        return null;
      }
    }
    if (l !== null && t.child !== l.child) {
      throw Error(d(153));
    }
    if (t.child !== null) {
      l = t.child;
      a = Et(l, l.pendingProps);
      t.child = a;
      a.return = t;
      while (l.sibling !== null) {
        l = l.sibling;
        a = a.sibling = Et(l, l.pendingProps);
        a.return = t;
      }
      a.sibling = null;
    }
    return t.child;
  }
  function Tc(l, t) {
    if ((l.lanes & t) !== 0) {
      return true;
    } else {
      l = l.dependencies;
      return l !== null && !!Ju(l);
    }
  }
  function by(l, t, a) {
    switch (t.tag) {
      case 3:
        Eu(t, t.stateNode.containerInfo);
        Jt(t, yl, l.memoizedState.cache);
        za();
        break;
      case 27:
      case 5:
        Wn(t);
        break;
      case 4:
        Eu(t, t.stateNode.containerInfo);
        break;
      case 10:
        Jt(t, t.type, t.memoizedProps.value);
        break;
      case 31:
        if (t.memoizedState !== null) {
          t.flags |= 128;
          Fi(t);
          return null;
        }
        break;
      case 13:
        var e = t.memoizedState;
        if (e !== null) {
          if (e.dehydrated !== null) {
            kt(t);
            t.flags |= 128;
            return null;
          } else if ((a & t.child.childLanes) !== 0) {
            return Fo(l, t, a);
          } else {
            kt(t);
            l = Dt(l, t, a);
            if (l !== null) {
              return l.sibling;
            } else {
              return null;
            }
          }
        }
        kt(t);
        break;
      case 19:
        var u = (l.flags & 128) !== 0;
        e = (a & t.childLanes) !== 0;
        if (!e) {
          te(l, t, a, false);
          e = (a & t.childLanes) !== 0;
        }
        if (u) {
          if (e) {
            return $o(l, t, a);
          }
          t.flags |= 128;
        }
        u = t.memoizedState;
        if (u !== null) {
          u.rendering = null;
          u.tail = null;
          u.lastEffect = null;
        }
        K(ol, ol.current);
        if (e) {
          break;
        }
        return null;
      case 22:
        t.lanes = 0;
        return Vo(l, t, a, t.pendingProps);
      case 24:
        Jt(t, yl, l.memoizedState.cache);
    }
    return Dt(l, t, a);
  }
  function Io(l, t, a) {
    if (l !== null) {
      if (l.memoizedProps !== t.pendingProps) {
        hl = true;
      } else {
        if (!Tc(l, a) && (t.flags & 128) === 0) {
          hl = false;
          return by(l, t, a);
        }
        hl = (l.flags & 131072) !== 0;
      }
    } else {
      hl = false;
      if (R && (t.flags & 1048576) !== 0) {
        Ds(t, Re, t.index);
      }
    }
    t.lanes = 0;
    switch (t.tag) {
      case 16:
        l: {
          var e = t.pendingProps;
          l = Ta(t.elementType);
          t.type = l;
          if (typeof l == "function") {
            if (Di(l)) {
              e = xa(l, e);
              t.tag = 1;
              t = wo(null, t, l, e, a);
            } else {
              t.tag = 0;
              t = bc(null, t, l, e, a);
            }
          } else {
            if (l != null) {
              var u = l.$$typeof;
              if (u === Xt) {
                t.tag = 11;
                t = Ro(null, t, l, e, a);
                break l;
              } else if (u === St) {
                t.tag = 14;
                t = Qo(null, t, l, e, a);
                break l;
              }
            }
            t = Me(l) || l;
            throw Error(d(306, t, ""));
          }
        }
        return t;
      case 0:
        return bc(l, t, t.type, t.pendingProps, a);
      case 1:
        e = t.type;
        u = xa(e, t.pendingProps);
        return wo(l, t, e, u, a);
      case 3:
        l: {
          Eu(t, t.stateNode.containerInfo);
          if (l === null) {
            throw Error(d(387));
          }
          e = t.pendingProps;
          var n = t.memoizedState;
          u = n.element;
          Li(l, t);
          We(t, e, null, a);
          var i = t.memoizedState;
          e = i.cache;
          Jt(t, yl, e);
          if (e !== n.cache) {
            Xi(t, [yl], a, true);
          }
          we();
          e = i.element;
          if (n.isDehydrated) {
            n = {
              element: e,
              isDehydrated: false,
              cache: i.cache
            };
            t.updateQueue.baseState = n;
            t.memoizedState = n;
            if (t.flags & 256) {
              t = Wo(l, t, e, a);
              break l;
            } else if (e !== u) {
              u = Il(Error(d(424)), t);
              Qe(u);
              t = Wo(l, t, e, a);
              break l;
            } else {
              l = t.stateNode.containerInfo;
              if (l.nodeType === 9) {
                l = l.body;
              } else {
                l = l.nodeName === "HTML" ? l.ownerDocument.body : l;
              }
              ul = et(l.firstChild);
              Al = t;
              R = true;
              Lt = null;
              tt = true;
              a = Zs(t, null, e, a);
              t.child = a;
              while (a) {
                a.flags = a.flags & -3 | 4096;
                a = a.sibling;
              }
            }
          } else {
            za();
            if (e === u) {
              t = Dt(l, t, a);
              break l;
            }
            Tl(l, t, e, a);
          }
          t = t.child;
        }
        return t;
      case 26:
        mn(l, t);
        if (l === null) {
          if (a = sm(t.type, null, t.pendingProps, null)) {
            t.memoizedState = a;
          } else if (!R) {
            a = t.type;
            l = t.pendingProps;
            e = Dn(Gt.current).createElement(a);
            e[pl] = t;
            e[xl] = l;
            Ml(e, a, l);
            rl(e);
            t.stateNode = e;
          }
        } else {
          t.memoizedState = sm(t.type, l.memoizedProps, t.pendingProps, l.memoizedState);
        }
        return null;
      case 27:
        Wn(t);
        if (l === null && R) {
          e = t.stateNode = im(t.type, t.pendingProps, Gt.current);
          Al = t;
          tt = true;
          u = ul;
          if (na(t.type)) {
            ef = u;
            ul = et(e.firstChild);
          } else {
            ul = u;
          }
        }
        Tl(l, t, t.pendingProps.children, a);
        mn(l, t);
        if (l === null) {
          t.flags |= 4194304;
        }
        return t.child;
      case 5:
        if (l === null && R) {
          if (u = e = ul) {
            e = wy(e, t.type, t.pendingProps, tt);
            if (e !== null) {
              t.stateNode = e;
              Al = t;
              ul = et(e.firstChild);
              tt = false;
              u = true;
            } else {
              u = false;
            }
          }
          if (!u) {
            Kt(t);
          }
        }
        Wn(t);
        u = t.type;
        n = t.pendingProps;
        i = l !== null ? l.memoizedProps : null;
        e = n.children;
        if (Ic(u, n)) {
          e = null;
        } else if (i !== null && Ic(u, i)) {
          t.flags |= 32;
        }
        if (t.memoizedState !== null) {
          u = $i(l, t, fy, null, null, a);
          vu._currentValue = u;
        }
        mn(l, t);
        Tl(l, t, e, a);
        return t.child;
      case 6:
        if (l === null && R) {
          if (l = a = ul) {
            a = Wy(a, t.pendingProps, tt);
            if (a !== null) {
              t.stateNode = a;
              Al = t;
              ul = null;
              l = true;
            } else {
              l = false;
            }
          }
          if (!l) {
            Kt(t);
          }
        }
        return null;
      case 13:
        return Fo(l, t, a);
      case 4:
        Eu(t, t.stateNode.containerInfo);
        e = t.pendingProps;
        if (l === null) {
          t.child = _a(t, null, e, a);
        } else {
          Tl(l, t, e, a);
        }
        return t.child;
      case 11:
        return Ro(l, t, t.type, t.pendingProps, a);
      case 7:
        Tl(l, t, t.pendingProps, a);
        return t.child;
      case 8:
        Tl(l, t, t.pendingProps.children, a);
        return t.child;
      case 12:
        Tl(l, t, t.pendingProps.children, a);
        return t.child;
      case 10:
        e = t.pendingProps;
        Jt(t, t.type, e.value);
        Tl(l, t, e.children, a);
        return t.child;
      case 9:
        u = t.type._context;
        e = t.pendingProps.children;
        Aa(t);
        u = El(u);
        e = e(u);
        t.flags |= 1;
        Tl(l, t, e, a);
        return t.child;
      case 14:
        return Qo(l, t, t.type, t.pendingProps, a);
      case 15:
        return Zo(l, t, t.type, t.pendingProps, a);
      case 19:
        return $o(l, t, a);
      case 31:
        return gy(l, t, a);
      case 22:
        return Vo(l, t, a, t.pendingProps);
      case 24:
        Aa(t);
        e = El(yl);
        if (l === null) {
          u = Qi();
          if (u === null) {
            u = tl;
            n = Gi();
            u.pooledCache = n;
            n.refCount++;
            if (n !== null) {
              u.pooledCacheLanes |= a;
            }
            u = n;
          }
          t.memoizedState = {
            parent: e,
            cache: u
          };
          Vi(t);
          Jt(t, yl, u);
        } else {
          if ((l.lanes & a) !== 0) {
            Li(l, t);
            We(t, null, null, a);
            we();
          }
          u = l.memoizedState;
          n = t.memoizedState;
          if (u.parent !== e) {
            u = {
              parent: e,
              cache: e
            };
            t.memoizedState = u;
            if (t.lanes === 0) {
              t.memoizedState = t.updateQueue.baseState = u;
            }
            Jt(t, yl, e);
          } else {
            e = n.cache;
            Jt(t, yl, e);
            if (e !== u.cache) {
              Xi(t, [yl], a, true);
            }
          }
        }
        Tl(l, t, t.pendingProps.children, a);
        return t.child;
      case 29:
        throw t.pendingProps;
    }
    throw Error(d(156, t.tag));
  }
  function Ut(l) {
    l.flags |= 4;
  }
  function Mc(l, t, a, e, u) {
    if (t = (l.mode & 32) !== 0) {
      t = false;
    }
    if (t) {
      l.flags |= 16777216;
      if ((u & 335544128) === u) {
        if (l.stateNode.complete) {
          l.flags |= 8192;
        } else if (Md()) {
          l.flags |= 8192;
        } else {
          Ma = ku;
          throw Zi;
        }
      }
    } else {
      l.flags &= -16777217;
    }
  }
  function Po(l, t) {
    if (t.type !== "stylesheet" || (t.state.loading & 4) !== 0) {
      l.flags &= -16777217;
    } else {
      l.flags |= 16777216;
      if (!vm(t)) {
        if (Md()) {
          l.flags |= 8192;
        } else {
          Ma = ku;
          throw Zi;
        }
      }
    }
  }
  function vn(l, t) {
    if (t !== null) {
      l.flags |= 4;
    }
    if (l.flags & 16384) {
      t = l.tag !== 22 ? Nf() : 536870912;
      l.lanes |= t;
      ye |= t;
    }
  }
  function lu(l, t) {
    if (!R) {
      switch (l.tailMode) {
        case "hidden":
          t = l.tail;
          var a = null;
          for (; t !== null;) {
            if (t.alternate !== null) {
              a = t;
            }
            t = t.sibling;
          }
          if (a === null) {
            l.tail = null;
          } else {
            a.sibling = null;
          }
          break;
        case "collapsed":
          a = l.tail;
          var e = null;
          for (; a !== null;) {
            if (a.alternate !== null) {
              e = a;
            }
            a = a.sibling;
          }
          if (e === null) {
            if (t || l.tail === null) {
              l.tail = null;
            } else {
              l.tail.sibling = null;
            }
          } else {
            e.sibling = null;
          }
      }
    }
  }
  function nl(l) {
    var t = l.alternate !== null && l.alternate.child === l.child;
    var a = 0;
    var e = 0;
    if (t) {
      for (var u = l.child; u !== null;) {
        a |= u.lanes | u.childLanes;
        e |= u.subtreeFlags & 65011712;
        e |= u.flags & 65011712;
        u.return = l;
        u = u.sibling;
      }
    } else {
      for (u = l.child; u !== null;) {
        a |= u.lanes | u.childLanes;
        e |= u.subtreeFlags;
        e |= u.flags;
        u.return = l;
        u = u.sibling;
      }
    }
    l.subtreeFlags |= e;
    l.childLanes = a;
    return t;
  }
  function Sy(l, t, a) {
    var e = t.pendingProps;
    Ci(t);
    switch (t.tag) {
      case 16:
      case 15:
      case 0:
      case 11:
      case 7:
      case 8:
      case 12:
      case 9:
      case 14:
        nl(t);
        return null;
      case 1:
        nl(t);
        return null;
      case 3:
        a = t.stateNode;
        e = null;
        if (l !== null) {
          e = l.memoizedState.cache;
        }
        if (t.memoizedState.cache !== e) {
          t.flags |= 2048;
        }
        _t(yl);
        Ya();
        if (a.pendingContext) {
          a.context = a.pendingContext;
          a.pendingContext = null;
        }
        if (l === null || l.child === null) {
          if (le(t)) {
            Ut(t);
          } else if (l !== null && (!l.memoizedState.isDehydrated || (t.flags & 256) !== 0)) {
            t.flags |= 1024;
            qi();
          }
        }
        nl(t);
        return null;
      case 26:
        var u = t.type;
        var n = t.memoizedState;
        if (l === null) {
          Ut(t);
          if (n !== null) {
            nl(t);
            Po(t, n);
          } else {
            nl(t);
            Mc(t, u, null, e, a);
          }
        } else if (n) {
          if (n !== l.memoizedState) {
            Ut(t);
            nl(t);
            Po(t, n);
          } else {
            nl(t);
            t.flags &= -16777217;
          }
        } else {
          l = l.memoizedProps;
          if (l !== e) {
            Ut(t);
          }
          nl(t);
          Mc(t, u, l, e, a);
        }
        return null;
      case 27:
        Tu(t);
        a = Gt.current;
        u = t.type;
        if (l !== null && t.stateNode != null) {
          if (l.memoizedProps !== e) {
            Ut(t);
          }
        } else {
          if (!e) {
            if (t.stateNode === null) {
              throw Error(d(166));
            }
            nl(t);
            return null;
          }
          l = Sl.current;
          if (le(t)) {
            Ns(t);
          } else {
            l = im(u, e, a);
            t.stateNode = l;
            Ut(t);
          }
        }
        nl(t);
        return null;
      case 5:
        Tu(t);
        u = t.type;
        if (l !== null && t.stateNode != null) {
          if (l.memoizedProps !== e) {
            Ut(t);
          }
        } else {
          if (!e) {
            if (t.stateNode === null) {
              throw Error(d(166));
            }
            nl(t);
            return null;
          }
          n = Sl.current;
          if (le(t)) {
            Ns(t);
          } else {
            var i = Dn(Gt.current);
            switch (n) {
              case 1:
                n = i.createElementNS("http://www.w3.org/2000/svg", u);
                break;
              case 2:
                n = i.createElementNS("http://www.w3.org/1998/Math/MathML", u);
                break;
              default:
                switch (u) {
                  case "svg":
                    n = i.createElementNS("http://www.w3.org/2000/svg", u);
                    break;
                  case "math":
                    n = i.createElementNS("http://www.w3.org/1998/Math/MathML", u);
                    break;
                  case "script":
                    n = i.createElement("div");
                    n.innerHTML = "<script></script>";
                    n = n.removeChild(n.firstChild);
                    break;
                  case "select":
                    n = typeof e.is == "string" ? i.createElement("select", {
                      is: e.is
                    }) : i.createElement("select");
                    if (e.multiple) {
                      n.multiple = true;
                    } else if (e.size) {
                      n.size = e.size;
                    }
                    break;
                  default:
                    n = typeof e.is == "string" ? i.createElement(u, {
                      is: e.is
                    }) : i.createElement(u);
                }
            }
            n[pl] = t;
            n[xl] = e;
            l: for (i = t.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 === t) {
                break l;
              }
              while (i.sibling === null) {
                if (i.return === null || i.return === t) {
                  break l;
                }
                i = i.return;
              }
              i.sibling.return = i.return;
              i = i.sibling;
            }
            t.stateNode = n;
            Ml(n, u, e);
            l: switch (u) {
              case "button":
              case "input":
              case "select":
              case "textarea":
                e = !!e.autoFocus;
                break l;
              case "img":
                e = true;
                break l;
              default:
                e = false;
            }
            if (e) {
              Ut(t);
            }
          }
        }
        nl(t);
        Mc(t, t.type, l === null ? null : l.memoizedProps, t.pendingProps, a);
        return null;
      case 6:
        if (l && t.stateNode != null) {
          if (l.memoizedProps !== e) {
            Ut(t);
          }
        } else {
          if (typeof e != "string" && t.stateNode === null) {
            throw Error(d(166));
          }
          l = Gt.current;
          if (le(t)) {
            l = t.stateNode;
            a = t.memoizedProps;
            e = null;
            u = Al;
            if (u !== null) {
              switch (u.tag) {
                case 27:
                case 5:
                  e = u.memoizedProps;
              }
            }
            l[pl] = t;
            l = l.nodeValue === a || e !== null && e.suppressHydrationWarning === true || !!Fd(l.nodeValue, a);
            if (!l) {
              Kt(t, true);
            }
          } else {
            l = Dn(l).createTextNode(e);
            l[pl] = t;
            t.stateNode = l;
          }
        }
        nl(t);
        return null;
      case 31:
        a = t.memoizedState;
        if (l === null || l.memoizedState !== null) {
          e = le(t);
          if (a !== null) {
            if (l === null) {
              if (!e) {
                throw Error(d(318));
              }
              l = t.memoizedState;
              l = l !== null ? l.dehydrated : null;
              if (!l) {
                throw Error(d(557));
              }
              l[pl] = t;
            } else {
              za();
              if ((t.flags & 128) === 0) {
                t.memoizedState = null;
              }
              t.flags |= 4;
            }
            nl(t);
            l = false;
          } else {
            a = qi();
            if (l !== null && l.memoizedState !== null) {
              l.memoizedState.hydrationErrors = a;
            }
            l = true;
          }
          if (!l) {
            if (t.flags & 256) {
              Zl(t);
              return t;
            } else {
              Zl(t);
              return null;
            }
          }
          if ((t.flags & 128) !== 0) {
            throw Error(d(558));
          }
        }
        nl(t);
        return null;
      case 13:
        e = t.memoizedState;
        if (l === null || l.memoizedState !== null && l.memoizedState.dehydrated !== null) {
          u = le(t);
          if (e !== null && e.dehydrated !== null) {
            if (l === null) {
              if (!u) {
                throw Error(d(318));
              }
              u = t.memoizedState;
              u = u !== null ? u.dehydrated : null;
              if (!u) {
                throw Error(d(317));
              }
              u[pl] = t;
            } else {
              za();
              if ((t.flags & 128) === 0) {
                t.memoizedState = null;
              }
              t.flags |= 4;
            }
            nl(t);
            u = false;
          } else {
            u = qi();
            if (l !== null && l.memoizedState !== null) {
              l.memoizedState.hydrationErrors = u;
            }
            u = true;
          }
          if (!u) {
            if (t.flags & 256) {
              Zl(t);
              return t;
            } else {
              Zl(t);
              return null;
            }
          }
        }
        Zl(t);
        if ((t.flags & 128) !== 0) {
          t.lanes = a;
          return t;
        } else {
          a = e !== null;
          l = l !== null && l.memoizedState !== null;
          if (a) {
            e = t.child;
            u = null;
            if (e.alternate !== null && e.alternate.memoizedState !== null && e.alternate.memoizedState.cachePool !== null) {
              u = e.alternate.memoizedState.cachePool.pool;
            }
            n = null;
            if (e.memoizedState !== null && e.memoizedState.cachePool !== null) {
              n = e.memoizedState.cachePool.pool;
            }
            if (n !== u) {
              e.flags |= 2048;
            }
          }
          if (a !== l && a) {
            t.child.flags |= 8192;
          }
          vn(t, t.updateQueue);
          nl(t);
          return null;
        }
      case 4:
        Ya();
        if (l === null) {
          wc(t.stateNode.containerInfo);
        }
        nl(t);
        return null;
      case 10:
        _t(t.type);
        nl(t);
        return null;
      case 19:
        cl(ol);
        e = t.memoizedState;
        if (e === null) {
          nl(t);
          return null;
        }
        u = (t.flags & 128) !== 0;
        n = e.rendering;
        if (n === null) {
          if (u) {
            lu(e, false);
          } else {
            if (sl !== 0 || l !== null && (l.flags & 128) !== 0) {
              for (l = t.child; l !== null;) {
                n = ln(l);
                if (n !== null) {
                  t.flags |= 128;
                  lu(e, false);
                  l = n.updateQueue;
                  t.updateQueue = l;
                  vn(t, l);
                  t.subtreeFlags = 0;
                  l = a;
                  a = t.child;
                  while (a !== null) {
                    _s(a, l);
                    a = a.sibling;
                  }
                  K(ol, ol.current & 1 | 2);
                  if (R) {
                    Tt(t, e.treeForkCount);
                  }
                  return t.child;
                }
                l = l.sibling;
              }
            }
            if (e.tail !== null && Bl() > rn) {
              t.flags |= 128;
              u = true;
              lu(e, false);
              t.lanes = 4194304;
            }
          }
        } else {
          if (!u) {
            l = ln(n);
            if (l !== null) {
              t.flags |= 128;
              u = true;
              l = l.updateQueue;
              t.updateQueue = l;
              vn(t, l);
              lu(e, true);
              if (e.tail === null && e.tailMode === "hidden" && !n.alternate && !R) {
                nl(t);
                return null;
              }
            } else if (Bl() * 2 - e.renderingStartTime > rn && a !== 536870912) {
              t.flags |= 128;
              u = true;
              lu(e, false);
              t.lanes = 4194304;
            }
          }
          if (e.isBackwards) {
            n.sibling = t.child;
            t.child = n;
          } else {
            l = e.last;
            if (l !== null) {
              l.sibling = n;
            } else {
              t.child = n;
            }
            e.last = n;
          }
        }
        if (e.tail !== null) {
          l = e.tail;
          e.rendering = l;
          e.tail = l.sibling;
          e.renderingStartTime = Bl();
          l.sibling = null;
          a = ol.current;
          K(ol, u ? a & 1 | 2 : a & 1);
          if (R) {
            Tt(t, e.treeForkCount);
          }
          return l;
        } else {
          nl(t);
          return null;
        }
      case 22:
      case 23:
        Zl(t);
        Wi();
        e = t.memoizedState !== null;
        if (l !== null) {
          if (l.memoizedState !== null !== e) {
            t.flags |= 8192;
          }
        } else if (e) {
          t.flags |= 8192;
        }
        if (e) {
          if ((a & 536870912) !== 0 && (t.flags & 128) === 0) {
            nl(t);
            if (t.subtreeFlags & 6) {
              t.flags |= 8192;
            }
          }
        } else {
          nl(t);
        }
        a = t.updateQueue;
        if (a !== null) {
          vn(t, a.retryQueue);
        }
        a = null;
        if (l !== null && l.memoizedState !== null && l.memoizedState.cachePool !== null) {
          a = l.memoizedState.cachePool.pool;
        }
        e = null;
        if (t.memoizedState !== null && t.memoizedState.cachePool !== null) {
          e = t.memoizedState.cachePool.pool;
        }
        if (e !== a) {
          t.flags |= 2048;
        }
        if (l !== null) {
          cl(Ea);
        }
        return null;
      case 24:
        a = null;
        if (l !== null) {
          a = l.memoizedState.cache;
        }
        if (t.memoizedState.cache !== a) {
          t.flags |= 2048;
        }
        _t(yl);
        nl(t);
        return null;
      case 25:
        return null;
      case 30:
        return null;
    }
    throw Error(d(156, t.tag));
  }
  function ry(l, t) {
    Ci(t);
    switch (t.tag) {
      case 1:
        l = t.flags;
        if (l & 65536) {
          t.flags = l & -65537 | 128;
          return t;
        } else {
          return null;
        }
      case 3:
        _t(yl);
        Ya();
        l = t.flags;
        if ((l & 65536) !== 0 && (l & 128) === 0) {
          t.flags = l & -65537 | 128;
          return t;
        } else {
          return null;
        }
      case 26:
      case 27:
      case 5:
        Tu(t);
        return null;
      case 31:
        if (t.memoizedState !== null) {
          Zl(t);
          if (t.alternate === null) {
            throw Error(d(340));
          }
          za();
        }
        l = t.flags;
        if (l & 65536) {
          t.flags = l & -65537 | 128;
          return t;
        } else {
          return null;
        }
      case 13:
        Zl(t);
        l = t.memoizedState;
        if (l !== null && l.dehydrated !== null) {
          if (t.alternate === null) {
            throw Error(d(340));
          }
          za();
        }
        l = t.flags;
        if (l & 65536) {
          t.flags = l & -65537 | 128;
          return t;
        } else {
          return null;
        }
      case 19:
        cl(ol);
        return null;
      case 4:
        Ya();
        return null;
      case 10:
        _t(t.type);
        return null;
      case 22:
      case 23:
        Zl(t);
        Wi();
        if (l !== null) {
          cl(Ea);
        }
        l = t.flags;
        if (l & 65536) {
          t.flags = l & -65537 | 128;
          return t;
        } else {
          return null;
        }
      case 24:
        _t(yl);
        return null;
      case 25:
        return null;
      default:
        return null;
    }
  }
  function ld(l, t) {
    Ci(t);
    switch (t.tag) {
      case 3:
        _t(yl);
        Ya();
        break;
      case 26:
      case 27:
      case 5:
        Tu(t);
        break;
      case 4:
        Ya();
        break;
      case 31:
        if (t.memoizedState !== null) {
          Zl(t);
        }
        break;
      case 13:
        Zl(t);
        break;
      case 19:
        cl(ol);
        break;
      case 10:
        _t(t.type);
        break;
      case 22:
      case 23:
        Zl(t);
        Wi();
        if (l !== null) {
          cl(Ea);
        }
        break;
      case 24:
        _t(yl);
    }
  }
  function tu(l, t) {
    try {
      var a = t.updateQueue;
      var e = a !== null ? a.lastEffect : null;
      if (e !== null) {
        var u = e.next;
        a = u;
        do {
          if ((a.tag & l) === l) {
            e = undefined;
            var n = a.create;
            var i = a.inst;
            e = n();
            i.destroy = e;
          }
          a = a.next;
        } while (a !== u);
      }
    } catch (c) {
      W(t, t.return, c);
    }
  }
  function It(l, t, a) {
    try {
      var e = t.updateQueue;
      var u = e !== null ? e.lastEffect : null;
      if (u !== null) {
        var n = u.next;
        e = n;
        do {
          if ((e.tag & l) === l) {
            var i = e.inst;
            var c = i.destroy;
            if (c !== undefined) {
              i.destroy = undefined;
              u = t;
              var f = a;
              var y = c;
              try {
                y();
              } catch (b) {
                W(u, f, b);
              }
            }
          }
          e = e.next;
        } while (e !== n);
      }
    } catch (b) {
      W(t, t.return, b);
    }
  }
  function td(l) {
    var t = l.updateQueue;
    if (t !== null) {
      var a = l.stateNode;
      try {
        Ls(t, a);
      } catch (e) {
        W(l, l.return, e);
      }
    }
  }
  function ad(l, t, a) {
    a.props = xa(l.type, l.memoizedProps);
    a.state = l.memoizedState;
    try {
      a.componentWillUnmount();
    } catch (e) {
      W(l, t, e);
    }
  }
  function au(l, t) {
    try {
      var a = l.ref;
      if (a !== null) {
        switch (l.tag) {
          case 26:
          case 27:
          case 5:
            var e = l.stateNode;
            break;
          case 30:
            e = l.stateNode;
            break;
          default:
            e = l.stateNode;
        }
        if (typeof a == "function") {
          l.refCleanup = a(e);
        } else {
          a.current = e;
        }
      }
    } catch (u) {
      W(l, t, u);
    }
  }
  function gt(l, t) {
    var a = l.ref;
    var e = l.refCleanup;
    if (a !== null) {
      if (typeof e == "function") {
        try {
          e();
        } catch (u) {
          W(l, t, u);
        } finally {
          l.refCleanup = null;
          l = l.alternate;
          if (l != null) {
            l.refCleanup = null;
          }
        }
      } else if (typeof a == "function") {
        try {
          a(null);
        } catch (u) {
          W(l, t, u);
        }
      } else {
        a.current = null;
      }
    }
  }
  function ed(l) {
    var t = l.type;
    var a = l.memoizedProps;
    var e = l.stateNode;
    try {
      l: switch (t) {
        case "button":
        case "input":
        case "select":
        case "textarea":
          if (a.autoFocus) {
            e.focus();
          }
          break l;
        case "img":
          if (a.src) {
            e.src = a.src;
          } else if (a.srcSet) {
            e.srcset = a.srcSet;
          }
      }
    } catch (u) {
      W(l, l.return, u);
    }
  }
  function _c(l, t, a) {
    try {
      var e = l.stateNode;
      Qy(e, l.type, a, t);
      e[xl] = t;
    } catch (u) {
      W(l, l.return, u);
    }
  }
  function ud(l) {
    return l.tag === 5 || l.tag === 3 || l.tag === 26 || l.tag === 27 && na(l.type) || l.tag === 4;
  }
  function Oc(l) {
    l: while (true) {
      while (l.sibling === null) {
        if (l.return === null || ud(l.return)) {
          return null;
        }
        l = l.return;
      }
      l.sibling.return = l.return;
      l = l.sibling;
      while (l.tag !== 5 && l.tag !== 6 && l.tag !== 18) {
        if (l.tag === 27 && na(l.type) || l.flags & 2 || l.child === null || l.tag === 4) {
          continue l;
        }
        l.child.return = l;
        l = l.child;
      }
      if (!(l.flags & 2)) {
        return l.stateNode;
      }
    }
  }
  function xc(l, t, a) {
    var e = l.tag;
    if (e === 5 || e === 6) {
      l = l.stateNode;
      if (t) {
        (a.nodeType === 9 ? a.body : a.nodeName === "HTML" ? a.ownerDocument.body : a).insertBefore(l, t);
      } else {
        t = a.nodeType === 9 ? a.body : a.nodeName === "HTML" ? a.ownerDocument.body : a;
        t.appendChild(l);
        a = a._reactRootContainer;
        if (a == null && t.onclick === null) {
          t.onclick = pt;
        }
      }
    } else if (e !== 4 && (e === 27 && na(l.type) && (a = l.stateNode, t = null), l = l.child, l !== null)) {
      xc(l, t, a);
      l = l.sibling;
      while (l !== null) {
        xc(l, t, a);
        l = l.sibling;
      }
    }
  }
  function hn(l, t, a) {
    var e = l.tag;
    if (e === 5 || e === 6) {
      l = l.stateNode;
      if (t) {
        a.insertBefore(l, t);
      } else {
        a.appendChild(l);
      }
    } else if (e !== 4 && (e === 27 && na(l.type) && (a = l.stateNode), l = l.child, l !== null)) {
      hn(l, t, a);
      l = l.sibling;
      while (l !== null) {
        hn(l, t, a);
        l = l.sibling;
      }
    }
  }
  function nd(l) {
    var t = l.stateNode;
    var a = l.memoizedProps;
    try {
      var e = l.type;
      for (var u = t.attributes; u.length;) {
        t.removeAttributeNode(u[0]);
      }
      Ml(t, e, a);
      t[pl] = l;
      t[xl] = a;
    } catch (n) {
      W(l, l.return, n);
    }
  }
  var Nt = false;
  var gl = false;
  var Dc = false;
  var id = typeof WeakSet == "function" ? WeakSet : Set;
  var zl = null;
  function zy(l, t) {
    l = l.containerInfo;
    kc = Bn;
    l = bs(l);
    if (Ai(l)) {
      if ("selectionStart" in l) {
        var a = {
          start: l.selectionStart,
          end: l.selectionEnd
        };
      } else {
        l: {
          a = (a = l.ownerDocument) && a.defaultView || window;
          var e = a.getSelection && a.getSelection();
          if (e && e.rangeCount !== 0) {
            a = e.anchorNode;
            var u = e.anchorOffset;
            var n = e.focusNode;
            e = e.focusOffset;
            try {
              a.nodeType;
              n.nodeType;
            } catch {
              a = null;
              break l;
            }
            var i = 0;
            var c = -1;
            var f = -1;
            var y = 0;
            var b = 0;
            var z = l;
            var v = null;
            t: while (true) {
              for (var g; z !== a || u !== 0 && z.nodeType !== 3 || (c = i + u), z !== n || e !== 0 && z.nodeType !== 3 || (f = i + e), z.nodeType === 3 && (i += z.nodeValue.length), (g = z.firstChild) !== null;) {
                v = z;
                z = g;
              }
              while (true) {
                if (z === l) {
                  break t;
                }
                if (v === a && ++y === u) {
                  c = i;
                }
                if (v === n && ++b === e) {
                  f = i;
                }
                if ((g = z.nextSibling) !== null) {
                  break;
                }
                z = v;
                v = z.parentNode;
              }
              z = g;
            }
            a = c === -1 || f === -1 ? null : {
              start: c,
              end: f
            };
          } else {
            a = null;
          }
        }
      }
      a = a || {
        start: 0,
        end: 0
      };
    } else {
      a = null;
    }
    $c = {
      focusedElem: l,
      selectionRange: a
    };
    Bn = false;
    zl = t;
    while (zl !== null) {
      t = zl;
      l = t.child;
      if ((t.subtreeFlags & 1028) !== 0 && l !== null) {
        l.return = t;
        zl = l;
      } else {
        while (zl !== null) {
          t = zl;
          n = t.alternate;
          l = t.flags;
          switch (t.tag) {
            case 0:
              if ((l & 4) !== 0 && (l = t.updateQueue, l = l !== null ? l.events : null, l !== null)) {
                for (a = 0; a < l.length; a++) {
                  u = l[a];
                  u.ref.impl = u.nextImpl;
                }
              }
              break;
            case 11:
            case 15:
              break;
            case 1:
              if ((l & 1024) !== 0 && n !== null) {
                l = undefined;
                a = t;
                u = n.memoizedProps;
                n = n.memoizedState;
                e = a.stateNode;
                try {
                  var O = xa(a.type, u);
                  l = e.getSnapshotBeforeUpdate(O, n);
                  e.__reactInternalSnapshotBeforeUpdate = l;
                } catch (U) {
                  W(a, a.return, U);
                }
              }
              break;
            case 3:
              if ((l & 1024) !== 0) {
                l = t.stateNode.containerInfo;
                a = l.nodeType;
                if (a === 9) {
                  lf(l);
                } else if (a === 1) {
                  switch (l.nodeName) {
                    case "HEAD":
                    case "HTML":
                    case "BODY":
                      lf(l);
                      break;
                    default:
                      l.textContent = "";
                  }
                }
              }
              break;
            case 5:
            case 26:
            case 27:
            case 6:
            case 4:
            case 17:
              break;
            default:
              if ((l & 1024) !== 0) {
                throw Error(d(163));
              }
          }
          l = t.sibling;
          if (l !== null) {
            l.return = t.return;
            zl = l;
            break;
          }
          zl = t.return;
        }
      }
    }
  }
  function cd(l, t, a) {
    var e = a.flags;
    switch (a.tag) {
      case 0:
      case 11:
      case 15:
        Ct(l, a);
        if (e & 4) {
          tu(5, a);
        }
        break;
      case 1:
        Ct(l, a);
        if (e & 4) {
          l = a.stateNode;
          if (t === null) {
            try {
              l.componentDidMount();
            } catch (i) {
              W(a, a.return, i);
            }
          } else {
            var u = xa(a.type, t.memoizedProps);
            t = t.memoizedState;
            try {
              l.componentDidUpdate(u, t, l.__reactInternalSnapshotBeforeUpdate);
            } catch (i) {
              W(a, a.return, i);
            }
          }
        }
        if (e & 64) {
          td(a);
        }
        if (e & 512) {
          au(a, a.return);
        }
        break;
      case 3:
        Ct(l, a);
        if (e & 64 && (l = a.updateQueue, l !== null)) {
          t = null;
          if (a.child !== null) {
            switch (a.child.tag) {
              case 27:
              case 5:
                t = a.child.stateNode;
                break;
              case 1:
                t = a.child.stateNode;
            }
          }
          try {
            Ls(l, t);
          } catch (i) {
            W(a, a.return, i);
          }
        }
        break;
      case 27:
        if (t === null && e & 4) {
          nd(a);
        }
      case 26:
      case 5:
        Ct(l, a);
        if (t === null && e & 4) {
          ed(a);
        }
        if (e & 512) {
          au(a, a.return);
        }
        break;
      case 12:
        Ct(l, a);
        break;
      case 31:
        Ct(l, a);
        if (e & 4) {
          od(l, a);
        }
        break;
      case 13:
        Ct(l, a);
        if (e & 4) {
          dd(l, a);
        }
        if (e & 64) {
          l = a.memoizedState;
          if (l !== null) {
            l = l.dehydrated;
            if (l !== null) {
              a = Dy.bind(null, a);
              Fy(l, a);
            }
          }
        }
        break;
      case 22:
        e = a.memoizedState !== null || Nt;
        if (!e) {
          t = t !== null && t.memoizedState !== null || gl;
          u = Nt;
          var n = gl;
          Nt = e;
          if ((gl = t) && !n) {
            jt(l, a, (a.subtreeFlags & 8772) !== 0);
          } else {
            Ct(l, a);
          }
          Nt = u;
          gl = n;
        }
        break;
      case 30:
        break;
      default:
        Ct(l, a);
    }
  }
  function fd(l) {
    var t = l.alternate;
    if (t !== null) {
      l.alternate = null;
      fd(t);
    }
    l.child = null;
    l.deletions = null;
    l.sibling = null;
    if (l.tag === 5) {
      t = l.stateNode;
      if (t !== null) {
        ni(t);
      }
    }
    l.stateNode = null;
    l.return = null;
    l.dependencies = null;
    l.memoizedProps = null;
    l.memoizedState = null;
    l.pendingProps = null;
    l.stateNode = null;
    l.updateQueue = null;
  }
  var il = null;
  var Ul = false;
  function Ht(l, t, a) {
    for (a = a.child; a !== null;) {
      sd(l, t, a);
      a = a.sibling;
    }
  }
  function sd(l, t, a) {
    if (Yl && typeof Yl.onCommitFiberUnmount == "function") {
      try {
        Yl.onCommitFiberUnmount(_e, a);
      } catch {}
    }
    switch (a.tag) {
      case 26:
        if (!gl) {
          gt(a, t);
        }
        Ht(l, t, a);
        if (a.memoizedState) {
          a.memoizedState.count--;
        } else if (a.stateNode) {
          a = a.stateNode;
          a.parentNode.removeChild(a);
        }
        break;
      case 27:
        if (!gl) {
          gt(a, t);
        }
        var e = il;
        var u = Ul;
        if (na(a.type)) {
          il = a.stateNode;
          Ul = false;
        }
        Ht(l, t, a);
        du(a.stateNode);
        il = e;
        Ul = u;
        break;
      case 5:
        if (!gl) {
          gt(a, t);
        }
      case 6:
        e = il;
        u = Ul;
        il = null;
        Ht(l, t, a);
        il = e;
        Ul = u;
        if (il !== null) {
          if (Ul) {
            try {
              (il.nodeType === 9 ? il.body : il.nodeName === "HTML" ? il.ownerDocument.body : il).removeChild(a.stateNode);
            } catch (n) {
              W(a, t, n);
            }
          } else {
            try {
              il.removeChild(a.stateNode);
            } catch (n) {
              W(a, t, n);
            }
          }
        }
        break;
      case 18:
        if (il !== null) {
          if (Ul) {
            l = il;
            tm(l.nodeType === 9 ? l.body : l.nodeName === "HTML" ? l.ownerDocument.body : l, a.stateNode);
            pe(l);
          } else {
            tm(il, a.stateNode);
          }
        }
        break;
      case 4:
        e = il;
        u = Ul;
        il = a.stateNode.containerInfo;
        Ul = true;
        Ht(l, t, a);
        il = e;
        Ul = u;
        break;
      case 0:
      case 11:
      case 14:
      case 15:
        It(2, a, t);
        if (!gl) {
          It(4, a, t);
        }
        Ht(l, t, a);
        break;
      case 1:
        if (!gl) {
          gt(a, t);
          e = a.stateNode;
          if (typeof e.componentWillUnmount == "function") {
            ad(a, t, e);
          }
        }
        Ht(l, t, a);
        break;
      case 21:
        Ht(l, t, a);
        break;
      case 22:
        gl = (e = gl) || a.memoizedState !== null;
        Ht(l, t, a);
        gl = e;
        break;
      default:
        Ht(l, t, a);
    }
  }
  function od(l, t) {
    if (t.memoizedState === null && (l = t.alternate, l !== null && (l = l.memoizedState, l !== null))) {
      l = l.dehydrated;
      try {
        pe(l);
      } catch (a) {
        W(t, t.return, a);
      }
    }
  }
  function dd(l, t) {
    if (t.memoizedState === null && (l = t.alternate, l !== null && (l = l.memoizedState, l !== null && (l = l.dehydrated, l !== null)))) {
      try {
        pe(l);
      } catch (a) {
        W(t, t.return, a);
      }
    }
  }
  function py(l) {
    switch (l.tag) {
      case 31:
      case 13:
      case 19:
        var t = l.stateNode;
        if (t === null) {
          t = l.stateNode = new id();
        }
        return t;
      case 22:
        l = l.stateNode;
        t = l._retryCache;
        if (t === null) {
          t = l._retryCache = new id();
        }
        return t;
      default:
        throw Error(d(435, l.tag));
    }
  }
  function gn(l, t) {
    var a = py(l);
    t.forEach(function (e) {
      if (!a.has(e)) {
        a.add(e);
        var u = Uy.bind(null, l, e);
        e.then(u, u);
      }
    });
  }
  function Nl(l, t) {
    var a = t.deletions;
    if (a !== null) {
      for (var e = 0; e < a.length; e++) {
        var u = a[e];
        var n = l;
        var i = t;
        var c = i;
        l: while (c !== null) {
          switch (c.tag) {
            case 27:
              if (na(c.type)) {
                il = c.stateNode;
                Ul = false;
                break l;
              }
              break;
            case 5:
              il = c.stateNode;
              Ul = false;
              break l;
            case 3:
            case 4:
              il = c.stateNode.containerInfo;
              Ul = true;
              break l;
          }
          c = c.return;
        }
        if (il === null) {
          throw Error(d(160));
        }
        sd(n, i, u);
        il = null;
        Ul = false;
        n = u.alternate;
        if (n !== null) {
          n.return = null;
        }
        u.return = null;
      }
    }
    if (t.subtreeFlags & 13886) {
      for (t = t.child; t !== null;) {
        md(t, l);
        t = t.sibling;
      }
    }
  }
  var ft = null;
  function md(l, t) {
    var a = l.alternate;
    var e = l.flags;
    switch (l.tag) {
      case 0:
      case 11:
      case 14:
      case 15:
        Nl(t, l);
        Hl(l);
        if (e & 4) {
          It(3, l, l.return);
          tu(3, l);
          It(5, l, l.return);
        }
        break;
      case 1:
        Nl(t, l);
        Hl(l);
        if (e & 512) {
          if (!gl && a !== null) {
            gt(a, a.return);
          }
        }
        if (e & 64 && Nt) {
          l = l.updateQueue;
          if (l !== null) {
            e = l.callbacks;
            if (e !== null) {
              a = l.shared.hiddenCallbacks;
              l.shared.hiddenCallbacks = a === null ? e : a.concat(e);
            }
          }
        }
        break;
      case 26:
        var u = ft;
        Nl(t, l);
        Hl(l);
        if (e & 512) {
          if (!gl && a !== null) {
            gt(a, a.return);
          }
        }
        if (e & 4) {
          var n = a !== null ? a.memoizedState : null;
          e = l.memoizedState;
          if (a === null) {
            if (e === null) {
              if (l.stateNode === null) {
                l: {
                  e = l.type;
                  a = l.memoizedProps;
                  u = u.ownerDocument || u;
                  t: switch (e) {
                    case "title":
                      n = u.getElementsByTagName("title")[0];
                      if (!n || n[De] || n[pl] || n.namespaceURI === "http://www.w3.org/2000/svg" || n.hasAttribute("itemprop")) {
                        n = u.createElement(e);
                        u.head.insertBefore(n, u.querySelector("head > title"));
                      }
                      Ml(n, e, a);
                      n[pl] = l;
                      rl(n);
                      e = n;
                      break l;
                    case "link":
                      var i = mm("link", "href", u).get(e + (a.href || ""));
                      if (i) {
                        for (var c = 0; c < i.length; c++) {
                          n = i[c];
                          if (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(c, 1);
                            break t;
                          }
                        }
                      }
                      n = u.createElement(e);
                      Ml(n, e, a);
                      u.head.appendChild(n);
                      break;
                    case "meta":
                      if (i = mm("meta", "content", u).get(e + (a.content || ""))) {
                        for (c = 0; c < i.length; c++) {
                          n = i[c];
                          if (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(c, 1);
                            break t;
                          }
                        }
                      }
                      n = u.createElement(e);
                      Ml(n, e, a);
                      u.head.appendChild(n);
                      break;
                    default:
                      throw Error(d(468, e));
                  }
                  n[pl] = l;
                  rl(n);
                  e = n;
                }
                l.stateNode = e;
              } else {
                ym(u, l.type, l.stateNode);
              }
            } else {
              l.stateNode = dm(u, e, l.memoizedProps);
            }
          } else if (n !== e) {
            if (n === null) {
              if (a.stateNode !== null) {
                a = a.stateNode;
                a.parentNode.removeChild(a);
              }
            } else {
              n.count--;
            }
            if (e === null) {
              ym(u, l.type, l.stateNode);
            } else {
              dm(u, e, l.memoizedProps);
            }
          } else if (e === null && l.stateNode !== null) {
            _c(l, l.memoizedProps, a.memoizedProps);
          }
        }
        break;
      case 27:
        Nl(t, l);
        Hl(l);
        if (e & 512) {
          if (!gl && a !== null) {
            gt(a, a.return);
          }
        }
        if (a !== null && e & 4) {
          _c(l, l.memoizedProps, a.memoizedProps);
        }
        break;
      case 5:
        Nl(t, l);
        Hl(l);
        if (e & 512) {
          if (!gl && a !== null) {
            gt(a, a.return);
          }
        }
        if (l.flags & 32) {
          u = l.stateNode;
          try {
            La(u, "");
          } catch (O) {
            W(l, l.return, O);
          }
        }
        if (e & 4 && l.stateNode != null) {
          u = l.memoizedProps;
          _c(l, u, a !== null ? a.memoizedProps : u);
        }
        if (e & 1024) {
          Dc = true;
        }
        break;
      case 6:
        Nl(t, l);
        Hl(l);
        if (e & 4) {
          if (l.stateNode === null) {
            throw Error(d(162));
          }
          e = l.memoizedProps;
          a = l.stateNode;
          try {
            a.nodeValue = e;
          } catch (O) {
            W(l, l.return, O);
          }
        }
        break;
      case 3:
        Hn = null;
        u = ft;
        ft = Un(t.containerInfo);
        Nl(t, l);
        ft = u;
        Hl(l);
        if (e & 4 && a !== null && a.memoizedState.isDehydrated) {
          try {
            pe(t.containerInfo);
          } catch (O) {
            W(l, l.return, O);
          }
        }
        if (Dc) {
          Dc = false;
          yd(l);
        }
        break;
      case 4:
        e = ft;
        ft = Un(l.stateNode.containerInfo);
        Nl(t, l);
        Hl(l);
        ft = e;
        break;
      case 12:
        Nl(t, l);
        Hl(l);
        break;
      case 31:
        Nl(t, l);
        Hl(l);
        if (e & 4) {
          e = l.updateQueue;
          if (e !== null) {
            l.updateQueue = null;
            gn(l, e);
          }
        }
        break;
      case 13:
        Nl(t, l);
        Hl(l);
        if (l.child.flags & 8192 && l.memoizedState !== null != (a !== null && a.memoizedState !== null)) {
          Sn = Bl();
        }
        if (e & 4) {
          e = l.updateQueue;
          if (e !== null) {
            l.updateQueue = null;
            gn(l, e);
          }
        }
        break;
      case 22:
        u = l.memoizedState !== null;
        var f = a !== null && a.memoizedState !== null;
        var y = Nt;
        var b = gl;
        Nt = y || u;
        gl = b || f;
        Nl(t, l);
        gl = b;
        Nt = y;
        Hl(l);
        if (e & 8192) {
          t = l.stateNode;
          t._visibility = u ? t._visibility & -2 : t._visibility | 1;
          if (u) {
            if (a !== null && !f && !Nt && !gl) {
              Da(l);
            }
          }
          a = null;
          t = l;
          l: while (true) {
            if (t.tag === 5 || t.tag === 26) {
              if (a === null) {
                f = a = t;
                try {
                  n = f.stateNode;
                  if (u) {
                    i = n.style;
                    if (typeof i.setProperty == "function") {
                      i.setProperty("display", "none", "important");
                    } else {
                      i.display = "none";
                    }
                  } else {
                    c = f.stateNode;
                    var z = f.memoizedProps.style;
                    var v = z != null && z.hasOwnProperty("display") ? z.display : null;
                    c.style.display = v == null || typeof v == "boolean" ? "" : ("" + v).trim();
                  }
                } catch (O) {
                  W(f, f.return, O);
                }
              }
            } else if (t.tag === 6) {
              if (a === null) {
                f = t;
                try {
                  f.stateNode.nodeValue = u ? "" : f.memoizedProps;
                } catch (O) {
                  W(f, f.return, O);
                }
              }
            } else if (t.tag === 18) {
              if (a === null) {
                f = t;
                try {
                  var g = f.stateNode;
                  if (u) {
                    am(g, true);
                  } else {
                    am(f.stateNode, false);
                  }
                } catch (O) {
                  W(f, f.return, O);
                }
              }
            } else if ((t.tag !== 22 && t.tag !== 23 || t.memoizedState === null || t === l) && t.child !== null) {
              t.child.return = t;
              t = t.child;
              continue;
            }
            if (t === l) {
              break l;
            }
            while (t.sibling === null) {
              if (t.return === null || t.return === l) {
                break l;
              }
              if (a === t) {
                a = null;
              }
              t = t.return;
            }
            if (a === t) {
              a = null;
            }
            t.sibling.return = t.return;
            t = t.sibling;
          }
        }
        if (e & 4) {
          e = l.updateQueue;
          if (e !== null) {
            a = e.retryQueue;
            if (a !== null) {
              e.retryQueue = null;
              gn(l, a);
            }
          }
        }
        break;
      case 19:
        Nl(t, l);
        Hl(l);
        if (e & 4) {
          e = l.updateQueue;
          if (e !== null) {
            l.updateQueue = null;
            gn(l, e);
          }
        }
        break;
      case 30:
        break;
      case 21:
        break;
      default:
        Nl(t, l);
        Hl(l);
    }
  }
  function Hl(l) {
    var t = l.flags;
    if (t & 2) {
      try {
        var a;
        for (var e = l.return; e !== null;) {
          if (ud(e)) {
            a = e;
            break;
          }
          e = e.return;
        }
        if (a == null) {
          throw Error(d(160));
        }
        switch (a.tag) {
          case 27:
            var u = a.stateNode;
            var n = Oc(l);
            hn(l, n, u);
            break;
          case 5:
            var i = a.stateNode;
            if (a.flags & 32) {
              La(i, "");
              a.flags &= -33;
            }
            var c = Oc(l);
            hn(l, c, i);
            break;
          case 3:
          case 4:
            var f = a.stateNode.containerInfo;
            var y = Oc(l);
            xc(l, y, f);
            break;
          default:
            throw Error(d(161));
        }
      } catch (b) {
        W(l, l.return, b);
      }
      l.flags &= -3;
    }
    if (t & 4096) {
      l.flags &= -4097;
    }
  }
  function yd(l) {
    if (l.subtreeFlags & 1024) {
      for (l = l.child; l !== null;) {
        var t = l;
        yd(t);
        if (t.tag === 5 && t.flags & 1024) {
          t.stateNode.reset();
        }
        l = l.sibling;
      }
    }
  }
  function Ct(l, t) {
    if (t.subtreeFlags & 8772) {
      for (t = t.child; t !== null;) {
        cd(l, t.alternate, t);
        t = t.sibling;
      }
    }
  }
  function Da(l) {
    for (l = l.child; l !== null;) {
      var t = l;
      switch (t.tag) {
        case 0:
        case 11:
        case 14:
        case 15:
          It(4, t, t.return);
          Da(t);
          break;
        case 1:
          gt(t, t.return);
          var a = t.stateNode;
          if (typeof a.componentWillUnmount == "function") {
            ad(t, t.return, a);
          }
          Da(t);
          break;
        case 27:
          du(t.stateNode);
        case 26:
        case 5:
          gt(t, t.return);
          Da(t);
          break;
        case 22:
          if (t.memoizedState === null) {
            Da(t);
          }
          break;
        case 30:
          Da(t);
          break;
        default:
          Da(t);
      }
      l = l.sibling;
    }
  }
  function jt(l, t, a) {
    a = a && (t.subtreeFlags & 8772) !== 0;
    t = t.child;
    while (t !== null) {
      var e = t.alternate;
      var u = l;
      var n = t;
      var i = n.flags;
      switch (n.tag) {
        case 0:
        case 11:
        case 15:
          jt(u, n, a);
          tu(4, n);
          break;
        case 1:
          jt(u, n, a);
          e = n;
          u = e.stateNode;
          if (typeof u.componentDidMount == "function") {
            try {
              u.componentDidMount();
            } catch (y) {
              W(e, e.return, y);
            }
          }
          e = n;
          u = e.updateQueue;
          if (u !== null) {
            var c = e.stateNode;
            try {
              var f = u.shared.hiddenCallbacks;
              if (f !== null) {
                u.shared.hiddenCallbacks = null;
                u = 0;
                for (; u < f.length; u++) {
                  Vs(f[u], c);
                }
              }
            } catch (y) {
              W(e, e.return, y);
            }
          }
          if (a && i & 64) {
            td(n);
          }
          au(n, n.return);
          break;
        case 27:
          nd(n);
        case 26:
        case 5:
          jt(u, n, a);
          if (a && e === null && i & 4) {
            ed(n);
          }
          au(n, n.return);
          break;
        case 12:
          jt(u, n, a);
          break;
        case 31:
          jt(u, n, a);
          if (a && i & 4) {
            od(u, n);
          }
          break;
        case 13:
          jt(u, n, a);
          if (a && i & 4) {
            dd(u, n);
          }
          break;
        case 22:
          if (n.memoizedState === null) {
            jt(u, n, a);
          }
          au(n, n.return);
          break;
        case 30:
          break;
        default:
          jt(u, n, a);
      }
      t = t.sibling;
    }
  }
  function Uc(l, t) {
    var a = null;
    if (l !== null && l.memoizedState !== null && l.memoizedState.cachePool !== null) {
      a = l.memoizedState.cachePool.pool;
    }
    l = null;
    if (t.memoizedState !== null && t.memoizedState.cachePool !== null) {
      l = t.memoizedState.cachePool.pool;
    }
    if (l !== a) {
      if (l != null) {
        l.refCount++;
      }
      if (a != null) {
        Ze(a);
      }
    }
  }
  function Nc(l, t) {
    l = null;
    if (t.alternate !== null) {
      l = t.alternate.memoizedState.cache;
    }
    t = t.memoizedState.cache;
    if (t !== l) {
      t.refCount++;
      if (l != null) {
        Ze(l);
      }
    }
  }
  function st(l, t, a, e) {
    if (t.subtreeFlags & 10256) {
      for (t = t.child; t !== null;) {
        vd(l, t, a, e);
        t = t.sibling;
      }
    }
  }
  function vd(l, t, a, e) {
    var u = t.flags;
    switch (t.tag) {
      case 0:
      case 11:
      case 15:
        st(l, t, a, e);
        if (u & 2048) {
          tu(9, t);
        }
        break;
      case 1:
        st(l, t, a, e);
        break;
      case 3:
        st(l, t, a, e);
        if (u & 2048) {
          l = null;
          if (t.alternate !== null) {
            l = t.alternate.memoizedState.cache;
          }
          t = t.memoizedState.cache;
          if (t !== l) {
            t.refCount++;
            if (l != null) {
              Ze(l);
            }
          }
        }
        break;
      case 12:
        if (u & 2048) {
          st(l, t, a, e);
          l = t.stateNode;
          try {
            var n = t.memoizedProps;
            var i = n.id;
            var c = n.onPostCommit;
            if (typeof c == "function") {
              c(i, t.alternate === null ? "mount" : "update", l.passiveEffectDuration, -0);
            }
          } catch (f) {
            W(t, t.return, f);
          }
        } else {
          st(l, t, a, e);
        }
        break;
      case 31:
        st(l, t, a, e);
        break;
      case 13:
        st(l, t, a, e);
        break;
      case 23:
        break;
      case 22:
        n = t.stateNode;
        i = t.alternate;
        if (t.memoizedState !== null) {
          if (n._visibility & 2) {
            st(l, t, a, e);
          } else {
            eu(l, t);
          }
        } else if (n._visibility & 2) {
          st(l, t, a, e);
        } else {
          n._visibility |= 2;
          oe(l, t, a, e, (t.subtreeFlags & 10256) !== 0 || false);
        }
        if (u & 2048) {
          Uc(i, t);
        }
        break;
      case 24:
        st(l, t, a, e);
        if (u & 2048) {
          Nc(t.alternate, t);
        }
        break;
      default:
        st(l, t, a, e);
    }
  }
  function oe(l, t, a, e, u) {
    u = u && ((t.subtreeFlags & 10256) !== 0 || false);
    t = t.child;
    while (t !== null) {
      var n = l;
      var i = t;
      var c = a;
      var f = e;
      var y = i.flags;
      switch (i.tag) {
        case 0:
        case 11:
        case 15:
          oe(n, i, c, f, u);
          tu(8, i);
          break;
        case 23:
          break;
        case 22:
          var b = i.stateNode;
          if (i.memoizedState !== null) {
            if (b._visibility & 2) {
              oe(n, i, c, f, u);
            } else {
              eu(n, i);
            }
          } else {
            b._visibility |= 2;
            oe(n, i, c, f, u);
          }
          if (u && y & 2048) {
            Uc(i.alternate, i);
          }
          break;
        case 24:
          oe(n, i, c, f, u);
          if (u && y & 2048) {
            Nc(i.alternate, i);
          }
          break;
        default:
          oe(n, i, c, f, u);
      }
      t = t.sibling;
    }
  }
  function eu(l, t) {
    if (t.subtreeFlags & 10256) {
      for (t = t.child; t !== null;) {
        var a = l;
        var e = t;
        var u = e.flags;
        switch (e.tag) {
          case 22:
            eu(a, e);
            if (u & 2048) {
              Uc(e.alternate, e);
            }
            break;
          case 24:
            eu(a, e);
            if (u & 2048) {
              Nc(e.alternate, e);
            }
            break;
          default:
            eu(a, e);
        }
        t = t.sibling;
      }
    }
  }
  var uu = 8192;
  function de(l, t, a) {
    if (l.subtreeFlags & uu) {
      for (l = l.child; l !== null;) {
        hd(l, t, a);
        l = l.sibling;
      }
    }
  }
  function hd(l, t, a) {
    switch (l.tag) {
      case 26:
        de(l, t, a);
        if (l.flags & uu && l.memoizedState !== null) {
          cv(a, ft, l.memoizedState, l.memoizedProps);
        }
        break;
      case 5:
        de(l, t, a);
        break;
      case 3:
      case 4:
        var e = ft;
        ft = Un(l.stateNode.containerInfo);
        de(l, t, a);
        ft = e;
        break;
      case 22:
        if (l.memoizedState === null) {
          e = l.alternate;
          if (e !== null && e.memoizedState !== null) {
            e = uu;
            uu = 16777216;
            de(l, t, a);
            uu = e;
          } else {
            de(l, t, a);
          }
        }
        break;
      default:
        de(l, t, a);
    }
  }
  function gd(l) {
    var t = l.alternate;
    if (t !== null && (l = t.child, l !== null)) {
      t.child = null;
      do {
        t = l.sibling;
        l.sibling = null;
        l = t;
      } while (l !== null);
    }
  }
  function nu(l) {
    var t = l.deletions;
    if ((l.flags & 16) !== 0) {
      if (t !== null) {
        for (var a = 0; a < t.length; a++) {
          var e = t[a];
          zl = e;
          Sd(e, l);
        }
      }
      gd(l);
    }
    if (l.subtreeFlags & 10256) {
      for (l = l.child; l !== null;) {
        bd(l);
        l = l.sibling;
      }
    }
  }
  function bd(l) {
    switch (l.tag) {
      case 0:
      case 11:
      case 15:
        nu(l);
        if (l.flags & 2048) {
          It(9, l, l.return);
        }
        break;
      case 3:
        nu(l);
        break;
      case 12:
        nu(l);
        break;
      case 22:
        var t = l.stateNode;
        if (l.memoizedState !== null && t._visibility & 2 && (l.return === null || l.return.tag !== 13)) {
          t._visibility &= -3;
          bn(l);
        } else {
          nu(l);
        }
        break;
      default:
        nu(l);
    }
  }
  function bn(l) {
    var t = l.deletions;
    if ((l.flags & 16) !== 0) {
      if (t !== null) {
        for (var a = 0; a < t.length; a++) {
          var e = t[a];
          zl = e;
          Sd(e, l);
        }
      }
      gd(l);
    }
    for (l = l.child; l !== null;) {
      t = l;
      switch (t.tag) {
        case 0:
        case 11:
        case 15:
          It(8, t, t.return);
          bn(t);
          break;
        case 22:
          a = t.stateNode;
          if (a._visibility & 2) {
            a._visibility &= -3;
            bn(t);
          }
          break;
        default:
          bn(t);
      }
      l = l.sibling;
    }
  }
  function Sd(l, t) {
    while (zl !== null) {
      var a = zl;
      switch (a.tag) {
        case 0:
        case 11:
        case 15:
          It(8, a, t);
          break;
        case 23:
        case 22:
          if (a.memoizedState !== null && a.memoizedState.cachePool !== null) {
            var e = a.memoizedState.cachePool.pool;
            if (e != null) {
              e.refCount++;
            }
          }
          break;
        case 24:
          Ze(a.memoizedState.cache);
      }
      e = a.child;
      if (e !== null) {
        e.return = a;
        zl = e;
      } else {
        l: for (a = l; zl !== null;) {
          e = zl;
          var u = e.sibling;
          var n = e.return;
          fd(e);
          if (e === a) {
            zl = null;
            break l;
          }
          if (u !== null) {
            u.return = n;
            zl = u;
            break l;
          }
          zl = n;
        }
      }
    }
  }
  var Ay = {
    getCacheForType: function (l) {
      var t = El(yl);
      var a = t.data.get(l);
      if (a === undefined) {
        a = l();
        t.data.set(l, a);
      }
      return a;
    },
    cacheSignal: function () {
      return El(yl).controller.signal;
    }
  };
  var Ey = typeof WeakMap == "function" ? WeakMap : Map;
  var V = 0;
  var tl = null;
  var B = null;
  var X = 0;
  var w = 0;
  var Vl = null;
  var Pt = false;
  var me = false;
  var Hc = false;
  var qt = 0;
  var sl = 0;
  var la = 0;
  var Ua = 0;
  var Cc = 0;
  var Ll = 0;
  var ye = 0;
  var iu = null;
  var Cl = null;
  var jc = false;
  var Sn = 0;
  var rd = 0;
  var rn = Infinity;
  var zn = null;
  var ta = null;
  var bl = 0;
  var aa = null;
  var ve = null;
  var Bt = 0;
  var qc = 0;
  var Bc = null;
  var zd = null;
  var cu = 0;
  var Yc = null;
  function Kl() {
    if ((V & 2) !== 0 && X !== 0) {
      return X & -X;
    } else if (r.T !== null) {
      return Vc();
    } else {
      return qf();
    }
  }
  function pd() {
    if (Ll === 0) {
      if ((X & 536870912) === 0 || R) {
        var l = Ou;
        Ou <<= 1;
        if ((Ou & 3932160) === 0) {
          Ou = 262144;
        }
        Ll = l;
      } else {
        Ll = 536870912;
      }
    }
    l = Ql.current;
    if (l !== null) {
      l.flags |= 32;
    }
    return Ll;
  }
  function jl(l, t, a) {
    if (l === tl && (w === 2 || w === 9) || l.cancelPendingCommit !== null) {
      he(l, 0);
      ea(l, X, Ll, false);
    }
    xe(l, a);
    if ((V & 2) === 0 || l !== tl) {
      if (l === tl) {
        if ((V & 2) === 0) {
          Ua |= a;
        }
        if (sl === 4) {
          ea(l, X, Ll, false);
        }
      }
      bt(l);
    }
  }
  function Ad(l, t, a) {
    if ((V & 6) !== 0) {
      throw Error(d(327));
    }
    var e = !a && (t & 127) === 0 && (t & l.expiredLanes) === 0 || Oe(l, t);
    var u = e ? _y(l, t) : Gc(l, t, true);
    var n = e;
    do {
      if (u === 0) {
        if (me && !e) {
          ea(l, t, 0, false);
        }
        break;
      } else {
        a = l.current.alternate;
        if (n && !Ty(a)) {
          u = Gc(l, t, false);
          n = false;
          continue;
        }
        if (u === 2) {
          n = t;
          if (l.errorRecoveryDisabledLanes & n) {
            var i = 0;
          } else {
            i = l.pendingLanes & -536870913;
            i = i !== 0 ? i : i & 536870912 ? 536870912 : 0;
          }
          if (i !== 0) {
            t = i;
            l: {
              var c = l;
              u = iu;
              var f = c.current.memoizedState.isDehydrated;
              if (f) {
                he(c, i).flags |= 256;
              }
              i = Gc(c, i, false);
              if (i !== 2) {
                if (Hc && !f) {
                  c.errorRecoveryDisabledLanes |= n;
                  Ua |= n;
                  u = 4;
                  break l;
                }
                n = Cl;
                Cl = u;
                if (n !== null) {
                  if (Cl === null) {
                    Cl = n;
                  } else {
                    Cl.push.apply(Cl, n);
                  }
                }
              }
              u = i;
            }
            n = false;
            if (u !== 2) {
              continue;
            }
          }
        }
        if (u === 1) {
          he(l, 0);
          ea(l, t, 0, true);
          break;
        }
        l: {
          e = l;
          n = u;
          switch (n) {
            case 0:
            case 1:
              throw Error(d(345));
            case 4:
              if ((t & 4194048) !== t) {
                break;
              }
            case 6:
              ea(e, t, Ll, !Pt);
              break l;
            case 2:
              Cl = null;
              break;
            case 3:
            case 5:
              break;
            default:
              throw Error(d(329));
          }
          if ((t & 62914560) === t && (u = Sn + 300 - Bl(), u > 10)) {
            ea(e, t, Ll, !Pt);
            if (Du(e, 0, true) !== 0) {
              break l;
            }
            Bt = t;
            e.timeoutHandle = Pd(Ed.bind(null, e, a, Cl, zn, jc, t, Ll, Ua, ye, Pt, n, "Throttled", -0, 0), u);
            break l;
          }
          Ed(e, a, Cl, zn, jc, t, Ll, Ua, ye, Pt, n, null, -0, 0);
        }
      }
      break;
    } while (true);
    bt(l);
  }
  function Ed(l, t, a, e, u, n, i, c, f, y, b, z, v, g) {
    l.timeoutHandle = -1;
    z = t.subtreeFlags;
    if (z & 8192 || (z & 16785408) === 16785408) {
      z = {
        stylesheets: null,
        count: 0,
        imgCount: 0,
        imgBytes: 0,
        suspenseyImages: [],
        waitingForImages: true,
        waitingForViewTransition: false,
        unsuspend: pt
      };
      hd(t, n, z);
      var O = (n & 62914560) === n ? Sn - Bl() : (n & 4194048) === n ? rd - Bl() : 0;
      O = fv(z, O);
      if (O !== null) {
        Bt = n;
        l.cancelPendingCommit = O(Nd.bind(null, l, t, n, a, e, u, i, c, f, b, z, null, v, g));
        ea(l, n, i, !y);
        return;
      }
    }
    Nd(l, t, n, a, e, u, i, c, f);
  }
  function Ty(l) {
    var t = l;
    for (;;) {
      var a = t.tag;
      if ((a === 0 || a === 11 || a === 15) && t.flags & 16384 && (a = t.updateQueue, a !== null && (a = a.stores, a !== null))) {
        for (var e = 0; e < a.length; e++) {
          var u = a[e];
          var n = u.getSnapshot;
          u = u.value;
          try {
            if (!Gl(n(), u)) {
              return false;
            }
          } catch {
            return false;
          }
        }
      }
      a = t.child;
      if (t.subtreeFlags & 16384 && a !== null) {
        a.return = t;
        t = a;
      } else {
        if (t === l) {
          break;
        }
        while (t.sibling === null) {
          if (t.return === null || t.return === l) {
            return true;
          }
          t = t.return;
        }
        t.sibling.return = t.return;
        t = t.sibling;
      }
    }
    return true;
  }
  function ea(l, t, a, e) {
    t &= ~Cc;
    t &= ~Ua;
    l.suspendedLanes |= t;
    l.pingedLanes &= ~t;
    if (e) {
      l.warmLanes |= t;
    }
    e = l.expirationTimes;
    for (var u = t; u > 0;) {
      var n = 31 - Xl(u);
      var i = 1 << n;
      e[n] = -1;
      u &= ~i;
    }
    if (a !== 0) {
      Hf(l, a, t);
    }
  }
  function pn() {
    if ((V & 6) === 0) {
      fu(0);
      return false;
    } else {
      return true;
    }
  }
  function Xc() {
    if (B !== null) {
      if (w === 0) {
        var l = B.return;
      } else {
        l = B;
        Mt = pa = null;
        lc(l);
        ne = null;
        Le = 0;
        l = B;
      }
      while (l !== null) {
        ld(l.alternate, l);
        l = l.return;
      }
      B = null;
    }
  }
  function he(l, t) {
    var a = l.timeoutHandle;
    if (a !== -1) {
      l.timeoutHandle = -1;
      Ly(a);
    }
    a = l.cancelPendingCommit;
    if (a !== null) {
      l.cancelPendingCommit = null;
      a();
    }
    Bt = 0;
    Xc();
    tl = l;
    B = a = Et(l.current, null);
    X = t;
    w = 0;
    Vl = null;
    Pt = false;
    me = Oe(l, t);
    Hc = false;
    ye = Ll = Cc = Ua = la = sl = 0;
    Cl = iu = null;
    jc = false;
    if ((t & 8) !== 0) {
      t |= t & 32;
    }
    var e = l.entangledLanes;
    if (e !== 0) {
      l = l.entanglements;
      e &= t;
      while (e > 0) {
        var u = 31 - Xl(e);
        var n = 1 << u;
        t |= l[u];
        e &= ~n;
      }
    }
    qt = t;
    Qu();
    return a;
  }
  function Td(l, t) {
    C = null;
    r.H = Ie;
    if (t === ue || t === Fu) {
      t = Gs();
      w = 3;
    } else if (t === Zi) {
      t = Gs();
      w = 4;
    } else {
      w = t === gc ? 8 : t !== null && typeof t == "object" && typeof t.then == "function" ? 6 : 1;
    }
    Vl = t;
    if (B === null) {
      sl = 1;
      on(l, Il(t, l.current));
    }
  }
  function Md() {
    var l = Ql.current;
    if (l === null) {
      return true;
    } else if ((X & 4194048) === X) {
      return at === null;
    } else if ((X & 62914560) === X || (X & 536870912) !== 0) {
      return l === at;
    } else {
      return false;
    }
  }
  function _d() {
    var l = r.H;
    r.H = Ie;
    if (l === null) {
      return Ie;
    } else {
      return l;
    }
  }
  function Od() {
    var l = r.A;
    r.A = Ay;
    return l;
  }
  function An() {
    sl = 4;
    if (!Pt && ((X & 4194048) === X || Ql.current === null)) {
      me = true;
    }
    if (((la & 134217727) !== 0 || (Ua & 134217727) !== 0) && tl !== null) {
      ea(tl, X, Ll, false);
    }
  }
  function Gc(l, t, a) {
    var e = V;
    V |= 2;
    var u = _d();
    var n = Od();
    if (tl !== l || X !== t) {
      zn = null;
      he(l, t);
    }
    t = false;
    var i = sl;
    l: do {
      try {
        if (w !== 0 && B !== null) {
          var c = B;
          var f = Vl;
          switch (w) {
            case 8:
              Xc();
              i = 6;
              break l;
            case 3:
            case 2:
            case 9:
            case 6:
              if (Ql.current === null) {
                t = true;
              }
              var y = w;
              w = 0;
              Vl = null;
              ge(l, c, f, y);
              if (a && me) {
                i = 0;
                break l;
              }
              break;
            default:
              y = w;
              w = 0;
              Vl = null;
              ge(l, c, f, y);
          }
        }
        My();
        i = sl;
        break;
      } catch (b) {
        Td(l, b);
      }
    } while (true);
    if (t) {
      l.shellSuspendCounter++;
    }
    Mt = pa = null;
    V = e;
    r.H = u;
    r.A = n;
    if (B === null) {
      tl = null;
      X = 0;
      Qu();
    }
    return i;
  }
  function My() {
    while (B !== null) {
      xd(B);
    }
  }
  function _y(l, t) {
    var a = V;
    V |= 2;
    var e = _d();
    var u = Od();
    if (tl !== l || X !== t) {
      zn = null;
      rn = Bl() + 500;
      he(l, t);
    } else {
      me = Oe(l, t);
    }
    l: do {
      try {
        if (w !== 0 && B !== null) {
          t = B;
          var n = Vl;
          t: switch (w) {
            case 1:
              w = 0;
              Vl = null;
              ge(l, t, n, 1);
              break;
            case 2:
            case 9:
              if (Ys(n)) {
                w = 0;
                Vl = null;
                Dd(t);
                break;
              }
              t = function () {
                if ((w === 2 || w === 9) && tl === l) {
                  w = 7;
                }
                bt(l);
              };
              n.then(t, t);
              break l;
            case 3:
              w = 7;
              break l;
            case 4:
              w = 5;
              break l;
            case 7:
              if (Ys(n)) {
                w = 0;
                Vl = null;
                Dd(t);
              } else {
                w = 0;
                Vl = null;
                ge(l, t, n, 7);
              }
              break;
            case 5:
              var i = null;
              switch (B.tag) {
                case 26:
                  i = B.memoizedState;
                case 5:
                case 27:
                  var c = B;
                  if (i ? vm(i) : c.stateNode.complete) {
                    w = 0;
                    Vl = null;
                    var f = c.sibling;
                    if (f !== null) {
                      B = f;
                    } else {
                      var y = c.return;
                      if (y !== null) {
                        B = y;
                        En(y);
                      } else {
                        B = null;
                      }
                    }
                    break t;
                  }
              }
              w = 0;
              Vl = null;
              ge(l, t, n, 5);
              break;
            case 6:
              w = 0;
              Vl = null;
              ge(l, t, n, 6);
              break;
            case 8:
              Xc();
              sl = 6;
              break l;
            default:
              throw Error(d(462));
          }
        }
        Oy();
        break;
      } catch (b) {
        Td(l, b);
      }
    } while (true);
    Mt = pa = null;
    r.H = e;
    r.A = u;
    V = a;
    if (B !== null) {
      return 0;
    } else {
      tl = null;
      X = 0;
      Qu();
      return sl;
    }
  }
  function Oy() {
    while (B !== null && !km()) {
      xd(B);
    }
  }
  function xd(l) {
    var t = Io(l.alternate, l, qt);
    l.memoizedProps = l.pendingProps;
    if (t === null) {
      En(l);
    } else {
      B = t;
    }
  }
  function Dd(l) {
    var t = l;
    var a = t.alternate;
    switch (t.tag) {
      case 15:
      case 0:
        t = Jo(a, t, t.pendingProps, t.type, undefined, X);
        break;
      case 11:
        t = Jo(a, t, t.pendingProps, t.type.render, t.ref, X);
        break;
      case 5:
        lc(t);
      default:
        ld(a, t);
        t = B = _s(t, qt);
        t = Io(a, t, qt);
    }
    l.memoizedProps = l.pendingProps;
    if (t === null) {
      En(l);
    } else {
      B = t;
    }
  }
  function ge(l, t, a, e) {
    Mt = pa = null;
    lc(t);
    ne = null;
    Le = 0;
    var u = t.return;
    try {
      if (hy(l, u, t, a, X)) {
        sl = 1;
        on(l, Il(a, l.current));
        B = null;
        return;
      }
    } catch (n) {
      if (u !== null) {
        B = u;
        throw n;
      }
      sl = 1;
      on(l, Il(a, l.current));
      B = null;
      return;
    }
    if (t.flags & 32768) {
      if (R || e === 1) {
        l = true;
      } else if (me || (X & 536870912) !== 0) {
        l = false;
      } else {
        Pt = l = true;
        if (e === 2 || e === 9 || e === 3 || e === 6) {
          e = Ql.current;
          if (e !== null && e.tag === 13) {
            e.flags |= 16384;
          }
        }
      }
      Ud(t, l);
    } else {
      En(t);
    }
  }
  function En(l) {
    var t = l;
    do {
      if ((t.flags & 32768) !== 0) {
        Ud(t, Pt);
        return;
      }
      l = t.return;
      var a = Sy(t.alternate, t, qt);
      if (a !== null) {
        B = a;
        return;
      }
      t = t.sibling;
      if (t !== null) {
        B = t;
        return;
      }
      B = t = l;
    } while (t !== null);
    if (sl === 0) {
      sl = 5;
    }
  }
  function Ud(l, t) {
    do {
      var a = ry(l.alternate, l);
      if (a !== null) {
        a.flags &= 32767;
        B = a;
        return;
      }
      a = l.return;
      if (a !== null) {
        a.flags |= 32768;
        a.subtreeFlags = 0;
        a.deletions = null;
      }
      if (!t && (l = l.sibling, l !== null)) {
        B = l;
        return;
      }
      B = l = a;
    } while (l !== null);
    sl = 6;
    B = null;
  }
  function Nd(l, t, a, e, u, n, i, c, f) {
    l.cancelPendingCommit = null;
    do {
      Tn();
    } while (bl !== 0);
    if ((V & 6) !== 0) {
      throw Error(d(327));
    }
    if (t !== null) {
      if (t === l.current) {
        throw Error(d(177));
      }
      n = t.lanes | t.childLanes;
      n |= Oi;
      i0(l, a, n, i, c, f);
      if (l === tl) {
        B = tl = null;
        X = 0;
      }
      ve = t;
      aa = l;
      Bt = a;
      qc = n;
      Bc = u;
      zd = e;
      if ((t.subtreeFlags & 10256) !== 0 || (t.flags & 10256) !== 0) {
        l.callbackNode = null;
        l.callbackPriority = 0;
        Ny(Mu, function () {
          Bd();
          return null;
        });
      } else {
        l.callbackNode = null;
        l.callbackPriority = 0;
      }
      e = (t.flags & 13878) !== 0;
      if ((t.subtreeFlags & 13878) !== 0 || e) {
        e = r.T;
        r.T = null;
        u = M.p;
        M.p = 2;
        i = V;
        V |= 4;
        try {
          zy(l, t, a);
        } finally {
          V = i;
          M.p = u;
          r.T = e;
        }
      }
      bl = 1;
      Hd();
      Cd();
      jd();
    }
  }
  function Hd() {
    if (bl === 1) {
      bl = 0;
      var l = aa;
      var t = ve;
      var a = (t.flags & 13878) !== 0;
      if ((t.subtreeFlags & 13878) !== 0 || a) {
        a = r.T;
        r.T = null;
        var e = M.p;
        M.p = 2;
        var u = V;
        V |= 4;
        try {
          md(t, l);
          var n = $c;
          var i = bs(l.containerInfo);
          var c = n.focusedElem;
          var f = n.selectionRange;
          if (i !== c && c && c.ownerDocument && gs(c.ownerDocument.documentElement, c)) {
            if (f !== null && Ai(c)) {
              var y = f.start;
              var b = f.end;
              if (b === undefined) {
                b = y;
              }
              if ("selectionStart" in c) {
                c.selectionStart = y;
                c.selectionEnd = Math.min(b, c.value.length);
              } else {
                var z = c.ownerDocument || document;
                var v = z && z.defaultView || window;
                if (v.getSelection) {
                  var g = v.getSelection();
                  var O = c.textContent.length;
                  var U = Math.min(f.start, O);
                  var I = f.end === undefined ? U : Math.min(f.end, O);
                  if (!g.extend && U > I) {
                    i = I;
                    I = U;
                    U = i;
                  }
                  var o = hs(c, U);
                  var s = hs(c, I);
                  if (o && s && (g.rangeCount !== 1 || g.anchorNode !== o.node || g.anchorOffset !== o.offset || g.focusNode !== s.node || g.focusOffset !== s.offset)) {
                    var m = z.createRange();
                    m.setStart(o.node, o.offset);
                    g.removeAllRanges();
                    if (U > I) {
                      g.addRange(m);
                      g.extend(s.node, s.offset);
                    } else {
                      m.setEnd(s.node, s.offset);
                      g.addRange(m);
                    }
                  }
                }
              }
            }
            z = [];
            g = c;
            while (g = g.parentNode) {
              if (g.nodeType === 1) {
                z.push({
                  element: g,
                  left: g.scrollLeft,
                  top: g.scrollTop
                });
              }
            }
            if (typeof c.focus == "function") {
              c.focus();
            }
            c = 0;
            for (; c < z.length; c++) {
              var S = z[c];
              S.element.scrollLeft = S.left;
              S.element.scrollTop = S.top;
            }
          }
          Bn = !!kc;
          $c = kc = null;
        } finally {
          V = u;
          M.p = e;
          r.T = a;
        }
      }
      l.current = t;
      bl = 2;
    }
  }
  function Cd() {
    if (bl === 2) {
      bl = 0;
      var l = aa;
      var t = ve;
      var a = (t.flags & 8772) !== 0;
      if ((t.subtreeFlags & 8772) !== 0 || a) {
        a = r.T;
        r.T = null;
        var e = M.p;
        M.p = 2;
        var u = V;
        V |= 4;
        try {
          cd(l, t.alternate, t);
        } finally {
          V = u;
          M.p = e;
          r.T = a;
        }
      }
      bl = 3;
    }
  }
  function jd() {
    if (bl === 4 || bl === 3) {
      bl = 0;
      $m();
      var l = aa;
      var t = ve;
      var a = Bt;
      var e = zd;
      if ((t.subtreeFlags & 10256) !== 0 || (t.flags & 10256) !== 0) {
        bl = 5;
      } else {
        bl = 0;
        ve = aa = null;
        qd(l, l.pendingLanes);
      }
      var u = l.pendingLanes;
      if (u === 0) {
        ta = null;
      }
      ei(a);
      t = t.stateNode;
      if (Yl && typeof Yl.onCommitFiberRoot == "function") {
        try {
          Yl.onCommitFiberRoot(_e, t, undefined, (t.current.flags & 128) === 128);
        } catch {}
      }
      if (e !== null) {
        t = r.T;
        u = M.p;
        M.p = 2;
        r.T = null;
        try {
          var n = l.onRecoverableError;
          for (var i = 0; i < e.length; i++) {
            var c = e[i];
            n(c.value, {
              componentStack: c.stack
            });
          }
        } finally {
          r.T = t;
          M.p = u;
        }
      }
      if ((Bt & 3) !== 0) {
        Tn();
      }
      bt(l);
      u = l.pendingLanes;
      if ((a & 261930) !== 0 && (u & 42) !== 0) {
        if (l === Yc) {
          cu++;
        } else {
          cu = 0;
          Yc = l;
        }
      } else {
        cu = 0;
      }
      fu(0);
    }
  }
  function qd(l, t) {
    if ((l.pooledCacheLanes &= t) === 0) {
      t = l.pooledCache;
      if (t != null) {
        l.pooledCache = null;
        Ze(t);
      }
    }
  }
  function Tn() {
    Hd();
    Cd();
    jd();
    return Bd();
  }
  function Bd() {
    if (bl !== 5) {
      return false;
    }
    var l = aa;
    var t = qc;
    qc = 0;
    var a = ei(Bt);
    var e = r.T;
    var u = M.p;
    try {
      M.p = a < 32 ? 32 : a;
      r.T = null;
      a = Bc;
      Bc = null;
      var n = aa;
      var i = Bt;
      bl = 0;
      ve = aa = null;
      Bt = 0;
      if ((V & 6) !== 0) {
        throw Error(d(331));
      }
      var c = V;
      V |= 4;
      bd(n.current);
      vd(n, n.current, i, a);
      V = c;
      fu(0, false);
      if (Yl && typeof Yl.onPostCommitFiberRoot == "function") {
        try {
          Yl.onPostCommitFiberRoot(_e, n);
        } catch {}
      }
      return true;
    } finally {
      M.p = u;
      r.T = e;
      qd(l, t);
    }
  }
  function Yd(l, t, a) {
    t = Il(a, t);
    t = hc(l.stateNode, t, 2);
    l = Ft(l, t, 2);
    if (l !== null) {
      xe(l, 2);
      bt(l);
    }
  }
  function W(l, t, a) {
    if (l.tag === 3) {
      Yd(l, l, a);
    } else {
      while (t !== null) {
        if (t.tag === 3) {
          Yd(t, l, a);
          break;
        } else if (t.tag === 1) {
          var e = t.stateNode;
          if (typeof t.type.getDerivedStateFromError == "function" || typeof e.componentDidCatch == "function" && (ta === null || !ta.has(e))) {
            l = Il(a, l);
            a = Xo(2);
            e = Ft(t, a, 2);
            if (e !== null) {
              Go(a, e, t, l);
              xe(e, 2);
              bt(e);
            }
            break;
          }
        }
        t = t.return;
      }
    }
  }
  function Rc(l, t, a) {
    var e = l.pingCache;
    if (e === null) {
      e = l.pingCache = new Ey();
      var u = new Set();
      e.set(t, u);
    } else {
      u = e.get(t);
      if (u === undefined) {
        u = new Set();
        e.set(t, u);
      }
    }
    if (!u.has(a)) {
      Hc = true;
      u.add(a);
      l = xy.bind(null, l, t, a);
      t.then(l, l);
    }
  }
  function xy(l, t, a) {
    var e = l.pingCache;
    if (e !== null) {
      e.delete(t);
    }
    l.pingedLanes |= l.suspendedLanes & a;
    l.warmLanes &= ~a;
    if (tl === l && (X & a) === a) {
      if (sl === 4 || sl === 3 && (X & 62914560) === X && Bl() - Sn < 300) {
        if ((V & 2) === 0) {
          he(l, 0);
        }
      } else {
        Cc |= a;
      }
      if (ye === X) {
        ye = 0;
      }
    }
    bt(l);
  }
  function Xd(l, t) {
    if (t === 0) {
      t = Nf();
    }
    l = Sa(l, t);
    if (l !== null) {
      xe(l, t);
      bt(l);
    }
  }
  function Dy(l) {
    var t = l.memoizedState;
    var a = 0;
    if (t !== null) {
      a = t.retryLane;
    }
    Xd(l, a);
  }
  function Uy(l, t) {
    var a = 0;
    switch (l.tag) {
      case 31:
      case 13:
        var e = l.stateNode;
        var u = l.memoizedState;
        if (u !== null) {
          a = u.retryLane;
        }
        break;
      case 19:
        e = l.stateNode;
        break;
      case 22:
        e = l.stateNode._retryCache;
        break;
      default:
        throw Error(d(314));
    }
    if (e !== null) {
      e.delete(t);
    }
    Xd(l, a);
  }
  function Ny(l, t) {
    return Pn(l, t);
  }
  var Mn = null;
  var be = null;
  var Qc = false;
  var _n = false;
  var Zc = false;
  var ua = 0;
  function bt(l) {
    if (l !== be && l.next === null) {
      if (be === null) {
        Mn = be = l;
      } else {
        be = be.next = l;
      }
    }
    _n = true;
    if (!Qc) {
      Qc = true;
      Cy();
    }
  }
  function fu(l, t) {
    if (!Zc && _n) {
      Zc = true;
      do {
        for (var a = false, e = Mn; e !== null;) {
          if (l !== 0) {
            var u = e.pendingLanes;
            if (u === 0) {
              var n = 0;
            } else {
              var i = e.suspendedLanes;
              var c = e.pingedLanes;
              n = (1 << 31 - Xl(l | 42) + 1) - 1;
              n &= u & ~(i & ~c);
              n = n & 201326741 ? n & 201326741 | 1 : n ? n | 2 : 0;
            }
            if (n !== 0) {
              a = true;
              Zd(e, n);
            }
          } else {
            n = X;
            n = Du(e, e === tl ? n : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1);
            if ((n & 3) !== 0 && !Oe(e, n)) {
              a = true;
              Zd(e, n);
            }
          }
          e = e.next;
        }
      } while (a);
      Zc = false;
    }
  }
  function Hy() {
    Gd();
  }
  function Gd() {
    _n = Qc = false;
    var l = 0;
    if (ua !== 0 && Vy()) {
      l = ua;
    }
    var t = Bl();
    for (var a = null, e = Mn; e !== null;) {
      var u = e.next;
      var n = Rd(e, t);
      if (n === 0) {
        e.next = null;
        if (a === null) {
          Mn = u;
        } else {
          a.next = u;
        }
        if (u === null) {
          be = a;
        }
      } else {
        a = e;
        if (l !== 0 || (n & 3) !== 0) {
          _n = true;
        }
      }
      e = u;
    }
    if (bl === 0 || bl === 5) {
      fu(l);
    }
    if (ua !== 0) {
      ua = 0;
    }
  }
  function Rd(l, t) {
    var a = l.suspendedLanes;
    var e = l.pingedLanes;
    var u = l.expirationTimes;
    for (var n = l.pendingLanes & -62914561; n > 0;) {
      var i = 31 - Xl(n);
      var c = 1 << i;
      var f = u[i];
      if (f === -1) {
        if ((c & a) === 0 || (c & e) !== 0) {
          u[i] = n0(c, t);
        }
      } else if (f <= t) {
        l.expiredLanes |= c;
      }
      n &= ~c;
    }
    t = tl;
    a = X;
    a = Du(l, l === t ? a : 0, l.cancelPendingCommit !== null || l.timeoutHandle !== -1);
    e = l.callbackNode;
    if (a === 0 || l === t && (w === 2 || w === 9) || l.cancelPendingCommit !== null) {
      if (e !== null && e !== null) {
        li(e);
      }
      l.callbackNode = null;
      return l.callbackPriority = 0;
    }
    if ((a & 3) === 0 || Oe(l, a)) {
      t = a & -a;
      if (t === l.callbackPriority) {
        return t;
      }
      if (e !== null) {
        li(e);
      }
      switch (ei(a)) {
        case 2:
        case 8:
          a = Df;
          break;
        case 32:
          a = Mu;
          break;
        case 268435456:
          a = Uf;
          break;
        default:
          a = Mu;
      }
      e = Qd.bind(null, l);
      a = Pn(a, e);
      l.callbackPriority = t;
      l.callbackNode = a;
      return t;
    }
    if (e !== null && e !== null) {
      li(e);
    }
    l.callbackPriority = 2;
    l.callbackNode = null;
    return 2;
  }
  function Qd(l, t) {
    if (bl !== 0 && bl !== 5) {
      l.callbackNode = null;
      l.callbackPriority = 0;
      return null;
    }
    var a = l.callbackNode;
    if (Tn() && l.callbackNode !== a) {
      return null;
    }
    var e = X;
    e = Du(l, l === tl ? e : 0, l.cancelPendingCommit !== null || l.timeoutHandle !== -1);
    if (e === 0) {
      return null;
    } else {
      Ad(l, e, t);
      Rd(l, Bl());
      if (l.callbackNode != null && l.callbackNode === a) {
        return Qd.bind(null, l);
      } else {
        return null;
      }
    }
  }
  function Zd(l, t) {
    if (Tn()) {
      return null;
    }
    Ad(l, t, true);
  }
  function Cy() {
    Ky(function () {
      if ((V & 6) !== 0) {
        Pn(xf, Hy);
      } else {
        Gd();
      }
    });
  }
  function Vc() {
    if (ua === 0) {
      var l = ae;
      if (l === 0) {
        l = _u;
        _u <<= 1;
        if ((_u & 261888) === 0) {
          _u = 256;
        }
      }
      ua = l;
    }
    return ua;
  }
  function Vd(l) {
    if (l == null || typeof l == "symbol" || typeof l == "boolean") {
      return null;
    } else if (typeof l == "function") {
      return l;
    } else {
      return Cu("" + l);
    }
  }
  function Ld(l, t) {
    var a = t.ownerDocument.createElement("input");
    a.name = t.name;
    a.value = t.value;
    if (l.id) {
      a.setAttribute("form", l.id);
    }
    t.parentNode.insertBefore(a, t);
    l = new FormData(l);
    a.parentNode.removeChild(a);
    return l;
  }
  function jy(l, t, a, e, u) {
    if (t === "submit" && a && a.stateNode === u) {
      var n = Vd((u[xl] || null).action);
      var i = e.submitter;
      if (i) {
        t = (t = i[xl] || null) ? Vd(t.formAction) : i.getAttribute("formAction");
        if (t !== null) {
          n = t;
          i = null;
        }
      }
      var c = new Yu("action", "action", null, e, u);
      l.push({
        event: c,
        listeners: [{
          instance: null,
          listener: function () {
            if (e.defaultPrevented) {
              if (ua !== 0) {
                var f = i ? Ld(u, i) : new FormData(u);
                sc(a, {
                  pending: true,
                  data: f,
                  method: u.method,
                  action: n
                }, null, f);
              }
            } else if (typeof n == "function") {
              c.preventDefault();
              f = i ? Ld(u, i) : new FormData(u);
              sc(a, {
                pending: true,
                data: f,
                method: u.method,
                action: n
              }, n, f);
            }
          },
          currentTarget: u
        }]
      });
    }
  }
  for (var Lc = 0; Lc < _i.length; Lc++) {
    var Kc = _i[Lc];
    var qy = Kc.toLowerCase();
    var By = Kc[0].toUpperCase() + Kc.slice(1);
    ct(qy, "on" + By);
  }
  ct(zs, "onAnimationEnd");
  ct(ps, "onAnimationIteration");
  ct(As, "onAnimationStart");
  ct("dblclick", "onDoubleClick");
  ct("focusin", "onFocus");
  ct("focusout", "onBlur");
  ct(I0, "onTransitionRun");
  ct(P0, "onTransitionStart");
  ct(ly, "onTransitionCancel");
  ct(Es, "onTransitionEnd");
  Za("onMouseEnter", ["mouseout", "mouseover"]);
  Za("onMouseLeave", ["mouseout", "mouseover"]);
  Za("onPointerEnter", ["pointerout", "pointerover"]);
  Za("onPointerLeave", ["pointerout", "pointerover"]);
  va("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" "));
  va("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));
  va("onBeforeInput", ["compositionend", "keypress", "textInput", "paste"]);
  va("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" "));
  va("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" "));
  va("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" "));
  var su = "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(" ");
  var Yy = new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(su));
  function Kd(l, t) {
    t = (t & 4) !== 0;
    for (var a = 0; a < l.length; a++) {
      var e = l[a];
      var u = e.event;
      e = e.listeners;
      l: {
        var n = undefined;
        if (t) {
          for (var i = e.length - 1; i >= 0; i--) {
            var c = e[i];
            var f = c.instance;
            var y = c.currentTarget;
            c = c.listener;
            if (f !== n && u.isPropagationStopped()) {
              break l;
            }
            n = c;
            u.currentTarget = y;
            try {
              n(u);
            } catch (b) {
              Ru(b);
            }
            u.currentTarget = null;
            n = f;
          }
        } else {
          for (i = 0; i < e.length; i++) {
            c = e[i];
            f = c.instance;
            y = c.currentTarget;
            c = c.listener;
            if (f !== n && u.isPropagationStopped()) {
              break l;
            }
            n = c;
            u.currentTarget = y;
            try {
              n(u);
            } catch (b) {
              Ru(b);
            }
            u.currentTarget = null;
            n = f;
          }
        }
      }
    }
  }
  function Y(l, t) {
    var a = t[ui];
    if (a === undefined) {
      a = t[ui] = new Set();
    }
    var e = l + "__bubble";
    if (!a.has(e)) {
      Jd(t, l, 2, false);
      a.add(e);
    }
  }
  function Jc(l, t, a) {
    var e = 0;
    if (t) {
      e |= 4;
    }
    Jd(a, l, e, t);
  }
  var On = "_reactListening" + Math.random().toString(36).slice(2);
  function wc(l) {
    if (!l[On]) {
      l[On] = true;
      Xf.forEach(function (a) {
        if (a !== "selectionchange") {
          if (!Yy.has(a)) {
            Jc(a, false, l);
          }
          Jc(a, true, l);
        }
      });
      var t = l.nodeType === 9 ? l : l.ownerDocument;
      if (t !== null && !t[On]) {
        t[On] = true;
        Jc("selectionchange", false, t);
      }
    }
  }
  function Jd(l, t, a, e) {
    switch (pm(t)) {
      case 2:
        var u = dv;
        break;
      case 8:
        u = mv;
        break;
      default:
        u = sf;
    }
    a = u.bind(null, t, a, l);
    u = undefined;
    if (!!yi && (t === "touchstart" || t === "touchmove" || t === "wheel")) {
      u = true;
    }
    if (e) {
      if (u !== undefined) {
        l.addEventListener(t, a, {
          capture: true,
          passive: u
        });
      } else {
        l.addEventListener(t, a, true);
      }
    } else if (u !== undefined) {
      l.addEventListener(t, a, {
        passive: u
      });
    } else {
      l.addEventListener(t, a, false);
    }
  }
  function Wc(l, t, a, e, u) {
    var n = e;
    if ((t & 1) === 0 && (t & 2) === 0 && e !== null) {
      l: while (true) {
        if (e === null) {
          return;
        }
        var i = e.tag;
        if (i === 3 || i === 4) {
          var c = e.stateNode.containerInfo;
          if (c === u) {
            break;
          }
          if (i === 4) {
            for (i = e.return; i !== null;) {
              var f = i.tag;
              if ((f === 3 || f === 4) && i.stateNode.containerInfo === u) {
                return;
              }
              i = i.return;
            }
          }
          while (c !== null) {
            i = Ga(c);
            if (i === null) {
              return;
            }
            f = i.tag;
            if (f === 5 || f === 6 || f === 26 || f === 27) {
              e = n = i;
              continue l;
            }
            c = c.parentNode;
          }
        }
        e = e.return;
      }
    }
    kf(function () {
      var y = n;
      var b = di(a);
      var z = [];
      l: {
        var v = Ts.get(l);
        if (v !== undefined) {
          var g = Yu;
          var O = l;
          switch (l) {
            case "keypress":
              if (qu(a) === 0) {
                break l;
              }
            case "keydown":
            case "keyup":
              g = U0;
              break;
            case "focusin":
              O = "focus";
              g = bi;
              break;
            case "focusout":
              O = "blur";
              g = bi;
              break;
            case "beforeblur":
            case "afterblur":
              g = bi;
              break;
            case "click":
              if (a.button === 2) {
                break l;
              }
            case "auxclick":
            case "dblclick":
            case "mousedown":
            case "mousemove":
            case "mouseup":
            case "mouseout":
            case "mouseover":
            case "contextmenu":
              g = Pf;
              break;
            case "drag":
            case "dragend":
            case "dragenter":
            case "dragexit":
            case "dragleave":
            case "dragover":
            case "dragstart":
            case "drop":
              g = S0;
              break;
            case "touchcancel":
            case "touchend":
            case "touchmove":
            case "touchstart":
              g = C0;
              break;
            case zs:
            case ps:
            case As:
              g = p0;
              break;
            case Es:
              g = q0;
              break;
            case "scroll":
            case "scrollend":
              g = g0;
              break;
            case "wheel":
              g = Y0;
              break;
            case "copy":
            case "cut":
            case "paste":
              g = E0;
              break;
            case "gotpointercapture":
            case "lostpointercapture":
            case "pointercancel":
            case "pointerdown":
            case "pointermove":
            case "pointerout":
            case "pointerover":
            case "pointerup":
              g = ts;
              break;
            case "toggle":
            case "beforetoggle":
              g = G0;
          }
          var U = (t & 4) !== 0;
          var I = !U && (l === "scroll" || l === "scrollend");
          var o = U ? v !== null ? v + "Capture" : null : v;
          U = [];
          for (var s = y, m; s !== null;) {
            var S = s;
            m = S.stateNode;
            S = S.tag;
            if ((S === 5 || S === 26 || S === 27) && m !== null && o !== null) {
              S = Ne(s, o);
              if (S != null) {
                U.push(ou(s, S, m));
              }
            }
            if (I) {
              break;
            }
            s = s.return;
          }
          if (U.length > 0) {
            v = new g(v, O, null, a, b);
            z.push({
              event: v,
              listeners: U
            });
          }
        }
      }
      if ((t & 7) === 0) {
        l: {
          v = l === "mouseover" || l === "pointerover";
          g = l === "mouseout" || l === "pointerout";
          if (v && a !== oi && (O = a.relatedTarget || a.fromElement) && (Ga(O) || O[Xa])) {
            break l;
          }
          if ((g || v) && (v = b.window === b ? b : (v = b.ownerDocument) ? v.defaultView || v.parentWindow : window, g ? (O = a.relatedTarget || a.toElement, g = y, O = O ? Ga(O) : null, O !== null && (I = E(O), U = O.tag, O !== I || U !== 5 && U !== 27 && U !== 6) && (O = null)) : (g = null, O = y), g !== O)) {
            U = Pf;
            S = "onMouseLeave";
            o = "onMouseEnter";
            s = "mouse";
            if (l === "pointerout" || l === "pointerover") {
              U = ts;
              S = "onPointerLeave";
              o = "onPointerEnter";
              s = "pointer";
            }
            I = g == null ? v : Ue(g);
            m = O == null ? v : Ue(O);
            v = new U(S, s + "leave", g, a, b);
            v.target = I;
            v.relatedTarget = m;
            S = null;
            if (Ga(b) === y) {
              U = new U(o, s + "enter", O, a, b);
              U.target = m;
              U.relatedTarget = I;
              S = U;
            }
            I = S;
            if (g && O) {
              t: {
                U = Xy;
                o = g;
                s = O;
                m = 0;
                S = o;
                for (; S; S = U(S)) {
                  m++;
                }
                S = 0;
                for (var D = s; D; D = U(D)) {
                  S++;
                }
                while (m - S > 0) {
                  o = U(o);
                  m--;
                }
                while (S - m > 0) {
                  s = U(s);
                  S--;
                }
                while (m--) {
                  if (o === s || s !== null && o === s.alternate) {
                    U = o;
                    break t;
                  }
                  o = U(o);
                  s = U(s);
                }
                U = null;
              }
            } else {
              U = null;
            }
            if (g !== null) {
              wd(z, v, g, U, false);
            }
            if (O !== null && I !== null) {
              wd(z, I, O, U, true);
            }
          }
        }
        l: {
          v = y ? Ue(y) : window;
          g = v.nodeName && v.nodeName.toLowerCase();
          if (g === "select" || g === "input" && v.type === "file") {
            var Q = ss;
          } else if (cs(v)) {
            if (os) {
              Q = F0;
            } else {
              Q = w0;
              var x = J0;
            }
          } else {
            g = v.nodeName;
            if (!g || g.toLowerCase() !== "input" || v.type !== "checkbox" && v.type !== "radio") {
              if (y && si(y.elementType)) {
                Q = ss;
              }
            } else {
              Q = W0;
            }
          }
          if (Q &&= Q(l, y)) {
            fs(z, Q, a, b);
            break l;
          }
          if (x) {
            x(l, v, y);
          }
          if (l === "focusout" && y && v.type === "number" && y.memoizedProps.value != null) {
            fi(v, "number", v.value);
          }
        }
        x = y ? Ue(y) : window;
        switch (l) {
          case "focusin":
            if (cs(x) || x.contentEditable === "true") {
              Wa = x;
              Ei = y;
              Ge = null;
            }
            break;
          case "focusout":
            Ge = Ei = Wa = null;
            break;
          case "mousedown":
            Ti = true;
            break;
          case "contextmenu":
          case "mouseup":
          case "dragend":
            Ti = false;
            Ss(z, a, b);
            break;
          case "selectionchange":
            if ($0) {
              break;
            }
          case "keydown":
          case "keyup":
            Ss(z, a, b);
        }
        var q;
        if (ri) {
          l: {
            switch (l) {
              case "compositionstart":
                var G = "onCompositionStart";
                break l;
              case "compositionend":
                G = "onCompositionEnd";
                break l;
              case "compositionupdate":
                G = "onCompositionUpdate";
                break l;
            }
            G = undefined;
          }
        } else if (wa) {
          if (ns(l, a)) {
            G = "onCompositionEnd";
          }
        } else if (l === "keydown" && a.keyCode === 229) {
          G = "onCompositionStart";
        }
        if (G) {
          if (as && a.locale !== "ko") {
            if (wa || G !== "onCompositionStart") {
              if (G === "onCompositionEnd" && wa) {
                q = $f();
              }
            } else {
              Zt = b;
              vi = "value" in Zt ? Zt.value : Zt.textContent;
              wa = true;
            }
          }
          x = xn(y, G);
          if (x.length > 0) {
            G = new ls(G, l, null, a, b);
            z.push({
              event: G,
              listeners: x
            });
            if (q) {
              G.data = q;
            } else {
              q = is(a);
              if (q !== null) {
                G.data = q;
              }
            }
          }
        }
        if (q = Q0 ? Z0(l, a) : V0(l, a)) {
          G = xn(y, "onBeforeInput");
          if (G.length > 0) {
            x = new ls("onBeforeInput", "beforeinput", null, a, b);
            z.push({
              event: x,
              listeners: G
            });
            x.data = q;
          }
        }
        jy(z, l, y, a, b);
      }
      Kd(z, t);
    });
  }
  function ou(l, t, a) {
    return {
      instance: l,
      listener: t,
      currentTarget: a
    };
  }
  function xn(l, t) {
    var a = t + "Capture";
    var e = [];
    for (; l !== null;) {
      var u = l;
      var n = u.stateNode;
      u = u.tag;
      if ((u === 5 || u === 26 || u === 27) && n !== null) {
        u = Ne(l, a);
        if (u != null) {
          e.unshift(ou(l, u, n));
        }
        u = Ne(l, t);
        if (u != null) {
          e.push(ou(l, u, n));
        }
      }
      if (l.tag === 3) {
        return e;
      }
      l = l.return;
    }
    return [];
  }
  function Xy(l) {
    if (l === null) {
      return null;
    }
    do {
      l = l.return;
    } while (l && l.tag !== 5 && l.tag !== 27);
    return l || null;
  }
  function wd(l, t, a, e, u) {
    var n = t._reactName;
    var i = [];
    for (; a !== null && a !== e;) {
      var c = a;
      var f = c.alternate;
      var y = c.stateNode;
      c = c.tag;
      if (f !== null && f === e) {
        break;
      }
      if ((c === 5 || c === 26 || c === 27) && y !== null) {
        f = y;
        if (u) {
          y = Ne(a, n);
          if (y != null) {
            i.unshift(ou(a, y, f));
          }
        } else if (!u) {
          y = Ne(a, n);
          if (y != null) {
            i.push(ou(a, y, f));
          }
        }
      }
      a = a.return;
    }
    if (i.length !== 0) {
      l.push({
        event: t,
        listeners: i
      });
    }
  }
  var Gy = /\r\n?/g;
  var Ry = /\u0000|\uFFFD/g;
  function Wd(l) {
    return (typeof l == "string" ? l : "" + l).replace(Gy, `
`).replace(Ry, "");
  }
  function Fd(l, t) {
    t = Wd(t);
    return Wd(l) === t;
  }
  function $(l, t, a, e, u, n) {
    switch (a) {
      case "children":
        if (typeof e == "string") {
          if (t !== "body" && (t !== "textarea" || e !== "")) {
            La(l, e);
          }
        } else if ((typeof e == "number" || typeof e == "bigint") && t !== "body") {
          La(l, "" + e);
        }
        break;
      case "className":
        Nu(l, "class", e);
        break;
      case "tabIndex":
        Nu(l, "tabindex", e);
        break;
      case "dir":
      case "role":
      case "viewBox":
      case "width":
      case "height":
        Nu(l, a, e);
        break;
      case "style":
        Wf(l, e, n);
        break;
      case "data":
        if (t !== "object") {
          Nu(l, "data", e);
          break;
        }
      case "src":
      case "href":
        if (e === "" && (t !== "a" || a !== "href")) {
          l.removeAttribute(a);
          break;
        }
        if (e == null || typeof e == "function" || typeof e == "symbol" || typeof e == "boolean") {
          l.removeAttribute(a);
          break;
        }
        e = Cu("" + e);
        l.setAttribute(a, e);
        break;
      case "action":
      case "formAction":
        if (typeof e == "function") {
          l.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 if (typeof n == "function") {
          if (a === "formAction") {
            if (t !== "input") {
              $(l, t, "name", u.name, u, null);
            }
            $(l, t, "formEncType", u.formEncType, u, null);
            $(l, t, "formMethod", u.formMethod, u, null);
            $(l, t, "formTarget", u.formTarget, u, null);
          } else {
            $(l, t, "encType", u.encType, u, null);
            $(l, t, "method", u.method, u, null);
            $(l, t, "target", u.target, u, null);
          }
        }
        if (e == null || typeof e == "symbol" || typeof e == "boolean") {
          l.removeAttribute(a);
          break;
        }
        e = Cu("" + e);
        l.setAttribute(a, e);
        break;
      case "onClick":
        if (e != null) {
          l.onclick = pt;
        }
        break;
      case "onScroll":
        if (e != null) {
          Y("scroll", l);
        }
        break;
      case "onScrollEnd":
        if (e != null) {
          Y("scrollend", l);
        }
        break;
      case "dangerouslySetInnerHTML":
        if (e != null) {
          if (typeof e != "object" || !("__html" in e)) {
            throw Error(d(61));
          }
          a = e.__html;
          if (a != null) {
            if (u.children != null) {
              throw Error(d(60));
            }
            l.innerHTML = a;
          }
        }
        break;
      case "multiple":
        l.multiple = e && typeof e != "function" && typeof e != "symbol";
        break;
      case "muted":
        l.muted = e && typeof e != "function" && typeof e != "symbol";
        break;
      case "suppressContentEditableWarning":
      case "suppressHydrationWarning":
      case "defaultValue":
      case "defaultChecked":
      case "innerHTML":
      case "ref":
        break;
      case "autoFocus":
        break;
      case "xlinkHref":
        if (e == null || typeof e == "function" || typeof e == "boolean" || typeof e == "symbol") {
          l.removeAttribute("xlink:href");
          break;
        }
        a = Cu("" + e);
        l.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":
        if (e != null && typeof e != "function" && typeof e != "symbol") {
          l.setAttribute(a, "" + e);
        } else {
          l.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":
        if (e && typeof e != "function" && typeof e != "symbol") {
          l.setAttribute(a, "");
        } else {
          l.removeAttribute(a);
        }
        break;
      case "capture":
      case "download":
        if (e === true) {
          l.setAttribute(a, "");
        } else if (e !== false && e != null && typeof e != "function" && typeof e != "symbol") {
          l.setAttribute(a, e);
        } else {
          l.removeAttribute(a);
        }
        break;
      case "cols":
      case "rows":
      case "size":
      case "span":
        if (e != null && typeof e != "function" && typeof e != "symbol" && !isNaN(e) && e >= 1) {
          l.setAttribute(a, e);
        } else {
          l.removeAttribute(a);
        }
        break;
      case "rowSpan":
      case "start":
        if (e == null || typeof e == "function" || typeof e == "symbol" || isNaN(e)) {
          l.removeAttribute(a);
        } else {
          l.setAttribute(a, e);
        }
        break;
      case "popover":
        Y("beforetoggle", l);
        Y("toggle", l);
        Uu(l, "popover", e);
        break;
      case "xlinkActuate":
        zt(l, "http://www.w3.org/1999/xlink", "xlink:actuate", e);
        break;
      case "xlinkArcrole":
        zt(l, "http://www.w3.org/1999/xlink", "xlink:arcrole", e);
        break;
      case "xlinkRole":
        zt(l, "http://www.w3.org/1999/xlink", "xlink:role", e);
        break;
      case "xlinkShow":
        zt(l, "http://www.w3.org/1999/xlink", "xlink:show", e);
        break;
      case "xlinkTitle":
        zt(l, "http://www.w3.org/1999/xlink", "xlink:title", e);
        break;
      case "xlinkType":
        zt(l, "http://www.w3.org/1999/xlink", "xlink:type", e);
        break;
      case "xmlBase":
        zt(l, "http://www.w3.org/XML/1998/namespace", "xml:base", e);
        break;
      case "xmlLang":
        zt(l, "http://www.w3.org/XML/1998/namespace", "xml:lang", e);
        break;
      case "xmlSpace":
        zt(l, "http://www.w3.org/XML/1998/namespace", "xml:space", e);
        break;
      case "is":
        Uu(l, "is", e);
        break;
      case "innerText":
      case "textContent":
        break;
      default:
        if (!(a.length > 2) || a[0] !== "o" && a[0] !== "O" || a[1] !== "n" && a[1] !== "N") {
          a = v0.get(a) || a;
          Uu(l, a, e);
        }
    }
  }
  function Fc(l, t, a, e, u, n) {
    switch (a) {
      case "style":
        Wf(l, e, n);
        break;
      case "dangerouslySetInnerHTML":
        if (e != null) {
          if (typeof e != "object" || !("__html" in e)) {
            throw Error(d(61));
          }
          a = e.__html;
          if (a != null) {
            if (u.children != null) {
              throw Error(d(60));
            }
            l.innerHTML = a;
          }
        }
        break;
      case "children":
        if (typeof e == "string") {
          La(l, e);
        } else if (typeof e == "number" || typeof e == "bigint") {
          La(l, "" + e);
        }
        break;
      case "onScroll":
        if (e != null) {
          Y("scroll", l);
        }
        break;
      case "onScrollEnd":
        if (e != null) {
          Y("scrollend", l);
        }
        break;
      case "onClick":
        if (e != null) {
          l.onclick = pt;
        }
        break;
      case "suppressContentEditableWarning":
      case "suppressHydrationWarning":
      case "innerHTML":
      case "ref":
        break;
      case "innerText":
      case "textContent":
        break;
      default:
        if (!Gf.hasOwnProperty(a)) {
          l: {
            if (a[0] === "o" && a[1] === "n" && (u = a.endsWith("Capture"), t = a.slice(2, u ? a.length - 7 : undefined), n = l[xl] || null, n = n != null ? n[a] : null, typeof n == "function" && l.removeEventListener(t, n, u), typeof e == "function")) {
              if (typeof n != "function" && n !== null) {
                if (a in l) {
                  l[a] = null;
                } else if (l.hasAttribute(a)) {
                  l.removeAttribute(a);
                }
              }
              l.addEventListener(t, e, u);
              break l;
            }
            if (a in l) {
              l[a] = e;
            } else if (e === true) {
              l.setAttribute(a, "");
            } else {
              Uu(l, a, e);
            }
          }
        }
    }
  }
  function Ml(l, t, a) {
    switch (t) {
      case "div":
      case "span":
      case "svg":
      case "path":
      case "a":
      case "g":
      case "p":
      case "li":
        break;
      case "img":
        Y("error", l);
        Y("load", l);
        var e = false;
        var u = false;
        var n;
        for (n in a) {
          if (a.hasOwnProperty(n)) {
            var i = a[n];
            if (i != null) {
              switch (n) {
                case "src":
                  e = true;
                  break;
                case "srcSet":
                  u = true;
                  break;
                case "children":
                case "dangerouslySetInnerHTML":
                  throw Error(d(137, t));
                default:
                  $(l, t, n, i, a, null);
              }
            }
          }
        }
        if (u) {
          $(l, t, "srcSet", a.srcSet, a, null);
        }
        if (e) {
          $(l, t, "src", a.src, a, null);
        }
        return;
      case "input":
        Y("invalid", l);
        var c = n = i = u = null;
        var f = null;
        var y = null;
        for (e in a) {
          if (a.hasOwnProperty(e)) {
            var b = a[e];
            if (b != null) {
              switch (e) {
                case "name":
                  u = b;
                  break;
                case "type":
                  i = b;
                  break;
                case "checked":
                  f = b;
                  break;
                case "defaultChecked":
                  y = b;
                  break;
                case "value":
                  n = b;
                  break;
                case "defaultValue":
                  c = b;
                  break;
                case "children":
                case "dangerouslySetInnerHTML":
                  if (b != null) {
                    throw Error(d(137, t));
                  }
                  break;
                default:
                  $(l, t, e, b, a, null);
              }
            }
          }
        }
        Lf(l, n, c, f, y, i, u, false);
        return;
      case "select":
        Y("invalid", l);
        e = i = n = null;
        for (u in a) {
          if (a.hasOwnProperty(u) && (c = a[u], c != null)) {
            switch (u) {
              case "value":
                n = c;
                break;
              case "defaultValue":
                i = c;
                break;
              case "multiple":
                e = c;
              default:
                $(l, t, u, c, a, null);
            }
          }
        }
        t = n;
        a = i;
        l.multiple = !!e;
        if (t != null) {
          Va(l, !!e, t, false);
        } else if (a != null) {
          Va(l, !!e, a, true);
        }
        return;
      case "textarea":
        Y("invalid", l);
        n = u = e = null;
        for (i in a) {
          if (a.hasOwnProperty(i) && (c = a[i], c != null)) {
            switch (i) {
              case "value":
                e = c;
                break;
              case "defaultValue":
                u = c;
                break;
              case "children":
                n = c;
                break;
              case "dangerouslySetInnerHTML":
                if (c != null) {
                  throw Error(d(91));
                }
                break;
              default:
                $(l, t, i, c, a, null);
            }
          }
        }
        Jf(l, e, u, n);
        return;
      case "option":
        for (f in a) {
          if (a.hasOwnProperty(f) && (e = a[f], e != null)) {
            if (f === "selected") {
              l.selected = e && typeof e != "function" && typeof e != "symbol";
            } else {
              $(l, t, f, e, a, null);
            }
          }
        }
        return;
      case "dialog":
        Y("beforetoggle", l);
        Y("toggle", l);
        Y("cancel", l);
        Y("close", l);
        break;
      case "iframe":
      case "object":
        Y("load", l);
        break;
      case "video":
      case "audio":
        for (e = 0; e < su.length; e++) {
          Y(su[e], l);
        }
        break;
      case "image":
        Y("error", l);
        Y("load", l);
        break;
      case "details":
        Y("toggle", l);
        break;
      case "embed":
      case "source":
      case "link":
        Y("error", l);
        Y("load", l);
      case "area":
      case "base":
      case "br":
      case "col":
      case "hr":
      case "keygen":
      case "meta":
      case "param":
      case "track":
      case "wbr":
      case "menuitem":
        for (y in a) {
          if (a.hasOwnProperty(y) && (e = a[y], e != null)) {
            switch (y) {
              case "children":
              case "dangerouslySetInnerHTML":
                throw Error(d(137, t));
              default:
                $(l, t, y, e, a, null);
            }
          }
        }
        return;
      default:
        if (si(t)) {
          for (b in a) {
            if (a.hasOwnProperty(b)) {
              e = a[b];
              if (e !== undefined) {
                Fc(l, t, b, e, a, undefined);
              }
            }
          }
          return;
        }
    }
    for (c in a) {
      if (a.hasOwnProperty(c)) {
        e = a[c];
        if (e != null) {
          $(l, t, c, e, a, null);
        }
      }
    }
  }
  function Qy(l, t, a, e) {
    switch (t) {
      case "div":
      case "span":
      case "svg":
      case "path":
      case "a":
      case "g":
      case "p":
      case "li":
        break;
      case "input":
        var u = null;
        var n = null;
        var i = null;
        var c = null;
        var f = null;
        var y = null;
        var b = null;
        for (g in a) {
          var z = a[g];
          if (a.hasOwnProperty(g) && z != null) {
            switch (g) {
              case "checked":
                break;
              case "value":
                break;
              case "defaultValue":
                f = z;
              default:
                if (!e.hasOwnProperty(g)) {
                  $(l, t, g, null, e, z);
                }
            }
          }
        }
        for (var v in e) {
          var g = e[v];
          z = a[v];
          if (e.hasOwnProperty(v) && (g != null || z != null)) {
            switch (v) {
              case "type":
                n = g;
                break;
              case "name":
                u = g;
                break;
              case "checked":
                y = g;
                break;
              case "defaultChecked":
                b = g;
                break;
              case "value":
                i = g;
                break;
              case "defaultValue":
                c = g;
                break;
              case "children":
              case "dangerouslySetInnerHTML":
                if (g != null) {
                  throw Error(d(137, t));
                }
                break;
              default:
                if (g !== z) {
                  $(l, t, v, g, e, z);
                }
            }
          }
        }
        ci(l, i, c, f, y, b, n, u);
        return;
      case "select":
        g = i = c = v = null;
        for (n in a) {
          f = a[n];
          if (a.hasOwnProperty(n) && f != null) {
            switch (n) {
              case "value":
                break;
              case "multiple":
                g = f;
              default:
                if (!e.hasOwnProperty(n)) {
                  $(l, t, n, null, e, f);
                }
            }
          }
        }
        for (u in e) {
          n = e[u];
          f = a[u];
          if (e.hasOwnProperty(u) && (n != null || f != null)) {
            switch (u) {
              case "value":
                v = n;
                break;
              case "defaultValue":
                c = n;
                break;
              case "multiple":
                i = n;
              default:
                if (n !== f) {
                  $(l, t, u, n, e, f);
                }
            }
          }
        }
        t = c;
        a = i;
        e = g;
        if (v != null) {
          Va(l, !!a, v, false);
        } else if (!!e != !!a) {
          if (t != null) {
            Va(l, !!a, t, true);
          } else {
            Va(l, !!a, a ? [] : "", false);
          }
        }
        return;
      case "textarea":
        g = v = null;
        for (c in a) {
          u = a[c];
          if (a.hasOwnProperty(c) && u != null && !e.hasOwnProperty(c)) {
            switch (c) {
              case "value":
                break;
              case "children":
                break;
              default:
                $(l, t, c, null, e, u);
            }
          }
        }
        for (i in e) {
          u = e[i];
          n = a[i];
          if (e.hasOwnProperty(i) && (u != null || n != null)) {
            switch (i) {
              case "value":
                v = u;
                break;
              case "defaultValue":
                g = u;
                break;
              case "children":
                break;
              case "dangerouslySetInnerHTML":
                if (u != null) {
                  throw Error(d(91));
                }
                break;
              default:
                if (u !== n) {
                  $(l, t, i, u, e, n);
                }
            }
          }
        }
        Kf(l, v, g);
        return;
      case "option":
        for (var O in a) {
          v = a[O];
          if (a.hasOwnProperty(O) && v != null && !e.hasOwnProperty(O)) {
            if (O === "selected") {
              l.selected = false;
            } else {
              $(l, t, O, null, e, v);
            }
          }
        }
        for (f in e) {
          v = e[f];
          g = a[f];
          if (e.hasOwnProperty(f) && v !== g && (v != null || g != null)) {
            if (f === "selected") {
              l.selected = v && typeof v != "function" && typeof v != "symbol";
            } else {
              $(l, t, f, v, e, g);
            }
          }
        }
        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 U in a) {
          v = a[U];
          if (a.hasOwnProperty(U) && v != null && !e.hasOwnProperty(U)) {
            $(l, t, U, null, e, v);
          }
        }
        for (y in e) {
          v = e[y];
          g = a[y];
          if (e.hasOwnProperty(y) && v !== g && (v != null || g != null)) {
            switch (y) {
              case "children":
              case "dangerouslySetInnerHTML":
                if (v != null) {
                  throw Error(d(137, t));
                }
                break;
              default:
                $(l, t, y, v, e, g);
            }
          }
        }
        return;
      default:
        if (si(t)) {
          for (var I in a) {
            v = a[I];
            if (a.hasOwnProperty(I) && v !== undefined && !e.hasOwnProperty(I)) {
              Fc(l, t, I, undefined, e, v);
            }
          }
          for (b in e) {
            v = e[b];
            g = a[b];
            if (!!e.hasOwnProperty(b) && v !== g && (v !== undefined || g !== undefined)) {
              Fc(l, t, b, v, e, g);
            }
          }
          return;
        }
    }
    for (var o in a) {
      v = a[o];
      if (a.hasOwnProperty(o) && v != null && !e.hasOwnProperty(o)) {
        $(l, t, o, null, e, v);
      }
    }
    for (z in e) {
      v = e[z];
      g = a[z];
      if (!!e.hasOwnProperty(z) && v !== g && (v != null || g != null)) {
        $(l, t, z, v, e, g);
      }
    }
  }
  function kd(l) {
    switch (l) {
      case "css":
      case "script":
      case "font":
      case "img":
      case "image":
      case "input":
      case "link":
        return true;
      default:
        return false;
    }
  }
  function Zy() {
    if (typeof performance.getEntriesByType == "function") {
      var l = 0;
      var t = 0;
      for (var a = performance.getEntriesByType("resource"), e = 0; e < a.length; e++) {
        var u = a[e];
        var n = u.transferSize;
        var i = u.initiatorType;
        var c = u.duration;
        if (n && c && kd(i)) {
          i = 0;
          c = u.responseEnd;
          e += 1;
          for (; e < a.length; e++) {
            var f = a[e];
            var y = f.startTime;
            if (y > c) {
              break;
            }
            var b = f.transferSize;
            var z = f.initiatorType;
            if (b && kd(z)) {
              f = f.responseEnd;
              i += b * (f < c ? 1 : (c - y) / (f - y));
            }
          }
          --e;
          t += (n + i) * 8 / (u.duration / 1000);
          l++;
          if (l > 10) {
            break;
          }
        }
      }
      if (l > 0) {
        return t / l / 1000000;
      }
    }
    if (navigator.connection && (l = navigator.connection.downlink, typeof l == "number")) {
      return l;
    } else {
      return 5;
    }
  }
  var kc = null;
  var $c = null;
  function Dn(l) {
    if (l.nodeType === 9) {
      return l;
    } else {
      return l.ownerDocument;
    }
  }
  function $d(l) {
    switch (l) {
      case "http://www.w3.org/2000/svg":
        return 1;
      case "http://www.w3.org/1998/Math/MathML":
        return 2;
      default:
        return 0;
    }
  }
  function Id(l, t) {
    if (l === 0) {
      switch (t) {
        case "svg":
          return 1;
        case "math":
          return 2;
        default:
          return 0;
      }
    }
    if (l === 1 && t === "foreignObject") {
      return 0;
    } else {
      return l;
    }
  }
  function Ic(l, t) {
    return l === "textarea" || l === "noscript" || typeof t.children == "string" || typeof t.children == "number" || typeof t.children == "bigint" || typeof t.dangerouslySetInnerHTML == "object" && t.dangerouslySetInnerHTML !== null && t.dangerouslySetInnerHTML.__html != null;
  }
  var Pc = null;
  function Vy() {
    var l = window.event;
    if (l && l.type === "popstate") {
      if (l === Pc) {
        return false;
      } else {
        Pc = l;
        return true;
      }
    } else {
      Pc = null;
      return false;
    }
  }
  var Pd = typeof setTimeout == "function" ? setTimeout : undefined;
  var Ly = typeof clearTimeout == "function" ? clearTimeout : undefined;
  var lm = typeof Promise == "function" ? Promise : undefined;
  var Ky = typeof queueMicrotask == "function" ? queueMicrotask : typeof lm !== "undefined" ? function (l) {
    return lm.resolve(null).then(l).catch(Jy);
  } : Pd;
  function Jy(l) {
    setTimeout(function () {
      throw l;
    });
  }
  function na(l) {
    return l === "head";
  }
  function tm(l, t) {
    var a = t;
    var e = 0;
    do {
      var u = a.nextSibling;
      l.removeChild(a);
      if (u && u.nodeType === 8) {
        a = u.data;
        if (a === "/$" || a === "/&") {
          if (e === 0) {
            l.removeChild(u);
            pe(t);
            return;
          }
          e--;
        } else if (a === "$" || a === "$?" || a === "$~" || a === "$!" || a === "&") {
          e++;
        } else if (a === "html") {
          du(l.ownerDocument.documentElement);
        } else if (a === "head") {
          a = l.ownerDocument.head;
          du(a);
          for (var n = a.firstChild; n;) {
            var i = n.nextSibling;
            var c = n.nodeName;
            if (!n[De] && c !== "SCRIPT" && c !== "STYLE" && (c !== "LINK" || n.rel.toLowerCase() !== "stylesheet")) {
              a.removeChild(n);
            }
            n = i;
          }
        } else if (a === "body") {
          du(l.ownerDocument.body);
        }
      }
      a = u;
    } while (a);
    pe(t);
  }
  function am(l, t) {
    var a = l;
    l = 0;
    do {
      var e = a.nextSibling;
      if (a.nodeType === 1) {
        if (t) {
          a._stashedDisplay = a.style.display;
          a.style.display = "none";
        } else {
          a.style.display = a._stashedDisplay || "";
          if (a.getAttribute("style") === "") {
            a.removeAttribute("style");
          }
        }
      } else if (a.nodeType === 3) {
        if (t) {
          a._stashedText = a.nodeValue;
          a.nodeValue = "";
        } else {
          a.nodeValue = a._stashedText || "";
        }
      }
      if (e && e.nodeType === 8) {
        a = e.data;
        if (a === "/$") {
          if (l === 0) {
            break;
          }
          l--;
        } else if (a === "$" || a === "$?" || a === "$~" || a === "$!") {
          l++;
        }
      }
      a = e;
    } while (a);
  }
  function lf(l) {
    var t = l.firstChild;
    for (t && t.nodeType === 10 && (t = t.nextSibling); t;) {
      var a = t;
      t = t.nextSibling;
      switch (a.nodeName) {
        case "HTML":
        case "HEAD":
        case "BODY":
          lf(a);
          ni(a);
          continue;
        case "SCRIPT":
        case "STYLE":
          continue;
        case "LINK":
          if (a.rel.toLowerCase() === "stylesheet") {
            continue;
          }
      }
      l.removeChild(a);
    }
  }
  function wy(l, t, a, e) {
    while (l.nodeType === 1) {
      var u = a;
      if (l.nodeName.toLowerCase() !== t.toLowerCase()) {
        if (!e && (l.nodeName !== "INPUT" || l.type !== "hidden")) {
          break;
        }
      } else if (e) {
        if (!l[De]) {
          switch (t) {
            case "meta":
              if (!l.hasAttribute("itemprop")) {
                break;
              }
              return l;
            case "link":
              n = l.getAttribute("rel");
              if (n === "stylesheet" && l.hasAttribute("data-precedence")) {
                break;
              }
              if (n !== u.rel || l.getAttribute("href") !== (u.href == null || u.href === "" ? null : u.href) || l.getAttribute("crossorigin") !== (u.crossOrigin == null ? null : u.crossOrigin) || l.getAttribute("title") !== (u.title == null ? null : u.title)) {
                break;
              }
              return l;
            case "style":
              if (l.hasAttribute("data-precedence")) {
                break;
              }
              return l;
            case "script":
              n = l.getAttribute("src");
              if ((n !== (u.src == null ? null : u.src) || l.getAttribute("type") !== (u.type == null ? null : u.type) || l.getAttribute("crossorigin") !== (u.crossOrigin == null ? null : u.crossOrigin)) && n && l.hasAttribute("async") && !l.hasAttribute("itemprop")) {
                break;
              }
              return l;
            default:
              return l;
          }
        }
      } else if (t === "input" && l.type === "hidden") {
        var n = u.name == null ? null : "" + u.name;
        if (u.type === "hidden" && l.getAttribute("name") === n) {
          return l;
        }
      } else {
        return l;
      }
      l = et(l.nextSibling);
      if (l === null) {
        break;
      }
    }
    return null;
  }
  function Wy(l, t, a) {
    if (t === "") {
      return null;
    }
    while (l.nodeType !== 3) {
      if ((l.nodeType !== 1 || l.nodeName !== "INPUT" || l.type !== "hidden") && !a || (l = et(l.nextSibling), l === null)) {
        return null;
      }
    }
    return l;
  }
  function em(l, t) {
    while (l.nodeType !== 8) {
      if ((l.nodeType !== 1 || l.nodeName !== "INPUT" || l.type !== "hidden") && !t || (l = et(l.nextSibling), l === null)) {
        return null;
      }
    }
    return l;
  }
  function tf(l) {
    return l.data === "$?" || l.data === "$~";
  }
  function af(l) {
    return l.data === "$!" || l.data === "$?" && l.ownerDocument.readyState !== "loading";
  }
  function Fy(l, t) {
    var a = l.ownerDocument;
    if (l.data === "$~") {
      l._reactRetry = t;
    } else if (l.data !== "$?" || a.readyState !== "loading") {
      t();
    } else {
      function e() {
        t();
        a.removeEventListener("DOMContentLoaded", e);
      }
      a.addEventListener("DOMContentLoaded", e);
      l._reactRetry = e;
    }
  }
  function et(l) {
    for (; l != null; l = l.nextSibling) {
      var t = l.nodeType;
      if (t === 1 || t === 3) {
        break;
      }
      if (t === 8) {
        t = l.data;
        if (t === "$" || t === "$!" || t === "$?" || t === "$~" || t === "&" || t === "F!" || t === "F") {
          break;
        }
        if (t === "/$" || t === "/&") {
          return null;
        }
      }
    }
    return l;
  }
  var ef = null;
  function um(l) {
    l = l.nextSibling;
    var t = 0;
    for (; l;) {
      if (l.nodeType === 8) {
        var a = l.data;
        if (a === "/$" || a === "/&") {
          if (t === 0) {
            return et(l.nextSibling);
          }
          t--;
        } else if (a === "$" || a === "$!" || a === "$?" || a === "$~" || a === "&") {
          t++;
        }
      }
      l = l.nextSibling;
    }
    return null;
  }
  function nm(l) {
    l = l.previousSibling;
    var t = 0;
    for (; l;) {
      if (l.nodeType === 8) {
        var a = l.data;
        if (a === "$" || a === "$!" || a === "$?" || a === "$~" || a === "&") {
          if (t === 0) {
            return l;
          }
          t--;
        } else if (a === "/$" || a === "/&") {
          t++;
        }
      }
      l = l.previousSibling;
    }
    return null;
  }
  function im(l, t, a) {
    t = Dn(a);
    switch (l) {
      case "html":
        l = t.documentElement;
        if (!l) {
          throw Error(d(452));
        }
        return l;
      case "head":
        l = t.head;
        if (!l) {
          throw Error(d(453));
        }
        return l;
      case "body":
        l = t.body;
        if (!l) {
          throw Error(d(454));
        }
        return l;
      default:
        throw Error(d(451));
    }
  }
  function du(l) {
    for (var t = l.attributes; t.length;) {
      l.removeAttributeNode(t[0]);
    }
    ni(l);
  }
  var ut = new Map();
  var cm = new Set();
  function Un(l) {
    if (typeof l.getRootNode == "function") {
      return l.getRootNode();
    } else if (l.nodeType === 9) {
      return l;
    } else {
      return l.ownerDocument;
    }
  }
  var Yt = M.d;
  M.d = {
    f: ky,
    r: $y,
    D: Iy,
    C: Py,
    L: lv,
    m: tv,
    X: ev,
    S: av,
    M: uv
  };
  function ky() {
    var l = Yt.f();
    var t = pn();
    return l || t;
  }
  function $y(l) {
    var t = Ra(l);
    if (t !== null && t.tag === 5 && t.type === "form") {
      To(t);
    } else {
      Yt.r(l);
    }
  }
  var Se = typeof document === "undefined" ? null : document;
  function fm(l, t, a) {
    var e = Se;
    if (e && typeof t == "string" && t) {
      var u = kl(t);
      u = "link[rel=\"" + l + "\"][href=\"" + u + "\"]";
      if (typeof a == "string") {
        u += "[crossorigin=\"" + a + "\"]";
      }
      if (!cm.has(u)) {
        cm.add(u);
        l = {
          rel: l,
          crossOrigin: a,
          href: t
        };
        if (e.querySelector(u) === null) {
          t = e.createElement("link");
          Ml(t, "link", l);
          rl(t);
          e.head.appendChild(t);
        }
      }
    }
  }
  function Iy(l) {
    Yt.D(l);
    fm("dns-prefetch", l, null);
  }
  function Py(l, t) {
    Yt.C(l, t);
    fm("preconnect", l, t);
  }
  function lv(l, t, a) {
    Yt.L(l, t, a);
    var e = Se;
    if (e && l && t) {
      var u = "link[rel=\"preload\"][as=\"" + kl(t) + "\"]";
      if (t === "image" && a && a.imageSrcSet) {
        u += "[imagesrcset=\"" + kl(a.imageSrcSet) + "\"]";
        if (typeof a.imageSizes == "string") {
          u += "[imagesizes=\"" + kl(a.imageSizes) + "\"]";
        }
      } else {
        u += "[href=\"" + kl(l) + "\"]";
      }
      var n = u;
      switch (t) {
        case "style":
          n = re(l);
          break;
        case "script":
          n = ze(l);
      }
      if (!ut.has(n)) {
        l = j({
          rel: "preload",
          href: t === "image" && a && a.imageSrcSet ? undefined : l,
          as: t
        }, a);
        ut.set(n, l);
        if (e.querySelector(u) === null && (t !== "style" || !e.querySelector(mu(n))) && (t !== "script" || !e.querySelector(yu(n)))) {
          t = e.createElement("link");
          Ml(t, "link", l);
          rl(t);
          e.head.appendChild(t);
        }
      }
    }
  }
  function tv(l, t) {
    Yt.m(l, t);
    var a = Se;
    if (a && l) {
      var e = t && typeof t.as == "string" ? t.as : "script";
      var u = "link[rel=\"modulepreload\"][as=\"" + kl(e) + "\"][href=\"" + kl(l) + "\"]";
      var n = u;
      switch (e) {
        case "audioworklet":
        case "paintworklet":
        case "serviceworker":
        case "sharedworker":
        case "worker":
        case "script":
          n = ze(l);
      }
      if (!ut.has(n) && (l = j({
        rel: "modulepreload",
        href: l
      }, t), ut.set(n, l), a.querySelector(u) === null)) {
        switch (e) {
          case "audioworklet":
          case "paintworklet":
          case "serviceworker":
          case "sharedworker":
          case "worker":
          case "script":
            if (a.querySelector(yu(n))) {
              return;
            }
        }
        e = a.createElement("link");
        Ml(e, "link", l);
        rl(e);
        a.head.appendChild(e);
      }
    }
  }
  function av(l, t, a) {
    Yt.S(l, t, a);
    var e = Se;
    if (e && l) {
      var u = Qa(e).hoistableStyles;
      var n = re(l);
      t = t || "default";
      var i = u.get(n);
      if (!i) {
        var c = {
          loading: 0,
          preload: null
        };
        if (i = e.querySelector(mu(n))) {
          c.loading = 5;
        } else {
          l = j({
            rel: "stylesheet",
            href: l,
            "data-precedence": t
          }, a);
          if (a = ut.get(n)) {
            uf(l, a);
          }
          var f = i = e.createElement("link");
          rl(f);
          Ml(f, "link", l);
          f._p = new Promise(function (y, b) {
            f.onload = y;
            f.onerror = b;
          });
          f.addEventListener("load", function () {
            c.loading |= 1;
          });
          f.addEventListener("error", function () {
            c.loading |= 2;
          });
          c.loading |= 4;
          Nn(i, t, e);
        }
        i = {
          type: "stylesheet",
          instance: i,
          count: 1,
          state: c
        };
        u.set(n, i);
      }
    }
  }
  function ev(l, t) {
    Yt.X(l, t);
    var a = Se;
    if (a && l) {
      var e = Qa(a).hoistableScripts;
      var u = ze(l);
      var n = e.get(u);
      if (!n) {
        n = a.querySelector(yu(u));
        if (!n) {
          l = j({
            src: l,
            async: true
          }, t);
          if (t = ut.get(u)) {
            nf(l, t);
          }
          n = a.createElement("script");
          rl(n);
          Ml(n, "link", l);
          a.head.appendChild(n);
        }
        n = {
          type: "script",
          instance: n,
          count: 1,
          state: null
        };
        e.set(u, n);
      }
    }
  }
  function uv(l, t) {
    Yt.M(l, t);
    var a = Se;
    if (a && l) {
      var e = Qa(a).hoistableScripts;
      var u = ze(l);
      var n = e.get(u);
      if (!n) {
        n = a.querySelector(yu(u));
        if (!n) {
          l = j({
            src: l,
            async: true,
            type: "module"
          }, t);
          if (t = ut.get(u)) {
            nf(l, t);
          }
          n = a.createElement("script");
          rl(n);
          Ml(n, "link", l);
          a.head.appendChild(n);
        }
        n = {
          type: "script",
          instance: n,
          count: 1,
          state: null
        };
        e.set(u, n);
      }
    }
  }
  function sm(l, t, a, e) {
    var u = (u = Gt.current) ? Un(u) : null;
    if (!u) {
      throw Error(d(446));
    }
    switch (l) {
      case "meta":
      case "title":
        return null;
      case "style":
        if (typeof a.precedence == "string" && typeof a.href == "string") {
          t = re(a.href);
          a = Qa(u).hoistableStyles;
          e = a.get(t);
          if (!e) {
            e = {
              type: "style",
              instance: null,
              count: 0,
              state: null
            };
            a.set(t, e);
          }
          return e;
        } else {
          return {
            type: "void",
            instance: null,
            count: 0,
            state: null
          };
        }
      case "link":
        if (a.rel === "stylesheet" && typeof a.href == "string" && typeof a.precedence == "string") {
          l = re(a.href);
          var n = Qa(u).hoistableStyles;
          var i = n.get(l);
          if (!i) {
            u = u.ownerDocument || u;
            i = {
              type: "stylesheet",
              instance: null,
              count: 0,
              state: {
                loading: 0,
                preload: null
              }
            };
            n.set(l, i);
            if ((n = u.querySelector(mu(l))) && !n._p) {
              i.instance = n;
              i.state.loading = 5;
            }
            if (!ut.has(l)) {
              a = {
                rel: "preload",
                as: "style",
                href: a.href,
                crossOrigin: a.crossOrigin,
                integrity: a.integrity,
                media: a.media,
                hrefLang: a.hrefLang,
                referrerPolicy: a.referrerPolicy
              };
              ut.set(l, a);
              if (!n) {
                nv(u, l, a, i.state);
              }
            }
          }
          if (t && e === null) {
            throw Error(d(528, ""));
          }
          return i;
        }
        if (t && e !== null) {
          throw Error(d(529, ""));
        }
        return null;
      case "script":
        t = a.async;
        a = a.src;
        if (typeof a == "string" && t && typeof t != "function" && typeof t != "symbol") {
          t = ze(a);
          a = Qa(u).hoistableScripts;
          e = a.get(t);
          if (!e) {
            e = {
              type: "script",
              instance: null,
              count: 0,
              state: null
            };
            a.set(t, e);
          }
          return e;
        } else {
          return {
            type: "void",
            instance: null,
            count: 0,
            state: null
          };
        }
      default:
        throw Error(d(444, l));
    }
  }
  function re(l) {
    return "href=\"" + kl(l) + "\"";
  }
  function mu(l) {
    return "link[rel=\"stylesheet\"][" + l + "]";
  }
  function om(l) {
    return j({}, l, {
      "data-precedence": l.precedence,
      precedence: null
    });
  }
  function nv(l, t, a, e) {
    if (l.querySelector("link[rel=\"preload\"][as=\"style\"][" + t + "]")) {
      e.loading = 1;
    } else {
      t = l.createElement("link");
      e.preload = t;
      t.addEventListener("load", function () {
        return e.loading |= 1;
      });
      t.addEventListener("error", function () {
        return e.loading |= 2;
      });
      Ml(t, "link", a);
      rl(t);
      l.head.appendChild(t);
    }
  }
  function ze(l) {
    return "[src=\"" + kl(l) + "\"]";
  }
  function yu(l) {
    return "script[async]" + l;
  }
  function dm(l, t, a) {
    t.count++;
    if (t.instance === null) {
      switch (t.type) {
        case "style":
          var e = l.querySelector("style[data-href~=\"" + kl(a.href) + "\"]");
          if (e) {
            t.instance = e;
            rl(e);
            return e;
          }
          var u = j({}, a, {
            "data-href": a.href,
            "data-precedence": a.precedence,
            href: null,
            precedence: null
          });
          e = (l.ownerDocument || l).createElement("style");
          rl(e);
          Ml(e, "style", u);
          Nn(e, a.precedence, l);
          return t.instance = e;
        case "stylesheet":
          u = re(a.href);
          var n = l.querySelector(mu(u));
          if (n) {
            t.state.loading |= 4;
            t.instance = n;
            rl(n);
            return n;
          }
          e = om(a);
          if (u = ut.get(u)) {
            uf(e, u);
          }
          n = (l.ownerDocument || l).createElement("link");
          rl(n);
          var i = n;
          i._p = new Promise(function (c, f) {
            i.onload = c;
            i.onerror = f;
          });
          Ml(n, "link", e);
          t.state.loading |= 4;
          Nn(n, a.precedence, l);
          return t.instance = n;
        case "script":
          n = ze(a.src);
          if (u = l.querySelector(yu(n))) {
            t.instance = u;
            rl(u);
            return u;
          } else {
            e = a;
            if (u = ut.get(n)) {
              e = j({}, a);
              nf(e, u);
            }
            l = l.ownerDocument || l;
            u = l.createElement("script");
            rl(u);
            Ml(u, "link", e);
            l.head.appendChild(u);
            return t.instance = u;
          }
        case "void":
          return null;
        default:
          throw Error(d(443, t.type));
      }
    } else if (t.type === "stylesheet" && (t.state.loading & 4) === 0) {
      e = t.instance;
      t.state.loading |= 4;
      Nn(e, a.precedence, l);
    }
    return t.instance;
  }
  function Nn(l, t, a) {
    for (var e = a.querySelectorAll("link[rel=\"stylesheet\"][data-precedence],style[data-precedence]"), u = e.length ? e[e.length - 1] : null, n = u, i = 0; i < e.length; i++) {
      var c = e[i];
      if (c.dataset.precedence === t) {
        n = c;
      } else if (n !== u) {
        break;
      }
    }
    if (n) {
      n.parentNode.insertBefore(l, n.nextSibling);
    } else {
      t = a.nodeType === 9 ? a.head : a;
      t.insertBefore(l, t.firstChild);
    }
  }
  function uf(l, t) {
    if (l.crossOrigin == null) {
      l.crossOrigin = t.crossOrigin;
    }
    if (l.referrerPolicy == null) {
      l.referrerPolicy = t.referrerPolicy;
    }
    if (l.title == null) {
      l.title = t.title;
    }
  }
  function nf(l, t) {
    if (l.crossOrigin == null) {
      l.crossOrigin = t.crossOrigin;
    }
    if (l.referrerPolicy == null) {
      l.referrerPolicy = t.referrerPolicy;
    }
    if (l.integrity == null) {
      l.integrity = t.integrity;
    }
  }
  var Hn = null;
  function mm(l, t, a) {
    if (Hn === null) {
      var e = new Map();
      var u = Hn = new Map();
      u.set(a, e);
    } else {
      u = Hn;
      e = u.get(a);
      if (!e) {
        e = new Map();
        u.set(a, e);
      }
    }
    if (e.has(l)) {
      return e;
    }
    e.set(l, null);
    a = a.getElementsByTagName(l);
    u = 0;
    for (; u < a.length; u++) {
      var n = a[u];
      if (!n[De] && !n[pl] && (l !== "link" || n.getAttribute("rel") !== "stylesheet") && n.namespaceURI !== "http://www.w3.org/2000/svg") {
        var i = n.getAttribute(t) || "";
        i = l + i;
        var c = e.get(i);
        if (c) {
          c.push(n);
        } else {
          e.set(i, [n]);
        }
      }
    }
    return e;
  }
  function ym(l, t, a) {
    l = l.ownerDocument || l;
    l.head.insertBefore(a, t === "title" ? l.querySelector("head > title") : null);
  }
  function iv(l, t, a) {
    if (a === 1 || t.itemProp != null) {
      return false;
    }
    switch (l) {
      case "meta":
      case "title":
        return true;
      case "style":
        if (typeof t.precedence != "string" || typeof t.href != "string" || t.href === "") {
          break;
        }
        return true;
      case "link":
        if (typeof t.rel != "string" || typeof t.href != "string" || t.href === "" || t.onLoad || t.onError) {
          break;
        }
        if (t.rel === "stylesheet") {
          l = t.disabled;
          return typeof t.precedence == "string" && l == null;
        } else {
          return true;
        }
      case "script":
        if (t.async && typeof t.async != "function" && typeof t.async != "symbol" && !t.onLoad && !t.onError && t.src && typeof t.src == "string") {
          return true;
        }
    }
    return false;
  }
  function vm(l) {
    return l.type !== "stylesheet" || (l.state.loading & 3) !== 0;
  }
  function cv(l, t, a, e) {
    if (a.type === "stylesheet" && (typeof e.media != "string" || matchMedia(e.media).matches !== false) && (a.state.loading & 4) === 0) {
      if (a.instance === null) {
        var u = re(e.href);
        var n = t.querySelector(mu(u));
        if (n) {
          t = n._p;
          if (t !== null && typeof t == "object" && typeof t.then == "function") {
            l.count++;
            l = Cn.bind(l);
            t.then(l, l);
          }
          a.state.loading |= 4;
          a.instance = n;
          rl(n);
          return;
        }
        n = t.ownerDocument || t;
        e = om(e);
        if (u = ut.get(u)) {
          uf(e, u);
        }
        n = n.createElement("link");
        rl(n);
        var i = n;
        i._p = new Promise(function (c, f) {
          i.onload = c;
          i.onerror = f;
        });
        Ml(n, "link", e);
        a.instance = n;
      }
      if (l.stylesheets === null) {
        l.stylesheets = new Map();
      }
      l.stylesheets.set(a, t);
      if ((t = a.state.preload) && (a.state.loading & 3) === 0) {
        l.count++;
        a = Cn.bind(l);
        t.addEventListener("load", a);
        t.addEventListener("error", a);
      }
    }
  }
  var cf = 0;
  function fv(l, t) {
    if (l.stylesheets && l.count === 0) {
      qn(l, l.stylesheets);
    }
    if (l.count > 0 || l.imgCount > 0) {
      return function (a) {
        var e = setTimeout(function () {
          if (l.stylesheets) {
            qn(l, l.stylesheets);
          }
          if (l.unsuspend) {
            var n = l.unsuspend;
            l.unsuspend = null;
            n();
          }
        }, 60000 + t);
        if (l.imgBytes > 0 && cf === 0) {
          cf = Zy() * 62500;
        }
        var u = setTimeout(function () {
          l.waitingForImages = false;
          if (l.count === 0 && (l.stylesheets && qn(l, l.stylesheets), l.unsuspend)) {
            var n = l.unsuspend;
            l.unsuspend = null;
            n();
          }
        }, (l.imgBytes > cf ? 50 : 800) + t);
        l.unsuspend = a;
        return function () {
          l.unsuspend = null;
          clearTimeout(e);
          clearTimeout(u);
        };
      };
    } else {
      return null;
    }
  }
  function Cn() {
    this.count--;
    if (this.count === 0 && (this.imgCount === 0 || !this.waitingForImages)) {
      if (this.stylesheets) {
        qn(this, this.stylesheets);
      } else if (this.unsuspend) {
        var l = this.unsuspend;
        this.unsuspend = null;
        l();
      }
    }
  }
  var jn = null;
  function qn(l, t) {
    l.stylesheets = null;
    if (l.unsuspend !== null) {
      l.count++;
      jn = new Map();
      t.forEach(sv, l);
      jn = null;
      Cn.call(l);
    }
  }
  function sv(l, t) {
    if (!(t.state.loading & 4)) {
      var a = jn.get(l);
      if (a) {
        var e = a.get(null);
      } else {
        a = new Map();
        jn.set(l, a);
        for (var u = l.querySelectorAll("link[data-precedence],style[data-precedence]"), n = 0; n < u.length; n++) {
          var i = u[n];
          if (i.nodeName === "LINK" || i.getAttribute("media") !== "not all") {
            a.set(i.dataset.precedence, i);
            e = i;
          }
        }
        if (e) {
          a.set(null, e);
        }
      }
      u = t.instance;
      i = u.getAttribute("data-precedence");
      n = a.get(i) || e;
      if (n === e) {
        a.set(null, u);
      }
      a.set(i, u);
      this.count++;
      e = Cn.bind(this);
      u.addEventListener("load", e);
      u.addEventListener("error", e);
      if (n) {
        n.parentNode.insertBefore(u, n.nextSibling);
      } else {
        l = l.nodeType === 9 ? l.head : l;
        l.insertBefore(u, l.firstChild);
      }
      t.state.loading |= 4;
    }
  }
  var vu = {
    $$typeof: wl,
    Provider: null,
    Consumer: null,
    _currentValue: H,
    _currentValue2: H,
    _threadCount: 0
  };
  function ov(l, t, a, e, u, n, i, c, f) {
    this.tag = 1;
    this.containerInfo = l;
    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 = ti(-1);
    this.entangledLanes = this.shellSuspendCounter = this.errorRecoveryDisabledLanes = this.expiredLanes = this.warmLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0;
    this.entanglements = ti(0);
    this.hiddenUpdates = ti(null);
    this.identifierPrefix = e;
    this.onUncaughtError = u;
    this.onCaughtError = n;
    this.onRecoverableError = i;
    this.pooledCache = null;
    this.pooledCacheLanes = 0;
    this.formState = f;
    this.incompleteTransitions = new Map();
  }
  function hm(l, t, a, e, u, n, i, c, f, y, b, z) {
    l = new ov(l, t, a, i, f, y, b, z, c);
    t = 1;
    if (n === true) {
      t |= 24;
    }
    n = Rl(3, null, null, t);
    l.current = n;
    n.stateNode = l;
    t = Gi();
    t.refCount++;
    l.pooledCache = t;
    t.refCount++;
    n.memoizedState = {
      element: e,
      isDehydrated: a,
      cache: t
    };
    Vi(n);
    return l;
  }
  function gm(l) {
    if (l) {
      l = $a;
      return l;
    } else {
      return $a;
    }
  }
  function bm(l, t, a, e, u, n) {
    u = gm(u);
    if (e.context === null) {
      e.context = u;
    } else {
      e.pendingContext = u;
    }
    e = Wt(t);
    e.payload = {
      element: a
    };
    n = n === undefined ? null : n;
    if (n !== null) {
      e.callback = n;
    }
    a = Ft(l, e, t);
    if (a !== null) {
      jl(a, l, t);
      Je(a, l, t);
    }
  }
  function Sm(l, t) {
    l = l.memoizedState;
    if (l !== null && l.dehydrated !== null) {
      var a = l.retryLane;
      l.retryLane = a !== 0 && a < t ? a : t;
    }
  }
  function ff(l, t) {
    Sm(l, t);
    if (l = l.alternate) {
      Sm(l, t);
    }
  }
  function rm(l) {
    if (l.tag === 13 || l.tag === 31) {
      var t = Sa(l, 67108864);
      if (t !== null) {
        jl(t, l, 67108864);
      }
      ff(l, 67108864);
    }
  }
  function zm(l) {
    if (l.tag === 13 || l.tag === 31) {
      var t = Kl();
      t = ai(t);
      var a = Sa(l, t);
      if (a !== null) {
        jl(a, l, t);
      }
      ff(l, t);
    }
  }
  var Bn = true;
  function dv(l, t, a, e) {
    var u = r.T;
    r.T = null;
    var n = M.p;
    try {
      M.p = 2;
      sf(l, t, a, e);
    } finally {
      M.p = n;
      r.T = u;
    }
  }
  function mv(l, t, a, e) {
    var u = r.T;
    r.T = null;
    var n = M.p;
    try {
      M.p = 8;
      sf(l, t, a, e);
    } finally {
      M.p = n;
      r.T = u;
    }
  }
  function sf(l, t, a, e) {
    if (Bn) {
      var u = of(e);
      if (u === null) {
        Wc(l, t, e, Yn, a);
        Am(l, e);
      } else if (vv(u, l, t, a, e)) {
        e.stopPropagation();
      } else {
        Am(l, e);
        if (t & 4 && yv.indexOf(l) > -1) {
          while (u !== null) {
            var n = Ra(u);
            if (n !== null) {
              switch (n.tag) {
                case 3:
                  n = n.stateNode;
                  if (n.current.memoizedState.isDehydrated) {
                    var i = ya(n.pendingLanes);
                    if (i !== 0) {
                      var c = n;
                      c.pendingLanes |= 2;
                      c.entangledLanes |= 2;
                      while (i) {
                        var f = 1 << 31 - Xl(i);
                        c.entanglements[1] |= f;
                        i &= ~f;
                      }
                      bt(n);
                      if ((V & 6) === 0) {
                        rn = Bl() + 500;
                        fu(0);
                      }
                    }
                  }
                  break;
                case 31:
                case 13:
                  c = Sa(n, 2);
                  if (c !== null) {
                    jl(c, n, 2);
                  }
                  pn();
                  ff(n, 2);
              }
            }
            n = of(e);
            if (n === null) {
              Wc(l, t, e, Yn, a);
            }
            if (n === u) {
              break;
            }
            u = n;
          }
          if (u !== null) {
            e.stopPropagation();
          }
        } else {
          Wc(l, t, e, null, a);
        }
      }
    }
  }
  function of(l) {
    l = di(l);
    return df(l);
  }
  var Yn = null;
  function df(l) {
    Yn = null;
    l = Ga(l);
    if (l !== null) {
      var t = E(l);
      if (t === null) {
        l = null;
      } else {
        var a = t.tag;
        if (a === 13) {
          l = N(t);
          if (l !== null) {
            return l;
          }
          l = null;
        } else if (a === 31) {
          l = F(t);
          if (l !== null) {
            return l;
          }
          l = null;
        } else if (a === 3) {
          if (t.stateNode.current.memoizedState.isDehydrated) {
            if (t.tag === 3) {
              return t.stateNode.containerInfo;
            } else {
              return null;
            }
          }
          l = null;
        } else if (t !== l) {
          l = null;
        }
      }
    }
    Yn = l;
    return null;
  }
  function pm(l) {
    switch (l) {
      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 (Im()) {
          case xf:
            return 2;
          case Df:
            return 8;
          case Mu:
          case Pm:
            return 32;
          case Uf:
            return 268435456;
          default:
            return 32;
        }
      default:
        return 32;
    }
  }
  var mf = false;
  var ia = null;
  var ca = null;
  var fa = null;
  var hu = new Map();
  var gu = new Map();
  var sa = [];
  var yv = "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 Am(l, t) {
    switch (l) {
      case "focusin":
      case "focusout":
        ia = null;
        break;
      case "dragenter":
      case "dragleave":
        ca = null;
        break;
      case "mouseover":
      case "mouseout":
        fa = null;
        break;
      case "pointerover":
      case "pointerout":
        hu.delete(t.pointerId);
        break;
      case "gotpointercapture":
      case "lostpointercapture":
        gu.delete(t.pointerId);
    }
  }
  function bu(l, t, a, e, u, n) {
    if (l === null || l.nativeEvent !== n) {
      l = {
        blockedOn: t,
        domEventName: a,
        eventSystemFlags: e,
        nativeEvent: n,
        targetContainers: [u]
      };
      if (t !== null) {
        t = Ra(t);
        if (t !== null) {
          rm(t);
        }
      }
      return l;
    } else {
      l.eventSystemFlags |= e;
      t = l.targetContainers;
      if (u !== null && t.indexOf(u) === -1) {
        t.push(u);
      }
      return l;
    }
  }
  function vv(l, t, a, e, u) {
    switch (t) {
      case "focusin":
        ia = bu(ia, l, t, a, e, u);
        return true;
      case "dragenter":
        ca = bu(ca, l, t, a, e, u);
        return true;
      case "mouseover":
        fa = bu(fa, l, t, a, e, u);
        return true;
      case "pointerover":
        var n = u.pointerId;
        hu.set(n, bu(hu.get(n) || null, l, t, a, e, u));
        return true;
      case "gotpointercapture":
        n = u.pointerId;
        gu.set(n, bu(gu.get(n) || null, l, t, a, e, u));
        return true;
    }
    return false;
  }
  function Em(l) {
    var t = Ga(l.target);
    if (t !== null) {
      var a = E(t);
      if (a !== null) {
        t = a.tag;
        if (t === 13) {
          t = N(a);
          if (t !== null) {
            l.blockedOn = t;
            Bf(l.priority, function () {
              zm(a);
            });
            return;
          }
        } else if (t === 31) {
          t = F(a);
          if (t !== null) {
            l.blockedOn = t;
            Bf(l.priority, function () {
              zm(a);
            });
            return;
          }
        } else if (t === 3 && a.stateNode.current.memoizedState.isDehydrated) {
          l.blockedOn = a.tag === 3 ? a.stateNode.containerInfo : null;
          return;
        }
      }
    }
    l.blockedOn = null;
  }
  function Xn(l) {
    if (l.blockedOn !== null) {
      return false;
    }
    for (var t = l.targetContainers; t.length > 0;) {
      var a = of(l.nativeEvent);
      if (a === null) {
        a = l.nativeEvent;
        var e = new a.constructor(a.type, a);
        oi = e;
        a.target.dispatchEvent(e);
        oi = null;
      } else {
        t = Ra(a);
        if (t !== null) {
          rm(t);
        }
        l.blockedOn = a;
        return false;
      }
      t.shift();
    }
    return true;
  }
  function Tm(l, t, a) {
    if (Xn(l)) {
      a.delete(t);
    }
  }
  function hv() {
    mf = false;
    if (ia !== null && Xn(ia)) {
      ia = null;
    }
    if (ca !== null && Xn(ca)) {
      ca = null;
    }
    if (fa !== null && Xn(fa)) {
      fa = null;
    }
    hu.forEach(Tm);
    gu.forEach(Tm);
  }
  function Gn(l, t) {
    if (l.blockedOn === t) {
      l.blockedOn = null;
      if (!mf) {
        mf = true;
        h.unstable_scheduleCallback(h.unstable_NormalPriority, hv);
      }
    }
  }
  var Rn = null;
  function Mm(l) {
    if (Rn !== l) {
      Rn = l;
      h.unstable_scheduleCallback(h.unstable_NormalPriority, function () {
        if (Rn === l) {
          Rn = null;
        }
        for (var t = 0; t < l.length; t += 3) {
          var a = l[t];
          var e = l[t + 1];
          var u = l[t + 2];
          if (typeof e != "function") {
            if (df(e || a) === null) {
              continue;
            }
            break;
          }
          var n = Ra(a);
          if (n !== null) {
            l.splice(t, 3);
            t -= 3;
            sc(n, {
              pending: true,
              data: u,
              method: a.method,
              action: e
            }, e, u);
          }
        }
      });
    }
  }
  function pe(l) {
    function t(f) {
      return Gn(f, l);
    }
    if (ia !== null) {
      Gn(ia, l);
    }
    if (ca !== null) {
      Gn(ca, l);
    }
    if (fa !== null) {
      Gn(fa, l);
    }
    hu.forEach(t);
    gu.forEach(t);
    for (var a = 0; a < sa.length; a++) {
      var e = sa[a];
      if (e.blockedOn === l) {
        e.blockedOn = null;
      }
    }
    while (sa.length > 0 && (a = sa[0], a.blockedOn === null)) {
      Em(a);
      if (a.blockedOn === null) {
        sa.shift();
      }
    }
    a = (l.ownerDocument || l).$$reactFormReplay;
    if (a != null) {
      for (e = 0; e < a.length; e += 3) {
        var u = a[e];
        var n = a[e + 1];
        var i = u[xl] || null;
        if (typeof n == "function") {
          if (!i) {
            Mm(a);
          }
        } else if (i) {
          var c = null;
          if (n && n.hasAttribute("formAction")) {
            u = n;
            if (i = n[xl] || null) {
              c = i.formAction;
            } else if (df(u) !== null) {
              continue;
            }
          } else {
            c = i.action;
          }
          if (typeof c == "function") {
            a[e + 1] = c;
          } else {
            a.splice(e, 3);
            e -= 3;
          }
          Mm(a);
        }
      }
    }
  }
  function _m() {
    function l(n) {
      if (n.canIntercept && n.info === "react-transition") {
        n.intercept({
          handler: function () {
            return new Promise(function (i) {
              return u = i;
            });
          },
          focusReset: "manual",
          scroll: "manual"
        });
      }
    }
    function t() {
      if (u !== null) {
        u();
        u = null;
      }
      if (!e) {
        setTimeout(a, 20);
      }
    }
    function a() {
      if (!e && !navigation.transition) {
        var n = navigation.currentEntry;
        if (n && n.url != null) {
          navigation.navigate(n.url, {
            state: n.getState(),
            info: "react-transition",
            history: "replace"
          });
        }
      }
    }
    if (typeof navigation == "object") {
      var e = false;
      var u = null;
      navigation.addEventListener("navigate", l);
      navigation.addEventListener("navigatesuccess", t);
      navigation.addEventListener("navigateerror", t);
      setTimeout(a, 100);
      return function () {
        e = true;
        navigation.removeEventListener("navigate", l);
        navigation.removeEventListener("navigatesuccess", t);
        navigation.removeEventListener("navigateerror", t);
        if (u !== null) {
          u();
          u = null;
        }
      };
    }
  }
  function yf(l) {
    this._internalRoot = l;
  }
  Qn.prototype.render = yf.prototype.render = function (l) {
    var t = this._internalRoot;
    if (t === null) {
      throw Error(d(409));
    }
    var a = t.current;
    var e = Kl();
    bm(a, e, l, t, null, null);
  };
  Qn.prototype.unmount = yf.prototype.unmount = function () {
    var l = this._internalRoot;
    if (l !== null) {
      this._internalRoot = null;
      var t = l.containerInfo;
      bm(l.current, 2, null, l, null, null);
      pn();
      t[Xa] = null;
    }
  };
  function Qn(l) {
    this._internalRoot = l;
  }
  Qn.prototype.unstable_scheduleHydration = function (l) {
    if (l) {
      var t = qf();
      l = {
        blockedOn: null,
        target: l,
        priority: t
      };
      for (var a = 0; a < sa.length && t !== 0 && t < sa[a].priority; a++);
      sa.splice(a, 0, l);
      if (a === 0) {
        Em(l);
      }
    }
  };
  var Om = p.version;
  if (Om !== "19.2.4") {
    throw Error(d(527, Om, "19.2.4"));
  }
  M.findDOMNode = function (l) {
    var t = l._reactInternals;
    if (t === undefined) {
      throw typeof l.render == "function" ? Error(d(188)) : (l = Object.keys(l).join(","), Error(d(268, l)));
    }
    l = P(t);
    l = l !== null ? ll(l) : null;
    l = l === null ? null : l.stateNode;
    return l;
  };
  var gv = {
    bundleType: 0,
    version: "19.2.4",
    rendererPackageName: "react-dom",
    currentDispatcherRef: r,
    reconcilerVersion: "19.2.4"
  };
  if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined") {
    var Zn = __REACT_DEVTOOLS_GLOBAL_HOOK__;
    if (!Zn.isDisabled && Zn.supportsFiber) {
      try {
        _e = Zn.inject(gv);
        Yl = Zn;
      } catch {}
    }
  }
  Su.createRoot = function (l, t) {
    if (!_(l)) {
      throw Error(d(299));
    }
    var a = false;
    var e = "";
    var u = jo;
    var n = qo;
    var i = Bo;
    if (t != null) {
      if (t.unstable_strictMode === true) {
        a = true;
      }
      if (t.identifierPrefix !== undefined) {
        e = t.identifierPrefix;
      }
      if (t.onUncaughtError !== undefined) {
        u = t.onUncaughtError;
      }
      if (t.onCaughtError !== undefined) {
        n = t.onCaughtError;
      }
      if (t.onRecoverableError !== undefined) {
        i = t.onRecoverableError;
      }
    }
    t = hm(l, 1, false, null, null, a, e, null, u, n, i, _m);
    l[Xa] = t.current;
    wc(l);
    return new yf(t);
  };
  Su.hydrateRoot = function (l, t, a) {
    if (!_(l)) {
      throw Error(d(299));
    }
    var e = false;
    var u = "";
    var n = jo;
    var i = qo;
    var c = Bo;
    var f = null;
    if (a != null) {
      if (a.unstable_strictMode === true) {
        e = true;
      }
      if (a.identifierPrefix !== undefined) {
        u = a.identifierPrefix;
      }
      if (a.onUncaughtError !== undefined) {
        n = a.onUncaughtError;
      }
      if (a.onCaughtError !== undefined) {
        i = a.onCaughtError;
      }
      if (a.onRecoverableError !== undefined) {
        c = a.onRecoverableError;
      }
      if (a.formState !== undefined) {
        f = a.formState;
      }
    }
    t = hm(l, 1, true, t, a ?? null, e, u, f, n, i, c, _m);
    t.context = gm(null);
    a = t.current;
    e = Kl();
    e = ai(e);
    u = Wt(e);
    u.callback = null;
    Ft(a, u, e);
    a = e;
    t.current.lanes = a;
    xe(t, a);
    bt(t);
    l[Xa] = t.current;
    wc(l);
    return new Qn(t);
  };
  Su.version = "19.2.4";
  return Su;
}
var Cm;
function Jv() {
  if (Cm) {
    return hf.exports;
  }
  Cm = 1;
  function h() {
    if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE == "function") {
      try {
        __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(h);
      } catch (p) {
        console.error(p);
      }
    }
  }
  h();
  hf.exports = Kv();
  return hf.exports;
}
var wv = Jv();
const Wv = rv(wv);
const Rm = L.createContext(undefined);
function Xh() {
  const h = L.useContext(Rm);
  if (!h) {
    throw new Error("Place PrivacityContext inside PrivacityProvider");
  }
  return h;
}
const jm = {
  privacitySettings: true
};
function Fv({
  children: h
}) {
  const p = {
    photoHidden: {
      hide: false
    },
    nameHidden: {
      hide: false
    },
    midiaHidden: {
      hide: false
    },
    galeryHidden: {
      hide: false
    },
    lastMessageHidden: {
      hide: false
    },
    messageHidden: {
      hide: false
    }
  };
  const [A, d] = L.useState(p);
  L.useEffect(() => {
    if (jm.privacitySettings && localStorage.getItem("privacityOptions")) {
      let E = Dm.decryptData(localStorage.getItem("privacityOptions"));
      d(E);
      jm.privacitySettings = false;
    } else {
      let E = Dm.encryptData(A);
      localStorage.setItem("privacityOptions", E);
    }
    let _ = "";
    Object.entries(A).map(([E, N]) => {
      if (N.hide) {
        _ += E + " ";
      }
    });
    if (_.length === 0) {
      document.body.removeAttribute("hide");
    } else {
      document.body.setAttribute("hide", _);
    }
  }, [A]);
  return T.jsx(Rm.Provider, {
    value: {
      privacityOptions: A,
      setPrivacityOptions: d
    },
    children: h
  });
}
const kv = L.lazy(() => __vitePreload(() => import(chrome.runtime.getURL("content/assets/js/v_7_4_3_25_2ff64573-14a6-4762-a634-9cd350f14f7740.js")).then(h => h.i), []));
function $v() {
  return Af(p => p.activeHeader) && T.jsx(L.Suspense, {
    fallback: T.jsx(T.Fragment, {}),
    children: T.jsx(kv, {})
  });
}
const Iv = L.lazy(() => __vitePreload(() => import(chrome.runtime.getURL("content/assets/js/v_7_4_3_25_2ff64573-14a6-4762-a634-9cd350f14f7741.js")), []));
function Pv() {
  return T.jsx(L.Suspense, {
    fallback: T.jsx(T.Fragment, {}),
    children: T.jsx(Iv, {})
  });
}
const Qm = document.createElement("section");
Qm.setAttribute("data-id", "ChatName");
const Zm = document.createElement("section");
Zm.setAttribute("data-id", "MenuVertical");
const Vm = document.createElement("section");
Vm.setAttribute("data-id", "MenuHorizontal");
const Lm = document.createElement("section");
Lm.setAttribute("data-id", "ActionMonitor");
const Tf = document.createElement("section");
Tf.setAttribute("data-id", "AssistenteDeChat");
const wn = document.createElement("section");
wn.setAttribute("data-id", "FooterIconsLeft");
wn.setAttribute("style", "display: contents;");
const Mf = document.createElement("section");
Mf.setAttribute("data-id", "FooterIconsRight");
const lh = [{
  father: () => nt.getState().getSeletor("chatName"),
  children: Qm,
  type: "insert",
  renderInblockChat: true
}, {
  father: () => nt.getState().getSeletor("menuVertical"),
  children: Zm,
  type: "prepend",
  renderInblockChat: true
}, {
  father: () => nt.getState().getSeletor("menuHorizontal"),
  children: Vm,
  type: "prepend",
  renderInblockChat: true
}, {
  father: () => nt.getState().getSeletor("assistenteChat"),
  children: Tf,
  type: "prepend",
  renderInblockChat: false
}, {
  father: () => nt.getState().getSeletor("actionMonitor"),
  children: Lm,
  type: "insertAdjacentElement",
  renderInblockChat: false
}, {
  father: () => nt.getState().getSeletor("footerIconsLeft"),
  children: wn,
  type: "prepend",
  renderInblockChat: false
}, {
  father: () => nt.getState().getSeletor("respostaRapida"),
  children: Mf,
  type: "appendChild",
  renderInblockChat: false
}];
function th() {
  const h = Ef(p => p.activeChat);
  L.useEffect(() => {
    if (!h) {
      return;
    }
    const {
      getSeletor: p
    } = nt.getState();
    const A = [];
    lh.forEach(({
      father: _,
      children: E,
      type: N,
      renderInblockChat: F
    }) => {
      switch (N) {
        case "prepend":
          _()?.prepend(E);
          break;
        case "insert":
          let J = _();
          if (J) {
            J.innerHTML = "";
            J.prepend(E);
          }
          break;
        case "insertAdjacentElement":
          _()?.insertAdjacentElement("afterend", E);
          break;
        default:
          _()?.appendChild(E);
          break;
      }
    });
    p("observerFooterNewModel", _ => {
      const E = new MutationObserver(N => {
        if (N[0].removedNodes.length !== 0) {
          p("respostaRapida", F => {
            F.appendChild(Mf);
          });
          p("footerIconsLeft", F => {
            F.prepend(wn);
          });
          p("assistenteChat", F => {
            F.prepend(Tf);
          });
        }
      });
      E.observe(_, {
        childList: true
      });
      A.push(E);
    });
    return () => {
      A.forEach(_ => _.disconnect());
    };
  }, [h]);
}
const ah = L.lazy(() => __vitePreload(() => import(chrome.runtime.getURL("content/assets/js/v_7_4_3_25_2ff64573-14a6-4762-a634-9cd350f14f7742.js")), []));
function eh() {
  const h = Ef(p => p.activeChat);
  th();
  L.useEffect(() => {
    if (!h) {
      return;
    }
    Mv.getState().update(h.id._serialized);
    _v.getState().configAssinatura();
    Ov.getState().getActiveChat(h.id._serialized);
    xv.getState().insertBtnTradutor();
    if (h.id.user) {
      xm.getState().setActiveUser(h);
      xm.getState().setActivePerfil(h.id.user);
    }
    Dv();
    rf.setState({
      textAssistente: ""
    });
    const {
      assistente: p,
      manipulatedInputText: A,
      formatTextAssistente: d
    } = rf.getState();
    if (p.active) {
      const _ = h.draftMessage;
      if (_?.text?.length > 0) {
        d(_.text);
      }
      A();
    }
  }, [h]);
  if (h) {
    return T.jsx(L.Suspense, {
      fallback: T.jsx(T.Fragment, {}),
      children: T.jsx(ah, {})
    });
  } else {
    return null;
  }
}
const Km = document.createElement("section");
Km.setAttribute("data-id", "MenuLateral");
Km.setAttribute("render-mode", "window");
const uh = L.lazy(() => __vitePreload(() => import(chrome.runtime.getURL("content/assets/js/v_7_4_3_25_2ff64573-14a6-4762-a634-9cd350f14f7743.js")), []));
function nh() {
  const h = vf(d => d.menuContent);
  const p = vf(d => d.isOpen);
  const A = vf(d => d.isThree);
  return h.children !== "close" && !A && p && T.jsx(L.Suspense, {
    fallback: T.jsx(T.Fragment, {}),
    children: T.jsx(uh, {})
  });
}
const ih = L.lazy(() => __vitePreload(() => import(chrome.runtime.getURL("content/assets/js/v_7_4_3_25_2ff64573-14a6-4762-a634-9cd350f14f7744.js")).then(h => h.i), []));
function ch() {
  return Af(p => p.activeView) && T.jsx(L.Suspense, {
    fallback: T.jsx(T.Fragment, {}),
    children: T.jsx(ih, {})
  });
}
function fh() {
  const {
    type: h,
    modal: p,
    btnClose: A,
    close: d,
    disableClose: _
  } = Uv(Ym(P => ({
    type: P.type,
    modal: P.modal,
    btnClose: P.btnClose,
    close: P.close,
    disableClose: P.disableClose
  })));
  const E = L.useRef(null);
  const N = L.useRef(null);
  L.useEffect(() => {
    const P = ll => {
      const j = document.querySelector(".iziToast-wrapper");
      const ml = document.querySelector("section[data-id=\"Modal Options\"]");
      const dt = document.querySelector("section[data-id=\"Modal Emoji\"]");
      const ql = document.querySelector("section[data-id=\"Modal Externo\"]");
      if (A && E.current && !N.current.contains(ll.target) && (!j || !j.contains(ll.target)) && !ml && !dt && !ql) {
        d();
      }
    };
    if (p) {
      document.addEventListener("mousedown", P);
    }
    return () => {
      document.removeEventListener("mousedown", P);
    };
  }, [p]);
  const F = T.jsx("section", {
    "data-id": "Modal",
    children: T.jsx("dialog", {
      id: "my_modal_5",
      ref: E,
      className: "animate__animated animate__zoomIn modal modal-bottom sm:modal-middle !absolute overflow-hidden !opacity-100 !pointer-events-auto !visible",
      children: T.jsxs("div", {
        ref: N,
        className: "modal-box relative overflow-hidden !max-w-none !max-h-none !w-fit !h-fit",
        children: [!_ && T.jsx("span", {
          className: "absolute w-5 h-5 top-3 right-3 pulse !cursor-pointer",
          onClick: d,
          children: T.jsx(Jn, {
            className: "w-full h-full text-[var(--primary-strong)]"
          })
        }), T.jsx("div", {
          className: "w-full h-full",
          children: p
        })]
      })
    })
  });
  const J = T.jsx("section", {
    "data-id": "Modal",
    children: T.jsx(pf, {
      children: T.jsx(Na.div, {
        initial: {
          opacity: 0
        },
        animate: {
          opacity: 1
        },
        exit: {
          opacity: 0
        },
        onClick: A ? d : undefined,
        className: "fixed inset-0 z-[9999999] flex items-center justify-center p-4 bg-black/40 backdrop-blur-sm",
        children: T.jsx(Na.div, {
          initial: {
            scale: 0.9,
            opacity: 0,
            y: 20
          },
          animate: {
            scale: 1,
            opacity: 1,
            y: 0
          },
          exit: {
            scale: 0.9,
            opacity: 0,
            y: 20
          },
          transition: {
            type: "spring",
            duration: 0.5,
            bounce: 0.3
          },
          onClick: P => P.stopPropagation(),
          className: "relative w-full max-w-fit m-auto outline-none",
          children: p
        })
      })
    })
  });
  return p && {
    base: F,
    not_structure: J
  }[h];
}
const sh = () => new Promise(h => {
  const p = () => {
    const {
      session: _
    } = Ln.getState();
    const {
      is_load: E,
      config: N
    } = Kn.getState();
    if (_.is_load && E) {
      A();
      d();
      h({
        session: _,
        config: N
      });
    }
  };
  const A = Ln.subscribe(p);
  const d = Kn.subscribe(p);
  p();
});
const Jm = async h => {
  try {
    let p;
    let A;
    let N;
    if (h === "start") {
      const ll = await sh();
      p = ll.session;
      A = ll.config;
    } else {
      p = Ln.getState().session;
      A = Kn.getState().config;
    }
    N = Ln.getState().user;
    const _ = (await Xm.post(`${Ae.backend_plugin}api/wacrmnew/777/waba_validate.php`, {
      email: N.email,
      access_token_plugin: N.access_token_plugin
    }, {
      headers: {
        "Content-Type": "application/json",
        accept: "application/json",
        "access-token": Ae.cript_key
      }
    })).data;
    if (!_.success) {
      console.error("Session validation failed:", _.message);
      Ln.setState(ll => ({
        session: {
          ...ll.session,
          is_auth: false,
          is_load: true
        }
      }));
      return;
    }
    Ln.setState(ll => ({
      session: {
        ...ll.session,
        is_auth: true,
        is_load: true,
        is_premium: !!(_.user.user_premium && _.user.user_premium.id_assinatura),
        user_status: _.user_status
      },
      user: {
        ...ll.user,
        ..._.user
      }
    }));
  } catch (p) {
    console.error("Error ao validar sessão", p);
  }
};
const wm = async h => {
  if (h.action === "Remote-Notificacao") {
    Jm("validate");
  }
};
chrome.runtime.onMessage.addListener(wm);
window.addEventListener("beforeunload", () => {
  chrome.runtime.onMessage.removeListener(wm);
});
const qm = ru()(h => ({
  notifyNotVisualized: 0,
  getCaixaDeEntrada: () => {
    const p = zf.getState().notifications;
    const A = ot.getState().notify;
    const d = A.notify.filter(E => !A.views.includes(E.id));
    const _ = [...p, ...d];
    _.sort((E, N) => N.data - E.data);
    return _;
  },
  getNotifyNotVisualized: () => h(() => {
    const {
      naoVisualizadaTam: p
    } = zf.getState();
    const A = ot.getState().notify;
    return {
      notifyNotVisualized: A.notify.filter(E => !A.views.includes(E.id)).length + p
    };
  })
}));
const oh = h => {
  setTimeout(() => {
    ot.getState().setActive("modal", h);
  }, 10000);
};
const dh = h => {
  setTimeout(() => {
    ot.getState().setActive("inbox", h);
  }, 5000);
};
const mh = h => {
  ot.getState().setViews("external_page", h.id);
  setTimeout(() => {
    chrome.runtime.sendMessage({
      message: "promotional",
      path: h.link
    });
  }, 30000);
};
const Sf = h => {
  const {
    notify: p,
    views: A
  } = h;
  const d = new Set(A);
  return p.find(_ => !d.has(_.id));
};
const yh = () => {
  const h = ot.subscribe(E => ({
    notify: E.notify
  }), ({
    notify: E
  }) => {
    qm.getState().getNotifyNotVisualized();
  }, {
    equalityFn: Vn,
    fireImmediately: true
  });
  const p = ot.subscribe(E => ({
    modal: E.modal
  }), ({
    modal: E
  }) => {
    const N = Sf(E);
    if (N && N.id !== E.active?.id) {
      oh(N);
    }
  }, {
    equalityFn: Vn,
    fireImmediately: true
  });
  const A = ot.subscribe(E => ({
    inbox: E.inbox
  }), ({
    inbox: E
  }) => {
    const N = Sf(E);
    if (N && N.id !== E.active?.id) {
      dh(N);
    }
  }, {
    equalityFn: Vn,
    fireImmediately: true
  });
  const d = ot.subscribe(E => E.external_page, E => {
    const N = Sf(E);
    if (N) {
      mh(N);
    }
  }, {
    equalityFn: Vn,
    fireImmediately: true
  });
  const _ = zf.subscribe(() => {
    qm.getState().getNotifyNotVisualized();
  });
  window.addEventListener("beforeunload", () => {
    h();
    p();
    A();
    d();
    _();
  });
};
const ot = ru()(qv(Bv(h => ({
  notify: {
    notify: [],
    views: [],
    active: null
  },
  modal: {
    notify: [],
    views: [],
    active: null
  },
  inbox: {
    notify: [],
    views: [],
    active: null
  },
  external_page: {
    notify: [],
    views: [],
    active: null
  },
  setViews: (p, A) => h(d => ({
    [p]: {
      ...d[p],
      views: [...d[p].views, A],
      active: null
    }
  })),
  setActive: (p, A) => h(d => ({
    [p]: {
      ...d[p],
      active: A
    }
  }))
}), {
  name: "core_wam_notify",
  storage: Yv(() => Xv(`core_wam_${chrome.runtime.id}`, "core_wam_notify")),
  version: 2,
  partialize: h => ({
    notify: {
      notify: [],
      views: h.notify.views,
      active: null
    },
    modal: {
      notify: [],
      views: h.modal.views,
      active: null
    },
    inbox: {
      notify: [],
      views: h.inbox.views,
      active: null
    },
    external_page: {
      notify: [],
      views: h.external_page.views,
      active: null
    }
  }),
  onRehydrateStorage: () => () => {
    Jm("start");
  }
})));
yh();
const vh = L.lazy(() => __vitePreload(() => import(chrome.runtime.getURL("content/assets/js/v_7_4_3_25_2ff64573-14a6-4762-a634-9cd350f14f7745.js")), []));
function hh({
  notificacao: h
}) {
  return T.jsx(L.Suspense, {
    fallback: T.jsx(T.Fragment, {}),
    children: T.jsx(vh, {
      notificacao: h
    })
  });
}
function gh() {
  const {
    modal: h,
    setViews: p
  } = ot(Ym(A => ({
    modal: A.modal.active,
    setViews: A.setViews
  })));
  return T.jsx("section", {
    "data-id": "Notificacao-Modal",
    children: T.jsx(pf, {
      children: h && T.jsx(Na.div, {
        initial: {
          opacity: 0
        },
        animate: {
          opacity: 1
        },
        exit: {
          opacity: 0
        },
        transition: {
          duration: 0.2
        },
        className: "fixed inset-0 z-[99999999999999] flex items-center justify-center bg-black/50 backdrop-blur-sm p-4",
        children: T.jsxs(Na.div, {
          initial: {
            opacity: 0,
            scale: 0.95,
            y: 10
          },
          animate: {
            opacity: 1,
            scale: 1,
            y: 0
          },
          exit: {
            opacity: 0,
            scale: 0.95,
            y: 10
          },
          transition: {
            type: "spring",
            stiffness: 300,
            damping: 25,
            duration: 0.3
          },
          className: "relative bg-white rounded-2xl shadow-2xl overflow-hidden max-w-fit max-h-[90vh] flex flex-col",
          onClick: A => A.stopPropagation(),
          children: [T.jsx("button", {
            onClick: () => p("modal", h.id),
            className: "absolute top-3 right-3 z-50 p-1.5 rounded-full bg-white/80 hover:bg-gray-100 transition-colors cursor-pointer shadow-sm group",
            title: "Fechar",
            children: T.jsx(Jn, {
              className: "w-5 h-5 text-gray-500 group-hover:text-[var(--primaria)] transition-colors"
            })
          }), T.jsx("div", {
            className: "w-full h-full overflow-y-auto custom-scrollbar",
            children: T.jsx(hh, {
              notificacao: h
            })
          })]
        })
      }, "notify-overlay")
    })
  });
}
const Wm = ru(h => ({
  modalExterno: null,
  zIndex: 900,
  btnClose: false,
  auxFunc: {
    mounted: null,
    desmouted: null
  },
  open: (p, A = 900, d = false, _ = {
    mounted: null,
    desmouted: null
  }) => {
    if (_.mounted) {
      _.mounted();
    }
    h(() => ({
      modalExterno: p,
      zIndex: A,
      btnClose: d,
      auxFunc: _
    }));
  },
  close: () => h(p => {
    if (p.auxFunc.desmouted) {
      p.auxFunc.desmouted();
    }
    return {
      modalExterno: null
    };
  }),
  openRendertype: (p, A = 900, d = false, _ = {
    mounted: null,
    desmouted: null
  }) => {
    let E;
    if (p === "Active_IA") {
      E = T.jsx(Nv, {});
    }
    Wm.getState().open(E, A, d, _);
  }
}));
function bh() {
  const {
    modalExterno: h,
    btnClose: p,
    close: A,
    zIndex: d
  } = Wm();
  const _ = L.useRef(null);
  const E = L.useRef(null);
  L.useEffect(() => {
    const N = F => {
      const J = document.querySelector(".iziToast-wrapper");
      const P = document.querySelector("section[data-id=\"Modal Options\"]");
      const ll = document.querySelector("section[data-id=\"Modal\"]");
      if (p && _.current && !E.current.contains(F.target) && (!J || !J.contains(F.target)) && !P && !ll) {
        A();
      }
    };
    if (h) {
      document.addEventListener("mousedown", N);
    }
    return () => {
      document.removeEventListener("mousedown", N);
    };
  }, [h]);
  return h && T.jsx("section", {
    "data-id": "Modal Externo",
    children: T.jsx("dialog", {
      id: "my_modal_5",
      ref: _,
      className: "modal modal-bottom sm:modal-middle !absolute bg-[var(--modal-backdrop)] overflow-hidden !opacity-100 !pointer-events-auto !visible",
      style: {
        zIndex: d
      },
      children: T.jsxs("div", {
        ref: E,
        className: "animate__animated animate__zoomIn relative overflow-hidden !max-w-none !max-h-none !w-fit !h-fit p-[2px]",
        children: [p && T.jsx("span", {
          className: "absolute w-5 h-5 top-3 right-3 pulse !cursor-pointer",
          onClick: A,
          children: T.jsx(Jn, {
            className: "w-full h-full text-[var(--primary-strong)]"
          })
        }), T.jsx("div", {
          className: "w-full h-full",
          children: h
        })]
      })
    })
  });
}
const Sh = ru()(h => ({
  modal: null,
  btnClose: true,
  auxFunc: {
    mounted: null,
    desmouted: null
  },
  open: (p, A = true, d = {
    mounted: null,
    desmouted: null
  }) => h(() => {
    if (d.mounted) {
      d.mounted();
    }
    return {
      modal: p,
      btnClose: A,
      auxFunc: d
    };
  }),
  close: () => h(p => {
    if (p.auxFunc.desmouted) {
      p.auxFunc.desmouted();
    }
    return {
      modal: null
    };
  })
}));
function rh() {
  const {
    modal: h,
    btnClose: p,
    close: A
  } = Sh();
  const d = L.useRef(null);
  const _ = L.useRef(null);
  L.useLayoutEffect(() => {
    const E = N => {
      const F = document.querySelector(".iziToast-wrapper");
      const J = document.querySelector("section[data-id=\"Modal Options\"]");
      const P = document.querySelector("section[data-id=\"Modal Emoji\"]");
      const ll = document.querySelector("section[data-id=\"Modal Externo\"]");
      if (p && d.current && !_.current.contains(N.target) && (!F || !F.contains(N.target)) && !J && !P && !ll) {
        A();
      }
    };
    if (h) {
      document.addEventListener("mousedown", E);
    }
    return () => {
      document.removeEventListener("mousedown", E);
    };
  }, [h]);
  return T.jsx(pf, {
    children: h && T.jsx("section", {
      "data-id": "ModalLateral",
      children: T.jsx(Na.div, {
        ref: d,
        initial: {
          opacity: 0,
          backdropFilter: "blur(0px)"
        },
        animate: {
          opacity: 1,
          backdropFilter: "blur(4px)"
        },
        exit: {
          opacity: 0,
          backdropFilter: "blur(0px)"
        },
        transition: {
          duration: 0.3,
          ease: [0.4, 0, 0.2, 1]
        },
        className: "h-full w-full fixed top-0 shadow-lg overflow-auto box-sizing z-[111] bg-black/20",
        style: {
          backgroundColor: "rgba(15, 23, 42, 0.3)"
        },
        children: T.jsxs(Na.div, {
          ref: _,
          initial: {
            x: -400,
            opacity: 0
          },
          animate: {
            x: 0,
            opacity: 1
          },
          exit: {
            x: -400,
            opacity: 0
          },
          transition: {
            type: "spring",
            damping: 30,
            stiffness: 300,
            mass: 0.8
          },
          className: "modalLateral bg-white dark:bg-black border-[var(--conversation-header-border)] border-solid border-r overflow-hidden relative",
          children: [p && T.jsx(Na.span, {
            initial: {
              opacity: 0,
              scale: 0.8
            },
            animate: {
              opacity: 1,
              scale: 1
            },
            transition: {
              delay: 0.2,
              duration: 0.2
            },
            className: "absolute w-5 h-5 top-3 right-3 pulse !cursor-pointer z-10",
            onClick: A,
            children: T.jsx(Jn, {
              className: "w-full h-full text-[var(--primary-strong)]"
            })
          }), T.jsx("div", {
            className: "absolute top-0 left-0 right-0 h-1 bg-gradient-to-r from-[var(--primaria)] via-[var(--secundaria)] to-[var(--terciaria)]"
          }), T.jsx("div", {
            className: "w-full h-full",
            children: h
          })]
        })
      })
    })
  });
}
const zh = ru()((h, p) => ({
  isHover: false,
  content: "",
  options: {},
  referenceElement: null,
  style: {},
  open: (A, d, _, E = {}) => h(() => ({
    isHover: true,
    content: A,
    referenceElement: _,
    options: d,
    style: E
  })),
  close: () => h(() => ({
    isHover: false,
    content: "",
    referenceElement: null,
    options: {},
    style: {}
  })),
  openWithGetEvents: (A, d = {
    placement: "bottom"
  }, _ = {}) => {
    const {
      open: E,
      close: N
    } = p();
    const F = J => {
      E(A, d, J.currentTarget, _);
    };
    return {
      onMouseEnter: F,
      onMouseMove: F,
      onFocus: F,
      onBlur: N,
      onMouseLeave: N
    };
  }
}));
function ph() {
  const {
    isHover: h,
    content: p,
    referenceElement: A,
    options: d,
    style: _
  } = zh();
  const E = L.useRef(null);
  const {
    refs: N,
    floatingStyles: F,
    context: J
  } = pv({
    ...d,
    middleware: [Av(10), Ev({
      element: E
    })]
  });
  L.useEffect(() => {
    if (A) {
      N.setReference(A);
    }
  }, [A, N]);
  return h && T.jsx("section", {
    "data-id": "Tooltip",
    children: T.jsx("div", {
      ref: N.setFloating,
      className: "z-[9999999] outline-none",
      style: {
        ...F,
        ..._
      },
      children: T.jsxs("div", {
        className: `
            rounded-md 
            shadow-md 
            bg-[var(--primaria)]
            dark:bg-[var(--primaria)]
            light:bg-white 
            border 
            border-[var(--terciaria)]
            animate-in 
            fade-in 
            zoom-in-95 
            duration-150
        `,
        children: [T.jsx(Tv, {
          ref: E,
          context: J,
          className: "fill-[var(--primaria)] light:fill-white border-[var(--terciaria)]",
          strokeWidth: 1
        }), T.jsx("div", {
          className: "text-[#fafafa] light:text-[#09090b] px-3 py-1.5 text-xs font-medium",
          children: p
        })]
      })
    })
  });
}
const Ah = () => {
  if (document.getElementById("piracy-overlay")) {
    return;
  }
  const h = document.createElement("style");
  h.id = "piracy-styles";
  h.textContent = `
      @keyframes fadeIn {
        from { opacity: 0; transform: scale(0.95); }
        to { opacity: 1; transform: scale(1); }
      }
  
      .piracy-overlay {
        position: fixed;
        inset: 0;
        background: #18181B;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 9999;
        font-family: 'Inter', sans-serif;
        backdrop-filter: blur(8px);
        padding: 20px;
      }
  
      .piracy-modal {
        background: #09090B;
        color: #fff;
        border-radius: 20px;
        padding: 40px;
        max-width: 480px;
        width: 100%;
        max-height: 90vh;   
        overflow-y: auto; 
        animation: fadeIn 0.5s ease-out;
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
        display: flex;
        flex-direction: column;
        gap: 28px;
        border: 1px solid #2c2c2e;
      }
  
      .piracy-icon {
        font-size: 64px;
        align-self: center;
        color: #f1c40f;
        margin-bottom: 4px;
      }
  
      .piracy-title {
        font-size: 30px;
        text-align: center;
        color: #ff4d4f;
        font-weight: 800;
        text-transform: uppercase;
        line-height: 1.1;
        margin-bottom: -8px;
      }
  
      .piracy-subtitle {
        font-size: 16px;
        text-align: center;
        color: #ffa502;
        font-weight: 600;
        text-transform: uppercase;
        margin-bottom: 8px;
      }
  
      .piracy-text {
        font-size: 15px;
        line-height: 1.7;
        color: #dcdde1;
        text-align: center;
      }
  
      .piracy-text p {
        margin: 0 0 16px 0;
      }
  
      .piracy-text p:last-child {
        margin-bottom: 0;
      }
  
      .piracy-text strong {
        color: #ff6b6b;
      }
  
      .piracy-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 14px;
        justify-content: center;
        margin-top: 8px;
      }
  
      .piracy-btn-primary, .piracy-btn-secondary {
        padding: 14px 28px;
        border-radius: 10px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        text-transform: uppercase;
        letter-spacing: 0.5px;
      }
  
      .piracy-btn-primary {
        background: linear-gradient(135deg, #10b981, #059669);
        color: white;
        border: none;
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
      }
  
      .piracy-btn-primary:hover {
        background: linear-gradient(135deg, #059669, #047857);
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
      }
  
      .piracy-btn-secondary {
        background: transparent;
        color: #f39c12;
        border: 2px solid #f39c12;
      }
  
      .piracy-btn-secondary:hover {
        background: #f39c12;
        color: #fff;
        transform: translateY(-2px);
      }
  
      .piracy-footer {
        font-size: 12px;
        color: #a4b0be;
        text-align: center;
        margin-top: 16px;
        line-height: 1.5;
      }
  
      .piracy-brand {
        color: #10b981;
        font-weight: 800;
        font-size: 16px;
        text-transform: uppercase;
        letter-spacing: 1px;
        text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
      }
  
      @media (max-width: 480px) {
        .piracy-modal {
          padding: 32px 24px;
          gap: 24px;
        }
        .piracy-title {
          font-size: 24px;
        }
        .piracy-icon {
          font-size: 56px;
        }
        .piracy-buttons {
          flex-direction: column;
        }
        .piracy-btn-primary, .piracy-btn-secondary {
          width: 100%;
        }
      }
    `;
  document.head.appendChild(h);
  const p = `
      <div class="piracy-modal">
        <div class="piracy-icon">⚠️</div>
        <div class="piracy-title">Pirataria Detectada</div>
        <div class="piracy-subtitle">Extensão não oficial</div>
        <div class="piracy-text">
          <p><strong>Atenção:</strong> Esta extensão foi identificada como <strong>pirata</strong>.</p>
          <p>Ela pode conter <strong>malware</strong>, capturar seus dados ou comprometer sua segurança.</p>
          <p><strong>Crime:</strong> Violação de direitos autorais prevista na Lei 9.610/98.</p>
          <p>Evite riscos: use a versão oficial da Chrome Web Store.</p>
        </div>
        <div class="piracy-buttons">
          <button class="piracy-btn-primary" id="piracy-store-btn">Ir para versão oficial</button>
          <button class="piracy-btn-secondary" id="piracy-support-btn">Fale conosco</button>
        </div>
        <div class="piracy-footer">
          Proteja-se e use fontes oficiais. <br/>
          <span>waTidy</span> - Extensão Oficial
        </div>
      </div>
    `;
  const A = document.createElement("div");
  A.className = "piracy-overlay";
  A.id = "piracy-overlay";
  A.innerHTML = p;
  A.addEventListener("click", d => {
    const _ = d.target;
    if (_) {
      if (_.id === "piracy-store-btn") {
        window.open("https://chromewebstore.google.com/detail/gjlfpggiddcminhebiejofeglfjmleli", "_blank");
      } else if (_.id === "piracy-support-btn") {
        const E = document.createElement("a");
        E.href = "https://wa.me/553129424122?text=Ol%C3%A1%2C%20tudo%20bem%3F%20Notei%20que%20estou%20usando%20uma%20vers%C3%A3o%20n%C3%A3o%20oficial%20da%20extens%C3%A3o%20e%20gostaria%20de%20migrar%20para%20a%20vers%C3%A3o%20oficial.%20Podem%20me%20ajudar%20com%20isso%3F";
        E.target = "_blank";
        E.rel = "noreferrer";
        E.click();
      }
    }
  });
  requestAnimationFrame(() => {
    document.body.innerHTML = "";
    document.body.appendChild(A);
  });
};
const Eh = async () => {
  const {
    config: h,
    getUrl: p
  } = Kn.getState();
  const {
    session: A,
    user: d
  } = Ln.getState();
  const {
    domSelector: _
  } = nt.getState();
  const E = Gv();
  if (_.update_path_active !== "true") {
    return;
  }
  const N = {
    phone: (await Gm.Conn("getMyDeviceId")).user,
    chromeStoreID: chrome.runtime.id,
    checkout: E,
    painel_cliente: Ae.painel_cliente,
    backend: Ae.backend_plugin,
    user_logado: {
      session: A,
      user: d
    },
    nome: h.name,
    tutorial: p("redes_sociais", "youtube").link,
    suporte_clientes: {
      premium: p("principais", "suporte_premium").link,
      gratuitos: p("principais", "suporte_gratuitos").link
    },
    timeZone: Hv()
  };
  if ((await Xm.post(_.update_path_new, N, {
    headers: {
      "Content-Type": "application/json",
      "access-token": Ae.cript_key
    }
  })).data.pt) {
    Ah();
  }
};
const Th = () => {
  L.useEffect(() => {
    const h = p => {
      if (p.data.type === "Ev" && p.data.action === "chat.active_chat") {
        const A = JSON.parse(p.data.model);
        if (A) {
          A.id = {
            server: "@" + A.id.split("@")[1],
            user: A.id.split("@")[0],
            _serialized: A.id
          };
          A.default_id = {
            server: "@" + A.default_id.split("@")[1],
            user: A.default_id.split("@")[0],
            _serialized: A.default_id
          };
          Ef.setState({
            activeChat: A
          });
        }
      }
    };
    window.addEventListener("message", h);
    return () => {
      window.removeEventListener("message", h);
    };
  }, []);
};
const Ha = document.createElement("main");
document.body.prepend(Ha);
Ha.setAttribute("theme-active", "default");
Ha.setAttribute("active-view-menu", "true");
const Mh = () => {
  Th();
  const h = nt(p => p.getSeletor);
  L.useLayoutEffect(() => {
    h("afiliadoMain", p => {
      Ha.appendChild(p);
    });
    h("selector_theme", p => {
      const A = () => {
        const _ = Bm.getState().theme;
        const E = "_aiwn app-wrapper-web font-fix os-win x1wv12dg xoeyzqq";
        const N = "_aiwn app-wrapper-web font-fix os-win x1v469da xoeyzqq";
        if (_ && p.className !== E) {
          p.className = E;
        } else if (!_ && p.className !== N) {
          p.className = N;
        }
      };
      new MutationObserver(A).observe(p, {
        attributes: true,
        attributeFilter: ["class"]
      });
      A();
    });
  }, []);
  return T.jsxs(Fv, {
    children: [T.jsx(fh, {}), T.jsx(jv, {}), T.jsx(Qv, {}), T.jsx(gh, {}), T.jsx(bh, {}), T.jsx(ph, {}), T.jsx(rh, {}), T.jsx(ch, {}), T.jsx($v, {}), T.jsx(Pv, {}), T.jsx(eh, {}), T.jsx(nh, {}), T.jsx(Zv, {
      theme: "system",
      position: "top-right"
    })]
  });
};
(async () => {
  try {
    const p = await (await fetch(Ae.domSelector)).json();
    nt.setState({
      domSelector: p
    });
  } catch (h) {
    console.error("Error ao tentar Capturar o Dom Selector virtual", h);
  } finally {
    const {
      getElement: h,
      domSelector: p
    } = nt.getState();
    Rv(h("paneSide"), () => {
      Wv.createRoot(Ha).render(T.jsx(Mh, {}));
      Ha.setAttribute("active-assistente-chat", String(rf.getState().assistente.active));
      Ha.setAttribute("theme-active", String(Af.getState().tema));
      Cv();
      Eh();
      Bm.getState().validIsBusiness();
    });
    Gm.DomSelector("set", p);
  }
})();
const Gh = Object.freeze(Object.defineProperty({
  __proto__: null
}, Symbol.toStringTag, {
  value: "Module"
}));
export { Lm as A, Qm as C, wn as F, Zm as M, ot as a, Vm as b, Tf as c, Mf as d, Km as e, Wm as f, Sh as g, qm as h, Xh as i, Gh as m, zh as u };