UNPKG

@redwoodjs/sdk

Version:

Build fast, server-driven webapps on Cloudflare with SSR, RSC, and realtime

7,631 lines 266 kB
import qi from "react";
var xr = {}, ui = {}, mi = { exports: {} }, Un = {};
/**
 * @license React
 * react-dom.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
var Du;
function Uu() {
  if (Du) return Un;
  Du = 1;
  var Tn = qi;
  function le(N) {
    var P = "https://react.dev/errors/" + N;
    if (1 < arguments.length) {
      P += "?args[]=" + encodeURIComponent(arguments[1]);
      for (var G = 2; G < arguments.length; G++)
        P += "&args[]=" + encodeURIComponent(arguments[G]);
    }
    return "Minified React error #" + N + "; visit " + P + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
  }
  function I() {
  }
  var cn = {
    d: {
      f: I,
      r: function() {
        throw Error(le(522));
      },
      D: I,
      C: I,
      L: I,
      m: I,
      X: I,
      S: I,
      M: I
    },
    p: 0,
    findDOMNode: null
  }, It = Symbol.for("react.portal");
  function kt(N, P, G) {
    var In = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
    return {
      $$typeof: It,
      key: In == null ? null : "" + In,
      children: N,
      containerInfo: P,
      implementation: G
    };
  }
  var fe = Tn.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
  function ze(N, P) {
    if (N === "font") return "";
    if (typeof P == "string")
      return P === "use-credentials" ? P : "";
  }
  return Un.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = cn, Un.createPortal = function(N, P) {
    var G = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
    if (!P || P.nodeType !== 1 && P.nodeType !== 9 && P.nodeType !== 11)
      throw Error(le(299));
    return kt(N, P, null, G);
  }, Un.flushSync = function(N) {
    var P = fe.T, G = cn.p;
    try {
      if (fe.T = null, cn.p = 2, N) return N();
    } finally {
      fe.T = P, cn.p = G, cn.d.f();
    }
  }, Un.preconnect = function(N, P) {
    typeof N == "string" && (P ? (P = P.crossOrigin, P = typeof P == "string" ? P === "use-credentials" ? P : "" : void 0) : P = null, cn.d.C(N, P));
  }, Un.prefetchDNS = function(N) {
    typeof N == "string" && cn.d.D(N);
  }, Un.preinit = function(N, P) {
    if (typeof N == "string" && P && typeof P.as == "string") {
      var G = P.as, In = ze(G, P.crossOrigin), oe = typeof P.integrity == "string" ? P.integrity : void 0, Fe = typeof P.fetchPriority == "string" ? P.fetchPriority : void 0;
      G === "style" ? cn.d.S(
        N,
        typeof P.precedence == "string" ? P.precedence : void 0,
        {
          crossOrigin: In,
          integrity: oe,
          fetchPriority: Fe
        }
      ) : G === "script" && cn.d.X(N, {
        crossOrigin: In,
        integrity: oe,
        fetchPriority: Fe,
        nonce: typeof P.nonce == "string" ? P.nonce : void 0
      });
    }
  }, Un.preinitModule = function(N, P) {
    if (typeof N == "string")
      if (typeof P == "object" && P !== null) {
        if (P.as == null || P.as === "script") {
          var G = ze(
            P.as,
            P.crossOrigin
          );
          cn.d.M(N, {
            crossOrigin: G,
            integrity: typeof P.integrity == "string" ? P.integrity : void 0,
            nonce: typeof P.nonce == "string" ? P.nonce : void 0
          });
        }
      } else P == null && cn.d.M(N);
  }, Un.preload = function(N, P) {
    if (typeof N == "string" && typeof P == "object" && P !== null && typeof P.as == "string") {
      var G = P.as, In = ze(G, P.crossOrigin);
      cn.d.L(N, G, {
        crossOrigin: In,
        integrity: typeof P.integrity == "string" ? P.integrity : void 0,
        nonce: typeof P.nonce == "string" ? P.nonce : void 0,
        type: typeof P.type == "string" ? P.type : void 0,
        fetchPriority: typeof P.fetchPriority == "string" ? P.fetchPriority : void 0,
        referrerPolicy: typeof P.referrerPolicy == "string" ? P.referrerPolicy : void 0,
        imageSrcSet: typeof P.imageSrcSet == "string" ? P.imageSrcSet : void 0,
        imageSizes: typeof P.imageSizes == "string" ? P.imageSizes : void 0,
        media: typeof P.media == "string" ? P.media : void 0
      });
    }
  }, Un.preloadModule = function(N, P) {
    if (typeof N == "string")
      if (P) {
        var G = ze(P.as, P.crossOrigin);
        cn.d.m(N, {
          as: typeof P.as == "string" && P.as !== "script" ? P.as : void 0,
          crossOrigin: G,
          integrity: typeof P.integrity == "string" ? P.integrity : void 0
        });
      } else cn.d.m(N);
  }, Un.requestFormReset = function(N) {
    cn.d.r(N);
  }, Un.unstable_batchedUpdates = function(N, P) {
    return N(P);
  }, Un.useFormState = function(N, P, G) {
    return fe.H.useFormState(N, P, G);
  }, Un.useFormStatus = function() {
    return fe.H.useHostTransitionStatus();
  }, Un.version = "19.0.0-rc-f2df5694-20240916", Un;
}
var Lu;
function Hu() {
  if (Lu) return mi.exports;
  Lu = 1;
  function Tn() {
    if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function"))
      try {
        __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Tn);
      } catch (le) {
        console.error(le);
      }
  }
  return Tn(), mi.exports = Uu(), mi.exports;
}
/**
 * @license React
 * react-dom-server.edge.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
var Bu;
function Yu() {
  if (Bu) return ui;
  Bu = 1;
  var Tn = qi, le = Hu(), I = Symbol.for("react.transitional.element"), cn = Symbol.for("react.portal"), It = Symbol.for("react.fragment"), kt = Symbol.for("react.strict_mode"), fe = Symbol.for("react.profiler"), ze = Symbol.for("react.provider"), N = Symbol.for("react.consumer"), P = Symbol.for("react.context"), G = Symbol.for("react.forward_ref"), In = Symbol.for("react.suspense"), oe = Symbol.for("react.suspense_list"), Fe = Symbol.for("react.memo"), ct = Symbol.for("react.lazy"), Cr = Symbol.for("react.scope"), ci = Symbol.for("react.debug_trace_mode"), fi = Symbol.for("react.offscreen"), oi = Symbol.for("react.legacy_hidden"), hi = Symbol.for("react.memo_cache_sentinel"), aa = Symbol.iterator, Sr = Array.isArray;
  function Pr(n, t) {
    var l = n.length & 3, u = n.length - l, f = t;
    for (t = 0; t < u; ) {
      var o = n.charCodeAt(t) & 255 | (n.charCodeAt(++t) & 255) << 8 | (n.charCodeAt(++t) & 255) << 16 | (n.charCodeAt(++t) & 255) << 24;
      ++t, o = 3432918353 * (o & 65535) + ((3432918353 * (o >>> 16) & 65535) << 16) & 4294967295, o = o << 15 | o >>> 17, o = 461845907 * (o & 65535) + ((461845907 * (o >>> 16) & 65535) << 16) & 4294967295, f ^= o, f = f << 13 | f >>> 19, f = 5 * (f & 65535) + ((5 * (f >>> 16) & 65535) << 16) & 4294967295, f = (f & 65535) + 27492 + (((f >>> 16) + 58964 & 65535) << 16);
    }
    switch (o = 0, l) {
      case 3:
        o ^= (n.charCodeAt(t + 2) & 255) << 16;
      case 2:
        o ^= (n.charCodeAt(t + 1) & 255) << 8;
      case 1:
        o ^= n.charCodeAt(t) & 255, o = 3432918353 * (o & 65535) + ((3432918353 * (o >>> 16) & 65535) << 16) & 4294967295, o = o << 15 | o >>> 17, f ^= 461845907 * (o & 65535) + ((461845907 * (o >>> 16) & 65535) << 16) & 4294967295;
    }
    return f ^= n.length, f ^= f >>> 16, f = 2246822507 * (f & 65535) + ((2246822507 * (f >>> 16) & 65535) << 16) & 4294967295, f ^= f >>> 13, f = 3266489909 * (f & 65535) + ((3266489909 * (f >>> 16) & 65535) << 16) & 4294967295, (f ^ f >>> 16) >>> 0;
  }
  function ia(n) {
    setTimeout(function() {
      throw n;
    });
  }
  var kn = Promise, j = typeof queueMicrotask == "function" ? queueMicrotask : function(n) {
    kn.resolve(null).then(n).catch(ia);
  }, Yn = null, Mn = 0;
  function w(n, t) {
    if (t.byteLength !== 0)
      if (2048 < t.byteLength)
        0 < Mn && (n.enqueue(
          new Uint8Array(Yn.buffer, 0, Mn)
        ), Yn = new Uint8Array(2048), Mn = 0), n.enqueue(t);
      else {
        var l = Yn.length - Mn;
        l < t.byteLength && (l === 0 ? n.enqueue(Yn) : (Yn.set(t.subarray(0, l), Mn), n.enqueue(Yn), t = t.subarray(l)), Yn = new Uint8Array(2048), Mn = 0), Yn.set(t, Mn), Mn += t.byteLength;
      }
  }
  function J(n, t) {
    return w(n, t), !0;
  }
  function cl(n) {
    Yn && 0 < Mn && (n.enqueue(new Uint8Array(Yn.buffer, 0, Mn)), Yn = null, Mn = 0);
  }
  var ua = new TextEncoder();
  function A(n) {
    return ua.encode(n);
  }
  function R(n) {
    return ua.encode(n);
  }
  function ca(n, t) {
    typeof n.error == "function" ? n.error(t) : n.close();
  }
  var Dn = Object.assign, rn = Object.prototype.hasOwnProperty, Mt = 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]*$"
  ), He = {}, fl = {};
  function ol(n) {
    return rn.call(fl, n) ? !0 : rn.call(He, n) ? !1 : Mt.test(n) ? fl[n] = !0 : (He[n] = !0, !1);
  }
  var he = 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(
      " "
    )
  ), Kn = /* @__PURE__ */ new Map([
    ["acceptCharset", "accept-charset"],
    ["htmlFor", "for"],
    ["httpEquiv", "http-equiv"],
    ["crossOrigin", "crossorigin"],
    ["accentHeight", "accent-height"],
    ["alignmentBaseline", "alignment-baseline"],
    ["arabicForm", "arabic-form"],
    ["baselineShift", "baseline-shift"],
    ["capHeight", "cap-height"],
    ["clipPath", "clip-path"],
    ["clipRule", "clip-rule"],
    ["colorInterpolation", "color-interpolation"],
    ["colorInterpolationFilters", "color-interpolation-filters"],
    ["colorProfile", "color-profile"],
    ["colorRendering", "color-rendering"],
    ["dominantBaseline", "dominant-baseline"],
    ["enableBackground", "enable-background"],
    ["fillOpacity", "fill-opacity"],
    ["fillRule", "fill-rule"],
    ["floodColor", "flood-color"],
    ["floodOpacity", "flood-opacity"],
    ["fontFamily", "font-family"],
    ["fontSize", "font-size"],
    ["fontSizeAdjust", "font-size-adjust"],
    ["fontStretch", "font-stretch"],
    ["fontStyle", "font-style"],
    ["fontVariant", "font-variant"],
    ["fontWeight", "font-weight"],
    ["glyphName", "glyph-name"],
    ["glyphOrientationHorizontal", "glyph-orientation-horizontal"],
    ["glyphOrientationVertical", "glyph-orientation-vertical"],
    ["horizAdvX", "horiz-adv-x"],
    ["horizOriginX", "horiz-origin-x"],
    ["imageRendering", "image-rendering"],
    ["letterSpacing", "letter-spacing"],
    ["lightingColor", "lighting-color"],
    ["markerEnd", "marker-end"],
    ["markerMid", "marker-mid"],
    ["markerStart", "marker-start"],
    ["overlinePosition", "overline-position"],
    ["overlineThickness", "overline-thickness"],
    ["paintOrder", "paint-order"],
    ["panose-1", "panose-1"],
    ["pointerEvents", "pointer-events"],
    ["renderingIntent", "rendering-intent"],
    ["shapeRendering", "shape-rendering"],
    ["stopColor", "stop-color"],
    ["stopOpacity", "stop-opacity"],
    ["strikethroughPosition", "strikethrough-position"],
    ["strikethroughThickness", "strikethrough-thickness"],
    ["strokeDasharray", "stroke-dasharray"],
    ["strokeDashoffset", "stroke-dashoffset"],
    ["strokeLinecap", "stroke-linecap"],
    ["strokeLinejoin", "stroke-linejoin"],
    ["strokeMiterlimit", "stroke-miterlimit"],
    ["strokeOpacity", "stroke-opacity"],
    ["strokeWidth", "stroke-width"],
    ["textAnchor", "text-anchor"],
    ["textDecoration", "text-decoration"],
    ["textRendering", "text-rendering"],
    ["transformOrigin", "transform-origin"],
    ["underlinePosition", "underline-position"],
    ["underlineThickness", "underline-thickness"],
    ["unicodeBidi", "unicode-bidi"],
    ["unicodeRange", "unicode-range"],
    ["unitsPerEm", "units-per-em"],
    ["vAlphabetic", "v-alphabetic"],
    ["vHanging", "v-hanging"],
    ["vIdeographic", "v-ideographic"],
    ["vMathematical", "v-mathematical"],
    ["vectorEffect", "vector-effect"],
    ["vertAdvY", "vert-adv-y"],
    ["vertOriginX", "vert-origin-x"],
    ["vertOriginY", "vert-origin-y"],
    ["wordSpacing", "word-spacing"],
    ["writingMode", "writing-mode"],
    ["xmlnsXlink", "xmlns:xlink"],
    ["xHeight", "x-height"]
  ]), fa = /["'&<>]/;
  function H(n) {
    if (typeof n == "boolean" || typeof n == "number" || typeof n == "bigint")
      return "" + n;
    n = "" + n;
    var t = fa.exec(n);
    if (t) {
      var l = "", u, f = 0;
      for (u = t.index; u < n.length; u++) {
        switch (n.charCodeAt(u)) {
          case 34:
            t = "&quot;";
            break;
          case 38:
            t = "&amp;";
            break;
          case 39:
            t = "&#x27;";
            break;
          case 60:
            t = "&lt;";
            break;
          case 62:
            t = "&gt;";
            break;
          default:
            continue;
        }
        f !== u && (l += n.slice(f, u)), f = u + 1, l += t;
      }
      n = f !== u ? l + n.slice(f, u) : l;
    }
    return n;
  }
  var si = /([A-Z])/g, wn = /^ms-/, oa = /^[\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 ft(n) {
    return oa.test("" + n) ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')" : n;
  }
  var We = Tn.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, Fr = le.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, bn = {
    pending: !1,
    data: null,
    method: null,
    action: null
  }, ae = Fr.d;
  Fr.d = {
    f: ae.f,
    r: ae.r,
    D: Ga,
    C: Xa,
    L: $n,
    m: Mi,
    X: Za,
    S: Kt,
    M: Al
  };
  var Ln = [];
  R('"></template>');
  var ha = R("<script>"), hl = R("<\/script>"), sa = R('<script src="'), Q = R('<script type="module" src="'), Gn = R('" nonce="'), da = R('" integrity="'), sl = R('" crossorigin="'), gn = R('" async=""><\/script>'), Ar = /(<\/|<)(s)(cript)/gi;
  function Or(n, t, l, u) {
    return "" + t + (l === "s" ? "\\u0073" : "\\u0053") + u;
  }
  var ot = R(
    '<script type="importmap">'
  ), ga = R("<\/script>");
  function _r(n, t, l, u, f, o) {
    var s = t === void 0 ? ha : R(
      '<script nonce="' + H(t) + '">'
    ), v = n.idPrefix;
    l = [];
    var g = n.bootstrapScriptContent, T = n.bootstrapScripts, S = n.bootstrapModules;
    if (g !== void 0 && l.push(
      s,
      A(
        ("" + g).replace(Ar, Or)
      ),
      hl
    ), g = [], u !== void 0 && (g.push(ot), g.push(
      A(
        ("" + JSON.stringify(u)).replace(Ar, Or)
      )
    ), g.push(ga)), u = f ? {
      preconnects: "",
      fontPreloads: "",
      highImagePreloads: "",
      remainingCapacity: 2 + (typeof o == "number" ? o : 2e3)
    } : null, f = {
      placeholderPrefix: R(v + "P:"),
      segmentPrefix: R(v + "S:"),
      boundaryPrefix: R(v + "B:"),
      startInlineScript: s,
      htmlChunks: null,
      headChunks: null,
      externalRuntimeScript: null,
      bootstrapChunks: l,
      importMapChunks: g,
      onHeaders: f,
      headers: u,
      resets: {
        font: {},
        dns: {},
        connect: { default: {}, anonymous: {}, credentials: {} },
        image: {},
        style: {}
      },
      charsetChunks: [],
      viewportChunks: [],
      hoistableChunks: [],
      preconnects: /* @__PURE__ */ new Set(),
      fontPreloads: /* @__PURE__ */ new Set(),
      highImagePreloads: /* @__PURE__ */ new Set(),
      styles: /* @__PURE__ */ new Map(),
      bootstrapScripts: /* @__PURE__ */ new Set(),
      scripts: /* @__PURE__ */ new Set(),
      bulkPreloads: /* @__PURE__ */ new Set(),
      preloads: {
        images: /* @__PURE__ */ new Map(),
        stylesheets: /* @__PURE__ */ new Map(),
        scripts: /* @__PURE__ */ new Map(),
        moduleScripts: /* @__PURE__ */ new Map()
      },
      nonce: t,
      hoistableState: null,
      stylesToHoist: !1
    }, T !== void 0)
      for (u = 0; u < T.length; u++) {
        var E = T[u];
        v = s = void 0, g = {
          rel: "preload",
          as: "script",
          fetchPriority: "low",
          nonce: t
        }, typeof E == "string" ? g.href = o = E : (g.href = o = E.src, g.integrity = v = typeof E.integrity == "string" ? E.integrity : void 0, g.crossOrigin = s = typeof E == "string" || E.crossOrigin == null ? void 0 : E.crossOrigin === "use-credentials" ? "use-credentials" : ""), E = n;
        var C = o;
        E.scriptResources[C] = null, E.moduleScriptResources[C] = null, E = [], Rn(E, g), f.bootstrapScripts.add(E), l.push(
          sa,
          A(H(o))
        ), t && l.push(
          Gn,
          A(H(t))
        ), typeof v == "string" && l.push(
          da,
          A(H(v))
        ), typeof s == "string" && l.push(
          sl,
          A(H(s))
        ), l.push(gn);
      }
    if (S !== void 0)
      for (T = 0; T < S.length; T++)
        g = S[T], s = o = void 0, v = {
          rel: "modulepreload",
          fetchPriority: "low",
          nonce: t
        }, typeof g == "string" ? v.href = u = g : (v.href = u = g.src, v.integrity = s = typeof g.integrity == "string" ? g.integrity : void 0, v.crossOrigin = o = typeof g == "string" || g.crossOrigin == null ? void 0 : g.crossOrigin === "use-credentials" ? "use-credentials" : ""), g = n, E = u, g.scriptResources[E] = null, g.moduleScriptResources[E] = null, g = [], Rn(g, v), f.bootstrapScripts.add(g), l.push(
          Q,
          A(H(u))
        ), t && l.push(
          Gn,
          A(H(t))
        ), typeof s == "string" && l.push(
          da,
          A(H(s))
        ), typeof o == "string" && l.push(
          sl,
          A(H(o))
        ), l.push(gn);
    return f;
  }
  function Dt(n, t, l, u, f) {
    return {
      idPrefix: n === void 0 ? "" : n,
      nextFormID: 0,
      streamingFormat: 0,
      bootstrapScriptContent: l,
      bootstrapScripts: u,
      bootstrapModules: f,
      instructions: 0,
      hasBody: !1,
      hasHtml: !1,
      unknownResources: {},
      dnsResources: {},
      connectResources: { default: {}, anonymous: {}, credentials: {} },
      imageResources: {},
      styleResources: {},
      scriptResources: {},
      moduleUnknownResources: {},
      moduleScriptResources: {}
    };
  }
  function xn(n, t, l) {
    return {
      insertionMode: n,
      selectedValue: t,
      tagScope: l
    };
  }
  function va(n) {
    return xn(
      n === "http://www.w3.org/2000/svg" ? 3 : n === "http://www.w3.org/1998/Math/MathML" ? 4 : 0,
      null,
      0
    );
  }
  function fn(n, t, l) {
    switch (t) {
      case "noscript":
        return xn(2, null, n.tagScope | 1);
      case "select":
        return xn(
          2,
          l.value != null ? l.value : l.defaultValue,
          n.tagScope
        );
      case "svg":
        return xn(3, null, n.tagScope);
      case "picture":
        return xn(2, null, n.tagScope | 2);
      case "math":
        return xn(4, null, n.tagScope);
      case "foreignObject":
        return xn(2, null, n.tagScope);
      case "table":
        return xn(5, null, n.tagScope);
      case "thead":
      case "tbody":
      case "tfoot":
        return xn(6, null, n.tagScope);
      case "colgroup":
        return xn(8, null, n.tagScope);
      case "tr":
        return xn(7, null, n.tagScope);
    }
    return 5 <= n.insertionMode ? xn(2, null, n.tagScope) : n.insertionMode === 0 ? xn(t === "html" ? 1 : 2, null, n.tagScope) : n.insertionMode === 1 ? xn(2, null, n.tagScope) : n;
  }
  var se = R("<!-- -->");
  function dl(n, t, l, u) {
    return t === "" ? u : (u && n.push(se), n.push(A(H(t))), !0);
  }
  var Ae = /* @__PURE__ */ new Map(), ya = R(' style="'), gl = R(":"), di = R(";");
  function ba(n, t) {
    if (typeof t != "object")
      throw Error(
        "The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX."
      );
    var l = !0, u;
    for (u in t)
      if (rn.call(t, u)) {
        var f = t[u];
        if (f != null && typeof f != "boolean" && f !== "") {
          if (u.indexOf("--") === 0) {
            var o = A(H(u));
            f = A(
              H(("" + f).trim())
            );
          } else
            o = Ae.get(u), o === void 0 && (o = R(
              H(
                u.replace(si, "-$1").toLowerCase().replace(wn, "-ms-")
              )
            ), Ae.set(u, o)), f = typeof f == "number" ? f === 0 || he.has(u) ? A("" + f) : A(f + "px") : A(
              H(("" + f).trim())
            );
          l ? (l = !1, n.push(
            ya,
            o,
            gl,
            f
          )) : n.push(di, o, gl, f);
        }
      }
    l || n.push(Xn);
  }
  var Cn = R(" "), mn = R('="'), Xn = R('"'), Ue = R('=""');
  function ht(n, t, l) {
    l && typeof l != "function" && typeof l != "symbol" && n.push(Cn, A(t), Ue);
  }
  function dn(n, t, l) {
    typeof l != "function" && typeof l != "symbol" && typeof l != "boolean" && n.push(
      Cn,
      A(t),
      mn,
      A(H(l)),
      Xn
    );
  }
  var Ra = R(
    H(
      "javascript:throw new Error('React form unexpectedly submitted.')"
    )
  ), Ea = R('<input type="hidden"');
  function Ir(n, t) {
    this.push(Ea), qn(n), dn(this, "name", t), dn(this, "value", n), this.push(Lt);
  }
  function qn(n) {
    if (typeof n != "string")
      throw Error(
        "File/Blob fields are not yet supported in progressive forms. Will fallback to client hydration."
      );
  }
  function de(n, t) {
    if (typeof t.$$FORM_ACTION == "function") {
      var l = n.nextFormID++;
      n = n.idPrefix + l;
      try {
        var u = t.$$FORM_ACTION(n);
        if (u) {
          var f = u.data;
          f != null && f.forEach(qn);
        }
        return u;
      } catch (o) {
        if (typeof o == "object" && o !== null && typeof o.then == "function")
          throw o;
      }
    }
    return null;
  }
  function Ta(n, t, l, u, f, o, s, v) {
    var g = null;
    if (typeof u == "function") {
      var T = de(t, u);
      T !== null ? (v = T.name, u = T.action || "", f = T.encType, o = T.method, s = T.target, g = T.data) : (n.push(
        Cn,
        A("formAction"),
        mn,
        Ra,
        Xn
      ), s = o = f = u = v = null, wa(t, l));
    }
    return v != null && V(n, "name", v), u != null && V(n, "formAction", u), f != null && V(n, "formEncType", f), o != null && V(n, "formMethod", o), s != null && V(n, "formTarget", s), g;
  }
  function V(n, t, l) {
    switch (t) {
      case "className":
        dn(n, "class", l);
        break;
      case "tabIndex":
        dn(n, "tabindex", l);
        break;
      case "dir":
      case "role":
      case "viewBox":
      case "width":
      case "height":
        dn(n, t, l);
        break;
      case "style":
        ba(n, l);
        break;
      case "src":
      case "href":
        if (l === "") break;
      case "action":
      case "formAction":
        if (l == null || typeof l == "function" || typeof l == "symbol" || typeof l == "boolean")
          break;
        l = ft("" + l), n.push(
          Cn,
          A(t),
          mn,
          A(H(l)),
          Xn
        );
        break;
      case "defaultValue":
      case "defaultChecked":
      case "innerHTML":
      case "suppressContentEditableWarning":
      case "suppressHydrationWarning":
      case "ref":
        break;
      case "autoFocus":
      case "multiple":
      case "muted":
        ht(n, t.toLowerCase(), l);
        break;
      case "xlinkHref":
        if (typeof l == "function" || typeof l == "symbol" || typeof l == "boolean")
          break;
        l = ft("" + l), n.push(
          Cn,
          A("xlink:href"),
          mn,
          A(H(l)),
          Xn
        );
        break;
      case "contentEditable":
      case "spellCheck":
      case "draggable":
      case "value":
      case "autoReverse":
      case "externalResourcesRequired":
      case "focusable":
      case "preserveAlpha":
        typeof l != "function" && typeof l != "symbol" && n.push(
          Cn,
          A(t),
          mn,
          A(H(l)),
          Xn
        );
        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":
        l && typeof l != "function" && typeof l != "symbol" && n.push(
          Cn,
          A(t),
          Ue
        );
        break;
      case "capture":
      case "download":
        l === !0 ? n.push(
          Cn,
          A(t),
          Ue
        ) : l !== !1 && typeof l != "function" && typeof l != "symbol" && n.push(
          Cn,
          A(t),
          mn,
          A(H(l)),
          Xn
        );
        break;
      case "cols":
      case "rows":
      case "size":
      case "span":
        typeof l != "function" && typeof l != "symbol" && !isNaN(l) && 1 <= l && n.push(
          Cn,
          A(t),
          mn,
          A(H(l)),
          Xn
        );
        break;
      case "rowSpan":
      case "start":
        typeof l == "function" || typeof l == "symbol" || isNaN(l) || n.push(
          Cn,
          A(t),
          mn,
          A(H(l)),
          Xn
        );
        break;
      case "xlinkActuate":
        dn(n, "xlink:actuate", l);
        break;
      case "xlinkArcrole":
        dn(n, "xlink:arcrole", l);
        break;
      case "xlinkRole":
        dn(n, "xlink:role", l);
        break;
      case "xlinkShow":
        dn(n, "xlink:show", l);
        break;
      case "xlinkTitle":
        dn(n, "xlink:title", l);
        break;
      case "xlinkType":
        dn(n, "xlink:type", l);
        break;
      case "xmlBase":
        dn(n, "xml:base", l);
        break;
      case "xmlLang":
        dn(n, "xml:lang", l);
        break;
      case "xmlSpace":
        dn(n, "xml:space", l);
        break;
      default:
        if ((!(2 < t.length) || t[0] !== "o" && t[0] !== "O" || t[1] !== "n" && t[1] !== "N") && (t = Kn.get(t) || t, ol(t))) {
          switch (typeof l) {
            case "function":
            case "symbol":
              return;
            case "boolean":
              var u = t.toLowerCase().slice(0, 5);
              if (u !== "data-" && u !== "aria-") return;
          }
          n.push(
            Cn,
            A(t),
            mn,
            A(H(l)),
            Xn
          );
        }
    }
  }
  var Sn = R(">"), Lt = R("/>");
  function pn(n, t, l) {
    if (t != null) {
      if (l != null)
        throw Error(
          "Can only set one of `children` or `props.dangerouslySetInnerHTML`."
        );
      if (typeof t != "object" || !("__html" in t))
        throw Error(
          "`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information."
        );
      t = t.__html, t != null && n.push(A("" + t));
    }
  }
  function gi(n) {
    var t = "";
    return Tn.Children.forEach(n, function(l) {
      l != null && (t += l);
    }), t;
  }
  var kr = R(' selected=""'), vi = R(
    `addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error('React form unexpectedly submitted.')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});`
  );
  function wa(n, t) {
    (n.instructions & 16) === 0 && (n.instructions |= 16, t.bootstrapChunks.unshift(
      t.startInlineScript,
      vi,
      hl
    ));
  }
  var yi = R("<!--F!-->"), bi = R("<!--F-->");
  function Rn(n, t) {
    n.push(on("link"));
    for (var l in t)
      if (rn.call(t, l)) {
        var u = t[l];
        if (u != null)
          switch (l) {
            case "children":
            case "dangerouslySetInnerHTML":
              throw Error(
                "link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`."
              );
            default:
              V(n, l, u);
          }
      }
    return n.push(Lt), null;
  }
  var xa = /(<\/|<)(s)(tyle)/gi;
  function Ca(n, t, l, u) {
    return "" + t + (l === "s" ? "\\73 " : "\\53 ") + u;
  }
  function ie(n, t, l) {
    n.push(on(l));
    for (var u in t)
      if (rn.call(t, u)) {
        var f = t[u];
        if (f != null)
          switch (u) {
            case "children":
            case "dangerouslySetInnerHTML":
              throw Error(
                l + " is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`."
              );
            default:
              V(n, u, f);
          }
      }
    return n.push(Lt), null;
  }
  function Bt(n, t) {
    n.push(on("title"));
    var l = null, u = null, f;
    for (f in t)
      if (rn.call(t, f)) {
        var o = t[f];
        if (o != null)
          switch (f) {
            case "children":
              l = o;
              break;
            case "dangerouslySetInnerHTML":
              u = o;
              break;
            default:
              V(n, f, o);
          }
      }
    return n.push(Sn), t = Array.isArray(l) ? 2 > l.length ? l[0] : null : l, typeof t != "function" && typeof t != "symbol" && t !== null && t !== void 0 && n.push(A(H("" + t))), pn(n, u, l), n.push(Ge("title")), null;
  }
  function st(n, t) {
    n.push(on("script"));
    var l = null, u = null, f;
    for (f in t)
      if (rn.call(t, f)) {
        var o = t[f];
        if (o != null)
          switch (f) {
            case "children":
              l = o;
              break;
            case "dangerouslySetInnerHTML":
              u = o;
              break;
            default:
              V(n, f, o);
          }
      }
    return n.push(Sn), pn(n, u, l), typeof l == "string" && n.push(
      A(("" + l).replace(Ar, Or))
    ), n.push(Ge("script")), null;
  }
  function Ye(n, t, l) {
    n.push(on(l));
    var u = l = null, f;
    for (f in t)
      if (rn.call(t, f)) {
        var o = t[f];
        if (o != null)
          switch (f) {
            case "children":
              l = o;
              break;
            case "dangerouslySetInnerHTML":
              u = o;
              break;
            default:
              V(n, f, o);
          }
      }
    return n.push(Sn), pn(n, u, l), typeof l == "string" ? (n.push(A(H(l))), null) : l;
  }
  var Nt = R(`
`), vl = /^[a-zA-Z][a-zA-Z:_\.\-\d]*$/, yl = /* @__PURE__ */ new Map();
  function on(n) {
    var t = yl.get(n);
    if (t === void 0) {
      if (!vl.test(n)) throw Error("Invalid tag: " + n);
      t = R("<" + n), yl.set(n, t);
    }
    return t;
  }
  var Ri = R("<!DOCTYPE html>");
  function Sa(n, t, l, u, f, o, s, v, g) {
    switch (t) {
      case "div":
      case "span":
      case "svg":
      case "path":
        break;
      case "a":
        n.push(on("a"));
        var T = null, S = null, E;
        for (E in l)
          if (rn.call(l, E)) {
            var C = l[E];
            if (C != null)
              switch (E) {
                case "children":
                  T = C;
                  break;
                case "dangerouslySetInnerHTML":
                  S = C;
                  break;
                case "href":
                  C === "" ? dn(n, "href", "") : V(n, E, C);
                  break;
                default:
                  V(n, E, C);
              }
          }
        if (n.push(Sn), pn(n, S, T), typeof T == "string") {
          n.push(A(H(T)));
          var L = null;
        } else L = T;
        return L;
      case "g":
      case "p":
      case "li":
        break;
      case "select":
        n.push(on("select"));
        var M = null, D = null, nn;
        for (nn in l)
          if (rn.call(l, nn)) {
            var Nn = l[nn];
            if (Nn != null)
              switch (nn) {
                case "children":
                  M = Nn;
                  break;
                case "dangerouslySetInnerHTML":
                  D = Nn;
                  break;
                case "defaultValue":
                case "value":
                  break;
                default:
                  V(
                    n,
                    nn,
                    Nn
                  );
              }
          }
        return n.push(Sn), pn(n, D, M), M;
      case "option":
        var zn = s.selectedValue;
        n.push(on("option"));
        var q = null, sn = null, Hn = null, An = null, On;
        for (On in l)
          if (rn.call(l, On)) {
            var Vn = l[On];
            if (Vn != null)
              switch (On) {
                case "children":
                  q = Vn;
                  break;
                case "selected":
                  Hn = Vn;
                  break;
                case "dangerouslySetInnerHTML":
                  An = Vn;
                  break;
                case "value":
                  sn = Vn;
                default:
                  V(
                    n,
                    On,
                    Vn
                  );
              }
          }
        if (zn != null) {
          var an = sn !== null ? "" + sn : gi(q);
          if (Sr(zn)) {
            for (var en = 0; en < zn.length; en++)
              if ("" + zn[en] === an) {
                n.push(kr);
                break;
              }
          } else
            "" + zn === an && n.push(kr);
        } else Hn && n.push(kr);
        return n.push(Sn), pn(n, An, q), q;
      case "textarea":
        n.push(on("textarea"));
        var En = null, Di = null, tl = null, Hl;
        for (Hl in l)
          if (rn.call(l, Hl)) {
            var Wl = l[Hl];
            if (Wl != null)
              switch (Hl) {
                case "children":
                  tl = Wl;
                  break;
                case "value":
                  En = Wl;
                  break;
                case "defaultValue":
                  Di = Wl;
                  break;
                case "dangerouslySetInnerHTML":
                  throw Error(
                    "`dangerouslySetInnerHTML` does not make sense on <textarea>."
                  );
                default:
                  V(
                    n,
                    Hl,
                    Wl
                  );
              }
          }
        if (En === null && Di !== null && (En = Di), n.push(Sn), tl != null) {
          if (En != null)
            throw Error(
              "If you supply `defaultValue` on a <textarea>, do not pass children."
            );
          if (Sr(tl)) {
            if (1 < tl.length)
              throw Error("<textarea> can only have at most one child.");
            En = "" + tl[0];
          }
          En = "" + tl;
        }
        return typeof En == "string" && En[0] === `
` && n.push(Nt), En !== null && n.push(
          A(H("" + En))
        ), null;
      case "input":
        n.push(on("input"));
        var pi = null, ji = null, $i = null, nu = null, eu = null, Li = null, Bi = null, Ni = null, zi = null, Ul;
        for (Ul in l)
          if (rn.call(l, Ul)) {
            var Se = l[Ul];
            if (Se != null)
              switch (Ul) {
                case "children":
                case "dangerouslySetInnerHTML":
                  throw Error(
                    "input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`."
                  );
                case "name":
                  pi = Se;
                  break;
                case "formAction":
                  ji = Se;
                  break;
                case "formEncType":
                  $i = Se;
                  break;
                case "formMethod":
                  nu = Se;
                  break;
                case "formTarget":
                  eu = Se;
                  break;
                case "defaultChecked":
                  zi = Se;
                  break;
                case "defaultValue":
                  Bi = Se;
                  break;
                case "checked":
                  Ni = Se;
                  break;
                case "value":
                  Li = Se;
                  break;
                default:
                  V(
                    n,
                    Ul,
                    Se
                  );
              }
          }
        var tu = Ta(
          n,
          u,
          f,
          ji,
          $i,
          nu,
          eu,
          pi
        );
        return Ni !== null ? ht(n, "checked", Ni) : zi !== null && ht(n, "checked", zi), Li !== null ? V(n, "value", Li) : Bi !== null && V(n, "value", Bi), n.push(Lt), tu != null && tu.forEach(Ir, n), null;
      case "button":
        n.push(on("button"));
        var Yl = null, ru = null, lu = null, au = null, iu = null, uu = null, cu = null, Gl;
        for (Gl in l)
          if (rn.call(l, Gl)) {
            var ut = l[Gl];
            if (ut != null)
              switch (Gl) {
                case "children":
                  Yl = ut;
                  break;
                case "dangerouslySetInnerHTML":
                  ru = ut;
                  break;
                case "name":
                  lu = ut;
                  break;
                case "formAction":
                  au = ut;
                  break;
                case "formEncType":
                  iu = ut;
                  break;
                case "formMethod":
                  uu = ut;
                  break;
                case "formTarget":
                  cu = ut;
                  break;
                default:
                  V(
                    n,
                    Gl,
                    ut
                  );
              }
          }
        var fu = Ta(
          n,
          u,
          f,
          au,
          iu,
          uu,
          cu,
          lu
        );
        if (n.push(Sn), fu != null && fu.forEach(Ir, n), pn(n, ru, Yl), typeof Yl == "string") {
          n.push(
            A(H(Yl))
          );
          var ou = null;
        } else ou = Yl;
        return ou;
      case "form":
        n.push(on("form"));
        var Xl = null, hu = null, vr = null, Zl = null, Jl = null, Ql = null, Vl;
        for (Vl in l)
          if (rn.call(l, Vl)) {
            var Ot = l[Vl];
            if (Ot != null)
              switch (Vl) {
                case "children":
                  Xl = Ot;
                  break;
                case "dangerouslySetInnerHTML":
                  hu = Ot;
                  break;
                case "action":
                  vr = Ot;
                  break;
                case "encType":
                  Zl = Ot;
                  break;
                case "method":
                  Jl = Ot;
                  break;
                case "target":
                  Ql = Ot;
                  break;
                default:
                  V(
                    n,
                    Vl,
                    Ot
                  );
              }
          }
        var Hi = null, Wi = null;
        if (typeof vr == "function") {
          var yr = de(
            u,
            vr
          );
          yr !== null ? (vr = yr.action || "", Zl = yr.encType, Jl = yr.method, Ql = yr.target, Hi = yr.data, Wi = yr.name) : (n.push(
            Cn,
            A("action"),
            mn,
            Ra,
            Xn
          ), Ql = Jl = Zl = vr = null, wa(u, f));
        }
        if (vr != null && V(n, "action", vr), Zl != null && V(n, "encType", Zl), Jl != null && V(n, "method", Jl), Ql != null && V(n, "target", Ql), n.push(Sn), Wi !== null && (n.push(Ea), dn(n, "name", Wi), n.push(Lt), Hi != null && Hi.forEach(Ir, n)), pn(n, hu, Xl), typeof Xl == "string") {
          n.push(
            A(H(Xl))
          );
          var su = null;
        } else su = Xl;
        return su;
      case "menuitem":
        n.push(on("menuitem"));
        for (var qa in l)
          if (rn.call(l, qa)) {
            var du = l[qa];
            if (du != null)
              switch (qa) {
                case "children":
                case "dangerouslySetInnerHTML":
                  throw Error(
                    "menuitems cannot have `children` nor `dangerouslySetInnerHTML`."
                  );
                default:
                  V(
                    n,
                    qa,
                    du
                  );
              }
          }
        return n.push(Sn), null;
      case "object":
        n.push(on("object"));
        var Kl = null, gu = null, ml;
        for (ml in l)
          if (rn.call(l, ml)) {
            var ql = l[ml];
            if (ql != null)
              switch (ml) {
                case "children":
                  Kl = ql;
                  break;
                case "dangerouslySetInnerHTML":
                  gu = ql;
                  break;
                case "data":
                  var vu = ft("" + ql);
                  if (vu === "") break;
                  n.push(
                    Cn,
                    A("data"),
                    mn,
                    A(H(vu)),
                    Xn
                  );
                  break;
                default:
                  V(
                    n,
                    ml,
                    ql
                  );
              }
          }
        if (n.push(Sn), pn(n, gu, Kl), typeof Kl == "string") {
          n.push(
            A(H(Kl))
          );
          var yu = null;
        } else yu = Kl;
        return yu;
      case "title":
        if (s.insertionMode === 3 || s.tagScope & 1 || l.itemProp != null)
          var Ui = Bt(
            n,
            l
          );
        else
          g ? Ui = null : (Bt(f.hoistableChunks, l), Ui = void 0);
        return Ui;
      case "link":
        var Wu = l.rel, _t = l.href, pa = l.precedence;
        if (s.insertionMode === 3 || s.tagScope & 1 || l.itemProp != null || typeof Wu != "string" || typeof _t != "string" || _t === "") {
          Rn(n, l);
          var pl = null;
        } else if (l.rel === "stylesheet")
          if (typeof pa != "string" || l.disabled != null || l.onLoad || l.onError)
            pl = Rn(
              n,
              l
            );
          else {
            var rl = f.styles.get(pa), ja = u.styleResources.hasOwnProperty(_t) ? u.styleResources[_t] : void 0;
            if (ja !== null) {
              u.styleResources[_t] = null, rl || (rl = {
                precedence: A(H(pa)),
                rules: [],
                hrefs: [],
                sheets: /* @__PURE__ */ new Map()
              }, f.styles.set(pa, rl));
              var $a = {
                state: 0,
                props: Dn({}, l, {
                  "data-precedence": l.precedence,
                  precedence: null
                })
              };
              if (ja) {
                ja.length === 2 && Ve($a.props, ja);
                var Yi = f.preloads.stylesheets.get(_t);
                Yi && 0 < Yi.length ? Yi.length = 0 : $a.state = 1;
              }
              rl.sheets.set(_t, $a), o && o.stylesheets.add($a);
            } else if (rl) {
              var bu = rl.sheets.get(_t);
              bu && o && o.stylesheets.add(bu);
            }
            v && n.push(se), pl = null;
          }
        else
          l.onLoad || l.onError ? pl = Rn(
            n,
            l
          ) : (v && n.push(se), pl = g ? null : Rn(f.hoistableChunks, l));
        return pl;
      case "script":
        var Gi = l.async;
        if (typeof l.src != "string" || !l.src || !Gi || typeof Gi == "function" || typeof Gi == "symbol" || l.onLoad || l.onError || s.insertionMode === 3 || s.tagScope & 1 || l.itemProp != null)
          var Ru = st(
            n,
            l
          );
        else {
          var ni = l.src;
          if (l.type === "module")
            var ei = u.moduleScriptResources, Eu = f.preloads.moduleScripts;
          else
            ei = u.scriptResources, Eu = f.preloads.scripts;
          var ti = ei.hasOwnProperty(ni) ? ei[ni] : void 0;
          if (ti !== null) {
            ei[ni] = null;
            var Xi = l;
            if (ti) {
              ti.length === 2 && (Xi = Dn({}, l), Ve(Xi, ti));
              var Tu = Eu.get(ni);
              Tu && (Tu.length = 0);
            }
            var wu = [];
            f.scripts.add(wu), st(wu, Xi);
          }
          v && n.push(se), Ru = null;
        }
        return Ru;
      case "style":
        var ri = l.precedence, br = l.href;
        if (s.insertionMode === 3 || s.tagScope & 1 || l.itemProp != null || typeof ri != "string" || typeof br != "string" || br === "") {
          n.push(on("style"));
          var ll = null, xu = null, jl;
          for (jl in l)
            if (rn.call(l, jl)) {
              var li = l[jl];
              if (li != null)
                switch (jl) {
                  case "children":
                    ll = li;
                    break;
                  case "dangerouslySetInnerHTML":
                    xu = li;
                    break;
                  default:
                    V(
                      n,
                      jl,
                      li
                    );
                }
            }
          n.push(Sn);
          var $l = Array.isArray(ll) ? 2 > ll.length ? ll[0] : null : ll;
          typeof $l != "function" && typeof $l != "symbol" && $l !== null && $l !== void 0 && n.push(
            A(("" + $l).replace(xa, Ca))
          ), pn(n, xu, ll), n.push(Ge("style"));
          var Cu = null;
        } else {
          var Rr = f.styles.get(ri);
          if ((u.styleResources.hasOwnProperty(br) ? u.styleResources[br] : void 0) !== null) {
            u.styleResources[br] = null, Rr ? Rr.hrefs.push(
              A(H(br))
            ) : (Rr = {
              precedence: A(
                H(ri)
              ),
              rules: [],
              hrefs: [A(H(br))],
              sheets: /* @__PURE__ */ new Map()
            }, f.styles.set(ri, Rr));
            var Su = Rr.rules, al = null, Pu = null, ai;
            for (ai in l)
              if (rn.call(l, ai)) {
                var Zi = l[ai];
                if (Zi != null)
                  switch (ai) {
                    case "children":
                      al = Zi;
                      break;
                    case "dangerouslySetInnerHTML":
                      Pu = Zi;
                  }
              }
            var na = Array.isArray(al) ? 2 > al.length ? al[0] : null : al;
            typeof na != "function" && typeof na != "symbol" && na !== null && na !== void 0 && Su.push(
              A(
                ("" + na).replace(xa, Ca)
              )
            ), pn(Su, Pu, al);
          }
          Rr && o && o.styles.add(Rr), v && n.push(se), Cu = void 0;
        }
        return Cu;
      case "meta":
        if (s.insertionMode === 3 || s.tagScope & 1 || l.itemProp != null)
          var Fu = ie(
            n,
            l,
            "meta"
          );
        else
          v && n.push(se), Fu = g ? null : typeof l.charSet == "string" ? ie(f.charsetChunks, l, "meta") : l.name === "viewport" ? ie(f.viewportChunks, l, "meta") : ie(f.hoistableChunks, l, "meta");
        return Fu;
      case "listing":
      case "pre":
        n.push(on(t));
        var ea = null, ta = null, ra;
        for (ra in l)
          if (rn.call(l, ra)) {
            var ii = l[ra];
            if (ii != null)
              switch (ra) {
                case "children":
                  ea = ii;
                  break;
                case "dangerouslySetInnerHTML":
                  ta = ii;
                  break;
                default:
                  V(
                    n,
                    ra,
                    ii
                  );
              }
          }
        if (n.push(Sn), ta != null) {
          if (ea != null)
            throw Error(
              "Can only set one of `children` or `props.dangerouslySetInnerHTML`."
            );
          if (typeof ta != "object" || !("__html" in ta))
            throw Error(
              "`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information."
            );
          var Er = ta.__html;
          Er != null && (typeof Er == "string" && 0 < Er.length && Er[0] === `
` ? n.push(Nt, A(Er)) : n.push(A("" + Er)));
        }
        return typeof ea == "string" && ea[0] === `
` && n.push(Nt), ea;
      case "img":
        var Wn = l.src, _n = l.srcSet;
        if (!(l.loading === "lazy" || !Wn && !_n || typeof Wn != "string" && Wn != null || typeof _n != "string" && _n != null) && l.fetchPriority !== "low" && !(s.tagScope & 3) && (typeof Wn != "string" || Wn[4] !== ":" || Wn[0] !== "d" && Wn[0] !== "D" || Wn[1] !== "a" && Wn[1] !== "A" || Wn[2] !== "t" && Wn[2] !== "T" || Wn[3] !== "a" && Wn[3] !== "A") && (typeof _n != "string" || _n[4] !== ":" || _n[0] !== "d" && _n[0] !== "D" || _n[1] !== "a" && _n[1] !== "A" || _n[2] !== "t" && _n[2] !== "T" || _n[3] !== "a" && _n[3] !== "A")) {
          var Au = typeof l.sizes == "string" ? l.sizes : void 0, il = _n ? _n + `
` + (Au || "") : Wn, Ji = f.preloads.images, Tr = Ji.get(il);
          if (Tr)
            (l.fetchPriority === "high" || 10 > f.highImagePreloads.size) && (Ji.delete(il), f.highImagePreloads.add(Tr));
          else if (!u.imageResources.hasOwnProperty(il)) {
            u.imageResources[il] = Ln;
            var Qi = l.crossOrigin, Ou = typeof Qi == "string" ? Qi === "use-credentials" ? Qi : "" : void 0, wr = f.headers, Vi;
            wr && 0 < wr.remainingCapacity && (l.fetchPriority === "high" || 500 > wr.highImagePreloads.length) && (Vi = Ke(Wn, "image", {
              imageSrcSet: l.srcSet,
              imageSizes: l.sizes,
              crossOrigin: Ou,
              integrity: l.integrity,
              nonce: l.nonce,
              type: l.type,
              fetchPriority: l.fetchPriority,
              referrerPolicy: l.refererPolicy
            }), 0 <= (wr.remainingCapacity -= Vi.length + 2)) ? (f.resets.image[il] = Ln, wr.highImagePreloads && (wr.highImagePreloads += ", "), wr.highImagePreloads += Vi) : (Tr = [], Rn(Tr, {
              rel: "preload",
              as: "image",
              href: _n ? void 0 : Wn,
              imageSrcSet: _n,
              imageSizes: Au,
              crossOrigin: Ou,
              integrity: l.integrity,
              type: l.type,
              fetchPriority: l.fetchPriority,
              referrerPolicy: l.referrerPolicy
            }), l.fetchPriority === "high" || 10 > f.highImagePreloads.size ? f.highImagePreloads.add(Tr) : (f.bulkPreloads.add(Tr), Ji.set(il, Tr)));
          }
        }
        return ie(n, l, "img");
      case "base":
      case "area":
      case "br":
      case "col":
      case "embed":
      case "hr":
      case "keygen":
      case "param":
      case "source":
      case "track":
      case "wbr":
        return ie(n, l, t);
      case "annotation-xml":
      case "color-profile":
      case "font-face":
      case "font-face-src":
      case "font-face-uri":
      case "font-face-format":
      case "font-face-name":
      case "missing-glyph":
        break;
      case "head":
        if (2 > s.insertionMode && f.headChunks === null) {
          f.headChunks = [];
          var _u = Ye(
            f.headChunks,
            l,
            "head"
          );
        } else
          _u = Ye(
            n,
            l,
            "head"
          );
        return _u;
      case "html":
        if (s.insertionMode === 0 && f.htmlChunks === null) {
          f.htmlChunks = [Ri];
          var Iu = Ye(
            f.htmlChunks,
            l,
            "html"
          );
        } else
          Iu = Ye(
            n,
            l,
            "html"
          );
        return Iu;
      default:
        if (t.indexOf("-") !== -1) {
          n.push(on(t));
          var Ki = null, ku = null, ul;
          for (ul in l)
            if (rn.call(l, ul)) {
              var Pe = l[ul];
              if (Pe != null) {
                var Mu = ul;
                switch (ul) {
                  case "children":
                    Ki = Pe;
                    break;
                  case "dangerouslySetInnerHTML":
                    ku = Pe;
                    break;
                  case "style":
                    ba(n, Pe);
                    break;
                  case "suppressContentEditableWarning":
                  case "suppressHydrationWarning":
                  case "ref":
                    break;
                  case "className":
                    Mu = "class";
                  default:
                    if (ol(ul) && typeof Pe != "function" && typeof Pe != "symbol" && Pe !== !1) {
                      if (Pe === !0) Pe = "";
                      else if (typeof Pe == "object") continue;
                      n.push(
                        Cn,
                        A(Mu),
                        mn,
                        A(H(Pe)),
                        Xn
                      );
                    }
                }
              }
            }
          return n.push(Sn), pn(n, ku, Ki), Ki;
        }
    }
    return Ye(n, l, t);
  }
  var Mr = /* @__PURE__ */ new Map();
  function Ge(n) {
    var t = Mr.get(n);
    return t === void 0 && (t = R("</" + n + ">"), Mr.set(n, t)), t;
  }
  function Pa(n, t) {
    t = t.bootstrapChunks;
    for (var l = 0; l < t.length - 1; l++)
      w(n, t[l]);
    return l < t.length ? (l = t[l], t.length = 0, J(n, l)) : !0;
  }
  var Dr = R('<template id="'), Fa = R('"></template>'), Xe = R("<!--$-->"), Lr = R(
    '<!--$?--><template id="'
  ), Aa = R('"></template>'), Oa = R("<!--$!-->"), _a = R("<!--/$-->"), Ia = R("<template"), Oe = R('"'), ka = R(' data-dgst="');
  R(' data-msg="'), R(' data-stck="'), R(' data-cstck="');
  var Ei = R("></template>");
  function Br(n, t, l) {
    if (w(n, Lr), l === null)
      throw Error(
        "An ID must have been assigned before we can complete the boundary."
      );
    return w(n, t.boundaryPrefix), w(n, A(l.toString(16))), J(n, Aa);
  }
  var Nr = R('<div hidden id="'), Ti = R('">'), wi = R("</div>"), xi = R(
    '<svg aria-hidden="true" style="display:none" id="'
  ), Ze = R('">'), zr = R("</svg>"), Ci = R(
    '<math aria-hidden="true" style="display:none" id="'
  ), Hr = R('">'), Wr = R("</math>"), Si = R('<table hidden id="'), Pi = R('">'), ge = R("</table>"), bl = R('<table hidden><tbody id="'), Rl = R('">'), El = R("</tbody></table>"), Ur = R('<table hidden><tr id="'), p = R('">'), zt = R("</tr></table>"), Yr = R(
    '<table hidden><colgroup id="'
  ), Ht = R('">'), Wt = R("</colgroup></table>");
  function Ut(n, t, l, u) {
    switch (l.insertionMode) {
      case 0:
      case 1:
      case 2:
        return w(n, Nr), w(n, t.segmentPrefix), w(n, A(u.toString(16))), J(n, Ti);
      case 3:
        return w(n, xi), w(n, t.segmentPrefix), w(n, A(u.toString(16))), J(n, Ze);
      case 4:
        return w(n, Ci), w(n, t.segmentPrefix), w(n, A(u.toString(16))), J(n, Hr);
      case 5:
        return w(n, Si), w(n, t.segmentPrefix), w(n, A(u.toString(16))), J(n, Pi);
      case 6:
        return w(n, bl), w(n, t.segmentPrefix), w(n, A(u.toString(16))), J(n, Rl);
      case 7:
        return w(n, Ur), w(n, t.segmentPrefix), w(n, A(u.toString(16))), J(n, p);
      case 8:
        return w(n, Yr), w(n, t.segmentPrefix), w(n, A(u.toString(16))), J(n, Ht);
      default:
        throw Error("Unknown insertion mode. This is a bug in React.");
    }
  }
  function Gr(n, t) {
    switch (t.insertionMode) {
      case 0:
      case 1:
      case 2:
        return J(n, wi);
      case 3:
        return J(n, zr);
      case 4:
        return J(n, Wr);
      case 5:
        return J(n, ge);
      case 6:
        return J(n, El);
      case 7:
        return J(n, zt);
      case 8:
        return J(n, Wt);
      default:
        throw Error("Unknown insertion mode. This is a bug in React.");
    }
  }
  var dt = R(
    '$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'
  ), _e = R('$RS("'), Xr = R('","'), ve = R('")<\/script>');
  R('<template data-rsi="" data-sid="'), R('" data-pid="');
  var Ma = R(
    '$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RC("'
  ), Tl = R('$RC("'), gt = R(
    `$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RM=new Map;
$RR=function(t,u,y){function v(n){this._p=null;n()}for(var w=$RC,p=$RM,q=new Map,r=document,g,b,h=r.querySelectorAll("link[data-precedence],style[data-precedence]"),x=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?x.push(b):("LINK"===b.tagName&&p.set(b.getAttribute("href"),b),q.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var e=y[b++];if(!e){k=!1;b=0;continue}var c=!1,m=0;var d=e[m++];if(a=p.get(d)){var f=a._p;c=!0}else{a=r.createElement("link");a.href=
d;a.rel="stylesheet";for(a.dataset.precedence=l=e[m++];f=e[m++];)a.setAttribute(f,e[m++]);f=a._p=new Promise(function(n,z){a.onload=v.bind(a,n);a.onerror=v.bind(a,z)});p.set(d,a)}d=a.getAttribute("media");!f||d&&!matchMedia(d).matches||h.push(f);if(c)continue}else{a=x[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=q.get(l)||g;c===g&&(g=a);q.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=r.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(w.bind(null,
t,u,""),w.bind(null,t,u,"Resource failed to load"))};$RR("`
  ), Yt = R(
    `$RM=new Map;
$RR=function(t,u,y){function v(n){this._p=null;n()}for(var w=$RC,p=$RM,q=new Map,r=document,g,b,h=r.querySelectorAll("link[data-precedence],style[data-precedence]"),x=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?x.push(b):("LINK"===b.tagName&&p.set(b.getAttribute("href"),b),q.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var e=y[b++];if(!e){k=!1;b=0;continue}var c=!1,m=0;var d=e[m++];if(a=p.get(d)){var f=a._p;c=!0}else{a=r.createElement("link");a.href=
d;a.rel="stylesheet";for(a.dataset.precedence=l=e[m++];f=e[m++];)a.setAttribute(f,e[m++]);f=a._p=new Promise(function(n,z){a.onload=v.bind(a,n);a.onerror=v.bind(a,z)});p.set(d,a)}d=a.getAttribute("media");!f||d&&!matchMedia(d).matches||h.push(f);if(c)continue}else{a=x[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=q.get(l)||g;c===g&&(g=a);q.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=r.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(w.bind(null,
t,u,""),w.bind(null,t,u,"Resource failed to load"))};$RR("`
  ), Da = R('$RR("'), La = R('","'), Ba = R('",'), Fi = R('"'), Ai = R(")<\/script>");
  R('<template data-rci="" data-bid="'), R('<template data-rri="" data-bid="'), R('" data-sid="'), R('" data-sty="');
  var Oi = R(
    '$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("'
  ), Na = R('$RX("'), za = R('"'), _i = R(","), Gt = R(")<\/script>");
  R('<template data-rxi="" data-bid="'), R('" data-dgst="'), R('" data-msg="'), R('" data-stck="'), R('" data-cstck="');
  var Zr = /[<\u2028\u2029]/g;
  function Jr(n) {
    return JSON.stringify(n).replace(
      Zr,
      function(t) {
        switch (t) {
          case "<":
            return "\\u003c";
          case "\u2028":
            return "\\u2028";
          case "\u2029":
            return "\\u2029";
          default:
            throw Error(
              "escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React"
            );
        }
      }
    );
  }
  var Ii = /[&><\u2028\u2029]/g;
  function Je(n) {
    return JSON.stringify(n).replace(
      Ii,
      function(t) {
        switch (t) {
          case "&":
            return "\\u0026";
          case ">":
            return "\\u003e";
          case "<":
            return "\\u003c";
          case "\u2028":
            return "\\u2028";
          case "\u2029":
            return "\\u2029";
          default:
            throw Error(
              "escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React"
            );
        }
      }
    );
  }
  var Ha = R(
    '<style media="not all" data-precedence="'
  ), vt = R('" data-href="'), wl = R('">'), Qr = R("</style>"), Xt = !1, xl = !0;
  function yt(n) {
    var t = n.rules, l = n.hrefs, u = 0;
    if (l.length) {
      for (w(this, Ha), w(this, n.precedence), w(this, vt); u < l.length - 1; u++)
        w(this, l[u]), w(this, bt);
      for (w(this, l[u]), w(this, wl), u = 0; u < t.length; u++) w(this, t[u]);
      xl = J(
        this,
        Qr
      ), Xt = !0, t.length = 0, l.length = 0;
    }
  }
  function ki(n) {
    return n.state !== 2 ? Xt = !0 : !1;
  }
  function Wa(n, t, l) {
    return Xt = !1, xl = !0, t.styles.forEach(yt, n), t.stylesheets.forEach(ki), Xt && (l.stylesToHoist = !0), xl;
  }
  function m(n) {
    for (var t = 0; t < n.length; t++) w(this, n[t]);
    n.length = 0;
  }
  var ye = [];
  function Cl(n) {
    Rn(ye, n.props);
    for (var t = 0; t < ye.length; t++)
      w(this, ye[t]);
    ye.length = 0, n.state = 2;
  }
  var Vr = R(
    '<style data-precedence="'
  ), Ua = R('" data-href="'), bt = R(" "), Zt = R('">'), Qe = R("</style>");
  function Zn(n) {
    var t = 0 < n.sheets.size;
    n.sheets.forEach(Cl, this), n.sheets.clear();
    var l = n.rules, u = n.hrefs;
    if (!t || u.length) {
      if (w(this, Vr), w(this, n.precedence), n = 0, u.length) {
        for (w(this, Ua); n < u.length - 1; n++)
          w(this, u[n]), w(this, bt);
        w(this, u[n]);
      }
      for (w(this, Zt), n = 0; n < l.length; n++)
        w(this, l[n]);
      w(this, Qe), l.length = 0, u.length = 0;
    }
  }
  function Jt(n) {
    if (n.state === 0) {
      n.state = 1;
      var t = n.props;
      for (Rn(ye, {
        rel: "preload",
        as: "style",
        href: n.props.href,
        crossOrigin: t.crossOrigin,
        fetchPriority: t.fetchPriority,
        integrity: t.integrity,
        media: t.media,
        hrefLang: t.hrefLang,
        referrerPolicy: t.referrerPolicy
      }), n = 0; n < ye.length; n++)
        w(this, ye[n]);
      ye.length = 0;
    }
  }
  function Ya(n) {
    n.sheets.forEach(Jt, this), n.sheets.clear();
  }
  var Sl = R("["), Qt = R(",["), Vt = R(","), Bn = R("]");
  function Pl(n, t) {
    w(n, Sl);
    var l = Sl;
    t.stylesheets.forEach(function(u) {
      if (u.state !== 2)
        if (u.state === 3)
          w(n, l), w(
            n,
            A(
              Je("" + u.props.href)
            )
          ), w(n, Bn), l = Qt;
        else {
          w(n, l);
          var f = u.props["data-precedence"], o = u.props, s = ft("" + u.props.href);
          w(
            n,
            A(Je(s))
          ), f = "" + f, w(n, Vt), w(
            n,
            A(Je(f))
          );
          for (var v in o)
            if (rn.call(o, v) && (f = o[v], f != null))
              switch (v) {
                case "href":
                case "rel":
                case "precedence":
                case "data-precedence":
                  break;
                case "children":
                case "dangerouslySetInnerHTML":
                  throw Error(
                    "link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`."
                  );
                default:
                  Fl(
                    n,
                    v,
                    f
                  );
              }
          w(n, Bn), l = Qt, u.state = 3;
        }
    }), w(n, Bn);
  }
  function Fl(n, t, l) {
    var u = t.toLowerCase();
    switch (typeof l) {
      case "function":
      case "symbol":
        return;
    }
    switch (t) {
      case "innerHTML":
      case "dangerouslySetInnerHTML":
      case "suppressContentEditableWarning":
      case "suppressHydrationWarning":
      case "style":
      case "ref":
        return;
      case "className":
        u = "class", t = "" + l;
        break;
      case "hidden":
        if (l === !1) return;
        t = "";
        break;
      case "src":
      case "href":
        l = ft(l), t = "" + l;
        break;
      default:
        if (2 < t.length && (t[0] === "o" || t[0] === "O") && (t[1] === "n" || t[1] === "N") || !ol(t))
          return;
        t = "" + l;
    }
    w(n, Vt), w(
      n,
      A(Je(u))
    ), w(n, Vt), w(
      n,
      A(Je(t))
    );
  }
  function Kr() {
    return { styles: /* @__PURE__ */ new Set(), stylesheets: /* @__PURE__ */ new Set() };
  }
  function Ga(n) {
    var t = Re();
    if (t) {
      var l = t.resumableState, u = t.renderState;
      if (typeof n == "string" && n) {
        if (!l.dnsResources.hasOwnProperty(n)) {
          l.dnsResources[n] = null, l = u.headers;
          var f, o;
          (o = l && 0 < l.remainingCapacity) && (o = (f = "<" + ("" + n).replace(
            me,
            mt
          ) + ">; rel=dns-prefetch", 0 <= (l.remainingCapacity -= f.length + 2))), o ? (u.resets.dns[n] = null, l.preconnects && (l.preconnects += ", "), l.preconnects += f) : (f = [], Rn(f, { href: n, rel: "dns-prefetch" }), u.preconnects.add(f));
        }
        Ne(t);
      }
    } else ae.D(n);
  }
  function Xa(n, t) {
    var l = Re();
    if (l) {
      var u = l.resumableState, f = l.renderState;
      if (typeof n == "string" && n) {
        var o = t === "use-credentials" ? "credentials" : typeof t == "string" ? "anonymous" : "default";
        if (!u.connectResources[o].hasOwnProperty(n)) {
          u.connectResources[o][n] = null, u = f.headers;
          var s, v;
          if (v = u && 0 < u.remainingCapacity) {
            if (v = "<" + ("" + n).replace(
              me,
              mt
            ) + ">; rel=preconnect", typeof t == "string") {
              var g = ("" + t).replace(
                qt,
                Rt
              );
              v += '; crossorigin="' + g + '"';
            }
            v = (s = v, 0 <= (u.remainingCapacity -= s.length + 2));
          }
          v ? (f.resets.connect[o][n] = null, u.preconnects && (u.preconnects += ", "), u.preconnects += s) : (o = [], Rn(o, {
            rel: "preconnect",
            href: n,
            crossOrigin: t
          }), f.preconnects.add(o));
        }
        Ne(l);
      }
    } else ae.C(n, t);
  }
  function $n(n, t, l) {
    var u = Re();
    if (u) {
      var f = u.resumableState, o = u.renderState;
      if (t && n) {
        switch (t) {
          case "image":
            if (l)
              var s = l.imageSrcSet, v = l.imageSizes, g = l.fetchPriority;
            var T = s ? s + `
` + (v || "") : n;
            if (f.imageResources.hasOwnProperty(T)) return;
            f.imageResources[T] = Ln, f = o.headers;
            var S;
            f && 0 < f.remainingCapacity && g === "high" && (S = Ke(n, t, l), 0 <= (f.remainingCapacity -= S.length + 2)) ? (o.resets.image[T] = Ln, f.highImagePreloads && (f.highImagePreloads += ", "), f.highImagePreloads += S) : (f = [], Rn(
              f,
              Dn(
                { rel: "preload", href: s ? void 0 : n, as: t },
                l
              )
            ), g === "high" ? o.highImagePreloads.add(f) : (o.bulkPreloads.add(f), o.preloads.images.set(T, f)));
            break;
          case "style":
            if (f.styleResources.hasOwnProperty(n)) return;
            s = [], Rn(
              s,
              Dn({ rel: "preload", href: n, as: t }, l)
            ), f.styleResources[n] = !l || typeof l.crossOrigin != "string" && typeof l.integrity != "string" ? Ln : [l.crossOrigin, l.integrity], o.preloads.stylesheets.set(n, s), o.bulkPreloads.add(s);
            break;
          case "script":
            if (f.scriptResources.hasOwnProperty(n)) return;
            s = [], o.preloads.scripts.set(n, s), o.bulkPreloads.add(s), Rn(
              s,
              Dn({ rel: "preload", href: n, as: t }, l)
            ), f.scriptResources[n] = !l || typeof l.crossOrigin != "string" && typeof l.integrity != "string" ? Ln : [l.crossOrigin, l.integrity];
            break;
          default:
            if (f.unknownResources.hasOwnProperty(t)) {
              if (s = f.unknownResources[t], s.hasOwnProperty(n))
                return;
            } else
              s = {}, f.unknownResources[t] = s;
            if (s[n] = Ln, (f = o.headers) && 0 < f.remainingCapacity && t === "font" && (T = Ke(n, t, l), 0 <= (f.remainingCapacity -= T.length + 2)))
              o.resets.font[n] = Ln, f.fontPreloads && (f.fontPreloads += ", "), f.fontPreloads += T;
            else
              switch (f = [], n = Dn({ rel: "preload", href: n, as: t }, l), Rn(f, n), t) {
                case "font":
                  o.fontPreloads.add(f);
                  break;
                default:
                  o.bulkPreloads.add(f);
              }
        }
        Ne(u);
      }
    } else ae.L(n, t, l);
  }
  function Mi(n, t) {
    var l = Re();
    if (l) {
      var u = l.resumableState, f = l.renderState;
      if (n) {
        var o = t && typeof t.as == "string" ? t.as : "script";
        switch (o) {
          case "script":
            if (u.moduleScriptResources.hasOwnProperty(n)) return;
            o = [], u.moduleScriptResources[n] = !t || typeof t.crossOrigin != "string" && typeof t.integrity != "string" ? Ln : [t.crossOrigin, t.integrity], f.preloads.moduleScripts.set(n, o);
            break;
          default:
            if (u.moduleUnknownResources.hasOwnProperty(o)) {
              var s = u.unknownResources[o];
              if (s.hasOwnProperty(n)) return;
            } else
              s = {}, u.moduleUnknownResources[o] = s;
            o = [], s[n] = Ln;
        }
        Rn(o, Dn({ rel: "modulepreload", href: n }, t)), f.bulkPreloads.add(o), Ne(l);
      }
    } else ae.m(n, t);
  }
  function Kt(n, t, l) {
    var u = Re();
    if (u) {
      var f = u.resumableState, o = u.renderState;
      if (n) {
        t = t || "default";
        var s = o.styles.get(t), v = f.styleResources.hasOwnProperty(n) ? f.styleResources[n] : void 0;
        v !== null && (f.styleResources[n] = null, s || (s = {
          precedence: A(H(t)),
          rules: [],
          hrefs: [],
          sheets: /* @__PURE__ */ new Map()
        }, o.styles.set(t, s)), t = {
          state: 0,
          props: Dn(
            { rel: "stylesheet", href: n, "data-precedence": t },
            l
          )
        }, v && (v.length === 2 && Ve(t.props, v), (o = o.preloads.stylesheets.get(n)) && 0 < o.length ? o.length = 0 : t.state = 1), s.sheets.set(n, t), Ne(u));
      }
    } else ae.S(n, t, l);
  }
  function Za(n, t) {
    var l = Re();
    if (l) {
      var u = l.resumableState, f = l.renderState;
      if (n) {
        var o = u.scriptResources.hasOwnProperty(n) ? u.scriptResources[n] : void 0;
        o !== null && (u.scriptResources[n] = null, t = Dn({ src: n, async: !0 }, t), o && (o.length === 2 && Ve(t, o), n = f.preloads.scripts.get(n)) && (n.length = 0), n = [], f.scripts.add(n), st(n, t), Ne(l));
      }
    } else ae.X(n, t);
  }
  function Al(n, t) {
    var l = Re();
    if (l) {
      var u = l.resumableState, f = l.renderState;
      if (n) {
        var o = u.moduleScriptResources.hasOwnProperty(
          n
        ) ? u.moduleScriptResources[n] : void 0;
        o !== null && (u.moduleScriptResources[n] = null, t = Dn({ src: n, type: "module", async: !0 }, t), o && (o.length === 2 && Ve(t, o), n = f.preloads.moduleScripts.get(n)) && (n.length = 0), n = [], f.scripts.add(n), st(n, t), Ne(l));
      }
    } else ae.M(n, t);
  }
  function Ve(n, t) {
    n.crossOrigin == null && (n.crossOrigin = t[0]), n.integrity == null && (n.integrity = t[1]);
  }
  function Ke(n, t, l) {
    n = ("" + n).replace(
      me,
      mt
    ), t = ("" + t).replace(
      qt,
      Rt
    ), t = "<" + n + '>; rel=preload; as="' + t + '"';
    for (var u in l)
      rn.call(l, u) && (n = l[u], typeof n == "string" && (t += "; " + u.toLowerCase() + '="' + ("" + n).replace(
        qt,
        Rt
      ) + '"'));
    return t;
  }
  var me = /[<>\r\n]/g;
  function mt(n) {
    switch (n) {
      case "<":
        return "%3C";
      case ">":
        return "%3E";
      case `
`:
        return "%0A";
      case "\r":
        return "%0D";
      default:
        throw Error(
          "escapeLinkHrefForHeaderContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React"
        );
    }
  }
  var qt = /["';,\r\n]/g;
  function Rt(n) {
    switch (n) {
      case '"':
        return "%22";
      case "'":
        return "%27";
      case ";":
        return "%3B";
      case ",":
        return "%2C";
      case `
`:
        return "%0A";
      case "\r":
        return "%0D";
      default:
        throw Error(
          "escapeStringForLinkHeaderQuotedParamValueContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React"
        );
    }
  }
  function pt(n) {
    this.styles.add(n);
  }
  function mr(n) {
    this.stylesheets.add(n);
  }
  var Ja = Function.prototype.bind, Et = typeof AsyncLocalStorage == "function", qe = Et ? new AsyncLocalStorage() : null, pe = Symbol.for("react.client.reference");
  function qr(n) {
    if (n == null) return null;
    if (typeof n == "function")
      return n.$$typeof === pe ? null : n.displayName || n.name || null;
    if (typeof n == "string") return n;
    switch (n) {
      case It:
        return "Fragment";
      case cn:
        return "Portal";
      case fe:
        return "Profiler";
      case kt:
        return "StrictMode";
      case In:
        return "Suspense";
      case oe:
        return "SuspenseList";
    }
    if (typeof n == "object")
      switch (n.$$typeof) {
        case P:
          return (n.displayName || "Context") + ".Provider";
        case N:
          return (n._context.displayName || "Context") + ".Consumer";
        case G:
          var t = n.render;
          return n = n.displayName, n || (n = t.displayName || t.name || "", n = n !== "" ? "ForwardRef(" + n + ")" : "ForwardRef"), n;
        case Fe:
          return t = n.displayName || null, t !== null ? t : qr(n.type) || "Memo";
        case ct:
          t = n._payload, n = n._init;
          try {
            return qr(n(t));
          } catch {
          }
      }
    return null;
  }
  var Qa = {}, je = null;
  function jt(n, t) {
    if (n !== t) {
      n.context._currentValue = n.parentValue, n = n.parent;
      var l = t.parent;
      if (n === null) {
        if (l !== null)
          throw Error(
            "The stacks must reach the root at the same time. This is a bug in React."
          );
      } else {
        if (l === null)
          throw Error(
            "The stacks must reach the root at the same time. This is a bug in React."
          );
        jt(n, l);
      }
      t.context._currentValue = t.value;
    }
  }
  function e(n) {
    n.context._currentValue = n.parentValue, n = n.parent, n !== null && e(n);
  }
  function r(n) {
    var t = n.parent;
    t !== null && r(t), n.context._currentValue = n.value;
  }
  function a(n, t) {
    if (n.context._currentValue = n.parentValue, n = n.parent, n === null)
      throw Error(
        "The depth must equal at least at zero before reaching the root. This is a bug in React."
      );
    n.depth === t.depth ? jt(n, t) : a(n, t);
  }
  function i(n, t) {
    var l = t.parent;
    if (l === null)
      throw Error(
        "The depth must equal at least at zero before reaching the root. This is a bug in React."
      );
    n.depth === l.depth ? jt(n, l) : i(n, l), t.context._currentValue = t.value;
  }
  function c(n) {
    var t = je;
    t !== n && (t === null ? r(n) : n === null ? e(t) : t.depth === n.depth ? jt(t, n) : t.depth > n.depth ? a(t, n) : i(t, n), je = n);
  }
  var h = {
    isMounted: function() {
      return !1;
    },
    enqueueSetState: function(n, t) {
      n = n._reactInternals, n.queue !== null && n.queue.push(t);
    },
    enqueueReplaceState: function(n, t) {
      n = n._reactInternals, n.replace = !0, n.queue = [t];
    },
    enqueueForceUpdate: function() {
    }
  }, d = { id: 1, overflow: "" };
  function y(n, t, l) {
    var u = n.id;
    n = n.overflow;
    var f = 32 - b(u) - 1;
    u &= ~(1 << f), l += 1;
    var o = 32 - b(t) + f;
    if (30 < o) {
      var s = f - f % 5;
      return o = (u & (1 << s) - 1).toString(32), u >>= s, f -= s, {
        id: 1 << 32 - b(t) + f | l << f | u,
        overflow: o + n
      };
    }
    return {
      id: 1 << o | l << f | u,
      overflow: n
    };
  }
  var b = Math.clz32 ? Math.clz32 : F, x = Math.log, O = Math.LN2;
  function F(n) {
    return n >>>= 0, n === 0 ? 32 : 31 - (x(n) / O | 0) | 0;
  }
  var _ = Error(
    "Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`"
  );
  function z() {
  }
  function k(n, t, l) {
    switch (l = n[l], l === void 0 ? n.push(t) : l !== t && (t.then(z, z), t = l), t.status) {
      case "fulfilled":
        return t.value;
      case "rejected":
        throw t.reason;
      default:
        switch (typeof t.status == "string" ? t.then(z, z) : (n = t, n.status = "pending", n.then(
          function(u) {
            if (t.status === "pending") {
              var f = t;
              f.status = "fulfilled", f.value = u;
            }
          },
          function(u) {
            if (t.status === "pending") {
              var f = t;
              f.status = "rejected", f.reason = u;
            }
          }
        )), t.status) {
          case "fulfilled":
            return t.value;
          case "rejected":
            throw t.reason;
        }
        throw B = t, _;
    }
  }
  var B = null;
  function K() {
    if (B === null)
      throw Error(
        "Expected a suspended thenable. This is a bug in React. Please file an issue."
      );
    var n = B;
    return B = null, n;
  }
  function U(n, t) {
    return n === t && (n !== 0 || 1 / n === 1 / t) || n !== n && t !== t;
  }
  var $ = typeof Object.is == "function" ? Object.is : U, W = null, X = null, Z = null, vn = null, Jn = null, Y = null, tn = !1, un = !1, ln = 0, ne = 0, Pn = -1, ee = 0, Fn = null, be = null, $t = 0;
  function ue() {
    if (W === null)
      throw Error(
        `Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`
      );
    return W;
  }
  function Ol() {
    if (0 < $t)
      throw Error("Rendered more hooks than during the previous render");
    return { memoizedState: null, queue: null, next: null };
  }
  function pr() {
    return Y === null ? Jn === null ? (tn = !1, Jn = Y = Ol()) : (tn = !0, Y = Jn) : Y.next === null ? (tn = !1, Y = Y.next = Ol()) : (tn = !0, Y = Y.next), Y;
  }
  function Ie() {
    var n = Fn;
    return Fn = null, n;
  }
  function $e() {
    vn = Z = X = W = null, un = !1, Jn = null, $t = 0, Y = be = null;
  }
  function jr(n, t) {
    return typeof t == "function" ? t(n) : t;
  }
  function $r(n, t, l) {
    if (W = ue(), Y = pr(), tn) {
      var u = Y.queue;
      if (t = u.dispatch, be !== null && (l = be.get(u), l !== void 0)) {
        be.delete(u), u = Y.memoizedState;
        do
          u = n(u, l.action), l = l.next;
        while (l !== null);
        return Y.memoizedState = u, [u, t];
      }
      return [Y.memoizedState, t];
    }
    return n = n === jr ? typeof t == "function" ? t() : t : l !== void 0 ? l(t) : t, Y.memoizedState = n, n = Y.queue = { last: null, dispatch: null }, n = n.dispatch = te.bind(
      null,
      W,
      n
    ), [Y.memoizedState, n];
  }
  function Tt(n, t) {
    if (W = ue(), Y = pr(), t = t === void 0 ? null : t, Y !== null) {
      var l = Y.memoizedState;
      if (l !== null && t !== null) {
        var u = l[1];
        n: if (u === null) u = !1;
        else {
          for (var f = 0; f < u.length && f < t.length; f++)
            if (!$(t[f], u[f])) {
              u = !1;
              break n;
            }
          u = !0;
        }
        if (u) return l[0];
      }
    }
    return n = n(), Y.memoizedState = [n, t], n;
  }
  function te(n, t, l) {
    if (25 <= $t)
      throw Error(
        "Too many re-renders. React limits the number of renders to prevent an infinite loop."
      );
    if (n === W)
      if (un = !0, n = { action: l, next: null }, be === null && (be = /* @__PURE__ */ new Map()), l = be.get(t), l === void 0)
        be.set(t, n);
      else {
        for (t = l; t.next !== null; ) t = t.next;
        t.next = n;
      }
  }
  function Va() {
    throw Error("startTransition cannot be called during server rendering.");
  }
  function nr() {
    throw Error("Cannot update optimistic state while rendering.");
  }
  function _l(n, t, l) {
    ue();
    var u = ne++, f = Z;
    if (typeof n.$$FORM_ACTION == "function") {
      var o = null, s = vn;
      f = f.formState;
      var v = n.$$IS_SIGNATURE_EQUAL;
      if (f !== null && typeof v == "function") {
        var g = f[1];
        v.call(n, f[2], f[3]) && (o = l !== void 0 ? "p" + l : "k" + Pr(
          JSON.stringify([s, null, u]),
          0
        ), g === o && (Pn = u, t = f[0]));
      }
      var T = n.bind(null, t);
      return n = function(E) {
        T(E);
      }, typeof T.$$FORM_ACTION == "function" && (n.$$FORM_ACTION = function(E) {
        E = T.$$FORM_ACTION(E), l !== void 0 && (l += "", E.action = l);
        var C = E.data;
        return C && (o === null && (o = l !== void 0 ? "p" + l : "k" + Pr(
          JSON.stringify([
            s,
            null,
            u
          ]),
          0
        )), C.append("$ACTION_KEY", o)), E;
      }), [t, n, !1];
    }
    var S = n.bind(null, t);
    return [
      t,
      function(E) {
        S(E);
      },
      !1
    ];
  }
  function Il(n) {
    var t = ee;
    return ee += 1, Fn === null && (Fn = []), k(Fn, n, t);
  }
  function Ka() {
    throw Error("Cache cannot be refreshed during server rendering.");
  }
  function wt() {
  }
  var er = {
    readContext: function(n) {
      return n._currentValue;
    },
    use: function(n) {
      if (n !== null && typeof n == "object") {
        if (typeof n.then == "function") return Il(n);
        if (n.$$typeof === P) return n._currentValue;
      }
      throw Error("An unsupported type was passed to use(): " + String(n));
    },
    useContext: function(n) {
      return ue(), n._currentValue;
    },
    useMemo: Tt,
    useReducer: $r,
    useRef: function(n) {
      W = ue(), Y = pr();
      var t = Y.memoizedState;
      return t === null ? (n = { current: n }, Y.memoizedState = n) : t;
    },
    useState: function(n) {
      return $r(jr, n);
    },
    useInsertionEffect: wt,
    useLayoutEffect: wt,
    useCallback: function(n, t) {
      return Tt(function() {
        return n;
      }, t);
    },
    useImperativeHandle: wt,
    useEffect: wt,
    useDebugValue: wt,
    useDeferredValue: function(n, t) {
      return ue(), t !== void 0 ? t : n;
    },
    useTransition: function() {
      return ue(), [!1, Va];
    },
    useId: function() {
      var n = X.treeContext, t = n.overflow;
      n = n.id, n = (n & ~(1 << 32 - b(n) - 1)).toString(32) + t;
      var l = tr;
      if (l === null)
        throw Error(
          "Invalid hook call. Hooks can only be called inside of the body of a function component."
        );
      return t = ln++, n = ":" + l.idPrefix + "R" + n, 0 < t && (n += "H" + t.toString(32)), n + ":";
    },
    useSyncExternalStore: function(n, t, l) {
      if (l === void 0)
        throw Error(
          "Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering."
        );
      return l();
    },
    useCacheRefresh: function() {
      return Ka;
    },
    useMemoCache: function(n) {
      for (var t = Array(n), l = 0; l < n; l++)
        t[l] = hi;
      return t;
    },
    useHostTransitionStatus: function() {
      return ue(), bn;
    },
    useOptimistic: function(n) {
      return ue(), [n, nr];
    }
  };
  er.useFormState = _l, er.useActionState = _l;
  var tr = null, rr = {
    getCacheForType: function() {
      throw Error("Not implemented.");
    }
  }, re, kl;
  function nt(n) {
    if (re === void 0)
      try {
        throw Error();
      } catch (l) {
        var t = l.stack.trim().match(/\n( *(at )?)/);
        re = t && t[1] || "", kl = -1 < l.stack.indexOf(`
    at`) ? " (<anonymous>)" : -1 < l.stack.indexOf("@") ? "@unknown:0:0" : "";
      }
    return `
` + re + n + kl;
  }
  var et = !1;
  function lr(n, t) {
    if (!n || et) return "";
    et = !0;
    var l = Error.prepareStackTrace;
    Error.prepareStackTrace = void 0;
    var u = {
      DetermineComponentFrameRoot: function() {
        try {
          if (t) {
            var E = function() {
              throw Error();
            };
            if (Object.defineProperty(E.prototype, "props", {
              set: function() {
                throw Error();
              }
            }), typeof Reflect == "object" && Reflect.construct) {
              try {
                Reflect.construct(E, []);
              } catch (L) {
                var C = L;
              }
              Reflect.construct(n, [], E);
            } else {
              try {
                E.call();
              } catch (L) {
                C = L;
              }
              n.call(E.prototype);
            }
          } else {
            try {
              throw Error();
            } catch (L) {
              C = L;
            }
            (E = n()) && typeof E.catch == "function" && E.catch(function() {
            });
          }
        } catch (L) {
          if (L && C && typeof L.stack == "string")
            return [L.stack, C.stack];
        }
        return [null, null];
      }
    };
    u.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot";
    var f = Object.getOwnPropertyDescriptor(
      u.DetermineComponentFrameRoot,
      "name"
    );
    f && f.configurable && Object.defineProperty(u.DetermineComponentFrameRoot, "name", {
      value: "DetermineComponentFrameRoot"
    });
    try {
      var o = u.DetermineComponentFrameRoot(), s = o[0], v = o[1];
      if (s && v) {
        var g = s.split(`
`), T = v.split(`
`);
        for (f = u = 0; u < g.length && !g[u].includes("DetermineComponentFrameRoot"); )
          u++;
        for (; f < T.length && !T[f].includes(
          "DetermineComponentFrameRoot"
        ); )
          f++;
        if (u === g.length || f === T.length)
          for (u = g.length - 1, f = T.length - 1; 1 <= u && 0 <= f && g[u] !== T[f]; )
            f--;
        for (; 1 <= u && 0 <= f; u--, f--)
          if (g[u] !== T[f]) {
            if (u !== 1 || f !== 1)
              do
                if (u--, f--, 0 > f || g[u] !== T[f]) {
                  var S = `
` + g[u].replace(" at new ", " at ");
                  return n.displayName && S.includes("<anonymous>") && (S = S.replace("<anonymous>", n.displayName)), S;
                }
              while (1 <= u && 0 <= f);
            break;
          }
      }
    } finally {
      et = !1, Error.prepareStackTrace = l;
    }
    return (l = n ? n.displayName || n.name : "") ? nt(l) : "";
  }
  function ke(n) {
    if (typeof n == "string") return nt(n);
    if (typeof n == "function")
      return n.prototype && n.prototype.isReactComponent ? (n = lr(n, !0), n) : lr(n, !1);
    if (typeof n == "object" && n !== null) {
      switch (n.$$typeof) {
        case G:
          return lr(n.render, !1);
        case Fe:
          return lr(n.type, !1);
        case ct:
          var t = n, l = t._payload;
          t = t._init;
          try {
            n = t(l);
          } catch {
            return nt("Lazy");
          }
          return ke(n);
      }
      if (typeof n.name == "string")
        return l = n.env, nt(
          n.name + (l ? " [" + l + "]" : "")
        );
    }
    switch (n) {
      case oe:
        return nt("SuspenseList");
      case In:
        return nt("Suspense");
    }
    return "";
  }
  function ar(n) {
    if (typeof n == "object" && n !== null && typeof n.environmentName == "string") {
      var t = n.environmentName;
      n = [n].slice(0), typeof n[0] == "string" ? n.splice(
        0,
        1,
        "\x1B[0m\x1B[7m%c%s\x1B[0m%c " + n[0],
        "background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px",
        " " + t + " ",
        ""
      ) : n.splice(
        0,
        0,
        "\x1B[0m\x1B[7m%c%s\x1B[0m%c ",
        "background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px",
        " " + t + " ",
        ""
      ), n.unshift(console), t = Ja.apply(console.error, n), t();
    } else console.error(n);
    return null;
  }
  function ce() {
  }
  function ir(n, t, l, u, f, o, s, v, g, T, S) {
    var E = /* @__PURE__ */ new Set();
    this.destination = null, this.flushScheduled = !1, this.resumableState = n, this.renderState = t, this.rootFormatContext = l, this.progressiveChunkSize = u === void 0 ? 12800 : u, this.status = 0, this.fatalError = null, this.pendingRootTasks = this.allPendingTasks = this.nextSegmentId = 0, this.completedRootSegment = null, this.abortableTasks = E, this.pingedTasks = [], this.clientRenderedBoundaries = [], this.completedBoundaries = [], this.partialBoundaries = [], this.trackedPostpones = null, this.onError = f === void 0 ? ar : f, this.onPostpone = T === void 0 ? ce : T, this.onAllReady = o === void 0 ? ce : o, this.onShellReady = s === void 0 ? ce : s, this.onShellError = v === void 0 ? ce : v, this.onFatalError = g === void 0 ? ce : g, this.formState = S === void 0 ? null : S;
  }
  function ur(n, t, l, u, f, o, s, v, g, T, S, E) {
    return t = new ir(
      t,
      l,
      u,
      f,
      o,
      s,
      v,
      g,
      T,
      S,
      E
    ), l = xt(
      t,
      0,
      null,
      u,
      !1,
      !1
    ), l.parentFlushed = !0, n = cr(
      t,
      null,
      n,
      -1,
      null,
      l,
      null,
      t.abortableTasks,
      null,
      u,
      null,
      d,
      null,
      !1
    ), Te(n), t.pingedTasks.push(n), t;
  }
  var jn = null;
  function Re() {
    if (jn) return jn;
    if (Et) {
      var n = qe.getStore();
      if (n) return n;
    }
    return null;
  }
  function nl(n, t) {
    n.pingedTasks.push(t), n.pingedTasks.length === 1 && (n.flushScheduled = n.destination !== null, n.trackedPostpones !== null ? j(function() {
      return lt(n);
    }) : setTimeout(function() {
      return lt(n);
    }, 0));
  }
  function Ee(n, t) {
    return {
      status: 0,
      rootSegmentID: -1,
      parentFlushed: !1,
      pendingTasks: 0,
      completedSegments: [],
      byteSize: 0,
      fallbackAbortableTasks: t,
      errorDigest: null,
      contentState: Kr(),
      fallbackState: Kr(),
      trackedContentKeyPath: null,
      trackedFallbackNode: null
    };
  }
  function cr(n, t, l, u, f, o, s, v, g, T, S, E, C, L) {
    n.allPendingTasks++, f === null ? n.pendingRootTasks++ : f.pendingTasks++;
    var M = {
      replay: null,
      node: l,
      childIndex: u,
      ping: function() {
        return nl(n, M);
      },
      blockedBoundary: f,
      blockedSegment: o,
      hoistableState: s,
      abortSet: v,
      keyPath: g,
      formatContext: T,
      context: S,
      treeContext: E,
      componentStack: C,
      thenableState: t,
      isFallback: L
    };
    return v.add(M), M;
  }
  function fr(n, t, l, u, f, o, s, v, g, T, S, E, C, L) {
    n.allPendingTasks++, o === null ? n.pendingRootTasks++ : o.pendingTasks++, l.pendingTasks++;
    var M = {
      replay: l,
      node: u,
      childIndex: f,
      ping: function() {
        return nl(n, M);
      },
      blockedBoundary: o,
      blockedSegment: null,
      hoistableState: s,
      abortSet: v,
      keyPath: g,
      formatContext: T,
      context: S,
      treeContext: E,
      componentStack: C,
      thenableState: t,
      isFallback: L
    };
    return v.add(M), M;
  }
  function xt(n, t, l, u, f, o) {
    return {
      status: 0,
      id: -1,
      index: t,
      parentFlushed: !1,
      chunks: [],
      children: [],
      parentFormatContext: u,
      boundary: l,
      lastPushedText: f,
      textEmbedded: o
    };
  }
  function Te(n) {
    var t = n.node;
    if (typeof t == "object" && t !== null)
      switch (t.$$typeof) {
        case I:
          n.componentStack = { parent: n.componentStack, type: t.type };
      }
  }
  function Me(n) {
    var t = {};
    return n && Object.defineProperty(t, "componentStack", {
      configurable: !0,
      enumerable: !0,
      get: function() {
        try {
          var l = "", u = n;
          do
            l += ke(u.type), u = u.parent;
          while (u);
          var f = l;
        } catch (o) {
          f = `
Error generating stack: ` + o.message + `
` + o.stack;
        }
        return Object.defineProperty(t, "componentStack", {
          value: f
        }), f;
      }
    }), t;
  }
  function yn(n, t, l) {
    if (n = n.onError, t = n(t, l), t == null || typeof t == "string") return t;
  }
  function we(n, t) {
    var l = n.onShellError, u = n.onFatalError;
    l(t), u(t), n.destination !== null ? (n.status = 3, ca(n.destination, t)) : (n.status = 2, n.fatalError = t);
  }
  function Ml(n, t, l, u, f, o) {
    var s = t.thenableState;
    for (t.thenableState = null, W = {}, X = t, Z = n, vn = l, ne = ln = 0, Pn = -1, ee = 0, Fn = s, n = u(f, o); un; )
      un = !1, ne = ln = 0, Pn = -1, ee = 0, $t += 1, Y = null, n = u(f, o);
    return $e(), n;
  }
  function Dl(n, t, l, u, f, o, s) {
    var v = !1;
    if (o !== 0 && n.formState !== null) {
      var g = t.blockedSegment;
      if (g !== null) {
        v = !0, g = g.chunks;
        for (var T = 0; T < o; T++)
          T === s ? g.push(yi) : g.push(bi);
      }
    }
    o = t.keyPath, t.keyPath = l, f ? (l = t.treeContext, t.treeContext = y(l, 1, 0), Qn(n, t, u, -1), t.treeContext = l) : v ? Qn(n, t, u, -1) : hn(n, t, u, -1), t.keyPath = o;
  }
  function Ct(n, t, l, u, f, o) {
    if (typeof u == "function")
      if (u.prototype && u.prototype.isReactComponent) {
        var s = f;
        if ("ref" in f) {
          s = {};
          for (var v in f)
            v !== "ref" && (s[v] = f[v]);
        }
        var g = u.defaultProps;
        if (g) {
          s === f && (s = Dn({}, s, f));
          for (var T in g)
            s[T] === void 0 && (s[T] = g[T]);
        }
        f = s, s = Qa, g = u.contextType, typeof g == "object" && g !== null && (s = g._currentValue), s = new u(f, s);
        var S = s.state !== void 0 ? s.state : null;
        if (s.updater = h, s.props = f, s.state = S, g = { queue: [], replace: !1 }, s._reactInternals = g, o = u.contextType, s.context = typeof o == "object" && o !== null ? o._currentValue : Qa, o = u.getDerivedStateFromProps, typeof o == "function" && (o = o(f, S), S = o == null ? S : Dn({}, S, o), s.state = S), typeof u.getDerivedStateFromProps != "function" && typeof s.getSnapshotBeforeUpdate != "function" && (typeof s.UNSAFE_componentWillMount == "function" || typeof s.componentWillMount == "function"))
          if (u = s.state, typeof s.componentWillMount == "function" && s.componentWillMount(), typeof s.UNSAFE_componentWillMount == "function" && s.UNSAFE_componentWillMount(), u !== s.state && h.enqueueReplaceState(
            s,
            s.state,
            null
          ), g.queue !== null && 0 < g.queue.length)
            if (u = g.queue, o = g.replace, g.queue = null, g.replace = !1, o && u.length === 1)
              s.state = u[0];
            else {
              for (g = o ? u[0] : s.state, S = !0, o = o ? 1 : 0; o < u.length; o++)
                T = u[o], T = typeof T == "function" ? T.call(s, g, f, void 0) : T, T != null && (S ? (S = !1, g = Dn({}, g, T)) : Dn(g, T));
              s.state = g;
            }
          else g.queue = null;
        if (u = s.render(), n.status === 1) throw null;
        f = t.keyPath, t.keyPath = l, hn(n, t, u, -1), t.keyPath = f;
      } else {
        if (u = Ml(n, t, l, u, f, void 0), n.status === 1) throw null;
        Dl(
          n,
          t,
          l,
          u,
          ln !== 0,
          ne,
          Pn
        );
      }
    else if (typeof u == "string")
      if (s = t.blockedSegment, s === null)
        s = f.children, g = t.formatContext, S = t.keyPath, t.formatContext = fn(g, u, f), t.keyPath = l, Qn(n, t, s, -1), t.formatContext = g, t.keyPath = S;
      else {
        S = Sa(
          s.chunks,
          u,
          f,
          n.resumableState,
          n.renderState,
          t.hoistableState,
          t.formatContext,
          s.lastPushedText,
          t.isFallback
        ), s.lastPushedText = !1, g = t.formatContext, o = t.keyPath, t.formatContext = fn(g, u, f), t.keyPath = l, Qn(n, t, S, -1), t.formatContext = g, t.keyPath = o;
        n: {
          switch (t = s.chunks, n = n.resumableState, u) {
            case "title":
            case "style":
            case "script":
            case "area":
            case "base":
            case "br":
            case "col":
            case "embed":
            case "hr":
            case "img":
            case "input":
            case "keygen":
            case "link":
            case "meta":
            case "param":
            case "source":
            case "track":
            case "wbr":
              break n;
            case "body":
              if (1 >= g.insertionMode) {
                n.hasBody = !0;
                break n;
              }
              break;
            case "html":
              if (g.insertionMode === 0) {
                n.hasHtml = !0;
                break n;
              }
          }
          t.push(Ge(u));
        }
        s.lastPushedText = !1;
      }
    else {
      switch (u) {
        case oi:
        case ci:
        case kt:
        case fe:
        case It:
          u = t.keyPath, t.keyPath = l, hn(n, t, f.children, -1), t.keyPath = u;
          return;
        case fi:
          f.mode !== "hidden" && (u = t.keyPath, t.keyPath = l, hn(n, t, f.children, -1), t.keyPath = u);
          return;
        case oe:
          u = t.keyPath, t.keyPath = l, hn(n, t, f.children, -1), t.keyPath = u;
          return;
        case Cr:
          throw Error("ReactDOMServer does not yet support scope components.");
        case In:
          n: if (t.replay !== null) {
            u = t.keyPath, t.keyPath = l, l = f.children;
            try {
              Qn(n, t, l, -1);
            } finally {
              t.keyPath = u;
            }
          } else {
            u = t.keyPath;
            var E = t.blockedBoundary, C = t.hoistableState;
            o = t.blockedSegment, T = f.fallback, f = f.children;
            var L = /* @__PURE__ */ new Set();
            v = Ee(n, L), n.trackedPostpones !== null && (v.trackedContentKeyPath = l);
            var M = xt(
              n,
              o.chunks.length,
              v,
              t.formatContext,
              !1,
              !1
            );
            o.children.push(M), o.lastPushedText = !1;
            var D = xt(
              n,
              0,
              null,
              t.formatContext,
              !1,
              !1
            );
            if (D.parentFlushed = !0, n.trackedPostpones !== null) {
              s = [l[0], "Suspense Fallback", l[2]], g = [s[1], s[2], [], null], n.trackedPostpones.workingMap.set(s, g), v.trackedFallbackNode = g, t.blockedSegment = M, t.keyPath = s, M.status = 6;
              try {
                Qn(n, t, T, -1), M.lastPushedText && M.textEmbedded && M.chunks.push(se), M.status = 1;
              } catch (nn) {
                throw M.status = n.status === 1 ? 3 : 4, nn;
              } finally {
                t.blockedSegment = o, t.keyPath = u;
              }
              t = cr(
                n,
                null,
                f,
                -1,
                v,
                D,
                v.contentState,
                t.abortSet,
                l,
                t.formatContext,
                t.context,
                t.treeContext,
                t.componentStack,
                t.isFallback
              ), Te(t), n.pingedTasks.push(t);
            } else {
              t.blockedBoundary = v, t.hoistableState = v.contentState, t.blockedSegment = D, t.keyPath = l, D.status = 6;
              try {
                if (Qn(n, t, f, -1), D.lastPushedText && D.textEmbedded && D.chunks.push(se), D.status = 1, Le(v, D), v.pendingTasks === 0 && v.status === 0) {
                  v.status = 1;
                  break n;
                }
              } catch (nn) {
                v.status = 4, n.status === 1 ? (D.status = 3, s = n.fatalError) : (D.status = 4, s = nn), g = Me(t.componentStack), S = yn(
                  n,
                  s,
                  g
                ), v.errorDigest = S, De(n, v);
              } finally {
                t.blockedBoundary = E, t.hoistableState = C, t.blockedSegment = o, t.keyPath = u;
              }
              t = cr(
                n,
                null,
                T,
                -1,
                E,
                M,
                v.fallbackState,
                L,
                [l[0], "Suspense Fallback", l[2]],
                t.formatContext,
                t.context,
                t.treeContext,
                t.componentStack,
                !0
              ), Te(t), n.pingedTasks.push(t);
            }
          }
          return;
      }
      if (typeof u == "object" && u !== null)
        switch (u.$$typeof) {
          case G:
            if ("ref" in f)
              for (M in s = {}, f)
                M !== "ref" && (s[M] = f[M]);
            else s = f;
            u = Ml(
              n,
              t,
              l,
              u.render,
              s,
              o
            ), Dl(
              n,
              t,
              l,
              u,
              ln !== 0,
              ne,
              Pn
            );
            return;
          case Fe:
            Ct(n, t, l, u.type, f, o);
            return;
          case ze:
          case P:
            if (g = f.children, s = t.keyPath, f = f.value, S = u._currentValue, u._currentValue = f, o = je, je = u = {
              parent: o,
              depth: o === null ? 0 : o.depth + 1,
              context: u,
              parentValue: S,
              value: f
            }, t.context = u, t.keyPath = l, hn(n, t, g, -1), n = je, n === null)
              throw Error(
                "Tried to pop a Context at the root of the app. This is a bug in React."
              );
            n.context._currentValue = n.parentValue, n = je = n.parent, t.context = n, t.keyPath = s;
            return;
          case N:
            f = f.children, u = f(u._context._currentValue), f = t.keyPath, t.keyPath = l, hn(n, t, u, -1), t.keyPath = f;
            return;
          case ct:
            if (s = u._init, u = s(u._payload), n.status === 1) throw null;
            Ct(n, t, l, u, f, o);
            return;
        }
      throw Error(
        "Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: " + ((u == null ? u : typeof u) + ".")
      );
    }
  }
  function Ll(n, t, l, u, f) {
    var o = t.replay, s = t.blockedBoundary, v = xt(
      n,
      0,
      null,
      t.formatContext,
      !1,
      !1
    );
    v.id = l, v.parentFlushed = !0;
    try {
      t.replay = null, t.blockedSegment = v, Qn(n, t, u, f), v.status = 1, s === null ? n.completedRootSegment = v : (Le(s, v), s.parentFlushed && n.partialBoundaries.push(s));
    } finally {
      t.replay = o, t.blockedSegment = null;
    }
  }
  function hn(n, t, l, u) {
    t.replay !== null && typeof t.replay.slots == "number" ? Ll(n, t, t.replay.slots, l, u) : (t.node = l, t.childIndex = u, l = t.componentStack, Te(t), St(n, t), t.componentStack = l);
  }
  function St(n, t) {
    var l = t.node, u = t.childIndex;
    if (l !== null) {
      if (typeof l == "object") {
        switch (l.$$typeof) {
          case I:
            var f = l.type, o = l.key, s = l.props;
            l = s.ref;
            var v = l !== void 0 ? l : null, g = qr(f), T = o ?? (u === -1 ? 0 : u);
            if (o = [t.keyPath, g, T], t.replay !== null)
              n: {
                var S = t.replay;
                for (u = S.nodes, l = 0; l < u.length; l++) {
                  var E = u[l];
                  if (T === E[1]) {
                    if (E.length === 4) {
                      if (g !== null && g !== E[0])
                        throw Error(
                          "Expected the resume to render <" + E[0] + "> in this slot but instead it rendered <" + g + ">. The tree doesn't match so React will fallback to client rendering."
                        );
                      var C = E[2];
                      g = E[3], T = t.node, t.replay = {
                        nodes: C,
                        slots: g,
                        pendingTasks: 1
                      };
                      try {
                        if (Ct(n, t, o, f, s, v), t.replay.pendingTasks === 1 && 0 < t.replay.nodes.length)
                          throw Error(
                            "Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering."
                          );
                        t.replay.pendingTasks--;
                      } catch (sn) {
                        if (typeof sn == "object" && sn !== null && (sn === _ || typeof sn.then == "function"))
                          throw t.node === T && (t.replay = S), sn;
                        t.replay.pendingTasks--, s = Me(t.componentStack), o = t.blockedBoundary, f = sn, s = yn(n, f, s), rt(
                          n,
                          o,
                          C,
                          g,
                          f,
                          s
                        );
                      }
                      t.replay = S;
                    } else {
                      if (f !== In)
                        throw Error(
                          "Expected the resume to render <Suspense> in this slot but instead it rendered <" + (qr(f) || "Unknown") + ">. The tree doesn't match so React will fallback to client rendering."
                        );
                      e: {
                        S = void 0, f = E[5], v = E[2], g = E[3], T = E[4] === null ? [] : E[4][2], E = E[4] === null ? null : E[4][3];
                        var L = t.keyPath, M = t.replay, D = t.blockedBoundary, nn = t.hoistableState, Nn = s.children;
                        s = s.fallback;
                        var zn = /* @__PURE__ */ new Set(), q = Ee(
                          n,
                          zn
                        );
                        q.parentFlushed = !0, q.rootSegmentID = f, t.blockedBoundary = q, t.hoistableState = q.contentState, t.keyPath = o, t.replay = {
                          nodes: v,
                          slots: g,
                          pendingTasks: 1
                        };
                        try {
                          if (Qn(n, t, Nn, -1), t.replay.pendingTasks === 1 && 0 < t.replay.nodes.length)
                            throw Error(
                              "Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering."
                            );
                          if (t.replay.pendingTasks--, q.pendingTasks === 0 && q.status === 0) {
                            q.status = 1, n.completedBoundaries.push(q);
                            break e;
                          }
                        } catch (sn) {
                          q.status = 4, C = Me(t.componentStack), S = yn(
                            n,
                            sn,
                            C
                          ), q.errorDigest = S, t.replay.pendingTasks--, n.clientRenderedBoundaries.push(
                            q
                          );
                        } finally {
                          t.blockedBoundary = D, t.hoistableState = nn, t.replay = M, t.keyPath = L;
                        }
                        t = fr(
                          n,
                          null,
                          {
                            nodes: T,
                            slots: E,
                            pendingTasks: 0
                          },
                          s,
                          -1,
                          D,
                          q.fallbackState,
                          zn,
                          [o[0], "Suspense Fallback", o[2]],
                          t.formatContext,
                          t.context,
                          t.treeContext,
                          t.componentStack,
                          !0
                        ), Te(t), n.pingedTasks.push(t);
                      }
                    }
                    u.splice(l, 1);
                    break n;
                  }
                }
              }
            else Ct(n, t, o, f, s, v);
            return;
          case cn:
            throw Error(
              "Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render."
            );
          case ct:
            if (C = l._init, l = C(l._payload), n.status === 1) throw null;
            hn(n, t, l, u);
            return;
        }
        if (Sr(l)) {
          tt(n, t, l, u);
          return;
        }
        if (l === null || typeof l != "object" ? C = null : (C = aa && l[aa] || l["@@iterator"], C = typeof C == "function" ? C : null), C && (C = C.call(l))) {
          if (l = C.next(), !l.done) {
            s = [];
            do
              s.push(l.value), l = C.next();
            while (!l.done);
            tt(n, t, s, u);
          }
          return;
        }
        if (typeof l.then == "function")
          return t.thenableState = null, hn(n, t, Il(l), u);
        if (l.$$typeof === P)
          return hn(
            n,
            t,
            l._currentValue,
            u
          );
        throw u = Object.prototype.toString.call(l), Error(
          "Objects are not valid as a React child (found: " + (u === "[object Object]" ? "object with keys {" + Object.keys(l).join(", ") + "}" : u) + "). If you meant to render a collection of children, use an array instead."
        );
      }
      typeof l == "string" ? (u = t.blockedSegment, u !== null && (u.lastPushedText = dl(
        u.chunks,
        l,
        n.renderState,
        u.lastPushedText
      ))) : (typeof l == "number" || typeof l == "bigint") && (u = t.blockedSegment, u !== null && (u.lastPushedText = dl(
        u.chunks,
        "" + l,
        n.renderState,
        u.lastPushedText
      )));
    }
  }
  function tt(n, t, l, u) {
    var f = t.keyPath;
    if (u !== -1 && (t.keyPath = [t.keyPath, "Fragment", u], t.replay !== null)) {
      for (var o = t.replay, s = o.nodes, v = 0; v < s.length; v++) {
        var g = s[v];
        if (g[1] === u) {
          u = g[2], g = g[3], t.replay = { nodes: u, slots: g, pendingTasks: 1 };
          try {
            if (tt(n, t, l, -1), t.replay.pendingTasks === 1 && 0 < t.replay.nodes.length)
              throw Error(
                "Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering."
              );
            t.replay.pendingTasks--;
          } catch (E) {
            if (typeof E == "object" && E !== null && (E === _ || typeof E.then == "function"))
              throw E;
            t.replay.pendingTasks--, l = Me(t.componentStack);
            var T = t.blockedBoundary, S = E;
            l = yn(n, S, l), rt(
              n,
              T,
              u,
              g,
              S,
              l
            );
          }
          t.replay = o, s.splice(v, 1);
          break;
        }
      }
      t.keyPath = f;
      return;
    }
    if (o = t.treeContext, s = l.length, t.replay !== null && (v = t.replay.slots, v !== null && typeof v == "object")) {
      for (u = 0; u < s; u++)
        g = l[u], t.treeContext = y(o, s, u), T = v[u], typeof T == "number" ? (Ll(n, t, T, g, u), delete v[u]) : Qn(n, t, g, u);
      t.treeContext = o, t.keyPath = f;
      return;
    }
    for (v = 0; v < s; v++)
      u = l[v], t.treeContext = y(o, s, v), Qn(n, t, u, v);
    t.treeContext = o, t.keyPath = f;
  }
  function De(n, t) {
    n = n.trackedPostpones, n !== null && (t = t.trackedContentKeyPath, t !== null && (t = n.workingMap.get(t), t !== void 0 && (t.length = 4, t[2] = [], t[3] = null)));
  }
  function or(n, t, l) {
    return fr(
      n,
      l,
      t.replay,
      t.node,
      t.childIndex,
      t.blockedBoundary,
      t.hoistableState,
      t.abortSet,
      t.keyPath,
      t.formatContext,
      t.context,
      t.treeContext,
      t.componentStack,
      t.isFallback
    );
  }
  function hr(n, t, l) {
    var u = t.blockedSegment, f = xt(
      n,
      u.chunks.length,
      null,
      t.formatContext,
      u.lastPushedText,
      !0
    );
    return u.children.push(f), u.lastPushedText = !1, cr(
      n,
      l,
      t.node,
      t.childIndex,
      t.blockedBoundary,
      f,
      t.hoistableState,
      t.abortSet,
      t.keyPath,
      t.formatContext,
      t.context,
      t.treeContext,
      t.componentStack,
      t.isFallback
    );
  }
  function Qn(n, t, l, u) {
    var f = t.formatContext, o = t.context, s = t.keyPath, v = t.treeContext, g = t.componentStack, T = t.blockedSegment;
    if (T === null)
      try {
        return hn(n, t, l, u);
      } catch (C) {
        if ($e(), l = C === _ ? K() : C, typeof l == "object" && l !== null) {
          if (typeof l.then == "function") {
            u = Ie(), n = or(n, t, u).ping, l.then(n, n), t.formatContext = f, t.context = o, t.keyPath = s, t.treeContext = v, t.componentStack = g, c(o);
            return;
          }
          if (l.message === "Maximum call stack size exceeded") {
            l = Ie(), l = or(n, t, l), n.pingedTasks.push(l), t.formatContext = f, t.context = o, t.keyPath = s, t.treeContext = v, t.componentStack = g, c(o);
            return;
          }
        }
      }
    else {
      var S = T.children.length, E = T.chunks.length;
      try {
        return hn(n, t, l, u);
      } catch (C) {
        if ($e(), T.children.length = S, T.chunks.length = E, l = C === _ ? K() : C, typeof l == "object" && l !== null) {
          if (typeof l.then == "function") {
            u = Ie(), n = hr(n, t, u).ping, l.then(n, n), t.formatContext = f, t.context = o, t.keyPath = s, t.treeContext = v, t.componentStack = g, c(o);
            return;
          }
          if (l.message === "Maximum call stack size exceeded") {
            l = Ie(), l = hr(n, t, l), n.pingedTasks.push(l), t.formatContext = f, t.context = o, t.keyPath = s, t.treeContext = v, t.componentStack = g, c(o);
            return;
          }
        }
      }
    }
    throw t.formatContext = f, t.context = o, t.keyPath = s, t.treeContext = v, c(o), l;
  }
  function ma(n) {
    var t = n.blockedBoundary;
    n = n.blockedSegment, n !== null && (n.status = 3, dr(this, t, n));
  }
  function rt(n, t, l, u, f, o) {
    for (var s = 0; s < l.length; s++) {
      var v = l[s];
      if (v.length === 4)
        rt(
          n,
          t,
          v[2],
          v[3],
          f,
          o
        );
      else {
        v = v[5];
        var g = n, T = o, S = Ee(g, /* @__PURE__ */ new Set());
        S.parentFlushed = !0, S.rootSegmentID = v, S.status = 4, S.errorDigest = T, S.parentFlushed && g.clientRenderedBoundaries.push(S);
      }
    }
    if (l.length = 0, u !== null) {
      if (t === null)
        throw Error(
          "We should not have any resumable nodes in the shell. This is a bug in React."
        );
      if (t.status !== 4 && (t.status = 4, t.errorDigest = o, t.parentFlushed && n.clientRenderedBoundaries.push(t)), typeof u == "object") for (var E in u) delete u[E];
    }
  }
  function Bl(n, t, l) {
    var u = n.blockedBoundary, f = n.blockedSegment;
    if (f !== null) {
      if (f.status === 6) return;
      f.status = 3;
    }
    if (u === null) {
      if (u = {}, t.status !== 2 && t.status !== 3) {
        if (n = n.replay, n === null) {
          yn(t, l, u), we(t, l);
          return;
        }
        n.pendingTasks--, n.pendingTasks === 0 && 0 < n.nodes.length && (u = yn(t, l, u), rt(
          t,
          null,
          n.nodes,
          n.slots,
          l,
          u
        )), t.pendingRootTasks--, t.pendingRootTasks === 0 && Ft(t);
      }
    } else
      u.pendingTasks--, n = Me(n.componentStack), u.status !== 4 && (u.status = 4, n = yn(t, l, n), u.status = 4, u.errorDigest = n, De(t, u), u.parentFlushed && t.clientRenderedBoundaries.push(u)), u.fallbackAbortableTasks.forEach(function(o) {
        return Bl(o, t, l);
      }), u.fallbackAbortableTasks.clear();
    t.allPendingTasks--, t.allPendingTasks === 0 && sr(t);
  }
  function Pt(n, t) {
    try {
      var l = n.renderState, u = l.onHeaders;
      if (u) {
        var f = l.headers;
        if (f) {
          l.headers = null;
          var o = f.preconnects;
          if (f.fontPreloads && (o && (o += ", "), o += f.fontPreloads), f.highImagePreloads && (o && (o += ", "), o += f.highImagePreloads), !t) {
            var s = l.styles.values(), v = s.next();
            n: for (; 0 < f.remainingCapacity && !v.done; v = s.next())
              for (var g = v.value.sheets.values(), T = g.next(); 0 < f.remainingCapacity && !T.done; T = g.next()) {
                var S = T.value, E = S.props, C = E.href, L = S.props, M = Ke(L.href, "style", {
                  crossOrigin: L.crossOrigin,
                  integrity: L.integrity,
                  nonce: L.nonce,
                  type: L.type,
                  fetchPriority: L.fetchPriority,
                  referrerPolicy: L.referrerPolicy,
                  media: L.media
                });
                if (0 <= (f.remainingCapacity -= M.length + 2))
                  l.resets.style[C] = Ln, o && (o += ", "), o += M, l.resets.style[C] = typeof E.crossOrigin == "string" || typeof E.integrity == "string" ? [E.crossOrigin, E.integrity] : Ln;
                else break n;
              }
          }
          u(o ? { Link: o } : {});
        }
      }
    } catch (D) {
      yn(n, D, {});
    }
  }
  function Ft(n) {
    n.trackedPostpones === null && Pt(n, !0), n.onShellError = ce, n = n.onShellReady, n();
  }
  function sr(n) {
    Pt(
      n,
      n.trackedPostpones === null ? !0 : n.completedRootSegment === null || n.completedRootSegment.status !== 5
    ), n = n.onAllReady, n();
  }
  function Le(n, t) {
    if (t.chunks.length === 0 && t.children.length === 1 && t.children[0].boundary === null && t.children[0].id === -1) {
      var l = t.children[0];
      l.id = t.id, l.parentFlushed = !0, l.status === 1 && Le(n, l);
    } else n.completedSegments.push(t);
  }
  function dr(n, t, l) {
    if (t === null) {
      if (l !== null && l.parentFlushed) {
        if (n.completedRootSegment !== null)
          throw Error(
            "There can only be one root segment. This is a bug in React."
          );
        n.completedRootSegment = l;
      }
      n.pendingRootTasks--, n.pendingRootTasks === 0 && Ft(n);
    } else
      t.pendingTasks--, t.status !== 4 && (t.pendingTasks === 0 ? (t.status === 0 && (t.status = 1), l !== null && l.parentFlushed && l.status === 1 && Le(t, l), t.parentFlushed && n.completedBoundaries.push(t), t.status === 1 && (t.fallbackAbortableTasks.forEach(ma, n), t.fallbackAbortableTasks.clear())) : l !== null && l.parentFlushed && l.status === 1 && (Le(t, l), t.completedSegments.length === 1 && t.parentFlushed && n.partialBoundaries.push(t)));
    n.allPendingTasks--, n.allPendingTasks === 0 && sr(n);
  }
  function lt(n) {
    if (n.status !== 3 && n.status !== 2) {
      var t = je, l = We.H;
      We.H = er;
      var u = We.A;
      We.A = rr;
      var f = jn;
      jn = n;
      var o = tr;
      tr = n.resumableState;
      try {
        var s = n.pingedTasks, v;
        for (v = 0; v < s.length; v++) {
          var g = s[v], T = n, S = g.blockedSegment;
          if (S === null) {
            var E = T;
            if (g.replay.pendingTasks !== 0) {
              c(g.context);
              try {
                if (typeof g.replay.slots == "number" ? Ll(
                  E,
                  g,
                  g.replay.slots,
                  g.node,
                  g.childIndex
                ) : St(E, g), g.replay.pendingTasks === 1 && 0 < g.replay.nodes.length)
                  throw Error(
                    "Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering."
                  );
                g.replay.pendingTasks--, g.abortSet.delete(g), dr(E, g.blockedBoundary, null);
              } catch (en) {
                $e();
                var C = en === _ ? K() : en;
                if (typeof C == "object" && C !== null && typeof C.then == "function") {
                  var L = g.ping;
                  C.then(L, L), g.thenableState = Ie();
                } else {
                  g.replay.pendingTasks--, g.abortSet.delete(g);
                  var M = Me(g.componentStack);
                  T = void 0;
                  var D = E, nn = g.blockedBoundary, Nn = E.status === 1 ? E.fatalError : C, zn = g.replay.nodes, q = g.replay.slots;
                  T = yn(
                    D,
                    Nn,
                    M
                  ), rt(
                    D,
                    nn,
                    zn,
                    q,
                    Nn,
                    T
                  ), E.pendingRootTasks--, E.pendingRootTasks === 0 && Ft(E), E.allPendingTasks--, E.allPendingTasks === 0 && sr(E);
                }
              } finally {
              }
            }
          } else if (E = void 0, D = S, D.status === 0) {
            D.status = 6, c(g.context);
            var sn = D.children.length, Hn = D.chunks.length;
            try {
              St(T, g), D.lastPushedText && D.textEmbedded && D.chunks.push(se), g.abortSet.delete(g), D.status = 1, dr(T, g.blockedBoundary, D);
            } catch (en) {
              $e(), D.children.length = sn, D.chunks.length = Hn;
              var An = en === _ ? K() : T.status === 1 ? T.fatalError : en;
              if (typeof An == "object" && An !== null && typeof An.then == "function") {
                D.status = 0, g.thenableState = Ie();
                var On = g.ping;
                An.then(On, On);
              } else {
                var Vn = Me(g.componentStack);
                g.abortSet.delete(g), D.status = 4;
                var an = g.blockedBoundary;
                E = yn(
                  T,
                  An,
                  Vn
                ), an === null ? we(T, An) : (an.pendingTasks--, an.status !== 4 && (an.status = 4, an.errorDigest = E, De(T, an), an.parentFlushed && T.clientRenderedBoundaries.push(
                  an
                ))), T.allPendingTasks--, T.allPendingTasks === 0 && sr(T);
              }
            } finally {
            }
          }
        }
        s.splice(0, v), n.destination !== null && Be(n, n.destination);
      } catch (en) {
        yn(n, en, {}), we(n, en);
      } finally {
        tr = o, We.H = l, We.A = u, l === er && c(t), jn = f;
      }
    }
  }
  function gr(n, t, l, u) {
    switch (l.parentFlushed = !0, l.status) {
      case 0:
        l.id = n.nextSegmentId++;
      case 5:
        return u = l.id, l.lastPushedText = !1, l.textEmbedded = !1, n = n.renderState, w(t, Dr), w(t, n.placeholderPrefix), n = A(u.toString(16)), w(t, n), J(t, Fa);
      case 1:
        l.status = 2;
        var f = !0, o = l.chunks, s = 0;
        l = l.children;
        for (var v = 0; v < l.length; v++) {
          for (f = l[v]; s < f.index; s++)
            w(t, o[s]);
          f = at(n, t, f, u);
        }
        for (; s < o.length - 1; s++)
          w(t, o[s]);
        return s < o.length && (f = J(t, o[s])), f;
      default:
        throw Error(
          "Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React."
        );
    }
  }
  function at(n, t, l, u) {
    var f = l.boundary;
    if (f === null)
      return gr(n, t, l, u);
    if (f.parentFlushed = !0, f.status === 4)
      f = f.errorDigest, J(t, Oa), w(t, Ia), f && (w(t, ka), w(t, A(H(f))), w(
        t,
        Oe
      )), J(t, Ei), gr(n, t, l, u);
    else if (f.status !== 1)
      f.status === 0 && (f.rootSegmentID = n.nextSegmentId++), 0 < f.completedSegments.length && n.partialBoundaries.push(f), Br(
        t,
        n.renderState,
        f.rootSegmentID
      ), u && (f = f.fallbackState, f.styles.forEach(pt, u), f.stylesheets.forEach(
        mr,
        u
      )), gr(n, t, l, u);
    else if (f.byteSize > n.progressiveChunkSize)
      f.rootSegmentID = n.nextSegmentId++, n.completedBoundaries.push(f), Br(
        t,
        n.renderState,
        f.rootSegmentID
      ), gr(n, t, l, u);
    else {
      if (u && (l = f.contentState, l.styles.forEach(pt, u), l.stylesheets.forEach(mr, u)), J(t, Xe), l = f.completedSegments, l.length !== 1)
        throw Error(
          "A previously unvisited boundary must have exactly one root segment. This is a bug in React."
        );
      at(n, t, l[0], u);
    }
    return J(t, _a);
  }
  function xe(n, t, l, u) {
    return Ut(
      t,
      n.renderState,
      l.parentFormatContext,
      l.id
    ), at(n, t, l, u), Gr(t, l.parentFormatContext);
  }
  function it(n, t, l) {
    for (var u = l.completedSegments, f = 0; f < u.length; f++)
      Nl(
        n,
        t,
        l,
        u[f]
      );
    u.length = 0, Wa(
      t,
      l.contentState,
      n.renderState
    ), u = n.resumableState, n = n.renderState, f = l.rootSegmentID, l = l.contentState;
    var o = n.stylesToHoist;
    return n.stylesToHoist = !1, w(t, n.startInlineScript), o ? (u.instructions & 2) === 0 ? (u.instructions |= 10, w(t, gt)) : (u.instructions & 8) === 0 ? (u.instructions |= 8, w(t, Yt)) : w(t, Da) : (u.instructions & 2) === 0 ? (u.instructions |= 2, w(t, Ma)) : w(t, Tl), u = A(f.toString(16)), w(t, n.boundaryPrefix), w(t, u), w(t, La), w(t, n.segmentPrefix), w(t, u), o ? (w(t, Ba), Pl(t, l)) : w(t, Fi), l = J(t, Ai), Pa(t, n) && l;
  }
  function Nl(n, t, l, u) {
    if (u.status === 2) return !0;
    var f = l.contentState, o = u.id;
    if (o === -1) {
      if ((u.id = l.rootSegmentID) === -1)
        throw Error(
          "A root segment ID must have been assigned by now. This is a bug in React."
        );
      return xe(n, t, u, f);
    }
    return o === l.rootSegmentID ? xe(n, t, u, f) : (xe(n, t, u, f), l = n.resumableState, n = n.renderState, w(t, n.startInlineScript), (l.instructions & 1) === 0 ? (l.instructions |= 1, w(t, dt)) : w(t, _e), w(t, n.segmentPrefix), o = A(o.toString(16)), w(t, o), w(t, Xr), w(t, n.placeholderPrefix), w(t, o), t = J(t, ve), t);
  }
  function Be(n, t) {
    Yn = new Uint8Array(2048), Mn = 0;
    try {
      if (!(0 < n.pendingRootTasks)) {
        var l, u = n.completedRootSegment;
        if (u !== null) {
          if (u.status === 5) return;
          var f = n.renderState, o = f.htmlChunks, s = f.headChunks, v;
          if (o) {
            for (v = 0; v < o.length; v++)
              w(t, o[v]);
            if (s)
              for (v = 0; v < s.length; v++)
                w(t, s[v]);
            else
              w(t, on("head")), w(t, Sn);
          } else if (s)
            for (v = 0; v < s.length; v++)
              w(t, s[v]);
          var g = f.charsetChunks;
          for (v = 0; v < g.length; v++)
            w(t, g[v]);
          g.length = 0, f.preconnects.forEach(m, t), f.preconnects.clear();
          var T = f.viewportChunks;
          for (v = 0; v < T.length; v++)
            w(t, T[v]);
          T.length = 0, f.fontPreloads.forEach(m, t), f.fontPreloads.clear(), f.highImagePreloads.forEach(m, t), f.highImagePreloads.clear(), f.styles.forEach(Zn, t);
          var S = f.importMapChunks;
          for (v = 0; v < S.length; v++)
            w(t, S[v]);
          S.length = 0, f.bootstrapScripts.forEach(m, t), f.scripts.forEach(m, t), f.scripts.clear(), f.bulkPreloads.forEach(m, t), f.bulkPreloads.clear();
          var E = f.hoistableChunks;
          for (v = 0; v < E.length; v++)
            w(t, E[v]);
          E.length = 0, o && s === null && w(t, Ge("head")), at(n, t, u, null), n.completedRootSegment = null, Pa(t, n.renderState);
        }
        var C = n.renderState;
        u = 0;
        var L = C.viewportChunks;
        for (u = 0; u < L.length; u++)
          w(t, L[u]);
        L.length = 0, C.preconnects.forEach(m, t), C.preconnects.clear(), C.fontPreloads.forEach(m, t), C.fontPreloads.clear(), C.highImagePreloads.forEach(
          m,
          t
        ), C.highImagePreloads.clear(), C.styles.forEach(Ya, t), C.scripts.forEach(m, t), C.scripts.clear(), C.bulkPreloads.forEach(m, t), C.bulkPreloads.clear();
        var M = C.hoistableChunks;
        for (u = 0; u < M.length; u++)
          w(t, M[u]);
        M.length = 0;
        var D = n.clientRenderedBoundaries;
        for (l = 0; l < D.length; l++) {
          var nn = D[l];
          C = t;
          var Nn = n.resumableState, zn = n.renderState, q = nn.rootSegmentID, sn = nn.errorDigest;
          w(
            C,
            zn.startInlineScript
          ), (Nn.instructions & 4) === 0 ? (Nn.instructions |= 4, w(C, Oi)) : w(C, Na), w(C, zn.boundaryPrefix), w(C, A(q.toString(16))), w(C, za), sn && (w(
            C,
            _i
          ), w(
            C,
            A(
              Jr(sn || "")
            )
          ));
          var Hn = J(
            C,
            Gt
          );
          if (!Hn) {
            n.destination = null, l++, D.splice(0, l);
            return;
          }
        }
        D.splice(0, l);
        var An = n.completedBoundaries;
        for (l = 0; l < An.length; l++)
          if (!it(n, t, An[l])) {
            n.destination = null, l++, An.splice(0, l);
            return;
          }
        An.splice(0, l), cl(t), Yn = new Uint8Array(2048), Mn = 0;
        var On = n.partialBoundaries;
        for (l = 0; l < On.length; l++) {
          var Vn = On[l];
          n: {
            D = n, nn = t;
            var an = Vn.completedSegments;
            for (Hn = 0; Hn < an.length; Hn++)
              if (!Nl(
                D,
                nn,
                Vn,
                an[Hn]
              )) {
                Hn++, an.splice(0, Hn);
                var en = !1;
                break n;
              }
            an.splice(0, Hn), en = Wa(
              nn,
              Vn.contentState,
              D.renderState
            );
          }
          if (!en) {
            n.destination = null, l++, On.splice(0, l);
            return;
          }
        }
        On.splice(0, l);
        var En = n.completedBoundaries;
        for (l = 0; l < En.length; l++)
          if (!it(n, t, En[l])) {
            n.destination = null, l++, En.splice(0, l);
            return;
          }
        En.splice(0, l);
      }
    } finally {
      n.allPendingTasks === 0 && n.pingedTasks.length === 0 && n.clientRenderedBoundaries.length === 0 && n.completedBoundaries.length === 0 ? (n.flushScheduled = !1, l = n.resumableState, l.hasBody && w(t, Ge("body")), l.hasHtml && w(t, Ge("html")), cl(t), n.status = 3, t.close(), n.destination = null) : cl(t);
    }
  }
  function el(n) {
    n.flushScheduled = n.destination !== null, n.trackedPostpones !== null ? j(Et ? function() {
      return qe.run(n, lt, n);
    } : function() {
      return lt(n);
    }) : (setTimeout(Et ? function() {
      return qe.run(n, lt, n);
    } : function() {
      return lt(n);
    }, 0), setTimeout(Et ? function() {
      return qe.run(
        n,
        At,
        n
      );
    } : function() {
      return At(n);
    }, 0));
  }
  function At(n) {
    Pt(n, n.pendingRootTasks === 0);
  }
  function Ne(n) {
    n.flushScheduled === !1 && n.pingedTasks.length === 0 && n.destination !== null && (n.flushScheduled = !0, setTimeout(function() {
      var t = n.destination;
      t ? Be(n, t) : n.flushScheduled = !1;
    }, 0));
  }
  function Ce(n, t) {
    n.status === 0 && (n.status = 1);
    try {
      var l = n.abortableTasks;
      if (0 < l.size) {
        var u = t === void 0 ? Error("The render was aborted by the server without a reason.") : typeof t == "object" && t !== null && typeof t.then == "function" ? Error("The render was aborted by the server with a promise.") : t;
        n.fatalError = u, l.forEach(function(f) {
          return Bl(f, n, u);
        }), l.clear();
      }
      n.destination !== null && Be(n, n.destination);
    } catch (f) {
      yn(n, f, {}), we(n, f);
    }
  }
  var zl = Tn.version;
  if (zl !== "19.0.0-rc-f2df5694-20240916")
    throw Error(
      `Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
  - react:      ` + (zl + `
  - react-dom:  19.0.0-rc-f2df5694-20240916
Learn more: https://react.dev/warnings/version-mismatch`)
    );
  return ui.renderToReadableStream = function(n, t) {
    return new Promise(function(l, u) {
      var f, o, s = new Promise(function(L, M) {
        o = L, f = M;
      }), v = t ? t.onHeaders : void 0, g;
      v && (g = function(L) {
        v(new Headers(L));
      });
      var T = Dt(
        t ? t.identifierPrefix : void 0,
        t ? t.unstable_externalRuntimeSrc : void 0,
        t ? t.bootstrapScriptContent : void 0,
        t ? t.bootstrapScripts : void 0,
        t ? t.bootstrapModules : void 0
      ), S = ur(
        n,
        T,
        _r(
          T,
          t ? t.nonce : void 0,
          t ? t.unstable_externalRuntimeSrc : void 0,
          t ? t.importMap : void 0,
          g,
          t ? t.maxHeadersLength : void 0
        ),
        va(t ? t.namespaceURI : void 0),
        t ? t.progressiveChunkSize : void 0,
        t ? t.onError : void 0,
        o,
        function() {
          var L = new ReadableStream(
            {
              type: "bytes",
              pull: function(M) {
                if (S.status === 2)
                  S.status = 3, ca(M, S.fatalError);
                else if (S.status !== 3 && S.destination === null) {
                  S.destination = M;
                  try {
                    Be(S, M);
                  } catch (D) {
                    yn(S, D, {}), we(S, D);
                  }
                }
              },
              cancel: function(M) {
                S.destination = null, Ce(S, M);
              }
            },
            { highWaterMark: 0 }
          );
          L.allReady = s, l(L);
        },
        function(L) {
          s.catch(function() {
          }), u(L);
        },
        f,
        t ? t.onPostpone : void 0,
        t ? t.formState : void 0
      );
      if (t && t.signal) {
        var E = t.signal;
        if (E.aborted) Ce(S, E.reason);
        else {
          var C = function() {
            Ce(S, E.reason), E.removeEventListener("abort", C);
          };
          E.addEventListener("abort", C);
        }
      }
      el(S);
    });
  }, ui.version = "19.0.0-rc-f2df5694-20240916", ui;
}
var la = {};
/**
 * @license React
 * react-dom-server-legacy.browser.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
var Nu;
function Gu() {
  if (Nu) return la;
  Nu = 1;
  var Tn = qi, le = Hu();
  function I(e) {
    var r = "https://react.dev/errors/" + e;
    if (1 < arguments.length) {
      r += "?args[]=" + encodeURIComponent(arguments[1]);
      for (var a = 2; a < arguments.length; a++)
        r += "&args[]=" + encodeURIComponent(arguments[a]);
    }
    return "Minified React error #" + e + "; visit " + r + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
  }
  var cn = Symbol.for("react.transitional.element"), It = Symbol.for("react.portal"), kt = Symbol.for("react.fragment"), fe = Symbol.for("react.strict_mode"), ze = Symbol.for("react.profiler"), N = Symbol.for("react.provider"), P = Symbol.for("react.consumer"), G = Symbol.for("react.context"), In = Symbol.for("react.forward_ref"), oe = Symbol.for("react.suspense"), Fe = Symbol.for("react.suspense_list"), ct = Symbol.for("react.memo"), Cr = Symbol.for("react.lazy"), ci = Symbol.for("react.scope"), fi = Symbol.for("react.debug_trace_mode"), oi = Symbol.for("react.offscreen"), hi = Symbol.for("react.legacy_hidden"), aa = Symbol.for("react.memo_cache_sentinel"), Sr = Symbol.iterator, Pr = Array.isArray;
  function ia(e, r) {
    var a = e.length & 3, i = e.length - a, c = r;
    for (r = 0; r < i; ) {
      var h = e.charCodeAt(r) & 255 | (e.charCodeAt(++r) & 255) << 8 | (e.charCodeAt(++r) & 255) << 16 | (e.charCodeAt(++r) & 255) << 24;
      ++r, h = 3432918353 * (h & 65535) + ((3432918353 * (h >>> 16) & 65535) << 16) & 4294967295, h = h << 15 | h >>> 17, h = 461845907 * (h & 65535) + ((461845907 * (h >>> 16) & 65535) << 16) & 4294967295, c ^= h, c = c << 13 | c >>> 19, c = 5 * (c & 65535) + ((5 * (c >>> 16) & 65535) << 16) & 4294967295, c = (c & 65535) + 27492 + (((c >>> 16) + 58964 & 65535) << 16);
    }
    switch (h = 0, a) {
      case 3:
        h ^= (e.charCodeAt(r + 2) & 255) << 16;
      case 2:
        h ^= (e.charCodeAt(r + 1) & 255) << 8;
      case 1:
        h ^= e.charCodeAt(r) & 255, h = 3432918353 * (h & 65535) + ((3432918353 * (h >>> 16) & 65535) << 16) & 4294967295, h = h << 15 | h >>> 17, c ^= 461845907 * (h & 65535) + ((461845907 * (h >>> 16) & 65535) << 16) & 4294967295;
    }
    return c ^= e.length, c ^= c >>> 16, c = 2246822507 * (c & 65535) + ((2246822507 * (c >>> 16) & 65535) << 16) & 4294967295, c ^= c >>> 13, c = 3266489909 * (c & 65535) + ((3266489909 * (c >>> 16) & 65535) << 16) & 4294967295, (c ^ c >>> 16) >>> 0;
  }
  var kn = Object.assign, j = Object.prototype.hasOwnProperty, Yn = 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]*$"
  ), Mn = {}, w = {};
  function J(e) {
    return j.call(w, e) ? !0 : j.call(Mn, e) ? !1 : Yn.test(e) ? w[e] = !0 : (Mn[e] = !0, !1);
  }
  var cl = 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(
      " "
    )
  ), ua = /* @__PURE__ */ new Map([
    ["acceptCharset", "accept-charset"],
    ["htmlFor", "for"],
    ["httpEquiv", "http-equiv"],
    ["crossOrigin", "crossorigin"],
    ["accentHeight", "accent-height"],
    ["alignmentBaseline", "alignment-baseline"],
    ["arabicForm", "arabic-form"],
    ["baselineShift", "baseline-shift"],
    ["capHeight", "cap-height"],
    ["clipPath", "clip-path"],
    ["clipRule", "clip-rule"],
    ["colorInterpolation", "color-interpolation"],
    ["colorInterpolationFilters", "color-interpolation-filters"],
    ["colorProfile", "color-profile"],
    ["colorRendering", "color-rendering"],
    ["dominantBaseline", "dominant-baseline"],
    ["enableBackground", "enable-background"],
    ["fillOpacity", "fill-opacity"],
    ["fillRule", "fill-rule"],
    ["floodColor", "flood-color"],
    ["floodOpacity", "flood-opacity"],
    ["fontFamily", "font-family"],
    ["fontSize", "font-size"],
    ["fontSizeAdjust", "font-size-adjust"],
    ["fontStretch", "font-stretch"],
    ["fontStyle", "font-style"],
    ["fontVariant", "font-variant"],
    ["fontWeight", "font-weight"],
    ["glyphName", "glyph-name"],
    ["glyphOrientationHorizontal", "glyph-orientation-horizontal"],
    ["glyphOrientationVertical", "glyph-orientation-vertical"],
    ["horizAdvX", "horiz-adv-x"],
    ["horizOriginX", "horiz-origin-x"],
    ["imageRendering", "image-rendering"],
    ["letterSpacing", "letter-spacing"],
    ["lightingColor", "lighting-color"],
    ["markerEnd", "marker-end"],
    ["markerMid", "marker-mid"],
    ["markerStart", "marker-start"],
    ["overlinePosition", "overline-position"],
    ["overlineThickness", "overline-thickness"],
    ["paintOrder", "paint-order"],
    ["panose-1", "panose-1"],
    ["pointerEvents", "pointer-events"],
    ["renderingIntent", "rendering-intent"],
    ["shapeRendering", "shape-rendering"],
    ["stopColor", "stop-color"],
    ["stopOpacity", "stop-opacity"],
    ["strikethroughPosition", "strikethrough-position"],
    ["strikethroughThickness", "strikethrough-thickness"],
    ["strokeDasharray", "stroke-dasharray"],
    ["strokeDashoffset", "stroke-dashoffset"],
    ["strokeLinecap", "stroke-linecap"],
    ["strokeLinejoin", "stroke-linejoin"],
    ["strokeMiterlimit", "stroke-miterlimit"],
    ["strokeOpacity", "stroke-opacity"],
    ["strokeWidth", "stroke-width"],
    ["textAnchor", "text-anchor"],
    ["textDecoration", "text-decoration"],
    ["textRendering", "text-rendering"],
    ["transformOrigin", "transform-origin"],
    ["underlinePosition", "underline-position"],
    ["underlineThickness", "underline-thickness"],
    ["unicodeBidi", "unicode-bidi"],
    ["unicodeRange", "unicode-range"],
    ["unitsPerEm", "units-per-em"],
    ["vAlphabetic", "v-alphabetic"],
    ["vHanging", "v-hanging"],
    ["vIdeographic", "v-ideographic"],
    ["vMathematical", "v-mathematical"],
    ["vectorEffect", "vector-effect"],
    ["vertAdvY", "vert-adv-y"],
    ["vertOriginX", "vert-origin-x"],
    ["vertOriginY", "vert-origin-y"],
    ["wordSpacing", "word-spacing"],
    ["writingMode", "writing-mode"],
    ["xmlnsXlink", "xmlns:xlink"],
    ["xHeight", "x-height"]
  ]), A = /["'&<>]/;
  function R(e) {
    if (typeof e == "boolean" || typeof e == "number" || typeof e == "bigint")
      return "" + e;
    e = "" + e;
    var r = A.exec(e);
    if (r) {
      var a = "", i, c = 0;
      for (i = r.index; i < e.length; i++) {
        switch (e.charCodeAt(i)) {
          case 34:
            r = "&quot;";
            break;
          case 38:
            r = "&amp;";
            break;
          case 39:
            r = "&#x27;";
            break;
          case 60:
            r = "&lt;";
            break;
          case 62:
            r = "&gt;";
            break;
          default:
            continue;
        }
        c !== i && (a += e.slice(c, i)), c = i + 1, a += r;
      }
      e = c !== i ? a + e.slice(c, i) : a;
    }
    return e;
  }
  var ca = /([A-Z])/g, Dn = /^ms-/, rn = /^[\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 Mt(e) {
    return rn.test("" + e) ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')" : e;
  }
  var He = Tn.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, fl = le.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, ol = {
    pending: !1,
    data: null,
    method: null,
    action: null
  }, he = fl.d;
  fl.d = {
    f: he.f,
    r: he.r,
    D: vi,
    C: wa,
    L: yi,
    m: bi,
    X: xa,
    S: Rn,
    M: Ca
  };
  var Kn = [], fa = /(<\/|<)(s)(cript)/gi;
  function H(e, r, a, i) {
    return "" + r + (a === "s" ? "\\u0073" : "\\u0053") + i;
  }
  function si(e, r, a, i, c) {
    return {
      idPrefix: e === void 0 ? "" : e,
      nextFormID: 0,
      streamingFormat: 0,
      bootstrapScriptContent: a,
      bootstrapScripts: i,
      bootstrapModules: c,
      instructions: 0,
      hasBody: !1,
      hasHtml: !1,
      unknownResources: {},
      dnsResources: {},
      connectResources: { default: {}, anonymous: {}, credentials: {} },
      imageResources: {},
      styleResources: {},
      scriptResources: {},
      moduleUnknownResources: {},
      moduleScriptResources: {}
    };
  }
  function wn(e, r, a) {
    return {
      insertionMode: e,
      selectedValue: r,
      tagScope: a
    };
  }
  function oa(e, r, a) {
    switch (r) {
      case "noscript":
        return wn(2, null, e.tagScope | 1);
      case "select":
        return wn(
          2,
          a.value != null ? a.value : a.defaultValue,
          e.tagScope
        );
      case "svg":
        return wn(3, null, e.tagScope);
      case "picture":
        return wn(2, null, e.tagScope | 2);
      case "math":
        return wn(4, null, e.tagScope);
      case "foreignObject":
        return wn(2, null, e.tagScope);
      case "table":
        return wn(5, null, e.tagScope);
      case "thead":
      case "tbody":
      case "tfoot":
        return wn(6, null, e.tagScope);
      case "colgroup":
        return wn(8, null, e.tagScope);
      case "tr":
        return wn(7, null, e.tagScope);
    }
    return 5 <= e.insertionMode ? wn(2, null, e.tagScope) : e.insertionMode === 0 ? wn(r === "html" ? 1 : 2, null, e.tagScope) : e.insertionMode === 1 ? wn(2, null, e.tagScope) : e;
  }
  var ft = /* @__PURE__ */ new Map();
  function We(e, r) {
    if (typeof r != "object") throw Error(I(62));
    var a = !0, i;
    for (i in r)
      if (j.call(r, i)) {
        var c = r[i];
        if (c != null && typeof c != "boolean" && c !== "") {
          if (i.indexOf("--") === 0) {
            var h = R(i);
            c = R(("" + c).trim());
          } else
            h = ft.get(i), h === void 0 && (h = R(
              i.replace(ca, "-$1").toLowerCase().replace(Dn, "-ms-")
            ), ft.set(i, h)), c = typeof c == "number" ? c === 0 || cl.has(i) ? "" + c : c + "px" : R(("" + c).trim());
          a ? (a = !1, e.push(' style="', h, ":", c)) : e.push(";", h, ":", c);
        }
      }
    a || e.push('"');
  }
  function Fr(e, r, a) {
    a && typeof a != "function" && typeof a != "symbol" && e.push(" ", r, '=""');
  }
  function bn(e, r, a) {
    typeof a != "function" && typeof a != "symbol" && typeof a != "boolean" && e.push(" ", r, '="', R(a), '"');
  }
  var ae = R(
    "javascript:throw new Error('React form unexpectedly submitted.')"
  );
  function Ln(e, r) {
    this.push('<input type="hidden"'), ha(e), bn(this, "name", r), bn(this, "value", e), this.push("/>");
  }
  function ha(e) {
    if (typeof e != "string") throw Error(I(480));
  }
  function hl(e, r) {
    if (typeof r.$$FORM_ACTION == "function") {
      var a = e.nextFormID++;
      e = e.idPrefix + a;
      try {
        var i = r.$$FORM_ACTION(e);
        if (i) {
          var c = i.data;
          c != null && c.forEach(ha);
        }
        return i;
      } catch (h) {
        if (typeof h == "object" && h !== null && typeof h.then == "function")
          throw h;
      }
    }
    return null;
  }
  function sa(e, r, a, i, c, h, d, y) {
    var b = null;
    if (typeof i == "function") {
      var x = hl(r, i);
      x !== null ? (y = x.name, i = x.action || "", c = x.encType, h = x.method, d = x.target, b = x.data) : (e.push(" ", "formAction", '="', ae, '"'), d = h = c = i = y = null, sl(r, a));
    }
    return y != null && Q(e, "name", y), i != null && Q(e, "formAction", i), c != null && Q(e, "formEncType", c), h != null && Q(e, "formMethod", h), d != null && Q(e, "formTarget", d), b;
  }
  function Q(e, r, a) {
    switch (r) {
      case "className":
        bn(e, "class", a);
        break;
      case "tabIndex":
        bn(e, "tabindex", a);
        break;
      case "dir":
      case "role":
      case "viewBox":
      case "width":
      case "height":
        bn(e, r, a);
        break;
      case "style":
        We(e, a);
        break;
      case "src":
      case "href":
        if (a === "") break;
      case "action":
      case "formAction":
        if (a == null || typeof a == "function" || typeof a == "symbol" || typeof a == "boolean")
          break;
        a = Mt("" + a), e.push(" ", r, '="', R(a), '"');
        break;
      case "defaultValue":
      case "defaultChecked":
      case "innerHTML":
      case "suppressContentEditableWarning":
      case "suppressHydrationWarning":
      case "ref":
        break;
      case "autoFocus":
      case "multiple":
      case "muted":
        Fr(e, r.toLowerCase(), a);
        break;
      case "xlinkHref":
        if (typeof a == "function" || typeof a == "symbol" || typeof a == "boolean")
          break;
        a = Mt("" + a), e.push(" ", "xlink:href", '="', R(a), '"');
        break;
      case "contentEditable":
      case "spellCheck":
      case "draggable":
      case "value":
      case "autoReverse":
      case "externalResourcesRequired":
      case "focusable":
      case "preserveAlpha":
        typeof a != "function" && typeof a != "symbol" && e.push(" ", r, '="', R(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":
        a && typeof a != "function" && typeof a != "symbol" && e.push(" ", r, '=""');
        break;
      case "capture":
      case "download":
        a === !0 ? e.push(" ", r, '=""') : a !== !1 && typeof a != "function" && typeof a != "symbol" && e.push(" ", r, '="', R(a), '"');
        break;
      case "cols":
      case "rows":
      case "size":
      case "span":
        typeof a != "function" && typeof a != "symbol" && !isNaN(a) && 1 <= a && e.push(" ", r, '="', R(a), '"');
        break;
      case "rowSpan":
      case "start":
        typeof a == "function" || typeof a == "symbol" || isNaN(a) || e.push(" ", r, '="', R(a), '"');
        break;
      case "xlinkActuate":
        bn(e, "xlink:actuate", a);
        break;
      case "xlinkArcrole":
        bn(e, "xlink:arcrole", a);
        break;
      case "xlinkRole":
        bn(e, "xlink:role", a);
        break;
      case "xlinkShow":
        bn(e, "xlink:show", a);
        break;
      case "xlinkTitle":
        bn(e, "xlink:title", a);
        break;
      case "xlinkType":
        bn(e, "xlink:type", a);
        break;
      case "xmlBase":
        bn(e, "xml:base", a);
        break;
      case "xmlLang":
        bn(e, "xml:lang", a);
        break;
      case "xmlSpace":
        bn(e, "xml:space", a);
        break;
      default:
        if ((!(2 < r.length) || r[0] !== "o" && r[0] !== "O" || r[1] !== "n" && r[1] !== "N") && (r = ua.get(r) || r, J(r))) {
          switch (typeof a) {
            case "function":
            case "symbol":
              return;
            case "boolean":
              var i = r.toLowerCase().slice(0, 5);
              if (i !== "data-" && i !== "aria-") return;
          }
          e.push(" ", r, '="', R(a), '"');
        }
    }
  }
  function Gn(e, r, a) {
    if (r != null) {
      if (a != null) throw Error(I(60));
      if (typeof r != "object" || !("__html" in r))
        throw Error(I(61));
      r = r.__html, r != null && e.push("" + r);
    }
  }
  function da(e) {
    var r = "";
    return Tn.Children.forEach(e, function(a) {
      a != null && (r += a);
    }), r;
  }
  function sl(e, r) {
    (e.instructions & 16) === 0 && (e.instructions |= 16, r.bootstrapChunks.unshift(
      r.startInlineScript,
      `addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error('React form unexpectedly submitted.')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});`,
      "<\/script>"
    ));
  }
  function gn(e, r) {
    e.push(fn("link"));
    for (var a in r)
      if (j.call(r, a)) {
        var i = r[a];
        if (i != null)
          switch (a) {
            case "children":
            case "dangerouslySetInnerHTML":
              throw Error(I(399, "link"));
            default:
              Q(e, a, i);
          }
      }
    return e.push("/>"), null;
  }
  var Ar = /(<\/|<)(s)(tyle)/gi;
  function Or(e, r, a, i) {
    return "" + r + (a === "s" ? "\\73 " : "\\53 ") + i;
  }
  function ot(e, r, a) {
    e.push(fn(a));
    for (var i in r)
      if (j.call(r, i)) {
        var c = r[i];
        if (c != null)
          switch (i) {
            case "children":
            case "dangerouslySetInnerHTML":
              throw Error(I(399, a));
            default:
              Q(e, i, c);
          }
      }
    return e.push("/>"), null;
  }
  function ga(e, r) {
    e.push(fn("title"));
    var a = null, i = null, c;
    for (c in r)
      if (j.call(r, c)) {
        var h = r[c];
        if (h != null)
          switch (c) {
            case "children":
              a = h;
              break;
            case "dangerouslySetInnerHTML":
              i = h;
              break;
            default:
              Q(e, c, h);
          }
      }
    return e.push(">"), r = Array.isArray(a) ? 2 > a.length ? a[0] : null : a, typeof r != "function" && typeof r != "symbol" && r !== null && r !== void 0 && e.push(R("" + r)), Gn(e, i, a), e.push(Ae("title")), null;
  }
  function _r(e, r) {
    e.push(fn("script"));
    var a = null, i = null, c;
    for (c in r)
      if (j.call(r, c)) {
        var h = r[c];
        if (h != null)
          switch (c) {
            case "children":
              a = h;
              break;
            case "dangerouslySetInnerHTML":
              i = h;
              break;
            default:
              Q(e, c, h);
          }
      }
    return e.push(">"), Gn(e, i, a), typeof a == "string" && e.push(("" + a).replace(fa, H)), e.push(Ae("script")), null;
  }
  function Dt(e, r, a) {
    e.push(fn(a));
    var i = a = null, c;
    for (c in r)
      if (j.call(r, c)) {
        var h = r[c];
        if (h != null)
          switch (c) {
            case "children":
              a = h;
              break;
            case "dangerouslySetInnerHTML":
              i = h;
              break;
            default:
              Q(e, c, h);
          }
      }
    return e.push(">"), Gn(e, i, a), typeof a == "string" ? (e.push(R(a)), null) : a;
  }
  var xn = /^[a-zA-Z][a-zA-Z:_\.\-\d]*$/, va = /* @__PURE__ */ new Map();
  function fn(e) {
    var r = va.get(e);
    if (r === void 0) {
      if (!xn.test(e))
        throw Error(I(65, e));
      r = "<" + e, va.set(e, r);
    }
    return r;
  }
  function se(e, r, a, i, c, h, d, y, b) {
    switch (r) {
      case "div":
      case "span":
      case "svg":
      case "path":
        break;
      case "a":
        e.push(fn("a"));
        var x = null, O = null, F;
        for (F in a)
          if (j.call(a, F)) {
            var _ = a[F];
            if (_ != null)
              switch (F) {
                case "children":
                  x = _;
                  break;
                case "dangerouslySetInnerHTML":
                  O = _;
                  break;
                case "href":
                  _ === "" ? bn(e, "href", "") : Q(e, F, _);
                  break;
                default:
                  Q(e, F, _);
              }
          }
        if (e.push(">"), Gn(e, O, x), typeof x == "string") {
          e.push(R(x));
          var z = null;
        } else z = x;
        return z;
      case "g":
      case "p":
      case "li":
        break;
      case "select":
        e.push(fn("select"));
        var k = null, B = null, K;
        for (K in a)
          if (j.call(a, K)) {
            var U = a[K];
            if (U != null)
              switch (K) {
                case "children":
                  k = U;
                  break;
                case "dangerouslySetInnerHTML":
                  B = U;
                  break;
                case "defaultValue":
                case "value":
                  break;
                default:
                  Q(
                    e,
                    K,
                    U
                  );
              }
          }
        return e.push(">"), Gn(e, B, k), k;
      case "option":
        var $ = d.selectedValue;
        e.push(fn("option"));
        var W = null, X = null, Z = null, vn = null, Jn;
        for (Jn in a)
          if (j.call(a, Jn)) {
            var Y = a[Jn];
            if (Y != null)
              switch (Jn) {
                case "children":
                  W = Y;
                  break;
                case "selected":
                  Z = Y;
                  break;
                case "dangerouslySetInnerHTML":
                  vn = Y;
                  break;
                case "value":
                  X = Y;
                default:
                  Q(
                    e,
                    Jn,
                    Y
                  );
              }
          }
        if ($ != null) {
          var tn = X !== null ? "" + X : da(W);
          if (Pr($)) {
            for (var un = 0; un < $.length; un++)
              if ("" + $[un] === tn) {
                e.push(' selected=""');
                break;
              }
          } else
            "" + $ === tn && e.push(' selected=""');
        } else Z && e.push(' selected=""');
        return e.push(">"), Gn(e, vn, W), W;
      case "textarea":
        e.push(fn("textarea"));
        var ln = null, ne = null, Pn = null, ee;
        for (ee in a)
          if (j.call(a, ee)) {
            var Fn = a[ee];
            if (Fn != null)
              switch (ee) {
                case "children":
                  Pn = Fn;
                  break;
                case "value":
                  ln = Fn;
                  break;
                case "defaultValue":
                  ne = Fn;
                  break;
                case "dangerouslySetInnerHTML":
                  throw Error(I(91));
                default:
                  Q(
                    e,
                    ee,
                    Fn
                  );
              }
          }
        if (ln === null && ne !== null && (ln = ne), e.push(">"), Pn != null) {
          if (ln != null) throw Error(I(92));
          if (Pr(Pn)) {
            if (1 < Pn.length)
              throw Error(I(93));
            ln = "" + Pn[0];
          }
          ln = "" + Pn;
        }
        return typeof ln == "string" && ln[0] === `
` && e.push(`
`), ln !== null && e.push(R("" + ln)), null;
      case "input":
        e.push(fn("input"));
        var be = null, $t = null, ue = null, Ol = null, pr = null, Ie = null, $e = null, jr = null, $r = null, Tt;
        for (Tt in a)
          if (j.call(a, Tt)) {
            var te = a[Tt];
            if (te != null)
              switch (Tt) {
                case "children":
                case "dangerouslySetInnerHTML":
                  throw Error(I(399, "input"));
                case "name":
                  be = te;
                  break;
                case "formAction":
                  $t = te;
                  break;
                case "formEncType":
                  ue = te;
                  break;
                case "formMethod":
                  Ol = te;
                  break;
                case "formTarget":
                  pr = te;
                  break;
                case "defaultChecked":
                  $r = te;
                  break;
                case "defaultValue":
                  $e = te;
                  break;
                case "checked":
                  jr = te;
                  break;
                case "value":
                  Ie = te;
                  break;
                default:
                  Q(
                    e,
                    Tt,
                    te
                  );
              }
          }
        var Va = sa(
          e,
          i,
          c,
          $t,
          ue,
          Ol,
          pr,
          be
        );
        return jr !== null ? Fr(e, "checked", jr) : $r !== null && Fr(e, "checked", $r), Ie !== null ? Q(e, "value", Ie) : $e !== null && Q(e, "value", $e), e.push("/>"), Va != null && Va.forEach(Ln, e), null;
      case "button":
        e.push(fn("button"));
        var nr = null, _l = null, Il = null, Ka = null, wt = null, er = null, tr = null, rr;
        for (rr in a)
          if (j.call(a, rr)) {
            var re = a[rr];
            if (re != null)
              switch (rr) {
                case "children":
                  nr = re;
                  break;
                case "dangerouslySetInnerHTML":
                  _l = re;
                  break;
                case "name":
                  Il = re;
                  break;
                case "formAction":
                  Ka = re;
                  break;
                case "formEncType":
                  wt = re;
                  break;
                case "formMethod":
                  er = re;
                  break;
                case "formTarget":
                  tr = re;
                  break;
                default:
                  Q(
                    e,
                    rr,
                    re
                  );
              }
          }
        var kl = sa(
          e,
          i,
          c,
          Ka,
          wt,
          er,
          tr,
          Il
        );
        if (e.push(">"), kl != null && kl.forEach(Ln, e), Gn(e, _l, nr), typeof nr == "string") {
          e.push(R(nr));
          var nt = null;
        } else nt = nr;
        return nt;
      case "form":
        e.push(fn("form"));
        var et = null, lr = null, ke = null, ar = null, ce = null, ir = null, ur;
        for (ur in a)
          if (j.call(a, ur)) {
            var jn = a[ur];
            if (jn != null)
              switch (ur) {
                case "children":
                  et = jn;
                  break;
                case "dangerouslySetInnerHTML":
                  lr = jn;
                  break;
                case "action":
                  ke = jn;
                  break;
                case "encType":
                  ar = jn;
                  break;
                case "method":
                  ce = jn;
                  break;
                case "target":
                  ir = jn;
                  break;
                default:
                  Q(
                    e,
                    ur,
                    jn
                  );
              }
          }
        var Re = null, nl = null;
        if (typeof ke == "function") {
          var Ee = hl(
            i,
            ke
          );
          Ee !== null ? (ke = Ee.action || "", ar = Ee.encType, ce = Ee.method, ir = Ee.target, Re = Ee.data, nl = Ee.name) : (e.push(
            " ",
            "action",
            '="',
            ae,
            '"'
          ), ir = ce = ar = ke = null, sl(i, c));
        }
        if (ke != null && Q(e, "action", ke), ar != null && Q(e, "encType", ar), ce != null && Q(e, "method", ce), ir != null && Q(e, "target", ir), e.push(">"), nl !== null && (e.push('<input type="hidden"'), bn(e, "name", nl), e.push("/>"), Re != null && Re.forEach(Ln, e)), Gn(e, lr, et), typeof et == "string") {
          e.push(R(et));
          var cr = null;
        } else cr = et;
        return cr;
      case "menuitem":
        e.push(fn("menuitem"));
        for (var fr in a)
          if (j.call(a, fr)) {
            var xt = a[fr];
            if (xt != null)
              switch (fr) {
                case "children":
                case "dangerouslySetInnerHTML":
                  throw Error(I(400));
                default:
                  Q(
                    e,
                    fr,
                    xt
                  );
              }
          }
        return e.push(">"), null;
      case "object":
        e.push(fn("object"));
        var Te = null, Me = null, yn;
        for (yn in a)
          if (j.call(a, yn)) {
            var we = a[yn];
            if (we != null)
              switch (yn) {
                case "children":
                  Te = we;
                  break;
                case "dangerouslySetInnerHTML":
                  Me = we;
                  break;
                case "data":
                  var Ml = Mt("" + we);
                  if (Ml === "") break;
                  e.push(
                    " ",
                    "data",
                    '="',
                    R(Ml),
                    '"'
                  );
                  break;
                default:
                  Q(
                    e,
                    yn,
                    we
                  );
              }
          }
        if (e.push(">"), Gn(e, Me, Te), typeof Te == "string") {
          e.push(R(Te));
          var Dl = null;
        } else Dl = Te;
        return Dl;
      case "title":
        if (d.insertionMode === 3 || d.tagScope & 1 || a.itemProp != null)
          var Ct = ga(
            e,
            a
          );
        else
          b ? Ct = null : (ga(c.hoistableChunks, a), Ct = void 0);
        return Ct;
      case "link":
        var Ll = a.rel, hn = a.href, St = a.precedence;
        if (d.insertionMode === 3 || d.tagScope & 1 || a.itemProp != null || typeof Ll != "string" || typeof hn != "string" || hn === "") {
          gn(e, a);
          var tt = null;
        } else if (a.rel === "stylesheet")
          if (typeof St != "string" || a.disabled != null || a.onLoad || a.onError)
            tt = gn(
              e,
              a
            );
          else {
            var De = c.styles.get(St), or = i.styleResources.hasOwnProperty(hn) ? i.styleResources[hn] : void 0;
            if (or !== null) {
              i.styleResources[hn] = null, De || (De = {
                precedence: R(St),
                rules: [],
                hrefs: [],
                sheets: /* @__PURE__ */ new Map()
              }, c.styles.set(St, De));
              var hr = {
                state: 0,
                props: kn({}, a, {
                  "data-precedence": a.precedence,
                  precedence: null
                })
              };
              if (or) {
                or.length === 2 && ie(hr.props, or);
                var Qn = c.preloads.stylesheets.get(hn);
                Qn && 0 < Qn.length ? Qn.length = 0 : hr.state = 1;
              }
              De.sheets.set(hn, hr), h && h.stylesheets.add(hr);
            } else if (De) {
              var ma = De.sheets.get(hn);
              ma && h && h.stylesheets.add(ma);
            }
            y && e.push("<!-- -->"), tt = null;
          }
        else
          a.onLoad || a.onError ? tt = gn(
            e,
            a
          ) : (y && e.push("<!-- -->"), tt = b ? null : gn(c.hoistableChunks, a));
        return tt;
      case "script":
        var rt = a.async;
        if (typeof a.src != "string" || !a.src || !rt || typeof rt == "function" || typeof rt == "symbol" || a.onLoad || a.onError || d.insertionMode === 3 || d.tagScope & 1 || a.itemProp != null)
          var Bl = _r(
            e,
            a
          );
        else {
          var Pt = a.src;
          if (a.type === "module")
            var Ft = i.moduleScriptResources, sr = c.preloads.moduleScripts;
          else
            Ft = i.scriptResources, sr = c.preloads.scripts;
          var Le = Ft.hasOwnProperty(Pt) ? Ft[Pt] : void 0;
          if (Le !== null) {
            Ft[Pt] = null;
            var dr = a;
            if (Le) {
              Le.length === 2 && (dr = kn({}, a), ie(dr, Le));
              var lt = sr.get(Pt);
              lt && (lt.length = 0);
            }
            var gr = [];
            c.scripts.add(gr), _r(gr, dr);
          }
          y && e.push("<!-- -->"), Bl = null;
        }
        return Bl;
      case "style":
        var at = a.precedence, xe = a.href;
        if (d.insertionMode === 3 || d.tagScope & 1 || a.itemProp != null || typeof at != "string" || typeof xe != "string" || xe === "") {
          e.push(fn("style"));
          var it = null, Nl = null, Be;
          for (Be in a)
            if (j.call(a, Be)) {
              var el = a[Be];
              if (el != null)
                switch (Be) {
                  case "children":
                    it = el;
                    break;
                  case "dangerouslySetInnerHTML":
                    Nl = el;
                    break;
                  default:
                    Q(
                      e,
                      Be,
                      el
                    );
                }
            }
          e.push(">");
          var At = Array.isArray(it) ? 2 > it.length ? it[0] : null : it;
          typeof At != "function" && typeof At != "symbol" && At !== null && At !== void 0 && e.push(("" + At).replace(Ar, Or)), Gn(e, Nl, it), e.push(Ae("style"));
          var Ne = null;
        } else {
          var Ce = c.styles.get(at);
          if ((i.styleResources.hasOwnProperty(xe) ? i.styleResources[xe] : void 0) !== null) {
            i.styleResources[xe] = null, Ce ? Ce.hrefs.push(
              R(xe)
            ) : (Ce = {
              precedence: R(at),
              rules: [],
              hrefs: [R(xe)],
              sheets: /* @__PURE__ */ new Map()
            }, c.styles.set(at, Ce));
            var zl = Ce.rules, n = null, t = null, l;
            for (l in a)
              if (j.call(a, l)) {
                var u = a[l];
                if (u != null)
                  switch (l) {
                    case "children":
                      n = u;
                      break;
                    case "dangerouslySetInnerHTML":
                      t = u;
                  }
              }
            var f = Array.isArray(n) ? 2 > n.length ? n[0] : null : n;
            typeof f != "function" && typeof f != "symbol" && f !== null && f !== void 0 && zl.push(
              ("" + f).replace(Ar, Or)
            ), Gn(zl, t, n);
          }
          Ce && h && h.styles.add(Ce), y && e.push("<!-- -->"), Ne = void 0;
        }
        return Ne;
      case "meta":
        if (d.insertionMode === 3 || d.tagScope & 1 || a.itemProp != null)
          var o = ot(
            e,
            a,
            "meta"
          );
        else
          y && e.push("<!-- -->"), o = b ? null : typeof a.charSet == "string" ? ot(c.charsetChunks, a, "meta") : a.name === "viewport" ? ot(c.viewportChunks, a, "meta") : ot(c.hoistableChunks, a, "meta");
        return o;
      case "listing":
      case "pre":
        e.push(fn(r));
        var s = null, v = null, g;
        for (g in a)
          if (j.call(a, g)) {
            var T = a[g];
            if (T != null)
              switch (g) {
                case "children":
                  s = T;
                  break;
                case "dangerouslySetInnerHTML":
                  v = T;
                  break;
                default:
                  Q(
                    e,
                    g,
                    T
                  );
              }
          }
        if (e.push(">"), v != null) {
          if (s != null) throw Error(I(60));
          if (typeof v != "object" || !("__html" in v))
            throw Error(I(61));
          var S = v.__html;
          S != null && (typeof S == "string" && 0 < S.length && S[0] === `
` ? e.push(`
`, S) : e.push("" + S));
        }
        return typeof s == "string" && s[0] === `
` && e.push(`
`), s;
      case "img":
        var E = a.src, C = a.srcSet;
        if (!(a.loading === "lazy" || !E && !C || typeof E != "string" && E != null || typeof C != "string" && C != null) && a.fetchPriority !== "low" && !(d.tagScope & 3) && (typeof E != "string" || E[4] !== ":" || E[0] !== "d" && E[0] !== "D" || E[1] !== "a" && E[1] !== "A" || E[2] !== "t" && E[2] !== "T" || E[3] !== "a" && E[3] !== "A") && (typeof C != "string" || C[4] !== ":" || C[0] !== "d" && C[0] !== "D" || C[1] !== "a" && C[1] !== "A" || C[2] !== "t" && C[2] !== "T" || C[3] !== "a" && C[3] !== "A")) {
          var L = typeof a.sizes == "string" ? a.sizes : void 0, M = C ? C + `
` + (L || "") : E, D = c.preloads.images, nn = D.get(M);
          if (nn)
            (a.fetchPriority === "high" || 10 > c.highImagePreloads.size) && (D.delete(M), c.highImagePreloads.add(nn));
          else if (!i.imageResources.hasOwnProperty(M)) {
            i.imageResources[M] = Kn;
            var Nn = a.crossOrigin, zn = typeof Nn == "string" ? Nn === "use-credentials" ? Nn : "" : void 0, q = c.headers, sn;
            q && 0 < q.remainingCapacity && (a.fetchPriority === "high" || 500 > q.highImagePreloads.length) && (sn = Bt(E, "image", {
              imageSrcSet: a.srcSet,
              imageSizes: a.sizes,
              crossOrigin: zn,
              integrity: a.integrity,
              nonce: a.nonce,
              type: a.type,
              fetchPriority: a.fetchPriority,
              referrerPolicy: a.refererPolicy
            }), 0 <= (q.remainingCapacity -= sn.length + 2)) ? (c.resets.image[M] = Kn, q.highImagePreloads && (q.highImagePreloads += ", "), q.highImagePreloads += sn) : (nn = [], gn(nn, {
              rel: "preload",
              as: "image",
              href: C ? void 0 : E,
              imageSrcSet: C,
              imageSizes: L,
              crossOrigin: zn,
              integrity: a.integrity,
              type: a.type,
              fetchPriority: a.fetchPriority,
              referrerPolicy: a.referrerPolicy
            }), a.fetchPriority === "high" || 10 > c.highImagePreloads.size ? c.highImagePreloads.add(nn) : (c.bulkPreloads.add(nn), D.set(M, nn)));
          }
        }
        return ot(e, a, "img");
      case "base":
      case "area":
      case "br":
      case "col":
      case "embed":
      case "hr":
      case "keygen":
      case "param":
      case "source":
      case "track":
      case "wbr":
        return ot(e, a, r);
      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":
        break;
      case "head":
        if (2 > d.insertionMode && c.headChunks === null) {
          c.headChunks = [];
          var Hn = Dt(
            c.headChunks,
            a,
            "head"
          );
        } else
          Hn = Dt(
            e,
            a,
            "head"
          );
        return Hn;
      case "html":
        if (d.insertionMode === 0 && c.htmlChunks === null) {
          c.htmlChunks = [""];
          var An = Dt(
            c.htmlChunks,
            a,
            "html"
          );
        } else
          An = Dt(
            e,
            a,
            "html"
          );
        return An;
      default:
        if (r.indexOf("-") !== -1) {
          e.push(fn(r));
          var On = null, Vn = null, an;
          for (an in a)
            if (j.call(a, an)) {
              var en = a[an];
              if (en != null) {
                var En = an;
                switch (an) {
                  case "children":
                    On = en;
                    break;
                  case "dangerouslySetInnerHTML":
                    Vn = en;
                    break;
                  case "style":
                    We(e, en);
                    break;
                  case "suppressContentEditableWarning":
                  case "suppressHydrationWarning":
                  case "ref":
                    break;
                  case "className":
                    En = "class";
                  default:
                    if (J(an) && typeof en != "function" && typeof en != "symbol" && en !== !1) {
                      if (en === !0) en = "";
                      else if (typeof en == "object") continue;
                      e.push(
                        " ",
                        En,
                        '="',
                        R(en),
                        '"'
                      );
                    }
                }
              }
            }
          return e.push(">"), Gn(e, Vn, On), On;
        }
    }
    return Dt(e, a, r);
  }
  var dl = /* @__PURE__ */ new Map();
  function Ae(e) {
    var r = dl.get(e);
    return r === void 0 && (r = "</" + e + ">", dl.set(e, r)), r;
  }
  function ya(e, r) {
    r = r.bootstrapChunks;
    for (var a = 0; a < r.length - 1; a++)
      e.push(r[a]);
    return a < r.length ? (a = r[a], r.length = 0, e.push(a)) : !0;
  }
  function gl(e, r, a) {
    if (e.push('<!--$?--><template id="'), a === null) throw Error(I(395));
    return e.push(r.boundaryPrefix), r = a.toString(16), e.push(r), e.push('"></template>');
  }
  function di(e, r, a, i) {
    switch (a.insertionMode) {
      case 0:
      case 1:
      case 2:
        return e.push('<div hidden id="'), e.push(r.segmentPrefix), r = i.toString(16), e.push(r), e.push('">');
      case 3:
        return e.push('<svg aria-hidden="true" style="display:none" id="'), e.push(r.segmentPrefix), r = i.toString(16), e.push(r), e.push('">');
      case 4:
        return e.push('<math aria-hidden="true" style="display:none" id="'), e.push(r.segmentPrefix), r = i.toString(16), e.push(r), e.push('">');
      case 5:
        return e.push('<table hidden id="'), e.push(r.segmentPrefix), r = i.toString(16), e.push(r), e.push('">');
      case 6:
        return e.push('<table hidden><tbody id="'), e.push(r.segmentPrefix), r = i.toString(16), e.push(r), e.push('">');
      case 7:
        return e.push('<table hidden><tr id="'), e.push(r.segmentPrefix), r = i.toString(16), e.push(r), e.push('">');
      case 8:
        return e.push('<table hidden><colgroup id="'), e.push(r.segmentPrefix), r = i.toString(16), e.push(r), e.push('">');
      default:
        throw Error(I(397));
    }
  }
  function ba(e, r) {
    switch (r.insertionMode) {
      case 0:
      case 1:
      case 2:
        return e.push("</div>");
      case 3:
        return e.push("</svg>");
      case 4:
        return e.push("</math>");
      case 5:
        return e.push("</table>");
      case 6:
        return e.push("</tbody></table>");
      case 7:
        return e.push("</tr></table>");
      case 8:
        return e.push("</colgroup></table>");
      default:
        throw Error(I(397));
    }
  }
  var Cn = /[<\u2028\u2029]/g;
  function mn(e) {
    return JSON.stringify(e).replace(
      Cn,
      function(r) {
        switch (r) {
          case "<":
            return "\\u003c";
          case "\u2028":
            return "\\u2028";
          case "\u2029":
            return "\\u2029";
          default:
            throw Error(
              "escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React"
            );
        }
      }
    );
  }
  var Xn = /[&><\u2028\u2029]/g;
  function Ue(e) {
    return JSON.stringify(e).replace(
      Xn,
      function(r) {
        switch (r) {
          case "&":
            return "\\u0026";
          case ">":
            return "\\u003e";
          case "<":
            return "\\u003c";
          case "\u2028":
            return "\\u2028";
          case "\u2029":
            return "\\u2029";
          default:
            throw Error(
              "escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React"
            );
        }
      }
    );
  }
  var ht = !1, dn = !0;
  function Ra(e) {
    var r = e.rules, a = e.hrefs, i = 0;
    if (a.length) {
      for (this.push('<style media="not all" data-precedence="'), this.push(e.precedence), this.push('" data-href="'); i < a.length - 1; i++)
        this.push(a[i]), this.push(" ");
      for (this.push(a[i]), this.push('">'), i = 0; i < r.length; i++) this.push(r[i]);
      dn = this.push("</style>"), ht = !0, r.length = 0, a.length = 0;
    }
  }
  function Ea(e) {
    return e.state !== 2 ? ht = !0 : !1;
  }
  function Ir(e, r, a) {
    return ht = !1, dn = !0, r.styles.forEach(Ra, e), r.stylesheets.forEach(Ea), ht && (a.stylesToHoist = !0), dn;
  }
  function qn(e) {
    for (var r = 0; r < e.length; r++) this.push(e[r]);
    e.length = 0;
  }
  var de = [];
  function Ta(e) {
    gn(de, e.props);
    for (var r = 0; r < de.length; r++)
      this.push(de[r]);
    de.length = 0, e.state = 2;
  }
  function V(e) {
    var r = 0 < e.sheets.size;
    e.sheets.forEach(Ta, this), e.sheets.clear();
    var a = e.rules, i = e.hrefs;
    if (!r || i.length) {
      if (this.push('<style data-precedence="'), this.push(e.precedence), e = 0, i.length) {
        for (this.push('" data-href="'); e < i.length - 1; e++)
          this.push(i[e]), this.push(" ");
        this.push(i[e]);
      }
      for (this.push('">'), e = 0; e < a.length; e++)
        this.push(a[e]);
      this.push("</style>"), a.length = 0, i.length = 0;
    }
  }
  function Sn(e) {
    if (e.state === 0) {
      e.state = 1;
      var r = e.props;
      for (gn(de, {
        rel: "preload",
        as: "style",
        href: e.props.href,
        crossOrigin: r.crossOrigin,
        fetchPriority: r.fetchPriority,
        integrity: r.integrity,
        media: r.media,
        hrefLang: r.hrefLang,
        referrerPolicy: r.referrerPolicy
      }), e = 0; e < de.length; e++)
        this.push(de[e]);
      de.length = 0;
    }
  }
  function Lt(e) {
    e.sheets.forEach(Sn, this), e.sheets.clear();
  }
  function pn(e, r) {
    e.push("[");
    var a = "[";
    r.stylesheets.forEach(function(i) {
      if (i.state !== 2)
        if (i.state === 3)
          e.push(a), i = Ue(
            "" + i.props.href
          ), e.push(i), e.push("]"), a = ",[";
        else {
          e.push(a);
          var c = i.props["data-precedence"], h = i.props, d = Mt("" + i.props.href);
          d = Ue(d), e.push(d), c = "" + c, e.push(","), c = Ue(c), e.push(c);
          for (var y in h)
            if (j.call(h, y) && (c = h[y], c != null))
              switch (y) {
                case "href":
                case "rel":
                case "precedence":
                case "data-precedence":
                  break;
                case "children":
                case "dangerouslySetInnerHTML":
                  throw Error(I(399, "link"));
                default:
                  gi(
                    e,
                    y,
                    c
                  );
              }
          e.push("]"), a = ",[", i.state = 3;
        }
    }), e.push("]");
  }
  function gi(e, r, a) {
    var i = r.toLowerCase();
    switch (typeof a) {
      case "function":
      case "symbol":
        return;
    }
    switch (r) {
      case "innerHTML":
      case "dangerouslySetInnerHTML":
      case "suppressContentEditableWarning":
      case "suppressHydrationWarning":
      case "style":
      case "ref":
        return;
      case "className":
        i = "class", r = "" + a;
        break;
      case "hidden":
        if (a === !1) return;
        r = "";
        break;
      case "src":
      case "href":
        a = Mt(a), r = "" + a;
        break;
      default:
        if (2 < r.length && (r[0] === "o" || r[0] === "O") && (r[1] === "n" || r[1] === "N") || !J(r))
          return;
        r = "" + a;
    }
    e.push(","), i = Ue(i), e.push(i), e.push(","), i = Ue(r), e.push(i);
  }
  function kr() {
    return { styles: /* @__PURE__ */ new Set(), stylesheets: /* @__PURE__ */ new Set() };
  }
  function vi(e) {
    var r = m || null;
    if (r) {
      var a = r.resumableState, i = r.renderState;
      if (typeof e == "string" && e) {
        if (!a.dnsResources.hasOwnProperty(e)) {
          a.dnsResources[e] = null, a = i.headers;
          var c, h;
          (h = a && 0 < a.remainingCapacity) && (h = (c = "<" + ("" + e).replace(
            st,
            Ye
          ) + ">; rel=dns-prefetch", 0 <= (a.remainingCapacity -= c.length + 2))), h ? (i.resets.dns[e] = null, a.preconnects && (a.preconnects += ", "), a.preconnects += c) : (c = [], gn(c, { href: e, rel: "dns-prefetch" }), i.preconnects.add(c));
        }
        pe(r);
      }
    } else he.D(e);
  }
  function wa(e, r) {
    var a = m || null;
    if (a) {
      var i = a.resumableState, c = a.renderState;
      if (typeof e == "string" && e) {
        var h = r === "use-credentials" ? "credentials" : typeof r == "string" ? "anonymous" : "default";
        if (!i.connectResources[h].hasOwnProperty(e)) {
          i.connectResources[h][e] = null, i = c.headers;
          var d, y;
          if (y = i && 0 < i.remainingCapacity) {
            if (y = "<" + ("" + e).replace(
              st,
              Ye
            ) + ">; rel=preconnect", typeof r == "string") {
              var b = ("" + r).replace(
                Nt,
                vl
              );
              y += '; crossorigin="' + b + '"';
            }
            y = (d = y, 0 <= (i.remainingCapacity -= d.length + 2));
          }
          y ? (c.resets.connect[h][e] = null, i.preconnects && (i.preconnects += ", "), i.preconnects += d) : (h = [], gn(h, {
            rel: "preconnect",
            href: e,
            crossOrigin: r
          }), c.preconnects.add(h));
        }
        pe(a);
      }
    } else he.C(e, r);
  }
  function yi(e, r, a) {
    var i = m || null;
    if (i) {
      var c = i.resumableState, h = i.renderState;
      if (r && e) {
        switch (r) {
          case "image":
            if (a)
              var d = a.imageSrcSet, y = a.imageSizes, b = a.fetchPriority;
            var x = d ? d + `
` + (y || "") : e;
            if (c.imageResources.hasOwnProperty(x)) return;
            c.imageResources[x] = Kn, c = h.headers;
            var O;
            c && 0 < c.remainingCapacity && b === "high" && (O = Bt(e, r, a), 0 <= (c.remainingCapacity -= O.length + 2)) ? (h.resets.image[x] = Kn, c.highImagePreloads && (c.highImagePreloads += ", "), c.highImagePreloads += O) : (c = [], gn(
              c,
              kn(
                { rel: "preload", href: d ? void 0 : e, as: r },
                a
              )
            ), b === "high" ? h.highImagePreloads.add(c) : (h.bulkPreloads.add(c), h.preloads.images.set(x, c)));
            break;
          case "style":
            if (c.styleResources.hasOwnProperty(e)) return;
            d = [], gn(
              d,
              kn({ rel: "preload", href: e, as: r }, a)
            ), c.styleResources[e] = !a || typeof a.crossOrigin != "string" && typeof a.integrity != "string" ? Kn : [a.crossOrigin, a.integrity], h.preloads.stylesheets.set(e, d), h.bulkPreloads.add(d);
            break;
          case "script":
            if (c.scriptResources.hasOwnProperty(e)) return;
            d = [], h.preloads.scripts.set(e, d), h.bulkPreloads.add(d), gn(
              d,
              kn({ rel: "preload", href: e, as: r }, a)
            ), c.scriptResources[e] = !a || typeof a.crossOrigin != "string" && typeof a.integrity != "string" ? Kn : [a.crossOrigin, a.integrity];
            break;
          default:
            if (c.unknownResources.hasOwnProperty(r)) {
              if (d = c.unknownResources[r], d.hasOwnProperty(e))
                return;
            } else
              d = {}, c.unknownResources[r] = d;
            if (d[e] = Kn, (c = h.headers) && 0 < c.remainingCapacity && r === "font" && (x = Bt(e, r, a), 0 <= (c.remainingCapacity -= x.length + 2)))
              h.resets.font[e] = Kn, c.fontPreloads && (c.fontPreloads += ", "), c.fontPreloads += x;
            else
              switch (c = [], e = kn({ rel: "preload", href: e, as: r }, a), gn(c, e), r) {
                case "font":
                  h.fontPreloads.add(c);
                  break;
                default:
                  h.bulkPreloads.add(c);
              }
        }
        pe(i);
      }
    } else he.L(e, r, a);
  }
  function bi(e, r) {
    var a = m || null;
    if (a) {
      var i = a.resumableState, c = a.renderState;
      if (e) {
        var h = r && typeof r.as == "string" ? r.as : "script";
        switch (h) {
          case "script":
            if (i.moduleScriptResources.hasOwnProperty(e)) return;
            h = [], i.moduleScriptResources[e] = !r || typeof r.crossOrigin != "string" && typeof r.integrity != "string" ? Kn : [r.crossOrigin, r.integrity], c.preloads.moduleScripts.set(e, h);
            break;
          default:
            if (i.moduleUnknownResources.hasOwnProperty(h)) {
              var d = i.unknownResources[h];
              if (d.hasOwnProperty(e)) return;
            } else
              d = {}, i.moduleUnknownResources[h] = d;
            h = [], d[e] = Kn;
        }
        gn(h, kn({ rel: "modulepreload", href: e }, r)), c.bulkPreloads.add(h), pe(a);
      }
    } else he.m(e, r);
  }
  function Rn(e, r, a) {
    var i = m || null;
    if (i) {
      var c = i.resumableState, h = i.renderState;
      if (e) {
        r = r || "default";
        var d = h.styles.get(r), y = c.styleResources.hasOwnProperty(e) ? c.styleResources[e] : void 0;
        y !== null && (c.styleResources[e] = null, d || (d = {
          precedence: R(r),
          rules: [],
          hrefs: [],
          sheets: /* @__PURE__ */ new Map()
        }, h.styles.set(r, d)), r = {
          state: 0,
          props: kn(
            { rel: "stylesheet", href: e, "data-precedence": r },
            a
          )
        }, y && (y.length === 2 && ie(r.props, y), (h = h.preloads.stylesheets.get(e)) && 0 < h.length ? h.length = 0 : r.state = 1), d.sheets.set(e, r), pe(i));
      }
    } else he.S(e, r, a);
  }
  function xa(e, r) {
    var a = m || null;
    if (a) {
      var i = a.resumableState, c = a.renderState;
      if (e) {
        var h = i.scriptResources.hasOwnProperty(e) ? i.scriptResources[e] : void 0;
        h !== null && (i.scriptResources[e] = null, r = kn({ src: e, async: !0 }, r), h && (h.length === 2 && ie(r, h), e = c.preloads.scripts.get(e)) && (e.length = 0), e = [], c.scripts.add(e), _r(e, r), pe(a));
      }
    } else he.X(e, r);
  }
  function Ca(e, r) {
    var a = m || null;
    if (a) {
      var i = a.resumableState, c = a.renderState;
      if (e) {
        var h = i.moduleScriptResources.hasOwnProperty(
          e
        ) ? i.moduleScriptResources[e] : void 0;
        h !== null && (i.moduleScriptResources[e] = null, r = kn({ src: e, type: "module", async: !0 }, r), h && (h.length === 2 && ie(r, h), e = c.preloads.moduleScripts.get(e)) && (e.length = 0), e = [], c.scripts.add(e), _r(e, r), pe(a));
      }
    } else he.M(e, r);
  }
  function ie(e, r) {
    e.crossOrigin == null && (e.crossOrigin = r[0]), e.integrity == null && (e.integrity = r[1]);
  }
  function Bt(e, r, a) {
    e = ("" + e).replace(
      st,
      Ye
    ), r = ("" + r).replace(
      Nt,
      vl
    ), r = "<" + e + '>; rel=preload; as="' + r + '"';
    for (var i in a)
      j.call(a, i) && (e = a[i], typeof e == "string" && (r += "; " + i.toLowerCase() + '="' + ("" + e).replace(
        Nt,
        vl
      ) + '"'));
    return r;
  }
  var st = /[<>\r\n]/g;
  function Ye(e) {
    switch (e) {
      case "<":
        return "%3C";
      case ">":
        return "%3E";
      case `
`:
        return "%0A";
      case "\r":
        return "%0D";
      default:
        throw Error(
          "escapeLinkHrefForHeaderContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React"
        );
    }
  }
  var Nt = /["';,\r\n]/g;
  function vl(e) {
    switch (e) {
      case '"':
        return "%22";
      case "'":
        return "%27";
      case ";":
        return "%3B";
      case ",":
        return "%2C";
      case `
`:
        return "%0A";
      case "\r":
        return "%0D";
      default:
        throw Error(
          "escapeStringForLinkHeaderQuotedParamValueContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React"
        );
    }
  }
  function yl(e) {
    this.styles.add(e);
  }
  function on(e) {
    this.stylesheets.add(e);
  }
  function Ri(e, r) {
    var a = e.idPrefix, i = [], c = e.bootstrapScriptContent, h = e.bootstrapScripts, d = e.bootstrapModules;
    c !== void 0 && i.push(
      "<script>",
      ("" + c).replace(fa, H),
      "<\/script>"
    ), c = a + "P:";
    var y = a + "S:";
    a += "B:";
    var b = /* @__PURE__ */ new Set(), x = /* @__PURE__ */ new Set(), O = /* @__PURE__ */ new Set(), F = /* @__PURE__ */ new Map(), _ = /* @__PURE__ */ new Set(), z = /* @__PURE__ */ new Set(), k = /* @__PURE__ */ new Set(), B = {
      images: /* @__PURE__ */ new Map(),
      stylesheets: /* @__PURE__ */ new Map(),
      scripts: /* @__PURE__ */ new Map(),
      moduleScripts: /* @__PURE__ */ new Map()
    };
    if (h !== void 0)
      for (var K = 0; K < h.length; K++) {
        var U = h[K], $, W = void 0, X = void 0, Z = {
          rel: "preload",
          as: "script",
          fetchPriority: "low",
          nonce: void 0
        };
        typeof U == "string" ? Z.href = $ = U : (Z.href = $ = U.src, Z.integrity = X = typeof U.integrity == "string" ? U.integrity : void 0, Z.crossOrigin = W = typeof U == "string" || U.crossOrigin == null ? void 0 : U.crossOrigin === "use-credentials" ? "use-credentials" : ""), U = e;
        var vn = $;
        U.scriptResources[vn] = null, U.moduleScriptResources[vn] = null, U = [], gn(U, Z), _.add(U), i.push('<script src="', R($)), typeof X == "string" && i.push('" integrity="', R(X)), typeof W == "string" && i.push(
          '" crossorigin="',
          R(W)
        ), i.push('" async=""><\/script>');
      }
    if (d !== void 0)
      for (h = 0; h < d.length; h++)
        Z = d[h], W = $ = void 0, X = {
          rel: "modulepreload",
          fetchPriority: "low",
          nonce: void 0
        }, typeof Z == "string" ? X.href = K = Z : (X.href = K = Z.src, X.integrity = W = typeof Z.integrity == "string" ? Z.integrity : void 0, X.crossOrigin = $ = typeof Z == "string" || Z.crossOrigin == null ? void 0 : Z.crossOrigin === "use-credentials" ? "use-credentials" : ""), Z = e, U = K, Z.scriptResources[U] = null, Z.moduleScriptResources[U] = null, Z = [], gn(Z, X), _.add(Z), i.push(
          '<script type="module" src="',
          R(K)
        ), typeof W == "string" && i.push(
          '" integrity="',
          R(W)
        ), typeof $ == "string" && i.push('" crossorigin="', R($)), i.push('" async=""><\/script>');
    return {
      placeholderPrefix: c,
      segmentPrefix: y,
      boundaryPrefix: a,
      startInlineScript: "<script>",
      htmlChunks: null,
      headChunks: null,
      externalRuntimeScript: null,
      bootstrapChunks: i,
      importMapChunks: [],
      onHeaders: void 0,
      headers: null,
      resets: {
        font: {},
        dns: {},
        connect: { default: {}, anonymous: {}, credentials: {} },
        image: {},
        style: {}
      },
      charsetChunks: [],
      viewportChunks: [],
      hoistableChunks: [],
      preconnects: b,
      fontPreloads: x,
      highImagePreloads: O,
      styles: F,
      bootstrapScripts: _,
      scripts: z,
      bulkPreloads: k,
      preloads: B,
      stylesToHoist: !1,
      generateStaticMarkup: r
    };
  }
  function Sa(e, r, a, i) {
    return a.generateStaticMarkup ? (e.push(R(r)), !1) : (r === "" ? e = i : (i && e.push("<!-- -->"), e.push(R(r)), e = !0), e);
  }
  function Mr(e, r, a, i) {
    r.generateStaticMarkup || a && i && e.push("<!-- -->");
  }
  var Ge = Function.prototype.bind, Pa = Symbol.for("react.client.reference");
  function Dr(e) {
    if (e == null) return null;
    if (typeof e == "function")
      return e.$$typeof === Pa ? null : e.displayName || e.name || null;
    if (typeof e == "string") return e;
    switch (e) {
      case kt:
        return "Fragment";
      case It:
        return "Portal";
      case ze:
        return "Profiler";
      case fe:
        return "StrictMode";
      case oe:
        return "Suspense";
      case Fe:
        return "SuspenseList";
    }
    if (typeof e == "object")
      switch (e.$$typeof) {
        case G:
          return (e.displayName || "Context") + ".Provider";
        case P:
          return (e._context.displayName || "Context") + ".Consumer";
        case In:
          var r = e.render;
          return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
        case ct:
          return r = e.displayName || null, r !== null ? r : Dr(e.type) || "Memo";
        case Cr:
          r = e._payload, e = e._init;
          try {
            return Dr(e(r));
          } catch {
          }
      }
    return null;
  }
  var Fa = {}, Xe = null;
  function Lr(e, r) {
    if (e !== r) {
      e.context._currentValue2 = e.parentValue, e = e.parent;
      var a = r.parent;
      if (e === null) {
        if (a !== null) throw Error(I(401));
      } else {
        if (a === null) throw Error(I(401));
        Lr(e, a);
      }
      r.context._currentValue2 = r.value;
    }
  }
  function Aa(e) {
    e.context._currentValue2 = e.parentValue, e = e.parent, e !== null && Aa(e);
  }
  function Oa(e) {
    var r = e.parent;
    r !== null && Oa(r), e.context._currentValue2 = e.value;
  }
  function _a(e, r) {
    if (e.context._currentValue2 = e.parentValue, e = e.parent, e === null) throw Error(I(402));
    e.depth === r.depth ? Lr(e, r) : _a(e, r);
  }
  function Ia(e, r) {
    var a = r.parent;
    if (a === null) throw Error(I(402));
    e.depth === a.depth ? Lr(e, a) : Ia(e, a), r.context._currentValue2 = r.value;
  }
  function Oe(e) {
    var r = Xe;
    r !== e && (r === null ? Oa(e) : e === null ? Aa(r) : r.depth === e.depth ? Lr(r, e) : r.depth > e.depth ? _a(r, e) : Ia(r, e), Xe = e);
  }
  var ka = {
    isMounted: function() {
      return !1;
    },
    enqueueSetState: function(e, r) {
      e = e._reactInternals, e.queue !== null && e.queue.push(r);
    },
    enqueueReplaceState: function(e, r) {
      e = e._reactInternals, e.replace = !0, e.queue = [r];
    },
    enqueueForceUpdate: function() {
    }
  }, Ei = { id: 1, overflow: "" };
  function Br(e, r, a) {
    var i = e.id;
    e = e.overflow;
    var c = 32 - Nr(i) - 1;
    i &= ~(1 << c), a += 1;
    var h = 32 - Nr(r) + c;
    if (30 < h) {
      var d = c - c % 5;
      return h = (i & (1 << d) - 1).toString(32), i >>= d, c -= d, {
        id: 1 << 32 - Nr(r) + c | a << c | i,
        overflow: h + e
      };
    }
    return {
      id: 1 << h | a << c | i,
      overflow: e
    };
  }
  var Nr = Math.clz32 ? Math.clz32 : xi, Ti = Math.log, wi = Math.LN2;
  function xi(e) {
    return e >>>= 0, e === 0 ? 32 : 31 - (Ti(e) / wi | 0) | 0;
  }
  var Ze = Error(I(460));
  function zr() {
  }
  function Ci(e, r, a) {
    switch (a = e[a], a === void 0 ? e.push(r) : a !== r && (r.then(zr, zr), r = a), r.status) {
      case "fulfilled":
        return r.value;
      case "rejected":
        throw r.reason;
      default:
        switch (typeof r.status == "string" ? r.then(zr, zr) : (e = r, e.status = "pending", e.then(
          function(i) {
            if (r.status === "pending") {
              var c = r;
              c.status = "fulfilled", c.value = i;
            }
          },
          function(i) {
            if (r.status === "pending") {
              var c = r;
              c.status = "rejected", c.reason = i;
            }
          }
        )), r.status) {
          case "fulfilled":
            return r.value;
          case "rejected":
            throw r.reason;
        }
        throw Hr = r, Ze;
    }
  }
  var Hr = null;
  function Wr() {
    if (Hr === null) throw Error(I(459));
    var e = Hr;
    return Hr = null, e;
  }
  function Si(e, r) {
    return e === r && (e !== 0 || 1 / e === 1 / r) || e !== e && r !== r;
  }
  var Pi = typeof Object.is == "function" ? Object.is : Si, ge = null, bl = null, Rl = null, El = null, Ur = null, p = null, zt = !1, Yr = !1, Ht = 0, Wt = 0, Ut = -1, Gr = 0, dt = null, _e = null, Xr = 0;
  function ve() {
    if (ge === null)
      throw Error(I(321));
    return ge;
  }
  function Ma() {
    if (0 < Xr) throw Error(I(312));
    return { memoizedState: null, queue: null, next: null };
  }
  function Tl() {
    return p === null ? Ur === null ? (zt = !1, Ur = p = Ma()) : (zt = !0, p = Ur) : p.next === null ? (zt = !1, p = p.next = Ma()) : (zt = !0, p = p.next), p;
  }
  function gt() {
    var e = dt;
    return dt = null, e;
  }
  function Yt() {
    El = Rl = bl = ge = null, Yr = !1, Ur = null, Xr = 0, p = _e = null;
  }
  function Da(e, r) {
    return typeof r == "function" ? r(e) : r;
  }
  function La(e, r, a) {
    if (ge = ve(), p = Tl(), zt) {
      var i = p.queue;
      if (r = i.dispatch, _e !== null && (a = _e.get(i), a !== void 0)) {
        _e.delete(i), i = p.memoizedState;
        do
          i = e(i, a.action), a = a.next;
        while (a !== null);
        return p.memoizedState = i, [i, r];
      }
      return [p.memoizedState, r];
    }
    return e = e === Da ? typeof r == "function" ? r() : r : a !== void 0 ? a(r) : r, p.memoizedState = e, e = p.queue = { last: null, dispatch: null }, e = e.dispatch = Fi.bind(
      null,
      ge,
      e
    ), [p.memoizedState, e];
  }
  function Ba(e, r) {
    if (ge = ve(), p = Tl(), r = r === void 0 ? null : r, p !== null) {
      var a = p.memoizedState;
      if (a !== null && r !== null) {
        var i = a[1];
        n: if (i === null) i = !1;
        else {
          for (var c = 0; c < i.length && c < r.length; c++)
            if (!Pi(r[c], i[c])) {
              i = !1;
              break n;
            }
          i = !0;
        }
        if (i) return a[0];
      }
    }
    return e = e(), p.memoizedState = [e, r], e;
  }
  function Fi(e, r, a) {
    if (25 <= Xr) throw Error(I(301));
    if (e === ge)
      if (Yr = !0, e = { action: a, next: null }, _e === null && (_e = /* @__PURE__ */ new Map()), a = _e.get(r), a === void 0)
        _e.set(r, e);
      else {
        for (r = a; r.next !== null; ) r = r.next;
        r.next = e;
      }
  }
  function Ai() {
    throw Error(I(394));
  }
  function Oi() {
    throw Error(I(479));
  }
  function Na(e, r, a) {
    ve();
    var i = Wt++, c = Rl;
    if (typeof e.$$FORM_ACTION == "function") {
      var h = null, d = El;
      c = c.formState;
      var y = e.$$IS_SIGNATURE_EQUAL;
      if (c !== null && typeof y == "function") {
        var b = c[1];
        y.call(e, c[2], c[3]) && (h = a !== void 0 ? "p" + a : "k" + ia(
          JSON.stringify([d, null, i]),
          0
        ), b === h && (Ut = i, r = c[0]));
      }
      var x = e.bind(null, r);
      return e = function(F) {
        x(F);
      }, typeof x.$$FORM_ACTION == "function" && (e.$$FORM_ACTION = function(F) {
        F = x.$$FORM_ACTION(F), a !== void 0 && (a += "", F.action = a);
        var _ = F.data;
        return _ && (h === null && (h = a !== void 0 ? "p" + a : "k" + ia(
          JSON.stringify([
            d,
            null,
            i
          ]),
          0
        )), _.append("$ACTION_KEY", h)), F;
      }), [r, e, !1];
    }
    var O = e.bind(null, r);
    return [
      r,
      function(F) {
        O(F);
      },
      !1
    ];
  }
  function za(e) {
    var r = Gr;
    return Gr += 1, dt === null && (dt = []), Ci(dt, e, r);
  }
  function _i() {
    throw Error(I(393));
  }
  function Gt() {
  }
  var Zr = {
    readContext: function(e) {
      return e._currentValue2;
    },
    use: function(e) {
      if (e !== null && typeof e == "object") {
        if (typeof e.then == "function") return za(e);
        if (e.$$typeof === G) return e._currentValue2;
      }
      throw Error(I(438, String(e)));
    },
    useContext: function(e) {
      return ve(), e._currentValue2;
    },
    useMemo: Ba,
    useReducer: La,
    useRef: function(e) {
      ge = ve(), p = Tl();
      var r = p.memoizedState;
      return r === null ? (e = { current: e }, p.memoizedState = e) : r;
    },
    useState: function(e) {
      return La(Da, e);
    },
    useInsertionEffect: Gt,
    useLayoutEffect: Gt,
    useCallback: function(e, r) {
      return Ba(function() {
        return e;
      }, r);
    },
    useImperativeHandle: Gt,
    useEffect: Gt,
    useDebugValue: Gt,
    useDeferredValue: function(e, r) {
      return ve(), r !== void 0 ? r : e;
    },
    useTransition: function() {
      return ve(), [!1, Ai];
    },
    useId: function() {
      var e = bl.treeContext, r = e.overflow;
      e = e.id, e = (e & ~(1 << 32 - Nr(e) - 1)).toString(32) + r;
      var a = Jr;
      if (a === null) throw Error(I(404));
      return r = Ht++, e = ":" + a.idPrefix + "R" + e, 0 < r && (e += "H" + r.toString(32)), e + ":";
    },
    useSyncExternalStore: function(e, r, a) {
      if (a === void 0) throw Error(I(407));
      return a();
    },
    useCacheRefresh: function() {
      return _i;
    },
    useMemoCache: function(e) {
      for (var r = Array(e), a = 0; a < e; a++)
        r[a] = aa;
      return r;
    },
    useHostTransitionStatus: function() {
      return ve(), ol;
    },
    useOptimistic: function(e) {
      return ve(), [e, Oi];
    }
  };
  Zr.useFormState = Na, Zr.useActionState = Na;
  var Jr = null, Ii = {
    getCacheForType: function() {
      throw Error(I(248));
    }
  }, Je, Ha;
  function vt(e) {
    if (Je === void 0)
      try {
        throw Error();
      } catch (a) {
        var r = a.stack.trim().match(/\n( *(at )?)/);
        Je = r && r[1] || "", Ha = -1 < a.stack.indexOf(`
    at`) ? " (<anonymous>)" : -1 < a.stack.indexOf("@") ? "@unknown:0:0" : "";
      }
    return `
` + Je + e + Ha;
  }
  var wl = !1;
  function Qr(e, r) {
    if (!e || wl) return "";
    wl = !0;
    var a = Error.prepareStackTrace;
    Error.prepareStackTrace = void 0;
    var i = {
      DetermineComponentFrameRoot: function() {
        try {
          if (r) {
            var F = function() {
              throw Error();
            };
            if (Object.defineProperty(F.prototype, "props", {
              set: function() {
                throw Error();
              }
            }), typeof Reflect == "object" && Reflect.construct) {
              try {
                Reflect.construct(F, []);
              } catch (z) {
                var _ = z;
              }
              Reflect.construct(e, [], F);
            } else {
              try {
                F.call();
              } catch (z) {
                _ = z;
              }
              e.call(F.prototype);
            }
          } else {
            try {
              throw Error();
            } catch (z) {
              _ = z;
            }
            (F = e()) && typeof F.catch == "function" && F.catch(function() {
            });
          }
        } catch (z) {
          if (z && _ && typeof z.stack == "string")
            return [z.stack, _.stack];
        }
        return [null, null];
      }
    };
    i.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot";
    var c = Object.getOwnPropertyDescriptor(
      i.DetermineComponentFrameRoot,
      "name"
    );
    c && c.configurable && Object.defineProperty(i.DetermineComponentFrameRoot, "name", {
      value: "DetermineComponentFrameRoot"
    });
    try {
      var h = i.DetermineComponentFrameRoot(), d = h[0], y = h[1];
      if (d && y) {
        var b = d.split(`
`), x = y.split(`
`);
        for (c = i = 0; i < b.length && !b[i].includes("DetermineComponentFrameRoot"); )
          i++;
        for (; c < x.length && !x[c].includes(
          "DetermineComponentFrameRoot"
        ); )
          c++;
        if (i === b.length || c === x.length)
          for (i = b.length - 1, c = x.length - 1; 1 <= i && 0 <= c && b[i] !== x[c]; )
            c--;
        for (; 1 <= i && 0 <= c; i--, c--)
          if (b[i] !== x[c]) {
            if (i !== 1 || c !== 1)
              do
                if (i--, c--, 0 > c || b[i] !== x[c]) {
                  var O = `
` + b[i].replace(" at new ", " at ");
                  return e.displayName && O.includes("<anonymous>") && (O = O.replace("<anonymous>", e.displayName)), O;
                }
              while (1 <= i && 0 <= c);
            break;
          }
      }
    } finally {
      wl = !1, Error.prepareStackTrace = a;
    }
    return (a = e ? e.displayName || e.name : "") ? vt(a) : "";
  }
  function Xt(e) {
    if (typeof e == "string") return vt(e);
    if (typeof e == "function")
      return e.prototype && e.prototype.isReactComponent ? (e = Qr(e, !0), e) : Qr(e, !1);
    if (typeof e == "object" && e !== null) {
      switch (e.$$typeof) {
        case In:
          return Qr(e.render, !1);
        case ct:
          return Qr(e.type, !1);
        case Cr:
          var r = e, a = r._payload;
          r = r._init;
          try {
            e = r(a);
          } catch {
            return vt("Lazy");
          }
          return Xt(e);
      }
      if (typeof e.name == "string")
        return a = e.env, vt(
          e.name + (a ? " [" + a + "]" : "")
        );
    }
    switch (e) {
      case Fe:
        return vt("SuspenseList");
      case oe:
        return vt("Suspense");
    }
    return "";
  }
  function xl(e) {
    if (typeof e == "object" && e !== null && typeof e.environmentName == "string") {
      var r = e.environmentName;
      e = [e].slice(0), typeof e[0] == "string" ? e.splice(
        0,
        1,
        "[%s] " + e[0],
        " " + r + " "
      ) : e.splice(0, 0, "[%s] ", " " + r + " "), e.unshift(console), r = Ge.apply(console.error, e), r();
    } else console.error(e);
    return null;
  }
  function yt() {
  }
  function ki(e, r, a, i, c, h, d, y, b, x, O) {
    var F = /* @__PURE__ */ new Set();
    this.destination = null, this.flushScheduled = !1, this.resumableState = e, this.renderState = r, this.rootFormatContext = a, this.progressiveChunkSize = i === void 0 ? 12800 : i, this.status = 0, this.fatalError = null, this.pendingRootTasks = this.allPendingTasks = this.nextSegmentId = 0, this.completedRootSegment = null, this.abortableTasks = F, this.pingedTasks = [], this.clientRenderedBoundaries = [], this.completedBoundaries = [], this.partialBoundaries = [], this.trackedPostpones = null, this.onError = c === void 0 ? xl : c, this.onPostpone = x === void 0 ? yt : x, this.onAllReady = h === void 0 ? yt : h, this.onShellReady = d === void 0 ? yt : d, this.onShellError = y === void 0 ? yt : y, this.onFatalError = b === void 0 ? yt : b, this.formState = O === void 0 ? null : O;
  }
  function Wa(e, r, a, i, c, h, d, y, b, x, O, F) {
    return r = new ki(
      r,
      a,
      i,
      c,
      h,
      d,
      y,
      b,
      x,
      O,
      F
    ), a = bt(
      r,
      0,
      null,
      i,
      !1,
      !1
    ), a.parentFlushed = !0, e = Vr(
      r,
      null,
      e,
      -1,
      null,
      a,
      null,
      r.abortableTasks,
      null,
      i,
      null,
      Ei,
      null,
      !1
    ), Zt(e), r.pingedTasks.push(e), r;
  }
  var m = null;
  function ye(e, r) {
    e.pingedTasks.push(r), e.pingedTasks.length === 1 && (e.flushScheduled = e.destination !== null, qt(e));
  }
  function Cl(e, r) {
    return {
      status: 0,
      rootSegmentID: -1,
      parentFlushed: !1,
      pendingTasks: 0,
      completedSegments: [],
      byteSize: 0,
      fallbackAbortableTasks: r,
      errorDigest: null,
      contentState: kr(),
      fallbackState: kr(),
      trackedContentKeyPath: null,
      trackedFallbackNode: null
    };
  }
  function Vr(e, r, a, i, c, h, d, y, b, x, O, F, _, z) {
    e.allPendingTasks++, c === null ? e.pendingRootTasks++ : c.pendingTasks++;
    var k = {
      replay: null,
      node: a,
      childIndex: i,
      ping: function() {
        return ye(e, k);
      },
      blockedBoundary: c,
      blockedSegment: h,
      hoistableState: d,
      abortSet: y,
      keyPath: b,
      formatContext: x,
      context: O,
      treeContext: F,
      componentStack: _,
      thenableState: r,
      isFallback: z
    };
    return y.add(k), k;
  }
  function Ua(e, r, a, i, c, h, d, y, b, x, O, F, _, z) {
    e.allPendingTasks++, h === null ? e.pendingRootTasks++ : h.pendingTasks++, a.pendingTasks++;
    var k = {
      replay: a,
      node: i,
      childIndex: c,
      ping: function() {
        return ye(e, k);
      },
      blockedBoundary: h,
      blockedSegment: null,
      hoistableState: d,
      abortSet: y,
      keyPath: b,
      formatContext: x,
      context: O,
      treeContext: F,
      componentStack: _,
      thenableState: r,
      isFallback: z
    };
    return y.add(k), k;
  }
  function bt(e, r, a, i, c, h) {
    return {
      status: 0,
      id: -1,
      index: r,
      parentFlushed: !1,
      chunks: [],
      children: [],
      parentFormatContext: i,
      boundary: a,
      lastPushedText: c,
      textEmbedded: h
    };
  }
  function Zt(e) {
    var r = e.node;
    if (typeof r == "object" && r !== null)
      switch (r.$$typeof) {
        case cn:
          e.componentStack = { parent: e.componentStack, type: r.type };
      }
  }
  function Qe(e) {
    var r = {};
    return e && Object.defineProperty(r, "componentStack", {
      configurable: !0,
      enumerable: !0,
      get: function() {
        try {
          var a = "", i = e;
          do
            a += Xt(i.type), i = i.parent;
          while (i);
          var c = a;
        } catch (h) {
          c = `
Error generating stack: ` + h.message + `
` + h.stack;
        }
        return Object.defineProperty(r, "componentStack", {
          value: c
        }), c;
      }
    }), r;
  }
  function Zn(e, r, a) {
    if (e = e.onError, r = e(r, a), r == null || typeof r == "string") return r;
  }
  function Jt(e, r) {
    var a = e.onShellError, i = e.onFatalError;
    a(r), i(r), e.destination !== null ? (e.status = 3, e.destination.destroy(r)) : (e.status = 2, e.fatalError = r);
  }
  function Ya(e, r, a, i, c, h) {
    var d = r.thenableState;
    for (r.thenableState = null, ge = {}, bl = r, Rl = e, El = a, Wt = Ht = 0, Ut = -1, Gr = 0, dt = d, e = i(c, h); Yr; )
      Yr = !1, Wt = Ht = 0, Ut = -1, Gr = 0, Xr += 1, p = null, e = i(c, h);
    return Yt(), e;
  }
  function Sl(e, r, a, i, c, h, d) {
    var y = !1;
    if (h !== 0 && e.formState !== null) {
      var b = r.blockedSegment;
      if (b !== null) {
        y = !0, b = b.chunks;
        for (var x = 0; x < h; x++)
          x === d ? b.push("<!--F!-->") : b.push("<!--F-->");
      }
    }
    h = r.keyPath, r.keyPath = a, c ? (a = r.treeContext, r.treeContext = Br(a, 1, 0), $n(e, r, i, -1), r.treeContext = a) : y ? $n(e, r, i, -1) : Bn(e, r, i, -1), r.keyPath = h;
  }
  function Qt(e, r, a, i, c, h) {
    if (typeof i == "function")
      if (i.prototype && i.prototype.isReactComponent) {
        var d = c;
        if ("ref" in c) {
          d = {};
          for (var y in c)
            y !== "ref" && (d[y] = c[y]);
        }
        var b = i.defaultProps;
        if (b) {
          d === c && (d = kn({}, d, c));
          for (var x in b)
            d[x] === void 0 && (d[x] = b[x]);
        }
        c = d, d = Fa, b = i.contextType, typeof b == "object" && b !== null && (d = b._currentValue2), d = new i(c, d);
        var O = d.state !== void 0 ? d.state : null;
        if (d.updater = ka, d.props = c, d.state = O, b = { queue: [], replace: !1 }, d._reactInternals = b, h = i.contextType, d.context = typeof h == "object" && h !== null ? h._currentValue2 : Fa, h = i.getDerivedStateFromProps, typeof h == "function" && (h = h(c, O), O = h == null ? O : kn({}, O, h), d.state = O), typeof i.getDerivedStateFromProps != "function" && typeof d.getSnapshotBeforeUpdate != "function" && (typeof d.UNSAFE_componentWillMount == "function" || typeof d.componentWillMount == "function"))
          if (i = d.state, typeof d.componentWillMount == "function" && d.componentWillMount(), typeof d.UNSAFE_componentWillMount == "function" && d.UNSAFE_componentWillMount(), i !== d.state && ka.enqueueReplaceState(
            d,
            d.state,
            null
          ), b.queue !== null && 0 < b.queue.length)
            if (i = b.queue, h = b.replace, b.queue = null, b.replace = !1, h && i.length === 1)
              d.state = i[0];
            else {
              for (b = h ? i[0] : d.state, O = !0, h = h ? 1 : 0; h < i.length; h++)
                x = i[h], x = typeof x == "function" ? x.call(d, b, c, void 0) : x, x != null && (O ? (O = !1, b = kn({}, b, x)) : kn(b, x));
              d.state = b;
            }
          else b.queue = null;
        if (i = d.render(), e.status === 1) throw null;
        c = r.keyPath, r.keyPath = a, Bn(e, r, i, -1), r.keyPath = c;
      } else {
        if (i = Ya(e, r, a, i, c, void 0), e.status === 1) throw null;
        Sl(
          e,
          r,
          a,
          i,
          Ht !== 0,
          Wt,
          Ut
        );
      }
    else if (typeof i == "string")
      if (d = r.blockedSegment, d === null)
        d = c.children, b = r.formatContext, O = r.keyPath, r.formatContext = oa(b, i, c), r.keyPath = a, $n(e, r, d, -1), r.formatContext = b, r.keyPath = O;
      else {
        O = se(
          d.chunks,
          i,
          c,
          e.resumableState,
          e.renderState,
          r.hoistableState,
          r.formatContext,
          d.lastPushedText,
          r.isFallback
        ), d.lastPushedText = !1, b = r.formatContext, h = r.keyPath, r.formatContext = oa(b, i, c), r.keyPath = a, $n(e, r, O, -1), r.formatContext = b, r.keyPath = h;
        n: {
          switch (r = d.chunks, e = e.resumableState, i) {
            case "title":
            case "style":
            case "script":
            case "area":
            case "base":
            case "br":
            case "col":
            case "embed":
            case "hr":
            case "img":
            case "input":
            case "keygen":
            case "link":
            case "meta":
            case "param":
            case "source":
            case "track":
            case "wbr":
              break n;
            case "body":
              if (1 >= b.insertionMode) {
                e.hasBody = !0;
                break n;
              }
              break;
            case "html":
              if (b.insertionMode === 0) {
                e.hasHtml = !0;
                break n;
              }
          }
          r.push(Ae(i));
        }
        d.lastPushedText = !1;
      }
    else {
      switch (i) {
        case hi:
        case fi:
        case fe:
        case ze:
        case kt:
          i = r.keyPath, r.keyPath = a, Bn(e, r, c.children, -1), r.keyPath = i;
          return;
        case oi:
          c.mode !== "hidden" && (i = r.keyPath, r.keyPath = a, Bn(e, r, c.children, -1), r.keyPath = i);
          return;
        case Fe:
          i = r.keyPath, r.keyPath = a, Bn(e, r, c.children, -1), r.keyPath = i;
          return;
        case ci:
          throw Error(I(343));
        case oe:
          n: if (r.replay !== null) {
            i = r.keyPath, r.keyPath = a, a = c.children;
            try {
              $n(e, r, a, -1);
            } finally {
              r.keyPath = i;
            }
          } else {
            i = r.keyPath;
            var F = r.blockedBoundary, _ = r.hoistableState;
            h = r.blockedSegment, x = c.fallback, c = c.children;
            var z = /* @__PURE__ */ new Set();
            y = Cl(e, z), e.trackedPostpones !== null && (y.trackedContentKeyPath = a);
            var k = bt(
              e,
              h.chunks.length,
              y,
              r.formatContext,
              !1,
              !1
            );
            h.children.push(k), h.lastPushedText = !1;
            var B = bt(
              e,
              0,
              null,
              r.formatContext,
              !1,
              !1
            );
            if (B.parentFlushed = !0, e.trackedPostpones !== null) {
              d = [a[0], "Suspense Fallback", a[2]], b = [d[1], d[2], [], null], e.trackedPostpones.workingMap.set(d, b), y.trackedFallbackNode = b, r.blockedSegment = k, r.keyPath = d, k.status = 6;
              try {
                $n(e, r, x, -1), Mr(
                  k.chunks,
                  e.renderState,
                  k.lastPushedText,
                  k.textEmbedded
                ), k.status = 1;
              } catch (K) {
                throw k.status = e.status === 1 ? 3 : 4, K;
              } finally {
                r.blockedSegment = h, r.keyPath = i;
              }
              r = Vr(
                e,
                null,
                c,
                -1,
                y,
                B,
                y.contentState,
                r.abortSet,
                a,
                r.formatContext,
                r.context,
                r.treeContext,
                r.componentStack,
                r.isFallback
              ), Zt(r), e.pingedTasks.push(r);
            } else {
              r.blockedBoundary = y, r.hoistableState = y.contentState, r.blockedSegment = B, r.keyPath = a, B.status = 6;
              try {
                if ($n(e, r, c, -1), Mr(
                  B.chunks,
                  e.renderState,
                  B.lastPushedText,
                  B.textEmbedded
                ), B.status = 1, me(y, B), y.pendingTasks === 0 && y.status === 0) {
                  y.status = 1;
                  break n;
                }
              } catch (K) {
                y.status = 4, e.status === 1 ? (B.status = 3, d = e.fatalError) : (B.status = 4, d = K), b = Qe(r.componentStack), O = Zn(
                  e,
                  d,
                  b
                ), y.errorDigest = O, Kr(e, y);
              } finally {
                r.blockedBoundary = F, r.hoistableState = _, r.blockedSegment = h, r.keyPath = i;
              }
              r = Vr(
                e,
                null,
                x,
                -1,
                F,
                k,
                y.fallbackState,
                z,
                [a[0], "Suspense Fallback", a[2]],
                r.formatContext,
                r.context,
                r.treeContext,
                r.componentStack,
                !0
              ), Zt(r), e.pingedTasks.push(r);
            }
          }
          return;
      }
      if (typeof i == "object" && i !== null)
        switch (i.$$typeof) {
          case In:
            if ("ref" in c)
              for (k in d = {}, c)
                k !== "ref" && (d[k] = c[k]);
            else d = c;
            i = Ya(
              e,
              r,
              a,
              i.render,
              d,
              h
            ), Sl(
              e,
              r,
              a,
              i,
              Ht !== 0,
              Wt,
              Ut
            );
            return;
          case ct:
            Qt(e, r, a, i.type, c, h);
            return;
          case N:
          case G:
            if (b = c.children, d = r.keyPath, c = c.value, O = i._currentValue2, i._currentValue2 = c, h = Xe, Xe = i = {
              parent: h,
              depth: h === null ? 0 : h.depth + 1,
              context: i,
              parentValue: O,
              value: c
            }, r.context = i, r.keyPath = a, Bn(e, r, b, -1), e = Xe, e === null) throw Error(I(403));
            e.context._currentValue2 = e.parentValue, e = Xe = e.parent, r.context = e, r.keyPath = d;
            return;
          case P:
            c = c.children, i = c(i._context._currentValue2), c = r.keyPath, r.keyPath = a, Bn(e, r, i, -1), r.keyPath = c;
            return;
          case Cr:
            if (d = i._init, i = d(i._payload), e.status === 1) throw null;
            Qt(e, r, a, i, c, h);
            return;
        }
      throw Error(
        I(130, i == null ? i : typeof i, "")
      );
    }
  }
  function Vt(e, r, a, i, c) {
    var h = r.replay, d = r.blockedBoundary, y = bt(
      e,
      0,
      null,
      r.formatContext,
      !1,
      !1
    );
    y.id = a, y.parentFlushed = !0;
    try {
      r.replay = null, r.blockedSegment = y, $n(e, r, i, c), y.status = 1, d === null ? e.completedRootSegment = y : (me(d, y), d.parentFlushed && e.partialBoundaries.push(d));
    } finally {
      r.replay = h, r.blockedSegment = null;
    }
  }
  function Bn(e, r, a, i) {
    r.replay !== null && typeof r.replay.slots == "number" ? Vt(e, r, r.replay.slots, a, i) : (r.node = a, r.childIndex = i, a = r.componentStack, Zt(r), Pl(e, r), r.componentStack = a);
  }
  function Pl(e, r) {
    var a = r.node, i = r.childIndex;
    if (a !== null) {
      if (typeof a == "object") {
        switch (a.$$typeof) {
          case cn:
            var c = a.type, h = a.key, d = a.props;
            a = d.ref;
            var y = a !== void 0 ? a : null, b = Dr(c), x = h ?? (i === -1 ? 0 : i);
            if (h = [r.keyPath, b, x], r.replay !== null)
              n: {
                var O = r.replay;
                for (i = O.nodes, a = 0; a < i.length; a++) {
                  var F = i[a];
                  if (x === F[1]) {
                    if (F.length === 4) {
                      if (b !== null && b !== F[0])
                        throw Error(
                          I(490, F[0], b)
                        );
                      var _ = F[2];
                      b = F[3], x = r.node, r.replay = {
                        nodes: _,
                        slots: b,
                        pendingTasks: 1
                      };
                      try {
                        if (Qt(e, r, h, c, d, y), r.replay.pendingTasks === 1 && 0 < r.replay.nodes.length)
                          throw Error(I(488));
                        r.replay.pendingTasks--;
                      } catch (X) {
                        if (typeof X == "object" && X !== null && (X === Ze || typeof X.then == "function"))
                          throw r.node === x && (r.replay = O), X;
                        r.replay.pendingTasks--, d = Qe(r.componentStack), h = r.blockedBoundary, c = X, d = Zn(e, c, d), Kt(
                          e,
                          h,
                          _,
                          b,
                          c,
                          d
                        );
                      }
                      r.replay = O;
                    } else {
                      if (c !== oe)
                        throw Error(
                          I(
                            490,
                            "Suspense",
                            Dr(c) || "Unknown"
                          )
                        );
                      e: {
                        O = void 0, c = F[5], y = F[2], b = F[3], x = F[4] === null ? [] : F[4][2], F = F[4] === null ? null : F[4][3];
                        var z = r.keyPath, k = r.replay, B = r.blockedBoundary, K = r.hoistableState, U = d.children;
                        d = d.fallback;
                        var $ = /* @__PURE__ */ new Set(), W = Cl(
                          e,
                          $
                        );
                        W.parentFlushed = !0, W.rootSegmentID = c, r.blockedBoundary = W, r.hoistableState = W.contentState, r.keyPath = h, r.replay = {
                          nodes: y,
                          slots: b,
                          pendingTasks: 1
                        };
                        try {
                          if ($n(e, r, U, -1), r.replay.pendingTasks === 1 && 0 < r.replay.nodes.length)
                            throw Error(I(488));
                          if (r.replay.pendingTasks--, W.pendingTasks === 0 && W.status === 0) {
                            W.status = 1, e.completedBoundaries.push(W);
                            break e;
                          }
                        } catch (X) {
                          W.status = 4, _ = Qe(r.componentStack), O = Zn(
                            e,
                            X,
                            _
                          ), W.errorDigest = O, r.replay.pendingTasks--, e.clientRenderedBoundaries.push(
                            W
                          );
                        } finally {
                          r.blockedBoundary = B, r.hoistableState = K, r.replay = k, r.keyPath = z;
                        }
                        r = Ua(
                          e,
                          null,
                          {
                            nodes: x,
                            slots: F,
                            pendingTasks: 0
                          },
                          d,
                          -1,
                          B,
                          W.fallbackState,
                          $,
                          [h[0], "Suspense Fallback", h[2]],
                          r.formatContext,
                          r.context,
                          r.treeContext,
                          r.componentStack,
                          !0
                        ), Zt(r), e.pingedTasks.push(r);
                      }
                    }
                    i.splice(a, 1);
                    break n;
                  }
                }
              }
            else Qt(e, r, h, c, d, y);
            return;
          case It:
            throw Error(I(257));
          case Cr:
            if (_ = a._init, a = _(a._payload), e.status === 1) throw null;
            Bn(e, r, a, i);
            return;
        }
        if (Pr(a)) {
          Fl(e, r, a, i);
          return;
        }
        if (a === null || typeof a != "object" ? _ = null : (_ = Sr && a[Sr] || a["@@iterator"], _ = typeof _ == "function" ? _ : null), _ && (_ = _.call(a))) {
          if (a = _.next(), !a.done) {
            d = [];
            do
              d.push(a.value), a = _.next();
            while (!a.done);
            Fl(e, r, d, i);
          }
          return;
        }
        if (typeof a.then == "function")
          return r.thenableState = null, Bn(e, r, za(a), i);
        if (a.$$typeof === G)
          return Bn(
            e,
            r,
            a._currentValue2,
            i
          );
        throw i = Object.prototype.toString.call(a), Error(
          I(
            31,
            i === "[object Object]" ? "object with keys {" + Object.keys(a).join(", ") + "}" : i
          )
        );
      }
      typeof a == "string" ? (i = r.blockedSegment, i !== null && (i.lastPushedText = Sa(
        i.chunks,
        a,
        e.renderState,
        i.lastPushedText
      ))) : (typeof a == "number" || typeof a == "bigint") && (i = r.blockedSegment, i !== null && (i.lastPushedText = Sa(
        i.chunks,
        "" + a,
        e.renderState,
        i.lastPushedText
      )));
    }
  }
  function Fl(e, r, a, i) {
    var c = r.keyPath;
    if (i !== -1 && (r.keyPath = [r.keyPath, "Fragment", i], r.replay !== null)) {
      for (var h = r.replay, d = h.nodes, y = 0; y < d.length; y++) {
        var b = d[y];
        if (b[1] === i) {
          i = b[2], b = b[3], r.replay = { nodes: i, slots: b, pendingTasks: 1 };
          try {
            if (Fl(e, r, a, -1), r.replay.pendingTasks === 1 && 0 < r.replay.nodes.length)
              throw Error(I(488));
            r.replay.pendingTasks--;
          } catch (F) {
            if (typeof F == "object" && F !== null && (F === Ze || typeof F.then == "function"))
              throw F;
            r.replay.pendingTasks--, a = Qe(r.componentStack);
            var x = r.blockedBoundary, O = F;
            a = Zn(e, O, a), Kt(
              e,
              x,
              i,
              b,
              O,
              a
            );
          }
          r.replay = h, d.splice(y, 1);
          break;
        }
      }
      r.keyPath = c;
      return;
    }
    if (h = r.treeContext, d = a.length, r.replay !== null && (y = r.replay.slots, y !== null && typeof y == "object")) {
      for (i = 0; i < d; i++)
        b = a[i], r.treeContext = Br(h, d, i), x = y[i], typeof x == "number" ? (Vt(e, r, x, b, i), delete y[i]) : $n(e, r, b, i);
      r.treeContext = h, r.keyPath = c;
      return;
    }
    for (y = 0; y < d; y++)
      i = a[y], r.treeContext = Br(h, d, y), $n(e, r, i, y);
    r.treeContext = h, r.keyPath = c;
  }
  function Kr(e, r) {
    e = e.trackedPostpones, e !== null && (r = r.trackedContentKeyPath, r !== null && (r = e.workingMap.get(r), r !== void 0 && (r.length = 4, r[2] = [], r[3] = null)));
  }
  function Ga(e, r, a) {
    return Ua(
      e,
      a,
      r.replay,
      r.node,
      r.childIndex,
      r.blockedBoundary,
      r.hoistableState,
      r.abortSet,
      r.keyPath,
      r.formatContext,
      r.context,
      r.treeContext,
      r.componentStack,
      r.isFallback
    );
  }
  function Xa(e, r, a) {
    var i = r.blockedSegment, c = bt(
      e,
      i.chunks.length,
      null,
      r.formatContext,
      i.lastPushedText,
      !0
    );
    return i.children.push(c), i.lastPushedText = !1, Vr(
      e,
      a,
      r.node,
      r.childIndex,
      r.blockedBoundary,
      c,
      r.hoistableState,
      r.abortSet,
      r.keyPath,
      r.formatContext,
      r.context,
      r.treeContext,
      r.componentStack,
      r.isFallback
    );
  }
  function $n(e, r, a, i) {
    var c = r.formatContext, h = r.context, d = r.keyPath, y = r.treeContext, b = r.componentStack, x = r.blockedSegment;
    if (x === null)
      try {
        return Bn(e, r, a, i);
      } catch (_) {
        if (Yt(), a = _ === Ze ? Wr() : _, typeof a == "object" && a !== null) {
          if (typeof a.then == "function") {
            i = gt(), e = Ga(e, r, i).ping, a.then(e, e), r.formatContext = c, r.context = h, r.keyPath = d, r.treeContext = y, r.componentStack = b, Oe(h);
            return;
          }
          if (a.message === "Maximum call stack size exceeded") {
            a = gt(), a = Ga(e, r, a), e.pingedTasks.push(a), r.formatContext = c, r.context = h, r.keyPath = d, r.treeContext = y, r.componentStack = b, Oe(h);
            return;
          }
        }
      }
    else {
      var O = x.children.length, F = x.chunks.length;
      try {
        return Bn(e, r, a, i);
      } catch (_) {
        if (Yt(), x.children.length = O, x.chunks.length = F, a = _ === Ze ? Wr() : _, typeof a == "object" && a !== null) {
          if (typeof a.then == "function") {
            i = gt(), e = Xa(e, r, i).ping, a.then(e, e), r.formatContext = c, r.context = h, r.keyPath = d, r.treeContext = y, r.componentStack = b, Oe(h);
            return;
          }
          if (a.message === "Maximum call stack size exceeded") {
            a = gt(), a = Xa(e, r, a), e.pingedTasks.push(a), r.formatContext = c, r.context = h, r.keyPath = d, r.treeContext = y, r.componentStack = b, Oe(h);
            return;
          }
        }
      }
    }
    throw r.formatContext = c, r.context = h, r.keyPath = d, r.treeContext = y, Oe(h), a;
  }
  function Mi(e) {
    var r = e.blockedBoundary;
    e = e.blockedSegment, e !== null && (e.status = 3, mt(this, r, e));
  }
  function Kt(e, r, a, i, c, h) {
    for (var d = 0; d < a.length; d++) {
      var y = a[d];
      if (y.length === 4)
        Kt(
          e,
          r,
          y[2],
          y[3],
          c,
          h
        );
      else {
        y = y[5];
        var b = e, x = h, O = Cl(b, /* @__PURE__ */ new Set());
        O.parentFlushed = !0, O.rootSegmentID = y, O.status = 4, O.errorDigest = x, O.parentFlushed && b.clientRenderedBoundaries.push(O);
      }
    }
    if (a.length = 0, i !== null) {
      if (r === null) throw Error(I(487));
      if (r.status !== 4 && (r.status = 4, r.errorDigest = h, r.parentFlushed && e.clientRenderedBoundaries.push(r)), typeof i == "object") for (var F in i) delete i[F];
    }
  }
  function Za(e, r, a) {
    var i = e.blockedBoundary, c = e.blockedSegment;
    if (c !== null) {
      if (c.status === 6) return;
      c.status = 3;
    }
    if (i === null) {
      if (i = {}, r.status !== 2 && r.status !== 3) {
        if (e = e.replay, e === null) {
          Zn(r, a, i), Jt(r, a);
          return;
        }
        e.pendingTasks--, e.pendingTasks === 0 && 0 < e.nodes.length && (i = Zn(r, a, i), Kt(
          r,
          null,
          e.nodes,
          e.slots,
          a,
          i
        )), r.pendingRootTasks--, r.pendingRootTasks === 0 && Ve(r);
      }
    } else
      i.pendingTasks--, e = Qe(e.componentStack), i.status !== 4 && (i.status = 4, e = Zn(r, a, e), i.status = 4, i.errorDigest = e, Kr(r, i), i.parentFlushed && r.clientRenderedBoundaries.push(i)), i.fallbackAbortableTasks.forEach(function(h) {
        return Za(h, r, a);
      }), i.fallbackAbortableTasks.clear();
    r.allPendingTasks--, r.allPendingTasks === 0 && Ke(r);
  }
  function Al(e, r) {
    try {
      var a = e.renderState, i = a.onHeaders;
      if (i) {
        var c = a.headers;
        if (c) {
          a.headers = null;
          var h = c.preconnects;
          if (c.fontPreloads && (h && (h += ", "), h += c.fontPreloads), c.highImagePreloads && (h && (h += ", "), h += c.highImagePreloads), !r) {
            var d = a.styles.values(), y = d.next();
            n: for (; 0 < c.remainingCapacity && !y.done; y = d.next())
              for (var b = y.value.sheets.values(), x = b.next(); 0 < c.remainingCapacity && !x.done; x = b.next()) {
                var O = x.value, F = O.props, _ = F.href, z = O.props, k = Bt(z.href, "style", {
                  crossOrigin: z.crossOrigin,
                  integrity: z.integrity,
                  nonce: z.nonce,
                  type: z.type,
                  fetchPriority: z.fetchPriority,
                  referrerPolicy: z.referrerPolicy,
                  media: z.media
                });
                if (0 <= (c.remainingCapacity -= k.length + 2))
                  a.resets.style[_] = Kn, h && (h += ", "), h += k, a.resets.style[_] = typeof F.crossOrigin == "string" || typeof F.integrity == "string" ? [F.crossOrigin, F.integrity] : Kn;
                else break n;
              }
          }
          i(h ? { Link: h } : {});
        }
      }
    } catch (B) {
      Zn(e, B, {});
    }
  }
  function Ve(e) {
    e.trackedPostpones === null && Al(e, !0), e.onShellError = yt, e = e.onShellReady, e();
  }
  function Ke(e) {
    Al(
      e,
      e.trackedPostpones === null ? !0 : e.completedRootSegment === null || e.completedRootSegment.status !== 5
    ), e = e.onAllReady, e();
  }
  function me(e, r) {
    if (r.chunks.length === 0 && r.children.length === 1 && r.children[0].boundary === null && r.children[0].id === -1) {
      var a = r.children[0];
      a.id = r.id, a.parentFlushed = !0, a.status === 1 && me(e, a);
    } else e.completedSegments.push(r);
  }
  function mt(e, r, a) {
    if (r === null) {
      if (a !== null && a.parentFlushed) {
        if (e.completedRootSegment !== null)
          throw Error(I(389));
        e.completedRootSegment = a;
      }
      e.pendingRootTasks--, e.pendingRootTasks === 0 && Ve(e);
    } else
      r.pendingTasks--, r.status !== 4 && (r.pendingTasks === 0 ? (r.status === 0 && (r.status = 1), a !== null && a.parentFlushed && a.status === 1 && me(r, a), r.parentFlushed && e.completedBoundaries.push(r), r.status === 1 && (r.fallbackAbortableTasks.forEach(Mi, e), r.fallbackAbortableTasks.clear())) : a !== null && a.parentFlushed && a.status === 1 && (me(r, a), r.completedSegments.length === 1 && r.parentFlushed && e.partialBoundaries.push(r)));
    e.allPendingTasks--, e.allPendingTasks === 0 && Ke(e);
  }
  function qt(e) {
    if (e.status !== 3 && e.status !== 2) {
      var r = Xe, a = He.H;
      He.H = Zr;
      var i = He.A;
      He.A = Ii;
      var c = m;
      m = e;
      var h = Jr;
      Jr = e.resumableState;
      try {
        var d = e.pingedTasks, y;
        for (y = 0; y < d.length; y++) {
          var b = d[y], x = e, O = b.blockedSegment;
          if (O === null) {
            var F = x;
            if (b.replay.pendingTasks !== 0) {
              Oe(b.context);
              try {
                if (typeof b.replay.slots == "number" ? Vt(
                  F,
                  b,
                  b.replay.slots,
                  b.node,
                  b.childIndex
                ) : Pl(F, b), b.replay.pendingTasks === 1 && 0 < b.replay.nodes.length)
                  throw Error(I(488));
                b.replay.pendingTasks--, b.abortSet.delete(b), mt(F, b.blockedBoundary, null);
              } catch (un) {
                Yt();
                var _ = un === Ze ? Wr() : un;
                if (typeof _ == "object" && _ !== null && typeof _.then == "function") {
                  var z = b.ping;
                  _.then(z, z), b.thenableState = gt();
                } else {
                  b.replay.pendingTasks--, b.abortSet.delete(b);
                  var k = Qe(b.componentStack);
                  x = void 0;
                  var B = F, K = b.blockedBoundary, U = F.status === 1 ? F.fatalError : _, $ = b.replay.nodes, W = b.replay.slots;
                  x = Zn(
                    B,
                    U,
                    k
                  ), Kt(
                    B,
                    K,
                    $,
                    W,
                    U,
                    x
                  ), F.pendingRootTasks--, F.pendingRootTasks === 0 && Ve(F), F.allPendingTasks--, F.allPendingTasks === 0 && Ke(F);
                }
              } finally {
              }
            }
          } else if (F = void 0, B = O, B.status === 0) {
            B.status = 6, Oe(b.context);
            var X = B.children.length, Z = B.chunks.length;
            try {
              Pl(x, b), Mr(
                B.chunks,
                x.renderState,
                B.lastPushedText,
                B.textEmbedded
              ), b.abortSet.delete(b), B.status = 1, mt(x, b.blockedBoundary, B);
            } catch (un) {
              Yt(), B.children.length = X, B.chunks.length = Z;
              var vn = un === Ze ? Wr() : x.status === 1 ? x.fatalError : un;
              if (typeof vn == "object" && vn !== null && typeof vn.then == "function") {
                B.status = 0, b.thenableState = gt();
                var Jn = b.ping;
                vn.then(Jn, Jn);
              } else {
                var Y = Qe(b.componentStack);
                b.abortSet.delete(b), B.status = 4;
                var tn = b.blockedBoundary;
                F = Zn(
                  x,
                  vn,
                  Y
                ), tn === null ? Jt(x, vn) : (tn.pendingTasks--, tn.status !== 4 && (tn.status = 4, tn.errorDigest = F, Kr(x, tn), tn.parentFlushed && x.clientRenderedBoundaries.push(
                  tn
                ))), x.allPendingTasks--, x.allPendingTasks === 0 && Ke(x);
              }
            } finally {
            }
          }
        }
        d.splice(0, y), e.destination !== null && qe(e, e.destination);
      } catch (un) {
        Zn(e, un, {}), Jt(e, un);
      } finally {
        Jr = h, He.H = a, He.A = i, a === Zr && Oe(r), m = c;
      }
    }
  }
  function Rt(e, r, a, i) {
    switch (a.parentFlushed = !0, a.status) {
      case 0:
        a.id = e.nextSegmentId++;
      case 5:
        return i = a.id, a.lastPushedText = !1, a.textEmbedded = !1, e = e.renderState, r.push('<template id="'), r.push(e.placeholderPrefix), e = i.toString(16), r.push(e), r.push('"></template>');
      case 1:
        a.status = 2;
        var c = !0, h = a.chunks, d = 0;
        a = a.children;
        for (var y = 0; y < a.length; y++) {
          for (c = a[y]; d < c.index; d++)
            r.push(h[d]);
          c = pt(e, r, c, i);
        }
        for (; d < h.length - 1; d++)
          r.push(h[d]);
        return d < h.length && (c = r.push(h[d])), c;
      default:
        throw Error(I(390));
    }
  }
  function pt(e, r, a, i) {
    var c = a.boundary;
    if (c === null)
      return Rt(e, r, a, i);
    if (c.parentFlushed = !0, c.status === 4)
      return e.renderState.generateStaticMarkup || (c = c.errorDigest, r.push("<!--$!-->"), r.push("<template"), c && (r.push(' data-dgst="'), c = R(c), r.push(c), r.push('"')), r.push("></template>")), Rt(e, r, a, i), e = e.renderState.generateStaticMarkup ? !0 : r.push("<!--/$-->"), e;
    if (c.status !== 1)
      return c.status === 0 && (c.rootSegmentID = e.nextSegmentId++), 0 < c.completedSegments.length && e.partialBoundaries.push(c), gl(
        r,
        e.renderState,
        c.rootSegmentID
      ), i && (c = c.fallbackState, c.styles.forEach(yl, i), c.stylesheets.forEach(
        on,
        i
      )), Rt(e, r, a, i), r.push("<!--/$-->");
    if (c.byteSize > e.progressiveChunkSize)
      return c.rootSegmentID = e.nextSegmentId++, e.completedBoundaries.push(c), gl(
        r,
        e.renderState,
        c.rootSegmentID
      ), Rt(e, r, a, i), r.push("<!--/$-->");
    if (i && (a = c.contentState, a.styles.forEach(yl, i), a.stylesheets.forEach(on, i)), e.renderState.generateStaticMarkup || r.push("<!--$-->"), a = c.completedSegments, a.length !== 1) throw Error(I(391));
    return pt(e, r, a[0], i), e = e.renderState.generateStaticMarkup ? !0 : r.push("<!--/$-->"), e;
  }
  function mr(e, r, a, i) {
    return di(
      r,
      e.renderState,
      a.parentFormatContext,
      a.id
    ), pt(e, r, a, i), ba(r, a.parentFormatContext);
  }
  function Ja(e, r, a) {
    for (var i = a.completedSegments, c = 0; c < i.length; c++)
      Et(
        e,
        r,
        a,
        i[c]
      );
    i.length = 0, Ir(
      r,
      a.contentState,
      e.renderState
    ), i = e.resumableState, e = e.renderState, c = a.rootSegmentID, a = a.contentState;
    var h = e.stylesToHoist;
    return e.stylesToHoist = !1, r.push(e.startInlineScript), h ? (i.instructions & 2) === 0 ? (i.instructions |= 10, r.push(
      `$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RM=new Map;
$RR=function(t,u,y){function v(n){this._p=null;n()}for(var w=$RC,p=$RM,q=new Map,r=document,g,b,h=r.querySelectorAll("link[data-precedence],style[data-precedence]"),x=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?x.push(b):("LINK"===b.tagName&&p.set(b.getAttribute("href"),b),q.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var e=y[b++];if(!e){k=!1;b=0;continue}var c=!1,m=0;var d=e[m++];if(a=p.get(d)){var f=a._p;c=!0}else{a=r.createElement("link");a.href=
d;a.rel="stylesheet";for(a.dataset.precedence=l=e[m++];f=e[m++];)a.setAttribute(f,e[m++]);f=a._p=new Promise(function(n,z){a.onload=v.bind(a,n);a.onerror=v.bind(a,z)});p.set(d,a)}d=a.getAttribute("media");!f||d&&!matchMedia(d).matches||h.push(f);if(c)continue}else{a=x[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=q.get(l)||g;c===g&&(g=a);q.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=r.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(w.bind(null,
t,u,""),w.bind(null,t,u,"Resource failed to load"))};$RR("`
    )) : (i.instructions & 8) === 0 ? (i.instructions |= 8, r.push(
      `$RM=new Map;
$RR=function(t,u,y){function v(n){this._p=null;n()}for(var w=$RC,p=$RM,q=new Map,r=document,g,b,h=r.querySelectorAll("link[data-precedence],style[data-precedence]"),x=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?x.push(b):("LINK"===b.tagName&&p.set(b.getAttribute("href"),b),q.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var e=y[b++];if(!e){k=!1;b=0;continue}var c=!1,m=0;var d=e[m++];if(a=p.get(d)){var f=a._p;c=!0}else{a=r.createElement("link");a.href=
d;a.rel="stylesheet";for(a.dataset.precedence=l=e[m++];f=e[m++];)a.setAttribute(f,e[m++]);f=a._p=new Promise(function(n,z){a.onload=v.bind(a,n);a.onerror=v.bind(a,z)});p.set(d,a)}d=a.getAttribute("media");!f||d&&!matchMedia(d).matches||h.push(f);if(c)continue}else{a=x[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=q.get(l)||g;c===g&&(g=a);q.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=r.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(w.bind(null,
t,u,""),w.bind(null,t,u,"Resource failed to load"))};$RR("`
    )) : r.push('$RR("') : (i.instructions & 2) === 0 ? (i.instructions |= 2, r.push(
      '$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RC("'
    )) : r.push('$RC("'), i = c.toString(16), r.push(e.boundaryPrefix), r.push(i), r.push('","'), r.push(e.segmentPrefix), r.push(i), h ? (r.push('",'), pn(r, a)) : r.push('"'), a = r.push(")<\/script>"), ya(r, e) && a;
  }
  function Et(e, r, a, i) {
    if (i.status === 2) return !0;
    var c = a.contentState, h = i.id;
    if (h === -1) {
      if ((i.id = a.rootSegmentID) === -1)
        throw Error(I(392));
      return mr(e, r, i, c);
    }
    return h === a.rootSegmentID ? mr(e, r, i, c) : (mr(e, r, i, c), a = e.resumableState, e = e.renderState, r.push(e.startInlineScript), (a.instructions & 1) === 0 ? (a.instructions |= 1, r.push(
      '$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'
    )) : r.push('$RS("'), r.push(e.segmentPrefix), h = h.toString(16), r.push(h), r.push('","'), r.push(e.placeholderPrefix), r.push(h), r = r.push('")<\/script>'), r);
  }
  function qe(e, r) {
    try {
      if (!(0 < e.pendingRootTasks)) {
        var a, i = e.completedRootSegment;
        if (i !== null) {
          if (i.status === 5) return;
          var c = e.renderState, h = c.htmlChunks, d = c.headChunks, y;
          if (h) {
            for (y = 0; y < h.length; y++)
              r.push(h[y]);
            if (d)
              for (y = 0; y < d.length; y++)
                r.push(d[y]);
            else {
              var b = fn("head");
              r.push(b), r.push(">");
            }
          } else if (d)
            for (y = 0; y < d.length; y++)
              r.push(d[y]);
          var x = c.charsetChunks;
          for (y = 0; y < x.length; y++)
            r.push(x[y]);
          x.length = 0, c.preconnects.forEach(qn, r), c.preconnects.clear();
          var O = c.viewportChunks;
          for (y = 0; y < O.length; y++)
            r.push(O[y]);
          O.length = 0, c.fontPreloads.forEach(qn, r), c.fontPreloads.clear(), c.highImagePreloads.forEach(qn, r), c.highImagePreloads.clear(), c.styles.forEach(V, r);
          var F = c.importMapChunks;
          for (y = 0; y < F.length; y++)
            r.push(F[y]);
          F.length = 0, c.bootstrapScripts.forEach(qn, r), c.scripts.forEach(qn, r), c.scripts.clear(), c.bulkPreloads.forEach(qn, r), c.bulkPreloads.clear();
          var _ = c.hoistableChunks;
          for (y = 0; y < _.length; y++)
            r.push(_[y]);
          if (_.length = 0, h && d === null) {
            var z = Ae("head");
            r.push(z);
          }
          pt(e, r, i, null), e.completedRootSegment = null, ya(r, e.renderState);
        }
        var k = e.renderState;
        i = 0;
        var B = k.viewportChunks;
        for (i = 0; i < B.length; i++)
          r.push(B[i]);
        B.length = 0, k.preconnects.forEach(qn, r), k.preconnects.clear(), k.fontPreloads.forEach(qn, r), k.fontPreloads.clear(), k.highImagePreloads.forEach(
          qn,
          r
        ), k.highImagePreloads.clear(), k.styles.forEach(Lt, r), k.scripts.forEach(qn, r), k.scripts.clear(), k.bulkPreloads.forEach(qn, r), k.bulkPreloads.clear();
        var K = k.hoistableChunks;
        for (i = 0; i < K.length; i++)
          r.push(K[i]);
        K.length = 0;
        var U = e.clientRenderedBoundaries;
        for (a = 0; a < U.length; a++) {
          var $ = U[a];
          k = r;
          var W = e.resumableState, X = e.renderState, Z = $.rootSegmentID, vn = $.errorDigest;
          k.push(X.startInlineScript), (W.instructions & 4) === 0 ? (W.instructions |= 4, k.push(
            '$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("'
          )) : k.push('$RX("'), k.push(X.boundaryPrefix);
          var Jn = Z.toString(16);
          if (k.push(Jn), k.push('"'), vn) {
            k.push(",");
            var Y = mn(
              vn || ""
            );
            k.push(Y);
          }
          var tn = k.push(")<\/script>");
          if (!tn) {
            e.destination = null, a++, U.splice(0, a);
            return;
          }
        }
        U.splice(0, a);
        var un = e.completedBoundaries;
        for (a = 0; a < un.length; a++)
          if (!Ja(e, r, un[a])) {
            e.destination = null, a++, un.splice(0, a);
            return;
          }
        un.splice(0, a);
        var ln = e.partialBoundaries;
        for (a = 0; a < ln.length; a++) {
          var ne = ln[a];
          n: {
            U = e, $ = r;
            var Pn = ne.completedSegments;
            for (tn = 0; tn < Pn.length; tn++)
              if (!Et(
                U,
                $,
                ne,
                Pn[tn]
              )) {
                tn++, Pn.splice(0, tn);
                var ee = !1;
                break n;
              }
            Pn.splice(0, tn), ee = Ir(
              $,
              ne.contentState,
              U.renderState
            );
          }
          if (!ee) {
            e.destination = null, a++, ln.splice(0, a);
            return;
          }
        }
        ln.splice(0, a);
        var Fn = e.completedBoundaries;
        for (a = 0; a < Fn.length; a++)
          if (!Ja(e, r, Fn[a])) {
            e.destination = null, a++, Fn.splice(0, a);
            return;
          }
        Fn.splice(0, a);
      }
    } finally {
      e.allPendingTasks === 0 && e.pingedTasks.length === 0 && e.clientRenderedBoundaries.length === 0 && e.completedBoundaries.length === 0 && (e.flushScheduled = !1, a = e.resumableState, a.hasBody && (ln = Ae("body"), r.push(ln)), a.hasHtml && (a = Ae("html"), r.push(a)), e.status = 3, r.push(null), e.destination = null);
    }
  }
  function pe(e) {
    if (e.flushScheduled === !1 && e.pingedTasks.length === 0 && e.destination !== null) {
      e.flushScheduled = !0;
      var r = e.destination;
      r ? qe(e, r) : e.flushScheduled = !1;
    }
  }
  function qr(e, r) {
    if (e.status === 2)
      e.status = 3, r.destroy(e.fatalError);
    else if (e.status !== 3 && e.destination === null) {
      e.destination = r;
      try {
        qe(e, r);
      } catch (a) {
        Zn(e, a, {}), Jt(e, a);
      }
    }
  }
  function Qa(e, r) {
    e.status === 0 && (e.status = 1);
    try {
      var a = e.abortableTasks;
      if (0 < a.size) {
        var i = r === void 0 ? Error(I(432)) : typeof r == "object" && r !== null && typeof r.then == "function" ? Error(I(530)) : r;
        e.fatalError = i, a.forEach(function(c) {
          return Za(c, e, i);
        }), a.clear();
      }
      e.destination !== null && qe(e, e.destination);
    } catch (c) {
      Zn(e, c, {}), Jt(e, c);
    }
  }
  function je() {
  }
  function jt(e, r, a, i) {
    var c = !1, h = null, d = "", y = !1;
    if (r = si(r ? r.identifierPrefix : void 0), e = Wa(
      e,
      r,
      Ri(r, a),
      wn(0, null, 0),
      1 / 0,
      je,
      void 0,
      function() {
        y = !0;
      },
      void 0,
      void 0,
      void 0
    ), e.flushScheduled = e.destination !== null, e.trackedPostpones !== null ? qt(e) : (qt(e), Al(e, e.pendingRootTasks === 0)), Qa(e, i), qr(e, {
      push: function(b) {
        return b !== null && (d += b), !0;
      },
      destroy: function(b) {
        c = !0, h = b;
      }
    }), c && h !== i) throw h;
    if (!y) throw Error(I(426));
    return d;
  }
  return la.renderToStaticMarkup = function(e, r) {
    return jt(
      e,
      r,
      !0,
      'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
    );
  }, la.renderToString = function(e, r) {
    return jt(
      e,
      r,
      !1,
      'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
    );
  }, la.version = "19.0.0-rc-f2df5694-20240916", la;
}
var zu;
function Xu() {
  if (zu) return xr;
  zu = 1;
  var Tn, le;
  return Tn = Yu(), le = Gu(), xr.version = Tn.version, xr.renderToReadableStream = Tn.renderToReadableStream, xr.renderToString = le.renderToString, xr.renderToStaticMarkup = le.renderToStaticMarkup, Tn.resume && (xr.resume = Tn.resume), xr;
}
var Zu = Xu();
const Qu = Zu.renderToReadableStream;
export {
  Qu as renderToReadableStream
};
//# sourceMappingURL=react-dom-server-edge.js.map