var CC = Object.defineProperty;
var _C = (e, n, r) => n in e ? CC(e, n, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[n] = r;
var Fc = (e, n, r) => _C(e, typeof n != "symbol" ? n + "" : n, r);
import { r as Bb, g as RC, R as K, a as w, b as $g, X as Ib, U as EC, T as zC, L as Ub, I as TC, C as AC, c as Fb, d as Zb, e as Gb, f as NC, h as OC, i as zs, j as Ts, k as DC } from "./icons-xEV2Rqfo.mjs";
var zf = { exports: {} }, il = {};
/**
 * @license React
 * react-jsx-runtime.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 Cw;
function MC() {
  if (Cw) return il;
  Cw = 1;
  var e = Symbol.for("react.transitional.element"), n = Symbol.for("react.fragment");
  function r(o, l, s) {
    var u = null;
    if (s !== void 0 && (u = "" + s), l.key !== void 0 && (u = "" + l.key), "key" in l) {
      s = {};
      for (var f in l)
        f !== "key" && (s[f] = l[f]);
    } else s = l;
    return l = s.ref, {
      $$typeof: e,
      type: o,
      key: u,
      ref: l !== void 0 ? l : null,
      props: s
    };
  }
  return il.Fragment = n, il.jsx = r, il.jsxs = r, il;
}
var _w;
function jC() {
  return _w || (_w = 1, zf.exports = MC()), zf.exports;
}
var b = jC(), Tf = { exports: {} }, ll = {}, Af = { exports: {} }, Nf = {};
/**
 * @license React
 * scheduler.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 Rw;
function $C() {
  return Rw || (Rw = 1, (function(e) {
    function n(O, B) {
      var j = O.length;
      O.push(B);
      e: for (; 0 < j; ) {
        var ce = j - 1 >>> 1, we = O[ce];
        if (0 < l(we, B))
          O[ce] = B, O[j] = we, j = ce;
        else break e;
      }
    }
    function r(O) {
      return O.length === 0 ? null : O[0];
    }
    function o(O) {
      if (O.length === 0) return null;
      var B = O[0], j = O.pop();
      if (j !== B) {
        O[0] = j;
        e: for (var ce = 0, we = O.length, Pe = we >>> 1; ce < Pe; ) {
          var Me = 2 * (ce + 1) - 1, ne = O[Me], fe = Me + 1, _e = O[fe];
          if (0 > l(ne, j))
            fe < we && 0 > l(_e, ne) ? (O[ce] = _e, O[fe] = j, ce = fe) : (O[ce] = ne, O[Me] = j, ce = Me);
          else if (fe < we && 0 > l(_e, j))
            O[ce] = _e, O[fe] = j, ce = fe;
          else break e;
        }
      }
      return B;
    }
    function l(O, B) {
      var j = O.sortIndex - B.sortIndex;
      return j !== 0 ? j : O.id - B.id;
    }
    if (e.unstable_now = void 0, typeof performance == "object" && typeof performance.now == "function") {
      var s = performance;
      e.unstable_now = function() {
        return s.now();
      };
    } else {
      var u = Date, f = u.now();
      e.unstable_now = function() {
        return u.now() - f;
      };
    }
    var g = [], p = [], m = 1, h = null, S = 3, y = !1, C = !1, k = !1, R = !1, E = typeof setTimeout == "function" ? setTimeout : null, z = typeof clearTimeout == "function" ? clearTimeout : null, T = typeof setImmediate < "u" ? setImmediate : null;
    function N(O) {
      for (var B = r(p); B !== null; ) {
        if (B.callback === null) o(p);
        else if (B.startTime <= O)
          o(p), B.sortIndex = B.expirationTime, n(g, B);
        else break;
        B = r(p);
      }
    }
    function $(O) {
      if (k = !1, N(O), !C)
        if (r(g) !== null)
          C = !0, U || (U = !0, te());
        else {
          var B = r(p);
          B !== null && pe($, B.startTime - O);
        }
    }
    var U = !1, q = -1, F = 5, ee = -1;
    function Q() {
      return R ? !0 : !(e.unstable_now() - ee < F);
    }
    function J() {
      if (R = !1, U) {
        var O = e.unstable_now();
        ee = O;
        var B = !0;
        try {
          e: {
            C = !1, k && (k = !1, z(q), q = -1), y = !0;
            var j = S;
            try {
              t: {
                for (N(O), h = r(g); h !== null && !(h.expirationTime > O && Q()); ) {
                  var ce = h.callback;
                  if (typeof ce == "function") {
                    h.callback = null, S = h.priorityLevel;
                    var we = ce(
                      h.expirationTime <= O
                    );
                    if (O = e.unstable_now(), typeof we == "function") {
                      h.callback = we, N(O), B = !0;
                      break t;
                    }
                    h === r(g) && o(g), N(O);
                  } else o(g);
                  h = r(g);
                }
                if (h !== null) B = !0;
                else {
                  var Pe = r(p);
                  Pe !== null && pe(
                    $,
                    Pe.startTime - O
                  ), B = !1;
                }
              }
              break e;
            } finally {
              h = null, S = j, y = !1;
            }
            B = void 0;
          }
        } finally {
          B ? te() : U = !1;
        }
      }
    }
    var te;
    if (typeof T == "function")
      te = function() {
        T(J);
      };
    else if (typeof MessageChannel < "u") {
      var re = new MessageChannel(), le = re.port2;
      re.port1.onmessage = J, te = function() {
        le.postMessage(null);
      };
    } else
      te = function() {
        E(J, 0);
      };
    function pe(O, B) {
      q = E(function() {
        O(e.unstable_now());
      }, B);
    }
    e.unstable_IdlePriority = 5, e.unstable_ImmediatePriority = 1, e.unstable_LowPriority = 4, e.unstable_NormalPriority = 3, e.unstable_Profiling = null, e.unstable_UserBlockingPriority = 2, e.unstable_cancelCallback = function(O) {
      O.callback = null;
    }, e.unstable_forceFrameRate = function(O) {
      0 > O || 125 < O ? console.error(
        "forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"
      ) : F = 0 < O ? Math.floor(1e3 / O) : 5;
    }, e.unstable_getCurrentPriorityLevel = function() {
      return S;
    }, e.unstable_next = function(O) {
      switch (S) {
        case 1:
        case 2:
        case 3:
          var B = 3;
          break;
        default:
          B = S;
      }
      var j = S;
      S = B;
      try {
        return O();
      } finally {
        S = j;
      }
    }, e.unstable_requestPaint = function() {
      R = !0;
    }, e.unstable_runWithPriority = function(O, B) {
      switch (O) {
        case 1:
        case 2:
        case 3:
        case 4:
        case 5:
          break;
        default:
          O = 3;
      }
      var j = S;
      S = O;
      try {
        return B();
      } finally {
        S = j;
      }
    }, e.unstable_scheduleCallback = function(O, B, j) {
      var ce = e.unstable_now();
      switch (typeof j == "object" && j !== null ? (j = j.delay, j = typeof j == "number" && 0 < j ? ce + j : ce) : j = ce, O) {
        case 1:
          var we = -1;
          break;
        case 2:
          we = 250;
          break;
        case 5:
          we = 1073741823;
          break;
        case 4:
          we = 1e4;
          break;
        default:
          we = 5e3;
      }
      return we = j + we, O = {
        id: m++,
        callback: B,
        priorityLevel: O,
        startTime: j,
        expirationTime: we,
        sortIndex: -1
      }, j > ce ? (O.sortIndex = j, n(p, O), r(g) === null && O === r(p) && (k ? (z(q), q = -1) : k = !0, pe($, j - ce))) : (O.sortIndex = we, n(g, O), C || y || (C = !0, U || (U = !0, te()))), O;
    }, e.unstable_shouldYield = Q, e.unstable_wrapCallback = function(O) {
      var B = S;
      return function() {
        var j = S;
        S = B;
        try {
          return O.apply(this, arguments);
        } finally {
          S = j;
        }
      };
    };
  })(Nf)), Nf;
}
var Ew;
function PC() {
  return Ew || (Ew = 1, Af.exports = $C()), Af.exports;
}
var Of = { exports: {} }, Lt = {};
/**
 * @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 zw;
function LC() {
  if (zw) return Lt;
  zw = 1;
  var e = Bb();
  function n(g) {
    var p = "https://react.dev/errors/" + g;
    if (1 < arguments.length) {
      p += "?args[]=" + encodeURIComponent(arguments[1]);
      for (var m = 2; m < arguments.length; m++)
        p += "&args[]=" + encodeURIComponent(arguments[m]);
    }
    return "Minified React error #" + g + "; visit " + p + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
  }
  function r() {
  }
  var o = {
    d: {
      f: r,
      r: function() {
        throw Error(n(522));
      },
      D: r,
      C: r,
      L: r,
      m: r,
      X: r,
      S: r,
      M: r
    },
    p: 0,
    findDOMNode: null
  }, l = Symbol.for("react.portal");
  function s(g, p, m) {
    var h = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
    return {
      $$typeof: l,
      key: h == null ? null : "" + h,
      children: g,
      containerInfo: p,
      implementation: m
    };
  }
  var u = e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
  function f(g, p) {
    if (g === "font") return "";
    if (typeof p == "string")
      return p === "use-credentials" ? p : "";
  }
  return Lt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = o, Lt.createPortal = function(g, p) {
    var m = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
    if (!p || p.nodeType !== 1 && p.nodeType !== 9 && p.nodeType !== 11)
      throw Error(n(299));
    return s(g, p, null, m);
  }, Lt.flushSync = function(g) {
    var p = u.T, m = o.p;
    try {
      if (u.T = null, o.p = 2, g) return g();
    } finally {
      u.T = p, o.p = m, o.d.f();
    }
  }, Lt.preconnect = function(g, p) {
    typeof g == "string" && (p ? (p = p.crossOrigin, p = typeof p == "string" ? p === "use-credentials" ? p : "" : void 0) : p = null, o.d.C(g, p));
  }, Lt.prefetchDNS = function(g) {
    typeof g == "string" && o.d.D(g);
  }, Lt.preinit = function(g, p) {
    if (typeof g == "string" && p && typeof p.as == "string") {
      var m = p.as, h = f(m, p.crossOrigin), S = typeof p.integrity == "string" ? p.integrity : void 0, y = typeof p.fetchPriority == "string" ? p.fetchPriority : void 0;
      m === "style" ? o.d.S(
        g,
        typeof p.precedence == "string" ? p.precedence : void 0,
        {
          crossOrigin: h,
          integrity: S,
          fetchPriority: y
        }
      ) : m === "script" && o.d.X(g, {
        crossOrigin: h,
        integrity: S,
        fetchPriority: y,
        nonce: typeof p.nonce == "string" ? p.nonce : void 0
      });
    }
  }, Lt.preinitModule = function(g, p) {
    if (typeof g == "string")
      if (typeof p == "object" && p !== null) {
        if (p.as == null || p.as === "script") {
          var m = f(
            p.as,
            p.crossOrigin
          );
          o.d.M(g, {
            crossOrigin: m,
            integrity: typeof p.integrity == "string" ? p.integrity : void 0,
            nonce: typeof p.nonce == "string" ? p.nonce : void 0
          });
        }
      } else p == null && o.d.M(g);
  }, Lt.preload = function(g, p) {
    if (typeof g == "string" && typeof p == "object" && p !== null && typeof p.as == "string") {
      var m = p.as, h = f(m, p.crossOrigin);
      o.d.L(g, m, {
        crossOrigin: h,
        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
      });
    }
  }, Lt.preloadModule = function(g, p) {
    if (typeof g == "string")
      if (p) {
        var m = f(p.as, p.crossOrigin);
        o.d.m(g, {
          as: typeof p.as == "string" && p.as !== "script" ? p.as : void 0,
          crossOrigin: m,
          integrity: typeof p.integrity == "string" ? p.integrity : void 0
        });
      } else o.d.m(g);
  }, Lt.requestFormReset = function(g) {
    o.d.r(g);
  }, Lt.unstable_batchedUpdates = function(g, p) {
    return g(p);
  }, Lt.useFormState = function(g, p, m) {
    return u.H.useFormState(g, p, m);
  }, Lt.useFormStatus = function() {
    return u.H.useHostTransitionStatus();
  }, Lt.version = "19.2.4", Lt;
}
var Tw;
function qb() {
  if (Tw) return Of.exports;
  Tw = 1;
  function e() {
    if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function"))
      try {
        __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e);
      } catch (n) {
        console.error(n);
      }
  }
  return e(), Of.exports = LC(), Of.exports;
}
/**
 * @license React
 * react-dom-client.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 Aw;
function HC() {
  if (Aw) return ll;
  Aw = 1;
  var e = PC(), n = Bb(), r = qb();
  function o(t) {
    var a = "https://react.dev/errors/" + t;
    if (1 < arguments.length) {
      a += "?args[]=" + encodeURIComponent(arguments[1]);
      for (var i = 2; i < arguments.length; i++)
        a += "&args[]=" + encodeURIComponent(arguments[i]);
    }
    return "Minified React error #" + t + "; visit " + a + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
  }
  function l(t) {
    return !(!t || t.nodeType !== 1 && t.nodeType !== 9 && t.nodeType !== 11);
  }
  function s(t) {
    var a = t, i = t;
    if (t.alternate) for (; a.return; ) a = a.return;
    else {
      t = a;
      do
        a = t, (a.flags & 4098) !== 0 && (i = a.return), t = a.return;
      while (t);
    }
    return a.tag === 3 ? i : null;
  }
  function u(t) {
    if (t.tag === 13) {
      var a = t.memoizedState;
      if (a === null && (t = t.alternate, t !== null && (a = t.memoizedState)), a !== null) return a.dehydrated;
    }
    return null;
  }
  function f(t) {
    if (t.tag === 31) {
      var a = t.memoizedState;
      if (a === null && (t = t.alternate, t !== null && (a = t.memoizedState)), a !== null) return a.dehydrated;
    }
    return null;
  }
  function g(t) {
    if (s(t) !== t)
      throw Error(o(188));
  }
  function p(t) {
    var a = t.alternate;
    if (!a) {
      if (a = s(t), a === null) throw Error(o(188));
      return a !== t ? null : t;
    }
    for (var i = t, c = a; ; ) {
      var d = i.return;
      if (d === null) break;
      var v = d.alternate;
      if (v === null) {
        if (c = d.return, c !== null) {
          i = c;
          continue;
        }
        break;
      }
      if (d.child === v.child) {
        for (v = d.child; v; ) {
          if (v === i) return g(d), t;
          if (v === c) return g(d), a;
          v = v.sibling;
        }
        throw Error(o(188));
      }
      if (i.return !== c.return) i = d, c = v;
      else {
        for (var x = !1, _ = d.child; _; ) {
          if (_ === i) {
            x = !0, i = d, c = v;
            break;
          }
          if (_ === c) {
            x = !0, c = d, i = v;
            break;
          }
          _ = _.sibling;
        }
        if (!x) {
          for (_ = v.child; _; ) {
            if (_ === i) {
              x = !0, i = v, c = d;
              break;
            }
            if (_ === c) {
              x = !0, c = v, i = d;
              break;
            }
            _ = _.sibling;
          }
          if (!x) throw Error(o(189));
        }
      }
      if (i.alternate !== c) throw Error(o(190));
    }
    if (i.tag !== 3) throw Error(o(188));
    return i.stateNode.current === i ? t : a;
  }
  function m(t) {
    var a = t.tag;
    if (a === 5 || a === 26 || a === 27 || a === 6) return t;
    for (t = t.child; t !== null; ) {
      if (a = m(t), a !== null) return a;
      t = t.sibling;
    }
    return null;
  }
  var h = Object.assign, S = Symbol.for("react.element"), y = Symbol.for("react.transitional.element"), C = Symbol.for("react.portal"), k = Symbol.for("react.fragment"), R = Symbol.for("react.strict_mode"), E = Symbol.for("react.profiler"), z = Symbol.for("react.consumer"), T = Symbol.for("react.context"), N = Symbol.for("react.forward_ref"), $ = Symbol.for("react.suspense"), U = Symbol.for("react.suspense_list"), q = Symbol.for("react.memo"), F = Symbol.for("react.lazy"), ee = Symbol.for("react.activity"), Q = Symbol.for("react.memo_cache_sentinel"), J = Symbol.iterator;
  function te(t) {
    return t === null || typeof t != "object" ? null : (t = J && t[J] || t["@@iterator"], typeof t == "function" ? t : null);
  }
  var re = Symbol.for("react.client.reference");
  function le(t) {
    if (t == null) return null;
    if (typeof t == "function")
      return t.$$typeof === re ? null : t.displayName || t.name || null;
    if (typeof t == "string") return t;
    switch (t) {
      case k:
        return "Fragment";
      case E:
        return "Profiler";
      case R:
        return "StrictMode";
      case $:
        return "Suspense";
      case U:
        return "SuspenseList";
      case ee:
        return "Activity";
    }
    if (typeof t == "object")
      switch (t.$$typeof) {
        case C:
          return "Portal";
        case T:
          return t.displayName || "Context";
        case z:
          return (t._context.displayName || "Context") + ".Consumer";
        case N:
          var a = t.render;
          return t = t.displayName, t || (t = a.displayName || a.name || "", t = t !== "" ? "ForwardRef(" + t + ")" : "ForwardRef"), t;
        case q:
          return a = t.displayName || null, a !== null ? a : le(t.type) || "Memo";
        case F:
          a = t._payload, t = t._init;
          try {
            return le(t(a));
          } catch {
          }
      }
    return null;
  }
  var pe = Array.isArray, O = n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, B = r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, j = {
    pending: !1,
    data: null,
    method: null,
    action: null
  }, ce = [], we = -1;
  function Pe(t) {
    return { current: t };
  }
  function Me(t) {
    0 > we || (t.current = ce[we], ce[we] = null, we--);
  }
  function ne(t, a) {
    we++, ce[we] = t.current, t.current = a;
  }
  var fe = Pe(null), _e = Pe(null), Fe = Pe(null), oe = Pe(null);
  function ve(t, a) {
    switch (ne(Fe, a), ne(_e, t), ne(fe, null), a.nodeType) {
      case 9:
      case 11:
        t = (t = a.documentElement) && (t = t.namespaceURI) ? qm(t) : 0;
        break;
      default:
        if (t = a.tagName, a = a.namespaceURI)
          a = qm(a), t = Ym(a, t);
        else
          switch (t) {
            case "svg":
              t = 1;
              break;
            case "math":
              t = 2;
              break;
            default:
              t = 0;
          }
    }
    Me(fe), ne(fe, t);
  }
  function Ve() {
    Me(fe), Me(_e), Me(Fe);
  }
  function Ne(t) {
    t.memoizedState !== null && ne(oe, t);
    var a = fe.current, i = Ym(a, t.type);
    a !== i && (ne(_e, t), ne(fe, i));
  }
  function Ee(t) {
    _e.current === t && (Me(fe), Me(_e)), oe.current === t && (Me(oe), nl._currentValue = j);
  }
  var Re, Ct;
  function ut(t) {
    if (Re === void 0)
      try {
        throw Error();
      } catch (i) {
        var a = i.stack.trim().match(/\n( *(at )?)/);
        Re = a && a[1] || "", Ct = -1 < i.stack.indexOf(`
    at`) ? " (<anonymous>)" : -1 < i.stack.indexOf("@") ? "@unknown:0:0" : "";
      }
    return `
` + Re + t + Ct;
  }
  var Pn = !1;
  function kn(t, a) {
    if (!t || Pn) return "";
    Pn = !0;
    var i = Error.prepareStackTrace;
    Error.prepareStackTrace = void 0;
    try {
      var c = {
        DetermineComponentFrameRoot: function() {
          try {
            if (a) {
              var X = function() {
                throw Error();
              };
              if (Object.defineProperty(X.prototype, "props", {
                set: function() {
                  throw Error();
                }
              }), typeof Reflect == "object" && Reflect.construct) {
                try {
                  Reflect.construct(X, []);
                } catch (V) {
                  var H = V;
                }
                Reflect.construct(t, [], X);
              } else {
                try {
                  X.call();
                } catch (V) {
                  H = V;
                }
                t.call(X.prototype);
              }
            } else {
              try {
                throw Error();
              } catch (V) {
                H = V;
              }
              (X = t()) && typeof X.catch == "function" && X.catch(function() {
              });
            }
          } catch (V) {
            if (V && H && typeof V.stack == "string")
              return [V.stack, H.stack];
          }
          return [null, null];
        }
      };
      c.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot";
      var d = Object.getOwnPropertyDescriptor(
        c.DetermineComponentFrameRoot,
        "name"
      );
      d && d.configurable && Object.defineProperty(
        c.DetermineComponentFrameRoot,
        "name",
        { value: "DetermineComponentFrameRoot" }
      );
      var v = c.DetermineComponentFrameRoot(), x = v[0], _ = v[1];
      if (x && _) {
        var A = x.split(`
`), L = _.split(`
`);
        for (d = c = 0; c < A.length && !A[c].includes("DetermineComponentFrameRoot"); )
          c++;
        for (; d < L.length && !L[d].includes(
          "DetermineComponentFrameRoot"
        ); )
          d++;
        if (c === A.length || d === L.length)
          for (c = A.length - 1, d = L.length - 1; 1 <= c && 0 <= d && A[c] !== L[d]; )
            d--;
        for (; 1 <= c && 0 <= d; c--, d--)
          if (A[c] !== L[d]) {
            if (c !== 1 || d !== 1)
              do
                if (c--, d--, 0 > d || A[c] !== L[d]) {
                  var Z = `
` + A[c].replace(" at new ", " at ");
                  return t.displayName && Z.includes("<anonymous>") && (Z = Z.replace("<anonymous>", t.displayName)), Z;
                }
              while (1 <= c && 0 <= d);
            break;
          }
      }
    } finally {
      Pn = !1, Error.prepareStackTrace = i;
    }
    return (i = t ? t.displayName || t.name : "") ? ut(i) : "";
  }
  function un(t, a) {
    switch (t.tag) {
      case 26:
      case 27:
      case 5:
        return ut(t.type);
      case 16:
        return ut("Lazy");
      case 13:
        return t.child !== a && a !== null ? ut("Suspense Fallback") : ut("Suspense");
      case 19:
        return ut("SuspenseList");
      case 0:
      case 15:
        return kn(t.type, !1);
      case 11:
        return kn(t.type.render, !1);
      case 1:
        return kn(t.type, !0);
      case 31:
        return ut("Activity");
      default:
        return "";
    }
  }
  function Sr(t) {
    try {
      var a = "", i = null;
      do
        a += un(t, i), i = t, t = t.return;
      while (t);
      return a;
    } catch (c) {
      return `
Error generating stack: ` + c.message + `
` + c.stack;
    }
  }
  var _t = Object.prototype.hasOwnProperty, gi = e.unstable_scheduleCallback, pi = e.unstable_cancelCallback, It = e.unstable_shouldYield, Oa = e.unstable_requestPaint, Ut = e.unstable_now, vu = e.unstable_getCurrentPriorityLevel, kr = e.unstable_ImmediatePriority, Al = e.unstable_UserBlockingPriority, Cr = e.unstable_NormalPriority, vi = e.unstable_LowPriority, ca = e.unstable_IdlePriority, Nl = e.log, Da = e.unstable_setDisableYieldValue, _r = null, Ft = null;
  function Ln(t) {
    if (typeof Nl == "function" && Da(t), Ft && typeof Ft.setStrictMode == "function")
      try {
        Ft.setStrictMode(_r, t);
      } catch {
      }
  }
  var $t = Math.clz32 ? Math.clz32 : Xn, hu = Math.log, hi = Math.LN2;
  function Xn(t) {
    return t >>>= 0, t === 0 ? 32 : 31 - (hu(t) / hi | 0) | 0;
  }
  var Wr = 256, eo = 262144, Rr = 4194304;
  function Kn(t) {
    var a = t & 42;
    if (a !== 0) return a;
    switch (t & -t) {
      case 1:
        return 1;
      case 2:
        return 2;
      case 4:
        return 4;
      case 8:
        return 8;
      case 16:
        return 16;
      case 32:
        return 32;
      case 64:
        return 64;
      case 128:
        return 128;
      case 256:
      case 512:
      case 1024:
      case 2048:
      case 4096:
      case 8192:
      case 16384:
      case 32768:
      case 65536:
      case 131072:
        return t & 261888;
      case 262144:
      case 524288:
      case 1048576:
      case 2097152:
        return t & 3932160;
      case 4194304:
      case 8388608:
      case 16777216:
      case 33554432:
        return t & 62914560;
      case 67108864:
        return 67108864;
      case 134217728:
        return 134217728;
      case 268435456:
        return 268435456;
      case 536870912:
        return 536870912;
      case 1073741824:
        return 0;
      default:
        return t;
    }
  }
  function Ce(t, a, i) {
    var c = t.pendingLanes;
    if (c === 0) return 0;
    var d = 0, v = t.suspendedLanes, x = t.pingedLanes;
    t = t.warmLanes;
    var _ = c & 134217727;
    return _ !== 0 ? (c = _ & ~v, c !== 0 ? d = Kn(c) : (x &= _, x !== 0 ? d = Kn(x) : i || (i = _ & ~t, i !== 0 && (d = Kn(i))))) : (_ = c & ~v, _ !== 0 ? d = Kn(_) : x !== 0 ? d = Kn(x) : i || (i = c & ~t, i !== 0 && (d = Kn(i)))), d === 0 ? 0 : a !== 0 && a !== d && (a & v) === 0 && (v = d & -d, i = a & -a, v >= i || v === 32 && (i & 4194048) !== 0) ? a : d;
  }
  function at(t, a) {
    return (t.pendingLanes & ~(t.suspendedLanes & ~t.pingedLanes) & a) === 0;
  }
  function Rt(t, a) {
    switch (t) {
      case 1:
      case 2:
      case 4:
      case 8:
      case 64:
        return a + 250;
      case 16:
      case 32:
      case 128:
      case 256:
      case 512:
      case 1024:
      case 2048:
      case 4096:
      case 8192:
      case 16384:
      case 32768:
      case 65536:
      case 131072:
      case 262144:
      case 524288:
      case 1048576:
      case 2097152:
        return a + 5e3;
      case 4194304:
      case 8388608:
      case 16777216:
      case 33554432:
        return -1;
      case 67108864:
      case 134217728:
      case 268435456:
      case 536870912:
      case 1073741824:
        return -1;
      default:
        return -1;
    }
  }
  function Pt() {
    var t = Rr;
    return Rr <<= 1, (Rr & 62914560) === 0 && (Rr = 4194304), t;
  }
  function Ma(t) {
    for (var a = [], i = 0; 31 > i; i++) a.push(t);
    return a;
  }
  function ct(t, a) {
    t.pendingLanes |= a, a !== 268435456 && (t.suspendedLanes = 0, t.pingedLanes = 0, t.warmLanes = 0);
  }
  function Xt(t, a, i, c, d, v) {
    var x = t.pendingLanes;
    t.pendingLanes = i, t.suspendedLanes = 0, t.pingedLanes = 0, t.warmLanes = 0, t.expiredLanes &= i, t.entangledLanes &= i, t.errorRecoveryDisabledLanes &= i, t.shellSuspendCounter = 0;
    var _ = t.entanglements, A = t.expirationTimes, L = t.hiddenUpdates;
    for (i = x & ~i; 0 < i; ) {
      var Z = 31 - $t(i), X = 1 << Z;
      _[Z] = 0, A[Z] = -1;
      var H = L[Z];
      if (H !== null)
        for (L[Z] = null, Z = 0; Z < H.length; Z++) {
          var V = H[Z];
          V !== null && (V.lane &= -536870913);
        }
      i &= ~X;
    }
    c !== 0 && Er(t, c, 0), v !== 0 && d === 0 && t.tag !== 0 && (t.suspendedLanes |= v & ~(x & ~a));
  }
  function Er(t, a, i) {
    t.pendingLanes |= a, t.suspendedLanes &= ~a;
    var c = 31 - $t(a);
    t.entangledLanes |= a, t.entanglements[c] = t.entanglements[c] | 1073741824 | i & 261930;
  }
  function Kt(t, a) {
    var i = t.entangledLanes |= a;
    for (t = t.entanglements; i; ) {
      var c = 31 - $t(i), d = 1 << c;
      d & a | t[c] & a && (t[c] |= a), i &= ~d;
    }
  }
  function Qt(t, a) {
    var i = a & -a;
    return i = (i & 42) !== 0 ? 1 : to(i), (i & (t.suspendedLanes | a)) !== 0 ? 0 : i;
  }
  function to(t) {
    switch (t) {
      case 2:
        t = 1;
        break;
      case 8:
        t = 4;
        break;
      case 32:
        t = 16;
        break;
      case 256:
      case 512:
      case 1024:
      case 2048:
      case 4096:
      case 8192:
      case 16384:
      case 32768:
      case 65536:
      case 131072:
      case 262144:
      case 524288:
      case 1048576:
      case 2097152:
      case 4194304:
      case 8388608:
      case 16777216:
      case 33554432:
        t = 128;
        break;
      case 268435456:
        t = 134217728;
        break;
      default:
        t = 0;
    }
    return t;
  }
  function Hn(t) {
    return t &= -t, 2 < t ? 8 < t ? (t & 134217727) !== 0 ? 32 : 268435456 : 8 : 2;
  }
  function mu() {
    var t = B.p;
    return t !== 0 ? t : (t = window.event, t === void 0 ? 32 : mw(t.type));
  }
  function Dp(t, a) {
    var i = B.p;
    try {
      return B.p = t, a();
    } finally {
      B.p = i;
    }
  }
  var ja = Math.random().toString(36).slice(2), At = "__reactFiber$" + ja, Jt = "__reactProps$" + ja, no = "__reactContainer$" + ja, wu = "__reactEvents$" + ja, gk = "__reactListeners$" + ja, pk = "__reactHandles$" + ja, Mp = "__reactResources$" + ja, mi = "__reactMarker$" + ja;
  function bu(t) {
    delete t[At], delete t[Jt], delete t[wu], delete t[gk], delete t[pk];
  }
  function ao(t) {
    var a = t[At];
    if (a) return a;
    for (var i = t.parentNode; i; ) {
      if (a = i[no] || i[At]) {
        if (i = a.alternate, a.child !== null || i !== null && i.child !== null)
          for (t = tw(t); t !== null; ) {
            if (i = t[At]) return i;
            t = tw(t);
          }
        return a;
      }
      t = i, i = t.parentNode;
    }
    return null;
  }
  function ro(t) {
    if (t = t[At] || t[no]) {
      var a = t.tag;
      if (a === 5 || a === 6 || a === 13 || a === 31 || a === 26 || a === 27 || a === 3)
        return t;
    }
    return null;
  }
  function wi(t) {
    var a = t.tag;
    if (a === 5 || a === 26 || a === 27 || a === 6) return t.stateNode;
    throw Error(o(33));
  }
  function oo(t) {
    var a = t[Mp];
    return a || (a = t[Mp] = { hoistableStyles: /* @__PURE__ */ new Map(), hoistableScripts: /* @__PURE__ */ new Map() }), a;
  }
  function Et(t) {
    t[mi] = !0;
  }
  var jp = /* @__PURE__ */ new Set(), $p = {};
  function zr(t, a) {
    io(t, a), io(t + "Capture", a);
  }
  function io(t, a) {
    for ($p[t] = a, t = 0; t < a.length; t++)
      jp.add(a[t]);
  }
  var vk = 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]*$"
  ), Pp = {}, Lp = {};
  function hk(t) {
    return _t.call(Lp, t) ? !0 : _t.call(Pp, t) ? !1 : vk.test(t) ? Lp[t] = !0 : (Pp[t] = !0, !1);
  }
  function Ol(t, a, i) {
    if (hk(a))
      if (i === null) t.removeAttribute(a);
      else {
        switch (typeof i) {
          case "undefined":
          case "function":
          case "symbol":
            t.removeAttribute(a);
            return;
          case "boolean":
            var c = a.toLowerCase().slice(0, 5);
            if (c !== "data-" && c !== "aria-") {
              t.removeAttribute(a);
              return;
            }
        }
        t.setAttribute(a, "" + i);
      }
  }
  function Dl(t, a, i) {
    if (i === null) t.removeAttribute(a);
    else {
      switch (typeof i) {
        case "undefined":
        case "function":
        case "symbol":
        case "boolean":
          t.removeAttribute(a);
          return;
      }
      t.setAttribute(a, "" + i);
    }
  }
  function sa(t, a, i, c) {
    if (c === null) t.removeAttribute(i);
    else {
      switch (typeof c) {
        case "undefined":
        case "function":
        case "symbol":
        case "boolean":
          t.removeAttribute(i);
          return;
      }
      t.setAttributeNS(a, i, "" + c);
    }
  }
  function Cn(t) {
    switch (typeof t) {
      case "bigint":
      case "boolean":
      case "number":
      case "string":
      case "undefined":
        return t;
      case "object":
        return t;
      default:
        return "";
    }
  }
  function Hp(t) {
    var a = t.type;
    return (t = t.nodeName) && t.toLowerCase() === "input" && (a === "checkbox" || a === "radio");
  }
  function mk(t, a, i) {
    var c = Object.getOwnPropertyDescriptor(
      t.constructor.prototype,
      a
    );
    if (!t.hasOwnProperty(a) && typeof c < "u" && typeof c.get == "function" && typeof c.set == "function") {
      var d = c.get, v = c.set;
      return Object.defineProperty(t, a, {
        configurable: !0,
        get: function() {
          return d.call(this);
        },
        set: function(x) {
          i = "" + x, v.call(this, x);
        }
      }), Object.defineProperty(t, a, {
        enumerable: c.enumerable
      }), {
        getValue: function() {
          return i;
        },
        setValue: function(x) {
          i = "" + x;
        },
        stopTracking: function() {
          t._valueTracker = null, delete t[a];
        }
      };
    }
  }
  function xu(t) {
    if (!t._valueTracker) {
      var a = Hp(t) ? "checked" : "value";
      t._valueTracker = mk(
        t,
        a,
        "" + t[a]
      );
    }
  }
  function Vp(t) {
    if (!t) return !1;
    var a = t._valueTracker;
    if (!a) return !0;
    var i = a.getValue(), c = "";
    return t && (c = Hp(t) ? t.checked ? "true" : "false" : t.value), t = c, t !== i ? (a.setValue(t), !0) : !1;
  }
  function Ml(t) {
    if (t = t || (typeof document < "u" ? document : void 0), typeof t > "u") return null;
    try {
      return t.activeElement || t.body;
    } catch {
      return t.body;
    }
  }
  var wk = /[\n"\\]/g;
  function _n(t) {
    return t.replace(
      wk,
      function(a) {
        return "\\" + a.charCodeAt(0).toString(16) + " ";
      }
    );
  }
  function yu(t, a, i, c, d, v, x, _) {
    t.name = "", x != null && typeof x != "function" && typeof x != "symbol" && typeof x != "boolean" ? t.type = x : t.removeAttribute("type"), a != null ? x === "number" ? (a === 0 && t.value === "" || t.value != a) && (t.value = "" + Cn(a)) : t.value !== "" + Cn(a) && (t.value = "" + Cn(a)) : x !== "submit" && x !== "reset" || t.removeAttribute("value"), a != null ? Su(t, x, Cn(a)) : i != null ? Su(t, x, Cn(i)) : c != null && t.removeAttribute("value"), d == null && v != null && (t.defaultChecked = !!v), d != null && (t.checked = d && typeof d != "function" && typeof d != "symbol"), _ != null && typeof _ != "function" && typeof _ != "symbol" && typeof _ != "boolean" ? t.name = "" + Cn(_) : t.removeAttribute("name");
  }
  function Bp(t, a, i, c, d, v, x, _) {
    if (v != null && typeof v != "function" && typeof v != "symbol" && typeof v != "boolean" && (t.type = v), a != null || i != null) {
      if (!(v !== "submit" && v !== "reset" || a != null)) {
        xu(t);
        return;
      }
      i = i != null ? "" + Cn(i) : "", a = a != null ? "" + Cn(a) : i, _ || a === t.value || (t.value = a), t.defaultValue = a;
    }
    c = c ?? d, c = typeof c != "function" && typeof c != "symbol" && !!c, t.checked = _ ? t.checked : !!c, t.defaultChecked = !!c, x != null && typeof x != "function" && typeof x != "symbol" && typeof x != "boolean" && (t.name = x), xu(t);
  }
  function Su(t, a, i) {
    a === "number" && Ml(t.ownerDocument) === t || t.defaultValue === "" + i || (t.defaultValue = "" + i);
  }
  function lo(t, a, i, c) {
    if (t = t.options, a) {
      a = {};
      for (var d = 0; d < i.length; d++)
        a["$" + i[d]] = !0;
      for (i = 0; i < t.length; i++)
        d = a.hasOwnProperty("$" + t[i].value), t[i].selected !== d && (t[i].selected = d), d && c && (t[i].defaultSelected = !0);
    } else {
      for (i = "" + Cn(i), a = null, d = 0; d < t.length; d++) {
        if (t[d].value === i) {
          t[d].selected = !0, c && (t[d].defaultSelected = !0);
          return;
        }
        a !== null || t[d].disabled || (a = t[d]);
      }
      a !== null && (a.selected = !0);
    }
  }
  function Ip(t, a, i) {
    if (a != null && (a = "" + Cn(a), a !== t.value && (t.value = a), i == null)) {
      t.defaultValue !== a && (t.defaultValue = a);
      return;
    }
    t.defaultValue = i != null ? "" + Cn(i) : "";
  }
  function Up(t, a, i, c) {
    if (a == null) {
      if (c != null) {
        if (i != null) throw Error(o(92));
        if (pe(c)) {
          if (1 < c.length) throw Error(o(93));
          c = c[0];
        }
        i = c;
      }
      i == null && (i = ""), a = i;
    }
    i = Cn(a), t.defaultValue = i, c = t.textContent, c === i && c !== "" && c !== null && (t.value = c), xu(t);
  }
  function co(t, a) {
    if (a) {
      var i = t.firstChild;
      if (i && i === t.lastChild && i.nodeType === 3) {
        i.nodeValue = a;
        return;
      }
    }
    t.textContent = a;
  }
  var bk = new Set(
    "animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(
      " "
    )
  );
  function Fp(t, a, i) {
    var c = a.indexOf("--") === 0;
    i == null || typeof i == "boolean" || i === "" ? c ? t.setProperty(a, "") : a === "float" ? t.cssFloat = "" : t[a] = "" : c ? t.setProperty(a, i) : typeof i != "number" || i === 0 || bk.has(a) ? a === "float" ? t.cssFloat = i : t[a] = ("" + i).trim() : t[a] = i + "px";
  }
  function Zp(t, a, i) {
    if (a != null && typeof a != "object")
      throw Error(o(62));
    if (t = t.style, i != null) {
      for (var c in i)
        !i.hasOwnProperty(c) || a != null && a.hasOwnProperty(c) || (c.indexOf("--") === 0 ? t.setProperty(c, "") : c === "float" ? t.cssFloat = "" : t[c] = "");
      for (var d in a)
        c = a[d], a.hasOwnProperty(d) && i[d] !== c && Fp(t, d, c);
    } else
      for (var v in a)
        a.hasOwnProperty(v) && Fp(t, v, a[v]);
  }
  function ku(t) {
    if (t.indexOf("-") === -1) return !1;
    switch (t) {
      case "annotation-xml":
      case "color-profile":
      case "font-face":
      case "font-face-src":
      case "font-face-uri":
      case "font-face-format":
      case "font-face-name":
      case "missing-glyph":
        return !1;
      default:
        return !0;
    }
  }
  var xk = /* @__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"]
  ]), yk = /^[\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 jl(t) {
    return yk.test("" + t) ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')" : t;
  }
  function ua() {
  }
  var Cu = null;
  function _u(t) {
    return t = t.target || t.srcElement || window, t.correspondingUseElement && (t = t.correspondingUseElement), t.nodeType === 3 ? t.parentNode : t;
  }
  var so = null, uo = null;
  function Gp(t) {
    var a = ro(t);
    if (a && (t = a.stateNode)) {
      var i = t[Jt] || null;
      e: switch (t = a.stateNode, a.type) {
        case "input":
          if (yu(
            t,
            i.value,
            i.defaultValue,
            i.defaultValue,
            i.checked,
            i.defaultChecked,
            i.type,
            i.name
          ), a = i.name, i.type === "radio" && a != null) {
            for (i = t; i.parentNode; ) i = i.parentNode;
            for (i = i.querySelectorAll(
              'input[name="' + _n(
                "" + a
              ) + '"][type="radio"]'
            ), a = 0; a < i.length; a++) {
              var c = i[a];
              if (c !== t && c.form === t.form) {
                var d = c[Jt] || null;
                if (!d) throw Error(o(90));
                yu(
                  c,
                  d.value,
                  d.defaultValue,
                  d.defaultValue,
                  d.checked,
                  d.defaultChecked,
                  d.type,
                  d.name
                );
              }
            }
            for (a = 0; a < i.length; a++)
              c = i[a], c.form === t.form && Vp(c);
          }
          break e;
        case "textarea":
          Ip(t, i.value, i.defaultValue);
          break e;
        case "select":
          a = i.value, a != null && lo(t, !!i.multiple, a, !1);
      }
    }
  }
  var Ru = !1;
  function qp(t, a, i) {
    if (Ru) return t(a, i);
    Ru = !0;
    try {
      var c = t(a);
      return c;
    } finally {
      if (Ru = !1, (so !== null || uo !== null) && (Sc(), so && (a = so, t = uo, uo = so = null, Gp(a), t)))
        for (a = 0; a < t.length; a++) Gp(t[a]);
    }
  }
  function bi(t, a) {
    var i = t.stateNode;
    if (i === null) return null;
    var c = i[Jt] || null;
    if (c === null) return null;
    i = c[a];
    e: switch (a) {
      case "onClick":
      case "onClickCapture":
      case "onDoubleClick":
      case "onDoubleClickCapture":
      case "onMouseDown":
      case "onMouseDownCapture":
      case "onMouseMove":
      case "onMouseMoveCapture":
      case "onMouseUp":
      case "onMouseUpCapture":
      case "onMouseEnter":
        (c = !c.disabled) || (t = t.type, c = !(t === "button" || t === "input" || t === "select" || t === "textarea")), t = !c;
        break e;
      default:
        t = !1;
    }
    if (t) return null;
    if (i && typeof i != "function")
      throw Error(
        o(231, a, typeof i)
      );
    return i;
  }
  var da = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"), Eu = !1;
  if (da)
    try {
      var xi = {};
      Object.defineProperty(xi, "passive", {
        get: function() {
          Eu = !0;
        }
      }), window.addEventListener("test", xi, xi), window.removeEventListener("test", xi, xi);
    } catch {
      Eu = !1;
    }
  var $a = null, zu = null, $l = null;
  function Yp() {
    if ($l) return $l;
    var t, a = zu, i = a.length, c, d = "value" in $a ? $a.value : $a.textContent, v = d.length;
    for (t = 0; t < i && a[t] === d[t]; t++) ;
    var x = i - t;
    for (c = 1; c <= x && a[i - c] === d[v - c]; c++) ;
    return $l = d.slice(t, 1 < c ? 1 - c : void 0);
  }
  function Pl(t) {
    var a = t.keyCode;
    return "charCode" in t ? (t = t.charCode, t === 0 && a === 13 && (t = 13)) : t = a, t === 10 && (t = 13), 32 <= t || t === 13 ? t : 0;
  }
  function Ll() {
    return !0;
  }
  function Xp() {
    return !1;
  }
  function Wt(t) {
    function a(i, c, d, v, x) {
      this._reactName = i, this._targetInst = d, this.type = c, this.nativeEvent = v, this.target = x, this.currentTarget = null;
      for (var _ in t)
        t.hasOwnProperty(_) && (i = t[_], this[_] = i ? i(v) : v[_]);
      return this.isDefaultPrevented = (v.defaultPrevented != null ? v.defaultPrevented : v.returnValue === !1) ? Ll : Xp, this.isPropagationStopped = Xp, this;
    }
    return h(a.prototype, {
      preventDefault: function() {
        this.defaultPrevented = !0;
        var i = this.nativeEvent;
        i && (i.preventDefault ? i.preventDefault() : typeof i.returnValue != "unknown" && (i.returnValue = !1), this.isDefaultPrevented = Ll);
      },
      stopPropagation: function() {
        var i = this.nativeEvent;
        i && (i.stopPropagation ? i.stopPropagation() : typeof i.cancelBubble != "unknown" && (i.cancelBubble = !0), this.isPropagationStopped = Ll);
      },
      persist: function() {
      },
      isPersistent: Ll
    }), a;
  }
  var Tr = {
    eventPhase: 0,
    bubbles: 0,
    cancelable: 0,
    timeStamp: function(t) {
      return t.timeStamp || Date.now();
    },
    defaultPrevented: 0,
    isTrusted: 0
  }, Hl = Wt(Tr), yi = h({}, Tr, { view: 0, detail: 0 }), Sk = Wt(yi), Tu, Au, Si, Vl = h({}, yi, {
    screenX: 0,
    screenY: 0,
    clientX: 0,
    clientY: 0,
    pageX: 0,
    pageY: 0,
    ctrlKey: 0,
    shiftKey: 0,
    altKey: 0,
    metaKey: 0,
    getModifierState: Ou,
    button: 0,
    buttons: 0,
    relatedTarget: function(t) {
      return t.relatedTarget === void 0 ? t.fromElement === t.srcElement ? t.toElement : t.fromElement : t.relatedTarget;
    },
    movementX: function(t) {
      return "movementX" in t ? t.movementX : (t !== Si && (Si && t.type === "mousemove" ? (Tu = t.screenX - Si.screenX, Au = t.screenY - Si.screenY) : Au = Tu = 0, Si = t), Tu);
    },
    movementY: function(t) {
      return "movementY" in t ? t.movementY : Au;
    }
  }), Kp = Wt(Vl), kk = h({}, Vl, { dataTransfer: 0 }), Ck = Wt(kk), _k = h({}, yi, { relatedTarget: 0 }), Nu = Wt(_k), Rk = h({}, Tr, {
    animationName: 0,
    elapsedTime: 0,
    pseudoElement: 0
  }), Ek = Wt(Rk), zk = h({}, Tr, {
    clipboardData: function(t) {
      return "clipboardData" in t ? t.clipboardData : window.clipboardData;
    }
  }), Tk = Wt(zk), Ak = h({}, Tr, { data: 0 }), Qp = Wt(Ak), Nk = {
    Esc: "Escape",
    Spacebar: " ",
    Left: "ArrowLeft",
    Up: "ArrowUp",
    Right: "ArrowRight",
    Down: "ArrowDown",
    Del: "Delete",
    Win: "OS",
    Menu: "ContextMenu",
    Apps: "ContextMenu",
    Scroll: "ScrollLock",
    MozPrintableKey: "Unidentified"
  }, Ok = {
    8: "Backspace",
    9: "Tab",
    12: "Clear",
    13: "Enter",
    16: "Shift",
    17: "Control",
    18: "Alt",
    19: "Pause",
    20: "CapsLock",
    27: "Escape",
    32: " ",
    33: "PageUp",
    34: "PageDown",
    35: "End",
    36: "Home",
    37: "ArrowLeft",
    38: "ArrowUp",
    39: "ArrowRight",
    40: "ArrowDown",
    45: "Insert",
    46: "Delete",
    112: "F1",
    113: "F2",
    114: "F3",
    115: "F4",
    116: "F5",
    117: "F6",
    118: "F7",
    119: "F8",
    120: "F9",
    121: "F10",
    122: "F11",
    123: "F12",
    144: "NumLock",
    145: "ScrollLock",
    224: "Meta"
  }, Dk = {
    Alt: "altKey",
    Control: "ctrlKey",
    Meta: "metaKey",
    Shift: "shiftKey"
  };
  function Mk(t) {
    var a = this.nativeEvent;
    return a.getModifierState ? a.getModifierState(t) : (t = Dk[t]) ? !!a[t] : !1;
  }
  function Ou() {
    return Mk;
  }
  var jk = h({}, yi, {
    key: function(t) {
      if (t.key) {
        var a = Nk[t.key] || t.key;
        if (a !== "Unidentified") return a;
      }
      return t.type === "keypress" ? (t = Pl(t), t === 13 ? "Enter" : String.fromCharCode(t)) : t.type === "keydown" || t.type === "keyup" ? Ok[t.keyCode] || "Unidentified" : "";
    },
    code: 0,
    location: 0,
    ctrlKey: 0,
    shiftKey: 0,
    altKey: 0,
    metaKey: 0,
    repeat: 0,
    locale: 0,
    getModifierState: Ou,
    charCode: function(t) {
      return t.type === "keypress" ? Pl(t) : 0;
    },
    keyCode: function(t) {
      return t.type === "keydown" || t.type === "keyup" ? t.keyCode : 0;
    },
    which: function(t) {
      return t.type === "keypress" ? Pl(t) : t.type === "keydown" || t.type === "keyup" ? t.keyCode : 0;
    }
  }), $k = Wt(jk), Pk = h({}, Vl, {
    pointerId: 0,
    width: 0,
    height: 0,
    pressure: 0,
    tangentialPressure: 0,
    tiltX: 0,
    tiltY: 0,
    twist: 0,
    pointerType: 0,
    isPrimary: 0
  }), Jp = Wt(Pk), Lk = h({}, yi, {
    touches: 0,
    targetTouches: 0,
    changedTouches: 0,
    altKey: 0,
    metaKey: 0,
    ctrlKey: 0,
    shiftKey: 0,
    getModifierState: Ou
  }), Hk = Wt(Lk), Vk = h({}, Tr, {
    propertyName: 0,
    elapsedTime: 0,
    pseudoElement: 0
  }), Bk = Wt(Vk), Ik = h({}, Vl, {
    deltaX: function(t) {
      return "deltaX" in t ? t.deltaX : "wheelDeltaX" in t ? -t.wheelDeltaX : 0;
    },
    deltaY: function(t) {
      return "deltaY" in t ? t.deltaY : "wheelDeltaY" in t ? -t.wheelDeltaY : "wheelDelta" in t ? -t.wheelDelta : 0;
    },
    deltaZ: 0,
    deltaMode: 0
  }), Uk = Wt(Ik), Fk = h({}, Tr, {
    newState: 0,
    oldState: 0
  }), Zk = Wt(Fk), Gk = [9, 13, 27, 32], Du = da && "CompositionEvent" in window, ki = null;
  da && "documentMode" in document && (ki = document.documentMode);
  var qk = da && "TextEvent" in window && !ki, Wp = da && (!Du || ki && 8 < ki && 11 >= ki), ev = " ", tv = !1;
  function nv(t, a) {
    switch (t) {
      case "keyup":
        return Gk.indexOf(a.keyCode) !== -1;
      case "keydown":
        return a.keyCode !== 229;
      case "keypress":
      case "mousedown":
      case "focusout":
        return !0;
      default:
        return !1;
    }
  }
  function av(t) {
    return t = t.detail, typeof t == "object" && "data" in t ? t.data : null;
  }
  var fo = !1;
  function Yk(t, a) {
    switch (t) {
      case "compositionend":
        return av(a);
      case "keypress":
        return a.which !== 32 ? null : (tv = !0, ev);
      case "textInput":
        return t = a.data, t === ev && tv ? null : t;
      default:
        return null;
    }
  }
  function Xk(t, a) {
    if (fo)
      return t === "compositionend" || !Du && nv(t, a) ? (t = Yp(), $l = zu = $a = null, fo = !1, t) : null;
    switch (t) {
      case "paste":
        return null;
      case "keypress":
        if (!(a.ctrlKey || a.altKey || a.metaKey) || a.ctrlKey && a.altKey) {
          if (a.char && 1 < a.char.length)
            return a.char;
          if (a.which) return String.fromCharCode(a.which);
        }
        return null;
      case "compositionend":
        return Wp && a.locale !== "ko" ? null : a.data;
      default:
        return null;
    }
  }
  var Kk = {
    color: !0,
    date: !0,
    datetime: !0,
    "datetime-local": !0,
    email: !0,
    month: !0,
    number: !0,
    password: !0,
    range: !0,
    search: !0,
    tel: !0,
    text: !0,
    time: !0,
    url: !0,
    week: !0
  };
  function rv(t) {
    var a = t && t.nodeName && t.nodeName.toLowerCase();
    return a === "input" ? !!Kk[t.type] : a === "textarea";
  }
  function ov(t, a, i, c) {
    so ? uo ? uo.push(c) : uo = [c] : so = c, a = Tc(a, "onChange"), 0 < a.length && (i = new Hl(
      "onChange",
      "change",
      null,
      i,
      c
    ), t.push({ event: i, listeners: a }));
  }
  var Ci = null, _i = null;
  function Qk(t) {
    Bm(t, 0);
  }
  function Bl(t) {
    var a = wi(t);
    if (Vp(a)) return t;
  }
  function iv(t, a) {
    if (t === "change") return a;
  }
  var lv = !1;
  if (da) {
    var Mu;
    if (da) {
      var ju = "oninput" in document;
      if (!ju) {
        var cv = document.createElement("div");
        cv.setAttribute("oninput", "return;"), ju = typeof cv.oninput == "function";
      }
      Mu = ju;
    } else Mu = !1;
    lv = Mu && (!document.documentMode || 9 < document.documentMode);
  }
  function sv() {
    Ci && (Ci.detachEvent("onpropertychange", uv), _i = Ci = null);
  }
  function uv(t) {
    if (t.propertyName === "value" && Bl(_i)) {
      var a = [];
      ov(
        a,
        _i,
        t,
        _u(t)
      ), qp(Qk, a);
    }
  }
  function Jk(t, a, i) {
    t === "focusin" ? (sv(), Ci = a, _i = i, Ci.attachEvent("onpropertychange", uv)) : t === "focusout" && sv();
  }
  function Wk(t) {
    if (t === "selectionchange" || t === "keyup" || t === "keydown")
      return Bl(_i);
  }
  function e2(t, a) {
    if (t === "click") return Bl(a);
  }
  function t2(t, a) {
    if (t === "input" || t === "change")
      return Bl(a);
  }
  function n2(t, a) {
    return t === a && (t !== 0 || 1 / t === 1 / a) || t !== t && a !== a;
  }
  var dn = typeof Object.is == "function" ? Object.is : n2;
  function Ri(t, a) {
    if (dn(t, a)) return !0;
    if (typeof t != "object" || t === null || typeof a != "object" || a === null)
      return !1;
    var i = Object.keys(t), c = Object.keys(a);
    if (i.length !== c.length) return !1;
    for (c = 0; c < i.length; c++) {
      var d = i[c];
      if (!_t.call(a, d) || !dn(t[d], a[d]))
        return !1;
    }
    return !0;
  }
  function dv(t) {
    for (; t && t.firstChild; ) t = t.firstChild;
    return t;
  }
  function fv(t, a) {
    var i = dv(t);
    t = 0;
    for (var c; i; ) {
      if (i.nodeType === 3) {
        if (c = t + i.textContent.length, t <= a && c >= a)
          return { node: i, offset: a - t };
        t = c;
      }
      e: {
        for (; i; ) {
          if (i.nextSibling) {
            i = i.nextSibling;
            break e;
          }
          i = i.parentNode;
        }
        i = void 0;
      }
      i = dv(i);
    }
  }
  function gv(t, a) {
    return t && a ? t === a ? !0 : t && t.nodeType === 3 ? !1 : a && a.nodeType === 3 ? gv(t, a.parentNode) : "contains" in t ? t.contains(a) : t.compareDocumentPosition ? !!(t.compareDocumentPosition(a) & 16) : !1 : !1;
  }
  function pv(t) {
    t = t != null && t.ownerDocument != null && t.ownerDocument.defaultView != null ? t.ownerDocument.defaultView : window;
    for (var a = Ml(t.document); a instanceof t.HTMLIFrameElement; ) {
      try {
        var i = typeof a.contentWindow.location.href == "string";
      } catch {
        i = !1;
      }
      if (i) t = a.contentWindow;
      else break;
      a = Ml(t.document);
    }
    return a;
  }
  function $u(t) {
    var a = t && t.nodeName && t.nodeName.toLowerCase();
    return a && (a === "input" && (t.type === "text" || t.type === "search" || t.type === "tel" || t.type === "url" || t.type === "password") || a === "textarea" || t.contentEditable === "true");
  }
  var a2 = da && "documentMode" in document && 11 >= document.documentMode, go = null, Pu = null, Ei = null, Lu = !1;
  function vv(t, a, i) {
    var c = i.window === i ? i.document : i.nodeType === 9 ? i : i.ownerDocument;
    Lu || go == null || go !== Ml(c) || (c = go, "selectionStart" in c && $u(c) ? c = { start: c.selectionStart, end: c.selectionEnd } : (c = (c.ownerDocument && c.ownerDocument.defaultView || window).getSelection(), c = {
      anchorNode: c.anchorNode,
      anchorOffset: c.anchorOffset,
      focusNode: c.focusNode,
      focusOffset: c.focusOffset
    }), Ei && Ri(Ei, c) || (Ei = c, c = Tc(Pu, "onSelect"), 0 < c.length && (a = new Hl(
      "onSelect",
      "select",
      null,
      a,
      i
    ), t.push({ event: a, listeners: c }), a.target = go)));
  }
  function Ar(t, a) {
    var i = {};
    return i[t.toLowerCase()] = a.toLowerCase(), i["Webkit" + t] = "webkit" + a, i["Moz" + t] = "moz" + a, i;
  }
  var po = {
    animationend: Ar("Animation", "AnimationEnd"),
    animationiteration: Ar("Animation", "AnimationIteration"),
    animationstart: Ar("Animation", "AnimationStart"),
    transitionrun: Ar("Transition", "TransitionRun"),
    transitionstart: Ar("Transition", "TransitionStart"),
    transitioncancel: Ar("Transition", "TransitionCancel"),
    transitionend: Ar("Transition", "TransitionEnd")
  }, Hu = {}, hv = {};
  da && (hv = document.createElement("div").style, "AnimationEvent" in window || (delete po.animationend.animation, delete po.animationiteration.animation, delete po.animationstart.animation), "TransitionEvent" in window || delete po.transitionend.transition);
  function Nr(t) {
    if (Hu[t]) return Hu[t];
    if (!po[t]) return t;
    var a = po[t], i;
    for (i in a)
      if (a.hasOwnProperty(i) && i in hv)
        return Hu[t] = a[i];
    return t;
  }
  var mv = Nr("animationend"), wv = Nr("animationiteration"), bv = Nr("animationstart"), r2 = Nr("transitionrun"), o2 = Nr("transitionstart"), i2 = Nr("transitioncancel"), xv = Nr("transitionend"), yv = /* @__PURE__ */ new Map(), Vu = "abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(
    " "
  );
  Vu.push("scrollEnd");
  function Vn(t, a) {
    yv.set(t, a), zr(a, [t]);
  }
  var Il = typeof reportError == "function" ? reportError : function(t) {
    if (typeof window == "object" && typeof window.ErrorEvent == "function") {
      var a = new window.ErrorEvent("error", {
        bubbles: !0,
        cancelable: !0,
        message: typeof t == "object" && t !== null && typeof t.message == "string" ? String(t.message) : String(t),
        error: t
      });
      if (!window.dispatchEvent(a)) return;
    } else if (typeof process == "object" && typeof process.emit == "function") {
      process.emit("uncaughtException", t);
      return;
    }
    console.error(t);
  }, Rn = [], vo = 0, Bu = 0;
  function Ul() {
    for (var t = vo, a = Bu = vo = 0; a < t; ) {
      var i = Rn[a];
      Rn[a++] = null;
      var c = Rn[a];
      Rn[a++] = null;
      var d = Rn[a];
      Rn[a++] = null;
      var v = Rn[a];
      if (Rn[a++] = null, c !== null && d !== null) {
        var x = c.pending;
        x === null ? d.next = d : (d.next = x.next, x.next = d), c.pending = d;
      }
      v !== 0 && Sv(i, d, v);
    }
  }
  function Fl(t, a, i, c) {
    Rn[vo++] = t, Rn[vo++] = a, Rn[vo++] = i, Rn[vo++] = c, Bu |= c, t.lanes |= c, t = t.alternate, t !== null && (t.lanes |= c);
  }
  function Iu(t, a, i, c) {
    return Fl(t, a, i, c), Zl(t);
  }
  function Or(t, a) {
    return Fl(t, null, null, a), Zl(t);
  }
  function Sv(t, a, i) {
    t.lanes |= i;
    var c = t.alternate;
    c !== null && (c.lanes |= i);
    for (var d = !1, v = t.return; v !== null; )
      v.childLanes |= i, c = v.alternate, c !== null && (c.childLanes |= i), v.tag === 22 && (t = v.stateNode, t === null || t._visibility & 1 || (d = !0)), t = v, v = v.return;
    return t.tag === 3 ? (v = t.stateNode, d && a !== null && (d = 31 - $t(i), t = v.hiddenUpdates, c = t[d], c === null ? t[d] = [a] : c.push(a), a.lane = i | 536870912), v) : null;
  }
  function Zl(t) {
    if (50 < Xi)
      throw Xi = 0, Qd = null, Error(o(185));
    for (var a = t.return; a !== null; )
      t = a, a = t.return;
    return t.tag === 3 ? t.stateNode : null;
  }
  var ho = {};
  function l2(t, a, i, c) {
    this.tag = t, this.key = i, this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null, this.index = 0, this.refCleanup = this.ref = null, this.pendingProps = a, this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null, this.mode = c, this.subtreeFlags = this.flags = 0, this.deletions = null, this.childLanes = this.lanes = 0, this.alternate = null;
  }
  function fn(t, a, i, c) {
    return new l2(t, a, i, c);
  }
  function Uu(t) {
    return t = t.prototype, !(!t || !t.isReactComponent);
  }
  function fa(t, a) {
    var i = t.alternate;
    return i === null ? (i = fn(
      t.tag,
      a,
      t.key,
      t.mode
    ), i.elementType = t.elementType, i.type = t.type, i.stateNode = t.stateNode, i.alternate = t, t.alternate = i) : (i.pendingProps = a, i.type = t.type, i.flags = 0, i.subtreeFlags = 0, i.deletions = null), i.flags = t.flags & 65011712, i.childLanes = t.childLanes, i.lanes = t.lanes, i.child = t.child, i.memoizedProps = t.memoizedProps, i.memoizedState = t.memoizedState, i.updateQueue = t.updateQueue, a = t.dependencies, i.dependencies = a === null ? null : { lanes: a.lanes, firstContext: a.firstContext }, i.sibling = t.sibling, i.index = t.index, i.ref = t.ref, i.refCleanup = t.refCleanup, i;
  }
  function kv(t, a) {
    t.flags &= 65011714;
    var i = t.alternate;
    return i === null ? (t.childLanes = 0, t.lanes = a, t.child = null, t.subtreeFlags = 0, t.memoizedProps = null, t.memoizedState = null, t.updateQueue = null, t.dependencies = null, t.stateNode = null) : (t.childLanes = i.childLanes, t.lanes = i.lanes, t.child = i.child, t.subtreeFlags = 0, t.deletions = null, t.memoizedProps = i.memoizedProps, t.memoizedState = i.memoizedState, t.updateQueue = i.updateQueue, t.type = i.type, a = i.dependencies, t.dependencies = a === null ? null : {
      lanes: a.lanes,
      firstContext: a.firstContext
    }), t;
  }
  function Gl(t, a, i, c, d, v) {
    var x = 0;
    if (c = t, typeof t == "function") Uu(t) && (x = 1);
    else if (typeof t == "string")
      x = fC(
        t,
        i,
        fe.current
      ) ? 26 : t === "html" || t === "head" || t === "body" ? 27 : 5;
    else
      e: switch (t) {
        case ee:
          return t = fn(31, i, a, d), t.elementType = ee, t.lanes = v, t;
        case k:
          return Dr(i.children, d, v, a);
        case R:
          x = 8, d |= 24;
          break;
        case E:
          return t = fn(12, i, a, d | 2), t.elementType = E, t.lanes = v, t;
        case $:
          return t = fn(13, i, a, d), t.elementType = $, t.lanes = v, t;
        case U:
          return t = fn(19, i, a, d), t.elementType = U, t.lanes = v, t;
        default:
          if (typeof t == "object" && t !== null)
            switch (t.$$typeof) {
              case T:
                x = 10;
                break e;
              case z:
                x = 9;
                break e;
              case N:
                x = 11;
                break e;
              case q:
                x = 14;
                break e;
              case F:
                x = 16, c = null;
                break e;
            }
          x = 29, i = Error(
            o(130, t === null ? "null" : typeof t, "")
          ), c = null;
      }
    return a = fn(x, i, a, d), a.elementType = t, a.type = c, a.lanes = v, a;
  }
  function Dr(t, a, i, c) {
    return t = fn(7, t, c, a), t.lanes = i, t;
  }
  function Fu(t, a, i) {
    return t = fn(6, t, null, a), t.lanes = i, t;
  }
  function Cv(t) {
    var a = fn(18, null, null, 0);
    return a.stateNode = t, a;
  }
  function Zu(t, a, i) {
    return a = fn(
      4,
      t.children !== null ? t.children : [],
      t.key,
      a
    ), a.lanes = i, a.stateNode = {
      containerInfo: t.containerInfo,
      pendingChildren: null,
      implementation: t.implementation
    }, a;
  }
  var _v = /* @__PURE__ */ new WeakMap();
  function En(t, a) {
    if (typeof t == "object" && t !== null) {
      var i = _v.get(t);
      return i !== void 0 ? i : (a = {
        value: t,
        source: a,
        stack: Sr(a)
      }, _v.set(t, a), a);
    }
    return {
      value: t,
      source: a,
      stack: Sr(a)
    };
  }
  var mo = [], wo = 0, ql = null, zi = 0, zn = [], Tn = 0, Pa = null, Qn = 1, Jn = "";
  function ga(t, a) {
    mo[wo++] = zi, mo[wo++] = ql, ql = t, zi = a;
  }
  function Rv(t, a, i) {
    zn[Tn++] = Qn, zn[Tn++] = Jn, zn[Tn++] = Pa, Pa = t;
    var c = Qn;
    t = Jn;
    var d = 32 - $t(c) - 1;
    c &= ~(1 << d), i += 1;
    var v = 32 - $t(a) + d;
    if (30 < v) {
      var x = d - d % 5;
      v = (c & (1 << x) - 1).toString(32), c >>= x, d -= x, Qn = 1 << 32 - $t(a) + d | i << d | c, Jn = v + t;
    } else
      Qn = 1 << v | i << d | c, Jn = t;
  }
  function Gu(t) {
    t.return !== null && (ga(t, 1), Rv(t, 1, 0));
  }
  function qu(t) {
    for (; t === ql; )
      ql = mo[--wo], mo[wo] = null, zi = mo[--wo], mo[wo] = null;
    for (; t === Pa; )
      Pa = zn[--Tn], zn[Tn] = null, Jn = zn[--Tn], zn[Tn] = null, Qn = zn[--Tn], zn[Tn] = null;
  }
  function Ev(t, a) {
    zn[Tn++] = Qn, zn[Tn++] = Jn, zn[Tn++] = Pa, Qn = a.id, Jn = a.overflow, Pa = t;
  }
  var Nt = null, tt = null, Be = !1, La = null, An = !1, Yu = Error(o(519));
  function Ha(t) {
    var a = Error(
      o(
        418,
        1 < arguments.length && arguments[1] !== void 0 && arguments[1] ? "text" : "HTML",
        ""
      )
    );
    throw Ti(En(a, t)), Yu;
  }
  function zv(t) {
    var a = t.stateNode, i = t.type, c = t.memoizedProps;
    switch (a[At] = t, a[Jt] = c, i) {
      case "dialog":
        $e("cancel", a), $e("close", a);
        break;
      case "iframe":
      case "object":
      case "embed":
        $e("load", a);
        break;
      case "video":
      case "audio":
        for (i = 0; i < Qi.length; i++)
          $e(Qi[i], a);
        break;
      case "source":
        $e("error", a);
        break;
      case "img":
      case "image":
      case "link":
        $e("error", a), $e("load", a);
        break;
      case "details":
        $e("toggle", a);
        break;
      case "input":
        $e("invalid", a), Bp(
          a,
          c.value,
          c.defaultValue,
          c.checked,
          c.defaultChecked,
          c.type,
          c.name,
          !0
        );
        break;
      case "select":
        $e("invalid", a);
        break;
      case "textarea":
        $e("invalid", a), Up(a, c.value, c.defaultValue, c.children);
    }
    i = c.children, typeof i != "string" && typeof i != "number" && typeof i != "bigint" || a.textContent === "" + i || c.suppressHydrationWarning === !0 || Zm(a.textContent, i) ? (c.popover != null && ($e("beforetoggle", a), $e("toggle", a)), c.onScroll != null && $e("scroll", a), c.onScrollEnd != null && $e("scrollend", a), c.onClick != null && (a.onclick = ua), a = !0) : a = !1, a || Ha(t, !0);
  }
  function Tv(t) {
    for (Nt = t.return; Nt; )
      switch (Nt.tag) {
        case 5:
        case 31:
        case 13:
          An = !1;
          return;
        case 27:
        case 3:
          An = !0;
          return;
        default:
          Nt = Nt.return;
      }
  }
  function bo(t) {
    if (t !== Nt) return !1;
    if (!Be) return Tv(t), Be = !0, !1;
    var a = t.tag, i;
    if ((i = a !== 3 && a !== 27) && ((i = a === 5) && (i = t.type, i = !(i !== "form" && i !== "button") || gf(t.type, t.memoizedProps)), i = !i), i && tt && Ha(t), Tv(t), a === 13) {
      if (t = t.memoizedState, t = t !== null ? t.dehydrated : null, !t) throw Error(o(317));
      tt = ew(t);
    } else if (a === 31) {
      if (t = t.memoizedState, t = t !== null ? t.dehydrated : null, !t) throw Error(o(317));
      tt = ew(t);
    } else
      a === 27 ? (a = tt, Wa(t.type) ? (t = wf, wf = null, tt = t) : tt = a) : tt = Nt ? On(t.stateNode.nextSibling) : null;
    return !0;
  }
  function Mr() {
    tt = Nt = null, Be = !1;
  }
  function Xu() {
    var t = La;
    return t !== null && (an === null ? an = t : an.push.apply(
      an,
      t
    ), La = null), t;
  }
  function Ti(t) {
    La === null ? La = [t] : La.push(t);
  }
  var Ku = Pe(null), jr = null, pa = null;
  function Va(t, a, i) {
    ne(Ku, a._currentValue), a._currentValue = i;
  }
  function va(t) {
    t._currentValue = Ku.current, Me(Ku);
  }
  function Qu(t, a, i) {
    for (; t !== null; ) {
      var c = t.alternate;
      if ((t.childLanes & a) !== a ? (t.childLanes |= a, c !== null && (c.childLanes |= a)) : c !== null && (c.childLanes & a) !== a && (c.childLanes |= a), t === i) break;
      t = t.return;
    }
  }
  function Ju(t, a, i, c) {
    var d = t.child;
    for (d !== null && (d.return = t); d !== null; ) {
      var v = d.dependencies;
      if (v !== null) {
        var x = d.child;
        v = v.firstContext;
        e: for (; v !== null; ) {
          var _ = v;
          v = d;
          for (var A = 0; A < a.length; A++)
            if (_.context === a[A]) {
              v.lanes |= i, _ = v.alternate, _ !== null && (_.lanes |= i), Qu(
                v.return,
                i,
                t
              ), c || (x = null);
              break e;
            }
          v = _.next;
        }
      } else if (d.tag === 18) {
        if (x = d.return, x === null) throw Error(o(341));
        x.lanes |= i, v = x.alternate, v !== null && (v.lanes |= i), Qu(x, i, t), x = null;
      } else x = d.child;
      if (x !== null) x.return = d;
      else
        for (x = d; x !== null; ) {
          if (x === t) {
            x = null;
            break;
          }
          if (d = x.sibling, d !== null) {
            d.return = x.return, x = d;
            break;
          }
          x = x.return;
        }
      d = x;
    }
  }
  function xo(t, a, i, c) {
    t = null;
    for (var d = a, v = !1; d !== null; ) {
      if (!v) {
        if ((d.flags & 524288) !== 0) v = !0;
        else if ((d.flags & 262144) !== 0) break;
      }
      if (d.tag === 10) {
        var x = d.alternate;
        if (x === null) throw Error(o(387));
        if (x = x.memoizedProps, x !== null) {
          var _ = d.type;
          dn(d.pendingProps.value, x.value) || (t !== null ? t.push(_) : t = [_]);
        }
      } else if (d === oe.current) {
        if (x = d.alternate, x === null) throw Error(o(387));
        x.memoizedState.memoizedState !== d.memoizedState.memoizedState && (t !== null ? t.push(nl) : t = [nl]);
      }
      d = d.return;
    }
    t !== null && Ju(
      a,
      t,
      i,
      c
    ), a.flags |= 262144;
  }
  function Yl(t) {
    for (t = t.firstContext; t !== null; ) {
      if (!dn(
        t.context._currentValue,
        t.memoizedValue
      ))
        return !0;
      t = t.next;
    }
    return !1;
  }
  function $r(t) {
    jr = t, pa = null, t = t.dependencies, t !== null && (t.firstContext = null);
  }
  function Ot(t) {
    return Av(jr, t);
  }
  function Xl(t, a) {
    return jr === null && $r(t), Av(t, a);
  }
  function Av(t, a) {
    var i = a._currentValue;
    if (a = { context: a, memoizedValue: i, next: null }, pa === null) {
      if (t === null) throw Error(o(308));
      pa = a, t.dependencies = { lanes: 0, firstContext: a }, t.flags |= 524288;
    } else pa = pa.next = a;
    return i;
  }
  var c2 = typeof AbortController < "u" ? AbortController : function() {
    var t = [], a = this.signal = {
      aborted: !1,
      addEventListener: function(i, c) {
        t.push(c);
      }
    };
    this.abort = function() {
      a.aborted = !0, t.forEach(function(i) {
        return i();
      });
    };
  }, s2 = e.unstable_scheduleCallback, u2 = e.unstable_NormalPriority, mt = {
    $$typeof: T,
    Consumer: null,
    Provider: null,
    _currentValue: null,
    _currentValue2: null,
    _threadCount: 0
  };
  function Wu() {
    return {
      controller: new c2(),
      data: /* @__PURE__ */ new Map(),
      refCount: 0
    };
  }
  function Ai(t) {
    t.refCount--, t.refCount === 0 && s2(u2, function() {
      t.controller.abort();
    });
  }
  var Ni = null, ed = 0, yo = 0, So = null;
  function d2(t, a) {
    if (Ni === null) {
      var i = Ni = [];
      ed = 0, yo = af(), So = {
        status: "pending",
        value: void 0,
        then: function(c) {
          i.push(c);
        }
      };
    }
    return ed++, a.then(Nv, Nv), a;
  }
  function Nv() {
    if (--ed === 0 && Ni !== null) {
      So !== null && (So.status = "fulfilled");
      var t = Ni;
      Ni = null, yo = 0, So = null;
      for (var a = 0; a < t.length; a++) (0, t[a])();
    }
  }
  function f2(t, a) {
    var i = [], c = {
      status: "pending",
      value: null,
      reason: null,
      then: function(d) {
        i.push(d);
      }
    };
    return t.then(
      function() {
        c.status = "fulfilled", c.value = a;
        for (var d = 0; d < i.length; d++) (0, i[d])(a);
      },
      function(d) {
        for (c.status = "rejected", c.reason = d, d = 0; d < i.length; d++)
          (0, i[d])(void 0);
      }
    ), c;
  }
  var Ov = O.S;
  O.S = function(t, a) {
    vm = Ut(), typeof a == "object" && a !== null && typeof a.then == "function" && d2(t, a), Ov !== null && Ov(t, a);
  };
  var Pr = Pe(null);
  function td() {
    var t = Pr.current;
    return t !== null ? t : et.pooledCache;
  }
  function Kl(t, a) {
    a === null ? ne(Pr, Pr.current) : ne(Pr, a.pool);
  }
  function Dv() {
    var t = td();
    return t === null ? null : { parent: mt._currentValue, pool: t };
  }
  var ko = Error(o(460)), nd = Error(o(474)), Ql = Error(o(542)), Jl = { then: function() {
  } };
  function Mv(t) {
    return t = t.status, t === "fulfilled" || t === "rejected";
  }
  function jv(t, a, i) {
    switch (i = t[i], i === void 0 ? t.push(a) : i !== a && (a.then(ua, ua), a = i), a.status) {
      case "fulfilled":
        return a.value;
      case "rejected":
        throw t = a.reason, Pv(t), t;
      default:
        if (typeof a.status == "string") a.then(ua, ua);
        else {
          if (t = et, t !== null && 100 < t.shellSuspendCounter)
            throw Error(o(482));
          t = a, t.status = "pending", t.then(
            function(c) {
              if (a.status === "pending") {
                var d = a;
                d.status = "fulfilled", d.value = c;
              }
            },
            function(c) {
              if (a.status === "pending") {
                var d = a;
                d.status = "rejected", d.reason = c;
              }
            }
          );
        }
        switch (a.status) {
          case "fulfilled":
            return a.value;
          case "rejected":
            throw t = a.reason, Pv(t), t;
        }
        throw Hr = a, ko;
    }
  }
  function Lr(t) {
    try {
      var a = t._init;
      return a(t._payload);
    } catch (i) {
      throw i !== null && typeof i == "object" && typeof i.then == "function" ? (Hr = i, ko) : i;
    }
  }
  var Hr = null;
  function $v() {
    if (Hr === null) throw Error(o(459));
    var t = Hr;
    return Hr = null, t;
  }
  function Pv(t) {
    if (t === ko || t === Ql)
      throw Error(o(483));
  }
  var Co = null, Oi = 0;
  function Wl(t) {
    var a = Oi;
    return Oi += 1, Co === null && (Co = []), jv(Co, t, a);
  }
  function Di(t, a) {
    a = a.props.ref, t.ref = a !== void 0 ? a : null;
  }
  function ec(t, a) {
    throw a.$$typeof === S ? Error(o(525)) : (t = Object.prototype.toString.call(a), Error(
      o(
        31,
        t === "[object Object]" ? "object with keys {" + Object.keys(a).join(", ") + "}" : t
      )
    ));
  }
  function Lv(t) {
    function a(M, D) {
      if (t) {
        var P = M.deletions;
        P === null ? (M.deletions = [D], M.flags |= 16) : P.push(D);
      }
    }
    function i(M, D) {
      if (!t) return null;
      for (; D !== null; )
        a(M, D), D = D.sibling;
      return null;
    }
    function c(M) {
      for (var D = /* @__PURE__ */ new Map(); M !== null; )
        M.key !== null ? D.set(M.key, M) : D.set(M.index, M), M = M.sibling;
      return D;
    }
    function d(M, D) {
      return M = fa(M, D), M.index = 0, M.sibling = null, M;
    }
    function v(M, D, P) {
      return M.index = P, t ? (P = M.alternate, P !== null ? (P = P.index, P < D ? (M.flags |= 67108866, D) : P) : (M.flags |= 67108866, D)) : (M.flags |= 1048576, D);
    }
    function x(M) {
      return t && M.alternate === null && (M.flags |= 67108866), M;
    }
    function _(M, D, P, Y) {
      return D === null || D.tag !== 6 ? (D = Fu(P, M.mode, Y), D.return = M, D) : (D = d(D, P), D.return = M, D);
    }
    function A(M, D, P, Y) {
      var be = P.type;
      return be === k ? Z(
        M,
        D,
        P.props.children,
        Y,
        P.key
      ) : D !== null && (D.elementType === be || typeof be == "object" && be !== null && be.$$typeof === F && Lr(be) === D.type) ? (D = d(D, P.props), Di(D, P), D.return = M, D) : (D = Gl(
        P.type,
        P.key,
        P.props,
        null,
        M.mode,
        Y
      ), Di(D, P), D.return = M, D);
    }
    function L(M, D, P, Y) {
      return D === null || D.tag !== 4 || D.stateNode.containerInfo !== P.containerInfo || D.stateNode.implementation !== P.implementation ? (D = Zu(P, M.mode, Y), D.return = M, D) : (D = d(D, P.children || []), D.return = M, D);
    }
    function Z(M, D, P, Y, be) {
      return D === null || D.tag !== 7 ? (D = Dr(
        P,
        M.mode,
        Y,
        be
      ), D.return = M, D) : (D = d(D, P), D.return = M, D);
    }
    function X(M, D, P) {
      if (typeof D == "string" && D !== "" || typeof D == "number" || typeof D == "bigint")
        return D = Fu(
          "" + D,
          M.mode,
          P
        ), D.return = M, D;
      if (typeof D == "object" && D !== null) {
        switch (D.$$typeof) {
          case y:
            return P = Gl(
              D.type,
              D.key,
              D.props,
              null,
              M.mode,
              P
            ), Di(P, D), P.return = M, P;
          case C:
            return D = Zu(
              D,
              M.mode,
              P
            ), D.return = M, D;
          case F:
            return D = Lr(D), X(M, D, P);
        }
        if (pe(D) || te(D))
          return D = Dr(
            D,
            M.mode,
            P,
            null
          ), D.return = M, D;
        if (typeof D.then == "function")
          return X(M, Wl(D), P);
        if (D.$$typeof === T)
          return X(
            M,
            Xl(M, D),
            P
          );
        ec(M, D);
      }
      return null;
    }
    function H(M, D, P, Y) {
      var be = D !== null ? D.key : null;
      if (typeof P == "string" && P !== "" || typeof P == "number" || typeof P == "bigint")
        return be !== null ? null : _(M, D, "" + P, Y);
      if (typeof P == "object" && P !== null) {
        switch (P.$$typeof) {
          case y:
            return P.key === be ? A(M, D, P, Y) : null;
          case C:
            return P.key === be ? L(M, D, P, Y) : null;
          case F:
            return P = Lr(P), H(M, D, P, Y);
        }
        if (pe(P) || te(P))
          return be !== null ? null : Z(M, D, P, Y, null);
        if (typeof P.then == "function")
          return H(
            M,
            D,
            Wl(P),
            Y
          );
        if (P.$$typeof === T)
          return H(
            M,
            D,
            Xl(M, P),
            Y
          );
        ec(M, P);
      }
      return null;
    }
    function V(M, D, P, Y, be) {
      if (typeof Y == "string" && Y !== "" || typeof Y == "number" || typeof Y == "bigint")
        return M = M.get(P) || null, _(D, M, "" + Y, be);
      if (typeof Y == "object" && Y !== null) {
        switch (Y.$$typeof) {
          case y:
            return M = M.get(
              Y.key === null ? P : Y.key
            ) || null, A(D, M, Y, be);
          case C:
            return M = M.get(
              Y.key === null ? P : Y.key
            ) || null, L(D, M, Y, be);
          case F:
            return Y = Lr(Y), V(
              M,
              D,
              P,
              Y,
              be
            );
        }
        if (pe(Y) || te(Y))
          return M = M.get(P) || null, Z(D, M, Y, be, null);
        if (typeof Y.then == "function")
          return V(
            M,
            D,
            P,
            Wl(Y),
            be
          );
        if (Y.$$typeof === T)
          return V(
            M,
            D,
            P,
            Xl(D, Y),
            be
          );
        ec(D, Y);
      }
      return null;
    }
    function se(M, D, P, Y) {
      for (var be = null, Ze = null, ge = D, Ae = D = 0, He = null; ge !== null && Ae < P.length; Ae++) {
        ge.index > Ae ? (He = ge, ge = null) : He = ge.sibling;
        var Ge = H(
          M,
          ge,
          P[Ae],
          Y
        );
        if (Ge === null) {
          ge === null && (ge = He);
          break;
        }
        t && ge && Ge.alternate === null && a(M, ge), D = v(Ge, D, Ae), Ze === null ? be = Ge : Ze.sibling = Ge, Ze = Ge, ge = He;
      }
      if (Ae === P.length)
        return i(M, ge), Be && ga(M, Ae), be;
      if (ge === null) {
        for (; Ae < P.length; Ae++)
          ge = X(M, P[Ae], Y), ge !== null && (D = v(
            ge,
            D,
            Ae
          ), Ze === null ? be = ge : Ze.sibling = ge, Ze = ge);
        return Be && ga(M, Ae), be;
      }
      for (ge = c(ge); Ae < P.length; Ae++)
        He = V(
          ge,
          M,
          Ae,
          P[Ae],
          Y
        ), He !== null && (t && He.alternate !== null && ge.delete(
          He.key === null ? Ae : He.key
        ), D = v(
          He,
          D,
          Ae
        ), Ze === null ? be = He : Ze.sibling = He, Ze = He);
      return t && ge.forEach(function(rr) {
        return a(M, rr);
      }), Be && ga(M, Ae), be;
    }
    function ye(M, D, P, Y) {
      if (P == null) throw Error(o(151));
      for (var be = null, Ze = null, ge = D, Ae = D = 0, He = null, Ge = P.next(); ge !== null && !Ge.done; Ae++, Ge = P.next()) {
        ge.index > Ae ? (He = ge, ge = null) : He = ge.sibling;
        var rr = H(M, ge, Ge.value, Y);
        if (rr === null) {
          ge === null && (ge = He);
          break;
        }
        t && ge && rr.alternate === null && a(M, ge), D = v(rr, D, Ae), Ze === null ? be = rr : Ze.sibling = rr, Ze = rr, ge = He;
      }
      if (Ge.done)
        return i(M, ge), Be && ga(M, Ae), be;
      if (ge === null) {
        for (; !Ge.done; Ae++, Ge = P.next())
          Ge = X(M, Ge.value, Y), Ge !== null && (D = v(Ge, D, Ae), Ze === null ? be = Ge : Ze.sibling = Ge, Ze = Ge);
        return Be && ga(M, Ae), be;
      }
      for (ge = c(ge); !Ge.done; Ae++, Ge = P.next())
        Ge = V(ge, M, Ae, Ge.value, Y), Ge !== null && (t && Ge.alternate !== null && ge.delete(Ge.key === null ? Ae : Ge.key), D = v(Ge, D, Ae), Ze === null ? be = Ge : Ze.sibling = Ge, Ze = Ge);
      return t && ge.forEach(function(kC) {
        return a(M, kC);
      }), Be && ga(M, Ae), be;
    }
    function We(M, D, P, Y) {
      if (typeof P == "object" && P !== null && P.type === k && P.key === null && (P = P.props.children), typeof P == "object" && P !== null) {
        switch (P.$$typeof) {
          case y:
            e: {
              for (var be = P.key; D !== null; ) {
                if (D.key === be) {
                  if (be = P.type, be === k) {
                    if (D.tag === 7) {
                      i(
                        M,
                        D.sibling
                      ), Y = d(
                        D,
                        P.props.children
                      ), Y.return = M, M = Y;
                      break e;
                    }
                  } else if (D.elementType === be || typeof be == "object" && be !== null && be.$$typeof === F && Lr(be) === D.type) {
                    i(
                      M,
                      D.sibling
                    ), Y = d(D, P.props), Di(Y, P), Y.return = M, M = Y;
                    break e;
                  }
                  i(M, D);
                  break;
                } else a(M, D);
                D = D.sibling;
              }
              P.type === k ? (Y = Dr(
                P.props.children,
                M.mode,
                Y,
                P.key
              ), Y.return = M, M = Y) : (Y = Gl(
                P.type,
                P.key,
                P.props,
                null,
                M.mode,
                Y
              ), Di(Y, P), Y.return = M, M = Y);
            }
            return x(M);
          case C:
            e: {
              for (be = P.key; D !== null; ) {
                if (D.key === be)
                  if (D.tag === 4 && D.stateNode.containerInfo === P.containerInfo && D.stateNode.implementation === P.implementation) {
                    i(
                      M,
                      D.sibling
                    ), Y = d(D, P.children || []), Y.return = M, M = Y;
                    break e;
                  } else {
                    i(M, D);
                    break;
                  }
                else a(M, D);
                D = D.sibling;
              }
              Y = Zu(P, M.mode, Y), Y.return = M, M = Y;
            }
            return x(M);
          case F:
            return P = Lr(P), We(
              M,
              D,
              P,
              Y
            );
        }
        if (pe(P))
          return se(
            M,
            D,
            P,
            Y
          );
        if (te(P)) {
          if (be = te(P), typeof be != "function") throw Error(o(150));
          return P = be.call(P), ye(
            M,
            D,
            P,
            Y
          );
        }
        if (typeof P.then == "function")
          return We(
            M,
            D,
            Wl(P),
            Y
          );
        if (P.$$typeof === T)
          return We(
            M,
            D,
            Xl(M, P),
            Y
          );
        ec(M, P);
      }
      return typeof P == "string" && P !== "" || typeof P == "number" || typeof P == "bigint" ? (P = "" + P, D !== null && D.tag === 6 ? (i(M, D.sibling), Y = d(D, P), Y.return = M, M = Y) : (i(M, D), Y = Fu(P, M.mode, Y), Y.return = M, M = Y), x(M)) : i(M, D);
    }
    return function(M, D, P, Y) {
      try {
        Oi = 0;
        var be = We(
          M,
          D,
          P,
          Y
        );
        return Co = null, be;
      } catch (ge) {
        if (ge === ko || ge === Ql) throw ge;
        var Ze = fn(29, ge, null, M.mode);
        return Ze.lanes = Y, Ze.return = M, Ze;
      } finally {
      }
    };
  }
  var Vr = Lv(!0), Hv = Lv(!1), Ba = !1;
  function ad(t) {
    t.updateQueue = {
      baseState: t.memoizedState,
      firstBaseUpdate: null,
      lastBaseUpdate: null,
      shared: { pending: null, lanes: 0, hiddenCallbacks: null },
      callbacks: null
    };
  }
  function rd(t, a) {
    t = t.updateQueue, a.updateQueue === t && (a.updateQueue = {
      baseState: t.baseState,
      firstBaseUpdate: t.firstBaseUpdate,
      lastBaseUpdate: t.lastBaseUpdate,
      shared: t.shared,
      callbacks: null
    });
  }
  function Ia(t) {
    return { lane: t, tag: 0, payload: null, callback: null, next: null };
  }
  function Ua(t, a, i) {
    var c = t.updateQueue;
    if (c === null) return null;
    if (c = c.shared, (qe & 2) !== 0) {
      var d = c.pending;
      return d === null ? a.next = a : (a.next = d.next, d.next = a), c.pending = a, a = Zl(t), Sv(t, null, i), a;
    }
    return Fl(t, c, a, i), Zl(t);
  }
  function Mi(t, a, i) {
    if (a = a.updateQueue, a !== null && (a = a.shared, (i & 4194048) !== 0)) {
      var c = a.lanes;
      c &= t.pendingLanes, i |= c, a.lanes = i, Kt(t, i);
    }
  }
  function od(t, a) {
    var i = t.updateQueue, c = t.alternate;
    if (c !== null && (c = c.updateQueue, i === c)) {
      var d = null, v = null;
      if (i = i.firstBaseUpdate, i !== null) {
        do {
          var x = {
            lane: i.lane,
            tag: i.tag,
            payload: i.payload,
            callback: null,
            next: null
          };
          v === null ? d = v = x : v = v.next = x, i = i.next;
        } while (i !== null);
        v === null ? d = v = a : v = v.next = a;
      } else d = v = a;
      i = {
        baseState: c.baseState,
        firstBaseUpdate: d,
        lastBaseUpdate: v,
        shared: c.shared,
        callbacks: c.callbacks
      }, t.updateQueue = i;
      return;
    }
    t = i.lastBaseUpdate, t === null ? i.firstBaseUpdate = a : t.next = a, i.lastBaseUpdate = a;
  }
  var id = !1;
  function ji() {
    if (id) {
      var t = So;
      if (t !== null) throw t;
    }
  }
  function $i(t, a, i, c) {
    id = !1;
    var d = t.updateQueue;
    Ba = !1;
    var v = d.firstBaseUpdate, x = d.lastBaseUpdate, _ = d.shared.pending;
    if (_ !== null) {
      d.shared.pending = null;
      var A = _, L = A.next;
      A.next = null, x === null ? v = L : x.next = L, x = A;
      var Z = t.alternate;
      Z !== null && (Z = Z.updateQueue, _ = Z.lastBaseUpdate, _ !== x && (_ === null ? Z.firstBaseUpdate = L : _.next = L, Z.lastBaseUpdate = A));
    }
    if (v !== null) {
      var X = d.baseState;
      x = 0, Z = L = A = null, _ = v;
      do {
        var H = _.lane & -536870913, V = H !== _.lane;
        if (V ? (Le & H) === H : (c & H) === H) {
          H !== 0 && H === yo && (id = !0), Z !== null && (Z = Z.next = {
            lane: 0,
            tag: _.tag,
            payload: _.payload,
            callback: null,
            next: null
          });
          e: {
            var se = t, ye = _;
            H = a;
            var We = i;
            switch (ye.tag) {
              case 1:
                if (se = ye.payload, typeof se == "function") {
                  X = se.call(We, X, H);
                  break e;
                }
                X = se;
                break e;
              case 3:
                se.flags = se.flags & -65537 | 128;
              case 0:
                if (se = ye.payload, H = typeof se == "function" ? se.call(We, X, H) : se, H == null) break e;
                X = h({}, X, H);
                break e;
              case 2:
                Ba = !0;
            }
          }
          H = _.callback, H !== null && (t.flags |= 64, V && (t.flags |= 8192), V = d.callbacks, V === null ? d.callbacks = [H] : V.push(H));
        } else
          V = {
            lane: H,
            tag: _.tag,
            payload: _.payload,
            callback: _.callback,
            next: null
          }, Z === null ? (L = Z = V, A = X) : Z = Z.next = V, x |= H;
        if (_ = _.next, _ === null) {
          if (_ = d.shared.pending, _ === null)
            break;
          V = _, _ = V.next, V.next = null, d.lastBaseUpdate = V, d.shared.pending = null;
        }
      } while (!0);
      Z === null && (A = X), d.baseState = A, d.firstBaseUpdate = L, d.lastBaseUpdate = Z, v === null && (d.shared.lanes = 0), Ya |= x, t.lanes = x, t.memoizedState = X;
    }
  }
  function Vv(t, a) {
    if (typeof t != "function")
      throw Error(o(191, t));
    t.call(a);
  }
  function Bv(t, a) {
    var i = t.callbacks;
    if (i !== null)
      for (t.callbacks = null, t = 0; t < i.length; t++)
        Vv(i[t], a);
  }
  var _o = Pe(null), tc = Pe(0);
  function Iv(t, a) {
    t = Ca, ne(tc, t), ne(_o, a), Ca = t | a.baseLanes;
  }
  function ld() {
    ne(tc, Ca), ne(_o, _o.current);
  }
  function cd() {
    Ca = tc.current, Me(_o), Me(tc);
  }
  var gn = Pe(null), Nn = null;
  function Fa(t) {
    var a = t.alternate;
    ne(pt, pt.current & 1), ne(gn, t), Nn === null && (a === null || _o.current !== null || a.memoizedState !== null) && (Nn = t);
  }
  function sd(t) {
    ne(pt, pt.current), ne(gn, t), Nn === null && (Nn = t);
  }
  function Uv(t) {
    t.tag === 22 ? (ne(pt, pt.current), ne(gn, t), Nn === null && (Nn = t)) : Za();
  }
  function Za() {
    ne(pt, pt.current), ne(gn, gn.current);
  }
  function pn(t) {
    Me(gn), Nn === t && (Nn = null), Me(pt);
  }
  var pt = Pe(0);
  function nc(t) {
    for (var a = t; a !== null; ) {
      if (a.tag === 13) {
        var i = a.memoizedState;
        if (i !== null && (i = i.dehydrated, i === null || hf(i) || mf(i)))
          return a;
      } else if (a.tag === 19 && (a.memoizedProps.revealOrder === "forwards" || a.memoizedProps.revealOrder === "backwards" || a.memoizedProps.revealOrder === "unstable_legacy-backwards" || a.memoizedProps.revealOrder === "together")) {
        if ((a.flags & 128) !== 0) return a;
      } else if (a.child !== null) {
        a.child.return = a, a = a.child;
        continue;
      }
      if (a === t) break;
      for (; a.sibling === null; ) {
        if (a.return === null || a.return === t) return null;
        a = a.return;
      }
      a.sibling.return = a.return, a = a.sibling;
    }
    return null;
  }
  var ha = 0, ze = null, Qe = null, wt = null, ac = !1, Ro = !1, Br = !1, rc = 0, Pi = 0, Eo = null, g2 = 0;
  function dt() {
    throw Error(o(321));
  }
  function ud(t, a) {
    if (a === null) return !1;
    for (var i = 0; i < a.length && i < t.length; i++)
      if (!dn(t[i], a[i])) return !1;
    return !0;
  }
  function dd(t, a, i, c, d, v) {
    return ha = v, ze = a, a.memoizedState = null, a.updateQueue = null, a.lanes = 0, O.H = t === null || t.memoizedState === null ? Rh : Rd, Br = !1, v = i(c, d), Br = !1, Ro && (v = Zv(
      a,
      i,
      c,
      d
    )), Fv(t), v;
  }
  function Fv(t) {
    O.H = Vi;
    var a = Qe !== null && Qe.next !== null;
    if (ha = 0, wt = Qe = ze = null, ac = !1, Pi = 0, Eo = null, a) throw Error(o(300));
    t === null || bt || (t = t.dependencies, t !== null && Yl(t) && (bt = !0));
  }
  function Zv(t, a, i, c) {
    ze = t;
    var d = 0;
    do {
      if (Ro && (Eo = null), Pi = 0, Ro = !1, 25 <= d) throw Error(o(301));
      if (d += 1, wt = Qe = null, t.updateQueue != null) {
        var v = t.updateQueue;
        v.lastEffect = null, v.events = null, v.stores = null, v.memoCache != null && (v.memoCache.index = 0);
      }
      O.H = Eh, v = a(i, c);
    } while (Ro);
    return v;
  }
  function p2() {
    var t = O.H, a = t.useState()[0];
    return a = typeof a.then == "function" ? Li(a) : a, t = t.useState()[0], (Qe !== null ? Qe.memoizedState : null) !== t && (ze.flags |= 1024), a;
  }
  function fd() {
    var t = rc !== 0;
    return rc = 0, t;
  }
  function gd(t, a, i) {
    a.updateQueue = t.updateQueue, a.flags &= -2053, t.lanes &= ~i;
  }
  function pd(t) {
    if (ac) {
      for (t = t.memoizedState; t !== null; ) {
        var a = t.queue;
        a !== null && (a.pending = null), t = t.next;
      }
      ac = !1;
    }
    ha = 0, wt = Qe = ze = null, Ro = !1, Pi = rc = 0, Eo = null;
  }
  function Zt() {
    var t = {
      memoizedState: null,
      baseState: null,
      baseQueue: null,
      queue: null,
      next: null
    };
    return wt === null ? ze.memoizedState = wt = t : wt = wt.next = t, wt;
  }
  function vt() {
    if (Qe === null) {
      var t = ze.alternate;
      t = t !== null ? t.memoizedState : null;
    } else t = Qe.next;
    var a = wt === null ? ze.memoizedState : wt.next;
    if (a !== null)
      wt = a, Qe = t;
    else {
      if (t === null)
        throw ze.alternate === null ? Error(o(467)) : Error(o(310));
      Qe = t, t = {
        memoizedState: Qe.memoizedState,
        baseState: Qe.baseState,
        baseQueue: Qe.baseQueue,
        queue: Qe.queue,
        next: null
      }, wt === null ? ze.memoizedState = wt = t : wt = wt.next = t;
    }
    return wt;
  }
  function oc() {
    return { lastEffect: null, events: null, stores: null, memoCache: null };
  }
  function Li(t) {
    var a = Pi;
    return Pi += 1, Eo === null && (Eo = []), t = jv(Eo, t, a), a = ze, (wt === null ? a.memoizedState : wt.next) === null && (a = a.alternate, O.H = a === null || a.memoizedState === null ? Rh : Rd), t;
  }
  function ic(t) {
    if (t !== null && typeof t == "object") {
      if (typeof t.then == "function") return Li(t);
      if (t.$$typeof === T) return Ot(t);
    }
    throw Error(o(438, String(t)));
  }
  function vd(t) {
    var a = null, i = ze.updateQueue;
    if (i !== null && (a = i.memoCache), a == null) {
      var c = ze.alternate;
      c !== null && (c = c.updateQueue, c !== null && (c = c.memoCache, c != null && (a = {
        data: c.data.map(function(d) {
          return d.slice();
        }),
        index: 0
      })));
    }
    if (a == null && (a = { data: [], index: 0 }), i === null && (i = oc(), ze.updateQueue = i), i.memoCache = a, i = a.data[a.index], i === void 0)
      for (i = a.data[a.index] = Array(t), c = 0; c < t; c++)
        i[c] = Q;
    return a.index++, i;
  }
  function ma(t, a) {
    return typeof a == "function" ? a(t) : a;
  }
  function lc(t) {
    var a = vt();
    return hd(a, Qe, t);
  }
  function hd(t, a, i) {
    var c = t.queue;
    if (c === null) throw Error(o(311));
    c.lastRenderedReducer = i;
    var d = t.baseQueue, v = c.pending;
    if (v !== null) {
      if (d !== null) {
        var x = d.next;
        d.next = v.next, v.next = x;
      }
      a.baseQueue = d = v, c.pending = null;
    }
    if (v = t.baseState, d === null) t.memoizedState = v;
    else {
      a = d.next;
      var _ = x = null, A = null, L = a, Z = !1;
      do {
        var X = L.lane & -536870913;
        if (X !== L.lane ? (Le & X) === X : (ha & X) === X) {
          var H = L.revertLane;
          if (H === 0)
            A !== null && (A = A.next = {
              lane: 0,
              revertLane: 0,
              gesture: null,
              action: L.action,
              hasEagerState: L.hasEagerState,
              eagerState: L.eagerState,
              next: null
            }), X === yo && (Z = !0);
          else if ((ha & H) === H) {
            L = L.next, H === yo && (Z = !0);
            continue;
          } else
            X = {
              lane: 0,
              revertLane: L.revertLane,
              gesture: null,
              action: L.action,
              hasEagerState: L.hasEagerState,
              eagerState: L.eagerState,
              next: null
            }, A === null ? (_ = A = X, x = v) : A = A.next = X, ze.lanes |= H, Ya |= H;
          X = L.action, Br && i(v, X), v = L.hasEagerState ? L.eagerState : i(v, X);
        } else
          H = {
            lane: X,
            revertLane: L.revertLane,
            gesture: L.gesture,
            action: L.action,
            hasEagerState: L.hasEagerState,
            eagerState: L.eagerState,
            next: null
          }, A === null ? (_ = A = H, x = v) : A = A.next = H, ze.lanes |= X, Ya |= X;
        L = L.next;
      } while (L !== null && L !== a);
      if (A === null ? x = v : A.next = _, !dn(v, t.memoizedState) && (bt = !0, Z && (i = So, i !== null)))
        throw i;
      t.memoizedState = v, t.baseState = x, t.baseQueue = A, c.lastRenderedState = v;
    }
    return d === null && (c.lanes = 0), [t.memoizedState, c.dispatch];
  }
  function md(t) {
    var a = vt(), i = a.queue;
    if (i === null) throw Error(o(311));
    i.lastRenderedReducer = t;
    var c = i.dispatch, d = i.pending, v = a.memoizedState;
    if (d !== null) {
      i.pending = null;
      var x = d = d.next;
      do
        v = t(v, x.action), x = x.next;
      while (x !== d);
      dn(v, a.memoizedState) || (bt = !0), a.memoizedState = v, a.baseQueue === null && (a.baseState = v), i.lastRenderedState = v;
    }
    return [v, c];
  }
  function Gv(t, a, i) {
    var c = ze, d = vt(), v = Be;
    if (v) {
      if (i === void 0) throw Error(o(407));
      i = i();
    } else i = a();
    var x = !dn(
      (Qe || d).memoizedState,
      i
    );
    if (x && (d.memoizedState = i, bt = !0), d = d.queue, xd(Xv.bind(null, c, d, t), [
      t
    ]), d.getSnapshot !== a || x || wt !== null && wt.memoizedState.tag & 1) {
      if (c.flags |= 2048, zo(
        9,
        { destroy: void 0 },
        Yv.bind(
          null,
          c,
          d,
          i,
          a
        ),
        null
      ), et === null) throw Error(o(349));
      v || (ha & 127) !== 0 || qv(c, a, i);
    }
    return i;
  }
  function qv(t, a, i) {
    t.flags |= 16384, t = { getSnapshot: a, value: i }, a = ze.updateQueue, a === null ? (a = oc(), ze.updateQueue = a, a.stores = [t]) : (i = a.stores, i === null ? a.stores = [t] : i.push(t));
  }
  function Yv(t, a, i, c) {
    a.value = i, a.getSnapshot = c, Kv(a) && Qv(t);
  }
  function Xv(t, a, i) {
    return i(function() {
      Kv(a) && Qv(t);
    });
  }
  function Kv(t) {
    var a = t.getSnapshot;
    t = t.value;
    try {
      var i = a();
      return !dn(t, i);
    } catch {
      return !0;
    }
  }
  function Qv(t) {
    var a = Or(t, 2);
    a !== null && rn(a, t, 2);
  }
  function wd(t) {
    var a = Zt();
    if (typeof t == "function") {
      var i = t;
      if (t = i(), Br) {
        Ln(!0);
        try {
          i();
        } finally {
          Ln(!1);
        }
      }
    }
    return a.memoizedState = a.baseState = t, a.queue = {
      pending: null,
      lanes: 0,
      dispatch: null,
      lastRenderedReducer: ma,
      lastRenderedState: t
    }, a;
  }
  function Jv(t, a, i, c) {
    return t.baseState = i, hd(
      t,
      Qe,
      typeof c == "function" ? c : ma
    );
  }
  function v2(t, a, i, c, d) {
    if (uc(t)) throw Error(o(485));
    if (t = a.action, t !== null) {
      var v = {
        payload: d,
        action: t,
        next: null,
        isTransition: !0,
        status: "pending",
        value: null,
        reason: null,
        listeners: [],
        then: function(x) {
          v.listeners.push(x);
        }
      };
      O.T !== null ? i(!0) : v.isTransition = !1, c(v), i = a.pending, i === null ? (v.next = a.pending = v, Wv(a, v)) : (v.next = i.next, a.pending = i.next = v);
    }
  }
  function Wv(t, a) {
    var i = a.action, c = a.payload, d = t.state;
    if (a.isTransition) {
      var v = O.T, x = {};
      O.T = x;
      try {
        var _ = i(d, c), A = O.S;
        A !== null && A(x, _), eh(t, a, _);
      } catch (L) {
        bd(t, a, L);
      } finally {
        v !== null && x.types !== null && (v.types = x.types), O.T = v;
      }
    } else
      try {
        v = i(d, c), eh(t, a, v);
      } catch (L) {
        bd(t, a, L);
      }
  }
  function eh(t, a, i) {
    i !== null && typeof i == "object" && typeof i.then == "function" ? i.then(
      function(c) {
        th(t, a, c);
      },
      function(c) {
        return bd(t, a, c);
      }
    ) : th(t, a, i);
  }
  function th(t, a, i) {
    a.status = "fulfilled", a.value = i, nh(a), t.state = i, a = t.pending, a !== null && (i = a.next, i === a ? t.pending = null : (i = i.next, a.next = i, Wv(t, i)));
  }
  function bd(t, a, i) {
    var c = t.pending;
    if (t.pending = null, c !== null) {
      c = c.next;
      do
        a.status = "rejected", a.reason = i, nh(a), a = a.next;
      while (a !== c);
    }
    t.action = null;
  }
  function nh(t) {
    t = t.listeners;
    for (var a = 0; a < t.length; a++) (0, t[a])();
  }
  function ah(t, a) {
    return a;
  }
  function rh(t, a) {
    if (Be) {
      var i = et.formState;
      if (i !== null) {
        e: {
          var c = ze;
          if (Be) {
            if (tt) {
              t: {
                for (var d = tt, v = An; d.nodeType !== 8; ) {
                  if (!v) {
                    d = null;
                    break t;
                  }
                  if (d = On(
                    d.nextSibling
                  ), d === null) {
                    d = null;
                    break t;
                  }
                }
                v = d.data, d = v === "F!" || v === "F" ? d : null;
              }
              if (d) {
                tt = On(
                  d.nextSibling
                ), c = d.data === "F!";
                break e;
              }
            }
            Ha(c);
          }
          c = !1;
        }
        c && (a = i[0]);
      }
    }
    return i = Zt(), i.memoizedState = i.baseState = a, c = {
      pending: null,
      lanes: 0,
      dispatch: null,
      lastRenderedReducer: ah,
      lastRenderedState: a
    }, i.queue = c, i = kh.bind(
      null,
      ze,
      c
    ), c.dispatch = i, c = wd(!1), v = _d.bind(
      null,
      ze,
      !1,
      c.queue
    ), c = Zt(), d = {
      state: a,
      dispatch: null,
      action: t,
      pending: null
    }, c.queue = d, i = v2.bind(
      null,
      ze,
      d,
      v,
      i
    ), d.dispatch = i, c.memoizedState = t, [a, i, !1];
  }
  function oh(t) {
    var a = vt();
    return ih(a, Qe, t);
  }
  function ih(t, a, i) {
    if (a = hd(
      t,
      a,
      ah
    )[0], t = lc(ma)[0], typeof a == "object" && a !== null && typeof a.then == "function")
      try {
        var c = Li(a);
      } catch (x) {
        throw x === ko ? Ql : x;
      }
    else c = a;
    a = vt();
    var d = a.queue, v = d.dispatch;
    return i !== a.memoizedState && (ze.flags |= 2048, zo(
      9,
      { destroy: void 0 },
      h2.bind(null, d, i),
      null
    )), [c, v, t];
  }
  function h2(t, a) {
    t.action = a;
  }
  function lh(t) {
    var a = vt(), i = Qe;
    if (i !== null)
      return ih(a, i, t);
    vt(), a = a.memoizedState, i = vt();
    var c = i.queue.dispatch;
    return i.memoizedState = t, [a, c, !1];
  }
  function zo(t, a, i, c) {
    return t = { tag: t, create: i, deps: c, inst: a, next: null }, a = ze.updateQueue, a === null && (a = oc(), ze.updateQueue = a), i = a.lastEffect, i === null ? a.lastEffect = t.next = t : (c = i.next, i.next = t, t.next = c, a.lastEffect = t), t;
  }
  function ch() {
    return vt().memoizedState;
  }
  function cc(t, a, i, c) {
    var d = Zt();
    ze.flags |= t, d.memoizedState = zo(
      1 | a,
      { destroy: void 0 },
      i,
      c === void 0 ? null : c
    );
  }
  function sc(t, a, i, c) {
    var d = vt();
    c = c === void 0 ? null : c;
    var v = d.memoizedState.inst;
    Qe !== null && c !== null && ud(c, Qe.memoizedState.deps) ? d.memoizedState = zo(a, v, i, c) : (ze.flags |= t, d.memoizedState = zo(
      1 | a,
      v,
      i,
      c
    ));
  }
  function sh(t, a) {
    cc(8390656, 8, t, a);
  }
  function xd(t, a) {
    sc(2048, 8, t, a);
  }
  function m2(t) {
    ze.flags |= 4;
    var a = ze.updateQueue;
    if (a === null)
      a = oc(), ze.updateQueue = a, a.events = [t];
    else {
      var i = a.events;
      i === null ? a.events = [t] : i.push(t);
    }
  }
  function uh(t) {
    var a = vt().memoizedState;
    return m2({ ref: a, nextImpl: t }), function() {
      if ((qe & 2) !== 0) throw Error(o(440));
      return a.impl.apply(void 0, arguments);
    };
  }
  function dh(t, a) {
    return sc(4, 2, t, a);
  }
  function fh(t, a) {
    return sc(4, 4, t, a);
  }
  function gh(t, a) {
    if (typeof a == "function") {
      t = t();
      var i = a(t);
      return function() {
        typeof i == "function" ? i() : a(null);
      };
    }
    if (a != null)
      return t = t(), a.current = t, function() {
        a.current = null;
      };
  }
  function ph(t, a, i) {
    i = i != null ? i.concat([t]) : null, sc(4, 4, gh.bind(null, a, t), i);
  }
  function yd() {
  }
  function vh(t, a) {
    var i = vt();
    a = a === void 0 ? null : a;
    var c = i.memoizedState;
    return a !== null && ud(a, c[1]) ? c[0] : (i.memoizedState = [t, a], t);
  }
  function hh(t, a) {
    var i = vt();
    a = a === void 0 ? null : a;
    var c = i.memoizedState;
    if (a !== null && ud(a, c[1]))
      return c[0];
    if (c = t(), Br) {
      Ln(!0);
      try {
        t();
      } finally {
        Ln(!1);
      }
    }
    return i.memoizedState = [c, a], c;
  }
  function Sd(t, a, i) {
    return i === void 0 || (ha & 1073741824) !== 0 && (Le & 261930) === 0 ? t.memoizedState = a : (t.memoizedState = i, t = mm(), ze.lanes |= t, Ya |= t, i);
  }
  function mh(t, a, i, c) {
    return dn(i, a) ? i : _o.current !== null ? (t = Sd(t, i, c), dn(t, a) || (bt = !0), t) : (ha & 42) === 0 || (ha & 1073741824) !== 0 && (Le & 261930) === 0 ? (bt = !0, t.memoizedState = i) : (t = mm(), ze.lanes |= t, Ya |= t, a);
  }
  function wh(t, a, i, c, d) {
    var v = B.p;
    B.p = v !== 0 && 8 > v ? v : 8;
    var x = O.T, _ = {};
    O.T = _, _d(t, !1, a, i);
    try {
      var A = d(), L = O.S;
      if (L !== null && L(_, A), A !== null && typeof A == "object" && typeof A.then == "function") {
        var Z = f2(
          A,
          c
        );
        Hi(
          t,
          a,
          Z,
          mn(t)
        );
      } else
        Hi(
          t,
          a,
          c,
          mn(t)
        );
    } catch (X) {
      Hi(
        t,
        a,
        { then: function() {
        }, status: "rejected", reason: X },
        mn()
      );
    } finally {
      B.p = v, x !== null && _.types !== null && (x.types = _.types), O.T = x;
    }
  }
  function w2() {
  }
  function kd(t, a, i, c) {
    if (t.tag !== 5) throw Error(o(476));
    var d = bh(t).queue;
    wh(
      t,
      d,
      a,
      j,
      i === null ? w2 : function() {
        return xh(t), i(c);
      }
    );
  }
  function bh(t) {
    var a = t.memoizedState;
    if (a !== null) return a;
    a = {
      memoizedState: j,
      baseState: j,
      baseQueue: null,
      queue: {
        pending: null,
        lanes: 0,
        dispatch: null,
        lastRenderedReducer: ma,
        lastRenderedState: j
      },
      next: null
    };
    var i = {};
    return a.next = {
      memoizedState: i,
      baseState: i,
      baseQueue: null,
      queue: {
        pending: null,
        lanes: 0,
        dispatch: null,
        lastRenderedReducer: ma,
        lastRenderedState: i
      },
      next: null
    }, t.memoizedState = a, t = t.alternate, t !== null && (t.memoizedState = a), a;
  }
  function xh(t) {
    var a = bh(t);
    a.next === null && (a = t.alternate.memoizedState), Hi(
      t,
      a.next.queue,
      {},
      mn()
    );
  }
  function Cd() {
    return Ot(nl);
  }
  function yh() {
    return vt().memoizedState;
  }
  function Sh() {
    return vt().memoizedState;
  }
  function b2(t) {
    for (var a = t.return; a !== null; ) {
      switch (a.tag) {
        case 24:
        case 3:
          var i = mn();
          t = Ia(i);
          var c = Ua(a, t, i);
          c !== null && (rn(c, a, i), Mi(c, a, i)), a = { cache: Wu() }, t.payload = a;
          return;
      }
      a = a.return;
    }
  }
  function x2(t, a, i) {
    var c = mn();
    i = {
      lane: c,
      revertLane: 0,
      gesture: null,
      action: i,
      hasEagerState: !1,
      eagerState: null,
      next: null
    }, uc(t) ? Ch(a, i) : (i = Iu(t, a, i, c), i !== null && (rn(i, t, c), _h(i, a, c)));
  }
  function kh(t, a, i) {
    var c = mn();
    Hi(t, a, i, c);
  }
  function Hi(t, a, i, c) {
    var d = {
      lane: c,
      revertLane: 0,
      gesture: null,
      action: i,
      hasEagerState: !1,
      eagerState: null,
      next: null
    };
    if (uc(t)) Ch(a, d);
    else {
      var v = t.alternate;
      if (t.lanes === 0 && (v === null || v.lanes === 0) && (v = a.lastRenderedReducer, v !== null))
        try {
          var x = a.lastRenderedState, _ = v(x, i);
          if (d.hasEagerState = !0, d.eagerState = _, dn(_, x))
            return Fl(t, a, d, 0), et === null && Ul(), !1;
        } catch {
        } finally {
        }
      if (i = Iu(t, a, d, c), i !== null)
        return rn(i, t, c), _h(i, a, c), !0;
    }
    return !1;
  }
  function _d(t, a, i, c) {
    if (c = {
      lane: 2,
      revertLane: af(),
      gesture: null,
      action: c,
      hasEagerState: !1,
      eagerState: null,
      next: null
    }, uc(t)) {
      if (a) throw Error(o(479));
    } else
      a = Iu(
        t,
        i,
        c,
        2
      ), a !== null && rn(a, t, 2);
  }
  function uc(t) {
    var a = t.alternate;
    return t === ze || a !== null && a === ze;
  }
  function Ch(t, a) {
    Ro = ac = !0;
    var i = t.pending;
    i === null ? a.next = a : (a.next = i.next, i.next = a), t.pending = a;
  }
  function _h(t, a, i) {
    if ((i & 4194048) !== 0) {
      var c = a.lanes;
      c &= t.pendingLanes, i |= c, a.lanes = i, Kt(t, i);
    }
  }
  var Vi = {
    readContext: Ot,
    use: ic,
    useCallback: dt,
    useContext: dt,
    useEffect: dt,
    useImperativeHandle: dt,
    useLayoutEffect: dt,
    useInsertionEffect: dt,
    useMemo: dt,
    useReducer: dt,
    useRef: dt,
    useState: dt,
    useDebugValue: dt,
    useDeferredValue: dt,
    useTransition: dt,
    useSyncExternalStore: dt,
    useId: dt,
    useHostTransitionStatus: dt,
    useFormState: dt,
    useActionState: dt,
    useOptimistic: dt,
    useMemoCache: dt,
    useCacheRefresh: dt
  };
  Vi.useEffectEvent = dt;
  var Rh = {
    readContext: Ot,
    use: ic,
    useCallback: function(t, a) {
      return Zt().memoizedState = [
        t,
        a === void 0 ? null : a
      ], t;
    },
    useContext: Ot,
    useEffect: sh,
    useImperativeHandle: function(t, a, i) {
      i = i != null ? i.concat([t]) : null, cc(
        4194308,
        4,
        gh.bind(null, a, t),
        i
      );
    },
    useLayoutEffect: function(t, a) {
      return cc(4194308, 4, t, a);
    },
    useInsertionEffect: function(t, a) {
      cc(4, 2, t, a);
    },
    useMemo: function(t, a) {
      var i = Zt();
      a = a === void 0 ? null : a;
      var c = t();
      if (Br) {
        Ln(!0);
        try {
          t();
        } finally {
          Ln(!1);
        }
      }
      return i.memoizedState = [c, a], c;
    },
    useReducer: function(t, a, i) {
      var c = Zt();
      if (i !== void 0) {
        var d = i(a);
        if (Br) {
          Ln(!0);
          try {
            i(a);
          } finally {
            Ln(!1);
          }
        }
      } else d = a;
      return c.memoizedState = c.baseState = d, t = {
        pending: null,
        lanes: 0,
        dispatch: null,
        lastRenderedReducer: t,
        lastRenderedState: d
      }, c.queue = t, t = t.dispatch = x2.bind(
        null,
        ze,
        t
      ), [c.memoizedState, t];
    },
    useRef: function(t) {
      var a = Zt();
      return t = { current: t }, a.memoizedState = t;
    },
    useState: function(t) {
      t = wd(t);
      var a = t.queue, i = kh.bind(null, ze, a);
      return a.dispatch = i, [t.memoizedState, i];
    },
    useDebugValue: yd,
    useDeferredValue: function(t, a) {
      var i = Zt();
      return Sd(i, t, a);
    },
    useTransition: function() {
      var t = wd(!1);
      return t = wh.bind(
        null,
        ze,
        t.queue,
        !0,
        !1
      ), Zt().memoizedState = t, [!1, t];
    },
    useSyncExternalStore: function(t, a, i) {
      var c = ze, d = Zt();
      if (Be) {
        if (i === void 0)
          throw Error(o(407));
        i = i();
      } else {
        if (i = a(), et === null)
          throw Error(o(349));
        (Le & 127) !== 0 || qv(c, a, i);
      }
      d.memoizedState = i;
      var v = { value: i, getSnapshot: a };
      return d.queue = v, sh(Xv.bind(null, c, v, t), [
        t
      ]), c.flags |= 2048, zo(
        9,
        { destroy: void 0 },
        Yv.bind(
          null,
          c,
          v,
          i,
          a
        ),
        null
      ), i;
    },
    useId: function() {
      var t = Zt(), a = et.identifierPrefix;
      if (Be) {
        var i = Jn, c = Qn;
        i = (c & ~(1 << 32 - $t(c) - 1)).toString(32) + i, a = "_" + a + "R_" + i, i = rc++, 0 < i && (a += "H" + i.toString(32)), a += "_";
      } else
        i = g2++, a = "_" + a + "r_" + i.toString(32) + "_";
      return t.memoizedState = a;
    },
    useHostTransitionStatus: Cd,
    useFormState: rh,
    useActionState: rh,
    useOptimistic: function(t) {
      var a = Zt();
      a.memoizedState = a.baseState = t;
      var i = {
        pending: null,
        lanes: 0,
        dispatch: null,
        lastRenderedReducer: null,
        lastRenderedState: null
      };
      return a.queue = i, a = _d.bind(
        null,
        ze,
        !0,
        i
      ), i.dispatch = a, [t, a];
    },
    useMemoCache: vd,
    useCacheRefresh: function() {
      return Zt().memoizedState = b2.bind(
        null,
        ze
      );
    },
    useEffectEvent: function(t) {
      var a = Zt(), i = { impl: t };
      return a.memoizedState = i, function() {
        if ((qe & 2) !== 0)
          throw Error(o(440));
        return i.impl.apply(void 0, arguments);
      };
    }
  }, Rd = {
    readContext: Ot,
    use: ic,
    useCallback: vh,
    useContext: Ot,
    useEffect: xd,
    useImperativeHandle: ph,
    useInsertionEffect: dh,
    useLayoutEffect: fh,
    useMemo: hh,
    useReducer: lc,
    useRef: ch,
    useState: function() {
      return lc(ma);
    },
    useDebugValue: yd,
    useDeferredValue: function(t, a) {
      var i = vt();
      return mh(
        i,
        Qe.memoizedState,
        t,
        a
      );
    },
    useTransition: function() {
      var t = lc(ma)[0], a = vt().memoizedState;
      return [
        typeof t == "boolean" ? t : Li(t),
        a
      ];
    },
    useSyncExternalStore: Gv,
    useId: yh,
    useHostTransitionStatus: Cd,
    useFormState: oh,
    useActionState: oh,
    useOptimistic: function(t, a) {
      var i = vt();
      return Jv(i, Qe, t, a);
    },
    useMemoCache: vd,
    useCacheRefresh: Sh
  };
  Rd.useEffectEvent = uh;
  var Eh = {
    readContext: Ot,
    use: ic,
    useCallback: vh,
    useContext: Ot,
    useEffect: xd,
    useImperativeHandle: ph,
    useInsertionEffect: dh,
    useLayoutEffect: fh,
    useMemo: hh,
    useReducer: md,
    useRef: ch,
    useState: function() {
      return md(ma);
    },
    useDebugValue: yd,
    useDeferredValue: function(t, a) {
      var i = vt();
      return Qe === null ? Sd(i, t, a) : mh(
        i,
        Qe.memoizedState,
        t,
        a
      );
    },
    useTransition: function() {
      var t = md(ma)[0], a = vt().memoizedState;
      return [
        typeof t == "boolean" ? t : Li(t),
        a
      ];
    },
    useSyncExternalStore: Gv,
    useId: yh,
    useHostTransitionStatus: Cd,
    useFormState: lh,
    useActionState: lh,
    useOptimistic: function(t, a) {
      var i = vt();
      return Qe !== null ? Jv(i, Qe, t, a) : (i.baseState = t, [t, i.queue.dispatch]);
    },
    useMemoCache: vd,
    useCacheRefresh: Sh
  };
  Eh.useEffectEvent = uh;
  function Ed(t, a, i, c) {
    a = t.memoizedState, i = i(c, a), i = i == null ? a : h({}, a, i), t.memoizedState = i, t.lanes === 0 && (t.updateQueue.baseState = i);
  }
  var zd = {
    enqueueSetState: function(t, a, i) {
      t = t._reactInternals;
      var c = mn(), d = Ia(c);
      d.payload = a, i != null && (d.callback = i), a = Ua(t, d, c), a !== null && (rn(a, t, c), Mi(a, t, c));
    },
    enqueueReplaceState: function(t, a, i) {
      t = t._reactInternals;
      var c = mn(), d = Ia(c);
      d.tag = 1, d.payload = a, i != null && (d.callback = i), a = Ua(t, d, c), a !== null && (rn(a, t, c), Mi(a, t, c));
    },
    enqueueForceUpdate: function(t, a) {
      t = t._reactInternals;
      var i = mn(), c = Ia(i);
      c.tag = 2, a != null && (c.callback = a), a = Ua(t, c, i), a !== null && (rn(a, t, i), Mi(a, t, i));
    }
  };
  function zh(t, a, i, c, d, v, x) {
    return t = t.stateNode, typeof t.shouldComponentUpdate == "function" ? t.shouldComponentUpdate(c, v, x) : a.prototype && a.prototype.isPureReactComponent ? !Ri(i, c) || !Ri(d, v) : !0;
  }
  function Th(t, a, i, c) {
    t = a.state, typeof a.componentWillReceiveProps == "function" && a.componentWillReceiveProps(i, c), typeof a.UNSAFE_componentWillReceiveProps == "function" && a.UNSAFE_componentWillReceiveProps(i, c), a.state !== t && zd.enqueueReplaceState(a, a.state, null);
  }
  function Ir(t, a) {
    var i = a;
    if ("ref" in a) {
      i = {};
      for (var c in a)
        c !== "ref" && (i[c] = a[c]);
    }
    if (t = t.defaultProps) {
      i === a && (i = h({}, i));
      for (var d in t)
        i[d] === void 0 && (i[d] = t[d]);
    }
    return i;
  }
  function Ah(t) {
    Il(t);
  }
  function Nh(t) {
    console.error(t);
  }
  function Oh(t) {
    Il(t);
  }
  function dc(t, a) {
    try {
      var i = t.onUncaughtError;
      i(a.value, { componentStack: a.stack });
    } catch (c) {
      setTimeout(function() {
        throw c;
      });
    }
  }
  function Dh(t, a, i) {
    try {
      var c = t.onCaughtError;
      c(i.value, {
        componentStack: i.stack,
        errorBoundary: a.tag === 1 ? a.stateNode : null
      });
    } catch (d) {
      setTimeout(function() {
        throw d;
      });
    }
  }
  function Td(t, a, i) {
    return i = Ia(i), i.tag = 3, i.payload = { element: null }, i.callback = function() {
      dc(t, a);
    }, i;
  }
  function Mh(t) {
    return t = Ia(t), t.tag = 3, t;
  }
  function jh(t, a, i, c) {
    var d = i.type.getDerivedStateFromError;
    if (typeof d == "function") {
      var v = c.value;
      t.payload = function() {
        return d(v);
      }, t.callback = function() {
        Dh(a, i, c);
      };
    }
    var x = i.stateNode;
    x !== null && typeof x.componentDidCatch == "function" && (t.callback = function() {
      Dh(a, i, c), typeof d != "function" && (Xa === null ? Xa = /* @__PURE__ */ new Set([this]) : Xa.add(this));
      var _ = c.stack;
      this.componentDidCatch(c.value, {
        componentStack: _ !== null ? _ : ""
      });
    });
  }
  function y2(t, a, i, c, d) {
    if (i.flags |= 32768, c !== null && typeof c == "object" && typeof c.then == "function") {
      if (a = i.alternate, a !== null && xo(
        a,
        i,
        d,
        !0
      ), i = gn.current, i !== null) {
        switch (i.tag) {
          case 31:
          case 13:
            return Nn === null ? kc() : i.alternate === null && ft === 0 && (ft = 3), i.flags &= -257, i.flags |= 65536, i.lanes = d, c === Jl ? i.flags |= 16384 : (a = i.updateQueue, a === null ? i.updateQueue = /* @__PURE__ */ new Set([c]) : a.add(c), ef(t, c, d)), !1;
          case 22:
            return i.flags |= 65536, c === Jl ? i.flags |= 16384 : (a = i.updateQueue, a === null ? (a = {
              transitions: null,
              markerInstances: null,
              retryQueue: /* @__PURE__ */ new Set([c])
            }, i.updateQueue = a) : (i = a.retryQueue, i === null ? a.retryQueue = /* @__PURE__ */ new Set([c]) : i.add(c)), ef(t, c, d)), !1;
        }
        throw Error(o(435, i.tag));
      }
      return ef(t, c, d), kc(), !1;
    }
    if (Be)
      return a = gn.current, a !== null ? ((a.flags & 65536) === 0 && (a.flags |= 256), a.flags |= 65536, a.lanes = d, c !== Yu && (t = Error(o(422), { cause: c }), Ti(En(t, i)))) : (c !== Yu && (a = Error(o(423), {
        cause: c
      }), Ti(
        En(a, i)
      )), t = t.current.alternate, t.flags |= 65536, d &= -d, t.lanes |= d, c = En(c, i), d = Td(
        t.stateNode,
        c,
        d
      ), od(t, d), ft !== 4 && (ft = 2)), !1;
    var v = Error(o(520), { cause: c });
    if (v = En(v, i), Yi === null ? Yi = [v] : Yi.push(v), ft !== 4 && (ft = 2), a === null) return !0;
    c = En(c, i), i = a;
    do {
      switch (i.tag) {
        case 3:
          return i.flags |= 65536, t = d & -d, i.lanes |= t, t = Td(i.stateNode, c, t), od(i, t), !1;
        case 1:
          if (a = i.type, v = i.stateNode, (i.flags & 128) === 0 && (typeof a.getDerivedStateFromError == "function" || v !== null && typeof v.componentDidCatch == "function" && (Xa === null || !Xa.has(v))))
            return i.flags |= 65536, d &= -d, i.lanes |= d, d = Mh(d), jh(
              d,
              t,
              i,
              c
            ), od(i, d), !1;
      }
      i = i.return;
    } while (i !== null);
    return !1;
  }
  var Ad = Error(o(461)), bt = !1;
  function Dt(t, a, i, c) {
    a.child = t === null ? Hv(a, null, i, c) : Vr(
      a,
      t.child,
      i,
      c
    );
  }
  function $h(t, a, i, c, d) {
    i = i.render;
    var v = a.ref;
    if ("ref" in c) {
      var x = {};
      for (var _ in c)
        _ !== "ref" && (x[_] = c[_]);
    } else x = c;
    return $r(a), c = dd(
      t,
      a,
      i,
      x,
      v,
      d
    ), _ = fd(), t !== null && !bt ? (gd(t, a, d), wa(t, a, d)) : (Be && _ && Gu(a), a.flags |= 1, Dt(t, a, c, d), a.child);
  }
  function Ph(t, a, i, c, d) {
    if (t === null) {
      var v = i.type;
      return typeof v == "function" && !Uu(v) && v.defaultProps === void 0 && i.compare === null ? (a.tag = 15, a.type = v, Lh(
        t,
        a,
        v,
        c,
        d
      )) : (t = Gl(
        i.type,
        null,
        c,
        a,
        a.mode,
        d
      ), t.ref = a.ref, t.return = a, a.child = t);
    }
    if (v = t.child, !Ld(t, d)) {
      var x = v.memoizedProps;
      if (i = i.compare, i = i !== null ? i : Ri, i(x, c) && t.ref === a.ref)
        return wa(t, a, d);
    }
    return a.flags |= 1, t = fa(v, c), t.ref = a.ref, t.return = a, a.child = t;
  }
  function Lh(t, a, i, c, d) {
    if (t !== null) {
      var v = t.memoizedProps;
      if (Ri(v, c) && t.ref === a.ref)
        if (bt = !1, a.pendingProps = c = v, Ld(t, d))
          (t.flags & 131072) !== 0 && (bt = !0);
        else
          return a.lanes = t.lanes, wa(t, a, d);
    }
    return Nd(
      t,
      a,
      i,
      c,
      d
    );
  }
  function Hh(t, a, i, c) {
    var d = c.children, v = t !== null ? t.memoizedState : null;
    if (t === null && a.stateNode === null && (a.stateNode = {
      _visibility: 1,
      _pendingMarkers: null,
      _retryCache: null,
      _transitions: null
    }), c.mode === "hidden") {
      if ((a.flags & 128) !== 0) {
        if (v = v !== null ? v.baseLanes | i : i, t !== null) {
          for (c = a.child = t.child, d = 0; c !== null; )
            d = d | c.lanes | c.childLanes, c = c.sibling;
          c = d & ~v;
        } else c = 0, a.child = null;
        return Vh(
          t,
          a,
          v,
          i,
          c
        );
      }
      if ((i & 536870912) !== 0)
        a.memoizedState = { baseLanes: 0, cachePool: null }, t !== null && Kl(
          a,
          v !== null ? v.cachePool : null
        ), v !== null ? Iv(a, v) : ld(), Uv(a);
      else
        return c = a.lanes = 536870912, Vh(
          t,
          a,
          v !== null ? v.baseLanes | i : i,
          i,
          c
        );
    } else
      v !== null ? (Kl(a, v.cachePool), Iv(a, v), Za(), a.memoizedState = null) : (t !== null && Kl(a, null), ld(), Za());
    return Dt(t, a, d, i), a.child;
  }
  function Bi(t, a) {
    return t !== null && t.tag === 22 || a.stateNode !== null || (a.stateNode = {
      _visibility: 1,
      _pendingMarkers: null,
      _retryCache: null,
      _transitions: null
    }), a.sibling;
  }
  function Vh(t, a, i, c, d) {
    var v = td();
    return v = v === null ? null : { parent: mt._currentValue, pool: v }, a.memoizedState = {
      baseLanes: i,
      cachePool: v
    }, t !== null && Kl(a, null), ld(), Uv(a), t !== null && xo(t, a, c, !0), a.childLanes = d, null;
  }
  function fc(t, a) {
    return a = pc(
      { mode: a.mode, children: a.children },
      t.mode
    ), a.ref = t.ref, t.child = a, a.return = t, a;
  }
  function Bh(t, a, i) {
    return Vr(a, t.child, null, i), t = fc(a, a.pendingProps), t.flags |= 2, pn(a), a.memoizedState = null, t;
  }
  function S2(t, a, i) {
    var c = a.pendingProps, d = (a.flags & 128) !== 0;
    if (a.flags &= -129, t === null) {
      if (Be) {
        if (c.mode === "hidden")
          return t = fc(a, c), a.lanes = 536870912, Bi(null, t);
        if (sd(a), (t = tt) ? (t = Wm(
          t,
          An
        ), t = t !== null && t.data === "&" ? t : null, t !== null && (a.memoizedState = {
          dehydrated: t,
          treeContext: Pa !== null ? { id: Qn, overflow: Jn } : null,
          retryLane: 536870912,
          hydrationErrors: null
        }, i = Cv(t), i.return = a, a.child = i, Nt = a, tt = null)) : t = null, t === null) throw Ha(a);
        return a.lanes = 536870912, null;
      }
      return fc(a, c);
    }
    var v = t.memoizedState;
    if (v !== null) {
      var x = v.dehydrated;
      if (sd(a), d)
        if (a.flags & 256)
          a.flags &= -257, a = Bh(
            t,
            a,
            i
          );
        else if (a.memoizedState !== null)
          a.child = t.child, a.flags |= 128, a = null;
        else throw Error(o(558));
      else if (bt || xo(t, a, i, !1), d = (i & t.childLanes) !== 0, bt || d) {
        if (c = et, c !== null && (x = Qt(c, i), x !== 0 && x !== v.retryLane))
          throw v.retryLane = x, Or(t, x), rn(c, t, x), Ad;
        kc(), a = Bh(
          t,
          a,
          i
        );
      } else
        t = v.treeContext, tt = On(x.nextSibling), Nt = a, Be = !0, La = null, An = !1, t !== null && Ev(a, t), a = fc(a, c), a.flags |= 4096;
      return a;
    }
    return t = fa(t.child, {
      mode: c.mode,
      children: c.children
    }), t.ref = a.ref, a.child = t, t.return = a, t;
  }
  function gc(t, a) {
    var i = a.ref;
    if (i === null)
      t !== null && t.ref !== null && (a.flags |= 4194816);
    else {
      if (typeof i != "function" && typeof i != "object")
        throw Error(o(284));
      (t === null || t.ref !== i) && (a.flags |= 4194816);
    }
  }
  function Nd(t, a, i, c, d) {
    return $r(a), i = dd(
      t,
      a,
      i,
      c,
      void 0,
      d
    ), c = fd(), t !== null && !bt ? (gd(t, a, d), wa(t, a, d)) : (Be && c && Gu(a), a.flags |= 1, Dt(t, a, i, d), a.child);
  }
  function Ih(t, a, i, c, d, v) {
    return $r(a), a.updateQueue = null, i = Zv(
      a,
      c,
      i,
      d
    ), Fv(t), c = fd(), t !== null && !bt ? (gd(t, a, v), wa(t, a, v)) : (Be && c && Gu(a), a.flags |= 1, Dt(t, a, i, v), a.child);
  }
  function Uh(t, a, i, c, d) {
    if ($r(a), a.stateNode === null) {
      var v = ho, x = i.contextType;
      typeof x == "object" && x !== null && (v = Ot(x)), v = new i(c, v), a.memoizedState = v.state !== null && v.state !== void 0 ? v.state : null, v.updater = zd, a.stateNode = v, v._reactInternals = a, v = a.stateNode, v.props = c, v.state = a.memoizedState, v.refs = {}, ad(a), x = i.contextType, v.context = typeof x == "object" && x !== null ? Ot(x) : ho, v.state = a.memoizedState, x = i.getDerivedStateFromProps, typeof x == "function" && (Ed(
        a,
        i,
        x,
        c
      ), v.state = a.memoizedState), typeof i.getDerivedStateFromProps == "function" || typeof v.getSnapshotBeforeUpdate == "function" || typeof v.UNSAFE_componentWillMount != "function" && typeof v.componentWillMount != "function" || (x = v.state, typeof v.componentWillMount == "function" && v.componentWillMount(), typeof v.UNSAFE_componentWillMount == "function" && v.UNSAFE_componentWillMount(), x !== v.state && zd.enqueueReplaceState(v, v.state, null), $i(a, c, v, d), ji(), v.state = a.memoizedState), typeof v.componentDidMount == "function" && (a.flags |= 4194308), c = !0;
    } else if (t === null) {
      v = a.stateNode;
      var _ = a.memoizedProps, A = Ir(i, _);
      v.props = A;
      var L = v.context, Z = i.contextType;
      x = ho, typeof Z == "object" && Z !== null && (x = Ot(Z));
      var X = i.getDerivedStateFromProps;
      Z = typeof X == "function" || typeof v.getSnapshotBeforeUpdate == "function", _ = a.pendingProps !== _, Z || typeof v.UNSAFE_componentWillReceiveProps != "function" && typeof v.componentWillReceiveProps != "function" || (_ || L !== x) && Th(
        a,
        v,
        c,
        x
      ), Ba = !1;
      var H = a.memoizedState;
      v.state = H, $i(a, c, v, d), ji(), L = a.memoizedState, _ || H !== L || Ba ? (typeof X == "function" && (Ed(
        a,
        i,
        X,
        c
      ), L = a.memoizedState), (A = Ba || zh(
        a,
        i,
        A,
        c,
        H,
        L,
        x
      )) ? (Z || typeof v.UNSAFE_componentWillMount != "function" && typeof v.componentWillMount != "function" || (typeof v.componentWillMount == "function" && v.componentWillMount(), typeof v.UNSAFE_componentWillMount == "function" && v.UNSAFE_componentWillMount()), typeof v.componentDidMount == "function" && (a.flags |= 4194308)) : (typeof v.componentDidMount == "function" && (a.flags |= 4194308), a.memoizedProps = c, a.memoizedState = L), v.props = c, v.state = L, v.context = x, c = A) : (typeof v.componentDidMount == "function" && (a.flags |= 4194308), c = !1);
    } else {
      v = a.stateNode, rd(t, a), x = a.memoizedProps, Z = Ir(i, x), v.props = Z, X = a.pendingProps, H = v.context, L = i.contextType, A = ho, typeof L == "object" && L !== null && (A = Ot(L)), _ = i.getDerivedStateFromProps, (L = typeof _ == "function" || typeof v.getSnapshotBeforeUpdate == "function") || typeof v.UNSAFE_componentWillReceiveProps != "function" && typeof v.componentWillReceiveProps != "function" || (x !== X || H !== A) && Th(
        a,
        v,
        c,
        A
      ), Ba = !1, H = a.memoizedState, v.state = H, $i(a, c, v, d), ji();
      var V = a.memoizedState;
      x !== X || H !== V || Ba || t !== null && t.dependencies !== null && Yl(t.dependencies) ? (typeof _ == "function" && (Ed(
        a,
        i,
        _,
        c
      ), V = a.memoizedState), (Z = Ba || zh(
        a,
        i,
        Z,
        c,
        H,
        V,
        A
      ) || t !== null && t.dependencies !== null && Yl(t.dependencies)) ? (L || typeof v.UNSAFE_componentWillUpdate != "function" && typeof v.componentWillUpdate != "function" || (typeof v.componentWillUpdate == "function" && v.componentWillUpdate(c, V, A), typeof v.UNSAFE_componentWillUpdate == "function" && v.UNSAFE_componentWillUpdate(
        c,
        V,
        A
      )), typeof v.componentDidUpdate == "function" && (a.flags |= 4), typeof v.getSnapshotBeforeUpdate == "function" && (a.flags |= 1024)) : (typeof v.componentDidUpdate != "function" || x === t.memoizedProps && H === t.memoizedState || (a.flags |= 4), typeof v.getSnapshotBeforeUpdate != "function" || x === t.memoizedProps && H === t.memoizedState || (a.flags |= 1024), a.memoizedProps = c, a.memoizedState = V), v.props = c, v.state = V, v.context = A, c = Z) : (typeof v.componentDidUpdate != "function" || x === t.memoizedProps && H === t.memoizedState || (a.flags |= 4), typeof v.getSnapshotBeforeUpdate != "function" || x === t.memoizedProps && H === t.memoizedState || (a.flags |= 1024), c = !1);
    }
    return v = c, gc(t, a), c = (a.flags & 128) !== 0, v || c ? (v = a.stateNode, i = c && typeof i.getDerivedStateFromError != "function" ? null : v.render(), a.flags |= 1, t !== null && c ? (a.child = Vr(
      a,
      t.child,
      null,
      d
    ), a.child = Vr(
      a,
      null,
      i,
      d
    )) : Dt(t, a, i, d), a.memoizedState = v.state, t = a.child) : t = wa(
      t,
      a,
      d
    ), t;
  }
  function Fh(t, a, i, c) {
    return Mr(), a.flags |= 256, Dt(t, a, i, c), a.child;
  }
  var Od = {
    dehydrated: null,
    treeContext: null,
    retryLane: 0,
    hydrationErrors: null
  };
  function Dd(t) {
    return { baseLanes: t, cachePool: Dv() };
  }
  function Md(t, a, i) {
    return t = t !== null ? t.childLanes & ~i : 0, a && (t |= hn), t;
  }
  function Zh(t, a, i) {
    var c = a.pendingProps, d = !1, v = (a.flags & 128) !== 0, x;
    if ((x = v) || (x = t !== null && t.memoizedState === null ? !1 : (pt.current & 2) !== 0), x && (d = !0, a.flags &= -129), x = (a.flags & 32) !== 0, a.flags &= -33, t === null) {
      if (Be) {
        if (d ? Fa(a) : Za(), (t = tt) ? (t = Wm(
          t,
          An
        ), t = t !== null && t.data !== "&" ? t : null, t !== null && (a.memoizedState = {
          dehydrated: t,
          treeContext: Pa !== null ? { id: Qn, overflow: Jn } : null,
          retryLane: 536870912,
          hydrationErrors: null
        }, i = Cv(t), i.return = a, a.child = i, Nt = a, tt = null)) : t = null, t === null) throw Ha(a);
        return mf(t) ? a.lanes = 32 : a.lanes = 536870912, null;
      }
      var _ = c.children;
      return c = c.fallback, d ? (Za(), d = a.mode, _ = pc(
        { mode: "hidden", children: _ },
        d
      ), c = Dr(
        c,
        d,
        i,
        null
      ), _.return = a, c.return = a, _.sibling = c, a.child = _, c = a.child, c.memoizedState = Dd(i), c.childLanes = Md(
        t,
        x,
        i
      ), a.memoizedState = Od, Bi(null, c)) : (Fa(a), jd(a, _));
    }
    var A = t.memoizedState;
    if (A !== null && (_ = A.dehydrated, _ !== null)) {
      if (v)
        a.flags & 256 ? (Fa(a), a.flags &= -257, a = $d(
          t,
          a,
          i
        )) : a.memoizedState !== null ? (Za(), a.child = t.child, a.flags |= 128, a = null) : (Za(), _ = c.fallback, d = a.mode, c = pc(
          { mode: "visible", children: c.children },
          d
        ), _ = Dr(
          _,
          d,
          i,
          null
        ), _.flags |= 2, c.return = a, _.return = a, c.sibling = _, a.child = c, Vr(
          a,
          t.child,
          null,
          i
        ), c = a.child, c.memoizedState = Dd(i), c.childLanes = Md(
          t,
          x,
          i
        ), a.memoizedState = Od, a = Bi(null, c));
      else if (Fa(a), mf(_)) {
        if (x = _.nextSibling && _.nextSibling.dataset, x) var L = x.dgst;
        x = L, c = Error(o(419)), c.stack = "", c.digest = x, Ti({ value: c, source: null, stack: null }), a = $d(
          t,
          a,
          i
        );
      } else if (bt || xo(t, a, i, !1), x = (i & t.childLanes) !== 0, bt || x) {
        if (x = et, x !== null && (c = Qt(x, i), c !== 0 && c !== A.retryLane))
          throw A.retryLane = c, Or(t, c), rn(x, t, c), Ad;
        hf(_) || kc(), a = $d(
          t,
          a,
          i
        );
      } else
        hf(_) ? (a.flags |= 192, a.child = t.child, a = null) : (t = A.treeContext, tt = On(
          _.nextSibling
        ), Nt = a, Be = !0, La = null, An = !1, t !== null && Ev(a, t), a = jd(
          a,
          c.children
        ), a.flags |= 4096);
      return a;
    }
    return d ? (Za(), _ = c.fallback, d = a.mode, A = t.child, L = A.sibling, c = fa(A, {
      mode: "hidden",
      children: c.children
    }), c.subtreeFlags = A.subtreeFlags & 65011712, L !== null ? _ = fa(
      L,
      _
    ) : (_ = Dr(
      _,
      d,
      i,
      null
    ), _.flags |= 2), _.return = a, c.return = a, c.sibling = _, a.child = c, Bi(null, c), c = a.child, _ = t.child.memoizedState, _ === null ? _ = Dd(i) : (d = _.cachePool, d !== null ? (A = mt._currentValue, d = d.parent !== A ? { parent: A, pool: A } : d) : d = Dv(), _ = {
      baseLanes: _.baseLanes | i,
      cachePool: d
    }), c.memoizedState = _, c.childLanes = Md(
      t,
      x,
      i
    ), a.memoizedState = Od, Bi(t.child, c)) : (Fa(a), i = t.child, t = i.sibling, i = fa(i, {
      mode: "visible",
      children: c.children
    }), i.return = a, i.sibling = null, t !== null && (x = a.deletions, x === null ? (a.deletions = [t], a.flags |= 16) : x.push(t)), a.child = i, a.memoizedState = null, i);
  }
  function jd(t, a) {
    return a = pc(
      { mode: "visible", children: a },
      t.mode
    ), a.return = t, t.child = a;
  }
  function pc(t, a) {
    return t = fn(22, t, null, a), t.lanes = 0, t;
  }
  function $d(t, a, i) {
    return Vr(a, t.child, null, i), t = jd(
      a,
      a.pendingProps.children
    ), t.flags |= 2, a.memoizedState = null, t;
  }
  function Gh(t, a, i) {
    t.lanes |= a;
    var c = t.alternate;
    c !== null && (c.lanes |= a), Qu(t.return, a, i);
  }
  function Pd(t, a, i, c, d, v) {
    var x = t.memoizedState;
    x === null ? t.memoizedState = {
      isBackwards: a,
      rendering: null,
      renderingStartTime: 0,
      last: c,
      tail: i,
      tailMode: d,
      treeForkCount: v
    } : (x.isBackwards = a, x.rendering = null, x.renderingStartTime = 0, x.last = c, x.tail = i, x.tailMode = d, x.treeForkCount = v);
  }
  function qh(t, a, i) {
    var c = a.pendingProps, d = c.revealOrder, v = c.tail;
    c = c.children;
    var x = pt.current, _ = (x & 2) !== 0;
    if (_ ? (x = x & 1 | 2, a.flags |= 128) : x &= 1, ne(pt, x), Dt(t, a, c, i), c = Be ? zi : 0, !_ && t !== null && (t.flags & 128) !== 0)
      e: for (t = a.child; t !== null; ) {
        if (t.tag === 13)
          t.memoizedState !== null && Gh(t, i, a);
        else if (t.tag === 19)
          Gh(t, i, a);
        else if (t.child !== null) {
          t.child.return = t, t = t.child;
          continue;
        }
        if (t === a) break e;
        for (; t.sibling === null; ) {
          if (t.return === null || t.return === a)
            break e;
          t = t.return;
        }
        t.sibling.return = t.return, t = t.sibling;
      }
    switch (d) {
      case "forwards":
        for (i = a.child, d = null; i !== null; )
          t = i.alternate, t !== null && nc(t) === null && (d = i), i = i.sibling;
        i = d, i === null ? (d = a.child, a.child = null) : (d = i.sibling, i.sibling = null), Pd(
          a,
          !1,
          d,
          i,
          v,
          c
        );
        break;
      case "backwards":
      case "unstable_legacy-backwards":
        for (i = null, d = a.child, a.child = null; d !== null; ) {
          if (t = d.alternate, t !== null && nc(t) === null) {
            a.child = d;
            break;
          }
          t = d.sibling, d.sibling = i, i = d, d = t;
        }
        Pd(
          a,
          !0,
          i,
          null,
          v,
          c
        );
        break;
      case "together":
        Pd(
          a,
          !1,
          null,
          null,
          void 0,
          c
        );
        break;
      default:
        a.memoizedState = null;
    }
    return a.child;
  }
  function wa(t, a, i) {
    if (t !== null && (a.dependencies = t.dependencies), Ya |= a.lanes, (i & a.childLanes) === 0)
      if (t !== null) {
        if (xo(
          t,
          a,
          i,
          !1
        ), (i & a.childLanes) === 0)
          return null;
      } else return null;
    if (t !== null && a.child !== t.child)
      throw Error(o(153));
    if (a.child !== null) {
      for (t = a.child, i = fa(t, t.pendingProps), a.child = i, i.return = a; t.sibling !== null; )
        t = t.sibling, i = i.sibling = fa(t, t.pendingProps), i.return = a;
      i.sibling = null;
    }
    return a.child;
  }
  function Ld(t, a) {
    return (t.lanes & a) !== 0 ? !0 : (t = t.dependencies, !!(t !== null && Yl(t)));
  }
  function k2(t, a, i) {
    switch (a.tag) {
      case 3:
        ve(a, a.stateNode.containerInfo), Va(a, mt, t.memoizedState.cache), Mr();
        break;
      case 27:
      case 5:
        Ne(a);
        break;
      case 4:
        ve(a, a.stateNode.containerInfo);
        break;
      case 10:
        Va(
          a,
          a.type,
          a.memoizedProps.value
        );
        break;
      case 31:
        if (a.memoizedState !== null)
          return a.flags |= 128, sd(a), null;
        break;
      case 13:
        var c = a.memoizedState;
        if (c !== null)
          return c.dehydrated !== null ? (Fa(a), a.flags |= 128, null) : (i & a.child.childLanes) !== 0 ? Zh(t, a, i) : (Fa(a), t = wa(
            t,
            a,
            i
          ), t !== null ? t.sibling : null);
        Fa(a);
        break;
      case 19:
        var d = (t.flags & 128) !== 0;
        if (c = (i & a.childLanes) !== 0, c || (xo(
          t,
          a,
          i,
          !1
        ), c = (i & a.childLanes) !== 0), d) {
          if (c)
            return qh(
              t,
              a,
              i
            );
          a.flags |= 128;
        }
        if (d = a.memoizedState, d !== null && (d.rendering = null, d.tail = null, d.lastEffect = null), ne(pt, pt.current), c) break;
        return null;
      case 22:
        return a.lanes = 0, Hh(
          t,
          a,
          i,
          a.pendingProps
        );
      case 24:
        Va(a, mt, t.memoizedState.cache);
    }
    return wa(t, a, i);
  }
  function Yh(t, a, i) {
    if (t !== null)
      if (t.memoizedProps !== a.pendingProps)
        bt = !0;
      else {
        if (!Ld(t, i) && (a.flags & 128) === 0)
          return bt = !1, k2(
            t,
            a,
            i
          );
        bt = (t.flags & 131072) !== 0;
      }
    else
      bt = !1, Be && (a.flags & 1048576) !== 0 && Rv(a, zi, a.index);
    switch (a.lanes = 0, a.tag) {
      case 16:
        e: {
          var c = a.pendingProps;
          if (t = Lr(a.elementType), a.type = t, typeof t == "function")
            Uu(t) ? (c = Ir(t, c), a.tag = 1, a = Uh(
              null,
              a,
              t,
              c,
              i
            )) : (a.tag = 0, a = Nd(
              null,
              a,
              t,
              c,
              i
            ));
          else {
            if (t != null) {
              var d = t.$$typeof;
              if (d === N) {
                a.tag = 11, a = $h(
                  null,
                  a,
                  t,
                  c,
                  i
                );
                break e;
              } else if (d === q) {
                a.tag = 14, a = Ph(
                  null,
                  a,
                  t,
                  c,
                  i
                );
                break e;
              }
            }
            throw a = le(t) || t, Error(o(306, a, ""));
          }
        }
        return a;
      case 0:
        return Nd(
          t,
          a,
          a.type,
          a.pendingProps,
          i
        );
      case 1:
        return c = a.type, d = Ir(
          c,
          a.pendingProps
        ), Uh(
          t,
          a,
          c,
          d,
          i
        );
      case 3:
        e: {
          if (ve(
            a,
            a.stateNode.containerInfo
          ), t === null) throw Error(o(387));
          c = a.pendingProps;
          var v = a.memoizedState;
          d = v.element, rd(t, a), $i(a, c, null, i);
          var x = a.memoizedState;
          if (c = x.cache, Va(a, mt, c), c !== v.cache && Ju(
            a,
            [mt],
            i,
            !0
          ), ji(), c = x.element, v.isDehydrated)
            if (v = {
              element: c,
              isDehydrated: !1,
              cache: x.cache
            }, a.updateQueue.baseState = v, a.memoizedState = v, a.flags & 256) {
              a = Fh(
                t,
                a,
                c,
                i
              );
              break e;
            } else if (c !== d) {
              d = En(
                Error(o(424)),
                a
              ), Ti(d), a = Fh(
                t,
                a,
                c,
                i
              );
              break e;
            } else {
              switch (t = a.stateNode.containerInfo, t.nodeType) {
                case 9:
                  t = t.body;
                  break;
                default:
                  t = t.nodeName === "HTML" ? t.ownerDocument.body : t;
              }
              for (tt = On(t.firstChild), Nt = a, Be = !0, La = null, An = !0, i = Hv(
                a,
                null,
                c,
                i
              ), a.child = i; i; )
                i.flags = i.flags & -3 | 4096, i = i.sibling;
            }
          else {
            if (Mr(), c === d) {
              a = wa(
                t,
                a,
                i
              );
              break e;
            }
            Dt(t, a, c, i);
          }
          a = a.child;
        }
        return a;
      case 26:
        return gc(t, a), t === null ? (i = ow(
          a.type,
          null,
          a.pendingProps,
          null
        )) ? a.memoizedState = i : Be || (i = a.type, t = a.pendingProps, c = Ac(
          Fe.current
        ).createElement(i), c[At] = a, c[Jt] = t, Mt(c, i, t), Et(c), a.stateNode = c) : a.memoizedState = ow(
          a.type,
          t.memoizedProps,
          a.pendingProps,
          t.memoizedState
        ), null;
      case 27:
        return Ne(a), t === null && Be && (c = a.stateNode = nw(
          a.type,
          a.pendingProps,
          Fe.current
        ), Nt = a, An = !0, d = tt, Wa(a.type) ? (wf = d, tt = On(c.firstChild)) : tt = d), Dt(
          t,
          a,
          a.pendingProps.children,
          i
        ), gc(t, a), t === null && (a.flags |= 4194304), a.child;
      case 5:
        return t === null && Be && ((d = c = tt) && (c = W2(
          c,
          a.type,
          a.pendingProps,
          An
        ), c !== null ? (a.stateNode = c, Nt = a, tt = On(c.firstChild), An = !1, d = !0) : d = !1), d || Ha(a)), Ne(a), d = a.type, v = a.pendingProps, x = t !== null ? t.memoizedProps : null, c = v.children, gf(d, v) ? c = null : x !== null && gf(d, x) && (a.flags |= 32), a.memoizedState !== null && (d = dd(
          t,
          a,
          p2,
          null,
          null,
          i
        ), nl._currentValue = d), gc(t, a), Dt(t, a, c, i), a.child;
      case 6:
        return t === null && Be && ((t = i = tt) && (i = eC(
          i,
          a.pendingProps,
          An
        ), i !== null ? (a.stateNode = i, Nt = a, tt = null, t = !0) : t = !1), t || Ha(a)), null;
      case 13:
        return Zh(t, a, i);
      case 4:
        return ve(
          a,
          a.stateNode.containerInfo
        ), c = a.pendingProps, t === null ? a.child = Vr(
          a,
          null,
          c,
          i
        ) : Dt(t, a, c, i), a.child;
      case 11:
        return $h(
          t,
          a,
          a.type,
          a.pendingProps,
          i
        );
      case 7:
        return Dt(
          t,
          a,
          a.pendingProps,
          i
        ), a.child;
      case 8:
        return Dt(
          t,
          a,
          a.pendingProps.children,
          i
        ), a.child;
      case 12:
        return Dt(
          t,
          a,
          a.pendingProps.children,
          i
        ), a.child;
      case 10:
        return c = a.pendingProps, Va(a, a.type, c.value), Dt(t, a, c.children, i), a.child;
      case 9:
        return d = a.type._context, c = a.pendingProps.children, $r(a), d = Ot(d), c = c(d), a.flags |= 1, Dt(t, a, c, i), a.child;
      case 14:
        return Ph(
          t,
          a,
          a.type,
          a.pendingProps,
          i
        );
      case 15:
        return Lh(
          t,
          a,
          a.type,
          a.pendingProps,
          i
        );
      case 19:
        return qh(t, a, i);
      case 31:
        return S2(t, a, i);
      case 22:
        return Hh(
          t,
          a,
          i,
          a.pendingProps
        );
      case 24:
        return $r(a), c = Ot(mt), t === null ? (d = td(), d === null && (d = et, v = Wu(), d.pooledCache = v, v.refCount++, v !== null && (d.pooledCacheLanes |= i), d = v), a.memoizedState = { parent: c, cache: d }, ad(a), Va(a, mt, d)) : ((t.lanes & i) !== 0 && (rd(t, a), $i(a, null, null, i), ji()), d = t.memoizedState, v = a.memoizedState, d.parent !== c ? (d = { parent: c, cache: c }, a.memoizedState = d, a.lanes === 0 && (a.memoizedState = a.updateQueue.baseState = d), Va(a, mt, c)) : (c = v.cache, Va(a, mt, c), c !== d.cache && Ju(
          a,
          [mt],
          i,
          !0
        ))), Dt(
          t,
          a,
          a.pendingProps.children,
          i
        ), a.child;
      case 29:
        throw a.pendingProps;
    }
    throw Error(o(156, a.tag));
  }
  function ba(t) {
    t.flags |= 4;
  }
  function Hd(t, a, i, c, d) {
    if ((a = (t.mode & 32) !== 0) && (a = !1), a) {
      if (t.flags |= 16777216, (d & 335544128) === d)
        if (t.stateNode.complete) t.flags |= 8192;
        else if (ym()) t.flags |= 8192;
        else
          throw Hr = Jl, nd;
    } else t.flags &= -16777217;
  }
  function Xh(t, a) {
    if (a.type !== "stylesheet" || (a.state.loading & 4) !== 0)
      t.flags &= -16777217;
    else if (t.flags |= 16777216, !uw(a))
      if (ym()) t.flags |= 8192;
      else
        throw Hr = Jl, nd;
  }
  function vc(t, a) {
    a !== null && (t.flags |= 4), t.flags & 16384 && (a = t.tag !== 22 ? Pt() : 536870912, t.lanes |= a, Oo |= a);
  }
  function Ii(t, a) {
    if (!Be)
      switch (t.tailMode) {
        case "hidden":
          a = t.tail;
          for (var i = null; a !== null; )
            a.alternate !== null && (i = a), a = a.sibling;
          i === null ? t.tail = null : i.sibling = null;
          break;
        case "collapsed":
          i = t.tail;
          for (var c = null; i !== null; )
            i.alternate !== null && (c = i), i = i.sibling;
          c === null ? a || t.tail === null ? t.tail = null : t.tail.sibling = null : c.sibling = null;
      }
  }
  function nt(t) {
    var a = t.alternate !== null && t.alternate.child === t.child, i = 0, c = 0;
    if (a)
      for (var d = t.child; d !== null; )
        i |= d.lanes | d.childLanes, c |= d.subtreeFlags & 65011712, c |= d.flags & 65011712, d.return = t, d = d.sibling;
    else
      for (d = t.child; d !== null; )
        i |= d.lanes | d.childLanes, c |= d.subtreeFlags, c |= d.flags, d.return = t, d = d.sibling;
    return t.subtreeFlags |= c, t.childLanes = i, a;
  }
  function C2(t, a, i) {
    var c = a.pendingProps;
    switch (qu(a), a.tag) {
      case 16:
      case 15:
      case 0:
      case 11:
      case 7:
      case 8:
      case 12:
      case 9:
      case 14:
        return nt(a), null;
      case 1:
        return nt(a), null;
      case 3:
        return i = a.stateNode, c = null, t !== null && (c = t.memoizedState.cache), a.memoizedState.cache !== c && (a.flags |= 2048), va(mt), Ve(), i.pendingContext && (i.context = i.pendingContext, i.pendingContext = null), (t === null || t.child === null) && (bo(a) ? ba(a) : t === null || t.memoizedState.isDehydrated && (a.flags & 256) === 0 || (a.flags |= 1024, Xu())), nt(a), null;
      case 26:
        var d = a.type, v = a.memoizedState;
        return t === null ? (ba(a), v !== null ? (nt(a), Xh(a, v)) : (nt(a), Hd(
          a,
          d,
          null,
          c,
          i
        ))) : v ? v !== t.memoizedState ? (ba(a), nt(a), Xh(a, v)) : (nt(a), a.flags &= -16777217) : (t = t.memoizedProps, t !== c && ba(a), nt(a), Hd(
          a,
          d,
          t,
          c,
          i
        )), null;
      case 27:
        if (Ee(a), i = Fe.current, d = a.type, t !== null && a.stateNode != null)
          t.memoizedProps !== c && ba(a);
        else {
          if (!c) {
            if (a.stateNode === null)
              throw Error(o(166));
            return nt(a), null;
          }
          t = fe.current, bo(a) ? zv(a) : (t = nw(d, c, i), a.stateNode = t, ba(a));
        }
        return nt(a), null;
      case 5:
        if (Ee(a), d = a.type, t !== null && a.stateNode != null)
          t.memoizedProps !== c && ba(a);
        else {
          if (!c) {
            if (a.stateNode === null)
              throw Error(o(166));
            return nt(a), null;
          }
          if (v = fe.current, bo(a))
            zv(a);
          else {
            var x = Ac(
              Fe.current
            );
            switch (v) {
              case 1:
                v = x.createElementNS(
                  "http://www.w3.org/2000/svg",
                  d
                );
                break;
              case 2:
                v = x.createElementNS(
                  "http://www.w3.org/1998/Math/MathML",
                  d
                );
                break;
              default:
                switch (d) {
                  case "svg":
                    v = x.createElementNS(
                      "http://www.w3.org/2000/svg",
                      d
                    );
                    break;
                  case "math":
                    v = x.createElementNS(
                      "http://www.w3.org/1998/Math/MathML",
                      d
                    );
                    break;
                  case "script":
                    v = x.createElement("div"), v.innerHTML = "<script><\/script>", v = v.removeChild(
                      v.firstChild
                    );
                    break;
                  case "select":
                    v = typeof c.is == "string" ? x.createElement("select", {
                      is: c.is
                    }) : x.createElement("select"), c.multiple ? v.multiple = !0 : c.size && (v.size = c.size);
                    break;
                  default:
                    v = typeof c.is == "string" ? x.createElement(d, { is: c.is }) : x.createElement(d);
                }
            }
            v[At] = a, v[Jt] = c;
            e: for (x = a.child; x !== null; ) {
              if (x.tag === 5 || x.tag === 6)
                v.appendChild(x.stateNode);
              else if (x.tag !== 4 && x.tag !== 27 && x.child !== null) {
                x.child.return = x, x = x.child;
                continue;
              }
              if (x === a) break e;
              for (; x.sibling === null; ) {
                if (x.return === null || x.return === a)
                  break e;
                x = x.return;
              }
              x.sibling.return = x.return, x = x.sibling;
            }
            a.stateNode = v;
            e: switch (Mt(v, d, c), d) {
              case "button":
              case "input":
              case "select":
              case "textarea":
                c = !!c.autoFocus;
                break e;
              case "img":
                c = !0;
                break e;
              default:
                c = !1;
            }
            c && ba(a);
          }
        }
        return nt(a), Hd(
          a,
          a.type,
          t === null ? null : t.memoizedProps,
          a.pendingProps,
          i
        ), null;
      case 6:
        if (t && a.stateNode != null)
          t.memoizedProps !== c && ba(a);
        else {
          if (typeof c != "string" && a.stateNode === null)
            throw Error(o(166));
          if (t = Fe.current, bo(a)) {
            if (t = a.stateNode, i = a.memoizedProps, c = null, d = Nt, d !== null)
              switch (d.tag) {
                case 27:
                case 5:
                  c = d.memoizedProps;
              }
            t[At] = a, t = !!(t.nodeValue === i || c !== null && c.suppressHydrationWarning === !0 || Zm(t.nodeValue, i)), t || Ha(a, !0);
          } else
            t = Ac(t).createTextNode(
              c
            ), t[At] = a, a.stateNode = t;
        }
        return nt(a), null;
      case 31:
        if (i = a.memoizedState, t === null || t.memoizedState !== null) {
          if (c = bo(a), i !== null) {
            if (t === null) {
              if (!c) throw Error(o(318));
              if (t = a.memoizedState, t = t !== null ? t.dehydrated : null, !t) throw Error(o(557));
              t[At] = a;
            } else
              Mr(), (a.flags & 128) === 0 && (a.memoizedState = null), a.flags |= 4;
            nt(a), t = !1;
          } else
            i = Xu(), t !== null && t.memoizedState !== null && (t.memoizedState.hydrationErrors = i), t = !0;
          if (!t)
            return a.flags & 256 ? (pn(a), a) : (pn(a), null);
          if ((a.flags & 128) !== 0)
            throw Error(o(558));
        }
        return nt(a), null;
      case 13:
        if (c = a.memoizedState, t === null || t.memoizedState !== null && t.memoizedState.dehydrated !== null) {
          if (d = bo(a), c !== null && c.dehydrated !== null) {
            if (t === null) {
              if (!d) throw Error(o(318));
              if (d = a.memoizedState, d = d !== null ? d.dehydrated : null, !d) throw Error(o(317));
              d[At] = a;
            } else
              Mr(), (a.flags & 128) === 0 && (a.memoizedState = null), a.flags |= 4;
            nt(a), d = !1;
          } else
            d = Xu(), t !== null && t.memoizedState !== null && (t.memoizedState.hydrationErrors = d), d = !0;
          if (!d)
            return a.flags & 256 ? (pn(a), a) : (pn(a), null);
        }
        return pn(a), (a.flags & 128) !== 0 ? (a.lanes = i, a) : (i = c !== null, t = t !== null && t.memoizedState !== null, i && (c = a.child, d = null, c.alternate !== null && c.alternate.memoizedState !== null && c.alternate.memoizedState.cachePool !== null && (d = c.alternate.memoizedState.cachePool.pool), v = null, c.memoizedState !== null && c.memoizedState.cachePool !== null && (v = c.memoizedState.cachePool.pool), v !== d && (c.flags |= 2048)), i !== t && i && (a.child.flags |= 8192), vc(a, a.updateQueue), nt(a), null);
      case 4:
        return Ve(), t === null && cf(a.stateNode.containerInfo), nt(a), null;
      case 10:
        return va(a.type), nt(a), null;
      case 19:
        if (Me(pt), c = a.memoizedState, c === null) return nt(a), null;
        if (d = (a.flags & 128) !== 0, v = c.rendering, v === null)
          if (d) Ii(c, !1);
          else {
            if (ft !== 0 || t !== null && (t.flags & 128) !== 0)
              for (t = a.child; t !== null; ) {
                if (v = nc(t), v !== null) {
                  for (a.flags |= 128, Ii(c, !1), t = v.updateQueue, a.updateQueue = t, vc(a, t), a.subtreeFlags = 0, t = i, i = a.child; i !== null; )
                    kv(i, t), i = i.sibling;
                  return ne(
                    pt,
                    pt.current & 1 | 2
                  ), Be && ga(a, c.treeForkCount), a.child;
                }
                t = t.sibling;
              }
            c.tail !== null && Ut() > xc && (a.flags |= 128, d = !0, Ii(c, !1), a.lanes = 4194304);
          }
        else {
          if (!d)
            if (t = nc(v), t !== null) {
              if (a.flags |= 128, d = !0, t = t.updateQueue, a.updateQueue = t, vc(a, t), Ii(c, !0), c.tail === null && c.tailMode === "hidden" && !v.alternate && !Be)
                return nt(a), null;
            } else
              2 * Ut() - c.renderingStartTime > xc && i !== 536870912 && (a.flags |= 128, d = !0, Ii(c, !1), a.lanes = 4194304);
          c.isBackwards ? (v.sibling = a.child, a.child = v) : (t = c.last, t !== null ? t.sibling = v : a.child = v, c.last = v);
        }
        return c.tail !== null ? (t = c.tail, c.rendering = t, c.tail = t.sibling, c.renderingStartTime = Ut(), t.sibling = null, i = pt.current, ne(
          pt,
          d ? i & 1 | 2 : i & 1
        ), Be && ga(a, c.treeForkCount), t) : (nt(a), null);
      case 22:
      case 23:
        return pn(a), cd(), c = a.memoizedState !== null, t !== null ? t.memoizedState !== null !== c && (a.flags |= 8192) : c && (a.flags |= 8192), c ? (i & 536870912) !== 0 && (a.flags & 128) === 0 && (nt(a), a.subtreeFlags & 6 && (a.flags |= 8192)) : nt(a), i = a.updateQueue, i !== null && vc(a, i.retryQueue), i = null, t !== null && t.memoizedState !== null && t.memoizedState.cachePool !== null && (i = t.memoizedState.cachePool.pool), c = null, a.memoizedState !== null && a.memoizedState.cachePool !== null && (c = a.memoizedState.cachePool.pool), c !== i && (a.flags |= 2048), t !== null && Me(Pr), null;
      case 24:
        return i = null, t !== null && (i = t.memoizedState.cache), a.memoizedState.cache !== i && (a.flags |= 2048), va(mt), nt(a), null;
      case 25:
        return null;
      case 30:
        return null;
    }
    throw Error(o(156, a.tag));
  }
  function _2(t, a) {
    switch (qu(a), a.tag) {
      case 1:
        return t = a.flags, t & 65536 ? (a.flags = t & -65537 | 128, a) : null;
      case 3:
        return va(mt), Ve(), t = a.flags, (t & 65536) !== 0 && (t & 128) === 0 ? (a.flags = t & -65537 | 128, a) : null;
      case 26:
      case 27:
      case 5:
        return Ee(a), null;
      case 31:
        if (a.memoizedState !== null) {
          if (pn(a), a.alternate === null)
            throw Error(o(340));
          Mr();
        }
        return t = a.flags, t & 65536 ? (a.flags = t & -65537 | 128, a) : null;
      case 13:
        if (pn(a), t = a.memoizedState, t !== null && t.dehydrated !== null) {
          if (a.alternate === null)
            throw Error(o(340));
          Mr();
        }
        return t = a.flags, t & 65536 ? (a.flags = t & -65537 | 128, a) : null;
      case 19:
        return Me(pt), null;
      case 4:
        return Ve(), null;
      case 10:
        return va(a.type), null;
      case 22:
      case 23:
        return pn(a), cd(), t !== null && Me(Pr), t = a.flags, t & 65536 ? (a.flags = t & -65537 | 128, a) : null;
      case 24:
        return va(mt), null;
      case 25:
        return null;
      default:
        return null;
    }
  }
  function Kh(t, a) {
    switch (qu(a), a.tag) {
      case 3:
        va(mt), Ve();
        break;
      case 26:
      case 27:
      case 5:
        Ee(a);
        break;
      case 4:
        Ve();
        break;
      case 31:
        a.memoizedState !== null && pn(a);
        break;
      case 13:
        pn(a);
        break;
      case 19:
        Me(pt);
        break;
      case 10:
        va(a.type);
        break;
      case 22:
      case 23:
        pn(a), cd(), t !== null && Me(Pr);
        break;
      case 24:
        va(mt);
    }
  }
  function Ui(t, a) {
    try {
      var i = a.updateQueue, c = i !== null ? i.lastEffect : null;
      if (c !== null) {
        var d = c.next;
        i = d;
        do {
          if ((i.tag & t) === t) {
            c = void 0;
            var v = i.create, x = i.inst;
            c = v(), x.destroy = c;
          }
          i = i.next;
        } while (i !== d);
      }
    } catch (_) {
      Ke(a, a.return, _);
    }
  }
  function Ga(t, a, i) {
    try {
      var c = a.updateQueue, d = c !== null ? c.lastEffect : null;
      if (d !== null) {
        var v = d.next;
        c = v;
        do {
          if ((c.tag & t) === t) {
            var x = c.inst, _ = x.destroy;
            if (_ !== void 0) {
              x.destroy = void 0, d = a;
              var A = i, L = _;
              try {
                L();
              } catch (Z) {
                Ke(
                  d,
                  A,
                  Z
                );
              }
            }
          }
          c = c.next;
        } while (c !== v);
      }
    } catch (Z) {
      Ke(a, a.return, Z);
    }
  }
  function Qh(t) {
    var a = t.updateQueue;
    if (a !== null) {
      var i = t.stateNode;
      try {
        Bv(a, i);
      } catch (c) {
        Ke(t, t.return, c);
      }
    }
  }
  function Jh(t, a, i) {
    i.props = Ir(
      t.type,
      t.memoizedProps
    ), i.state = t.memoizedState;
    try {
      i.componentWillUnmount();
    } catch (c) {
      Ke(t, a, c);
    }
  }
  function Fi(t, a) {
    try {
      var i = t.ref;
      if (i !== null) {
        switch (t.tag) {
          case 26:
          case 27:
          case 5:
            var c = t.stateNode;
            break;
          case 30:
            c = t.stateNode;
            break;
          default:
            c = t.stateNode;
        }
        typeof i == "function" ? t.refCleanup = i(c) : i.current = c;
      }
    } catch (d) {
      Ke(t, a, d);
    }
  }
  function Wn(t, a) {
    var i = t.ref, c = t.refCleanup;
    if (i !== null)
      if (typeof c == "function")
        try {
          c();
        } catch (d) {
          Ke(t, a, d);
        } finally {
          t.refCleanup = null, t = t.alternate, t != null && (t.refCleanup = null);
        }
      else if (typeof i == "function")
        try {
          i(null);
        } catch (d) {
          Ke(t, a, d);
        }
      else i.current = null;
  }
  function Wh(t) {
    var a = t.type, i = t.memoizedProps, c = t.stateNode;
    try {
      e: switch (a) {
        case "button":
        case "input":
        case "select":
        case "textarea":
          i.autoFocus && c.focus();
          break e;
        case "img":
          i.src ? c.src = i.src : i.srcSet && (c.srcset = i.srcSet);
      }
    } catch (d) {
      Ke(t, t.return, d);
    }
  }
  function Vd(t, a, i) {
    try {
      var c = t.stateNode;
      q2(c, t.type, i, a), c[Jt] = a;
    } catch (d) {
      Ke(t, t.return, d);
    }
  }
  function em(t) {
    return t.tag === 5 || t.tag === 3 || t.tag === 26 || t.tag === 27 && Wa(t.type) || t.tag === 4;
  }
  function Bd(t) {
    e: for (; ; ) {
      for (; t.sibling === null; ) {
        if (t.return === null || em(t.return)) return null;
        t = t.return;
      }
      for (t.sibling.return = t.return, t = t.sibling; t.tag !== 5 && t.tag !== 6 && t.tag !== 18; ) {
        if (t.tag === 27 && Wa(t.type) || t.flags & 2 || t.child === null || t.tag === 4) continue e;
        t.child.return = t, t = t.child;
      }
      if (!(t.flags & 2)) return t.stateNode;
    }
  }
  function Id(t, a, i) {
    var c = t.tag;
    if (c === 5 || c === 6)
      t = t.stateNode, a ? (i.nodeType === 9 ? i.body : i.nodeName === "HTML" ? i.ownerDocument.body : i).insertBefore(t, a) : (a = i.nodeType === 9 ? i.body : i.nodeName === "HTML" ? i.ownerDocument.body : i, a.appendChild(t), i = i._reactRootContainer, i != null || a.onclick !== null || (a.onclick = ua));
    else if (c !== 4 && (c === 27 && Wa(t.type) && (i = t.stateNode, a = null), t = t.child, t !== null))
      for (Id(t, a, i), t = t.sibling; t !== null; )
        Id(t, a, i), t = t.sibling;
  }
  function hc(t, a, i) {
    var c = t.tag;
    if (c === 5 || c === 6)
      t = t.stateNode, a ? i.insertBefore(t, a) : i.appendChild(t);
    else if (c !== 4 && (c === 27 && Wa(t.type) && (i = t.stateNode), t = t.child, t !== null))
      for (hc(t, a, i), t = t.sibling; t !== null; )
        hc(t, a, i), t = t.sibling;
  }
  function tm(t) {
    var a = t.stateNode, i = t.memoizedProps;
    try {
      for (var c = t.type, d = a.attributes; d.length; )
        a.removeAttributeNode(d[0]);
      Mt(a, c, i), a[At] = t, a[Jt] = i;
    } catch (v) {
      Ke(t, t.return, v);
    }
  }
  var xa = !1, xt = !1, Ud = !1, nm = typeof WeakSet == "function" ? WeakSet : Set, zt = null;
  function R2(t, a) {
    if (t = t.containerInfo, df = Pc, t = pv(t), $u(t)) {
      if ("selectionStart" in t)
        var i = {
          start: t.selectionStart,
          end: t.selectionEnd
        };
      else
        e: {
          i = (i = t.ownerDocument) && i.defaultView || window;
          var c = i.getSelection && i.getSelection();
          if (c && c.rangeCount !== 0) {
            i = c.anchorNode;
            var d = c.anchorOffset, v = c.focusNode;
            c = c.focusOffset;
            try {
              i.nodeType, v.nodeType;
            } catch {
              i = null;
              break e;
            }
            var x = 0, _ = -1, A = -1, L = 0, Z = 0, X = t, H = null;
            t: for (; ; ) {
              for (var V; X !== i || d !== 0 && X.nodeType !== 3 || (_ = x + d), X !== v || c !== 0 && X.nodeType !== 3 || (A = x + c), X.nodeType === 3 && (x += X.nodeValue.length), (V = X.firstChild) !== null; )
                H = X, X = V;
              for (; ; ) {
                if (X === t) break t;
                if (H === i && ++L === d && (_ = x), H === v && ++Z === c && (A = x), (V = X.nextSibling) !== null) break;
                X = H, H = X.parentNode;
              }
              X = V;
            }
            i = _ === -1 || A === -1 ? null : { start: _, end: A };
          } else i = null;
        }
      i = i || { start: 0, end: 0 };
    } else i = null;
    for (ff = { focusedElem: t, selectionRange: i }, Pc = !1, zt = a; zt !== null; )
      if (a = zt, t = a.child, (a.subtreeFlags & 1028) !== 0 && t !== null)
        t.return = a, zt = t;
      else
        for (; zt !== null; ) {
          switch (a = zt, v = a.alternate, t = a.flags, a.tag) {
            case 0:
              if ((t & 4) !== 0 && (t = a.updateQueue, t = t !== null ? t.events : null, t !== null))
                for (i = 0; i < t.length; i++)
                  d = t[i], d.ref.impl = d.nextImpl;
              break;
            case 11:
            case 15:
              break;
            case 1:
              if ((t & 1024) !== 0 && v !== null) {
                t = void 0, i = a, d = v.memoizedProps, v = v.memoizedState, c = i.stateNode;
                try {
                  var se = Ir(
                    i.type,
                    d
                  );
                  t = c.getSnapshotBeforeUpdate(
                    se,
                    v
                  ), c.__reactInternalSnapshotBeforeUpdate = t;
                } catch (ye) {
                  Ke(
                    i,
                    i.return,
                    ye
                  );
                }
              }
              break;
            case 3:
              if ((t & 1024) !== 0) {
                if (t = a.stateNode.containerInfo, i = t.nodeType, i === 9)
                  vf(t);
                else if (i === 1)
                  switch (t.nodeName) {
                    case "HEAD":
                    case "HTML":
                    case "BODY":
                      vf(t);
                      break;
                    default:
                      t.textContent = "";
                  }
              }
              break;
            case 5:
            case 26:
            case 27:
            case 6:
            case 4:
            case 17:
              break;
            default:
              if ((t & 1024) !== 0) throw Error(o(163));
          }
          if (t = a.sibling, t !== null) {
            t.return = a.return, zt = t;
            break;
          }
          zt = a.return;
        }
  }
  function am(t, a, i) {
    var c = i.flags;
    switch (i.tag) {
      case 0:
      case 11:
      case 15:
        Sa(t, i), c & 4 && Ui(5, i);
        break;
      case 1:
        if (Sa(t, i), c & 4)
          if (t = i.stateNode, a === null)
            try {
              t.componentDidMount();
            } catch (x) {
              Ke(i, i.return, x);
            }
          else {
            var d = Ir(
              i.type,
              a.memoizedProps
            );
            a = a.memoizedState;
            try {
              t.componentDidUpdate(
                d,
                a,
                t.__reactInternalSnapshotBeforeUpdate
              );
            } catch (x) {
              Ke(
                i,
                i.return,
                x
              );
            }
          }
        c & 64 && Qh(i), c & 512 && Fi(i, i.return);
        break;
      case 3:
        if (Sa(t, i), c & 64 && (t = i.updateQueue, t !== null)) {
          if (a = null, i.child !== null)
            switch (i.child.tag) {
              case 27:
              case 5:
                a = i.child.stateNode;
                break;
              case 1:
                a = i.child.stateNode;
            }
          try {
            Bv(t, a);
          } catch (x) {
            Ke(i, i.return, x);
          }
        }
        break;
      case 27:
        a === null && c & 4 && tm(i);
      case 26:
      case 5:
        Sa(t, i), a === null && c & 4 && Wh(i), c & 512 && Fi(i, i.return);
        break;
      case 12:
        Sa(t, i);
        break;
      case 31:
        Sa(t, i), c & 4 && im(t, i);
        break;
      case 13:
        Sa(t, i), c & 4 && lm(t, i), c & 64 && (t = i.memoizedState, t !== null && (t = t.dehydrated, t !== null && (i = j2.bind(
          null,
          i
        ), tC(t, i))));
        break;
      case 22:
        if (c = i.memoizedState !== null || xa, !c) {
          a = a !== null && a.memoizedState !== null || xt, d = xa;
          var v = xt;
          xa = c, (xt = a) && !v ? ka(
            t,
            i,
            (i.subtreeFlags & 8772) !== 0
          ) : Sa(t, i), xa = d, xt = v;
        }
        break;
      case 30:
        break;
      default:
        Sa(t, i);
    }
  }
  function rm(t) {
    var a = t.alternate;
    a !== null && (t.alternate = null, rm(a)), t.child = null, t.deletions = null, t.sibling = null, t.tag === 5 && (a = t.stateNode, a !== null && bu(a)), t.stateNode = null, t.return = null, t.dependencies = null, t.memoizedProps = null, t.memoizedState = null, t.pendingProps = null, t.stateNode = null, t.updateQueue = null;
  }
  var rt = null, en = !1;
  function ya(t, a, i) {
    for (i = i.child; i !== null; )
      om(t, a, i), i = i.sibling;
  }
  function om(t, a, i) {
    if (Ft && typeof Ft.onCommitFiberUnmount == "function")
      try {
        Ft.onCommitFiberUnmount(_r, i);
      } catch {
      }
    switch (i.tag) {
      case 26:
        xt || Wn(i, a), ya(
          t,
          a,
          i
        ), i.memoizedState ? i.memoizedState.count-- : i.stateNode && (i = i.stateNode, i.parentNode.removeChild(i));
        break;
      case 27:
        xt || Wn(i, a);
        var c = rt, d = en;
        Wa(i.type) && (rt = i.stateNode, en = !1), ya(
          t,
          a,
          i
        ), Wi(i.stateNode), rt = c, en = d;
        break;
      case 5:
        xt || Wn(i, a);
      case 6:
        if (c = rt, d = en, rt = null, ya(
          t,
          a,
          i
        ), rt = c, en = d, rt !== null)
          if (en)
            try {
              (rt.nodeType === 9 ? rt.body : rt.nodeName === "HTML" ? rt.ownerDocument.body : rt).removeChild(i.stateNode);
            } catch (v) {
              Ke(
                i,
                a,
                v
              );
            }
          else
            try {
              rt.removeChild(i.stateNode);
            } catch (v) {
              Ke(
                i,
                a,
                v
              );
            }
        break;
      case 18:
        rt !== null && (en ? (t = rt, Qm(
          t.nodeType === 9 ? t.body : t.nodeName === "HTML" ? t.ownerDocument.body : t,
          i.stateNode
        ), Vo(t)) : Qm(rt, i.stateNode));
        break;
      case 4:
        c = rt, d = en, rt = i.stateNode.containerInfo, en = !0, ya(
          t,
          a,
          i
        ), rt = c, en = d;
        break;
      case 0:
      case 11:
      case 14:
      case 15:
        Ga(2, i, a), xt || Ga(4, i, a), ya(
          t,
          a,
          i
        );
        break;
      case 1:
        xt || (Wn(i, a), c = i.stateNode, typeof c.componentWillUnmount == "function" && Jh(
          i,
          a,
          c
        )), ya(
          t,
          a,
          i
        );
        break;
      case 21:
        ya(
          t,
          a,
          i
        );
        break;
      case 22:
        xt = (c = xt) || i.memoizedState !== null, ya(
          t,
          a,
          i
        ), xt = c;
        break;
      default:
        ya(
          t,
          a,
          i
        );
    }
  }
  function im(t, a) {
    if (a.memoizedState === null && (t = a.alternate, t !== null && (t = t.memoizedState, t !== null))) {
      t = t.dehydrated;
      try {
        Vo(t);
      } catch (i) {
        Ke(a, a.return, i);
      }
    }
  }
  function lm(t, a) {
    if (a.memoizedState === null && (t = a.alternate, t !== null && (t = t.memoizedState, t !== null && (t = t.dehydrated, t !== null))))
      try {
        Vo(t);
      } catch (i) {
        Ke(a, a.return, i);
      }
  }
  function E2(t) {
    switch (t.tag) {
      case 31:
      case 13:
      case 19:
        var a = t.stateNode;
        return a === null && (a = t.stateNode = new nm()), a;
      case 22:
        return t = t.stateNode, a = t._retryCache, a === null && (a = t._retryCache = new nm()), a;
      default:
        throw Error(o(435, t.tag));
    }
  }
  function mc(t, a) {
    var i = E2(t);
    a.forEach(function(c) {
      if (!i.has(c)) {
        i.add(c);
        var d = $2.bind(null, t, c);
        c.then(d, d);
      }
    });
  }
  function tn(t, a) {
    var i = a.deletions;
    if (i !== null)
      for (var c = 0; c < i.length; c++) {
        var d = i[c], v = t, x = a, _ = x;
        e: for (; _ !== null; ) {
          switch (_.tag) {
            case 27:
              if (Wa(_.type)) {
                rt = _.stateNode, en = !1;
                break e;
              }
              break;
            case 5:
              rt = _.stateNode, en = !1;
              break e;
            case 3:
            case 4:
              rt = _.stateNode.containerInfo, en = !0;
              break e;
          }
          _ = _.return;
        }
        if (rt === null) throw Error(o(160));
        om(v, x, d), rt = null, en = !1, v = d.alternate, v !== null && (v.return = null), d.return = null;
      }
    if (a.subtreeFlags & 13886)
      for (a = a.child; a !== null; )
        cm(a, t), a = a.sibling;
  }
  var Bn = null;
  function cm(t, a) {
    var i = t.alternate, c = t.flags;
    switch (t.tag) {
      case 0:
      case 11:
      case 14:
      case 15:
        tn(a, t), nn(t), c & 4 && (Ga(3, t, t.return), Ui(3, t), Ga(5, t, t.return));
        break;
      case 1:
        tn(a, t), nn(t), c & 512 && (xt || i === null || Wn(i, i.return)), c & 64 && xa && (t = t.updateQueue, t !== null && (c = t.callbacks, c !== null && (i = t.shared.hiddenCallbacks, t.shared.hiddenCallbacks = i === null ? c : i.concat(c))));
        break;
      case 26:
        var d = Bn;
        if (tn(a, t), nn(t), c & 512 && (xt || i === null || Wn(i, i.return)), c & 4) {
          var v = i !== null ? i.memoizedState : null;
          if (c = t.memoizedState, i === null)
            if (c === null)
              if (t.stateNode === null) {
                e: {
                  c = t.type, i = t.memoizedProps, d = d.ownerDocument || d;
                  t: switch (c) {
                    case "title":
                      v = d.getElementsByTagName("title")[0], (!v || v[mi] || v[At] || v.namespaceURI === "http://www.w3.org/2000/svg" || v.hasAttribute("itemprop")) && (v = d.createElement(c), d.head.insertBefore(
                        v,
                        d.querySelector("head > title")
                      )), Mt(v, c, i), v[At] = t, Et(v), c = v;
                      break e;
                    case "link":
                      var x = cw(
                        "link",
                        "href",
                        d
                      ).get(c + (i.href || ""));
                      if (x) {
                        for (var _ = 0; _ < x.length; _++)
                          if (v = x[_], v.getAttribute("href") === (i.href == null || i.href === "" ? null : i.href) && v.getAttribute("rel") === (i.rel == null ? null : i.rel) && v.getAttribute("title") === (i.title == null ? null : i.title) && v.getAttribute("crossorigin") === (i.crossOrigin == null ? null : i.crossOrigin)) {
                            x.splice(_, 1);
                            break t;
                          }
                      }
                      v = d.createElement(c), Mt(v, c, i), d.head.appendChild(v);
                      break;
                    case "meta":
                      if (x = cw(
                        "meta",
                        "content",
                        d
                      ).get(c + (i.content || ""))) {
                        for (_ = 0; _ < x.length; _++)
                          if (v = x[_], v.getAttribute("content") === (i.content == null ? null : "" + i.content) && v.getAttribute("name") === (i.name == null ? null : i.name) && v.getAttribute("property") === (i.property == null ? null : i.property) && v.getAttribute("http-equiv") === (i.httpEquiv == null ? null : i.httpEquiv) && v.getAttribute("charset") === (i.charSet == null ? null : i.charSet)) {
                            x.splice(_, 1);
                            break t;
                          }
                      }
                      v = d.createElement(c), Mt(v, c, i), d.head.appendChild(v);
                      break;
                    default:
                      throw Error(o(468, c));
                  }
                  v[At] = t, Et(v), c = v;
                }
                t.stateNode = c;
              } else
                sw(
                  d,
                  t.type,
                  t.stateNode
                );
            else
              t.stateNode = lw(
                d,
                c,
                t.memoizedProps
              );
          else
            v !== c ? (v === null ? i.stateNode !== null && (i = i.stateNode, i.parentNode.removeChild(i)) : v.count--, c === null ? sw(
              d,
              t.type,
              t.stateNode
            ) : lw(
              d,
              c,
              t.memoizedProps
            )) : c === null && t.stateNode !== null && Vd(
              t,
              t.memoizedProps,
              i.memoizedProps
            );
        }
        break;
      case 27:
        tn(a, t), nn(t), c & 512 && (xt || i === null || Wn(i, i.return)), i !== null && c & 4 && Vd(
          t,
          t.memoizedProps,
          i.memoizedProps
        );
        break;
      case 5:
        if (tn(a, t), nn(t), c & 512 && (xt || i === null || Wn(i, i.return)), t.flags & 32) {
          d = t.stateNode;
          try {
            co(d, "");
          } catch (se) {
            Ke(t, t.return, se);
          }
        }
        c & 4 && t.stateNode != null && (d = t.memoizedProps, Vd(
          t,
          d,
          i !== null ? i.memoizedProps : d
        )), c & 1024 && (Ud = !0);
        break;
      case 6:
        if (tn(a, t), nn(t), c & 4) {
          if (t.stateNode === null)
            throw Error(o(162));
          c = t.memoizedProps, i = t.stateNode;
          try {
            i.nodeValue = c;
          } catch (se) {
            Ke(t, t.return, se);
          }
        }
        break;
      case 3:
        if (Dc = null, d = Bn, Bn = Nc(a.containerInfo), tn(a, t), Bn = d, nn(t), c & 4 && i !== null && i.memoizedState.isDehydrated)
          try {
            Vo(a.containerInfo);
          } catch (se) {
            Ke(t, t.return, se);
          }
        Ud && (Ud = !1, sm(t));
        break;
      case 4:
        c = Bn, Bn = Nc(
          t.stateNode.containerInfo
        ), tn(a, t), nn(t), Bn = c;
        break;
      case 12:
        tn(a, t), nn(t);
        break;
      case 31:
        tn(a, t), nn(t), c & 4 && (c = t.updateQueue, c !== null && (t.updateQueue = null, mc(t, c)));
        break;
      case 13:
        tn(a, t), nn(t), t.child.flags & 8192 && t.memoizedState !== null != (i !== null && i.memoizedState !== null) && (bc = Ut()), c & 4 && (c = t.updateQueue, c !== null && (t.updateQueue = null, mc(t, c)));
        break;
      case 22:
        d = t.memoizedState !== null;
        var A = i !== null && i.memoizedState !== null, L = xa, Z = xt;
        if (xa = L || d, xt = Z || A, tn(a, t), xt = Z, xa = L, nn(t), c & 8192)
          e: for (a = t.stateNode, a._visibility = d ? a._visibility & -2 : a._visibility | 1, d && (i === null || A || xa || xt || Ur(t)), i = null, a = t; ; ) {
            if (a.tag === 5 || a.tag === 26) {
              if (i === null) {
                A = i = a;
                try {
                  if (v = A.stateNode, d)
                    x = v.style, typeof x.setProperty == "function" ? x.setProperty("display", "none", "important") : x.display = "none";
                  else {
                    _ = A.stateNode;
                    var X = A.memoizedProps.style, H = X != null && X.hasOwnProperty("display") ? X.display : null;
                    _.style.display = H == null || typeof H == "boolean" ? "" : ("" + H).trim();
                  }
                } catch (se) {
                  Ke(A, A.return, se);
                }
              }
            } else if (a.tag === 6) {
              if (i === null) {
                A = a;
                try {
                  A.stateNode.nodeValue = d ? "" : A.memoizedProps;
                } catch (se) {
                  Ke(A, A.return, se);
                }
              }
            } else if (a.tag === 18) {
              if (i === null) {
                A = a;
                try {
                  var V = A.stateNode;
                  d ? Jm(V, !0) : Jm(A.stateNode, !1);
                } catch (se) {
                  Ke(A, A.return, se);
                }
              }
            } else if ((a.tag !== 22 && a.tag !== 23 || a.memoizedState === null || a === t) && a.child !== null) {
              a.child.return = a, a = a.child;
              continue;
            }
            if (a === t) break e;
            for (; a.sibling === null; ) {
              if (a.return === null || a.return === t) break e;
              i === a && (i = null), a = a.return;
            }
            i === a && (i = null), a.sibling.return = a.return, a = a.sibling;
          }
        c & 4 && (c = t.updateQueue, c !== null && (i = c.retryQueue, i !== null && (c.retryQueue = null, mc(t, i))));
        break;
      case 19:
        tn(a, t), nn(t), c & 4 && (c = t.updateQueue, c !== null && (t.updateQueue = null, mc(t, c)));
        break;
      case 30:
        break;
      case 21:
        break;
      default:
        tn(a, t), nn(t);
    }
  }
  function nn(t) {
    var a = t.flags;
    if (a & 2) {
      try {
        for (var i, c = t.return; c !== null; ) {
          if (em(c)) {
            i = c;
            break;
          }
          c = c.return;
        }
        if (i == null) throw Error(o(160));
        switch (i.tag) {
          case 27:
            var d = i.stateNode, v = Bd(t);
            hc(t, v, d);
            break;
          case 5:
            var x = i.stateNode;
            i.flags & 32 && (co(x, ""), i.flags &= -33);
            var _ = Bd(t);
            hc(t, _, x);
            break;
          case 3:
          case 4:
            var A = i.stateNode.containerInfo, L = Bd(t);
            Id(
              t,
              L,
              A
            );
            break;
          default:
            throw Error(o(161));
        }
      } catch (Z) {
        Ke(t, t.return, Z);
      }
      t.flags &= -3;
    }
    a & 4096 && (t.flags &= -4097);
  }
  function sm(t) {
    if (t.subtreeFlags & 1024)
      for (t = t.child; t !== null; ) {
        var a = t;
        sm(a), a.tag === 5 && a.flags & 1024 && a.stateNode.reset(), t = t.sibling;
      }
  }
  function Sa(t, a) {
    if (a.subtreeFlags & 8772)
      for (a = a.child; a !== null; )
        am(t, a.alternate, a), a = a.sibling;
  }
  function Ur(t) {
    for (t = t.child; t !== null; ) {
      var a = t;
      switch (a.tag) {
        case 0:
        case 11:
        case 14:
        case 15:
          Ga(4, a, a.return), Ur(a);
          break;
        case 1:
          Wn(a, a.return);
          var i = a.stateNode;
          typeof i.componentWillUnmount == "function" && Jh(
            a,
            a.return,
            i
          ), Ur(a);
          break;
        case 27:
          Wi(a.stateNode);
        case 26:
        case 5:
          Wn(a, a.return), Ur(a);
          break;
        case 22:
          a.memoizedState === null && Ur(a);
          break;
        case 30:
          Ur(a);
          break;
        default:
          Ur(a);
      }
      t = t.sibling;
    }
  }
  function ka(t, a, i) {
    for (i = i && (a.subtreeFlags & 8772) !== 0, a = a.child; a !== null; ) {
      var c = a.alternate, d = t, v = a, x = v.flags;
      switch (v.tag) {
        case 0:
        case 11:
        case 15:
          ka(
            d,
            v,
            i
          ), Ui(4, v);
          break;
        case 1:
          if (ka(
            d,
            v,
            i
          ), c = v, d = c.stateNode, typeof d.componentDidMount == "function")
            try {
              d.componentDidMount();
            } catch (L) {
              Ke(c, c.return, L);
            }
          if (c = v, d = c.updateQueue, d !== null) {
            var _ = c.stateNode;
            try {
              var A = d.shared.hiddenCallbacks;
              if (A !== null)
                for (d.shared.hiddenCallbacks = null, d = 0; d < A.length; d++)
                  Vv(A[d], _);
            } catch (L) {
              Ke(c, c.return, L);
            }
          }
          i && x & 64 && Qh(v), Fi(v, v.return);
          break;
        case 27:
          tm(v);
        case 26:
        case 5:
          ka(
            d,
            v,
            i
          ), i && c === null && x & 4 && Wh(v), Fi(v, v.return);
          break;
        case 12:
          ka(
            d,
            v,
            i
          );
          break;
        case 31:
          ka(
            d,
            v,
            i
          ), i && x & 4 && im(d, v);
          break;
        case 13:
          ka(
            d,
            v,
            i
          ), i && x & 4 && lm(d, v);
          break;
        case 22:
          v.memoizedState === null && ka(
            d,
            v,
            i
          ), Fi(v, v.return);
          break;
        case 30:
          break;
        default:
          ka(
            d,
            v,
            i
          );
      }
      a = a.sibling;
    }
  }
  function Fd(t, a) {
    var i = null;
    t !== null && t.memoizedState !== null && t.memoizedState.cachePool !== null && (i = t.memoizedState.cachePool.pool), t = null, a.memoizedState !== null && a.memoizedState.cachePool !== null && (t = a.memoizedState.cachePool.pool), t !== i && (t != null && t.refCount++, i != null && Ai(i));
  }
  function Zd(t, a) {
    t = null, a.alternate !== null && (t = a.alternate.memoizedState.cache), a = a.memoizedState.cache, a !== t && (a.refCount++, t != null && Ai(t));
  }
  function In(t, a, i, c) {
    if (a.subtreeFlags & 10256)
      for (a = a.child; a !== null; )
        um(
          t,
          a,
          i,
          c
        ), a = a.sibling;
  }
  function um(t, a, i, c) {
    var d = a.flags;
    switch (a.tag) {
      case 0:
      case 11:
      case 15:
        In(
          t,
          a,
          i,
          c
        ), d & 2048 && Ui(9, a);
        break;
      case 1:
        In(
          t,
          a,
          i,
          c
        );
        break;
      case 3:
        In(
          t,
          a,
          i,
          c
        ), d & 2048 && (t = null, a.alternate !== null && (t = a.alternate.memoizedState.cache), a = a.memoizedState.cache, a !== t && (a.refCount++, t != null && Ai(t)));
        break;
      case 12:
        if (d & 2048) {
          In(
            t,
            a,
            i,
            c
          ), t = a.stateNode;
          try {
            var v = a.memoizedProps, x = v.id, _ = v.onPostCommit;
            typeof _ == "function" && _(
              x,
              a.alternate === null ? "mount" : "update",
              t.passiveEffectDuration,
              -0
            );
          } catch (A) {
            Ke(a, a.return, A);
          }
        } else
          In(
            t,
            a,
            i,
            c
          );
        break;
      case 31:
        In(
          t,
          a,
          i,
          c
        );
        break;
      case 13:
        In(
          t,
          a,
          i,
          c
        );
        break;
      case 23:
        break;
      case 22:
        v = a.stateNode, x = a.alternate, a.memoizedState !== null ? v._visibility & 2 ? In(
          t,
          a,
          i,
          c
        ) : Zi(t, a) : v._visibility & 2 ? In(
          t,
          a,
          i,
          c
        ) : (v._visibility |= 2, To(
          t,
          a,
          i,
          c,
          (a.subtreeFlags & 10256) !== 0 || !1
        )), d & 2048 && Fd(x, a);
        break;
      case 24:
        In(
          t,
          a,
          i,
          c
        ), d & 2048 && Zd(a.alternate, a);
        break;
      default:
        In(
          t,
          a,
          i,
          c
        );
    }
  }
  function To(t, a, i, c, d) {
    for (d = d && ((a.subtreeFlags & 10256) !== 0 || !1), a = a.child; a !== null; ) {
      var v = t, x = a, _ = i, A = c, L = x.flags;
      switch (x.tag) {
        case 0:
        case 11:
        case 15:
          To(
            v,
            x,
            _,
            A,
            d
          ), Ui(8, x);
          break;
        case 23:
          break;
        case 22:
          var Z = x.stateNode;
          x.memoizedState !== null ? Z._visibility & 2 ? To(
            v,
            x,
            _,
            A,
            d
          ) : Zi(
            v,
            x
          ) : (Z._visibility |= 2, To(
            v,
            x,
            _,
            A,
            d
          )), d && L & 2048 && Fd(
            x.alternate,
            x
          );
          break;
        case 24:
          To(
            v,
            x,
            _,
            A,
            d
          ), d && L & 2048 && Zd(x.alternate, x);
          break;
        default:
          To(
            v,
            x,
            _,
            A,
            d
          );
      }
      a = a.sibling;
    }
  }
  function Zi(t, a) {
    if (a.subtreeFlags & 10256)
      for (a = a.child; a !== null; ) {
        var i = t, c = a, d = c.flags;
        switch (c.tag) {
          case 22:
            Zi(i, c), d & 2048 && Fd(
              c.alternate,
              c
            );
            break;
          case 24:
            Zi(i, c), d & 2048 && Zd(c.alternate, c);
            break;
          default:
            Zi(i, c);
        }
        a = a.sibling;
      }
  }
  var Gi = 8192;
  function Ao(t, a, i) {
    if (t.subtreeFlags & Gi)
      for (t = t.child; t !== null; )
        dm(
          t,
          a,
          i
        ), t = t.sibling;
  }
  function dm(t, a, i) {
    switch (t.tag) {
      case 26:
        Ao(
          t,
          a,
          i
        ), t.flags & Gi && t.memoizedState !== null && gC(
          i,
          Bn,
          t.memoizedState,
          t.memoizedProps
        );
        break;
      case 5:
        Ao(
          t,
          a,
          i
        );
        break;
      case 3:
      case 4:
        var c = Bn;
        Bn = Nc(t.stateNode.containerInfo), Ao(
          t,
          a,
          i
        ), Bn = c;
        break;
      case 22:
        t.memoizedState === null && (c = t.alternate, c !== null && c.memoizedState !== null ? (c = Gi, Gi = 16777216, Ao(
          t,
          a,
          i
        ), Gi = c) : Ao(
          t,
          a,
          i
        ));
        break;
      default:
        Ao(
          t,
          a,
          i
        );
    }
  }
  function fm(t) {
    var a = t.alternate;
    if (a !== null && (t = a.child, t !== null)) {
      a.child = null;
      do
        a = t.sibling, t.sibling = null, t = a;
      while (t !== null);
    }
  }
  function qi(t) {
    var a = t.deletions;
    if ((t.flags & 16) !== 0) {
      if (a !== null)
        for (var i = 0; i < a.length; i++) {
          var c = a[i];
          zt = c, pm(
            c,
            t
          );
        }
      fm(t);
    }
    if (t.subtreeFlags & 10256)
      for (t = t.child; t !== null; )
        gm(t), t = t.sibling;
  }
  function gm(t) {
    switch (t.tag) {
      case 0:
      case 11:
      case 15:
        qi(t), t.flags & 2048 && Ga(9, t, t.return);
        break;
      case 3:
        qi(t);
        break;
      case 12:
        qi(t);
        break;
      case 22:
        var a = t.stateNode;
        t.memoizedState !== null && a._visibility & 2 && (t.return === null || t.return.tag !== 13) ? (a._visibility &= -3, wc(t)) : qi(t);
        break;
      default:
        qi(t);
    }
  }
  function wc(t) {
    var a = t.deletions;
    if ((t.flags & 16) !== 0) {
      if (a !== null)
        for (var i = 0; i < a.length; i++) {
          var c = a[i];
          zt = c, pm(
            c,
            t
          );
        }
      fm(t);
    }
    for (t = t.child; t !== null; ) {
      switch (a = t, a.tag) {
        case 0:
        case 11:
        case 15:
          Ga(8, a, a.return), wc(a);
          break;
        case 22:
          i = a.stateNode, i._visibility & 2 && (i._visibility &= -3, wc(a));
          break;
        default:
          wc(a);
      }
      t = t.sibling;
    }
  }
  function pm(t, a) {
    for (; zt !== null; ) {
      var i = zt;
      switch (i.tag) {
        case 0:
        case 11:
        case 15:
          Ga(8, i, a);
          break;
        case 23:
        case 22:
          if (i.memoizedState !== null && i.memoizedState.cachePool !== null) {
            var c = i.memoizedState.cachePool.pool;
            c != null && c.refCount++;
          }
          break;
        case 24:
          Ai(i.memoizedState.cache);
      }
      if (c = i.child, c !== null) c.return = i, zt = c;
      else
        e: for (i = t; zt !== null; ) {
          c = zt;
          var d = c.sibling, v = c.return;
          if (rm(c), c === i) {
            zt = null;
            break e;
          }
          if (d !== null) {
            d.return = v, zt = d;
            break e;
          }
          zt = v;
        }
    }
  }
  var z2 = {
    getCacheForType: function(t) {
      var a = Ot(mt), i = a.data.get(t);
      return i === void 0 && (i = t(), a.data.set(t, i)), i;
    },
    cacheSignal: function() {
      return Ot(mt).controller.signal;
    }
  }, T2 = typeof WeakMap == "function" ? WeakMap : Map, qe = 0, et = null, je = null, Le = 0, Xe = 0, vn = null, qa = !1, No = !1, Gd = !1, Ca = 0, ft = 0, Ya = 0, Fr = 0, qd = 0, hn = 0, Oo = 0, Yi = null, an = null, Yd = !1, bc = 0, vm = 0, xc = 1 / 0, yc = null, Xa = null, yt = 0, Ka = null, Do = null, _a = 0, Xd = 0, Kd = null, hm = null, Xi = 0, Qd = null;
  function mn() {
    return (qe & 2) !== 0 && Le !== 0 ? Le & -Le : O.T !== null ? af() : mu();
  }
  function mm() {
    if (hn === 0)
      if ((Le & 536870912) === 0 || Be) {
        var t = eo;
        eo <<= 1, (eo & 3932160) === 0 && (eo = 262144), hn = t;
      } else hn = 536870912;
    return t = gn.current, t !== null && (t.flags |= 32), hn;
  }
  function rn(t, a, i) {
    (t === et && (Xe === 2 || Xe === 9) || t.cancelPendingCommit !== null) && (Mo(t, 0), Qa(
      t,
      Le,
      hn,
      !1
    )), ct(t, i), ((qe & 2) === 0 || t !== et) && (t === et && ((qe & 2) === 0 && (Fr |= i), ft === 4 && Qa(
      t,
      Le,
      hn,
      !1
    )), ea(t));
  }
  function wm(t, a, i) {
    if ((qe & 6) !== 0) throw Error(o(327));
    var c = !i && (a & 127) === 0 && (a & t.expiredLanes) === 0 || at(t, a), d = c ? O2(t, a) : Wd(t, a, !0), v = c;
    do {
      if (d === 0) {
        No && !c && Qa(t, a, 0, !1);
        break;
      } else {
        if (i = t.current.alternate, v && !A2(i)) {
          d = Wd(t, a, !1), v = !1;
          continue;
        }
        if (d === 2) {
          if (v = a, t.errorRecoveryDisabledLanes & v)
            var x = 0;
          else
            x = t.pendingLanes & -536870913, x = x !== 0 ? x : x & 536870912 ? 536870912 : 0;
          if (x !== 0) {
            a = x;
            e: {
              var _ = t;
              d = Yi;
              var A = _.current.memoizedState.isDehydrated;
              if (A && (Mo(_, x).flags |= 256), x = Wd(
                _,
                x,
                !1
              ), x !== 2) {
                if (Gd && !A) {
                  _.errorRecoveryDisabledLanes |= v, Fr |= v, d = 4;
                  break e;
                }
                v = an, an = d, v !== null && (an === null ? an = v : an.push.apply(
                  an,
                  v
                ));
              }
              d = x;
            }
            if (v = !1, d !== 2) continue;
          }
        }
        if (d === 1) {
          Mo(t, 0), Qa(t, a, 0, !0);
          break;
        }
        e: {
          switch (c = t, v = d, v) {
            case 0:
            case 1:
              throw Error(o(345));
            case 4:
              if ((a & 4194048) !== a) break;
            case 6:
              Qa(
                c,
                a,
                hn,
                !qa
              );
              break e;
            case 2:
              an = null;
              break;
            case 3:
            case 5:
              break;
            default:
              throw Error(o(329));
          }
          if ((a & 62914560) === a && (d = bc + 300 - Ut(), 10 < d)) {
            if (Qa(
              c,
              a,
              hn,
              !qa
            ), Ce(c, 0, !0) !== 0) break e;
            _a = a, c.timeoutHandle = Xm(
              bm.bind(
                null,
                c,
                i,
                an,
                yc,
                Yd,
                a,
                hn,
                Fr,
                Oo,
                qa,
                v,
                "Throttled",
                -0,
                0
              ),
              d
            );
            break e;
          }
          bm(
            c,
            i,
            an,
            yc,
            Yd,
            a,
            hn,
            Fr,
            Oo,
            qa,
            v,
            null,
            -0,
            0
          );
        }
      }
      break;
    } while (!0);
    ea(t);
  }
  function bm(t, a, i, c, d, v, x, _, A, L, Z, X, H, V) {
    if (t.timeoutHandle = -1, X = a.subtreeFlags, X & 8192 || (X & 16785408) === 16785408) {
      X = {
        stylesheets: null,
        count: 0,
        imgCount: 0,
        imgBytes: 0,
        suspenseyImages: [],
        waitingForImages: !0,
        waitingForViewTransition: !1,
        unsuspend: ua
      }, dm(
        a,
        v,
        X
      );
      var se = (v & 62914560) === v ? bc - Ut() : (v & 4194048) === v ? vm - Ut() : 0;
      if (se = pC(
        X,
        se
      ), se !== null) {
        _a = v, t.cancelPendingCommit = se(
          Em.bind(
            null,
            t,
            a,
            v,
            i,
            c,
            d,
            x,
            _,
            A,
            Z,
            X,
            null,
            H,
            V
          )
        ), Qa(t, v, x, !L);
        return;
      }
    }
    Em(
      t,
      a,
      v,
      i,
      c,
      d,
      x,
      _,
      A
    );
  }
  function A2(t) {
    for (var a = t; ; ) {
      var i = a.tag;
      if ((i === 0 || i === 11 || i === 15) && a.flags & 16384 && (i = a.updateQueue, i !== null && (i = i.stores, i !== null)))
        for (var c = 0; c < i.length; c++) {
          var d = i[c], v = d.getSnapshot;
          d = d.value;
          try {
            if (!dn(v(), d)) return !1;
          } catch {
            return !1;
          }
        }
      if (i = a.child, a.subtreeFlags & 16384 && i !== null)
        i.return = a, a = i;
      else {
        if (a === t) break;
        for (; a.sibling === null; ) {
          if (a.return === null || a.return === t) return !0;
          a = a.return;
        }
        a.sibling.return = a.return, a = a.sibling;
      }
    }
    return !0;
  }
  function Qa(t, a, i, c) {
    a &= ~qd, a &= ~Fr, t.suspendedLanes |= a, t.pingedLanes &= ~a, c && (t.warmLanes |= a), c = t.expirationTimes;
    for (var d = a; 0 < d; ) {
      var v = 31 - $t(d), x = 1 << v;
      c[v] = -1, d &= ~x;
    }
    i !== 0 && Er(t, i, a);
  }
  function Sc() {
    return (qe & 6) === 0 ? (Ki(0), !1) : !0;
  }
  function Jd() {
    if (je !== null) {
      if (Xe === 0)
        var t = je.return;
      else
        t = je, pa = jr = null, pd(t), Co = null, Oi = 0, t = je;
      for (; t !== null; )
        Kh(t.alternate, t), t = t.return;
      je = null;
    }
  }
  function Mo(t, a) {
    var i = t.timeoutHandle;
    i !== -1 && (t.timeoutHandle = -1, K2(i)), i = t.cancelPendingCommit, i !== null && (t.cancelPendingCommit = null, i()), _a = 0, Jd(), et = t, je = i = fa(t.current, null), Le = a, Xe = 0, vn = null, qa = !1, No = at(t, a), Gd = !1, Oo = hn = qd = Fr = Ya = ft = 0, an = Yi = null, Yd = !1, (a & 8) !== 0 && (a |= a & 32);
    var c = t.entangledLanes;
    if (c !== 0)
      for (t = t.entanglements, c &= a; 0 < c; ) {
        var d = 31 - $t(c), v = 1 << d;
        a |= t[d], c &= ~v;
      }
    return Ca = a, Ul(), i;
  }
  function xm(t, a) {
    ze = null, O.H = Vi, a === ko || a === Ql ? (a = $v(), Xe = 3) : a === nd ? (a = $v(), Xe = 4) : Xe = a === Ad ? 8 : a !== null && typeof a == "object" && typeof a.then == "function" ? 6 : 1, vn = a, je === null && (ft = 1, dc(
      t,
      En(a, t.current)
    ));
  }
  function ym() {
    var t = gn.current;
    return t === null ? !0 : (Le & 4194048) === Le ? Nn === null : (Le & 62914560) === Le || (Le & 536870912) !== 0 ? t === Nn : !1;
  }
  function Sm() {
    var t = O.H;
    return O.H = Vi, t === null ? Vi : t;
  }
  function km() {
    var t = O.A;
    return O.A = z2, t;
  }
  function kc() {
    ft = 4, qa || (Le & 4194048) !== Le && gn.current !== null || (No = !0), (Ya & 134217727) === 0 && (Fr & 134217727) === 0 || et === null || Qa(
      et,
      Le,
      hn,
      !1
    );
  }
  function Wd(t, a, i) {
    var c = qe;
    qe |= 2;
    var d = Sm(), v = km();
    (et !== t || Le !== a) && (yc = null, Mo(t, a)), a = !1;
    var x = ft;
    e: do
      try {
        if (Xe !== 0 && je !== null) {
          var _ = je, A = vn;
          switch (Xe) {
            case 8:
              Jd(), x = 6;
              break e;
            case 3:
            case 2:
            case 9:
            case 6:
              gn.current === null && (a = !0);
              var L = Xe;
              if (Xe = 0, vn = null, jo(t, _, A, L), i && No) {
                x = 0;
                break e;
              }
              break;
            default:
              L = Xe, Xe = 0, vn = null, jo(t, _, A, L);
          }
        }
        N2(), x = ft;
        break;
      } catch (Z) {
        xm(t, Z);
      }
    while (!0);
    return a && t.shellSuspendCounter++, pa = jr = null, qe = c, O.H = d, O.A = v, je === null && (et = null, Le = 0, Ul()), x;
  }
  function N2() {
    for (; je !== null; ) Cm(je);
  }
  function O2(t, a) {
    var i = qe;
    qe |= 2;
    var c = Sm(), d = km();
    et !== t || Le !== a ? (yc = null, xc = Ut() + 500, Mo(t, a)) : No = at(
      t,
      a
    );
    e: do
      try {
        if (Xe !== 0 && je !== null) {
          a = je;
          var v = vn;
          t: switch (Xe) {
            case 1:
              Xe = 0, vn = null, jo(t, a, v, 1);
              break;
            case 2:
            case 9:
              if (Mv(v)) {
                Xe = 0, vn = null, _m(a);
                break;
              }
              a = function() {
                Xe !== 2 && Xe !== 9 || et !== t || (Xe = 7), ea(t);
              }, v.then(a, a);
              break e;
            case 3:
              Xe = 7;
              break e;
            case 4:
              Xe = 5;
              break e;
            case 7:
              Mv(v) ? (Xe = 0, vn = null, _m(a)) : (Xe = 0, vn = null, jo(t, a, v, 7));
              break;
            case 5:
              var x = null;
              switch (je.tag) {
                case 26:
                  x = je.memoizedState;
                case 5:
                case 27:
                  var _ = je;
                  if (x ? uw(x) : _.stateNode.complete) {
                    Xe = 0, vn = null;
                    var A = _.sibling;
                    if (A !== null) je = A;
                    else {
                      var L = _.return;
                      L !== null ? (je = L, Cc(L)) : je = null;
                    }
                    break t;
                  }
              }
              Xe = 0, vn = null, jo(t, a, v, 5);
              break;
            case 6:
              Xe = 0, vn = null, jo(t, a, v, 6);
              break;
            case 8:
              Jd(), ft = 6;
              break e;
            default:
              throw Error(o(462));
          }
        }
        D2();
        break;
      } catch (Z) {
        xm(t, Z);
      }
    while (!0);
    return pa = jr = null, O.H = c, O.A = d, qe = i, je !== null ? 0 : (et = null, Le = 0, Ul(), ft);
  }
  function D2() {
    for (; je !== null && !It(); )
      Cm(je);
  }
  function Cm(t) {
    var a = Yh(t.alternate, t, Ca);
    t.memoizedProps = t.pendingProps, a === null ? Cc(t) : je = a;
  }
  function _m(t) {
    var a = t, i = a.alternate;
    switch (a.tag) {
      case 15:
      case 0:
        a = Ih(
          i,
          a,
          a.pendingProps,
          a.type,
          void 0,
          Le
        );
        break;
      case 11:
        a = Ih(
          i,
          a,
          a.pendingProps,
          a.type.render,
          a.ref,
          Le
        );
        break;
      case 5:
        pd(a);
      default:
        Kh(i, a), a = je = kv(a, Ca), a = Yh(i, a, Ca);
    }
    t.memoizedProps = t.pendingProps, a === null ? Cc(t) : je = a;
  }
  function jo(t, a, i, c) {
    pa = jr = null, pd(a), Co = null, Oi = 0;
    var d = a.return;
    try {
      if (y2(
        t,
        d,
        a,
        i,
        Le
      )) {
        ft = 1, dc(
          t,
          En(i, t.current)
        ), je = null;
        return;
      }
    } catch (v) {
      if (d !== null) throw je = d, v;
      ft = 1, dc(
        t,
        En(i, t.current)
      ), je = null;
      return;
    }
    a.flags & 32768 ? (Be || c === 1 ? t = !0 : No || (Le & 536870912) !== 0 ? t = !1 : (qa = t = !0, (c === 2 || c === 9 || c === 3 || c === 6) && (c = gn.current, c !== null && c.tag === 13 && (c.flags |= 16384))), Rm(a, t)) : Cc(a);
  }
  function Cc(t) {
    var a = t;
    do {
      if ((a.flags & 32768) !== 0) {
        Rm(
          a,
          qa
        );
        return;
      }
      t = a.return;
      var i = C2(
        a.alternate,
        a,
        Ca
      );
      if (i !== null) {
        je = i;
        return;
      }
      if (a = a.sibling, a !== null) {
        je = a;
        return;
      }
      je = a = t;
    } while (a !== null);
    ft === 0 && (ft = 5);
  }
  function Rm(t, a) {
    do {
      var i = _2(t.alternate, t);
      if (i !== null) {
        i.flags &= 32767, je = i;
        return;
      }
      if (i = t.return, i !== null && (i.flags |= 32768, i.subtreeFlags = 0, i.deletions = null), !a && (t = t.sibling, t !== null)) {
        je = t;
        return;
      }
      je = t = i;
    } while (t !== null);
    ft = 6, je = null;
  }
  function Em(t, a, i, c, d, v, x, _, A) {
    t.cancelPendingCommit = null;
    do
      _c();
    while (yt !== 0);
    if ((qe & 6) !== 0) throw Error(o(327));
    if (a !== null) {
      if (a === t.current) throw Error(o(177));
      if (v = a.lanes | a.childLanes, v |= Bu, Xt(
        t,
        i,
        v,
        x,
        _,
        A
      ), t === et && (je = et = null, Le = 0), Do = a, Ka = t, _a = i, Xd = v, Kd = d, hm = c, (a.subtreeFlags & 10256) !== 0 || (a.flags & 10256) !== 0 ? (t.callbackNode = null, t.callbackPriority = 0, P2(Cr, function() {
        return Om(), null;
      })) : (t.callbackNode = null, t.callbackPriority = 0), c = (a.flags & 13878) !== 0, (a.subtreeFlags & 13878) !== 0 || c) {
        c = O.T, O.T = null, d = B.p, B.p = 2, x = qe, qe |= 4;
        try {
          R2(t, a, i);
        } finally {
          qe = x, B.p = d, O.T = c;
        }
      }
      yt = 1, zm(), Tm(), Am();
    }
  }
  function zm() {
    if (yt === 1) {
      yt = 0;
      var t = Ka, a = Do, i = (a.flags & 13878) !== 0;
      if ((a.subtreeFlags & 13878) !== 0 || i) {
        i = O.T, O.T = null;
        var c = B.p;
        B.p = 2;
        var d = qe;
        qe |= 4;
        try {
          cm(a, t);
          var v = ff, x = pv(t.containerInfo), _ = v.focusedElem, A = v.selectionRange;
          if (x !== _ && _ && _.ownerDocument && gv(
            _.ownerDocument.documentElement,
            _
          )) {
            if (A !== null && $u(_)) {
              var L = A.start, Z = A.end;
              if (Z === void 0 && (Z = L), "selectionStart" in _)
                _.selectionStart = L, _.selectionEnd = Math.min(
                  Z,
                  _.value.length
                );
              else {
                var X = _.ownerDocument || document, H = X && X.defaultView || window;
                if (H.getSelection) {
                  var V = H.getSelection(), se = _.textContent.length, ye = Math.min(A.start, se), We = A.end === void 0 ? ye : Math.min(A.end, se);
                  !V.extend && ye > We && (x = We, We = ye, ye = x);
                  var M = fv(
                    _,
                    ye
                  ), D = fv(
                    _,
                    We
                  );
                  if (M && D && (V.rangeCount !== 1 || V.anchorNode !== M.node || V.anchorOffset !== M.offset || V.focusNode !== D.node || V.focusOffset !== D.offset)) {
                    var P = X.createRange();
                    P.setStart(M.node, M.offset), V.removeAllRanges(), ye > We ? (V.addRange(P), V.extend(D.node, D.offset)) : (P.setEnd(D.node, D.offset), V.addRange(P));
                  }
                }
              }
            }
            for (X = [], V = _; V = V.parentNode; )
              V.nodeType === 1 && X.push({
                element: V,
                left: V.scrollLeft,
                top: V.scrollTop
              });
            for (typeof _.focus == "function" && _.focus(), _ = 0; _ < X.length; _++) {
              var Y = X[_];
              Y.element.scrollLeft = Y.left, Y.element.scrollTop = Y.top;
            }
          }
          Pc = !!df, ff = df = null;
        } finally {
          qe = d, B.p = c, O.T = i;
        }
      }
      t.current = a, yt = 2;
    }
  }
  function Tm() {
    if (yt === 2) {
      yt = 0;
      var t = Ka, a = Do, i = (a.flags & 8772) !== 0;
      if ((a.subtreeFlags & 8772) !== 0 || i) {
        i = O.T, O.T = null;
        var c = B.p;
        B.p = 2;
        var d = qe;
        qe |= 4;
        try {
          am(t, a.alternate, a);
        } finally {
          qe = d, B.p = c, O.T = i;
        }
      }
      yt = 3;
    }
  }
  function Am() {
    if (yt === 4 || yt === 3) {
      yt = 0, Oa();
      var t = Ka, a = Do, i = _a, c = hm;
      (a.subtreeFlags & 10256) !== 0 || (a.flags & 10256) !== 0 ? yt = 5 : (yt = 0, Do = Ka = null, Nm(t, t.pendingLanes));
      var d = t.pendingLanes;
      if (d === 0 && (Xa = null), Hn(i), a = a.stateNode, Ft && typeof Ft.onCommitFiberRoot == "function")
        try {
          Ft.onCommitFiberRoot(
            _r,
            a,
            void 0,
            (a.current.flags & 128) === 128
          );
        } catch {
        }
      if (c !== null) {
        a = O.T, d = B.p, B.p = 2, O.T = null;
        try {
          for (var v = t.onRecoverableError, x = 0; x < c.length; x++) {
            var _ = c[x];
            v(_.value, {
              componentStack: _.stack
            });
          }
        } finally {
          O.T = a, B.p = d;
        }
      }
      (_a & 3) !== 0 && _c(), ea(t), d = t.pendingLanes, (i & 261930) !== 0 && (d & 42) !== 0 ? t === Qd ? Xi++ : (Xi = 0, Qd = t) : Xi = 0, Ki(0);
    }
  }
  function Nm(t, a) {
    (t.pooledCacheLanes &= a) === 0 && (a = t.pooledCache, a != null && (t.pooledCache = null, Ai(a)));
  }
  function _c() {
    return zm(), Tm(), Am(), Om();
  }
  function Om() {
    if (yt !== 5) return !1;
    var t = Ka, a = Xd;
    Xd = 0;
    var i = Hn(_a), c = O.T, d = B.p;
    try {
      B.p = 32 > i ? 32 : i, O.T = null, i = Kd, Kd = null;
      var v = Ka, x = _a;
      if (yt = 0, Do = Ka = null, _a = 0, (qe & 6) !== 0) throw Error(o(331));
      var _ = qe;
      if (qe |= 4, gm(v.current), um(
        v,
        v.current,
        x,
        i
      ), qe = _, Ki(0, !1), Ft && typeof Ft.onPostCommitFiberRoot == "function")
        try {
          Ft.onPostCommitFiberRoot(_r, v);
        } catch {
        }
      return !0;
    } finally {
      B.p = d, O.T = c, Nm(t, a);
    }
  }
  function Dm(t, a, i) {
    a = En(i, a), a = Td(t.stateNode, a, 2), t = Ua(t, a, 2), t !== null && (ct(t, 2), ea(t));
  }
  function Ke(t, a, i) {
    if (t.tag === 3)
      Dm(t, t, i);
    else
      for (; a !== null; ) {
        if (a.tag === 3) {
          Dm(
            a,
            t,
            i
          );
          break;
        } else if (a.tag === 1) {
          var c = a.stateNode;
          if (typeof a.type.getDerivedStateFromError == "function" || typeof c.componentDidCatch == "function" && (Xa === null || !Xa.has(c))) {
            t = En(i, t), i = Mh(2), c = Ua(a, i, 2), c !== null && (jh(
              i,
              c,
              a,
              t
            ), ct(c, 2), ea(c));
            break;
          }
        }
        a = a.return;
      }
  }
  function ef(t, a, i) {
    var c = t.pingCache;
    if (c === null) {
      c = t.pingCache = new T2();
      var d = /* @__PURE__ */ new Set();
      c.set(a, d);
    } else
      d = c.get(a), d === void 0 && (d = /* @__PURE__ */ new Set(), c.set(a, d));
    d.has(i) || (Gd = !0, d.add(i), t = M2.bind(null, t, a, i), a.then(t, t));
  }
  function M2(t, a, i) {
    var c = t.pingCache;
    c !== null && c.delete(a), t.pingedLanes |= t.suspendedLanes & i, t.warmLanes &= ~i, et === t && (Le & i) === i && (ft === 4 || ft === 3 && (Le & 62914560) === Le && 300 > Ut() - bc ? (qe & 2) === 0 && Mo(t, 0) : qd |= i, Oo === Le && (Oo = 0)), ea(t);
  }
  function Mm(t, a) {
    a === 0 && (a = Pt()), t = Or(t, a), t !== null && (ct(t, a), ea(t));
  }
  function j2(t) {
    var a = t.memoizedState, i = 0;
    a !== null && (i = a.retryLane), Mm(t, i);
  }
  function $2(t, a) {
    var i = 0;
    switch (t.tag) {
      case 31:
      case 13:
        var c = t.stateNode, d = t.memoizedState;
        d !== null && (i = d.retryLane);
        break;
      case 19:
        c = t.stateNode;
        break;
      case 22:
        c = t.stateNode._retryCache;
        break;
      default:
        throw Error(o(314));
    }
    c !== null && c.delete(a), Mm(t, i);
  }
  function P2(t, a) {
    return gi(t, a);
  }
  var Rc = null, $o = null, tf = !1, Ec = !1, nf = !1, Ja = 0;
  function ea(t) {
    t !== $o && t.next === null && ($o === null ? Rc = $o = t : $o = $o.next = t), Ec = !0, tf || (tf = !0, H2());
  }
  function Ki(t, a) {
    if (!nf && Ec) {
      nf = !0;
      do
        for (var i = !1, c = Rc; c !== null; ) {
          if (t !== 0) {
            var d = c.pendingLanes;
            if (d === 0) var v = 0;
            else {
              var x = c.suspendedLanes, _ = c.pingedLanes;
              v = (1 << 31 - $t(42 | t) + 1) - 1, v &= d & ~(x & ~_), v = v & 201326741 ? v & 201326741 | 1 : v ? v | 2 : 0;
            }
            v !== 0 && (i = !0, Lm(c, v));
          } else
            v = Le, v = Ce(
              c,
              c === et ? v : 0,
              c.cancelPendingCommit !== null || c.timeoutHandle !== -1
            ), (v & 3) === 0 || at(c, v) || (i = !0, Lm(c, v));
          c = c.next;
        }
      while (i);
      nf = !1;
    }
  }
  function L2() {
    jm();
  }
  function jm() {
    Ec = tf = !1;
    var t = 0;
    Ja !== 0 && X2() && (t = Ja);
    for (var a = Ut(), i = null, c = Rc; c !== null; ) {
      var d = c.next, v = $m(c, a);
      v === 0 ? (c.next = null, i === null ? Rc = d : i.next = d, d === null && ($o = i)) : (i = c, (t !== 0 || (v & 3) !== 0) && (Ec = !0)), c = d;
    }
    yt !== 0 && yt !== 5 || Ki(t), Ja !== 0 && (Ja = 0);
  }
  function $m(t, a) {
    for (var i = t.suspendedLanes, c = t.pingedLanes, d = t.expirationTimes, v = t.pendingLanes & -62914561; 0 < v; ) {
      var x = 31 - $t(v), _ = 1 << x, A = d[x];
      A === -1 ? ((_ & i) === 0 || (_ & c) !== 0) && (d[x] = Rt(_, a)) : A <= a && (t.expiredLanes |= _), v &= ~_;
    }
    if (a = et, i = Le, i = Ce(
      t,
      t === a ? i : 0,
      t.cancelPendingCommit !== null || t.timeoutHandle !== -1
    ), c = t.callbackNode, i === 0 || t === a && (Xe === 2 || Xe === 9) || t.cancelPendingCommit !== null)
      return c !== null && c !== null && pi(c), t.callbackNode = null, t.callbackPriority = 0;
    if ((i & 3) === 0 || at(t, i)) {
      if (a = i & -i, a === t.callbackPriority) return a;
      switch (c !== null && pi(c), Hn(i)) {
        case 2:
        case 8:
          i = Al;
          break;
        case 32:
          i = Cr;
          break;
        case 268435456:
          i = ca;
          break;
        default:
          i = Cr;
      }
      return c = Pm.bind(null, t), i = gi(i, c), t.callbackPriority = a, t.callbackNode = i, a;
    }
    return c !== null && c !== null && pi(c), t.callbackPriority = 2, t.callbackNode = null, 2;
  }
  function Pm(t, a) {
    if (yt !== 0 && yt !== 5)
      return t.callbackNode = null, t.callbackPriority = 0, null;
    var i = t.callbackNode;
    if (_c() && t.callbackNode !== i)
      return null;
    var c = Le;
    return c = Ce(
      t,
      t === et ? c : 0,
      t.cancelPendingCommit !== null || t.timeoutHandle !== -1
    ), c === 0 ? null : (wm(t, c, a), $m(t, Ut()), t.callbackNode != null && t.callbackNode === i ? Pm.bind(null, t) : null);
  }
  function Lm(t, a) {
    if (_c()) return null;
    wm(t, a, !0);
  }
  function H2() {
    Q2(function() {
      (qe & 6) !== 0 ? gi(
        kr,
        L2
      ) : jm();
    });
  }
  function af() {
    if (Ja === 0) {
      var t = yo;
      t === 0 && (t = Wr, Wr <<= 1, (Wr & 261888) === 0 && (Wr = 256)), Ja = t;
    }
    return Ja;
  }
  function Hm(t) {
    return t == null || typeof t == "symbol" || typeof t == "boolean" ? null : typeof t == "function" ? t : jl("" + t);
  }
  function Vm(t, a) {
    var i = a.ownerDocument.createElement("input");
    return i.name = a.name, i.value = a.value, t.id && i.setAttribute("form", t.id), a.parentNode.insertBefore(i, a), t = new FormData(t), i.parentNode.removeChild(i), t;
  }
  function V2(t, a, i, c, d) {
    if (a === "submit" && i && i.stateNode === d) {
      var v = Hm(
        (d[Jt] || null).action
      ), x = c.submitter;
      x && (a = (a = x[Jt] || null) ? Hm(a.formAction) : x.getAttribute("formAction"), a !== null && (v = a, x = null));
      var _ = new Hl(
        "action",
        "action",
        null,
        c,
        d
      );
      t.push({
        event: _,
        listeners: [
          {
            instance: null,
            listener: function() {
              if (c.defaultPrevented) {
                if (Ja !== 0) {
                  var A = x ? Vm(d, x) : new FormData(d);
                  kd(
                    i,
                    {
                      pending: !0,
                      data: A,
                      method: d.method,
                      action: v
                    },
                    null,
                    A
                  );
                }
              } else
                typeof v == "function" && (_.preventDefault(), A = x ? Vm(d, x) : new FormData(d), kd(
                  i,
                  {
                    pending: !0,
                    data: A,
                    method: d.method,
                    action: v
                  },
                  v,
                  A
                ));
            },
            currentTarget: d
          }
        ]
      });
    }
  }
  for (var rf = 0; rf < Vu.length; rf++) {
    var of = Vu[rf], B2 = of.toLowerCase(), I2 = of[0].toUpperCase() + of.slice(1);
    Vn(
      B2,
      "on" + I2
    );
  }
  Vn(mv, "onAnimationEnd"), Vn(wv, "onAnimationIteration"), Vn(bv, "onAnimationStart"), Vn("dblclick", "onDoubleClick"), Vn("focusin", "onFocus"), Vn("focusout", "onBlur"), Vn(r2, "onTransitionRun"), Vn(o2, "onTransitionStart"), Vn(i2, "onTransitionCancel"), Vn(xv, "onTransitionEnd"), io("onMouseEnter", ["mouseout", "mouseover"]), io("onMouseLeave", ["mouseout", "mouseover"]), io("onPointerEnter", ["pointerout", "pointerover"]), io("onPointerLeave", ["pointerout", "pointerover"]), zr(
    "onChange",
    "change click focusin focusout input keydown keyup selectionchange".split(" ")
  ), zr(
    "onSelect",
    "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(
      " "
    )
  ), zr("onBeforeInput", [
    "compositionend",
    "keypress",
    "textInput",
    "paste"
  ]), zr(
    "onCompositionEnd",
    "compositionend focusout keydown keypress keyup mousedown".split(" ")
  ), zr(
    "onCompositionStart",
    "compositionstart focusout keydown keypress keyup mousedown".split(" ")
  ), zr(
    "onCompositionUpdate",
    "compositionupdate focusout keydown keypress keyup mousedown".split(" ")
  );
  var Qi = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(
    " "
  ), U2 = new Set(
    "beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Qi)
  );
  function Bm(t, a) {
    a = (a & 4) !== 0;
    for (var i = 0; i < t.length; i++) {
      var c = t[i], d = c.event;
      c = c.listeners;
      e: {
        var v = void 0;
        if (a)
          for (var x = c.length - 1; 0 <= x; x--) {
            var _ = c[x], A = _.instance, L = _.currentTarget;
            if (_ = _.listener, A !== v && d.isPropagationStopped())
              break e;
            v = _, d.currentTarget = L;
            try {
              v(d);
            } catch (Z) {
              Il(Z);
            }
            d.currentTarget = null, v = A;
          }
        else
          for (x = 0; x < c.length; x++) {
            if (_ = c[x], A = _.instance, L = _.currentTarget, _ = _.listener, A !== v && d.isPropagationStopped())
              break e;
            v = _, d.currentTarget = L;
            try {
              v(d);
            } catch (Z) {
              Il(Z);
            }
            d.currentTarget = null, v = A;
          }
      }
    }
  }
  function $e(t, a) {
    var i = a[wu];
    i === void 0 && (i = a[wu] = /* @__PURE__ */ new Set());
    var c = t + "__bubble";
    i.has(c) || (Im(a, t, 2, !1), i.add(c));
  }
  function lf(t, a, i) {
    var c = 0;
    a && (c |= 4), Im(
      i,
      t,
      c,
      a
    );
  }
  var zc = "_reactListening" + Math.random().toString(36).slice(2);
  function cf(t) {
    if (!t[zc]) {
      t[zc] = !0, jp.forEach(function(i) {
        i !== "selectionchange" && (U2.has(i) || lf(i, !1, t), lf(i, !0, t));
      });
      var a = t.nodeType === 9 ? t : t.ownerDocument;
      a === null || a[zc] || (a[zc] = !0, lf("selectionchange", !1, a));
    }
  }
  function Im(t, a, i, c) {
    switch (mw(a)) {
      case 2:
        var d = mC;
        break;
      case 8:
        d = wC;
        break;
      default:
        d = kf;
    }
    i = d.bind(
      null,
      a,
      i,
      t
    ), d = void 0, !Eu || a !== "touchstart" && a !== "touchmove" && a !== "wheel" || (d = !0), c ? d !== void 0 ? t.addEventListener(a, i, {
      capture: !0,
      passive: d
    }) : t.addEventListener(a, i, !0) : d !== void 0 ? t.addEventListener(a, i, {
      passive: d
    }) : t.addEventListener(a, i, !1);
  }
  function sf(t, a, i, c, d) {
    var v = c;
    if ((a & 1) === 0 && (a & 2) === 0 && c !== null)
      e: for (; ; ) {
        if (c === null) return;
        var x = c.tag;
        if (x === 3 || x === 4) {
          var _ = c.stateNode.containerInfo;
          if (_ === d) break;
          if (x === 4)
            for (x = c.return; x !== null; ) {
              var A = x.tag;
              if ((A === 3 || A === 4) && x.stateNode.containerInfo === d)
                return;
              x = x.return;
            }
          for (; _ !== null; ) {
            if (x = ao(_), x === null) return;
            if (A = x.tag, A === 5 || A === 6 || A === 26 || A === 27) {
              c = v = x;
              continue e;
            }
            _ = _.parentNode;
          }
        }
        c = c.return;
      }
    qp(function() {
      var L = v, Z = _u(i), X = [];
      e: {
        var H = yv.get(t);
        if (H !== void 0) {
          var V = Hl, se = t;
          switch (t) {
            case "keypress":
              if (Pl(i) === 0) break e;
            case "keydown":
            case "keyup":
              V = $k;
              break;
            case "focusin":
              se = "focus", V = Nu;
              break;
            case "focusout":
              se = "blur", V = Nu;
              break;
            case "beforeblur":
            case "afterblur":
              V = Nu;
              break;
            case "click":
              if (i.button === 2) break e;
            case "auxclick":
            case "dblclick":
            case "mousedown":
            case "mousemove":
            case "mouseup":
            case "mouseout":
            case "mouseover":
            case "contextmenu":
              V = Kp;
              break;
            case "drag":
            case "dragend":
            case "dragenter":
            case "dragexit":
            case "dragleave":
            case "dragover":
            case "dragstart":
            case "drop":
              V = Ck;
              break;
            case "touchcancel":
            case "touchend":
            case "touchmove":
            case "touchstart":
              V = Hk;
              break;
            case mv:
            case wv:
            case bv:
              V = Ek;
              break;
            case xv:
              V = Bk;
              break;
            case "scroll":
            case "scrollend":
              V = Sk;
              break;
            case "wheel":
              V = Uk;
              break;
            case "copy":
            case "cut":
            case "paste":
              V = Tk;
              break;
            case "gotpointercapture":
            case "lostpointercapture":
            case "pointercancel":
            case "pointerdown":
            case "pointermove":
            case "pointerout":
            case "pointerover":
            case "pointerup":
              V = Jp;
              break;
            case "toggle":
            case "beforetoggle":
              V = Zk;
          }
          var ye = (a & 4) !== 0, We = !ye && (t === "scroll" || t === "scrollend"), M = ye ? H !== null ? H + "Capture" : null : H;
          ye = [];
          for (var D = L, P; D !== null; ) {
            var Y = D;
            if (P = Y.stateNode, Y = Y.tag, Y !== 5 && Y !== 26 && Y !== 27 || P === null || M === null || (Y = bi(D, M), Y != null && ye.push(
              Ji(D, Y, P)
            )), We) break;
            D = D.return;
          }
          0 < ye.length && (H = new V(
            H,
            se,
            null,
            i,
            Z
          ), X.push({ event: H, listeners: ye }));
        }
      }
      if ((a & 7) === 0) {
        e: {
          if (H = t === "mouseover" || t === "pointerover", V = t === "mouseout" || t === "pointerout", H && i !== Cu && (se = i.relatedTarget || i.fromElement) && (ao(se) || se[no]))
            break e;
          if ((V || H) && (H = Z.window === Z ? Z : (H = Z.ownerDocument) ? H.defaultView || H.parentWindow : window, V ? (se = i.relatedTarget || i.toElement, V = L, se = se ? ao(se) : null, se !== null && (We = s(se), ye = se.tag, se !== We || ye !== 5 && ye !== 27 && ye !== 6) && (se = null)) : (V = null, se = L), V !== se)) {
            if (ye = Kp, Y = "onMouseLeave", M = "onMouseEnter", D = "mouse", (t === "pointerout" || t === "pointerover") && (ye = Jp, Y = "onPointerLeave", M = "onPointerEnter", D = "pointer"), We = V == null ? H : wi(V), P = se == null ? H : wi(se), H = new ye(
              Y,
              D + "leave",
              V,
              i,
              Z
            ), H.target = We, H.relatedTarget = P, Y = null, ao(Z) === L && (ye = new ye(
              M,
              D + "enter",
              se,
              i,
              Z
            ), ye.target = P, ye.relatedTarget = We, Y = ye), We = Y, V && se)
              t: {
                for (ye = F2, M = V, D = se, P = 0, Y = M; Y; Y = ye(Y))
                  P++;
                Y = 0;
                for (var be = D; be; be = ye(be))
                  Y++;
                for (; 0 < P - Y; )
                  M = ye(M), P--;
                for (; 0 < Y - P; )
                  D = ye(D), Y--;
                for (; P--; ) {
                  if (M === D || D !== null && M === D.alternate) {
                    ye = M;
                    break t;
                  }
                  M = ye(M), D = ye(D);
                }
                ye = null;
              }
            else ye = null;
            V !== null && Um(
              X,
              H,
              V,
              ye,
              !1
            ), se !== null && We !== null && Um(
              X,
              We,
              se,
              ye,
              !0
            );
          }
        }
        e: {
          if (H = L ? wi(L) : window, V = H.nodeName && H.nodeName.toLowerCase(), V === "select" || V === "input" && H.type === "file")
            var Ze = iv;
          else if (rv(H))
            if (lv)
              Ze = t2;
            else {
              Ze = Wk;
              var ge = Jk;
            }
          else
            V = H.nodeName, !V || V.toLowerCase() !== "input" || H.type !== "checkbox" && H.type !== "radio" ? L && ku(L.elementType) && (Ze = iv) : Ze = e2;
          if (Ze && (Ze = Ze(t, L))) {
            ov(
              X,
              Ze,
              i,
              Z
            );
            break e;
          }
          ge && ge(t, H, L), t === "focusout" && L && H.type === "number" && L.memoizedProps.value != null && Su(H, "number", H.value);
        }
        switch (ge = L ? wi(L) : window, t) {
          case "focusin":
            (rv(ge) || ge.contentEditable === "true") && (go = ge, Pu = L, Ei = null);
            break;
          case "focusout":
            Ei = Pu = go = null;
            break;
          case "mousedown":
            Lu = !0;
            break;
          case "contextmenu":
          case "mouseup":
          case "dragend":
            Lu = !1, vv(X, i, Z);
            break;
          case "selectionchange":
            if (a2) break;
          case "keydown":
          case "keyup":
            vv(X, i, Z);
        }
        var Ae;
        if (Du)
          e: {
            switch (t) {
              case "compositionstart":
                var He = "onCompositionStart";
                break e;
              case "compositionend":
                He = "onCompositionEnd";
                break e;
              case "compositionupdate":
                He = "onCompositionUpdate";
                break e;
            }
            He = void 0;
          }
        else
          fo ? nv(t, i) && (He = "onCompositionEnd") : t === "keydown" && i.keyCode === 229 && (He = "onCompositionStart");
        He && (Wp && i.locale !== "ko" && (fo || He !== "onCompositionStart" ? He === "onCompositionEnd" && fo && (Ae = Yp()) : ($a = Z, zu = "value" in $a ? $a.value : $a.textContent, fo = !0)), ge = Tc(L, He), 0 < ge.length && (He = new Qp(
          He,
          t,
          null,
          i,
          Z
        ), X.push({ event: He, listeners: ge }), Ae ? He.data = Ae : (Ae = av(i), Ae !== null && (He.data = Ae)))), (Ae = qk ? Yk(t, i) : Xk(t, i)) && (He = Tc(L, "onBeforeInput"), 0 < He.length && (ge = new Qp(
          "onBeforeInput",
          "beforeinput",
          null,
          i,
          Z
        ), X.push({
          event: ge,
          listeners: He
        }), ge.data = Ae)), V2(
          X,
          t,
          L,
          i,
          Z
        );
      }
      Bm(X, a);
    });
  }
  function Ji(t, a, i) {
    return {
      instance: t,
      listener: a,
      currentTarget: i
    };
  }
  function Tc(t, a) {
    for (var i = a + "Capture", c = []; t !== null; ) {
      var d = t, v = d.stateNode;
      if (d = d.tag, d !== 5 && d !== 26 && d !== 27 || v === null || (d = bi(t, i), d != null && c.unshift(
        Ji(t, d, v)
      ), d = bi(t, a), d != null && c.push(
        Ji(t, d, v)
      )), t.tag === 3) return c;
      t = t.return;
    }
    return [];
  }
  function F2(t) {
    if (t === null) return null;
    do
      t = t.return;
    while (t && t.tag !== 5 && t.tag !== 27);
    return t || null;
  }
  function Um(t, a, i, c, d) {
    for (var v = a._reactName, x = []; i !== null && i !== c; ) {
      var _ = i, A = _.alternate, L = _.stateNode;
      if (_ = _.tag, A !== null && A === c) break;
      _ !== 5 && _ !== 26 && _ !== 27 || L === null || (A = L, d ? (L = bi(i, v), L != null && x.unshift(
        Ji(i, L, A)
      )) : d || (L = bi(i, v), L != null && x.push(
        Ji(i, L, A)
      ))), i = i.return;
    }
    x.length !== 0 && t.push({ event: a, listeners: x });
  }
  var Z2 = /\r\n?/g, G2 = /\u0000|\uFFFD/g;
  function Fm(t) {
    return (typeof t == "string" ? t : "" + t).replace(Z2, `
`).replace(G2, "");
  }
  function Zm(t, a) {
    return a = Fm(a), Fm(t) === a;
  }
  function Je(t, a, i, c, d, v) {
    switch (i) {
      case "children":
        typeof c == "string" ? a === "body" || a === "textarea" && c === "" || co(t, c) : (typeof c == "number" || typeof c == "bigint") && a !== "body" && co(t, "" + c);
        break;
      case "className":
        Dl(t, "class", c);
        break;
      case "tabIndex":
        Dl(t, "tabindex", c);
        break;
      case "dir":
      case "role":
      case "viewBox":
      case "width":
      case "height":
        Dl(t, i, c);
        break;
      case "style":
        Zp(t, c, v);
        break;
      case "data":
        if (a !== "object") {
          Dl(t, "data", c);
          break;
        }
      case "src":
      case "href":
        if (c === "" && (a !== "a" || i !== "href")) {
          t.removeAttribute(i);
          break;
        }
        if (c == null || typeof c == "function" || typeof c == "symbol" || typeof c == "boolean") {
          t.removeAttribute(i);
          break;
        }
        c = jl("" + c), t.setAttribute(i, c);
        break;
      case "action":
      case "formAction":
        if (typeof c == "function") {
          t.setAttribute(
            i,
            "javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')"
          );
          break;
        } else
          typeof v == "function" && (i === "formAction" ? (a !== "input" && Je(t, a, "name", d.name, d, null), Je(
            t,
            a,
            "formEncType",
            d.formEncType,
            d,
            null
          ), Je(
            t,
            a,
            "formMethod",
            d.formMethod,
            d,
            null
          ), Je(
            t,
            a,
            "formTarget",
            d.formTarget,
            d,
            null
          )) : (Je(t, a, "encType", d.encType, d, null), Je(t, a, "method", d.method, d, null), Je(t, a, "target", d.target, d, null)));
        if (c == null || typeof c == "symbol" || typeof c == "boolean") {
          t.removeAttribute(i);
          break;
        }
        c = jl("" + c), t.setAttribute(i, c);
        break;
      case "onClick":
        c != null && (t.onclick = ua);
        break;
      case "onScroll":
        c != null && $e("scroll", t);
        break;
      case "onScrollEnd":
        c != null && $e("scrollend", t);
        break;
      case "dangerouslySetInnerHTML":
        if (c != null) {
          if (typeof c != "object" || !("__html" in c))
            throw Error(o(61));
          if (i = c.__html, i != null) {
            if (d.children != null) throw Error(o(60));
            t.innerHTML = i;
          }
        }
        break;
      case "multiple":
        t.multiple = c && typeof c != "function" && typeof c != "symbol";
        break;
      case "muted":
        t.muted = c && typeof c != "function" && typeof c != "symbol";
        break;
      case "suppressContentEditableWarning":
      case "suppressHydrationWarning":
      case "defaultValue":
      case "defaultChecked":
      case "innerHTML":
      case "ref":
        break;
      case "autoFocus":
        break;
      case "xlinkHref":
        if (c == null || typeof c == "function" || typeof c == "boolean" || typeof c == "symbol") {
          t.removeAttribute("xlink:href");
          break;
        }
        i = jl("" + c), t.setAttributeNS(
          "http://www.w3.org/1999/xlink",
          "xlink:href",
          i
        );
        break;
      case "contentEditable":
      case "spellCheck":
      case "draggable":
      case "value":
      case "autoReverse":
      case "externalResourcesRequired":
      case "focusable":
      case "preserveAlpha":
        c != null && typeof c != "function" && typeof c != "symbol" ? t.setAttribute(i, "" + c) : t.removeAttribute(i);
        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":
        c && typeof c != "function" && typeof c != "symbol" ? t.setAttribute(i, "") : t.removeAttribute(i);
        break;
      case "capture":
      case "download":
        c === !0 ? t.setAttribute(i, "") : c !== !1 && c != null && typeof c != "function" && typeof c != "symbol" ? t.setAttribute(i, c) : t.removeAttribute(i);
        break;
      case "cols":
      case "rows":
      case "size":
      case "span":
        c != null && typeof c != "function" && typeof c != "symbol" && !isNaN(c) && 1 <= c ? t.setAttribute(i, c) : t.removeAttribute(i);
        break;
      case "rowSpan":
      case "start":
        c == null || typeof c == "function" || typeof c == "symbol" || isNaN(c) ? t.removeAttribute(i) : t.setAttribute(i, c);
        break;
      case "popover":
        $e("beforetoggle", t), $e("toggle", t), Ol(t, "popover", c);
        break;
      case "xlinkActuate":
        sa(
          t,
          "http://www.w3.org/1999/xlink",
          "xlink:actuate",
          c
        );
        break;
      case "xlinkArcrole":
        sa(
          t,
          "http://www.w3.org/1999/xlink",
          "xlink:arcrole",
          c
        );
        break;
      case "xlinkRole":
        sa(
          t,
          "http://www.w3.org/1999/xlink",
          "xlink:role",
          c
        );
        break;
      case "xlinkShow":
        sa(
          t,
          "http://www.w3.org/1999/xlink",
          "xlink:show",
          c
        );
        break;
      case "xlinkTitle":
        sa(
          t,
          "http://www.w3.org/1999/xlink",
          "xlink:title",
          c
        );
        break;
      case "xlinkType":
        sa(
          t,
          "http://www.w3.org/1999/xlink",
          "xlink:type",
          c
        );
        break;
      case "xmlBase":
        sa(
          t,
          "http://www.w3.org/XML/1998/namespace",
          "xml:base",
          c
        );
        break;
      case "xmlLang":
        sa(
          t,
          "http://www.w3.org/XML/1998/namespace",
          "xml:lang",
          c
        );
        break;
      case "xmlSpace":
        sa(
          t,
          "http://www.w3.org/XML/1998/namespace",
          "xml:space",
          c
        );
        break;
      case "is":
        Ol(t, "is", c);
        break;
      case "innerText":
      case "textContent":
        break;
      default:
        (!(2 < i.length) || i[0] !== "o" && i[0] !== "O" || i[1] !== "n" && i[1] !== "N") && (i = xk.get(i) || i, Ol(t, i, c));
    }
  }
  function uf(t, a, i, c, d, v) {
    switch (i) {
      case "style":
        Zp(t, c, v);
        break;
      case "dangerouslySetInnerHTML":
        if (c != null) {
          if (typeof c != "object" || !("__html" in c))
            throw Error(o(61));
          if (i = c.__html, i != null) {
            if (d.children != null) throw Error(o(60));
            t.innerHTML = i;
          }
        }
        break;
      case "children":
        typeof c == "string" ? co(t, c) : (typeof c == "number" || typeof c == "bigint") && co(t, "" + c);
        break;
      case "onScroll":
        c != null && $e("scroll", t);
        break;
      case "onScrollEnd":
        c != null && $e("scrollend", t);
        break;
      case "onClick":
        c != null && (t.onclick = ua);
        break;
      case "suppressContentEditableWarning":
      case "suppressHydrationWarning":
      case "innerHTML":
      case "ref":
        break;
      case "innerText":
      case "textContent":
        break;
      default:
        if (!$p.hasOwnProperty(i))
          e: {
            if (i[0] === "o" && i[1] === "n" && (d = i.endsWith("Capture"), a = i.slice(2, d ? i.length - 7 : void 0), v = t[Jt] || null, v = v != null ? v[i] : null, typeof v == "function" && t.removeEventListener(a, v, d), typeof c == "function")) {
              typeof v != "function" && v !== null && (i in t ? t[i] = null : t.hasAttribute(i) && t.removeAttribute(i)), t.addEventListener(a, c, d);
              break e;
            }
            i in t ? t[i] = c : c === !0 ? t.setAttribute(i, "") : Ol(t, i, c);
          }
    }
  }
  function Mt(t, a, i) {
    switch (a) {
      case "div":
      case "span":
      case "svg":
      case "path":
      case "a":
      case "g":
      case "p":
      case "li":
        break;
      case "img":
        $e("error", t), $e("load", t);
        var c = !1, d = !1, v;
        for (v in i)
          if (i.hasOwnProperty(v)) {
            var x = i[v];
            if (x != null)
              switch (v) {
                case "src":
                  c = !0;
                  break;
                case "srcSet":
                  d = !0;
                  break;
                case "children":
                case "dangerouslySetInnerHTML":
                  throw Error(o(137, a));
                default:
                  Je(t, a, v, x, i, null);
              }
          }
        d && Je(t, a, "srcSet", i.srcSet, i, null), c && Je(t, a, "src", i.src, i, null);
        return;
      case "input":
        $e("invalid", t);
        var _ = v = x = d = null, A = null, L = null;
        for (c in i)
          if (i.hasOwnProperty(c)) {
            var Z = i[c];
            if (Z != null)
              switch (c) {
                case "name":
                  d = Z;
                  break;
                case "type":
                  x = Z;
                  break;
                case "checked":
                  A = Z;
                  break;
                case "defaultChecked":
                  L = Z;
                  break;
                case "value":
                  v = Z;
                  break;
                case "defaultValue":
                  _ = Z;
                  break;
                case "children":
                case "dangerouslySetInnerHTML":
                  if (Z != null)
                    throw Error(o(137, a));
                  break;
                default:
                  Je(t, a, c, Z, i, null);
              }
          }
        Bp(
          t,
          v,
          _,
          A,
          L,
          x,
          d,
          !1
        );
        return;
      case "select":
        $e("invalid", t), c = x = v = null;
        for (d in i)
          if (i.hasOwnProperty(d) && (_ = i[d], _ != null))
            switch (d) {
              case "value":
                v = _;
                break;
              case "defaultValue":
                x = _;
                break;
              case "multiple":
                c = _;
              default:
                Je(t, a, d, _, i, null);
            }
        a = v, i = x, t.multiple = !!c, a != null ? lo(t, !!c, a, !1) : i != null && lo(t, !!c, i, !0);
        return;
      case "textarea":
        $e("invalid", t), v = d = c = null;
        for (x in i)
          if (i.hasOwnProperty(x) && (_ = i[x], _ != null))
            switch (x) {
              case "value":
                c = _;
                break;
              case "defaultValue":
                d = _;
                break;
              case "children":
                v = _;
                break;
              case "dangerouslySetInnerHTML":
                if (_ != null) throw Error(o(91));
                break;
              default:
                Je(t, a, x, _, i, null);
            }
        Up(t, c, d, v);
        return;
      case "option":
        for (A in i)
          if (i.hasOwnProperty(A) && (c = i[A], c != null))
            switch (A) {
              case "selected":
                t.selected = c && typeof c != "function" && typeof c != "symbol";
                break;
              default:
                Je(t, a, A, c, i, null);
            }
        return;
      case "dialog":
        $e("beforetoggle", t), $e("toggle", t), $e("cancel", t), $e("close", t);
        break;
      case "iframe":
      case "object":
        $e("load", t);
        break;
      case "video":
      case "audio":
        for (c = 0; c < Qi.length; c++)
          $e(Qi[c], t);
        break;
      case "image":
        $e("error", t), $e("load", t);
        break;
      case "details":
        $e("toggle", t);
        break;
      case "embed":
      case "source":
      case "link":
        $e("error", t), $e("load", t);
      case "area":
      case "base":
      case "br":
      case "col":
      case "hr":
      case "keygen":
      case "meta":
      case "param":
      case "track":
      case "wbr":
      case "menuitem":
        for (L in i)
          if (i.hasOwnProperty(L) && (c = i[L], c != null))
            switch (L) {
              case "children":
              case "dangerouslySetInnerHTML":
                throw Error(o(137, a));
              default:
                Je(t, a, L, c, i, null);
            }
        return;
      default:
        if (ku(a)) {
          for (Z in i)
            i.hasOwnProperty(Z) && (c = i[Z], c !== void 0 && uf(
              t,
              a,
              Z,
              c,
              i,
              void 0
            ));
          return;
        }
    }
    for (_ in i)
      i.hasOwnProperty(_) && (c = i[_], c != null && Je(t, a, _, c, i, null));
  }
  function q2(t, a, i, c) {
    switch (a) {
      case "div":
      case "span":
      case "svg":
      case "path":
      case "a":
      case "g":
      case "p":
      case "li":
        break;
      case "input":
        var d = null, v = null, x = null, _ = null, A = null, L = null, Z = null;
        for (V in i) {
          var X = i[V];
          if (i.hasOwnProperty(V) && X != null)
            switch (V) {
              case "checked":
                break;
              case "value":
                break;
              case "defaultValue":
                A = X;
              default:
                c.hasOwnProperty(V) || Je(t, a, V, null, c, X);
            }
        }
        for (var H in c) {
          var V = c[H];
          if (X = i[H], c.hasOwnProperty(H) && (V != null || X != null))
            switch (H) {
              case "type":
                v = V;
                break;
              case "name":
                d = V;
                break;
              case "checked":
                L = V;
                break;
              case "defaultChecked":
                Z = V;
                break;
              case "value":
                x = V;
                break;
              case "defaultValue":
                _ = V;
                break;
              case "children":
              case "dangerouslySetInnerHTML":
                if (V != null)
                  throw Error(o(137, a));
                break;
              default:
                V !== X && Je(
                  t,
                  a,
                  H,
                  V,
                  c,
                  X
                );
            }
        }
        yu(
          t,
          x,
          _,
          A,
          L,
          Z,
          v,
          d
        );
        return;
      case "select":
        V = x = _ = H = null;
        for (v in i)
          if (A = i[v], i.hasOwnProperty(v) && A != null)
            switch (v) {
              case "value":
                break;
              case "multiple":
                V = A;
              default:
                c.hasOwnProperty(v) || Je(
                  t,
                  a,
                  v,
                  null,
                  c,
                  A
                );
            }
        for (d in c)
          if (v = c[d], A = i[d], c.hasOwnProperty(d) && (v != null || A != null))
            switch (d) {
              case "value":
                H = v;
                break;
              case "defaultValue":
                _ = v;
                break;
              case "multiple":
                x = v;
              default:
                v !== A && Je(
                  t,
                  a,
                  d,
                  v,
                  c,
                  A
                );
            }
        a = _, i = x, c = V, H != null ? lo(t, !!i, H, !1) : !!c != !!i && (a != null ? lo(t, !!i, a, !0) : lo(t, !!i, i ? [] : "", !1));
        return;
      case "textarea":
        V = H = null;
        for (_ in i)
          if (d = i[_], i.hasOwnProperty(_) && d != null && !c.hasOwnProperty(_))
            switch (_) {
              case "value":
                break;
              case "children":
                break;
              default:
                Je(t, a, _, null, c, d);
            }
        for (x in c)
          if (d = c[x], v = i[x], c.hasOwnProperty(x) && (d != null || v != null))
            switch (x) {
              case "value":
                H = d;
                break;
              case "defaultValue":
                V = d;
                break;
              case "children":
                break;
              case "dangerouslySetInnerHTML":
                if (d != null) throw Error(o(91));
                break;
              default:
                d !== v && Je(t, a, x, d, c, v);
            }
        Ip(t, H, V);
        return;
      case "option":
        for (var se in i)
          if (H = i[se], i.hasOwnProperty(se) && H != null && !c.hasOwnProperty(se))
            switch (se) {
              case "selected":
                t.selected = !1;
                break;
              default:
                Je(
                  t,
                  a,
                  se,
                  null,
                  c,
                  H
                );
            }
        for (A in c)
          if (H = c[A], V = i[A], c.hasOwnProperty(A) && H !== V && (H != null || V != null))
            switch (A) {
              case "selected":
                t.selected = H && typeof H != "function" && typeof H != "symbol";
                break;
              default:
                Je(
                  t,
                  a,
                  A,
                  H,
                  c,
                  V
                );
            }
        return;
      case "img":
      case "link":
      case "area":
      case "base":
      case "br":
      case "col":
      case "embed":
      case "hr":
      case "keygen":
      case "meta":
      case "param":
      case "source":
      case "track":
      case "wbr":
      case "menuitem":
        for (var ye in i)
          H = i[ye], i.hasOwnProperty(ye) && H != null && !c.hasOwnProperty(ye) && Je(t, a, ye, null, c, H);
        for (L in c)
          if (H = c[L], V = i[L], c.hasOwnProperty(L) && H !== V && (H != null || V != null))
            switch (L) {
              case "children":
              case "dangerouslySetInnerHTML":
                if (H != null)
                  throw Error(o(137, a));
                break;
              default:
                Je(
                  t,
                  a,
                  L,
                  H,
                  c,
                  V
                );
            }
        return;
      default:
        if (ku(a)) {
          for (var We in i)
            H = i[We], i.hasOwnProperty(We) && H !== void 0 && !c.hasOwnProperty(We) && uf(
              t,
              a,
              We,
              void 0,
              c,
              H
            );
          for (Z in c)
            H = c[Z], V = i[Z], !c.hasOwnProperty(Z) || H === V || H === void 0 && V === void 0 || uf(
              t,
              a,
              Z,
              H,
              c,
              V
            );
          return;
        }
    }
    for (var M in i)
      H = i[M], i.hasOwnProperty(M) && H != null && !c.hasOwnProperty(M) && Je(t, a, M, null, c, H);
    for (X in c)
      H = c[X], V = i[X], !c.hasOwnProperty(X) || H === V || H == null && V == null || Je(t, a, X, H, c, V);
  }
  function Gm(t) {
    switch (t) {
      case "css":
      case "script":
      case "font":
      case "img":
      case "image":
      case "input":
      case "link":
        return !0;
      default:
        return !1;
    }
  }
  function Y2() {
    if (typeof performance.getEntriesByType == "function") {
      for (var t = 0, a = 0, i = performance.getEntriesByType("resource"), c = 0; c < i.length; c++) {
        var d = i[c], v = d.transferSize, x = d.initiatorType, _ = d.duration;
        if (v && _ && Gm(x)) {
          for (x = 0, _ = d.responseEnd, c += 1; c < i.length; c++) {
            var A = i[c], L = A.startTime;
            if (L > _) break;
            var Z = A.transferSize, X = A.initiatorType;
            Z && Gm(X) && (A = A.responseEnd, x += Z * (A < _ ? 1 : (_ - L) / (A - L)));
          }
          if (--c, a += 8 * (v + x) / (d.duration / 1e3), t++, 10 < t) break;
        }
      }
      if (0 < t) return a / t / 1e6;
    }
    return navigator.connection && (t = navigator.connection.downlink, typeof t == "number") ? t : 5;
  }
  var df = null, ff = null;
  function Ac(t) {
    return t.nodeType === 9 ? t : t.ownerDocument;
  }
  function qm(t) {
    switch (t) {
      case "http://www.w3.org/2000/svg":
        return 1;
      case "http://www.w3.org/1998/Math/MathML":
        return 2;
      default:
        return 0;
    }
  }
  function Ym(t, a) {
    if (t === 0)
      switch (a) {
        case "svg":
          return 1;
        case "math":
          return 2;
        default:
          return 0;
      }
    return t === 1 && a === "foreignObject" ? 0 : t;
  }
  function gf(t, a) {
    return t === "textarea" || t === "noscript" || typeof a.children == "string" || typeof a.children == "number" || typeof a.children == "bigint" || typeof a.dangerouslySetInnerHTML == "object" && a.dangerouslySetInnerHTML !== null && a.dangerouslySetInnerHTML.__html != null;
  }
  var pf = null;
  function X2() {
    var t = window.event;
    return t && t.type === "popstate" ? t === pf ? !1 : (pf = t, !0) : (pf = null, !1);
  }
  var Xm = typeof setTimeout == "function" ? setTimeout : void 0, K2 = typeof clearTimeout == "function" ? clearTimeout : void 0, Km = typeof Promise == "function" ? Promise : void 0, Q2 = typeof queueMicrotask == "function" ? queueMicrotask : typeof Km < "u" ? function(t) {
    return Km.resolve(null).then(t).catch(J2);
  } : Xm;
  function J2(t) {
    setTimeout(function() {
      throw t;
    });
  }
  function Wa(t) {
    return t === "head";
  }
  function Qm(t, a) {
    var i = a, c = 0;
    do {
      var d = i.nextSibling;
      if (t.removeChild(i), d && d.nodeType === 8)
        if (i = d.data, i === "/$" || i === "/&") {
          if (c === 0) {
            t.removeChild(d), Vo(a);
            return;
          }
          c--;
        } else if (i === "$" || i === "$?" || i === "$~" || i === "$!" || i === "&")
          c++;
        else if (i === "html")
          Wi(t.ownerDocument.documentElement);
        else if (i === "head") {
          i = t.ownerDocument.head, Wi(i);
          for (var v = i.firstChild; v; ) {
            var x = v.nextSibling, _ = v.nodeName;
            v[mi] || _ === "SCRIPT" || _ === "STYLE" || _ === "LINK" && v.rel.toLowerCase() === "stylesheet" || i.removeChild(v), v = x;
          }
        } else
          i === "body" && Wi(t.ownerDocument.body);
      i = d;
    } while (i);
    Vo(a);
  }
  function Jm(t, a) {
    var i = t;
    t = 0;
    do {
      var c = i.nextSibling;
      if (i.nodeType === 1 ? a ? (i._stashedDisplay = i.style.display, i.style.display = "none") : (i.style.display = i._stashedDisplay || "", i.getAttribute("style") === "" && i.removeAttribute("style")) : i.nodeType === 3 && (a ? (i._stashedText = i.nodeValue, i.nodeValue = "") : i.nodeValue = i._stashedText || ""), c && c.nodeType === 8)
        if (i = c.data, i === "/$") {
          if (t === 0) break;
          t--;
        } else
          i !== "$" && i !== "$?" && i !== "$~" && i !== "$!" || t++;
      i = c;
    } while (i);
  }
  function vf(t) {
    var a = t.firstChild;
    for (a && a.nodeType === 10 && (a = a.nextSibling); a; ) {
      var i = a;
      switch (a = a.nextSibling, i.nodeName) {
        case "HTML":
        case "HEAD":
        case "BODY":
          vf(i), bu(i);
          continue;
        case "SCRIPT":
        case "STYLE":
          continue;
        case "LINK":
          if (i.rel.toLowerCase() === "stylesheet") continue;
      }
      t.removeChild(i);
    }
  }
  function W2(t, a, i, c) {
    for (; t.nodeType === 1; ) {
      var d = i;
      if (t.nodeName.toLowerCase() !== a.toLowerCase()) {
        if (!c && (t.nodeName !== "INPUT" || t.type !== "hidden"))
          break;
      } else if (c) {
        if (!t[mi])
          switch (a) {
            case "meta":
              if (!t.hasAttribute("itemprop")) break;
              return t;
            case "link":
              if (v = t.getAttribute("rel"), v === "stylesheet" && t.hasAttribute("data-precedence"))
                break;
              if (v !== d.rel || t.getAttribute("href") !== (d.href == null || d.href === "" ? null : d.href) || t.getAttribute("crossorigin") !== (d.crossOrigin == null ? null : d.crossOrigin) || t.getAttribute("title") !== (d.title == null ? null : d.title))
                break;
              return t;
            case "style":
              if (t.hasAttribute("data-precedence")) break;
              return t;
            case "script":
              if (v = t.getAttribute("src"), (v !== (d.src == null ? null : d.src) || t.getAttribute("type") !== (d.type == null ? null : d.type) || t.getAttribute("crossorigin") !== (d.crossOrigin == null ? null : d.crossOrigin)) && v && t.hasAttribute("async") && !t.hasAttribute("itemprop"))
                break;
              return t;
            default:
              return t;
          }
      } else if (a === "input" && t.type === "hidden") {
        var v = d.name == null ? null : "" + d.name;
        if (d.type === "hidden" && t.getAttribute("name") === v)
          return t;
      } else return t;
      if (t = On(t.nextSibling), t === null) break;
    }
    return null;
  }
  function eC(t, a, i) {
    if (a === "") return null;
    for (; t.nodeType !== 3; )
      if ((t.nodeType !== 1 || t.nodeName !== "INPUT" || t.type !== "hidden") && !i || (t = On(t.nextSibling), t === null)) return null;
    return t;
  }
  function Wm(t, a) {
    for (; t.nodeType !== 8; )
      if ((t.nodeType !== 1 || t.nodeName !== "INPUT" || t.type !== "hidden") && !a || (t = On(t.nextSibling), t === null)) return null;
    return t;
  }
  function hf(t) {
    return t.data === "$?" || t.data === "$~";
  }
  function mf(t) {
    return t.data === "$!" || t.data === "$?" && t.ownerDocument.readyState !== "loading";
  }
  function tC(t, a) {
    var i = t.ownerDocument;
    if (t.data === "$~") t._reactRetry = a;
    else if (t.data !== "$?" || i.readyState !== "loading")
      a();
    else {
      var c = function() {
        a(), i.removeEventListener("DOMContentLoaded", c);
      };
      i.addEventListener("DOMContentLoaded", c), t._reactRetry = c;
    }
  }
  function On(t) {
    for (; t != null; t = t.nextSibling) {
      var a = t.nodeType;
      if (a === 1 || a === 3) break;
      if (a === 8) {
        if (a = t.data, a === "$" || a === "$!" || a === "$?" || a === "$~" || a === "&" || a === "F!" || a === "F")
          break;
        if (a === "/$" || a === "/&") return null;
      }
    }
    return t;
  }
  var wf = null;
  function ew(t) {
    t = t.nextSibling;
    for (var a = 0; t; ) {
      if (t.nodeType === 8) {
        var i = t.data;
        if (i === "/$" || i === "/&") {
          if (a === 0)
            return On(t.nextSibling);
          a--;
        } else
          i !== "$" && i !== "$!" && i !== "$?" && i !== "$~" && i !== "&" || a++;
      }
      t = t.nextSibling;
    }
    return null;
  }
  function tw(t) {
    t = t.previousSibling;
    for (var a = 0; t; ) {
      if (t.nodeType === 8) {
        var i = t.data;
        if (i === "$" || i === "$!" || i === "$?" || i === "$~" || i === "&") {
          if (a === 0) return t;
          a--;
        } else i !== "/$" && i !== "/&" || a++;
      }
      t = t.previousSibling;
    }
    return null;
  }
  function nw(t, a, i) {
    switch (a = Ac(i), t) {
      case "html":
        if (t = a.documentElement, !t) throw Error(o(452));
        return t;
      case "head":
        if (t = a.head, !t) throw Error(o(453));
        return t;
      case "body":
        if (t = a.body, !t) throw Error(o(454));
        return t;
      default:
        throw Error(o(451));
    }
  }
  function Wi(t) {
    for (var a = t.attributes; a.length; )
      t.removeAttributeNode(a[0]);
    bu(t);
  }
  var Dn = /* @__PURE__ */ new Map(), aw = /* @__PURE__ */ new Set();
  function Nc(t) {
    return typeof t.getRootNode == "function" ? t.getRootNode() : t.nodeType === 9 ? t : t.ownerDocument;
  }
  var Ra = B.d;
  B.d = {
    f: nC,
    r: aC,
    D: rC,
    C: oC,
    L: iC,
    m: lC,
    X: sC,
    S: cC,
    M: uC
  };
  function nC() {
    var t = Ra.f(), a = Sc();
    return t || a;
  }
  function aC(t) {
    var a = ro(t);
    a !== null && a.tag === 5 && a.type === "form" ? xh(a) : Ra.r(t);
  }
  var Po = typeof document > "u" ? null : document;
  function rw(t, a, i) {
    var c = Po;
    if (c && typeof a == "string" && a) {
      var d = _n(a);
      d = 'link[rel="' + t + '"][href="' + d + '"]', typeof i == "string" && (d += '[crossorigin="' + i + '"]'), aw.has(d) || (aw.add(d), t = { rel: t, crossOrigin: i, href: a }, c.querySelector(d) === null && (a = c.createElement("link"), Mt(a, "link", t), Et(a), c.head.appendChild(a)));
    }
  }
  function rC(t) {
    Ra.D(t), rw("dns-prefetch", t, null);
  }
  function oC(t, a) {
    Ra.C(t, a), rw("preconnect", t, a);
  }
  function iC(t, a, i) {
    Ra.L(t, a, i);
    var c = Po;
    if (c && t && a) {
      var d = 'link[rel="preload"][as="' + _n(a) + '"]';
      a === "image" && i && i.imageSrcSet ? (d += '[imagesrcset="' + _n(
        i.imageSrcSet
      ) + '"]', typeof i.imageSizes == "string" && (d += '[imagesizes="' + _n(
        i.imageSizes
      ) + '"]')) : d += '[href="' + _n(t) + '"]';
      var v = d;
      switch (a) {
        case "style":
          v = Lo(t);
          break;
        case "script":
          v = Ho(t);
      }
      Dn.has(v) || (t = h(
        {
          rel: "preload",
          href: a === "image" && i && i.imageSrcSet ? void 0 : t,
          as: a
        },
        i
      ), Dn.set(v, t), c.querySelector(d) !== null || a === "style" && c.querySelector(el(v)) || a === "script" && c.querySelector(tl(v)) || (a = c.createElement("link"), Mt(a, "link", t), Et(a), c.head.appendChild(a)));
    }
  }
  function lC(t, a) {
    Ra.m(t, a);
    var i = Po;
    if (i && t) {
      var c = a && typeof a.as == "string" ? a.as : "script", d = 'link[rel="modulepreload"][as="' + _n(c) + '"][href="' + _n(t) + '"]', v = d;
      switch (c) {
        case "audioworklet":
        case "paintworklet":
        case "serviceworker":
        case "sharedworker":
        case "worker":
        case "script":
          v = Ho(t);
      }
      if (!Dn.has(v) && (t = h({ rel: "modulepreload", href: t }, a), Dn.set(v, t), i.querySelector(d) === null)) {
        switch (c) {
          case "audioworklet":
          case "paintworklet":
          case "serviceworker":
          case "sharedworker":
          case "worker":
          case "script":
            if (i.querySelector(tl(v)))
              return;
        }
        c = i.createElement("link"), Mt(c, "link", t), Et(c), i.head.appendChild(c);
      }
    }
  }
  function cC(t, a, i) {
    Ra.S(t, a, i);
    var c = Po;
    if (c && t) {
      var d = oo(c).hoistableStyles, v = Lo(t);
      a = a || "default";
      var x = d.get(v);
      if (!x) {
        var _ = { loading: 0, preload: null };
        if (x = c.querySelector(
          el(v)
        ))
          _.loading = 5;
        else {
          t = h(
            { rel: "stylesheet", href: t, "data-precedence": a },
            i
          ), (i = Dn.get(v)) && bf(t, i);
          var A = x = c.createElement("link");
          Et(A), Mt(A, "link", t), A._p = new Promise(function(L, Z) {
            A.onload = L, A.onerror = Z;
          }), A.addEventListener("load", function() {
            _.loading |= 1;
          }), A.addEventListener("error", function() {
            _.loading |= 2;
          }), _.loading |= 4, Oc(x, a, c);
        }
        x = {
          type: "stylesheet",
          instance: x,
          count: 1,
          state: _
        }, d.set(v, x);
      }
    }
  }
  function sC(t, a) {
    Ra.X(t, a);
    var i = Po;
    if (i && t) {
      var c = oo(i).hoistableScripts, d = Ho(t), v = c.get(d);
      v || (v = i.querySelector(tl(d)), v || (t = h({ src: t, async: !0 }, a), (a = Dn.get(d)) && xf(t, a), v = i.createElement("script"), Et(v), Mt(v, "link", t), i.head.appendChild(v)), v = {
        type: "script",
        instance: v,
        count: 1,
        state: null
      }, c.set(d, v));
    }
  }
  function uC(t, a) {
    Ra.M(t, a);
    var i = Po;
    if (i && t) {
      var c = oo(i).hoistableScripts, d = Ho(t), v = c.get(d);
      v || (v = i.querySelector(tl(d)), v || (t = h({ src: t, async: !0, type: "module" }, a), (a = Dn.get(d)) && xf(t, a), v = i.createElement("script"), Et(v), Mt(v, "link", t), i.head.appendChild(v)), v = {
        type: "script",
        instance: v,
        count: 1,
        state: null
      }, c.set(d, v));
    }
  }
  function ow(t, a, i, c) {
    var d = (d = Fe.current) ? Nc(d) : null;
    if (!d) throw Error(o(446));
    switch (t) {
      case "meta":
      case "title":
        return null;
      case "style":
        return typeof i.precedence == "string" && typeof i.href == "string" ? (a = Lo(i.href), i = oo(
          d
        ).hoistableStyles, c = i.get(a), c || (c = {
          type: "style",
          instance: null,
          count: 0,
          state: null
        }, i.set(a, c)), c) : { type: "void", instance: null, count: 0, state: null };
      case "link":
        if (i.rel === "stylesheet" && typeof i.href == "string" && typeof i.precedence == "string") {
          t = Lo(i.href);
          var v = oo(
            d
          ).hoistableStyles, x = v.get(t);
          if (x || (d = d.ownerDocument || d, x = {
            type: "stylesheet",
            instance: null,
            count: 0,
            state: { loading: 0, preload: null }
          }, v.set(t, x), (v = d.querySelector(
            el(t)
          )) && !v._p && (x.instance = v, x.state.loading = 5), Dn.has(t) || (i = {
            rel: "preload",
            as: "style",
            href: i.href,
            crossOrigin: i.crossOrigin,
            integrity: i.integrity,
            media: i.media,
            hrefLang: i.hrefLang,
            referrerPolicy: i.referrerPolicy
          }, Dn.set(t, i), v || dC(
            d,
            t,
            i,
            x.state
          ))), a && c === null)
            throw Error(o(528, ""));
          return x;
        }
        if (a && c !== null)
          throw Error(o(529, ""));
        return null;
      case "script":
        return a = i.async, i = i.src, typeof i == "string" && a && typeof a != "function" && typeof a != "symbol" ? (a = Ho(i), i = oo(
          d
        ).hoistableScripts, c = i.get(a), c || (c = {
          type: "script",
          instance: null,
          count: 0,
          state: null
        }, i.set(a, c)), c) : { type: "void", instance: null, count: 0, state: null };
      default:
        throw Error(o(444, t));
    }
  }
  function Lo(t) {
    return 'href="' + _n(t) + '"';
  }
  function el(t) {
    return 'link[rel="stylesheet"][' + t + "]";
  }
  function iw(t) {
    return h({}, t, {
      "data-precedence": t.precedence,
      precedence: null
    });
  }
  function dC(t, a, i, c) {
    t.querySelector('link[rel="preload"][as="style"][' + a + "]") ? c.loading = 1 : (a = t.createElement("link"), c.preload = a, a.addEventListener("load", function() {
      return c.loading |= 1;
    }), a.addEventListener("error", function() {
      return c.loading |= 2;
    }), Mt(a, "link", i), Et(a), t.head.appendChild(a));
  }
  function Ho(t) {
    return '[src="' + _n(t) + '"]';
  }
  function tl(t) {
    return "script[async]" + t;
  }
  function lw(t, a, i) {
    if (a.count++, a.instance === null)
      switch (a.type) {
        case "style":
          var c = t.querySelector(
            'style[data-href~="' + _n(i.href) + '"]'
          );
          if (c)
            return a.instance = c, Et(c), c;
          var d = h({}, i, {
            "data-href": i.href,
            "data-precedence": i.precedence,
            href: null,
            precedence: null
          });
          return c = (t.ownerDocument || t).createElement(
            "style"
          ), Et(c), Mt(c, "style", d), Oc(c, i.precedence, t), a.instance = c;
        case "stylesheet":
          d = Lo(i.href);
          var v = t.querySelector(
            el(d)
          );
          if (v)
            return a.state.loading |= 4, a.instance = v, Et(v), v;
          c = iw(i), (d = Dn.get(d)) && bf(c, d), v = (t.ownerDocument || t).createElement("link"), Et(v);
          var x = v;
          return x._p = new Promise(function(_, A) {
            x.onload = _, x.onerror = A;
          }), Mt(v, "link", c), a.state.loading |= 4, Oc(v, i.precedence, t), a.instance = v;
        case "script":
          return v = Ho(i.src), (d = t.querySelector(
            tl(v)
          )) ? (a.instance = d, Et(d), d) : (c = i, (d = Dn.get(v)) && (c = h({}, i), xf(c, d)), t = t.ownerDocument || t, d = t.createElement("script"), Et(d), Mt(d, "link", c), t.head.appendChild(d), a.instance = d);
        case "void":
          return null;
        default:
          throw Error(o(443, a.type));
      }
    else
      a.type === "stylesheet" && (a.state.loading & 4) === 0 && (c = a.instance, a.state.loading |= 4, Oc(c, i.precedence, t));
    return a.instance;
  }
  function Oc(t, a, i) {
    for (var c = i.querySelectorAll(
      'link[rel="stylesheet"][data-precedence],style[data-precedence]'
    ), d = c.length ? c[c.length - 1] : null, v = d, x = 0; x < c.length; x++) {
      var _ = c[x];
      if (_.dataset.precedence === a) v = _;
      else if (v !== d) break;
    }
    v ? v.parentNode.insertBefore(t, v.nextSibling) : (a = i.nodeType === 9 ? i.head : i, a.insertBefore(t, a.firstChild));
  }
  function bf(t, a) {
    t.crossOrigin == null && (t.crossOrigin = a.crossOrigin), t.referrerPolicy == null && (t.referrerPolicy = a.referrerPolicy), t.title == null && (t.title = a.title);
  }
  function xf(t, a) {
    t.crossOrigin == null && (t.crossOrigin = a.crossOrigin), t.referrerPolicy == null && (t.referrerPolicy = a.referrerPolicy), t.integrity == null && (t.integrity = a.integrity);
  }
  var Dc = null;
  function cw(t, a, i) {
    if (Dc === null) {
      var c = /* @__PURE__ */ new Map(), d = Dc = /* @__PURE__ */ new Map();
      d.set(i, c);
    } else
      d = Dc, c = d.get(i), c || (c = /* @__PURE__ */ new Map(), d.set(i, c));
    if (c.has(t)) return c;
    for (c.set(t, null), i = i.getElementsByTagName(t), d = 0; d < i.length; d++) {
      var v = i[d];
      if (!(v[mi] || v[At] || t === "link" && v.getAttribute("rel") === "stylesheet") && v.namespaceURI !== "http://www.w3.org/2000/svg") {
        var x = v.getAttribute(a) || "";
        x = t + x;
        var _ = c.get(x);
        _ ? _.push(v) : c.set(x, [v]);
      }
    }
    return c;
  }
  function sw(t, a, i) {
    t = t.ownerDocument || t, t.head.insertBefore(
      i,
      a === "title" ? t.querySelector("head > title") : null
    );
  }
  function fC(t, a, i) {
    if (i === 1 || a.itemProp != null) return !1;
    switch (t) {
      case "meta":
      case "title":
        return !0;
      case "style":
        if (typeof a.precedence != "string" || typeof a.href != "string" || a.href === "")
          break;
        return !0;
      case "link":
        if (typeof a.rel != "string" || typeof a.href != "string" || a.href === "" || a.onLoad || a.onError)
          break;
        switch (a.rel) {
          case "stylesheet":
            return t = a.disabled, typeof a.precedence == "string" && t == null;
          default:
            return !0;
        }
      case "script":
        if (a.async && typeof a.async != "function" && typeof a.async != "symbol" && !a.onLoad && !a.onError && a.src && typeof a.src == "string")
          return !0;
    }
    return !1;
  }
  function uw(t) {
    return !(t.type === "stylesheet" && (t.state.loading & 3) === 0);
  }
  function gC(t, a, i, c) {
    if (i.type === "stylesheet" && (typeof c.media != "string" || matchMedia(c.media).matches !== !1) && (i.state.loading & 4) === 0) {
      if (i.instance === null) {
        var d = Lo(c.href), v = a.querySelector(
          el(d)
        );
        if (v) {
          a = v._p, a !== null && typeof a == "object" && typeof a.then == "function" && (t.count++, t = Mc.bind(t), a.then(t, t)), i.state.loading |= 4, i.instance = v, Et(v);
          return;
        }
        v = a.ownerDocument || a, c = iw(c), (d = Dn.get(d)) && bf(c, d), v = v.createElement("link"), Et(v);
        var x = v;
        x._p = new Promise(function(_, A) {
          x.onload = _, x.onerror = A;
        }), Mt(v, "link", c), i.instance = v;
      }
      t.stylesheets === null && (t.stylesheets = /* @__PURE__ */ new Map()), t.stylesheets.set(i, a), (a = i.state.preload) && (i.state.loading & 3) === 0 && (t.count++, i = Mc.bind(t), a.addEventListener("load", i), a.addEventListener("error", i));
    }
  }
  var yf = 0;
  function pC(t, a) {
    return t.stylesheets && t.count === 0 && $c(t, t.stylesheets), 0 < t.count || 0 < t.imgCount ? function(i) {
      var c = setTimeout(function() {
        if (t.stylesheets && $c(t, t.stylesheets), t.unsuspend) {
          var v = t.unsuspend;
          t.unsuspend = null, v();
        }
      }, 6e4 + a);
      0 < t.imgBytes && yf === 0 && (yf = 62500 * Y2());
      var d = setTimeout(
        function() {
          if (t.waitingForImages = !1, t.count === 0 && (t.stylesheets && $c(t, t.stylesheets), t.unsuspend)) {
            var v = t.unsuspend;
            t.unsuspend = null, v();
          }
        },
        (t.imgBytes > yf ? 50 : 800) + a
      );
      return t.unsuspend = i, function() {
        t.unsuspend = null, clearTimeout(c), clearTimeout(d);
      };
    } : null;
  }
  function Mc() {
    if (this.count--, this.count === 0 && (this.imgCount === 0 || !this.waitingForImages)) {
      if (this.stylesheets) $c(this, this.stylesheets);
      else if (this.unsuspend) {
        var t = this.unsuspend;
        this.unsuspend = null, t();
      }
    }
  }
  var jc = null;
  function $c(t, a) {
    t.stylesheets = null, t.unsuspend !== null && (t.count++, jc = /* @__PURE__ */ new Map(), a.forEach(vC, t), jc = null, Mc.call(t));
  }
  function vC(t, a) {
    if (!(a.state.loading & 4)) {
      var i = jc.get(t);
      if (i) var c = i.get(null);
      else {
        i = /* @__PURE__ */ new Map(), jc.set(t, i);
        for (var d = t.querySelectorAll(
          "link[data-precedence],style[data-precedence]"
        ), v = 0; v < d.length; v++) {
          var x = d[v];
          (x.nodeName === "LINK" || x.getAttribute("media") !== "not all") && (i.set(x.dataset.precedence, x), c = x);
        }
        c && i.set(null, c);
      }
      d = a.instance, x = d.getAttribute("data-precedence"), v = i.get(x) || c, v === c && i.set(null, d), i.set(x, d), this.count++, c = Mc.bind(this), d.addEventListener("load", c), d.addEventListener("error", c), v ? v.parentNode.insertBefore(d, v.nextSibling) : (t = t.nodeType === 9 ? t.head : t, t.insertBefore(d, t.firstChild)), a.state.loading |= 4;
    }
  }
  var nl = {
    $$typeof: T,
    Provider: null,
    Consumer: null,
    _currentValue: j,
    _currentValue2: j,
    _threadCount: 0
  };
  function hC(t, a, i, c, d, v, x, _, A) {
    this.tag = 1, this.containerInfo = t, this.pingCache = this.current = this.pendingChildren = null, this.timeoutHandle = -1, this.callbackNode = this.next = this.pendingContext = this.context = this.cancelPendingCommit = null, this.callbackPriority = 0, this.expirationTimes = Ma(-1), this.entangledLanes = this.shellSuspendCounter = this.errorRecoveryDisabledLanes = this.expiredLanes = this.warmLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0, this.entanglements = Ma(0), this.hiddenUpdates = Ma(null), this.identifierPrefix = c, this.onUncaughtError = d, this.onCaughtError = v, this.onRecoverableError = x, this.pooledCache = null, this.pooledCacheLanes = 0, this.formState = A, this.incompleteTransitions = /* @__PURE__ */ new Map();
  }
  function dw(t, a, i, c, d, v, x, _, A, L, Z, X) {
    return t = new hC(
      t,
      a,
      i,
      x,
      A,
      L,
      Z,
      X,
      _
    ), a = 1, v === !0 && (a |= 24), v = fn(3, null, null, a), t.current = v, v.stateNode = t, a = Wu(), a.refCount++, t.pooledCache = a, a.refCount++, v.memoizedState = {
      element: c,
      isDehydrated: i,
      cache: a
    }, ad(v), t;
  }
  function fw(t) {
    return t ? (t = ho, t) : ho;
  }
  function gw(t, a, i, c, d, v) {
    d = fw(d), c.context === null ? c.context = d : c.pendingContext = d, c = Ia(a), c.payload = { element: i }, v = v === void 0 ? null : v, v !== null && (c.callback = v), i = Ua(t, c, a), i !== null && (rn(i, t, a), Mi(i, t, a));
  }
  function pw(t, a) {
    if (t = t.memoizedState, t !== null && t.dehydrated !== null) {
      var i = t.retryLane;
      t.retryLane = i !== 0 && i < a ? i : a;
    }
  }
  function Sf(t, a) {
    pw(t, a), (t = t.alternate) && pw(t, a);
  }
  function vw(t) {
    if (t.tag === 13 || t.tag === 31) {
      var a = Or(t, 67108864);
      a !== null && rn(a, t, 67108864), Sf(t, 67108864);
    }
  }
  function hw(t) {
    if (t.tag === 13 || t.tag === 31) {
      var a = mn();
      a = to(a);
      var i = Or(t, a);
      i !== null && rn(i, t, a), Sf(t, a);
    }
  }
  var Pc = !0;
  function mC(t, a, i, c) {
    var d = O.T;
    O.T = null;
    var v = B.p;
    try {
      B.p = 2, kf(t, a, i, c);
    } finally {
      B.p = v, O.T = d;
    }
  }
  function wC(t, a, i, c) {
    var d = O.T;
    O.T = null;
    var v = B.p;
    try {
      B.p = 8, kf(t, a, i, c);
    } finally {
      B.p = v, O.T = d;
    }
  }
  function kf(t, a, i, c) {
    if (Pc) {
      var d = Cf(c);
      if (d === null)
        sf(
          t,
          a,
          c,
          Lc,
          i
        ), ww(t, c);
      else if (xC(
        d,
        t,
        a,
        i,
        c
      ))
        c.stopPropagation();
      else if (ww(t, c), a & 4 && -1 < bC.indexOf(t)) {
        for (; d !== null; ) {
          var v = ro(d);
          if (v !== null)
            switch (v.tag) {
              case 3:
                if (v = v.stateNode, v.current.memoizedState.isDehydrated) {
                  var x = Kn(v.pendingLanes);
                  if (x !== 0) {
                    var _ = v;
                    for (_.pendingLanes |= 2, _.entangledLanes |= 2; x; ) {
                      var A = 1 << 31 - $t(x);
                      _.entanglements[1] |= A, x &= ~A;
                    }
                    ea(v), (qe & 6) === 0 && (xc = Ut() + 500, Ki(0));
                  }
                }
                break;
              case 31:
              case 13:
                _ = Or(v, 2), _ !== null && rn(_, v, 2), Sc(), Sf(v, 2);
            }
          if (v = Cf(c), v === null && sf(
            t,
            a,
            c,
            Lc,
            i
          ), v === d) break;
          d = v;
        }
        d !== null && c.stopPropagation();
      } else
        sf(
          t,
          a,
          c,
          null,
          i
        );
    }
  }
  function Cf(t) {
    return t = _u(t), _f(t);
  }
  var Lc = null;
  function _f(t) {
    if (Lc = null, t = ao(t), t !== null) {
      var a = s(t);
      if (a === null) t = null;
      else {
        var i = a.tag;
        if (i === 13) {
          if (t = u(a), t !== null) return t;
          t = null;
        } else if (i === 31) {
          if (t = f(a), t !== null) return t;
          t = null;
        } else if (i === 3) {
          if (a.stateNode.current.memoizedState.isDehydrated)
            return a.tag === 3 ? a.stateNode.containerInfo : null;
          t = null;
        } else a !== t && (t = null);
      }
    }
    return Lc = t, null;
  }
  function mw(t) {
    switch (t) {
      case "beforetoggle":
      case "cancel":
      case "click":
      case "close":
      case "contextmenu":
      case "copy":
      case "cut":
      case "auxclick":
      case "dblclick":
      case "dragend":
      case "dragstart":
      case "drop":
      case "focusin":
      case "focusout":
      case "input":
      case "invalid":
      case "keydown":
      case "keypress":
      case "keyup":
      case "mousedown":
      case "mouseup":
      case "paste":
      case "pause":
      case "play":
      case "pointercancel":
      case "pointerdown":
      case "pointerup":
      case "ratechange":
      case "reset":
      case "resize":
      case "seeked":
      case "submit":
      case "toggle":
      case "touchcancel":
      case "touchend":
      case "touchstart":
      case "volumechange":
      case "change":
      case "selectionchange":
      case "textInput":
      case "compositionstart":
      case "compositionend":
      case "compositionupdate":
      case "beforeblur":
      case "afterblur":
      case "beforeinput":
      case "blur":
      case "fullscreenchange":
      case "focus":
      case "hashchange":
      case "popstate":
      case "select":
      case "selectstart":
        return 2;
      case "drag":
      case "dragenter":
      case "dragexit":
      case "dragleave":
      case "dragover":
      case "mousemove":
      case "mouseout":
      case "mouseover":
      case "pointermove":
      case "pointerout":
      case "pointerover":
      case "scroll":
      case "touchmove":
      case "wheel":
      case "mouseenter":
      case "mouseleave":
      case "pointerenter":
      case "pointerleave":
        return 8;
      case "message":
        switch (vu()) {
          case kr:
            return 2;
          case Al:
            return 8;
          case Cr:
          case vi:
            return 32;
          case ca:
            return 268435456;
          default:
            return 32;
        }
      default:
        return 32;
    }
  }
  var Rf = !1, er = null, tr = null, nr = null, al = /* @__PURE__ */ new Map(), rl = /* @__PURE__ */ new Map(), ar = [], bC = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(
    " "
  );
  function ww(t, a) {
    switch (t) {
      case "focusin":
      case "focusout":
        er = null;
        break;
      case "dragenter":
      case "dragleave":
        tr = null;
        break;
      case "mouseover":
      case "mouseout":
        nr = null;
        break;
      case "pointerover":
      case "pointerout":
        al.delete(a.pointerId);
        break;
      case "gotpointercapture":
      case "lostpointercapture":
        rl.delete(a.pointerId);
    }
  }
  function ol(t, a, i, c, d, v) {
    return t === null || t.nativeEvent !== v ? (t = {
      blockedOn: a,
      domEventName: i,
      eventSystemFlags: c,
      nativeEvent: v,
      targetContainers: [d]
    }, a !== null && (a = ro(a), a !== null && vw(a)), t) : (t.eventSystemFlags |= c, a = t.targetContainers, d !== null && a.indexOf(d) === -1 && a.push(d), t);
  }
  function xC(t, a, i, c, d) {
    switch (a) {
      case "focusin":
        return er = ol(
          er,
          t,
          a,
          i,
          c,
          d
        ), !0;
      case "dragenter":
        return tr = ol(
          tr,
          t,
          a,
          i,
          c,
          d
        ), !0;
      case "mouseover":
        return nr = ol(
          nr,
          t,
          a,
          i,
          c,
          d
        ), !0;
      case "pointerover":
        var v = d.pointerId;
        return al.set(
          v,
          ol(
            al.get(v) || null,
            t,
            a,
            i,
            c,
            d
          )
        ), !0;
      case "gotpointercapture":
        return v = d.pointerId, rl.set(
          v,
          ol(
            rl.get(v) || null,
            t,
            a,
            i,
            c,
            d
          )
        ), !0;
    }
    return !1;
  }
  function bw(t) {
    var a = ao(t.target);
    if (a !== null) {
      var i = s(a);
      if (i !== null) {
        if (a = i.tag, a === 13) {
          if (a = u(i), a !== null) {
            t.blockedOn = a, Dp(t.priority, function() {
              hw(i);
            });
            return;
          }
        } else if (a === 31) {
          if (a = f(i), a !== null) {
            t.blockedOn = a, Dp(t.priority, function() {
              hw(i);
            });
            return;
          }
        } else if (a === 3 && i.stateNode.current.memoizedState.isDehydrated) {
          t.blockedOn = i.tag === 3 ? i.stateNode.containerInfo : null;
          return;
        }
      }
    }
    t.blockedOn = null;
  }
  function Hc(t) {
    if (t.blockedOn !== null) return !1;
    for (var a = t.targetContainers; 0 < a.length; ) {
      var i = Cf(t.nativeEvent);
      if (i === null) {
        i = t.nativeEvent;
        var c = new i.constructor(
          i.type,
          i
        );
        Cu = c, i.target.dispatchEvent(c), Cu = null;
      } else
        return a = ro(i), a !== null && vw(a), t.blockedOn = i, !1;
      a.shift();
    }
    return !0;
  }
  function xw(t, a, i) {
    Hc(t) && i.delete(a);
  }
  function yC() {
    Rf = !1, er !== null && Hc(er) && (er = null), tr !== null && Hc(tr) && (tr = null), nr !== null && Hc(nr) && (nr = null), al.forEach(xw), rl.forEach(xw);
  }
  function Vc(t, a) {
    t.blockedOn === a && (t.blockedOn = null, Rf || (Rf = !0, e.unstable_scheduleCallback(
      e.unstable_NormalPriority,
      yC
    )));
  }
  var Bc = null;
  function yw(t) {
    Bc !== t && (Bc = t, e.unstable_scheduleCallback(
      e.unstable_NormalPriority,
      function() {
        Bc === t && (Bc = null);
        for (var a = 0; a < t.length; a += 3) {
          var i = t[a], c = t[a + 1], d = t[a + 2];
          if (typeof c != "function") {
            if (_f(c || i) === null)
              continue;
            break;
          }
          var v = ro(i);
          v !== null && (t.splice(a, 3), a -= 3, kd(
            v,
            {
              pending: !0,
              data: d,
              method: i.method,
              action: c
            },
            c,
            d
          ));
        }
      }
    ));
  }
  function Vo(t) {
    function a(A) {
      return Vc(A, t);
    }
    er !== null && Vc(er, t), tr !== null && Vc(tr, t), nr !== null && Vc(nr, t), al.forEach(a), rl.forEach(a);
    for (var i = 0; i < ar.length; i++) {
      var c = ar[i];
      c.blockedOn === t && (c.blockedOn = null);
    }
    for (; 0 < ar.length && (i = ar[0], i.blockedOn === null); )
      bw(i), i.blockedOn === null && ar.shift();
    if (i = (t.ownerDocument || t).$$reactFormReplay, i != null)
      for (c = 0; c < i.length; c += 3) {
        var d = i[c], v = i[c + 1], x = d[Jt] || null;
        if (typeof v == "function")
          x || yw(i);
        else if (x) {
          var _ = null;
          if (v && v.hasAttribute("formAction")) {
            if (d = v, x = v[Jt] || null)
              _ = x.formAction;
            else if (_f(d) !== null) continue;
          } else _ = x.action;
          typeof _ == "function" ? i[c + 1] = _ : (i.splice(c, 3), c -= 3), yw(i);
        }
      }
  }
  function Sw() {
    function t(v) {
      v.canIntercept && v.info === "react-transition" && v.intercept({
        handler: function() {
          return new Promise(function(x) {
            return d = x;
          });
        },
        focusReset: "manual",
        scroll: "manual"
      });
    }
    function a() {
      d !== null && (d(), d = null), c || setTimeout(i, 20);
    }
    function i() {
      if (!c && !navigation.transition) {
        var v = navigation.currentEntry;
        v && v.url != null && navigation.navigate(v.url, {
          state: v.getState(),
          info: "react-transition",
          history: "replace"
        });
      }
    }
    if (typeof navigation == "object") {
      var c = !1, d = null;
      return navigation.addEventListener("navigate", t), navigation.addEventListener("navigatesuccess", a), navigation.addEventListener("navigateerror", a), setTimeout(i, 100), function() {
        c = !0, navigation.removeEventListener("navigate", t), navigation.removeEventListener("navigatesuccess", a), navigation.removeEventListener("navigateerror", a), d !== null && (d(), d = null);
      };
    }
  }
  function Ef(t) {
    this._internalRoot = t;
  }
  Ic.prototype.render = Ef.prototype.render = function(t) {
    var a = this._internalRoot;
    if (a === null) throw Error(o(409));
    var i = a.current, c = mn();
    gw(i, c, t, a, null, null);
  }, Ic.prototype.unmount = Ef.prototype.unmount = function() {
    var t = this._internalRoot;
    if (t !== null) {
      this._internalRoot = null;
      var a = t.containerInfo;
      gw(t.current, 2, null, t, null, null), Sc(), a[no] = null;
    }
  };
  function Ic(t) {
    this._internalRoot = t;
  }
  Ic.prototype.unstable_scheduleHydration = function(t) {
    if (t) {
      var a = mu();
      t = { blockedOn: null, target: t, priority: a };
      for (var i = 0; i < ar.length && a !== 0 && a < ar[i].priority; i++) ;
      ar.splice(i, 0, t), i === 0 && bw(t);
    }
  };
  var kw = n.version;
  if (kw !== "19.2.4")
    throw Error(
      o(
        527,
        kw,
        "19.2.4"
      )
    );
  B.findDOMNode = function(t) {
    var a = t._reactInternals;
    if (a === void 0)
      throw typeof t.render == "function" ? Error(o(188)) : (t = Object.keys(t).join(","), Error(o(268, t)));
    return t = p(a), t = t !== null ? m(t) : null, t = t === null ? null : t.stateNode, t;
  };
  var SC = {
    bundleType: 0,
    version: "19.2.4",
    rendererPackageName: "react-dom",
    currentDispatcherRef: O,
    reconcilerVersion: "19.2.4"
  };
  if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u") {
    var Uc = __REACT_DEVTOOLS_GLOBAL_HOOK__;
    if (!Uc.isDisabled && Uc.supportsFiber)
      try {
        _r = Uc.inject(
          SC
        ), Ft = Uc;
      } catch {
      }
  }
  return ll.createRoot = function(t, a) {
    if (!l(t)) throw Error(o(299));
    var i = !1, c = "", d = Ah, v = Nh, x = Oh;
    return a != null && (a.unstable_strictMode === !0 && (i = !0), a.identifierPrefix !== void 0 && (c = a.identifierPrefix), a.onUncaughtError !== void 0 && (d = a.onUncaughtError), a.onCaughtError !== void 0 && (v = a.onCaughtError), a.onRecoverableError !== void 0 && (x = a.onRecoverableError)), a = dw(
      t,
      1,
      !1,
      null,
      null,
      i,
      c,
      null,
      d,
      v,
      x,
      Sw
    ), t[no] = a.current, cf(t), new Ef(a);
  }, ll.hydrateRoot = function(t, a, i) {
    if (!l(t)) throw Error(o(299));
    var c = !1, d = "", v = Ah, x = Nh, _ = Oh, A = null;
    return i != null && (i.unstable_strictMode === !0 && (c = !0), i.identifierPrefix !== void 0 && (d = i.identifierPrefix), i.onUncaughtError !== void 0 && (v = i.onUncaughtError), i.onCaughtError !== void 0 && (x = i.onCaughtError), i.onRecoverableError !== void 0 && (_ = i.onRecoverableError), i.formState !== void 0 && (A = i.formState)), a = dw(
      t,
      1,
      !0,
      a,
      i ?? null,
      c,
      d,
      A,
      v,
      x,
      _,
      Sw
    ), a.context = fw(null), i = a.current, c = mn(), c = to(c), d = Ia(c), d.callback = null, Ua(i, d, c), i = c, a.current.lanes = i, ct(a, i), ea(a), t[no] = a.current, cf(t), new Ic(a);
  }, ll.version = "19.2.4", ll;
}
var Nw;
function VC() {
  if (Nw) return Tf.exports;
  Nw = 1;
  function e() {
    if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function"))
      try {
        __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e);
      } catch (n) {
        console.error(n);
      }
  }
  return e(), Tf.exports = HC(), Tf.exports;
}
var BC = VC(), bl = qb();
const Yb = /* @__PURE__ */ RC(bl);
function IC(e) {
  if (typeof document > "u") return;
  let n = document.head || document.getElementsByTagName("head")[0], r = document.createElement("style");
  r.type = "text/css", n.appendChild(r), r.styleSheet ? r.styleSheet.cssText = e : r.appendChild(document.createTextNode(e));
}
const UC = (e) => {
  switch (e) {
    case "success":
      return GC;
    case "info":
      return YC;
    case "warning":
      return qC;
    case "error":
      return XC;
    default:
      return null;
  }
}, FC = Array(12).fill(0), ZC = ({ visible: e, className: n }) => /* @__PURE__ */ K.createElement("div", {
  className: [
    "sonner-loading-wrapper",
    n
  ].filter(Boolean).join(" "),
  "data-visible": e
}, /* @__PURE__ */ K.createElement("div", {
  className: "sonner-spinner"
}, FC.map((r, o) => /* @__PURE__ */ K.createElement("div", {
  className: "sonner-loading-bar",
  key: `spinner-bar-${o}`
})))), GC = /* @__PURE__ */ K.createElement("svg", {
  xmlns: "http://www.w3.org/2000/svg",
  viewBox: "0 0 20 20",
  fill: "currentColor",
  height: "20",
  width: "20"
}, /* @__PURE__ */ K.createElement("path", {
  fillRule: "evenodd",
  d: "M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",
  clipRule: "evenodd"
})), qC = /* @__PURE__ */ K.createElement("svg", {
  xmlns: "http://www.w3.org/2000/svg",
  viewBox: "0 0 24 24",
  fill: "currentColor",
  height: "20",
  width: "20"
}, /* @__PURE__ */ K.createElement("path", {
  fillRule: "evenodd",
  d: "M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",
  clipRule: "evenodd"
})), YC = /* @__PURE__ */ K.createElement("svg", {
  xmlns: "http://www.w3.org/2000/svg",
  viewBox: "0 0 20 20",
  fill: "currentColor",
  height: "20",
  width: "20"
}, /* @__PURE__ */ K.createElement("path", {
  fillRule: "evenodd",
  d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",
  clipRule: "evenodd"
})), XC = /* @__PURE__ */ K.createElement("svg", {
  xmlns: "http://www.w3.org/2000/svg",
  viewBox: "0 0 20 20",
  fill: "currentColor",
  height: "20",
  width: "20"
}, /* @__PURE__ */ K.createElement("path", {
  fillRule: "evenodd",
  d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",
  clipRule: "evenodd"
})), KC = /* @__PURE__ */ K.createElement("svg", {
  xmlns: "http://www.w3.org/2000/svg",
  width: "12",
  height: "12",
  viewBox: "0 0 24 24",
  fill: "none",
  stroke: "currentColor",
  strokeWidth: "1.5",
  strokeLinecap: "round",
  strokeLinejoin: "round"
}, /* @__PURE__ */ K.createElement("line", {
  x1: "18",
  y1: "6",
  x2: "6",
  y2: "18"
}), /* @__PURE__ */ K.createElement("line", {
  x1: "6",
  y1: "6",
  x2: "18",
  y2: "18"
})), QC = () => {
  const [e, n] = K.useState(document.hidden);
  return K.useEffect(() => {
    const r = () => {
      n(document.hidden);
    };
    return document.addEventListener("visibilitychange", r), () => window.removeEventListener("visibilitychange", r);
  }, []), e;
};
let ag = 1;
class JC {
  constructor() {
    this.subscribe = (n) => (this.subscribers.push(n), () => {
      const r = this.subscribers.indexOf(n);
      this.subscribers.splice(r, 1);
    }), this.publish = (n) => {
      this.subscribers.forEach((r) => r(n));
    }, this.addToast = (n) => {
      this.publish(n), this.toasts = [
        ...this.toasts,
        n
      ];
    }, this.create = (n) => {
      var r;
      const { message: o, ...l } = n, s = typeof (n == null ? void 0 : n.id) == "number" || ((r = n.id) == null ? void 0 : r.length) > 0 ? n.id : ag++, u = this.toasts.find((g) => g.id === s), f = n.dismissible === void 0 ? !0 : n.dismissible;
      return this.dismissedToasts.has(s) && this.dismissedToasts.delete(s), u ? this.toasts = this.toasts.map((g) => g.id === s ? (this.publish({
        ...g,
        ...n,
        id: s,
        title: o
      }), {
        ...g,
        ...n,
        id: s,
        dismissible: f,
        title: o
      }) : g) : this.addToast({
        title: o,
        ...l,
        dismissible: f,
        id: s
      }), s;
    }, this.dismiss = (n) => (n ? (this.dismissedToasts.add(n), requestAnimationFrame(() => this.subscribers.forEach((r) => r({
      id: n,
      dismiss: !0
    })))) : this.toasts.forEach((r) => {
      this.subscribers.forEach((o) => o({
        id: r.id,
        dismiss: !0
      }));
    }), n), this.message = (n, r) => this.create({
      ...r,
      message: n
    }), this.error = (n, r) => this.create({
      ...r,
      message: n,
      type: "error"
    }), this.success = (n, r) => this.create({
      ...r,
      type: "success",
      message: n
    }), this.info = (n, r) => this.create({
      ...r,
      type: "info",
      message: n
    }), this.warning = (n, r) => this.create({
      ...r,
      type: "warning",
      message: n
    }), this.loading = (n, r) => this.create({
      ...r,
      type: "loading",
      message: n
    }), this.promise = (n, r) => {
      if (!r)
        return;
      let o;
      r.loading !== void 0 && (o = this.create({
        ...r,
        promise: n,
        type: "loading",
        message: r.loading,
        description: typeof r.description != "function" ? r.description : void 0
      }));
      const l = Promise.resolve(n instanceof Function ? n() : n);
      let s = o !== void 0, u;
      const f = l.then(async (p) => {
        if (u = [
          "resolve",
          p
        ], K.isValidElement(p))
          s = !1, this.create({
            id: o,
            type: "default",
            message: p
          });
        else if (e_(p) && !p.ok) {
          s = !1;
          const h = typeof r.error == "function" ? await r.error(`HTTP error! status: ${p.status}`) : r.error, S = typeof r.description == "function" ? await r.description(`HTTP error! status: ${p.status}`) : r.description, C = typeof h == "object" && !K.isValidElement(h) ? h : {
            message: h
          };
          this.create({
            id: o,
            type: "error",
            description: S,
            ...C
          });
        } else if (p instanceof Error) {
          s = !1;
          const h = typeof r.error == "function" ? await r.error(p) : r.error, S = typeof r.description == "function" ? await r.description(p) : r.description, C = typeof h == "object" && !K.isValidElement(h) ? h : {
            message: h
          };
          this.create({
            id: o,
            type: "error",
            description: S,
            ...C
          });
        } else if (r.success !== void 0) {
          s = !1;
          const h = typeof r.success == "function" ? await r.success(p) : r.success, S = typeof r.description == "function" ? await r.description(p) : r.description, C = typeof h == "object" && !K.isValidElement(h) ? h : {
            message: h
          };
          this.create({
            id: o,
            type: "success",
            description: S,
            ...C
          });
        }
      }).catch(async (p) => {
        if (u = [
          "reject",
          p
        ], r.error !== void 0) {
          s = !1;
          const m = typeof r.error == "function" ? await r.error(p) : r.error, h = typeof r.description == "function" ? await r.description(p) : r.description, y = typeof m == "object" && !K.isValidElement(m) ? m : {
            message: m
          };
          this.create({
            id: o,
            type: "error",
            description: h,
            ...y
          });
        }
      }).finally(() => {
        s && (this.dismiss(o), o = void 0), r.finally == null || r.finally.call(r);
      }), g = () => new Promise((p, m) => f.then(() => u[0] === "reject" ? m(u[1]) : p(u[1])).catch(m));
      return typeof o != "string" && typeof o != "number" ? {
        unwrap: g
      } : Object.assign(o, {
        unwrap: g
      });
    }, this.custom = (n, r) => {
      const o = (r == null ? void 0 : r.id) || ag++;
      return this.create({
        jsx: n(o),
        id: o,
        ...r
      }), o;
    }, this.getActiveToasts = () => this.toasts.filter((n) => !this.dismissedToasts.has(n.id)), this.subscribers = [], this.toasts = [], this.dismissedToasts = /* @__PURE__ */ new Set();
  }
}
const on = new JC(), WC = (e, n) => {
  const r = (n == null ? void 0 : n.id) || ag++;
  return on.addToast({
    title: e,
    ...n,
    id: r
  }), r;
}, e_ = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", t_ = WC, n_ = () => on.toasts, a_ = () => on.getActiveToasts(), Gr = Object.assign(t_, {
  success: on.success,
  info: on.info,
  warning: on.warning,
  error: on.error,
  custom: on.custom,
  message: on.message,
  promise: on.promise,
  dismiss: on.dismiss,
  loading: on.loading
}, {
  getHistory: n_,
  getToasts: a_
});
IC("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");
function Zc(e) {
  return e.label !== void 0;
}
const r_ = 3, o_ = "24px", i_ = "16px", Ow = 4e3, l_ = 356, c_ = 14, s_ = 45, u_ = 200;
function ta(...e) {
  return e.filter(Boolean).join(" ");
}
function d_(e) {
  const [n, r] = e.split("-"), o = [];
  return n && o.push(n), r && o.push(r), o;
}
const f_ = (e) => {
  var n, r, o, l, s, u, f, g, p;
  const { invert: m, toast: h, unstyled: S, interacting: y, setHeights: C, visibleToasts: k, heights: R, index: E, toasts: z, expanded: T, removeToast: N, defaultRichColors: $, closeButton: U, style: q, cancelButtonStyle: F, actionButtonStyle: ee, className: Q = "", descriptionClassName: J = "", duration: te, position: re, gap: le, expandByDefault: pe, classNames: O, icons: B, closeButtonAriaLabel: j = "Close toast" } = e, [ce, we] = K.useState(null), [Pe, Me] = K.useState(null), [ne, fe] = K.useState(!1), [_e, Fe] = K.useState(!1), [oe, ve] = K.useState(!1), [Ve, Ne] = K.useState(!1), [Ee, Re] = K.useState(!1), [Ct, ut] = K.useState(0), [Pn, kn] = K.useState(0), un = K.useRef(h.duration || te || Ow), Sr = K.useRef(null), _t = K.useRef(null), gi = E === 0, pi = E + 1 <= k, It = h.type, Oa = h.dismissible !== !1, Ut = h.className || "", vu = h.descriptionClassName || "", kr = K.useMemo(() => R.findIndex((Ce) => Ce.toastId === h.id) || 0, [
    R,
    h.id
  ]), Al = K.useMemo(() => {
    var Ce;
    return (Ce = h.closeButton) != null ? Ce : U;
  }, [
    h.closeButton,
    U
  ]), Cr = K.useMemo(() => h.duration || te || Ow, [
    h.duration,
    te
  ]), vi = K.useRef(0), ca = K.useRef(0), Nl = K.useRef(0), Da = K.useRef(null), [_r, Ft] = re.split("-"), Ln = K.useMemo(() => R.reduce((Ce, at, Rt) => Rt >= kr ? Ce : Ce + at.height, 0), [
    R,
    kr
  ]), $t = QC(), hu = h.invert || m, hi = It === "loading";
  ca.current = K.useMemo(() => kr * le + Ln, [
    kr,
    Ln
  ]), K.useEffect(() => {
    un.current = Cr;
  }, [
    Cr
  ]), K.useEffect(() => {
    fe(!0);
  }, []), K.useEffect(() => {
    const Ce = _t.current;
    if (Ce) {
      const at = Ce.getBoundingClientRect().height;
      return kn(at), C((Rt) => [
        {
          toastId: h.id,
          height: at,
          position: h.position
        },
        ...Rt
      ]), () => C((Rt) => Rt.filter((Pt) => Pt.toastId !== h.id));
    }
  }, [
    C,
    h.id
  ]), K.useLayoutEffect(() => {
    if (!ne) return;
    const Ce = _t.current, at = Ce.style.height;
    Ce.style.height = "auto";
    const Rt = Ce.getBoundingClientRect().height;
    Ce.style.height = at, kn(Rt), C((Pt) => Pt.find((ct) => ct.toastId === h.id) ? Pt.map((ct) => ct.toastId === h.id ? {
      ...ct,
      height: Rt
    } : ct) : [
      {
        toastId: h.id,
        height: Rt,
        position: h.position
      },
      ...Pt
    ]);
  }, [
    ne,
    h.title,
    h.description,
    C,
    h.id,
    h.jsx,
    h.action,
    h.cancel
  ]);
  const Xn = K.useCallback(() => {
    Fe(!0), ut(ca.current), C((Ce) => Ce.filter((at) => at.toastId !== h.id)), setTimeout(() => {
      N(h);
    }, u_);
  }, [
    h,
    N,
    C,
    ca
  ]);
  K.useEffect(() => {
    if (h.promise && It === "loading" || h.duration === 1 / 0 || h.type === "loading") return;
    let Ce;
    return T || y || $t ? (() => {
      if (Nl.current < vi.current) {
        const Pt = (/* @__PURE__ */ new Date()).getTime() - vi.current;
        un.current = un.current - Pt;
      }
      Nl.current = (/* @__PURE__ */ new Date()).getTime();
    })() : (() => {
      un.current !== 1 / 0 && (vi.current = (/* @__PURE__ */ new Date()).getTime(), Ce = setTimeout(() => {
        h.onAutoClose == null || h.onAutoClose.call(h, h), Xn();
      }, un.current));
    })(), () => clearTimeout(Ce);
  }, [
    T,
    y,
    h,
    It,
    $t,
    Xn
  ]), K.useEffect(() => {
    h.delete && (Xn(), h.onDismiss == null || h.onDismiss.call(h, h));
  }, [
    Xn,
    h.delete
  ]);
  function Wr() {
    var Ce;
    if (B != null && B.loading) {
      var at;
      return /* @__PURE__ */ K.createElement("div", {
        className: ta(O == null ? void 0 : O.loader, h == null || (at = h.classNames) == null ? void 0 : at.loader, "sonner-loader"),
        "data-visible": It === "loading"
      }, B.loading);
    }
    return /* @__PURE__ */ K.createElement(ZC, {
      className: ta(O == null ? void 0 : O.loader, h == null || (Ce = h.classNames) == null ? void 0 : Ce.loader),
      visible: It === "loading"
    });
  }
  const eo = h.icon || (B == null ? void 0 : B[It]) || UC(It);
  var Rr, Kn;
  return /* @__PURE__ */ K.createElement("li", {
    tabIndex: 0,
    ref: _t,
    className: ta(Q, Ut, O == null ? void 0 : O.toast, h == null || (n = h.classNames) == null ? void 0 : n.toast, O == null ? void 0 : O.default, O == null ? void 0 : O[It], h == null || (r = h.classNames) == null ? void 0 : r[It]),
    "data-sonner-toast": "",
    "data-rich-colors": (Rr = h.richColors) != null ? Rr : $,
    "data-styled": !(h.jsx || h.unstyled || S),
    "data-mounted": ne,
    "data-promise": !!h.promise,
    "data-swiped": Ee,
    "data-removed": _e,
    "data-visible": pi,
    "data-y-position": _r,
    "data-x-position": Ft,
    "data-index": E,
    "data-front": gi,
    "data-swiping": oe,
    "data-dismissible": Oa,
    "data-type": It,
    "data-invert": hu,
    "data-swipe-out": Ve,
    "data-swipe-direction": Pe,
    "data-expanded": !!(T || pe && ne),
    "data-testid": h.testId,
    style: {
      "--index": E,
      "--toasts-before": E,
      "--z-index": z.length - E,
      "--offset": `${_e ? Ct : ca.current}px`,
      "--initial-height": pe ? "auto" : `${Pn}px`,
      ...q,
      ...h.style
    },
    onDragEnd: () => {
      ve(!1), we(null), Da.current = null;
    },
    onPointerDown: (Ce) => {
      Ce.button !== 2 && (hi || !Oa || (Sr.current = /* @__PURE__ */ new Date(), ut(ca.current), Ce.target.setPointerCapture(Ce.pointerId), Ce.target.tagName !== "BUTTON" && (ve(!0), Da.current = {
        x: Ce.clientX,
        y: Ce.clientY
      })));
    },
    onPointerUp: () => {
      var Ce, at, Rt;
      if (Ve || !Oa) return;
      Da.current = null;
      const Pt = Number(((Ce = _t.current) == null ? void 0 : Ce.style.getPropertyValue("--swipe-amount-x").replace("px", "")) || 0), Ma = Number(((at = _t.current) == null ? void 0 : at.style.getPropertyValue("--swipe-amount-y").replace("px", "")) || 0), ct = (/* @__PURE__ */ new Date()).getTime() - ((Rt = Sr.current) == null ? void 0 : Rt.getTime()), Xt = ce === "x" ? Pt : Ma, Er = Math.abs(Xt) / ct;
      if (Math.abs(Xt) >= s_ || Er > 0.11) {
        ut(ca.current), h.onDismiss == null || h.onDismiss.call(h, h), Me(ce === "x" ? Pt > 0 ? "right" : "left" : Ma > 0 ? "down" : "up"), Xn(), Ne(!0);
        return;
      } else {
        var Kt, Qt;
        (Kt = _t.current) == null || Kt.style.setProperty("--swipe-amount-x", "0px"), (Qt = _t.current) == null || Qt.style.setProperty("--swipe-amount-y", "0px");
      }
      Re(!1), ve(!1), we(null);
    },
    onPointerMove: (Ce) => {
      var at, Rt, Pt;
      if (!Da.current || !Oa || ((at = window.getSelection()) == null ? void 0 : at.toString().length) > 0) return;
      const ct = Ce.clientY - Da.current.y, Xt = Ce.clientX - Da.current.x;
      var Er;
      const Kt = (Er = e.swipeDirections) != null ? Er : d_(re);
      !ce && (Math.abs(Xt) > 1 || Math.abs(ct) > 1) && we(Math.abs(Xt) > Math.abs(ct) ? "x" : "y");
      let Qt = {
        x: 0,
        y: 0
      };
      const to = (Hn) => 1 / (1.5 + Math.abs(Hn) / 20);
      if (ce === "y") {
        if (Kt.includes("top") || Kt.includes("bottom"))
          if (Kt.includes("top") && ct < 0 || Kt.includes("bottom") && ct > 0)
            Qt.y = ct;
          else {
            const Hn = ct * to(ct);
            Qt.y = Math.abs(Hn) < Math.abs(ct) ? Hn : ct;
          }
      } else if (ce === "x" && (Kt.includes("left") || Kt.includes("right")))
        if (Kt.includes("left") && Xt < 0 || Kt.includes("right") && Xt > 0)
          Qt.x = Xt;
        else {
          const Hn = Xt * to(Xt);
          Qt.x = Math.abs(Hn) < Math.abs(Xt) ? Hn : Xt;
        }
      (Math.abs(Qt.x) > 0 || Math.abs(Qt.y) > 0) && Re(!0), (Rt = _t.current) == null || Rt.style.setProperty("--swipe-amount-x", `${Qt.x}px`), (Pt = _t.current) == null || Pt.style.setProperty("--swipe-amount-y", `${Qt.y}px`);
    }
  }, Al && !h.jsx && It !== "loading" ? /* @__PURE__ */ K.createElement("button", {
    "aria-label": j,
    "data-disabled": hi,
    "data-close-button": !0,
    onClick: hi || !Oa ? () => {
    } : () => {
      Xn(), h.onDismiss == null || h.onDismiss.call(h, h);
    },
    className: ta(O == null ? void 0 : O.closeButton, h == null || (o = h.classNames) == null ? void 0 : o.closeButton)
  }, (Kn = B == null ? void 0 : B.close) != null ? Kn : KC) : null, (It || h.icon || h.promise) && h.icon !== null && ((B == null ? void 0 : B[It]) !== null || h.icon) ? /* @__PURE__ */ K.createElement("div", {
    "data-icon": "",
    className: ta(O == null ? void 0 : O.icon, h == null || (l = h.classNames) == null ? void 0 : l.icon)
  }, h.promise || h.type === "loading" && !h.icon ? h.icon || Wr() : null, h.type !== "loading" ? eo : null) : null, /* @__PURE__ */ K.createElement("div", {
    "data-content": "",
    className: ta(O == null ? void 0 : O.content, h == null || (s = h.classNames) == null ? void 0 : s.content)
  }, /* @__PURE__ */ K.createElement("div", {
    "data-title": "",
    className: ta(O == null ? void 0 : O.title, h == null || (u = h.classNames) == null ? void 0 : u.title)
  }, h.jsx ? h.jsx : typeof h.title == "function" ? h.title() : h.title), h.description ? /* @__PURE__ */ K.createElement("div", {
    "data-description": "",
    className: ta(J, vu, O == null ? void 0 : O.description, h == null || (f = h.classNames) == null ? void 0 : f.description)
  }, typeof h.description == "function" ? h.description() : h.description) : null), /* @__PURE__ */ K.isValidElement(h.cancel) ? h.cancel : h.cancel && Zc(h.cancel) ? /* @__PURE__ */ K.createElement("button", {
    "data-button": !0,
    "data-cancel": !0,
    style: h.cancelButtonStyle || F,
    onClick: (Ce) => {
      Zc(h.cancel) && Oa && (h.cancel.onClick == null || h.cancel.onClick.call(h.cancel, Ce), Xn());
    },
    className: ta(O == null ? void 0 : O.cancelButton, h == null || (g = h.classNames) == null ? void 0 : g.cancelButton)
  }, h.cancel.label) : null, /* @__PURE__ */ K.isValidElement(h.action) ? h.action : h.action && Zc(h.action) ? /* @__PURE__ */ K.createElement("button", {
    "data-button": !0,
    "data-action": !0,
    style: h.actionButtonStyle || ee,
    onClick: (Ce) => {
      Zc(h.action) && (h.action.onClick == null || h.action.onClick.call(h.action, Ce), !Ce.defaultPrevented && Xn());
    },
    className: ta(O == null ? void 0 : O.actionButton, h == null || (p = h.classNames) == null ? void 0 : p.actionButton)
  }, h.action.label) : null);
};
function Dw() {
  if (typeof window > "u" || typeof document > "u") return "ltr";
  const e = document.documentElement.getAttribute("dir");
  return e === "auto" || !e ? window.getComputedStyle(document.documentElement).direction : e;
}
function g_(e, n) {
  const r = {};
  return [
    e,
    n
  ].forEach((o, l) => {
    const s = l === 1, u = s ? "--mobile-offset" : "--offset", f = s ? i_ : o_;
    function g(p) {
      [
        "top",
        "right",
        "bottom",
        "left"
      ].forEach((m) => {
        r[`${u}-${m}`] = typeof p == "number" ? `${p}px` : p;
      });
    }
    typeof o == "number" || typeof o == "string" ? g(o) : typeof o == "object" ? [
      "top",
      "right",
      "bottom",
      "left"
    ].forEach((p) => {
      o[p] === void 0 ? r[`${u}-${p}`] = f : r[`${u}-${p}`] = typeof o[p] == "number" ? `${o[p]}px` : o[p];
    }) : g(f);
  }), r;
}
const p_ = /* @__PURE__ */ K.forwardRef(function(n, r) {
  const { id: o, invert: l, position: s = "bottom-right", hotkey: u = [
    "altKey",
    "KeyT"
  ], expand: f, closeButton: g, className: p, offset: m, mobileOffset: h, theme: S = "light", richColors: y, duration: C, style: k, visibleToasts: R = r_, toastOptions: E, dir: z = Dw(), gap: T = c_, icons: N, containerAriaLabel: $ = "Notifications" } = n, [U, q] = K.useState([]), F = K.useMemo(() => o ? U.filter((ne) => ne.toasterId === o) : U.filter((ne) => !ne.toasterId), [
    U,
    o
  ]), ee = K.useMemo(() => Array.from(new Set([
    s
  ].concat(F.filter((ne) => ne.position).map((ne) => ne.position)))), [
    F,
    s
  ]), [Q, J] = K.useState([]), [te, re] = K.useState(!1), [le, pe] = K.useState(!1), [O, B] = K.useState(S !== "system" ? S : typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light"), j = K.useRef(null), ce = u.join("+").replace(/Key/g, "").replace(/Digit/g, ""), we = K.useRef(null), Pe = K.useRef(!1), Me = K.useCallback((ne) => {
    q((fe) => {
      var _e;
      return (_e = fe.find((Fe) => Fe.id === ne.id)) != null && _e.delete || on.dismiss(ne.id), fe.filter(({ id: Fe }) => Fe !== ne.id);
    });
  }, []);
  return K.useEffect(() => on.subscribe((ne) => {
    if (ne.dismiss) {
      requestAnimationFrame(() => {
        q((fe) => fe.map((_e) => _e.id === ne.id ? {
          ..._e,
          delete: !0
        } : _e));
      });
      return;
    }
    setTimeout(() => {
      Yb.flushSync(() => {
        q((fe) => {
          const _e = fe.findIndex((Fe) => Fe.id === ne.id);
          return _e !== -1 ? [
            ...fe.slice(0, _e),
            {
              ...fe[_e],
              ...ne
            },
            ...fe.slice(_e + 1)
          ] : [
            ne,
            ...fe
          ];
        });
      });
    });
  }), [
    U
  ]), K.useEffect(() => {
    if (S !== "system") {
      B(S);
      return;
    }
    if (S === "system" && (window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? B("dark") : B("light")), typeof window > "u") return;
    const ne = window.matchMedia("(prefers-color-scheme: dark)");
    try {
      ne.addEventListener("change", ({ matches: fe }) => {
        B(fe ? "dark" : "light");
      });
    } catch {
      ne.addListener(({ matches: _e }) => {
        try {
          B(_e ? "dark" : "light");
        } catch (Fe) {
          console.error(Fe);
        }
      });
    }
  }, [
    S
  ]), K.useEffect(() => {
    U.length <= 1 && re(!1);
  }, [
    U
  ]), K.useEffect(() => {
    const ne = (fe) => {
      var _e;
      if (u.every((ve) => fe[ve] || fe.code === ve)) {
        var oe;
        re(!0), (oe = j.current) == null || oe.focus();
      }
      fe.code === "Escape" && (document.activeElement === j.current || (_e = j.current) != null && _e.contains(document.activeElement)) && re(!1);
    };
    return document.addEventListener("keydown", ne), () => document.removeEventListener("keydown", ne);
  }, [
    u
  ]), K.useEffect(() => {
    if (j.current)
      return () => {
        we.current && (we.current.focus({
          preventScroll: !0
        }), we.current = null, Pe.current = !1);
      };
  }, [
    j.current
  ]), // Remove item from normal navigation flow, only available via hotkey
  /* @__PURE__ */ K.createElement("section", {
    ref: r,
    "aria-label": `${$} ${ce}`,
    tabIndex: -1,
    "aria-live": "polite",
    "aria-relevant": "additions text",
    "aria-atomic": "false",
    suppressHydrationWarning: !0
  }, ee.map((ne, fe) => {
    var _e;
    const [Fe, oe] = ne.split("-");
    return F.length ? /* @__PURE__ */ K.createElement("ol", {
      key: ne,
      dir: z === "auto" ? Dw() : z,
      tabIndex: -1,
      ref: j,
      className: p,
      "data-sonner-toaster": !0,
      "data-sonner-theme": O,
      "data-y-position": Fe,
      "data-x-position": oe,
      style: {
        "--front-toast-height": `${((_e = Q[0]) == null ? void 0 : _e.height) || 0}px`,
        "--width": `${l_}px`,
        "--gap": `${T}px`,
        ...k,
        ...g_(m, h)
      },
      onBlur: (ve) => {
        Pe.current && !ve.currentTarget.contains(ve.relatedTarget) && (Pe.current = !1, we.current && (we.current.focus({
          preventScroll: !0
        }), we.current = null));
      },
      onFocus: (ve) => {
        ve.target instanceof HTMLElement && ve.target.dataset.dismissible === "false" || Pe.current || (Pe.current = !0, we.current = ve.relatedTarget);
      },
      onMouseEnter: () => re(!0),
      onMouseMove: () => re(!0),
      onMouseLeave: () => {
        le || re(!1);
      },
      onDragEnd: () => re(!1),
      onPointerDown: (ve) => {
        ve.target instanceof HTMLElement && ve.target.dataset.dismissible === "false" || pe(!0);
      },
      onPointerUp: () => pe(!1)
    }, F.filter((ve) => !ve.position && fe === 0 || ve.position === ne).map((ve, Ve) => {
      var Ne, Ee;
      return /* @__PURE__ */ K.createElement(f_, {
        key: ve.id,
        icons: N,
        index: Ve,
        toast: ve,
        defaultRichColors: y,
        duration: (Ne = E == null ? void 0 : E.duration) != null ? Ne : C,
        className: E == null ? void 0 : E.className,
        descriptionClassName: E == null ? void 0 : E.descriptionClassName,
        invert: l,
        visibleToasts: R,
        closeButton: (Ee = E == null ? void 0 : E.closeButton) != null ? Ee : g,
        interacting: le,
        position: ne,
        style: E == null ? void 0 : E.style,
        unstyled: E == null ? void 0 : E.unstyled,
        classNames: E == null ? void 0 : E.classNames,
        cancelButtonStyle: E == null ? void 0 : E.cancelButtonStyle,
        actionButtonStyle: E == null ? void 0 : E.actionButtonStyle,
        closeButtonAriaLabel: E == null ? void 0 : E.closeButtonAriaLabel,
        removeToast: Me,
        toasts: F.filter((Re) => Re.position == ve.position),
        heights: Q.filter((Re) => Re.position == ve.position),
        setHeights: J,
        expandByDefault: f,
        gap: T,
        expanded: te,
        swipeDirections: n.swipeDirections
      });
    })) : null;
  }));
}), Xb = w.createContext(
  void 0
);
function v_({
  container: e,
  children: n
}) {
  return /* @__PURE__ */ b.jsx(Xb.Provider, { value: e, children: n });
}
function As() {
  return w.useContext(Xb);
}
function Kb(e) {
  var n, r, o = "";
  if (typeof e == "string" || typeof e == "number") o += e;
  else if (typeof e == "object") if (Array.isArray(e)) {
    var l = e.length;
    for (n = 0; n < l; n++) e[n] && (r = Kb(e[n])) && (o && (o += " "), o += r);
  } else for (r in e) e[r] && (o && (o += " "), o += r);
  return o;
}
function Qb() {
  for (var e, n, r = 0, o = "", l = arguments.length; r < l; r++) (e = arguments[r]) && (n = Kb(e)) && (o && (o += " "), o += n);
  return o;
}
const Mw = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, jw = Qb, Pg = (e, n) => (r) => {
  var o;
  if ((n == null ? void 0 : n.variants) == null) return jw(e, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
  const { variants: l, defaultVariants: s } = n, u = Object.keys(l).map((p) => {
    const m = r == null ? void 0 : r[p], h = s == null ? void 0 : s[p];
    if (m === null) return null;
    const S = Mw(m) || Mw(h);
    return l[p][S];
  }), f = r && Object.entries(r).reduce((p, m) => {
    let [h, S] = m;
    return S === void 0 || (p[h] = S), p;
  }, {}), g = n == null || (o = n.compoundVariants) === null || o === void 0 ? void 0 : o.reduce((p, m) => {
    let { class: h, className: S, ...y } = m;
    return Object.entries(y).every((C) => {
      let [k, R] = C;
      return Array.isArray(R) ? R.includes({
        ...s,
        ...f
      }[k]) : {
        ...s,
        ...f
      }[k] === R;
    }) ? [
      ...p,
      h,
      S
    ] : p;
  }, []);
  return jw(e, u, g, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
};
function $w(e, n) {
  if (typeof e == "function")
    return e(n);
  e != null && (e.current = n);
}
function vr(...e) {
  return (n) => {
    let r = !1;
    const o = e.map((l) => {
      const s = $w(l, n);
      return !r && typeof s == "function" && (r = !0), s;
    });
    if (r)
      return () => {
        for (let l = 0; l < o.length; l++) {
          const s = o[l];
          typeof s == "function" ? s() : $w(e[l], null);
        }
      };
  };
}
function Te(...e) {
  return w.useCallback(vr(...e), e);
}
// @__NO_SIDE_EFFECTS__
function h_(e) {
  const n = /* @__PURE__ */ m_(e), r = w.forwardRef((o, l) => {
    const { children: s, ...u } = o, f = w.Children.toArray(s), g = f.find(b_);
    if (g) {
      const p = g.props.children, m = f.map((h) => h === g ? w.Children.count(p) > 1 ? w.Children.only(null) : w.isValidElement(p) ? p.props.children : null : h);
      return /* @__PURE__ */ b.jsx(n, { ...u, ref: l, children: w.isValidElement(p) ? w.cloneElement(p, void 0, m) : null });
    }
    return /* @__PURE__ */ b.jsx(n, { ...u, ref: l, children: s });
  });
  return r.displayName = `${e}.Slot`, r;
}
// @__NO_SIDE_EFFECTS__
function m_(e) {
  const n = w.forwardRef((r, o) => {
    const { children: l, ...s } = r;
    if (w.isValidElement(l)) {
      const u = y_(l), f = x_(s, l.props);
      return l.type !== w.Fragment && (f.ref = o ? vr(o, u) : u), w.cloneElement(l, f);
    }
    return w.Children.count(l) > 1 ? w.Children.only(null) : null;
  });
  return n.displayName = `${e}.SlotClone`, n;
}
var w_ = Symbol("radix.slottable");
function b_(e) {
  return w.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === w_;
}
function x_(e, n) {
  const r = { ...n };
  for (const o in n) {
    const l = e[o], s = n[o];
    /^on[A-Z]/.test(o) ? l && s ? r[o] = (...f) => {
      const g = s(...f);
      return l(...f), g;
    } : l && (r[o] = l) : o === "style" ? r[o] = { ...l, ...s } : o === "className" && (r[o] = [l, s].filter(Boolean).join(" "));
  }
  return { ...e, ...r };
}
function y_(e) {
  var o, l;
  let n = (o = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : o.get, r = n && "isReactWarning" in n && n.isReactWarning;
  return r ? e.ref : (n = (l = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : l.get, r = n && "isReactWarning" in n && n.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
}
var S_ = [
  "a",
  "button",
  "div",
  "form",
  "h2",
  "h3",
  "img",
  "input",
  "label",
  "li",
  "nav",
  "ol",
  "p",
  "select",
  "span",
  "svg",
  "ul"
], me = S_.reduce((e, n) => {
  const r = /* @__PURE__ */ h_(`Primitive.${n}`), o = w.forwardRef((l, s) => {
    const { asChild: u, ...f } = l, g = u ? r : n;
    return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ b.jsx(g, { ...f, ref: s });
  });
  return o.displayName = `Primitive.${n}`, { ...e, [n]: o };
}, {});
function k_(e, n) {
  e && bl.flushSync(() => e.dispatchEvent(n));
}
var Jb = Object.freeze({
  // See: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_visually-hidden.scss
  position: "absolute",
  border: 0,
  width: 1,
  height: 1,
  padding: 0,
  margin: -1,
  overflow: "hidden",
  clip: "rect(0, 0, 0, 0)",
  whiteSpace: "nowrap",
  wordWrap: "normal"
}), C_ = "VisuallyHidden", Wb = w.forwardRef(
  (e, n) => /* @__PURE__ */ b.jsx(
    me.span,
    {
      ...e,
      ref: n,
      style: { ...Jb, ...e.style }
    }
  )
);
Wb.displayName = C_;
var __ = Wb;
function R_(e, n) {
  const r = w.createContext(n), o = (s) => {
    const { children: u, ...f } = s, g = w.useMemo(() => f, Object.values(f));
    return /* @__PURE__ */ b.jsx(r.Provider, { value: g, children: u });
  };
  o.displayName = e + "Provider";
  function l(s) {
    const u = w.useContext(r);
    if (u) return u;
    if (n !== void 0) return n;
    throw new Error(`\`${s}\` must be used within \`${e}\``);
  }
  return [o, l];
}
function Bt(e, n = []) {
  let r = [];
  function o(s, u) {
    const f = w.createContext(u), g = r.length;
    r = [...r, u];
    const p = (h) => {
      var E;
      const { scope: S, children: y, ...C } = h, k = ((E = S == null ? void 0 : S[e]) == null ? void 0 : E[g]) || f, R = w.useMemo(() => C, Object.values(C));
      return /* @__PURE__ */ b.jsx(k.Provider, { value: R, children: y });
    };
    p.displayName = s + "Provider";
    function m(h, S) {
      var k;
      const y = ((k = S == null ? void 0 : S[e]) == null ? void 0 : k[g]) || f, C = w.useContext(y);
      if (C) return C;
      if (u !== void 0) return u;
      throw new Error(`\`${h}\` must be used within \`${s}\``);
    }
    return [p, m];
  }
  const l = () => {
    const s = r.map((u) => w.createContext(u));
    return function(f) {
      const g = (f == null ? void 0 : f[e]) || s;
      return w.useMemo(
        () => ({ [`__scope${e}`]: { ...f, [e]: g } }),
        [f, g]
      );
    };
  };
  return l.scopeName = e, [o, E_(l, ...n)];
}
function E_(...e) {
  const n = e[0];
  if (e.length === 1) return n;
  const r = () => {
    const o = e.map((l) => ({
      useScope: l(),
      scopeName: l.scopeName
    }));
    return function(s) {
      const u = o.reduce((f, { useScope: g, scopeName: p }) => {
        const h = g(s)[`__scope${p}`];
        return { ...f, ...h };
      }, {});
      return w.useMemo(() => ({ [`__scope${n.scopeName}`]: u }), [u]);
    };
  };
  return r.scopeName = n.scopeName, r;
}
// @__NO_SIDE_EFFECTS__
function Pw(e) {
  const n = /* @__PURE__ */ z_(e), r = w.forwardRef((o, l) => {
    const { children: s, ...u } = o, f = w.Children.toArray(s), g = f.find(A_);
    if (g) {
      const p = g.props.children, m = f.map((h) => h === g ? w.Children.count(p) > 1 ? w.Children.only(null) : w.isValidElement(p) ? p.props.children : null : h);
      return /* @__PURE__ */ b.jsx(n, { ...u, ref: l, children: w.isValidElement(p) ? w.cloneElement(p, void 0, m) : null });
    }
    return /* @__PURE__ */ b.jsx(n, { ...u, ref: l, children: s });
  });
  return r.displayName = `${e}.Slot`, r;
}
// @__NO_SIDE_EFFECTS__
function z_(e) {
  const n = w.forwardRef((r, o) => {
    const { children: l, ...s } = r;
    if (w.isValidElement(l)) {
      const u = O_(l), f = N_(s, l.props);
      return l.type !== w.Fragment && (f.ref = o ? vr(o, u) : u), w.cloneElement(l, f);
    }
    return w.Children.count(l) > 1 ? w.Children.only(null) : null;
  });
  return n.displayName = `${e}.SlotClone`, n;
}
var T_ = Symbol("radix.slottable");
function A_(e) {
  return w.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === T_;
}
function N_(e, n) {
  const r = { ...n };
  for (const o in n) {
    const l = e[o], s = n[o];
    /^on[A-Z]/.test(o) ? l && s ? r[o] = (...f) => {
      const g = s(...f);
      return l(...f), g;
    } : l && (r[o] = l) : o === "style" ? r[o] = { ...l, ...s } : o === "className" && (r[o] = [l, s].filter(Boolean).join(" "));
  }
  return { ...e, ...r };
}
function O_(e) {
  var o, l;
  let n = (o = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : o.get, r = n && "isReactWarning" in n && n.isReactWarning;
  return r ? e.ref : (n = (l = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : l.get, r = n && "isReactWarning" in n && n.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
}
function Ns(e) {
  const n = e + "CollectionProvider", [r, o] = Bt(n), [l, s] = r(
    n,
    { collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }
  ), u = (k) => {
    const { scope: R, children: E } = k, z = K.useRef(null), T = K.useRef(/* @__PURE__ */ new Map()).current;
    return /* @__PURE__ */ b.jsx(l, { scope: R, itemMap: T, collectionRef: z, children: E });
  };
  u.displayName = n;
  const f = e + "CollectionSlot", g = /* @__PURE__ */ Pw(f), p = K.forwardRef(
    (k, R) => {
      const { scope: E, children: z } = k, T = s(f, E), N = Te(R, T.collectionRef);
      return /* @__PURE__ */ b.jsx(g, { ref: N, children: z });
    }
  );
  p.displayName = f;
  const m = e + "CollectionItemSlot", h = "data-radix-collection-item", S = /* @__PURE__ */ Pw(m), y = K.forwardRef(
    (k, R) => {
      const { scope: E, children: z, ...T } = k, N = K.useRef(null), $ = Te(R, N), U = s(m, E);
      return K.useEffect(() => (U.itemMap.set(N, { ref: N, ...T }), () => void U.itemMap.delete(N))), /* @__PURE__ */ b.jsx(S, { [h]: "", ref: $, children: z });
    }
  );
  y.displayName = m;
  function C(k) {
    const R = s(e + "CollectionConsumer", k);
    return K.useCallback(() => {
      const z = R.collectionRef.current;
      if (!z) return [];
      const T = Array.from(z.querySelectorAll(`[${h}]`));
      return Array.from(R.itemMap.values()).sort(
        (U, q) => T.indexOf(U.ref.current) - T.indexOf(q.ref.current)
      );
    }, [R.collectionRef, R.itemMap]);
  }
  return [
    { Provider: u, Slot: p, ItemSlot: y },
    C,
    o
  ];
}
function ie(e, n, { checkForDefaultPrevented: r = !0 } = {}) {
  return function(l) {
    if (e == null || e(l), r === !1 || !l.defaultPrevented)
      return n == null ? void 0 : n(l);
  };
}
var jt = globalThis != null && globalThis.document ? w.useLayoutEffect : () => {
}, D_ = $g[" useInsertionEffect ".trim().toString()] || jt;
function qt({
  prop: e,
  defaultProp: n,
  onChange: r = () => {
  },
  caller: o
}) {
  const [l, s, u] = M_({
    defaultProp: n,
    onChange: r
  }), f = e !== void 0, g = f ? e : l;
  {
    const m = w.useRef(e !== void 0);
    w.useEffect(() => {
      const h = m.current;
      h !== f && console.warn(
        `${o} is changing from ${h ? "controlled" : "uncontrolled"} to ${f ? "controlled" : "uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`
      ), m.current = f;
    }, [f, o]);
  }
  const p = w.useCallback(
    (m) => {
      var h;
      if (f) {
        const S = j_(m) ? m(e) : m;
        S !== e && ((h = u.current) == null || h.call(u, S));
      } else
        s(m);
    },
    [f, e, s, u]
  );
  return [g, p];
}
function M_({
  defaultProp: e,
  onChange: n
}) {
  const [r, o] = w.useState(e), l = w.useRef(r), s = w.useRef(n);
  return D_(() => {
    s.current = n;
  }, [n]), w.useEffect(() => {
    var u;
    l.current !== r && ((u = s.current) == null || u.call(s, r), l.current = r);
  }, [r, l]), [r, o, s];
}
function j_(e) {
  return typeof e == "function";
}
function $_(e, n) {
  return w.useReducer((r, o) => n[r][o] ?? r, e);
}
var yn = (e) => {
  const { present: n, children: r } = e, o = P_(n), l = typeof r == "function" ? r({ present: o.isPresent }) : w.Children.only(r), s = Te(o.ref, L_(l));
  return typeof r == "function" || o.isPresent ? w.cloneElement(l, { ref: s }) : null;
};
yn.displayName = "Presence";
function P_(e) {
  const [n, r] = w.useState(), o = w.useRef(null), l = w.useRef(e), s = w.useRef("none"), u = e ? "mounted" : "unmounted", [f, g] = $_(u, {
    mounted: {
      UNMOUNT: "unmounted",
      ANIMATION_OUT: "unmountSuspended"
    },
    unmountSuspended: {
      MOUNT: "mounted",
      ANIMATION_END: "unmounted"
    },
    unmounted: {
      MOUNT: "mounted"
    }
  });
  return w.useEffect(() => {
    const p = Gc(o.current);
    s.current = f === "mounted" ? p : "none";
  }, [f]), jt(() => {
    const p = o.current, m = l.current;
    if (m !== e) {
      const S = s.current, y = Gc(p);
      e ? g("MOUNT") : y === "none" || (p == null ? void 0 : p.display) === "none" ? g("UNMOUNT") : g(m && S !== y ? "ANIMATION_OUT" : "UNMOUNT"), l.current = e;
    }
  }, [e, g]), jt(() => {
    if (n) {
      let p;
      const m = n.ownerDocument.defaultView ?? window, h = (y) => {
        const k = Gc(o.current).includes(CSS.escape(y.animationName));
        if (y.target === n && k && (g("ANIMATION_END"), !l.current)) {
          const R = n.style.animationFillMode;
          n.style.animationFillMode = "forwards", p = m.setTimeout(() => {
            n.style.animationFillMode === "forwards" && (n.style.animationFillMode = R);
          });
        }
      }, S = (y) => {
        y.target === n && (s.current = Gc(o.current));
      };
      return n.addEventListener("animationstart", S), n.addEventListener("animationcancel", h), n.addEventListener("animationend", h), () => {
        m.clearTimeout(p), n.removeEventListener("animationstart", S), n.removeEventListener("animationcancel", h), n.removeEventListener("animationend", h);
      };
    } else
      g("ANIMATION_END");
  }, [n, g]), {
    isPresent: ["mounted", "unmountSuspended"].includes(f),
    ref: w.useCallback((p) => {
      o.current = p ? getComputedStyle(p) : null, r(p);
    }, [])
  };
}
function Gc(e) {
  return (e == null ? void 0 : e.animationName) || "none";
}
function L_(e) {
  var o, l;
  let n = (o = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : o.get, r = n && "isReactWarning" in n && n.isReactWarning;
  return r ? e.ref : (n = (l = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : l.get, r = n && "isReactWarning" in n && n.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
}
var H_ = $g[" useId ".trim().toString()] || (() => {
}), V_ = 0;
function Mn(e) {
  const [n, r] = w.useState(H_());
  return jt(() => {
    r((o) => o ?? String(V_++));
  }, [e]), n ? `radix-${n}` : "";
}
var Os = "Collapsible", [B_, e0] = Bt(Os), [I_, Lg] = B_(Os), t0 = w.forwardRef(
  (e, n) => {
    const {
      __scopeCollapsible: r,
      open: o,
      defaultOpen: l,
      disabled: s,
      onOpenChange: u,
      ...f
    } = e, [g, p] = qt({
      prop: o,
      defaultProp: l ?? !1,
      onChange: u,
      caller: Os
    });
    return /* @__PURE__ */ b.jsx(
      I_,
      {
        scope: r,
        disabled: s,
        contentId: Mn(),
        open: g,
        onOpenToggle: w.useCallback(() => p((m) => !m), [p]),
        children: /* @__PURE__ */ b.jsx(
          me.div,
          {
            "data-state": Vg(g),
            "data-disabled": s ? "" : void 0,
            ...f,
            ref: n
          }
        )
      }
    );
  }
);
t0.displayName = Os;
var n0 = "CollapsibleTrigger", a0 = w.forwardRef(
  (e, n) => {
    const { __scopeCollapsible: r, ...o } = e, l = Lg(n0, r);
    return /* @__PURE__ */ b.jsx(
      me.button,
      {
        type: "button",
        "aria-controls": l.contentId,
        "aria-expanded": l.open || !1,
        "data-state": Vg(l.open),
        "data-disabled": l.disabled ? "" : void 0,
        disabled: l.disabled,
        ...o,
        ref: n,
        onClick: ie(e.onClick, l.onOpenToggle)
      }
    );
  }
);
a0.displayName = n0;
var Hg = "CollapsibleContent", r0 = w.forwardRef(
  (e, n) => {
    const { forceMount: r, ...o } = e, l = Lg(Hg, e.__scopeCollapsible);
    return /* @__PURE__ */ b.jsx(yn, { present: r || l.open, children: ({ present: s }) => /* @__PURE__ */ b.jsx(U_, { ...o, ref: n, present: s }) });
  }
);
r0.displayName = Hg;
var U_ = w.forwardRef((e, n) => {
  const { __scopeCollapsible: r, present: o, children: l, ...s } = e, u = Lg(Hg, r), [f, g] = w.useState(o), p = w.useRef(null), m = Te(n, p), h = w.useRef(0), S = h.current, y = w.useRef(0), C = y.current, k = u.open || f, R = w.useRef(k), E = w.useRef(void 0);
  return w.useEffect(() => {
    const z = requestAnimationFrame(() => R.current = !1);
    return () => cancelAnimationFrame(z);
  }, []), jt(() => {
    const z = p.current;
    if (z) {
      E.current = E.current || {
        transitionDuration: z.style.transitionDuration,
        animationName: z.style.animationName
      }, z.style.transitionDuration = "0s", z.style.animationName = "none";
      const T = z.getBoundingClientRect();
      h.current = T.height, y.current = T.width, R.current || (z.style.transitionDuration = E.current.transitionDuration, z.style.animationName = E.current.animationName), g(o);
    }
  }, [u.open, o]), /* @__PURE__ */ b.jsx(
    me.div,
    {
      "data-state": Vg(u.open),
      "data-disabled": u.disabled ? "" : void 0,
      id: u.contentId,
      hidden: !k,
      ...s,
      ref: m,
      style: {
        "--radix-collapsible-content-height": S ? `${S}px` : void 0,
        "--radix-collapsible-content-width": C ? `${C}px` : void 0,
        ...e.style
      },
      children: k && l
    }
  );
});
function Vg(e) {
  return e ? "open" : "closed";
}
var F_ = t0, Z_ = a0, G_ = r0, q_ = w.createContext(void 0);
function ai(e) {
  const n = w.useContext(q_);
  return e || n || "ltr";
}
var qn = "Accordion", Y_ = ["Home", "End", "ArrowDown", "ArrowUp", "ArrowLeft", "ArrowRight"], [Bg, X_, K_] = Ns(qn), [Ds] = Bt(qn, [
  K_,
  e0
]), Ig = e0(), o0 = K.forwardRef(
  (e, n) => {
    const { type: r, ...o } = e, l = o, s = o;
    return /* @__PURE__ */ b.jsx(Bg.Provider, { scope: e.__scopeAccordion, children: r === "multiple" ? /* @__PURE__ */ b.jsx(eR, { ...s, ref: n }) : /* @__PURE__ */ b.jsx(W_, { ...l, ref: n }) });
  }
);
o0.displayName = qn;
var [i0, Q_] = Ds(qn), [l0, J_] = Ds(
  qn,
  { collapsible: !1 }
), W_ = K.forwardRef(
  (e, n) => {
    const {
      value: r,
      defaultValue: o,
      onValueChange: l = () => {
      },
      collapsible: s = !1,
      ...u
    } = e, [f, g] = qt({
      prop: r,
      defaultProp: o ?? "",
      onChange: l,
      caller: qn
    });
    return /* @__PURE__ */ b.jsx(
      i0,
      {
        scope: e.__scopeAccordion,
        value: K.useMemo(() => f ? [f] : [], [f]),
        onItemOpen: g,
        onItemClose: K.useCallback(() => s && g(""), [s, g]),
        children: /* @__PURE__ */ b.jsx(l0, { scope: e.__scopeAccordion, collapsible: s, children: /* @__PURE__ */ b.jsx(c0, { ...u, ref: n }) })
      }
    );
  }
), eR = K.forwardRef((e, n) => {
  const {
    value: r,
    defaultValue: o,
    onValueChange: l = () => {
    },
    ...s
  } = e, [u, f] = qt({
    prop: r,
    defaultProp: o ?? [],
    onChange: l,
    caller: qn
  }), g = K.useCallback(
    (m) => f((h = []) => [...h, m]),
    [f]
  ), p = K.useCallback(
    (m) => f((h = []) => h.filter((S) => S !== m)),
    [f]
  );
  return /* @__PURE__ */ b.jsx(
    i0,
    {
      scope: e.__scopeAccordion,
      value: u,
      onItemOpen: g,
      onItemClose: p,
      children: /* @__PURE__ */ b.jsx(l0, { scope: e.__scopeAccordion, collapsible: !0, children: /* @__PURE__ */ b.jsx(c0, { ...s, ref: n }) })
    }
  );
}), [tR, Ms] = Ds(qn), c0 = K.forwardRef(
  (e, n) => {
    const { __scopeAccordion: r, disabled: o, dir: l, orientation: s = "vertical", ...u } = e, f = K.useRef(null), g = Te(f, n), p = X_(r), h = ai(l) === "ltr", S = ie(e.onKeyDown, (y) => {
      var F;
      if (!Y_.includes(y.key)) return;
      const C = y.target, k = p().filter((ee) => {
        var Q;
        return !((Q = ee.ref.current) != null && Q.disabled);
      }), R = k.findIndex((ee) => ee.ref.current === C), E = k.length;
      if (R === -1) return;
      y.preventDefault();
      let z = R;
      const T = 0, N = E - 1, $ = () => {
        z = R + 1, z > N && (z = T);
      }, U = () => {
        z = R - 1, z < T && (z = N);
      };
      switch (y.key) {
        case "Home":
          z = T;
          break;
        case "End":
          z = N;
          break;
        case "ArrowRight":
          s === "horizontal" && (h ? $() : U());
          break;
        case "ArrowDown":
          s === "vertical" && $();
          break;
        case "ArrowLeft":
          s === "horizontal" && (h ? U() : $());
          break;
        case "ArrowUp":
          s === "vertical" && U();
          break;
      }
      const q = z % E;
      (F = k[q].ref.current) == null || F.focus();
    });
    return /* @__PURE__ */ b.jsx(
      tR,
      {
        scope: r,
        disabled: o,
        direction: l,
        orientation: s,
        children: /* @__PURE__ */ b.jsx(Bg.Slot, { scope: r, children: /* @__PURE__ */ b.jsx(
          me.div,
          {
            ...u,
            "data-orientation": s,
            ref: g,
            onKeyDown: o ? void 0 : S
          }
        ) })
      }
    );
  }
), us = "AccordionItem", [nR, Ug] = Ds(us), s0 = K.forwardRef(
  (e, n) => {
    const { __scopeAccordion: r, value: o, ...l } = e, s = Ms(us, r), u = Q_(us, r), f = Ig(r), g = Mn(), p = o && u.value.includes(o) || !1, m = s.disabled || e.disabled;
    return /* @__PURE__ */ b.jsx(
      nR,
      {
        scope: r,
        open: p,
        disabled: m,
        triggerId: g,
        children: /* @__PURE__ */ b.jsx(
          F_,
          {
            "data-orientation": s.orientation,
            "data-state": v0(p),
            ...f,
            ...l,
            ref: n,
            disabled: m,
            open: p,
            onOpenChange: (h) => {
              h ? u.onItemOpen(o) : u.onItemClose(o);
            }
          }
        )
      }
    );
  }
);
s0.displayName = us;
var u0 = "AccordionHeader", d0 = K.forwardRef(
  (e, n) => {
    const { __scopeAccordion: r, ...o } = e, l = Ms(qn, r), s = Ug(u0, r);
    return /* @__PURE__ */ b.jsx(
      me.h3,
      {
        "data-orientation": l.orientation,
        "data-state": v0(s.open),
        "data-disabled": s.disabled ? "" : void 0,
        ...o,
        ref: n
      }
    );
  }
);
d0.displayName = u0;
var rg = "AccordionTrigger", f0 = K.forwardRef(
  (e, n) => {
    const { __scopeAccordion: r, ...o } = e, l = Ms(qn, r), s = Ug(rg, r), u = J_(rg, r), f = Ig(r);
    return /* @__PURE__ */ b.jsx(Bg.ItemSlot, { scope: r, children: /* @__PURE__ */ b.jsx(
      Z_,
      {
        "aria-disabled": s.open && !u.collapsible || void 0,
        "data-orientation": l.orientation,
        id: s.triggerId,
        ...f,
        ...o,
        ref: n
      }
    ) });
  }
);
f0.displayName = rg;
var g0 = "AccordionContent", p0 = K.forwardRef(
  (e, n) => {
    const { __scopeAccordion: r, ...o } = e, l = Ms(qn, r), s = Ug(g0, r), u = Ig(r);
    return /* @__PURE__ */ b.jsx(
      G_,
      {
        role: "region",
        "aria-labelledby": s.triggerId,
        "data-orientation": l.orientation,
        ...u,
        ...o,
        ref: n,
        style: {
          "--radix-accordion-content-height": "var(--radix-collapsible-content-height)",
          "--radix-accordion-content-width": "var(--radix-collapsible-content-width)",
          ...e.style
        }
      }
    );
  }
);
p0.displayName = g0;
function v0(e) {
  return e ? "open" : "closed";
}
var aR = o0, rR = s0, oR = d0, h0 = f0, m0 = p0;
function sr(e) {
  const n = w.useRef(e);
  return w.useEffect(() => {
    n.current = e;
  }), w.useMemo(() => (...r) => {
    var o;
    return (o = n.current) == null ? void 0 : o.call(n, ...r);
  }, []);
}
function iR(e, n = globalThis == null ? void 0 : globalThis.document) {
  const r = sr(e);
  w.useEffect(() => {
    const o = (l) => {
      l.key === "Escape" && r(l);
    };
    return n.addEventListener("keydown", o, { capture: !0 }), () => n.removeEventListener("keydown", o, { capture: !0 });
  }, [r, n]);
}
var lR = "DismissableLayer", og = "dismissableLayer.update", cR = "dismissableLayer.pointerDownOutside", sR = "dismissableLayer.focusOutside", Lw, w0 = w.createContext({
  layers: /* @__PURE__ */ new Set(),
  layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
  branches: /* @__PURE__ */ new Set()
}), ri = w.forwardRef(
  (e, n) => {
    const {
      disableOutsidePointerEvents: r = !1,
      onEscapeKeyDown: o,
      onPointerDownOutside: l,
      onFocusOutside: s,
      onInteractOutside: u,
      onDismiss: f,
      ...g
    } = e, p = w.useContext(w0), [m, h] = w.useState(null), S = (m == null ? void 0 : m.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, y] = w.useState({}), C = Te(n, (q) => h(q)), k = Array.from(p.layers), [R] = [...p.layersWithOutsidePointerEventsDisabled].slice(-1), E = k.indexOf(R), z = m ? k.indexOf(m) : -1, T = p.layersWithOutsidePointerEventsDisabled.size > 0, N = z >= E, $ = fR((q) => {
      const F = q.target, ee = [...p.branches].some((Q) => Q.contains(F));
      !N || ee || (l == null || l(q), u == null || u(q), q.defaultPrevented || f == null || f());
    }, S), U = gR((q) => {
      const F = q.target;
      [...p.branches].some((Q) => Q.contains(F)) || (s == null || s(q), u == null || u(q), q.defaultPrevented || f == null || f());
    }, S);
    return iR((q) => {
      z === p.layers.size - 1 && (o == null || o(q), !q.defaultPrevented && f && (q.preventDefault(), f()));
    }, S), w.useEffect(() => {
      if (m)
        return r && (p.layersWithOutsidePointerEventsDisabled.size === 0 && (Lw = S.body.style.pointerEvents, S.body.style.pointerEvents = "none"), p.layersWithOutsidePointerEventsDisabled.add(m)), p.layers.add(m), Hw(), () => {
          r && p.layersWithOutsidePointerEventsDisabled.size === 1 && (S.body.style.pointerEvents = Lw);
        };
    }, [m, S, r, p]), w.useEffect(() => () => {
      m && (p.layers.delete(m), p.layersWithOutsidePointerEventsDisabled.delete(m), Hw());
    }, [m, p]), w.useEffect(() => {
      const q = () => y({});
      return document.addEventListener(og, q), () => document.removeEventListener(og, q);
    }, []), /* @__PURE__ */ b.jsx(
      me.div,
      {
        ...g,
        ref: C,
        style: {
          pointerEvents: T ? N ? "auto" : "none" : void 0,
          ...e.style
        },
        onFocusCapture: ie(e.onFocusCapture, U.onFocusCapture),
        onBlurCapture: ie(e.onBlurCapture, U.onBlurCapture),
        onPointerDownCapture: ie(
          e.onPointerDownCapture,
          $.onPointerDownCapture
        )
      }
    );
  }
);
ri.displayName = lR;
var uR = "DismissableLayerBranch", dR = w.forwardRef((e, n) => {
  const r = w.useContext(w0), o = w.useRef(null), l = Te(n, o);
  return w.useEffect(() => {
    const s = o.current;
    if (s)
      return r.branches.add(s), () => {
        r.branches.delete(s);
      };
  }, [r.branches]), /* @__PURE__ */ b.jsx(me.div, { ...e, ref: l });
});
dR.displayName = uR;
function fR(e, n = globalThis == null ? void 0 : globalThis.document) {
  const r = sr(e), o = w.useRef(!1), l = w.useRef(() => {
  });
  return w.useEffect(() => {
    const s = (f) => {
      if (f.target && !o.current) {
        let g = function() {
          b0(
            cR,
            r,
            p,
            { discrete: !0 }
          );
        };
        const p = { originalEvent: f };
        f.pointerType === "touch" ? (n.removeEventListener("click", l.current), l.current = g, n.addEventListener("click", l.current, { once: !0 })) : g();
      } else
        n.removeEventListener("click", l.current);
      o.current = !1;
    }, u = window.setTimeout(() => {
      n.addEventListener("pointerdown", s);
    }, 0);
    return () => {
      window.clearTimeout(u), n.removeEventListener("pointerdown", s), n.removeEventListener("click", l.current);
    };
  }, [n, r]), {
    // ensures we check React component tree (not just DOM tree)
    onPointerDownCapture: () => o.current = !0
  };
}
function gR(e, n = globalThis == null ? void 0 : globalThis.document) {
  const r = sr(e), o = w.useRef(!1);
  return w.useEffect(() => {
    const l = (s) => {
      s.target && !o.current && b0(sR, r, { originalEvent: s }, {
        discrete: !1
      });
    };
    return n.addEventListener("focusin", l), () => n.removeEventListener("focusin", l);
  }, [n, r]), {
    onFocusCapture: () => o.current = !0,
    onBlurCapture: () => o.current = !1
  };
}
function Hw() {
  const e = new CustomEvent(og);
  document.dispatchEvent(e);
}
function b0(e, n, r, { discrete: o }) {
  const l = r.originalEvent.target, s = new CustomEvent(e, { bubbles: !1, cancelable: !0, detail: r });
  n && l.addEventListener(e, n, { once: !0 }), o ? k_(l, s) : l.dispatchEvent(s);
}
var Df = "focusScope.autoFocusOnMount", Mf = "focusScope.autoFocusOnUnmount", Vw = { bubbles: !1, cancelable: !0 }, pR = "FocusScope", js = w.forwardRef((e, n) => {
  const {
    loop: r = !1,
    trapped: o = !1,
    onMountAutoFocus: l,
    onUnmountAutoFocus: s,
    ...u
  } = e, [f, g] = w.useState(null), p = sr(l), m = sr(s), h = w.useRef(null), S = Te(n, (k) => g(k)), y = w.useRef({
    paused: !1,
    pause() {
      this.paused = !0;
    },
    resume() {
      this.paused = !1;
    }
  }).current;
  w.useEffect(() => {
    if (o) {
      let k = function(T) {
        if (y.paused || !f) return;
        const N = T.target;
        f.contains(N) ? h.current = N : ir(h.current, { select: !0 });
      }, R = function(T) {
        if (y.paused || !f) return;
        const N = T.relatedTarget;
        N !== null && (f.contains(N) || ir(h.current, { select: !0 }));
      }, E = function(T) {
        if (document.activeElement === document.body)
          for (const $ of T)
            $.removedNodes.length > 0 && ir(f);
      };
      document.addEventListener("focusin", k), document.addEventListener("focusout", R);
      const z = new MutationObserver(E);
      return f && z.observe(f, { childList: !0, subtree: !0 }), () => {
        document.removeEventListener("focusin", k), document.removeEventListener("focusout", R), z.disconnect();
      };
    }
  }, [o, f, y.paused]), w.useEffect(() => {
    if (f) {
      Iw.add(y);
      const k = document.activeElement;
      if (!f.contains(k)) {
        const E = new CustomEvent(Df, Vw);
        f.addEventListener(Df, p), f.dispatchEvent(E), E.defaultPrevented || (vR(xR(x0(f)), { select: !0 }), document.activeElement === k && ir(f));
      }
      return () => {
        f.removeEventListener(Df, p), setTimeout(() => {
          const E = new CustomEvent(Mf, Vw);
          f.addEventListener(Mf, m), f.dispatchEvent(E), E.defaultPrevented || ir(k ?? document.body, { select: !0 }), f.removeEventListener(Mf, m), Iw.remove(y);
        }, 0);
      };
    }
  }, [f, p, m, y]);
  const C = w.useCallback(
    (k) => {
      if (!r && !o || y.paused) return;
      const R = k.key === "Tab" && !k.altKey && !k.ctrlKey && !k.metaKey, E = document.activeElement;
      if (R && E) {
        const z = k.currentTarget, [T, N] = hR(z);
        T && N ? !k.shiftKey && E === N ? (k.preventDefault(), r && ir(T, { select: !0 })) : k.shiftKey && E === T && (k.preventDefault(), r && ir(N, { select: !0 })) : E === z && k.preventDefault();
      }
    },
    [r, o, y.paused]
  );
  return /* @__PURE__ */ b.jsx(me.div, { tabIndex: -1, ...u, ref: S, onKeyDown: C });
});
js.displayName = pR;
function vR(e, { select: n = !1 } = {}) {
  const r = document.activeElement;
  for (const o of e)
    if (ir(o, { select: n }), document.activeElement !== r) return;
}
function hR(e) {
  const n = x0(e), r = Bw(n, e), o = Bw(n.reverse(), e);
  return [r, o];
}
function x0(e) {
  const n = [], r = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, {
    acceptNode: (o) => {
      const l = o.tagName === "INPUT" && o.type === "hidden";
      return o.disabled || o.hidden || l ? NodeFilter.FILTER_SKIP : o.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
    }
  });
  for (; r.nextNode(); ) n.push(r.currentNode);
  return n;
}
function Bw(e, n) {
  for (const r of e)
    if (!mR(r, { upTo: n })) return r;
}
function mR(e, { upTo: n }) {
  if (getComputedStyle(e).visibility === "hidden") return !0;
  for (; e; ) {
    if (n !== void 0 && e === n) return !1;
    if (getComputedStyle(e).display === "none") return !0;
    e = e.parentElement;
  }
  return !1;
}
function wR(e) {
  return e instanceof HTMLInputElement && "select" in e;
}
function ir(e, { select: n = !1 } = {}) {
  if (e && e.focus) {
    const r = document.activeElement;
    e.focus({ preventScroll: !0 }), e !== r && wR(e) && n && e.select();
  }
}
var Iw = bR();
function bR() {
  let e = [];
  return {
    add(n) {
      const r = e[0];
      n !== r && (r == null || r.pause()), e = Uw(e, n), e.unshift(n);
    },
    remove(n) {
      var r;
      e = Uw(e, n), (r = e[0]) == null || r.resume();
    }
  };
}
function Uw(e, n) {
  const r = [...e], o = r.indexOf(n);
  return o !== -1 && r.splice(o, 1), r;
}
function xR(e) {
  return e.filter((n) => n.tagName !== "A");
}
var yR = "Portal", xl = w.forwardRef((e, n) => {
  var f;
  const { container: r, ...o } = e, [l, s] = w.useState(!1);
  jt(() => s(!0), []);
  const u = r || l && ((f = globalThis == null ? void 0 : globalThis.document) == null ? void 0 : f.body);
  return u ? Yb.createPortal(/* @__PURE__ */ b.jsx(me.div, { ...o, ref: n }), u) : null;
});
xl.displayName = yR;
var jf = 0;
function Fg() {
  w.useEffect(() => {
    const e = document.querySelectorAll("[data-radix-focus-guard]");
    return document.body.insertAdjacentElement("afterbegin", e[0] ?? Fw()), document.body.insertAdjacentElement("beforeend", e[1] ?? Fw()), jf++, () => {
      jf === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((n) => n.remove()), jf--;
    };
  }, []);
}
function Fw() {
  const e = document.createElement("span");
  return e.setAttribute("data-radix-focus-guard", ""), e.tabIndex = 0, e.style.outline = "none", e.style.opacity = "0", e.style.position = "fixed", e.style.pointerEvents = "none", e;
}
var na = function() {
  return na = Object.assign || function(n) {
    for (var r, o = 1, l = arguments.length; o < l; o++) {
      r = arguments[o];
      for (var s in r) Object.prototype.hasOwnProperty.call(r, s) && (n[s] = r[s]);
    }
    return n;
  }, na.apply(this, arguments);
};
function y0(e, n) {
  var r = {};
  for (var o in e) Object.prototype.hasOwnProperty.call(e, o) && n.indexOf(o) < 0 && (r[o] = e[o]);
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
    for (var l = 0, o = Object.getOwnPropertySymbols(e); l < o.length; l++)
      n.indexOf(o[l]) < 0 && Object.prototype.propertyIsEnumerable.call(e, o[l]) && (r[o[l]] = e[o[l]]);
  return r;
}
function SR(e, n, r) {
  if (r || arguments.length === 2) for (var o = 0, l = n.length, s; o < l; o++)
    (s || !(o in n)) && (s || (s = Array.prototype.slice.call(n, 0, o)), s[o] = n[o]);
  return e.concat(s || Array.prototype.slice.call(n));
}
var ls = "right-scroll-bar-position", cs = "width-before-scroll-bar", kR = "with-scroll-bars-hidden", CR = "--removed-body-scroll-bar-size";
function $f(e, n) {
  return typeof e == "function" ? e(n) : e && (e.current = n), e;
}
function _R(e, n) {
  var r = w.useState(function() {
    return {
      // value
      value: e,
      // last callback
      callback: n,
      // "memoized" public interface
      facade: {
        get current() {
          return r.value;
        },
        set current(o) {
          var l = r.value;
          l !== o && (r.value = o, r.callback(o, l));
        }
      }
    };
  })[0];
  return r.callback = n, r.facade;
}
var RR = typeof window < "u" ? w.useLayoutEffect : w.useEffect, Zw = /* @__PURE__ */ new WeakMap();
function ER(e, n) {
  var r = _R(null, function(o) {
    return e.forEach(function(l) {
      return $f(l, o);
    });
  });
  return RR(function() {
    var o = Zw.get(r);
    if (o) {
      var l = new Set(o), s = new Set(e), u = r.current;
      l.forEach(function(f) {
        s.has(f) || $f(f, null);
      }), s.forEach(function(f) {
        l.has(f) || $f(f, u);
      });
    }
    Zw.set(r, e);
  }, [e]), r;
}
function zR(e) {
  return e;
}
function TR(e, n) {
  n === void 0 && (n = zR);
  var r = [], o = !1, l = {
    read: function() {
      if (o)
        throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");
      return r.length ? r[r.length - 1] : e;
    },
    useMedium: function(s) {
      var u = n(s, o);
      return r.push(u), function() {
        r = r.filter(function(f) {
          return f !== u;
        });
      };
    },
    assignSyncMedium: function(s) {
      for (o = !0; r.length; ) {
        var u = r;
        r = [], u.forEach(s);
      }
      r = {
        push: function(f) {
          return s(f);
        },
        filter: function() {
          return r;
        }
      };
    },
    assignMedium: function(s) {
      o = !0;
      var u = [];
      if (r.length) {
        var f = r;
        r = [], f.forEach(s), u = r;
      }
      var g = function() {
        var m = u;
        u = [], m.forEach(s);
      }, p = function() {
        return Promise.resolve().then(g);
      };
      p(), r = {
        push: function(m) {
          u.push(m), p();
        },
        filter: function(m) {
          return u = u.filter(m), r;
        }
      };
    }
  };
  return l;
}
function AR(e) {
  e === void 0 && (e = {});
  var n = TR(null);
  return n.options = na({ async: !0, ssr: !1 }, e), n;
}
var S0 = function(e) {
  var n = e.sideCar, r = y0(e, ["sideCar"]);
  if (!n)
    throw new Error("Sidecar: please provide `sideCar` property to import the right car");
  var o = n.read();
  if (!o)
    throw new Error("Sidecar medium not found");
  return w.createElement(o, na({}, r));
};
S0.isSideCarExport = !0;
function NR(e, n) {
  return e.useMedium(n), S0;
}
var k0 = AR(), Pf = function() {
}, $s = w.forwardRef(function(e, n) {
  var r = w.useRef(null), o = w.useState({
    onScrollCapture: Pf,
    onWheelCapture: Pf,
    onTouchMoveCapture: Pf
  }), l = o[0], s = o[1], u = e.forwardProps, f = e.children, g = e.className, p = e.removeScrollBar, m = e.enabled, h = e.shards, S = e.sideCar, y = e.noRelative, C = e.noIsolation, k = e.inert, R = e.allowPinchZoom, E = e.as, z = E === void 0 ? "div" : E, T = e.gapMode, N = y0(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noRelative", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), $ = S, U = ER([r, n]), q = na(na({}, N), l);
  return w.createElement(
    w.Fragment,
    null,
    m && w.createElement($, { sideCar: k0, removeScrollBar: p, shards: h, noRelative: y, noIsolation: C, inert: k, setCallbacks: s, allowPinchZoom: !!R, lockRef: r, gapMode: T }),
    u ? w.cloneElement(w.Children.only(f), na(na({}, q), { ref: U })) : w.createElement(z, na({}, q, { className: g, ref: U }), f)
  );
});
$s.defaultProps = {
  enabled: !0,
  removeScrollBar: !0,
  inert: !1
};
$s.classNames = {
  fullWidth: cs,
  zeroRight: ls
};
var OR = function() {
  if (typeof __webpack_nonce__ < "u")
    return __webpack_nonce__;
};
function DR() {
  if (!document)
    return null;
  var e = document.createElement("style");
  e.type = "text/css";
  var n = OR();
  return n && e.setAttribute("nonce", n), e;
}
function MR(e, n) {
  e.styleSheet ? e.styleSheet.cssText = n : e.appendChild(document.createTextNode(n));
}
function jR(e) {
  var n = document.head || document.getElementsByTagName("head")[0];
  n.appendChild(e);
}
var $R = function() {
  var e = 0, n = null;
  return {
    add: function(r) {
      e == 0 && (n = DR()) && (MR(n, r), jR(n)), e++;
    },
    remove: function() {
      e--, !e && n && (n.parentNode && n.parentNode.removeChild(n), n = null);
    }
  };
}, PR = function() {
  var e = $R();
  return function(n, r) {
    w.useEffect(function() {
      return e.add(n), function() {
        e.remove();
      };
    }, [n && r]);
  };
}, C0 = function() {
  var e = PR(), n = function(r) {
    var o = r.styles, l = r.dynamic;
    return e(o, l), null;
  };
  return n;
}, LR = {
  left: 0,
  top: 0,
  right: 0,
  gap: 0
}, Lf = function(e) {
  return parseInt(e || "", 10) || 0;
}, HR = function(e) {
  var n = window.getComputedStyle(document.body), r = n[e === "padding" ? "paddingLeft" : "marginLeft"], o = n[e === "padding" ? "paddingTop" : "marginTop"], l = n[e === "padding" ? "paddingRight" : "marginRight"];
  return [Lf(r), Lf(o), Lf(l)];
}, VR = function(e) {
  if (e === void 0 && (e = "margin"), typeof window > "u")
    return LR;
  var n = HR(e), r = document.documentElement.clientWidth, o = window.innerWidth;
  return {
    left: n[0],
    top: n[1],
    right: n[2],
    gap: Math.max(0, o - r + n[2] - n[0])
  };
}, BR = C0(), Yo = "data-scroll-locked", IR = function(e, n, r, o) {
  var l = e.left, s = e.top, u = e.right, f = e.gap;
  return r === void 0 && (r = "margin"), `
  .`.concat(kR, ` {
   overflow: hidden `).concat(o, `;
   padding-right: `).concat(f, "px ").concat(o, `;
  }
  body[`).concat(Yo, `] {
    overflow: hidden `).concat(o, `;
    overscroll-behavior: contain;
    `).concat([
    n && "position: relative ".concat(o, ";"),
    r === "margin" && `
    padding-left: `.concat(l, `px;
    padding-top: `).concat(s, `px;
    padding-right: `).concat(u, `px;
    margin-left:0;
    margin-top:0;
    margin-right: `).concat(f, "px ").concat(o, `;
    `),
    r === "padding" && "padding-right: ".concat(f, "px ").concat(o, ";")
  ].filter(Boolean).join(""), `
  }
  
  .`).concat(ls, ` {
    right: `).concat(f, "px ").concat(o, `;
  }
  
  .`).concat(cs, ` {
    margin-right: `).concat(f, "px ").concat(o, `;
  }
  
  .`).concat(ls, " .").concat(ls, ` {
    right: 0 `).concat(o, `;
  }
  
  .`).concat(cs, " .").concat(cs, ` {
    margin-right: 0 `).concat(o, `;
  }
  
  body[`).concat(Yo, `] {
    `).concat(CR, ": ").concat(f, `px;
  }
`);
}, Gw = function() {
  var e = parseInt(document.body.getAttribute(Yo) || "0", 10);
  return isFinite(e) ? e : 0;
}, UR = function() {
  w.useEffect(function() {
    return document.body.setAttribute(Yo, (Gw() + 1).toString()), function() {
      var e = Gw() - 1;
      e <= 0 ? document.body.removeAttribute(Yo) : document.body.setAttribute(Yo, e.toString());
    };
  }, []);
}, FR = function(e) {
  var n = e.noRelative, r = e.noImportant, o = e.gapMode, l = o === void 0 ? "margin" : o;
  UR();
  var s = w.useMemo(function() {
    return VR(l);
  }, [l]);
  return w.createElement(BR, { styles: IR(s, !n, l, r ? "" : "!important") });
}, ig = !1;
if (typeof window < "u")
  try {
    var qc = Object.defineProperty({}, "passive", {
      get: function() {
        return ig = !0, !0;
      }
    });
    window.addEventListener("test", qc, qc), window.removeEventListener("test", qc, qc);
  } catch {
    ig = !1;
  }
var Bo = ig ? { passive: !1 } : !1, ZR = function(e) {
  return e.tagName === "TEXTAREA";
}, _0 = function(e, n) {
  if (!(e instanceof Element))
    return !1;
  var r = window.getComputedStyle(e);
  return (
    // not-not-scrollable
    r[n] !== "hidden" && // contains scroll inside self
    !(r.overflowY === r.overflowX && !ZR(e) && r[n] === "visible")
  );
}, GR = function(e) {
  return _0(e, "overflowY");
}, qR = function(e) {
  return _0(e, "overflowX");
}, qw = function(e, n) {
  var r = n.ownerDocument, o = n;
  do {
    typeof ShadowRoot < "u" && o instanceof ShadowRoot && (o = o.host);
    var l = R0(e, o);
    if (l) {
      var s = E0(e, o), u = s[1], f = s[2];
      if (u > f)
        return !0;
    }
    o = o.parentNode;
  } while (o && o !== r.body);
  return !1;
}, YR = function(e) {
  var n = e.scrollTop, r = e.scrollHeight, o = e.clientHeight;
  return [
    n,
    r,
    o
  ];
}, XR = function(e) {
  var n = e.scrollLeft, r = e.scrollWidth, o = e.clientWidth;
  return [
    n,
    r,
    o
  ];
}, R0 = function(e, n) {
  return e === "v" ? GR(n) : qR(n);
}, E0 = function(e, n) {
  return e === "v" ? YR(n) : XR(n);
}, KR = function(e, n) {
  return e === "h" && n === "rtl" ? -1 : 1;
}, QR = function(e, n, r, o, l) {
  var s = KR(e, window.getComputedStyle(n).direction), u = s * o, f = r.target, g = n.contains(f), p = !1, m = u > 0, h = 0, S = 0;
  do {
    if (!f)
      break;
    var y = E0(e, f), C = y[0], k = y[1], R = y[2], E = k - R - s * C;
    (C || E) && R0(e, f) && (h += E, S += C);
    var z = f.parentNode;
    f = z && z.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? z.host : z;
  } while (
    // portaled content
    !g && f !== document.body || // self content
    g && (n.contains(f) || n === f)
  );
  return (m && Math.abs(h) < 1 || !m && Math.abs(S) < 1) && (p = !0), p;
}, Yc = function(e) {
  return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
}, Yw = function(e) {
  return [e.deltaX, e.deltaY];
}, Xw = function(e) {
  return e && "current" in e ? e.current : e;
}, JR = function(e, n) {
  return e[0] === n[0] && e[1] === n[1];
}, WR = function(e) {
  return `
  .block-interactivity-`.concat(e, ` {pointer-events: none;}
  .allow-interactivity-`).concat(e, ` {pointer-events: all;}
`);
}, eE = 0, Io = [];
function tE(e) {
  var n = w.useRef([]), r = w.useRef([0, 0]), o = w.useRef(), l = w.useState(eE++)[0], s = w.useState(C0)[0], u = w.useRef(e);
  w.useEffect(function() {
    u.current = e;
  }, [e]), w.useEffect(function() {
    if (e.inert) {
      document.body.classList.add("block-interactivity-".concat(l));
      var k = SR([e.lockRef.current], (e.shards || []).map(Xw), !0).filter(Boolean);
      return k.forEach(function(R) {
        return R.classList.add("allow-interactivity-".concat(l));
      }), function() {
        document.body.classList.remove("block-interactivity-".concat(l)), k.forEach(function(R) {
          return R.classList.remove("allow-interactivity-".concat(l));
        });
      };
    }
  }, [e.inert, e.lockRef.current, e.shards]);
  var f = w.useCallback(function(k, R) {
    if ("touches" in k && k.touches.length === 2 || k.type === "wheel" && k.ctrlKey)
      return !u.current.allowPinchZoom;
    var E = Yc(k), z = r.current, T = "deltaX" in k ? k.deltaX : z[0] - E[0], N = "deltaY" in k ? k.deltaY : z[1] - E[1], $, U = k.target, q = Math.abs(T) > Math.abs(N) ? "h" : "v";
    if ("touches" in k && q === "h" && U.type === "range")
      return !1;
    var F = window.getSelection(), ee = F && F.anchorNode, Q = ee ? ee === U || ee.contains(U) : !1;
    if (Q)
      return !1;
    var J = qw(q, U);
    if (!J)
      return !0;
    if (J ? $ = q : ($ = q === "v" ? "h" : "v", J = qw(q, U)), !J)
      return !1;
    if (!o.current && "changedTouches" in k && (T || N) && (o.current = $), !$)
      return !0;
    var te = o.current || $;
    return QR(te, R, k, te === "h" ? T : N);
  }, []), g = w.useCallback(function(k) {
    var R = k;
    if (!(!Io.length || Io[Io.length - 1] !== s)) {
      var E = "deltaY" in R ? Yw(R) : Yc(R), z = n.current.filter(function($) {
        return $.name === R.type && ($.target === R.target || R.target === $.shadowParent) && JR($.delta, E);
      })[0];
      if (z && z.should) {
        R.cancelable && R.preventDefault();
        return;
      }
      if (!z) {
        var T = (u.current.shards || []).map(Xw).filter(Boolean).filter(function($) {
          return $.contains(R.target);
        }), N = T.length > 0 ? f(R, T[0]) : !u.current.noIsolation;
        N && R.cancelable && R.preventDefault();
      }
    }
  }, []), p = w.useCallback(function(k, R, E, z) {
    var T = { name: k, delta: R, target: E, should: z, shadowParent: nE(E) };
    n.current.push(T), setTimeout(function() {
      n.current = n.current.filter(function(N) {
        return N !== T;
      });
    }, 1);
  }, []), m = w.useCallback(function(k) {
    r.current = Yc(k), o.current = void 0;
  }, []), h = w.useCallback(function(k) {
    p(k.type, Yw(k), k.target, f(k, e.lockRef.current));
  }, []), S = w.useCallback(function(k) {
    p(k.type, Yc(k), k.target, f(k, e.lockRef.current));
  }, []);
  w.useEffect(function() {
    return Io.push(s), e.setCallbacks({
      onScrollCapture: h,
      onWheelCapture: h,
      onTouchMoveCapture: S
    }), document.addEventListener("wheel", g, Bo), document.addEventListener("touchmove", g, Bo), document.addEventListener("touchstart", m, Bo), function() {
      Io = Io.filter(function(k) {
        return k !== s;
      }), document.removeEventListener("wheel", g, Bo), document.removeEventListener("touchmove", g, Bo), document.removeEventListener("touchstart", m, Bo);
    };
  }, []);
  var y = e.removeScrollBar, C = e.inert;
  return w.createElement(
    w.Fragment,
    null,
    C ? w.createElement(s, { styles: WR(l) }) : null,
    y ? w.createElement(FR, { noRelative: e.noRelative, gapMode: e.gapMode }) : null
  );
}
function nE(e) {
  for (var n = null; e !== null; )
    e instanceof ShadowRoot && (n = e.host, e = e.host), e = e.parentNode;
  return n;
}
const aE = NR(k0, tE);
var Ps = w.forwardRef(function(e, n) {
  return w.createElement($s, na({}, e, { ref: n, sideCar: aE }));
});
Ps.classNames = $s.classNames;
var rE = function(e) {
  if (typeof document > "u")
    return null;
  var n = Array.isArray(e) ? e[0] : e;
  return n.ownerDocument.body;
}, Uo = /* @__PURE__ */ new WeakMap(), Xc = /* @__PURE__ */ new WeakMap(), Kc = {}, Hf = 0, z0 = function(e) {
  return e && (e.host || z0(e.parentNode));
}, oE = function(e, n) {
  return n.map(function(r) {
    if (e.contains(r))
      return r;
    var o = z0(r);
    return o && e.contains(o) ? o : (console.error("aria-hidden", r, "in not contained inside", e, ". Doing nothing"), null);
  }).filter(function(r) {
    return !!r;
  });
}, iE = function(e, n, r, o) {
  var l = oE(n, Array.isArray(e) ? e : [e]);
  Kc[r] || (Kc[r] = /* @__PURE__ */ new WeakMap());
  var s = Kc[r], u = [], f = /* @__PURE__ */ new Set(), g = new Set(l), p = function(h) {
    !h || f.has(h) || (f.add(h), p(h.parentNode));
  };
  l.forEach(p);
  var m = function(h) {
    !h || g.has(h) || Array.prototype.forEach.call(h.children, function(S) {
      if (f.has(S))
        m(S);
      else
        try {
          var y = S.getAttribute(o), C = y !== null && y !== "false", k = (Uo.get(S) || 0) + 1, R = (s.get(S) || 0) + 1;
          Uo.set(S, k), s.set(S, R), u.push(S), k === 1 && C && Xc.set(S, !0), R === 1 && S.setAttribute(r, "true"), C || S.setAttribute(o, "true");
        } catch (E) {
          console.error("aria-hidden: cannot operate on ", S, E);
        }
    });
  };
  return m(n), f.clear(), Hf++, function() {
    u.forEach(function(h) {
      var S = Uo.get(h) - 1, y = s.get(h) - 1;
      Uo.set(h, S), s.set(h, y), S || (Xc.has(h) || h.removeAttribute(o), Xc.delete(h)), y || h.removeAttribute(r);
    }), Hf--, Hf || (Uo = /* @__PURE__ */ new WeakMap(), Uo = /* @__PURE__ */ new WeakMap(), Xc = /* @__PURE__ */ new WeakMap(), Kc = {});
  };
}, Zg = function(e, n, r) {
  r === void 0 && (r = "data-aria-hidden");
  var o = Array.from(Array.isArray(e) ? e : [e]), l = rE(e);
  return l ? (o.push.apply(o, Array.from(l.querySelectorAll("[aria-live], script"))), iE(o, l, r, "aria-hidden")) : function() {
    return null;
  };
};
// @__NO_SIDE_EFFECTS__
function lE(e) {
  const n = /* @__PURE__ */ cE(e), r = w.forwardRef((o, l) => {
    const { children: s, ...u } = o, f = w.Children.toArray(s), g = f.find(uE);
    if (g) {
      const p = g.props.children, m = f.map((h) => h === g ? w.Children.count(p) > 1 ? w.Children.only(null) : w.isValidElement(p) ? p.props.children : null : h);
      return /* @__PURE__ */ b.jsx(n, { ...u, ref: l, children: w.isValidElement(p) ? w.cloneElement(p, void 0, m) : null });
    }
    return /* @__PURE__ */ b.jsx(n, { ...u, ref: l, children: s });
  });
  return r.displayName = `${e}.Slot`, r;
}
// @__NO_SIDE_EFFECTS__
function cE(e) {
  const n = w.forwardRef((r, o) => {
    const { children: l, ...s } = r;
    if (w.isValidElement(l)) {
      const u = fE(l), f = dE(s, l.props);
      return l.type !== w.Fragment && (f.ref = o ? vr(o, u) : u), w.cloneElement(l, f);
    }
    return w.Children.count(l) > 1 ? w.Children.only(null) : null;
  });
  return n.displayName = `${e}.SlotClone`, n;
}
var sE = Symbol("radix.slottable");
function uE(e) {
  return w.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === sE;
}
function dE(e, n) {
  const r = { ...n };
  for (const o in n) {
    const l = e[o], s = n[o];
    /^on[A-Z]/.test(o) ? l && s ? r[o] = (...f) => {
      const g = s(...f);
      return l(...f), g;
    } : l && (r[o] = l) : o === "style" ? r[o] = { ...l, ...s } : o === "className" && (r[o] = [l, s].filter(Boolean).join(" "));
  }
  return { ...e, ...r };
}
function fE(e) {
  var o, l;
  let n = (o = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : o.get, r = n && "isReactWarning" in n && n.isReactWarning;
  return r ? e.ref : (n = (l = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : l.get, r = n && "isReactWarning" in n && n.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
}
var Ls = "Dialog", [T0] = Bt(Ls), [gE, Yn] = T0(Ls), A0 = (e) => {
  const {
    __scopeDialog: n,
    children: r,
    open: o,
    defaultOpen: l,
    onOpenChange: s,
    modal: u = !0
  } = e, f = w.useRef(null), g = w.useRef(null), [p, m] = qt({
    prop: o,
    defaultProp: l ?? !1,
    onChange: s,
    caller: Ls
  });
  return /* @__PURE__ */ b.jsx(
    gE,
    {
      scope: n,
      triggerRef: f,
      contentRef: g,
      contentId: Mn(),
      titleId: Mn(),
      descriptionId: Mn(),
      open: p,
      onOpenChange: m,
      onOpenToggle: w.useCallback(() => m((h) => !h), [m]),
      modal: u,
      children: r
    }
  );
};
A0.displayName = Ls;
var N0 = "DialogTrigger", O0 = w.forwardRef(
  (e, n) => {
    const { __scopeDialog: r, ...o } = e, l = Yn(N0, r), s = Te(n, l.triggerRef);
    return /* @__PURE__ */ b.jsx(
      me.button,
      {
        type: "button",
        "aria-haspopup": "dialog",
        "aria-expanded": l.open,
        "aria-controls": l.contentId,
        "data-state": Yg(l.open),
        ...o,
        ref: s,
        onClick: ie(e.onClick, l.onOpenToggle)
      }
    );
  }
);
O0.displayName = N0;
var Gg = "DialogPortal", [pE, D0] = T0(Gg, {
  forceMount: void 0
}), M0 = (e) => {
  const { __scopeDialog: n, forceMount: r, children: o, container: l } = e, s = Yn(Gg, n);
  return /* @__PURE__ */ b.jsx(pE, { scope: n, forceMount: r, children: w.Children.map(o, (u) => /* @__PURE__ */ b.jsx(yn, { present: r || s.open, children: /* @__PURE__ */ b.jsx(xl, { asChild: !0, container: l, children: u }) })) });
};
M0.displayName = Gg;
var ds = "DialogOverlay", j0 = w.forwardRef(
  (e, n) => {
    const r = D0(ds, e.__scopeDialog), { forceMount: o = r.forceMount, ...l } = e, s = Yn(ds, e.__scopeDialog);
    return s.modal ? /* @__PURE__ */ b.jsx(yn, { present: o || s.open, children: /* @__PURE__ */ b.jsx(hE, { ...l, ref: n }) }) : null;
  }
);
j0.displayName = ds;
var vE = /* @__PURE__ */ lE("DialogOverlay.RemoveScroll"), hE = w.forwardRef(
  (e, n) => {
    const { __scopeDialog: r, ...o } = e, l = Yn(ds, r);
    return (
      // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
      // ie. when `Overlay` and `Content` are siblings
      /* @__PURE__ */ b.jsx(Ps, { as: vE, allowPinchZoom: !0, shards: [l.contentRef], children: /* @__PURE__ */ b.jsx(
        me.div,
        {
          "data-state": Yg(l.open),
          ...o,
          ref: n,
          style: { pointerEvents: "auto", ...o.style }
        }
      ) })
    );
  }
), Yr = "DialogContent", $0 = w.forwardRef(
  (e, n) => {
    const r = D0(Yr, e.__scopeDialog), { forceMount: o = r.forceMount, ...l } = e, s = Yn(Yr, e.__scopeDialog);
    return /* @__PURE__ */ b.jsx(yn, { present: o || s.open, children: s.modal ? /* @__PURE__ */ b.jsx(mE, { ...l, ref: n }) : /* @__PURE__ */ b.jsx(wE, { ...l, ref: n }) });
  }
);
$0.displayName = Yr;
var mE = w.forwardRef(
  (e, n) => {
    const r = Yn(Yr, e.__scopeDialog), o = w.useRef(null), l = Te(n, r.contentRef, o);
    return w.useEffect(() => {
      const s = o.current;
      if (s) return Zg(s);
    }, []), /* @__PURE__ */ b.jsx(
      P0,
      {
        ...e,
        ref: l,
        trapFocus: r.open,
        disableOutsidePointerEvents: !0,
        onCloseAutoFocus: ie(e.onCloseAutoFocus, (s) => {
          var u;
          s.preventDefault(), (u = r.triggerRef.current) == null || u.focus();
        }),
        onPointerDownOutside: ie(e.onPointerDownOutside, (s) => {
          const u = s.detail.originalEvent, f = u.button === 0 && u.ctrlKey === !0;
          (u.button === 2 || f) && s.preventDefault();
        }),
        onFocusOutside: ie(
          e.onFocusOutside,
          (s) => s.preventDefault()
        )
      }
    );
  }
), wE = w.forwardRef(
  (e, n) => {
    const r = Yn(Yr, e.__scopeDialog), o = w.useRef(!1), l = w.useRef(!1);
    return /* @__PURE__ */ b.jsx(
      P0,
      {
        ...e,
        ref: n,
        trapFocus: !1,
        disableOutsidePointerEvents: !1,
        onCloseAutoFocus: (s) => {
          var u, f;
          (u = e.onCloseAutoFocus) == null || u.call(e, s), s.defaultPrevented || (o.current || (f = r.triggerRef.current) == null || f.focus(), s.preventDefault()), o.current = !1, l.current = !1;
        },
        onInteractOutside: (s) => {
          var g, p;
          (g = e.onInteractOutside) == null || g.call(e, s), s.defaultPrevented || (o.current = !0, s.detail.originalEvent.type === "pointerdown" && (l.current = !0));
          const u = s.target;
          ((p = r.triggerRef.current) == null ? void 0 : p.contains(u)) && s.preventDefault(), s.detail.originalEvent.type === "focusin" && l.current && s.preventDefault();
        }
      }
    );
  }
), P0 = w.forwardRef(
  (e, n) => {
    const { __scopeDialog: r, trapFocus: o, onOpenAutoFocus: l, onCloseAutoFocus: s, ...u } = e, f = Yn(Yr, r), g = w.useRef(null), p = Te(n, g);
    return Fg(), /* @__PURE__ */ b.jsxs(b.Fragment, { children: [
      /* @__PURE__ */ b.jsx(
        js,
        {
          asChild: !0,
          loop: !0,
          trapped: o,
          onMountAutoFocus: l,
          onUnmountAutoFocus: s,
          children: /* @__PURE__ */ b.jsx(
            ri,
            {
              role: "dialog",
              id: f.contentId,
              "aria-describedby": f.descriptionId,
              "aria-labelledby": f.titleId,
              "data-state": Yg(f.open),
              ...u,
              ref: p,
              onDismiss: () => f.onOpenChange(!1)
            }
          )
        }
      ),
      /* @__PURE__ */ b.jsxs(b.Fragment, { children: [
        /* @__PURE__ */ b.jsx(bE, { titleId: f.titleId }),
        /* @__PURE__ */ b.jsx(yE, { contentRef: g, descriptionId: f.descriptionId })
      ] })
    ] });
  }
), qg = "DialogTitle", L0 = w.forwardRef(
  (e, n) => {
    const { __scopeDialog: r, ...o } = e, l = Yn(qg, r);
    return /* @__PURE__ */ b.jsx(me.h2, { id: l.titleId, ...o, ref: n });
  }
);
L0.displayName = qg;
var H0 = "DialogDescription", V0 = w.forwardRef(
  (e, n) => {
    const { __scopeDialog: r, ...o } = e, l = Yn(H0, r);
    return /* @__PURE__ */ b.jsx(me.p, { id: l.descriptionId, ...o, ref: n });
  }
);
V0.displayName = H0;
var B0 = "DialogClose", I0 = w.forwardRef(
  (e, n) => {
    const { __scopeDialog: r, ...o } = e, l = Yn(B0, r);
    return /* @__PURE__ */ b.jsx(
      me.button,
      {
        type: "button",
        ...o,
        ref: n,
        onClick: ie(e.onClick, () => l.onOpenChange(!1))
      }
    );
  }
);
I0.displayName = B0;
function Yg(e) {
  return e ? "open" : "closed";
}
var U0 = "DialogTitleWarning", [T9, F0] = R_(U0, {
  contentName: Yr,
  titleName: qg,
  docsSlug: "dialog"
}), bE = ({ titleId: e }) => {
  const n = F0(U0), r = `\`${n.contentName}\` requires a \`${n.titleName}\` for the component to be accessible for screen reader users.

If you want to hide the \`${n.titleName}\`, you can wrap it with our VisuallyHidden component.

For more information, see https://radix-ui.com/primitives/docs/components/${n.docsSlug}`;
  return w.useEffect(() => {
    e && (document.getElementById(e) || console.error(r));
  }, [r, e]), null;
}, xE = "DialogDescriptionWarning", yE = ({ contentRef: e, descriptionId: n }) => {
  const o = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${F0(xE).contentName}}.`;
  return w.useEffect(() => {
    var s;
    const l = (s = e.current) == null ? void 0 : s.getAttribute("aria-describedby");
    n && l && (document.getElementById(n) || console.warn(o));
  }, [o, e, n]), null;
}, SE = A0, kE = O0, CE = M0, Z0 = j0, G0 = $0, q0 = L0, Y0 = V0, _E = I0;
function yl(e) {
  const n = w.useRef({ value: e, previous: e });
  return w.useMemo(() => (n.current.value !== e && (n.current.previous = n.current.value, n.current.value = e), n.current.previous), [e]);
}
function Sl(e) {
  const [n, r] = w.useState(void 0);
  return jt(() => {
    if (e) {
      r({ width: e.offsetWidth, height: e.offsetHeight });
      const o = new ResizeObserver((l) => {
        if (!Array.isArray(l) || !l.length)
          return;
        const s = l[0];
        let u, f;
        if ("borderBoxSize" in s) {
          const g = s.borderBoxSize, p = Array.isArray(g) ? g[0] : g;
          u = p.inlineSize, f = p.blockSize;
        } else
          u = e.offsetWidth, f = e.offsetHeight;
        r({ width: u, height: f });
      });
      return o.observe(e, { box: "border-box" }), () => o.unobserve(e);
    } else
      r(void 0);
  }, [e]), n;
}
var Hs = "Checkbox", [RE] = Bt(Hs), [EE, Xg] = RE(Hs);
function zE(e) {
  const {
    __scopeCheckbox: n,
    checked: r,
    children: o,
    defaultChecked: l,
    disabled: s,
    form: u,
    name: f,
    onCheckedChange: g,
    required: p,
    value: m = "on",
    // @ts-expect-error
    internal_do_not_use_render: h
  } = e, [S, y] = qt({
    prop: r,
    defaultProp: l ?? !1,
    onChange: g,
    caller: Hs
  }), [C, k] = w.useState(null), [R, E] = w.useState(null), z = w.useRef(!1), T = C ? !!u || !!C.closest("form") : (
    // We set this to true by default so that events bubble to forms without JS (SSR)
    !0
  ), N = {
    checked: S,
    disabled: s,
    setChecked: y,
    control: C,
    setControl: k,
    name: f,
    form: u,
    value: m,
    hasConsumerStoppedPropagationRef: z,
    required: p,
    defaultChecked: cr(l) ? !1 : l,
    isFormControl: T,
    bubbleInput: R,
    setBubbleInput: E
  };
  return /* @__PURE__ */ b.jsx(
    EE,
    {
      scope: n,
      ...N,
      children: TE(h) ? h(N) : o
    }
  );
}
var X0 = "CheckboxTrigger", K0 = w.forwardRef(
  ({ __scopeCheckbox: e, onKeyDown: n, onClick: r, ...o }, l) => {
    const {
      control: s,
      value: u,
      disabled: f,
      checked: g,
      required: p,
      setControl: m,
      setChecked: h,
      hasConsumerStoppedPropagationRef: S,
      isFormControl: y,
      bubbleInput: C
    } = Xg(X0, e), k = Te(l, m), R = w.useRef(g);
    return w.useEffect(() => {
      const E = s == null ? void 0 : s.form;
      if (E) {
        const z = () => h(R.current);
        return E.addEventListener("reset", z), () => E.removeEventListener("reset", z);
      }
    }, [s, h]), /* @__PURE__ */ b.jsx(
      me.button,
      {
        type: "button",
        role: "checkbox",
        "aria-checked": cr(g) ? "mixed" : g,
        "aria-required": p,
        "data-state": nx(g),
        "data-disabled": f ? "" : void 0,
        disabled: f,
        value: u,
        ...o,
        ref: k,
        onKeyDown: ie(n, (E) => {
          E.key === "Enter" && E.preventDefault();
        }),
        onClick: ie(r, (E) => {
          h((z) => cr(z) ? !0 : !z), C && y && (S.current = E.isPropagationStopped(), S.current || E.stopPropagation());
        })
      }
    );
  }
);
K0.displayName = X0;
var Q0 = w.forwardRef(
  (e, n) => {
    const {
      __scopeCheckbox: r,
      name: o,
      checked: l,
      defaultChecked: s,
      required: u,
      disabled: f,
      value: g,
      onCheckedChange: p,
      form: m,
      ...h
    } = e;
    return /* @__PURE__ */ b.jsx(
      zE,
      {
        __scopeCheckbox: r,
        checked: l,
        defaultChecked: s,
        disabled: f,
        required: u,
        onCheckedChange: p,
        name: o,
        form: m,
        value: g,
        internal_do_not_use_render: ({ isFormControl: S }) => /* @__PURE__ */ b.jsxs(b.Fragment, { children: [
          /* @__PURE__ */ b.jsx(
            K0,
            {
              ...h,
              ref: n,
              __scopeCheckbox: r
            }
          ),
          S && /* @__PURE__ */ b.jsx(
            tx,
            {
              __scopeCheckbox: r
            }
          )
        ] })
      }
    );
  }
);
Q0.displayName = Hs;
var J0 = "CheckboxIndicator", W0 = w.forwardRef(
  (e, n) => {
    const { __scopeCheckbox: r, forceMount: o, ...l } = e, s = Xg(J0, r);
    return /* @__PURE__ */ b.jsx(
      yn,
      {
        present: o || cr(s.checked) || s.checked === !0,
        children: /* @__PURE__ */ b.jsx(
          me.span,
          {
            "data-state": nx(s.checked),
            "data-disabled": s.disabled ? "" : void 0,
            ...l,
            ref: n,
            style: { pointerEvents: "none", ...e.style }
          }
        )
      }
    );
  }
);
W0.displayName = J0;
var ex = "CheckboxBubbleInput", tx = w.forwardRef(
  ({ __scopeCheckbox: e, ...n }, r) => {
    const {
      control: o,
      hasConsumerStoppedPropagationRef: l,
      checked: s,
      defaultChecked: u,
      required: f,
      disabled: g,
      name: p,
      value: m,
      form: h,
      bubbleInput: S,
      setBubbleInput: y
    } = Xg(ex, e), C = Te(r, y), k = yl(s), R = Sl(o);
    w.useEffect(() => {
      const z = S;
      if (!z) return;
      const T = window.HTMLInputElement.prototype, $ = Object.getOwnPropertyDescriptor(
        T,
        "checked"
      ).set, U = !l.current;
      if (k !== s && $) {
        const q = new Event("click", { bubbles: U });
        z.indeterminate = cr(s), $.call(z, cr(s) ? !1 : s), z.dispatchEvent(q);
      }
    }, [S, k, s, l]);
    const E = w.useRef(cr(s) ? !1 : s);
    return /* @__PURE__ */ b.jsx(
      me.input,
      {
        type: "checkbox",
        "aria-hidden": !0,
        defaultChecked: u ?? E.current,
        required: f,
        disabled: g,
        name: p,
        value: m,
        form: h,
        ...n,
        tabIndex: -1,
        ref: C,
        style: {
          ...n.style,
          ...R,
          position: "absolute",
          pointerEvents: "none",
          opacity: 0,
          margin: 0,
          // We transform because the input is absolutely positioned but we have
          // rendered it **after** the button. This pulls it back to sit on top
          // of the button.
          transform: "translateX(-100%)"
        }
      }
    );
  }
);
tx.displayName = ex;
function TE(e) {
  return typeof e == "function";
}
function cr(e) {
  return e === "indeterminate";
}
function nx(e) {
  return cr(e) ? "indeterminate" : e ? "checked" : "unchecked";
}
const AE = ["top", "right", "bottom", "left"], ur = Math.min, wn = Math.max, fs = Math.round, Qc = Math.floor, ra = (e) => ({
  x: e,
  y: e
}), NE = {
  left: "right",
  right: "left",
  bottom: "top",
  top: "bottom"
}, OE = {
  start: "end",
  end: "start"
};
function lg(e, n, r) {
  return wn(e, ur(n, r));
}
function Aa(e, n) {
  return typeof e == "function" ? e(n) : e;
}
function Na(e) {
  return e.split("-")[0];
}
function oi(e) {
  return e.split("-")[1];
}
function Kg(e) {
  return e === "x" ? "y" : "x";
}
function Qg(e) {
  return e === "y" ? "height" : "width";
}
const DE = /* @__PURE__ */ new Set(["top", "bottom"]);
function aa(e) {
  return DE.has(Na(e)) ? "y" : "x";
}
function Jg(e) {
  return Kg(aa(e));
}
function ME(e, n, r) {
  r === void 0 && (r = !1);
  const o = oi(e), l = Jg(e), s = Qg(l);
  let u = l === "x" ? o === (r ? "end" : "start") ? "right" : "left" : o === "start" ? "bottom" : "top";
  return n.reference[s] > n.floating[s] && (u = gs(u)), [u, gs(u)];
}
function jE(e) {
  const n = gs(e);
  return [cg(e), n, cg(n)];
}
function cg(e) {
  return e.replace(/start|end/g, (n) => OE[n]);
}
const Kw = ["left", "right"], Qw = ["right", "left"], $E = ["top", "bottom"], PE = ["bottom", "top"];
function LE(e, n, r) {
  switch (e) {
    case "top":
    case "bottom":
      return r ? n ? Qw : Kw : n ? Kw : Qw;
    case "left":
    case "right":
      return n ? $E : PE;
    default:
      return [];
  }
}
function HE(e, n, r, o) {
  const l = oi(e);
  let s = LE(Na(e), r === "start", o);
  return l && (s = s.map((u) => u + "-" + l), n && (s = s.concat(s.map(cg)))), s;
}
function gs(e) {
  return e.replace(/left|right|bottom|top/g, (n) => NE[n]);
}
function VE(e) {
  return {
    top: 0,
    right: 0,
    bottom: 0,
    left: 0,
    ...e
  };
}
function ax(e) {
  return typeof e != "number" ? VE(e) : {
    top: e,
    right: e,
    bottom: e,
    left: e
  };
}
function ps(e) {
  const {
    x: n,
    y: r,
    width: o,
    height: l
  } = e;
  return {
    width: o,
    height: l,
    top: r,
    left: n,
    right: n + o,
    bottom: r + l,
    x: n,
    y: r
  };
}
function Jw(e, n, r) {
  let {
    reference: o,
    floating: l
  } = e;
  const s = aa(n), u = Jg(n), f = Qg(u), g = Na(n), p = s === "y", m = o.x + o.width / 2 - l.width / 2, h = o.y + o.height / 2 - l.height / 2, S = o[f] / 2 - l[f] / 2;
  let y;
  switch (g) {
    case "top":
      y = {
        x: m,
        y: o.y - l.height
      };
      break;
    case "bottom":
      y = {
        x: m,
        y: o.y + o.height
      };
      break;
    case "right":
      y = {
        x: o.x + o.width,
        y: h
      };
      break;
    case "left":
      y = {
        x: o.x - l.width,
        y: h
      };
      break;
    default:
      y = {
        x: o.x,
        y: o.y
      };
  }
  switch (oi(n)) {
    case "start":
      y[u] -= S * (r && p ? -1 : 1);
      break;
    case "end":
      y[u] += S * (r && p ? -1 : 1);
      break;
  }
  return y;
}
async function BE(e, n) {
  var r;
  n === void 0 && (n = {});
  const {
    x: o,
    y: l,
    platform: s,
    rects: u,
    elements: f,
    strategy: g
  } = e, {
    boundary: p = "clippingAncestors",
    rootBoundary: m = "viewport",
    elementContext: h = "floating",
    altBoundary: S = !1,
    padding: y = 0
  } = Aa(n, e), C = ax(y), R = f[S ? h === "floating" ? "reference" : "floating" : h], E = ps(await s.getClippingRect({
    element: (r = await (s.isElement == null ? void 0 : s.isElement(R))) == null || r ? R : R.contextElement || await (s.getDocumentElement == null ? void 0 : s.getDocumentElement(f.floating)),
    boundary: p,
    rootBoundary: m,
    strategy: g
  })), z = h === "floating" ? {
    x: o,
    y: l,
    width: u.floating.width,
    height: u.floating.height
  } : u.reference, T = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(f.floating)), N = await (s.isElement == null ? void 0 : s.isElement(T)) ? await (s.getScale == null ? void 0 : s.getScale(T)) || {
    x: 1,
    y: 1
  } : {
    x: 1,
    y: 1
  }, $ = ps(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({
    elements: f,
    rect: z,
    offsetParent: T,
    strategy: g
  }) : z);
  return {
    top: (E.top - $.top + C.top) / N.y,
    bottom: ($.bottom - E.bottom + C.bottom) / N.y,
    left: (E.left - $.left + C.left) / N.x,
    right: ($.right - E.right + C.right) / N.x
  };
}
const IE = async (e, n, r) => {
  const {
    placement: o = "bottom",
    strategy: l = "absolute",
    middleware: s = [],
    platform: u
  } = r, f = s.filter(Boolean), g = await (u.isRTL == null ? void 0 : u.isRTL(n));
  let p = await u.getElementRects({
    reference: e,
    floating: n,
    strategy: l
  }), {
    x: m,
    y: h
  } = Jw(p, o, g), S = o, y = {}, C = 0;
  for (let R = 0; R < f.length; R++) {
    var k;
    const {
      name: E,
      fn: z
    } = f[R], {
      x: T,
      y: N,
      data: $,
      reset: U
    } = await z({
      x: m,
      y: h,
      initialPlacement: o,
      placement: S,
      strategy: l,
      middlewareData: y,
      rects: p,
      platform: {
        ...u,
        detectOverflow: (k = u.detectOverflow) != null ? k : BE
      },
      elements: {
        reference: e,
        floating: n
      }
    });
    m = T ?? m, h = N ?? h, y = {
      ...y,
      [E]: {
        ...y[E],
        ...$
      }
    }, U && C <= 50 && (C++, typeof U == "object" && (U.placement && (S = U.placement), U.rects && (p = U.rects === !0 ? await u.getElementRects({
      reference: e,
      floating: n,
      strategy: l
    }) : U.rects), {
      x: m,
      y: h
    } = Jw(p, S, g)), R = -1);
  }
  return {
    x: m,
    y: h,
    placement: S,
    strategy: l,
    middlewareData: y
  };
}, UE = (e) => ({
  name: "arrow",
  options: e,
  async fn(n) {
    const {
      x: r,
      y: o,
      placement: l,
      rects: s,
      platform: u,
      elements: f,
      middlewareData: g
    } = n, {
      element: p,
      padding: m = 0
    } = Aa(e, n) || {};
    if (p == null)
      return {};
    const h = ax(m), S = {
      x: r,
      y: o
    }, y = Jg(l), C = Qg(y), k = await u.getDimensions(p), R = y === "y", E = R ? "top" : "left", z = R ? "bottom" : "right", T = R ? "clientHeight" : "clientWidth", N = s.reference[C] + s.reference[y] - S[y] - s.floating[C], $ = S[y] - s.reference[y], U = await (u.getOffsetParent == null ? void 0 : u.getOffsetParent(p));
    let q = U ? U[T] : 0;
    (!q || !await (u.isElement == null ? void 0 : u.isElement(U))) && (q = f.floating[T] || s.floating[C]);
    const F = N / 2 - $ / 2, ee = q / 2 - k[C] / 2 - 1, Q = ur(h[E], ee), J = ur(h[z], ee), te = Q, re = q - k[C] - J, le = q / 2 - k[C] / 2 + F, pe = lg(te, le, re), O = !g.arrow && oi(l) != null && le !== pe && s.reference[C] / 2 - (le < te ? Q : J) - k[C] / 2 < 0, B = O ? le < te ? le - te : le - re : 0;
    return {
      [y]: S[y] + B,
      data: {
        [y]: pe,
        centerOffset: le - pe - B,
        ...O && {
          alignmentOffset: B
        }
      },
      reset: O
    };
  }
}), FE = function(e) {
  return e === void 0 && (e = {}), {
    name: "flip",
    options: e,
    async fn(n) {
      var r, o;
      const {
        placement: l,
        middlewareData: s,
        rects: u,
        initialPlacement: f,
        platform: g,
        elements: p
      } = n, {
        mainAxis: m = !0,
        crossAxis: h = !0,
        fallbackPlacements: S,
        fallbackStrategy: y = "bestFit",
        fallbackAxisSideDirection: C = "none",
        flipAlignment: k = !0,
        ...R
      } = Aa(e, n);
      if ((r = s.arrow) != null && r.alignmentOffset)
        return {};
      const E = Na(l), z = aa(f), T = Na(f) === f, N = await (g.isRTL == null ? void 0 : g.isRTL(p.floating)), $ = S || (T || !k ? [gs(f)] : jE(f)), U = C !== "none";
      !S && U && $.push(...HE(f, k, C, N));
      const q = [f, ...$], F = await g.detectOverflow(n, R), ee = [];
      let Q = ((o = s.flip) == null ? void 0 : o.overflows) || [];
      if (m && ee.push(F[E]), h) {
        const le = ME(l, u, N);
        ee.push(F[le[0]], F[le[1]]);
      }
      if (Q = [...Q, {
        placement: l,
        overflows: ee
      }], !ee.every((le) => le <= 0)) {
        var J, te;
        const le = (((J = s.flip) == null ? void 0 : J.index) || 0) + 1, pe = q[le];
        if (pe && (!(h === "alignment" ? z !== aa(pe) : !1) || // We leave the current main axis only if every placement on that axis
        // overflows the main axis.
        Q.every((j) => aa(j.placement) === z ? j.overflows[0] > 0 : !0)))
          return {
            data: {
              index: le,
              overflows: Q
            },
            reset: {
              placement: pe
            }
          };
        let O = (te = Q.filter((B) => B.overflows[0] <= 0).sort((B, j) => B.overflows[1] - j.overflows[1])[0]) == null ? void 0 : te.placement;
        if (!O)
          switch (y) {
            case "bestFit": {
              var re;
              const B = (re = Q.filter((j) => {
                if (U) {
                  const ce = aa(j.placement);
                  return ce === z || // Create a bias to the `y` side axis due to horizontal
                  // reading directions favoring greater width.
                  ce === "y";
                }
                return !0;
              }).map((j) => [j.placement, j.overflows.filter((ce) => ce > 0).reduce((ce, we) => ce + we, 0)]).sort((j, ce) => j[1] - ce[1])[0]) == null ? void 0 : re[0];
              B && (O = B);
              break;
            }
            case "initialPlacement":
              O = f;
              break;
          }
        if (l !== O)
          return {
            reset: {
              placement: O
            }
          };
      }
      return {};
    }
  };
};
function Ww(e, n) {
  return {
    top: e.top - n.height,
    right: e.right - n.width,
    bottom: e.bottom - n.height,
    left: e.left - n.width
  };
}
function eb(e) {
  return AE.some((n) => e[n] >= 0);
}
const ZE = function(e) {
  return e === void 0 && (e = {}), {
    name: "hide",
    options: e,
    async fn(n) {
      const {
        rects: r,
        platform: o
      } = n, {
        strategy: l = "referenceHidden",
        ...s
      } = Aa(e, n);
      switch (l) {
        case "referenceHidden": {
          const u = await o.detectOverflow(n, {
            ...s,
            elementContext: "reference"
          }), f = Ww(u, r.reference);
          return {
            data: {
              referenceHiddenOffsets: f,
              referenceHidden: eb(f)
            }
          };
        }
        case "escaped": {
          const u = await o.detectOverflow(n, {
            ...s,
            altBoundary: !0
          }), f = Ww(u, r.floating);
          return {
            data: {
              escapedOffsets: f,
              escaped: eb(f)
            }
          };
        }
        default:
          return {};
      }
    }
  };
}, rx = /* @__PURE__ */ new Set(["left", "top"]);
async function GE(e, n) {
  const {
    placement: r,
    platform: o,
    elements: l
  } = e, s = await (o.isRTL == null ? void 0 : o.isRTL(l.floating)), u = Na(r), f = oi(r), g = aa(r) === "y", p = rx.has(u) ? -1 : 1, m = s && g ? -1 : 1, h = Aa(n, e);
  let {
    mainAxis: S,
    crossAxis: y,
    alignmentAxis: C
  } = typeof h == "number" ? {
    mainAxis: h,
    crossAxis: 0,
    alignmentAxis: null
  } : {
    mainAxis: h.mainAxis || 0,
    crossAxis: h.crossAxis || 0,
    alignmentAxis: h.alignmentAxis
  };
  return f && typeof C == "number" && (y = f === "end" ? C * -1 : C), g ? {
    x: y * m,
    y: S * p
  } : {
    x: S * p,
    y: y * m
  };
}
const qE = function(e) {
  return e === void 0 && (e = 0), {
    name: "offset",
    options: e,
    async fn(n) {
      var r, o;
      const {
        x: l,
        y: s,
        placement: u,
        middlewareData: f
      } = n, g = await GE(n, e);
      return u === ((r = f.offset) == null ? void 0 : r.placement) && (o = f.arrow) != null && o.alignmentOffset ? {} : {
        x: l + g.x,
        y: s + g.y,
        data: {
          ...g,
          placement: u
        }
      };
    }
  };
}, YE = function(e) {
  return e === void 0 && (e = {}), {
    name: "shift",
    options: e,
    async fn(n) {
      const {
        x: r,
        y: o,
        placement: l,
        platform: s
      } = n, {
        mainAxis: u = !0,
        crossAxis: f = !1,
        limiter: g = {
          fn: (E) => {
            let {
              x: z,
              y: T
            } = E;
            return {
              x: z,
              y: T
            };
          }
        },
        ...p
      } = Aa(e, n), m = {
        x: r,
        y: o
      }, h = await s.detectOverflow(n, p), S = aa(Na(l)), y = Kg(S);
      let C = m[y], k = m[S];
      if (u) {
        const E = y === "y" ? "top" : "left", z = y === "y" ? "bottom" : "right", T = C + h[E], N = C - h[z];
        C = lg(T, C, N);
      }
      if (f) {
        const E = S === "y" ? "top" : "left", z = S === "y" ? "bottom" : "right", T = k + h[E], N = k - h[z];
        k = lg(T, k, N);
      }
      const R = g.fn({
        ...n,
        [y]: C,
        [S]: k
      });
      return {
        ...R,
        data: {
          x: R.x - r,
          y: R.y - o,
          enabled: {
            [y]: u,
            [S]: f
          }
        }
      };
    }
  };
}, XE = function(e) {
  return e === void 0 && (e = {}), {
    options: e,
    fn(n) {
      const {
        x: r,
        y: o,
        placement: l,
        rects: s,
        middlewareData: u
      } = n, {
        offset: f = 0,
        mainAxis: g = !0,
        crossAxis: p = !0
      } = Aa(e, n), m = {
        x: r,
        y: o
      }, h = aa(l), S = Kg(h);
      let y = m[S], C = m[h];
      const k = Aa(f, n), R = typeof k == "number" ? {
        mainAxis: k,
        crossAxis: 0
      } : {
        mainAxis: 0,
        crossAxis: 0,
        ...k
      };
      if (g) {
        const T = S === "y" ? "height" : "width", N = s.reference[S] - s.floating[T] + R.mainAxis, $ = s.reference[S] + s.reference[T] - R.mainAxis;
        y < N ? y = N : y > $ && (y = $);
      }
      if (p) {
        var E, z;
        const T = S === "y" ? "width" : "height", N = rx.has(Na(l)), $ = s.reference[h] - s.floating[T] + (N && ((E = u.offset) == null ? void 0 : E[h]) || 0) + (N ? 0 : R.crossAxis), U = s.reference[h] + s.reference[T] + (N ? 0 : ((z = u.offset) == null ? void 0 : z[h]) || 0) - (N ? R.crossAxis : 0);
        C < $ ? C = $ : C > U && (C = U);
      }
      return {
        [S]: y,
        [h]: C
      };
    }
  };
}, KE = function(e) {
  return e === void 0 && (e = {}), {
    name: "size",
    options: e,
    async fn(n) {
      var r, o;
      const {
        placement: l,
        rects: s,
        platform: u,
        elements: f
      } = n, {
        apply: g = () => {
        },
        ...p
      } = Aa(e, n), m = await u.detectOverflow(n, p), h = Na(l), S = oi(l), y = aa(l) === "y", {
        width: C,
        height: k
      } = s.floating;
      let R, E;
      h === "top" || h === "bottom" ? (R = h, E = S === (await (u.isRTL == null ? void 0 : u.isRTL(f.floating)) ? "start" : "end") ? "left" : "right") : (E = h, R = S === "end" ? "top" : "bottom");
      const z = k - m.top - m.bottom, T = C - m.left - m.right, N = ur(k - m[R], z), $ = ur(C - m[E], T), U = !n.middlewareData.shift;
      let q = N, F = $;
      if ((r = n.middlewareData.shift) != null && r.enabled.x && (F = T), (o = n.middlewareData.shift) != null && o.enabled.y && (q = z), U && !S) {
        const Q = wn(m.left, 0), J = wn(m.right, 0), te = wn(m.top, 0), re = wn(m.bottom, 0);
        y ? F = C - 2 * (Q !== 0 || J !== 0 ? Q + J : wn(m.left, m.right)) : q = k - 2 * (te !== 0 || re !== 0 ? te + re : wn(m.top, m.bottom));
      }
      await g({
        ...n,
        availableWidth: F,
        availableHeight: q
      });
      const ee = await u.getDimensions(f.floating);
      return C !== ee.width || k !== ee.height ? {
        reset: {
          rects: !0
        }
      } : {};
    }
  };
};
function Vs() {
  return typeof window < "u";
}
function ii(e) {
  return ox(e) ? (e.nodeName || "").toLowerCase() : "#document";
}
function bn(e) {
  var n;
  return (e == null || (n = e.ownerDocument) == null ? void 0 : n.defaultView) || window;
}
function ia(e) {
  var n;
  return (n = (ox(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : n.documentElement;
}
function ox(e) {
  return Vs() ? e instanceof Node || e instanceof bn(e).Node : !1;
}
function Zn(e) {
  return Vs() ? e instanceof Element || e instanceof bn(e).Element : !1;
}
function oa(e) {
  return Vs() ? e instanceof HTMLElement || e instanceof bn(e).HTMLElement : !1;
}
function tb(e) {
  return !Vs() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof bn(e).ShadowRoot;
}
const QE = /* @__PURE__ */ new Set(["inline", "contents"]);
function kl(e) {
  const {
    overflow: n,
    overflowX: r,
    overflowY: o,
    display: l
  } = Gn(e);
  return /auto|scroll|overlay|hidden|clip/.test(n + o + r) && !QE.has(l);
}
const JE = /* @__PURE__ */ new Set(["table", "td", "th"]);
function WE(e) {
  return JE.has(ii(e));
}
const ez = [":popover-open", ":modal"];
function Bs(e) {
  return ez.some((n) => {
    try {
      return e.matches(n);
    } catch {
      return !1;
    }
  });
}
const tz = ["transform", "translate", "scale", "rotate", "perspective"], nz = ["transform", "translate", "scale", "rotate", "perspective", "filter"], az = ["paint", "layout", "strict", "content"];
function Wg(e) {
  const n = ep(), r = Zn(e) ? Gn(e) : e;
  return tz.some((o) => r[o] ? r[o] !== "none" : !1) || (r.containerType ? r.containerType !== "normal" : !1) || !n && (r.backdropFilter ? r.backdropFilter !== "none" : !1) || !n && (r.filter ? r.filter !== "none" : !1) || nz.some((o) => (r.willChange || "").includes(o)) || az.some((o) => (r.contain || "").includes(o));
}
function rz(e) {
  let n = dr(e);
  for (; oa(n) && !Qo(n); ) {
    if (Wg(n))
      return n;
    if (Bs(n))
      return null;
    n = dr(n);
  }
  return null;
}
function ep() {
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
}
const oz = /* @__PURE__ */ new Set(["html", "body", "#document"]);
function Qo(e) {
  return oz.has(ii(e));
}
function Gn(e) {
  return bn(e).getComputedStyle(e);
}
function Is(e) {
  return Zn(e) ? {
    scrollLeft: e.scrollLeft,
    scrollTop: e.scrollTop
  } : {
    scrollLeft: e.scrollX,
    scrollTop: e.scrollY
  };
}
function dr(e) {
  if (ii(e) === "html")
    return e;
  const n = (
    // Step into the shadow DOM of the parent of a slotted node.
    e.assignedSlot || // DOM Element detected.
    e.parentNode || // ShadowRoot detected.
    tb(e) && e.host || // Fallback.
    ia(e)
  );
  return tb(n) ? n.host : n;
}
function ix(e) {
  const n = dr(e);
  return Qo(n) ? e.ownerDocument ? e.ownerDocument.body : e.body : oa(n) && kl(n) ? n : ix(n);
}
function vl(e, n, r) {
  var o;
  n === void 0 && (n = []), r === void 0 && (r = !0);
  const l = ix(e), s = l === ((o = e.ownerDocument) == null ? void 0 : o.body), u = bn(l);
  if (s) {
    const f = sg(u);
    return n.concat(u, u.visualViewport || [], kl(l) ? l : [], f && r ? vl(f) : []);
  }
  return n.concat(l, vl(l, [], r));
}
function sg(e) {
  return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
}
function lx(e) {
  const n = Gn(e);
  let r = parseFloat(n.width) || 0, o = parseFloat(n.height) || 0;
  const l = oa(e), s = l ? e.offsetWidth : r, u = l ? e.offsetHeight : o, f = fs(r) !== s || fs(o) !== u;
  return f && (r = s, o = u), {
    width: r,
    height: o,
    $: f
  };
}
function tp(e) {
  return Zn(e) ? e : e.contextElement;
}
function Xo(e) {
  const n = tp(e);
  if (!oa(n))
    return ra(1);
  const r = n.getBoundingClientRect(), {
    width: o,
    height: l,
    $: s
  } = lx(n);
  let u = (s ? fs(r.width) : r.width) / o, f = (s ? fs(r.height) : r.height) / l;
  return (!u || !Number.isFinite(u)) && (u = 1), (!f || !Number.isFinite(f)) && (f = 1), {
    x: u,
    y: f
  };
}
const iz = /* @__PURE__ */ ra(0);
function cx(e) {
  const n = bn(e);
  return !ep() || !n.visualViewport ? iz : {
    x: n.visualViewport.offsetLeft,
    y: n.visualViewport.offsetTop
  };
}
function lz(e, n, r) {
  return n === void 0 && (n = !1), !r || n && r !== bn(e) ? !1 : n;
}
function Xr(e, n, r, o) {
  n === void 0 && (n = !1), r === void 0 && (r = !1);
  const l = e.getBoundingClientRect(), s = tp(e);
  let u = ra(1);
  n && (o ? Zn(o) && (u = Xo(o)) : u = Xo(e));
  const f = lz(s, r, o) ? cx(s) : ra(0);
  let g = (l.left + f.x) / u.x, p = (l.top + f.y) / u.y, m = l.width / u.x, h = l.height / u.y;
  if (s) {
    const S = bn(s), y = o && Zn(o) ? bn(o) : o;
    let C = S, k = sg(C);
    for (; k && o && y !== C; ) {
      const R = Xo(k), E = k.getBoundingClientRect(), z = Gn(k), T = E.left + (k.clientLeft + parseFloat(z.paddingLeft)) * R.x, N = E.top + (k.clientTop + parseFloat(z.paddingTop)) * R.y;
      g *= R.x, p *= R.y, m *= R.x, h *= R.y, g += T, p += N, C = bn(k), k = sg(C);
    }
  }
  return ps({
    width: m,
    height: h,
    x: g,
    y: p
  });
}
function Us(e, n) {
  const r = Is(e).scrollLeft;
  return n ? n.left + r : Xr(ia(e)).left + r;
}
function sx(e, n) {
  const r = e.getBoundingClientRect(), o = r.left + n.scrollLeft - Us(e, r), l = r.top + n.scrollTop;
  return {
    x: o,
    y: l
  };
}
function cz(e) {
  let {
    elements: n,
    rect: r,
    offsetParent: o,
    strategy: l
  } = e;
  const s = l === "fixed", u = ia(o), f = n ? Bs(n.floating) : !1;
  if (o === u || f && s)
    return r;
  let g = {
    scrollLeft: 0,
    scrollTop: 0
  }, p = ra(1);
  const m = ra(0), h = oa(o);
  if ((h || !h && !s) && ((ii(o) !== "body" || kl(u)) && (g = Is(o)), oa(o))) {
    const y = Xr(o);
    p = Xo(o), m.x = y.x + o.clientLeft, m.y = y.y + o.clientTop;
  }
  const S = u && !h && !s ? sx(u, g) : ra(0);
  return {
    width: r.width * p.x,
    height: r.height * p.y,
    x: r.x * p.x - g.scrollLeft * p.x + m.x + S.x,
    y: r.y * p.y - g.scrollTop * p.y + m.y + S.y
  };
}
function sz(e) {
  return Array.from(e.getClientRects());
}
function uz(e) {
  const n = ia(e), r = Is(e), o = e.ownerDocument.body, l = wn(n.scrollWidth, n.clientWidth, o.scrollWidth, o.clientWidth), s = wn(n.scrollHeight, n.clientHeight, o.scrollHeight, o.clientHeight);
  let u = -r.scrollLeft + Us(e);
  const f = -r.scrollTop;
  return Gn(o).direction === "rtl" && (u += wn(n.clientWidth, o.clientWidth) - l), {
    width: l,
    height: s,
    x: u,
    y: f
  };
}
const nb = 25;
function dz(e, n) {
  const r = bn(e), o = ia(e), l = r.visualViewport;
  let s = o.clientWidth, u = o.clientHeight, f = 0, g = 0;
  if (l) {
    s = l.width, u = l.height;
    const m = ep();
    (!m || m && n === "fixed") && (f = l.offsetLeft, g = l.offsetTop);
  }
  const p = Us(o);
  if (p <= 0) {
    const m = o.ownerDocument, h = m.body, S = getComputedStyle(h), y = m.compatMode === "CSS1Compat" && parseFloat(S.marginLeft) + parseFloat(S.marginRight) || 0, C = Math.abs(o.clientWidth - h.clientWidth - y);
    C <= nb && (s -= C);
  } else p <= nb && (s += p);
  return {
    width: s,
    height: u,
    x: f,
    y: g
  };
}
const fz = /* @__PURE__ */ new Set(["absolute", "fixed"]);
function gz(e, n) {
  const r = Xr(e, !0, n === "fixed"), o = r.top + e.clientTop, l = r.left + e.clientLeft, s = oa(e) ? Xo(e) : ra(1), u = e.clientWidth * s.x, f = e.clientHeight * s.y, g = l * s.x, p = o * s.y;
  return {
    width: u,
    height: f,
    x: g,
    y: p
  };
}
function ab(e, n, r) {
  let o;
  if (n === "viewport")
    o = dz(e, r);
  else if (n === "document")
    o = uz(ia(e));
  else if (Zn(n))
    o = gz(n, r);
  else {
    const l = cx(e);
    o = {
      x: n.x - l.x,
      y: n.y - l.y,
      width: n.width,
      height: n.height
    };
  }
  return ps(o);
}
function ux(e, n) {
  const r = dr(e);
  return r === n || !Zn(r) || Qo(r) ? !1 : Gn(r).position === "fixed" || ux(r, n);
}
function pz(e, n) {
  const r = n.get(e);
  if (r)
    return r;
  let o = vl(e, [], !1).filter((f) => Zn(f) && ii(f) !== "body"), l = null;
  const s = Gn(e).position === "fixed";
  let u = s ? dr(e) : e;
  for (; Zn(u) && !Qo(u); ) {
    const f = Gn(u), g = Wg(u);
    !g && f.position === "fixed" && (l = null), (s ? !g && !l : !g && f.position === "static" && !!l && fz.has(l.position) || kl(u) && !g && ux(e, u)) ? o = o.filter((m) => m !== u) : l = f, u = dr(u);
  }
  return n.set(e, o), o;
}
function vz(e) {
  let {
    element: n,
    boundary: r,
    rootBoundary: o,
    strategy: l
  } = e;
  const u = [...r === "clippingAncestors" ? Bs(n) ? [] : pz(n, this._c) : [].concat(r), o], f = u[0], g = u.reduce((p, m) => {
    const h = ab(n, m, l);
    return p.top = wn(h.top, p.top), p.right = ur(h.right, p.right), p.bottom = ur(h.bottom, p.bottom), p.left = wn(h.left, p.left), p;
  }, ab(n, f, l));
  return {
    width: g.right - g.left,
    height: g.bottom - g.top,
    x: g.left,
    y: g.top
  };
}
function hz(e) {
  const {
    width: n,
    height: r
  } = lx(e);
  return {
    width: n,
    height: r
  };
}
function mz(e, n, r) {
  const o = oa(n), l = ia(n), s = r === "fixed", u = Xr(e, !0, s, n);
  let f = {
    scrollLeft: 0,
    scrollTop: 0
  };
  const g = ra(0);
  function p() {
    g.x = Us(l);
  }
  if (o || !o && !s)
    if ((ii(n) !== "body" || kl(l)) && (f = Is(n)), o) {
      const y = Xr(n, !0, s, n);
      g.x = y.x + n.clientLeft, g.y = y.y + n.clientTop;
    } else l && p();
  s && !o && l && p();
  const m = l && !o && !s ? sx(l, f) : ra(0), h = u.left + f.scrollLeft - g.x - m.x, S = u.top + f.scrollTop - g.y - m.y;
  return {
    x: h,
    y: S,
    width: u.width,
    height: u.height
  };
}
function Vf(e) {
  return Gn(e).position === "static";
}
function rb(e, n) {
  if (!oa(e) || Gn(e).position === "fixed")
    return null;
  if (n)
    return n(e);
  let r = e.offsetParent;
  return ia(e) === r && (r = r.ownerDocument.body), r;
}
function dx(e, n) {
  const r = bn(e);
  if (Bs(e))
    return r;
  if (!oa(e)) {
    let l = dr(e);
    for (; l && !Qo(l); ) {
      if (Zn(l) && !Vf(l))
        return l;
      l = dr(l);
    }
    return r;
  }
  let o = rb(e, n);
  for (; o && WE(o) && Vf(o); )
    o = rb(o, n);
  return o && Qo(o) && Vf(o) && !Wg(o) ? r : o || rz(e) || r;
}
const wz = async function(e) {
  const n = this.getOffsetParent || dx, r = this.getDimensions, o = await r(e.floating);
  return {
    reference: mz(e.reference, await n(e.floating), e.strategy),
    floating: {
      x: 0,
      y: 0,
      width: o.width,
      height: o.height
    }
  };
};
function bz(e) {
  return Gn(e).direction === "rtl";
}
const xz = {
  convertOffsetParentRelativeRectToViewportRelativeRect: cz,
  getDocumentElement: ia,
  getClippingRect: vz,
  getOffsetParent: dx,
  getElementRects: wz,
  getClientRects: sz,
  getDimensions: hz,
  getScale: Xo,
  isElement: Zn,
  isRTL: bz
};
function fx(e, n) {
  return e.x === n.x && e.y === n.y && e.width === n.width && e.height === n.height;
}
function yz(e, n) {
  let r = null, o;
  const l = ia(e);
  function s() {
    var f;
    clearTimeout(o), (f = r) == null || f.disconnect(), r = null;
  }
  function u(f, g) {
    f === void 0 && (f = !1), g === void 0 && (g = 1), s();
    const p = e.getBoundingClientRect(), {
      left: m,
      top: h,
      width: S,
      height: y
    } = p;
    if (f || n(), !S || !y)
      return;
    const C = Qc(h), k = Qc(l.clientWidth - (m + S)), R = Qc(l.clientHeight - (h + y)), E = Qc(m), T = {
      rootMargin: -C + "px " + -k + "px " + -R + "px " + -E + "px",
      threshold: wn(0, ur(1, g)) || 1
    };
    let N = !0;
    function $(U) {
      const q = U[0].intersectionRatio;
      if (q !== g) {
        if (!N)
          return u();
        q ? u(!1, q) : o = setTimeout(() => {
          u(!1, 1e-7);
        }, 1e3);
      }
      q === 1 && !fx(p, e.getBoundingClientRect()) && u(), N = !1;
    }
    try {
      r = new IntersectionObserver($, {
        ...T,
        // Handle <iframe>s
        root: l.ownerDocument
      });
    } catch {
      r = new IntersectionObserver($, T);
    }
    r.observe(e);
  }
  return u(!0), s;
}
function Sz(e, n, r, o) {
  o === void 0 && (o = {});
  const {
    ancestorScroll: l = !0,
    ancestorResize: s = !0,
    elementResize: u = typeof ResizeObserver == "function",
    layoutShift: f = typeof IntersectionObserver == "function",
    animationFrame: g = !1
  } = o, p = tp(e), m = l || s ? [...p ? vl(p) : [], ...vl(n)] : [];
  m.forEach((E) => {
    l && E.addEventListener("scroll", r, {
      passive: !0
    }), s && E.addEventListener("resize", r);
  });
  const h = p && f ? yz(p, r) : null;
  let S = -1, y = null;
  u && (y = new ResizeObserver((E) => {
    let [z] = E;
    z && z.target === p && y && (y.unobserve(n), cancelAnimationFrame(S), S = requestAnimationFrame(() => {
      var T;
      (T = y) == null || T.observe(n);
    })), r();
  }), p && !g && y.observe(p), y.observe(n));
  let C, k = g ? Xr(e) : null;
  g && R();
  function R() {
    const E = Xr(e);
    k && !fx(k, E) && r(), k = E, C = requestAnimationFrame(R);
  }
  return r(), () => {
    var E;
    m.forEach((z) => {
      l && z.removeEventListener("scroll", r), s && z.removeEventListener("resize", r);
    }), h == null || h(), (E = y) == null || E.disconnect(), y = null, g && cancelAnimationFrame(C);
  };
}
const kz = qE, Cz = YE, _z = FE, Rz = KE, Ez = ZE, ob = UE, zz = XE, Tz = (e, n, r) => {
  const o = /* @__PURE__ */ new Map(), l = {
    platform: xz,
    ...r
  }, s = {
    ...l.platform,
    _c: o
  };
  return IE(e, n, {
    ...l,
    platform: s
  });
};
var Az = typeof document < "u", Nz = function() {
}, ss = Az ? w.useLayoutEffect : Nz;
function vs(e, n) {
  if (e === n)
    return !0;
  if (typeof e != typeof n)
    return !1;
  if (typeof e == "function" && e.toString() === n.toString())
    return !0;
  let r, o, l;
  if (e && n && typeof e == "object") {
    if (Array.isArray(e)) {
      if (r = e.length, r !== n.length) return !1;
      for (o = r; o-- !== 0; )
        if (!vs(e[o], n[o]))
          return !1;
      return !0;
    }
    if (l = Object.keys(e), r = l.length, r !== Object.keys(n).length)
      return !1;
    for (o = r; o-- !== 0; )
      if (!{}.hasOwnProperty.call(n, l[o]))
        return !1;
    for (o = r; o-- !== 0; ) {
      const s = l[o];
      if (!(s === "_owner" && e.$$typeof) && !vs(e[s], n[s]))
        return !1;
    }
    return !0;
  }
  return e !== e && n !== n;
}
function gx(e) {
  return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
}
function ib(e, n) {
  const r = gx(e);
  return Math.round(n * r) / r;
}
function Bf(e) {
  const n = w.useRef(e);
  return ss(() => {
    n.current = e;
  }), n;
}
function Oz(e) {
  e === void 0 && (e = {});
  const {
    placement: n = "bottom",
    strategy: r = "absolute",
    middleware: o = [],
    platform: l,
    elements: {
      reference: s,
      floating: u
    } = {},
    transform: f = !0,
    whileElementsMounted: g,
    open: p
  } = e, [m, h] = w.useState({
    x: 0,
    y: 0,
    strategy: r,
    placement: n,
    middlewareData: {},
    isPositioned: !1
  }), [S, y] = w.useState(o);
  vs(S, o) || y(o);
  const [C, k] = w.useState(null), [R, E] = w.useState(null), z = w.useCallback((j) => {
    j !== U.current && (U.current = j, k(j));
  }, []), T = w.useCallback((j) => {
    j !== q.current && (q.current = j, E(j));
  }, []), N = s || C, $ = u || R, U = w.useRef(null), q = w.useRef(null), F = w.useRef(m), ee = g != null, Q = Bf(g), J = Bf(l), te = Bf(p), re = w.useCallback(() => {
    if (!U.current || !q.current)
      return;
    const j = {
      placement: n,
      strategy: r,
      middleware: S
    };
    J.current && (j.platform = J.current), Tz(U.current, q.current, j).then((ce) => {
      const we = {
        ...ce,
        // The floating element's position may be recomputed while it's closed
        // but still mounted (such as when transitioning out). To ensure
        // `isPositioned` will be `false` initially on the next open, avoid
        // setting it to `true` when `open === false` (must be specified).
        isPositioned: te.current !== !1
      };
      le.current && !vs(F.current, we) && (F.current = we, bl.flushSync(() => {
        h(we);
      }));
    });
  }, [S, n, r, J, te]);
  ss(() => {
    p === !1 && F.current.isPositioned && (F.current.isPositioned = !1, h((j) => ({
      ...j,
      isPositioned: !1
    })));
  }, [p]);
  const le = w.useRef(!1);
  ss(() => (le.current = !0, () => {
    le.current = !1;
  }), []), ss(() => {
    if (N && (U.current = N), $ && (q.current = $), N && $) {
      if (Q.current)
        return Q.current(N, $, re);
      re();
    }
  }, [N, $, re, Q, ee]);
  const pe = w.useMemo(() => ({
    reference: U,
    floating: q,
    setReference: z,
    setFloating: T
  }), [z, T]), O = w.useMemo(() => ({
    reference: N,
    floating: $
  }), [N, $]), B = w.useMemo(() => {
    const j = {
      position: r,
      left: 0,
      top: 0
    };
    if (!O.floating)
      return j;
    const ce = ib(O.floating, m.x), we = ib(O.floating, m.y);
    return f ? {
      ...j,
      transform: "translate(" + ce + "px, " + we + "px)",
      ...gx(O.floating) >= 1.5 && {
        willChange: "transform"
      }
    } : {
      position: r,
      left: ce,
      top: we
    };
  }, [r, f, O.floating, m.x, m.y]);
  return w.useMemo(() => ({
    ...m,
    update: re,
    refs: pe,
    elements: O,
    floatingStyles: B
  }), [m, re, pe, O, B]);
}
const Dz = (e) => {
  function n(r) {
    return {}.hasOwnProperty.call(r, "current");
  }
  return {
    name: "arrow",
    options: e,
    fn(r) {
      const {
        element: o,
        padding: l
      } = typeof e == "function" ? e(r) : e;
      return o && n(o) ? o.current != null ? ob({
        element: o.current,
        padding: l
      }).fn(r) : {} : o ? ob({
        element: o,
        padding: l
      }).fn(r) : {};
    }
  };
}, Mz = (e, n) => ({
  ...kz(e),
  options: [e, n]
}), jz = (e, n) => ({
  ...Cz(e),
  options: [e, n]
}), $z = (e, n) => ({
  ...zz(e),
  options: [e, n]
}), Pz = (e, n) => ({
  ..._z(e),
  options: [e, n]
}), Lz = (e, n) => ({
  ...Rz(e),
  options: [e, n]
}), Hz = (e, n) => ({
  ...Ez(e),
  options: [e, n]
}), Vz = (e, n) => ({
  ...Dz(e),
  options: [e, n]
});
var Bz = "Arrow", px = w.forwardRef((e, n) => {
  const { children: r, width: o = 10, height: l = 5, ...s } = e;
  return /* @__PURE__ */ b.jsx(
    me.svg,
    {
      ...s,
      ref: n,
      width: o,
      height: l,
      viewBox: "0 0 30 10",
      preserveAspectRatio: "none",
      children: e.asChild ? r : /* @__PURE__ */ b.jsx("polygon", { points: "0,0 30,0 15,10" })
    }
  );
});
px.displayName = Bz;
var Iz = px, np = "Popper", [vx, hr] = Bt(np), [Uz, hx] = vx(np), mx = (e) => {
  const { __scopePopper: n, children: r } = e, [o, l] = w.useState(null);
  return /* @__PURE__ */ b.jsx(Uz, { scope: n, anchor: o, onAnchorChange: l, children: r });
};
mx.displayName = np;
var wx = "PopperAnchor", bx = w.forwardRef(
  (e, n) => {
    const { __scopePopper: r, virtualRef: o, ...l } = e, s = hx(wx, r), u = w.useRef(null), f = Te(n, u), g = w.useRef(null);
    return w.useEffect(() => {
      const p = g.current;
      g.current = (o == null ? void 0 : o.current) || u.current, p !== g.current && s.onAnchorChange(g.current);
    }), o ? null : /* @__PURE__ */ b.jsx(me.div, { ...l, ref: f });
  }
);
bx.displayName = wx;
var ap = "PopperContent", [Fz, Zz] = vx(ap), xx = w.forwardRef(
  (e, n) => {
    var oe, ve, Ve, Ne, Ee, Re;
    const {
      __scopePopper: r,
      side: o = "bottom",
      sideOffset: l = 0,
      align: s = "center",
      alignOffset: u = 0,
      arrowPadding: f = 0,
      avoidCollisions: g = !0,
      collisionBoundary: p = [],
      collisionPadding: m = 0,
      sticky: h = "partial",
      hideWhenDetached: S = !1,
      updatePositionStrategy: y = "optimized",
      onPlaced: C,
      ...k
    } = e, R = hx(ap, r), [E, z] = w.useState(null), T = Te(n, (Ct) => z(Ct)), [N, $] = w.useState(null), U = Sl(N), q = (U == null ? void 0 : U.width) ?? 0, F = (U == null ? void 0 : U.height) ?? 0, ee = o + (s !== "center" ? "-" + s : ""), Q = typeof m == "number" ? m : { top: 0, right: 0, bottom: 0, left: 0, ...m }, J = Array.isArray(p) ? p : [p], te = J.length > 0, re = {
      padding: Q,
      boundary: J.filter(qz),
      // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
      altBoundary: te
    }, { refs: le, floatingStyles: pe, placement: O, isPositioned: B, middlewareData: j } = Oz({
      // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
      strategy: "fixed",
      placement: ee,
      whileElementsMounted: (...Ct) => Sz(...Ct, {
        animationFrame: y === "always"
      }),
      elements: {
        reference: R.anchor
      },
      middleware: [
        Mz({ mainAxis: l + F, alignmentAxis: u }),
        g && jz({
          mainAxis: !0,
          crossAxis: !1,
          limiter: h === "partial" ? $z() : void 0,
          ...re
        }),
        g && Pz({ ...re }),
        Lz({
          ...re,
          apply: ({ elements: Ct, rects: ut, availableWidth: Pn, availableHeight: kn }) => {
            const { width: un, height: Sr } = ut.reference, _t = Ct.floating.style;
            _t.setProperty("--radix-popper-available-width", `${Pn}px`), _t.setProperty("--radix-popper-available-height", `${kn}px`), _t.setProperty("--radix-popper-anchor-width", `${un}px`), _t.setProperty("--radix-popper-anchor-height", `${Sr}px`);
          }
        }),
        N && Vz({ element: N, padding: f }),
        Yz({ arrowWidth: q, arrowHeight: F }),
        S && Hz({ strategy: "referenceHidden", ...re })
      ]
    }), [ce, we] = kx(O), Pe = sr(C);
    jt(() => {
      B && (Pe == null || Pe());
    }, [B, Pe]);
    const Me = (oe = j.arrow) == null ? void 0 : oe.x, ne = (ve = j.arrow) == null ? void 0 : ve.y, fe = ((Ve = j.arrow) == null ? void 0 : Ve.centerOffset) !== 0, [_e, Fe] = w.useState();
    return jt(() => {
      E && Fe(window.getComputedStyle(E).zIndex);
    }, [E]), /* @__PURE__ */ b.jsx(
      "div",
      {
        ref: le.setFloating,
        "data-radix-popper-content-wrapper": "",
        style: {
          ...pe,
          transform: B ? pe.transform : "translate(0, -200%)",
          // keep off the page when measuring
          minWidth: "max-content",
          zIndex: _e,
          "--radix-popper-transform-origin": [
            (Ne = j.transformOrigin) == null ? void 0 : Ne.x,
            (Ee = j.transformOrigin) == null ? void 0 : Ee.y
          ].join(" "),
          // hide the content if using the hide middleware and should be hidden
          // set visibility to hidden and disable pointer events so the UI behaves
          // as if the PopperContent isn't there at all
          ...((Re = j.hide) == null ? void 0 : Re.referenceHidden) && {
            visibility: "hidden",
            pointerEvents: "none"
          }
        },
        dir: e.dir,
        children: /* @__PURE__ */ b.jsx(
          Fz,
          {
            scope: r,
            placedSide: ce,
            onArrowChange: $,
            arrowX: Me,
            arrowY: ne,
            shouldHideArrow: fe,
            children: /* @__PURE__ */ b.jsx(
              me.div,
              {
                "data-side": ce,
                "data-align": we,
                ...k,
                ref: T,
                style: {
                  ...k.style,
                  // if the PopperContent hasn't been placed yet (not all measurements done)
                  // we prevent animations so that users's animation don't kick in too early referring wrong sides
                  animation: B ? void 0 : "none"
                }
              }
            )
          }
        )
      }
    );
  }
);
xx.displayName = ap;
var yx = "PopperArrow", Gz = {
  top: "bottom",
  right: "left",
  bottom: "top",
  left: "right"
}, Sx = w.forwardRef(function(n, r) {
  const { __scopePopper: o, ...l } = n, s = Zz(yx, o), u = Gz[s.placedSide];
  return (
    // we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)
    // doesn't report size as we'd expect on SVG elements.
    // it reports their bounding box which is effectively the largest path inside the SVG.
    /* @__PURE__ */ b.jsx(
      "span",
      {
        ref: s.onArrowChange,
        style: {
          position: "absolute",
          left: s.arrowX,
          top: s.arrowY,
          [u]: 0,
          transformOrigin: {
            top: "",
            right: "0 0",
            bottom: "center 0",
            left: "100% 0"
          }[s.placedSide],
          transform: {
            top: "translateY(100%)",
            right: "translateY(50%) rotate(90deg) translateX(-50%)",
            bottom: "rotate(180deg)",
            left: "translateY(50%) rotate(-90deg) translateX(50%)"
          }[s.placedSide],
          visibility: s.shouldHideArrow ? "hidden" : void 0
        },
        children: /* @__PURE__ */ b.jsx(
          Iz,
          {
            ...l,
            ref: r,
            style: {
              ...l.style,
              // ensures the element can be measured correctly (mostly for if SVG)
              display: "block"
            }
          }
        )
      }
    )
  );
});
Sx.displayName = yx;
function qz(e) {
  return e !== null;
}
var Yz = (e) => ({
  name: "transformOrigin",
  options: e,
  fn(n) {
    var R, E, z;
    const { placement: r, rects: o, middlewareData: l } = n, u = ((R = l.arrow) == null ? void 0 : R.centerOffset) !== 0, f = u ? 0 : e.arrowWidth, g = u ? 0 : e.arrowHeight, [p, m] = kx(r), h = { start: "0%", center: "50%", end: "100%" }[m], S = (((E = l.arrow) == null ? void 0 : E.x) ?? 0) + f / 2, y = (((z = l.arrow) == null ? void 0 : z.y) ?? 0) + g / 2;
    let C = "", k = "";
    return p === "bottom" ? (C = u ? h : `${S}px`, k = `${-g}px`) : p === "top" ? (C = u ? h : `${S}px`, k = `${o.floating.height + g}px`) : p === "right" ? (C = `${-g}px`, k = u ? h : `${y}px`) : p === "left" && (C = `${o.floating.width + g}px`, k = u ? h : `${y}px`), { data: { x: C, y: k } };
  }
});
function kx(e) {
  const [n, r = "center"] = e.split("-");
  return [n, r];
}
var Fs = mx, Cl = bx, Zs = xx, Gs = Sx, If = "rovingFocusGroup.onEntryFocus", Xz = { bubbles: !1, cancelable: !0 }, _l = "RovingFocusGroup", [ug, Cx, Kz] = Ns(_l), [Qz, qs] = Bt(
  _l,
  [Kz]
), [Jz, Wz] = Qz(_l), _x = w.forwardRef(
  (e, n) => /* @__PURE__ */ b.jsx(ug.Provider, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ b.jsx(ug.Slot, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ b.jsx(e5, { ...e, ref: n }) }) })
);
_x.displayName = _l;
var e5 = w.forwardRef((e, n) => {
  const {
    __scopeRovingFocusGroup: r,
    orientation: o,
    loop: l = !1,
    dir: s,
    currentTabStopId: u,
    defaultCurrentTabStopId: f,
    onCurrentTabStopIdChange: g,
    onEntryFocus: p,
    preventScrollOnEntryFocus: m = !1,
    ...h
  } = e, S = w.useRef(null), y = Te(n, S), C = ai(s), [k, R] = qt({
    prop: u,
    defaultProp: f ?? null,
    onChange: g,
    caller: _l
  }), [E, z] = w.useState(!1), T = sr(p), N = Cx(r), $ = w.useRef(!1), [U, q] = w.useState(0);
  return w.useEffect(() => {
    const F = S.current;
    if (F)
      return F.addEventListener(If, T), () => F.removeEventListener(If, T);
  }, [T]), /* @__PURE__ */ b.jsx(
    Jz,
    {
      scope: r,
      orientation: o,
      dir: C,
      loop: l,
      currentTabStopId: k,
      onItemFocus: w.useCallback(
        (F) => R(F),
        [R]
      ),
      onItemShiftTab: w.useCallback(() => z(!0), []),
      onFocusableItemAdd: w.useCallback(
        () => q((F) => F + 1),
        []
      ),
      onFocusableItemRemove: w.useCallback(
        () => q((F) => F - 1),
        []
      ),
      children: /* @__PURE__ */ b.jsx(
        me.div,
        {
          tabIndex: E || U === 0 ? -1 : 0,
          "data-orientation": o,
          ...h,
          ref: y,
          style: { outline: "none", ...e.style },
          onMouseDown: ie(e.onMouseDown, () => {
            $.current = !0;
          }),
          onFocus: ie(e.onFocus, (F) => {
            const ee = !$.current;
            if (F.target === F.currentTarget && ee && !E) {
              const Q = new CustomEvent(If, Xz);
              if (F.currentTarget.dispatchEvent(Q), !Q.defaultPrevented) {
                const J = N().filter((O) => O.focusable), te = J.find((O) => O.active), re = J.find((O) => O.id === k), pe = [te, re, ...J].filter(
                  Boolean
                ).map((O) => O.ref.current);
                zx(pe, m);
              }
            }
            $.current = !1;
          }),
          onBlur: ie(e.onBlur, () => z(!1))
        }
      )
    }
  );
}), Rx = "RovingFocusGroupItem", Ex = w.forwardRef(
  (e, n) => {
    const {
      __scopeRovingFocusGroup: r,
      focusable: o = !0,
      active: l = !1,
      tabStopId: s,
      children: u,
      ...f
    } = e, g = Mn(), p = s || g, m = Wz(Rx, r), h = m.currentTabStopId === p, S = Cx(r), { onFocusableItemAdd: y, onFocusableItemRemove: C, currentTabStopId: k } = m;
    return w.useEffect(() => {
      if (o)
        return y(), () => C();
    }, [o, y, C]), /* @__PURE__ */ b.jsx(
      ug.ItemSlot,
      {
        scope: r,
        id: p,
        focusable: o,
        active: l,
        children: /* @__PURE__ */ b.jsx(
          me.span,
          {
            tabIndex: h ? 0 : -1,
            "data-orientation": m.orientation,
            ...f,
            ref: n,
            onMouseDown: ie(e.onMouseDown, (R) => {
              o ? m.onItemFocus(p) : R.preventDefault();
            }),
            onFocus: ie(e.onFocus, () => m.onItemFocus(p)),
            onKeyDown: ie(e.onKeyDown, (R) => {
              if (R.key === "Tab" && R.shiftKey) {
                m.onItemShiftTab();
                return;
              }
              if (R.target !== R.currentTarget) return;
              const E = a5(R, m.orientation, m.dir);
              if (E !== void 0) {
                if (R.metaKey || R.ctrlKey || R.altKey || R.shiftKey) return;
                R.preventDefault();
                let T = S().filter((N) => N.focusable).map((N) => N.ref.current);
                if (E === "last") T.reverse();
                else if (E === "prev" || E === "next") {
                  E === "prev" && T.reverse();
                  const N = T.indexOf(R.currentTarget);
                  T = m.loop ? r5(T, N + 1) : T.slice(N + 1);
                }
                setTimeout(() => zx(T));
              }
            }),
            children: typeof u == "function" ? u({ isCurrentTabStop: h, hasTabStop: k != null }) : u
          }
        )
      }
    );
  }
);
Ex.displayName = Rx;
var t5 = {
  ArrowLeft: "prev",
  ArrowUp: "prev",
  ArrowRight: "next",
  ArrowDown: "next",
  PageUp: "first",
  Home: "first",
  PageDown: "last",
  End: "last"
};
function n5(e, n) {
  return n !== "rtl" ? e : e === "ArrowLeft" ? "ArrowRight" : e === "ArrowRight" ? "ArrowLeft" : e;
}
function a5(e, n, r) {
  const o = n5(e.key, r);
  if (!(n === "vertical" && ["ArrowLeft", "ArrowRight"].includes(o)) && !(n === "horizontal" && ["ArrowUp", "ArrowDown"].includes(o)))
    return t5[o];
}
function zx(e, n = !1) {
  const r = document.activeElement;
  for (const o of e)
    if (o === r || (o.focus({ preventScroll: n }), document.activeElement !== r)) return;
}
function r5(e, n) {
  return e.map((r, o) => e[(n + o) % e.length]);
}
var Tx = _x, Ax = Ex, Uf, Ys = "HoverCard", [Nx] = Bt(Ys, [
  hr
]), Xs = hr(), [o5, Ks] = Nx(Ys), Ox = (e) => {
  const {
    __scopeHoverCard: n,
    children: r,
    open: o,
    defaultOpen: l,
    onOpenChange: s,
    openDelay: u = 700,
    closeDelay: f = 300
  } = e, g = Xs(n), p = w.useRef(0), m = w.useRef(0), h = w.useRef(!1), S = w.useRef(!1), [y, C] = qt({
    prop: o,
    defaultProp: l ?? !1,
    onChange: s,
    caller: Ys
  }), k = w.useCallback(() => {
    clearTimeout(m.current), p.current = window.setTimeout(() => C(!0), u);
  }, [u, C]), R = w.useCallback(() => {
    clearTimeout(p.current), !h.current && !S.current && (m.current = window.setTimeout(() => C(!1), f));
  }, [f, C]), E = w.useCallback(() => C(!1), [C]);
  return w.useEffect(() => () => {
    clearTimeout(p.current), clearTimeout(m.current);
  }, []), /* @__PURE__ */ b.jsx(
    o5,
    {
      scope: n,
      open: y,
      onOpenChange: C,
      onOpen: k,
      onClose: R,
      onDismiss: E,
      hasSelectionRef: h,
      isPointerDownOnContentRef: S,
      children: /* @__PURE__ */ b.jsx(Fs, { ...g, children: r })
    }
  );
};
Ox.displayName = Ys;
var Dx = "HoverCardTrigger", Mx = w.forwardRef(
  (e, n) => {
    const { __scopeHoverCard: r, ...o } = e, l = Ks(Dx, r), s = Xs(r);
    return /* @__PURE__ */ b.jsx(Cl, { asChild: !0, ...s, children: /* @__PURE__ */ b.jsx(
      me.a,
      {
        "data-state": l.open ? "open" : "closed",
        ...o,
        ref: n,
        onPointerEnter: ie(e.onPointerEnter, ms(l.onOpen)),
        onPointerLeave: ie(e.onPointerLeave, ms(l.onClose)),
        onFocus: ie(e.onFocus, l.onOpen),
        onBlur: ie(e.onBlur, l.onClose),
        onTouchStart: ie(e.onTouchStart, (u) => u.preventDefault())
      }
    ) });
  }
);
Mx.displayName = Dx;
var rp = "HoverCardPortal", [i5, l5] = Nx(rp, {
  forceMount: void 0
}), jx = (e) => {
  const { __scopeHoverCard: n, forceMount: r, children: o, container: l } = e, s = Ks(rp, n);
  return /* @__PURE__ */ b.jsx(i5, { scope: n, forceMount: r, children: /* @__PURE__ */ b.jsx(yn, { present: r || s.open, children: /* @__PURE__ */ b.jsx(xl, { asChild: !0, container: l, children: o }) }) });
};
jx.displayName = rp;
var hs = "HoverCardContent", $x = w.forwardRef(
  (e, n) => {
    const r = l5(hs, e.__scopeHoverCard), { forceMount: o = r.forceMount, ...l } = e, s = Ks(hs, e.__scopeHoverCard);
    return /* @__PURE__ */ b.jsx(yn, { present: o || s.open, children: /* @__PURE__ */ b.jsx(
      c5,
      {
        "data-state": s.open ? "open" : "closed",
        ...l,
        onPointerEnter: ie(e.onPointerEnter, ms(s.onOpen)),
        onPointerLeave: ie(e.onPointerLeave, ms(s.onClose)),
        ref: n
      }
    ) });
  }
);
$x.displayName = hs;
var c5 = w.forwardRef((e, n) => {
  const {
    __scopeHoverCard: r,
    onEscapeKeyDown: o,
    onPointerDownOutside: l,
    onFocusOutside: s,
    onInteractOutside: u,
    ...f
  } = e, g = Ks(hs, r), p = Xs(r), m = w.useRef(null), h = Te(n, m), [S, y] = w.useState(!1);
  return w.useEffect(() => {
    if (S) {
      const C = document.body;
      return Uf = C.style.userSelect || C.style.webkitUserSelect, C.style.userSelect = "none", C.style.webkitUserSelect = "none", () => {
        C.style.userSelect = Uf, C.style.webkitUserSelect = Uf;
      };
    }
  }, [S]), w.useEffect(() => {
    if (m.current) {
      const C = () => {
        y(!1), g.isPointerDownOnContentRef.current = !1, setTimeout(() => {
          var R;
          ((R = document.getSelection()) == null ? void 0 : R.toString()) !== "" && (g.hasSelectionRef.current = !0);
        });
      };
      return document.addEventListener("pointerup", C), () => {
        document.removeEventListener("pointerup", C), g.hasSelectionRef.current = !1, g.isPointerDownOnContentRef.current = !1;
      };
    }
  }, [g.isPointerDownOnContentRef, g.hasSelectionRef]), w.useEffect(() => {
    m.current && d5(m.current).forEach((k) => k.setAttribute("tabindex", "-1"));
  }), /* @__PURE__ */ b.jsx(
    ri,
    {
      asChild: !0,
      disableOutsidePointerEvents: !1,
      onInteractOutside: u,
      onEscapeKeyDown: o,
      onPointerDownOutside: l,
      onFocusOutside: ie(s, (C) => {
        C.preventDefault();
      }),
      onDismiss: g.onDismiss,
      children: /* @__PURE__ */ b.jsx(
        Zs,
        {
          ...p,
          ...f,
          onPointerDown: ie(f.onPointerDown, (C) => {
            C.currentTarget.contains(C.target) && y(!0), g.hasSelectionRef.current = !1, g.isPointerDownOnContentRef.current = !0;
          }),
          ref: h,
          style: {
            ...f.style,
            userSelect: S ? "text" : void 0,
            // Safari requires prefix
            WebkitUserSelect: S ? "text" : void 0,
            "--radix-hover-card-content-transform-origin": "var(--radix-popper-transform-origin)",
            "--radix-hover-card-content-available-width": "var(--radix-popper-available-width)",
            "--radix-hover-card-content-available-height": "var(--radix-popper-available-height)",
            "--radix-hover-card-trigger-width": "var(--radix-popper-anchor-width)",
            "--radix-hover-card-trigger-height": "var(--radix-popper-anchor-height)"
          }
        }
      )
    }
  );
}), s5 = "HoverCardArrow", u5 = w.forwardRef(
  (e, n) => {
    const { __scopeHoverCard: r, ...o } = e, l = Xs(r);
    return /* @__PURE__ */ b.jsx(Gs, { ...l, ...o, ref: n });
  }
);
u5.displayName = s5;
function ms(e) {
  return (n) => n.pointerType === "touch" ? void 0 : e();
}
function d5(e) {
  const n = [], r = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, {
    acceptNode: (o) => o.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP
  });
  for (; r.nextNode(); ) n.push(r.currentNode);
  return n;
}
var f5 = Ox, g5 = Mx, p5 = jx, Px = $x, v5 = "Label", Lx = w.forwardRef((e, n) => /* @__PURE__ */ b.jsx(
  me.label,
  {
    ...e,
    ref: n,
    onMouseDown: (r) => {
      var l;
      r.target.closest("button, input, select, textarea") || ((l = e.onMouseDown) == null || l.call(e, r), !r.defaultPrevented && r.detail > 1 && r.preventDefault());
    }
  }
));
Lx.displayName = v5;
var h5 = Lx;
function ws(e, [n, r]) {
  return Math.min(r, Math.max(n, e));
}
// @__NO_SIDE_EFFECTS__
function m5(e) {
  const n = /* @__PURE__ */ w5(e), r = w.forwardRef((o, l) => {
    const { children: s, ...u } = o, f = w.Children.toArray(s), g = f.find(x5);
    if (g) {
      const p = g.props.children, m = f.map((h) => h === g ? w.Children.count(p) > 1 ? w.Children.only(null) : w.isValidElement(p) ? p.props.children : null : h);
      return /* @__PURE__ */ b.jsx(n, { ...u, ref: l, children: w.isValidElement(p) ? w.cloneElement(p, void 0, m) : null });
    }
    return /* @__PURE__ */ b.jsx(n, { ...u, ref: l, children: s });
  });
  return r.displayName = `${e}.Slot`, r;
}
// @__NO_SIDE_EFFECTS__
function w5(e) {
  const n = w.forwardRef((r, o) => {
    const { children: l, ...s } = r;
    if (w.isValidElement(l)) {
      const u = S5(l), f = y5(s, l.props);
      return l.type !== w.Fragment && (f.ref = o ? vr(o, u) : u), w.cloneElement(l, f);
    }
    return w.Children.count(l) > 1 ? w.Children.only(null) : null;
  });
  return n.displayName = `${e}.SlotClone`, n;
}
var b5 = Symbol("radix.slottable");
function x5(e) {
  return w.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === b5;
}
function y5(e, n) {
  const r = { ...n };
  for (const o in n) {
    const l = e[o], s = n[o];
    /^on[A-Z]/.test(o) ? l && s ? r[o] = (...f) => {
      const g = s(...f);
      return l(...f), g;
    } : l && (r[o] = l) : o === "style" ? r[o] = { ...l, ...s } : o === "className" && (r[o] = [l, s].filter(Boolean).join(" "));
  }
  return { ...e, ...r };
}
function S5(e) {
  var o, l;
  let n = (o = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : o.get, r = n && "isReactWarning" in n && n.isReactWarning;
  return r ? e.ref : (n = (l = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : l.get, r = n && "isReactWarning" in n && n.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
}
var Qs = "Popover", [Hx] = Bt(Qs, [
  hr
]), Rl = hr(), [k5, mr] = Hx(Qs), Vx = (e) => {
  const {
    __scopePopover: n,
    children: r,
    open: o,
    defaultOpen: l,
    onOpenChange: s,
    modal: u = !1
  } = e, f = Rl(n), g = w.useRef(null), [p, m] = w.useState(!1), [h, S] = qt({
    prop: o,
    defaultProp: l ?? !1,
    onChange: s,
    caller: Qs
  });
  return /* @__PURE__ */ b.jsx(Fs, { ...f, children: /* @__PURE__ */ b.jsx(
    k5,
    {
      scope: n,
      contentId: Mn(),
      triggerRef: g,
      open: h,
      onOpenChange: S,
      onOpenToggle: w.useCallback(() => S((y) => !y), [S]),
      hasCustomAnchor: p,
      onCustomAnchorAdd: w.useCallback(() => m(!0), []),
      onCustomAnchorRemove: w.useCallback(() => m(!1), []),
      modal: u,
      children: r
    }
  ) });
};
Vx.displayName = Qs;
var Bx = "PopoverAnchor", C5 = w.forwardRef(
  (e, n) => {
    const { __scopePopover: r, ...o } = e, l = mr(Bx, r), s = Rl(r), { onCustomAnchorAdd: u, onCustomAnchorRemove: f } = l;
    return w.useEffect(() => (u(), () => f()), [u, f]), /* @__PURE__ */ b.jsx(Cl, { ...s, ...o, ref: n });
  }
);
C5.displayName = Bx;
var Ix = "PopoverTrigger", Ux = w.forwardRef(
  (e, n) => {
    const { __scopePopover: r, ...o } = e, l = mr(Ix, r), s = Rl(r), u = Te(n, l.triggerRef), f = /* @__PURE__ */ b.jsx(
      me.button,
      {
        type: "button",
        "aria-haspopup": "dialog",
        "aria-expanded": l.open,
        "aria-controls": l.contentId,
        "data-state": Yx(l.open),
        ...o,
        ref: u,
        onClick: ie(e.onClick, l.onOpenToggle)
      }
    );
    return l.hasCustomAnchor ? f : /* @__PURE__ */ b.jsx(Cl, { asChild: !0, ...s, children: f });
  }
);
Ux.displayName = Ix;
var op = "PopoverPortal", [_5, R5] = Hx(op, {
  forceMount: void 0
}), Fx = (e) => {
  const { __scopePopover: n, forceMount: r, children: o, container: l } = e, s = mr(op, n);
  return /* @__PURE__ */ b.jsx(_5, { scope: n, forceMount: r, children: /* @__PURE__ */ b.jsx(yn, { present: r || s.open, children: /* @__PURE__ */ b.jsx(xl, { asChild: !0, container: l, children: o }) }) });
};
Fx.displayName = op;
var Jo = "PopoverContent", Zx = w.forwardRef(
  (e, n) => {
    const r = R5(Jo, e.__scopePopover), { forceMount: o = r.forceMount, ...l } = e, s = mr(Jo, e.__scopePopover);
    return /* @__PURE__ */ b.jsx(yn, { present: o || s.open, children: s.modal ? /* @__PURE__ */ b.jsx(z5, { ...l, ref: n }) : /* @__PURE__ */ b.jsx(T5, { ...l, ref: n }) });
  }
);
Zx.displayName = Jo;
var E5 = /* @__PURE__ */ m5("PopoverContent.RemoveScroll"), z5 = w.forwardRef(
  (e, n) => {
    const r = mr(Jo, e.__scopePopover), o = w.useRef(null), l = Te(n, o), s = w.useRef(!1);
    return w.useEffect(() => {
      const u = o.current;
      if (u) return Zg(u);
    }, []), /* @__PURE__ */ b.jsx(Ps, { as: E5, allowPinchZoom: !0, children: /* @__PURE__ */ b.jsx(
      Gx,
      {
        ...e,
        ref: l,
        trapFocus: r.open,
        disableOutsidePointerEvents: !0,
        onCloseAutoFocus: ie(e.onCloseAutoFocus, (u) => {
          var f;
          u.preventDefault(), s.current || (f = r.triggerRef.current) == null || f.focus();
        }),
        onPointerDownOutside: ie(
          e.onPointerDownOutside,
          (u) => {
            const f = u.detail.originalEvent, g = f.button === 0 && f.ctrlKey === !0, p = f.button === 2 || g;
            s.current = p;
          },
          { checkForDefaultPrevented: !1 }
        ),
        onFocusOutside: ie(
          e.onFocusOutside,
          (u) => u.preventDefault(),
          { checkForDefaultPrevented: !1 }
        )
      }
    ) });
  }
), T5 = w.forwardRef(
  (e, n) => {
    const r = mr(Jo, e.__scopePopover), o = w.useRef(!1), l = w.useRef(!1);
    return /* @__PURE__ */ b.jsx(
      Gx,
      {
        ...e,
        ref: n,
        trapFocus: !1,
        disableOutsidePointerEvents: !1,
        onCloseAutoFocus: (s) => {
          var u, f;
          (u = e.onCloseAutoFocus) == null || u.call(e, s), s.defaultPrevented || (o.current || (f = r.triggerRef.current) == null || f.focus(), s.preventDefault()), o.current = !1, l.current = !1;
        },
        onInteractOutside: (s) => {
          var g, p;
          (g = e.onInteractOutside) == null || g.call(e, s), s.defaultPrevented || (o.current = !0, s.detail.originalEvent.type === "pointerdown" && (l.current = !0));
          const u = s.target;
          ((p = r.triggerRef.current) == null ? void 0 : p.contains(u)) && s.preventDefault(), s.detail.originalEvent.type === "focusin" && l.current && s.preventDefault();
        }
      }
    );
  }
), Gx = w.forwardRef(
  (e, n) => {
    const {
      __scopePopover: r,
      trapFocus: o,
      onOpenAutoFocus: l,
      onCloseAutoFocus: s,
      disableOutsidePointerEvents: u,
      onEscapeKeyDown: f,
      onPointerDownOutside: g,
      onFocusOutside: p,
      onInteractOutside: m,
      ...h
    } = e, S = mr(Jo, r), y = Rl(r);
    return Fg(), /* @__PURE__ */ b.jsx(
      js,
      {
        asChild: !0,
        loop: !0,
        trapped: o,
        onMountAutoFocus: l,
        onUnmountAutoFocus: s,
        children: /* @__PURE__ */ b.jsx(
          ri,
          {
            asChild: !0,
            disableOutsidePointerEvents: u,
            onInteractOutside: m,
            onEscapeKeyDown: f,
            onPointerDownOutside: g,
            onFocusOutside: p,
            onDismiss: () => S.onOpenChange(!1),
            children: /* @__PURE__ */ b.jsx(
              Zs,
              {
                "data-state": Yx(S.open),
                role: "dialog",
                id: S.contentId,
                ...y,
                ...h,
                ref: n,
                style: {
                  ...h.style,
                  "--radix-popover-content-transform-origin": "var(--radix-popper-transform-origin)",
                  "--radix-popover-content-available-width": "var(--radix-popper-available-width)",
                  "--radix-popover-content-available-height": "var(--radix-popper-available-height)",
                  "--radix-popover-trigger-width": "var(--radix-popper-anchor-width)",
                  "--radix-popover-trigger-height": "var(--radix-popper-anchor-height)"
                }
              }
            )
          }
        )
      }
    );
  }
), qx = "PopoverClose", A5 = w.forwardRef(
  (e, n) => {
    const { __scopePopover: r, ...o } = e, l = mr(qx, r);
    return /* @__PURE__ */ b.jsx(
      me.button,
      {
        type: "button",
        ...o,
        ref: n,
        onClick: ie(e.onClick, () => l.onOpenChange(!1))
      }
    );
  }
);
A5.displayName = qx;
var N5 = "PopoverArrow", O5 = w.forwardRef(
  (e, n) => {
    const { __scopePopover: r, ...o } = e, l = Rl(r);
    return /* @__PURE__ */ b.jsx(Gs, { ...l, ...o, ref: n });
  }
);
O5.displayName = N5;
function Yx(e) {
  return e ? "open" : "closed";
}
var D5 = Vx, M5 = Ux, j5 = Fx, Xx = Zx, ip = "Radio", [$5, Kx] = Bt(ip), [P5, L5] = $5(ip), Qx = w.forwardRef(
  (e, n) => {
    const {
      __scopeRadio: r,
      name: o,
      checked: l = !1,
      required: s,
      disabled: u,
      value: f = "on",
      onCheck: g,
      form: p,
      ...m
    } = e, [h, S] = w.useState(null), y = Te(n, (R) => S(R)), C = w.useRef(!1), k = h ? p || !!h.closest("form") : !0;
    return /* @__PURE__ */ b.jsxs(P5, { scope: r, checked: l, disabled: u, children: [
      /* @__PURE__ */ b.jsx(
        me.button,
        {
          type: "button",
          role: "radio",
          "aria-checked": l,
          "data-state": ty(l),
          "data-disabled": u ? "" : void 0,
          disabled: u,
          value: f,
          ...m,
          ref: y,
          onClick: ie(e.onClick, (R) => {
            l || g == null || g(), k && (C.current = R.isPropagationStopped(), C.current || R.stopPropagation());
          })
        }
      ),
      k && /* @__PURE__ */ b.jsx(
        ey,
        {
          control: h,
          bubbles: !C.current,
          name: o,
          value: f,
          checked: l,
          required: s,
          disabled: u,
          form: p,
          style: { transform: "translateX(-100%)" }
        }
      )
    ] });
  }
);
Qx.displayName = ip;
var Jx = "RadioIndicator", Wx = w.forwardRef(
  (e, n) => {
    const { __scopeRadio: r, forceMount: o, ...l } = e, s = L5(Jx, r);
    return /* @__PURE__ */ b.jsx(yn, { present: o || s.checked, children: /* @__PURE__ */ b.jsx(
      me.span,
      {
        "data-state": ty(s.checked),
        "data-disabled": s.disabled ? "" : void 0,
        ...l,
        ref: n
      }
    ) });
  }
);
Wx.displayName = Jx;
var H5 = "RadioBubbleInput", ey = w.forwardRef(
  ({
    __scopeRadio: e,
    control: n,
    checked: r,
    bubbles: o = !0,
    ...l
  }, s) => {
    const u = w.useRef(null), f = Te(u, s), g = yl(r), p = Sl(n);
    return w.useEffect(() => {
      const m = u.current;
      if (!m) return;
      const h = window.HTMLInputElement.prototype, y = Object.getOwnPropertyDescriptor(
        h,
        "checked"
      ).set;
      if (g !== r && y) {
        const C = new Event("click", { bubbles: o });
        y.call(m, r), m.dispatchEvent(C);
      }
    }, [g, r, o]), /* @__PURE__ */ b.jsx(
      me.input,
      {
        type: "radio",
        "aria-hidden": !0,
        defaultChecked: r,
        ...l,
        tabIndex: -1,
        ref: f,
        style: {
          ...l.style,
          ...p,
          position: "absolute",
          pointerEvents: "none",
          opacity: 0,
          margin: 0
        }
      }
    );
  }
);
ey.displayName = H5;
function ty(e) {
  return e ? "checked" : "unchecked";
}
var V5 = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], Js = "RadioGroup", [B5] = Bt(Js, [
  qs,
  Kx
]), ny = qs(), ay = Kx(), [I5, U5] = B5(Js), ry = w.forwardRef(
  (e, n) => {
    const {
      __scopeRadioGroup: r,
      name: o,
      defaultValue: l,
      value: s,
      required: u = !1,
      disabled: f = !1,
      orientation: g,
      dir: p,
      loop: m = !0,
      onValueChange: h,
      ...S
    } = e, y = ny(r), C = ai(p), [k, R] = qt({
      prop: s,
      defaultProp: l ?? null,
      onChange: h,
      caller: Js
    });
    return /* @__PURE__ */ b.jsx(
      I5,
      {
        scope: r,
        name: o,
        required: u,
        disabled: f,
        value: k,
        onValueChange: R,
        children: /* @__PURE__ */ b.jsx(
          Tx,
          {
            asChild: !0,
            ...y,
            orientation: g,
            dir: C,
            loop: m,
            children: /* @__PURE__ */ b.jsx(
              me.div,
              {
                role: "radiogroup",
                "aria-required": u,
                "aria-orientation": g,
                "data-disabled": f ? "" : void 0,
                dir: C,
                ...S,
                ref: n
              }
            )
          }
        )
      }
    );
  }
);
ry.displayName = Js;
var oy = "RadioGroupItem", iy = w.forwardRef(
  (e, n) => {
    const { __scopeRadioGroup: r, disabled: o, ...l } = e, s = U5(oy, r), u = s.disabled || o, f = ny(r), g = ay(r), p = w.useRef(null), m = Te(n, p), h = s.value === l.value, S = w.useRef(!1);
    return w.useEffect(() => {
      const y = (k) => {
        V5.includes(k.key) && (S.current = !0);
      }, C = () => S.current = !1;
      return document.addEventListener("keydown", y), document.addEventListener("keyup", C), () => {
        document.removeEventListener("keydown", y), document.removeEventListener("keyup", C);
      };
    }, []), /* @__PURE__ */ b.jsx(
      Ax,
      {
        asChild: !0,
        ...f,
        focusable: !u,
        active: h,
        children: /* @__PURE__ */ b.jsx(
          Qx,
          {
            disabled: u,
            required: s.required,
            checked: h,
            ...g,
            ...l,
            name: s.name,
            ref: m,
            onCheck: () => s.onValueChange(l.value),
            onKeyDown: ie((y) => {
              y.key === "Enter" && y.preventDefault();
            }),
            onFocus: ie(l.onFocus, () => {
              var y;
              S.current && ((y = p.current) == null || y.click());
            })
          }
        )
      }
    );
  }
);
iy.displayName = oy;
var F5 = "RadioGroupIndicator", ly = w.forwardRef(
  (e, n) => {
    const { __scopeRadioGroup: r, ...o } = e, l = ay(r);
    return /* @__PURE__ */ b.jsx(Wx, { ...l, ...o, ref: n });
  }
);
ly.displayName = F5;
var Z5 = ry, G5 = iy, q5 = ly;
// @__NO_SIDE_EFFECTS__
function Y5(e) {
  const n = /* @__PURE__ */ X5(e), r = w.forwardRef((o, l) => {
    const { children: s, ...u } = o, f = w.Children.toArray(s), g = f.find(Q5);
    if (g) {
      const p = g.props.children, m = f.map((h) => h === g ? w.Children.count(p) > 1 ? w.Children.only(null) : w.isValidElement(p) ? p.props.children : null : h);
      return /* @__PURE__ */ b.jsx(n, { ...u, ref: l, children: w.isValidElement(p) ? w.cloneElement(p, void 0, m) : null });
    }
    return /* @__PURE__ */ b.jsx(n, { ...u, ref: l, children: s });
  });
  return r.displayName = `${e}.Slot`, r;
}
// @__NO_SIDE_EFFECTS__
function X5(e) {
  const n = w.forwardRef((r, o) => {
    const { children: l, ...s } = r;
    if (w.isValidElement(l)) {
      const u = W5(l), f = J5(s, l.props);
      return l.type !== w.Fragment && (f.ref = o ? vr(o, u) : u), w.cloneElement(l, f);
    }
    return w.Children.count(l) > 1 ? w.Children.only(null) : null;
  });
  return n.displayName = `${e}.SlotClone`, n;
}
var K5 = Symbol("radix.slottable");
function Q5(e) {
  return w.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === K5;
}
function J5(e, n) {
  const r = { ...n };
  for (const o in n) {
    const l = e[o], s = n[o];
    /^on[A-Z]/.test(o) ? l && s ? r[o] = (...f) => {
      const g = s(...f);
      return l(...f), g;
    } : l && (r[o] = l) : o === "style" ? r[o] = { ...l, ...s } : o === "className" && (r[o] = [l, s].filter(Boolean).join(" "));
  }
  return { ...e, ...r };
}
function W5(e) {
  var o, l;
  let n = (o = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : o.get, r = n && "isReactWarning" in n && n.isReactWarning;
  return r ? e.ref : (n = (l = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : l.get, r = n && "isReactWarning" in n && n.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
}
var eT = [" ", "Enter", "ArrowUp", "ArrowDown"], tT = [" ", "Enter"], Kr = "Select", [Ws, eu, nT] = Ns(Kr), [li] = Bt(Kr, [
  nT,
  hr
]), tu = hr(), [aT, wr] = li(Kr), [rT, oT] = li(Kr), cy = (e) => {
  const {
    __scopeSelect: n,
    children: r,
    open: o,
    defaultOpen: l,
    onOpenChange: s,
    value: u,
    defaultValue: f,
    onValueChange: g,
    dir: p,
    name: m,
    autoComplete: h,
    disabled: S,
    required: y,
    form: C
  } = e, k = tu(n), [R, E] = w.useState(null), [z, T] = w.useState(null), [N, $] = w.useState(!1), U = ai(p), [q, F] = qt({
    prop: o,
    defaultProp: l ?? !1,
    onChange: s,
    caller: Kr
  }), [ee, Q] = qt({
    prop: u,
    defaultProp: f,
    onChange: g,
    caller: Kr
  }), J = w.useRef(null), te = R ? C || !!R.closest("form") : !0, [re, le] = w.useState(/* @__PURE__ */ new Set()), pe = Array.from(re).map((O) => O.props.value).join(";");
  return /* @__PURE__ */ b.jsx(Fs, { ...k, children: /* @__PURE__ */ b.jsxs(
    aT,
    {
      required: y,
      scope: n,
      trigger: R,
      onTriggerChange: E,
      valueNode: z,
      onValueNodeChange: T,
      valueNodeHasChildren: N,
      onValueNodeHasChildrenChange: $,
      contentId: Mn(),
      value: ee,
      onValueChange: Q,
      open: q,
      onOpenChange: F,
      dir: U,
      triggerPointerDownPosRef: J,
      disabled: S,
      children: [
        /* @__PURE__ */ b.jsx(Ws.Provider, { scope: n, children: /* @__PURE__ */ b.jsx(
          rT,
          {
            scope: e.__scopeSelect,
            onNativeOptionAdd: w.useCallback((O) => {
              le((B) => new Set(B).add(O));
            }, []),
            onNativeOptionRemove: w.useCallback((O) => {
              le((B) => {
                const j = new Set(B);
                return j.delete(O), j;
              });
            }, []),
            children: r
          }
        ) }),
        te ? /* @__PURE__ */ b.jsxs(
          Ay,
          {
            "aria-hidden": !0,
            required: y,
            tabIndex: -1,
            name: m,
            autoComplete: h,
            value: ee,
            onChange: (O) => Q(O.target.value),
            disabled: S,
            form: C,
            children: [
              ee === void 0 ? /* @__PURE__ */ b.jsx("option", { value: "" }) : null,
              Array.from(re)
            ]
          },
          pe
        ) : null
      ]
    }
  ) });
};
cy.displayName = Kr;
var sy = "SelectTrigger", uy = w.forwardRef(
  (e, n) => {
    const { __scopeSelect: r, disabled: o = !1, ...l } = e, s = tu(r), u = wr(sy, r), f = u.disabled || o, g = Te(n, u.onTriggerChange), p = eu(r), m = w.useRef("touch"), [h, S, y] = Oy((k) => {
      const R = p().filter((T) => !T.disabled), E = R.find((T) => T.value === u.value), z = Dy(R, k, E);
      z !== void 0 && u.onValueChange(z.value);
    }), C = (k) => {
      f || (u.onOpenChange(!0), y()), k && (u.triggerPointerDownPosRef.current = {
        x: Math.round(k.pageX),
        y: Math.round(k.pageY)
      });
    };
    return /* @__PURE__ */ b.jsx(Cl, { asChild: !0, ...s, children: /* @__PURE__ */ b.jsx(
      me.button,
      {
        type: "button",
        role: "combobox",
        "aria-controls": u.contentId,
        "aria-expanded": u.open,
        "aria-required": u.required,
        "aria-autocomplete": "none",
        dir: u.dir,
        "data-state": u.open ? "open" : "closed",
        disabled: f,
        "data-disabled": f ? "" : void 0,
        "data-placeholder": Ny(u.value) ? "" : void 0,
        ...l,
        ref: g,
        onClick: ie(l.onClick, (k) => {
          k.currentTarget.focus(), m.current !== "mouse" && C(k);
        }),
        onPointerDown: ie(l.onPointerDown, (k) => {
          m.current = k.pointerType;
          const R = k.target;
          R.hasPointerCapture(k.pointerId) && R.releasePointerCapture(k.pointerId), k.button === 0 && k.ctrlKey === !1 && k.pointerType === "mouse" && (C(k), k.preventDefault());
        }),
        onKeyDown: ie(l.onKeyDown, (k) => {
          const R = h.current !== "";
          !(k.ctrlKey || k.altKey || k.metaKey) && k.key.length === 1 && S(k.key), !(R && k.key === " ") && eT.includes(k.key) && (C(), k.preventDefault());
        })
      }
    ) });
  }
);
uy.displayName = sy;
var dy = "SelectValue", fy = w.forwardRef(
  (e, n) => {
    const { __scopeSelect: r, className: o, style: l, children: s, placeholder: u = "", ...f } = e, g = wr(dy, r), { onValueNodeHasChildrenChange: p } = g, m = s !== void 0, h = Te(n, g.onValueNodeChange);
    return jt(() => {
      p(m);
    }, [p, m]), /* @__PURE__ */ b.jsx(
      me.span,
      {
        ...f,
        ref: h,
        style: { pointerEvents: "none" },
        children: Ny(g.value) ? /* @__PURE__ */ b.jsx(b.Fragment, { children: u }) : s
      }
    );
  }
);
fy.displayName = dy;
var iT = "SelectIcon", gy = w.forwardRef(
  (e, n) => {
    const { __scopeSelect: r, children: o, ...l } = e;
    return /* @__PURE__ */ b.jsx(me.span, { "aria-hidden": !0, ...l, ref: n, children: o || "▼" });
  }
);
gy.displayName = iT;
var lT = "SelectPortal", py = (e) => /* @__PURE__ */ b.jsx(xl, { asChild: !0, ...e });
py.displayName = lT;
var Qr = "SelectContent", vy = w.forwardRef(
  (e, n) => {
    const r = wr(Qr, e.__scopeSelect), [o, l] = w.useState();
    if (jt(() => {
      l(new DocumentFragment());
    }, []), !r.open) {
      const s = o;
      return s ? bl.createPortal(
        /* @__PURE__ */ b.jsx(hy, { scope: e.__scopeSelect, children: /* @__PURE__ */ b.jsx(Ws.Slot, { scope: e.__scopeSelect, children: /* @__PURE__ */ b.jsx("div", { children: e.children }) }) }),
        s
      ) : null;
    }
    return /* @__PURE__ */ b.jsx(my, { ...e, ref: n });
  }
);
vy.displayName = Qr;
var Un = 10, [hy, br] = li(Qr), cT = "SelectContentImpl", sT = /* @__PURE__ */ Y5("SelectContent.RemoveScroll"), my = w.forwardRef(
  (e, n) => {
    const {
      __scopeSelect: r,
      position: o = "item-aligned",
      onCloseAutoFocus: l,
      onEscapeKeyDown: s,
      onPointerDownOutside: u,
      //
      // PopperContent props
      side: f,
      sideOffset: g,
      align: p,
      alignOffset: m,
      arrowPadding: h,
      collisionBoundary: S,
      collisionPadding: y,
      sticky: C,
      hideWhenDetached: k,
      avoidCollisions: R,
      //
      ...E
    } = e, z = wr(Qr, r), [T, N] = w.useState(null), [$, U] = w.useState(null), q = Te(n, (oe) => N(oe)), [F, ee] = w.useState(null), [Q, J] = w.useState(
      null
    ), te = eu(r), [re, le] = w.useState(!1), pe = w.useRef(!1);
    w.useEffect(() => {
      if (T) return Zg(T);
    }, [T]), Fg();
    const O = w.useCallback(
      (oe) => {
        const [ve, ...Ve] = te().map((Re) => Re.ref.current), [Ne] = Ve.slice(-1), Ee = document.activeElement;
        for (const Re of oe)
          if (Re === Ee || (Re == null || Re.scrollIntoView({ block: "nearest" }), Re === ve && $ && ($.scrollTop = 0), Re === Ne && $ && ($.scrollTop = $.scrollHeight), Re == null || Re.focus(), document.activeElement !== Ee)) return;
      },
      [te, $]
    ), B = w.useCallback(
      () => O([F, T]),
      [O, F, T]
    );
    w.useEffect(() => {
      re && B();
    }, [re, B]);
    const { onOpenChange: j, triggerPointerDownPosRef: ce } = z;
    w.useEffect(() => {
      if (T) {
        let oe = { x: 0, y: 0 };
        const ve = (Ne) => {
          var Ee, Re;
          oe = {
            x: Math.abs(Math.round(Ne.pageX) - (((Ee = ce.current) == null ? void 0 : Ee.x) ?? 0)),
            y: Math.abs(Math.round(Ne.pageY) - (((Re = ce.current) == null ? void 0 : Re.y) ?? 0))
          };
        }, Ve = (Ne) => {
          oe.x <= 10 && oe.y <= 10 ? Ne.preventDefault() : T.contains(Ne.target) || j(!1), document.removeEventListener("pointermove", ve), ce.current = null;
        };
        return ce.current !== null && (document.addEventListener("pointermove", ve), document.addEventListener("pointerup", Ve, { capture: !0, once: !0 })), () => {
          document.removeEventListener("pointermove", ve), document.removeEventListener("pointerup", Ve, { capture: !0 });
        };
      }
    }, [T, j, ce]), w.useEffect(() => {
      const oe = () => j(!1);
      return window.addEventListener("blur", oe), window.addEventListener("resize", oe), () => {
        window.removeEventListener("blur", oe), window.removeEventListener("resize", oe);
      };
    }, [j]);
    const [we, Pe] = Oy((oe) => {
      const ve = te().filter((Ee) => !Ee.disabled), Ve = ve.find((Ee) => Ee.ref.current === document.activeElement), Ne = Dy(ve, oe, Ve);
      Ne && setTimeout(() => Ne.ref.current.focus());
    }), Me = w.useCallback(
      (oe, ve, Ve) => {
        const Ne = !pe.current && !Ve;
        (z.value !== void 0 && z.value === ve || Ne) && (ee(oe), Ne && (pe.current = !0));
      },
      [z.value]
    ), ne = w.useCallback(() => T == null ? void 0 : T.focus(), [T]), fe = w.useCallback(
      (oe, ve, Ve) => {
        const Ne = !pe.current && !Ve;
        (z.value !== void 0 && z.value === ve || Ne) && J(oe);
      },
      [z.value]
    ), _e = o === "popper" ? dg : wy, Fe = _e === dg ? {
      side: f,
      sideOffset: g,
      align: p,
      alignOffset: m,
      arrowPadding: h,
      collisionBoundary: S,
      collisionPadding: y,
      sticky: C,
      hideWhenDetached: k,
      avoidCollisions: R
    } : {};
    return /* @__PURE__ */ b.jsx(
      hy,
      {
        scope: r,
        content: T,
        viewport: $,
        onViewportChange: U,
        itemRefCallback: Me,
        selectedItem: F,
        onItemLeave: ne,
        itemTextRefCallback: fe,
        focusSelectedItem: B,
        selectedItemText: Q,
        position: o,
        isPositioned: re,
        searchRef: we,
        children: /* @__PURE__ */ b.jsx(Ps, { as: sT, allowPinchZoom: !0, children: /* @__PURE__ */ b.jsx(
          js,
          {
            asChild: !0,
            trapped: z.open,
            onMountAutoFocus: (oe) => {
              oe.preventDefault();
            },
            onUnmountAutoFocus: ie(l, (oe) => {
              var ve;
              (ve = z.trigger) == null || ve.focus({ preventScroll: !0 }), oe.preventDefault();
            }),
            children: /* @__PURE__ */ b.jsx(
              ri,
              {
                asChild: !0,
                disableOutsidePointerEvents: !0,
                onEscapeKeyDown: s,
                onPointerDownOutside: u,
                onFocusOutside: (oe) => oe.preventDefault(),
                onDismiss: () => z.onOpenChange(!1),
                children: /* @__PURE__ */ b.jsx(
                  _e,
                  {
                    role: "listbox",
                    id: z.contentId,
                    "data-state": z.open ? "open" : "closed",
                    dir: z.dir,
                    onContextMenu: (oe) => oe.preventDefault(),
                    ...E,
                    ...Fe,
                    onPlaced: () => le(!0),
                    ref: q,
                    style: {
                      // flex layout so we can place the scroll buttons properly
                      display: "flex",
                      flexDirection: "column",
                      // reset the outline by default as the content MAY get focused
                      outline: "none",
                      ...E.style
                    },
                    onKeyDown: ie(E.onKeyDown, (oe) => {
                      const ve = oe.ctrlKey || oe.altKey || oe.metaKey;
                      if (oe.key === "Tab" && oe.preventDefault(), !ve && oe.key.length === 1 && Pe(oe.key), ["ArrowUp", "ArrowDown", "Home", "End"].includes(oe.key)) {
                        let Ne = te().filter((Ee) => !Ee.disabled).map((Ee) => Ee.ref.current);
                        if (["ArrowUp", "End"].includes(oe.key) && (Ne = Ne.slice().reverse()), ["ArrowUp", "ArrowDown"].includes(oe.key)) {
                          const Ee = oe.target, Re = Ne.indexOf(Ee);
                          Ne = Ne.slice(Re + 1);
                        }
                        setTimeout(() => O(Ne)), oe.preventDefault();
                      }
                    })
                  }
                )
              }
            )
          }
        ) })
      }
    );
  }
);
my.displayName = cT;
var uT = "SelectItemAlignedPosition", wy = w.forwardRef((e, n) => {
  const { __scopeSelect: r, onPlaced: o, ...l } = e, s = wr(Qr, r), u = br(Qr, r), [f, g] = w.useState(null), [p, m] = w.useState(null), h = Te(n, (q) => m(q)), S = eu(r), y = w.useRef(!1), C = w.useRef(!0), { viewport: k, selectedItem: R, selectedItemText: E, focusSelectedItem: z } = u, T = w.useCallback(() => {
    if (s.trigger && s.valueNode && f && p && k && R && E) {
      const q = s.trigger.getBoundingClientRect(), F = p.getBoundingClientRect(), ee = s.valueNode.getBoundingClientRect(), Q = E.getBoundingClientRect();
      if (s.dir !== "rtl") {
        const Ee = Q.left - F.left, Re = ee.left - Ee, Ct = q.left - Re, ut = q.width + Ct, Pn = Math.max(ut, F.width), kn = window.innerWidth - Un, un = ws(Re, [
          Un,
          // Prevents the content from going off the starting edge of the
          // viewport. It may still go off the ending edge, but this can be
          // controlled by the user since they may want to manage overflow in a
          // specific way.
          // https://github.com/radix-ui/primitives/issues/2049
          Math.max(Un, kn - Pn)
        ]);
        f.style.minWidth = ut + "px", f.style.left = un + "px";
      } else {
        const Ee = F.right - Q.right, Re = window.innerWidth - ee.right - Ee, Ct = window.innerWidth - q.right - Re, ut = q.width + Ct, Pn = Math.max(ut, F.width), kn = window.innerWidth - Un, un = ws(Re, [
          Un,
          Math.max(Un, kn - Pn)
        ]);
        f.style.minWidth = ut + "px", f.style.right = un + "px";
      }
      const J = S(), te = window.innerHeight - Un * 2, re = k.scrollHeight, le = window.getComputedStyle(p), pe = parseInt(le.borderTopWidth, 10), O = parseInt(le.paddingTop, 10), B = parseInt(le.borderBottomWidth, 10), j = parseInt(le.paddingBottom, 10), ce = pe + O + re + j + B, we = Math.min(R.offsetHeight * 5, ce), Pe = window.getComputedStyle(k), Me = parseInt(Pe.paddingTop, 10), ne = parseInt(Pe.paddingBottom, 10), fe = q.top + q.height / 2 - Un, _e = te - fe, Fe = R.offsetHeight / 2, oe = R.offsetTop + Fe, ve = pe + O + oe, Ve = ce - ve;
      if (ve <= fe) {
        const Ee = J.length > 0 && R === J[J.length - 1].ref.current;
        f.style.bottom = "0px";
        const Re = p.clientHeight - k.offsetTop - k.offsetHeight, Ct = Math.max(
          _e,
          Fe + // viewport might have padding bottom, include it to avoid a scrollable viewport
          (Ee ? ne : 0) + Re + B
        ), ut = ve + Ct;
        f.style.height = ut + "px";
      } else {
        const Ee = J.length > 0 && R === J[0].ref.current;
        f.style.top = "0px";
        const Ct = Math.max(
          fe,
          pe + k.offsetTop + // viewport might have padding top, include it to avoid a scrollable viewport
          (Ee ? Me : 0) + Fe
        ) + Ve;
        f.style.height = Ct + "px", k.scrollTop = ve - fe + k.offsetTop;
      }
      f.style.margin = `${Un}px 0`, f.style.minHeight = we + "px", f.style.maxHeight = te + "px", o == null || o(), requestAnimationFrame(() => y.current = !0);
    }
  }, [
    S,
    s.trigger,
    s.valueNode,
    f,
    p,
    k,
    R,
    E,
    s.dir,
    o
  ]);
  jt(() => T(), [T]);
  const [N, $] = w.useState();
  jt(() => {
    p && $(window.getComputedStyle(p).zIndex);
  }, [p]);
  const U = w.useCallback(
    (q) => {
      q && C.current === !0 && (T(), z == null || z(), C.current = !1);
    },
    [T, z]
  );
  return /* @__PURE__ */ b.jsx(
    fT,
    {
      scope: r,
      contentWrapper: f,
      shouldExpandOnScrollRef: y,
      onScrollButtonChange: U,
      children: /* @__PURE__ */ b.jsx(
        "div",
        {
          ref: g,
          style: {
            display: "flex",
            flexDirection: "column",
            position: "fixed",
            zIndex: N
          },
          children: /* @__PURE__ */ b.jsx(
            me.div,
            {
              ...l,
              ref: h,
              style: {
                // When we get the height of the content, it includes borders. If we were to set
                // the height without having `boxSizing: 'border-box'` it would be too big.
                boxSizing: "border-box",
                // We need to ensure the content doesn't get taller than the wrapper
                maxHeight: "100%",
                ...l.style
              }
            }
          )
        }
      )
    }
  );
});
wy.displayName = uT;
var dT = "SelectPopperPosition", dg = w.forwardRef((e, n) => {
  const {
    __scopeSelect: r,
    align: o = "start",
    collisionPadding: l = Un,
    ...s
  } = e, u = tu(r);
  return /* @__PURE__ */ b.jsx(
    Zs,
    {
      ...u,
      ...s,
      ref: n,
      align: o,
      collisionPadding: l,
      style: {
        // Ensure border-box for floating-ui calculations
        boxSizing: "border-box",
        ...s.style,
        "--radix-select-content-transform-origin": "var(--radix-popper-transform-origin)",
        "--radix-select-content-available-width": "var(--radix-popper-available-width)",
        "--radix-select-content-available-height": "var(--radix-popper-available-height)",
        "--radix-select-trigger-width": "var(--radix-popper-anchor-width)",
        "--radix-select-trigger-height": "var(--radix-popper-anchor-height)"
      }
    }
  );
});
dg.displayName = dT;
var [fT, lp] = li(Qr, {}), fg = "SelectViewport", by = w.forwardRef(
  (e, n) => {
    const { __scopeSelect: r, nonce: o, ...l } = e, s = br(fg, r), u = lp(fg, r), f = Te(n, s.onViewportChange), g = w.useRef(0);
    return /* @__PURE__ */ b.jsxs(b.Fragment, { children: [
      /* @__PURE__ */ b.jsx(
        "style",
        {
          dangerouslySetInnerHTML: {
            __html: "[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"
          },
          nonce: o
        }
      ),
      /* @__PURE__ */ b.jsx(Ws.Slot, { scope: r, children: /* @__PURE__ */ b.jsx(
        me.div,
        {
          "data-radix-select-viewport": "",
          role: "presentation",
          ...l,
          ref: f,
          style: {
            // we use position: 'relative' here on the `viewport` so that when we call
            // `selectedItem.offsetTop` in calculations, the offset is relative to the viewport
            // (independent of the scrollUpButton).
            position: "relative",
            flex: 1,
            // Viewport should only be scrollable in the vertical direction.
            // This won't work in vertical writing modes, so we'll need to
            // revisit this if/when that is supported
            // https://developer.chrome.com/blog/vertical-form-controls
            overflow: "hidden auto",
            ...l.style
          },
          onScroll: ie(l.onScroll, (p) => {
            const m = p.currentTarget, { contentWrapper: h, shouldExpandOnScrollRef: S } = u;
            if (S != null && S.current && h) {
              const y = Math.abs(g.current - m.scrollTop);
              if (y > 0) {
                const C = window.innerHeight - Un * 2, k = parseFloat(h.style.minHeight), R = parseFloat(h.style.height), E = Math.max(k, R);
                if (E < C) {
                  const z = E + y, T = Math.min(C, z), N = z - T;
                  h.style.height = T + "px", h.style.bottom === "0px" && (m.scrollTop = N > 0 ? N : 0, h.style.justifyContent = "flex-end");
                }
              }
            }
            g.current = m.scrollTop;
          })
        }
      ) })
    ] });
  }
);
by.displayName = fg;
var xy = "SelectGroup", [gT, pT] = li(xy), vT = w.forwardRef(
  (e, n) => {
    const { __scopeSelect: r, ...o } = e, l = Mn();
    return /* @__PURE__ */ b.jsx(gT, { scope: r, id: l, children: /* @__PURE__ */ b.jsx(me.div, { role: "group", "aria-labelledby": l, ...o, ref: n }) });
  }
);
vT.displayName = xy;
var yy = "SelectLabel", hT = w.forwardRef(
  (e, n) => {
    const { __scopeSelect: r, ...o } = e, l = pT(yy, r);
    return /* @__PURE__ */ b.jsx(me.div, { id: l.id, ...o, ref: n });
  }
);
hT.displayName = yy;
var bs = "SelectItem", [mT, Sy] = li(bs), ky = w.forwardRef(
  (e, n) => {
    const {
      __scopeSelect: r,
      value: o,
      disabled: l = !1,
      textValue: s,
      ...u
    } = e, f = wr(bs, r), g = br(bs, r), p = f.value === o, [m, h] = w.useState(s ?? ""), [S, y] = w.useState(!1), C = Te(
      n,
      (z) => {
        var T;
        return (T = g.itemRefCallback) == null ? void 0 : T.call(g, z, o, l);
      }
    ), k = Mn(), R = w.useRef("touch"), E = () => {
      l || (f.onValueChange(o), f.onOpenChange(!1));
    };
    if (o === "")
      throw new Error(
        "A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder."
      );
    return /* @__PURE__ */ b.jsx(
      mT,
      {
        scope: r,
        value: o,
        disabled: l,
        textId: k,
        isSelected: p,
        onItemTextChange: w.useCallback((z) => {
          h((T) => T || ((z == null ? void 0 : z.textContent) ?? "").trim());
        }, []),
        children: /* @__PURE__ */ b.jsx(
          Ws.ItemSlot,
          {
            scope: r,
            value: o,
            disabled: l,
            textValue: m,
            children: /* @__PURE__ */ b.jsx(
              me.div,
              {
                role: "option",
                "aria-labelledby": k,
                "data-highlighted": S ? "" : void 0,
                "aria-selected": p && S,
                "data-state": p ? "checked" : "unchecked",
                "aria-disabled": l || void 0,
                "data-disabled": l ? "" : void 0,
                tabIndex: l ? void 0 : -1,
                ...u,
                ref: C,
                onFocus: ie(u.onFocus, () => y(!0)),
                onBlur: ie(u.onBlur, () => y(!1)),
                onClick: ie(u.onClick, () => {
                  R.current !== "mouse" && E();
                }),
                onPointerUp: ie(u.onPointerUp, () => {
                  R.current === "mouse" && E();
                }),
                onPointerDown: ie(u.onPointerDown, (z) => {
                  R.current = z.pointerType;
                }),
                onPointerMove: ie(u.onPointerMove, (z) => {
                  var T;
                  R.current = z.pointerType, l ? (T = g.onItemLeave) == null || T.call(g) : R.current === "mouse" && z.currentTarget.focus({ preventScroll: !0 });
                }),
                onPointerLeave: ie(u.onPointerLeave, (z) => {
                  var T;
                  z.currentTarget === document.activeElement && ((T = g.onItemLeave) == null || T.call(g));
                }),
                onKeyDown: ie(u.onKeyDown, (z) => {
                  var N;
                  ((N = g.searchRef) == null ? void 0 : N.current) !== "" && z.key === " " || (tT.includes(z.key) && E(), z.key === " " && z.preventDefault());
                })
              }
            )
          }
        )
      }
    );
  }
);
ky.displayName = bs;
var ul = "SelectItemText", Cy = w.forwardRef(
  (e, n) => {
    const { __scopeSelect: r, className: o, style: l, ...s } = e, u = wr(ul, r), f = br(ul, r), g = Sy(ul, r), p = oT(ul, r), [m, h] = w.useState(null), S = Te(
      n,
      (E) => h(E),
      g.onItemTextChange,
      (E) => {
        var z;
        return (z = f.itemTextRefCallback) == null ? void 0 : z.call(f, E, g.value, g.disabled);
      }
    ), y = m == null ? void 0 : m.textContent, C = w.useMemo(
      () => /* @__PURE__ */ b.jsx("option", { value: g.value, disabled: g.disabled, children: y }, g.value),
      [g.disabled, g.value, y]
    ), { onNativeOptionAdd: k, onNativeOptionRemove: R } = p;
    return jt(() => (k(C), () => R(C)), [k, R, C]), /* @__PURE__ */ b.jsxs(b.Fragment, { children: [
      /* @__PURE__ */ b.jsx(me.span, { id: g.textId, ...s, ref: S }),
      g.isSelected && u.valueNode && !u.valueNodeHasChildren ? bl.createPortal(s.children, u.valueNode) : null
    ] });
  }
);
Cy.displayName = ul;
var _y = "SelectItemIndicator", Ry = w.forwardRef(
  (e, n) => {
    const { __scopeSelect: r, ...o } = e;
    return Sy(_y, r).isSelected ? /* @__PURE__ */ b.jsx(me.span, { "aria-hidden": !0, ...o, ref: n }) : null;
  }
);
Ry.displayName = _y;
var gg = "SelectScrollUpButton", Ey = w.forwardRef((e, n) => {
  const r = br(gg, e.__scopeSelect), o = lp(gg, e.__scopeSelect), [l, s] = w.useState(!1), u = Te(n, o.onScrollButtonChange);
  return jt(() => {
    if (r.viewport && r.isPositioned) {
      let f = function() {
        const p = g.scrollTop > 0;
        s(p);
      };
      const g = r.viewport;
      return f(), g.addEventListener("scroll", f), () => g.removeEventListener("scroll", f);
    }
  }, [r.viewport, r.isPositioned]), l ? /* @__PURE__ */ b.jsx(
    Ty,
    {
      ...e,
      ref: u,
      onAutoScroll: () => {
        const { viewport: f, selectedItem: g } = r;
        f && g && (f.scrollTop = f.scrollTop - g.offsetHeight);
      }
    }
  ) : null;
});
Ey.displayName = gg;
var pg = "SelectScrollDownButton", zy = w.forwardRef((e, n) => {
  const r = br(pg, e.__scopeSelect), o = lp(pg, e.__scopeSelect), [l, s] = w.useState(!1), u = Te(n, o.onScrollButtonChange);
  return jt(() => {
    if (r.viewport && r.isPositioned) {
      let f = function() {
        const p = g.scrollHeight - g.clientHeight, m = Math.ceil(g.scrollTop) < p;
        s(m);
      };
      const g = r.viewport;
      return f(), g.addEventListener("scroll", f), () => g.removeEventListener("scroll", f);
    }
  }, [r.viewport, r.isPositioned]), l ? /* @__PURE__ */ b.jsx(
    Ty,
    {
      ...e,
      ref: u,
      onAutoScroll: () => {
        const { viewport: f, selectedItem: g } = r;
        f && g && (f.scrollTop = f.scrollTop + g.offsetHeight);
      }
    }
  ) : null;
});
zy.displayName = pg;
var Ty = w.forwardRef((e, n) => {
  const { __scopeSelect: r, onAutoScroll: o, ...l } = e, s = br("SelectScrollButton", r), u = w.useRef(null), f = eu(r), g = w.useCallback(() => {
    u.current !== null && (window.clearInterval(u.current), u.current = null);
  }, []);
  return w.useEffect(() => () => g(), [g]), jt(() => {
    var m;
    const p = f().find((h) => h.ref.current === document.activeElement);
    (m = p == null ? void 0 : p.ref.current) == null || m.scrollIntoView({ block: "nearest" });
  }, [f]), /* @__PURE__ */ b.jsx(
    me.div,
    {
      "aria-hidden": !0,
      ...l,
      ref: n,
      style: { flexShrink: 0, ...l.style },
      onPointerDown: ie(l.onPointerDown, () => {
        u.current === null && (u.current = window.setInterval(o, 50));
      }),
      onPointerMove: ie(l.onPointerMove, () => {
        var p;
        (p = s.onItemLeave) == null || p.call(s), u.current === null && (u.current = window.setInterval(o, 50));
      }),
      onPointerLeave: ie(l.onPointerLeave, () => {
        g();
      })
    }
  );
}), wT = "SelectSeparator", bT = w.forwardRef(
  (e, n) => {
    const { __scopeSelect: r, ...o } = e;
    return /* @__PURE__ */ b.jsx(me.div, { "aria-hidden": !0, ...o, ref: n });
  }
);
bT.displayName = wT;
var vg = "SelectArrow", xT = w.forwardRef(
  (e, n) => {
    const { __scopeSelect: r, ...o } = e, l = tu(r), s = wr(vg, r), u = br(vg, r);
    return s.open && u.position === "popper" ? /* @__PURE__ */ b.jsx(Gs, { ...l, ...o, ref: n }) : null;
  }
);
xT.displayName = vg;
var yT = "SelectBubbleInput", Ay = w.forwardRef(
  ({ __scopeSelect: e, value: n, ...r }, o) => {
    const l = w.useRef(null), s = Te(o, l), u = yl(n);
    return w.useEffect(() => {
      const f = l.current;
      if (!f) return;
      const g = window.HTMLSelectElement.prototype, m = Object.getOwnPropertyDescriptor(
        g,
        "value"
      ).set;
      if (u !== n && m) {
        const h = new Event("change", { bubbles: !0 });
        m.call(f, n), f.dispatchEvent(h);
      }
    }, [u, n]), /* @__PURE__ */ b.jsx(
      me.select,
      {
        ...r,
        style: { ...Jb, ...r.style },
        ref: s,
        defaultValue: n
      }
    );
  }
);
Ay.displayName = yT;
function Ny(e) {
  return e === "" || e === void 0;
}
function Oy(e) {
  const n = sr(e), r = w.useRef(""), o = w.useRef(0), l = w.useCallback(
    (u) => {
      const f = r.current + u;
      n(f), (function g(p) {
        r.current = p, window.clearTimeout(o.current), p !== "" && (o.current = window.setTimeout(() => g(""), 1e3));
      })(f);
    },
    [n]
  ), s = w.useCallback(() => {
    r.current = "", window.clearTimeout(o.current);
  }, []);
  return w.useEffect(() => () => window.clearTimeout(o.current), []), [r, l, s];
}
function Dy(e, n, r) {
  const l = n.length > 1 && Array.from(n).every((p) => p === n[0]) ? n[0] : n, s = r ? e.indexOf(r) : -1;
  let u = ST(e, Math.max(s, 0));
  l.length === 1 && (u = u.filter((p) => p !== r));
  const g = u.find(
    (p) => p.textValue.toLowerCase().startsWith(l.toLowerCase())
  );
  return g !== r ? g : void 0;
}
function ST(e, n) {
  return e.map((r, o) => e[(n + o) % e.length]);
}
var kT = cy, CT = uy, _T = fy, RT = gy, ET = py, zT = vy, TT = by, AT = ky, NT = Cy, OT = Ry, DT = Ey, MT = zy, jT = "Separator", lb = "horizontal", $T = ["horizontal", "vertical"], My = w.forwardRef((e, n) => {
  const { decorative: r, orientation: o = lb, ...l } = e, s = PT(o) ? o : lb, f = r ? { role: "none" } : { "aria-orientation": s === "vertical" ? s : void 0, role: "separator" };
  return /* @__PURE__ */ b.jsx(
    me.div,
    {
      "data-orientation": s,
      ...f,
      ...l,
      ref: n
    }
  );
});
My.displayName = jT;
function PT(e) {
  return $T.includes(e);
}
var LT = My, jy = ["PageUp", "PageDown"], $y = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], Py = {
  "from-left": ["Home", "PageDown", "ArrowDown", "ArrowLeft"],
  "from-right": ["Home", "PageDown", "ArrowDown", "ArrowRight"],
  "from-bottom": ["Home", "PageDown", "ArrowDown", "ArrowLeft"],
  "from-top": ["Home", "PageDown", "ArrowUp", "ArrowLeft"]
}, ci = "Slider", [hg, HT, VT] = Ns(ci), [Ly] = Bt(ci, [
  VT
]), [BT, nu] = Ly(ci), Hy = w.forwardRef(
  (e, n) => {
    const {
      name: r,
      min: o = 0,
      max: l = 100,
      step: s = 1,
      orientation: u = "horizontal",
      disabled: f = !1,
      minStepsBetweenThumbs: g = 0,
      defaultValue: p = [o],
      value: m,
      onValueChange: h = () => {
      },
      onValueCommit: S = () => {
      },
      inverted: y = !1,
      form: C,
      ...k
    } = e, R = w.useRef(/* @__PURE__ */ new Set()), E = w.useRef(0), T = u === "horizontal" ? IT : UT, [N = [], $] = qt({
      prop: m,
      defaultProp: p,
      onChange: (J) => {
        var re;
        (re = [...R.current][E.current]) == null || re.focus(), h(J);
      }
    }), U = w.useRef(N);
    function q(J) {
      const te = YT(N, J);
      Q(J, te);
    }
    function F(J) {
      Q(J, E.current);
    }
    function ee() {
      const J = U.current[E.current];
      N[E.current] !== J && S(N);
    }
    function Q(J, te, { commit: re } = { commit: !1 }) {
      const le = JT(s), pe = WT(Math.round((J - o) / s) * s + o, le), O = ws(pe, [o, l]);
      $((B = []) => {
        const j = GT(B, O, te);
        if (QT(j, g * s)) {
          E.current = j.indexOf(O);
          const ce = String(j) !== String(B);
          return ce && re && S(j), ce ? j : B;
        } else
          return B;
      });
    }
    return /* @__PURE__ */ b.jsx(
      BT,
      {
        scope: e.__scopeSlider,
        name: r,
        disabled: f,
        min: o,
        max: l,
        valueIndexToChangeRef: E,
        thumbs: R.current,
        values: N,
        orientation: u,
        form: C,
        children: /* @__PURE__ */ b.jsx(hg.Provider, { scope: e.__scopeSlider, children: /* @__PURE__ */ b.jsx(hg.Slot, { scope: e.__scopeSlider, children: /* @__PURE__ */ b.jsx(
          T,
          {
            "aria-disabled": f,
            "data-disabled": f ? "" : void 0,
            ...k,
            ref: n,
            onPointerDown: ie(k.onPointerDown, () => {
              f || (U.current = N);
            }),
            min: o,
            max: l,
            inverted: y,
            onSlideStart: f ? void 0 : q,
            onSlideMove: f ? void 0 : F,
            onSlideEnd: f ? void 0 : ee,
            onHomeKeyDown: () => !f && Q(o, 0, { commit: !0 }),
            onEndKeyDown: () => !f && Q(l, N.length - 1, { commit: !0 }),
            onStepKeyDown: ({ event: J, direction: te }) => {
              if (!f) {
                const pe = jy.includes(J.key) || J.shiftKey && $y.includes(J.key) ? 10 : 1, O = E.current, B = N[O], j = s * pe * te;
                Q(B + j, O, { commit: !0 });
              }
            }
          }
        ) }) })
      }
    );
  }
);
Hy.displayName = ci;
var [Vy, By] = Ly(ci, {
  startEdge: "left",
  endEdge: "right",
  size: "width",
  direction: 1
}), IT = w.forwardRef(
  (e, n) => {
    const {
      min: r,
      max: o,
      dir: l,
      inverted: s,
      onSlideStart: u,
      onSlideMove: f,
      onSlideEnd: g,
      onStepKeyDown: p,
      ...m
    } = e, [h, S] = w.useState(null), y = Te(n, (T) => S(T)), C = w.useRef(void 0), k = ai(l), R = k === "ltr", E = R && !s || !R && s;
    function z(T) {
      const N = C.current || h.getBoundingClientRect(), $ = [0, N.width], q = cp($, E ? [r, o] : [o, r]);
      return C.current = N, q(T - N.left);
    }
    return /* @__PURE__ */ b.jsx(
      Vy,
      {
        scope: e.__scopeSlider,
        startEdge: E ? "left" : "right",
        endEdge: E ? "right" : "left",
        direction: E ? 1 : -1,
        size: "width",
        children: /* @__PURE__ */ b.jsx(
          Iy,
          {
            dir: k,
            "data-orientation": "horizontal",
            ...m,
            ref: y,
            style: {
              ...m.style,
              "--radix-slider-thumb-transform": "translateX(-50%)"
            },
            onSlideStart: (T) => {
              const N = z(T.clientX);
              u == null || u(N);
            },
            onSlideMove: (T) => {
              const N = z(T.clientX);
              f == null || f(N);
            },
            onSlideEnd: () => {
              C.current = void 0, g == null || g();
            },
            onStepKeyDown: (T) => {
              const $ = Py[E ? "from-left" : "from-right"].includes(T.key);
              p == null || p({ event: T, direction: $ ? -1 : 1 });
            }
          }
        )
      }
    );
  }
), UT = w.forwardRef(
  (e, n) => {
    const {
      min: r,
      max: o,
      inverted: l,
      onSlideStart: s,
      onSlideMove: u,
      onSlideEnd: f,
      onStepKeyDown: g,
      ...p
    } = e, m = w.useRef(null), h = Te(n, m), S = w.useRef(void 0), y = !l;
    function C(k) {
      const R = S.current || m.current.getBoundingClientRect(), E = [0, R.height], T = cp(E, y ? [o, r] : [r, o]);
      return S.current = R, T(k - R.top);
    }
    return /* @__PURE__ */ b.jsx(
      Vy,
      {
        scope: e.__scopeSlider,
        startEdge: y ? "bottom" : "top",
        endEdge: y ? "top" : "bottom",
        size: "height",
        direction: y ? 1 : -1,
        children: /* @__PURE__ */ b.jsx(
          Iy,
          {
            "data-orientation": "vertical",
            ...p,
            ref: h,
            style: {
              ...p.style,
              "--radix-slider-thumb-transform": "translateY(50%)"
            },
            onSlideStart: (k) => {
              const R = C(k.clientY);
              s == null || s(R);
            },
            onSlideMove: (k) => {
              const R = C(k.clientY);
              u == null || u(R);
            },
            onSlideEnd: () => {
              S.current = void 0, f == null || f();
            },
            onStepKeyDown: (k) => {
              const E = Py[y ? "from-bottom" : "from-top"].includes(k.key);
              g == null || g({ event: k, direction: E ? -1 : 1 });
            }
          }
        )
      }
    );
  }
), Iy = w.forwardRef(
  (e, n) => {
    const {
      __scopeSlider: r,
      onSlideStart: o,
      onSlideMove: l,
      onSlideEnd: s,
      onHomeKeyDown: u,
      onEndKeyDown: f,
      onStepKeyDown: g,
      ...p
    } = e, m = nu(ci, r);
    return /* @__PURE__ */ b.jsx(
      me.span,
      {
        ...p,
        ref: n,
        onKeyDown: ie(e.onKeyDown, (h) => {
          h.key === "Home" ? (u(h), h.preventDefault()) : h.key === "End" ? (f(h), h.preventDefault()) : jy.concat($y).includes(h.key) && (g(h), h.preventDefault());
        }),
        onPointerDown: ie(e.onPointerDown, (h) => {
          const S = h.target;
          S.setPointerCapture(h.pointerId), h.preventDefault(), m.thumbs.has(S) ? S.focus() : o(h);
        }),
        onPointerMove: ie(e.onPointerMove, (h) => {
          h.target.hasPointerCapture(h.pointerId) && l(h);
        }),
        onPointerUp: ie(e.onPointerUp, (h) => {
          const S = h.target;
          S.hasPointerCapture(h.pointerId) && (S.releasePointerCapture(h.pointerId), s(h));
        })
      }
    );
  }
), Uy = "SliderTrack", Fy = w.forwardRef(
  (e, n) => {
    const { __scopeSlider: r, ...o } = e, l = nu(Uy, r);
    return /* @__PURE__ */ b.jsx(
      me.span,
      {
        "data-disabled": l.disabled ? "" : void 0,
        "data-orientation": l.orientation,
        ...o,
        ref: n
      }
    );
  }
);
Fy.displayName = Uy;
var mg = "SliderRange", Zy = w.forwardRef(
  (e, n) => {
    const { __scopeSlider: r, ...o } = e, l = nu(mg, r), s = By(mg, r), u = w.useRef(null), f = Te(n, u), g = l.values.length, p = l.values.map(
      (S) => Yy(S, l.min, l.max)
    ), m = g > 1 ? Math.min(...p) : 0, h = 100 - Math.max(...p);
    return /* @__PURE__ */ b.jsx(
      me.span,
      {
        "data-orientation": l.orientation,
        "data-disabled": l.disabled ? "" : void 0,
        ...o,
        ref: f,
        style: {
          ...e.style,
          [s.startEdge]: m + "%",
          [s.endEdge]: h + "%"
        }
      }
    );
  }
);
Zy.displayName = mg;
var wg = "SliderThumb", Gy = w.forwardRef(
  (e, n) => {
    const r = HT(e.__scopeSlider), [o, l] = w.useState(null), s = Te(n, (f) => l(f)), u = w.useMemo(
      () => o ? r().findIndex((f) => f.ref.current === o) : -1,
      [r, o]
    );
    return /* @__PURE__ */ b.jsx(FT, { ...e, ref: s, index: u });
  }
), FT = w.forwardRef(
  (e, n) => {
    const { __scopeSlider: r, index: o, name: l, ...s } = e, u = nu(wg, r), f = By(wg, r), [g, p] = w.useState(null), m = Te(n, (z) => p(z)), h = g ? u.form || !!g.closest("form") : !0, S = Sl(g), y = u.values[o], C = y === void 0 ? 0 : Yy(y, u.min, u.max), k = qT(o, u.values.length), R = S == null ? void 0 : S[f.size], E = R ? XT(R, C, f.direction) : 0;
    return w.useEffect(() => {
      if (g)
        return u.thumbs.add(g), () => {
          u.thumbs.delete(g);
        };
    }, [g, u.thumbs]), /* @__PURE__ */ b.jsxs(
      "span",
      {
        style: {
          transform: "var(--radix-slider-thumb-transform)",
          position: "absolute",
          [f.startEdge]: `calc(${C}% + ${E}px)`
        },
        children: [
          /* @__PURE__ */ b.jsx(hg.ItemSlot, { scope: e.__scopeSlider, children: /* @__PURE__ */ b.jsx(
            me.span,
            {
              role: "slider",
              "aria-label": e["aria-label"] || k,
              "aria-valuemin": u.min,
              "aria-valuenow": y,
              "aria-valuemax": u.max,
              "aria-orientation": u.orientation,
              "data-orientation": u.orientation,
              "data-disabled": u.disabled ? "" : void 0,
              tabIndex: u.disabled ? void 0 : 0,
              ...s,
              ref: m,
              style: y === void 0 ? { display: "none" } : e.style,
              onFocus: ie(e.onFocus, () => {
                u.valueIndexToChangeRef.current = o;
              })
            }
          ) }),
          h && /* @__PURE__ */ b.jsx(
            qy,
            {
              name: l ?? (u.name ? u.name + (u.values.length > 1 ? "[]" : "") : void 0),
              form: u.form,
              value: y
            },
            o
          )
        ]
      }
    );
  }
);
Gy.displayName = wg;
var ZT = "RadioBubbleInput", qy = w.forwardRef(
  ({ __scopeSlider: e, value: n, ...r }, o) => {
    const l = w.useRef(null), s = Te(l, o), u = yl(n);
    return w.useEffect(() => {
      const f = l.current;
      if (!f) return;
      const g = window.HTMLInputElement.prototype, m = Object.getOwnPropertyDescriptor(g, "value").set;
      if (u !== n && m) {
        const h = new Event("input", { bubbles: !0 });
        m.call(f, n), f.dispatchEvent(h);
      }
    }, [u, n]), /* @__PURE__ */ b.jsx(
      me.input,
      {
        style: { display: "none" },
        ...r,
        ref: s,
        defaultValue: n
      }
    );
  }
);
qy.displayName = ZT;
function GT(e = [], n, r) {
  const o = [...e];
  return o[r] = n, o.sort((l, s) => l - s);
}
function Yy(e, n, r) {
  const s = 100 / (r - n) * (e - n);
  return ws(s, [0, 100]);
}
function qT(e, n) {
  return n > 2 ? `Value ${e + 1} of ${n}` : n === 2 ? ["Minimum", "Maximum"][e] : void 0;
}
function YT(e, n) {
  if (e.length === 1) return 0;
  const r = e.map((l) => Math.abs(l - n)), o = Math.min(...r);
  return r.indexOf(o);
}
function XT(e, n, r) {
  const o = e / 2, s = cp([0, 50], [0, o]);
  return (o - s(n) * r) * r;
}
function KT(e) {
  return e.slice(0, -1).map((n, r) => e[r + 1] - n);
}
function QT(e, n) {
  if (n > 0) {
    const r = KT(e);
    return Math.min(...r) >= n;
  }
  return !0;
}
function cp(e, n) {
  return (r) => {
    if (e[0] === e[1] || n[0] === n[1]) return n[0];
    const o = (n[1] - n[0]) / (e[1] - e[0]);
    return n[0] + o * (r - e[0]);
  };
}
function JT(e) {
  return (String(e).split(".")[1] || "").length;
}
function WT(e, n) {
  const r = Math.pow(10, n);
  return Math.round(e * r) / r;
}
var eA = Hy, tA = Fy, nA = Zy, aA = Gy;
// @__NO_SIDE_EFFECTS__
function rA(e) {
  const n = /* @__PURE__ */ oA(e), r = w.forwardRef((o, l) => {
    const { children: s, ...u } = o, f = w.Children.toArray(s), g = f.find(lA);
    if (g) {
      const p = g.props.children, m = f.map((h) => h === g ? w.Children.count(p) > 1 ? w.Children.only(null) : w.isValidElement(p) ? p.props.children : null : h);
      return /* @__PURE__ */ b.jsx(n, { ...u, ref: l, children: w.isValidElement(p) ? w.cloneElement(p, void 0, m) : null });
    }
    return /* @__PURE__ */ b.jsx(n, { ...u, ref: l, children: s });
  });
  return r.displayName = `${e}.Slot`, r;
}
var Xy = /* @__PURE__ */ rA("Slot");
// @__NO_SIDE_EFFECTS__
function oA(e) {
  const n = w.forwardRef((r, o) => {
    const { children: l, ...s } = r;
    if (w.isValidElement(l)) {
      const u = sA(l), f = cA(s, l.props);
      return l.type !== w.Fragment && (f.ref = o ? vr(o, u) : u), w.cloneElement(l, f);
    }
    return w.Children.count(l) > 1 ? w.Children.only(null) : null;
  });
  return n.displayName = `${e}.SlotClone`, n;
}
var iA = Symbol("radix.slottable");
function lA(e) {
  return w.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === iA;
}
function cA(e, n) {
  const r = { ...n };
  for (const o in n) {
    const l = e[o], s = n[o];
    /^on[A-Z]/.test(o) ? l && s ? r[o] = (...f) => {
      const g = s(...f);
      return l(...f), g;
    } : l && (r[o] = l) : o === "style" ? r[o] = { ...l, ...s } : o === "className" && (r[o] = [l, s].filter(Boolean).join(" "));
  }
  return { ...e, ...r };
}
function sA(e) {
  var o, l;
  let n = (o = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : o.get, r = n && "isReactWarning" in n && n.isReactWarning;
  return r ? e.ref : (n = (l = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : l.get, r = n && "isReactWarning" in n && n.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
}
var au = "Switch", [uA] = Bt(au), [dA, fA] = uA(au), Ky = w.forwardRef(
  (e, n) => {
    const {
      __scopeSwitch: r,
      name: o,
      checked: l,
      defaultChecked: s,
      required: u,
      disabled: f,
      value: g = "on",
      onCheckedChange: p,
      form: m,
      ...h
    } = e, [S, y] = w.useState(null), C = Te(n, (T) => y(T)), k = w.useRef(!1), R = S ? m || !!S.closest("form") : !0, [E, z] = qt({
      prop: l,
      defaultProp: s ?? !1,
      onChange: p,
      caller: au
    });
    return /* @__PURE__ */ b.jsxs(dA, { scope: r, checked: E, disabled: f, children: [
      /* @__PURE__ */ b.jsx(
        me.button,
        {
          type: "button",
          role: "switch",
          "aria-checked": E,
          "aria-required": u,
          "data-state": e1(E),
          "data-disabled": f ? "" : void 0,
          disabled: f,
          value: g,
          ...h,
          ref: C,
          onClick: ie(e.onClick, (T) => {
            z((N) => !N), R && (k.current = T.isPropagationStopped(), k.current || T.stopPropagation());
          })
        }
      ),
      R && /* @__PURE__ */ b.jsx(
        Wy,
        {
          control: S,
          bubbles: !k.current,
          name: o,
          value: g,
          checked: E,
          required: u,
          disabled: f,
          form: m,
          style: { transform: "translateX(-100%)" }
        }
      )
    ] });
  }
);
Ky.displayName = au;
var Qy = "SwitchThumb", Jy = w.forwardRef(
  (e, n) => {
    const { __scopeSwitch: r, ...o } = e, l = fA(Qy, r);
    return /* @__PURE__ */ b.jsx(
      me.span,
      {
        "data-state": e1(l.checked),
        "data-disabled": l.disabled ? "" : void 0,
        ...o,
        ref: n
      }
    );
  }
);
Jy.displayName = Qy;
var gA = "SwitchBubbleInput", Wy = w.forwardRef(
  ({
    __scopeSwitch: e,
    control: n,
    checked: r,
    bubbles: o = !0,
    ...l
  }, s) => {
    const u = w.useRef(null), f = Te(u, s), g = yl(r), p = Sl(n);
    return w.useEffect(() => {
      const m = u.current;
      if (!m) return;
      const h = window.HTMLInputElement.prototype, y = Object.getOwnPropertyDescriptor(
        h,
        "checked"
      ).set;
      if (g !== r && y) {
        const C = new Event("click", { bubbles: o });
        y.call(m, r), m.dispatchEvent(C);
      }
    }, [g, r, o]), /* @__PURE__ */ b.jsx(
      "input",
      {
        type: "checkbox",
        "aria-hidden": !0,
        defaultChecked: r,
        ...l,
        tabIndex: -1,
        ref: f,
        style: {
          ...l.style,
          ...p,
          position: "absolute",
          pointerEvents: "none",
          opacity: 0,
          margin: 0
        }
      }
    );
  }
);
Wy.displayName = gA;
function e1(e) {
  return e ? "checked" : "unchecked";
}
var pA = Ky, vA = Jy, ru = "Tabs", [hA] = Bt(ru, [
  qs
]), t1 = qs(), [mA, sp] = hA(ru), n1 = w.forwardRef(
  (e, n) => {
    const {
      __scopeTabs: r,
      value: o,
      onValueChange: l,
      defaultValue: s,
      orientation: u = "horizontal",
      dir: f,
      activationMode: g = "automatic",
      ...p
    } = e, m = ai(f), [h, S] = qt({
      prop: o,
      onChange: l,
      defaultProp: s ?? "",
      caller: ru
    });
    return /* @__PURE__ */ b.jsx(
      mA,
      {
        scope: r,
        baseId: Mn(),
        value: h,
        onValueChange: S,
        orientation: u,
        dir: m,
        activationMode: g,
        children: /* @__PURE__ */ b.jsx(
          me.div,
          {
            dir: m,
            "data-orientation": u,
            ...p,
            ref: n
          }
        )
      }
    );
  }
);
n1.displayName = ru;
var a1 = "TabsList", r1 = w.forwardRef(
  (e, n) => {
    const { __scopeTabs: r, loop: o = !0, ...l } = e, s = sp(a1, r), u = t1(r);
    return /* @__PURE__ */ b.jsx(
      Tx,
      {
        asChild: !0,
        ...u,
        orientation: s.orientation,
        dir: s.dir,
        loop: o,
        children: /* @__PURE__ */ b.jsx(
          me.div,
          {
            role: "tablist",
            "aria-orientation": s.orientation,
            ...l,
            ref: n
          }
        )
      }
    );
  }
);
r1.displayName = a1;
var o1 = "TabsTrigger", i1 = w.forwardRef(
  (e, n) => {
    const { __scopeTabs: r, value: o, disabled: l = !1, ...s } = e, u = sp(o1, r), f = t1(r), g = s1(u.baseId, o), p = u1(u.baseId, o), m = o === u.value;
    return /* @__PURE__ */ b.jsx(
      Ax,
      {
        asChild: !0,
        ...f,
        focusable: !l,
        active: m,
        children: /* @__PURE__ */ b.jsx(
          me.button,
          {
            type: "button",
            role: "tab",
            "aria-selected": m,
            "aria-controls": p,
            "data-state": m ? "active" : "inactive",
            "data-disabled": l ? "" : void 0,
            disabled: l,
            id: g,
            ...s,
            ref: n,
            onMouseDown: ie(e.onMouseDown, (h) => {
              !l && h.button === 0 && h.ctrlKey === !1 ? u.onValueChange(o) : h.preventDefault();
            }),
            onKeyDown: ie(e.onKeyDown, (h) => {
              [" ", "Enter"].includes(h.key) && u.onValueChange(o);
            }),
            onFocus: ie(e.onFocus, () => {
              const h = u.activationMode !== "manual";
              !m && !l && h && u.onValueChange(o);
            })
          }
        )
      }
    );
  }
);
i1.displayName = o1;
var l1 = "TabsContent", c1 = w.forwardRef(
  (e, n) => {
    const { __scopeTabs: r, value: o, forceMount: l, children: s, ...u } = e, f = sp(l1, r), g = s1(f.baseId, o), p = u1(f.baseId, o), m = o === f.value, h = w.useRef(m);
    return w.useEffect(() => {
      const S = requestAnimationFrame(() => h.current = !1);
      return () => cancelAnimationFrame(S);
    }, []), /* @__PURE__ */ b.jsx(yn, { present: l || m, children: ({ present: S }) => /* @__PURE__ */ b.jsx(
      me.div,
      {
        "data-state": m ? "active" : "inactive",
        "data-orientation": f.orientation,
        role: "tabpanel",
        "aria-labelledby": g,
        hidden: !S,
        id: p,
        tabIndex: 0,
        ...u,
        ref: n,
        style: {
          ...e.style,
          animationDuration: h.current ? "0s" : void 0
        },
        children: S && s
      }
    ) });
  }
);
c1.displayName = l1;
function s1(e, n) {
  return `${e}-trigger-${n}`;
}
function u1(e, n) {
  return `${e}-content-${n}`;
}
var wA = n1, d1 = r1, f1 = i1, g1 = c1, bA = Symbol("radix.slottable");
// @__NO_SIDE_EFFECTS__
function xA(e) {
  const n = ({ children: r }) => /* @__PURE__ */ b.jsx(b.Fragment, { children: r });
  return n.displayName = `${e}.Slottable`, n.__radixId = bA, n;
}
var [ou] = Bt("Tooltip", [
  hr
]), iu = hr(), p1 = "TooltipProvider", yA = 700, bg = "tooltip.open", [SA, up] = ou(p1), v1 = (e) => {
  const {
    __scopeTooltip: n,
    delayDuration: r = yA,
    skipDelayDuration: o = 300,
    disableHoverableContent: l = !1,
    children: s
  } = e, u = w.useRef(!0), f = w.useRef(!1), g = w.useRef(0);
  return w.useEffect(() => {
    const p = g.current;
    return () => window.clearTimeout(p);
  }, []), /* @__PURE__ */ b.jsx(
    SA,
    {
      scope: n,
      isOpenDelayedRef: u,
      delayDuration: r,
      onOpen: w.useCallback(() => {
        window.clearTimeout(g.current), u.current = !1;
      }, []),
      onClose: w.useCallback(() => {
        window.clearTimeout(g.current), g.current = window.setTimeout(
          () => u.current = !0,
          o
        );
      }, [o]),
      isPointerInTransitRef: f,
      onPointerInTransitChange: w.useCallback((p) => {
        f.current = p;
      }, []),
      disableHoverableContent: l,
      children: s
    }
  );
};
v1.displayName = p1;
var hl = "Tooltip", [kA, lu] = ou(hl), h1 = (e) => {
  const {
    __scopeTooltip: n,
    children: r,
    open: o,
    defaultOpen: l,
    onOpenChange: s,
    disableHoverableContent: u,
    delayDuration: f
  } = e, g = up(hl, e.__scopeTooltip), p = iu(n), [m, h] = w.useState(null), S = Mn(), y = w.useRef(0), C = u ?? g.disableHoverableContent, k = f ?? g.delayDuration, R = w.useRef(!1), [E, z] = qt({
    prop: o,
    defaultProp: l ?? !1,
    onChange: (q) => {
      q ? (g.onOpen(), document.dispatchEvent(new CustomEvent(bg))) : g.onClose(), s == null || s(q);
    },
    caller: hl
  }), T = w.useMemo(() => E ? R.current ? "delayed-open" : "instant-open" : "closed", [E]), N = w.useCallback(() => {
    window.clearTimeout(y.current), y.current = 0, R.current = !1, z(!0);
  }, [z]), $ = w.useCallback(() => {
    window.clearTimeout(y.current), y.current = 0, z(!1);
  }, [z]), U = w.useCallback(() => {
    window.clearTimeout(y.current), y.current = window.setTimeout(() => {
      R.current = !0, z(!0), y.current = 0;
    }, k);
  }, [k, z]);
  return w.useEffect(() => () => {
    y.current && (window.clearTimeout(y.current), y.current = 0);
  }, []), /* @__PURE__ */ b.jsx(Fs, { ...p, children: /* @__PURE__ */ b.jsx(
    kA,
    {
      scope: n,
      contentId: S,
      open: E,
      stateAttribute: T,
      trigger: m,
      onTriggerChange: h,
      onTriggerEnter: w.useCallback(() => {
        g.isOpenDelayedRef.current ? U() : N();
      }, [g.isOpenDelayedRef, U, N]),
      onTriggerLeave: w.useCallback(() => {
        C ? $() : (window.clearTimeout(y.current), y.current = 0);
      }, [$, C]),
      onOpen: N,
      onClose: $,
      disableHoverableContent: C,
      children: r
    }
  ) });
};
h1.displayName = hl;
var xg = "TooltipTrigger", m1 = w.forwardRef(
  (e, n) => {
    const { __scopeTooltip: r, ...o } = e, l = lu(xg, r), s = up(xg, r), u = iu(r), f = w.useRef(null), g = Te(n, f, l.onTriggerChange), p = w.useRef(!1), m = w.useRef(!1), h = w.useCallback(() => p.current = !1, []);
    return w.useEffect(() => () => document.removeEventListener("pointerup", h), [h]), /* @__PURE__ */ b.jsx(Cl, { asChild: !0, ...u, children: /* @__PURE__ */ b.jsx(
      me.button,
      {
        "aria-describedby": l.open ? l.contentId : void 0,
        "data-state": l.stateAttribute,
        ...o,
        ref: g,
        onPointerMove: ie(e.onPointerMove, (S) => {
          S.pointerType !== "touch" && !m.current && !s.isPointerInTransitRef.current && (l.onTriggerEnter(), m.current = !0);
        }),
        onPointerLeave: ie(e.onPointerLeave, () => {
          l.onTriggerLeave(), m.current = !1;
        }),
        onPointerDown: ie(e.onPointerDown, () => {
          l.open && l.onClose(), p.current = !0, document.addEventListener("pointerup", h, { once: !0 });
        }),
        onFocus: ie(e.onFocus, () => {
          p.current || l.onOpen();
        }),
        onBlur: ie(e.onBlur, l.onClose),
        onClick: ie(e.onClick, l.onClose)
      }
    ) });
  }
);
m1.displayName = xg;
var CA = "TooltipPortal", [A9, _A] = ou(CA, {
  forceMount: void 0
}), Wo = "TooltipContent", w1 = w.forwardRef(
  (e, n) => {
    const r = _A(Wo, e.__scopeTooltip), { forceMount: o = r.forceMount, side: l = "top", ...s } = e, u = lu(Wo, e.__scopeTooltip);
    return /* @__PURE__ */ b.jsx(yn, { present: o || u.open, children: u.disableHoverableContent ? /* @__PURE__ */ b.jsx(b1, { side: l, ...s, ref: n }) : /* @__PURE__ */ b.jsx(RA, { side: l, ...s, ref: n }) });
  }
), RA = w.forwardRef((e, n) => {
  const r = lu(Wo, e.__scopeTooltip), o = up(Wo, e.__scopeTooltip), l = w.useRef(null), s = Te(n, l), [u, f] = w.useState(null), { trigger: g, onClose: p } = r, m = l.current, { onPointerInTransitChange: h } = o, S = w.useCallback(() => {
    f(null), h(!1);
  }, [h]), y = w.useCallback(
    (C, k) => {
      const R = C.currentTarget, E = { x: C.clientX, y: C.clientY }, z = NA(E, R.getBoundingClientRect()), T = OA(E, z), N = DA(k.getBoundingClientRect()), $ = jA([...T, ...N]);
      f($), h(!0);
    },
    [h]
  );
  return w.useEffect(() => () => S(), [S]), w.useEffect(() => {
    if (g && m) {
      const C = (R) => y(R, m), k = (R) => y(R, g);
      return g.addEventListener("pointerleave", C), m.addEventListener("pointerleave", k), () => {
        g.removeEventListener("pointerleave", C), m.removeEventListener("pointerleave", k);
      };
    }
  }, [g, m, y, S]), w.useEffect(() => {
    if (u) {
      const C = (k) => {
        const R = k.target, E = { x: k.clientX, y: k.clientY }, z = (g == null ? void 0 : g.contains(R)) || (m == null ? void 0 : m.contains(R)), T = !MA(E, u);
        z ? S() : T && (S(), p());
      };
      return document.addEventListener("pointermove", C), () => document.removeEventListener("pointermove", C);
    }
  }, [g, m, u, p, S]), /* @__PURE__ */ b.jsx(b1, { ...e, ref: s });
}), [EA, zA] = ou(hl, { isInside: !1 }), TA = /* @__PURE__ */ xA("TooltipContent"), b1 = w.forwardRef(
  (e, n) => {
    const {
      __scopeTooltip: r,
      children: o,
      "aria-label": l,
      onEscapeKeyDown: s,
      onPointerDownOutside: u,
      ...f
    } = e, g = lu(Wo, r), p = iu(r), { onClose: m } = g;
    return w.useEffect(() => (document.addEventListener(bg, m), () => document.removeEventListener(bg, m)), [m]), w.useEffect(() => {
      if (g.trigger) {
        const h = (S) => {
          const y = S.target;
          y != null && y.contains(g.trigger) && m();
        };
        return window.addEventListener("scroll", h, { capture: !0 }), () => window.removeEventListener("scroll", h, { capture: !0 });
      }
    }, [g.trigger, m]), /* @__PURE__ */ b.jsx(
      ri,
      {
        asChild: !0,
        disableOutsidePointerEvents: !1,
        onEscapeKeyDown: s,
        onPointerDownOutside: u,
        onFocusOutside: (h) => h.preventDefault(),
        onDismiss: m,
        children: /* @__PURE__ */ b.jsxs(
          Zs,
          {
            "data-state": g.stateAttribute,
            ...p,
            ...f,
            ref: n,
            style: {
              ...f.style,
              "--radix-tooltip-content-transform-origin": "var(--radix-popper-transform-origin)",
              "--radix-tooltip-content-available-width": "var(--radix-popper-available-width)",
              "--radix-tooltip-content-available-height": "var(--radix-popper-available-height)",
              "--radix-tooltip-trigger-width": "var(--radix-popper-anchor-width)",
              "--radix-tooltip-trigger-height": "var(--radix-popper-anchor-height)"
            },
            children: [
              /* @__PURE__ */ b.jsx(TA, { children: o }),
              /* @__PURE__ */ b.jsx(EA, { scope: r, isInside: !0, children: /* @__PURE__ */ b.jsx(__, { id: g.contentId, role: "tooltip", children: l || o }) })
            ]
          }
        )
      }
    );
  }
);
w1.displayName = Wo;
var x1 = "TooltipArrow", AA = w.forwardRef(
  (e, n) => {
    const { __scopeTooltip: r, ...o } = e, l = iu(r);
    return zA(
      x1,
      r
    ).isInside ? null : /* @__PURE__ */ b.jsx(Gs, { ...l, ...o, ref: n });
  }
);
AA.displayName = x1;
function NA(e, n) {
  const r = Math.abs(n.top - e.y), o = Math.abs(n.bottom - e.y), l = Math.abs(n.right - e.x), s = Math.abs(n.left - e.x);
  switch (Math.min(r, o, l, s)) {
    case s:
      return "left";
    case l:
      return "right";
    case r:
      return "top";
    case o:
      return "bottom";
    default:
      throw new Error("unreachable");
  }
}
function OA(e, n, r = 5) {
  const o = [];
  switch (n) {
    case "top":
      o.push(
        { x: e.x - r, y: e.y + r },
        { x: e.x + r, y: e.y + r }
      );
      break;
    case "bottom":
      o.push(
        { x: e.x - r, y: e.y - r },
        { x: e.x + r, y: e.y - r }
      );
      break;
    case "left":
      o.push(
        { x: e.x + r, y: e.y - r },
        { x: e.x + r, y: e.y + r }
      );
      break;
    case "right":
      o.push(
        { x: e.x - r, y: e.y - r },
        { x: e.x - r, y: e.y + r }
      );
      break;
  }
  return o;
}
function DA(e) {
  const { top: n, right: r, bottom: o, left: l } = e;
  return [
    { x: l, y: n },
    { x: r, y: n },
    { x: r, y: o },
    { x: l, y: o }
  ];
}
function MA(e, n) {
  const { x: r, y: o } = e;
  let l = !1;
  for (let s = 0, u = n.length - 1; s < n.length; u = s++) {
    const f = n[s], g = n[u], p = f.x, m = f.y, h = g.x, S = g.y;
    m > o != S > o && r < (h - p) * (o - m) / (S - m) + p && (l = !l);
  }
  return l;
}
function jA(e) {
  const n = e.slice();
  return n.sort((r, o) => r.x < o.x ? -1 : r.x > o.x ? 1 : r.y < o.y ? -1 : r.y > o.y ? 1 : 0), $A(n);
}
function $A(e) {
  if (e.length <= 1) return e.slice();
  const n = [];
  for (let o = 0; o < e.length; o++) {
    const l = e[o];
    for (; n.length >= 2; ) {
      const s = n[n.length - 1], u = n[n.length - 2];
      if ((s.x - u.x) * (l.y - u.y) >= (s.y - u.y) * (l.x - u.x)) n.pop();
      else break;
    }
    n.push(l);
  }
  n.pop();
  const r = [];
  for (let o = e.length - 1; o >= 0; o--) {
    const l = e[o];
    for (; r.length >= 2; ) {
      const s = r[r.length - 1], u = r[r.length - 2];
      if ((s.x - u.x) * (l.y - u.y) >= (s.y - u.y) * (l.x - u.x)) r.pop();
      else break;
    }
    r.push(l);
  }
  return r.pop(), n.length === 1 && r.length === 1 && n[0].x === r[0].x && n[0].y === r[0].y ? n : n.concat(r);
}
var PA = v1, LA = h1, HA = m1, y1 = w1;
const VA = (e, n) => {
  const r = new Array(e.length + n.length);
  for (let o = 0; o < e.length; o++)
    r[o] = e[o];
  for (let o = 0; o < n.length; o++)
    r[e.length + o] = n[o];
  return r;
}, BA = (e, n) => ({
  classGroupId: e,
  validator: n
}), S1 = (e = /* @__PURE__ */ new Map(), n = null, r) => ({
  nextPart: e,
  validators: n,
  classGroupId: r
}), xs = "-", cb = [], IA = "arbitrary..", UA = (e) => {
  const n = ZA(e), {
    conflictingClassGroups: r,
    conflictingClassGroupModifiers: o
  } = e;
  return {
    getClassGroupId: (u) => {
      if (u.startsWith("[") && u.endsWith("]"))
        return FA(u);
      const f = u.split(xs), g = f[0] === "" && f.length > 1 ? 1 : 0;
      return k1(f, g, n);
    },
    getConflictingClassGroupIds: (u, f) => {
      if (f) {
        const g = o[u], p = r[u];
        return g ? p ? VA(p, g) : g : p || cb;
      }
      return r[u] || cb;
    }
  };
}, k1 = (e, n, r) => {
  if (e.length - n === 0)
    return r.classGroupId;
  const l = e[n], s = r.nextPart.get(l);
  if (s) {
    const p = k1(e, n + 1, s);
    if (p) return p;
  }
  const u = r.validators;
  if (u === null)
    return;
  const f = n === 0 ? e.join(xs) : e.slice(n).join(xs), g = u.length;
  for (let p = 0; p < g; p++) {
    const m = u[p];
    if (m.validator(f))
      return m.classGroupId;
  }
}, FA = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
  const n = e.slice(1, -1), r = n.indexOf(":"), o = n.slice(0, r);
  return o ? IA + o : void 0;
})(), ZA = (e) => {
  const {
    theme: n,
    classGroups: r
  } = e;
  return GA(r, n);
}, GA = (e, n) => {
  const r = S1();
  for (const o in e) {
    const l = e[o];
    dp(l, r, o, n);
  }
  return r;
}, dp = (e, n, r, o) => {
  const l = e.length;
  for (let s = 0; s < l; s++) {
    const u = e[s];
    qA(u, n, r, o);
  }
}, qA = (e, n, r, o) => {
  if (typeof e == "string") {
    YA(e, n, r);
    return;
  }
  if (typeof e == "function") {
    XA(e, n, r, o);
    return;
  }
  KA(e, n, r, o);
}, YA = (e, n, r) => {
  const o = e === "" ? n : C1(n, e);
  o.classGroupId = r;
}, XA = (e, n, r, o) => {
  if (QA(e)) {
    dp(e(o), n, r, o);
    return;
  }
  n.validators === null && (n.validators = []), n.validators.push(BA(r, e));
}, KA = (e, n, r, o) => {
  const l = Object.entries(e), s = l.length;
  for (let u = 0; u < s; u++) {
    const [f, g] = l[u];
    dp(g, C1(n, f), r, o);
  }
}, C1 = (e, n) => {
  let r = e;
  const o = n.split(xs), l = o.length;
  for (let s = 0; s < l; s++) {
    const u = o[s];
    let f = r.nextPart.get(u);
    f || (f = S1(), r.nextPart.set(u, f)), r = f;
  }
  return r;
}, QA = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, JA = (e) => {
  if (e < 1)
    return {
      get: () => {
      },
      set: () => {
      }
    };
  let n = 0, r = /* @__PURE__ */ Object.create(null), o = /* @__PURE__ */ Object.create(null);
  const l = (s, u) => {
    r[s] = u, n++, n > e && (n = 0, o = r, r = /* @__PURE__ */ Object.create(null));
  };
  return {
    get(s) {
      let u = r[s];
      if (u !== void 0)
        return u;
      if ((u = o[s]) !== void 0)
        return l(s, u), u;
    },
    set(s, u) {
      s in r ? r[s] = u : l(s, u);
    }
  };
}, yg = "!", sb = ":", WA = [], ub = (e, n, r, o, l) => ({
  modifiers: e,
  hasImportantModifier: n,
  baseClassName: r,
  maybePostfixModifierPosition: o,
  isExternal: l
}), e4 = (e) => {
  const {
    prefix: n,
    experimentalParseClassName: r
  } = e;
  let o = (l) => {
    const s = [];
    let u = 0, f = 0, g = 0, p;
    const m = l.length;
    for (let k = 0; k < m; k++) {
      const R = l[k];
      if (u === 0 && f === 0) {
        if (R === sb) {
          s.push(l.slice(g, k)), g = k + 1;
          continue;
        }
        if (R === "/") {
          p = k;
          continue;
        }
      }
      R === "[" ? u++ : R === "]" ? u-- : R === "(" ? f++ : R === ")" && f--;
    }
    const h = s.length === 0 ? l : l.slice(g);
    let S = h, y = !1;
    h.endsWith(yg) ? (S = h.slice(0, -1), y = !0) : (
      /**
       * In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
       * @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
       */
      h.startsWith(yg) && (S = h.slice(1), y = !0)
    );
    const C = p && p > g ? p - g : void 0;
    return ub(s, y, S, C);
  };
  if (n) {
    const l = n + sb, s = o;
    o = (u) => u.startsWith(l) ? s(u.slice(l.length)) : ub(WA, !1, u, void 0, !0);
  }
  if (r) {
    const l = o;
    o = (s) => r({
      className: s,
      parseClassName: l
    });
  }
  return o;
}, t4 = (e) => {
  const n = /* @__PURE__ */ new Map();
  return e.orderSensitiveModifiers.forEach((r, o) => {
    n.set(r, 1e6 + o);
  }), (r) => {
    const o = [];
    let l = [];
    for (let s = 0; s < r.length; s++) {
      const u = r[s], f = u[0] === "[", g = n.has(u);
      f || g ? (l.length > 0 && (l.sort(), o.push(...l), l = []), o.push(u)) : l.push(u);
    }
    return l.length > 0 && (l.sort(), o.push(...l)), o;
  };
}, n4 = (e) => ({
  cache: JA(e.cacheSize),
  parseClassName: e4(e),
  sortModifiers: t4(e),
  ...UA(e)
}), a4 = /\s+/, r4 = (e, n) => {
  const {
    parseClassName: r,
    getClassGroupId: o,
    getConflictingClassGroupIds: l,
    sortModifiers: s
  } = n, u = [], f = e.trim().split(a4);
  let g = "";
  for (let p = f.length - 1; p >= 0; p -= 1) {
    const m = f[p], {
      isExternal: h,
      modifiers: S,
      hasImportantModifier: y,
      baseClassName: C,
      maybePostfixModifierPosition: k
    } = r(m);
    if (h) {
      g = m + (g.length > 0 ? " " + g : g);
      continue;
    }
    let R = !!k, E = o(R ? C.substring(0, k) : C);
    if (!E) {
      if (!R) {
        g = m + (g.length > 0 ? " " + g : g);
        continue;
      }
      if (E = o(C), !E) {
        g = m + (g.length > 0 ? " " + g : g);
        continue;
      }
      R = !1;
    }
    const z = S.length === 0 ? "" : S.length === 1 ? S[0] : s(S).join(":"), T = y ? z + yg : z, N = T + E;
    if (u.indexOf(N) > -1)
      continue;
    u.push(N);
    const $ = l(E, R);
    for (let U = 0; U < $.length; ++U) {
      const q = $[U];
      u.push(T + q);
    }
    g = m + (g.length > 0 ? " " + g : g);
  }
  return g;
}, o4 = (...e) => {
  let n = 0, r, o, l = "";
  for (; n < e.length; )
    (r = e[n++]) && (o = _1(r)) && (l && (l += " "), l += o);
  return l;
}, _1 = (e) => {
  if (typeof e == "string")
    return e;
  let n, r = "";
  for (let o = 0; o < e.length; o++)
    e[o] && (n = _1(e[o])) && (r && (r += " "), r += n);
  return r;
}, i4 = (e, ...n) => {
  let r, o, l, s;
  const u = (g) => {
    const p = n.reduce((m, h) => h(m), e());
    return r = n4(p), o = r.cache.get, l = r.cache.set, s = f, f(g);
  }, f = (g) => {
    const p = o(g);
    if (p)
      return p;
    const m = r4(g, r);
    return l(g, m), m;
  };
  return s = u, (...g) => s(o4(...g));
}, l4 = [], St = (e) => {
  const n = (r) => r[e] || l4;
  return n.isThemeGetter = !0, n;
}, R1 = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, E1 = /^\((?:(\w[\w-]*):)?(.+)\)$/i, c4 = /^\d+\/\d+$/, s4 = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, u4 = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, d4 = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, f4 = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, g4 = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Fo = (e) => c4.test(e), Oe = (e) => !!e && !Number.isNaN(Number(e)), or = (e) => !!e && Number.isInteger(Number(e)), Ff = (e) => e.endsWith("%") && Oe(e.slice(0, -1)), Ea = (e) => s4.test(e), p4 = () => !0, v4 = (e) => (
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
  u4.test(e) && !d4.test(e)
), z1 = () => !1, h4 = (e) => f4.test(e), m4 = (e) => g4.test(e), w4 = (e) => !ue(e) && !de(e), b4 = (e) => si(e, N1, z1), ue = (e) => R1.test(e), Zr = (e) => si(e, O1, v4), Zf = (e) => si(e, C4, Oe), db = (e) => si(e, T1, z1), x4 = (e) => si(e, A1, m4), Jc = (e) => si(e, D1, h4), de = (e) => E1.test(e), cl = (e) => ui(e, O1), y4 = (e) => ui(e, _4), fb = (e) => ui(e, T1), S4 = (e) => ui(e, N1), k4 = (e) => ui(e, A1), Wc = (e) => ui(e, D1, !0), si = (e, n, r) => {
  const o = R1.exec(e);
  return o ? o[1] ? n(o[1]) : r(o[2]) : !1;
}, ui = (e, n, r = !1) => {
  const o = E1.exec(e);
  return o ? o[1] ? n(o[1]) : r : !1;
}, T1 = (e) => e === "position" || e === "percentage", A1 = (e) => e === "image" || e === "url", N1 = (e) => e === "length" || e === "size" || e === "bg-size", O1 = (e) => e === "length", C4 = (e) => e === "number", _4 = (e) => e === "family-name", D1 = (e) => e === "shadow", R4 = () => {
  const e = St("color"), n = St("font"), r = St("text"), o = St("font-weight"), l = St("tracking"), s = St("leading"), u = St("breakpoint"), f = St("container"), g = St("spacing"), p = St("radius"), m = St("shadow"), h = St("inset-shadow"), S = St("text-shadow"), y = St("drop-shadow"), C = St("blur"), k = St("perspective"), R = St("aspect"), E = St("ease"), z = St("animate"), T = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], N = () => [
    "center",
    "top",
    "bottom",
    "left",
    "right",
    "top-left",
    // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
    "left-top",
    "top-right",
    // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
    "right-top",
    "bottom-right",
    // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
    "right-bottom",
    "bottom-left",
    // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
    "left-bottom"
  ], $ = () => [...N(), de, ue], U = () => ["auto", "hidden", "clip", "visible", "scroll"], q = () => ["auto", "contain", "none"], F = () => [de, ue, g], ee = () => [Fo, "full", "auto", ...F()], Q = () => [or, "none", "subgrid", de, ue], J = () => ["auto", {
    span: ["full", or, de, ue]
  }, or, de, ue], te = () => [or, "auto", de, ue], re = () => ["auto", "min", "max", "fr", de, ue], le = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], pe = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], O = () => ["auto", ...F()], B = () => [Fo, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...F()], j = () => [e, de, ue], ce = () => [...N(), fb, db, {
    position: [de, ue]
  }], we = () => ["no-repeat", {
    repeat: ["", "x", "y", "space", "round"]
  }], Pe = () => ["auto", "cover", "contain", S4, b4, {
    size: [de, ue]
  }], Me = () => [Ff, cl, Zr], ne = () => [
    // Deprecated since Tailwind CSS v4.0.0
    "",
    "none",
    "full",
    p,
    de,
    ue
  ], fe = () => ["", Oe, cl, Zr], _e = () => ["solid", "dashed", "dotted", "double"], Fe = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], oe = () => [Oe, Ff, fb, db], ve = () => [
    // Deprecated since Tailwind CSS v4.0.0
    "",
    "none",
    C,
    de,
    ue
  ], Ve = () => ["none", Oe, de, ue], Ne = () => ["none", Oe, de, ue], Ee = () => [Oe, de, ue], Re = () => [Fo, "full", ...F()];
  return {
    cacheSize: 500,
    theme: {
      animate: ["spin", "ping", "pulse", "bounce"],
      aspect: ["video"],
      blur: [Ea],
      breakpoint: [Ea],
      color: [p4],
      container: [Ea],
      "drop-shadow": [Ea],
      ease: ["in", "out", "in-out"],
      font: [w4],
      "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
      "inset-shadow": [Ea],
      leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
      perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
      radius: [Ea],
      shadow: [Ea],
      spacing: ["px", Oe],
      text: [Ea],
      "text-shadow": [Ea],
      tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
    },
    classGroups: {
      // --------------
      // --- Layout ---
      // --------------
      /**
       * Aspect Ratio
       * @see https://tailwindcss.com/docs/aspect-ratio
       */
      aspect: [{
        aspect: ["auto", "square", Fo, ue, de, R]
      }],
      /**
       * Container
       * @see https://tailwindcss.com/docs/container
       * @deprecated since Tailwind CSS v4.0.0
       */
      container: ["container"],
      /**
       * Columns
       * @see https://tailwindcss.com/docs/columns
       */
      columns: [{
        columns: [Oe, ue, de, f]
      }],
      /**
       * Break After
       * @see https://tailwindcss.com/docs/break-after
       */
      "break-after": [{
        "break-after": T()
      }],
      /**
       * Break Before
       * @see https://tailwindcss.com/docs/break-before
       */
      "break-before": [{
        "break-before": T()
      }],
      /**
       * Break Inside
       * @see https://tailwindcss.com/docs/break-inside
       */
      "break-inside": [{
        "break-inside": ["auto", "avoid", "avoid-page", "avoid-column"]
      }],
      /**
       * Box Decoration Break
       * @see https://tailwindcss.com/docs/box-decoration-break
       */
      "box-decoration": [{
        "box-decoration": ["slice", "clone"]
      }],
      /**
       * Box Sizing
       * @see https://tailwindcss.com/docs/box-sizing
       */
      box: [{
        box: ["border", "content"]
      }],
      /**
       * Display
       * @see https://tailwindcss.com/docs/display
       */
      display: ["block", "inline-block", "inline", "flex", "inline-flex", "table", "inline-table", "table-caption", "table-cell", "table-column", "table-column-group", "table-footer-group", "table-header-group", "table-row-group", "table-row", "flow-root", "grid", "inline-grid", "contents", "list-item", "hidden"],
      /**
       * Screen Reader Only
       * @see https://tailwindcss.com/docs/display#screen-reader-only
       */
      sr: ["sr-only", "not-sr-only"],
      /**
       * Floats
       * @see https://tailwindcss.com/docs/float
       */
      float: [{
        float: ["right", "left", "none", "start", "end"]
      }],
      /**
       * Clear
       * @see https://tailwindcss.com/docs/clear
       */
      clear: [{
        clear: ["left", "right", "both", "none", "start", "end"]
      }],
      /**
       * Isolation
       * @see https://tailwindcss.com/docs/isolation
       */
      isolation: ["isolate", "isolation-auto"],
      /**
       * Object Fit
       * @see https://tailwindcss.com/docs/object-fit
       */
      "object-fit": [{
        object: ["contain", "cover", "fill", "none", "scale-down"]
      }],
      /**
       * Object Position
       * @see https://tailwindcss.com/docs/object-position
       */
      "object-position": [{
        object: $()
      }],
      /**
       * Overflow
       * @see https://tailwindcss.com/docs/overflow
       */
      overflow: [{
        overflow: U()
      }],
      /**
       * Overflow X
       * @see https://tailwindcss.com/docs/overflow
       */
      "overflow-x": [{
        "overflow-x": U()
      }],
      /**
       * Overflow Y
       * @see https://tailwindcss.com/docs/overflow
       */
      "overflow-y": [{
        "overflow-y": U()
      }],
      /**
       * Overscroll Behavior
       * @see https://tailwindcss.com/docs/overscroll-behavior
       */
      overscroll: [{
        overscroll: q()
      }],
      /**
       * Overscroll Behavior X
       * @see https://tailwindcss.com/docs/overscroll-behavior
       */
      "overscroll-x": [{
        "overscroll-x": q()
      }],
      /**
       * Overscroll Behavior Y
       * @see https://tailwindcss.com/docs/overscroll-behavior
       */
      "overscroll-y": [{
        "overscroll-y": q()
      }],
      /**
       * Position
       * @see https://tailwindcss.com/docs/position
       */
      position: ["static", "fixed", "absolute", "relative", "sticky"],
      /**
       * Top / Right / Bottom / Left
       * @see https://tailwindcss.com/docs/top-right-bottom-left
       */
      inset: [{
        inset: ee()
      }],
      /**
       * Right / Left
       * @see https://tailwindcss.com/docs/top-right-bottom-left
       */
      "inset-x": [{
        "inset-x": ee()
      }],
      /**
       * Top / Bottom
       * @see https://tailwindcss.com/docs/top-right-bottom-left
       */
      "inset-y": [{
        "inset-y": ee()
      }],
      /**
       * Start
       * @see https://tailwindcss.com/docs/top-right-bottom-left
       */
      start: [{
        start: ee()
      }],
      /**
       * End
       * @see https://tailwindcss.com/docs/top-right-bottom-left
       */
      end: [{
        end: ee()
      }],
      /**
       * Top
       * @see https://tailwindcss.com/docs/top-right-bottom-left
       */
      top: [{
        top: ee()
      }],
      /**
       * Right
       * @see https://tailwindcss.com/docs/top-right-bottom-left
       */
      right: [{
        right: ee()
      }],
      /**
       * Bottom
       * @see https://tailwindcss.com/docs/top-right-bottom-left
       */
      bottom: [{
        bottom: ee()
      }],
      /**
       * Left
       * @see https://tailwindcss.com/docs/top-right-bottom-left
       */
      left: [{
        left: ee()
      }],
      /**
       * Visibility
       * @see https://tailwindcss.com/docs/visibility
       */
      visibility: ["visible", "invisible", "collapse"],
      /**
       * Z-Index
       * @see https://tailwindcss.com/docs/z-index
       */
      z: [{
        z: [or, "auto", de, ue]
      }],
      // ------------------------
      // --- Flexbox and Grid ---
      // ------------------------
      /**
       * Flex Basis
       * @see https://tailwindcss.com/docs/flex-basis
       */
      basis: [{
        basis: [Fo, "full", "auto", f, ...F()]
      }],
      /**
       * Flex Direction
       * @see https://tailwindcss.com/docs/flex-direction
       */
      "flex-direction": [{
        flex: ["row", "row-reverse", "col", "col-reverse"]
      }],
      /**
       * Flex Wrap
       * @see https://tailwindcss.com/docs/flex-wrap
       */
      "flex-wrap": [{
        flex: ["nowrap", "wrap", "wrap-reverse"]
      }],
      /**
       * Flex
       * @see https://tailwindcss.com/docs/flex
       */
      flex: [{
        flex: [Oe, Fo, "auto", "initial", "none", ue]
      }],
      /**
       * Flex Grow
       * @see https://tailwindcss.com/docs/flex-grow
       */
      grow: [{
        grow: ["", Oe, de, ue]
      }],
      /**
       * Flex Shrink
       * @see https://tailwindcss.com/docs/flex-shrink
       */
      shrink: [{
        shrink: ["", Oe, de, ue]
      }],
      /**
       * Order
       * @see https://tailwindcss.com/docs/order
       */
      order: [{
        order: [or, "first", "last", "none", de, ue]
      }],
      /**
       * Grid Template Columns
       * @see https://tailwindcss.com/docs/grid-template-columns
       */
      "grid-cols": [{
        "grid-cols": Q()
      }],
      /**
       * Grid Column Start / End
       * @see https://tailwindcss.com/docs/grid-column
       */
      "col-start-end": [{
        col: J()
      }],
      /**
       * Grid Column Start
       * @see https://tailwindcss.com/docs/grid-column
       */
      "col-start": [{
        "col-start": te()
      }],
      /**
       * Grid Column End
       * @see https://tailwindcss.com/docs/grid-column
       */
      "col-end": [{
        "col-end": te()
      }],
      /**
       * Grid Template Rows
       * @see https://tailwindcss.com/docs/grid-template-rows
       */
      "grid-rows": [{
        "grid-rows": Q()
      }],
      /**
       * Grid Row Start / End
       * @see https://tailwindcss.com/docs/grid-row
       */
      "row-start-end": [{
        row: J()
      }],
      /**
       * Grid Row Start
       * @see https://tailwindcss.com/docs/grid-row
       */
      "row-start": [{
        "row-start": te()
      }],
      /**
       * Grid Row End
       * @see https://tailwindcss.com/docs/grid-row
       */
      "row-end": [{
        "row-end": te()
      }],
      /**
       * Grid Auto Flow
       * @see https://tailwindcss.com/docs/grid-auto-flow
       */
      "grid-flow": [{
        "grid-flow": ["row", "col", "dense", "row-dense", "col-dense"]
      }],
      /**
       * Grid Auto Columns
       * @see https://tailwindcss.com/docs/grid-auto-columns
       */
      "auto-cols": [{
        "auto-cols": re()
      }],
      /**
       * Grid Auto Rows
       * @see https://tailwindcss.com/docs/grid-auto-rows
       */
      "auto-rows": [{
        "auto-rows": re()
      }],
      /**
       * Gap
       * @see https://tailwindcss.com/docs/gap
       */
      gap: [{
        gap: F()
      }],
      /**
       * Gap X
       * @see https://tailwindcss.com/docs/gap
       */
      "gap-x": [{
        "gap-x": F()
      }],
      /**
       * Gap Y
       * @see https://tailwindcss.com/docs/gap
       */
      "gap-y": [{
        "gap-y": F()
      }],
      /**
       * Justify Content
       * @see https://tailwindcss.com/docs/justify-content
       */
      "justify-content": [{
        justify: [...le(), "normal"]
      }],
      /**
       * Justify Items
       * @see https://tailwindcss.com/docs/justify-items
       */
      "justify-items": [{
        "justify-items": [...pe(), "normal"]
      }],
      /**
       * Justify Self
       * @see https://tailwindcss.com/docs/justify-self
       */
      "justify-self": [{
        "justify-self": ["auto", ...pe()]
      }],
      /**
       * Align Content
       * @see https://tailwindcss.com/docs/align-content
       */
      "align-content": [{
        content: ["normal", ...le()]
      }],
      /**
       * Align Items
       * @see https://tailwindcss.com/docs/align-items
       */
      "align-items": [{
        items: [...pe(), {
          baseline: ["", "last"]
        }]
      }],
      /**
       * Align Self
       * @see https://tailwindcss.com/docs/align-self
       */
      "align-self": [{
        self: ["auto", ...pe(), {
          baseline: ["", "last"]
        }]
      }],
      /**
       * Place Content
       * @see https://tailwindcss.com/docs/place-content
       */
      "place-content": [{
        "place-content": le()
      }],
      /**
       * Place Items
       * @see https://tailwindcss.com/docs/place-items
       */
      "place-items": [{
        "place-items": [...pe(), "baseline"]
      }],
      /**
       * Place Self
       * @see https://tailwindcss.com/docs/place-self
       */
      "place-self": [{
        "place-self": ["auto", ...pe()]
      }],
      // Spacing
      /**
       * Padding
       * @see https://tailwindcss.com/docs/padding
       */
      p: [{
        p: F()
      }],
      /**
       * Padding X
       * @see https://tailwindcss.com/docs/padding
       */
      px: [{
        px: F()
      }],
      /**
       * Padding Y
       * @see https://tailwindcss.com/docs/padding
       */
      py: [{
        py: F()
      }],
      /**
       * Padding Start
       * @see https://tailwindcss.com/docs/padding
       */
      ps: [{
        ps: F()
      }],
      /**
       * Padding End
       * @see https://tailwindcss.com/docs/padding
       */
      pe: [{
        pe: F()
      }],
      /**
       * Padding Top
       * @see https://tailwindcss.com/docs/padding
       */
      pt: [{
        pt: F()
      }],
      /**
       * Padding Right
       * @see https://tailwindcss.com/docs/padding
       */
      pr: [{
        pr: F()
      }],
      /**
       * Padding Bottom
       * @see https://tailwindcss.com/docs/padding
       */
      pb: [{
        pb: F()
      }],
      /**
       * Padding Left
       * @see https://tailwindcss.com/docs/padding
       */
      pl: [{
        pl: F()
      }],
      /**
       * Margin
       * @see https://tailwindcss.com/docs/margin
       */
      m: [{
        m: O()
      }],
      /**
       * Margin X
       * @see https://tailwindcss.com/docs/margin
       */
      mx: [{
        mx: O()
      }],
      /**
       * Margin Y
       * @see https://tailwindcss.com/docs/margin
       */
      my: [{
        my: O()
      }],
      /**
       * Margin Start
       * @see https://tailwindcss.com/docs/margin
       */
      ms: [{
        ms: O()
      }],
      /**
       * Margin End
       * @see https://tailwindcss.com/docs/margin
       */
      me: [{
        me: O()
      }],
      /**
       * Margin Top
       * @see https://tailwindcss.com/docs/margin
       */
      mt: [{
        mt: O()
      }],
      /**
       * Margin Right
       * @see https://tailwindcss.com/docs/margin
       */
      mr: [{
        mr: O()
      }],
      /**
       * Margin Bottom
       * @see https://tailwindcss.com/docs/margin
       */
      mb: [{
        mb: O()
      }],
      /**
       * Margin Left
       * @see https://tailwindcss.com/docs/margin
       */
      ml: [{
        ml: O()
      }],
      /**
       * Space Between X
       * @see https://tailwindcss.com/docs/margin#adding-space-between-children
       */
      "space-x": [{
        "space-x": F()
      }],
      /**
       * Space Between X Reverse
       * @see https://tailwindcss.com/docs/margin#adding-space-between-children
       */
      "space-x-reverse": ["space-x-reverse"],
      /**
       * Space Between Y
       * @see https://tailwindcss.com/docs/margin#adding-space-between-children
       */
      "space-y": [{
        "space-y": F()
      }],
      /**
       * Space Between Y Reverse
       * @see https://tailwindcss.com/docs/margin#adding-space-between-children
       */
      "space-y-reverse": ["space-y-reverse"],
      // --------------
      // --- Sizing ---
      // --------------
      /**
       * Size
       * @see https://tailwindcss.com/docs/width#setting-both-width-and-height
       */
      size: [{
        size: B()
      }],
      /**
       * Width
       * @see https://tailwindcss.com/docs/width
       */
      w: [{
        w: [f, "screen", ...B()]
      }],
      /**
       * Min-Width
       * @see https://tailwindcss.com/docs/min-width
       */
      "min-w": [{
        "min-w": [
          f,
          "screen",
          /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
          "none",
          ...B()
        ]
      }],
      /**
       * Max-Width
       * @see https://tailwindcss.com/docs/max-width
       */
      "max-w": [{
        "max-w": [
          f,
          "screen",
          "none",
          /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
          "prose",
          /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
          {
            screen: [u]
          },
          ...B()
        ]
      }],
      /**
       * Height
       * @see https://tailwindcss.com/docs/height
       */
      h: [{
        h: ["screen", "lh", ...B()]
      }],
      /**
       * Min-Height
       * @see https://tailwindcss.com/docs/min-height
       */
      "min-h": [{
        "min-h": ["screen", "lh", "none", ...B()]
      }],
      /**
       * Max-Height
       * @see https://tailwindcss.com/docs/max-height
       */
      "max-h": [{
        "max-h": ["screen", "lh", ...B()]
      }],
      // ------------------
      // --- Typography ---
      // ------------------
      /**
       * Font Size
       * @see https://tailwindcss.com/docs/font-size
       */
      "font-size": [{
        text: ["base", r, cl, Zr]
      }],
      /**
       * Font Smoothing
       * @see https://tailwindcss.com/docs/font-smoothing
       */
      "font-smoothing": ["antialiased", "subpixel-antialiased"],
      /**
       * Font Style
       * @see https://tailwindcss.com/docs/font-style
       */
      "font-style": ["italic", "not-italic"],
      /**
       * Font Weight
       * @see https://tailwindcss.com/docs/font-weight
       */
      "font-weight": [{
        font: [o, de, Zf]
      }],
      /**
       * Font Stretch
       * @see https://tailwindcss.com/docs/font-stretch
       */
      "font-stretch": [{
        "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Ff, ue]
      }],
      /**
       * Font Family
       * @see https://tailwindcss.com/docs/font-family
       */
      "font-family": [{
        font: [y4, ue, n]
      }],
      /**
       * Font Variant Numeric
       * @see https://tailwindcss.com/docs/font-variant-numeric
       */
      "fvn-normal": ["normal-nums"],
      /**
       * Font Variant Numeric
       * @see https://tailwindcss.com/docs/font-variant-numeric
       */
      "fvn-ordinal": ["ordinal"],
      /**
       * Font Variant Numeric
       * @see https://tailwindcss.com/docs/font-variant-numeric
       */
      "fvn-slashed-zero": ["slashed-zero"],
      /**
       * Font Variant Numeric
       * @see https://tailwindcss.com/docs/font-variant-numeric
       */
      "fvn-figure": ["lining-nums", "oldstyle-nums"],
      /**
       * Font Variant Numeric
       * @see https://tailwindcss.com/docs/font-variant-numeric
       */
      "fvn-spacing": ["proportional-nums", "tabular-nums"],
      /**
       * Font Variant Numeric
       * @see https://tailwindcss.com/docs/font-variant-numeric
       */
      "fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
      /**
       * Letter Spacing
       * @see https://tailwindcss.com/docs/letter-spacing
       */
      tracking: [{
        tracking: [l, de, ue]
      }],
      /**
       * Line Clamp
       * @see https://tailwindcss.com/docs/line-clamp
       */
      "line-clamp": [{
        "line-clamp": [Oe, "none", de, Zf]
      }],
      /**
       * Line Height
       * @see https://tailwindcss.com/docs/line-height
       */
      leading: [{
        leading: [
          /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
          s,
          ...F()
        ]
      }],
      /**
       * List Style Image
       * @see https://tailwindcss.com/docs/list-style-image
       */
      "list-image": [{
        "list-image": ["none", de, ue]
      }],
      /**
       * List Style Position
       * @see https://tailwindcss.com/docs/list-style-position
       */
      "list-style-position": [{
        list: ["inside", "outside"]
      }],
      /**
       * List Style Type
       * @see https://tailwindcss.com/docs/list-style-type
       */
      "list-style-type": [{
        list: ["disc", "decimal", "none", de, ue]
      }],
      /**
       * Text Alignment
       * @see https://tailwindcss.com/docs/text-align
       */
      "text-alignment": [{
        text: ["left", "center", "right", "justify", "start", "end"]
      }],
      /**
       * Placeholder Color
       * @deprecated since Tailwind CSS v3.0.0
       * @see https://v3.tailwindcss.com/docs/placeholder-color
       */
      "placeholder-color": [{
        placeholder: j()
      }],
      /**
       * Text Color
       * @see https://tailwindcss.com/docs/text-color
       */
      "text-color": [{
        text: j()
      }],
      /**
       * Text Decoration
       * @see https://tailwindcss.com/docs/text-decoration
       */
      "text-decoration": ["underline", "overline", "line-through", "no-underline"],
      /**
       * Text Decoration Style
       * @see https://tailwindcss.com/docs/text-decoration-style
       */
      "text-decoration-style": [{
        decoration: [..._e(), "wavy"]
      }],
      /**
       * Text Decoration Thickness
       * @see https://tailwindcss.com/docs/text-decoration-thickness
       */
      "text-decoration-thickness": [{
        decoration: [Oe, "from-font", "auto", de, Zr]
      }],
      /**
       * Text Decoration Color
       * @see https://tailwindcss.com/docs/text-decoration-color
       */
      "text-decoration-color": [{
        decoration: j()
      }],
      /**
       * Text Underline Offset
       * @see https://tailwindcss.com/docs/text-underline-offset
       */
      "underline-offset": [{
        "underline-offset": [Oe, "auto", de, ue]
      }],
      /**
       * Text Transform
       * @see https://tailwindcss.com/docs/text-transform
       */
      "text-transform": ["uppercase", "lowercase", "capitalize", "normal-case"],
      /**
       * Text Overflow
       * @see https://tailwindcss.com/docs/text-overflow
       */
      "text-overflow": ["truncate", "text-ellipsis", "text-clip"],
      /**
       * Text Wrap
       * @see https://tailwindcss.com/docs/text-wrap
       */
      "text-wrap": [{
        text: ["wrap", "nowrap", "balance", "pretty"]
      }],
      /**
       * Text Indent
       * @see https://tailwindcss.com/docs/text-indent
       */
      indent: [{
        indent: F()
      }],
      /**
       * Vertical Alignment
       * @see https://tailwindcss.com/docs/vertical-align
       */
      "vertical-align": [{
        align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", de, ue]
      }],
      /**
       * Whitespace
       * @see https://tailwindcss.com/docs/whitespace
       */
      whitespace: [{
        whitespace: ["normal", "nowrap", "pre", "pre-line", "pre-wrap", "break-spaces"]
      }],
      /**
       * Word Break
       * @see https://tailwindcss.com/docs/word-break
       */
      break: [{
        break: ["normal", "words", "all", "keep"]
      }],
      /**
       * Overflow Wrap
       * @see https://tailwindcss.com/docs/overflow-wrap
       */
      wrap: [{
        wrap: ["break-word", "anywhere", "normal"]
      }],
      /**
       * Hyphens
       * @see https://tailwindcss.com/docs/hyphens
       */
      hyphens: [{
        hyphens: ["none", "manual", "auto"]
      }],
      /**
       * Content
       * @see https://tailwindcss.com/docs/content
       */
      content: [{
        content: ["none", de, ue]
      }],
      // -------------------
      // --- Backgrounds ---
      // -------------------
      /**
       * Background Attachment
       * @see https://tailwindcss.com/docs/background-attachment
       */
      "bg-attachment": [{
        bg: ["fixed", "local", "scroll"]
      }],
      /**
       * Background Clip
       * @see https://tailwindcss.com/docs/background-clip
       */
      "bg-clip": [{
        "bg-clip": ["border", "padding", "content", "text"]
      }],
      /**
       * Background Origin
       * @see https://tailwindcss.com/docs/background-origin
       */
      "bg-origin": [{
        "bg-origin": ["border", "padding", "content"]
      }],
      /**
       * Background Position
       * @see https://tailwindcss.com/docs/background-position
       */
      "bg-position": [{
        bg: ce()
      }],
      /**
       * Background Repeat
       * @see https://tailwindcss.com/docs/background-repeat
       */
      "bg-repeat": [{
        bg: we()
      }],
      /**
       * Background Size
       * @see https://tailwindcss.com/docs/background-size
       */
      "bg-size": [{
        bg: Pe()
      }],
      /**
       * Background Image
       * @see https://tailwindcss.com/docs/background-image
       */
      "bg-image": [{
        bg: ["none", {
          linear: [{
            to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
          }, or, de, ue],
          radial: ["", de, ue],
          conic: [or, de, ue]
        }, k4, x4]
      }],
      /**
       * Background Color
       * @see https://tailwindcss.com/docs/background-color
       */
      "bg-color": [{
        bg: j()
      }],
      /**
       * Gradient Color Stops From Position
       * @see https://tailwindcss.com/docs/gradient-color-stops
       */
      "gradient-from-pos": [{
        from: Me()
      }],
      /**
       * Gradient Color Stops Via Position
       * @see https://tailwindcss.com/docs/gradient-color-stops
       */
      "gradient-via-pos": [{
        via: Me()
      }],
      /**
       * Gradient Color Stops To Position
       * @see https://tailwindcss.com/docs/gradient-color-stops
       */
      "gradient-to-pos": [{
        to: Me()
      }],
      /**
       * Gradient Color Stops From
       * @see https://tailwindcss.com/docs/gradient-color-stops
       */
      "gradient-from": [{
        from: j()
      }],
      /**
       * Gradient Color Stops Via
       * @see https://tailwindcss.com/docs/gradient-color-stops
       */
      "gradient-via": [{
        via: j()
      }],
      /**
       * Gradient Color Stops To
       * @see https://tailwindcss.com/docs/gradient-color-stops
       */
      "gradient-to": [{
        to: j()
      }],
      // ---------------
      // --- Borders ---
      // ---------------
      /**
       * Border Radius
       * @see https://tailwindcss.com/docs/border-radius
       */
      rounded: [{
        rounded: ne()
      }],
      /**
       * Border Radius Start
       * @see https://tailwindcss.com/docs/border-radius
       */
      "rounded-s": [{
        "rounded-s": ne()
      }],
      /**
       * Border Radius End
       * @see https://tailwindcss.com/docs/border-radius
       */
      "rounded-e": [{
        "rounded-e": ne()
      }],
      /**
       * Border Radius Top
       * @see https://tailwindcss.com/docs/border-radius
       */
      "rounded-t": [{
        "rounded-t": ne()
      }],
      /**
       * Border Radius Right
       * @see https://tailwindcss.com/docs/border-radius
       */
      "rounded-r": [{
        "rounded-r": ne()
      }],
      /**
       * Border Radius Bottom
       * @see https://tailwindcss.com/docs/border-radius
       */
      "rounded-b": [{
        "rounded-b": ne()
      }],
      /**
       * Border Radius Left
       * @see https://tailwindcss.com/docs/border-radius
       */
      "rounded-l": [{
        "rounded-l": ne()
      }],
      /**
       * Border Radius Start Start
       * @see https://tailwindcss.com/docs/border-radius
       */
      "rounded-ss": [{
        "rounded-ss": ne()
      }],
      /**
       * Border Radius Start End
       * @see https://tailwindcss.com/docs/border-radius
       */
      "rounded-se": [{
        "rounded-se": ne()
      }],
      /**
       * Border Radius End End
       * @see https://tailwindcss.com/docs/border-radius
       */
      "rounded-ee": [{
        "rounded-ee": ne()
      }],
      /**
       * Border Radius End Start
       * @see https://tailwindcss.com/docs/border-radius
       */
      "rounded-es": [{
        "rounded-es": ne()
      }],
      /**
       * Border Radius Top Left
       * @see https://tailwindcss.com/docs/border-radius
       */
      "rounded-tl": [{
        "rounded-tl": ne()
      }],
      /**
       * Border Radius Top Right
       * @see https://tailwindcss.com/docs/border-radius
       */
      "rounded-tr": [{
        "rounded-tr": ne()
      }],
      /**
       * Border Radius Bottom Right
       * @see https://tailwindcss.com/docs/border-radius
       */
      "rounded-br": [{
        "rounded-br": ne()
      }],
      /**
       * Border Radius Bottom Left
       * @see https://tailwindcss.com/docs/border-radius
       */
      "rounded-bl": [{
        "rounded-bl": ne()
      }],
      /**
       * Border Width
       * @see https://tailwindcss.com/docs/border-width
       */
      "border-w": [{
        border: fe()
      }],
      /**
       * Border Width X
       * @see https://tailwindcss.com/docs/border-width
       */
      "border-w-x": [{
        "border-x": fe()
      }],
      /**
       * Border Width Y
       * @see https://tailwindcss.com/docs/border-width
       */
      "border-w-y": [{
        "border-y": fe()
      }],
      /**
       * Border Width Start
       * @see https://tailwindcss.com/docs/border-width
       */
      "border-w-s": [{
        "border-s": fe()
      }],
      /**
       * Border Width End
       * @see https://tailwindcss.com/docs/border-width
       */
      "border-w-e": [{
        "border-e": fe()
      }],
      /**
       * Border Width Top
       * @see https://tailwindcss.com/docs/border-width
       */
      "border-w-t": [{
        "border-t": fe()
      }],
      /**
       * Border Width Right
       * @see https://tailwindcss.com/docs/border-width
       */
      "border-w-r": [{
        "border-r": fe()
      }],
      /**
       * Border Width Bottom
       * @see https://tailwindcss.com/docs/border-width
       */
      "border-w-b": [{
        "border-b": fe()
      }],
      /**
       * Border Width Left
       * @see https://tailwindcss.com/docs/border-width
       */
      "border-w-l": [{
        "border-l": fe()
      }],
      /**
       * Divide Width X
       * @see https://tailwindcss.com/docs/border-width#between-children
       */
      "divide-x": [{
        "divide-x": fe()
      }],
      /**
       * Divide Width X Reverse
       * @see https://tailwindcss.com/docs/border-width#between-children
       */
      "divide-x-reverse": ["divide-x-reverse"],
      /**
       * Divide Width Y
       * @see https://tailwindcss.com/docs/border-width#between-children
       */
      "divide-y": [{
        "divide-y": fe()
      }],
      /**
       * Divide Width Y Reverse
       * @see https://tailwindcss.com/docs/border-width#between-children
       */
      "divide-y-reverse": ["divide-y-reverse"],
      /**
       * Border Style
       * @see https://tailwindcss.com/docs/border-style
       */
      "border-style": [{
        border: [..._e(), "hidden", "none"]
      }],
      /**
       * Divide Style
       * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
       */
      "divide-style": [{
        divide: [..._e(), "hidden", "none"]
      }],
      /**
       * Border Color
       * @see https://tailwindcss.com/docs/border-color
       */
      "border-color": [{
        border: j()
      }],
      /**
       * Border Color X
       * @see https://tailwindcss.com/docs/border-color
       */
      "border-color-x": [{
        "border-x": j()
      }],
      /**
       * Border Color Y
       * @see https://tailwindcss.com/docs/border-color
       */
      "border-color-y": [{
        "border-y": j()
      }],
      /**
       * Border Color S
       * @see https://tailwindcss.com/docs/border-color
       */
      "border-color-s": [{
        "border-s": j()
      }],
      /**
       * Border Color E
       * @see https://tailwindcss.com/docs/border-color
       */
      "border-color-e": [{
        "border-e": j()
      }],
      /**
       * Border Color Top
       * @see https://tailwindcss.com/docs/border-color
       */
      "border-color-t": [{
        "border-t": j()
      }],
      /**
       * Border Color Right
       * @see https://tailwindcss.com/docs/border-color
       */
      "border-color-r": [{
        "border-r": j()
      }],
      /**
       * Border Color Bottom
       * @see https://tailwindcss.com/docs/border-color
       */
      "border-color-b": [{
        "border-b": j()
      }],
      /**
       * Border Color Left
       * @see https://tailwindcss.com/docs/border-color
       */
      "border-color-l": [{
        "border-l": j()
      }],
      /**
       * Divide Color
       * @see https://tailwindcss.com/docs/divide-color
       */
      "divide-color": [{
        divide: j()
      }],
      /**
       * Outline Style
       * @see https://tailwindcss.com/docs/outline-style
       */
      "outline-style": [{
        outline: [..._e(), "none", "hidden"]
      }],
      /**
       * Outline Offset
       * @see https://tailwindcss.com/docs/outline-offset
       */
      "outline-offset": [{
        "outline-offset": [Oe, de, ue]
      }],
      /**
       * Outline Width
       * @see https://tailwindcss.com/docs/outline-width
       */
      "outline-w": [{
        outline: ["", Oe, cl, Zr]
      }],
      /**
       * Outline Color
       * @see https://tailwindcss.com/docs/outline-color
       */
      "outline-color": [{
        outline: j()
      }],
      // ---------------
      // --- Effects ---
      // ---------------
      /**
       * Box Shadow
       * @see https://tailwindcss.com/docs/box-shadow
       */
      shadow: [{
        shadow: [
          // Deprecated since Tailwind CSS v4.0.0
          "",
          "none",
          m,
          Wc,
          Jc
        ]
      }],
      /**
       * Box Shadow Color
       * @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
       */
      "shadow-color": [{
        shadow: j()
      }],
      /**
       * Inset Box Shadow
       * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
       */
      "inset-shadow": [{
        "inset-shadow": ["none", h, Wc, Jc]
      }],
      /**
       * Inset Box Shadow Color
       * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
       */
      "inset-shadow-color": [{
        "inset-shadow": j()
      }],
      /**
       * Ring Width
       * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
       */
      "ring-w": [{
        ring: fe()
      }],
      /**
       * Ring Width Inset
       * @see https://v3.tailwindcss.com/docs/ring-width#inset-rings
       * @deprecated since Tailwind CSS v4.0.0
       * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
       */
      "ring-w-inset": ["ring-inset"],
      /**
       * Ring Color
       * @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
       */
      "ring-color": [{
        ring: j()
      }],
      /**
       * Ring Offset Width
       * @see https://v3.tailwindcss.com/docs/ring-offset-width
       * @deprecated since Tailwind CSS v4.0.0
       * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
       */
      "ring-offset-w": [{
        "ring-offset": [Oe, Zr]
      }],
      /**
       * Ring Offset Color
       * @see https://v3.tailwindcss.com/docs/ring-offset-color
       * @deprecated since Tailwind CSS v4.0.0
       * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
       */
      "ring-offset-color": [{
        "ring-offset": j()
      }],
      /**
       * Inset Ring Width
       * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
       */
      "inset-ring-w": [{
        "inset-ring": fe()
      }],
      /**
       * Inset Ring Color
       * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
       */
      "inset-ring-color": [{
        "inset-ring": j()
      }],
      /**
       * Text Shadow
       * @see https://tailwindcss.com/docs/text-shadow
       */
      "text-shadow": [{
        "text-shadow": ["none", S, Wc, Jc]
      }],
      /**
       * Text Shadow Color
       * @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
       */
      "text-shadow-color": [{
        "text-shadow": j()
      }],
      /**
       * Opacity
       * @see https://tailwindcss.com/docs/opacity
       */
      opacity: [{
        opacity: [Oe, de, ue]
      }],
      /**
       * Mix Blend Mode
       * @see https://tailwindcss.com/docs/mix-blend-mode
       */
      "mix-blend": [{
        "mix-blend": [...Fe(), "plus-darker", "plus-lighter"]
      }],
      /**
       * Background Blend Mode
       * @see https://tailwindcss.com/docs/background-blend-mode
       */
      "bg-blend": [{
        "bg-blend": Fe()
      }],
      /**
       * Mask Clip
       * @see https://tailwindcss.com/docs/mask-clip
       */
      "mask-clip": [{
        "mask-clip": ["border", "padding", "content", "fill", "stroke", "view"]
      }, "mask-no-clip"],
      /**
       * Mask Composite
       * @see https://tailwindcss.com/docs/mask-composite
       */
      "mask-composite": [{
        mask: ["add", "subtract", "intersect", "exclude"]
      }],
      /**
       * Mask Image
       * @see https://tailwindcss.com/docs/mask-image
       */
      "mask-image-linear-pos": [{
        "mask-linear": [Oe]
      }],
      "mask-image-linear-from-pos": [{
        "mask-linear-from": oe()
      }],
      "mask-image-linear-to-pos": [{
        "mask-linear-to": oe()
      }],
      "mask-image-linear-from-color": [{
        "mask-linear-from": j()
      }],
      "mask-image-linear-to-color": [{
        "mask-linear-to": j()
      }],
      "mask-image-t-from-pos": [{
        "mask-t-from": oe()
      }],
      "mask-image-t-to-pos": [{
        "mask-t-to": oe()
      }],
      "mask-image-t-from-color": [{
        "mask-t-from": j()
      }],
      "mask-image-t-to-color": [{
        "mask-t-to": j()
      }],
      "mask-image-r-from-pos": [{
        "mask-r-from": oe()
      }],
      "mask-image-r-to-pos": [{
        "mask-r-to": oe()
      }],
      "mask-image-r-from-color": [{
        "mask-r-from": j()
      }],
      "mask-image-r-to-color": [{
        "mask-r-to": j()
      }],
      "mask-image-b-from-pos": [{
        "mask-b-from": oe()
      }],
      "mask-image-b-to-pos": [{
        "mask-b-to": oe()
      }],
      "mask-image-b-from-color": [{
        "mask-b-from": j()
      }],
      "mask-image-b-to-color": [{
        "mask-b-to": j()
      }],
      "mask-image-l-from-pos": [{
        "mask-l-from": oe()
      }],
      "mask-image-l-to-pos": [{
        "mask-l-to": oe()
      }],
      "mask-image-l-from-color": [{
        "mask-l-from": j()
      }],
      "mask-image-l-to-color": [{
        "mask-l-to": j()
      }],
      "mask-image-x-from-pos": [{
        "mask-x-from": oe()
      }],
      "mask-image-x-to-pos": [{
        "mask-x-to": oe()
      }],
      "mask-image-x-from-color": [{
        "mask-x-from": j()
      }],
      "mask-image-x-to-color": [{
        "mask-x-to": j()
      }],
      "mask-image-y-from-pos": [{
        "mask-y-from": oe()
      }],
      "mask-image-y-to-pos": [{
        "mask-y-to": oe()
      }],
      "mask-image-y-from-color": [{
        "mask-y-from": j()
      }],
      "mask-image-y-to-color": [{
        "mask-y-to": j()
      }],
      "mask-image-radial": [{
        "mask-radial": [de, ue]
      }],
      "mask-image-radial-from-pos": [{
        "mask-radial-from": oe()
      }],
      "mask-image-radial-to-pos": [{
        "mask-radial-to": oe()
      }],
      "mask-image-radial-from-color": [{
        "mask-radial-from": j()
      }],
      "mask-image-radial-to-color": [{
        "mask-radial-to": j()
      }],
      "mask-image-radial-shape": [{
        "mask-radial": ["circle", "ellipse"]
      }],
      "mask-image-radial-size": [{
        "mask-radial": [{
          closest: ["side", "corner"],
          farthest: ["side", "corner"]
        }]
      }],
      "mask-image-radial-pos": [{
        "mask-radial-at": N()
      }],
      "mask-image-conic-pos": [{
        "mask-conic": [Oe]
      }],
      "mask-image-conic-from-pos": [{
        "mask-conic-from": oe()
      }],
      "mask-image-conic-to-pos": [{
        "mask-conic-to": oe()
      }],
      "mask-image-conic-from-color": [{
        "mask-conic-from": j()
      }],
      "mask-image-conic-to-color": [{
        "mask-conic-to": j()
      }],
      /**
       * Mask Mode
       * @see https://tailwindcss.com/docs/mask-mode
       */
      "mask-mode": [{
        mask: ["alpha", "luminance", "match"]
      }],
      /**
       * Mask Origin
       * @see https://tailwindcss.com/docs/mask-origin
       */
      "mask-origin": [{
        "mask-origin": ["border", "padding", "content", "fill", "stroke", "view"]
      }],
      /**
       * Mask Position
       * @see https://tailwindcss.com/docs/mask-position
       */
      "mask-position": [{
        mask: ce()
      }],
      /**
       * Mask Repeat
       * @see https://tailwindcss.com/docs/mask-repeat
       */
      "mask-repeat": [{
        mask: we()
      }],
      /**
       * Mask Size
       * @see https://tailwindcss.com/docs/mask-size
       */
      "mask-size": [{
        mask: Pe()
      }],
      /**
       * Mask Type
       * @see https://tailwindcss.com/docs/mask-type
       */
      "mask-type": [{
        "mask-type": ["alpha", "luminance"]
      }],
      /**
       * Mask Image
       * @see https://tailwindcss.com/docs/mask-image
       */
      "mask-image": [{
        mask: ["none", de, ue]
      }],
      // ---------------
      // --- Filters ---
      // ---------------
      /**
       * Filter
       * @see https://tailwindcss.com/docs/filter
       */
      filter: [{
        filter: [
          // Deprecated since Tailwind CSS v3.0.0
          "",
          "none",
          de,
          ue
        ]
      }],
      /**
       * Blur
       * @see https://tailwindcss.com/docs/blur
       */
      blur: [{
        blur: ve()
      }],
      /**
       * Brightness
       * @see https://tailwindcss.com/docs/brightness
       */
      brightness: [{
        brightness: [Oe, de, ue]
      }],
      /**
       * Contrast
       * @see https://tailwindcss.com/docs/contrast
       */
      contrast: [{
        contrast: [Oe, de, ue]
      }],
      /**
       * Drop Shadow
       * @see https://tailwindcss.com/docs/drop-shadow
       */
      "drop-shadow": [{
        "drop-shadow": [
          // Deprecated since Tailwind CSS v4.0.0
          "",
          "none",
          y,
          Wc,
          Jc
        ]
      }],
      /**
       * Drop Shadow Color
       * @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
       */
      "drop-shadow-color": [{
        "drop-shadow": j()
      }],
      /**
       * Grayscale
       * @see https://tailwindcss.com/docs/grayscale
       */
      grayscale: [{
        grayscale: ["", Oe, de, ue]
      }],
      /**
       * Hue Rotate
       * @see https://tailwindcss.com/docs/hue-rotate
       */
      "hue-rotate": [{
        "hue-rotate": [Oe, de, ue]
      }],
      /**
       * Invert
       * @see https://tailwindcss.com/docs/invert
       */
      invert: [{
        invert: ["", Oe, de, ue]
      }],
      /**
       * Saturate
       * @see https://tailwindcss.com/docs/saturate
       */
      saturate: [{
        saturate: [Oe, de, ue]
      }],
      /**
       * Sepia
       * @see https://tailwindcss.com/docs/sepia
       */
      sepia: [{
        sepia: ["", Oe, de, ue]
      }],
      /**
       * Backdrop Filter
       * @see https://tailwindcss.com/docs/backdrop-filter
       */
      "backdrop-filter": [{
        "backdrop-filter": [
          // Deprecated since Tailwind CSS v3.0.0
          "",
          "none",
          de,
          ue
        ]
      }],
      /**
       * Backdrop Blur
       * @see https://tailwindcss.com/docs/backdrop-blur
       */
      "backdrop-blur": [{
        "backdrop-blur": ve()
      }],
      /**
       * Backdrop Brightness
       * @see https://tailwindcss.com/docs/backdrop-brightness
       */
      "backdrop-brightness": [{
        "backdrop-brightness": [Oe, de, ue]
      }],
      /**
       * Backdrop Contrast
       * @see https://tailwindcss.com/docs/backdrop-contrast
       */
      "backdrop-contrast": [{
        "backdrop-contrast": [Oe, de, ue]
      }],
      /**
       * Backdrop Grayscale
       * @see https://tailwindcss.com/docs/backdrop-grayscale
       */
      "backdrop-grayscale": [{
        "backdrop-grayscale": ["", Oe, de, ue]
      }],
      /**
       * Backdrop Hue Rotate
       * @see https://tailwindcss.com/docs/backdrop-hue-rotate
       */
      "backdrop-hue-rotate": [{
        "backdrop-hue-rotate": [Oe, de, ue]
      }],
      /**
       * Backdrop Invert
       * @see https://tailwindcss.com/docs/backdrop-invert
       */
      "backdrop-invert": [{
        "backdrop-invert": ["", Oe, de, ue]
      }],
      /**
       * Backdrop Opacity
       * @see https://tailwindcss.com/docs/backdrop-opacity
       */
      "backdrop-opacity": [{
        "backdrop-opacity": [Oe, de, ue]
      }],
      /**
       * Backdrop Saturate
       * @see https://tailwindcss.com/docs/backdrop-saturate
       */
      "backdrop-saturate": [{
        "backdrop-saturate": [Oe, de, ue]
      }],
      /**
       * Backdrop Sepia
       * @see https://tailwindcss.com/docs/backdrop-sepia
       */
      "backdrop-sepia": [{
        "backdrop-sepia": ["", Oe, de, ue]
      }],
      // --------------
      // --- Tables ---
      // --------------
      /**
       * Border Collapse
       * @see https://tailwindcss.com/docs/border-collapse
       */
      "border-collapse": [{
        border: ["collapse", "separate"]
      }],
      /**
       * Border Spacing
       * @see https://tailwindcss.com/docs/border-spacing
       */
      "border-spacing": [{
        "border-spacing": F()
      }],
      /**
       * Border Spacing X
       * @see https://tailwindcss.com/docs/border-spacing
       */
      "border-spacing-x": [{
        "border-spacing-x": F()
      }],
      /**
       * Border Spacing Y
       * @see https://tailwindcss.com/docs/border-spacing
       */
      "border-spacing-y": [{
        "border-spacing-y": F()
      }],
      /**
       * Table Layout
       * @see https://tailwindcss.com/docs/table-layout
       */
      "table-layout": [{
        table: ["auto", "fixed"]
      }],
      /**
       * Caption Side
       * @see https://tailwindcss.com/docs/caption-side
       */
      caption: [{
        caption: ["top", "bottom"]
      }],
      // ---------------------------------
      // --- Transitions and Animation ---
      // ---------------------------------
      /**
       * Transition Property
       * @see https://tailwindcss.com/docs/transition-property
       */
      transition: [{
        transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", de, ue]
      }],
      /**
       * Transition Behavior
       * @see https://tailwindcss.com/docs/transition-behavior
       */
      "transition-behavior": [{
        transition: ["normal", "discrete"]
      }],
      /**
       * Transition Duration
       * @see https://tailwindcss.com/docs/transition-duration
       */
      duration: [{
        duration: [Oe, "initial", de, ue]
      }],
      /**
       * Transition Timing Function
       * @see https://tailwindcss.com/docs/transition-timing-function
       */
      ease: [{
        ease: ["linear", "initial", E, de, ue]
      }],
      /**
       * Transition Delay
       * @see https://tailwindcss.com/docs/transition-delay
       */
      delay: [{
        delay: [Oe, de, ue]
      }],
      /**
       * Animation
       * @see https://tailwindcss.com/docs/animation
       */
      animate: [{
        animate: ["none", z, de, ue]
      }],
      // ------------------
      // --- Transforms ---
      // ------------------
      /**
       * Backface Visibility
       * @see https://tailwindcss.com/docs/backface-visibility
       */
      backface: [{
        backface: ["hidden", "visible"]
      }],
      /**
       * Perspective
       * @see https://tailwindcss.com/docs/perspective
       */
      perspective: [{
        perspective: [k, de, ue]
      }],
      /**
       * Perspective Origin
       * @see https://tailwindcss.com/docs/perspective-origin
       */
      "perspective-origin": [{
        "perspective-origin": $()
      }],
      /**
       * Rotate
       * @see https://tailwindcss.com/docs/rotate
       */
      rotate: [{
        rotate: Ve()
      }],
      /**
       * Rotate X
       * @see https://tailwindcss.com/docs/rotate
       */
      "rotate-x": [{
        "rotate-x": Ve()
      }],
      /**
       * Rotate Y
       * @see https://tailwindcss.com/docs/rotate
       */
      "rotate-y": [{
        "rotate-y": Ve()
      }],
      /**
       * Rotate Z
       * @see https://tailwindcss.com/docs/rotate
       */
      "rotate-z": [{
        "rotate-z": Ve()
      }],
      /**
       * Scale
       * @see https://tailwindcss.com/docs/scale
       */
      scale: [{
        scale: Ne()
      }],
      /**
       * Scale X
       * @see https://tailwindcss.com/docs/scale
       */
      "scale-x": [{
        "scale-x": Ne()
      }],
      /**
       * Scale Y
       * @see https://tailwindcss.com/docs/scale
       */
      "scale-y": [{
        "scale-y": Ne()
      }],
      /**
       * Scale Z
       * @see https://tailwindcss.com/docs/scale
       */
      "scale-z": [{
        "scale-z": Ne()
      }],
      /**
       * Scale 3D
       * @see https://tailwindcss.com/docs/scale
       */
      "scale-3d": ["scale-3d"],
      /**
       * Skew
       * @see https://tailwindcss.com/docs/skew
       */
      skew: [{
        skew: Ee()
      }],
      /**
       * Skew X
       * @see https://tailwindcss.com/docs/skew
       */
      "skew-x": [{
        "skew-x": Ee()
      }],
      /**
       * Skew Y
       * @see https://tailwindcss.com/docs/skew
       */
      "skew-y": [{
        "skew-y": Ee()
      }],
      /**
       * Transform
       * @see https://tailwindcss.com/docs/transform
       */
      transform: [{
        transform: [de, ue, "", "none", "gpu", "cpu"]
      }],
      /**
       * Transform Origin
       * @see https://tailwindcss.com/docs/transform-origin
       */
      "transform-origin": [{
        origin: $()
      }],
      /**
       * Transform Style
       * @see https://tailwindcss.com/docs/transform-style
       */
      "transform-style": [{
        transform: ["3d", "flat"]
      }],
      /**
       * Translate
       * @see https://tailwindcss.com/docs/translate
       */
      translate: [{
        translate: Re()
      }],
      /**
       * Translate X
       * @see https://tailwindcss.com/docs/translate
       */
      "translate-x": [{
        "translate-x": Re()
      }],
      /**
       * Translate Y
       * @see https://tailwindcss.com/docs/translate
       */
      "translate-y": [{
        "translate-y": Re()
      }],
      /**
       * Translate Z
       * @see https://tailwindcss.com/docs/translate
       */
      "translate-z": [{
        "translate-z": Re()
      }],
      /**
       * Translate None
       * @see https://tailwindcss.com/docs/translate
       */
      "translate-none": ["translate-none"],
      // ---------------------
      // --- Interactivity ---
      // ---------------------
      /**
       * Accent Color
       * @see https://tailwindcss.com/docs/accent-color
       */
      accent: [{
        accent: j()
      }],
      /**
       * Appearance
       * @see https://tailwindcss.com/docs/appearance
       */
      appearance: [{
        appearance: ["none", "auto"]
      }],
      /**
       * Caret Color
       * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
       */
      "caret-color": [{
        caret: j()
      }],
      /**
       * Color Scheme
       * @see https://tailwindcss.com/docs/color-scheme
       */
      "color-scheme": [{
        scheme: ["normal", "dark", "light", "light-dark", "only-dark", "only-light"]
      }],
      /**
       * Cursor
       * @see https://tailwindcss.com/docs/cursor
       */
      cursor: [{
        cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", de, ue]
      }],
      /**
       * Field Sizing
       * @see https://tailwindcss.com/docs/field-sizing
       */
      "field-sizing": [{
        "field-sizing": ["fixed", "content"]
      }],
      /**
       * Pointer Events
       * @see https://tailwindcss.com/docs/pointer-events
       */
      "pointer-events": [{
        "pointer-events": ["auto", "none"]
      }],
      /**
       * Resize
       * @see https://tailwindcss.com/docs/resize
       */
      resize: [{
        resize: ["none", "", "y", "x"]
      }],
      /**
       * Scroll Behavior
       * @see https://tailwindcss.com/docs/scroll-behavior
       */
      "scroll-behavior": [{
        scroll: ["auto", "smooth"]
      }],
      /**
       * Scroll Margin
       * @see https://tailwindcss.com/docs/scroll-margin
       */
      "scroll-m": [{
        "scroll-m": F()
      }],
      /**
       * Scroll Margin X
       * @see https://tailwindcss.com/docs/scroll-margin
       */
      "scroll-mx": [{
        "scroll-mx": F()
      }],
      /**
       * Scroll Margin Y
       * @see https://tailwindcss.com/docs/scroll-margin
       */
      "scroll-my": [{
        "scroll-my": F()
      }],
      /**
       * Scroll Margin Start
       * @see https://tailwindcss.com/docs/scroll-margin
       */
      "scroll-ms": [{
        "scroll-ms": F()
      }],
      /**
       * Scroll Margin End
       * @see https://tailwindcss.com/docs/scroll-margin
       */
      "scroll-me": [{
        "scroll-me": F()
      }],
      /**
       * Scroll Margin Top
       * @see https://tailwindcss.com/docs/scroll-margin
       */
      "scroll-mt": [{
        "scroll-mt": F()
      }],
      /**
       * Scroll Margin Right
       * @see https://tailwindcss.com/docs/scroll-margin
       */
      "scroll-mr": [{
        "scroll-mr": F()
      }],
      /**
       * Scroll Margin Bottom
       * @see https://tailwindcss.com/docs/scroll-margin
       */
      "scroll-mb": [{
        "scroll-mb": F()
      }],
      /**
       * Scroll Margin Left
       * @see https://tailwindcss.com/docs/scroll-margin
       */
      "scroll-ml": [{
        "scroll-ml": F()
      }],
      /**
       * Scroll Padding
       * @see https://tailwindcss.com/docs/scroll-padding
       */
      "scroll-p": [{
        "scroll-p": F()
      }],
      /**
       * Scroll Padding X
       * @see https://tailwindcss.com/docs/scroll-padding
       */
      "scroll-px": [{
        "scroll-px": F()
      }],
      /**
       * Scroll Padding Y
       * @see https://tailwindcss.com/docs/scroll-padding
       */
      "scroll-py": [{
        "scroll-py": F()
      }],
      /**
       * Scroll Padding Start
       * @see https://tailwindcss.com/docs/scroll-padding
       */
      "scroll-ps": [{
        "scroll-ps": F()
      }],
      /**
       * Scroll Padding End
       * @see https://tailwindcss.com/docs/scroll-padding
       */
      "scroll-pe": [{
        "scroll-pe": F()
      }],
      /**
       * Scroll Padding Top
       * @see https://tailwindcss.com/docs/scroll-padding
       */
      "scroll-pt": [{
        "scroll-pt": F()
      }],
      /**
       * Scroll Padding Right
       * @see https://tailwindcss.com/docs/scroll-padding
       */
      "scroll-pr": [{
        "scroll-pr": F()
      }],
      /**
       * Scroll Padding Bottom
       * @see https://tailwindcss.com/docs/scroll-padding
       */
      "scroll-pb": [{
        "scroll-pb": F()
      }],
      /**
       * Scroll Padding Left
       * @see https://tailwindcss.com/docs/scroll-padding
       */
      "scroll-pl": [{
        "scroll-pl": F()
      }],
      /**
       * Scroll Snap Align
       * @see https://tailwindcss.com/docs/scroll-snap-align
       */
      "snap-align": [{
        snap: ["start", "end", "center", "align-none"]
      }],
      /**
       * Scroll Snap Stop
       * @see https://tailwindcss.com/docs/scroll-snap-stop
       */
      "snap-stop": [{
        snap: ["normal", "always"]
      }],
      /**
       * Scroll Snap Type
       * @see https://tailwindcss.com/docs/scroll-snap-type
       */
      "snap-type": [{
        snap: ["none", "x", "y", "both"]
      }],
      /**
       * Scroll Snap Type Strictness
       * @see https://tailwindcss.com/docs/scroll-snap-type
       */
      "snap-strictness": [{
        snap: ["mandatory", "proximity"]
      }],
      /**
       * Touch Action
       * @see https://tailwindcss.com/docs/touch-action
       */
      touch: [{
        touch: ["auto", "none", "manipulation"]
      }],
      /**
       * Touch Action X
       * @see https://tailwindcss.com/docs/touch-action
       */
      "touch-x": [{
        "touch-pan": ["x", "left", "right"]
      }],
      /**
       * Touch Action Y
       * @see https://tailwindcss.com/docs/touch-action
       */
      "touch-y": [{
        "touch-pan": ["y", "up", "down"]
      }],
      /**
       * Touch Action Pinch Zoom
       * @see https://tailwindcss.com/docs/touch-action
       */
      "touch-pz": ["touch-pinch-zoom"],
      /**
       * User Select
       * @see https://tailwindcss.com/docs/user-select
       */
      select: [{
        select: ["none", "text", "all", "auto"]
      }],
      /**
       * Will Change
       * @see https://tailwindcss.com/docs/will-change
       */
      "will-change": [{
        "will-change": ["auto", "scroll", "contents", "transform", de, ue]
      }],
      // -----------
      // --- SVG ---
      // -----------
      /**
       * Fill
       * @see https://tailwindcss.com/docs/fill
       */
      fill: [{
        fill: ["none", ...j()]
      }],
      /**
       * Stroke Width
       * @see https://tailwindcss.com/docs/stroke-width
       */
      "stroke-w": [{
        stroke: [Oe, cl, Zr, Zf]
      }],
      /**
       * Stroke
       * @see https://tailwindcss.com/docs/stroke
       */
      stroke: [{
        stroke: ["none", ...j()]
      }],
      // ---------------------
      // --- Accessibility ---
      // ---------------------
      /**
       * Forced Color Adjust
       * @see https://tailwindcss.com/docs/forced-color-adjust
       */
      "forced-color-adjust": [{
        "forced-color-adjust": ["auto", "none"]
      }]
    },
    conflictingClassGroups: {
      overflow: ["overflow-x", "overflow-y"],
      overscroll: ["overscroll-x", "overscroll-y"],
      inset: ["inset-x", "inset-y", "start", "end", "top", "right", "bottom", "left"],
      "inset-x": ["right", "left"],
      "inset-y": ["top", "bottom"],
      flex: ["basis", "grow", "shrink"],
      gap: ["gap-x", "gap-y"],
      p: ["px", "py", "ps", "pe", "pt", "pr", "pb", "pl"],
      px: ["pr", "pl"],
      py: ["pt", "pb"],
      m: ["mx", "my", "ms", "me", "mt", "mr", "mb", "ml"],
      mx: ["mr", "ml"],
      my: ["mt", "mb"],
      size: ["w", "h"],
      "font-size": ["leading"],
      "fvn-normal": ["fvn-ordinal", "fvn-slashed-zero", "fvn-figure", "fvn-spacing", "fvn-fraction"],
      "fvn-ordinal": ["fvn-normal"],
      "fvn-slashed-zero": ["fvn-normal"],
      "fvn-figure": ["fvn-normal"],
      "fvn-spacing": ["fvn-normal"],
      "fvn-fraction": ["fvn-normal"],
      "line-clamp": ["display", "overflow"],
      rounded: ["rounded-s", "rounded-e", "rounded-t", "rounded-r", "rounded-b", "rounded-l", "rounded-ss", "rounded-se", "rounded-ee", "rounded-es", "rounded-tl", "rounded-tr", "rounded-br", "rounded-bl"],
      "rounded-s": ["rounded-ss", "rounded-es"],
      "rounded-e": ["rounded-se", "rounded-ee"],
      "rounded-t": ["rounded-tl", "rounded-tr"],
      "rounded-r": ["rounded-tr", "rounded-br"],
      "rounded-b": ["rounded-br", "rounded-bl"],
      "rounded-l": ["rounded-tl", "rounded-bl"],
      "border-spacing": ["border-spacing-x", "border-spacing-y"],
      "border-w": ["border-w-x", "border-w-y", "border-w-s", "border-w-e", "border-w-t", "border-w-r", "border-w-b", "border-w-l"],
      "border-w-x": ["border-w-r", "border-w-l"],
      "border-w-y": ["border-w-t", "border-w-b"],
      "border-color": ["border-color-x", "border-color-y", "border-color-s", "border-color-e", "border-color-t", "border-color-r", "border-color-b", "border-color-l"],
      "border-color-x": ["border-color-r", "border-color-l"],
      "border-color-y": ["border-color-t", "border-color-b"],
      translate: ["translate-x", "translate-y", "translate-none"],
      "translate-none": ["translate", "translate-x", "translate-y", "translate-z"],
      "scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
      "scroll-mx": ["scroll-mr", "scroll-ml"],
      "scroll-my": ["scroll-mt", "scroll-mb"],
      "scroll-p": ["scroll-px", "scroll-py", "scroll-ps", "scroll-pe", "scroll-pt", "scroll-pr", "scroll-pb", "scroll-pl"],
      "scroll-px": ["scroll-pr", "scroll-pl"],
      "scroll-py": ["scroll-pt", "scroll-pb"],
      touch: ["touch-x", "touch-y", "touch-pz"],
      "touch-x": ["touch"],
      "touch-y": ["touch"],
      "touch-pz": ["touch"]
    },
    conflictingClassGroupModifiers: {
      "font-size": ["leading"]
    },
    orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
  };
}, E4 = /* @__PURE__ */ i4(R4);
function ae(...e) {
  return E4(Qb(e));
}
const z4 = Pg(
  "cn-button inline-flex items-center justify-center transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none shrink-0 [&_svg]:shrink-0 outline-none group/button select-none text-center",
  {
    variants: {
      variant: {
        default: "cn-button-variant-default",
        outline: "cn-button-variant-outline",
        secondary: "cn-button-variant-secondary",
        ghost: "cn-button-variant-ghost",
        destructive: "cn-button-variant-destructive",
        link: "cn-button-variant-link",
        success: "cn-button-variant-success",
        warning: "cn-button-variant-warning",
        info: "cn-button-variant-info"
      },
      size: {
        default: "cn-button-size-default",
        xs: "cn-button-size-xs",
        sm: "cn-button-size-sm",
        lg: "cn-button-size-lg",
        icon: "cn-button-size-icon",
        "icon-xs": "cn-button-size-icon-xs",
        "icon-sm": "cn-button-size-icon-sm",
        "icon-lg": "cn-button-size-icon-lg"
      }
    },
    defaultVariants: {
      variant: "default",
      size: "default"
    }
  }
);
function ys({
  className: e,
  variant: n = "default",
  size: r = "default",
  asChild: o = !1,
  ...l
}) {
  const s = o ? Xy : "button";
  return /* @__PURE__ */ b.jsx(
    s,
    {
      "data-slot": "button",
      "data-variant": n,
      "data-size": r,
      className: ae(z4({ variant: n, size: r, className: e })),
      ...l
    }
  );
}
const T4 = {
  calendar: DC,
  check: Ts,
  "chevron-down": zs,
  "chevron-left": OC,
  "chevron-right": NC,
  "chevron-up": Gb,
  "chevrons-up-down": Zb,
  circle: Fb,
  "circle-alert": AC,
  info: TC,
  "loader-2": Ub,
  "triangle-alert": zC,
  upload: EC,
  x: Ib
};
let Gf = null, ei = null;
function A4() {
  return Gf || (Gf = import("./icons-xEV2Rqfo.mjs").then((e) => e.m).then((e) => (ei = e.icons, ei))), Gf;
}
function M1(e) {
  return e.split("-").map((n) => n.charAt(0).toUpperCase() + n.slice(1)).join("");
}
function N4(e) {
  const n = T4[e];
  if (n) return n;
  if (ei)
    return ei[M1(e)];
}
function cu(e) {
  const [, n] = w.useState(!1), r = e ? N4(e) : void 0;
  return w.useEffect(() => {
    if (!e || r) return;
    let o = !1;
    return A4().then(() => {
      o || n(!0);
    }), () => {
      o = !0;
    };
  }, [e, r]), e ? r || (ei ? ei[M1(e)] ?? null : null) : null;
}
function O4({ icon: e, children: n, ...r }) {
  const o = cu(e), l = typeof r.size == "string" && r.size.startsWith("icon");
  return /* @__PURE__ */ b.jsxs(ys, { ...r, children: [
    o && /* @__PURE__ */ b.jsx(o, {}),
    l && n ? /* @__PURE__ */ b.jsx("span", { className: "sr-only", children: n }) : n
  ] });
}
const D4 = Pg(
  "cn-badge inline-flex items-center justify-center w-fit whitespace-nowrap shrink-0 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive overflow-hidden group/badge",
  {
    variants: {
      variant: {
        default: "cn-badge-variant-default",
        secondary: "cn-badge-variant-secondary",
        destructive: "cn-badge-variant-destructive",
        success: "cn-badge-variant-success",
        warning: "cn-badge-variant-warning",
        info: "cn-badge-variant-info",
        outline: "cn-badge-variant-outline",
        ghost: "cn-badge-variant-ghost",
        link: "cn-badge-variant-link"
      }
    },
    defaultVariants: {
      variant: "default"
    }
  }
);
function M4({
  className: e,
  variant: n = "default",
  asChild: r = !1,
  ...o
}) {
  const l = r ? Xy : "span";
  return /* @__PURE__ */ b.jsx(
    l,
    {
      "data-slot": "badge",
      "data-variant": n,
      className: ae(D4({ variant: n }), e),
      ...o
    }
  );
}
function j4({
  className: e,
  size: n = "default",
  ...r
}) {
  return /* @__PURE__ */ b.jsx(
    "div",
    {
      "data-slot": "card",
      "data-size": n,
      className: ae("cn-card group/card flex flex-col py-4 has-data-[slot=card-footer]:pb-0", e),
      ...r
    }
  );
}
function $4({ className: e, ...n }) {
  return /* @__PURE__ */ b.jsx(
    "div",
    {
      "data-slot": "card-header",
      className: ae(
        "cn-card-header group/card-header @container/card-header grid auto-rows-min items-start has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto]",
        e
      ),
      ...n
    }
  );
}
function P4({ className: e, ...n }) {
  return /* @__PURE__ */ b.jsx(
    "div",
    {
      "data-slot": "card-title",
      className: ae("cn-card-title", e),
      ...n
    }
  );
}
function L4({ className: e, ...n }) {
  return /* @__PURE__ */ b.jsx(
    "div",
    {
      "data-slot": "card-description",
      className: ae("cn-card-description", e),
      ...n
    }
  );
}
function H4({ className: e, ...n }) {
  return /* @__PURE__ */ b.jsx(
    "div",
    {
      "data-slot": "card-content",
      className: ae("cn-card-content", e),
      ...n
    }
  );
}
function V4({ className: e, ...n }) {
  return /* @__PURE__ */ b.jsx(
    "div",
    {
      "data-slot": "card-footer",
      className: ae("cn-card-footer flex items-center gap-2", e),
      ...n
    }
  );
}
const B4 = Pg("cn-alert w-full relative group/alert", {
  variants: {
    variant: {
      default: "cn-alert-variant-default",
      destructive: "cn-alert-variant-destructive",
      success: "cn-alert-variant-success",
      warning: "cn-alert-variant-warning",
      info: "cn-alert-variant-info"
    }
  },
  defaultVariants: {
    variant: "default"
  }
});
function I4({
  className: e,
  variant: n,
  ...r
}) {
  return /* @__PURE__ */ b.jsx(
    "div",
    {
      "data-slot": "alert",
      role: "alert",
      className: ae(B4({ variant: n }), e),
      ...r
    }
  );
}
function U4({ className: e, ...n }) {
  return /* @__PURE__ */ b.jsx(
    "div",
    {
      "data-slot": "alert-title",
      className: ae("cn-alert-title", e),
      ...n
    }
  );
}
function F4({
  className: e,
  ...n
}) {
  return /* @__PURE__ */ b.jsx(
    "div",
    {
      "data-slot": "alert-description",
      className: ae("cn-alert-description", e),
      ...n
    }
  );
}
function Z4({
  icon: e,
  variant: n,
  className: r,
  children: o
}) {
  const l = cu(e);
  return /* @__PURE__ */ b.jsxs(I4, { variant: n, className: r, children: [
    l && /* @__PURE__ */ b.jsx(l, {}),
    o
  ] });
}
const j1 = D5, $1 = M5, fp = w.forwardRef(({ className: e, align: n = "center", sideOffset: r = 4, ...o }, l) => {
  const s = As();
  return /* @__PURE__ */ b.jsx(j5, { container: s, children: /* @__PURE__ */ b.jsx(
    Xx,
    {
      ref: l,
      align: n,
      sideOffset: r,
      className: ae(
        "cn-popover-content z-50 w-72 outline-none origin-[--radix-popover-content-transform-origin]",
        e
      ),
      ...o
    }
  ) });
});
fp.displayName = Xx.displayName;
function gp({ className: e, type: n, ...r }) {
  return /* @__PURE__ */ b.jsx(
    "input",
    {
      type: n,
      "data-slot": "input",
      className: ae(
        "cn-input file:text-foreground placeholder:text-muted-foreground w-full min-w-0 outline-none file:inline-flex file:border-0 file:bg-transparent disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50",
        e
      ),
      ...r
    }
  );
}
function G4({
  placeholder: e = "Select...",
  searchPlaceholder: n = "Search...",
  disabled: r,
  value: o,
  onValueChange: l,
  className: s,
  _items: u = []
}) {
  var y;
  const [f, g] = w.useState(!1), [p, m] = w.useState(""), h = w.useMemo(() => {
    if (!p) return u;
    const C = p.toLowerCase();
    return u.filter((k) => k.label.toLowerCase().includes(C));
  }, [u, p]), S = (y = u.find((C) => C.value === o)) == null ? void 0 : y.label;
  return /* @__PURE__ */ b.jsxs(j1, { open: f, onOpenChange: g, children: [
    /* @__PURE__ */ b.jsx($1, { asChild: !0, children: /* @__PURE__ */ b.jsxs(
      ys,
      {
        variant: "outline",
        role: "combobox",
        "aria-expanded": f,
        disabled: r,
        className: ae(
          "cn-combobox-trigger w-[240px] justify-between font-normal",
          !o && "text-muted-foreground",
          s
        ),
        children: [
          S ?? e,
          /* @__PURE__ */ b.jsx(Zb, { className: "cn-combobox-trigger-icon" })
        ]
      }
    ) }),
    /* @__PURE__ */ b.jsxs(
      fp,
      {
        className: "cn-combobox-content w-[240px] p-0",
        align: "start",
        children: [
          /* @__PURE__ */ b.jsx("div", { className: "p-2", children: /* @__PURE__ */ b.jsx(
            gp,
            {
              placeholder: n,
              value: p,
              onChange: (C) => m(C.target.value),
              className: "h-8"
            }
          ) }),
          /* @__PURE__ */ b.jsxs(
            "div",
            {
              className: "cn-combobox-list",
              "data-empty": h.length === 0 ? "" : void 0,
              role: "listbox",
              children: [
                h.map((C) => /* @__PURE__ */ b.jsxs(
                  "div",
                  {
                    role: "option",
                    "aria-selected": o === C.value,
                    "aria-disabled": C.disabled,
                    "data-highlighted": void 0,
                    className: ae(
                      "cn-combobox-item relative flex cursor-pointer select-none items-center",
                      C.disabled && "pointer-events-none opacity-50"
                    ),
                    onMouseEnter: (k) => k.currentTarget.setAttribute("data-highlighted", ""),
                    onMouseLeave: (k) => k.currentTarget.removeAttribute("data-highlighted"),
                    onClick: () => {
                      C.disabled || (l == null || l(C.value === o ? "" : C.value), g(!1), m(""));
                    },
                    children: [
                      /* @__PURE__ */ b.jsx("span", { className: "cn-combobox-item-text", children: C.label }),
                      o === C.value && /* @__PURE__ */ b.jsx("span", { className: "cn-combobox-item-indicator", children: /* @__PURE__ */ b.jsx(Ts, { className: "size-4" }) })
                    ]
                  },
                  C.value
                )),
                h.length === 0 && /* @__PURE__ */ b.jsx("div", { className: "py-6 text-center text-sm text-muted-foreground", children: "No results found." })
              ]
            }
          )
        ]
      }
    )
  ] });
}
function q4({
  title: e,
  description: n,
  disabled: r,
  className: o,
  children: l
}) {
  return /* @__PURE__ */ b.jsx("label", { className: ae("cn-field-label", o), children: /* @__PURE__ */ b.jsxs(
    "div",
    {
      "data-slot": "field",
      "data-disabled": r || void 0,
      className: "cn-field group/field flex items-center justify-between",
      children: [
        /* @__PURE__ */ b.jsxs("div", { className: "cn-field-content grid", children: [
          /* @__PURE__ */ b.jsx("span", { className: "cn-field-title", children: e }),
          n && /* @__PURE__ */ b.jsx("span", { className: "cn-field-description", children: n })
        ] }),
        l
      ]
    }
  ) });
}
const Y4 = {
  sm: "size-3.5",
  default: "size-4",
  lg: "size-6"
};
function X4({
  name: e,
  size: n = "default",
  className: r
}) {
  const o = cu(e);
  return o ? /* @__PURE__ */ b.jsx(o, { className: ae(Y4[n], r) }) : null;
}
function K4({ className: e, ...n }) {
  return /* @__PURE__ */ b.jsx(
    "textarea",
    {
      "data-slot": "textarea",
      className: ae(
        "cn-textarea placeholder:text-muted-foreground flex field-sizing-content min-h-16 w-full outline-none disabled:cursor-not-allowed disabled:opacity-50",
        e
      ),
      ...n
    }
  );
}
function El({
  className: e,
  ...n
}) {
  return /* @__PURE__ */ b.jsx(
    h5,
    {
      "data-slot": "label",
      className: ae(
        "cn-label flex items-center select-none group-data-[disabled=true]:pointer-events-none peer-disabled:cursor-not-allowed",
        e
      ),
      ...n
    }
  );
}
function Q4({
  className: e,
  orientation: n = "horizontal",
  decorative: r = !0,
  ...o
}) {
  return /* @__PURE__ */ b.jsx(
    LT,
    {
      "data-slot": "separator",
      decorative: r,
      orientation: n,
      className: ae(
        "cn-separator",
        n === "horizontal" ? "cn-separator-horizontal" : "cn-separator-vertical",
        e
      ),
      ...o
    }
  );
}
const zl = {
  sm: "size-4",
  default: "size-6",
  lg: "size-8"
};
function J4({ size: e = "default", className: n }) {
  const r = e === "sm" ? 2 : e === "lg" ? 4 : 3, o = 24, l = o / 2, s = l - (e === "sm" ? 4 : e === "lg" ? 6 : 5);
  return /* @__PURE__ */ b.jsx(
    "svg",
    {
      viewBox: `0 0 24 ${o}`,
      className: ae("text-muted-foreground", zl[e], n),
      role: "status",
      "aria-label": "Loading",
      children: [4, 12, 20].map((u, f) => /* @__PURE__ */ b.jsx("circle", { cx: u, cy: l, r, fill: "currentColor", children: /* @__PURE__ */ b.jsx(
        "animate",
        {
          attributeName: "cy",
          values: `${l};${s};${l};${l}`,
          keyTimes: "0;0.15;0.3;1",
          dur: "2s",
          begin: `${f * 0.1}s`,
          repeatCount: "indefinite",
          calcMode: "spline",
          keySplines: "0.33 0 0.67 1; 0.33 0 0.67 1; 0 0 1 1"
        }
      ) }, u))
    }
  );
}
function W4({ size: e = "default", className: n }) {
  const r = e === "sm" ? 3 : e === "lg" ? 6 : 4;
  return /* @__PURE__ */ b.jsxs(
    "svg",
    {
      viewBox: "0 0 24 24",
      className: ae("text-muted-foreground", zl[e], n),
      role: "status",
      "aria-label": "Loading",
      children: [
        /* @__PURE__ */ b.jsxs("circle", { cx: "12", cy: "12", r, fill: "currentColor", opacity: "0.3", children: [
          /* @__PURE__ */ b.jsx(
            "animate",
            {
              attributeName: "r",
              values: `${r};${r + 4};${r}`,
              dur: "1.2s",
              repeatCount: "indefinite",
              calcMode: "spline",
              keySplines: "0.33 0 0.67 1; 0.33 0 0.67 1"
            }
          ),
          /* @__PURE__ */ b.jsx(
            "animate",
            {
              attributeName: "opacity",
              values: "0.3;0.08;0.3",
              dur: "1.2s",
              repeatCount: "indefinite",
              calcMode: "spline",
              keySplines: "0.33 0 0.67 1; 0.33 0 0.67 1"
            }
          )
        ] }),
        /* @__PURE__ */ b.jsx("circle", { cx: "12", cy: "12", r, fill: "currentColor" })
      ]
    }
  );
}
function eN({ size: e = "default", className: n }) {
  const r = e === "sm" ? 2.5 : e === "lg" ? 4 : 3, o = e === "sm" ? 2 : e === "lg" ? 3.5 : 2.5, s = (24 - (r * 3 + o * 2)) / 2, u = 4, f = 16;
  return /* @__PURE__ */ b.jsx(
    "svg",
    {
      viewBox: "0 0 24 24",
      className: ae("text-muted-foreground", zl[e], n),
      role: "status",
      "aria-label": "Loading",
      children: [0, 1, 2].map((g) => {
        const p = s + g * (r + o);
        return /* @__PURE__ */ b.jsxs(
          "rect",
          {
            x: p,
            width: r,
            rx: r / 2,
            fill: "currentColor",
            children: [
              /* @__PURE__ */ b.jsx(
                "animate",
                {
                  attributeName: "height",
                  values: `${u};${f};${u}`,
                  dur: "1s",
                  begin: `${g * 0.15}s`,
                  repeatCount: "indefinite",
                  calcMode: "spline",
                  keySplines: "0.33 0 0.67 1; 0.33 0 0.67 1"
                }
              ),
              /* @__PURE__ */ b.jsx(
                "animate",
                {
                  attributeName: "y",
                  values: `${(24 - u) / 2};${(24 - f) / 2};${(24 - u) / 2}`,
                  dur: "1s",
                  begin: `${g * 0.15}s`,
                  repeatCount: "indefinite",
                  calcMode: "spline",
                  keySplines: "0.33 0 0.67 1; 0.33 0 0.67 1"
                }
              )
            ]
          },
          g
        );
      })
    }
  );
}
function tN({ size: e = "default", className: n }) {
  const s = e === "sm" ? 1.5 : e === "lg" ? 2.5 : 2, u = Array.from({ length: 8 }, (f, g) => {
    const p = (g * 360 / 8 - 90) * (Math.PI / 180);
    return {
      x1: 12 + Math.cos(p) * 5,
      y1: 12 + Math.sin(p) * 5,
      x2: 12 + Math.cos(p) * 10,
      y2: 12 + Math.sin(p) * 10,
      opacity: 1 - g / 8 * 0.75
    };
  });
  return /* @__PURE__ */ b.jsx(
    "svg",
    {
      viewBox: "0 0 24 24",
      className: ae("text-muted-foreground", zl[e], n),
      style: { animation: "spin 0.8s steps(8, end) infinite" },
      role: "status",
      "aria-label": "Loading",
      children: u.map((f, g) => /* @__PURE__ */ b.jsx(
        "line",
        {
          x1: f.x1,
          y1: f.y1,
          x2: f.x2,
          y2: f.y2,
          stroke: "currentColor",
          strokeWidth: s,
          strokeLinecap: "round",
          opacity: f.opacity
        },
        g
      ))
    }
  );
}
function nN({ variant: e = "spin", size: n = "default", className: r }) {
  return e === "dots" ? /* @__PURE__ */ b.jsx(J4, { size: n, className: r }) : e === "pulse" ? /* @__PURE__ */ b.jsx(W4, { size: n, className: r }) : e === "bars" ? /* @__PURE__ */ b.jsx(eN, { size: n, className: r }) : e === "ios" ? /* @__PURE__ */ b.jsx(tN, { size: n, className: r }) : /* @__PURE__ */ b.jsx(
    Ub,
    {
      className: ae("animate-spin text-muted-foreground", zl[n], r),
      role: "status",
      "aria-label": "Loading"
    }
  );
}
function aN({
  className: e,
  defaultValue: n,
  value: r,
  min: o = 0,
  max: l = 100,
  ...s
}) {
  const u = w.useMemo(
    () => Array.isArray(r) ? r : Array.isArray(n) ? n : [o, l],
    [r, n, o, l]
  );
  return /* @__PURE__ */ b.jsxs(
    eA,
    {
      "data-slot": "slider",
      defaultValue: n,
      value: r,
      min: o,
      max: l,
      className: ae(
        "cn-slider relative flex w-full cursor-pointer touch-none items-center select-none data-disabled:cursor-not-allowed data-disabled:opacity-50 data-vertical:h-full data-vertical:w-auto data-vertical:flex-col",
        e
      ),
      ...s,
      children: [
        /* @__PURE__ */ b.jsx(
          tA,
          {
            "data-slot": "slider-track",
            className: "cn-slider-track bg-muted relative grow overflow-hidden data-horizontal:w-full data-vertical:h-full",
            children: /* @__PURE__ */ b.jsx(
              nA,
              {
                "data-slot": "slider-range",
                className: "cn-slider-range absolute select-none data-horizontal:h-full data-vertical:w-full"
              }
            )
          }
        ),
        Array.from({ length: u.length }, (f, g) => /* @__PURE__ */ b.jsx(
          aA,
          {
            "data-slot": "slider-thumb",
            className: "cn-slider-thumb block shrink-0 select-none disabled:pointer-events-none disabled:opacity-50"
          },
          g
        ))
      ]
    }
  );
}
function rN(e, n = []) {
  let r = [];
  function o(s, u) {
    const f = w.createContext(u);
    f.displayName = s + "Context";
    const g = r.length;
    r = [...r, u];
    const p = (h) => {
      var E;
      const { scope: S, children: y, ...C } = h, k = ((E = S == null ? void 0 : S[e]) == null ? void 0 : E[g]) || f, R = w.useMemo(() => C, Object.values(C));
      return /* @__PURE__ */ b.jsx(k.Provider, { value: R, children: y });
    };
    p.displayName = s + "Provider";
    function m(h, S) {
      var k;
      const y = ((k = S == null ? void 0 : S[e]) == null ? void 0 : k[g]) || f, C = w.useContext(y);
      if (C) return C;
      if (u !== void 0) return u;
      throw new Error(`\`${h}\` must be used within \`${s}\``);
    }
    return [p, m];
  }
  const l = () => {
    const s = r.map((u) => w.createContext(u));
    return function(f) {
      const g = (f == null ? void 0 : f[e]) || s;
      return w.useMemo(
        () => ({ [`__scope${e}`]: { ...f, [e]: g } }),
        [f, g]
      );
    };
  };
  return l.scopeName = e, [o, oN(l, ...n)];
}
function oN(...e) {
  const n = e[0];
  if (e.length === 1) return n;
  const r = () => {
    const o = e.map((l) => ({
      useScope: l(),
      scopeName: l.scopeName
    }));
    return function(s) {
      const u = o.reduce((f, { useScope: g, scopeName: p }) => {
        const h = g(s)[`__scope${p}`];
        return { ...f, ...h };
      }, {});
      return w.useMemo(() => ({ [`__scope${n.scopeName}`]: u }), [u]);
    };
  };
  return r.scopeName = n.scopeName, r;
}
var iN = Symbol.for("react.lazy"), Ss = $g[" use ".trim().toString()];
function lN(e) {
  return typeof e == "object" && e !== null && "then" in e;
}
function P1(e) {
  return e != null && typeof e == "object" && "$$typeof" in e && e.$$typeof === iN && "_payload" in e && lN(e._payload);
}
// @__NO_SIDE_EFFECTS__
function cN(e) {
  const n = /* @__PURE__ */ sN(e), r = w.forwardRef((o, l) => {
    let { children: s, ...u } = o;
    P1(s) && typeof Ss == "function" && (s = Ss(s._payload));
    const f = w.Children.toArray(s), g = f.find(dN);
    if (g) {
      const p = g.props.children, m = f.map((h) => h === g ? w.Children.count(p) > 1 ? w.Children.only(null) : w.isValidElement(p) ? p.props.children : null : h);
      return /* @__PURE__ */ b.jsx(n, { ...u, ref: l, children: w.isValidElement(p) ? w.cloneElement(p, void 0, m) : null });
    }
    return /* @__PURE__ */ b.jsx(n, { ...u, ref: l, children: s });
  });
  return r.displayName = `${e}.Slot`, r;
}
// @__NO_SIDE_EFFECTS__
function sN(e) {
  const n = w.forwardRef((r, o) => {
    let { children: l, ...s } = r;
    if (P1(l) && typeof Ss == "function" && (l = Ss(l._payload)), w.isValidElement(l)) {
      const u = gN(l), f = fN(s, l.props);
      return l.type !== w.Fragment && (f.ref = o ? vr(o, u) : u), w.cloneElement(l, f);
    }
    return w.Children.count(l) > 1 ? w.Children.only(null) : null;
  });
  return n.displayName = `${e}.SlotClone`, n;
}
var uN = Symbol("radix.slottable");
function dN(e) {
  return w.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === uN;
}
function fN(e, n) {
  const r = { ...n };
  for (const o in n) {
    const l = e[o], s = n[o];
    /^on[A-Z]/.test(o) ? l && s ? r[o] = (...f) => {
      const g = s(...f);
      return l(...f), g;
    } : l && (r[o] = l) : o === "style" ? r[o] = { ...l, ...s } : o === "className" && (r[o] = [l, s].filter(Boolean).join(" "));
  }
  return { ...e, ...r };
}
function gN(e) {
  var o, l;
  let n = (o = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : o.get, r = n && "isReactWarning" in n && n.isReactWarning;
  return r ? e.ref : (n = (l = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : l.get, r = n && "isReactWarning" in n && n.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
}
var pN = [
  "a",
  "button",
  "div",
  "form",
  "h2",
  "h3",
  "img",
  "input",
  "label",
  "li",
  "nav",
  "ol",
  "p",
  "select",
  "span",
  "svg",
  "ul"
], L1 = pN.reduce((e, n) => {
  const r = /* @__PURE__ */ cN(`Primitive.${n}`), o = w.forwardRef((l, s) => {
    const { asChild: u, ...f } = l, g = u ? r : n;
    return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ b.jsx(g, { ...f, ref: s });
  });
  return o.displayName = `Primitive.${n}`, { ...e, [n]: o };
}, {}), pp = "Progress", vp = 100, [vN] = rN(pp), [hN, mN] = vN(pp), H1 = w.forwardRef(
  (e, n) => {
    const {
      __scopeProgress: r,
      value: o = null,
      max: l,
      getValueLabel: s = wN,
      ...u
    } = e;
    (l || l === 0) && !gb(l) && console.error(bN(`${l}`, "Progress"));
    const f = gb(l) ? l : vp;
    o !== null && !pb(o, f) && console.error(xN(`${o}`, "Progress"));
    const g = pb(o, f) ? o : null, p = ks(g) ? s(g, f) : void 0;
    return /* @__PURE__ */ b.jsx(hN, { scope: r, value: g, max: f, children: /* @__PURE__ */ b.jsx(
      L1.div,
      {
        "aria-valuemax": f,
        "aria-valuemin": 0,
        "aria-valuenow": ks(g) ? g : void 0,
        "aria-valuetext": p,
        role: "progressbar",
        "data-state": I1(g, f),
        "data-value": g ?? void 0,
        "data-max": f,
        ...u,
        ref: n
      }
    ) });
  }
);
H1.displayName = pp;
var V1 = "ProgressIndicator", B1 = w.forwardRef(
  (e, n) => {
    const { __scopeProgress: r, ...o } = e, l = mN(V1, r);
    return /* @__PURE__ */ b.jsx(
      L1.div,
      {
        "data-state": I1(l.value, l.max),
        "data-value": l.value ?? void 0,
        "data-max": l.max,
        ...o,
        ref: n
      }
    );
  }
);
B1.displayName = V1;
function wN(e, n) {
  return `${Math.round(e / n * 100)}%`;
}
function I1(e, n) {
  return e == null ? "indeterminate" : e === n ? "complete" : "loading";
}
function ks(e) {
  return typeof e == "number";
}
function gb(e) {
  return ks(e) && !isNaN(e) && e > 0;
}
function pb(e, n) {
  return ks(e) && !isNaN(e) && e <= n && e >= 0;
}
function bN(e, n) {
  return `Invalid prop \`max\` of value \`${e}\` supplied to \`${n}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${vp}\`.`;
}
function xN(e, n) {
  return `Invalid prop \`value\` of value \`${e}\` supplied to \`${n}\`. The \`value\` prop must be:
  - a positive number
  - less than the value passed to \`max\` (or ${vp} if no \`max\` prop is set)
  - \`null\` or \`undefined\` if the progress is indeterminate.

Defaulting to \`null\`.`;
}
var U1 = H1, yN = B1;
const F1 = w.forwardRef(({ className: e, indicatorClassName: n, value: r, ...o }, l) => /* @__PURE__ */ b.jsx(
  U1,
  {
    ref: l,
    className: ae(
      "cn-progress relative w-full overflow-hidden rounded-full",
      e
    ),
    ...o,
    children: /* @__PURE__ */ b.jsx(
      yN,
      {
        className: ae(
          "cn-progress-indicator h-full w-full flex-1 transition-all",
          n
        ),
        style: { transform: `translateX(-${100 - (r || 0)}%)` }
      }
    )
  }
));
F1.displayName = U1.displayName;
const hp = w.forwardRef(({ className: e, ...n }, r) => /* @__PURE__ */ b.jsx("div", { className: "cn-table-container", children: /* @__PURE__ */ b.jsx(
  "table",
  {
    ref: r,
    className: ae("cn-table", e),
    ...n
  }
) }));
hp.displayName = "Table";
const mp = w.forwardRef(({ className: e, ...n }, r) => /* @__PURE__ */ b.jsx("thead", { ref: r, className: ae("cn-table-header", e), ...n }));
mp.displayName = "TableHeader";
const wp = w.forwardRef(({ className: e, ...n }, r) => /* @__PURE__ */ b.jsx(
  "tbody",
  {
    ref: r,
    className: ae("cn-table-body", e),
    ...n
  }
));
wp.displayName = "TableBody";
const Z1 = w.forwardRef(({ className: e, ...n }, r) => /* @__PURE__ */ b.jsx(
  "tfoot",
  {
    ref: r,
    className: ae(
      "cn-table-footer",
      e
    ),
    ...n
  }
));
Z1.displayName = "TableFooter";
const Zo = w.forwardRef(({ className: e, ...n }, r) => /* @__PURE__ */ b.jsx(
  "tr",
  {
    ref: r,
    className: ae(
      "cn-table-row",
      e
    ),
    ...n
  }
));
Zo.displayName = "TableRow";
const bp = w.forwardRef(({ className: e, ...n }, r) => /* @__PURE__ */ b.jsx(
  "th",
  {
    ref: r,
    className: ae(
      "cn-table-head",
      e
    ),
    ...n
  }
));
bp.displayName = "TableHead";
const gl = w.forwardRef(({ className: e, ...n }, r) => /* @__PURE__ */ b.jsx(
  "td",
  {
    ref: r,
    className: ae("cn-table-cell", e),
    ...n
  }
));
gl.displayName = "TableCell";
const xp = w.forwardRef(({ className: e, ...n }, r) => /* @__PURE__ */ b.jsx(
  "caption",
  {
    ref: r,
    className: ae("cn-table-caption", e),
    ...n
  }
));
xp.displayName = "TableCaption";
function SN({
  ...e
}) {
  return /* @__PURE__ */ b.jsx(kT, { "data-slot": "select", ...e });
}
function kN({
  ...e
}) {
  return /* @__PURE__ */ b.jsx(_T, { "data-slot": "select-value", ...e });
}
function CN({
  className: e,
  size: n = "default",
  children: r,
  ...o
}) {
  return /* @__PURE__ */ b.jsxs(
    CT,
    {
      "data-slot": "select-trigger",
      "data-size": n,
      className: ae(
        "cn-select-trigger flex w-fit cursor-pointer items-center justify-between whitespace-nowrap outline-none disabled:cursor-not-allowed disabled:opacity-50 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center [&_svg]:pointer-events-none [&_svg]:shrink-0",
        e
      ),
      ...o,
      children: [
        r,
        /* @__PURE__ */ b.jsx(RT, { asChild: !0, children: /* @__PURE__ */ b.jsx(zs, { className: "cn-select-trigger-icon pointer-events-none" }) })
      ]
    }
  );
}
function _N({
  className: e,
  children: n,
  position: r = "popper",
  ...o
}) {
  const l = As();
  return /* @__PURE__ */ b.jsx(ET, { container: l, children: /* @__PURE__ */ b.jsxs(
    zT,
    {
      "data-slot": "select-content",
      className: ae(
        "cn-select-content relative z-50 max-h-(--radix-select-content-available-height) origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto",
        r === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
        e
      ),
      position: r,
      ...o,
      children: [
        /* @__PURE__ */ b.jsx(EN, {}),
        /* @__PURE__ */ b.jsx(
          TT,
          {
            className: ae(
              "cn-select-viewport",
              r === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"
            ),
            children: n
          }
        ),
        /* @__PURE__ */ b.jsx(zN, {})
      ]
    }
  ) });
}
function RN({
  className: e,
  children: n,
  ...r
}) {
  return /* @__PURE__ */ b.jsxs(
    AT,
    {
      "data-slot": "select-item",
      className: ae(
        "cn-select-item relative flex w-full cursor-pointer items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
        e
      ),
      ...r,
      children: [
        /* @__PURE__ */ b.jsx("span", { className: "cn-select-item-indicator", children: /* @__PURE__ */ b.jsx(OT, { children: /* @__PURE__ */ b.jsx(Ts, { className: "cn-select-item-indicator-icon pointer-events-none" }) }) }),
        /* @__PURE__ */ b.jsx(NT, { children: n })
      ]
    }
  );
}
function EN({
  className: e,
  ...n
}) {
  return /* @__PURE__ */ b.jsx(
    DT,
    {
      "data-slot": "select-scroll-up-button",
      className: ae("cn-select-scroll-up-button", e),
      ...n,
      children: /* @__PURE__ */ b.jsx(Gb, {})
    }
  );
}
function zN({
  className: e,
  ...n
}) {
  return /* @__PURE__ */ b.jsx(
    MT,
    {
      "data-slot": "select-scroll-down-button",
      className: ae("cn-select-scroll-down-button", e),
      ...n,
      children: /* @__PURE__ */ b.jsx(zs, {})
    }
  );
}
function TN({
  className: e,
  ...n
}) {
  return /* @__PURE__ */ b.jsx(
    Z5,
    {
      "data-slot": "radio-group",
      className: ae("cn-radio-group w-full", e),
      ...n
    }
  );
}
function AN({
  className: e,
  ...n
}) {
  return /* @__PURE__ */ b.jsx(
    G5,
    {
      "data-slot": "radio-group-item",
      className: ae(
        "cn-radio-group-item group/radio-group-item peer relative aspect-square shrink-0 cursor-pointer border outline-none after:absolute after:-inset-x-3 after:-inset-y-2 disabled:cursor-not-allowed disabled:opacity-50",
        e
      ),
      ...n,
      children: /* @__PURE__ */ b.jsx(
        q5,
        {
          "data-slot": "radio-group-indicator",
          className: "cn-radio-group-indicator",
          children: /* @__PURE__ */ b.jsx(Fb, { className: "cn-radio-group-indicator-icon" })
        }
      )
    }
  );
}
function NN({
  className: e,
  ...n
}) {
  return /* @__PURE__ */ b.jsx(
    Q0,
    {
      "data-slot": "checkbox",
      className: ae(
        "cn-checkbox peer relative shrink-0 cursor-pointer outline-none after:absolute after:-inset-x-3 after:-inset-y-2 disabled:cursor-not-allowed disabled:opacity-50",
        e
      ),
      ...n,
      children: /* @__PURE__ */ b.jsx(
        W0,
        {
          "data-slot": "checkbox-indicator",
          className: "cn-checkbox-indicator grid place-content-center text-current transition-none",
          children: /* @__PURE__ */ b.jsx(Ts, { className: "size-3.5" })
        }
      )
    }
  );
}
function ON({
  className: e,
  size: n = "default",
  ...r
}) {
  return /* @__PURE__ */ b.jsx(
    pA,
    {
      "data-slot": "switch",
      "data-size": n,
      className: ae(
        "cn-switch peer group/switch relative inline-flex cursor-pointer items-center transition-all outline-none after:absolute after:-inset-x-3 after:-inset-y-2 data-disabled:cursor-not-allowed data-disabled:opacity-50",
        e
      ),
      ...r,
      children: /* @__PURE__ */ b.jsx(
        vA,
        {
          "data-slot": "switch-thumb",
          className: "cn-switch-thumb pointer-events-none block ring-0 transition-transform"
        }
      )
    }
  );
}
function DN({
  value: e,
  label: n,
  checked: r,
  name: o,
  disabled: l,
  className: s
}) {
  const u = `radio-${o ?? "standalone"}-${e}`;
  return /* @__PURE__ */ b.jsxs("div", { className: ae("flex items-center space-x-2", s), children: [
    /* @__PURE__ */ b.jsx(
      "input",
      {
        type: "radio",
        id: u,
        name: o,
        value: e,
        defaultChecked: r,
        disabled: l,
        className: "h-4 w-4 border-border text-primary accent-primary"
      }
    ),
    n && /* @__PURE__ */ b.jsx(El, { htmlFor: u, className: "cursor-pointer", children: n })
  ] });
}
function MN({
  placeholder: e,
  name: n,
  disabled: r,
  className: o,
  value: l,
  onValueChange: s,
  _items: u = []
}) {
  var p;
  const f = (p = u.find((m) => m.selected)) == null ? void 0 : p.value, g = l !== void 0 ? { value: l, onValueChange: s } : { defaultValue: f, onValueChange: s };
  return /* @__PURE__ */ b.jsxs(SN, { ...g, disabled: r, name: n, children: [
    /* @__PURE__ */ b.jsx(CN, { className: o, children: /* @__PURE__ */ b.jsx(kN, { placeholder: e }) }),
    /* @__PURE__ */ b.jsx(_N, { children: u.map((m) => /* @__PURE__ */ b.jsx(
      RN,
      {
        value: m.value,
        disabled: m.disabled,
        children: m.label
      },
      m.value
    )) })
  ] });
}
function jN({
  name: e,
  className: n,
  value: r,
  onValueChange: o,
  _items: l = []
}) {
  var f;
  const s = (f = l.find((g) => g.checked)) == null ? void 0 : f.value, u = r !== void 0 ? { value: r, onValueChange: o } : { defaultValue: s, onValueChange: o };
  return /* @__PURE__ */ b.jsx(TN, { ...u, className: n, name: e, children: l.map((g) => {
    const p = `radio-${e ?? ""}-${g.value}`;
    return /* @__PURE__ */ b.jsxs("div", { className: "flex items-center space-x-2", children: [
      /* @__PURE__ */ b.jsx(
        AN,
        {
          value: g.value,
          disabled: g.disabled,
          id: p
        }
      ),
      g.label && /* @__PURE__ */ b.jsx(El, { htmlFor: p, className: "cursor-pointer", children: g.label })
    ] }, g.value);
  }) });
}
function $N({
  label: e,
  checked: n,
  name: r,
  disabled: o,
  className: l,
  onCheckedChange: s
}) {
  const u = r ? `checkbox-${r}` : void 0, [f, g] = w.useState(n ?? !1);
  w.useEffect(() => {
    n !== void 0 && g(n);
  }, [n]);
  const p = (h) => {
    g(h), s == null || s(h);
  }, m = /* @__PURE__ */ b.jsx(
    NN,
    {
      id: u,
      checked: f,
      onCheckedChange: p,
      disabled: o,
      name: r,
      className: l
    }
  );
  return e ? /* @__PURE__ */ b.jsxs("div", { className: "flex items-center space-x-2", children: [
    m,
    /* @__PURE__ */ b.jsx(El, { htmlFor: u, className: "cursor-pointer", children: e })
  ] }) : m;
}
function PN({
  label: e,
  checked: n,
  size: r,
  name: o,
  disabled: l,
  className: s,
  onCheckedChange: u
}) {
  const f = o ? `switch-${o}` : void 0, [g, p] = w.useState(n ?? !1);
  w.useEffect(() => {
    n !== void 0 && p(n);
  }, [n]);
  const m = (S) => {
    p(S), u == null || u(S);
  }, h = /* @__PURE__ */ b.jsx(
    ON,
    {
      id: f,
      checked: g,
      onCheckedChange: m,
      disabled: l,
      name: o,
      size: r
    }
  );
  return e ? /* @__PURE__ */ b.jsxs("div", { className: ae("flex items-center space-x-2", s), children: [
    h,
    /* @__PURE__ */ b.jsx(El, { htmlFor: f, className: "cursor-pointer", children: e })
  ] }) : h;
}
function LN({
  orientation: e = "horizontal",
  className: n,
  children: r
}) {
  return /* @__PURE__ */ b.jsx(
    "div",
    {
      role: "group",
      "data-slot": "button-group",
      "data-orientation": e,
      className: ae(
        "cn-button-group flex w-fit items-stretch",
        e === "horizontal" ? "cn-button-group-orientation-horizontal" : "cn-button-group-orientation-vertical flex-col",
        n
      ),
      children: r
    }
  );
}
function HN(e) {
  return new Promise((n, r) => {
    const o = new FileReader();
    o.onload = () => {
      const s = o.result.split(",", 2)[1] ?? "";
      n(s);
    }, o.onerror = () => r(o.error), o.readAsDataURL(e);
  });
}
async function G1(e, n = {}) {
  const r = Array.from(e);
  if (r.length === 0) return null;
  const o = [];
  for (const l of r) {
    if (n.maxSize && l.size > n.maxSize) {
      const u = (n.maxSize / 1048576).toFixed(1);
      Gr.error(`File "${l.name}" exceeds ${u}MB limit`);
      continue;
    }
    const s = await HN(l);
    o.push({
      name: l.name,
      size: l.size,
      type: l.type,
      data: s
    });
  }
  return o.length === 0 ? null : n.multiple ? o : o[0];
}
function q1(e, n) {
  if (!n) return e;
  const r = n.split(",").map((l) => l.trim().toLowerCase()).filter(Boolean), o = [];
  for (const l of e) {
    const s = l.type.toLowerCase(), u = l.name.toLowerCase();
    r.some((g) => g.startsWith(".") ? u.endsWith(g) : g.endsWith("/*") ? s.startsWith(g.slice(0, -1)) : s === g) ? o.push(l) : Gr.error(
      `File "${l.name}" doesn't match accepted types (${n})`
    );
  }
  return o;
}
function VN({
  icon: e,
  label: n,
  description: r,
  accept: o,
  multiple: l = !1,
  maxSize: s,
  disabled: u = !1,
  className: f,
  onChange: g
}) {
  const [p, m] = w.useState(!1), h = w.useRef(null), S = w.useCallback(
    async (N) => {
      const $ = q1(N, o), U = await G1($, { multiple: l, maxSize: s });
      U != null && (g == null || g(U));
    },
    [o, l, s, g]
  ), y = w.useCallback(
    (N) => {
      N.preventDefault(), N.stopPropagation(), u || m(!0);
    },
    [u]
  ), C = w.useCallback((N) => {
    N.preventDefault(), N.stopPropagation(), m(!1);
  }, []), k = w.useCallback(
    (N) => {
      if (N.preventDefault(), N.stopPropagation(), m(!1), u) return;
      const $ = Array.from(N.dataTransfer.files);
      $.length > 0 && S($);
    },
    [u, S]
  ), R = w.useCallback(
    (N) => {
      const $ = Array.from(N.target.files ?? []);
      $.length > 0 && S($), N.target.value = "";
    },
    [S]
  ), E = w.useCallback(() => {
    var N;
    u || (N = h.current) == null || N.click();
  }, [u]), z = w.useCallback(
    (N) => {
      var $;
      (N.key === "Enter" || N.key === " ") && !u && (N.preventDefault(), ($ = h.current) == null || $.click());
    },
    [u]
  ), T = cu(e ?? "upload");
  return /* @__PURE__ */ b.jsxs(
    "div",
    {
      role: "button",
      tabIndex: u ? -1 : 0,
      onClick: E,
      onKeyDown: z,
      onDragOver: y,
      onDragLeave: C,
      onDrop: k,
      className: ae(
        "w-full flex flex-col items-center justify-center gap-2 rounded-lg border-2 border-dashed px-6 py-8 text-center transition-colors cursor-pointer",
        p ? "border-primary bg-primary/5" : "border-muted-foreground/25 hover:border-muted-foreground/50",
        u && "pointer-events-none opacity-50",
        f
      ),
      children: [
        T && /* @__PURE__ */ b.jsx(T, { className: "size-6 text-muted-foreground" }),
        /* @__PURE__ */ b.jsxs("div", { className: "flex flex-col gap-1", children: [
          /* @__PURE__ */ b.jsx("p", { className: "text-sm font-medium text-foreground", children: n ?? "Drop files here or click to browse" }),
          r && /* @__PURE__ */ b.jsx("p", { className: "text-xs text-muted-foreground", children: r })
        ] }),
        /* @__PURE__ */ b.jsx(
          "input",
          {
            ref: h,
            type: "file",
            accept: o,
            multiple: l,
            disabled: u,
            onChange: R,
            className: "hidden"
          }
        )
      ]
    }
  );
}
function BN({ className: e, cssClass: n, children: r }) {
  return /* @__PURE__ */ b.jsx("div", { className: ae("flex flex-row", e, n), children: r });
}
function IN({ className: e, cssClass: n, children: r }) {
  return /* @__PURE__ */ b.jsx("div", { className: ae("flex w-full min-w-0 flex-col", e, n), children: r });
}
function UN({
  className: e,
  cssClass: n,
  children: r,
  minColumnWidth: o,
  columnTemplate: l
}) {
  const s = l ? { gridTemplateColumns: l } : o ? {
    gridTemplateColumns: `repeat(auto-fit, minmax(${o}, 1fr))`
  } : void 0;
  return /* @__PURE__ */ b.jsx("div", { className: ae("grid w-full", e, n), style: s, children: r });
}
function FN({
  className: e,
  cssClass: n,
  children: r,
  onSubmit: o
}) {
  return /* @__PURE__ */ b.jsx(
    "form",
    {
      className: ae("flex w-full flex-col", e, n),
      onSubmit: (l) => {
        l.preventDefault(), o == null || o(l);
      },
      children: r
    }
  );
}
function ZN({ className: e, cssClass: n, children: r }) {
  return /* @__PURE__ */ b.jsx(
    "div",
    {
      className: ae(
        "container mx-auto px-4 sm:px-6 lg:px-8",
        e,
        n
      ),
      children: r
    }
  );
}
function GN({ className: e, cssClass: n, style: r, children: o }) {
  return /* @__PURE__ */ b.jsx("div", { className: ae(e, n), style: r, children: o });
}
function qN({
  className: e,
  cssClass: n,
  style: r,
  children: o,
  content: l,
  text: s
}) {
  return /* @__PURE__ */ b.jsx("span", { className: ae(e, n), style: r, children: o ?? l ?? s });
}
function YN({
  text: e,
  content: n,
  className: r,
  cssClass: o,
  bold: l,
  italic: s,
  children: u
}) {
  return /* @__PURE__ */ b.jsx(
    "span",
    {
      className: ae(
        l && "font-bold",
        s && "italic",
        r,
        o
      ),
      children: u ?? e ?? n
    }
  );
}
const XN = {
  1: "scroll-m-20 text-4xl font-extrabold tracking-tight m-0",
  2: "scroll-m-20 text-3xl font-semibold tracking-tight m-0",
  3: "scroll-m-20 text-2xl font-semibold tracking-tight m-0",
  4: "scroll-m-20 text-xl font-semibold tracking-tight m-0"
};
function Tl({
  level: e = 1,
  text: n,
  content: r,
  className: o,
  cssClass: l,
  bold: s,
  italic: u,
  children: f
}) {
  const g = `h${e}`;
  return /* @__PURE__ */ b.jsx(
    g,
    {
      className: ae(
        XN[e],
        s && "font-bold",
        u && "italic",
        o,
        l
      ),
      children: f ?? n ?? r
    }
  );
}
function KN(e) {
  return /* @__PURE__ */ b.jsx(Tl, { level: 1, ...e });
}
function QN(e) {
  return /* @__PURE__ */ b.jsx(Tl, { level: 2, ...e });
}
function JN(e) {
  return /* @__PURE__ */ b.jsx(Tl, { level: 3, ...e });
}
function WN(e) {
  return /* @__PURE__ */ b.jsx(Tl, { level: 4, ...e });
}
function e3({
  className: e,
  cssClass: n,
  bold: r,
  italic: o,
  children: l,
  ...s
}) {
  return /* @__PURE__ */ b.jsx(
    "p",
    {
      className: ae(
        "leading-7 m-0",
        r && "font-bold",
        o && "italic",
        e,
        n
      ),
      children: l ?? s.text ?? s.content
    }
  );
}
function t3({
  className: e,
  cssClass: n,
  bold: r,
  italic: o,
  children: l,
  ...s
}) {
  return /* @__PURE__ */ b.jsx(
    "p",
    {
      className: ae(
        "text-xl text-muted-foreground m-0",
        r && "font-bold",
        o && "italic",
        e,
        n
      ),
      children: l ?? s.text ?? s.content
    }
  );
}
function n3({
  className: e,
  cssClass: n,
  bold: r,
  italic: o,
  children: l,
  ...s
}) {
  return /* @__PURE__ */ b.jsx(
    "div",
    {
      className: ae(
        "text-lg font-semibold",
        r && "font-bold",
        o && "italic",
        e,
        n
      ),
      children: l ?? s.text ?? s.content
    }
  );
}
function a3({
  className: e,
  cssClass: n,
  bold: r,
  italic: o,
  children: l,
  ...s
}) {
  return /* @__PURE__ */ b.jsx(
    "small",
    {
      className: ae(
        "text-sm font-medium leading-none",
        r && "font-bold",
        o && "italic",
        e,
        n
      ),
      children: l ?? s.text ?? s.content
    }
  );
}
function r3({
  className: e,
  cssClass: n,
  bold: r,
  italic: o,
  children: l,
  ...s
}) {
  return /* @__PURE__ */ b.jsx(
    "p",
    {
      className: ae(
        "text-sm text-muted-foreground m-0",
        r && "font-bold",
        o && "italic",
        e,
        n
      ),
      children: l ?? s.text ?? s.content
    }
  );
}
function o3({
  className: e,
  cssClass: n,
  bold: r,
  italic: o,
  children: l,
  ...s
}) {
  return /* @__PURE__ */ b.jsx(
    "code",
    {
      className: ae(
        "relative rounded bg-muted px-[0.3rem] py-[0.2rem] font-mono text-sm font-semibold",
        r && "font-bold",
        o && "italic",
        e,
        n
      ),
      children: l ?? s.text ?? s.content
    }
  );
}
function i3({
  className: e,
  cssClass: n,
  bold: r,
  italic: o,
  children: l,
  ...s
}) {
  return /* @__PURE__ */ b.jsx(
    "blockquote",
    {
      className: ae(
        "border-l-2 pl-6 italic m-0",
        r && "font-bold",
        o && "italic",
        e,
        n
      ),
      children: l ?? s.text ?? s.content
    }
  );
}
function l3({
  src: e,
  alt: n = "",
  width: r,
  height: o,
  className: l,
  cssClass: s
}) {
  const u = {};
  return r && (u.width = r), o && (u.height = o), /* @__PURE__ */ b.jsx(
    "img",
    {
      src: e,
      alt: n,
      style: Object.keys(u).length > 0 ? u : void 0,
      className: ae(l, s)
    }
  );
}
function c3({ children: e }) {
  return /* @__PURE__ */ b.jsx(b.Fragment, { children: e });
}
function s3({ children: e }) {
  return /* @__PURE__ */ b.jsx(b.Fragment, { children: e });
}
function u3({ children: e }) {
  return /* @__PURE__ */ b.jsx(b.Fragment, { children: e });
}
/**
   * table-core
   *
   * Copyright (c) TanStack
   *
   * This source code is licensed under the MIT license found in the
   * LICENSE.md file in the root directory of this source tree.
   *
   * @license MIT
   */
function lr(e, n) {
  return typeof e == "function" ? e(n) : e;
}
function xn(e, n) {
  return (r) => {
    n.setState((o) => ({
      ...o,
      [e]: lr(r, o[e])
    }));
  };
}
function su(e) {
  return e instanceof Function;
}
function d3(e) {
  return Array.isArray(e) && e.every((n) => typeof n == "number");
}
function f3(e, n) {
  const r = [], o = (l) => {
    l.forEach((s) => {
      r.push(s);
      const u = n(s);
      u != null && u.length && o(u);
    });
  };
  return o(e), r;
}
function Se(e, n, r) {
  let o = [], l;
  return (s) => {
    let u;
    r.key && r.debug && (u = Date.now());
    const f = e(s);
    if (!(f.length !== o.length || f.some((m, h) => o[h] !== m)))
      return l;
    o = f;
    let p;
    if (r.key && r.debug && (p = Date.now()), l = n(...f), r == null || r.onChange == null || r.onChange(l), r.key && r.debug && r != null && r.debug()) {
      const m = Math.round((Date.now() - u) * 100) / 100, h = Math.round((Date.now() - p) * 100) / 100, S = h / 16, y = (C, k) => {
        for (C = String(C); C.length < k; )
          C = " " + C;
        return C;
      };
      console.info(`%c⏱ ${y(h, 5)} /${y(m, 5)} ms`, `
            font-size: .6rem;
            font-weight: bold;
            color: hsl(${Math.max(0, Math.min(120 - 120 * S, 120))}deg 100% 31%);`, r == null ? void 0 : r.key);
    }
    return l;
  };
}
function ke(e, n, r, o) {
  return {
    debug: () => {
      var l;
      return (l = e == null ? void 0 : e.debugAll) != null ? l : e[n];
    },
    key: !1,
    onChange: o
  };
}
function g3(e, n, r, o) {
  const l = () => {
    var u;
    return (u = s.getValue()) != null ? u : e.options.renderFallbackValue;
  }, s = {
    id: `${n.id}_${r.id}`,
    row: n,
    column: r,
    getValue: () => n.getValue(o),
    renderValue: l,
    getContext: Se(() => [e, r, n, s], (u, f, g, p) => ({
      table: u,
      column: f,
      row: g,
      cell: p,
      getValue: p.getValue,
      renderValue: p.renderValue
    }), ke(e.options, "debugCells"))
  };
  return e._features.forEach((u) => {
    u.createCell == null || u.createCell(s, r, n, e);
  }, {}), s;
}
function p3(e, n, r, o) {
  var l, s;
  const f = {
    ...e._getDefaultColumnDef(),
    ...n
  }, g = f.accessorKey;
  let p = (l = (s = f.id) != null ? s : g ? typeof String.prototype.replaceAll == "function" ? g.replaceAll(".", "_") : g.replace(/\./g, "_") : void 0) != null ? l : typeof f.header == "string" ? f.header : void 0, m;
  if (f.accessorFn ? m = f.accessorFn : g && (g.includes(".") ? m = (S) => {
    let y = S;
    for (const k of g.split(".")) {
      var C;
      y = (C = y) == null ? void 0 : C[k];
    }
    return y;
  } : m = (S) => S[f.accessorKey]), !p)
    throw new Error();
  let h = {
    id: `${String(p)}`,
    accessorFn: m,
    parent: o,
    depth: r,
    columnDef: f,
    columns: [],
    getFlatColumns: Se(() => [!0], () => {
      var S;
      return [h, ...(S = h.columns) == null ? void 0 : S.flatMap((y) => y.getFlatColumns())];
    }, ke(e.options, "debugColumns")),
    getLeafColumns: Se(() => [e._getOrderColumnsFn()], (S) => {
      var y;
      if ((y = h.columns) != null && y.length) {
        let C = h.columns.flatMap((k) => k.getLeafColumns());
        return S(C);
      }
      return [h];
    }, ke(e.options, "debugColumns"))
  };
  for (const S of e._features)
    S.createColumn == null || S.createColumn(h, e);
  return h;
}
const Ht = "debugHeaders";
function vb(e, n, r) {
  var o;
  let s = {
    id: (o = r.id) != null ? o : n.id,
    column: n,
    index: r.index,
    isPlaceholder: !!r.isPlaceholder,
    placeholderId: r.placeholderId,
    depth: r.depth,
    subHeaders: [],
    colSpan: 0,
    rowSpan: 0,
    headerGroup: null,
    getLeafHeaders: () => {
      const u = [], f = (g) => {
        g.subHeaders && g.subHeaders.length && g.subHeaders.map(f), u.push(g);
      };
      return f(s), u;
    },
    getContext: () => ({
      table: e,
      header: s,
      column: n
    })
  };
  return e._features.forEach((u) => {
    u.createHeader == null || u.createHeader(s, e);
  }), s;
}
const v3 = {
  createTable: (e) => {
    e.getHeaderGroups = Se(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.left, e.getState().columnPinning.right], (n, r, o, l) => {
      var s, u;
      const f = (s = o == null ? void 0 : o.map((h) => r.find((S) => S.id === h)).filter(Boolean)) != null ? s : [], g = (u = l == null ? void 0 : l.map((h) => r.find((S) => S.id === h)).filter(Boolean)) != null ? u : [], p = r.filter((h) => !(o != null && o.includes(h.id)) && !(l != null && l.includes(h.id)));
      return es(n, [...f, ...p, ...g], e);
    }, ke(e.options, Ht)), e.getCenterHeaderGroups = Se(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.left, e.getState().columnPinning.right], (n, r, o, l) => (r = r.filter((s) => !(o != null && o.includes(s.id)) && !(l != null && l.includes(s.id))), es(n, r, e, "center")), ke(e.options, Ht)), e.getLeftHeaderGroups = Se(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.left], (n, r, o) => {
      var l;
      const s = (l = o == null ? void 0 : o.map((u) => r.find((f) => f.id === u)).filter(Boolean)) != null ? l : [];
      return es(n, s, e, "left");
    }, ke(e.options, Ht)), e.getRightHeaderGroups = Se(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.right], (n, r, o) => {
      var l;
      const s = (l = o == null ? void 0 : o.map((u) => r.find((f) => f.id === u)).filter(Boolean)) != null ? l : [];
      return es(n, s, e, "right");
    }, ke(e.options, Ht)), e.getFooterGroups = Se(() => [e.getHeaderGroups()], (n) => [...n].reverse(), ke(e.options, Ht)), e.getLeftFooterGroups = Se(() => [e.getLeftHeaderGroups()], (n) => [...n].reverse(), ke(e.options, Ht)), e.getCenterFooterGroups = Se(() => [e.getCenterHeaderGroups()], (n) => [...n].reverse(), ke(e.options, Ht)), e.getRightFooterGroups = Se(() => [e.getRightHeaderGroups()], (n) => [...n].reverse(), ke(e.options, Ht)), e.getFlatHeaders = Se(() => [e.getHeaderGroups()], (n) => n.map((r) => r.headers).flat(), ke(e.options, Ht)), e.getLeftFlatHeaders = Se(() => [e.getLeftHeaderGroups()], (n) => n.map((r) => r.headers).flat(), ke(e.options, Ht)), e.getCenterFlatHeaders = Se(() => [e.getCenterHeaderGroups()], (n) => n.map((r) => r.headers).flat(), ke(e.options, Ht)), e.getRightFlatHeaders = Se(() => [e.getRightHeaderGroups()], (n) => n.map((r) => r.headers).flat(), ke(e.options, Ht)), e.getCenterLeafHeaders = Se(() => [e.getCenterFlatHeaders()], (n) => n.filter((r) => {
      var o;
      return !((o = r.subHeaders) != null && o.length);
    }), ke(e.options, Ht)), e.getLeftLeafHeaders = Se(() => [e.getLeftFlatHeaders()], (n) => n.filter((r) => {
      var o;
      return !((o = r.subHeaders) != null && o.length);
    }), ke(e.options, Ht)), e.getRightLeafHeaders = Se(() => [e.getRightFlatHeaders()], (n) => n.filter((r) => {
      var o;
      return !((o = r.subHeaders) != null && o.length);
    }), ke(e.options, Ht)), e.getLeafHeaders = Se(() => [e.getLeftHeaderGroups(), e.getCenterHeaderGroups(), e.getRightHeaderGroups()], (n, r, o) => {
      var l, s, u, f, g, p;
      return [...(l = (s = n[0]) == null ? void 0 : s.headers) != null ? l : [], ...(u = (f = r[0]) == null ? void 0 : f.headers) != null ? u : [], ...(g = (p = o[0]) == null ? void 0 : p.headers) != null ? g : []].map((m) => m.getLeafHeaders()).flat();
    }, ke(e.options, Ht));
  }
};
function es(e, n, r, o) {
  var l, s;
  let u = 0;
  const f = function(S, y) {
    y === void 0 && (y = 1), u = Math.max(u, y), S.filter((C) => C.getIsVisible()).forEach((C) => {
      var k;
      (k = C.columns) != null && k.length && f(C.columns, y + 1);
    }, 0);
  };
  f(e);
  let g = [];
  const p = (S, y) => {
    const C = {
      depth: y,
      id: [o, `${y}`].filter(Boolean).join("_"),
      headers: []
    }, k = [];
    S.forEach((R) => {
      const E = [...k].reverse()[0], z = R.column.depth === C.depth;
      let T, N = !1;
      if (z && R.column.parent ? T = R.column.parent : (T = R.column, N = !0), E && (E == null ? void 0 : E.column) === T)
        E.subHeaders.push(R);
      else {
        const $ = vb(r, T, {
          id: [o, y, T.id, R == null ? void 0 : R.id].filter(Boolean).join("_"),
          isPlaceholder: N,
          placeholderId: N ? `${k.filter((U) => U.column === T).length}` : void 0,
          depth: y,
          index: k.length
        });
        $.subHeaders.push(R), k.push($);
      }
      C.headers.push(R), R.headerGroup = C;
    }), g.push(C), y > 0 && p(k, y - 1);
  }, m = n.map((S, y) => vb(r, S, {
    depth: u,
    index: y
  }));
  p(m, u - 1), g.reverse();
  const h = (S) => S.filter((C) => C.column.getIsVisible()).map((C) => {
    let k = 0, R = 0, E = [0];
    C.subHeaders && C.subHeaders.length ? (E = [], h(C.subHeaders).forEach((T) => {
      let {
        colSpan: N,
        rowSpan: $
      } = T;
      k += N, E.push($);
    })) : k = 1;
    const z = Math.min(...E);
    return R = R + z, C.colSpan = k, C.rowSpan = R, {
      colSpan: k,
      rowSpan: R
    };
  });
  return h((l = (s = g[0]) == null ? void 0 : s.headers) != null ? l : []), g;
}
const yp = (e, n, r, o, l, s, u) => {
  let f = {
    id: n,
    index: o,
    original: r,
    depth: l,
    parentId: u,
    _valuesCache: {},
    _uniqueValuesCache: {},
    getValue: (g) => {
      if (f._valuesCache.hasOwnProperty(g))
        return f._valuesCache[g];
      const p = e.getColumn(g);
      if (p != null && p.accessorFn)
        return f._valuesCache[g] = p.accessorFn(f.original, o), f._valuesCache[g];
    },
    getUniqueValues: (g) => {
      if (f._uniqueValuesCache.hasOwnProperty(g))
        return f._uniqueValuesCache[g];
      const p = e.getColumn(g);
      if (p != null && p.accessorFn)
        return p.columnDef.getUniqueValues ? (f._uniqueValuesCache[g] = p.columnDef.getUniqueValues(f.original, o), f._uniqueValuesCache[g]) : (f._uniqueValuesCache[g] = [f.getValue(g)], f._uniqueValuesCache[g]);
    },
    renderValue: (g) => {
      var p;
      return (p = f.getValue(g)) != null ? p : e.options.renderFallbackValue;
    },
    subRows: [],
    getLeafRows: () => f3(f.subRows, (g) => g.subRows),
    getParentRow: () => f.parentId ? e.getRow(f.parentId, !0) : void 0,
    getParentRows: () => {
      let g = [], p = f;
      for (; ; ) {
        const m = p.getParentRow();
        if (!m) break;
        g.push(m), p = m;
      }
      return g.reverse();
    },
    getAllCells: Se(() => [e.getAllLeafColumns()], (g) => g.map((p) => g3(e, f, p, p.id)), ke(e.options, "debugRows")),
    _getAllCellsByColumnId: Se(() => [f.getAllCells()], (g) => g.reduce((p, m) => (p[m.column.id] = m, p), {}), ke(e.options, "debugRows"))
  };
  for (let g = 0; g < e._features.length; g++) {
    const p = e._features[g];
    p == null || p.createRow == null || p.createRow(f, e);
  }
  return f;
}, h3 = {
  createColumn: (e, n) => {
    e._getFacetedRowModel = n.options.getFacetedRowModel && n.options.getFacetedRowModel(n, e.id), e.getFacetedRowModel = () => e._getFacetedRowModel ? e._getFacetedRowModel() : n.getPreFilteredRowModel(), e._getFacetedUniqueValues = n.options.getFacetedUniqueValues && n.options.getFacetedUniqueValues(n, e.id), e.getFacetedUniqueValues = () => e._getFacetedUniqueValues ? e._getFacetedUniqueValues() : /* @__PURE__ */ new Map(), e._getFacetedMinMaxValues = n.options.getFacetedMinMaxValues && n.options.getFacetedMinMaxValues(n, e.id), e.getFacetedMinMaxValues = () => {
      if (e._getFacetedMinMaxValues)
        return e._getFacetedMinMaxValues();
    };
  }
}, Y1 = (e, n, r) => {
  var o, l;
  const s = r == null || (o = r.toString()) == null ? void 0 : o.toLowerCase();
  return !!(!((l = e.getValue(n)) == null || (l = l.toString()) == null || (l = l.toLowerCase()) == null) && l.includes(s));
};
Y1.autoRemove = (e) => Fn(e);
const X1 = (e, n, r) => {
  var o;
  return !!(!((o = e.getValue(n)) == null || (o = o.toString()) == null) && o.includes(r));
};
X1.autoRemove = (e) => Fn(e);
const K1 = (e, n, r) => {
  var o;
  return ((o = e.getValue(n)) == null || (o = o.toString()) == null ? void 0 : o.toLowerCase()) === (r == null ? void 0 : r.toLowerCase());
};
K1.autoRemove = (e) => Fn(e);
const Q1 = (e, n, r) => {
  var o;
  return (o = e.getValue(n)) == null ? void 0 : o.includes(r);
};
Q1.autoRemove = (e) => Fn(e);
const J1 = (e, n, r) => !r.some((o) => {
  var l;
  return !((l = e.getValue(n)) != null && l.includes(o));
});
J1.autoRemove = (e) => Fn(e) || !(e != null && e.length);
const W1 = (e, n, r) => r.some((o) => {
  var l;
  return (l = e.getValue(n)) == null ? void 0 : l.includes(o);
});
W1.autoRemove = (e) => Fn(e) || !(e != null && e.length);
const eS = (e, n, r) => e.getValue(n) === r;
eS.autoRemove = (e) => Fn(e);
const tS = (e, n, r) => e.getValue(n) == r;
tS.autoRemove = (e) => Fn(e);
const Sp = (e, n, r) => {
  let [o, l] = r;
  const s = e.getValue(n);
  return s >= o && s <= l;
};
Sp.resolveFilterValue = (e) => {
  let [n, r] = e, o = typeof n != "number" ? parseFloat(n) : n, l = typeof r != "number" ? parseFloat(r) : r, s = n === null || Number.isNaN(o) ? -1 / 0 : o, u = r === null || Number.isNaN(l) ? 1 / 0 : l;
  if (s > u) {
    const f = s;
    s = u, u = f;
  }
  return [s, u];
};
Sp.autoRemove = (e) => Fn(e) || Fn(e[0]) && Fn(e[1]);
const Ta = {
  includesString: Y1,
  includesStringSensitive: X1,
  equalsString: K1,
  arrIncludes: Q1,
  arrIncludesAll: J1,
  arrIncludesSome: W1,
  equals: eS,
  weakEquals: tS,
  inNumberRange: Sp
};
function Fn(e) {
  return e == null || e === "";
}
const m3 = {
  getDefaultColumnDef: () => ({
    filterFn: "auto"
  }),
  getInitialState: (e) => ({
    columnFilters: [],
    ...e
  }),
  getDefaultOptions: (e) => ({
    onColumnFiltersChange: xn("columnFilters", e),
    filterFromLeafRows: !1,
    maxLeafRowFilterDepth: 100
  }),
  createColumn: (e, n) => {
    e.getAutoFilterFn = () => {
      const r = n.getCoreRowModel().flatRows[0], o = r == null ? void 0 : r.getValue(e.id);
      return typeof o == "string" ? Ta.includesString : typeof o == "number" ? Ta.inNumberRange : typeof o == "boolean" || o !== null && typeof o == "object" ? Ta.equals : Array.isArray(o) ? Ta.arrIncludes : Ta.weakEquals;
    }, e.getFilterFn = () => {
      var r, o;
      return su(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : (
        // @ts-ignore
        (r = (o = n.options.filterFns) == null ? void 0 : o[e.columnDef.filterFn]) != null ? r : Ta[e.columnDef.filterFn]
      );
    }, e.getCanFilter = () => {
      var r, o, l;
      return ((r = e.columnDef.enableColumnFilter) != null ? r : !0) && ((o = n.options.enableColumnFilters) != null ? o : !0) && ((l = n.options.enableFilters) != null ? l : !0) && !!e.accessorFn;
    }, e.getIsFiltered = () => e.getFilterIndex() > -1, e.getFilterValue = () => {
      var r;
      return (r = n.getState().columnFilters) == null || (r = r.find((o) => o.id === e.id)) == null ? void 0 : r.value;
    }, e.getFilterIndex = () => {
      var r, o;
      return (r = (o = n.getState().columnFilters) == null ? void 0 : o.findIndex((l) => l.id === e.id)) != null ? r : -1;
    }, e.setFilterValue = (r) => {
      n.setColumnFilters((o) => {
        const l = e.getFilterFn(), s = o == null ? void 0 : o.find((m) => m.id === e.id), u = lr(r, s ? s.value : void 0);
        if (hb(l, u, e)) {
          var f;
          return (f = o == null ? void 0 : o.filter((m) => m.id !== e.id)) != null ? f : [];
        }
        const g = {
          id: e.id,
          value: u
        };
        if (s) {
          var p;
          return (p = o == null ? void 0 : o.map((m) => m.id === e.id ? g : m)) != null ? p : [];
        }
        return o != null && o.length ? [...o, g] : [g];
      });
    };
  },
  createRow: (e, n) => {
    e.columnFilters = {}, e.columnFiltersMeta = {};
  },
  createTable: (e) => {
    e.setColumnFilters = (n) => {
      const r = e.getAllLeafColumns(), o = (l) => {
        var s;
        return (s = lr(n, l)) == null ? void 0 : s.filter((u) => {
          const f = r.find((g) => g.id === u.id);
          if (f) {
            const g = f.getFilterFn();
            if (hb(g, u.value, f))
              return !1;
          }
          return !0;
        });
      };
      e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange(o);
    }, e.resetColumnFilters = (n) => {
      var r, o;
      e.setColumnFilters(n ? [] : (r = (o = e.initialState) == null ? void 0 : o.columnFilters) != null ? r : []);
    }, e.getPreFilteredRowModel = () => e.getCoreRowModel(), e.getFilteredRowModel = () => (!e._getFilteredRowModel && e.options.getFilteredRowModel && (e._getFilteredRowModel = e.options.getFilteredRowModel(e)), e.options.manualFiltering || !e._getFilteredRowModel ? e.getPreFilteredRowModel() : e._getFilteredRowModel());
  }
};
function hb(e, n, r) {
  return (e && e.autoRemove ? e.autoRemove(n, r) : !1) || typeof n > "u" || typeof n == "string" && !n;
}
const w3 = (e, n, r) => r.reduce((o, l) => {
  const s = l.getValue(e);
  return o + (typeof s == "number" ? s : 0);
}, 0), b3 = (e, n, r) => {
  let o;
  return r.forEach((l) => {
    const s = l.getValue(e);
    s != null && (o > s || o === void 0 && s >= s) && (o = s);
  }), o;
}, x3 = (e, n, r) => {
  let o;
  return r.forEach((l) => {
    const s = l.getValue(e);
    s != null && (o < s || o === void 0 && s >= s) && (o = s);
  }), o;
}, y3 = (e, n, r) => {
  let o, l;
  return r.forEach((s) => {
    const u = s.getValue(e);
    u != null && (o === void 0 ? u >= u && (o = l = u) : (o > u && (o = u), l < u && (l = u)));
  }), [o, l];
}, S3 = (e, n) => {
  let r = 0, o = 0;
  if (n.forEach((l) => {
    let s = l.getValue(e);
    s != null && (s = +s) >= s && (++r, o += s);
  }), r) return o / r;
}, k3 = (e, n) => {
  if (!n.length)
    return;
  const r = n.map((s) => s.getValue(e));
  if (!d3(r))
    return;
  if (r.length === 1)
    return r[0];
  const o = Math.floor(r.length / 2), l = r.sort((s, u) => s - u);
  return r.length % 2 !== 0 ? l[o] : (l[o - 1] + l[o]) / 2;
}, C3 = (e, n) => Array.from(new Set(n.map((r) => r.getValue(e))).values()), _3 = (e, n) => new Set(n.map((r) => r.getValue(e))).size, R3 = (e, n) => n.length, qf = {
  sum: w3,
  min: b3,
  max: x3,
  extent: y3,
  mean: S3,
  median: k3,
  unique: C3,
  uniqueCount: _3,
  count: R3
}, E3 = {
  getDefaultColumnDef: () => ({
    aggregatedCell: (e) => {
      var n, r;
      return (n = (r = e.getValue()) == null || r.toString == null ? void 0 : r.toString()) != null ? n : null;
    },
    aggregationFn: "auto"
  }),
  getInitialState: (e) => ({
    grouping: [],
    ...e
  }),
  getDefaultOptions: (e) => ({
    onGroupingChange: xn("grouping", e),
    groupedColumnMode: "reorder"
  }),
  createColumn: (e, n) => {
    e.toggleGrouping = () => {
      n.setGrouping((r) => r != null && r.includes(e.id) ? r.filter((o) => o !== e.id) : [...r ?? [], e.id]);
    }, e.getCanGroup = () => {
      var r, o;
      return ((r = e.columnDef.enableGrouping) != null ? r : !0) && ((o = n.options.enableGrouping) != null ? o : !0) && (!!e.accessorFn || !!e.columnDef.getGroupingValue);
    }, e.getIsGrouped = () => {
      var r;
      return (r = n.getState().grouping) == null ? void 0 : r.includes(e.id);
    }, e.getGroupedIndex = () => {
      var r;
      return (r = n.getState().grouping) == null ? void 0 : r.indexOf(e.id);
    }, e.getToggleGroupingHandler = () => {
      const r = e.getCanGroup();
      return () => {
        r && e.toggleGrouping();
      };
    }, e.getAutoAggregationFn = () => {
      const r = n.getCoreRowModel().flatRows[0], o = r == null ? void 0 : r.getValue(e.id);
      if (typeof o == "number")
        return qf.sum;
      if (Object.prototype.toString.call(o) === "[object Date]")
        return qf.extent;
    }, e.getAggregationFn = () => {
      var r, o;
      if (!e)
        throw new Error();
      return su(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : (r = (o = n.options.aggregationFns) == null ? void 0 : o[e.columnDef.aggregationFn]) != null ? r : qf[e.columnDef.aggregationFn];
    };
  },
  createTable: (e) => {
    e.setGrouping = (n) => e.options.onGroupingChange == null ? void 0 : e.options.onGroupingChange(n), e.resetGrouping = (n) => {
      var r, o;
      e.setGrouping(n ? [] : (r = (o = e.initialState) == null ? void 0 : o.grouping) != null ? r : []);
    }, e.getPreGroupedRowModel = () => e.getFilteredRowModel(), e.getGroupedRowModel = () => (!e._getGroupedRowModel && e.options.getGroupedRowModel && (e._getGroupedRowModel = e.options.getGroupedRowModel(e)), e.options.manualGrouping || !e._getGroupedRowModel ? e.getPreGroupedRowModel() : e._getGroupedRowModel());
  },
  createRow: (e, n) => {
    e.getIsGrouped = () => !!e.groupingColumnId, e.getGroupingValue = (r) => {
      if (e._groupingValuesCache.hasOwnProperty(r))
        return e._groupingValuesCache[r];
      const o = n.getColumn(r);
      return o != null && o.columnDef.getGroupingValue ? (e._groupingValuesCache[r] = o.columnDef.getGroupingValue(e.original), e._groupingValuesCache[r]) : e.getValue(r);
    }, e._groupingValuesCache = {};
  },
  createCell: (e, n, r, o) => {
    e.getIsGrouped = () => n.getIsGrouped() && n.id === r.groupingColumnId, e.getIsPlaceholder = () => !e.getIsGrouped() && n.getIsGrouped(), e.getIsAggregated = () => {
      var l;
      return !e.getIsGrouped() && !e.getIsPlaceholder() && !!((l = r.subRows) != null && l.length);
    };
  }
};
function z3(e, n, r) {
  if (!(n != null && n.length) || !r)
    return e;
  const o = e.filter((s) => !n.includes(s.id));
  return r === "remove" ? o : [...n.map((s) => e.find((u) => u.id === s)).filter(Boolean), ...o];
}
const T3 = {
  getInitialState: (e) => ({
    columnOrder: [],
    ...e
  }),
  getDefaultOptions: (e) => ({
    onColumnOrderChange: xn("columnOrder", e)
  }),
  createColumn: (e, n) => {
    e.getIndex = Se((r) => [pl(n, r)], (r) => r.findIndex((o) => o.id === e.id), ke(n.options, "debugColumns")), e.getIsFirstColumn = (r) => {
      var o;
      return ((o = pl(n, r)[0]) == null ? void 0 : o.id) === e.id;
    }, e.getIsLastColumn = (r) => {
      var o;
      const l = pl(n, r);
      return ((o = l[l.length - 1]) == null ? void 0 : o.id) === e.id;
    };
  },
  createTable: (e) => {
    e.setColumnOrder = (n) => e.options.onColumnOrderChange == null ? void 0 : e.options.onColumnOrderChange(n), e.resetColumnOrder = (n) => {
      var r;
      e.setColumnOrder(n ? [] : (r = e.initialState.columnOrder) != null ? r : []);
    }, e._getOrderColumnsFn = Se(() => [e.getState().columnOrder, e.getState().grouping, e.options.groupedColumnMode], (n, r, o) => (l) => {
      let s = [];
      if (!(n != null && n.length))
        s = l;
      else {
        const u = [...n], f = [...l];
        for (; f.length && u.length; ) {
          const g = u.shift(), p = f.findIndex((m) => m.id === g);
          p > -1 && s.push(f.splice(p, 1)[0]);
        }
        s = [...s, ...f];
      }
      return z3(s, r, o);
    }, ke(e.options, "debugTable"));
  }
}, Yf = () => ({
  left: [],
  right: []
}), A3 = {
  getInitialState: (e) => ({
    columnPinning: Yf(),
    ...e
  }),
  getDefaultOptions: (e) => ({
    onColumnPinningChange: xn("columnPinning", e)
  }),
  createColumn: (e, n) => {
    e.pin = (r) => {
      const o = e.getLeafColumns().map((l) => l.id).filter(Boolean);
      n.setColumnPinning((l) => {
        var s, u;
        if (r === "right") {
          var f, g;
          return {
            left: ((f = l == null ? void 0 : l.left) != null ? f : []).filter((h) => !(o != null && o.includes(h))),
            right: [...((g = l == null ? void 0 : l.right) != null ? g : []).filter((h) => !(o != null && o.includes(h))), ...o]
          };
        }
        if (r === "left") {
          var p, m;
          return {
            left: [...((p = l == null ? void 0 : l.left) != null ? p : []).filter((h) => !(o != null && o.includes(h))), ...o],
            right: ((m = l == null ? void 0 : l.right) != null ? m : []).filter((h) => !(o != null && o.includes(h)))
          };
        }
        return {
          left: ((s = l == null ? void 0 : l.left) != null ? s : []).filter((h) => !(o != null && o.includes(h))),
          right: ((u = l == null ? void 0 : l.right) != null ? u : []).filter((h) => !(o != null && o.includes(h)))
        };
      });
    }, e.getCanPin = () => e.getLeafColumns().some((o) => {
      var l, s, u;
      return ((l = o.columnDef.enablePinning) != null ? l : !0) && ((s = (u = n.options.enableColumnPinning) != null ? u : n.options.enablePinning) != null ? s : !0);
    }), e.getIsPinned = () => {
      const r = e.getLeafColumns().map((f) => f.id), {
        left: o,
        right: l
      } = n.getState().columnPinning, s = r.some((f) => o == null ? void 0 : o.includes(f)), u = r.some((f) => l == null ? void 0 : l.includes(f));
      return s ? "left" : u ? "right" : !1;
    }, e.getPinnedIndex = () => {
      var r, o;
      const l = e.getIsPinned();
      return l ? (r = (o = n.getState().columnPinning) == null || (o = o[l]) == null ? void 0 : o.indexOf(e.id)) != null ? r : -1 : 0;
    };
  },
  createRow: (e, n) => {
    e.getCenterVisibleCells = Se(() => [e._getAllVisibleCells(), n.getState().columnPinning.left, n.getState().columnPinning.right], (r, o, l) => {
      const s = [...o ?? [], ...l ?? []];
      return r.filter((u) => !s.includes(u.column.id));
    }, ke(n.options, "debugRows")), e.getLeftVisibleCells = Se(() => [e._getAllVisibleCells(), n.getState().columnPinning.left], (r, o) => (o ?? []).map((s) => r.find((u) => u.column.id === s)).filter(Boolean).map((s) => ({
      ...s,
      position: "left"
    })), ke(n.options, "debugRows")), e.getRightVisibleCells = Se(() => [e._getAllVisibleCells(), n.getState().columnPinning.right], (r, o) => (o ?? []).map((s) => r.find((u) => u.column.id === s)).filter(Boolean).map((s) => ({
      ...s,
      position: "right"
    })), ke(n.options, "debugRows"));
  },
  createTable: (e) => {
    e.setColumnPinning = (n) => e.options.onColumnPinningChange == null ? void 0 : e.options.onColumnPinningChange(n), e.resetColumnPinning = (n) => {
      var r, o;
      return e.setColumnPinning(n ? Yf() : (r = (o = e.initialState) == null ? void 0 : o.columnPinning) != null ? r : Yf());
    }, e.getIsSomeColumnsPinned = (n) => {
      var r;
      const o = e.getState().columnPinning;
      if (!n) {
        var l, s;
        return !!((l = o.left) != null && l.length || (s = o.right) != null && s.length);
      }
      return !!((r = o[n]) != null && r.length);
    }, e.getLeftLeafColumns = Se(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (n, r) => (r ?? []).map((o) => n.find((l) => l.id === o)).filter(Boolean), ke(e.options, "debugColumns")), e.getRightLeafColumns = Se(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (n, r) => (r ?? []).map((o) => n.find((l) => l.id === o)).filter(Boolean), ke(e.options, "debugColumns")), e.getCenterLeafColumns = Se(() => [e.getAllLeafColumns(), e.getState().columnPinning.left, e.getState().columnPinning.right], (n, r, o) => {
      const l = [...r ?? [], ...o ?? []];
      return n.filter((s) => !l.includes(s.id));
    }, ke(e.options, "debugColumns"));
  }
};
function N3(e) {
  return e || (typeof document < "u" ? document : null);
}
const ts = {
  size: 150,
  minSize: 20,
  maxSize: Number.MAX_SAFE_INTEGER
}, Xf = () => ({
  startOffset: null,
  startSize: null,
  deltaOffset: null,
  deltaPercentage: null,
  isResizingColumn: !1,
  columnSizingStart: []
}), O3 = {
  getDefaultColumnDef: () => ts,
  getInitialState: (e) => ({
    columnSizing: {},
    columnSizingInfo: Xf(),
    ...e
  }),
  getDefaultOptions: (e) => ({
    columnResizeMode: "onEnd",
    columnResizeDirection: "ltr",
    onColumnSizingChange: xn("columnSizing", e),
    onColumnSizingInfoChange: xn("columnSizingInfo", e)
  }),
  createColumn: (e, n) => {
    e.getSize = () => {
      var r, o, l;
      const s = n.getState().columnSizing[e.id];
      return Math.min(Math.max((r = e.columnDef.minSize) != null ? r : ts.minSize, (o = s ?? e.columnDef.size) != null ? o : ts.size), (l = e.columnDef.maxSize) != null ? l : ts.maxSize);
    }, e.getStart = Se((r) => [r, pl(n, r), n.getState().columnSizing], (r, o) => o.slice(0, e.getIndex(r)).reduce((l, s) => l + s.getSize(), 0), ke(n.options, "debugColumns")), e.getAfter = Se((r) => [r, pl(n, r), n.getState().columnSizing], (r, o) => o.slice(e.getIndex(r) + 1).reduce((l, s) => l + s.getSize(), 0), ke(n.options, "debugColumns")), e.resetSize = () => {
      n.setColumnSizing((r) => {
        let {
          [e.id]: o,
          ...l
        } = r;
        return l;
      });
    }, e.getCanResize = () => {
      var r, o;
      return ((r = e.columnDef.enableResizing) != null ? r : !0) && ((o = n.options.enableColumnResizing) != null ? o : !0);
    }, e.getIsResizing = () => n.getState().columnSizingInfo.isResizingColumn === e.id;
  },
  createHeader: (e, n) => {
    e.getSize = () => {
      let r = 0;
      const o = (l) => {
        if (l.subHeaders.length)
          l.subHeaders.forEach(o);
        else {
          var s;
          r += (s = l.column.getSize()) != null ? s : 0;
        }
      };
      return o(e), r;
    }, e.getStart = () => {
      if (e.index > 0) {
        const r = e.headerGroup.headers[e.index - 1];
        return r.getStart() + r.getSize();
      }
      return 0;
    }, e.getResizeHandler = (r) => {
      const o = n.getColumn(e.column.id), l = o == null ? void 0 : o.getCanResize();
      return (s) => {
        if (!o || !l || (s.persist == null || s.persist(), Kf(s) && s.touches && s.touches.length > 1))
          return;
        const u = e.getSize(), f = e ? e.getLeafHeaders().map((E) => [E.column.id, E.column.getSize()]) : [[o.id, o.getSize()]], g = Kf(s) ? Math.round(s.touches[0].clientX) : s.clientX, p = {}, m = (E, z) => {
          typeof z == "number" && (n.setColumnSizingInfo((T) => {
            var N, $;
            const U = n.options.columnResizeDirection === "rtl" ? -1 : 1, q = (z - ((N = T == null ? void 0 : T.startOffset) != null ? N : 0)) * U, F = Math.max(q / (($ = T == null ? void 0 : T.startSize) != null ? $ : 0), -0.999999);
            return T.columnSizingStart.forEach((ee) => {
              let [Q, J] = ee;
              p[Q] = Math.round(Math.max(J + J * F, 0) * 100) / 100;
            }), {
              ...T,
              deltaOffset: q,
              deltaPercentage: F
            };
          }), (n.options.columnResizeMode === "onChange" || E === "end") && n.setColumnSizing((T) => ({
            ...T,
            ...p
          })));
        }, h = (E) => m("move", E), S = (E) => {
          m("end", E), n.setColumnSizingInfo((z) => ({
            ...z,
            isResizingColumn: !1,
            startOffset: null,
            startSize: null,
            deltaOffset: null,
            deltaPercentage: null,
            columnSizingStart: []
          }));
        }, y = N3(r), C = {
          moveHandler: (E) => h(E.clientX),
          upHandler: (E) => {
            y == null || y.removeEventListener("mousemove", C.moveHandler), y == null || y.removeEventListener("mouseup", C.upHandler), S(E.clientX);
          }
        }, k = {
          moveHandler: (E) => (E.cancelable && (E.preventDefault(), E.stopPropagation()), h(E.touches[0].clientX), !1),
          upHandler: (E) => {
            var z;
            y == null || y.removeEventListener("touchmove", k.moveHandler), y == null || y.removeEventListener("touchend", k.upHandler), E.cancelable && (E.preventDefault(), E.stopPropagation()), S((z = E.touches[0]) == null ? void 0 : z.clientX);
          }
        }, R = D3() ? {
          passive: !1
        } : !1;
        Kf(s) ? (y == null || y.addEventListener("touchmove", k.moveHandler, R), y == null || y.addEventListener("touchend", k.upHandler, R)) : (y == null || y.addEventListener("mousemove", C.moveHandler, R), y == null || y.addEventListener("mouseup", C.upHandler, R)), n.setColumnSizingInfo((E) => ({
          ...E,
          startOffset: g,
          startSize: u,
          deltaOffset: 0,
          deltaPercentage: 0,
          columnSizingStart: f,
          isResizingColumn: o.id
        }));
      };
    };
  },
  createTable: (e) => {
    e.setColumnSizing = (n) => e.options.onColumnSizingChange == null ? void 0 : e.options.onColumnSizingChange(n), e.setColumnSizingInfo = (n) => e.options.onColumnSizingInfoChange == null ? void 0 : e.options.onColumnSizingInfoChange(n), e.resetColumnSizing = (n) => {
      var r;
      e.setColumnSizing(n ? {} : (r = e.initialState.columnSizing) != null ? r : {});
    }, e.resetHeaderSizeInfo = (n) => {
      var r;
      e.setColumnSizingInfo(n ? Xf() : (r = e.initialState.columnSizingInfo) != null ? r : Xf());
    }, e.getTotalSize = () => {
      var n, r;
      return (n = (r = e.getHeaderGroups()[0]) == null ? void 0 : r.headers.reduce((o, l) => o + l.getSize(), 0)) != null ? n : 0;
    }, e.getLeftTotalSize = () => {
      var n, r;
      return (n = (r = e.getLeftHeaderGroups()[0]) == null ? void 0 : r.headers.reduce((o, l) => o + l.getSize(), 0)) != null ? n : 0;
    }, e.getCenterTotalSize = () => {
      var n, r;
      return (n = (r = e.getCenterHeaderGroups()[0]) == null ? void 0 : r.headers.reduce((o, l) => o + l.getSize(), 0)) != null ? n : 0;
    }, e.getRightTotalSize = () => {
      var n, r;
      return (n = (r = e.getRightHeaderGroups()[0]) == null ? void 0 : r.headers.reduce((o, l) => o + l.getSize(), 0)) != null ? n : 0;
    };
  }
};
let ns = null;
function D3() {
  if (typeof ns == "boolean") return ns;
  let e = !1;
  try {
    const n = {
      get passive() {
        return e = !0, !1;
      }
    }, r = () => {
    };
    window.addEventListener("test", r, n), window.removeEventListener("test", r);
  } catch {
    e = !1;
  }
  return ns = e, ns;
}
function Kf(e) {
  return e.type === "touchstart";
}
const M3 = {
  getInitialState: (e) => ({
    columnVisibility: {},
    ...e
  }),
  getDefaultOptions: (e) => ({
    onColumnVisibilityChange: xn("columnVisibility", e)
  }),
  createColumn: (e, n) => {
    e.toggleVisibility = (r) => {
      e.getCanHide() && n.setColumnVisibility((o) => ({
        ...o,
        [e.id]: r ?? !e.getIsVisible()
      }));
    }, e.getIsVisible = () => {
      var r, o;
      const l = e.columns;
      return (r = l.length ? l.some((s) => s.getIsVisible()) : (o = n.getState().columnVisibility) == null ? void 0 : o[e.id]) != null ? r : !0;
    }, e.getCanHide = () => {
      var r, o;
      return ((r = e.columnDef.enableHiding) != null ? r : !0) && ((o = n.options.enableHiding) != null ? o : !0);
    }, e.getToggleVisibilityHandler = () => (r) => {
      e.toggleVisibility == null || e.toggleVisibility(r.target.checked);
    };
  },
  createRow: (e, n) => {
    e._getAllVisibleCells = Se(() => [e.getAllCells(), n.getState().columnVisibility], (r) => r.filter((o) => o.column.getIsVisible()), ke(n.options, "debugRows")), e.getVisibleCells = Se(() => [e.getLeftVisibleCells(), e.getCenterVisibleCells(), e.getRightVisibleCells()], (r, o, l) => [...r, ...o, ...l], ke(n.options, "debugRows"));
  },
  createTable: (e) => {
    const n = (r, o) => Se(() => [o(), o().filter((l) => l.getIsVisible()).map((l) => l.id).join("_")], (l) => l.filter((s) => s.getIsVisible == null ? void 0 : s.getIsVisible()), ke(e.options, "debugColumns"));
    e.getVisibleFlatColumns = n("getVisibleFlatColumns", () => e.getAllFlatColumns()), e.getVisibleLeafColumns = n("getVisibleLeafColumns", () => e.getAllLeafColumns()), e.getLeftVisibleLeafColumns = n("getLeftVisibleLeafColumns", () => e.getLeftLeafColumns()), e.getRightVisibleLeafColumns = n("getRightVisibleLeafColumns", () => e.getRightLeafColumns()), e.getCenterVisibleLeafColumns = n("getCenterVisibleLeafColumns", () => e.getCenterLeafColumns()), e.setColumnVisibility = (r) => e.options.onColumnVisibilityChange == null ? void 0 : e.options.onColumnVisibilityChange(r), e.resetColumnVisibility = (r) => {
      var o;
      e.setColumnVisibility(r ? {} : (o = e.initialState.columnVisibility) != null ? o : {});
    }, e.toggleAllColumnsVisible = (r) => {
      var o;
      r = (o = r) != null ? o : !e.getIsAllColumnsVisible(), e.setColumnVisibility(e.getAllLeafColumns().reduce((l, s) => ({
        ...l,
        [s.id]: r || !(s.getCanHide != null && s.getCanHide())
      }), {}));
    }, e.getIsAllColumnsVisible = () => !e.getAllLeafColumns().some((r) => !(r.getIsVisible != null && r.getIsVisible())), e.getIsSomeColumnsVisible = () => e.getAllLeafColumns().some((r) => r.getIsVisible == null ? void 0 : r.getIsVisible()), e.getToggleAllColumnsVisibilityHandler = () => (r) => {
      var o;
      e.toggleAllColumnsVisible((o = r.target) == null ? void 0 : o.checked);
    };
  }
};
function pl(e, n) {
  return n ? n === "center" ? e.getCenterVisibleLeafColumns() : n === "left" ? e.getLeftVisibleLeafColumns() : e.getRightVisibleLeafColumns() : e.getVisibleLeafColumns();
}
const j3 = {
  createTable: (e) => {
    e._getGlobalFacetedRowModel = e.options.getFacetedRowModel && e.options.getFacetedRowModel(e, "__global__"), e.getGlobalFacetedRowModel = () => e.options.manualFiltering || !e._getGlobalFacetedRowModel ? e.getPreFilteredRowModel() : e._getGlobalFacetedRowModel(), e._getGlobalFacetedUniqueValues = e.options.getFacetedUniqueValues && e.options.getFacetedUniqueValues(e, "__global__"), e.getGlobalFacetedUniqueValues = () => e._getGlobalFacetedUniqueValues ? e._getGlobalFacetedUniqueValues() : /* @__PURE__ */ new Map(), e._getGlobalFacetedMinMaxValues = e.options.getFacetedMinMaxValues && e.options.getFacetedMinMaxValues(e, "__global__"), e.getGlobalFacetedMinMaxValues = () => {
      if (e._getGlobalFacetedMinMaxValues)
        return e._getGlobalFacetedMinMaxValues();
    };
  }
}, $3 = {
  getInitialState: (e) => ({
    globalFilter: void 0,
    ...e
  }),
  getDefaultOptions: (e) => ({
    onGlobalFilterChange: xn("globalFilter", e),
    globalFilterFn: "auto",
    getColumnCanGlobalFilter: (n) => {
      var r;
      const o = (r = e.getCoreRowModel().flatRows[0]) == null || (r = r._getAllCellsByColumnId()[n.id]) == null ? void 0 : r.getValue();
      return typeof o == "string" || typeof o == "number";
    }
  }),
  createColumn: (e, n) => {
    e.getCanGlobalFilter = () => {
      var r, o, l, s;
      return ((r = e.columnDef.enableGlobalFilter) != null ? r : !0) && ((o = n.options.enableGlobalFilter) != null ? o : !0) && ((l = n.options.enableFilters) != null ? l : !0) && ((s = n.options.getColumnCanGlobalFilter == null ? void 0 : n.options.getColumnCanGlobalFilter(e)) != null ? s : !0) && !!e.accessorFn;
    };
  },
  createTable: (e) => {
    e.getGlobalAutoFilterFn = () => Ta.includesString, e.getGlobalFilterFn = () => {
      var n, r;
      const {
        globalFilterFn: o
      } = e.options;
      return su(o) ? o : o === "auto" ? e.getGlobalAutoFilterFn() : (n = (r = e.options.filterFns) == null ? void 0 : r[o]) != null ? n : Ta[o];
    }, e.setGlobalFilter = (n) => {
      e.options.onGlobalFilterChange == null || e.options.onGlobalFilterChange(n);
    }, e.resetGlobalFilter = (n) => {
      e.setGlobalFilter(n ? void 0 : e.initialState.globalFilter);
    };
  }
}, P3 = {
  getInitialState: (e) => ({
    expanded: {},
    ...e
  }),
  getDefaultOptions: (e) => ({
    onExpandedChange: xn("expanded", e),
    paginateExpandedRows: !0
  }),
  createTable: (e) => {
    let n = !1, r = !1;
    e._autoResetExpanded = () => {
      var o, l;
      if (!n) {
        e._queue(() => {
          n = !0;
        });
        return;
      }
      if ((o = (l = e.options.autoResetAll) != null ? l : e.options.autoResetExpanded) != null ? o : !e.options.manualExpanding) {
        if (r) return;
        r = !0, e._queue(() => {
          e.resetExpanded(), r = !1;
        });
      }
    }, e.setExpanded = (o) => e.options.onExpandedChange == null ? void 0 : e.options.onExpandedChange(o), e.toggleAllRowsExpanded = (o) => {
      o ?? !e.getIsAllRowsExpanded() ? e.setExpanded(!0) : e.setExpanded({});
    }, e.resetExpanded = (o) => {
      var l, s;
      e.setExpanded(o ? {} : (l = (s = e.initialState) == null ? void 0 : s.expanded) != null ? l : {});
    }, e.getCanSomeRowsExpand = () => e.getPrePaginationRowModel().flatRows.some((o) => o.getCanExpand()), e.getToggleAllRowsExpandedHandler = () => (o) => {
      o.persist == null || o.persist(), e.toggleAllRowsExpanded();
    }, e.getIsSomeRowsExpanded = () => {
      const o = e.getState().expanded;
      return o === !0 || Object.values(o).some(Boolean);
    }, e.getIsAllRowsExpanded = () => {
      const o = e.getState().expanded;
      return typeof o == "boolean" ? o === !0 : !(!Object.keys(o).length || e.getRowModel().flatRows.some((l) => !l.getIsExpanded()));
    }, e.getExpandedDepth = () => {
      let o = 0;
      return (e.getState().expanded === !0 ? Object.keys(e.getRowModel().rowsById) : Object.keys(e.getState().expanded)).forEach((s) => {
        const u = s.split(".");
        o = Math.max(o, u.length);
      }), o;
    }, e.getPreExpandedRowModel = () => e.getSortedRowModel(), e.getExpandedRowModel = () => (!e._getExpandedRowModel && e.options.getExpandedRowModel && (e._getExpandedRowModel = e.options.getExpandedRowModel(e)), e.options.manualExpanding || !e._getExpandedRowModel ? e.getPreExpandedRowModel() : e._getExpandedRowModel());
  },
  createRow: (e, n) => {
    e.toggleExpanded = (r) => {
      n.setExpanded((o) => {
        var l;
        const s = o === !0 ? !0 : !!(o != null && o[e.id]);
        let u = {};
        if (o === !0 ? Object.keys(n.getRowModel().rowsById).forEach((f) => {
          u[f] = !0;
        }) : u = o, r = (l = r) != null ? l : !s, !s && r)
          return {
            ...u,
            [e.id]: !0
          };
        if (s && !r) {
          const {
            [e.id]: f,
            ...g
          } = u;
          return g;
        }
        return o;
      });
    }, e.getIsExpanded = () => {
      var r;
      const o = n.getState().expanded;
      return !!((r = n.options.getIsRowExpanded == null ? void 0 : n.options.getIsRowExpanded(e)) != null ? r : o === !0 || o != null && o[e.id]);
    }, e.getCanExpand = () => {
      var r, o, l;
      return (r = n.options.getRowCanExpand == null ? void 0 : n.options.getRowCanExpand(e)) != null ? r : ((o = n.options.enableExpanding) != null ? o : !0) && !!((l = e.subRows) != null && l.length);
    }, e.getIsAllParentsExpanded = () => {
      let r = !0, o = e;
      for (; r && o.parentId; )
        o = n.getRow(o.parentId, !0), r = o.getIsExpanded();
      return r;
    }, e.getToggleExpandedHandler = () => {
      const r = e.getCanExpand();
      return () => {
        r && e.toggleExpanded();
      };
    };
  }
}, Sg = 0, kg = 10, Qf = () => ({
  pageIndex: Sg,
  pageSize: kg
}), L3 = {
  getInitialState: (e) => ({
    ...e,
    pagination: {
      ...Qf(),
      ...e == null ? void 0 : e.pagination
    }
  }),
  getDefaultOptions: (e) => ({
    onPaginationChange: xn("pagination", e)
  }),
  createTable: (e) => {
    let n = !1, r = !1;
    e._autoResetPageIndex = () => {
      var o, l;
      if (!n) {
        e._queue(() => {
          n = !0;
        });
        return;
      }
      if ((o = (l = e.options.autoResetAll) != null ? l : e.options.autoResetPageIndex) != null ? o : !e.options.manualPagination) {
        if (r) return;
        r = !0, e._queue(() => {
          e.resetPageIndex(), r = !1;
        });
      }
    }, e.setPagination = (o) => {
      const l = (s) => lr(o, s);
      return e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange(l);
    }, e.resetPagination = (o) => {
      var l;
      e.setPagination(o ? Qf() : (l = e.initialState.pagination) != null ? l : Qf());
    }, e.setPageIndex = (o) => {
      e.setPagination((l) => {
        let s = lr(o, l.pageIndex);
        const u = typeof e.options.pageCount > "u" || e.options.pageCount === -1 ? Number.MAX_SAFE_INTEGER : e.options.pageCount - 1;
        return s = Math.max(0, Math.min(s, u)), {
          ...l,
          pageIndex: s
        };
      });
    }, e.resetPageIndex = (o) => {
      var l, s;
      e.setPageIndex(o ? Sg : (l = (s = e.initialState) == null || (s = s.pagination) == null ? void 0 : s.pageIndex) != null ? l : Sg);
    }, e.resetPageSize = (o) => {
      var l, s;
      e.setPageSize(o ? kg : (l = (s = e.initialState) == null || (s = s.pagination) == null ? void 0 : s.pageSize) != null ? l : kg);
    }, e.setPageSize = (o) => {
      e.setPagination((l) => {
        const s = Math.max(1, lr(o, l.pageSize)), u = l.pageSize * l.pageIndex, f = Math.floor(u / s);
        return {
          ...l,
          pageIndex: f,
          pageSize: s
        };
      });
    }, e.setPageCount = (o) => e.setPagination((l) => {
      var s;
      let u = lr(o, (s = e.options.pageCount) != null ? s : -1);
      return typeof u == "number" && (u = Math.max(-1, u)), {
        ...l,
        pageCount: u
      };
    }), e.getPageOptions = Se(() => [e.getPageCount()], (o) => {
      let l = [];
      return o && o > 0 && (l = [...new Array(o)].fill(null).map((s, u) => u)), l;
    }, ke(e.options, "debugTable")), e.getCanPreviousPage = () => e.getState().pagination.pageIndex > 0, e.getCanNextPage = () => {
      const {
        pageIndex: o
      } = e.getState().pagination, l = e.getPageCount();
      return l === -1 ? !0 : l === 0 ? !1 : o < l - 1;
    }, e.previousPage = () => e.setPageIndex((o) => o - 1), e.nextPage = () => e.setPageIndex((o) => o + 1), e.firstPage = () => e.setPageIndex(0), e.lastPage = () => e.setPageIndex(e.getPageCount() - 1), e.getPrePaginationRowModel = () => e.getExpandedRowModel(), e.getPaginationRowModel = () => (!e._getPaginationRowModel && e.options.getPaginationRowModel && (e._getPaginationRowModel = e.options.getPaginationRowModel(e)), e.options.manualPagination || !e._getPaginationRowModel ? e.getPrePaginationRowModel() : e._getPaginationRowModel()), e.getPageCount = () => {
      var o;
      return (o = e.options.pageCount) != null ? o : Math.ceil(e.getRowCount() / e.getState().pagination.pageSize);
    }, e.getRowCount = () => {
      var o;
      return (o = e.options.rowCount) != null ? o : e.getPrePaginationRowModel().rows.length;
    };
  }
}, Jf = () => ({
  top: [],
  bottom: []
}), H3 = {
  getInitialState: (e) => ({
    rowPinning: Jf(),
    ...e
  }),
  getDefaultOptions: (e) => ({
    onRowPinningChange: xn("rowPinning", e)
  }),
  createRow: (e, n) => {
    e.pin = (r, o, l) => {
      const s = o ? e.getLeafRows().map((g) => {
        let {
          id: p
        } = g;
        return p;
      }) : [], u = l ? e.getParentRows().map((g) => {
        let {
          id: p
        } = g;
        return p;
      }) : [], f = /* @__PURE__ */ new Set([...u, e.id, ...s]);
      n.setRowPinning((g) => {
        var p, m;
        if (r === "bottom") {
          var h, S;
          return {
            top: ((h = g == null ? void 0 : g.top) != null ? h : []).filter((k) => !(f != null && f.has(k))),
            bottom: [...((S = g == null ? void 0 : g.bottom) != null ? S : []).filter((k) => !(f != null && f.has(k))), ...Array.from(f)]
          };
        }
        if (r === "top") {
          var y, C;
          return {
            top: [...((y = g == null ? void 0 : g.top) != null ? y : []).filter((k) => !(f != null && f.has(k))), ...Array.from(f)],
            bottom: ((C = g == null ? void 0 : g.bottom) != null ? C : []).filter((k) => !(f != null && f.has(k)))
          };
        }
        return {
          top: ((p = g == null ? void 0 : g.top) != null ? p : []).filter((k) => !(f != null && f.has(k))),
          bottom: ((m = g == null ? void 0 : g.bottom) != null ? m : []).filter((k) => !(f != null && f.has(k)))
        };
      });
    }, e.getCanPin = () => {
      var r;
      const {
        enableRowPinning: o,
        enablePinning: l
      } = n.options;
      return typeof o == "function" ? o(e) : (r = o ?? l) != null ? r : !0;
    }, e.getIsPinned = () => {
      const r = [e.id], {
        top: o,
        bottom: l
      } = n.getState().rowPinning, s = r.some((f) => o == null ? void 0 : o.includes(f)), u = r.some((f) => l == null ? void 0 : l.includes(f));
      return s ? "top" : u ? "bottom" : !1;
    }, e.getPinnedIndex = () => {
      var r, o;
      const l = e.getIsPinned();
      if (!l) return -1;
      const s = (r = l === "top" ? n.getTopRows() : n.getBottomRows()) == null ? void 0 : r.map((u) => {
        let {
          id: f
        } = u;
        return f;
      });
      return (o = s == null ? void 0 : s.indexOf(e.id)) != null ? o : -1;
    };
  },
  createTable: (e) => {
    e.setRowPinning = (n) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(n), e.resetRowPinning = (n) => {
      var r, o;
      return e.setRowPinning(n ? Jf() : (r = (o = e.initialState) == null ? void 0 : o.rowPinning) != null ? r : Jf());
    }, e.getIsSomeRowsPinned = (n) => {
      var r;
      const o = e.getState().rowPinning;
      if (!n) {
        var l, s;
        return !!((l = o.top) != null && l.length || (s = o.bottom) != null && s.length);
      }
      return !!((r = o[n]) != null && r.length);
    }, e._getPinnedRows = (n, r, o) => {
      var l;
      return ((l = e.options.keepPinnedRows) == null || l ? (
        //get all rows that are pinned even if they would not be otherwise visible
        //account for expanded parent rows, but not pagination or filtering
        (r ?? []).map((u) => {
          const f = e.getRow(u, !0);
          return f.getIsAllParentsExpanded() ? f : null;
        })
      ) : (
        //else get only visible rows that are pinned
        (r ?? []).map((u) => n.find((f) => f.id === u))
      )).filter(Boolean).map((u) => ({
        ...u,
        position: o
      }));
    }, e.getTopRows = Se(() => [e.getRowModel().rows, e.getState().rowPinning.top], (n, r) => e._getPinnedRows(n, r, "top"), ke(e.options, "debugRows")), e.getBottomRows = Se(() => [e.getRowModel().rows, e.getState().rowPinning.bottom], (n, r) => e._getPinnedRows(n, r, "bottom"), ke(e.options, "debugRows")), e.getCenterRows = Se(() => [e.getRowModel().rows, e.getState().rowPinning.top, e.getState().rowPinning.bottom], (n, r, o) => {
      const l = /* @__PURE__ */ new Set([...r ?? [], ...o ?? []]);
      return n.filter((s) => !l.has(s.id));
    }, ke(e.options, "debugRows"));
  }
}, V3 = {
  getInitialState: (e) => ({
    rowSelection: {},
    ...e
  }),
  getDefaultOptions: (e) => ({
    onRowSelectionChange: xn("rowSelection", e),
    enableRowSelection: !0,
    enableMultiRowSelection: !0,
    enableSubRowSelection: !0
    // enableGroupingRowSelection: false,
    // isAdditiveSelectEvent: (e: unknown) => !!e.metaKey,
    // isInclusiveSelectEvent: (e: unknown) => !!e.shiftKey,
  }),
  createTable: (e) => {
    e.setRowSelection = (n) => e.options.onRowSelectionChange == null ? void 0 : e.options.onRowSelectionChange(n), e.resetRowSelection = (n) => {
      var r;
      return e.setRowSelection(n ? {} : (r = e.initialState.rowSelection) != null ? r : {});
    }, e.toggleAllRowsSelected = (n) => {
      e.setRowSelection((r) => {
        n = typeof n < "u" ? n : !e.getIsAllRowsSelected();
        const o = {
          ...r
        }, l = e.getPreGroupedRowModel().flatRows;
        return n ? l.forEach((s) => {
          s.getCanSelect() && (o[s.id] = !0);
        }) : l.forEach((s) => {
          delete o[s.id];
        }), o;
      });
    }, e.toggleAllPageRowsSelected = (n) => e.setRowSelection((r) => {
      const o = typeof n < "u" ? n : !e.getIsAllPageRowsSelected(), l = {
        ...r
      };
      return e.getRowModel().rows.forEach((s) => {
        Cg(l, s.id, o, !0, e);
      }), l;
    }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = Se(() => [e.getState().rowSelection, e.getCoreRowModel()], (n, r) => Object.keys(n).length ? Wf(e, r) : {
      rows: [],
      flatRows: [],
      rowsById: {}
    }, ke(e.options, "debugTable")), e.getFilteredSelectedRowModel = Se(() => [e.getState().rowSelection, e.getFilteredRowModel()], (n, r) => Object.keys(n).length ? Wf(e, r) : {
      rows: [],
      flatRows: [],
      rowsById: {}
    }, ke(e.options, "debugTable")), e.getGroupedSelectedRowModel = Se(() => [e.getState().rowSelection, e.getSortedRowModel()], (n, r) => Object.keys(n).length ? Wf(e, r) : {
      rows: [],
      flatRows: [],
      rowsById: {}
    }, ke(e.options, "debugTable")), e.getIsAllRowsSelected = () => {
      const n = e.getFilteredRowModel().flatRows, {
        rowSelection: r
      } = e.getState();
      let o = !!(n.length && Object.keys(r).length);
      return o && n.some((l) => l.getCanSelect() && !r[l.id]) && (o = !1), o;
    }, e.getIsAllPageRowsSelected = () => {
      const n = e.getPaginationRowModel().flatRows.filter((l) => l.getCanSelect()), {
        rowSelection: r
      } = e.getState();
      let o = !!n.length;
      return o && n.some((l) => !r[l.id]) && (o = !1), o;
    }, e.getIsSomeRowsSelected = () => {
      var n;
      const r = Object.keys((n = e.getState().rowSelection) != null ? n : {}).length;
      return r > 0 && r < e.getFilteredRowModel().flatRows.length;
    }, e.getIsSomePageRowsSelected = () => {
      const n = e.getPaginationRowModel().flatRows;
      return e.getIsAllPageRowsSelected() ? !1 : n.filter((r) => r.getCanSelect()).some((r) => r.getIsSelected() || r.getIsSomeSelected());
    }, e.getToggleAllRowsSelectedHandler = () => (n) => {
      e.toggleAllRowsSelected(n.target.checked);
    }, e.getToggleAllPageRowsSelectedHandler = () => (n) => {
      e.toggleAllPageRowsSelected(n.target.checked);
    };
  },
  createRow: (e, n) => {
    e.toggleSelected = (r, o) => {
      const l = e.getIsSelected();
      n.setRowSelection((s) => {
        var u;
        if (r = typeof r < "u" ? r : !l, e.getCanSelect() && l === r)
          return s;
        const f = {
          ...s
        };
        return Cg(f, e.id, r, (u = o == null ? void 0 : o.selectChildren) != null ? u : !0, n), f;
      });
    }, e.getIsSelected = () => {
      const {
        rowSelection: r
      } = n.getState();
      return kp(e, r);
    }, e.getIsSomeSelected = () => {
      const {
        rowSelection: r
      } = n.getState();
      return _g(e, r) === "some";
    }, e.getIsAllSubRowsSelected = () => {
      const {
        rowSelection: r
      } = n.getState();
      return _g(e, r) === "all";
    }, e.getCanSelect = () => {
      var r;
      return typeof n.options.enableRowSelection == "function" ? n.options.enableRowSelection(e) : (r = n.options.enableRowSelection) != null ? r : !0;
    }, e.getCanSelectSubRows = () => {
      var r;
      return typeof n.options.enableSubRowSelection == "function" ? n.options.enableSubRowSelection(e) : (r = n.options.enableSubRowSelection) != null ? r : !0;
    }, e.getCanMultiSelect = () => {
      var r;
      return typeof n.options.enableMultiRowSelection == "function" ? n.options.enableMultiRowSelection(e) : (r = n.options.enableMultiRowSelection) != null ? r : !0;
    }, e.getToggleSelectedHandler = () => {
      const r = e.getCanSelect();
      return (o) => {
        var l;
        r && e.toggleSelected((l = o.target) == null ? void 0 : l.checked);
      };
    };
  }
}, Cg = (e, n, r, o, l) => {
  var s;
  const u = l.getRow(n, !0);
  r ? (u.getCanMultiSelect() || Object.keys(e).forEach((f) => delete e[f]), u.getCanSelect() && (e[n] = !0)) : delete e[n], o && (s = u.subRows) != null && s.length && u.getCanSelectSubRows() && u.subRows.forEach((f) => Cg(e, f.id, r, o, l));
};
function Wf(e, n) {
  const r = e.getState().rowSelection, o = [], l = {}, s = function(u, f) {
    return u.map((g) => {
      var p;
      const m = kp(g, r);
      if (m && (o.push(g), l[g.id] = g), (p = g.subRows) != null && p.length && (g = {
        ...g,
        subRows: s(g.subRows)
      }), m)
        return g;
    }).filter(Boolean);
  };
  return {
    rows: s(n.rows),
    flatRows: o,
    rowsById: l
  };
}
function kp(e, n) {
  var r;
  return (r = n[e.id]) != null ? r : !1;
}
function _g(e, n, r) {
  var o;
  if (!((o = e.subRows) != null && o.length)) return !1;
  let l = !0, s = !1;
  return e.subRows.forEach((u) => {
    if (!(s && !l) && (u.getCanSelect() && (kp(u, n) ? s = !0 : l = !1), u.subRows && u.subRows.length)) {
      const f = _g(u, n);
      f === "all" ? s = !0 : (f === "some" && (s = !0), l = !1);
    }
  }), l ? "all" : s ? "some" : !1;
}
const Rg = /([0-9]+)/gm, B3 = (e, n, r) => nS(fr(e.getValue(r)).toLowerCase(), fr(n.getValue(r)).toLowerCase()), I3 = (e, n, r) => nS(fr(e.getValue(r)), fr(n.getValue(r))), U3 = (e, n, r) => Cp(fr(e.getValue(r)).toLowerCase(), fr(n.getValue(r)).toLowerCase()), F3 = (e, n, r) => Cp(fr(e.getValue(r)), fr(n.getValue(r))), Z3 = (e, n, r) => {
  const o = e.getValue(r), l = n.getValue(r);
  return o > l ? 1 : o < l ? -1 : 0;
}, G3 = (e, n, r) => Cp(e.getValue(r), n.getValue(r));
function Cp(e, n) {
  return e === n ? 0 : e > n ? 1 : -1;
}
function fr(e) {
  return typeof e == "number" ? isNaN(e) || e === 1 / 0 || e === -1 / 0 ? "" : String(e) : typeof e == "string" ? e : "";
}
function nS(e, n) {
  const r = e.split(Rg).filter(Boolean), o = n.split(Rg).filter(Boolean);
  for (; r.length && o.length; ) {
    const l = r.shift(), s = o.shift(), u = parseInt(l, 10), f = parseInt(s, 10), g = [u, f].sort();
    if (isNaN(g[0])) {
      if (l > s)
        return 1;
      if (s > l)
        return -1;
      continue;
    }
    if (isNaN(g[1]))
      return isNaN(u) ? -1 : 1;
    if (u > f)
      return 1;
    if (f > u)
      return -1;
  }
  return r.length - o.length;
}
const sl = {
  alphanumeric: B3,
  alphanumericCaseSensitive: I3,
  text: U3,
  textCaseSensitive: F3,
  datetime: Z3,
  basic: G3
}, q3 = {
  getInitialState: (e) => ({
    sorting: [],
    ...e
  }),
  getDefaultColumnDef: () => ({
    sortingFn: "auto",
    sortUndefined: 1
  }),
  getDefaultOptions: (e) => ({
    onSortingChange: xn("sorting", e),
    isMultiSortEvent: (n) => n.shiftKey
  }),
  createColumn: (e, n) => {
    e.getAutoSortingFn = () => {
      const r = n.getFilteredRowModel().flatRows.slice(10);
      let o = !1;
      for (const l of r) {
        const s = l == null ? void 0 : l.getValue(e.id);
        if (Object.prototype.toString.call(s) === "[object Date]")
          return sl.datetime;
        if (typeof s == "string" && (o = !0, s.split(Rg).length > 1))
          return sl.alphanumeric;
      }
      return o ? sl.text : sl.basic;
    }, e.getAutoSortDir = () => {
      const r = n.getFilteredRowModel().flatRows[0];
      return typeof (r == null ? void 0 : r.getValue(e.id)) == "string" ? "asc" : "desc";
    }, e.getSortingFn = () => {
      var r, o;
      if (!e)
        throw new Error();
      return su(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : (r = (o = n.options.sortingFns) == null ? void 0 : o[e.columnDef.sortingFn]) != null ? r : sl[e.columnDef.sortingFn];
    }, e.toggleSorting = (r, o) => {
      const l = e.getNextSortingOrder(), s = typeof r < "u" && r !== null;
      n.setSorting((u) => {
        const f = u == null ? void 0 : u.find((y) => y.id === e.id), g = u == null ? void 0 : u.findIndex((y) => y.id === e.id);
        let p = [], m, h = s ? r : l === "desc";
        if (u != null && u.length && e.getCanMultiSort() && o ? f ? m = "toggle" : m = "add" : u != null && u.length && g !== u.length - 1 ? m = "replace" : f ? m = "toggle" : m = "replace", m === "toggle" && (s || l || (m = "remove")), m === "add") {
          var S;
          p = [...u, {
            id: e.id,
            desc: h
          }], p.splice(0, p.length - ((S = n.options.maxMultiSortColCount) != null ? S : Number.MAX_SAFE_INTEGER));
        } else m === "toggle" ? p = u.map((y) => y.id === e.id ? {
          ...y,
          desc: h
        } : y) : m === "remove" ? p = u.filter((y) => y.id !== e.id) : p = [{
          id: e.id,
          desc: h
        }];
        return p;
      });
    }, e.getFirstSortDir = () => {
      var r, o;
      return ((r = (o = e.columnDef.sortDescFirst) != null ? o : n.options.sortDescFirst) != null ? r : e.getAutoSortDir() === "desc") ? "desc" : "asc";
    }, e.getNextSortingOrder = (r) => {
      var o, l;
      const s = e.getFirstSortDir(), u = e.getIsSorted();
      return u ? u !== s && ((o = n.options.enableSortingRemoval) == null || o) && // If enableSortRemove, enable in general
      (!(r && (l = n.options.enableMultiRemove) != null) || l) ? !1 : u === "desc" ? "asc" : "desc" : s;
    }, e.getCanSort = () => {
      var r, o;
      return ((r = e.columnDef.enableSorting) != null ? r : !0) && ((o = n.options.enableSorting) != null ? o : !0) && !!e.accessorFn;
    }, e.getCanMultiSort = () => {
      var r, o;
      return (r = (o = e.columnDef.enableMultiSort) != null ? o : n.options.enableMultiSort) != null ? r : !!e.accessorFn;
    }, e.getIsSorted = () => {
      var r;
      const o = (r = n.getState().sorting) == null ? void 0 : r.find((l) => l.id === e.id);
      return o ? o.desc ? "desc" : "asc" : !1;
    }, e.getSortIndex = () => {
      var r, o;
      return (r = (o = n.getState().sorting) == null ? void 0 : o.findIndex((l) => l.id === e.id)) != null ? r : -1;
    }, e.clearSorting = () => {
      n.setSorting((r) => r != null && r.length ? r.filter((o) => o.id !== e.id) : []);
    }, e.getToggleSortingHandler = () => {
      const r = e.getCanSort();
      return (o) => {
        r && (o.persist == null || o.persist(), e.toggleSorting == null || e.toggleSorting(void 0, e.getCanMultiSort() ? n.options.isMultiSortEvent == null ? void 0 : n.options.isMultiSortEvent(o) : !1));
      };
    };
  },
  createTable: (e) => {
    e.setSorting = (n) => e.options.onSortingChange == null ? void 0 : e.options.onSortingChange(n), e.resetSorting = (n) => {
      var r, o;
      e.setSorting(n ? [] : (r = (o = e.initialState) == null ? void 0 : o.sorting) != null ? r : []);
    }, e.getPreSortedRowModel = () => e.getGroupedRowModel(), e.getSortedRowModel = () => (!e._getSortedRowModel && e.options.getSortedRowModel && (e._getSortedRowModel = e.options.getSortedRowModel(e)), e.options.manualSorting || !e._getSortedRowModel ? e.getPreSortedRowModel() : e._getSortedRowModel());
  }
}, Y3 = [
  v3,
  M3,
  T3,
  A3,
  h3,
  m3,
  j3,
  //depends on ColumnFaceting
  $3,
  //depends on ColumnFiltering
  q3,
  E3,
  //depends on RowSorting
  P3,
  L3,
  H3,
  V3,
  O3
];
function X3(e) {
  var n, r;
  const o = [...Y3, ...(n = e._features) != null ? n : []];
  let l = {
    _features: o
  };
  const s = l._features.reduce((S, y) => Object.assign(S, y.getDefaultOptions == null ? void 0 : y.getDefaultOptions(l)), {}), u = (S) => l.options.mergeOptions ? l.options.mergeOptions(s, S) : {
    ...s,
    ...S
  };
  let g = {
    ...{},
    ...(r = e.initialState) != null ? r : {}
  };
  l._features.forEach((S) => {
    var y;
    g = (y = S.getInitialState == null ? void 0 : S.getInitialState(g)) != null ? y : g;
  });
  const p = [];
  let m = !1;
  const h = {
    _features: o,
    options: {
      ...s,
      ...e
    },
    initialState: g,
    _queue: (S) => {
      p.push(S), m || (m = !0, Promise.resolve().then(() => {
        for (; p.length; )
          p.shift()();
        m = !1;
      }).catch((y) => setTimeout(() => {
        throw y;
      })));
    },
    reset: () => {
      l.setState(l.initialState);
    },
    setOptions: (S) => {
      const y = lr(S, l.options);
      l.options = u(y);
    },
    getState: () => l.options.state,
    setState: (S) => {
      l.options.onStateChange == null || l.options.onStateChange(S);
    },
    _getRowId: (S, y, C) => {
      var k;
      return (k = l.options.getRowId == null ? void 0 : l.options.getRowId(S, y, C)) != null ? k : `${C ? [C.id, y].join(".") : y}`;
    },
    getCoreRowModel: () => (l._getCoreRowModel || (l._getCoreRowModel = l.options.getCoreRowModel(l)), l._getCoreRowModel()),
    // The final calls start at the bottom of the model,
    // expanded rows, which then work their way up
    getRowModel: () => l.getPaginationRowModel(),
    //in next version, we should just pass in the row model as the optional 2nd arg
    getRow: (S, y) => {
      let C = (y ? l.getPrePaginationRowModel() : l.getRowModel()).rowsById[S];
      if (!C && (C = l.getCoreRowModel().rowsById[S], !C))
        throw new Error();
      return C;
    },
    _getDefaultColumnDef: Se(() => [l.options.defaultColumn], (S) => {
      var y;
      return S = (y = S) != null ? y : {}, {
        header: (C) => {
          const k = C.header.column.columnDef;
          return k.accessorKey ? k.accessorKey : k.accessorFn ? k.id : null;
        },
        // footer: props => props.header.column.id,
        cell: (C) => {
          var k, R;
          return (k = (R = C.renderValue()) == null || R.toString == null ? void 0 : R.toString()) != null ? k : null;
        },
        ...l._features.reduce((C, k) => Object.assign(C, k.getDefaultColumnDef == null ? void 0 : k.getDefaultColumnDef()), {}),
        ...S
      };
    }, ke(e, "debugColumns")),
    _getColumnDefs: () => l.options.columns,
    getAllColumns: Se(() => [l._getColumnDefs()], (S) => {
      const y = function(C, k, R) {
        return R === void 0 && (R = 0), C.map((E) => {
          const z = p3(l, E, R, k), T = E;
          return z.columns = T.columns ? y(T.columns, z, R + 1) : [], z;
        });
      };
      return y(S);
    }, ke(e, "debugColumns")),
    getAllFlatColumns: Se(() => [l.getAllColumns()], (S) => S.flatMap((y) => y.getFlatColumns()), ke(e, "debugColumns")),
    _getAllFlatColumnsById: Se(() => [l.getAllFlatColumns()], (S) => S.reduce((y, C) => (y[C.id] = C, y), {}), ke(e, "debugColumns")),
    getAllLeafColumns: Se(() => [l.getAllColumns(), l._getOrderColumnsFn()], (S, y) => {
      let C = S.flatMap((k) => k.getLeafColumns());
      return y(C);
    }, ke(e, "debugColumns")),
    getColumn: (S) => l._getAllFlatColumnsById()[S]
  };
  Object.assign(l, h);
  for (let S = 0; S < l._features.length; S++) {
    const y = l._features[S];
    y == null || y.createTable == null || y.createTable(l);
  }
  return l;
}
function K3() {
  return (e) => Se(() => [e.options.data], (n) => {
    const r = {
      rows: [],
      flatRows: [],
      rowsById: {}
    }, o = function(l, s, u) {
      s === void 0 && (s = 0);
      const f = [];
      for (let p = 0; p < l.length; p++) {
        const m = yp(e, e._getRowId(l[p], p, u), l[p], p, s, void 0, u == null ? void 0 : u.id);
        if (r.flatRows.push(m), r.rowsById[m.id] = m, f.push(m), e.options.getSubRows) {
          var g;
          m.originalSubRows = e.options.getSubRows(l[p], p), (g = m.originalSubRows) != null && g.length && (m.subRows = o(m.originalSubRows, s + 1, m));
        }
      }
      return f;
    };
    return r.rows = o(n), r;
  }, ke(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));
}
function Q3(e) {
  const n = [], r = (o) => {
    var l;
    n.push(o), (l = o.subRows) != null && l.length && o.getIsExpanded() && o.subRows.forEach(r);
  };
  return e.rows.forEach(r), {
    rows: n,
    flatRows: e.flatRows,
    rowsById: e.rowsById
  };
}
function J3(e, n, r) {
  return r.options.filterFromLeafRows ? W3(e, n, r) : eO(e, n, r);
}
function W3(e, n, r) {
  var o;
  const l = [], s = {}, u = (o = r.options.maxLeafRowFilterDepth) != null ? o : 100, f = function(g, p) {
    p === void 0 && (p = 0);
    const m = [];
    for (let S = 0; S < g.length; S++) {
      var h;
      let y = g[S];
      const C = yp(r, y.id, y.original, y.index, y.depth, void 0, y.parentId);
      if (C.columnFilters = y.columnFilters, (h = y.subRows) != null && h.length && p < u) {
        if (C.subRows = f(y.subRows, p + 1), y = C, n(y) && !C.subRows.length) {
          m.push(y), s[y.id] = y, l.push(y);
          continue;
        }
        if (n(y) || C.subRows.length) {
          m.push(y), s[y.id] = y, l.push(y);
          continue;
        }
      } else
        y = C, n(y) && (m.push(y), s[y.id] = y, l.push(y));
    }
    return m;
  };
  return {
    rows: f(e),
    flatRows: l,
    rowsById: s
  };
}
function eO(e, n, r) {
  var o;
  const l = [], s = {}, u = (o = r.options.maxLeafRowFilterDepth) != null ? o : 100, f = function(g, p) {
    p === void 0 && (p = 0);
    const m = [];
    for (let S = 0; S < g.length; S++) {
      let y = g[S];
      if (n(y)) {
        var h;
        if ((h = y.subRows) != null && h.length && p < u) {
          const k = yp(r, y.id, y.original, y.index, y.depth, void 0, y.parentId);
          k.subRows = f(y.subRows, p + 1), y = k;
        }
        m.push(y), l.push(y), s[y.id] = y;
      }
    }
    return m;
  };
  return {
    rows: f(e),
    flatRows: l,
    rowsById: s
  };
}
function tO() {
  return (e) => Se(() => [e.getPreFilteredRowModel(), e.getState().columnFilters, e.getState().globalFilter], (n, r, o) => {
    if (!n.rows.length || !(r != null && r.length) && !o) {
      for (let S = 0; S < n.flatRows.length; S++)
        n.flatRows[S].columnFilters = {}, n.flatRows[S].columnFiltersMeta = {};
      return n;
    }
    const l = [], s = [];
    (r ?? []).forEach((S) => {
      var y;
      const C = e.getColumn(S.id);
      if (!C)
        return;
      const k = C.getFilterFn();
      k && l.push({
        id: S.id,
        filterFn: k,
        resolvedValue: (y = k.resolveFilterValue == null ? void 0 : k.resolveFilterValue(S.value)) != null ? y : S.value
      });
    });
    const u = (r ?? []).map((S) => S.id), f = e.getGlobalFilterFn(), g = e.getAllLeafColumns().filter((S) => S.getCanGlobalFilter());
    o && f && g.length && (u.push("__global__"), g.forEach((S) => {
      var y;
      s.push({
        id: S.id,
        filterFn: f,
        resolvedValue: (y = f.resolveFilterValue == null ? void 0 : f.resolveFilterValue(o)) != null ? y : o
      });
    }));
    let p, m;
    for (let S = 0; S < n.flatRows.length; S++) {
      const y = n.flatRows[S];
      if (y.columnFilters = {}, l.length)
        for (let C = 0; C < l.length; C++) {
          p = l[C];
          const k = p.id;
          y.columnFilters[k] = p.filterFn(y, k, p.resolvedValue, (R) => {
            y.columnFiltersMeta[k] = R;
          });
        }
      if (s.length) {
        for (let C = 0; C < s.length; C++) {
          m = s[C];
          const k = m.id;
          if (m.filterFn(y, k, m.resolvedValue, (R) => {
            y.columnFiltersMeta[k] = R;
          })) {
            y.columnFilters.__global__ = !0;
            break;
          }
        }
        y.columnFilters.__global__ !== !0 && (y.columnFilters.__global__ = !1);
      }
    }
    const h = (S) => {
      for (let y = 0; y < u.length; y++)
        if (S.columnFilters[u[y]] === !1)
          return !1;
      return !0;
    };
    return J3(n.rows, h, e);
  }, ke(e.options, "debugTable", "getFilteredRowModel", () => e._autoResetPageIndex()));
}
function nO(e) {
  return (n) => Se(() => [n.getState().pagination, n.getPrePaginationRowModel(), n.options.paginateExpandedRows ? void 0 : n.getState().expanded], (r, o) => {
    if (!o.rows.length)
      return o;
    const {
      pageSize: l,
      pageIndex: s
    } = r;
    let {
      rows: u,
      flatRows: f,
      rowsById: g
    } = o;
    const p = l * s, m = p + l;
    u = u.slice(p, m);
    let h;
    n.options.paginateExpandedRows ? h = {
      rows: u,
      flatRows: f,
      rowsById: g
    } : h = Q3({
      rows: u,
      flatRows: f,
      rowsById: g
    }), h.flatRows = [];
    const S = (y) => {
      h.flatRows.push(y), y.subRows.length && y.subRows.forEach(S);
    };
    return h.rows.forEach(S), h;
  }, ke(n.options, "debugTable"));
}
function aO() {
  return (e) => Se(() => [e.getState().sorting, e.getPreSortedRowModel()], (n, r) => {
    if (!r.rows.length || !(n != null && n.length))
      return r;
    const o = e.getState().sorting, l = [], s = o.filter((g) => {
      var p;
      return (p = e.getColumn(g.id)) == null ? void 0 : p.getCanSort();
    }), u = {};
    s.forEach((g) => {
      const p = e.getColumn(g.id);
      p && (u[g.id] = {
        sortUndefined: p.columnDef.sortUndefined,
        invertSorting: p.columnDef.invertSorting,
        sortingFn: p.getSortingFn()
      });
    });
    const f = (g) => {
      const p = g.map((m) => ({
        ...m
      }));
      return p.sort((m, h) => {
        for (let y = 0; y < s.length; y += 1) {
          var S;
          const C = s[y], k = u[C.id], R = k.sortUndefined, E = (S = C == null ? void 0 : C.desc) != null ? S : !1;
          let z = 0;
          if (R) {
            const T = m.getValue(C.id), N = h.getValue(C.id), $ = T === void 0, U = N === void 0;
            if ($ || U) {
              if (R === "first") return $ ? -1 : 1;
              if (R === "last") return $ ? 1 : -1;
              z = $ && U ? 0 : $ ? R : -R;
            }
          }
          if (z === 0 && (z = k.sortingFn(m, h, C.id)), z !== 0)
            return E && (z *= -1), k.invertSorting && (z *= -1), z;
        }
        return m.index - h.index;
      }), p.forEach((m) => {
        var h;
        l.push(m), (h = m.subRows) != null && h.length && (m.subRows = f(m.subRows));
      }), p;
    };
    return {
      rows: f(r.rows),
      flatRows: l,
      rowsById: r.rowsById
    };
  }, ke(e.options, "debugTable", "getSortedRowModel", () => e._autoResetPageIndex()));
}
/**
   * react-table
   *
   * Copyright (c) TanStack
   *
   * This source code is licensed under the MIT license found in the
   * LICENSE.md file in the root directory of this source tree.
   *
   * @license MIT
   */
function mb(e, n) {
  return e ? rO(e) ? /* @__PURE__ */ w.createElement(e, n) : e : null;
}
function rO(e) {
  return oO(e) || typeof e == "function" || iO(e);
}
function oO(e) {
  return typeof e == "function" && (() => {
    const n = Object.getPrototypeOf(e);
    return n.prototype && n.prototype.isReactComponent;
  })();
}
function iO(e) {
  return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);
}
function lO(e) {
  const n = {
    state: {},
    // Dummy state
    onStateChange: () => {
    },
    // noop
    renderFallbackValue: null,
    ...e
  }, [r] = w.useState(() => ({
    current: X3(n)
  })), [o, l] = w.useState(() => r.current.initialState);
  return r.current.setOptions((s) => ({
    ...s,
    ...e,
    state: {
      ...o,
      ...e.state
    },
    // Similarly, we'll maintain both our internal state and any user-provided
    // state.
    onStateChange: (u) => {
      l(u), e.onStateChange == null || e.onStateChange(u);
    }
  })), r.current;
}
function cO({
  columns: e,
  rows: n,
  searchable: r = !1,
  paginated: o = !1,
  pageSize: l = 10,
  caption: s,
  className: u
}) {
  const [f, g] = w.useState([]), [p, m] = w.useState(""), h = w.useMemo(
    () => e.map((y) => ({
      accessorKey: y.key,
      header: ({ column: C }) => y.sortable ? /* @__PURE__ */ b.jsxs(
        "button",
        {
          className: "flex items-center gap-1 hover:text-foreground",
          onClick: () => C.toggleSorting(C.getIsSorted() === "asc"),
          children: [
            y.header,
            C.getIsSorted() === "asc" ? /* @__PURE__ */ b.jsx("span", { className: "text-xs", children: "▲" }) : C.getIsSorted() === "desc" ? /* @__PURE__ */ b.jsx("span", { className: "text-xs", children: "▼" }) : /* @__PURE__ */ b.jsx("span", { className: "text-xs text-muted-foreground/50", children: "⇅" })
          ]
        }
      ) : y.header,
      cell: ({ getValue: C }) => {
        const k = C();
        return k != null ? String(k) : "";
      }
    })),
    [e]
  ), S = lO({
    data: n,
    columns: h,
    state: { sorting: f, globalFilter: p },
    onSortingChange: g,
    onGlobalFilterChange: m,
    getCoreRowModel: K3(),
    getSortedRowModel: aO(),
    getFilteredRowModel: r ? tO() : void 0,
    getPaginationRowModel: o ? nO() : void 0,
    initialState: o ? { pagination: { pageSize: l } } : void 0
  });
  return /* @__PURE__ */ b.jsxs("div", { className: u, children: [
    r && /* @__PURE__ */ b.jsx("div", { className: "mb-4", children: /* @__PURE__ */ b.jsx(
      gp,
      {
        placeholder: "Filter...",
        value: p,
        onChange: (y) => m(y.target.value),
        className: "max-w-sm"
      }
    ) }),
    /* @__PURE__ */ b.jsxs(hp, { children: [
      s && /* @__PURE__ */ b.jsx(xp, { children: s }),
      /* @__PURE__ */ b.jsx(mp, { children: S.getHeaderGroups().map((y) => /* @__PURE__ */ b.jsx(Zo, { children: y.headers.map((C) => /* @__PURE__ */ b.jsx(bp, { children: C.isPlaceholder ? null : mb(
        C.column.columnDef.header,
        C.getContext()
      ) }, C.id)) }, y.id)) }),
      /* @__PURE__ */ b.jsx(wp, { children: S.getRowModel().rows.length ? /* @__PURE__ */ b.jsxs(b.Fragment, { children: [
        S.getRowModel().rows.map((y) => /* @__PURE__ */ b.jsx(Zo, { children: y.getVisibleCells().map((C) => /* @__PURE__ */ b.jsx(gl, { children: mb(
          C.column.columnDef.cell,
          C.getContext()
        ) }, C.id)) }, y.id)),
        o && S.getRowModel().rows.length < l && Array.from({
          length: l - S.getRowModel().rows.length
        }).map((y, C) => /* @__PURE__ */ b.jsx(Zo, { className: "border-transparent", children: /* @__PURE__ */ b.jsx(gl, { colSpan: h.length, children: " " }) }, `pad-${C}`))
      ] }) : /* @__PURE__ */ b.jsx(Zo, { children: /* @__PURE__ */ b.jsx(gl, { colSpan: h.length, className: "h-24 text-center", children: "No results." }) }) })
    ] }),
    o && /* @__PURE__ */ b.jsxs("div", { className: "flex items-center justify-between py-4", children: [
      /* @__PURE__ */ b.jsxs("div", { className: "text-sm text-muted-foreground", children: [
        "Page ",
        S.getState().pagination.pageIndex + 1,
        " of",
        " ",
        S.getPageCount()
      ] }),
      /* @__PURE__ */ b.jsxs("div", { className: "flex gap-2", children: [
        /* @__PURE__ */ b.jsx(
          ys,
          {
            variant: "outline",
            size: "sm",
            onClick: () => S.previousPage(),
            disabled: !S.getCanPreviousPage(),
            children: "Previous"
          }
        ),
        /* @__PURE__ */ b.jsx(
          ys,
          {
            variant: "outline",
            size: "sm",
            onClick: () => S.nextPage(),
            disabled: !S.getCanNextPage(),
            children: "Next"
          }
        )
      ] })
    ] })
  ] });
}
const sO = wA, aS = w.forwardRef(({ className: e, ...n }, r) => /* @__PURE__ */ b.jsx(
  d1,
  {
    ref: r,
    className: ae(
      "cn-tabs-list inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",
      e
    ),
    ...n
  }
));
aS.displayName = d1.displayName;
const rS = w.forwardRef(({ className: e, ...n }, r) => /* @__PURE__ */ b.jsx(
  f1,
  {
    ref: r,
    className: ae(
      "cn-tabs-trigger inline-flex items-center justify-center whitespace-nowrap ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",
      e
    ),
    ...n
  }
));
rS.displayName = f1.displayName;
const oS = w.forwardRef(({ className: e, ...n }, r) => /* @__PURE__ */ b.jsx(
  g1,
  {
    ref: r,
    className: ae(
      "cn-tabs-content mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
      e
    ),
    ...n
  }
));
oS.displayName = g1.displayName;
const Eg = w.forwardRef(({ className: e, ...n }, r) => /* @__PURE__ */ b.jsx(
  aR,
  {
    ref: r,
    className: ae("flex w-full flex-col gap-1", e),
    ...n
  }
));
Eg.displayName = "Accordion";
const zg = w.forwardRef(({ className: e, ...n }, r) => /* @__PURE__ */ b.jsx(
  rR,
  {
    ref: r,
    className: ae("cn-accordion-item", e),
    ...n
  }
));
zg.displayName = "AccordionItem";
const Tg = w.forwardRef(({ className: e, children: n, ...r }, o) => /* @__PURE__ */ b.jsx(oR, { className: "flex", children: /* @__PURE__ */ b.jsxs(
  h0,
  {
    ref: o,
    className: ae(
      "cn-accordion-trigger flex flex-1 items-start justify-between [&[data-state=open]>svg]:rotate-180",
      e
    ),
    ...r,
    children: [
      n,
      /* @__PURE__ */ b.jsx(zs, { className: "h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200" })
    ]
  }
) }));
Tg.displayName = h0.displayName;
const Ag = w.forwardRef(({ className: e, children: n, ...r }, o) => /* @__PURE__ */ b.jsx(
  m0,
  {
    ref: o,
    className: "cn-accordion-content overflow-hidden",
    ...r,
    children: /* @__PURE__ */ b.jsx("div", { className: ae("cn-accordion-content-inner text-muted-foreground", e), children: n })
  }
));
Ag.displayName = m0.displayName;
const uO = PA, dO = LA, fO = HA, iS = w.forwardRef(({ className: e, sideOffset: n = 4, ...r }, o) => /* @__PURE__ */ b.jsx(
  y1,
  {
    ref: o,
    sideOffset: n,
    "data-slot": "tooltip-content",
    className: ae(
      "cn-tooltip-content z-50 origin-[--radix-tooltip-content-transform-origin]",
      e
    ),
    ...r
  }
));
iS.displayName = y1.displayName;
const gO = f5, pO = g5, lS = w.forwardRef(({ className: e, align: n = "center", sideOffset: r = 4, ...o }, l) => {
  const s = As();
  return /* @__PURE__ */ b.jsx(p5, { container: s, children: /* @__PURE__ */ b.jsx(
    Px,
    {
      ref: l,
      align: n,
      sideOffset: r,
      className: ae(
        "cn-hover-card-content z-50 w-64 outline-none origin-[--radix-hover-card-content-transform-origin]",
        e
      ),
      ...o
    }
  ) });
});
lS.displayName = Px.displayName;
const vO = SE, hO = kE, mO = CE, cS = w.forwardRef(({ className: e, ...n }, r) => /* @__PURE__ */ b.jsx(
  Z0,
  {
    ref: r,
    className: ae(
      "cn-dialog-overlay fixed inset-0 z-50",
      e
    ),
    ...n
  }
));
cS.displayName = Z0.displayName;
const sS = w.forwardRef(({ className: e, children: n, ...r }, o) => {
  const l = As();
  return /* @__PURE__ */ b.jsxs(mO, { container: l, children: [
    /* @__PURE__ */ b.jsx(cS, {}),
    /* @__PURE__ */ b.jsxs(
      G0,
      {
        ref: o,
        className: ae(
          "cn-dialog-content fixed left-[50%] top-[50%] z-50 w-full max-w-lg translate-x-[-50%] translate-y-[-50%] border shadow-lg",
          e
        ),
        ...r,
        children: [
          n,
          /* @__PURE__ */ b.jsxs(_E, { className: "cn-dialog-close cursor-pointer absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground", children: [
            /* @__PURE__ */ b.jsx(Ib, { className: "h-4 w-4" }),
            /* @__PURE__ */ b.jsx("span", { className: "sr-only", children: "Close" })
          ] })
        ]
      }
    )
  ] });
});
sS.displayName = G0.displayName;
const uS = ({
  className: e,
  ...n
}) => /* @__PURE__ */ b.jsx(
  "div",
  {
    className: ae(
      "cn-dialog-header flex flex-col space-y-1.5 text-center sm:text-left",
      e
    ),
    ...n
  }
);
uS.displayName = "DialogHeader";
const dS = w.forwardRef(({ className: e, ...n }, r) => /* @__PURE__ */ b.jsx(
  q0,
  {
    ref: r,
    className: ae(
      "cn-dialog-title",
      e
    ),
    ...n
  }
));
dS.displayName = q0.displayName;
const fS = w.forwardRef(({ className: e, ...n }, r) => /* @__PURE__ */ b.jsx(
  Y0,
  {
    ref: r,
    className: ae("cn-dialog-description", e),
    ...n
  }
));
fS.displayName = Y0.displayName;
const gS = w.createContext(void 0);
function pS({
  close: e,
  children: n
}) {
  return /* @__PURE__ */ b.jsx(gS.Provider, { value: e, children: n });
}
function wO() {
  return w.useContext(gS);
}
const uu = K.forwardRef(function({ children: n, ...r }, o) {
  return /* @__PURE__ */ b.jsx("span", { ref: o, ...r, children: n });
});
function bO({
  defaultValue: e,
  value: n,
  variant: r,
  onValueChange: o,
  className: l,
  _panels: s
}) {
  var f;
  const u = e ?? ((f = s[0]) == null ? void 0 : f.value);
  return /* @__PURE__ */ b.jsxs(
    sO,
    {
      defaultValue: n ? void 0 : u,
      value: n,
      onValueChange: o,
      className: l,
      children: [
        /* @__PURE__ */ b.jsx(aS, { "data-variant": r, children: s.map((g) => /* @__PURE__ */ b.jsx(
          rS,
          {
            value: g.value,
            disabled: g.disabled,
            children: g.title
          },
          g.value
        )) }),
        s.map((g) => /* @__PURE__ */ b.jsx(oS, { value: g.value, children: g.content }, g.value))
      ]
    }
  );
}
function xO({
  multiple: e = !1,
  collapsible: n = !0,
  defaultValues: r,
  className: o,
  _panels: l
}) {
  return e ? /* @__PURE__ */ b.jsx(
    Eg,
    {
      type: "multiple",
      defaultValue: r,
      className: o,
      children: l.map((s) => /* @__PURE__ */ b.jsxs(zg, { value: s.value, children: [
        /* @__PURE__ */ b.jsx(Tg, { children: s.title }),
        /* @__PURE__ */ b.jsx(Ag, { children: s.content })
      ] }, s.value))
    }
  ) : /* @__PURE__ */ b.jsx(
    Eg,
    {
      type: "single",
      collapsible: n,
      defaultValue: r == null ? void 0 : r[0],
      className: o,
      children: l.map((s) => /* @__PURE__ */ b.jsxs(zg, { value: s.value, children: [
        /* @__PURE__ */ b.jsx(Tg, { children: s.title }),
        /* @__PURE__ */ b.jsx(Ag, { children: s.content })
      ] }, s.value))
    }
  );
}
function yO({
  defaultValue: e,
  value: n,
  className: r,
  _panels: o
}) {
  var f;
  const [l, s] = w.useState(
    n ?? e ?? ((f = o[0]) == null ? void 0 : f.value)
  );
  w.useEffect(() => {
    n !== void 0 && s(n);
  }, [n]);
  const u = o.find((g) => g.value === l);
  return /* @__PURE__ */ b.jsx("div", { className: r, children: u == null ? void 0 : u.content });
}
function SO({
  content: e,
  side: n,
  delay: r,
  children: o
}) {
  return /* @__PURE__ */ b.jsx(uO, { delayDuration: r, children: /* @__PURE__ */ b.jsxs(dO, { children: [
    /* @__PURE__ */ b.jsx(fO, { asChild: !0, children: /* @__PURE__ */ b.jsx(uu, { children: o }) }),
    /* @__PURE__ */ b.jsx(iS, { side: n, children: /* @__PURE__ */ b.jsx("p", { children: e }) })
  ] }) });
}
function kO({
  side: e,
  openDelay: n,
  closeDelay: r,
  children: o
}) {
  const l = K.Children.toArray(o), s = l[0], u = l.slice(1);
  return /* @__PURE__ */ b.jsxs(gO, { openDelay: n, closeDelay: r, children: [
    /* @__PURE__ */ b.jsx(pO, { asChild: !0, children: /* @__PURE__ */ b.jsx(uu, { children: s }) }),
    /* @__PURE__ */ b.jsx(lS, { side: e, children: u })
  ] });
}
function CO({
  title: e,
  description: n,
  side: r,
  children: o
}) {
  const [l, s] = w.useState(!1), u = K.Children.toArray(o), f = u[0], g = u.slice(1);
  return /* @__PURE__ */ b.jsxs(j1, { open: l, onOpenChange: s, children: [
    /* @__PURE__ */ b.jsx($1, { asChild: !0, children: /* @__PURE__ */ b.jsx(uu, { children: f }) }),
    /* @__PURE__ */ b.jsx(fp, { side: r, className: "w-80", children: /* @__PURE__ */ b.jsxs(pS, { close: () => s(!1), children: [
      e && /* @__PURE__ */ b.jsxs("div", { className: "mb-4 space-y-1", children: [
        /* @__PURE__ */ b.jsx("h4", { className: "font-medium leading-none", children: e }),
        n && /* @__PURE__ */ b.jsx("p", { className: "text-sm text-muted-foreground", children: n })
      ] }),
      g
    ] }) })
  ] });
}
function _O({
  title: e,
  description: n,
  children: r
}) {
  const [o, l] = w.useState(!1), s = K.Children.toArray(r), u = s[0], f = s.slice(1);
  return /* @__PURE__ */ b.jsxs(vO, { open: o, onOpenChange: l, children: [
    /* @__PURE__ */ b.jsx(hO, { asChild: !0, children: /* @__PURE__ */ b.jsx(uu, { children: u }) }),
    /* @__PURE__ */ b.jsx(sS, { children: /* @__PURE__ */ b.jsxs(pS, { close: () => l(!1), children: [
      (e || n) && /* @__PURE__ */ b.jsxs(uS, { children: [
        e && /* @__PURE__ */ b.jsx(dS, { children: e }),
        n && /* @__PURE__ */ b.jsx(fS, { children: n })
      ] }),
      f
    ] }) })
  ] });
}
function la(e, n) {
  return w.lazy(
    () => e().then((r) => ({
      default: r[n]
    }))
  );
}
const di = () => import("./charts-B9pxPib5.mjs"), RO = la(di, "PrefabBarChart"), EO = la(di, "PrefabLineChart"), zO = la(di, "PrefabAreaChart"), TO = la(di, "PrefabPieChart"), AO = la(di, "PrefabRadarChart"), NO = la(di, "PrefabRadialChart"), vS = () => import("./content-DK71iMl_.mjs"), OO = la(vS, "Code"), DO = la(vS, "Markdown"), hS = () => import("./compound-calendar-DOC33V6C.mjs"), MO = la(hS, "PrefabCalendar"), jO = la(hS, "PrefabDatePicker"), $O = {
  // shadcn (direct — APIs match)
  Button: O4,
  Badge: M4,
  Card: j4,
  CardHeader: $4,
  CardTitle: P4,
  CardDescription: L4,
  CardContent: H4,
  CardFooter: V4,
  Alert: Z4,
  AlertTitle: U4,
  AlertDescription: F4,
  Input: gp,
  Textarea: K4,
  Label: El,
  Separator: Q4,
  Slider: aN,
  Loader: nN,
  Progress: F1,
  // Form wrappers (Python API → shadcn multi-part)
  Combobox: G4,
  ComboboxOption: () => null,
  // consumed by parent Combobox via _items
  Select: MN,
  SelectOption: () => null,
  // consumed by parent Select via _items
  RadioGroup: jN,
  Radio: DN,
  // standalone renders as native radio; inside RadioGroup consumed as data
  Checkbox: $N,
  Switch: PN,
  ButtonGroup: LN,
  // Table (direct shadcn — 1:1 API match)
  Table: hp,
  TableHeader: mp,
  TableBody: wp,
  TableFooter: Z1,
  TableRow: Zo,
  TableHead: bp,
  TableCell: gl,
  TableCaption: xp,
  // Charts (lazy — recharts)
  BarChart: RO,
  LineChart: EO,
  AreaChart: zO,
  PieChart: TO,
  RadarChart: AO,
  RadialChart: NO,
  // DataTable (wrapper around @tanstack/react-table)
  DataTable: cO,
  // File upload
  DropZone: VN,
  // Field (choice card wrapper)
  Field: q4,
  // Layout
  Row: BN,
  Column: IN,
  Container: ZN,
  Form: FN,
  Grid: UN,
  Div: GN,
  Span: qN,
  // Typography
  Text: YN,
  Heading: Tl,
  H1: KN,
  H2: QN,
  H3: JN,
  H4: WN,
  P: e3,
  Lead: t3,
  Large: n3,
  Small: a3,
  Muted: r3,
  InlineCode: o3,
  BlockQuote: i3,
  // Content (lazy — highlight.js, react-markdown)
  Code: OO,
  Image: l3,
  Markdown: DO,
  Icon: X4,
  // Control flow
  Condition: s3,
  ForEach: c3,
  Slot: u3,
  // Compound containers (wrapper components decompose children into parts)
  Tabs: bO,
  Tab: () => null,
  // consumed by parent Tabs
  Accordion: xO,
  AccordionItem: () => null,
  // consumed by parent Accordion
  Pages: yO,
  Page: () => null,
  // consumed by parent Pages
  // Overlay wrappers (first child = trigger, rest = content)
  Tooltip: SO,
  HoverCard: kO,
  Popover: CO,
  Dialog: _O,
  // Calendar / DatePicker (lazy — date-fns)
  Calendar: MO,
  DatePicker: jO
}, PO = {
  percent(e, n) {
    const r = Number(e);
    if (isNaN(r)) return String(e);
    const o = n ? parseInt(n) : 0;
    return `${(r * 100).toFixed(o)}%`;
  },
  number(e, n) {
    const r = Number(e);
    if (isNaN(r)) return String(e);
    const o = n ? parseInt(n) : void 0;
    return r.toLocaleString("en-US", {
      minimumFractionDigits: o,
      maximumFractionDigits: o
    });
  },
  currency(e, n) {
    const r = Number(e);
    if (isNaN(r)) return String(e);
    const o = n ?? "USD";
    return r.toLocaleString("en-US", { style: "currency", currency: o });
  },
  date(e, n) {
    const r = new Date(String(e));
    if (isNaN(r.getTime())) return String(e);
    const o = n ?? "medium";
    return o === "short" ? r.toLocaleDateString("en-US") : o === "long" ? r.toLocaleDateString("en-US", {
      year: "numeric",
      month: "long",
      day: "numeric"
    }) : r.toLocaleDateString("en-US", {
      year: "numeric",
      month: "short",
      day: "numeric"
    });
  },
  time(e) {
    const n = new Date(String(e));
    if (isNaN(n.getTime())) {
      const r = /* @__PURE__ */ new Date(`1970-01-01T${e}`);
      return isNaN(r.getTime()) ? String(e) : r.toLocaleTimeString("en-US", {
        hour: "numeric",
        minute: "2-digit"
      });
    }
    return n.toLocaleTimeString("en-US", {
      hour: "numeric",
      minute: "2-digit"
    });
  },
  datetime(e) {
    const n = new Date(String(e));
    return isNaN(n.getTime()) ? String(e) : n.toLocaleString("en-US", {
      year: "numeric",
      month: "short",
      day: "numeric",
      hour: "numeric",
      minute: "2-digit"
    });
  },
  upper(e) {
    return String(e).toUpperCase();
  },
  lower(e) {
    return String(e).toLowerCase();
  },
  length(e) {
    return Array.isArray(e) || typeof e == "string" ? e.length : 0;
  },
  join(e, n) {
    return Array.isArray(e) ? e.join(n ?? ", ") : String(e);
  },
  truncate(e, n) {
    const r = String(e), o = n ? parseInt(n) : 0;
    return o > 0 && r.length > o ? r.slice(0, o) + "..." : r;
  },
  default(e, n) {
    return e ?? n ?? "";
  },
  first(e) {
    return Array.isArray(e) ? e[0] : e;
  },
  last(e) {
    return Array.isArray(e) ? e[e.length - 1] : e;
  },
  abs(e) {
    const n = Number(e);
    return isNaN(n) ? e : Math.abs(n);
  },
  selectattr(e, n) {
    return !Array.isArray(e) || !n ? e : e.filter(
      (r) => r != null && typeof r == "object" && !!r[n]
    );
  },
  rejectattr(e, n) {
    return !Array.isArray(e) || !n ? e : e.filter(
      (r) => r != null && typeof r == "object" && !r[n]
    );
  },
  pluralize(e, n) {
    const r = Number(e), o = n ?? "item";
    return r === 1 ? o : o + "s";
  }
};
function LO(e) {
  const n = [];
  let r = 0;
  for (; r < e.length; ) {
    if (/\s/.test(e[r])) {
      r++;
      continue;
    }
    const o = e.slice(r, r + 2);
    if (["==", "!=", ">=", "<=", "||", "&&"].includes(o)) {
      n.push({ type: "op", value: o }), r += 2;
      continue;
    }
    const l = e[r];
    if (l === ">" || l === "<") {
      n.push({ type: "op", value: l }), r++;
      continue;
    }
    if (l === "+" || l === "-" || l === "*" || l === "/") {
      n.push({ type: "op", value: l }), r++;
      continue;
    }
    if (l === "!") {
      n.push({ type: "not", value: "!" }), r++;
      continue;
    }
    if (l === "(" || l === ")") {
      n.push({ type: "paren", value: l }), r++;
      continue;
    }
    if (l === "|") {
      n.push({ type: "pipe", value: "|" }), r++;
      continue;
    }
    if (l === "?") {
      n.push({ type: "question", value: "?" }), r++;
      continue;
    }
    if (l === ":") {
      n.push({ type: "colon", value: ":" }), r++;
      continue;
    }
    if (l === "'") {
      let s = "";
      for (r++; r < e.length && e[r] !== "'"; )
        s += e[r], r++;
      r++, n.push({ type: "string", value: s });
      continue;
    }
    if (/\d/.test(l) || l === "." && r + 1 < e.length && /\d/.test(e[r + 1])) {
      let s = "";
      for (; r < e.length && /[\d.]/.test(e[r]); )
        s += e[r], r++;
      n.push({ type: "number", value: s });
      continue;
    }
    if (/[a-zA-Z_$]/.test(l)) {
      let s = "";
      for (; r < e.length && /[a-zA-Z0-9_.$]/.test(e[r]); )
        s += e[r], r++;
      s === "true" || s === "false" ? n.push({ type: "bool", value: s }) : s === "null" ? n.push({ type: "null", value: s }) : s === "not" ? n.push({ type: "not", value: "!" }) : s === "and" ? n.push({ type: "op", value: "&&" }) : s === "or" ? n.push({ type: "op", value: "||" }) : n.push({ type: "ident", value: s });
      continue;
    }
    throw new Error(`Unexpected character: ${l}`);
  }
  return n.push({ type: "end", value: "" }), n;
}
class HO {
  constructor(n, r) {
    Fc(this, "tokens");
    Fc(this, "pos", 0);
    Fc(this, "ctx");
    this.tokens = n, this.ctx = r;
  }
  peek() {
    return this.tokens[this.pos];
  }
  advance() {
    return this.tokens[this.pos++];
  }
  expect(n, r) {
    const o = this.advance();
    if (o.type !== n || r !== void 0 && o.value !== r)
      throw new Error(
        `Expected ${n}${r ? ` '${r}'` : ""}, got ${o.type} '${o.value}'`
      );
    return o;
  }
  expectEnd() {
    if (this.peek().type !== "end")
      throw new Error(`Unexpected token: ${this.peek().value}`);
  }
  // expr → pipe
  parseExpr() {
    return this.parsePipe();
  }
  // pipe → ternary ( '|' ( IDENT ( ':' pipeArg )? | literal ) )*
  parsePipe() {
    let n = this.parseTernary();
    for (; this.peek().type === "pipe"; ) {
      this.advance();
      const r = this.peek();
      if (r.type === "ident") {
        const o = this.advance().value;
        let l;
        this.peek().type === "colon" && (this.advance(), l = this.advance().value);
        const s = PO[o];
        s && (n = s(n, l));
      } else if (r.type === "string" || r.type === "number" || r.type === "bool" || r.type === "null") {
        const o = this.advance();
        n == null && (o.type === "number" ? n = parseFloat(o.value) : o.type === "bool" ? n = o.value === "true" : o.type === "null" ? n = null : n = o.value);
      } else
        throw new Error(
          `Expected pipe name or default value, got ${r.type}`
        );
    }
    return n;
  }
  // ternary → or ( '?' expr ':' expr )?
  parseTernary() {
    const n = this.parseOr();
    if (this.peek().type === "question") {
      this.advance();
      const r = this.parseExpr();
      this.expect("colon");
      const o = this.parseExpr();
      return n ? r : o;
    }
    return n;
  }
  // or → and ( '||' and )*
  parseOr() {
    let n = this.parseAnd();
    for (; this.peek().type === "op" && this.peek().value === "||"; ) {
      this.advance();
      const r = this.parseAnd();
      n = n || r;
    }
    return n;
  }
  // and → not ( '&&' not )*
  parseAnd() {
    let n = this.parseNot();
    for (; this.peek().type === "op" && this.peek().value === "&&"; ) {
      this.advance();
      const r = this.parseNot();
      n = n && r;
    }
    return n;
  }
  // not → '!' not | comp
  parseNot() {
    return this.peek().type === "not" ? (this.advance(), !this.parseNot()) : this.parseComp();
  }
  // comp → add ( compOp add )?
  parseComp() {
    const n = this.parseAdd(), r = this.peek();
    if (r.type === "op" && ["==", "!=", ">", ">=", "<", "<="].includes(r.value)) {
      this.advance();
      const o = this.parseAdd();
      switch (r.value) {
        case "==":
          return n == o;
        case "!=":
          return n != o;
        case ">":
          return n > o;
        case ">=":
          return n >= o;
        case "<":
          return n < o;
        case "<=":
          return n <= o;
      }
    }
    return n;
  }
  // add → mul ( ( '+' | '-' ) mul )*
  parseAdd() {
    let n = this.parseMul();
    for (; this.peek().type === "op" && (this.peek().value === "+" || this.peek().value === "-"); ) {
      const r = this.advance().value, o = this.parseMul();
      r === "+" ? typeof n == "string" || typeof o == "string" ? n = String(n) + String(o) : n = Number(n) + Number(o) : n = Number(n) - Number(o);
    }
    return n;
  }
  // mul → unary ( ( '*' | '/' ) unary )*
  parseMul() {
    let n = this.parseUnary();
    for (; this.peek().type === "op" && (this.peek().value === "*" || this.peek().value === "/"); ) {
      const r = this.advance().value, o = this.parseUnary();
      r === "*" ? n = Number(n) * Number(o) : n = Number(n) / Number(o);
    }
    return n;
  }
  // unary → ( '-' | '+' ) unary | primary
  parseUnary() {
    const n = this.peek();
    if (n.type === "op" && (n.value === "-" || n.value === "+")) {
      this.advance();
      const r = this.parseUnary();
      return n.value === "-" ? -Number(r) : +Number(r);
    }
    return this.parsePrimary();
  }
  // primary → '(' expr ')' | NUMBER | STRING | 'true' | 'false' | 'null' | IDENT
  parsePrimary() {
    const n = this.peek();
    if (n.type === "paren" && n.value === "(") {
      this.advance();
      const r = this.parseExpr();
      return this.expect("paren", ")"), r;
    }
    if (n.type === "number")
      return this.advance(), parseFloat(n.value);
    if (n.type === "string")
      return this.advance(), n.value;
    if (n.type === "bool")
      return this.advance(), n.value === "true";
    if (n.type === "null")
      return this.advance(), null;
    if (n.type === "ident")
      return this.advance(), this.resolve(n.value);
    throw new Error(`Unexpected token: ${n.type} '${n.value}'`);
  }
  /** Resolve a dot-path identifier from context. */
  resolve(n) {
    const r = n.split(".");
    let o = this.ctx;
    for (const l of r) {
      if (o == null) return;
      if (l === "length" && (Array.isArray(o) || typeof o == "string"))
        return o.length;
      if (typeof o != "object") return;
      o = o[l];
    }
    return o;
  }
}
function Ng(e, n) {
  const r = LO(e), o = new HO(r, n), l = o.parseExpr();
  return o.expectEnd(), l;
}
function VO(e) {
  const n = e.trim();
  if (!n.startsWith("{{") || !n.endsWith("}}")) return null;
  const r = n.slice(2, -2);
  return r.includes("{{") || r.includes("}}") ? null : r.trim();
}
function Cs(e, n) {
  if (!e.includes("{{")) return e;
  const r = VO(e);
  if (r !== null)
    try {
      const s = Ng(r, n);
      return s === void 0 ? e : s;
    } catch {
      return e;
    }
  let o = "", l = 0;
  for (; l < e.length; ) {
    const s = e.indexOf("{{", l);
    if (s === -1) {
      o += e.slice(l);
      break;
    }
    o += e.slice(l, s);
    const u = e.indexOf("}}", s + 2);
    if (u === -1) {
      o += e.slice(s);
      break;
    }
    const f = e.slice(s + 2, u).trim();
    try {
      const g = Ng(f, n);
      g !== void 0 && (o += String(g));
    } catch {
    }
    l = u + 2;
  }
  return o;
}
function qr(e, n) {
  const r = {};
  for (const [o, l] of Object.entries(e))
    typeof l == "string" ? r[o] = Cs(l, n) : Array.isArray(l) ? r[o] = l.map(
      (s) => typeof s == "object" && s !== null ? qr(s, n) : typeof s == "string" ? Cs(s, n) : s
    ) : typeof l == "object" && l !== null ? r[o] = qr(l, n) : r[o] = l;
  return r;
}
function G(e, n, r) {
  function o(f, g) {
    if (f._zod || Object.defineProperty(f, "_zod", {
      value: {
        def: g,
        constr: u,
        traits: /* @__PURE__ */ new Set()
      },
      enumerable: !1
    }), f._zod.traits.has(e))
      return;
    f._zod.traits.add(e), n(f, g);
    const p = u.prototype, m = Object.keys(p);
    for (let h = 0; h < m.length; h++) {
      const S = m[h];
      S in f || (f[S] = p[S].bind(f));
    }
  }
  const l = (r == null ? void 0 : r.Parent) ?? Object;
  class s extends l {
  }
  Object.defineProperty(s, "name", { value: e });
  function u(f) {
    var g;
    const p = r != null && r.Parent ? new s() : this;
    o(p, f), (g = p._zod).deferred ?? (g.deferred = []);
    for (const m of p._zod.deferred)
      m();
    return p;
  }
  return Object.defineProperty(u, "init", { value: o }), Object.defineProperty(u, Symbol.hasInstance, {
    value: (f) => {
      var g, p;
      return r != null && r.Parent && f instanceof r.Parent ? !0 : (p = (g = f == null ? void 0 : f._zod) == null ? void 0 : g.traits) == null ? void 0 : p.has(e);
    }
  }), Object.defineProperty(u, "name", { value: e }), u;
}
class Ko extends Error {
  constructor() {
    super("Encountered Promise during synchronous parse. Use .parseAsync() instead.");
  }
}
class mS extends Error {
  constructor(n) {
    super(`Encountered unidirectional transform during encode: ${n}`), this.name = "ZodEncodeError";
  }
}
const wS = {};
function gr(e) {
  return wS;
}
function bS(e) {
  const n = Object.values(e).filter((o) => typeof o == "number");
  return Object.entries(e).filter(([o, l]) => n.indexOf(+o) === -1).map(([o, l]) => l);
}
function Og(e, n) {
  return typeof n == "bigint" ? n.toString() : n;
}
function du(e) {
  return {
    get value() {
      {
        const n = e();
        return Object.defineProperty(this, "value", { value: n }), n;
      }
    }
  };
}
function _p(e) {
  return e == null;
}
function Rp(e) {
  const n = e.startsWith("^") ? 1 : 0, r = e.endsWith("$") ? e.length - 1 : e.length;
  return e.slice(n, r);
}
function BO(e, n) {
  const r = (e.toString().split(".")[1] || "").length, o = n.toString();
  let l = (o.split(".")[1] || "").length;
  if (l === 0 && /\d?e-\d?/.test(o)) {
    const g = o.match(/\d?e-(\d?)/);
    g != null && g[1] && (l = Number.parseInt(g[1]));
  }
  const s = r > l ? r : l, u = Number.parseInt(e.toFixed(s).replace(".", "")), f = Number.parseInt(n.toFixed(s).replace(".", ""));
  return u % f / 10 ** s;
}
const wb = Symbol("evaluating");
function Ie(e, n, r) {
  let o;
  Object.defineProperty(e, n, {
    get() {
      if (o !== wb)
        return o === void 0 && (o = wb, o = r()), o;
    },
    set(l) {
      Object.defineProperty(e, n, {
        value: l
        // configurable: true,
      });
    },
    configurable: !0
  });
}
function Jr(e, n, r) {
  Object.defineProperty(e, n, {
    value: r,
    writable: !0,
    enumerable: !0,
    configurable: !0
  });
}
function xr(...e) {
  const n = {};
  for (const r of e) {
    const o = Object.getOwnPropertyDescriptors(r);
    Object.assign(n, o);
  }
  return Object.defineProperties({}, n);
}
function bb(e) {
  return JSON.stringify(e);
}
function IO(e) {
  return e.toLowerCase().trim().replace(/[^\w\s-]/g, "").replace(/[\s_-]+/g, "-").replace(/^-+|-+$/g, "");
}
const xS = "captureStackTrace" in Error ? Error.captureStackTrace : (...e) => {
};
function ml(e) {
  return typeof e == "object" && e !== null && !Array.isArray(e);
}
const UO = du(() => {
  var e;
  if (typeof navigator < "u" && ((e = navigator == null ? void 0 : navigator.userAgent) != null && e.includes("Cloudflare")))
    return !1;
  try {
    const n = Function;
    return new n(""), !0;
  } catch {
    return !1;
  }
});
function ti(e) {
  if (ml(e) === !1)
    return !1;
  const n = e.constructor;
  if (n === void 0 || typeof n != "function")
    return !0;
  const r = n.prototype;
  return !(ml(r) === !1 || Object.prototype.hasOwnProperty.call(r, "isPrototypeOf") === !1);
}
function yS(e) {
  return ti(e) ? { ...e } : Array.isArray(e) ? [...e] : e;
}
const FO = /* @__PURE__ */ new Set(["string", "number", "symbol"]);
function ni(e) {
  return e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
}
function yr(e, n, r) {
  const o = new e._zod.constr(n ?? e._zod.def);
  return (!n || r != null && r.parent) && (o._zod.parent = e), o;
}
function he(e) {
  const n = e;
  if (!n)
    return {};
  if (typeof n == "string")
    return { error: () => n };
  if ((n == null ? void 0 : n.message) !== void 0) {
    if ((n == null ? void 0 : n.error) !== void 0)
      throw new Error("Cannot specify both `message` and `error` params");
    n.error = n.message;
  }
  return delete n.message, typeof n.error == "string" ? { ...n, error: () => n.error } : n;
}
function ZO(e) {
  return Object.keys(e).filter((n) => e[n]._zod.optin === "optional" && e[n]._zod.optout === "optional");
}
const GO = {
  safeint: [Number.MIN_SAFE_INTEGER, Number.MAX_SAFE_INTEGER],
  int32: [-2147483648, 2147483647],
  uint32: [0, 4294967295],
  float32: [-34028234663852886e22, 34028234663852886e22],
  float64: [-Number.MAX_VALUE, Number.MAX_VALUE]
};
function qO(e, n) {
  const r = e._zod.def, o = r.checks;
  if (o && o.length > 0)
    throw new Error(".pick() cannot be used on object schemas containing refinements");
  const s = xr(e._zod.def, {
    get shape() {
      const u = {};
      for (const f in n) {
        if (!(f in r.shape))
          throw new Error(`Unrecognized key: "${f}"`);
        n[f] && (u[f] = r.shape[f]);
      }
      return Jr(this, "shape", u), u;
    },
    checks: []
  });
  return yr(e, s);
}
function YO(e, n) {
  const r = e._zod.def, o = r.checks;
  if (o && o.length > 0)
    throw new Error(".omit() cannot be used on object schemas containing refinements");
  const s = xr(e._zod.def, {
    get shape() {
      const u = { ...e._zod.def.shape };
      for (const f in n) {
        if (!(f in r.shape))
          throw new Error(`Unrecognized key: "${f}"`);
        n[f] && delete u[f];
      }
      return Jr(this, "shape", u), u;
    },
    checks: []
  });
  return yr(e, s);
}
function XO(e, n) {
  if (!ti(n))
    throw new Error("Invalid input to extend: expected a plain object");
  const r = e._zod.def.checks;
  if (r && r.length > 0) {
    const s = e._zod.def.shape;
    for (const u in n)
      if (Object.getOwnPropertyDescriptor(s, u) !== void 0)
        throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.");
  }
  const l = xr(e._zod.def, {
    get shape() {
      const s = { ...e._zod.def.shape, ...n };
      return Jr(this, "shape", s), s;
    }
  });
  return yr(e, l);
}
function KO(e, n) {
  if (!ti(n))
    throw new Error("Invalid input to safeExtend: expected a plain object");
  const r = xr(e._zod.def, {
    get shape() {
      const o = { ...e._zod.def.shape, ...n };
      return Jr(this, "shape", o), o;
    }
  });
  return yr(e, r);
}
function QO(e, n) {
  const r = xr(e._zod.def, {
    get shape() {
      const o = { ...e._zod.def.shape, ...n._zod.def.shape };
      return Jr(this, "shape", o), o;
    },
    get catchall() {
      return n._zod.def.catchall;
    },
    checks: []
    // delete existing checks
  });
  return yr(e, r);
}
function JO(e, n, r) {
  const l = n._zod.def.checks;
  if (l && l.length > 0)
    throw new Error(".partial() cannot be used on object schemas containing refinements");
  const u = xr(n._zod.def, {
    get shape() {
      const f = n._zod.def.shape, g = { ...f };
      if (r)
        for (const p in r) {
          if (!(p in f))
            throw new Error(`Unrecognized key: "${p}"`);
          r[p] && (g[p] = e ? new e({
            type: "optional",
            innerType: f[p]
          }) : f[p]);
        }
      else
        for (const p in f)
          g[p] = e ? new e({
            type: "optional",
            innerType: f[p]
          }) : f[p];
      return Jr(this, "shape", g), g;
    },
    checks: []
  });
  return yr(n, u);
}
function WO(e, n, r) {
  const o = xr(n._zod.def, {
    get shape() {
      const l = n._zod.def.shape, s = { ...l };
      if (r)
        for (const u in r) {
          if (!(u in s))
            throw new Error(`Unrecognized key: "${u}"`);
          r[u] && (s[u] = new e({
            type: "nonoptional",
            innerType: l[u]
          }));
        }
      else
        for (const u in l)
          s[u] = new e({
            type: "nonoptional",
            innerType: l[u]
          });
      return Jr(this, "shape", s), s;
    }
  });
  return yr(n, o);
}
function Go(e, n = 0) {
  var r;
  if (e.aborted === !0)
    return !0;
  for (let o = n; o < e.issues.length; o++)
    if (((r = e.issues[o]) == null ? void 0 : r.continue) !== !0)
      return !0;
  return !1;
}
function qo(e, n) {
  return n.map((r) => {
    var o;
    return (o = r).path ?? (o.path = []), r.path.unshift(e), r;
  });
}
function as(e) {
  return typeof e == "string" ? e : e == null ? void 0 : e.message;
}
function pr(e, n, r) {
  var l, s, u, f, g, p;
  const o = { ...e, path: e.path ?? [] };
  if (!e.message) {
    const m = as((u = (s = (l = e.inst) == null ? void 0 : l._zod.def) == null ? void 0 : s.error) == null ? void 0 : u.call(s, e)) ?? as((f = n == null ? void 0 : n.error) == null ? void 0 : f.call(n, e)) ?? as((g = r.customError) == null ? void 0 : g.call(r, e)) ?? as((p = r.localeError) == null ? void 0 : p.call(r, e)) ?? "Invalid input";
    o.message = m;
  }
  return delete o.inst, delete o.continue, n != null && n.reportInput || delete o.input, o;
}
function Ep(e) {
  return Array.isArray(e) ? "array" : typeof e == "string" ? "string" : "unknown";
}
function wl(...e) {
  const [n, r, o] = e;
  return typeof n == "string" ? {
    message: n,
    code: "custom",
    input: r,
    inst: o
  } : { ...n };
}
const SS = (e, n) => {
  e.name = "$ZodError", Object.defineProperty(e, "_zod", {
    value: e._zod,
    enumerable: !1
  }), Object.defineProperty(e, "issues", {
    value: n,
    enumerable: !1
  }), e.message = JSON.stringify(n, Og, 2), Object.defineProperty(e, "toString", {
    value: () => e.message,
    enumerable: !1
  });
}, kS = G("$ZodError", SS), CS = G("$ZodError", SS, { Parent: Error });
function eD(e, n = (r) => r.message) {
  const r = {}, o = [];
  for (const l of e.issues)
    l.path.length > 0 ? (r[l.path[0]] = r[l.path[0]] || [], r[l.path[0]].push(n(l))) : o.push(n(l));
  return { formErrors: o, fieldErrors: r };
}
function tD(e, n = (r) => r.message) {
  const r = { _errors: [] }, o = (l) => {
    for (const s of l.issues)
      if (s.code === "invalid_union" && s.errors.length)
        s.errors.map((u) => o({ issues: u }));
      else if (s.code === "invalid_key")
        o({ issues: s.issues });
      else if (s.code === "invalid_element")
        o({ issues: s.issues });
      else if (s.path.length === 0)
        r._errors.push(n(s));
      else {
        let u = r, f = 0;
        for (; f < s.path.length; ) {
          const g = s.path[f];
          f === s.path.length - 1 ? (u[g] = u[g] || { _errors: [] }, u[g]._errors.push(n(s))) : u[g] = u[g] || { _errors: [] }, u = u[g], f++;
        }
      }
  };
  return o(e), r;
}
const zp = (e) => (n, r, o, l) => {
  const s = o ? Object.assign(o, { async: !1 }) : { async: !1 }, u = n._zod.run({ value: r, issues: [] }, s);
  if (u instanceof Promise)
    throw new Ko();
  if (u.issues.length) {
    const f = new ((l == null ? void 0 : l.Err) ?? e)(u.issues.map((g) => pr(g, s, gr())));
    throw xS(f, l == null ? void 0 : l.callee), f;
  }
  return u.value;
}, Tp = (e) => async (n, r, o, l) => {
  const s = o ? Object.assign(o, { async: !0 }) : { async: !0 };
  let u = n._zod.run({ value: r, issues: [] }, s);
  if (u instanceof Promise && (u = await u), u.issues.length) {
    const f = new ((l == null ? void 0 : l.Err) ?? e)(u.issues.map((g) => pr(g, s, gr())));
    throw xS(f, l == null ? void 0 : l.callee), f;
  }
  return u.value;
}, fu = (e) => (n, r, o) => {
  const l = o ? { ...o, async: !1 } : { async: !1 }, s = n._zod.run({ value: r, issues: [] }, l);
  if (s instanceof Promise)
    throw new Ko();
  return s.issues.length ? {
    success: !1,
    error: new (e ?? kS)(s.issues.map((u) => pr(u, l, gr())))
  } : { success: !0, data: s.value };
}, nD = /* @__PURE__ */ fu(CS), gu = (e) => async (n, r, o) => {
  const l = o ? Object.assign(o, { async: !0 }) : { async: !0 };
  let s = n._zod.run({ value: r, issues: [] }, l);
  return s instanceof Promise && (s = await s), s.issues.length ? {
    success: !1,
    error: new e(s.issues.map((u) => pr(u, l, gr())))
  } : { success: !0, data: s.value };
}, aD = /* @__PURE__ */ gu(CS), rD = (e) => (n, r, o) => {
  const l = o ? Object.assign(o, { direction: "backward" }) : { direction: "backward" };
  return zp(e)(n, r, l);
}, oD = (e) => (n, r, o) => zp(e)(n, r, o), iD = (e) => async (n, r, o) => {
  const l = o ? Object.assign(o, { direction: "backward" }) : { direction: "backward" };
  return Tp(e)(n, r, l);
}, lD = (e) => async (n, r, o) => Tp(e)(n, r, o), cD = (e) => (n, r, o) => {
  const l = o ? Object.assign(o, { direction: "backward" }) : { direction: "backward" };
  return fu(e)(n, r, l);
}, sD = (e) => (n, r, o) => fu(e)(n, r, o), uD = (e) => async (n, r, o) => {
  const l = o ? Object.assign(o, { direction: "backward" }) : { direction: "backward" };
  return gu(e)(n, r, l);
}, dD = (e) => async (n, r, o) => gu(e)(n, r, o), fD = /^[cC][^\s-]{8,}$/, gD = /^[0-9a-z]+$/, pD = /^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/, vD = /^[0-9a-vA-V]{20}$/, hD = /^[A-Za-z0-9]{27}$/, mD = /^[a-zA-Z0-9_-]{21}$/, wD = /^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/, bD = /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/, xb = (e) => e ? new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`) : /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/, xD = /^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/, yD = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";
function SD() {
  return new RegExp(yD, "u");
}
const kD = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/, CD = /^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/, _D = /^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/, RD = /^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/, ED = /^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/, _S = /^[A-Za-z0-9_-]*$/, zD = /^\+[1-9]\d{6,14}$/, RS = "(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))", TD = /* @__PURE__ */ new RegExp(`^${RS}$`);
function ES(e) {
  const n = "(?:[01]\\d|2[0-3]):[0-5]\\d";
  return typeof e.precision == "number" ? e.precision === -1 ? `${n}` : e.precision === 0 ? `${n}:[0-5]\\d` : `${n}:[0-5]\\d\\.\\d{${e.precision}}` : `${n}(?::[0-5]\\d(?:\\.\\d+)?)?`;
}
function AD(e) {
  return new RegExp(`^${ES(e)}$`);
}
function ND(e) {
  const n = ES({ precision: e.precision }), r = ["Z"];
  e.local && r.push(""), e.offset && r.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");
  const o = `${n}(?:${r.join("|")})`;
  return new RegExp(`^${RS}T(?:${o})$`);
}
const OD = (e) => {
  const n = e ? `[\\s\\S]{${(e == null ? void 0 : e.minimum) ?? 0},${(e == null ? void 0 : e.maximum) ?? ""}}` : "[\\s\\S]*";
  return new RegExp(`^${n}$`);
}, DD = /^-?\d+$/, zS = /^-?\d+(?:\.\d+)?$/, MD = /^(?:true|false)$/i, jD = /^[^A-Z]*$/, $D = /^[^a-z]*$/, cn = /* @__PURE__ */ G("$ZodCheck", (e, n) => {
  var r;
  e._zod ?? (e._zod = {}), e._zod.def = n, (r = e._zod).onattach ?? (r.onattach = []);
}), TS = {
  number: "number",
  bigint: "bigint",
  object: "date"
}, AS = /* @__PURE__ */ G("$ZodCheckLessThan", (e, n) => {
  cn.init(e, n);
  const r = TS[typeof n.value];
  e._zod.onattach.push((o) => {
    const l = o._zod.bag, s = (n.inclusive ? l.maximum : l.exclusiveMaximum) ?? Number.POSITIVE_INFINITY;
    n.value < s && (n.inclusive ? l.maximum = n.value : l.exclusiveMaximum = n.value);
  }), e._zod.check = (o) => {
    (n.inclusive ? o.value <= n.value : o.value < n.value) || o.issues.push({
      origin: r,
      code: "too_big",
      maximum: typeof n.value == "object" ? n.value.getTime() : n.value,
      input: o.value,
      inclusive: n.inclusive,
      inst: e,
      continue: !n.abort
    });
  };
}), NS = /* @__PURE__ */ G("$ZodCheckGreaterThan", (e, n) => {
  cn.init(e, n);
  const r = TS[typeof n.value];
  e._zod.onattach.push((o) => {
    const l = o._zod.bag, s = (n.inclusive ? l.minimum : l.exclusiveMinimum) ?? Number.NEGATIVE_INFINITY;
    n.value > s && (n.inclusive ? l.minimum = n.value : l.exclusiveMinimum = n.value);
  }), e._zod.check = (o) => {
    (n.inclusive ? o.value >= n.value : o.value > n.value) || o.issues.push({
      origin: r,
      code: "too_small",
      minimum: typeof n.value == "object" ? n.value.getTime() : n.value,
      input: o.value,
      inclusive: n.inclusive,
      inst: e,
      continue: !n.abort
    });
  };
}), PD = /* @__PURE__ */ G("$ZodCheckMultipleOf", (e, n) => {
  cn.init(e, n), e._zod.onattach.push((r) => {
    var o;
    (o = r._zod.bag).multipleOf ?? (o.multipleOf = n.value);
  }), e._zod.check = (r) => {
    if (typeof r.value != typeof n.value)
      throw new Error("Cannot mix number and bigint in multiple_of check.");
    (typeof r.value == "bigint" ? r.value % n.value === BigInt(0) : BO(r.value, n.value) === 0) || r.issues.push({
      origin: typeof r.value,
      code: "not_multiple_of",
      divisor: n.value,
      input: r.value,
      inst: e,
      continue: !n.abort
    });
  };
}), LD = /* @__PURE__ */ G("$ZodCheckNumberFormat", (e, n) => {
  var u;
  cn.init(e, n), n.format = n.format || "float64";
  const r = (u = n.format) == null ? void 0 : u.includes("int"), o = r ? "int" : "number", [l, s] = GO[n.format];
  e._zod.onattach.push((f) => {
    const g = f._zod.bag;
    g.format = n.format, g.minimum = l, g.maximum = s, r && (g.pattern = DD);
  }), e._zod.check = (f) => {
    const g = f.value;
    if (r) {
      if (!Number.isInteger(g)) {
        f.issues.push({
          expected: o,
          format: n.format,
          code: "invalid_type",
          continue: !1,
          input: g,
          inst: e
        });
        return;
      }
      if (!Number.isSafeInteger(g)) {
        g > 0 ? f.issues.push({
          input: g,
          code: "too_big",
          maximum: Number.MAX_SAFE_INTEGER,
          note: "Integers must be within the safe integer range.",
          inst: e,
          origin: o,
          inclusive: !0,
          continue: !n.abort
        }) : f.issues.push({
          input: g,
          code: "too_small",
          minimum: Number.MIN_SAFE_INTEGER,
          note: "Integers must be within the safe integer range.",
          inst: e,
          origin: o,
          inclusive: !0,
          continue: !n.abort
        });
        return;
      }
    }
    g < l && f.issues.push({
      origin: "number",
      input: g,
      code: "too_small",
      minimum: l,
      inclusive: !0,
      inst: e,
      continue: !n.abort
    }), g > s && f.issues.push({
      origin: "number",
      input: g,
      code: "too_big",
      maximum: s,
      inclusive: !0,
      inst: e,
      continue: !n.abort
    });
  };
}), HD = /* @__PURE__ */ G("$ZodCheckMaxLength", (e, n) => {
  var r;
  cn.init(e, n), (r = e._zod.def).when ?? (r.when = (o) => {
    const l = o.value;
    return !_p(l) && l.length !== void 0;
  }), e._zod.onattach.push((o) => {
    const l = o._zod.bag.maximum ?? Number.POSITIVE_INFINITY;
    n.maximum < l && (o._zod.bag.maximum = n.maximum);
  }), e._zod.check = (o) => {
    const l = o.value;
    if (l.length <= n.maximum)
      return;
    const u = Ep(l);
    o.issues.push({
      origin: u,
      code: "too_big",
      maximum: n.maximum,
      inclusive: !0,
      input: l,
      inst: e,
      continue: !n.abort
    });
  };
}), VD = /* @__PURE__ */ G("$ZodCheckMinLength", (e, n) => {
  var r;
  cn.init(e, n), (r = e._zod.def).when ?? (r.when = (o) => {
    const l = o.value;
    return !_p(l) && l.length !== void 0;
  }), e._zod.onattach.push((o) => {
    const l = o._zod.bag.minimum ?? Number.NEGATIVE_INFINITY;
    n.minimum > l && (o._zod.bag.minimum = n.minimum);
  }), e._zod.check = (o) => {
    const l = o.value;
    if (l.length >= n.minimum)
      return;
    const u = Ep(l);
    o.issues.push({
      origin: u,
      code: "too_small",
      minimum: n.minimum,
      inclusive: !0,
      input: l,
      inst: e,
      continue: !n.abort
    });
  };
}), BD = /* @__PURE__ */ G("$ZodCheckLengthEquals", (e, n) => {
  var r;
  cn.init(e, n), (r = e._zod.def).when ?? (r.when = (o) => {
    const l = o.value;
    return !_p(l) && l.length !== void 0;
  }), e._zod.onattach.push((o) => {
    const l = o._zod.bag;
    l.minimum = n.length, l.maximum = n.length, l.length = n.length;
  }), e._zod.check = (o) => {
    const l = o.value, s = l.length;
    if (s === n.length)
      return;
    const u = Ep(l), f = s > n.length;
    o.issues.push({
      origin: u,
      ...f ? { code: "too_big", maximum: n.length } : { code: "too_small", minimum: n.length },
      inclusive: !0,
      exact: !0,
      input: o.value,
      inst: e,
      continue: !n.abort
    });
  };
}), pu = /* @__PURE__ */ G("$ZodCheckStringFormat", (e, n) => {
  var r, o;
  cn.init(e, n), e._zod.onattach.push((l) => {
    const s = l._zod.bag;
    s.format = n.format, n.pattern && (s.patterns ?? (s.patterns = /* @__PURE__ */ new Set()), s.patterns.add(n.pattern));
  }), n.pattern ? (r = e._zod).check ?? (r.check = (l) => {
    n.pattern.lastIndex = 0, !n.pattern.test(l.value) && l.issues.push({
      origin: "string",
      code: "invalid_format",
      format: n.format,
      input: l.value,
      ...n.pattern ? { pattern: n.pattern.toString() } : {},
      inst: e,
      continue: !n.abort
    });
  }) : (o = e._zod).check ?? (o.check = () => {
  });
}), ID = /* @__PURE__ */ G("$ZodCheckRegex", (e, n) => {
  pu.init(e, n), e._zod.check = (r) => {
    n.pattern.lastIndex = 0, !n.pattern.test(r.value) && r.issues.push({
      origin: "string",
      code: "invalid_format",
      format: "regex",
      input: r.value,
      pattern: n.pattern.toString(),
      inst: e,
      continue: !n.abort
    });
  };
}), UD = /* @__PURE__ */ G("$ZodCheckLowerCase", (e, n) => {
  n.pattern ?? (n.pattern = jD), pu.init(e, n);
}), FD = /* @__PURE__ */ G("$ZodCheckUpperCase", (e, n) => {
  n.pattern ?? (n.pattern = $D), pu.init(e, n);
}), ZD = /* @__PURE__ */ G("$ZodCheckIncludes", (e, n) => {
  cn.init(e, n);
  const r = ni(n.includes), o = new RegExp(typeof n.position == "number" ? `^.{${n.position}}${r}` : r);
  n.pattern = o, e._zod.onattach.push((l) => {
    const s = l._zod.bag;
    s.patterns ?? (s.patterns = /* @__PURE__ */ new Set()), s.patterns.add(o);
  }), e._zod.check = (l) => {
    l.value.includes(n.includes, n.position) || l.issues.push({
      origin: "string",
      code: "invalid_format",
      format: "includes",
      includes: n.includes,
      input: l.value,
      inst: e,
      continue: !n.abort
    });
  };
}), GD = /* @__PURE__ */ G("$ZodCheckStartsWith", (e, n) => {
  cn.init(e, n);
  const r = new RegExp(`^${ni(n.prefix)}.*`);
  n.pattern ?? (n.pattern = r), e._zod.onattach.push((o) => {
    const l = o._zod.bag;
    l.patterns ?? (l.patterns = /* @__PURE__ */ new Set()), l.patterns.add(r);
  }), e._zod.check = (o) => {
    o.value.startsWith(n.prefix) || o.issues.push({
      origin: "string",
      code: "invalid_format",
      format: "starts_with",
      prefix: n.prefix,
      input: o.value,
      inst: e,
      continue: !n.abort
    });
  };
}), qD = /* @__PURE__ */ G("$ZodCheckEndsWith", (e, n) => {
  cn.init(e, n);
  const r = new RegExp(`.*${ni(n.suffix)}$`);
  n.pattern ?? (n.pattern = r), e._zod.onattach.push((o) => {
    const l = o._zod.bag;
    l.patterns ?? (l.patterns = /* @__PURE__ */ new Set()), l.patterns.add(r);
  }), e._zod.check = (o) => {
    o.value.endsWith(n.suffix) || o.issues.push({
      origin: "string",
      code: "invalid_format",
      format: "ends_with",
      suffix: n.suffix,
      input: o.value,
      inst: e,
      continue: !n.abort
    });
  };
}), YD = /* @__PURE__ */ G("$ZodCheckOverwrite", (e, n) => {
  cn.init(e, n), e._zod.check = (r) => {
    r.value = n.tx(r.value);
  };
});
class XD {
  constructor(n = []) {
    this.content = [], this.indent = 0, this && (this.args = n);
  }
  indented(n) {
    this.indent += 1, n(this), this.indent -= 1;
  }
  write(n) {
    if (typeof n == "function") {
      n(this, { execution: "sync" }), n(this, { execution: "async" });
      return;
    }
    const o = n.split(`
`).filter((u) => u), l = Math.min(...o.map((u) => u.length - u.trimStart().length)), s = o.map((u) => u.slice(l)).map((u) => " ".repeat(this.indent * 2) + u);
    for (const u of s)
      this.content.push(u);
  }
  compile() {
    const n = Function, r = this == null ? void 0 : this.args, l = [...((this == null ? void 0 : this.content) ?? [""]).map((s) => `  ${s}`)];
    return new n(...r, l.join(`
`));
  }
}
const KD = {
  major: 4,
  minor: 3,
  patch: 6
}, ot = /* @__PURE__ */ G("$ZodType", (e, n) => {
  var l;
  var r;
  e ?? (e = {}), e._zod.def = n, e._zod.bag = e._zod.bag || {}, e._zod.version = KD;
  const o = [...e._zod.def.checks ?? []];
  e._zod.traits.has("$ZodCheck") && o.unshift(e);
  for (const s of o)
    for (const u of s._zod.onattach)
      u(e);
  if (o.length === 0)
    (r = e._zod).deferred ?? (r.deferred = []), (l = e._zod.deferred) == null || l.push(() => {
      e._zod.run = e._zod.parse;
    });
  else {
    const s = (f, g, p) => {
      let m = Go(f), h;
      for (const S of g) {
        if (S._zod.def.when) {
          if (!S._zod.def.when(f))
            continue;
        } else if (m)
          continue;
        const y = f.issues.length, C = S._zod.check(f);
        if (C instanceof Promise && (p == null ? void 0 : p.async) === !1)
          throw new Ko();
        if (h || C instanceof Promise)
          h = (h ?? Promise.resolve()).then(async () => {
            await C, f.issues.length !== y && (m || (m = Go(f, y)));
          });
        else {
          if (f.issues.length === y)
            continue;
          m || (m = Go(f, y));
        }
      }
      return h ? h.then(() => f) : f;
    }, u = (f, g, p) => {
      if (Go(f))
        return f.aborted = !0, f;
      const m = s(g, o, p);
      if (m instanceof Promise) {
        if (p.async === !1)
          throw new Ko();
        return m.then((h) => e._zod.parse(h, p));
      }
      return e._zod.parse(m, p);
    };
    e._zod.run = (f, g) => {
      if (g.skipChecks)
        return e._zod.parse(f, g);
      if (g.direction === "backward") {
        const m = e._zod.parse({ value: f.value, issues: [] }, { ...g, skipChecks: !0 });
        return m instanceof Promise ? m.then((h) => u(h, f, g)) : u(m, f, g);
      }
      const p = e._zod.parse(f, g);
      if (p instanceof Promise) {
        if (g.async === !1)
          throw new Ko();
        return p.then((m) => s(m, o, g));
      }
      return s(p, o, g);
    };
  }
  Ie(e, "~standard", () => ({
    validate: (s) => {
      var u;
      try {
        const f = nD(e, s);
        return f.success ? { value: f.data } : { issues: (u = f.error) == null ? void 0 : u.issues };
      } catch {
        return aD(e, s).then((g) => {
          var p;
          return g.success ? { value: g.data } : { issues: (p = g.error) == null ? void 0 : p.issues };
        });
      }
    },
    vendor: "zod",
    version: 1
  }));
}), Ap = /* @__PURE__ */ G("$ZodString", (e, n) => {
  var r;
  ot.init(e, n), e._zod.pattern = [...((r = e == null ? void 0 : e._zod.bag) == null ? void 0 : r.patterns) ?? []].pop() ?? OD(e._zod.bag), e._zod.parse = (o, l) => {
    if (n.coerce)
      try {
        o.value = String(o.value);
      } catch {
      }
    return typeof o.value == "string" || o.issues.push({
      expected: "string",
      code: "invalid_type",
      input: o.value,
      inst: e
    }), o;
  };
}), it = /* @__PURE__ */ G("$ZodStringFormat", (e, n) => {
  pu.init(e, n), Ap.init(e, n);
}), QD = /* @__PURE__ */ G("$ZodGUID", (e, n) => {
  n.pattern ?? (n.pattern = bD), it.init(e, n);
}), JD = /* @__PURE__ */ G("$ZodUUID", (e, n) => {
  if (n.version) {
    const o = {
      v1: 1,
      v2: 2,
      v3: 3,
      v4: 4,
      v5: 5,
      v6: 6,
      v7: 7,
      v8: 8
    }[n.version];
    if (o === void 0)
      throw new Error(`Invalid UUID version: "${n.version}"`);
    n.pattern ?? (n.pattern = xb(o));
  } else
    n.pattern ?? (n.pattern = xb());
  it.init(e, n);
}), WD = /* @__PURE__ */ G("$ZodEmail", (e, n) => {
  n.pattern ?? (n.pattern = xD), it.init(e, n);
}), eM = /* @__PURE__ */ G("$ZodURL", (e, n) => {
  it.init(e, n), e._zod.check = (r) => {
    try {
      const o = r.value.trim(), l = new URL(o);
      n.hostname && (n.hostname.lastIndex = 0, n.hostname.test(l.hostname) || r.issues.push({
        code: "invalid_format",
        format: "url",
        note: "Invalid hostname",
        pattern: n.hostname.source,
        input: r.value,
        inst: e,
        continue: !n.abort
      })), n.protocol && (n.protocol.lastIndex = 0, n.protocol.test(l.protocol.endsWith(":") ? l.protocol.slice(0, -1) : l.protocol) || r.issues.push({
        code: "invalid_format",
        format: "url",
        note: "Invalid protocol",
        pattern: n.protocol.source,
        input: r.value,
        inst: e,
        continue: !n.abort
      })), n.normalize ? r.value = l.href : r.value = o;
      return;
    } catch {
      r.issues.push({
        code: "invalid_format",
        format: "url",
        input: r.value,
        inst: e,
        continue: !n.abort
      });
    }
  };
}), tM = /* @__PURE__ */ G("$ZodEmoji", (e, n) => {
  n.pattern ?? (n.pattern = SD()), it.init(e, n);
}), nM = /* @__PURE__ */ G("$ZodNanoID", (e, n) => {
  n.pattern ?? (n.pattern = mD), it.init(e, n);
}), aM = /* @__PURE__ */ G("$ZodCUID", (e, n) => {
  n.pattern ?? (n.pattern = fD), it.init(e, n);
}), rM = /* @__PURE__ */ G("$ZodCUID2", (e, n) => {
  n.pattern ?? (n.pattern = gD), it.init(e, n);
}), oM = /* @__PURE__ */ G("$ZodULID", (e, n) => {
  n.pattern ?? (n.pattern = pD), it.init(e, n);
}), iM = /* @__PURE__ */ G("$ZodXID", (e, n) => {
  n.pattern ?? (n.pattern = vD), it.init(e, n);
}), lM = /* @__PURE__ */ G("$ZodKSUID", (e, n) => {
  n.pattern ?? (n.pattern = hD), it.init(e, n);
}), cM = /* @__PURE__ */ G("$ZodISODateTime", (e, n) => {
  n.pattern ?? (n.pattern = ND(n)), it.init(e, n);
}), sM = /* @__PURE__ */ G("$ZodISODate", (e, n) => {
  n.pattern ?? (n.pattern = TD), it.init(e, n);
}), uM = /* @__PURE__ */ G("$ZodISOTime", (e, n) => {
  n.pattern ?? (n.pattern = AD(n)), it.init(e, n);
}), dM = /* @__PURE__ */ G("$ZodISODuration", (e, n) => {
  n.pattern ?? (n.pattern = wD), it.init(e, n);
}), fM = /* @__PURE__ */ G("$ZodIPv4", (e, n) => {
  n.pattern ?? (n.pattern = kD), it.init(e, n), e._zod.bag.format = "ipv4";
}), gM = /* @__PURE__ */ G("$ZodIPv6", (e, n) => {
  n.pattern ?? (n.pattern = CD), it.init(e, n), e._zod.bag.format = "ipv6", e._zod.check = (r) => {
    try {
      new URL(`http://[${r.value}]`);
    } catch {
      r.issues.push({
        code: "invalid_format",
        format: "ipv6",
        input: r.value,
        inst: e,
        continue: !n.abort
      });
    }
  };
}), pM = /* @__PURE__ */ G("$ZodCIDRv4", (e, n) => {
  n.pattern ?? (n.pattern = _D), it.init(e, n);
}), vM = /* @__PURE__ */ G("$ZodCIDRv6", (e, n) => {
  n.pattern ?? (n.pattern = RD), it.init(e, n), e._zod.check = (r) => {
    const o = r.value.split("/");
    try {
      if (o.length !== 2)
        throw new Error();
      const [l, s] = o;
      if (!s)
        throw new Error();
      const u = Number(s);
      if (`${u}` !== s)
        throw new Error();
      if (u < 0 || u > 128)
        throw new Error();
      new URL(`http://[${l}]`);
    } catch {
      r.issues.push({
        code: "invalid_format",
        format: "cidrv6",
        input: r.value,
        inst: e,
        continue: !n.abort
      });
    }
  };
});
function OS(e) {
  if (e === "")
    return !0;
  if (e.length % 4 !== 0)
    return !1;
  try {
    return atob(e), !0;
  } catch {
    return !1;
  }
}
const hM = /* @__PURE__ */ G("$ZodBase64", (e, n) => {
  n.pattern ?? (n.pattern = ED), it.init(e, n), e._zod.bag.contentEncoding = "base64", e._zod.check = (r) => {
    OS(r.value) || r.issues.push({
      code: "invalid_format",
      format: "base64",
      input: r.value,
      inst: e,
      continue: !n.abort
    });
  };
});
function mM(e) {
  if (!_S.test(e))
    return !1;
  const n = e.replace(/[-_]/g, (o) => o === "-" ? "+" : "/"), r = n.padEnd(Math.ceil(n.length / 4) * 4, "=");
  return OS(r);
}
const wM = /* @__PURE__ */ G("$ZodBase64URL", (e, n) => {
  n.pattern ?? (n.pattern = _S), it.init(e, n), e._zod.bag.contentEncoding = "base64url", e._zod.check = (r) => {
    mM(r.value) || r.issues.push({
      code: "invalid_format",
      format: "base64url",
      input: r.value,
      inst: e,
      continue: !n.abort
    });
  };
}), bM = /* @__PURE__ */ G("$ZodE164", (e, n) => {
  n.pattern ?? (n.pattern = zD), it.init(e, n);
});
function xM(e, n = null) {
  try {
    const r = e.split(".");
    if (r.length !== 3)
      return !1;
    const [o] = r;
    if (!o)
      return !1;
    const l = JSON.parse(atob(o));
    return !("typ" in l && (l == null ? void 0 : l.typ) !== "JWT" || !l.alg || n && (!("alg" in l) || l.alg !== n));
  } catch {
    return !1;
  }
}
const yM = /* @__PURE__ */ G("$ZodJWT", (e, n) => {
  it.init(e, n), e._zod.check = (r) => {
    xM(r.value, n.alg) || r.issues.push({
      code: "invalid_format",
      format: "jwt",
      input: r.value,
      inst: e,
      continue: !n.abort
    });
  };
}), DS = /* @__PURE__ */ G("$ZodNumber", (e, n) => {
  ot.init(e, n), e._zod.pattern = e._zod.bag.pattern ?? zS, e._zod.parse = (r, o) => {
    if (n.coerce)
      try {
        r.value = Number(r.value);
      } catch {
      }
    const l = r.value;
    if (typeof l == "number" && !Number.isNaN(l) && Number.isFinite(l))
      return r;
    const s = typeof l == "number" ? Number.isNaN(l) ? "NaN" : Number.isFinite(l) ? void 0 : "Infinity" : void 0;
    return r.issues.push({
      expected: "number",
      code: "invalid_type",
      input: l,
      inst: e,
      ...s ? { received: s } : {}
    }), r;
  };
}), SM = /* @__PURE__ */ G("$ZodNumberFormat", (e, n) => {
  LD.init(e, n), DS.init(e, n);
}), kM = /* @__PURE__ */ G("$ZodBoolean", (e, n) => {
  ot.init(e, n), e._zod.pattern = MD, e._zod.parse = (r, o) => {
    if (n.coerce)
      try {
        r.value = !!r.value;
      } catch {
      }
    const l = r.value;
    return typeof l == "boolean" || r.issues.push({
      expected: "boolean",
      code: "invalid_type",
      input: l,
      inst: e
    }), r;
  };
}), CM = /* @__PURE__ */ G("$ZodUnknown", (e, n) => {
  ot.init(e, n), e._zod.parse = (r) => r;
}), _M = /* @__PURE__ */ G("$ZodNever", (e, n) => {
  ot.init(e, n), e._zod.parse = (r, o) => (r.issues.push({
    expected: "never",
    code: "invalid_type",
    input: r.value,
    inst: e
  }), r);
});
function yb(e, n, r) {
  e.issues.length && n.issues.push(...qo(r, e.issues)), n.value[r] = e.value;
}
const RM = /* @__PURE__ */ G("$ZodArray", (e, n) => {
  ot.init(e, n), e._zod.parse = (r, o) => {
    const l = r.value;
    if (!Array.isArray(l))
      return r.issues.push({
        expected: "array",
        code: "invalid_type",
        input: l,
        inst: e
      }), r;
    r.value = Array(l.length);
    const s = [];
    for (let u = 0; u < l.length; u++) {
      const f = l[u], g = n.element._zod.run({
        value: f,
        issues: []
      }, o);
      g instanceof Promise ? s.push(g.then((p) => yb(p, r, u))) : yb(g, r, u);
    }
    return s.length ? Promise.all(s).then(() => r) : r;
  };
});
function _s(e, n, r, o, l) {
  if (e.issues.length) {
    if (l && !(r in o))
      return;
    n.issues.push(...qo(r, e.issues));
  }
  e.value === void 0 ? r in o && (n.value[r] = void 0) : n.value[r] = e.value;
}
function MS(e) {
  var o, l, s, u;
  const n = Object.keys(e.shape);
  for (const f of n)
    if (!((u = (s = (l = (o = e.shape) == null ? void 0 : o[f]) == null ? void 0 : l._zod) == null ? void 0 : s.traits) != null && u.has("$ZodType")))
      throw new Error(`Invalid element at key "${f}": expected a Zod schema`);
  const r = ZO(e.shape);
  return {
    ...e,
    keys: n,
    keySet: new Set(n),
    numKeys: n.length,
    optionalKeys: new Set(r)
  };
}
function jS(e, n, r, o, l, s) {
  const u = [], f = l.keySet, g = l.catchall._zod, p = g.def.type, m = g.optout === "optional";
  for (const h in n) {
    if (f.has(h))
      continue;
    if (p === "never") {
      u.push(h);
      continue;
    }
    const S = g.run({ value: n[h], issues: [] }, o);
    S instanceof Promise ? e.push(S.then((y) => _s(y, r, h, n, m))) : _s(S, r, h, n, m);
  }
  return u.length && r.issues.push({
    code: "unrecognized_keys",
    keys: u,
    input: n,
    inst: s
  }), e.length ? Promise.all(e).then(() => r) : r;
}
const EM = /* @__PURE__ */ G("$ZodObject", (e, n) => {
  ot.init(e, n);
  const r = Object.getOwnPropertyDescriptor(n, "shape");
  if (!(r != null && r.get)) {
    const f = n.shape;
    Object.defineProperty(n, "shape", {
      get: () => {
        const g = { ...f };
        return Object.defineProperty(n, "shape", {
          value: g
        }), g;
      }
    });
  }
  const o = du(() => MS(n));
  Ie(e._zod, "propValues", () => {
    const f = n.shape, g = {};
    for (const p in f) {
      const m = f[p]._zod;
      if (m.values) {
        g[p] ?? (g[p] = /* @__PURE__ */ new Set());
        for (const h of m.values)
          g[p].add(h);
      }
    }
    return g;
  });
  const l = ml, s = n.catchall;
  let u;
  e._zod.parse = (f, g) => {
    u ?? (u = o.value);
    const p = f.value;
    if (!l(p))
      return f.issues.push({
        expected: "object",
        code: "invalid_type",
        input: p,
        inst: e
      }), f;
    f.value = {};
    const m = [], h = u.shape;
    for (const S of u.keys) {
      const y = h[S], C = y._zod.optout === "optional", k = y._zod.run({ value: p[S], issues: [] }, g);
      k instanceof Promise ? m.push(k.then((R) => _s(R, f, S, p, C))) : _s(k, f, S, p, C);
    }
    return s ? jS(m, p, f, g, o.value, e) : m.length ? Promise.all(m).then(() => f) : f;
  };
}), zM = /* @__PURE__ */ G("$ZodObjectJIT", (e, n) => {
  EM.init(e, n);
  const r = e._zod.parse, o = du(() => MS(n)), l = (S) => {
    var T;
    const y = new XD(["shape", "payload", "ctx"]), C = o.value, k = (N) => {
      const $ = bb(N);
      return `shape[${$}]._zod.run({ value: input[${$}], issues: [] }, ctx)`;
    };
    y.write("const input = payload.value;");
    const R = /* @__PURE__ */ Object.create(null);
    let E = 0;
    for (const N of C.keys)
      R[N] = `key_${E++}`;
    y.write("const newResult = {};");
    for (const N of C.keys) {
      const $ = R[N], U = bb(N), q = S[N], F = ((T = q == null ? void 0 : q._zod) == null ? void 0 : T.optout) === "optional";
      y.write(`const ${$} = ${k(N)};`), F ? y.write(`
        if (${$}.issues.length) {
          if (${U} in input) {
            payload.issues = payload.issues.concat(${$}.issues.map(iss => ({
              ...iss,
              path: iss.path ? [${U}, ...iss.path] : [${U}]
            })));
          }
        }
        
        if (${$}.value === undefined) {
          if (${U} in input) {
            newResult[${U}] = undefined;
          }
        } else {
          newResult[${U}] = ${$}.value;
        }
        
      `) : y.write(`
        if (${$}.issues.length) {
          payload.issues = payload.issues.concat(${$}.issues.map(iss => ({
            ...iss,
            path: iss.path ? [${U}, ...iss.path] : [${U}]
          })));
        }
        
        if (${$}.value === undefined) {
          if (${U} in input) {
            newResult[${U}] = undefined;
          }
        } else {
          newResult[${U}] = ${$}.value;
        }
        
      `);
    }
    y.write("payload.value = newResult;"), y.write("return payload;");
    const z = y.compile();
    return (N, $) => z(S, N, $);
  };
  let s;
  const u = ml, f = !wS.jitless, p = f && UO.value, m = n.catchall;
  let h;
  e._zod.parse = (S, y) => {
    h ?? (h = o.value);
    const C = S.value;
    return u(C) ? f && p && (y == null ? void 0 : y.async) === !1 && y.jitless !== !0 ? (s || (s = l(n.shape)), S = s(S, y), m ? jS([], C, S, y, h, e) : S) : r(S, y) : (S.issues.push({
      expected: "object",
      code: "invalid_type",
      input: C,
      inst: e
    }), S);
  };
});
function Sb(e, n, r, o) {
  for (const s of e)
    if (s.issues.length === 0)
      return n.value = s.value, n;
  const l = e.filter((s) => !Go(s));
  return l.length === 1 ? (n.value = l[0].value, l[0]) : (n.issues.push({
    code: "invalid_union",
    input: n.value,
    inst: r,
    errors: e.map((s) => s.issues.map((u) => pr(u, o, gr())))
  }), n);
}
const $S = /* @__PURE__ */ G("$ZodUnion", (e, n) => {
  ot.init(e, n), Ie(e._zod, "optin", () => n.options.some((l) => l._zod.optin === "optional") ? "optional" : void 0), Ie(e._zod, "optout", () => n.options.some((l) => l._zod.optout === "optional") ? "optional" : void 0), Ie(e._zod, "values", () => {
    if (n.options.every((l) => l._zod.values))
      return new Set(n.options.flatMap((l) => Array.from(l._zod.values)));
  }), Ie(e._zod, "pattern", () => {
    if (n.options.every((l) => l._zod.pattern)) {
      const l = n.options.map((s) => s._zod.pattern);
      return new RegExp(`^(${l.map((s) => Rp(s.source)).join("|")})$`);
    }
  });
  const r = n.options.length === 1, o = n.options[0]._zod.run;
  e._zod.parse = (l, s) => {
    if (r)
      return o(l, s);
    let u = !1;
    const f = [];
    for (const g of n.options) {
      const p = g._zod.run({
        value: l.value,
        issues: []
      }, s);
      if (p instanceof Promise)
        f.push(p), u = !0;
      else {
        if (p.issues.length === 0)
          return p;
        f.push(p);
      }
    }
    return u ? Promise.all(f).then((g) => Sb(g, l, e, s)) : Sb(f, l, e, s);
  };
}), TM = /* @__PURE__ */ G("$ZodDiscriminatedUnion", (e, n) => {
  n.inclusive = !1, $S.init(e, n);
  const r = e._zod.parse;
  Ie(e._zod, "propValues", () => {
    const l = {};
    for (const s of n.options) {
      const u = s._zod.propValues;
      if (!u || Object.keys(u).length === 0)
        throw new Error(`Invalid discriminated union option at index "${n.options.indexOf(s)}"`);
      for (const [f, g] of Object.entries(u)) {
        l[f] || (l[f] = /* @__PURE__ */ new Set());
        for (const p of g)
          l[f].add(p);
      }
    }
    return l;
  });
  const o = du(() => {
    var u;
    const l = n.options, s = /* @__PURE__ */ new Map();
    for (const f of l) {
      const g = (u = f._zod.propValues) == null ? void 0 : u[n.discriminator];
      if (!g || g.size === 0)
        throw new Error(`Invalid discriminated union option at index "${n.options.indexOf(f)}"`);
      for (const p of g) {
        if (s.has(p))
          throw new Error(`Duplicate discriminator value "${String(p)}"`);
        s.set(p, f);
      }
    }
    return s;
  });
  e._zod.parse = (l, s) => {
    const u = l.value;
    if (!ml(u))
      return l.issues.push({
        code: "invalid_type",
        expected: "object",
        input: u,
        inst: e
      }), l;
    const f = o.value.get(u == null ? void 0 : u[n.discriminator]);
    return f ? f._zod.run(l, s) : n.unionFallback ? r(l, s) : (l.issues.push({
      code: "invalid_union",
      errors: [],
      note: "No matching discriminator",
      discriminator: n.discriminator,
      input: u,
      path: [n.discriminator],
      inst: e
    }), l);
  };
}), AM = /* @__PURE__ */ G("$ZodIntersection", (e, n) => {
  ot.init(e, n), e._zod.parse = (r, o) => {
    const l = r.value, s = n.left._zod.run({ value: l, issues: [] }, o), u = n.right._zod.run({ value: l, issues: [] }, o);
    return s instanceof Promise || u instanceof Promise ? Promise.all([s, u]).then(([g, p]) => kb(r, g, p)) : kb(r, s, u);
  };
});
function Dg(e, n) {
  if (e === n)
    return { valid: !0, data: e };
  if (e instanceof Date && n instanceof Date && +e == +n)
    return { valid: !0, data: e };
  if (ti(e) && ti(n)) {
    const r = Object.keys(n), o = Object.keys(e).filter((s) => r.indexOf(s) !== -1), l = { ...e, ...n };
    for (const s of o) {
      const u = Dg(e[s], n[s]);
      if (!u.valid)
        return {
          valid: !1,
          mergeErrorPath: [s, ...u.mergeErrorPath]
        };
      l[s] = u.data;
    }
    return { valid: !0, data: l };
  }
  if (Array.isArray(e) && Array.isArray(n)) {
    if (e.length !== n.length)
      return { valid: !1, mergeErrorPath: [] };
    const r = [];
    for (let o = 0; o < e.length; o++) {
      const l = e[o], s = n[o], u = Dg(l, s);
      if (!u.valid)
        return {
          valid: !1,
          mergeErrorPath: [o, ...u.mergeErrorPath]
        };
      r.push(u.data);
    }
    return { valid: !0, data: r };
  }
  return { valid: !1, mergeErrorPath: [] };
}
function kb(e, n, r) {
  const o = /* @__PURE__ */ new Map();
  let l;
  for (const f of n.issues)
    if (f.code === "unrecognized_keys") {
      l ?? (l = f);
      for (const g of f.keys)
        o.has(g) || o.set(g, {}), o.get(g).l = !0;
    } else
      e.issues.push(f);
  for (const f of r.issues)
    if (f.code === "unrecognized_keys")
      for (const g of f.keys)
        o.has(g) || o.set(g, {}), o.get(g).r = !0;
    else
      e.issues.push(f);
  const s = [...o].filter(([, f]) => f.l && f.r).map(([f]) => f);
  if (s.length && l && e.issues.push({ ...l, keys: s }), Go(e))
    return e;
  const u = Dg(n.value, r.value);
  if (!u.valid)
    throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(u.mergeErrorPath)}`);
  return e.value = u.data, e;
}
const NM = /* @__PURE__ */ G("$ZodRecord", (e, n) => {
  ot.init(e, n), e._zod.parse = (r, o) => {
    const l = r.value;
    if (!ti(l))
      return r.issues.push({
        expected: "record",
        code: "invalid_type",
        input: l,
        inst: e
      }), r;
    const s = [], u = n.keyType._zod.values;
    if (u) {
      r.value = {};
      const f = /* @__PURE__ */ new Set();
      for (const p of u)
        if (typeof p == "string" || typeof p == "number" || typeof p == "symbol") {
          f.add(typeof p == "number" ? p.toString() : p);
          const m = n.valueType._zod.run({ value: l[p], issues: [] }, o);
          m instanceof Promise ? s.push(m.then((h) => {
            h.issues.length && r.issues.push(...qo(p, h.issues)), r.value[p] = h.value;
          })) : (m.issues.length && r.issues.push(...qo(p, m.issues)), r.value[p] = m.value);
        }
      let g;
      for (const p in l)
        f.has(p) || (g = g ?? [], g.push(p));
      g && g.length > 0 && r.issues.push({
        code: "unrecognized_keys",
        input: l,
        inst: e,
        keys: g
      });
    } else {
      r.value = {};
      for (const f of Reflect.ownKeys(l)) {
        if (f === "__proto__")
          continue;
        let g = n.keyType._zod.run({ value: f, issues: [] }, o);
        if (g instanceof Promise)
          throw new Error("Async schemas not supported in object keys currently");
        if (typeof f == "string" && zS.test(f) && g.issues.length) {
          const h = n.keyType._zod.run({ value: Number(f), issues: [] }, o);
          if (h instanceof Promise)
            throw new Error("Async schemas not supported in object keys currently");
          h.issues.length === 0 && (g = h);
        }
        if (g.issues.length) {
          n.mode === "loose" ? r.value[f] = l[f] : r.issues.push({
            code: "invalid_key",
            origin: "record",
            issues: g.issues.map((h) => pr(h, o, gr())),
            input: f,
            path: [f],
            inst: e
          });
          continue;
        }
        const m = n.valueType._zod.run({ value: l[f], issues: [] }, o);
        m instanceof Promise ? s.push(m.then((h) => {
          h.issues.length && r.issues.push(...qo(f, h.issues)), r.value[g.value] = h.value;
        })) : (m.issues.length && r.issues.push(...qo(f, m.issues)), r.value[g.value] = m.value);
      }
    }
    return s.length ? Promise.all(s).then(() => r) : r;
  };
}), OM = /* @__PURE__ */ G("$ZodEnum", (e, n) => {
  ot.init(e, n);
  const r = bS(n.entries), o = new Set(r);
  e._zod.values = o, e._zod.pattern = new RegExp(`^(${r.filter((l) => FO.has(typeof l)).map((l) => typeof l == "string" ? ni(l) : l.toString()).join("|")})$`), e._zod.parse = (l, s) => {
    const u = l.value;
    return o.has(u) || l.issues.push({
      code: "invalid_value",
      values: r,
      input: u,
      inst: e
    }), l;
  };
}), DM = /* @__PURE__ */ G("$ZodLiteral", (e, n) => {
  if (ot.init(e, n), n.values.length === 0)
    throw new Error("Cannot create literal schema with no valid values");
  const r = new Set(n.values);
  e._zod.values = r, e._zod.pattern = new RegExp(`^(${n.values.map((o) => typeof o == "string" ? ni(o) : o ? ni(o.toString()) : String(o)).join("|")})$`), e._zod.parse = (o, l) => {
    const s = o.value;
    return r.has(s) || o.issues.push({
      code: "invalid_value",
      values: n.values,
      input: s,
      inst: e
    }), o;
  };
}), MM = /* @__PURE__ */ G("$ZodTransform", (e, n) => {
  ot.init(e, n), e._zod.parse = (r, o) => {
    if (o.direction === "backward")
      throw new mS(e.constructor.name);
    const l = n.transform(r.value, r);
    if (o.async)
      return (l instanceof Promise ? l : Promise.resolve(l)).then((u) => (r.value = u, r));
    if (l instanceof Promise)
      throw new Ko();
    return r.value = l, r;
  };
});
function Cb(e, n) {
  return e.issues.length && n === void 0 ? { issues: [], value: void 0 } : e;
}
const PS = /* @__PURE__ */ G("$ZodOptional", (e, n) => {
  ot.init(e, n), e._zod.optin = "optional", e._zod.optout = "optional", Ie(e._zod, "values", () => n.innerType._zod.values ? /* @__PURE__ */ new Set([...n.innerType._zod.values, void 0]) : void 0), Ie(e._zod, "pattern", () => {
    const r = n.innerType._zod.pattern;
    return r ? new RegExp(`^(${Rp(r.source)})?$`) : void 0;
  }), e._zod.parse = (r, o) => {
    if (n.innerType._zod.optin === "optional") {
      const l = n.innerType._zod.run(r, o);
      return l instanceof Promise ? l.then((s) => Cb(s, r.value)) : Cb(l, r.value);
    }
    return r.value === void 0 ? r : n.innerType._zod.run(r, o);
  };
}), jM = /* @__PURE__ */ G("$ZodExactOptional", (e, n) => {
  PS.init(e, n), Ie(e._zod, "values", () => n.innerType._zod.values), Ie(e._zod, "pattern", () => n.innerType._zod.pattern), e._zod.parse = (r, o) => n.innerType._zod.run(r, o);
}), $M = /* @__PURE__ */ G("$ZodNullable", (e, n) => {
  ot.init(e, n), Ie(e._zod, "optin", () => n.innerType._zod.optin), Ie(e._zod, "optout", () => n.innerType._zod.optout), Ie(e._zod, "pattern", () => {
    const r = n.innerType._zod.pattern;
    return r ? new RegExp(`^(${Rp(r.source)}|null)$`) : void 0;
  }), Ie(e._zod, "values", () => n.innerType._zod.values ? /* @__PURE__ */ new Set([...n.innerType._zod.values, null]) : void 0), e._zod.parse = (r, o) => r.value === null ? r : n.innerType._zod.run(r, o);
}), PM = /* @__PURE__ */ G("$ZodDefault", (e, n) => {
  ot.init(e, n), e._zod.optin = "optional", Ie(e._zod, "values", () => n.innerType._zod.values), e._zod.parse = (r, o) => {
    if (o.direction === "backward")
      return n.innerType._zod.run(r, o);
    if (r.value === void 0)
      return r.value = n.defaultValue, r;
    const l = n.innerType._zod.run(r, o);
    return l instanceof Promise ? l.then((s) => _b(s, n)) : _b(l, n);
  };
});
function _b(e, n) {
  return e.value === void 0 && (e.value = n.defaultValue), e;
}
const LM = /* @__PURE__ */ G("$ZodPrefault", (e, n) => {
  ot.init(e, n), e._zod.optin = "optional", Ie(e._zod, "values", () => n.innerType._zod.values), e._zod.parse = (r, o) => (o.direction === "backward" || r.value === void 0 && (r.value = n.defaultValue), n.innerType._zod.run(r, o));
}), HM = /* @__PURE__ */ G("$ZodNonOptional", (e, n) => {
  ot.init(e, n), Ie(e._zod, "values", () => {
    const r = n.innerType._zod.values;
    return r ? new Set([...r].filter((o) => o !== void 0)) : void 0;
  }), e._zod.parse = (r, o) => {
    const l = n.innerType._zod.run(r, o);
    return l instanceof Promise ? l.then((s) => Rb(s, e)) : Rb(l, e);
  };
});
function Rb(e, n) {
  return !e.issues.length && e.value === void 0 && e.issues.push({
    code: "invalid_type",
    expected: "nonoptional",
    input: e.value,
    inst: n
  }), e;
}
const VM = /* @__PURE__ */ G("$ZodCatch", (e, n) => {
  ot.init(e, n), Ie(e._zod, "optin", () => n.innerType._zod.optin), Ie(e._zod, "optout", () => n.innerType._zod.optout), Ie(e._zod, "values", () => n.innerType._zod.values), e._zod.parse = (r, o) => {
    if (o.direction === "backward")
      return n.innerType._zod.run(r, o);
    const l = n.innerType._zod.run(r, o);
    return l instanceof Promise ? l.then((s) => (r.value = s.value, s.issues.length && (r.value = n.catchValue({
      ...r,
      error: {
        issues: s.issues.map((u) => pr(u, o, gr()))
      },
      input: r.value
    }), r.issues = []), r)) : (r.value = l.value, l.issues.length && (r.value = n.catchValue({
      ...r,
      error: {
        issues: l.issues.map((s) => pr(s, o, gr()))
      },
      input: r.value
    }), r.issues = []), r);
  };
}), BM = /* @__PURE__ */ G("$ZodPipe", (e, n) => {
  ot.init(e, n), Ie(e._zod, "values", () => n.in._zod.values), Ie(e._zod, "optin", () => n.in._zod.optin), Ie(e._zod, "optout", () => n.out._zod.optout), Ie(e._zod, "propValues", () => n.in._zod.propValues), e._zod.parse = (r, o) => {
    if (o.direction === "backward") {
      const s = n.out._zod.run(r, o);
      return s instanceof Promise ? s.then((u) => rs(u, n.in, o)) : rs(s, n.in, o);
    }
    const l = n.in._zod.run(r, o);
    return l instanceof Promise ? l.then((s) => rs(s, n.out, o)) : rs(l, n.out, o);
  };
});
function rs(e, n, r) {
  return e.issues.length ? (e.aborted = !0, e) : n._zod.run({ value: e.value, issues: e.issues }, r);
}
const IM = /* @__PURE__ */ G("$ZodReadonly", (e, n) => {
  ot.init(e, n), Ie(e._zod, "propValues", () => n.innerType._zod.propValues), Ie(e._zod, "values", () => n.innerType._zod.values), Ie(e._zod, "optin", () => {
    var r, o;
    return (o = (r = n.innerType) == null ? void 0 : r._zod) == null ? void 0 : o.optin;
  }), Ie(e._zod, "optout", () => {
    var r, o;
    return (o = (r = n.innerType) == null ? void 0 : r._zod) == null ? void 0 : o.optout;
  }), e._zod.parse = (r, o) => {
    if (o.direction === "backward")
      return n.innerType._zod.run(r, o);
    const l = n.innerType._zod.run(r, o);
    return l instanceof Promise ? l.then(Eb) : Eb(l);
  };
});
function Eb(e) {
  return e.value = Object.freeze(e.value), e;
}
const UM = /* @__PURE__ */ G("$ZodLazy", (e, n) => {
  ot.init(e, n), Ie(e._zod, "innerType", () => n.getter()), Ie(e._zod, "pattern", () => {
    var r, o;
    return (o = (r = e._zod.innerType) == null ? void 0 : r._zod) == null ? void 0 : o.pattern;
  }), Ie(e._zod, "propValues", () => {
    var r, o;
    return (o = (r = e._zod.innerType) == null ? void 0 : r._zod) == null ? void 0 : o.propValues;
  }), Ie(e._zod, "optin", () => {
    var r, o;
    return ((o = (r = e._zod.innerType) == null ? void 0 : r._zod) == null ? void 0 : o.optin) ?? void 0;
  }), Ie(e._zod, "optout", () => {
    var r, o;
    return ((o = (r = e._zod.innerType) == null ? void 0 : r._zod) == null ? void 0 : o.optout) ?? void 0;
  }), e._zod.parse = (r, o) => e._zod.innerType._zod.run(r, o);
}), FM = /* @__PURE__ */ G("$ZodCustom", (e, n) => {
  cn.init(e, n), ot.init(e, n), e._zod.parse = (r, o) => r, e._zod.check = (r) => {
    const o = r.value, l = n.fn(o);
    if (l instanceof Promise)
      return l.then((s) => zb(s, r, o, e));
    zb(l, r, o, e);
  };
});
function zb(e, n, r, o) {
  if (!e) {
    const l = {
      code: "custom",
      input: r,
      inst: o,
      // incorporates params.error into issue reporting
      path: [...o._zod.def.path ?? []],
      // incorporates params.error into issue reporting
      continue: !o._zod.def.abort
      // params: inst._zod.def.params,
    };
    o._zod.def.params && (l.params = o._zod.def.params), n.issues.push(wl(l));
  }
}
var Tb;
class ZM {
  constructor() {
    this._map = /* @__PURE__ */ new WeakMap(), this._idmap = /* @__PURE__ */ new Map();
  }
  add(n, ...r) {
    const o = r[0];
    return this._map.set(n, o), o && typeof o == "object" && "id" in o && this._idmap.set(o.id, n), this;
  }
  clear() {
    return this._map = /* @__PURE__ */ new WeakMap(), this._idmap = /* @__PURE__ */ new Map(), this;
  }
  remove(n) {
    const r = this._map.get(n);
    return r && typeof r == "object" && "id" in r && this._idmap.delete(r.id), this._map.delete(n), this;
  }
  get(n) {
    const r = n._zod.parent;
    if (r) {
      const o = { ...this.get(r) ?? {} };
      delete o.id;
      const l = { ...o, ...this._map.get(n) };
      return Object.keys(l).length ? l : void 0;
    }
    return this._map.get(n);
  }
  has(n) {
    return this._map.has(n);
  }
}
function GM() {
  return new ZM();
}
(Tb = globalThis).__zod_globalRegistry ?? (Tb.__zod_globalRegistry = GM());
const dl = globalThis.__zod_globalRegistry;
// @__NO_SIDE_EFFECTS__
function qM(e, n) {
  return new e({
    type: "string",
    ...he(n)
  });
}
// @__NO_SIDE_EFFECTS__
function YM(e, n) {
  return new e({
    type: "string",
    format: "email",
    check: "string_format",
    abort: !1,
    ...he(n)
  });
}
// @__NO_SIDE_EFFECTS__
function Ab(e, n) {
  return new e({
    type: "string",
    format: "guid",
    check: "string_format",
    abort: !1,
    ...he(n)
  });
}
// @__NO_SIDE_EFFECTS__
function XM(e, n) {
  return new e({
    type: "string",
    format: "uuid",
    check: "string_format",
    abort: !1,
    ...he(n)
  });
}
// @__NO_SIDE_EFFECTS__
function KM(e, n) {
  return new e({
    type: "string",
    format: "uuid",
    check: "string_format",
    abort: !1,
    version: "v4",
    ...he(n)
  });
}
// @__NO_SIDE_EFFECTS__
function QM(e, n) {
  return new e({
    type: "string",
    format: "uuid",
    check: "string_format",
    abort: !1,
    version: "v6",
    ...he(n)
  });
}
// @__NO_SIDE_EFFECTS__
function JM(e, n) {
  return new e({
    type: "string",
    format: "uuid",
    check: "string_format",
    abort: !1,
    version: "v7",
    ...he(n)
  });
}
// @__NO_SIDE_EFFECTS__
function WM(e, n) {
  return new e({
    type: "string",
    format: "url",
    check: "string_format",
    abort: !1,
    ...he(n)
  });
}
// @__NO_SIDE_EFFECTS__
function ej(e, n) {
  return new e({
    type: "string",
    format: "emoji",
    check: "string_format",
    abort: !1,
    ...he(n)
  });
}
// @__NO_SIDE_EFFECTS__
function tj(e, n) {
  return new e({
    type: "string",
    format: "nanoid",
    check: "string_format",
    abort: !1,
    ...he(n)
  });
}
// @__NO_SIDE_EFFECTS__
function nj(e, n) {
  return new e({
    type: "string",
    format: "cuid",
    check: "string_format",
    abort: !1,
    ...he(n)
  });
}
// @__NO_SIDE_EFFECTS__
function aj(e, n) {
  return new e({
    type: "string",
    format: "cuid2",
    check: "string_format",
    abort: !1,
    ...he(n)
  });
}
// @__NO_SIDE_EFFECTS__
function rj(e, n) {
  return new e({
    type: "string",
    format: "ulid",
    check: "string_format",
    abort: !1,
    ...he(n)
  });
}
// @__NO_SIDE_EFFECTS__
function oj(e, n) {
  return new e({
    type: "string",
    format: "xid",
    check: "string_format",
    abort: !1,
    ...he(n)
  });
}
// @__NO_SIDE_EFFECTS__
function ij(e, n) {
  return new e({
    type: "string",
    format: "ksuid",
    check: "string_format",
    abort: !1,
    ...he(n)
  });
}
// @__NO_SIDE_EFFECTS__
function lj(e, n) {
  return new e({
    type: "string",
    format: "ipv4",
    check: "string_format",
    abort: !1,
    ...he(n)
  });
}
// @__NO_SIDE_EFFECTS__
function cj(e, n) {
  return new e({
    type: "string",
    format: "ipv6",
    check: "string_format",
    abort: !1,
    ...he(n)
  });
}
// @__NO_SIDE_EFFECTS__
function sj(e, n) {
  return new e({
    type: "string",
    format: "cidrv4",
    check: "string_format",
    abort: !1,
    ...he(n)
  });
}
// @__NO_SIDE_EFFECTS__
function uj(e, n) {
  return new e({
    type: "string",
    format: "cidrv6",
    check: "string_format",
    abort: !1,
    ...he(n)
  });
}
// @__NO_SIDE_EFFECTS__
function dj(e, n) {
  return new e({
    type: "string",
    format: "base64",
    check: "string_format",
    abort: !1,
    ...he(n)
  });
}
// @__NO_SIDE_EFFECTS__
function fj(e, n) {
  return new e({
    type: "string",
    format: "base64url",
    check: "string_format",
    abort: !1,
    ...he(n)
  });
}
// @__NO_SIDE_EFFECTS__
function gj(e, n) {
  return new e({
    type: "string",
    format: "e164",
    check: "string_format",
    abort: !1,
    ...he(n)
  });
}
// @__NO_SIDE_EFFECTS__
function pj(e, n) {
  return new e({
    type: "string",
    format: "jwt",
    check: "string_format",
    abort: !1,
    ...he(n)
  });
}
// @__NO_SIDE_EFFECTS__
function vj(e, n) {
  return new e({
    type: "string",
    format: "datetime",
    check: "string_format",
    offset: !1,
    local: !1,
    precision: null,
    ...he(n)
  });
}
// @__NO_SIDE_EFFECTS__
function hj(e, n) {
  return new e({
    type: "string",
    format: "date",
    check: "string_format",
    ...he(n)
  });
}
// @__NO_SIDE_EFFECTS__
function mj(e, n) {
  return new e({
    type: "string",
    format: "time",
    check: "string_format",
    precision: null,
    ...he(n)
  });
}
// @__NO_SIDE_EFFECTS__
function wj(e, n) {
  return new e({
    type: "string",
    format: "duration",
    check: "string_format",
    ...he(n)
  });
}
// @__NO_SIDE_EFFECTS__
function bj(e, n) {
  return new e({
    type: "number",
    checks: [],
    ...he(n)
  });
}
// @__NO_SIDE_EFFECTS__
function xj(e, n) {
  return new e({
    type: "number",
    check: "number_format",
    abort: !1,
    format: "safeint",
    ...he(n)
  });
}
// @__NO_SIDE_EFFECTS__
function yj(e, n) {
  return new e({
    type: "boolean",
    ...he(n)
  });
}
// @__NO_SIDE_EFFECTS__
function Sj(e) {
  return new e({
    type: "unknown"
  });
}
// @__NO_SIDE_EFFECTS__
function kj(e, n) {
  return new e({
    type: "never",
    ...he(n)
  });
}
// @__NO_SIDE_EFFECTS__
function Nb(e, n) {
  return new AS({
    check: "less_than",
    ...he(n),
    value: e,
    inclusive: !1
  });
}
// @__NO_SIDE_EFFECTS__
function eg(e, n) {
  return new AS({
    check: "less_than",
    ...he(n),
    value: e,
    inclusive: !0
  });
}
// @__NO_SIDE_EFFECTS__
function Ob(e, n) {
  return new NS({
    check: "greater_than",
    ...he(n),
    value: e,
    inclusive: !1
  });
}
// @__NO_SIDE_EFFECTS__
function tg(e, n) {
  return new NS({
    check: "greater_than",
    ...he(n),
    value: e,
    inclusive: !0
  });
}
// @__NO_SIDE_EFFECTS__
function Db(e, n) {
  return new PD({
    check: "multiple_of",
    ...he(n),
    value: e
  });
}
// @__NO_SIDE_EFFECTS__
function LS(e, n) {
  return new HD({
    check: "max_length",
    ...he(n),
    maximum: e
  });
}
// @__NO_SIDE_EFFECTS__
function Rs(e, n) {
  return new VD({
    check: "min_length",
    ...he(n),
    minimum: e
  });
}
// @__NO_SIDE_EFFECTS__
function HS(e, n) {
  return new BD({
    check: "length_equals",
    ...he(n),
    length: e
  });
}
// @__NO_SIDE_EFFECTS__
function Cj(e, n) {
  return new ID({
    check: "string_format",
    format: "regex",
    ...he(n),
    pattern: e
  });
}
// @__NO_SIDE_EFFECTS__
function _j(e) {
  return new UD({
    check: "string_format",
    format: "lowercase",
    ...he(e)
  });
}
// @__NO_SIDE_EFFECTS__
function Rj(e) {
  return new FD({
    check: "string_format",
    format: "uppercase",
    ...he(e)
  });
}
// @__NO_SIDE_EFFECTS__
function Ej(e, n) {
  return new ZD({
    check: "string_format",
    format: "includes",
    ...he(n),
    includes: e
  });
}
// @__NO_SIDE_EFFECTS__
function zj(e, n) {
  return new GD({
    check: "string_format",
    format: "starts_with",
    ...he(n),
    prefix: e
  });
}
// @__NO_SIDE_EFFECTS__
function Tj(e, n) {
  return new qD({
    check: "string_format",
    format: "ends_with",
    ...he(n),
    suffix: e
  });
}
// @__NO_SIDE_EFFECTS__
function fi(e) {
  return new YD({
    check: "overwrite",
    tx: e
  });
}
// @__NO_SIDE_EFFECTS__
function Aj(e) {
  return /* @__PURE__ */ fi((n) => n.normalize(e));
}
// @__NO_SIDE_EFFECTS__
function Nj() {
  return /* @__PURE__ */ fi((e) => e.trim());
}
// @__NO_SIDE_EFFECTS__
function Oj() {
  return /* @__PURE__ */ fi((e) => e.toLowerCase());
}
// @__NO_SIDE_EFFECTS__
function Dj() {
  return /* @__PURE__ */ fi((e) => e.toUpperCase());
}
// @__NO_SIDE_EFFECTS__
function Mj() {
  return /* @__PURE__ */ fi((e) => IO(e));
}
// @__NO_SIDE_EFFECTS__
function jj(e, n, r) {
  return new e({
    type: "array",
    element: n,
    // get element() {
    //   return element;
    // },
    ...he(r)
  });
}
// @__NO_SIDE_EFFECTS__
function $j(e, n, r) {
  return new e({
    type: "custom",
    check: "custom",
    fn: n,
    ...he(r)
  });
}
// @__NO_SIDE_EFFECTS__
function Pj(e) {
  const n = /* @__PURE__ */ Lj((r) => (r.addIssue = (o) => {
    if (typeof o == "string")
      r.issues.push(wl(o, r.value, n._zod.def));
    else {
      const l = o;
      l.fatal && (l.continue = !1), l.code ?? (l.code = "custom"), l.input ?? (l.input = r.value), l.inst ?? (l.inst = n), l.continue ?? (l.continue = !n._zod.def.abort), r.issues.push(wl(l));
    }
  }, e(r.value, r)));
  return n;
}
// @__NO_SIDE_EFFECTS__
function Lj(e, n) {
  const r = new cn({
    check: "custom",
    ...he(n)
  });
  return r._zod.check = e, r;
}
function VS(e) {
  let n = (e == null ? void 0 : e.target) ?? "draft-2020-12";
  return n === "draft-4" && (n = "draft-04"), n === "draft-7" && (n = "draft-07"), {
    processors: e.processors ?? {},
    metadataRegistry: (e == null ? void 0 : e.metadata) ?? dl,
    target: n,
    unrepresentable: (e == null ? void 0 : e.unrepresentable) ?? "throw",
    override: (e == null ? void 0 : e.override) ?? (() => {
    }),
    io: (e == null ? void 0 : e.io) ?? "output",
    counter: 0,
    seen: /* @__PURE__ */ new Map(),
    cycles: (e == null ? void 0 : e.cycles) ?? "ref",
    reused: (e == null ? void 0 : e.reused) ?? "inline",
    external: (e == null ? void 0 : e.external) ?? void 0
  };
}
function ht(e, n, r = { path: [], schemaPath: [] }) {
  var m, h;
  var o;
  const l = e._zod.def, s = n.seen.get(e);
  if (s)
    return s.count++, r.schemaPath.includes(e) && (s.cycle = r.path), s.schema;
  const u = { schema: {}, count: 1, cycle: void 0, path: r.path };
  n.seen.set(e, u);
  const f = (h = (m = e._zod).toJSONSchema) == null ? void 0 : h.call(m);
  if (f)
    u.schema = f;
  else {
    const S = {
      ...r,
      schemaPath: [...r.schemaPath, e],
      path: r.path
    };
    if (e._zod.processJSONSchema)
      e._zod.processJSONSchema(n, u.schema, S);
    else {
      const C = u.schema, k = n.processors[l.type];
      if (!k)
        throw new Error(`[toJSONSchema]: Non-representable type encountered: ${l.type}`);
      k(e, n, C, S);
    }
    const y = e._zod.parent;
    y && (u.ref || (u.ref = y), ht(y, n, S), n.seen.get(y).isParent = !0);
  }
  const g = n.metadataRegistry.get(e);
  return g && Object.assign(u.schema, g), n.io === "input" && Gt(e) && (delete u.schema.examples, delete u.schema.default), n.io === "input" && u.schema._prefault && ((o = u.schema).default ?? (o.default = u.schema._prefault)), delete u.schema._prefault, n.seen.get(e).schema;
}
function BS(e, n) {
  var u, f, g, p;
  const r = e.seen.get(n);
  if (!r)
    throw new Error("Unprocessed schema. This is a bug in Zod.");
  const o = /* @__PURE__ */ new Map();
  for (const m of e.seen.entries()) {
    const h = (u = e.metadataRegistry.get(m[0])) == null ? void 0 : u.id;
    if (h) {
      const S = o.get(h);
      if (S && S !== m[0])
        throw new Error(`Duplicate schema id "${h}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);
      o.set(h, m[0]);
    }
  }
  const l = (m) => {
    var k;
    const h = e.target === "draft-2020-12" ? "$defs" : "definitions";
    if (e.external) {
      const R = (k = e.external.registry.get(m[0])) == null ? void 0 : k.id, E = e.external.uri ?? ((T) => T);
      if (R)
        return { ref: E(R) };
      const z = m[1].defId ?? m[1].schema.id ?? `schema${e.counter++}`;
      return m[1].defId = z, { defId: z, ref: `${E("__shared")}#/${h}/${z}` };
    }
    if (m[1] === r)
      return { ref: "#" };
    const y = `#/${h}/`, C = m[1].schema.id ?? `__schema${e.counter++}`;
    return { defId: C, ref: y + C };
  }, s = (m) => {
    if (m[1].schema.$ref)
      return;
    const h = m[1], { ref: S, defId: y } = l(m);
    h.def = { ...h.schema }, y && (h.defId = y);
    const C = h.schema;
    for (const k in C)
      delete C[k];
    C.$ref = S;
  };
  if (e.cycles === "throw")
    for (const m of e.seen.entries()) {
      const h = m[1];
      if (h.cycle)
        throw new Error(`Cycle detected: #/${(f = h.cycle) == null ? void 0 : f.join("/")}/<root>

Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`);
    }
  for (const m of e.seen.entries()) {
    const h = m[1];
    if (n === m[0]) {
      s(m);
      continue;
    }
    if (e.external) {
      const y = (g = e.external.registry.get(m[0])) == null ? void 0 : g.id;
      if (n !== m[0] && y) {
        s(m);
        continue;
      }
    }
    if ((p = e.metadataRegistry.get(m[0])) == null ? void 0 : p.id) {
      s(m);
      continue;
    }
    if (h.cycle) {
      s(m);
      continue;
    }
    if (h.count > 1 && e.reused === "ref") {
      s(m);
      continue;
    }
  }
}
function IS(e, n) {
  var u, f, g;
  const r = e.seen.get(n);
  if (!r)
    throw new Error("Unprocessed schema. This is a bug in Zod.");
  const o = (p) => {
    const m = e.seen.get(p);
    if (m.ref === null)
      return;
    const h = m.def ?? m.schema, S = { ...h }, y = m.ref;
    if (m.ref = null, y) {
      o(y);
      const k = e.seen.get(y), R = k.schema;
      if (R.$ref && (e.target === "draft-07" || e.target === "draft-04" || e.target === "openapi-3.0") ? (h.allOf = h.allOf ?? [], h.allOf.push(R)) : Object.assign(h, R), Object.assign(h, S), p._zod.parent === y)
        for (const z in h)
          z === "$ref" || z === "allOf" || z in S || delete h[z];
      if (R.$ref && k.def)
        for (const z in h)
          z === "$ref" || z === "allOf" || z in k.def && JSON.stringify(h[z]) === JSON.stringify(k.def[z]) && delete h[z];
    }
    const C = p._zod.parent;
    if (C && C !== y) {
      o(C);
      const k = e.seen.get(C);
      if (k != null && k.schema.$ref && (h.$ref = k.schema.$ref, k.def))
        for (const R in h)
          R === "$ref" || R === "allOf" || R in k.def && JSON.stringify(h[R]) === JSON.stringify(k.def[R]) && delete h[R];
    }
    e.override({
      zodSchema: p,
      jsonSchema: h,
      path: m.path ?? []
    });
  };
  for (const p of [...e.seen.entries()].reverse())
    o(p[0]);
  const l = {};
  if (e.target === "draft-2020-12" ? l.$schema = "https://json-schema.org/draft/2020-12/schema" : e.target === "draft-07" ? l.$schema = "http://json-schema.org/draft-07/schema#" : e.target === "draft-04" ? l.$schema = "http://json-schema.org/draft-04/schema#" : e.target, (u = e.external) != null && u.uri) {
    const p = (f = e.external.registry.get(n)) == null ? void 0 : f.id;
    if (!p)
      throw new Error("Schema is missing an `id` property");
    l.$id = e.external.uri(p);
  }
  Object.assign(l, r.def ?? r.schema);
  const s = ((g = e.external) == null ? void 0 : g.defs) ?? {};
  for (const p of e.seen.entries()) {
    const m = p[1];
    m.def && m.defId && (s[m.defId] = m.def);
  }
  e.external || Object.keys(s).length > 0 && (e.target === "draft-2020-12" ? l.$defs = s : l.definitions = s);
  try {
    const p = JSON.parse(JSON.stringify(l));
    return Object.defineProperty(p, "~standard", {
      value: {
        ...n["~standard"],
        jsonSchema: {
          input: Es(n, "input", e.processors),
          output: Es(n, "output", e.processors)
        }
      },
      enumerable: !1,
      writable: !1
    }), p;
  } catch {
    throw new Error("Error converting schema to JSON.");
  }
}
function Gt(e, n) {
  const r = n ?? { seen: /* @__PURE__ */ new Set() };
  if (r.seen.has(e))
    return !1;
  r.seen.add(e);
  const o = e._zod.def;
  if (o.type === "transform")
    return !0;
  if (o.type === "array")
    return Gt(o.element, r);
  if (o.type === "set")
    return Gt(o.valueType, r);
  if (o.type === "lazy")
    return Gt(o.getter(), r);
  if (o.type === "promise" || o.type === "optional" || o.type === "nonoptional" || o.type === "nullable" || o.type === "readonly" || o.type === "default" || o.type === "prefault")
    return Gt(o.innerType, r);
  if (o.type === "intersection")
    return Gt(o.left, r) || Gt(o.right, r);
  if (o.type === "record" || o.type === "map")
    return Gt(o.keyType, r) || Gt(o.valueType, r);
  if (o.type === "pipe")
    return Gt(o.in, r) || Gt(o.out, r);
  if (o.type === "object") {
    for (const l in o.shape)
      if (Gt(o.shape[l], r))
        return !0;
    return !1;
  }
  if (o.type === "union") {
    for (const l of o.options)
      if (Gt(l, r))
        return !0;
    return !1;
  }
  if (o.type === "tuple") {
    for (const l of o.items)
      if (Gt(l, r))
        return !0;
    return !!(o.rest && Gt(o.rest, r));
  }
  return !1;
}
const Hj = (e, n = {}) => (r) => {
  const o = VS({ ...r, processors: n });
  return ht(e, o), BS(o, e), IS(o, e);
}, Es = (e, n, r = {}) => (o) => {
  const { libraryOptions: l, target: s } = o ?? {}, u = VS({ ...l ?? {}, target: s, io: n, processors: r });
  return ht(e, u), BS(u, e), IS(u, e);
}, Vj = {
  guid: "uuid",
  url: "uri",
  datetime: "date-time",
  json_string: "json-string",
  regex: ""
  // do not set
}, Bj = (e, n, r, o) => {
  const l = r;
  l.type = "string";
  const { minimum: s, maximum: u, format: f, patterns: g, contentEncoding: p } = e._zod.bag;
  if (typeof s == "number" && (l.minLength = s), typeof u == "number" && (l.maxLength = u), f && (l.format = Vj[f] ?? f, l.format === "" && delete l.format, f === "time" && delete l.format), p && (l.contentEncoding = p), g && g.size > 0) {
    const m = [...g];
    m.length === 1 ? l.pattern = m[0].source : m.length > 1 && (l.allOf = [
      ...m.map((h) => ({
        ...n.target === "draft-07" || n.target === "draft-04" || n.target === "openapi-3.0" ? { type: "string" } : {},
        pattern: h.source
      }))
    ]);
  }
}, Ij = (e, n, r, o) => {
  const l = r, { minimum: s, maximum: u, format: f, multipleOf: g, exclusiveMaximum: p, exclusiveMinimum: m } = e._zod.bag;
  typeof f == "string" && f.includes("int") ? l.type = "integer" : l.type = "number", typeof m == "number" && (n.target === "draft-04" || n.target === "openapi-3.0" ? (l.minimum = m, l.exclusiveMinimum = !0) : l.exclusiveMinimum = m), typeof s == "number" && (l.minimum = s, typeof m == "number" && n.target !== "draft-04" && (m >= s ? delete l.minimum : delete l.exclusiveMinimum)), typeof p == "number" && (n.target === "draft-04" || n.target === "openapi-3.0" ? (l.maximum = p, l.exclusiveMaximum = !0) : l.exclusiveMaximum = p), typeof u == "number" && (l.maximum = u, typeof p == "number" && n.target !== "draft-04" && (p <= u ? delete l.maximum : delete l.exclusiveMaximum)), typeof g == "number" && (l.multipleOf = g);
}, Uj = (e, n, r, o) => {
  r.type = "boolean";
}, Fj = (e, n, r, o) => {
  r.not = {};
}, Zj = (e, n, r, o) => {
}, Gj = (e, n, r, o) => {
  const l = e._zod.def, s = bS(l.entries);
  s.every((u) => typeof u == "number") && (r.type = "number"), s.every((u) => typeof u == "string") && (r.type = "string"), r.enum = s;
}, qj = (e, n, r, o) => {
  const l = e._zod.def, s = [];
  for (const u of l.values)
    if (u === void 0) {
      if (n.unrepresentable === "throw")
        throw new Error("Literal `undefined` cannot be represented in JSON Schema");
    } else if (typeof u == "bigint") {
      if (n.unrepresentable === "throw")
        throw new Error("BigInt literals cannot be represented in JSON Schema");
      s.push(Number(u));
    } else
      s.push(u);
  if (s.length !== 0) if (s.length === 1) {
    const u = s[0];
    r.type = u === null ? "null" : typeof u, n.target === "draft-04" || n.target === "openapi-3.0" ? r.enum = [u] : r.const = u;
  } else
    s.every((u) => typeof u == "number") && (r.type = "number"), s.every((u) => typeof u == "string") && (r.type = "string"), s.every((u) => typeof u == "boolean") && (r.type = "boolean"), s.every((u) => u === null) && (r.type = "null"), r.enum = s;
}, Yj = (e, n, r, o) => {
  if (n.unrepresentable === "throw")
    throw new Error("Custom types cannot be represented in JSON Schema");
}, Xj = (e, n, r, o) => {
  if (n.unrepresentable === "throw")
    throw new Error("Transforms cannot be represented in JSON Schema");
}, Kj = (e, n, r, o) => {
  const l = r, s = e._zod.def, { minimum: u, maximum: f } = e._zod.bag;
  typeof u == "number" && (l.minItems = u), typeof f == "number" && (l.maxItems = f), l.type = "array", l.items = ht(s.element, n, { ...o, path: [...o.path, "items"] });
}, Qj = (e, n, r, o) => {
  var p;
  const l = r, s = e._zod.def;
  l.type = "object", l.properties = {};
  const u = s.shape;
  for (const m in u)
    l.properties[m] = ht(u[m], n, {
      ...o,
      path: [...o.path, "properties", m]
    });
  const f = new Set(Object.keys(u)), g = new Set([...f].filter((m) => {
    const h = s.shape[m]._zod;
    return n.io === "input" ? h.optin === void 0 : h.optout === void 0;
  }));
  g.size > 0 && (l.required = Array.from(g)), ((p = s.catchall) == null ? void 0 : p._zod.def.type) === "never" ? l.additionalProperties = !1 : s.catchall ? s.catchall && (l.additionalProperties = ht(s.catchall, n, {
    ...o,
    path: [...o.path, "additionalProperties"]
  })) : n.io === "output" && (l.additionalProperties = !1);
}, Jj = (e, n, r, o) => {
  const l = e._zod.def, s = l.inclusive === !1, u = l.options.map((f, g) => ht(f, n, {
    ...o,
    path: [...o.path, s ? "oneOf" : "anyOf", g]
  }));
  s ? r.oneOf = u : r.anyOf = u;
}, Wj = (e, n, r, o) => {
  const l = e._zod.def, s = ht(l.left, n, {
    ...o,
    path: [...o.path, "allOf", 0]
  }), u = ht(l.right, n, {
    ...o,
    path: [...o.path, "allOf", 1]
  }), f = (p) => "allOf" in p && Object.keys(p).length === 1, g = [
    ...f(s) ? s.allOf : [s],
    ...f(u) ? u.allOf : [u]
  ];
  r.allOf = g;
}, e6 = (e, n, r, o) => {
  const l = r, s = e._zod.def;
  l.type = "object";
  const u = s.keyType, f = u._zod.bag, g = f == null ? void 0 : f.patterns;
  if (s.mode === "loose" && g && g.size > 0) {
    const m = ht(s.valueType, n, {
      ...o,
      path: [...o.path, "patternProperties", "*"]
    });
    l.patternProperties = {};
    for (const h of g)
      l.patternProperties[h.source] = m;
  } else
    (n.target === "draft-07" || n.target === "draft-2020-12") && (l.propertyNames = ht(s.keyType, n, {
      ...o,
      path: [...o.path, "propertyNames"]
    })), l.additionalProperties = ht(s.valueType, n, {
      ...o,
      path: [...o.path, "additionalProperties"]
    });
  const p = u._zod.values;
  if (p) {
    const m = [...p].filter((h) => typeof h == "string" || typeof h == "number");
    m.length > 0 && (l.required = m);
  }
}, t6 = (e, n, r, o) => {
  const l = e._zod.def, s = ht(l.innerType, n, o), u = n.seen.get(e);
  n.target === "openapi-3.0" ? (u.ref = l.innerType, r.nullable = !0) : r.anyOf = [s, { type: "null" }];
}, n6 = (e, n, r, o) => {
  const l = e._zod.def;
  ht(l.innerType, n, o);
  const s = n.seen.get(e);
  s.ref = l.innerType;
}, a6 = (e, n, r, o) => {
  const l = e._zod.def;
  ht(l.innerType, n, o);
  const s = n.seen.get(e);
  s.ref = l.innerType, r.default = JSON.parse(JSON.stringify(l.defaultValue));
}, r6 = (e, n, r, o) => {
  const l = e._zod.def;
  ht(l.innerType, n, o);
  const s = n.seen.get(e);
  s.ref = l.innerType, n.io === "input" && (r._prefault = JSON.parse(JSON.stringify(l.defaultValue)));
}, o6 = (e, n, r, o) => {
  const l = e._zod.def;
  ht(l.innerType, n, o);
  const s = n.seen.get(e);
  s.ref = l.innerType;
  let u;
  try {
    u = l.catchValue(void 0);
  } catch {
    throw new Error("Dynamic catch values are not supported in JSON Schema");
  }
  r.default = u;
}, i6 = (e, n, r, o) => {
  const l = e._zod.def, s = n.io === "input" ? l.in._zod.def.type === "transform" ? l.out : l.in : l.out;
  ht(s, n, o);
  const u = n.seen.get(e);
  u.ref = s;
}, l6 = (e, n, r, o) => {
  const l = e._zod.def;
  ht(l.innerType, n, o);
  const s = n.seen.get(e);
  s.ref = l.innerType, r.readOnly = !0;
}, US = (e, n, r, o) => {
  const l = e._zod.def;
  ht(l.innerType, n, o);
  const s = n.seen.get(e);
  s.ref = l.innerType;
}, c6 = (e, n, r, o) => {
  const l = e._zod.innerType;
  ht(l, n, o);
  const s = n.seen.get(e);
  s.ref = l;
}, s6 = /* @__PURE__ */ G("ZodISODateTime", (e, n) => {
  cM.init(e, n), st.init(e, n);
});
function u6(e) {
  return /* @__PURE__ */ vj(s6, e);
}
const d6 = /* @__PURE__ */ G("ZodISODate", (e, n) => {
  sM.init(e, n), st.init(e, n);
});
function f6(e) {
  return /* @__PURE__ */ hj(d6, e);
}
const g6 = /* @__PURE__ */ G("ZodISOTime", (e, n) => {
  uM.init(e, n), st.init(e, n);
});
function p6(e) {
  return /* @__PURE__ */ mj(g6, e);
}
const v6 = /* @__PURE__ */ G("ZodISODuration", (e, n) => {
  dM.init(e, n), st.init(e, n);
});
function h6(e) {
  return /* @__PURE__ */ wj(v6, e);
}
const m6 = (e, n) => {
  kS.init(e, n), e.name = "ZodError", Object.defineProperties(e, {
    format: {
      value: (r) => tD(e, r)
      // enumerable: false,
    },
    flatten: {
      value: (r) => eD(e, r)
      // enumerable: false,
    },
    addIssue: {
      value: (r) => {
        e.issues.push(r), e.message = JSON.stringify(e.issues, Og, 2);
      }
      // enumerable: false,
    },
    addIssues: {
      value: (r) => {
        e.issues.push(...r), e.message = JSON.stringify(e.issues, Og, 2);
      }
      // enumerable: false,
    },
    isEmpty: {
      get() {
        return e.issues.length === 0;
      }
      // enumerable: false,
    }
  });
}, jn = G("ZodError", m6, {
  Parent: Error
}), w6 = /* @__PURE__ */ zp(jn), b6 = /* @__PURE__ */ Tp(jn), x6 = /* @__PURE__ */ fu(jn), y6 = /* @__PURE__ */ gu(jn), S6 = /* @__PURE__ */ rD(jn), k6 = /* @__PURE__ */ oD(jn), C6 = /* @__PURE__ */ iD(jn), _6 = /* @__PURE__ */ lD(jn), R6 = /* @__PURE__ */ cD(jn), E6 = /* @__PURE__ */ sD(jn), z6 = /* @__PURE__ */ uD(jn), T6 = /* @__PURE__ */ dD(jn), lt = /* @__PURE__ */ G("ZodType", (e, n) => (ot.init(e, n), Object.assign(e["~standard"], {
  jsonSchema: {
    input: Es(e, "input"),
    output: Es(e, "output")
  }
}), e.toJSONSchema = Hj(e, {}), e.def = n, e.type = n.type, Object.defineProperty(e, "_def", { value: n }), e.check = (...r) => e.clone(xr(n, {
  checks: [
    ...n.checks ?? [],
    ...r.map((o) => typeof o == "function" ? { _zod: { check: o, def: { check: "custom" }, onattach: [] } } : o)
  ]
}), {
  parent: !0
}), e.with = e.check, e.clone = (r, o) => yr(e, r, o), e.brand = () => e, e.register = ((r, o) => (r.add(e, o), e)), e.parse = (r, o) => w6(e, r, o, { callee: e.parse }), e.safeParse = (r, o) => x6(e, r, o), e.parseAsync = async (r, o) => b6(e, r, o, { callee: e.parseAsync }), e.safeParseAsync = async (r, o) => y6(e, r, o), e.spa = e.safeParseAsync, e.encode = (r, o) => S6(e, r, o), e.decode = (r, o) => k6(e, r, o), e.encodeAsync = async (r, o) => C6(e, r, o), e.decodeAsync = async (r, o) => _6(e, r, o), e.safeEncode = (r, o) => R6(e, r, o), e.safeDecode = (r, o) => E6(e, r, o), e.safeEncodeAsync = async (r, o) => z6(e, r, o), e.safeDecodeAsync = async (r, o) => T6(e, r, o), e.refine = (r, o) => e.check(C8(r, o)), e.superRefine = (r) => e.check(_8(r)), e.overwrite = (r) => e.check(/* @__PURE__ */ fi(r)), e.optional = () => $b(e), e.exactOptional = () => u8(e), e.nullable = () => Pb(e), e.nullish = () => $b(Pb(e)), e.nonoptional = (r) => h8(e, r), e.array = () => kt(e), e.or = (r) => Vt([e, r]), e.and = (r) => r8(e, r), e.transform = (r) => Lb(e, c8(r)), e.default = (r) => g8(e, r), e.prefault = (r) => v8(e, r), e.catch = (r) => w8(e, r), e.pipe = (r) => Lb(e, r), e.readonly = () => y8(e), e.describe = (r) => {
  const o = e.clone();
  return dl.add(o, { description: r }), o;
}, Object.defineProperty(e, "description", {
  get() {
    var r;
    return (r = dl.get(e)) == null ? void 0 : r.description;
  },
  configurable: !0
}), e.meta = (...r) => {
  if (r.length === 0)
    return dl.get(e);
  const o = e.clone();
  return dl.add(o, r[0]), o;
}, e.isOptional = () => e.safeParse(void 0).success, e.isNullable = () => e.safeParse(null).success, e.apply = (r) => r(e), e)), FS = /* @__PURE__ */ G("_ZodString", (e, n) => {
  Ap.init(e, n), lt.init(e, n), e._zod.processJSONSchema = (o, l, s) => Bj(e, o, l);
  const r = e._zod.bag;
  e.format = r.format ?? null, e.minLength = r.minimum ?? null, e.maxLength = r.maximum ?? null, e.regex = (...o) => e.check(/* @__PURE__ */ Cj(...o)), e.includes = (...o) => e.check(/* @__PURE__ */ Ej(...o)), e.startsWith = (...o) => e.check(/* @__PURE__ */ zj(...o)), e.endsWith = (...o) => e.check(/* @__PURE__ */ Tj(...o)), e.min = (...o) => e.check(/* @__PURE__ */ Rs(...o)), e.max = (...o) => e.check(/* @__PURE__ */ LS(...o)), e.length = (...o) => e.check(/* @__PURE__ */ HS(...o)), e.nonempty = (...o) => e.check(/* @__PURE__ */ Rs(1, ...o)), e.lowercase = (o) => e.check(/* @__PURE__ */ _j(o)), e.uppercase = (o) => e.check(/* @__PURE__ */ Rj(o)), e.trim = () => e.check(/* @__PURE__ */ Nj()), e.normalize = (...o) => e.check(/* @__PURE__ */ Aj(...o)), e.toLowerCase = () => e.check(/* @__PURE__ */ Oj()), e.toUpperCase = () => e.check(/* @__PURE__ */ Dj()), e.slugify = () => e.check(/* @__PURE__ */ Mj());
}), A6 = /* @__PURE__ */ G("ZodString", (e, n) => {
  Ap.init(e, n), FS.init(e, n), e.email = (r) => e.check(/* @__PURE__ */ YM(N6, r)), e.url = (r) => e.check(/* @__PURE__ */ WM(O6, r)), e.jwt = (r) => e.check(/* @__PURE__ */ pj(q6, r)), e.emoji = (r) => e.check(/* @__PURE__ */ ej(D6, r)), e.guid = (r) => e.check(/* @__PURE__ */ Ab(Mb, r)), e.uuid = (r) => e.check(/* @__PURE__ */ XM(os, r)), e.uuidv4 = (r) => e.check(/* @__PURE__ */ KM(os, r)), e.uuidv6 = (r) => e.check(/* @__PURE__ */ QM(os, r)), e.uuidv7 = (r) => e.check(/* @__PURE__ */ JM(os, r)), e.nanoid = (r) => e.check(/* @__PURE__ */ tj(M6, r)), e.guid = (r) => e.check(/* @__PURE__ */ Ab(Mb, r)), e.cuid = (r) => e.check(/* @__PURE__ */ nj(j6, r)), e.cuid2 = (r) => e.check(/* @__PURE__ */ aj($6, r)), e.ulid = (r) => e.check(/* @__PURE__ */ rj(P6, r)), e.base64 = (r) => e.check(/* @__PURE__ */ dj(F6, r)), e.base64url = (r) => e.check(/* @__PURE__ */ fj(Z6, r)), e.xid = (r) => e.check(/* @__PURE__ */ oj(L6, r)), e.ksuid = (r) => e.check(/* @__PURE__ */ ij(H6, r)), e.ipv4 = (r) => e.check(/* @__PURE__ */ lj(V6, r)), e.ipv6 = (r) => e.check(/* @__PURE__ */ cj(B6, r)), e.cidrv4 = (r) => e.check(/* @__PURE__ */ sj(I6, r)), e.cidrv6 = (r) => e.check(/* @__PURE__ */ uj(U6, r)), e.e164 = (r) => e.check(/* @__PURE__ */ gj(G6, r)), e.datetime = (r) => e.check(u6(r)), e.date = (r) => e.check(f6(r)), e.time = (r) => e.check(p6(r)), e.duration = (r) => e.check(h6(r));
});
function I(e) {
  return /* @__PURE__ */ qM(A6, e);
}
const st = /* @__PURE__ */ G("ZodStringFormat", (e, n) => {
  it.init(e, n), FS.init(e, n);
}), N6 = /* @__PURE__ */ G("ZodEmail", (e, n) => {
  WD.init(e, n), st.init(e, n);
}), Mb = /* @__PURE__ */ G("ZodGUID", (e, n) => {
  QD.init(e, n), st.init(e, n);
}), os = /* @__PURE__ */ G("ZodUUID", (e, n) => {
  JD.init(e, n), st.init(e, n);
}), O6 = /* @__PURE__ */ G("ZodURL", (e, n) => {
  eM.init(e, n), st.init(e, n);
}), D6 = /* @__PURE__ */ G("ZodEmoji", (e, n) => {
  tM.init(e, n), st.init(e, n);
}), M6 = /* @__PURE__ */ G("ZodNanoID", (e, n) => {
  nM.init(e, n), st.init(e, n);
}), j6 = /* @__PURE__ */ G("ZodCUID", (e, n) => {
  aM.init(e, n), st.init(e, n);
}), $6 = /* @__PURE__ */ G("ZodCUID2", (e, n) => {
  rM.init(e, n), st.init(e, n);
}), P6 = /* @__PURE__ */ G("ZodULID", (e, n) => {
  oM.init(e, n), st.init(e, n);
}), L6 = /* @__PURE__ */ G("ZodXID", (e, n) => {
  iM.init(e, n), st.init(e, n);
}), H6 = /* @__PURE__ */ G("ZodKSUID", (e, n) => {
  lM.init(e, n), st.init(e, n);
}), V6 = /* @__PURE__ */ G("ZodIPv4", (e, n) => {
  fM.init(e, n), st.init(e, n);
}), B6 = /* @__PURE__ */ G("ZodIPv6", (e, n) => {
  gM.init(e, n), st.init(e, n);
}), I6 = /* @__PURE__ */ G("ZodCIDRv4", (e, n) => {
  pM.init(e, n), st.init(e, n);
}), U6 = /* @__PURE__ */ G("ZodCIDRv6", (e, n) => {
  vM.init(e, n), st.init(e, n);
}), F6 = /* @__PURE__ */ G("ZodBase64", (e, n) => {
  hM.init(e, n), st.init(e, n);
}), Z6 = /* @__PURE__ */ G("ZodBase64URL", (e, n) => {
  wM.init(e, n), st.init(e, n);
}), G6 = /* @__PURE__ */ G("ZodE164", (e, n) => {
  bM.init(e, n), st.init(e, n);
}), q6 = /* @__PURE__ */ G("ZodJWT", (e, n) => {
  yM.init(e, n), st.init(e, n);
}), ZS = /* @__PURE__ */ G("ZodNumber", (e, n) => {
  DS.init(e, n), lt.init(e, n), e._zod.processJSONSchema = (o, l, s) => Ij(e, o, l), e.gt = (o, l) => e.check(/* @__PURE__ */ Ob(o, l)), e.gte = (o, l) => e.check(/* @__PURE__ */ tg(o, l)), e.min = (o, l) => e.check(/* @__PURE__ */ tg(o, l)), e.lt = (o, l) => e.check(/* @__PURE__ */ Nb(o, l)), e.lte = (o, l) => e.check(/* @__PURE__ */ eg(o, l)), e.max = (o, l) => e.check(/* @__PURE__ */ eg(o, l)), e.int = (o) => e.check(jb(o)), e.safe = (o) => e.check(jb(o)), e.positive = (o) => e.check(/* @__PURE__ */ Ob(0, o)), e.nonnegative = (o) => e.check(/* @__PURE__ */ tg(0, o)), e.negative = (o) => e.check(/* @__PURE__ */ Nb(0, o)), e.nonpositive = (o) => e.check(/* @__PURE__ */ eg(0, o)), e.multipleOf = (o, l) => e.check(/* @__PURE__ */ Db(o, l)), e.step = (o, l) => e.check(/* @__PURE__ */ Db(o, l)), e.finite = () => e;
  const r = e._zod.bag;
  e.minValue = Math.max(r.minimum ?? Number.NEGATIVE_INFINITY, r.exclusiveMinimum ?? Number.NEGATIVE_INFINITY) ?? null, e.maxValue = Math.min(r.maximum ?? Number.POSITIVE_INFINITY, r.exclusiveMaximum ?? Number.POSITIVE_INFINITY) ?? null, e.isInt = (r.format ?? "").includes("int") || Number.isSafeInteger(r.multipleOf ?? 0.5), e.isFinite = !0, e.format = r.format ?? null;
});
function Ue(e) {
  return /* @__PURE__ */ bj(ZS, e);
}
const Y6 = /* @__PURE__ */ G("ZodNumberFormat", (e, n) => {
  SM.init(e, n), ZS.init(e, n);
});
function jb(e) {
  return /* @__PURE__ */ xj(Y6, e);
}
const X6 = /* @__PURE__ */ G("ZodBoolean", (e, n) => {
  kM.init(e, n), lt.init(e, n), e._zod.processJSONSchema = (r, o, l) => Uj(e, r, o);
});
function xe(e) {
  return /* @__PURE__ */ yj(X6, e);
}
const K6 = /* @__PURE__ */ G("ZodUnknown", (e, n) => {
  CM.init(e, n), lt.init(e, n), e._zod.processJSONSchema = (r, o, l) => Zj();
});
function Yt() {
  return /* @__PURE__ */ Sj(K6);
}
const Q6 = /* @__PURE__ */ G("ZodNever", (e, n) => {
  _M.init(e, n), lt.init(e, n), e._zod.processJSONSchema = (r, o, l) => Fj(e, r, o);
});
function J6(e) {
  return /* @__PURE__ */ kj(Q6, e);
}
const W6 = /* @__PURE__ */ G("ZodArray", (e, n) => {
  RM.init(e, n), lt.init(e, n), e._zod.processJSONSchema = (r, o, l) => Kj(e, r, o, l), e.element = n.element, e.min = (r, o) => e.check(/* @__PURE__ */ Rs(r, o)), e.nonempty = (r) => e.check(/* @__PURE__ */ Rs(1, r)), e.max = (r, o) => e.check(/* @__PURE__ */ LS(r, o)), e.length = (r, o) => e.check(/* @__PURE__ */ HS(r, o)), e.unwrap = () => e.element;
});
function kt(e, n) {
  return /* @__PURE__ */ jj(W6, e, n);
}
const e8 = /* @__PURE__ */ G("ZodObject", (e, n) => {
  zM.init(e, n), lt.init(e, n), e._zod.processJSONSchema = (r, o, l) => Qj(e, r, o, l), Ie(e, "shape", () => n.shape), e.keyof = () => gt(Object.keys(e._zod.def.shape)), e.catchall = (r) => e.clone({ ...e._zod.def, catchall: r }), e.passthrough = () => e.clone({ ...e._zod.def, catchall: Yt() }), e.loose = () => e.clone({ ...e._zod.def, catchall: Yt() }), e.strict = () => e.clone({ ...e._zod.def, catchall: J6() }), e.strip = () => e.clone({ ...e._zod.def, catchall: void 0 }), e.extend = (r) => XO(e, r), e.safeExtend = (r) => KO(e, r), e.merge = (r) => QO(e, r), e.pick = (r) => qO(e, r), e.omit = (r) => YO(e, r), e.partial = (...r) => JO(qS, e, r[0]), e.required = (...r) => WO(YS, e, r[0]);
});
function Tt(e, n) {
  const r = {
    type: "object",
    shape: e ?? {},
    ...he(n)
  };
  return new e8(r);
}
const GS = /* @__PURE__ */ G("ZodUnion", (e, n) => {
  $S.init(e, n), lt.init(e, n), e._zod.processJSONSchema = (r, o, l) => Jj(e, r, o, l), e.options = n.options;
});
function Vt(e, n) {
  return new GS({
    type: "union",
    options: e,
    ...he(n)
  });
}
const t8 = /* @__PURE__ */ G("ZodDiscriminatedUnion", (e, n) => {
  GS.init(e, n), TM.init(e, n);
});
function n8(e, n, r) {
  return new t8({
    type: "union",
    options: n,
    discriminator: e,
    ...he(r)
  });
}
const a8 = /* @__PURE__ */ G("ZodIntersection", (e, n) => {
  AM.init(e, n), lt.init(e, n), e._zod.processJSONSchema = (r, o, l) => Wj(e, r, o, l);
});
function r8(e, n) {
  return new a8({
    type: "intersection",
    left: e,
    right: n
  });
}
const o8 = /* @__PURE__ */ G("ZodRecord", (e, n) => {
  NM.init(e, n), lt.init(e, n), e._zod.processJSONSchema = (r, o, l) => e6(e, r, o, l), e.keyType = n.keyType, e.valueType = n.valueType;
});
function ln(e, n, r) {
  return new o8({
    type: "record",
    keyType: e,
    valueType: n,
    ...he(r)
  });
}
const Mg = /* @__PURE__ */ G("ZodEnum", (e, n) => {
  OM.init(e, n), lt.init(e, n), e._zod.processJSONSchema = (o, l, s) => Gj(e, o, l), e.enum = n.entries, e.options = Object.values(n.entries);
  const r = new Set(Object.keys(n.entries));
  e.extract = (o, l) => {
    const s = {};
    for (const u of o)
      if (r.has(u))
        s[u] = n.entries[u];
      else
        throw new Error(`Key ${u} not found in enum`);
    return new Mg({
      ...n,
      checks: [],
      ...he(l),
      entries: s
    });
  }, e.exclude = (o, l) => {
    const s = { ...n.entries };
    for (const u of o)
      if (r.has(u))
        delete s[u];
      else
        throw new Error(`Key ${u} not found in enum`);
    return new Mg({
      ...n,
      checks: [],
      ...he(l),
      entries: s
    });
  };
});
function gt(e, n) {
  const r = Array.isArray(e) ? Object.fromEntries(e.map((o) => [o, o])) : e;
  return new Mg({
    type: "enum",
    entries: r,
    ...he(n)
  });
}
const i8 = /* @__PURE__ */ G("ZodLiteral", (e, n) => {
  DM.init(e, n), lt.init(e, n), e._zod.processJSONSchema = (r, o, l) => qj(e, r, o), e.values = new Set(n.values), Object.defineProperty(e, "value", {
    get() {
      if (n.values.length > 1)
        throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");
      return n.values[0];
    }
  });
});
function W(e, n) {
  return new i8({
    type: "literal",
    values: Array.isArray(e) ? e : [e],
    ...he(n)
  });
}
const l8 = /* @__PURE__ */ G("ZodTransform", (e, n) => {
  MM.init(e, n), lt.init(e, n), e._zod.processJSONSchema = (r, o, l) => Xj(e, r), e._zod.parse = (r, o) => {
    if (o.direction === "backward")
      throw new mS(e.constructor.name);
    r.addIssue = (s) => {
      if (typeof s == "string")
        r.issues.push(wl(s, r.value, n));
      else {
        const u = s;
        u.fatal && (u.continue = !1), u.code ?? (u.code = "custom"), u.input ?? (u.input = r.value), u.inst ?? (u.inst = e), r.issues.push(wl(u));
      }
    };
    const l = n.transform(r.value, r);
    return l instanceof Promise ? l.then((s) => (r.value = s, r)) : (r.value = l, r);
  };
});
function c8(e) {
  return new l8({
    type: "transform",
    transform: e
  });
}
const qS = /* @__PURE__ */ G("ZodOptional", (e, n) => {
  PS.init(e, n), lt.init(e, n), e._zod.processJSONSchema = (r, o, l) => US(e, r, o, l), e.unwrap = () => e._zod.def.innerType;
});
function $b(e) {
  return new qS({
    type: "optional",
    innerType: e
  });
}
const s8 = /* @__PURE__ */ G("ZodExactOptional", (e, n) => {
  jM.init(e, n), lt.init(e, n), e._zod.processJSONSchema = (r, o, l) => US(e, r, o, l), e.unwrap = () => e._zod.def.innerType;
});
function u8(e) {
  return new s8({
    type: "optional",
    innerType: e
  });
}
const d8 = /* @__PURE__ */ G("ZodNullable", (e, n) => {
  $M.init(e, n), lt.init(e, n), e._zod.processJSONSchema = (r, o, l) => t6(e, r, o, l), e.unwrap = () => e._zod.def.innerType;
});
function Pb(e) {
  return new d8({
    type: "nullable",
    innerType: e
  });
}
const f8 = /* @__PURE__ */ G("ZodDefault", (e, n) => {
  PM.init(e, n), lt.init(e, n), e._zod.processJSONSchema = (r, o, l) => a6(e, r, o, l), e.unwrap = () => e._zod.def.innerType, e.removeDefault = e.unwrap;
});
function g8(e, n) {
  return new f8({
    type: "default",
    innerType: e,
    get defaultValue() {
      return typeof n == "function" ? n() : yS(n);
    }
  });
}
const p8 = /* @__PURE__ */ G("ZodPrefault", (e, n) => {
  LM.init(e, n), lt.init(e, n), e._zod.processJSONSchema = (r, o, l) => r6(e, r, o, l), e.unwrap = () => e._zod.def.innerType;
});
function v8(e, n) {
  return new p8({
    type: "prefault",
    innerType: e,
    get defaultValue() {
      return typeof n == "function" ? n() : yS(n);
    }
  });
}
const YS = /* @__PURE__ */ G("ZodNonOptional", (e, n) => {
  HM.init(e, n), lt.init(e, n), e._zod.processJSONSchema = (r, o, l) => n6(e, r, o, l), e.unwrap = () => e._zod.def.innerType;
});
function h8(e, n) {
  return new YS({
    type: "nonoptional",
    innerType: e,
    ...he(n)
  });
}
const m8 = /* @__PURE__ */ G("ZodCatch", (e, n) => {
  VM.init(e, n), lt.init(e, n), e._zod.processJSONSchema = (r, o, l) => o6(e, r, o, l), e.unwrap = () => e._zod.def.innerType, e.removeCatch = e.unwrap;
});
function w8(e, n) {
  return new m8({
    type: "catch",
    innerType: e,
    catchValue: typeof n == "function" ? n : () => n
  });
}
const b8 = /* @__PURE__ */ G("ZodPipe", (e, n) => {
  BM.init(e, n), lt.init(e, n), e._zod.processJSONSchema = (r, o, l) => i6(e, r, o, l), e.in = n.in, e.out = n.out;
});
function Lb(e, n) {
  return new b8({
    type: "pipe",
    in: e,
    out: n
    // ...util.normalizeParams(params),
  });
}
const x8 = /* @__PURE__ */ G("ZodReadonly", (e, n) => {
  IM.init(e, n), lt.init(e, n), e._zod.processJSONSchema = (r, o, l) => l6(e, r, o, l), e.unwrap = () => e._zod.def.innerType;
});
function y8(e) {
  return new x8({
    type: "readonly",
    innerType: e
  });
}
const S8 = /* @__PURE__ */ G("ZodLazy", (e, n) => {
  UM.init(e, n), lt.init(e, n), e._zod.processJSONSchema = (r, o, l) => c6(e, r, o, l), e.unwrap = () => e._zod.def.getter();
});
function XS(e) {
  return new S8({
    type: "lazy",
    getter: e
  });
}
const k8 = /* @__PURE__ */ G("ZodCustom", (e, n) => {
  FM.init(e, n), lt.init(e, n), e._zod.processJSONSchema = (r, o, l) => Yj(e, r);
});
function C8(e, n = {}) {
  return /* @__PURE__ */ $j(k8, e, n);
}
function _8(e) {
  return /* @__PURE__ */ Pj(e);
}
const is = XS(
  () => ln(I(), Yt())
), $n = {
  onSuccess: Vt([is, kt(is)]).optional(),
  onError: Vt([is, kt(is)]).optional()
}, KS = Tt({
  action: W("toolCall"),
  tool: I(),
  arguments: ln(I(), Yt()).optional(),
  resultKey: I().optional(),
  ...$n
}), QS = Tt({
  action: W("sendMessage"),
  content: I(),
  ...$n
}), JS = Tt({
  action: W("updateContext"),
  content: I().optional(),
  structuredContent: ln(I(), Yt()).optional(),
  ...$n
}), WS = Tt({
  action: W("openLink"),
  url: I(),
  ...$n
}), ek = Tt({
  action: W("setState"),
  key: I(),
  value: Yt().optional(),
  ...$n
}), tk = Tt({
  action: W("toggleState"),
  key: I(),
  ...$n
}), nk = Tt({
  action: W("appendState"),
  key: I(),
  value: Yt().optional(),
  index: Vt([Ue(), I()]).optional(),
  ...$n
}), ak = Tt({
  action: W("popState"),
  key: I(),
  index: Vt([Ue(), I()]),
  ...$n
}), rk = Tt({
  action: W("showToast"),
  message: I(),
  description: I().optional(),
  variant: gt(["default", "success", "error", "warning", "info"]).optional(),
  duration: Ue().optional(),
  ...$n
}), ok = Tt({
  action: W("closeOverlay"),
  ...$n
}), ik = Tt({
  action: W("openFilePicker"),
  accept: I().optional(),
  multiple: xe().optional(),
  maxSize: Ue().int().optional(),
  ...$n
}), lk = Tt({
  action: W("fetch"),
  url: I(),
  method: gt(["GET", "POST", "PUT", "PATCH", "DELETE"]).optional(),
  headers: ln(I(), I()).optional(),
  body: Vt([ln(I(), Yt()), I()]).optional(),
  resultKey: I().optional(),
  ...$n
}), Hb = n8("action", [
  KS,
  QS,
  JS,
  WS,
  ek,
  tk,
  nk,
  ak,
  rk,
  ok,
  ik,
  lk
]), sn = Vt([Hb, kt(Hb)]), R8 = {
  toolCall: KS,
  sendMessage: QS,
  updateContext: JS,
  openLink: WS,
  setState: ek,
  toggleState: tk,
  appendState: nk,
  popState: ak,
  showToast: rk,
  closeOverlay: ok,
  openFilePicker: ik,
  fetch: lk
}, Ye = Tt({
  cssClass: I().optional()
}), Np = XS(
  () => ln(I(), Yt())
), De = Ye.extend({
  children: kt(Np).optional()
}), E8 = De.extend({
  type: W("AccordionItem"),
  title: I(),
  value: I().optional()
}), z8 = De.extend({
  type: W("Accordion"),
  multiple: xe().optional(),
  collapsible: xe().optional(),
  defaultValues: kt(I()).optional()
}), T8 = De.extend({
  type: W("Alert"),
  variant: gt(["default", "destructive", "success", "warning", "info"]).optional(),
  icon: I().nullable().optional()
}), A8 = Ye.extend({
  type: W("AlertTitle"),
  content: I()
}), N8 = Ye.extend({
  type: W("AlertDescription"),
  content: I()
}), O8 = De.extend({
  type: W("Badge"),
  label: I().optional(),
  variant: gt([
    "default",
    "secondary",
    "destructive",
    "success",
    "warning",
    "info",
    "outline",
    "ghost"
  ]).optional()
}), D8 = Ye.extend({
  type: W("Button"),
  label: I(),
  icon: I().nullable().optional(),
  variant: gt([
    "default",
    "destructive",
    "outline",
    "secondary",
    "ghost",
    "link",
    "success",
    "warning",
    "info"
  ]).optional(),
  size: gt([
    "default",
    "xs",
    "sm",
    "lg",
    "icon",
    "icon-xs",
    "icon-sm",
    "icon-lg"
  ]).optional(),
  disabled: Vt([xe(), I()]).optional(),
  onClick: sn.optional()
}), M8 = De.extend({
  type: W("ButtonGroup"),
  orientation: gt(["horizontal", "vertical"]).optional()
}), j8 = Ye.extend({
  type: W("Calendar"),
  mode: gt(["single", "multiple", "range"]).optional(),
  name: I().optional(),
  onChange: sn.optional()
}), ck = Tt({
  dataKey: I(),
  label: I().optional(),
  color: I().optional()
}), Op = Ye.extend({
  data: Vt([kt(ln(I(), Yt())), I()]).optional(),
  series: kt(ck),
  xAxis: I().optional(),
  height: Ue().int().optional(),
  showLegend: xe().optional(),
  showTooltip: xe().optional(),
  showGrid: xe().optional()
}), $8 = Op.extend({
  type: W("BarChart"),
  stacked: xe().optional(),
  horizontal: xe().optional(),
  barRadius: Ue().int().optional()
}), P8 = Op.extend({
  type: W("LineChart"),
  curve: gt(["linear", "smooth", "step"]).optional(),
  showDots: xe().optional()
}), L8 = Op.extend({
  type: W("AreaChart"),
  stacked: xe().optional(),
  curve: gt(["linear", "smooth", "step"]).optional(),
  showDots: xe().optional()
}), H8 = Ye.extend({
  type: W("PieChart"),
  data: Vt([kt(ln(I(), Yt())), I()]).optional(),
  dataKey: I(),
  nameKey: I(),
  height: Ue().int().optional(),
  innerRadius: Ue().int().optional(),
  showLabel: xe().optional(),
  paddingAngle: Ue().int().optional(),
  showLegend: xe().optional(),
  showTooltip: xe().optional()
}), V8 = Ye.extend({
  type: W("RadarChart"),
  data: Vt([kt(ln(I(), Yt())), I()]).optional(),
  series: kt(ck),
  axisKey: I().optional(),
  height: Ue().int().optional(),
  filled: xe().optional(),
  showDots: xe().optional(),
  showLegend: xe().optional(),
  showTooltip: xe().optional(),
  showGrid: xe().optional()
}), B8 = Ye.extend({
  type: W("RadialChart"),
  data: Vt([kt(ln(I(), Yt())), I()]).optional(),
  dataKey: I(),
  nameKey: I(),
  height: Ue().int().optional(),
  innerRadius: Ue().int().optional(),
  startAngle: Ue().int().optional(),
  endAngle: Ue().int().optional(),
  showLegend: xe().optional(),
  showTooltip: xe().optional()
}), I8 = De.extend({
  type: W("Card")
}), U8 = De.extend({
  type: W("CardHeader")
}), F8 = De.extend({
  type: W("CardTitle"),
  content: I().optional()
}), Z8 = De.extend({
  type: W("CardDescription"),
  content: I().optional()
}), G8 = De.extend({
  type: W("CardContent")
}), q8 = De.extend({
  type: W("CardFooter")
}), Y8 = Ye.extend({
  type: W("Checkbox"),
  label: I().optional(),
  checked: xe().optional(),
  name: I().optional(),
  value: I().optional(),
  disabled: xe().optional(),
  required: xe().optional(),
  onChange: sn.optional()
}), X8 = Ye.extend({
  type: W("Code"),
  content: I(),
  language: I().optional()
}), K8 = Ye.extend({
  type: W("ComboboxOption"),
  value: I(),
  label: I(),
  disabled: xe().optional()
}), Q8 = De.extend({
  type: W("Combobox"),
  placeholder: I().nullable().optional(),
  searchPlaceholder: I().nullable().optional(),
  name: I().nullable().optional(),
  disabled: xe().optional(),
  onChange: sn.optional()
}), J8 = Tt({
  when: I(),
  children: kt(Np).optional()
}), W8 = Tt({
  type: W("Condition"),
  cases: kt(J8).min(1),
  else: kt(Np).optional()
}), e$ = De.extend({
  type: W("Column")
}), t$ = De.extend({
  type: W("Container")
}), n$ = Tt({
  key: I(),
  header: I(),
  sortable: xe().optional()
}), a$ = Ye.extend({
  type: W("DataTable"),
  columns: kt(n$),
  rows: Vt([kt(ln(I(), Yt())), I()]).optional(),
  searchable: xe().optional(),
  paginated: xe().optional(),
  pageSize: Ue().int().optional(),
  caption: I().optional()
}), r$ = Ye.extend({
  type: W("DatePicker"),
  placeholder: I().optional(),
  name: I().optional(),
  onChange: sn.optional()
}), o$ = De.extend({
  type: W("Dialog"),
  title: I().optional(),
  description: I().optional()
}), i$ = De.extend({
  type: W("Div"),
  style: ln(I(), I()).optional()
}), l$ = Ye.extend({
  type: W("Span"),
  content: I(),
  style: ln(I(), I()).optional()
}), c$ = Ye.extend({
  type: W("DropZone"),
  icon: I().nullable().optional(),
  label: I().optional(),
  description: I().optional(),
  accept: I().optional(),
  multiple: xe().optional(),
  maxSize: Ue().int().optional(),
  disabled: xe().optional(),
  name: I().optional(),
  onChange: sn.optional()
}), s$ = De.extend({
  type: W("Field"),
  title: I(),
  description: I().nullable().optional(),
  disabled: xe().optional()
}), u$ = De.extend({
  type: W("ForEach"),
  key: I()
}), d$ = De.extend({
  type: W("Form"),
  onSubmit: sn.optional()
}), f$ = De.extend({
  type: W("Grid"),
  minColumnWidth: I().optional(),
  columnTemplate: I().optional()
}), Sn = Ye.extend({
  content: I(),
  bold: xe().optional(),
  italic: xe().optional()
}), g$ = Sn.extend({ type: W("Text") }), p$ = Sn.extend({
  type: W("Heading"),
  level: Vt([W(1), W(2), W(3), W(4)]).optional()
}), v$ = Sn.extend({ type: W("H1") }), h$ = Sn.extend({ type: W("H2") }), m$ = Sn.extend({ type: W("H3") }), w$ = Sn.extend({ type: W("H4") }), b$ = Sn.extend({ type: W("P") }), x$ = Sn.extend({ type: W("Lead") }), y$ = Sn.extend({ type: W("Large") }), S$ = Sn.extend({ type: W("Small") }), k$ = Sn.extend({ type: W("Muted") }), C$ = Sn.extend({
  type: W("BlockQuote")
}), _$ = Sn.extend({
  type: W("InlineCode")
}), R$ = De.extend({
  type: W("HoverCard"),
  side: gt(["top", "right", "bottom", "left"]).optional(),
  openDelay: Ue().optional(),
  closeDelay: Ue().optional()
}), E$ = Ye.extend({
  type: W("Icon"),
  name: I(),
  size: gt(["sm", "default", "lg"]).optional()
}), z$ = Ye.extend({
  type: W("Image"),
  src: I(),
  alt: I().optional(),
  width: I().optional(),
  height: I().optional()
}), T$ = Ye.extend({
  type: W("Input"),
  inputType: gt([
    "text",
    "email",
    "password",
    "number",
    "tel",
    "url",
    "search",
    "date",
    "time",
    "datetime-local",
    "file"
  ]).optional(),
  placeholder: I().optional(),
  value: I().optional(),
  name: I().optional(),
  disabled: xe().optional(),
  required: xe().optional(),
  minLength: Ue().int().optional(),
  maxLength: Ue().int().optional(),
  min: Ue().optional(),
  max: Ue().optional(),
  step: Ue().optional(),
  pattern: I().optional(),
  onChange: sn.optional()
}), A$ = De.extend({
  type: W("Label"),
  text: I().optional(),
  forId: I().optional()
}), N$ = Ye.extend({
  type: W("Markdown"),
  content: I()
}), O$ = De.extend({
  type: W("Page"),
  title: I(),
  value: I().optional()
}), D$ = De.extend({
  type: W("Pages"),
  defaultValue: I().optional(),
  name: I().optional()
}), M$ = De.extend({
  type: W("Popover"),
  title: I().optional(),
  description: I().optional(),
  side: gt(["top", "right", "bottom", "left"]).optional()
}), j$ = Ye.extend({
  type: W("Progress"),
  value: Vt([Ue(), I()]).optional(),
  max: Ue().optional(),
  indicatorClass: I().optional()
}), $$ = De.extend({
  type: W("RadioGroup"),
  name: I().optional(),
  onChange: sn.optional()
}), P$ = Ye.extend({
  type: W("Radio"),
  value: I(),
  label: I().optional(),
  checked: xe().optional(),
  name: I().optional(),
  disabled: xe().optional(),
  required: xe().optional()
}), L$ = De.extend({
  type: W("Row")
}), H$ = De.extend({
  type: W("Select"),
  placeholder: I().optional(),
  name: I().optional(),
  size: gt(["sm", "default"]).optional(),
  disabled: xe().optional(),
  required: xe().optional(),
  onChange: sn.optional()
}), V$ = Ye.extend({
  type: W("SelectOption"),
  value: I(),
  label: I(),
  selected: xe().optional(),
  disabled: xe().optional()
}), B$ = Ye.extend({
  type: W("Separator"),
  orientation: gt(["horizontal", "vertical"]).optional()
}), I$ = De.extend({
  type: W("Slot"),
  name: I()
}), U$ = Ye.extend({
  type: W("Slider"),
  min: Ue().optional(),
  max: Ue().optional(),
  value: Ue().optional(),
  step: Ue().optional(),
  name: I().optional(),
  disabled: xe().optional(),
  onChange: sn.optional()
}), F$ = Ye.extend({
  type: W("Loader"),
  variant: gt(["spin", "dots", "pulse", "bars", "ios"]).optional(),
  size: gt(["sm", "default", "lg"]).optional()
}), Z$ = Ye.extend({
  type: W("Switch"),
  label: I().nullable().optional(),
  checked: xe().optional(),
  size: gt(["sm", "default"]).optional(),
  name: I().optional(),
  disabled: xe().optional(),
  required: xe().optional(),
  onChange: sn.optional()
}), G$ = De.extend({
  type: W("Table")
}), q$ = De.extend({
  type: W("TableHeader")
}), Y$ = De.extend({
  type: W("TableBody")
}), X$ = De.extend({
  type: W("TableFooter")
}), K$ = De.extend({
  type: W("TableRow")
}), Q$ = De.extend({
  type: W("TableHead"),
  content: I().optional()
}), J$ = De.extend({
  type: W("TableCell"),
  content: I().optional()
}), W$ = Ye.extend({
  type: W("TableCaption"),
  content: I()
}), e9 = Tt({
  key: I(),
  header: I(),
  sortable: xe().optional()
});
Ye.extend({
  type: W("DataTable"),
  columns: kt(e9),
  rows: Vt([kt(ln(I(), Yt())), I()]).optional(),
  searchable: xe().optional(),
  paginated: xe().optional(),
  pageSize: Ue().int().optional(),
  caption: I().optional()
});
const t9 = De.extend({
  type: W("Tab"),
  title: I(),
  value: I().optional(),
  disabled: xe().optional()
}), n9 = De.extend({
  type: W("Tabs"),
  variant: gt(["default", "line"]).optional(),
  defaultValue: I().optional(),
  name: I().optional(),
  onChange: sn.optional()
}), a9 = Ye.extend({
  type: W("Textarea"),
  placeholder: I().optional(),
  value: I().optional(),
  name: I().optional(),
  rows: Ue().int().optional(),
  disabled: xe().optional(),
  required: xe().optional(),
  minLength: Ue().int().optional(),
  maxLength: Ue().int().optional(),
  onChange: sn.optional()
}), r9 = De.extend({
  type: W("Tooltip"),
  content: I(),
  side: gt(["top", "right", "bottom", "left"]).optional(),
  delay: Ue().optional()
}), o9 = {
  Accordion: z8,
  AccordionItem: E8,
  Alert: T8,
  AlertTitle: A8,
  AlertDescription: N8,
  AreaChart: L8,
  Badge: O8,
  BarChart: $8,
  BlockQuote: C$,
  Button: D8,
  ButtonGroup: M8,
  Calendar: j8,
  Card: I8,
  CardHeader: U8,
  CardTitle: F8,
  CardDescription: Z8,
  CardContent: G8,
  CardFooter: q8,
  Checkbox: Y8,
  Code: X8,
  Combobox: Q8,
  ComboboxOption: K8,
  Condition: W8,
  Column: e$,
  Container: t$,
  DataTable: a$,
  DatePicker: r$,
  Dialog: o$,
  Div: i$,
  DropZone: c$,
  Field: s$,
  ForEach: u$,
  Form: d$,
  Grid: f$,
  H1: v$,
  H2: h$,
  H3: m$,
  H4: w$,
  Heading: p$,
  HoverCard: R$,
  Icon: E$,
  Image: z$,
  InlineCode: _$,
  Input: T$,
  Label: A$,
  Large: y$,
  Lead: x$,
  LineChart: P8,
  Markdown: N$,
  Muted: k$,
  P: b$,
  Page: O$,
  Pages: D$,
  PieChart: H8,
  RadarChart: V8,
  RadialChart: B8,
  Popover: M$,
  Progress: j$,
  Radio: P$,
  RadioGroup: $$,
  Row: L$,
  Select: H$,
  SelectOption: V$,
  Separator: B$,
  Slider: U$,
  Slot: I$,
  Small: S$,
  Loader: F$,
  Span: l$,
  Switch: Z$,
  Tab: t9,
  Table: G$,
  TableBody: Y$,
  TableCaption: W$,
  TableCell: J$,
  TableFooter: X$,
  TableHead: Q$,
  TableHeader: q$,
  TableRow: K$,
  Tabs: n9,
  Text: g$,
  Textarea: a9,
  Tooltip: r9
};
function i9(e) {
  const n = o9[e.type];
  if (!n) {
    const o = {
      kind: "unknown_type",
      message: `Unknown component: "${e.type}"`,
      issues: [`"${e.type}" is not a registered component type`]
    };
    return console.warn("[Prefab] Validation error:", o.message, { node: e }), o;
  }
  const r = n.safeParse(e);
  if (!r.success) {
    const o = r.error.issues.map(
      (s) => `${s.path.join(".")}: ${s.message}`
    ), l = {
      kind: "schema_error",
      message: `Invalid <${e.type}> props`,
      issues: o
    };
    return console.warn("[Prefab] Validation error:", l.message, {
      issues: o,
      node: e
    }), l;
  }
  return null;
}
function l9(e) {
  const n = R8[e.action];
  if (!n) {
    const o = {
      kind: "unknown_type",
      message: `Unknown action: "${e.action}"`,
      issues: [`"${e.action}" is not a registered action type`]
    };
    return console.warn("[Prefab] Action validation error:", o.message, {
      action: e
    }), o;
  }
  const r = n.safeParse(e);
  if (!r.success) {
    const o = r.error.issues.map(
      (s) => `${s.path.join(".")}: ${s.message}`
    ), l = {
      kind: "schema_error",
      message: `Invalid "${e.action}" action`,
      issues: o
    };
    return console.warn("[Prefab] Action validation error:", l.message, {
      issues: o,
      action: e
    }), l;
  }
  return null;
}
const c9 = 10;
function ng(e) {
  const n = e.content;
  return n != null && n.length && n.filter((r) => r.type === "text" && r.text).map((r) => r.text).join(`
`) || "Unknown error";
}
function s9(e) {
  const n = e.state;
  if (!n) return;
  const r = Object.entries(n);
  return r.length === 1 ? r[0][1] : n;
}
async function u9(e, n, r, o, l = 0, s, u, f) {
  var y;
  if (l > c9)
    return console.warn("[Prefab] Action callback depth limit exceeded"), !1;
  const g = {
    ...r.getAll(),
    ...u,
    $event: o,
    $error: s
  }, p = qr(
    e,
    g
  );
  if (l9(p))
    return !1;
  let h = !0, S;
  try {
    switch (p.action) {
      // ── Server actions ──────────────────────────────────────────
      case "toolCall": {
        const C = p.tool, k = p.arguments ?? {}, R = await (n == null ? void 0 : n.callServerTool({ name: C, arguments: k }));
        if (R != null && R.isError) {
          h = !1, S = ng(R);
          break;
        }
        const E = p.resultKey;
        if (E && (R != null && R.structuredContent)) {
          const z = s9(
            R.structuredContent
          );
          r.set(E, z);
        }
        break;
      }
      case "sendMessage": {
        const C = p.content, k = await (n == null ? void 0 : n.sendMessage({
          role: "user",
          content: [{ type: "text", text: C }]
        }));
        k != null && k.isError && (h = !1, S = ng(k));
        break;
      }
      case "updateContext": {
        await (n == null ? void 0 : n.updateModelContext({
          content: p.content ? [{ type: "text", text: p.content }] : void 0,
          structuredContent: p.structuredContent
        }));
        break;
      }
      case "openLink": {
        const C = await (n == null ? void 0 : n.openLink({ url: p.url }));
        C != null && C.isError && (h = !1, S = ng(C));
        break;
      }
      // ── Client actions (synchronous, always succeed) ────────────
      case "setState": {
        r.set(p.key, p.value);
        break;
      }
      case "toggleState": {
        const C = p.key;
        r.set(C, !r.get(C));
        break;
      }
      case "appendState": {
        const C = p.key, k = r.get(C);
        if (k != null && !Array.isArray(k)) {
          console.warn(`[Prefab] appendState: "${C}" is not an array`);
          break;
        }
        const R = Array.isArray(k) ? [...k] : [], E = p.index;
        if (E != null) {
          const z = E < 0 ? Math.max(0, R.length + E) : E;
          R.splice(z, 0, p.value);
        } else
          R.push(p.value);
        r.set(C, R);
        break;
      }
      case "popState": {
        const C = p.key, k = p.index, R = r.get(C);
        if (!Array.isArray(R)) {
          console.warn(`[Prefab] popState: "${C}" is not an array`);
          break;
        }
        const E = k < 0 ? R.length + k : k;
        r.set(
          C,
          R.filter((z, T) => T !== E)
        );
        break;
      }
      case "showToast": {
        const C = p.message, k = {
          description: p.description,
          duration: p.duration
        }, R = p.variant;
        R === "success" ? Gr.success(C, k) : R === "error" ? Gr.error(C, k) : R === "warning" ? Gr.warning(C, k) : R === "info" ? Gr.info(C, k) : Gr(C, k);
        break;
      }
      case "closeOverlay": {
        f == null || f();
        break;
      }
      case "fetch": {
        const C = p.url, k = p.method ?? "GET", R = p.headers ?? {}, E = p.body, z = { method: k, headers: { ...R } };
        E != null && k !== "GET" && k !== "HEAD" && (typeof E == "object" ? (z.body = JSON.stringify(E), (y = z.headers)["Content-Type"] ?? (y["Content-Type"] = "application/json")) : z.body = E);
        const T = await globalThis.fetch(C, z);
        if (!T.ok)
          throw new Error(`${T.status} ${T.statusText}`);
        const N = T.headers.get("content-type") ?? "";
        let $;
        if (N.includes("application/json"))
          $ = await T.json();
        else {
          const q = await T.text();
          try {
            $ = JSON.parse(q);
          } catch {
            $ = q;
          }
        }
        const U = p.resultKey;
        return U && r.set(U, $), p.onSuccess && await fl(
          p.onSuccess,
          n,
          r,
          $,
          l + 1,
          void 0,
          u,
          f
        ), !0;
      }
      case "openFilePicker": {
        const C = p.accept, k = p.multiple ?? !1, R = p.maxSize, E = await new Promise((z, T) => {
          const N = document.createElement("input");
          N.type = "file", C && (N.accept = C), k && (N.multiple = !0), N.style.display = "none", document.body.appendChild(N), N.addEventListener("change", async () => {
            try {
              let U = Array.from(N.files ?? []);
              U = q1(U, C);
              const q = await G1(U, { multiple: k, maxSize: R });
              z(q);
            } catch (U) {
              T(U);
            } finally {
              document.body.removeChild(N);
            }
          });
          const $ = () => {
            setTimeout(() => {
              document.body.contains(N) && (document.body.removeChild(N), z(null)), window.removeEventListener("focus", $);
            }, 300);
          };
          window.addEventListener("focus", $), N.click();
        });
        return E == null || p.onSuccess && await fl(
          p.onSuccess,
          n,
          r,
          E,
          l + 1,
          void 0,
          u,
          f
        ), !0;
      }
    }
  } catch (C) {
    h = !1, S = C instanceof Error ? C.message : String(C);
  }
  return h && p.onSuccess ? await fl(
    p.onSuccess,
    n,
    r,
    void 0,
    l + 1,
    void 0,
    u,
    f
  ) : !h && p.onError && await fl(
    p.onError,
    n,
    r,
    void 0,
    l + 1,
    S,
    u,
    f
  ), h;
}
async function fl(e, n, r, o, l = 0, s, u, f) {
  const g = Array.isArray(e) ? e : [e];
  for (const p of g)
    if (!await u9(
      p,
      n,
      r,
      o,
      l,
      s,
      u,
      f
    )) break;
}
function d9(e, n) {
  const r = e.trim();
  if (!r) return !1;
  try {
    let o = r;
    return o.startsWith("{{") && o.endsWith("}}") && (o = o.slice(2, -2).trim()), !!Ng(o, n);
  } catch {
    return console.warn(
      `[Prefab] Failed to parse condition expression: "${e}". Falling back to key lookup.`
    ), !!n[r];
  }
}
function f9({ error: e, node: n }) {
  const [r, o] = w.useState(!1);
  return /* @__PURE__ */ b.jsxs(
    "div",
    {
      role: "alert",
      className: "rounded-md border border-destructive/50 bg-destructive/10 p-3 text-sm",
      children: [
        /* @__PURE__ */ b.jsxs("div", { className: "flex items-start justify-between gap-2", children: [
          /* @__PURE__ */ b.jsx("p", { className: "font-medium text-destructive", children: e.message }),
          /* @__PURE__ */ b.jsx(
            "button",
            {
              type: "button",
              onClick: () => o(!r),
              className: "shrink-0 text-xs text-muted-foreground hover:text-foreground",
              children: r ? "Hide" : "Details"
            }
          )
        ] }),
        r && /* @__PURE__ */ b.jsxs("div", { className: "mt-2 space-y-2", children: [
          e.issues.length > 0 && /* @__PURE__ */ b.jsx("ul", { className: "list-inside list-disc space-y-0.5 text-xs text-muted-foreground", children: e.issues.map((l, s) => /* @__PURE__ */ b.jsx("li", { children: l }, s)) }),
          /* @__PURE__ */ b.jsx("pre", { className: "max-h-40 overflow-auto rounded bg-muted p-2 text-xs", children: JSON.stringify(n, null, 2) })
        ] })
      ]
    }
  );
}
const sk = /* @__PURE__ */ new Set(["onClick", "onChange", "onSubmit"]), Vb = {
  Select: ["value", "label", "selected", "disabled"],
  RadioGroup: ["value", "label", "checked", "disabled"],
  Combobox: ["value", "label", "disabled"]
};
function g9(e, n, r, o, l) {
  const s = { ...e };
  for (const u of sk) {
    const f = s[u];
    if (!f || typeof f == "function") continue;
    const g = f;
    s[u] = async (p) => {
      let m = p;
      if (p && typeof p == "object" && "target" in p) {
        const h = p.target;
        h.type === "checkbox" ? m = h.checked : m = h.value;
      }
      Array.isArray(p) && typeof p[0] == "number" && (m = p[0]), await fl(
        g,
        n,
        r,
        m,
        0,
        void 0,
        o,
        l
      );
    };
  }
  return s;
}
function p9(e, n) {
  const r = { ...n };
  if ((e === "Button" || e === "Badge") && "label" in r && (r._textContent = r.label, delete r.label), (e === "Text" || e === "Heading" || e === "P" || e === "Lead" || e === "Large" || e === "Small" || e === "Muted" || e === "InlineCode" || e === "BlockQuote" || e === "H1" || e === "H2" || e === "H3" || e === "H4" || e === "Label") && ("text" in r ? (r._textContent = r.text, delete r.text) : "content" in r && (r._textContent = r.content, delete r.content)), e === "CardTitle" || e === "CardDescription" || e === "AlertTitle" || e === "AlertDescription")
    for (const o of ["title", "description", "text", "content"])
      o in r && (r._textContent = r[o], delete r[o]);
  if ((e === "TableHead" || e === "TableCell" || e === "TableCaption") && "content" in r && (r._textContent = r.content, delete r.content), e === "Input" && "inputType" in r && (r.type = r.inputType, delete r.inputType), e === "Label" && "forId" in r && (r.htmlFor = r.forId, delete r.forId), e === "Slider" && ("onChange" in r && (r.onValueChange = r.onChange, delete r.onChange), "value" in r && typeof r.value == "number" && (r.onValueChange ? r.value = [r.value] : (r.defaultValue = [r.value], delete r.value)), "defaultValue" in r && typeof r.defaultValue == "number" && (r.defaultValue = [r.defaultValue]), "min" in r && (r.min = Number(r.min)), "max" in r && (r.max = Number(r.max)), "step" in r && (r.step = Number(r.step))), e === "Progress") {
    const o = r.max ?? 100, l = r.value ?? 0;
    o !== 100 && o > 0 && (r.value = l / o * 100), delete r.max, "indicatorClass" in r && (r.indicatorClassName = r.indicatorClass, delete r.indicatorClass);
  }
  return (e === "Select" || e === "RadioGroup") && "onChange" in r && (r.onValueChange = r.onChange, delete r.onChange), (e === "Checkbox" || e === "Switch") && "onChange" in r && (r.onCheckedChange = r.onChange, delete r.onChange), (e === "Calendar" || e === "DatePicker") && "onChange" in r && (r.onSelect = r.onChange, delete r.onChange), "cssClass" in r && (r.className = r.cssClass, delete r.cssClass), r;
}
function v9(e) {
  const n = { ...e };
  return delete n._textContent, n;
}
function za({ node: e, scope: n, state: r, app: o }) {
  var F;
  const l = wO();
  if ("$ref" in e && typeof e.$ref == "string") {
    const ee = n.$defs || {}, Q = e.$ref, J = ee[Q];
    if (!J)
      return console.warn(`[Prefab] Unknown $ref: "${Q}"`), null;
    const te = n.$resolving || /* @__PURE__ */ new Set();
    if (te.has(Q))
      return console.warn(`[Prefab] Circular $ref: "${Q}"`), null;
    let re = {
      ...n,
      $resolving: /* @__PURE__ */ new Set([...te, Q])
    };
    const le = e.let;
    if (le) {
      const B = { ...r.getAll(), ...re }, j = qr(le, B);
      re = { ...re, ...j };
    }
    const pe = e.cssClass, O = /* @__PURE__ */ b.jsx(za, { node: J, scope: re, state: r, app: o });
    return pe ? /* @__PURE__ */ b.jsx("div", { className: pe, children: O }) : O;
  }
  const { type: s, children: u, ...f } = e, g = i9(e);
  if (g)
    return /* @__PURE__ */ b.jsx(f9, { error: g, node: e });
  const p = $O[s];
  if (!p)
    return console.warn(`[Prefab] Unknown component type: ${s}`), null;
  const m = {
    ...r.getAll(),
    ...n
  }, h = {}, S = {};
  for (const [ee, Q] of Object.entries(f))
    sk.has(ee) && Q != null && typeof Q == "object" ? S[ee] = Q : h[ee] = Q;
  const y = qr(h, m), C = { ...y, ...S }, k = g9(C, o, r, n, l), R = p9(s, k), E = R._textContent, z = v9(R);
  if (s in Vb && u) {
    const ee = Vb[s], Q = u.map((J) => {
      const te = {};
      for (const re of ee)
        if (re in J) {
          const le = J[re];
          te[re] = typeof le == "string" ? Cs(le, m) : le;
        }
      return te;
    });
    if (z._items = Q, "name" in z && typeof z.name == "string") {
      const J = z.name, te = r.get(J);
      te !== void 0 && (z.value = String(te)), z.onValueChange || (z.onValueChange = (re) => r.set(J, re));
    }
    return /* @__PURE__ */ b.jsx(p, { ...z, children: E });
  }
  if ("name" in z && typeof z.name == "string") {
    const ee = z.name, Q = r.get(ee);
    s === "Input" || s === "Textarea" ? (Q !== void 0 && (z.value = String(Q)), z.onChange || (z.onChange = (J) => {
      r.set(ee, J.target.value);
    })) : s === "Checkbox" || s === "Switch" ? (Q !== void 0 && (z.checked = !!Q), z.onCheckedChange || (z.onCheckedChange = (J) => {
      r.set(ee, J);
    })) : s === "Slider" ? (Q !== void 0 && (z.value = [Number(Q)]), z.onValueChange || (z.onValueChange = (J) => {
      r.set(ee, J[0]);
    })) : s === "Calendar" || s === "DatePicker" ? (Q !== void 0 && (z.value = String(Q)), z.onSelect || (z.onSelect = (J) => {
      r.set(ee, J);
    })) : s === "DropZone" && (z.onChange || (z.onChange = (J) => {
      if (Array.isArray(J)) {
        const te = r.get(ee);
        r.set(ee, [...Array.isArray(te) ? te : [], ...J]);
      } else
        r.set(ee, J);
    }));
  }
  if ((/* @__PURE__ */ new Set(["Tabs", "Accordion", "Pages"])).has(s) && u) {
    const ee = u.map((Q, J) => {
      var te;
      return {
        title: Q.title ?? `Item ${J + 1}`,
        value: Q.value ?? Q.title ?? `item-${J}`,
        disabled: Q.disabled ?? !1,
        content: /* @__PURE__ */ b.jsx(b.Fragment, { children: (te = Q.children) == null ? void 0 : te.map((re, le) => /* @__PURE__ */ b.jsx(
          za,
          {
            node: re,
            scope: n,
            state: r,
            app: o
          },
          `${J}-${le}`
        )) })
      };
    });
    if ("name" in z && typeof z.name == "string") {
      const Q = z.name, J = r.get(Q);
      J !== void 0 && (z.value = String(J)), z.onValueChange || (z.onValueChange = (te) => r.set(Q, te));
    }
    return z._panels = ee, /* @__PURE__ */ b.jsx(p, { ...z });
  }
  if (s === "ForEach" && u) {
    let ee = f.key ?? f.itemKey;
    ee && (ee = Cs(ee, m));
    const Q = ee ? h9(ee, m) : [];
    if (!Array.isArray(Q)) return null;
    const J = f.cssClass, te = J ? `w-full ${J}` : "contents";
    return /* @__PURE__ */ b.jsx("div", { className: te, children: Q.map((re, le) => {
      let pe = typeof re == "object" && re !== null ? {
        ...n,
        ...re,
        $index: le,
        $item: re
      } : { ...n, $index: le, $item: re };
      const O = f.let;
      if (O) {
        const B = { ...r.getAll(), ...pe }, j = qr(O, B);
        pe = { ...pe, ...j };
      }
      return u.map((B, j) => /* @__PURE__ */ b.jsx(
        za,
        {
          node: B,
          scope: pe,
          state: r,
          app: o
        },
        `${le}-${j}`
      ));
    }) });
  }
  if (s === "Condition") {
    const ee = f.cases, Q = f.else, J = { ...r.getAll(), ...n };
    if (ee) {
      for (const te of ee)
        if (d9(te.when, J))
          return /* @__PURE__ */ b.jsx(b.Fragment, { children: (F = te.children) == null ? void 0 : F.map((re, le) => /* @__PURE__ */ b.jsx(
            za,
            {
              node: re,
              scope: n,
              state: r,
              app: o
            },
            le
          )) });
    }
    return Q ? /* @__PURE__ */ b.jsx(b.Fragment, { children: Q.map((te, re) => /* @__PURE__ */ b.jsx(
      za,
      {
        node: te,
        scope: n,
        state: r,
        app: o
      },
      re
    )) }) : null;
  }
  if (s === "Slot") {
    const ee = y.name, Q = ee ? r.get(ee) : void 0;
    return Q != null && typeof Q == "object" && "type" in Q ? /* @__PURE__ */ b.jsx(
      za,
      {
        node: Q,
        scope: n,
        state: r,
        app: o
      }
    ) : u && u.length > 0 ? /* @__PURE__ */ b.jsx(b.Fragment, { children: u.map((J, te) => /* @__PURE__ */ b.jsx(
      za,
      {
        node: J,
        scope: n,
        state: r,
        app: o
      },
      te
    )) }) : null;
  }
  let N = n;
  const $ = f.let;
  if ($) {
    const ee = qr($, m);
    N = { ...n, ...ee };
  }
  const U = u == null ? void 0 : u.map((ee, Q) => /* @__PURE__ */ b.jsx(
    za,
    {
      node: ee,
      scope: N,
      state: r,
      app: o
    },
    Q
  ));
  return E != null || U && U.length > 0 ? /* @__PURE__ */ b.jsxs(p, { ...z, children: [
    E,
    U
  ] }) : /* @__PURE__ */ b.jsx(p, { ...z });
}
function h9(e, n) {
  const r = e.split(".");
  let o = n;
  for (const l of r) {
    if (o == null || typeof o != "object") return;
    o = o[l];
  }
  return o;
}
function m9({
  tree: e,
  defs: n,
  state: r,
  app: o
}) {
  const l = n ? { $defs: n } : {};
  return /* @__PURE__ */ b.jsx(za, { node: e, scope: l, state: r, app: o });
}
function uk(e) {
  return /^\d+$/.test(e);
}
function w9(e, n) {
  const r = n.split(".");
  let o = e;
  for (const l of r) {
    if (o == null) return;
    if (uk(l)) {
      if (!Array.isArray(o)) return;
      o = o[Number(l)];
    } else {
      if (typeof o != "object" || Array.isArray(o))
        return;
      o = o[l];
    }
  }
  return o;
}
function jg(e, n, r) {
  const o = n.split(".");
  if (o.length === 1)
    return { ...e, [o[0]]: r };
  const [l, ...s] = o, u = e[l];
  if (u == null)
    return console.warn(
      `[Prefab] setByPath: "${l}" is ${u}, cannot set "${n}"`
    ), e;
  const f = s.join("."), g = s[0];
  if (uk(g)) {
    if (!Array.isArray(u))
      return console.warn(
        `[Prefab] setByPath: "${l}" is not an array, cannot index with "${g}" in "${n}"`
      ), e;
    const p = Number(g);
    if (p < 0 || p >= u.length)
      return console.warn(
        `[Prefab] setByPath: index ${p} out of bounds for "${l}" (length ${u.length}) in "${n}"`
      ), e;
    if (s.length === 1) {
      const y = [...u];
      return y[p] = r, { ...e, [l]: y };
    }
    const m = u[p];
    if (typeof m != "object" || m == null)
      return console.warn(
        `[Prefab] setByPath: element at "${l}.${p}" is not an object, cannot traverse further in "${n}"`
      ), e;
    const h = jg(
      m,
      s.slice(1).join("."),
      r
    ), S = [...u];
    return S[p] = h, { ...e, [l]: S };
  }
  return typeof u != "object" || Array.isArray(u) ? (console.warn(
    `[Prefab] setByPath: "${l}" is not an object, cannot traverse "${n}"`
  ), e) : {
    ...e,
    [l]: jg(u, f, r)
  };
}
function b9(e) {
  const [n, r] = w.useState(e ?? {}), o = w.useCallback(
    (g) => g.includes(".") ? w9(n, g) : n[g],
    [n]
  ), l = w.useCallback(() => n, [n]), s = w.useCallback((g, p) => {
    r(
      (m) => g.includes(".") ? jg(m, g, p) : { ...m, [g]: p }
    );
  }, []), u = w.useCallback((g) => {
    r((p) => ({ ...p, ...g }));
  }, []), f = w.useCallback((g) => {
    r(g ?? {});
  }, []);
  return { get: o, getAll: l, set: s, merge: u, reset: f };
}
const x9 = `:root, :host {
  --tw-animation-delay: 0s;
  --tw-animation-iteration-count: 1;
  --tw-enter-blur: 0;
  --tw-enter-opacity: 1;
  --tw-enter-rotate: 0;
  --tw-enter-scale: 1;
  --tw-enter-translate-x: 0;
  --tw-enter-translate-y: 0;
  --tw-exit-blur: 0;
  --tw-exit-opacity: 1;
  --tw-exit-rotate: 0;
  --tw-exit-scale: 1;
  --tw-exit-translate-x: 0;
  --tw-exit-translate-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-translate-z: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-scale-z: 1;
  --tw-space-y-reverse: 0;
  --tw-space-x-reverse: 0;
  --tw-divide-x-reverse: 0;
  --tw-border-style: solid;
  --tw-divide-y-reverse: 0;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-alpha: 100%;
  --tw-inset-shadow: 0 0 #0000;
  --tw-inset-shadow-alpha: 100%;
  --tw-ring-shadow: 0 0 #0000;
  --tw-inset-ring-shadow: 0 0 #0000;
  --tw-ring-offset-width: 0;
  --tw-ring-offset-color: #fff;
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-outline-style: solid;
  --tw-drop-shadow-alpha: 100%;
}
/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-divide-x-reverse:0;--tw-border-style:solid;--tw-divide-y-reverse:0;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-content:"";--tw-animation-delay:0s;--tw-animation-direction:normal;--tw-animation-duration:initial;--tw-animation-fill-mode:none;--tw-animation-iteration-count:1;--tw-enter-blur:0;--tw-enter-opacity:1;--tw-enter-rotate:0;--tw-enter-scale:1;--tw-enter-translate-x:0;--tw-enter-translate-y:0;--tw-exit-blur:0;--tw-exit-opacity:1;--tw-exit-rotate:0;--tw-exit-scale:1;--tw-exit-translate-x:0;--tw-exit-translate-y:0;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-orange-50:oklch(98% .016 73.684);--color-orange-100:oklch(95.4% .038 75.164);--color-orange-200:oklch(90.1% .076 70.697);--color-orange-500:oklch(70.5% .213 47.604);--color-amber-50:oklch(98.7% .022 95.277);--color-amber-100:oklch(96.2% .059 95.617);--color-amber-500:oklch(76.9% .188 70.08);--color-yellow-50:oklch(98.7% .026 102.212);--color-yellow-100:oklch(97.3% .071 103.193);--color-yellow-500:oklch(79.5% .184 86.047);--color-green-50:oklch(98.2% .018 155.826);--color-green-100:oklch(96.2% .044 156.743);--color-green-200:oklch(92.5% .084 155.995);--color-green-500:oklch(72.3% .219 149.579);--color-green-600:oklch(62.7% .194 149.214);--color-emerald-50:oklch(97.9% .021 166.113);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-200:oklch(90.5% .093 164.15);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-600:oklch(59.6% .145 163.225);--color-teal-50:oklch(98.4% .014 180.72);--color-teal-100:oklch(95.3% .051 180.801);--color-teal-500:oklch(70.4% .14 182.503);--color-cyan-50:oklch(98.4% .019 200.873);--color-cyan-100:oklch(95.6% .045 203.388);--color-cyan-500:oklch(71.5% .143 215.221);--color-sky-50:oklch(97.7% .013 236.62);--color-sky-100:oklch(95.1% .026 236.824);--color-sky-500:oklch(68.5% .169 237.323);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-indigo-50:oklch(96.2% .018 272.314);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-500:oklch(58.5% .233 277.117);--color-violet-50:oklch(96.9% .016 293.756);--color-violet-100:oklch(94.3% .029 294.588);--color-violet-500:oklch(60.6% .25 292.717);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-500:oklch(62.7% .265 303.9);--color-pink-50:oklch(97.1% .014 343.198);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-500:oklch(65.6% .241 354.308);--color-rose-50:oklch(96.9% .015 12.422);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-500:oklch(64.5% .246 16.439);--color-slate-50:oklch(98.4% .003 247.858);--color-slate-100:oklch(96.8% .007 247.896);--color-slate-200:oklch(92.9% .013 255.508);--color-slate-400:oklch(70.4% .04 256.788);--color-slate-500:oklch(55.4% .046 257.417);--color-slate-600:oklch(44.6% .043 257.281);--color-slate-800:oklch(27.9% .041 260.031);--color-slate-900:oklch(20.8% .042 265.755);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-800:oklch(27.8% .033 256.848);--color-gray-900:oklch(21% .034 264.665);--color-zinc-50:oklch(98.5% 0 0);--color-zinc-100:oklch(96.7% .001 286.375);--color-zinc-200:oklch(92% .004 286.32);--color-zinc-400:oklch(70.5% .015 286.067);--color-zinc-500:oklch(55.2% .016 285.938);--color-zinc-600:oklch(44.2% .017 285.786);--color-zinc-800:oklch(27.4% .006 286.033);--color-zinc-900:oklch(21% .006 285.885);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-xs:20rem;--container-sm:24rem;--container-md:28rem;--container-lg:32rem;--container-xl:36rem;--container-2xl:42rem;--container-4xl:56rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-3xl:1.875rem;--text-3xl--line-height: 1.2 ;--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5/2.25);--text-5xl:3rem;--text-5xl--line-height:1;--font-weight-thin:100;--font-weight-light:300;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--font-weight-extrabold:800;--tracking-tighter:-.05em;--tracking-tight:-.025em;--tracking-normal:0em;--tracking-wide:.025em;--tracking-wider:.05em;--tracking-widest:.1em;--leading-tight:1.25;--leading-snug:1.375;--leading-normal:1.5;--leading-relaxed:1.625;--leading-loose:2;--radius-md:calc(var(--radius) - 2px);--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-spin:spin 1s linear infinite;--blur-xs:4px;--aspect-video:16/9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--radius:.625rem;--color-border:var(--border);--color-chart-1:var(--chart-1);--color-chart-2:var(--chart-2);--color-chart-3:var(--chart-3);--color-chart-4:var(--chart-4);--color-chart-5:var(--chart-5)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}*{border-color:var(--border);outline-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){*{outline-color:color-mix(in oklab,var(--ring)50%,transparent)}}body{background-color:var(--background);color:var(--foreground);font-synthesis-weight:none;text-rendering:optimizeLegibility;margin:0;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}}@layer components{.cn-accordion-item:not(:last-child){border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.cn-accordion-trigger{border-radius:var(--radius);padding-block:calc(var(--spacing)*2.5);text-align:left;font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}@media(hover:hover){.cn-accordion-trigger:hover{text-decoration-line:underline}}.cn-accordion-trigger:focus-visible{border-color:var(--ring);--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){.cn-accordion-trigger:focus-visible{--tw-ring-color:color-mix(in oklab,var(--ring)50%,transparent)}}.cn-accordion-trigger:focus-visible:after{content:var(--tw-content);border-color:var(--ring)}:is(.cn-accordion-trigger *)[data-slot=accordion-trigger-icon]{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4);color:var(--muted-foreground);margin-left:auto}.cn-accordion-content{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.cn-accordion-content:where([data-state=open]),.cn-accordion-content:where([data-open]:not([data-open=false])){animation:.2s ease-out accordion-down}.cn-accordion-content:where([data-state=closed]),.cn-accordion-content:where([data-closed]:not([data-closed=false])){animation:.2s ease-out accordion-up}.cn-accordion-content-inner{padding-top:calc(var(--spacing)*0);padding-bottom:calc(var(--spacing)*2.5)}.cn-alert{gap:calc(var(--spacing)*.5);border-radius:var(--radius);border-style:var(--tw-border-style);padding-inline:calc(var(--spacing)*2.5);padding-block:calc(var(--spacing)*2);text-align:left;font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));border-width:1px;display:grid}.cn-alert:has([data-slot=alert-action]){padding-right:calc(var(--spacing)*18);position:relative}.cn-alert:has(>svg){column-gap:calc(var(--spacing)*2);grid-template-columns:auto 1fr}:is(.cn-alert>*):is(svg){--tw-translate-y:calc(var(--spacing)*.5);translate:var(--tw-translate-x)var(--tw-translate-y);color:currentColor;grid-row:span 2/span 2}:is(.cn-alert>*):is(svg:not([class*=size-])){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.cn-alert-variant-default{background-color:var(--card);color:var(--card-foreground)}.cn-alert-variant-destructive{background-color:var(--card);color:var(--destructive)}:is(.cn-alert-variant-destructive>*)[data-slot=alert-description]{color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){:is(.cn-alert-variant-destructive>*)[data-slot=alert-description]{color:color-mix(in oklab,var(--destructive)90%,transparent)}}:is(.cn-alert-variant-destructive>*):is(svg){color:currentColor}.cn-alert-title{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.cn-alert-title:is(:where(.group\\/alert):has(>svg) *){grid-column-start:2}.cn-alert-description{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));text-wrap:balance;color:var(--muted-foreground)}@media(min-width:48rem){.cn-alert-description{text-wrap:pretty}}.cn-alert-description p:not(:last-child){margin-bottom:calc(var(--spacing)*4)}.cn-alert-action{top:calc(var(--spacing)*2);right:calc(var(--spacing)*2);position:absolute}.cn-alert-dialog-overlay{background-color:#0000001a}@supports (color:color-mix(in lab,red,red)){.cn-alert-dialog-overlay{background-color:color-mix(in oklab,var(--color-black)10%,transparent)}}.cn-alert-dialog-overlay{--tw-duration:.1s;transition-duration:.1s}@supports ((-webkit-backdrop-filter:var(--tw)) or (backdrop-filter:var(--tw))){.cn-alert-dialog-overlay{--tw-backdrop-blur:blur(var(--blur-xs));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}}.cn-alert-dialog-overlay:where([data-state=open]),.cn-alert-dialog-overlay:where([data-open]:not([data-open=false])){animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);--tw-enter-opacity:0}.cn-alert-dialog-overlay:where([data-state=closed]),.cn-alert-dialog-overlay:where([data-closed]:not([data-closed=false])){animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);--tw-exit-opacity:0}.cn-alert-dialog-content{gap:calc(var(--spacing)*4);border-radius:calc(var(--radius) + 4px);background-color:var(--background);padding:calc(var(--spacing)*4);--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:var(--foreground)}@supports (color:color-mix(in lab,red,red)){.cn-alert-dialog-content{--tw-ring-color:color-mix(in oklab,var(--foreground)10%,transparent)}}.cn-alert-dialog-content{--tw-duration:.1s;transition-duration:.1s}.cn-alert-dialog-content[data-size=default],.cn-alert-dialog-content[data-size=sm]{max-width:var(--container-xs)}@media(min-width:40rem){.cn-alert-dialog-content[data-size=default]{max-width:var(--container-sm)}}.cn-alert-dialog-content:where([data-state=open]),.cn-alert-dialog-content:where([data-open]:not([data-open=false])){animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);--tw-enter-opacity:0;--tw-enter-scale:.95}.cn-alert-dialog-content:where([data-state=closed]),.cn-alert-dialog-content:where([data-closed]:not([data-closed=false])){animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);--tw-exit-opacity:0;--tw-exit-scale:.95}.cn-alert-dialog-header{place-items:center;gap:calc(var(--spacing)*1.5);text-align:center;grid-template-rows:auto 1fr;display:grid}.cn-alert-dialog-header:has([data-slot=alert-dialog-media]){column-gap:calc(var(--spacing)*4);grid-template-rows:auto auto 1fr}@media(min-width:40rem){.cn-alert-dialog-header:is(:where(.group\\/alert-dialog-content)[data-size=default] *){text-align:left;place-items:start}.cn-alert-dialog-header:is(:where(.group\\/alert-dialog-content)[data-size=default] *):has([data-slot=alert-dialog-media]){grid-template-rows:auto 1fr}}.cn-alert-dialog-media{margin-bottom:calc(var(--spacing)*2);width:calc(var(--spacing)*10);height:calc(var(--spacing)*10);border-radius:calc(var(--radius) - 2px);background-color:var(--muted);justify-content:center;align-items:center;display:inline-flex}@media(min-width:40rem){.cn-alert-dialog-media:is(:where(.group\\/alert-dialog-content)[data-size=default] *){grid-row:span 2/span 2}}:is(.cn-alert-dialog-media>*):is(svg:not([class*=size-])){width:calc(var(--spacing)*6);height:calc(var(--spacing)*6)}.cn-alert-dialog-title{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height));--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}@media(min-width:40rem){.cn-alert-dialog-title:is(:where(.group\\/alert-dialog-content)[data-size=default] *):is(:where(.group\\/alert-dialog-content):has([data-slot=alert-dialog-media]) *){grid-column-start:2}}.cn-alert-dialog-description{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));text-wrap:balance;color:var(--muted-foreground)}@media(min-width:48rem){.cn-alert-dialog-description{text-wrap:pretty}}:is(.cn-alert-dialog-description>*):is(a){text-underline-offset:3px;text-decoration-line:underline}@media(hover:hover){:is(.cn-alert-dialog-description>*):is(a):hover{color:var(--foreground)}}.cn-alert-dialog-footer{margin-inline:calc(var(--spacing)*-4);margin-bottom:calc(var(--spacing)*-4);border-bottom-right-radius:calc(var(--radius) + 4px);border-bottom-left-radius:calc(var(--radius) + 4px);border-top-style:var(--tw-border-style);background-color:var(--muted);border-top-width:1px}@supports (color:color-mix(in lab,red,red)){.cn-alert-dialog-footer{background-color:color-mix(in oklab,var(--muted)50%,transparent)}}.cn-alert-dialog-footer{padding:calc(var(--spacing)*4)}.cn-avatar{width:calc(var(--spacing)*8);height:calc(var(--spacing)*8);border-radius:3.40282e38px}.cn-avatar:after{content:var(--tw-content);border-radius:3.40282e38px}.cn-avatar[data-size=lg]{width:calc(var(--spacing)*10);height:calc(var(--spacing)*10)}.cn-avatar[data-size=sm]{width:calc(var(--spacing)*6);height:calc(var(--spacing)*6)}.cn-avatar-fallback{background-color:var(--muted);color:var(--muted-foreground);border-radius:3.40282e38px}.cn-avatar-image{border-radius:3.40282e38px}.cn-avatar-badge{background-color:var(--primary);color:var(--primary-foreground);--tw-ring-color:var(--background)}.cn-avatar-group-count{width:calc(var(--spacing)*8);height:calc(var(--spacing)*8);background-color:var(--muted);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));color:var(--muted-foreground);border-radius:3.40282e38px}.cn-avatar-group-count:is(:where(.group\\/avatar-group):has([data-size=lg]) *){width:calc(var(--spacing)*10);height:calc(var(--spacing)*10)}.cn-avatar-group-count:is(:where(.group\\/avatar-group):has([data-size=sm]) *){width:calc(var(--spacing)*6);height:calc(var(--spacing)*6)}.cn-avatar-group-count>svg{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.cn-avatar-group-count:is(:where(.group\\/avatar-group):has([data-size=lg]) *)>svg{width:calc(var(--spacing)*5);height:calc(var(--spacing)*5)}.cn-avatar-group-count:is(:where(.group\\/avatar-group):has([data-size=sm]) *)>svg{width:calc(var(--spacing)*3);height:calc(var(--spacing)*3)}.cn-badge{height:calc(var(--spacing)*5);gap:calc(var(--spacing)*1);border-radius:calc(var(--radius) + 16px);border-style:var(--tw-border-style);padding-inline:calc(var(--spacing)*2);padding-block:calc(var(--spacing)*.5);font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height));--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));border-width:1px;border-color:#0000}.cn-badge:has([data-icon=inline-end]){padding-right:calc(var(--spacing)*1.5)}.cn-badge:has([data-icon=inline-start]){padding-left:calc(var(--spacing)*1.5)}.cn-badge>svg{width:calc(var(--spacing)*3)!important;height:calc(var(--spacing)*3)!important}.cn-badge-variant-default{background-color:var(--primary);color:var(--primary-foreground)}@media(hover:hover){.cn-badge-variant-default:is(a):hover{background-color:var(--primary)}@supports (color:color-mix(in lab,red,red)){.cn-badge-variant-default:is(a):hover{background-color:color-mix(in oklab,var(--primary)80%,transparent)}}}.cn-badge-variant-secondary{background-color:var(--secondary);color:var(--secondary-foreground)}@media(hover:hover){.cn-badge-variant-secondary:is(a):hover{background-color:var(--secondary)}@supports (color:color-mix(in lab,red,red)){.cn-badge-variant-secondary:is(a):hover{background-color:color-mix(in oklab,var(--secondary)80%,transparent)}}}.cn-badge-variant-outline{border-color:var(--border);color:var(--foreground)}@media(hover:hover){.cn-badge-variant-outline:is(a):hover{background-color:var(--muted);color:var(--muted-foreground)}}.cn-badge-variant-destructive{background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-badge-variant-destructive{background-color:color-mix(in oklab,var(--destructive)10%,transparent)}}.cn-badge-variant-destructive{color:var(--destructive)}.cn-badge-variant-destructive:focus-visible{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-badge-variant-destructive:focus-visible{--tw-ring-color:color-mix(in oklab,var(--destructive)20%,transparent)}}.cn-badge-variant-destructive:is(.dark *){background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-badge-variant-destructive:is(.dark *){background-color:color-mix(in oklab,var(--destructive)20%,transparent)}}.cn-badge-variant-destructive:is(.dark *):focus-visible{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-badge-variant-destructive:is(.dark *):focus-visible{--tw-ring-color:color-mix(in oklab,var(--destructive)40%,transparent)}}@media(hover:hover){.cn-badge-variant-destructive:is(a):hover{background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-badge-variant-destructive:is(a):hover{background-color:color-mix(in oklab,var(--destructive)20%,transparent)}}.cn-badge-variant-ghost:hover{background-color:var(--muted);color:var(--muted-foreground)}.cn-badge-variant-ghost:is(.dark *):hover{background-color:var(--muted)}@supports (color:color-mix(in lab,red,red)){.cn-badge-variant-ghost:is(.dark *):hover{background-color:color-mix(in oklab,var(--muted)50%,transparent)}}}.cn-badge-variant-link{color:var(--primary);text-underline-offset:4px}@media(hover:hover){.cn-badge-variant-link:hover{text-decoration-line:underline}}.cn-breadcrumb-list{gap:calc(var(--spacing)*1.5);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));color:var(--muted-foreground)}.cn-breadcrumb-item{gap:calc(var(--spacing)*1)}.cn-breadcrumb-link{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}@media(hover:hover){.cn-breadcrumb-link:hover{color:var(--foreground)}}.cn-breadcrumb-page{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal);color:var(--foreground)}.cn-breadcrumb-separator>svg{width:calc(var(--spacing)*3.5);height:calc(var(--spacing)*3.5)}.cn-breadcrumb-ellipsis{width:calc(var(--spacing)*5);height:calc(var(--spacing)*5)}.cn-breadcrumb-ellipsis>svg{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.cn-button{cursor:pointer;border-radius:var(--radius);border-style:var(--tw-border-style);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);background-clip:padding-box;border-width:1px;border-color:#0000}.cn-button:focus-visible{border-color:var(--ring);--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){.cn-button:focus-visible{--tw-ring-color:color-mix(in oklab,var(--ring)50%,transparent)}}.cn-button[aria-invalid=true]{border-color:var(--destructive);--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-button[aria-invalid=true]{--tw-ring-color:color-mix(in oklab,var(--destructive)20%,transparent)}}.cn-button:is(.dark *)[aria-invalid=true]{border-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-button:is(.dark *)[aria-invalid=true]{border-color:color-mix(in oklab,var(--destructive)50%,transparent)}}.cn-button:is(.dark *)[aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-button:is(.dark *)[aria-invalid=true]{--tw-ring-color:color-mix(in oklab,var(--destructive)40%,transparent)}}.cn-button svg:not([class*=size-]){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.cn-button-variant-default{background-color:var(--primary);color:var(--primary-foreground)}@media(hover:hover){.cn-button-variant-default:hover{background-color:var(--primary)}@supports (color:color-mix(in lab,red,red)){.cn-button-variant-default:hover{background-color:color-mix(in oklab,var(--primary)90%,transparent)}}.cn-button-variant-default:is(a):hover{background-color:var(--primary)}@supports (color:color-mix(in lab,red,red)){.cn-button-variant-default:is(a):hover{background-color:color-mix(in oklab,var(--primary)80%,transparent)}}}.cn-button-variant-outline{border-color:var(--border);background-color:var(--background)}@media(hover:hover){.cn-button-variant-outline:hover{background-color:var(--muted);color:var(--foreground)}}.cn-button-variant-outline[aria-expanded=true]{background-color:var(--muted);color:var(--foreground)}.cn-button-variant-outline:is(.dark *){border-color:var(--input);background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){.cn-button-variant-outline:is(.dark *){background-color:color-mix(in oklab,var(--input)30%,transparent)}}@media(hover:hover){.cn-button-variant-outline:is(.dark *):hover{background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){.cn-button-variant-outline:is(.dark *):hover{background-color:color-mix(in oklab,var(--input)50%,transparent)}}}.cn-button-variant-secondary{background-color:var(--secondary);color:var(--secondary-foreground)}@media(hover:hover){.cn-button-variant-secondary:hover{background-color:var(--secondary)}@supports (color:color-mix(in lab,red,red)){.cn-button-variant-secondary:hover{background-color:color-mix(in oklab,var(--secondary)80%,transparent)}}}.cn-button-variant-secondary[aria-expanded=true]{background-color:var(--secondary);color:var(--secondary-foreground)}@media(hover:hover){.cn-button-variant-ghost:hover{background-color:var(--muted);color:var(--foreground)}}.cn-button-variant-ghost[aria-expanded=true]{background-color:var(--muted);color:var(--foreground)}@media(hover:hover){.cn-button-variant-ghost:is(.dark *):hover{background-color:var(--muted)}@supports (color:color-mix(in lab,red,red)){.cn-button-variant-ghost:is(.dark *):hover{background-color:color-mix(in oklab,var(--muted)50%,transparent)}}}.cn-button-variant-destructive{background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-button-variant-destructive{background-color:color-mix(in oklab,var(--destructive)10%,transparent)}}.cn-button-variant-destructive{color:var(--destructive)}@media(hover:hover){.cn-button-variant-destructive:hover{background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-button-variant-destructive:hover{background-color:color-mix(in oklab,var(--destructive)20%,transparent)}}}.cn-button-variant-destructive:focus-visible{border-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-button-variant-destructive:focus-visible{border-color:color-mix(in oklab,var(--destructive)40%,transparent)}}.cn-button-variant-destructive:focus-visible{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-button-variant-destructive:focus-visible{--tw-ring-color:color-mix(in oklab,var(--destructive)20%,transparent)}}.cn-button-variant-destructive:is(.dark *){background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-button-variant-destructive:is(.dark *){background-color:color-mix(in oklab,var(--destructive)20%,transparent)}}@media(hover:hover){.cn-button-variant-destructive:is(.dark *):hover{background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-button-variant-destructive:is(.dark *):hover{background-color:color-mix(in oklab,var(--destructive)30%,transparent)}}}.cn-button-variant-destructive:is(.dark *):focus-visible{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-button-variant-destructive:is(.dark *):focus-visible{--tw-ring-color:color-mix(in oklab,var(--destructive)40%,transparent)}}.cn-button-variant-link{color:var(--primary);text-underline-offset:4px}@media(hover:hover){.cn-button-variant-link:hover{text-decoration-line:underline}}.cn-button-variant-success{background-color:var(--success)}@supports (color:color-mix(in lab,red,red)){.cn-button-variant-success{background-color:color-mix(in oklab,var(--success)10%,transparent)}}.cn-button-variant-success{color:var(--success)}@media(hover:hover){.cn-button-variant-success:hover{background-color:var(--success)}@supports (color:color-mix(in lab,red,red)){.cn-button-variant-success:hover{background-color:color-mix(in oklab,var(--success)20%,transparent)}}}.cn-button-variant-success:is(.dark *){background-color:var(--success)}@supports (color:color-mix(in lab,red,red)){.cn-button-variant-success:is(.dark *){background-color:color-mix(in oklab,var(--success)20%,transparent)}}@media(hover:hover){.cn-button-variant-success:is(.dark *):hover{background-color:var(--success)}@supports (color:color-mix(in lab,red,red)){.cn-button-variant-success:is(.dark *):hover{background-color:color-mix(in oklab,var(--success)30%,transparent)}}}.cn-button-variant-warning{background-color:var(--warning)}@supports (color:color-mix(in lab,red,red)){.cn-button-variant-warning{background-color:color-mix(in oklab,var(--warning)10%,transparent)}}.cn-button-variant-warning{color:var(--warning)}@media(hover:hover){.cn-button-variant-warning:hover{background-color:var(--warning)}@supports (color:color-mix(in lab,red,red)){.cn-button-variant-warning:hover{background-color:color-mix(in oklab,var(--warning)20%,transparent)}}}.cn-button-variant-warning:is(.dark *){background-color:var(--warning)}@supports (color:color-mix(in lab,red,red)){.cn-button-variant-warning:is(.dark *){background-color:color-mix(in oklab,var(--warning)20%,transparent)}}@media(hover:hover){.cn-button-variant-warning:is(.dark *):hover{background-color:var(--warning)}@supports (color:color-mix(in lab,red,red)){.cn-button-variant-warning:is(.dark *):hover{background-color:color-mix(in oklab,var(--warning)30%,transparent)}}}.cn-button-variant-info{background-color:var(--info)}@supports (color:color-mix(in lab,red,red)){.cn-button-variant-info{background-color:color-mix(in oklab,var(--info)10%,transparent)}}.cn-button-variant-info{color:var(--info)}@media(hover:hover){.cn-button-variant-info:hover{background-color:var(--info)}@supports (color:color-mix(in lab,red,red)){.cn-button-variant-info:hover{background-color:color-mix(in oklab,var(--info)20%,transparent)}}}.cn-button-variant-info:is(.dark *){background-color:var(--info)}@supports (color:color-mix(in lab,red,red)){.cn-button-variant-info:is(.dark *){background-color:color-mix(in oklab,var(--info)20%,transparent)}}@media(hover:hover){.cn-button-variant-info:is(.dark *):hover{background-color:var(--info)}@supports (color:color-mix(in lab,red,red)){.cn-button-variant-info:is(.dark *):hover{background-color:color-mix(in oklab,var(--info)30%,transparent)}}}.cn-button-size-xs{min-height:calc(var(--spacing)*6);gap:calc(var(--spacing)*1);border-radius:min(var(--radius-md),10px);padding-inline:calc(var(--spacing)*2);padding-block:calc(var(--spacing)*1);font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}:where([data-slot=button-group]) .cn-button-size-xs{border-radius:var(--radius)}.cn-button-size-xs:has([data-icon=inline-end]){padding-right:calc(var(--spacing)*1.5)}.cn-button-size-xs:has([data-icon=inline-start]){padding-left:calc(var(--spacing)*1.5)}.cn-button-size-xs svg:not([class*=size-]){width:calc(var(--spacing)*3);height:calc(var(--spacing)*3)}.cn-button-size-sm{min-height:calc(var(--spacing)*7);gap:calc(var(--spacing)*1);border-radius:min(var(--radius-md),12px);padding-inline:calc(var(--spacing)*2.5);padding-block:calc(var(--spacing)*1.5);font-size:.8rem}:where([data-slot=button-group]) .cn-button-size-sm{border-radius:var(--radius)}.cn-button-size-sm:has([data-icon=inline-end]){padding-right:calc(var(--spacing)*1.5)}.cn-button-size-sm:has([data-icon=inline-start]){padding-left:calc(var(--spacing)*1.5)}.cn-button-size-sm svg:not([class*=size-]){width:calc(var(--spacing)*3.5);height:calc(var(--spacing)*3.5)}.cn-button-size-default{min-height:calc(var(--spacing)*8);gap:calc(var(--spacing)*1.5);padding-inline:calc(var(--spacing)*2.5);padding-block:calc(var(--spacing)*1.5)}.cn-button-size-default:has([data-icon=inline-end]){padding-right:calc(var(--spacing)*2)}.cn-button-size-default:has([data-icon=inline-start]){padding-left:calc(var(--spacing)*2)}.cn-button-size-lg{min-height:calc(var(--spacing)*9);gap:calc(var(--spacing)*1.5);padding-inline:calc(var(--spacing)*2.5);padding-block:calc(var(--spacing)*2)}.cn-button-size-lg:has([data-icon=inline-end]){padding-right:calc(var(--spacing)*3)}.cn-button-size-lg:has([data-icon=inline-start]){padding-left:calc(var(--spacing)*3)}.cn-button-size-icon-xs{width:calc(var(--spacing)*6);height:calc(var(--spacing)*6);border-radius:min(var(--radius-md),10px)}:where([data-slot=button-group]) .cn-button-size-icon-xs{border-radius:var(--radius)}.cn-button-size-icon-xs svg:not([class*=size-]){width:calc(var(--spacing)*3);height:calc(var(--spacing)*3)}.cn-button-size-icon-sm{width:calc(var(--spacing)*7);height:calc(var(--spacing)*7);border-radius:min(var(--radius-md),12px)}:where([data-slot=button-group]) .cn-button-size-icon-sm{border-radius:var(--radius)}.cn-button-size-icon{width:calc(var(--spacing)*8);height:calc(var(--spacing)*8)}.cn-button-size-icon-lg{width:calc(var(--spacing)*9);height:calc(var(--spacing)*9)}.cn-button-group:has(>[data-slot=button-group]){gap:calc(var(--spacing)*2)}.cn-button-group:has(:is(select[aria-hidden=true]:last-child))>[data-slot=select-trigger]:last-of-type{border-top-right-radius:var(--radius);border-bottom-right-radius:var(--radius)}.cn-button-group-orientation-horizontal>[data-slot]:not(:has(~[data-slot])){border-top-right-radius:var(--radius)!important;border-bottom-right-radius:var(--radius)!important}.cn-button-group-orientation-horizontal>[data-slot=button]+[data-slot=button]{border-top-left-radius:0;border-bottom-left-radius:0;margin-left:-1px}.cn-button-group-orientation-horizontal>[data-slot=button]:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.cn-button-group-orientation-vertical>[data-slot]:not(:has(~[data-slot])){border-bottom-right-radius:var(--radius)!important;border-bottom-left-radius:var(--radius)!important}.cn-button-group-orientation-vertical>[data-slot=button]+[data-slot=button]{border-top-left-radius:0;border-top-right-radius:0;margin-top:-1px}.cn-button-group-orientation-vertical>[data-slot=button]:not(:last-child){border-bottom-right-radius:0;border-bottom-left-radius:0}.cn-button-group-text{gap:calc(var(--spacing)*2);border-radius:var(--radius);border-style:var(--tw-border-style);background-color:var(--muted);padding-inline:calc(var(--spacing)*2.5);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);border-width:1px}.cn-button-group-text svg:not([class*=size-]){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.cn-button-group-separator{background-color:var(--input)}.cn-calendar{padding:calc(var(--spacing)*2);--cell-radius:var(--radius-md);--cell-size:calc(var(--spacing)*7)}.cn-calendar-dropdown-root{border-style:var(--tw-border-style);border-width:1px;border-color:var(--input)}.cn-calendar-dropdown-root:has(:focus){border-color:var(--ring);--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){.cn-calendar-dropdown-root:has(:focus){--tw-ring-color:color-mix(in oklab,var(--ring)50%,transparent)}}.cn-calendar-caption-label{height:calc(var(--spacing)*6);padding-right:calc(var(--spacing)*1);padding-left:calc(var(--spacing)*1.5)}.cn-card{gap:calc(var(--spacing)*4);border-radius:calc(var(--radius) + 4px);background-color:var(--card);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));color:var(--card-foreground);--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:var(--foreground);overflow:hidden}@supports (color:color-mix(in lab,red,red)){.cn-card{--tw-ring-color:color-mix(in oklab,var(--foreground)10%,transparent)}}.cn-card:has(>img:first-child){padding-top:calc(var(--spacing)*0)}.cn-card[data-size=sm]{gap:calc(var(--spacing)*3);padding-block:calc(var(--spacing)*3)}:is(.cn-card>*):is(img:first-child){border-top-left-radius:calc(var(--radius) + 4px);border-top-right-radius:calc(var(--radius) + 4px)}:is(.cn-card>*):is(img:last-child){border-bottom-right-radius:calc(var(--radius) + 4px);border-bottom-left-radius:calc(var(--radius) + 4px)}.cn-card-header{gap:calc(var(--spacing)*1);border-top-left-radius:calc(var(--radius) + 4px);border-top-right-radius:calc(var(--radius) + 4px);padding-inline:calc(var(--spacing)*4)}.cn-card-header:is(:where(.group\\/card)[data-size=sm] *){padding-inline:calc(var(--spacing)*3)}.cn-card-header.border-b{padding-bottom:calc(var(--spacing)*4)}.cn-card-header:is(:where(.group\\/card)[data-size=sm] *).border-b{padding-bottom:calc(var(--spacing)*3)}.cn-card-title{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height));--tw-leading:var(--leading-snug);line-height:var(--leading-snug);--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.cn-card-title:is(:where(.group\\/card)[data-size=sm] *){font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.cn-card-description{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));color:var(--muted-foreground)}.cn-card-content{padding-inline:calc(var(--spacing)*4)}.cn-card-content:is(:where(.group\\/card)[data-size=sm] *){padding-inline:calc(var(--spacing)*3)}.cn-card-footer{border-bottom-right-radius:calc(var(--radius) + 4px);border-bottom-left-radius:calc(var(--radius) + 4px);border-top-style:var(--tw-border-style);background-color:var(--muted);border-top-width:1px}@supports (color:color-mix(in lab,red,red)){.cn-card-footer{background-color:color-mix(in oklab,var(--muted)50%,transparent)}}.cn-card-footer{padding:calc(var(--spacing)*4)}.cn-card-footer:is(:where(.group\\/card)[data-size=sm] *){padding:calc(var(--spacing)*3)}.cn-carousel-previous,.cn-carousel-next{border-radius:3.40282e38px}.cn-chart-tooltip{gap:calc(var(--spacing)*1.5);border-radius:var(--radius);border-style:var(--tw-border-style);border-width:1px;border-color:var(--border)}@supports (color:color-mix(in lab,red,red)){.cn-chart-tooltip{border-color:color-mix(in oklab,var(--border)50%,transparent)}}.cn-chart-tooltip{background-color:var(--background);padding-inline:calc(var(--spacing)*2.5);padding-block:calc(var(--spacing)*1.5);font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height));--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.cn-checkbox{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4);border-style:var(--tw-border-style);border-width:1px;border-color:var(--input);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));border-radius:4px;justify-content:center;align-items:center;display:flex}.cn-checkbox:is(:where(.group\\/field):has(:disabled) *){opacity:.5}.cn-checkbox:focus-visible{border-color:var(--ring);--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){.cn-checkbox:focus-visible{--tw-ring-color:color-mix(in oklab,var(--ring)50%,transparent)}}.cn-checkbox[aria-invalid=true]{border-color:var(--destructive);--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-checkbox[aria-invalid=true]{--tw-ring-color:color-mix(in oklab,var(--destructive)20%,transparent)}}.cn-checkbox[aria-invalid=true][aria-checked=true]{border-color:var(--primary)}.cn-checkbox:is(.dark *){background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){.cn-checkbox:is(.dark *){background-color:color-mix(in oklab,var(--input)30%,transparent)}}.cn-checkbox:is(.dark *)[aria-invalid=true]{border-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-checkbox:is(.dark *)[aria-invalid=true]{border-color:color-mix(in oklab,var(--destructive)50%,transparent)}}.cn-checkbox:is(.dark *)[aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-checkbox:is(.dark *)[aria-invalid=true]{--tw-ring-color:color-mix(in oklab,var(--destructive)40%,transparent)}}.cn-checkbox:where([data-state=checked]),.cn-checkbox:where([data-checked]:not([data-checked=false])){border-color:var(--primary);background-color:var(--primary);color:var(--primary-foreground)}.cn-checkbox:is(.dark *):where([data-state=checked]),.cn-checkbox:is(.dark *):where([data-checked]:not([data-checked=false])){background-color:var(--primary)}.cn-checkbox-indicator>svg{width:calc(var(--spacing)*3.5);height:calc(var(--spacing)*3.5)}.cn-combobox-content{max-height:calc(var(--spacing)*72);min-width:calc(var(--spacing)*36);border-radius:var(--radius);background-color:var(--popover);color:var(--popover-foreground);--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:color-mix(in oklab,var(--foreground)10%,transparent);--tw-duration:.1s;transition-duration:.1s;overflow:hidden}.cn-combobox-content[data-side=bottom]{--tw-enter-translate-y:calc(2*var(--spacing)*-1)}.cn-combobox-content[data-side=left]{--tw-enter-translate-x:calc(2*var(--spacing))}.cn-combobox-content[data-side=right]{--tw-enter-translate-x:calc(2*var(--spacing)*-1)}.cn-combobox-content[data-side=top]{--tw-enter-translate-y:calc(2*var(--spacing))}:is(.cn-combobox-content>*)[data-slot=input-group]{margin:calc(var(--spacing)*1);margin-bottom:calc(var(--spacing)*0);height:calc(var(--spacing)*8);border-color:var(--input)}@supports (color:color-mix(in lab,red,red)){:is(.cn-combobox-content>*)[data-slot=input-group]{border-color:color-mix(in oklab,var(--input)30%,transparent)}}:is(.cn-combobox-content>*)[data-slot=input-group]{background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){:is(.cn-combobox-content>*)[data-slot=input-group]{background-color:color-mix(in oklab,var(--input)30%,transparent)}}:is(.cn-combobox-content>*)[data-slot=input-group]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.cn-combobox-content:where([data-state=open]),.cn-combobox-content:where([data-open]:not([data-open=false])){animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);--tw-enter-opacity:0;--tw-enter-scale:.95}.cn-combobox-content:where([data-state=closed]),.cn-combobox-content:where([data-closed]:not([data-closed=false])){animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);--tw-exit-opacity:0;--tw-exit-scale:.95}.cn-combobox-content-logical[data-side=inline-end]{--tw-enter-translate-x:calc(2*var(--spacing)*-1)}.cn-combobox-content-logical[data-side=inline-start]{--tw-enter-translate-x:calc(2*var(--spacing))}.cn-combobox-label{padding-inline:calc(var(--spacing)*2);padding-block:calc(var(--spacing)*1.5);font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height));color:var(--muted-foreground)}.cn-combobox-item{gap:calc(var(--spacing)*2);border-radius:calc(var(--radius) - 2px);padding-block:calc(var(--spacing)*1);padding-right:calc(var(--spacing)*8);padding-left:calc(var(--spacing)*1.5);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.cn-combobox-item[data-highlighted]{background-color:var(--accent);color:var(--accent-foreground)}:is(.cn-combobox-item:not([data-variant=destructive])[data-highlighted] *){color:var(--accent-foreground)}.cn-combobox-item svg:not([class*=size-]){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.cn-combobox-item-indicator{pointer-events:none;right:calc(var(--spacing)*2);width:calc(var(--spacing)*4);height:calc(var(--spacing)*4);justify-content:center;align-items:center;display:flex;position:absolute}.cn-combobox-empty{width:100%;padding-block:calc(var(--spacing)*2);text-align:center;font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));color:var(--muted-foreground);justify-content:center;display:none}.cn-combobox-empty:is(:where(.group\\/combobox-content)[data-empty] *){display:flex}.cn-combobox-list{-ms-overflow-style:none;scrollbar-width:none}.cn-combobox-list::-webkit-scrollbar{display:none}.cn-combobox-list{max-height:min(calc(calc(var(--spacing)*72) - calc(var(--spacing)*9)),calc(var(--available-height) - calc(var(--spacing)*9)));scroll-padding-block:calc(var(--spacing)*1);padding:calc(var(--spacing)*1);overflow-y:auto}.cn-combobox-list[data-empty]{padding:calc(var(--spacing)*0)}.cn-combobox-item-text{gap:calc(var(--spacing)*2);flex:1;display:flex}.cn-combobox-separator{margin-inline:calc(var(--spacing)*-1);margin-block:calc(var(--spacing)*1);background-color:var(--border);height:1px}.cn-combobox-trigger svg:not([class*=size-]){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.cn-combobox-trigger-icon{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4);color:var(--muted-foreground)}.cn-combobox-chips{min-height:calc(var(--spacing)*8);align-items:center;gap:calc(var(--spacing)*1);border-radius:var(--radius);border-style:var(--tw-border-style);border-width:1px;border-color:var(--input);padding-inline:calc(var(--spacing)*2.5);padding-block:calc(var(--spacing)*1);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));background-color:#0000;background-clip:padding-box;flex-wrap:wrap;display:flex}.cn-combobox-chips:focus-within{border-color:var(--ring);--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){.cn-combobox-chips:focus-within{--tw-ring-color:color-mix(in oklab,var(--ring)50%,transparent)}}.cn-combobox-chips:has([aria-invalid=true]){border-color:var(--destructive);--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-combobox-chips:has([aria-invalid=true]){--tw-ring-color:color-mix(in oklab,var(--destructive)20%,transparent)}}.cn-combobox-chips:has([data-slot=combobox-chip]){padding-inline:calc(var(--spacing)*1)}.cn-combobox-chips:is(.dark *){background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){.cn-combobox-chips:is(.dark *){background-color:color-mix(in oklab,var(--input)30%,transparent)}}.cn-combobox-chips:is(.dark *):has([aria-invalid=true]){border-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-combobox-chips:is(.dark *):has([aria-invalid=true]){border-color:color-mix(in oklab,var(--destructive)50%,transparent)}}.cn-combobox-chips:is(.dark *):has([aria-invalid=true]){--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-combobox-chips:is(.dark *):has([aria-invalid=true]){--tw-ring-color:color-mix(in oklab,var(--destructive)40%,transparent)}}.cn-combobox-chip{height:calc(calc(var(--spacing)*5.25));justify-content:center;align-items:center;gap:calc(var(--spacing)*1);border-radius:calc(var(--radius) - 4px);background-color:var(--muted);width:fit-content;padding-inline:calc(var(--spacing)*1.5);font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height));--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);white-space:nowrap;color:var(--foreground);display:flex}.cn-combobox-chip:has([data-slot=combobox-chip-remove]){padding-right:calc(var(--spacing)*0)}.cn-combobox-chip-remove{margin-left:calc(var(--spacing)*-1);opacity:.5}@media(hover:hover){.cn-combobox-chip-remove:hover{opacity:1}}.cn-command{background-color:var(--popover);padding:calc(var(--spacing)*1);color:var(--popover-foreground);border-radius:calc(var(--radius) + 4px)!important}.cn-command-dialog{border-radius:calc(var(--radius) + 4px)!important}.cn-command-input-wrapper{padding:calc(var(--spacing)*1);padding-bottom:calc(var(--spacing)*0)}.cn-command-input-group{border-color:var(--input);height:calc(var(--spacing)*8)!important;border-radius:var(--radius)!important}@supports (color:color-mix(in lab,red,red)){.cn-command-input-group{border-color:color-mix(in oklab,var(--input)30%,transparent)}}.cn-command-input-group{background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){.cn-command-input-group{background-color:color-mix(in oklab,var(--input)30%,transparent)}}.cn-command-input-group{--tw-shadow:0 0 #0000!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}:is(.cn-command-input-group>*)[data-slot=input-group-addon]{padding-left:calc(var(--spacing)*2)!important}.cn-command-input-icon{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4);opacity:.5;flex-shrink:0}.cn-command-input{width:100%;font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.cn-command-list{-ms-overflow-style:none;scrollbar-width:none}.cn-command-list::-webkit-scrollbar{display:none}.cn-command-list{max-height:calc(var(--spacing)*72);scroll-padding-block:calc(var(--spacing)*1);--tw-outline-style:none;outline-style:none}.cn-command-empty{padding-block:calc(var(--spacing)*6);text-align:center;font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.cn-command-group{padding:calc(var(--spacing)*1);color:var(--foreground);overflow:hidden}.cn-command-group [cmdk-group-heading]{padding-inline:calc(var(--spacing)*2);padding-block:calc(var(--spacing)*1.5);font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height));--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);color:var(--muted-foreground)}.cn-command-separator{margin-inline:calc(var(--spacing)*-1);background-color:var(--border);height:1px}.cn-command-item{cursor:default;align-items:center;gap:calc(var(--spacing)*2);border-radius:calc(var(--radius) - 4px);padding-inline:calc(var(--spacing)*2);padding-block:calc(var(--spacing)*1.5);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));--tw-outline-style:none;outline-style:none;display:flex;position:relative}@media(forced-colors:active){.cn-command-item{outline-offset:2px;outline:2px solid #0000}}.cn-command-item{-webkit-user-select:none;user-select:none}.cn-command-item:where([data-selected=true]){background-color:var(--muted);color:var(--foreground)}.cn-command-item svg:not([class*=size-]){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}:is(.cn-command-item:where([data-selected=true])>*):is(svg){color:var(--foreground)}[data-slot=dialog-content] .cn-command-item{border-radius:var(--radius)!important}.cn-command-shortcut{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height));--tw-tracking:var(--tracking-widest);letter-spacing:var(--tracking-widest);color:var(--muted-foreground);margin-left:auto}.cn-command-shortcut:is(:where(.group\\/command-item):where([data-selected=true]) *){color:var(--foreground)}.cn-context-menu-content{min-width:calc(var(--spacing)*36);border-radius:var(--radius);background-color:var(--popover);padding:calc(var(--spacing)*1);color:var(--popover-foreground);--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:color-mix(in oklab,var(--foreground)10%,transparent);--tw-duration:.1s;transition-duration:.1s}.cn-context-menu-content[data-side=bottom]{--tw-enter-translate-y:calc(2*var(--spacing)*-1)}.cn-context-menu-content[data-side=left]{--tw-enter-translate-x:calc(2*var(--spacing))}.cn-context-menu-content[data-side=right]{--tw-enter-translate-x:calc(2*var(--spacing)*-1)}.cn-context-menu-content[data-side=top]{--tw-enter-translate-y:calc(2*var(--spacing))}.cn-context-menu-content:where([data-state=open]),.cn-context-menu-content:where([data-open]:not([data-open=false])){animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);--tw-enter-opacity:0;--tw-enter-scale:.95}.cn-context-menu-content:where([data-state=closed]),.cn-context-menu-content:where([data-closed]:not([data-closed=false])){animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);--tw-exit-opacity:0;--tw-exit-scale:.95}.cn-context-menu-content-logical[data-side=inline-end]{--tw-enter-translate-x:calc(2*var(--spacing)*-1)}.cn-context-menu-content-logical[data-side=inline-start]{--tw-enter-translate-x:calc(2*var(--spacing))}.cn-context-menu-item{gap:calc(var(--spacing)*1.5);border-radius:calc(var(--radius) - 2px);padding-inline:calc(var(--spacing)*1.5);padding-block:calc(var(--spacing)*1);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.cn-context-menu-item:focus{background-color:var(--accent);color:var(--accent-foreground)}.cn-context-menu-item[data-variant=destructive]{color:var(--destructive)}.cn-context-menu-item[data-variant=destructive]:focus{background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-context-menu-item[data-variant=destructive]:focus{background-color:color-mix(in oklab,var(--destructive)10%,transparent)}}.cn-context-menu-item[data-variant=destructive]:focus{color:var(--destructive)}.cn-context-menu-item:is(.dark *)[data-variant=destructive]:focus{background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-context-menu-item:is(.dark *)[data-variant=destructive]:focus{background-color:color-mix(in oklab,var(--destructive)20%,transparent)}}.cn-context-menu-item svg:not([class*=size-]){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}:is(.cn-context-menu-item:focus>*):is(svg){color:var(--accent-foreground)}:is(.cn-context-menu-item[data-variant=destructive]>*):is(svg){color:var(--destructive)}.cn-context-menu-checkbox-item{gap:calc(var(--spacing)*1.5);border-radius:calc(var(--radius) - 2px);padding-block:calc(var(--spacing)*1);padding-right:calc(var(--spacing)*8);padding-left:calc(var(--spacing)*1.5);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.cn-context-menu-checkbox-item:focus{background-color:var(--accent);color:var(--accent-foreground)}.cn-context-menu-checkbox-item svg:not([class*=size-]){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.cn-context-menu-radio-item{gap:calc(var(--spacing)*1.5);border-radius:calc(var(--radius) - 2px);padding-block:calc(var(--spacing)*1);padding-right:calc(var(--spacing)*8);padding-left:calc(var(--spacing)*1.5);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.cn-context-menu-radio-item:focus{background-color:var(--accent);color:var(--accent-foreground)}.cn-context-menu-radio-item svg:not([class*=size-]){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.cn-context-menu-item-indicator{right:calc(var(--spacing)*2);position:absolute}.cn-context-menu-label{padding-inline:calc(var(--spacing)*1.5);padding-block:calc(var(--spacing)*1);font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height));--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);color:var(--muted-foreground)}.cn-context-menu-separator{margin-inline:calc(var(--spacing)*-1);margin-block:calc(var(--spacing)*1);background-color:var(--border);height:1px}.cn-context-menu-shortcut{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height));--tw-tracking:var(--tracking-widest);letter-spacing:var(--tracking-widest);color:var(--muted-foreground);margin-left:auto}.cn-context-menu-shortcut:is(:where(.group\\/context-menu-item):focus *){color:var(--accent-foreground)}.cn-context-menu-sub-trigger{gap:calc(var(--spacing)*1.5);border-radius:calc(var(--radius) - 2px);padding-inline:calc(var(--spacing)*1.5);padding-block:calc(var(--spacing)*1);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.cn-context-menu-sub-trigger:focus,.cn-context-menu-sub-trigger:where([data-state=open]),.cn-context-menu-sub-trigger:where([data-open]:not([data-open=false])){background-color:var(--accent);color:var(--accent-foreground)}.cn-context-menu-sub-trigger svg:not([class*=size-]){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.cn-context-menu-sub-content{min-width:calc(var(--spacing)*32);border-radius:var(--radius);border-style:var(--tw-border-style);background-color:var(--popover);padding:calc(var(--spacing)*1);color:var(--popover-foreground);--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-duration:.1s;border-width:1px;transition-duration:.1s}.cn-context-menu-sub-content[data-side=bottom]{--tw-enter-translate-y:calc(2*var(--spacing)*-1)}.cn-context-menu-sub-content[data-side=left]{--tw-enter-translate-x:calc(2*var(--spacing))}.cn-context-menu-sub-content[data-side=right]{--tw-enter-translate-x:calc(2*var(--spacing)*-1)}.cn-context-menu-sub-content[data-side=top]{--tw-enter-translate-y:calc(2*var(--spacing))}.cn-context-menu-sub-content:where([data-state=open]),.cn-context-menu-sub-content:where([data-open]:not([data-open=false])){animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);--tw-enter-opacity:0;--tw-enter-scale:.95}.cn-context-menu-sub-content:where([data-state=closed]),.cn-context-menu-sub-content:where([data-closed]:not([data-closed=false])){animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);--tw-exit-opacity:0;--tw-exit-scale:.95}.cn-context-menu-subcontent{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.cn-dialog-overlay{background-color:#0000001a}@supports (color:color-mix(in lab,red,red)){.cn-dialog-overlay{background-color:color-mix(in oklab,var(--color-black)10%,transparent)}}.cn-dialog-overlay{--tw-duration:.1s;transition-duration:.1s}@supports ((-webkit-backdrop-filter:var(--tw)) or (backdrop-filter:var(--tw))){.cn-dialog-overlay{--tw-backdrop-blur:blur(var(--blur-xs));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}}.cn-dialog-overlay:where([data-state=open]),.cn-dialog-overlay:where([data-open]:not([data-open=false])){animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);--tw-enter-opacity:0}.cn-dialog-overlay:where([data-state=closed]),.cn-dialog-overlay:where([data-closed]:not([data-closed=false])){animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);--tw-exit-opacity:0}.cn-dialog-content{gap:calc(var(--spacing)*4);border-radius:calc(var(--radius) + 4px);background-color:var(--background);max-width:calc(100% - 2rem);padding:calc(var(--spacing)*4);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:var(--foreground);display:grid}@supports (color:color-mix(in lab,red,red)){.cn-dialog-content{--tw-ring-color:color-mix(in oklab,var(--foreground)10%,transparent)}}.cn-dialog-content{--tw-duration:.1s;transition-duration:.1s}@media(min-width:40rem){.cn-dialog-content{max-width:var(--container-sm)}}.cn-dialog-content:where([data-state=open]),.cn-dialog-content:where([data-open]:not([data-open=false])){animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);--tw-enter-opacity:0;--tw-enter-scale:.95}.cn-dialog-content:where([data-state=closed]),.cn-dialog-content:where([data-closed]:not([data-closed=false])){animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);--tw-exit-opacity:0;--tw-exit-scale:.95}.cn-dialog-close{top:calc(var(--spacing)*2);right:calc(var(--spacing)*2);position:absolute}.cn-dialog-header{gap:calc(var(--spacing)*2)}.cn-dialog-footer{margin-inline:calc(var(--spacing)*-4);margin-bottom:calc(var(--spacing)*-4);border-bottom-right-radius:calc(var(--radius) + 4px);border-bottom-left-radius:calc(var(--radius) + 4px);border-top-style:var(--tw-border-style);background-color:var(--muted);border-top-width:1px}@supports (color:color-mix(in lab,red,red)){.cn-dialog-footer{background-color:color-mix(in oklab,var(--muted)50%,transparent)}}.cn-dialog-footer{padding:calc(var(--spacing)*4)}.cn-dialog-title{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height));--tw-leading:1;--tw-font-weight:var(--font-weight-medium);line-height:1;font-weight:var(--font-weight-medium)}.cn-dialog-description{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));color:var(--muted-foreground)}:is(.cn-dialog-description>*):is(a){text-underline-offset:3px;text-decoration-line:underline}@media(hover:hover){:is(.cn-dialog-description>*):is(a):hover{color:var(--foreground)}}.cn-drawer-overlay{background-color:#0000001a}@supports (color:color-mix(in lab,red,red)){.cn-drawer-overlay{background-color:color-mix(in oklab,var(--color-black)10%,transparent)}}@supports ((-webkit-backdrop-filter:var(--tw)) or (backdrop-filter:var(--tw))){.cn-drawer-overlay{--tw-backdrop-blur:blur(var(--blur-xs));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}}.cn-drawer-overlay:where([data-state=open]),.cn-drawer-overlay:where([data-open]:not([data-open=false])){animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);--tw-enter-opacity:0}.cn-drawer-overlay:where([data-state=closed]),.cn-drawer-overlay:where([data-closed]:not([data-closed=false])){animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);--tw-exit-opacity:0}.cn-drawer-content{background-color:var(--background);height:auto;font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));flex-direction:column;display:flex}.cn-drawer-content[data-vaul-drawer-direction=bottom]{inset-inline:calc(var(--spacing)*0);bottom:calc(var(--spacing)*0);margin-top:calc(var(--spacing)*24);border-top-left-radius:calc(var(--radius) + 4px);border-top-right-radius:calc(var(--radius) + 4px);border-top-style:var(--tw-border-style);border-top-width:1px;max-height:80vh}.cn-drawer-content[data-vaul-drawer-direction=left]{inset-block:calc(var(--spacing)*0);left:calc(var(--spacing)*0);border-top-right-radius:calc(var(--radius) + 4px);border-bottom-right-radius:calc(var(--radius) + 4px);border-right-style:var(--tw-border-style);border-right-width:1px;width:75%}.cn-drawer-content[data-vaul-drawer-direction=right]{inset-block:calc(var(--spacing)*0);right:calc(var(--spacing)*0);border-top-left-radius:calc(var(--radius) + 4px);border-bottom-left-radius:calc(var(--radius) + 4px);border-left-style:var(--tw-border-style);border-left-width:1px;width:75%}.cn-drawer-content[data-vaul-drawer-direction=top]{inset-inline:calc(var(--spacing)*0);top:calc(var(--spacing)*0);margin-bottom:calc(var(--spacing)*24);border-bottom-right-radius:calc(var(--radius) + 4px);border-bottom-left-radius:calc(var(--radius) + 4px);border-bottom-style:var(--tw-border-style);border-bottom-width:1px;max-height:80vh}@media(min-width:40rem){.cn-drawer-content[data-vaul-drawer-direction=left],.cn-drawer-content[data-vaul-drawer-direction=right]{max-width:var(--container-sm)}}.cn-drawer-handle{margin-inline:auto;margin-top:calc(var(--spacing)*4);height:calc(var(--spacing)*1);background-color:var(--muted);border-radius:3.40282e38px;flex-shrink:0;width:100px;display:none}.cn-drawer-handle:is(:where(.group\\/drawer-content)[data-vaul-drawer-direction=bottom] *){display:block}.cn-drawer-header{gap:calc(var(--spacing)*.5);padding:calc(var(--spacing)*4)}.cn-drawer-header:is(:where(.group\\/drawer-content)[data-vaul-drawer-direction=bottom] *),.cn-drawer-header:is(:where(.group\\/drawer-content)[data-vaul-drawer-direction=top] *){text-align:center}@media(min-width:48rem){.cn-drawer-header{gap:calc(var(--spacing)*.5);text-align:left}}.cn-drawer-title{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height));--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);color:var(--foreground)}.cn-drawer-description{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));color:var(--muted-foreground)}.cn-drawer-footer{gap:calc(var(--spacing)*2);padding:calc(var(--spacing)*4)}.cn-dropdown-menu-content{min-width:calc(var(--spacing)*32);border-radius:var(--radius);background-color:var(--popover);padding:calc(var(--spacing)*1);color:var(--popover-foreground);--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:color-mix(in oklab,var(--foreground)10%,transparent);--tw-duration:.1s;transition-duration:.1s}.cn-dropdown-menu-content[data-side=bottom]{--tw-enter-translate-y:calc(2*var(--spacing)*-1)}.cn-dropdown-menu-content[data-side=left]{--tw-enter-translate-x:calc(2*var(--spacing))}.cn-dropdown-menu-content[data-side=right]{--tw-enter-translate-x:calc(2*var(--spacing)*-1)}.cn-dropdown-menu-content[data-side=top]{--tw-enter-translate-y:calc(2*var(--spacing))}.cn-dropdown-menu-content:where([data-state=open]),.cn-dropdown-menu-content:where([data-open]:not([data-open=false])){animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);--tw-enter-opacity:0;--tw-enter-scale:.95}.cn-dropdown-menu-content:where([data-state=closed]),.cn-dropdown-menu-content:where([data-closed]:not([data-closed=false])){animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);--tw-exit-opacity:0;--tw-exit-scale:.95}.cn-dropdown-menu-content-logical[data-side=inline-end]{--tw-enter-translate-x:calc(2*var(--spacing)*-1)}.cn-dropdown-menu-content-logical[data-side=inline-start]{--tw-enter-translate-x:calc(2*var(--spacing))}.cn-dropdown-menu-item{gap:calc(var(--spacing)*1.5);border-radius:calc(var(--radius) - 2px);padding-inline:calc(var(--spacing)*1.5);padding-block:calc(var(--spacing)*1);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.cn-dropdown-menu-item:focus{background-color:var(--accent);color:var(--accent-foreground)}:is(.cn-dropdown-menu-item:not([data-variant=destructive]):focus *){color:var(--accent-foreground)}.cn-dropdown-menu-item[data-variant=destructive]{color:var(--destructive)}.cn-dropdown-menu-item[data-variant=destructive]:focus{background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-dropdown-menu-item[data-variant=destructive]:focus{background-color:color-mix(in oklab,var(--destructive)10%,transparent)}}.cn-dropdown-menu-item[data-variant=destructive]:focus{color:var(--destructive)}.cn-dropdown-menu-item:is(.dark *)[data-variant=destructive]:focus{background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-dropdown-menu-item:is(.dark *)[data-variant=destructive]:focus{background-color:color-mix(in oklab,var(--destructive)20%,transparent)}}.cn-dropdown-menu-item svg:not([class*=size-]){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}:is(.cn-dropdown-menu-item[data-variant=destructive]>*):is(svg){color:var(--destructive)}.cn-dropdown-menu-checkbox-item{gap:calc(var(--spacing)*1.5);border-radius:calc(var(--radius) - 2px);padding-block:calc(var(--spacing)*1);padding-right:calc(var(--spacing)*8);padding-left:calc(var(--spacing)*1.5);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.cn-dropdown-menu-checkbox-item:focus{background-color:var(--accent);color:var(--accent-foreground)}:is(.cn-dropdown-menu-checkbox-item:focus *){color:var(--accent-foreground)}.cn-dropdown-menu-checkbox-item svg:not([class*=size-]){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.cn-dropdown-menu-radio-item{gap:calc(var(--spacing)*1.5);border-radius:calc(var(--radius) - 2px);padding-block:calc(var(--spacing)*1);padding-right:calc(var(--spacing)*8);padding-left:calc(var(--spacing)*1.5);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.cn-dropdown-menu-radio-item:focus{background-color:var(--accent);color:var(--accent-foreground)}:is(.cn-dropdown-menu-radio-item:focus *){color:var(--accent-foreground)}.cn-dropdown-menu-radio-item svg:not([class*=size-]){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.cn-dropdown-menu-item-indicator{pointer-events:none;right:calc(var(--spacing)*2);justify-content:center;align-items:center;display:flex;position:absolute}.cn-dropdown-menu-label{padding-inline:calc(var(--spacing)*1.5);padding-block:calc(var(--spacing)*1);font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height));--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);color:var(--muted-foreground)}.cn-dropdown-menu-separator{margin-inline:calc(var(--spacing)*-1);margin-block:calc(var(--spacing)*1);background-color:var(--border);height:1px}.cn-dropdown-menu-shortcut{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height));--tw-tracking:var(--tracking-widest);letter-spacing:var(--tracking-widest);color:var(--muted-foreground);margin-left:auto}.cn-dropdown-menu-shortcut:is(:where(.group\\/dropdown-menu-item):focus *){color:var(--accent-foreground)}.cn-dropdown-menu-sub-trigger{gap:calc(var(--spacing)*1.5);border-radius:calc(var(--radius) - 2px);padding-inline:calc(var(--spacing)*1.5);padding-block:calc(var(--spacing)*1);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.cn-dropdown-menu-sub-trigger:focus{background-color:var(--accent);color:var(--accent-foreground)}:is(.cn-dropdown-menu-sub-trigger:not([data-variant=destructive]):focus *){color:var(--accent-foreground)}.cn-dropdown-menu-sub-trigger:where([data-state=open]),.cn-dropdown-menu-sub-trigger:where([data-open]:not([data-open=false])){background-color:var(--accent);color:var(--accent-foreground)}.cn-dropdown-menu-sub-trigger svg:not([class*=size-]){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.cn-dropdown-menu-sub-content{border-radius:calc(var(--radius) - 2px);background-color:var(--popover);min-width:96px;padding:calc(var(--spacing)*1);color:var(--popover-foreground);--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:color-mix(in oklab,var(--foreground)10%,transparent);--tw-duration:.1s;transition-duration:.1s}.cn-dropdown-menu-sub-content[data-side=bottom]{--tw-enter-translate-y:calc(2*var(--spacing)*-1)}.cn-dropdown-menu-sub-content[data-side=left]{--tw-enter-translate-x:calc(2*var(--spacing))}.cn-dropdown-menu-sub-content[data-side=right]{--tw-enter-translate-x:calc(2*var(--spacing)*-1)}.cn-dropdown-menu-sub-content[data-side=top]{--tw-enter-translate-y:calc(2*var(--spacing))}.cn-dropdown-menu-sub-content:where([data-state=open]),.cn-dropdown-menu-sub-content:where([data-open]:not([data-open=false])){animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);--tw-enter-opacity:0;--tw-enter-scale:.95}.cn-dropdown-menu-sub-content:where([data-state=closed]),.cn-dropdown-menu-sub-content:where([data-closed]:not([data-closed=false])){animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);--tw-exit-opacity:0;--tw-exit-scale:.95}.cn-dropdown-menu-subcontent{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.cn-empty{gap:calc(var(--spacing)*4);border-radius:var(--radius);--tw-border-style:dashed;padding:calc(var(--spacing)*6);border-style:dashed}.cn-empty-header{gap:calc(var(--spacing)*2)}.cn-empty-media{margin-bottom:calc(var(--spacing)*2)}.cn-empty-media-default{background-color:#0000}.cn-empty-media-icon{width:calc(var(--spacing)*8);height:calc(var(--spacing)*8);border-radius:var(--radius);background-color:var(--muted);color:var(--foreground);flex-shrink:0;justify-content:center;align-items:center;display:flex}.cn-empty-media-icon svg:not([class*=size-]){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.cn-empty-title{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.cn-empty-description{font-size:var(--text-sm);line-height:var(--leading-relaxed)}.cn-empty-content{gap:calc(var(--spacing)*2.5);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.cn-field-set{gap:calc(var(--spacing)*4)}.cn-field-set:has(>[data-slot=checkbox-group]),.cn-field-set:has(>[data-slot=radio-group]){gap:calc(var(--spacing)*3)}.cn-field-legend{margin-bottom:calc(var(--spacing)*1.5);--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.cn-field-legend[data-variant=label]{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.cn-field-legend[data-variant=legend]{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.cn-field-group{gap:calc(var(--spacing)*5)}.cn-field-group[data-slot=checkbox-group]{gap:calc(var(--spacing)*3)}.cn-field-group>[data-slot=field-group]{gap:calc(var(--spacing)*4)}.cn-field{gap:calc(var(--spacing)*2)}.cn-field[data-invalid=true]{color:var(--destructive)}.cn-field-content{gap:calc(var(--spacing)*.5)}.cn-field-label{gap:calc(var(--spacing)*2)}.cn-field-label:is(:where(.group\\/field)[data-disabled=true] *){opacity:.5}.cn-field-label:has(:where([data-state=checked]),:where([data-checked]:not([data-checked=false]))){border-color:var(--primary)}@supports (color:color-mix(in lab,red,red)){.cn-field-label:has(:where([data-state=checked]),:where([data-checked]:not([data-checked=false]))){border-color:color-mix(in oklab,var(--primary)30%,transparent)}}.cn-field-label:has(:where([data-state=checked]),:where([data-checked]:not([data-checked=false]))){background-color:var(--primary)}@supports (color:color-mix(in lab,red,red)){.cn-field-label:has(:where([data-state=checked]),:where([data-checked]:not([data-checked=false]))){background-color:color-mix(in oklab,var(--primary)5%,transparent)}}.cn-field-label:has(>[data-slot=field]){border-radius:var(--radius);border-style:var(--tw-border-style);border-width:1px}.cn-field-label:is(.dark *):has(:where([data-state=checked]),:where([data-checked]:not([data-checked=false]))){border-color:var(--primary)}@supports (color:color-mix(in lab,red,red)){.cn-field-label:is(.dark *):has(:where([data-state=checked]),:where([data-checked]:not([data-checked=false]))){border-color:color-mix(in oklab,var(--primary)20%,transparent)}}.cn-field-label:is(.dark *):has(:where([data-state=checked]),:where([data-checked]:not([data-checked=false]))){background-color:var(--primary)}@supports (color:color-mix(in lab,red,red)){.cn-field-label:is(.dark *):has(:where([data-state=checked]),:where([data-checked]:not([data-checked=false]))){background-color:color-mix(in oklab,var(--primary)10%,transparent)}}.cn-field-label>[data-slot=field]{padding:calc(var(--spacing)*2.5)}.cn-field-title{gap:calc(var(--spacing)*2);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.cn-field-title:is(:where(.group\\/field)[data-disabled=true] *){opacity:.5}.cn-field-description{text-align:left;font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));color:var(--muted-foreground)}[data-variant=legend]+.cn-field-description{margin-top:calc(var(--spacing)*-1.5)}.cn-field-separator{margin-block:calc(var(--spacing)*-2);height:calc(var(--spacing)*5);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.cn-field-separator:is(:where(.group\\/field-group)[data-variant=outline] *){margin-bottom:calc(var(--spacing)*-2)}.cn-field-separator-content{padding-inline:calc(var(--spacing)*2);color:var(--muted-foreground)}.cn-field-error{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));color:var(--destructive)}.cn-hover-card-content{width:calc(var(--spacing)*64);border-radius:var(--radius);background-color:var(--popover);padding:calc(var(--spacing)*2.5);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));color:var(--popover-foreground);--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:color-mix(in oklab,var(--foreground)10%,transparent);--tw-duration:.1s;transition-duration:.1s}.cn-hover-card-content-logical[data-side=inline-end]{--tw-enter-translate-x:calc(2*var(--spacing)*-1)}.cn-hover-card-content-logical[data-side=inline-start]{--tw-enter-translate-x:calc(2*var(--spacing))}.cn-input{height:calc(var(--spacing)*8);border-radius:var(--radius);border-style:var(--tw-border-style);border-width:1px;border-color:var(--input);padding-inline:calc(var(--spacing)*2.5);padding-block:calc(var(--spacing)*1);font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height));transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));background-color:#0000}.cn-input::file-selector-button{height:calc(var(--spacing)*6)}.cn-input::file-selector-button{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.cn-input::file-selector-button{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.cn-input:focus-visible{border-color:var(--ring);--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){.cn-input:focus-visible{--tw-ring-color:color-mix(in oklab,var(--ring)50%,transparent)}}.cn-input:disabled{background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){.cn-input:disabled{background-color:color-mix(in oklab,var(--input)50%,transparent)}}.cn-input[aria-invalid=true]{border-color:var(--destructive);--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-input[aria-invalid=true]{--tw-ring-color:color-mix(in oklab,var(--destructive)20%,transparent)}}@media(min-width:48rem){.cn-input{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}}.cn-input:is(.dark *){background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){.cn-input:is(.dark *){background-color:color-mix(in oklab,var(--input)30%,transparent)}}.cn-input:is(.dark *):disabled{background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){.cn-input:is(.dark *):disabled{background-color:color-mix(in oklab,var(--input)80%,transparent)}}.cn-input:is(.dark *)[aria-invalid=true]{border-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-input:is(.dark *)[aria-invalid=true]{border-color:color-mix(in oklab,var(--destructive)50%,transparent)}}.cn-input:is(.dark *)[aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-input:is(.dark *)[aria-invalid=true]{--tw-ring-color:color-mix(in oklab,var(--destructive)40%,transparent)}}.cn-input-otp{gap:calc(var(--spacing)*2)}.cn-input-otp-group{border-radius:var(--radius)}.cn-input-otp-group:has([aria-invalid=true]){border-color:var(--destructive);--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-input-otp-group:has([aria-invalid=true]){--tw-ring-color:color-mix(in oklab,var(--destructive)20%,transparent)}}.cn-input-otp-group:is(.dark *):has([aria-invalid=true]){--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-input-otp-group:is(.dark *):has([aria-invalid=true]){--tw-ring-color:color-mix(in oklab,var(--destructive)40%,transparent)}}.cn-input-otp-slot{width:calc(var(--spacing)*8);height:calc(var(--spacing)*8);border-block-style:var(--tw-border-style);border-block-width:1px;border-right-style:var(--tw-border-style);border-right-width:1px;border-color:var(--input);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-outline-style:none;outline-style:none}.cn-input-otp-slot:first-child{border-top-left-radius:var(--radius);border-bottom-left-radius:var(--radius);border-left-style:var(--tw-border-style);border-left-width:1px}.cn-input-otp-slot:last-child{border-top-right-radius:var(--radius);border-bottom-right-radius:var(--radius)}.cn-input-otp-slot[aria-invalid=true]{border-color:var(--destructive)}.cn-input-otp-slot[data-active=true]{border-color:var(--ring);--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){.cn-input-otp-slot[data-active=true]{--tw-ring-color:color-mix(in oklab,var(--ring)50%,transparent)}}.cn-input-otp-slot[data-active=true][aria-invalid=true]{border-color:var(--destructive);--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-input-otp-slot[data-active=true][aria-invalid=true]{--tw-ring-color:color-mix(in oklab,var(--destructive)20%,transparent)}}.cn-input-otp-slot:is(.dark *){background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){.cn-input-otp-slot:is(.dark *){background-color:color-mix(in oklab,var(--input)30%,transparent)}}.cn-input-otp-slot:is(.dark *)[data-active=true][aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-input-otp-slot:is(.dark *)[data-active=true][aria-invalid=true]{--tw-ring-color:color-mix(in oklab,var(--destructive)40%,transparent)}}.cn-input-otp-caret-line{height:calc(var(--spacing)*4);background-color:var(--foreground);--tw-duration:1s;width:1px;transition-duration:1s;animation:1.25s ease-out infinite caret-blink}.cn-input-otp-separator svg:not([class*=size-]){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.cn-item{border-radius:var(--radius);border-style:var(--tw-border-style);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));border-width:1px}@media(hover:hover){.cn-item:is(a):hover{background-color:var(--muted)}}.cn-item-variant-default{border-color:#0000}.cn-item-variant-outline{border-color:var(--border)}.cn-item-variant-muted{background-color:var(--muted);border-color:#0000}@supports (color:color-mix(in lab,red,red)){.cn-item-variant-muted{background-color:color-mix(in oklab,var(--muted)50%,transparent)}}.cn-item-size-default,.cn-item-size-sm{gap:calc(var(--spacing)*2.5);padding-inline:calc(var(--spacing)*3);padding-block:calc(var(--spacing)*2.5)}.cn-item-size-xs{gap:calc(var(--spacing)*2);padding-inline:calc(var(--spacing)*2.5);padding-block:calc(var(--spacing)*2)}[data-slot=dropdown-menu-content] .cn-item-size-xs{padding:calc(var(--spacing)*0)}.cn-item-media{gap:calc(var(--spacing)*2)}.cn-item-media:is(:where(.group\\/item):has([data-slot=item-description]) *){--tw-translate-y:calc(var(--spacing)*.5);translate:var(--tw-translate-x)var(--tw-translate-y);align-self:flex-start}.cn-item-media-variant-default{background-color:#0000}.cn-item-media-variant-icon svg:not([class*=size-]){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.cn-item-media-variant-image{width:calc(var(--spacing)*10);height:calc(var(--spacing)*10);border-radius:calc(var(--radius) - 4px);overflow:hidden}.cn-item-media-variant-image:is(:where(.group\\/item)[data-size=sm] *){width:calc(var(--spacing)*8);height:calc(var(--spacing)*8)}.cn-item-media-variant-image:is(:where(.group\\/item)[data-size=xs] *){width:calc(var(--spacing)*6);height:calc(var(--spacing)*6)}.cn-item-media-variant-image img{object-fit:cover;width:100%;height:100%}.cn-item-content{gap:calc(var(--spacing)*1)}.cn-item-content:is(:where(.group\\/item)[data-size=xs] *){gap:calc(var(--spacing)*0)}.cn-item-title{gap:calc(var(--spacing)*2);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));--tw-leading:var(--leading-snug);line-height:var(--leading-snug);--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);text-underline-offset:4px}.cn-item-description{text-align:left;font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));--tw-leading:var(--leading-normal);line-height:var(--leading-normal);color:var(--muted-foreground)}.cn-item-description:is(:where(.group\\/item)[data-size=xs] *){font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.cn-item-actions,.cn-item-header,.cn-item-footer{gap:calc(var(--spacing)*2)}.cn-item-group{gap:calc(var(--spacing)*4)}.cn-item-group:has([data-size=sm]){gap:calc(var(--spacing)*2.5)}.cn-item-group:has([data-size=xs]){gap:calc(var(--spacing)*2)}.cn-item-separator{margin-block:calc(var(--spacing)*2)}.cn-kbd{height:calc(var(--spacing)*5);width:fit-content;min-width:calc(var(--spacing)*5);gap:calc(var(--spacing)*1);border-radius:calc(var(--radius) - 4px);background-color:var(--muted);padding-inline:calc(var(--spacing)*1);font-family:var(--font-sans);font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height));--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);color:var(--muted-foreground)}.cn-kbd svg:not([class*=size-]){width:calc(var(--spacing)*3);height:calc(var(--spacing)*3)}[data-slot=tooltip-content] .cn-kbd{background-color:var(--background)}@supports (color:color-mix(in lab,red,red)){[data-slot=tooltip-content] .cn-kbd{background-color:color-mix(in oklab,var(--background)20%,transparent)}}[data-slot=tooltip-content] .cn-kbd{color:var(--background)}[data-slot=tooltip-content] .cn-kbd:is(.dark *){background-color:var(--background)}@supports (color:color-mix(in lab,red,red)){[data-slot=tooltip-content] .cn-kbd:is(.dark *){background-color:color-mix(in oklab,var(--background)10%,transparent)}}.cn-kbd-group{gap:calc(var(--spacing)*1)}.cn-label{gap:calc(var(--spacing)*2);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));--tw-leading:1;--tw-font-weight:var(--font-weight-medium);line-height:1;font-weight:var(--font-weight-medium)}.cn-label:is(:where(.group)[data-disabled=true] *),.cn-label:is(:where(.peer):disabled~*){opacity:.5}.cn-menubar{height:calc(var(--spacing)*8);gap:calc(var(--spacing)*.5);border-radius:var(--radius);border-style:var(--tw-border-style);background-color:var(--background);border-width:1px;padding:3px}.cn-menubar-trigger{border-radius:calc(var(--radius) - 4px);padding-inline:calc(var(--spacing)*1.5);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);padding-block:2px}@media(hover:hover){.cn-menubar-trigger:hover{background-color:var(--muted)}}.cn-menubar-trigger[aria-expanded=true]{background-color:var(--muted)}.cn-menubar-content{min-width:calc(var(--spacing)*36);border-radius:var(--radius);background-color:var(--popover);padding:calc(var(--spacing)*1);color:var(--popover-foreground);--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:color-mix(in oklab,var(--foreground)10%,transparent);--tw-duration:.1s;transition-duration:.1s}.cn-menubar-content[data-side=bottom]{--tw-enter-translate-y:calc(2*var(--spacing)*-1)}.cn-menubar-content[data-side=left]{--tw-enter-translate-x:calc(2*var(--spacing))}.cn-menubar-content[data-side=right]{--tw-enter-translate-x:calc(2*var(--spacing)*-1)}.cn-menubar-content[data-side=top]{--tw-enter-translate-y:calc(2*var(--spacing))}.cn-menubar-content:where([data-state=open]),.cn-menubar-content:where([data-open]:not([data-open=false])){animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);--tw-enter-opacity:0;--tw-enter-scale:.95}.cn-menubar-content-logical[data-side=inline-end]{--tw-enter-translate-x:calc(2*var(--spacing)*-1)}.cn-menubar-content-logical[data-side=inline-start]{--tw-enter-translate-x:calc(2*var(--spacing))}.cn-menubar-item{gap:calc(var(--spacing)*1.5);border-radius:calc(var(--radius) - 2px);padding-inline:calc(var(--spacing)*1.5);padding-block:calc(var(--spacing)*1);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.cn-menubar-item:focus{background-color:var(--accent);color:var(--accent-foreground)}:is(.cn-menubar-item:not([data-variant=destructive]):focus *){color:var(--accent-foreground)}.cn-menubar-item[data-disabled]{opacity:.5}.cn-menubar-item[data-inset]{padding-left:calc(var(--spacing)*8)}.cn-menubar-item[data-variant=destructive]{color:var(--destructive)}.cn-menubar-item[data-variant=destructive]:focus{background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-menubar-item[data-variant=destructive]:focus{background-color:color-mix(in oklab,var(--destructive)10%,transparent)}}.cn-menubar-item[data-variant=destructive]:focus{color:var(--destructive)}.cn-menubar-item:is(.dark *)[data-variant=destructive]:focus{background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-menubar-item:is(.dark *)[data-variant=destructive]:focus{background-color:color-mix(in oklab,var(--destructive)20%,transparent)}}.cn-menubar-item svg:not([class*=size-]){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}:is(.cn-menubar-item[data-variant=destructive]>*):is(svg){color:var(--destructive)!important}.cn-menubar-checkbox-item{gap:calc(var(--spacing)*1.5);border-radius:calc(var(--radius) - 2px);padding-block:calc(var(--spacing)*1);padding-right:calc(var(--spacing)*1.5);padding-left:calc(var(--spacing)*7);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.cn-menubar-checkbox-item:focus{background-color:var(--accent);color:var(--accent-foreground)}:is(.cn-menubar-checkbox-item:focus *){color:var(--accent-foreground)}.cn-menubar-checkbox-item:where([data-disabled=true]),.cn-menubar-checkbox-item:where([data-disabled]:not([data-disabled=false])){opacity:.5}.cn-menubar-checkbox-item-indicator{left:calc(var(--spacing)*1.5);width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.cn-menubar-checkbox-item-indicator svg:not([class*=size-]){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.cn-menubar-radio-item{gap:calc(var(--spacing)*1.5);border-radius:calc(var(--radius) - 2px);padding-block:calc(var(--spacing)*1);padding-right:calc(var(--spacing)*1.5);padding-left:calc(var(--spacing)*7);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.cn-menubar-radio-item:focus{background-color:var(--accent);color:var(--accent-foreground)}:is(.cn-menubar-radio-item:focus *){color:var(--accent-foreground)}.cn-menubar-radio-item:where([data-disabled=true]),.cn-menubar-radio-item:where([data-disabled]:not([data-disabled=false])){opacity:.5}.cn-menubar-radio-item svg:not([class*=size-]){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.cn-menubar-radio-item-indicator{left:calc(var(--spacing)*1.5);width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.cn-menubar-radio-item-indicator svg:not([class*=size-]){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.cn-menubar-label{padding-inline:calc(var(--spacing)*1.5);padding-block:calc(var(--spacing)*1);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.cn-menubar-label[data-inset]{padding-left:calc(var(--spacing)*8)}.cn-menubar-separator{background-color:var(--border)}.cn-menubar-shortcut{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height));--tw-tracking:var(--tracking-widest);letter-spacing:var(--tracking-widest);color:var(--muted-foreground)}.cn-menubar-shortcut:is(:where(.group\\/menubar-item):focus *){color:var(--accent-foreground)}.cn-menubar-sub-trigger{gap:calc(var(--spacing)*1.5);border-radius:calc(var(--radius) - 2px);padding-inline:calc(var(--spacing)*1.5);padding-block:calc(var(--spacing)*1);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.cn-menubar-sub-trigger:focus{background-color:var(--accent);color:var(--accent-foreground)}.cn-menubar-sub-trigger[data-inset]{padding-left:calc(var(--spacing)*8)}.cn-menubar-sub-trigger:where([data-state=open]),.cn-menubar-sub-trigger:where([data-open]:not([data-open=false])){background-color:var(--accent);color:var(--accent-foreground)}.cn-menubar-sub-trigger svg:not([class*=size-]){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.cn-menubar-sub-content{min-width:calc(var(--spacing)*32);border-radius:var(--radius);background-color:var(--popover);padding:calc(var(--spacing)*1);color:var(--popover-foreground);--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:color-mix(in oklab,var(--foreground)10%,transparent);--tw-duration:.1s;transition-duration:.1s}.cn-menubar-sub-content[data-side=bottom]{--tw-enter-translate-y:calc(2*var(--spacing)*-1)}.cn-menubar-sub-content[data-side=left]{--tw-enter-translate-x:calc(2*var(--spacing))}.cn-menubar-sub-content[data-side=right]{--tw-enter-translate-x:calc(2*var(--spacing)*-1)}.cn-menubar-sub-content[data-side=top]{--tw-enter-translate-y:calc(2*var(--spacing))}.cn-menubar-sub-content:where([data-state=open]),.cn-menubar-sub-content:where([data-open]:not([data-open=false])){animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);--tw-enter-opacity:0;--tw-enter-scale:.95}.cn-menubar-sub-content:where([data-state=closed]),.cn-menubar-sub-content:where([data-closed]:not([data-closed=false])){animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);--tw-exit-opacity:0;--tw-exit-scale:.95}.cn-navigation-menu{max-width:max-content}.cn-navigation-menu-list{gap:calc(var(--spacing)*0)}.cn-navigation-menu-trigger{border-radius:var(--radius);background-color:var(--background);padding-inline:calc(var(--spacing)*2.5);padding-block:calc(var(--spacing)*1.5);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}@media(hover:hover){.cn-navigation-menu-trigger:hover{background-color:var(--muted)}}.cn-navigation-menu-trigger:focus{background-color:var(--muted)}.cn-navigation-menu-trigger:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){.cn-navigation-menu-trigger:focus-visible{--tw-ring-color:color-mix(in oklab,var(--ring)50%,transparent)}}.cn-navigation-menu-trigger:focus-visible{outline-style:var(--tw-outline-style);outline-width:1px}.cn-navigation-menu-trigger:disabled{opacity:.5}.cn-navigation-menu-trigger[data-popup-open]{background-color:var(--muted)}@supports (color:color-mix(in lab,red,red)){.cn-navigation-menu-trigger[data-popup-open]{background-color:color-mix(in oklab,var(--muted)50%,transparent)}}@media(hover:hover){.cn-navigation-menu-trigger[data-popup-open]:hover{background-color:var(--muted)}}.cn-navigation-menu-trigger:where([data-state=open]),.cn-navigation-menu-trigger:where([data-open]:not([data-open=false])){background-color:var(--muted)}@supports (color:color-mix(in lab,red,red)){.cn-navigation-menu-trigger:where([data-state=open]),.cn-navigation-menu-trigger:where([data-open]:not([data-open=false])){background-color:color-mix(in oklab,var(--muted)50%,transparent)}}@media(hover:hover){:is(.cn-navigation-menu-trigger:where([data-state=open]),.cn-navigation-menu-trigger:where([data-open]:not([data-open=false]))):hover{background-color:var(--muted)}}:is(.cn-navigation-menu-trigger:where([data-state=open]),.cn-navigation-menu-trigger:where([data-open]:not([data-open=false]))):focus{background-color:var(--muted)}.cn-navigation-menu-link{align-items:center;gap:calc(var(--spacing)*2);border-radius:var(--radius);padding:calc(var(--spacing)*2);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-outline-style:none;outline-style:none;display:flex}@media(hover:hover){.cn-navigation-menu-link:hover{background-color:var(--muted)}}.cn-navigation-menu-link:focus{background-color:var(--muted)}.cn-navigation-menu-link:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){.cn-navigation-menu-link:focus-visible{--tw-ring-color:color-mix(in oklab,var(--ring)50%,transparent)}}.cn-navigation-menu-link:focus-visible{outline-style:var(--tw-outline-style);outline-width:1px}.cn-navigation-menu-link:where([data-state=active]),.cn-navigation-menu-link:where([data-active]:not([data-active=false])){background-color:var(--muted)}@supports (color:color-mix(in lab,red,red)){.cn-navigation-menu-link:where([data-state=active]),.cn-navigation-menu-link:where([data-active]:not([data-active=false])){background-color:color-mix(in oklab,var(--muted)50%,transparent)}}@media(hover:hover){:is(.cn-navigation-menu-link:where([data-state=active]),.cn-navigation-menu-link:where([data-active]:not([data-active=false]))):hover{background-color:var(--muted)}}:is(.cn-navigation-menu-link:where([data-state=active]),.cn-navigation-menu-link:where([data-active]:not([data-active=false]))):focus{background-color:var(--muted)}.cn-navigation-menu-link svg:not([class*=size-]){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}[data-slot=navigation-menu-content] .cn-navigation-menu-link{border-radius:calc(var(--radius) - 2px)}.cn-navigation-menu-trigger-icon{margin-left:calc(var(--spacing)*1);width:calc(var(--spacing)*3);height:calc(var(--spacing)*3);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.3s;transition-duration:.3s;position:relative;top:1px}.cn-navigation-menu-trigger-icon:is(:where(.group\\/navigation-menu-trigger)[data-popup-open] *),.cn-navigation-menu-trigger-icon:is(:is(:where(.group\\/navigation-menu-trigger):where([data-state=open]),:where(.group\\/navigation-menu-trigger):where([data-open]:not([data-open=false]))) *){rotate:180deg}.cn-navigation-menu-content{padding:calc(var(--spacing)*1);--tw-ease:cubic-bezier(.22,1,.36,1);transition-timing-function:cubic-bezier(.22,1,.36,1)}.cn-navigation-menu-content:is(:where(.group\\/navigation-menu)[data-viewport=false] *){border-radius:var(--radius);background-color:var(--popover);color:var(--popover-foreground);--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:var(--foreground)}@supports (color:color-mix(in lab,red,red)){.cn-navigation-menu-content:is(:where(.group\\/navigation-menu)[data-viewport=false] *){--tw-ring-color:color-mix(in oklab,var(--foreground)10%,transparent)}}.cn-navigation-menu-content:is(:where(.group\\/navigation-menu)[data-viewport=false] *){--tw-duration:.3s;transition-duration:.3s}.cn-navigation-menu-content[data-motion=from-end]{--tw-enter-translate-x:calc(52*var(--spacing))}.cn-navigation-menu-content[data-motion=from-start]{--tw-enter-translate-x:calc(52*var(--spacing)*-1)}.cn-navigation-menu-content[data-motion=to-end]{--tw-exit-translate-x:calc(52*var(--spacing))}.cn-navigation-menu-content[data-motion=to-start]{--tw-exit-translate-x:calc(52*var(--spacing)*-1)}.cn-navigation-menu-content[data-motion^=from-]{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);--tw-enter-opacity:0}.cn-navigation-menu-content[data-motion^=to-]{animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);--tw-exit-opacity:0}.cn-navigation-menu-content:is(:where(.group\\/navigation-menu)[data-viewport=false] *):where([data-state=open]),.cn-navigation-menu-content:is(:where(.group\\/navigation-menu)[data-viewport=false] *):where([data-open]:not([data-open=false])){animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);--tw-enter-opacity:0;--tw-enter-scale:.95}.cn-navigation-menu-content:is(:where(.group\\/navigation-menu)[data-viewport=false] *):where([data-state=closed]),.cn-navigation-menu-content:is(:where(.group\\/navigation-menu)[data-viewport=false] *):where([data-closed]:not([data-closed=false])){animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);--tw-exit-opacity:0;--tw-exit-scale:.95}.cn-navigation-menu-viewport{border-radius:var(--radius);background-color:var(--popover);color:var(--popover-foreground);--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:color-mix(in oklab,var(--foreground)10%,transparent);--tw-duration:.1s;transition-duration:.1s}.cn-navigation-menu-viewport:where([data-state=open]),.cn-navigation-menu-viewport:where([data-open]:not([data-open=false])){animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);--tw-enter-scale:.9}.cn-navigation-menu-viewport:where([data-state=closed]),.cn-navigation-menu-viewport:where([data-closed]:not([data-closed=false])){animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);--tw-exit-scale:.95}.cn-navigation-menu-indicator[data-state=hidden]{animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);--tw-exit-opacity:0}.cn-navigation-menu-indicator[data-state=visible]{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);--tw-enter-opacity:0}.cn-navigation-menu-indicator-arrow{border-top-left-radius:calc(var(--radius) - 4px);background-color:var(--border);--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.cn-navigation-menu-positioner{transition-property:top,left,right,bottom;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.3s;--tw-ease:cubic-bezier(.22,1,.36,1);transition-duration:.3s;transition-timing-function:cubic-bezier(.22,1,.36,1)}.cn-navigation-menu-positioner[data-side=bottom]:before{top:-10px;right:calc(var(--spacing)*0);content:var(--tw-content);left:calc(var(--spacing)*0)}.cn-navigation-menu-popup{border-radius:var(--radius);background-color:var(--popover);color:var(--popover-foreground);--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:color-mix(in oklab,var(--foreground)10%,transparent);transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-ease:cubic-bezier(.22,1,.36,1);--tw-outline-style:none;outline-style:none;transition-timing-function:cubic-bezier(.22,1,.36,1)}.cn-navigation-menu-popup[data-ending-style]{--tw-scale-x:90%;--tw-scale-y:90%;--tw-scale-z:90%;scale:var(--tw-scale-x)var(--tw-scale-y);opacity:0;--tw-duration:.15s;transition-duration:.15s}.cn-navigation-menu-popup[data-starting-style]{--tw-scale-x:90%;--tw-scale-y:90%;--tw-scale-z:90%;scale:var(--tw-scale-x)var(--tw-scale-y);opacity:0}.cn-native-select{height:calc(var(--spacing)*8);width:100%;min-width:calc(var(--spacing)*0);-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--radius);border-style:var(--tw-border-style);border-width:1px;border-color:var(--input);padding-block:calc(var(--spacing)*1);padding-right:calc(var(--spacing)*8);padding-left:calc(var(--spacing)*2.5);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));-webkit-user-select:none;user-select:none;background-color:#0000}.cn-native-select ::selection{background-color:var(--primary)}.cn-native-select::selection{background-color:var(--primary)}.cn-native-select ::selection{color:var(--primary-foreground)}.cn-native-select::selection{color:var(--primary-foreground)}.cn-native-select::placeholder{color:var(--muted-foreground)}.cn-native-select:focus-visible{border-color:var(--ring);--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){.cn-native-select:focus-visible{--tw-ring-color:color-mix(in oklab,var(--ring)50%,transparent)}}.cn-native-select[aria-invalid=true]{border-color:var(--destructive);--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-native-select[aria-invalid=true]{--tw-ring-color:color-mix(in oklab,var(--destructive)20%,transparent)}}.cn-native-select[data-size=sm]{height:calc(var(--spacing)*7);border-radius:min(var(--radius-md),10px);padding-block:calc(var(--spacing)*.5)}.cn-native-select:is(.dark *){background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){.cn-native-select:is(.dark *){background-color:color-mix(in oklab,var(--input)30%,transparent)}}@media(hover:hover){.cn-native-select:is(.dark *):hover{background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){.cn-native-select:is(.dark *):hover{background-color:color-mix(in oklab,var(--input)50%,transparent)}}}.cn-native-select:is(.dark *)[aria-invalid=true]{border-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-native-select:is(.dark *)[aria-invalid=true]{border-color:color-mix(in oklab,var(--destructive)50%,transparent)}}.cn-native-select:is(.dark *)[aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-native-select:is(.dark *)[aria-invalid=true]{--tw-ring-color:color-mix(in oklab,var(--destructive)40%,transparent)}}.cn-native-select-icon{top:50%;right:calc(var(--spacing)*2.5);width:calc(var(--spacing)*4);height:calc(var(--spacing)*4);--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y);color:var(--muted-foreground)}.cn-pagination-content{gap:calc(var(--spacing)*.5)}.cn-pagination-ellipsis{width:calc(var(--spacing)*8);height:calc(var(--spacing)*8);justify-content:center;align-items:center}.cn-pagination-ellipsis svg:not([class*=size-]){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.cn-pagination-previous{padding-left:calc(var(--spacing)*1.5)!important}.cn-pagination-next{padding-right:calc(var(--spacing)*1.5)!important}.cn-popover-content{gap:calc(var(--spacing)*2.5);border-radius:var(--radius);background-color:var(--popover);padding:calc(var(--spacing)*2.5);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));color:var(--popover-foreground);--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:color-mix(in oklab,var(--foreground)10%,transparent);--tw-duration:.1s;flex-direction:column;transition-duration:.1s;display:flex}.cn-popover-content[data-side=bottom]{--tw-enter-translate-y:calc(2*var(--spacing)*-1)}.cn-popover-content[data-side=left]{--tw-enter-translate-x:calc(2*var(--spacing))}.cn-popover-content[data-side=right]{--tw-enter-translate-x:calc(2*var(--spacing)*-1)}.cn-popover-content[data-side=top]{--tw-enter-translate-y:calc(2*var(--spacing))}.cn-popover-content:where([data-state=open]),.cn-popover-content:where([data-open]:not([data-open=false])){animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);--tw-enter-opacity:0;--tw-enter-scale:.95}.cn-popover-content:where([data-state=closed]),.cn-popover-content:where([data-closed]:not([data-closed=false])){animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);--tw-exit-opacity:0;--tw-exit-scale:.95}.cn-popover-content-logical[data-side=inline-end]{--tw-enter-translate-x:calc(2*var(--spacing)*-1)}.cn-popover-content-logical[data-side=inline-start]{--tw-enter-translate-x:calc(2*var(--spacing))}.cn-hover-card-content{gap:calc(var(--spacing)*2.5);border-radius:var(--radius);background-color:var(--popover);padding:calc(var(--spacing)*2.5);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));color:var(--popover-foreground);--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:color-mix(in oklab,var(--foreground)10%,transparent);--tw-duration:.1s;flex-direction:column;transition-duration:.1s;display:flex}.cn-hover-card-content[data-side=bottom]{--tw-enter-translate-y:calc(2*var(--spacing)*-1)}.cn-hover-card-content[data-side=left]{--tw-enter-translate-x:calc(2*var(--spacing))}.cn-hover-card-content[data-side=right]{--tw-enter-translate-x:calc(2*var(--spacing)*-1)}.cn-hover-card-content[data-side=top]{--tw-enter-translate-y:calc(2*var(--spacing))}.cn-hover-card-content:where([data-state=open]),.cn-hover-card-content:where([data-open]:not([data-open=false])){animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);--tw-enter-opacity:0;--tw-enter-scale:.95}.cn-hover-card-content:where([data-state=closed]),.cn-hover-card-content:where([data-closed]:not([data-closed=false])){animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);--tw-exit-opacity:0;--tw-exit-scale:.95}.cn-popover-header{gap:calc(var(--spacing)*.5);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));flex-direction:column;display:flex}.cn-popover-title{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.cn-popover-description{color:var(--muted-foreground)}.cn-progress,.cn-progress-track{height:calc(var(--spacing)*1);background-color:var(--muted);border-radius:3.40282e38px}.cn-progress-indicator{background-color:var(--primary)}.cn-progress-label{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.cn-progress-value{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));color:var(--muted-foreground);--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,);margin-left:auto}.cn-radio-group{gap:calc(var(--spacing)*2);display:grid}.cn-radio-group-item{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4);border-color:var(--input);color:var(--primary);border-radius:3.40282e38px;display:flex}.cn-radio-group-item:focus-visible{border-color:var(--ring);--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){.cn-radio-group-item:focus-visible{--tw-ring-color:color-mix(in oklab,var(--ring)50%,transparent)}}.cn-radio-group-item[aria-invalid=true]{border-color:var(--destructive);--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-radio-group-item[aria-invalid=true]{--tw-ring-color:color-mix(in oklab,var(--destructive)20%,transparent)}}.cn-radio-group-item:is(.dark *){background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){.cn-radio-group-item:is(.dark *){background-color:color-mix(in oklab,var(--input)30%,transparent)}}.cn-radio-group-item:is(.dark *)[aria-invalid=true]{border-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-radio-group-item:is(.dark *)[aria-invalid=true]{border-color:color-mix(in oklab,var(--destructive)50%,transparent)}}.cn-radio-group-item:is(.dark *)[aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-radio-group-item:is(.dark *)[aria-invalid=true]{--tw-ring-color:color-mix(in oklab,var(--destructive)40%,transparent)}}.cn-radio-group-indicator{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4);color:var(--primary);justify-content:center;align-items:center;display:flex}.cn-radio-group-indicator:is(:where(.group\\/radio-group-item)[aria-invalid=true] *){color:var(--destructive)}.cn-radio-group-indicator-icon{width:calc(var(--spacing)*2);height:calc(var(--spacing)*2);--tw-translate-x: -50% ;--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y);fill:currentColor;position:absolute;top:50%;left:50%}.cn-resizable-handle-icon{height:calc(var(--spacing)*6);width:calc(var(--spacing)*1);border-radius:var(--radius);background-color:var(--border)}.cn-scroll-area-scrollbar:where([data-orientation=horizontal]){height:calc(var(--spacing)*2.5);border-top-style:var(--tw-border-style);border-top-width:1px;border-top-color:#0000;flex-direction:column}.cn-scroll-area-scrollbar:where([data-orientation=vertical]){height:100%;width:calc(var(--spacing)*2.5);border-left-style:var(--tw-border-style);border-left-width:1px;border-left-color:#0000}.cn-scroll-area-thumb{border-radius:3.40282e38px}.cn-select-trigger{gap:calc(var(--spacing)*1.5);border-radius:var(--radius);border-style:var(--tw-border-style);border-width:1px;border-color:var(--input);padding-block:calc(var(--spacing)*2);padding-right:calc(var(--spacing)*2);padding-left:calc(var(--spacing)*2.5);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));-webkit-user-select:none;user-select:none;background-color:#0000}.cn-select-trigger:focus-visible{border-color:var(--ring);--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){.cn-select-trigger:focus-visible{--tw-ring-color:color-mix(in oklab,var(--ring)50%,transparent)}}.cn-select-trigger[aria-invalid=true]{border-color:var(--destructive);--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-select-trigger[aria-invalid=true]{--tw-ring-color:color-mix(in oklab,var(--destructive)20%,transparent)}}.cn-select-trigger[data-placeholder]{color:var(--muted-foreground)}.cn-select-trigger[data-size=default]{height:calc(var(--spacing)*8)}.cn-select-trigger[data-size=sm]{height:calc(var(--spacing)*7);border-radius:min(var(--radius-md),10px)}:is(.cn-select-trigger>*)[data-slot=select-value]{gap:calc(var(--spacing)*1.5);display:flex}.cn-select-trigger:is(.dark *){background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){.cn-select-trigger:is(.dark *){background-color:color-mix(in oklab,var(--input)30%,transparent)}}@media(hover:hover){.cn-select-trigger:is(.dark *):hover{background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){.cn-select-trigger:is(.dark *):hover{background-color:color-mix(in oklab,var(--input)50%,transparent)}}}.cn-select-trigger:is(.dark *)[aria-invalid=true]{border-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-select-trigger:is(.dark *)[aria-invalid=true]{border-color:color-mix(in oklab,var(--destructive)50%,transparent)}}.cn-select-trigger:is(.dark *)[aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-select-trigger:is(.dark *)[aria-invalid=true]{--tw-ring-color:color-mix(in oklab,var(--destructive)40%,transparent)}}.cn-select-trigger svg:not([class*=size-]){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.cn-select-value{text-align:left;flex:1;display:flex}.cn-select-trigger-icon{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4);color:var(--muted-foreground)}.cn-select-content{min-width:calc(var(--spacing)*36);border-radius:var(--radius);background-color:var(--popover);color:var(--popover-foreground);--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:color-mix(in oklab,var(--foreground)10%,transparent);--tw-duration:.1s;transition-duration:.1s}.cn-select-content[data-side=bottom]{--tw-enter-translate-y:calc(2*var(--spacing)*-1)}.cn-select-content[data-side=left]{--tw-enter-translate-x:calc(2*var(--spacing))}.cn-select-content[data-side=right]{--tw-enter-translate-x:calc(2*var(--spacing)*-1)}.cn-select-content[data-side=top]{--tw-enter-translate-y:calc(2*var(--spacing))}.cn-select-content:where([data-state=open]),.cn-select-content:where([data-open]:not([data-open=false])){animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);--tw-enter-opacity:0;--tw-enter-scale:.95}.cn-select-content:where([data-state=closed]),.cn-select-content:where([data-closed]:not([data-closed=false])){animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);--tw-exit-opacity:0;--tw-exit-scale:.95}.cn-select-content-logical[data-side=inline-end]{--tw-enter-translate-x:calc(2*var(--spacing)*-1)}.cn-select-content-logical[data-side=inline-start]{--tw-enter-translate-x:calc(2*var(--spacing))}.cn-select-label{padding-inline:calc(var(--spacing)*1.5);padding-block:calc(var(--spacing)*1);font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height));color:var(--muted-foreground)}.cn-select-item{gap:calc(var(--spacing)*1.5);border-radius:calc(var(--radius) - 2px);padding-block:calc(var(--spacing)*1);padding-right:calc(var(--spacing)*8);padding-left:calc(var(--spacing)*1.5);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.cn-select-item:focus{background-color:var(--accent);color:var(--accent-foreground)}:is(.cn-select-item:not([data-variant=destructive]):focus *){color:var(--accent-foreground)}.cn-select-item svg:not([class*=size-]){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}:is(.cn-select-item>*):is(span):last-child{align-items:center;gap:calc(var(--spacing)*2);display:flex}.cn-select-item-indicator{pointer-events:none;right:calc(var(--spacing)*2);width:calc(var(--spacing)*4);height:calc(var(--spacing)*4);justify-content:center;align-items:center;display:flex;position:absolute}.cn-select-group{scroll-margin-block:calc(var(--spacing)*1);padding:calc(var(--spacing)*1)}.cn-select-item-text{gap:calc(var(--spacing)*2);flex:1;display:flex}.cn-select-separator{margin-inline:calc(var(--spacing)*-1);margin-block:calc(var(--spacing)*1);background-color:var(--border);height:1px}.cn-select-scroll-up-button{z-index:10;cursor:default;background-color:var(--popover);padding-block:calc(var(--spacing)*1);justify-content:center;align-items:center;display:flex}.cn-select-scroll-up-button svg:not([class*=size-]){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.cn-select-scroll-down-button{z-index:10;cursor:default;background-color:var(--popover);padding-block:calc(var(--spacing)*1);justify-content:center;align-items:center;display:flex}.cn-select-scroll-down-button svg:not([class*=size-]){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.cn-separator{background-color:var(--border);flex-shrink:0}.cn-separator-horizontal{width:100%;height:1px}.cn-separator-vertical{width:1px;height:100%}.cn-sheet-overlay{background-color:#0000001a}@supports (color:color-mix(in lab,red,red)){.cn-sheet-overlay{background-color:color-mix(in oklab,var(--color-black)10%,transparent)}}.cn-sheet-overlay{--tw-duration:.1s;transition-duration:.1s}.cn-sheet-overlay[data-ending-style],.cn-sheet-overlay[data-starting-style]{opacity:0}@supports ((-webkit-backdrop-filter:var(--tw)) or (backdrop-filter:var(--tw))){.cn-sheet-overlay{--tw-backdrop-blur:blur(var(--blur-xs));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}}.cn-sheet-overlay:where([data-state=open]),.cn-sheet-overlay:where([data-open]:not([data-open=false])){animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);--tw-enter-opacity:0}.cn-sheet-overlay:where([data-state=closed]),.cn-sheet-overlay:where([data-closed]:not([data-closed=false])){animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);--tw-exit-opacity:0}.cn-sheet-content{z-index:50;gap:calc(var(--spacing)*4);background-color:var(--background);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.2s;--tw-ease:var(--ease-in-out);transition-duration:.2s;transition-timing-function:var(--ease-in-out);background-clip:padding-box;flex-direction:column;display:flex;position:fixed}.cn-sheet-content[data-side=bottom]{inset-inline:calc(var(--spacing)*0);bottom:calc(var(--spacing)*0);border-top-style:var(--tw-border-style);border-top-width:1px;height:auto}.cn-sheet-content[data-side=left]{inset-block:calc(var(--spacing)*0);left:calc(var(--spacing)*0);border-right-style:var(--tw-border-style);border-right-width:1px;width:75%;height:100%}.cn-sheet-content[data-side=right]{inset-block:calc(var(--spacing)*0);right:calc(var(--spacing)*0);border-left-style:var(--tw-border-style);border-left-width:1px;width:75%;height:100%}.cn-sheet-content[data-side=top]{inset-inline:calc(var(--spacing)*0);top:calc(var(--spacing)*0);border-bottom-style:var(--tw-border-style);border-bottom-width:1px;height:auto}@media(min-width:40rem){.cn-sheet-content[data-side=left],.cn-sheet-content[data-side=right]{max-width:var(--container-sm)}}.cn-sheet-content:where([data-state=open]),.cn-sheet-content:where([data-open]:not([data-open=false])){animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);--tw-enter-opacity:0}.cn-sheet-content[data-side=bottom]:where([data-state=open]),.cn-sheet-content[data-side=bottom]:where([data-open]:not([data-open=false])){--tw-enter-translate-y: 10% }.cn-sheet-content[data-side=left]:where([data-state=open]),.cn-sheet-content[data-side=left]:where([data-open]:not([data-open=false])){--tw-enter-translate-x: -10% }.cn-sheet-content[data-side=right]:where([data-state=open]),.cn-sheet-content[data-side=right]:where([data-open]:not([data-open=false])){--tw-enter-translate-x: 10% }.cn-sheet-content[data-side=top]:where([data-state=open]),.cn-sheet-content[data-side=top]:where([data-open]:not([data-open=false])){--tw-enter-translate-y: -10% }.cn-sheet-content:where([data-state=closed]),.cn-sheet-content:where([data-closed]:not([data-closed=false])){animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);--tw-exit-opacity:0}.cn-sheet-content[data-side=bottom]:where([data-state=closed]),.cn-sheet-content[data-side=bottom]:where([data-closed]:not([data-closed=false])){--tw-exit-translate-y: 10% }.cn-sheet-content[data-side=left]:where([data-state=closed]),.cn-sheet-content[data-side=left]:where([data-closed]:not([data-closed=false])){--tw-exit-translate-x: -10% }.cn-sheet-content[data-side=right]:where([data-state=closed]),.cn-sheet-content[data-side=right]:where([data-closed]:not([data-closed=false])){--tw-exit-translate-x: 10% }.cn-sheet-content[data-side=top]:where([data-state=closed]),.cn-sheet-content[data-side=top]:where([data-closed]:not([data-closed=false])){--tw-exit-translate-y: -10% }.cn-sheet-close{top:calc(var(--spacing)*3);right:calc(var(--spacing)*3);position:absolute}.cn-sheet-header{gap:calc(var(--spacing)*.5);padding:calc(var(--spacing)*4)}.cn-sheet-footer{gap:calc(var(--spacing)*2);padding:calc(var(--spacing)*4)}.cn-sheet-title{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height));--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);color:var(--foreground)}.cn-sheet-description{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));color:var(--muted-foreground)}.cn-sidebar-gap{transition-property:width;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.2s;--tw-ease:linear;transition-duration:.2s;transition-timing-function:linear}.cn-sidebar-inner{background-color:var(--sidebar)}.cn-sidebar-inner:is(:where(.group)[data-variant=floating] *){border-radius:var(--radius);--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:var(--sidebar-border)}@media(hover:hover){.cn-sidebar-rail:hover:after{content:var(--tw-content);background-color:var(--sidebar-border)}}.cn-sidebar-inset{background-color:var(--background)}@media(min-width:48rem){.cn-sidebar-inset:is(:where(.peer)[data-variant=inset]~*){margin:calc(var(--spacing)*2);margin-left:calc(var(--spacing)*0);border-radius:calc(var(--radius) + 4px);--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.cn-sidebar-inset:is(:where(.peer)[data-variant=inset]~*):is(:where(.peer)[data-state=collapsed]~*){margin-left:calc(var(--spacing)*2)}}.cn-sidebar-input{height:calc(var(--spacing)*8);background-color:var(--background);--tw-shadow:0 0 #0000;width:100%;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.cn-sidebar-header{gap:calc(var(--spacing)*2);padding:calc(var(--spacing)*2)}.cn-sidebar-content{-ms-overflow-style:none;scrollbar-width:none}.cn-sidebar-content::-webkit-scrollbar{display:none}.cn-sidebar-content{gap:calc(var(--spacing)*0)}.cn-sidebar-footer{gap:calc(var(--spacing)*2);padding:calc(var(--spacing)*2)}.cn-sidebar-separator{margin-inline:calc(var(--spacing)*2);background-color:var(--sidebar-border)}.cn-sidebar-group{padding:calc(var(--spacing)*2)}.cn-sidebar-menu{gap:calc(var(--spacing)*0)}.cn-sidebar-group-content{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.cn-sidebar-group-label{height:calc(var(--spacing)*8);border-radius:calc(var(--radius) - 2px);padding-inline:calc(var(--spacing)*2);font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height));--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);color:var(--sidebar-foreground)}@supports (color:color-mix(in lab,red,red)){.cn-sidebar-group-label{color:color-mix(in oklab,var(--sidebar-foreground)70%,transparent)}}.cn-sidebar-group-label{--tw-ring-color:var(--sidebar-ring);transition-property:margin,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.2s;--tw-ease:linear;transition-duration:.2s;transition-timing-function:linear}.cn-sidebar-group-label:is(:where(.group)[data-collapsible=icon] *){margin-top:calc(var(--spacing)*-8);opacity:0}.cn-sidebar-group-label:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.cn-sidebar-group-label>svg{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.cn-sidebar-group-action{top:calc(var(--spacing)*3.5);right:calc(var(--spacing)*3);width:calc(var(--spacing)*5);border-radius:calc(var(--radius) - 2px);padding:calc(var(--spacing)*0);color:var(--sidebar-foreground);--tw-ring-color:var(--sidebar-ring);position:absolute}@media(hover:hover){.cn-sidebar-group-action:hover{background-color:var(--sidebar-accent);color:var(--sidebar-accent-foreground)}}.cn-sidebar-group-action:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.cn-sidebar-group-action>svg{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.cn-sidebar-menu-button{gap:calc(var(--spacing)*2);border-radius:calc(var(--radius) - 2px);padding:calc(var(--spacing)*2);text-align:left;font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));--tw-ring-color:var(--sidebar-ring);transition-property:width,height,padding;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.cn-sidebar-menu-button:is(:where(.group\\/menu-item):has([data-sidebar=menu-action]) *){padding-right:calc(var(--spacing)*8)}.cn-sidebar-menu-button:is(:where(.group)[data-collapsible=icon] *){width:calc(var(--spacing)*8)!important;height:calc(var(--spacing)*8)!important;padding:calc(var(--spacing)*2)!important}@media(hover:hover){.cn-sidebar-menu-button:hover{background-color:var(--sidebar-accent);color:var(--sidebar-accent-foreground)}}.cn-sidebar-menu-button:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.cn-sidebar-menu-button:active{background-color:var(--sidebar-accent);color:var(--sidebar-accent-foreground)}@media(hover:hover){:is(.cn-sidebar-menu-button:where([data-state=open]),.cn-sidebar-menu-button:where([data-open]:not([data-open=false]))):hover{background-color:var(--sidebar-accent);color:var(--sidebar-accent-foreground)}}.cn-sidebar-menu-button:where([data-state=active]),.cn-sidebar-menu-button:where([data-active]:not([data-active=false])){background-color:var(--sidebar-accent);--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);color:var(--sidebar-accent-foreground)}@media(hover:hover){.cn-sidebar-menu-button-variant-default:hover{background-color:var(--sidebar-accent);color:var(--sidebar-accent-foreground)}}.cn-sidebar-menu-button-variant-outline{background-color:var(--background);--tw-shadow:0 0 0 1px var(--tw-shadow-color,hsl(var(--sidebar-border)));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}@media(hover:hover){.cn-sidebar-menu-button-variant-outline:hover{background-color:var(--sidebar-accent);color:var(--sidebar-accent-foreground);--tw-shadow:0 0 0 1px var(--tw-shadow-color,hsl(var(--sidebar-accent)));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}.cn-sidebar-menu-button-size-default{height:calc(var(--spacing)*8);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.cn-sidebar-menu-button-size-sm{height:calc(var(--spacing)*7);font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.cn-sidebar-menu-button-size-lg{height:calc(var(--spacing)*12);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.cn-sidebar-menu-button-size-lg:is(:where(.group)[data-collapsible=icon] *){padding:calc(var(--spacing)*0)!important}.cn-sidebar-menu-action{top:calc(var(--spacing)*1.5);right:calc(var(--spacing)*1);aspect-ratio:1;width:calc(var(--spacing)*5);border-radius:calc(var(--radius) - 2px);padding:calc(var(--spacing)*0);color:var(--sidebar-foreground);--tw-ring-color:var(--sidebar-ring);position:absolute}@media(hover:hover){.cn-sidebar-menu-action:is(:where(.peer\\/menu-button):hover~*){color:var(--sidebar-accent-foreground)}}.cn-sidebar-menu-action:is(:where(.peer\\/menu-button)[data-size=default]~*){top:calc(var(--spacing)*1.5)}.cn-sidebar-menu-action:is(:where(.peer\\/menu-button)[data-size=lg]~*){top:calc(var(--spacing)*2.5)}.cn-sidebar-menu-action:is(:where(.peer\\/menu-button)[data-size=sm]~*){top:calc(var(--spacing)*1)}@media(hover:hover){.cn-sidebar-menu-action:hover{background-color:var(--sidebar-accent);color:var(--sidebar-accent-foreground)}}.cn-sidebar-menu-action:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.cn-sidebar-menu-action>svg{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.cn-sidebar-menu-badge{pointer-events:none;right:calc(var(--spacing)*1);height:calc(var(--spacing)*5);min-width:calc(var(--spacing)*5);border-radius:calc(var(--radius) - 2px);padding-inline:calc(var(--spacing)*1);font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height));--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);color:var(--sidebar-foreground);display:flex;position:absolute}@media(hover:hover){.cn-sidebar-menu-badge:is(:where(.peer\\/menu-button):hover~*){color:var(--sidebar-accent-foreground)}}.cn-sidebar-menu-badge:is(:where(.peer\\/menu-button)[data-size=default]~*){top:calc(var(--spacing)*1.5)}.cn-sidebar-menu-badge:is(:where(.peer\\/menu-button)[data-size=lg]~*){top:calc(var(--spacing)*2.5)}.cn-sidebar-menu-badge:is(:where(.peer\\/menu-button)[data-size=sm]~*){top:calc(var(--spacing)*1)}.cn-sidebar-menu-badge:is(:is(:where(.peer\\/menu-button):where([data-state=active]),:where(.peer\\/menu-button):where([data-active]:not([data-active=false])))~*){color:var(--sidebar-accent-foreground)}.cn-sidebar-menu-skeleton{height:calc(var(--spacing)*8);gap:calc(var(--spacing)*2);border-radius:calc(var(--radius) - 2px);padding-inline:calc(var(--spacing)*2)}.cn-sidebar-menu-skeleton-icon{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4);border-radius:calc(var(--radius) - 2px)}.cn-sidebar-menu-skeleton-text{height:calc(var(--spacing)*4)}.cn-sidebar-menu-sub{margin-inline:calc(var(--spacing)*3.5);--tw-translate-x:1px;translate:var(--tw-translate-x)var(--tw-translate-y);gap:calc(var(--spacing)*1);border-left-style:var(--tw-border-style);border-left-width:1px;border-color:var(--sidebar-border);padding-inline:calc(var(--spacing)*2.5);padding-block:calc(var(--spacing)*.5)}.cn-sidebar-menu-sub:is(:where(.group)[data-collapsible=icon] *){display:none}.cn-sidebar-menu-sub-button{height:calc(var(--spacing)*7);gap:calc(var(--spacing)*2);border-radius:calc(var(--radius) - 2px);padding-inline:calc(var(--spacing)*2);color:var(--sidebar-foreground);--tw-ring-color:var(--sidebar-ring)}@media(hover:hover){.cn-sidebar-menu-sub-button:hover{background-color:var(--sidebar-accent);color:var(--sidebar-accent-foreground)}}.cn-sidebar-menu-sub-button:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.cn-sidebar-menu-sub-button:active{background-color:var(--sidebar-accent);color:var(--sidebar-accent-foreground)}.cn-sidebar-menu-sub-button[data-size=md]{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.cn-sidebar-menu-sub-button[data-size=sm]{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.cn-sidebar-menu-sub-button:where([data-state=active]),.cn-sidebar-menu-sub-button:where([data-active]:not([data-active=false])){background-color:var(--sidebar-accent);color:var(--sidebar-accent-foreground)}.cn-sidebar-menu-sub-button>svg{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4);color:var(--sidebar-accent-foreground)}.cn-skeleton{border-radius:calc(var(--radius) - 2px);background-color:var(--muted)}.cn-slider:where([data-orientation=vertical]){min-height:calc(var(--spacing)*40)}.cn-slider-track{background-color:var(--muted);border-radius:3.40282e38px}.cn-slider-track:where([data-orientation=horizontal]){height:calc(var(--spacing)*1);width:100%}.cn-slider-track:where([data-orientation=vertical]){height:100%;width:calc(var(--spacing)*1)}.cn-slider-range{background-color:var(--primary)}.cn-slider-thumb{width:calc(var(--spacing)*3);height:calc(var(--spacing)*3);border-style:var(--tw-border-style);border-width:1px;border-color:var(--ring);background-color:var(--color-white);--tw-ring-color:var(--ring);border-radius:3.40282e38px;position:relative}@supports (color:color-mix(in lab,red,red)){.cn-slider-thumb{--tw-ring-color:color-mix(in oklab,var(--ring)50%,transparent)}}.cn-slider-thumb{transition-property:color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.cn-slider-thumb:after{content:var(--tw-content);inset:calc(var(--spacing)*-2);position:absolute}@media(hover:hover){.cn-slider-thumb:hover{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}.cn-slider-thumb:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.cn-slider-thumb:focus-visible{outline-offset:2px;outline:2px solid #0000}}.cn-slider-thumb:active{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.cn-toast{border-radius:calc(var(--radius) + 8px)}.cn-switch{border-style:var(--tw-border-style);border-width:1px;border-color:#0000;border-radius:3.40282e38px;flex-shrink:0}.cn-switch:focus-visible{border-color:var(--ring);--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){.cn-switch:focus-visible{--tw-ring-color:color-mix(in oklab,var(--ring)50%,transparent)}}.cn-switch[aria-invalid=true]{border-color:var(--destructive);--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-switch[aria-invalid=true]{--tw-ring-color:color-mix(in oklab,var(--destructive)20%,transparent)}}.cn-switch[data-size=default]{width:32px;height:18.4px}.cn-switch[data-size=sm]{width:24px;height:14px}.cn-switch:is(.dark *)[aria-invalid=true]{border-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-switch:is(.dark *)[aria-invalid=true]{border-color:color-mix(in oklab,var(--destructive)50%,transparent)}}.cn-switch:is(.dark *)[aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-switch:is(.dark *)[aria-invalid=true]{--tw-ring-color:color-mix(in oklab,var(--destructive)40%,transparent)}}.cn-switch:where([data-state=checked]),.cn-switch:where([data-checked]:not([data-checked=false])){background-color:var(--primary)}.cn-switch:where([data-state=unchecked]),.cn-switch:where([data-unchecked]:not([data-unchecked=false])),.cn-switch:is(.dark *):where([data-state=unchecked]),.cn-switch:is(.dark *):where([data-unchecked]:not([data-unchecked=false])){background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){.cn-switch:is(.dark *):where([data-state=unchecked]),.cn-switch:is(.dark *):where([data-unchecked]:not([data-unchecked=false])){background-color:color-mix(in oklab,var(--input)80%,transparent)}}.cn-switch-thumb{background-color:var(--background);border-radius:3.40282e38px}.cn-switch-thumb:is(:where(.group\\/switch)[data-size=default] *){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.cn-switch-thumb:is(:where(.group\\/switch)[data-size=sm] *){width:calc(var(--spacing)*3);height:calc(var(--spacing)*3)}.cn-switch-thumb:is(:where(.group\\/switch)[data-size=default] *):where([data-state=checked]),.cn-switch-thumb:is(:where(.group\\/switch)[data-size=default] *):where([data-checked]:not([data-checked=false])),.cn-switch-thumb:is(:where(.group\\/switch)[data-size=sm] *):where([data-state=checked]),.cn-switch-thumb:is(:where(.group\\/switch)[data-size=sm] *):where([data-checked]:not([data-checked=false])){--tw-translate-x: calc(100% - 2px) ;translate:var(--tw-translate-x)var(--tw-translate-y)}.cn-switch-thumb:is(.dark *):where([data-state=checked]),.cn-switch-thumb:is(.dark *):where([data-checked]:not([data-checked=false])){background-color:var(--primary-foreground)}.cn-switch-thumb:is(:where(.group\\/switch)[data-size=default] *):where([data-state=unchecked]),.cn-switch-thumb:is(:where(.group\\/switch)[data-size=default] *):where([data-unchecked]:not([data-unchecked=false])),.cn-switch-thumb:is(:where(.group\\/switch)[data-size=sm] *):where([data-state=unchecked]),.cn-switch-thumb:is(:where(.group\\/switch)[data-size=sm] *):where([data-unchecked]:not([data-unchecked=false])){--tw-translate-x:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.cn-switch-thumb:is(.dark *):where([data-state=unchecked]),.cn-switch-thumb:is(.dark *):where([data-unchecked]:not([data-unchecked=false])){background-color:var(--foreground)}.cn-table-container{width:100%;min-width:calc(var(--spacing)*0);position:relative;overflow-x:auto}.cn-table{caption-side:bottom;width:100%;font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.cn-table-header tr{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.cn-table-body tr:last-child{border-style:var(--tw-border-style);border-width:0}.cn-table-footer{border-top-style:var(--tw-border-style);background-color:var(--muted);border-top-width:1px}@supports (color:color-mix(in lab,red,red)){.cn-table-footer{background-color:color-mix(in oklab,var(--muted)50%,transparent)}}.cn-table-footer{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.cn-table-footer>tr:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.cn-table-row{border-bottom-style:var(--tw-border-style);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));border-bottom-width:1px}@media(hover:hover){.cn-table-row:hover{background-color:var(--muted)}@supports (color:color-mix(in lab,red,red)){.cn-table-row:hover{background-color:color-mix(in oklab,var(--muted)50%,transparent)}}}.cn-table-row[data-state=selected]{background-color:var(--muted)}.cn-table-head{height:calc(var(--spacing)*10);padding-inline:calc(var(--spacing)*2);text-align:left;vertical-align:middle;--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);white-space:nowrap;color:var(--foreground)}.cn-table-head:has([role=checkbox]){padding-right:calc(var(--spacing)*0)}.cn-table-cell{padding:calc(var(--spacing)*2);vertical-align:middle;white-space:nowrap}.cn-table-cell:has([role=checkbox]){padding-right:calc(var(--spacing)*0)}.cn-table-caption{margin-top:calc(var(--spacing)*4);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));color:var(--muted-foreground)}.cn-tabs{gap:calc(var(--spacing)*2)}.cn-tabs-list{border-radius:var(--radius);padding:3px}.cn-tabs-list:is(:where(.group\\/tabs):where([data-orientation=horizontal]) *){height:calc(var(--spacing)*8)}.cn-tabs-list[data-variant=line]{border-radius:0}.cn-tabs-trigger{gap:calc(var(--spacing)*1.5);border-radius:calc(var(--radius) - 2px);border-style:var(--tw-border-style);padding-inline:calc(var(--spacing)*1.5);padding-block:calc(var(--spacing)*.5);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);border-width:1px;border-color:#0000}.cn-tabs-trigger:is(:where(.group\\/tabs-list)[data-variant=default] *):where([data-state=active]),.cn-tabs-trigger:is(:where(.group\\/tabs-list)[data-variant=default] *):where([data-active]:not([data-active=false])){--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.cn-tabs-trigger:is(:where(.group\\/tabs-list)[data-variant=line] *):where([data-state=active]),.cn-tabs-trigger:is(:where(.group\\/tabs-list)[data-variant=line] *):where([data-active]:not([data-active=false])){--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.cn-tabs-trigger svg:not([class*=size-]){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.cn-tabs-content{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.cn-textarea{border-radius:var(--radius);border-style:var(--tw-border-style);border-width:1px;border-color:var(--input);padding-inline:calc(var(--spacing)*2.5);padding-block:calc(var(--spacing)*2);font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height));transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));background-color:#0000}.cn-textarea:focus-visible{border-color:var(--ring);--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){.cn-textarea:focus-visible{--tw-ring-color:color-mix(in oklab,var(--ring)50%,transparent)}}.cn-textarea:disabled{background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){.cn-textarea:disabled{background-color:color-mix(in oklab,var(--input)50%,transparent)}}.cn-textarea[aria-invalid=true]{border-color:var(--destructive);--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-textarea[aria-invalid=true]{--tw-ring-color:color-mix(in oklab,var(--destructive)20%,transparent)}}@media(min-width:48rem){.cn-textarea{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}}.cn-textarea:is(.dark *){background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){.cn-textarea:is(.dark *){background-color:color-mix(in oklab,var(--input)30%,transparent)}}.cn-textarea:is(.dark *):disabled{background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){.cn-textarea:is(.dark *):disabled{background-color:color-mix(in oklab,var(--input)80%,transparent)}}.cn-textarea:is(.dark *)[aria-invalid=true]{border-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-textarea:is(.dark *)[aria-invalid=true]{border-color:color-mix(in oklab,var(--destructive)50%,transparent)}}.cn-textarea:is(.dark *)[aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-textarea:is(.dark *)[aria-invalid=true]{--tw-ring-color:color-mix(in oklab,var(--destructive)40%,transparent)}}.cn-toggle{gap:calc(var(--spacing)*1);border-radius:var(--radius);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}@media(hover:hover){.cn-toggle:hover{color:var(--foreground)}}.cn-toggle:focus-visible{border-color:var(--ring);--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){.cn-toggle:focus-visible{--tw-ring-color:color-mix(in oklab,var(--ring)50%,transparent)}}.cn-toggle[aria-invalid=true]{border-color:var(--destructive);--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-toggle[aria-invalid=true]{--tw-ring-color:color-mix(in oklab,var(--destructive)20%,transparent)}}.cn-toggle[aria-pressed=true],.cn-toggle[data-state=on]{background-color:var(--muted)}.cn-toggle:is(.dark *)[aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-toggle:is(.dark *)[aria-invalid=true]{--tw-ring-color:color-mix(in oklab,var(--destructive)40%,transparent)}}.cn-toggle svg:not([class*=size-]){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.cn-toggle-variant-default{background-color:#0000}.cn-toggle-variant-outline{border-style:var(--tw-border-style);border-width:1px;border-color:var(--input);background-color:#0000}@media(hover:hover){.cn-toggle-variant-outline:hover{background-color:var(--muted)}}.cn-toggle-size-default{height:calc(var(--spacing)*8);min-width:calc(var(--spacing)*8);padding-inline:calc(var(--spacing)*2)}.cn-toggle-size-sm{height:calc(var(--spacing)*7);min-width:calc(var(--spacing)*7);border-radius:min(var(--radius-md),12px);padding-inline:calc(var(--spacing)*1.5);font-size:.8rem}.cn-toggle-size-lg{height:calc(var(--spacing)*9);min-width:calc(var(--spacing)*9);padding-inline:calc(var(--spacing)*2.5)}.cn-toggle-group{border-radius:var(--radius)}.cn-toggle-group[data-size=sm]{border-radius:min(var(--radius-md),10px)}.cn-toggle-group-item:is(:where(.group\\/toggle-group)[data-spacing="0"] *){padding-inline:calc(var(--spacing)*2);border-radius:0}.cn-toggle-group-item:is(:where(.group\\/toggle-group):where([data-orientation=horizontal]) *)[data-spacing="0"]:first-child{border-top-left-radius:var(--radius);border-bottom-left-radius:var(--radius)}.cn-toggle-group-item:is(:where(.group\\/toggle-group):where([data-orientation=vertical]) *)[data-spacing="0"]:first-child{border-top-left-radius:var(--radius);border-top-right-radius:var(--radius)}.cn-toggle-group-item:is(:where(.group\\/toggle-group):where([data-orientation=horizontal]) *)[data-spacing="0"]:last-child{border-top-right-radius:var(--radius);border-bottom-right-radius:var(--radius)}.cn-toggle-group-item:is(:where(.group\\/toggle-group):where([data-orientation=vertical]) *)[data-spacing="0"]:last-child{border-bottom-right-radius:var(--radius);border-bottom-left-radius:var(--radius)}.cn-tooltip-content{border-radius:calc(var(--radius) - 2px);background-color:var(--primary);padding-inline:calc(var(--spacing)*3);padding-block:calc(var(--spacing)*1.5);font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height));color:var(--primary-foreground)}.cn-tooltip-content[data-side=bottom]{--tw-enter-translate-y:calc(2*var(--spacing)*-1)}.cn-tooltip-content[data-side=left]{--tw-enter-translate-x:calc(2*var(--spacing))}.cn-tooltip-content[data-side=right]{--tw-enter-translate-x:calc(2*var(--spacing)*-1)}.cn-tooltip-content[data-side=top]{--tw-enter-translate-y:calc(2*var(--spacing))}.cn-tooltip-content[data-state=delayed-open],.cn-tooltip-content:where([data-state=open]),.cn-tooltip-content:where([data-open]:not([data-open=false])){animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);--tw-enter-opacity:0;--tw-enter-scale:.95}.cn-tooltip-content:where([data-state=closed]),.cn-tooltip-content:where([data-closed]:not([data-closed=false])){animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);--tw-exit-opacity:0;--tw-exit-scale:.95}.cn-tooltip-content-logical[data-side=inline-end]{--tw-enter-translate-x:calc(2*var(--spacing)*-1)}.cn-tooltip-content-logical[data-side=inline-start]{--tw-enter-translate-x:calc(2*var(--spacing))}.cn-tooltip-arrow{width:calc(var(--spacing)*2.5);height:calc(var(--spacing)*2.5);--tw-translate-y: calc(-50% - 2px) ;translate:var(--tw-translate-x)var(--tw-translate-y);border-radius:2px;rotate:45deg}.cn-tooltip-arrow-logical[data-side=inline-end]{left:calc(var(--spacing)*-1);--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y);top:50%!important}.cn-tooltip-arrow-logical[data-side=inline-start]{right:calc(var(--spacing)*-1);--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y);top:50%!important}.cn-input-group{height:calc(var(--spacing)*8);border-radius:var(--radius);border-style:var(--tw-border-style);border-width:1px;border-color:var(--input);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.cn-input-group:has(:disabled){background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){.cn-input-group:has(:disabled){background-color:color-mix(in oklab,var(--input)50%,transparent)}}.cn-input-group:has(:disabled){opacity:.5}.cn-input-group:has([data-slot=input-group-control]:focus-visible){border-color:var(--ring);--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){.cn-input-group:has([data-slot=input-group-control]:focus-visible){--tw-ring-color:color-mix(in oklab,var(--ring)50%,transparent)}}.cn-input-group:has([data-slot][aria-invalid=true]){border-color:var(--destructive);--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-input-group:has([data-slot][aria-invalid=true]){--tw-ring-color:color-mix(in oklab,var(--destructive)20%,transparent)}}.cn-input-group:has(>[data-align=block-end]),.cn-input-group:has(>[data-align=block-start]){flex-direction:column;height:auto}.cn-input-group:is(.dark *){background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){.cn-input-group:is(.dark *){background-color:color-mix(in oklab,var(--input)30%,transparent)}}.cn-input-group:is(.dark *):has(:disabled){background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){.cn-input-group:is(.dark *):has(:disabled){background-color:color-mix(in oklab,var(--input)80%,transparent)}}.cn-input-group:is(.dark *):has([data-slot][aria-invalid=true]){--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.cn-input-group:is(.dark *):has([data-slot][aria-invalid=true]){--tw-ring-color:color-mix(in oklab,var(--destructive)40%,transparent)}}.cn-input-group:has(>[data-align=block-end])>input{padding-top:calc(var(--spacing)*3)}.cn-input-group:has(>[data-align=block-start])>input{padding-bottom:calc(var(--spacing)*3)}.cn-input-group:has(>[data-align=inline-end])>input{padding-right:calc(var(--spacing)*1.5)}.cn-input-group:has(>[data-align=inline-start])>input{padding-left:calc(var(--spacing)*1.5)}[data-slot=combobox-content] .cn-input-group:focus-within{border-color:inherit;--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.cn-input-group-addon{gap:calc(var(--spacing)*2);height:auto;padding-block:calc(var(--spacing)*1.5);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);color:var(--muted-foreground)}.cn-input-group-addon:is(:where(.group\\/input-group)[data-disabled=true] *){opacity:.5}.cn-input-group-addon>kbd{border-radius:calc(var(--radius) - 5px)}.cn-input-group-addon>svg:not([class*=size-]){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.cn-input-group-addon-align-inline-start{padding-left:calc(var(--spacing)*2)}.cn-input-group-addon-align-inline-start:has(>button){margin-left:-.3rem}.cn-input-group-addon-align-inline-start:has(>kbd){margin-left:-.15rem}.cn-input-group-addon-align-inline-end{padding-right:calc(var(--spacing)*2)}.cn-input-group-addon-align-inline-end:has(>button){margin-right:-.3rem}.cn-input-group-addon-align-inline-end:has(>kbd){margin-right:-.15rem}.cn-input-group-addon-align-block-start{padding-inline:calc(var(--spacing)*2.5);padding-top:calc(var(--spacing)*2)}.cn-input-group-addon-align-block-start:is(:where(.group\\/input-group):has(>input) *){padding-top:calc(var(--spacing)*2)}.cn-input-group-addon-align-block-start.border-b{padding-bottom:calc(var(--spacing)*2)}.cn-input-group-addon-align-block-end{padding-inline:calc(var(--spacing)*2.5);padding-bottom:calc(var(--spacing)*2)}.cn-input-group-addon-align-block-end:is(:where(.group\\/input-group):has(>input) *){padding-bottom:calc(var(--spacing)*2)}.cn-input-group-addon-align-block-end.border-t{padding-top:calc(var(--spacing)*2)}.cn-input-group-button{gap:calc(var(--spacing)*2);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.cn-input-group-button-size-xs{height:calc(var(--spacing)*6);gap:calc(var(--spacing)*1);border-radius:calc(var(--radius) - 3px);padding-inline:calc(var(--spacing)*1.5)}.cn-input-group-button-size-xs>svg:not([class*=size-]){width:calc(var(--spacing)*3.5);height:calc(var(--spacing)*3.5)}.cn-input-group-button-size-icon-xs{width:calc(var(--spacing)*6);height:calc(var(--spacing)*6);border-radius:calc(var(--radius) - 3px);padding:calc(var(--spacing)*0)}.cn-input-group-button-size-icon-xs:has(>svg){padding:calc(var(--spacing)*0)}.cn-input-group-button-size-icon-sm{width:calc(var(--spacing)*8);height:calc(var(--spacing)*8);padding:calc(var(--spacing)*0)}.cn-input-group-button-size-icon-sm:has(>svg){padding:calc(var(--spacing)*0)}.cn-input-group-text{gap:calc(var(--spacing)*2);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));color:var(--muted-foreground)}.cn-input-group-text svg:not([class*=size-]){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.cn-input-group-input{border-style:var(--tw-border-style);--tw-shadow:0 0 #0000;--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);background-color:#0000;border-width:0;border-radius:0}.cn-input-group-input:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.cn-input-group-input:disabled{background-color:#0000}.cn-input-group-input[aria-invalid=true]{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.cn-input-group-input:is(.dark *),.cn-input-group-input:is(.dark *):disabled{background-color:#0000}.cn-input-group-textarea{border-style:var(--tw-border-style);padding-block:calc(var(--spacing)*2);--tw-shadow:0 0 #0000;--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);background-color:#0000;border-width:0;border-radius:0}.cn-input-group-textarea:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.cn-input-group-textarea:disabled{background-color:#0000}.cn-input-group-textarea[aria-invalid=true]{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.cn-input-group-textarea:is(.dark *),.cn-input-group-textarea:is(.dark *):disabled{background-color:#0000}.cn-badge-variant-success{background-color:var(--success)}@supports (color:color-mix(in lab,red,red)){.cn-badge-variant-success{background-color:color-mix(in oklab,var(--success)10%,transparent)}}.cn-badge-variant-success{color:var(--success)}.cn-badge-variant-success:is(.dark *){background-color:var(--success)}@supports (color:color-mix(in lab,red,red)){.cn-badge-variant-success:is(.dark *){background-color:color-mix(in oklab,var(--success)20%,transparent)}}.cn-badge-variant-warning{background-color:var(--warning)}@supports (color:color-mix(in lab,red,red)){.cn-badge-variant-warning{background-color:color-mix(in oklab,var(--warning)10%,transparent)}}.cn-badge-variant-warning{color:var(--warning)}.cn-badge-variant-warning:is(.dark *){background-color:var(--warning)}@supports (color:color-mix(in lab,red,red)){.cn-badge-variant-warning:is(.dark *){background-color:color-mix(in oklab,var(--warning)20%,transparent)}}.cn-badge-variant-info{background-color:var(--info)}@supports (color:color-mix(in lab,red,red)){.cn-badge-variant-info{background-color:color-mix(in oklab,var(--info)10%,transparent)}}.cn-badge-variant-info{color:var(--info)}.cn-badge-variant-info:is(.dark *){background-color:var(--info)}@supports (color:color-mix(in lab,red,red)){.cn-badge-variant-info:is(.dark *){background-color:color-mix(in oklab,var(--info)20%,transparent)}}.cn-alert-variant-success{background-color:var(--card);color:var(--success)}:is(.cn-alert-variant-success>*)[data-slot=alert-description]{color:var(--success)}@supports (color:color-mix(in lab,red,red)){:is(.cn-alert-variant-success>*)[data-slot=alert-description]{color:color-mix(in oklab,var(--success)90%,transparent)}}:is(.cn-alert-variant-success>*):is(svg){color:currentColor}.cn-alert-variant-warning{background-color:var(--card);color:var(--warning)}:is(.cn-alert-variant-warning>*)[data-slot=alert-description]{color:var(--warning)}@supports (color:color-mix(in lab,red,red)){:is(.cn-alert-variant-warning>*)[data-slot=alert-description]{color:color-mix(in oklab,var(--warning)90%,transparent)}}:is(.cn-alert-variant-warning>*):is(svg){color:currentColor}.cn-alert-variant-info{background-color:var(--card);color:var(--info)}:is(.cn-alert-variant-info>*)[data-slot=alert-description]{color:var(--info)}@supports (color:color-mix(in lab,red,red)){:is(.cn-alert-variant-info>*)[data-slot=alert-description]{color:color-mix(in oklab,var(--info)90%,transparent)}}:is(.cn-alert-variant-info>*):is(svg){color:currentColor}}@layer utilities{.\\@container\\/card-header{container:card-header/inline-size}.pointer-events-none{pointer-events:none}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.inset-0{inset:calc(var(--spacing)*0)}.inset-x-0{inset-inline:calc(var(--spacing)*0)}.top-0{top:calc(var(--spacing)*0)}.top-4{top:calc(var(--spacing)*4)}.top-\\[50\\%\\]{top:50%}.right-4{right:calc(var(--spacing)*4)}.left-\\[50\\%\\]{left:50%}.z-50{z-index:50}.col-span-1{grid-column:span 1/span 1}.col-span-2{grid-column:span 2/span 2}.col-span-3{grid-column:span 3/span 3}.col-span-4{grid-column:span 4/span 4}.col-span-full{grid-column:1/-1}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.m-0{margin:calc(var(--spacing)*0)}.m-1{margin:calc(var(--spacing)*1)}.m-2{margin:calc(var(--spacing)*2)}.m-3{margin:calc(var(--spacing)*3)}.m-4{margin:calc(var(--spacing)*4)}.m-5{margin:calc(var(--spacing)*5)}.m-6{margin:calc(var(--spacing)*6)}.m-8{margin:calc(var(--spacing)*8)}.mx-0{margin-inline:calc(var(--spacing)*0)}.mx-1{margin-inline:calc(var(--spacing)*1)}.mx-2{margin-inline:calc(var(--spacing)*2)}.mx-3{margin-inline:calc(var(--spacing)*3)}.mx-4{margin-inline:calc(var(--spacing)*4)}.mx-6{margin-inline:calc(var(--spacing)*6)}.mx-8{margin-inline:calc(var(--spacing)*8)}.mx-auto{margin-inline:auto}.my-0{margin-block:calc(var(--spacing)*0)}.my-0\\.5{margin-block:calc(var(--spacing)*.5)}.my-1{margin-block:calc(var(--spacing)*1)}.my-2{margin-block:calc(var(--spacing)*2)}.my-3{margin-block:calc(var(--spacing)*3)}.my-4{margin-block:calc(var(--spacing)*4)}.my-6{margin-block:calc(var(--spacing)*6)}.my-8{margin-block:calc(var(--spacing)*8)}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-6{margin-top:calc(var(--spacing)*6)}.mt-8{margin-top:calc(var(--spacing)*8)}.mr-auto{margin-right:auto}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.ml-6{margin-left:calc(var(--spacing)*6)}.ml-auto{margin-left:auto}.\\!hidden{display:none!important}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.field-sizing-content{field-sizing:content}.aspect-square{aspect-ratio:1}.aspect-video{aspect-ratio:var(--aspect-video)}.size-3\\.5{width:calc(var(--spacing)*3.5);height:calc(var(--spacing)*3.5)}.size-4{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.size-6{width:calc(var(--spacing)*6);height:calc(var(--spacing)*6)}.size-8{width:calc(var(--spacing)*8);height:calc(var(--spacing)*8)}.size-\\[var\\(--cell-size\\)\\]{width:var(--cell-size);height:var(--cell-size)}.h-2{height:calc(var(--spacing)*2)}.h-2\\.5{height:calc(var(--spacing)*2.5)}.h-3{height:calc(var(--spacing)*3)}.h-4{height:calc(var(--spacing)*4)}.h-6{height:calc(var(--spacing)*6)}.h-8{height:calc(var(--spacing)*8)}.h-10{height:calc(var(--spacing)*10)}.h-12{height:calc(var(--spacing)*12)}.h-16{height:calc(var(--spacing)*16)}.h-20{height:calc(var(--spacing)*20)}.h-24{height:calc(var(--spacing)*24)}.h-32{height:calc(var(--spacing)*32)}.h-40{height:calc(var(--spacing)*40)}.h-48{height:calc(var(--spacing)*48)}.h-64{height:calc(var(--spacing)*64)}.h-80{height:calc(var(--spacing)*80)}.h-\\[var\\(--cell-size\\)\\]{height:var(--cell-size)}.h-\\[var\\(--radix-select-trigger-height\\)\\]{height:var(--radix-select-trigger-height)}.h-auto{height:auto}.h-full{height:100%}.h-screen{height:100vh}.max-h-\\(--radix-select-content-available-height\\){max-height:var(--radix-select-content-available-height)}.max-h-40{max-height:calc(var(--spacing)*40)}.max-h-\\[300px\\]{max-height:300px}.min-h-0{min-height:calc(var(--spacing)*0)}.min-h-16{min-height:calc(var(--spacing)*16)}.min-h-24{min-height:calc(var(--spacing)*24)}.min-h-32{min-height:calc(var(--spacing)*32)}.min-h-40{min-height:calc(var(--spacing)*40)}.min-h-48{min-height:calc(var(--spacing)*48)}.min-h-56{min-height:calc(var(--spacing)*56)}.min-h-64{min-height:calc(var(--spacing)*64)}.min-h-72{min-height:calc(var(--spacing)*72)}.min-h-80{min-height:calc(var(--spacing)*80)}.min-h-96{min-height:calc(var(--spacing)*96)}.min-h-\\[140px\\]{min-height:140px}.min-h-\\[160px\\]{min-height:160px}.min-h-\\[180px\\]{min-height:180px}.min-h-\\[200px\\]{min-height:200px}.min-h-\\[260px\\]{min-height:260px}.min-h-\\[280px\\]{min-height:280px}.min-h-\\[300px\\]{min-height:300px}.min-h-\\[340px\\]{min-height:340px}.min-h-\\[380px\\]{min-height:380px}.min-h-\\[420px\\]{min-height:420px}.min-h-screen{min-height:100vh}.w-0{width:calc(var(--spacing)*0)}.w-1{width:calc(var(--spacing)*1)}.w-1\\/2{width:50%}.w-1\\/3{width:33.3333%}.w-1\\/4{width:25%}.w-2{width:calc(var(--spacing)*2)}.w-2\\.5{width:calc(var(--spacing)*2.5)}.w-2\\/3{width:66.6667%}.w-3{width:calc(var(--spacing)*3)}.w-3\\/4{width:75%}.w-4{width:calc(var(--spacing)*4)}.w-6{width:calc(var(--spacing)*6)}.w-8{width:calc(var(--spacing)*8)}.w-10{width:calc(var(--spacing)*10)}.w-12{width:calc(var(--spacing)*12)}.w-16{width:calc(var(--spacing)*16)}.w-20{width:calc(var(--spacing)*20)}.w-24{width:calc(var(--spacing)*24)}.w-32{width:calc(var(--spacing)*32)}.w-40{width:calc(var(--spacing)*40)}.w-48{width:calc(var(--spacing)*48)}.w-64{width:calc(var(--spacing)*64)}.w-72{width:calc(var(--spacing)*72)}.w-80{width:calc(var(--spacing)*80)}.w-\\[240px\\]{width:240px}.w-\\[320px\\]{width:320px}.w-\\[var\\(--cell-size\\)\\]{width:var(--cell-size)}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.max-w-2xl{max-width:var(--container-2xl)}.max-w-4xl{max-width:var(--container-4xl)}.max-w-full{max-width:100%}.max-w-lg{max-width:var(--container-lg)}.max-w-md{max-width:var(--container-md)}.max-w-none{max-width:none}.max-w-sm{max-width:var(--container-sm)}.max-w-xl{max-width:var(--container-xl)}.max-w-xs{max-width:var(--container-xs)}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-\\[8rem\\]{min-width:8rem}.min-w-\\[var\\(--cell-size\\)\\]{min-width:var(--cell-size)}.min-w-\\[var\\(--radix-select-trigger-width\\)\\]{min-width:var(--radix-select-trigger-width)}.flex-1{flex:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.border-collapse{border-collapse:collapse}.origin-\\(--radix-select-content-transform-origin\\){transform-origin:var(--radix-select-content-transform-origin)}.origin-\\[--radix-hover-card-content-transform-origin\\]{transform-origin:--radix-hover-card-content-transform-origin}.origin-\\[--radix-popover-content-transform-origin\\]{transform-origin:--radix-popover-content-transform-origin}.origin-\\[--radix-tooltip-content-transform-origin\\]{transform-origin:--radix-tooltip-content-transform-origin}.translate-x-\\[-50\\%\\]{--tw-translate-x:-50%;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-\\[-50\\%\\]{--tw-translate-y:-50%;translate:var(--tw-translate-x)var(--tw-translate-y)}.scale-105{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x)var(--tw-scale-y)}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.scroll-m-20{scroll-margin:calc(var(--spacing)*20)}.list-inside{list-style-position:inside}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.auto-rows-min{grid-auto-rows:min-content}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.grid-cols-9{grid-template-columns:repeat(9,minmax(0,1fr))}.grid-cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}.grid-cols-11{grid-template-columns:repeat(11,minmax(0,1fr))}.grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-row{flex-direction:row}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.place-content-center{place-content:center}.place-items-center{place-items:center}.place-items-end{place-items:end}.place-items-start{place-items:start}.place-items-stretch{place-items:stretch stretch}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-around{justify-content:space-around}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-evenly{justify-content:space-evenly}.justify-start{justify-content:flex-start}.justify-stretch{justify-content:stretch}.gap-0{gap:calc(var(--spacing)*0)}.gap-1{gap:calc(var(--spacing)*1)}.gap-1\\.5{gap:calc(var(--spacing)*1.5)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.gap-5{gap:calc(var(--spacing)*5)}.gap-6{gap:calc(var(--spacing)*6)}.gap-8{gap:calc(var(--spacing)*8)}.gap-10{gap:calc(var(--spacing)*10)}.gap-12{gap:calc(var(--spacing)*12)}.gap-14{gap:calc(var(--spacing)*14)}.gap-16{gap:calc(var(--spacing)*16)}.gap-20{gap:calc(var(--spacing)*20)}.gap-24{gap:calc(var(--spacing)*24)}.gap-28{gap:calc(var(--spacing)*28)}.gap-32{gap:calc(var(--spacing)*32)}:where(.space-y-0\\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*.5)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*.5)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-1\\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1.5)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1.5)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}.gap-x-0{column-gap:calc(var(--spacing)*0)}.gap-x-1{column-gap:calc(var(--spacing)*1)}.gap-x-2{column-gap:calc(var(--spacing)*2)}.gap-x-3{column-gap:calc(var(--spacing)*3)}.gap-x-4{column-gap:calc(var(--spacing)*4)}.gap-x-5{column-gap:calc(var(--spacing)*5)}.gap-x-6{column-gap:calc(var(--spacing)*6)}.gap-x-8{column-gap:calc(var(--spacing)*8)}.gap-x-10{column-gap:calc(var(--spacing)*10)}.gap-x-12{column-gap:calc(var(--spacing)*12)}.gap-x-14{column-gap:calc(var(--spacing)*14)}.gap-x-16{column-gap:calc(var(--spacing)*16)}.gap-x-20{column-gap:calc(var(--spacing)*20)}.gap-x-24{column-gap:calc(var(--spacing)*24)}:where(.space-x-1>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*1)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*2)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-3>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*3)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-4>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*4)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-x-reverse)))}.gap-y-0{row-gap:calc(var(--spacing)*0)}.gap-y-1{row-gap:calc(var(--spacing)*1)}.gap-y-2{row-gap:calc(var(--spacing)*2)}.gap-y-3{row-gap:calc(var(--spacing)*3)}.gap-y-4{row-gap:calc(var(--spacing)*4)}.gap-y-5{row-gap:calc(var(--spacing)*5)}.gap-y-6{row-gap:calc(var(--spacing)*6)}.gap-y-8{row-gap:calc(var(--spacing)*8)}.gap-y-10{row-gap:calc(var(--spacing)*10)}.gap-y-12{row-gap:calc(var(--spacing)*12)}.gap-y-14{row-gap:calc(var(--spacing)*14)}.gap-y-16{row-gap:calc(var(--spacing)*16)}.gap-y-20{row-gap:calc(var(--spacing)*20)}.gap-y-24{row-gap:calc(var(--spacing)*24)}:where(.divide-x>:not(:last-child)){--tw-divide-x-reverse:0;border-inline-style:var(--tw-border-style);border-inline-start-width:calc(1px*var(--tw-divide-x-reverse));border-inline-end-width:calc(1px*calc(1 - var(--tw-divide-x-reverse)))}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px*var(--tw-divide-y-reverse));border-bottom-width:calc(1px*calc(1 - var(--tw-divide-y-reverse)))}.self-auto{align-self:auto}.self-center{align-self:center}.self-end{align-self:flex-end}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-scroll{overflow:scroll}.overflow-x-auto{overflow-x:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.overflow-y-hidden{overflow-y:hidden}.rounded{border-radius:.625rem}.rounded-2xl{border-radius:calc(var(--radius) + 8px)}.rounded-\\[2px\\]{border-radius:2px}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-none{border-radius:0}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.rounded-xl{border-radius:calc(var(--radius) + 4px)}.rounded-t-lg{border-top-left-radius:var(--radius);border-top-right-radius:var(--radius)}.rounded-l-md{border-top-left-radius:calc(var(--radius) - 2px);border-bottom-left-radius:calc(var(--radius) - 2px)}.rounded-r-md{border-top-right-radius:calc(var(--radius) - 2px);border-bottom-right-radius:calc(var(--radius) - 2px)}.rounded-b-lg{border-bottom-right-radius:var(--radius);border-bottom-left-radius:var(--radius)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-3{border-style:var(--tw-border-style);border-width:3px}.border-4{border-style:var(--tw-border-style);border-width:4px}.border-\\[1\\.5px\\]{border-style:var(--tw-border-style);border-width:1.5px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-l-2{border-left-style:var(--tw-border-style);border-left-width:2px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-\\[--color-border\\]{border-color:--color-border}.border-blue-500{border-color:var(--color-blue-500)}.border-border,.border-border\\/50{border-color:var(--border)}@supports (color:color-mix(in lab,red,red)){.border-border\\/50{border-color:color-mix(in oklab,var(--border)50%,transparent)}}.border-destructive\\/50{border-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.border-destructive\\/50{border-color:color-mix(in oklab,var(--destructive)50%,transparent)}}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-300{border-color:var(--color-gray-300)}.border-green-500{border-color:var(--color-green-500)}.border-muted-foreground\\/25{border-color:var(--muted-foreground)}@supports (color:color-mix(in lab,red,red)){.border-muted-foreground\\/25{border-color:color-mix(in oklab,var(--muted-foreground)25%,transparent)}}.border-primary{border-color:var(--primary)}.border-red-500{border-color:var(--color-red-500)}.border-slate-200{border-color:var(--color-slate-200)}.border-transparent{border-color:#0000}.border-zinc-200{border-color:var(--color-zinc-200)}.bg-\\[--color-bg\\]{background-color:--color-bg}.bg-accent{background-color:var(--accent)}.bg-amber-50{background-color:var(--color-amber-50)}.bg-amber-100{background-color:var(--color-amber-100)}.bg-amber-500{background-color:var(--color-amber-500)}.bg-background{background-color:var(--background)}.bg-black{background-color:var(--color-black)}.bg-blue-50{background-color:var(--color-blue-50)}.bg-blue-100{background-color:var(--color-blue-100)}.bg-blue-200{background-color:var(--color-blue-200)}.bg-blue-500{background-color:var(--color-blue-500)}.bg-blue-600{background-color:var(--color-blue-600)}.bg-current{background-color:currentColor}.bg-cyan-50{background-color:var(--color-cyan-50)}.bg-cyan-100{background-color:var(--color-cyan-100)}.bg-cyan-500{background-color:var(--color-cyan-500)}.bg-destructive,.bg-destructive\\/10{background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.bg-destructive\\/10{background-color:color-mix(in oklab,var(--destructive)10%,transparent)}}.bg-emerald-50{background-color:var(--color-emerald-50)}.bg-emerald-100{background-color:var(--color-emerald-100)}.bg-emerald-200{background-color:var(--color-emerald-200)}.bg-emerald-500{background-color:var(--color-emerald-500)}.bg-emerald-600{background-color:var(--color-emerald-600)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-200{background-color:var(--color-gray-200)}.bg-gray-500{background-color:var(--color-gray-500)}.bg-gray-800{background-color:var(--color-gray-800)}.bg-gray-900{background-color:var(--color-gray-900)}.bg-green-50{background-color:var(--color-green-50)}.bg-green-100{background-color:var(--color-green-100)}.bg-green-200{background-color:var(--color-green-200)}.bg-green-500{background-color:var(--color-green-500)}.bg-green-600{background-color:var(--color-green-600)}.bg-indigo-50{background-color:var(--color-indigo-50)}.bg-indigo-100{background-color:var(--color-indigo-100)}.bg-indigo-500{background-color:var(--color-indigo-500)}.bg-info{background-color:var(--info)}.bg-muted,.bg-muted\\/30{background-color:var(--muted)}@supports (color:color-mix(in lab,red,red)){.bg-muted\\/30{background-color:color-mix(in oklab,var(--muted)30%,transparent)}}.bg-orange-50{background-color:var(--color-orange-50)}.bg-orange-100{background-color:var(--color-orange-100)}.bg-orange-200{background-color:var(--color-orange-200)}.bg-orange-500{background-color:var(--color-orange-500)}.bg-pink-50{background-color:var(--color-pink-50)}.bg-pink-100{background-color:var(--color-pink-100)}.bg-pink-500{background-color:var(--color-pink-500)}.bg-popover{background-color:var(--popover)}.bg-primary,.bg-primary\\/5{background-color:var(--primary)}@supports (color:color-mix(in lab,red,red)){.bg-primary\\/5{background-color:color-mix(in oklab,var(--primary)5%,transparent)}}.bg-purple-50{background-color:var(--color-purple-50)}.bg-purple-100{background-color:var(--color-purple-100)}.bg-purple-500{background-color:var(--color-purple-500)}.bg-red-50{background-color:var(--color-red-50)}.bg-red-100{background-color:var(--color-red-100)}.bg-red-200{background-color:var(--color-red-200)}.bg-red-500{background-color:var(--color-red-500)}.bg-red-600{background-color:var(--color-red-600)}.bg-red-700{background-color:var(--color-red-700)}.bg-rose-50{background-color:var(--color-rose-50)}.bg-rose-100{background-color:var(--color-rose-100)}.bg-rose-500{background-color:var(--color-rose-500)}.bg-secondary{background-color:var(--secondary)}.bg-sky-50{background-color:var(--color-sky-50)}.bg-sky-100{background-color:var(--color-sky-100)}.bg-sky-500{background-color:var(--color-sky-500)}.bg-slate-50{background-color:var(--color-slate-50)}.bg-slate-100{background-color:var(--color-slate-100)}.bg-slate-200{background-color:var(--color-slate-200)}.bg-slate-500{background-color:var(--color-slate-500)}.bg-slate-800{background-color:var(--color-slate-800)}.bg-slate-900{background-color:var(--color-slate-900)}.bg-success{background-color:var(--success)}.bg-teal-50{background-color:var(--color-teal-50)}.bg-teal-100{background-color:var(--color-teal-100)}.bg-teal-500{background-color:var(--color-teal-500)}.bg-transparent{background-color:#0000}.bg-violet-50{background-color:var(--color-violet-50)}.bg-violet-100{background-color:var(--color-violet-100)}.bg-violet-500{background-color:var(--color-violet-500)}.bg-warning{background-color:var(--warning)}.bg-white{background-color:var(--color-white)}.bg-yellow-50{background-color:var(--color-yellow-50)}.bg-yellow-100{background-color:var(--color-yellow-100)}.bg-yellow-500{background-color:var(--color-yellow-500)}.bg-zinc-50{background-color:var(--color-zinc-50)}.bg-zinc-100{background-color:var(--color-zinc-100)}.bg-zinc-200{background-color:var(--color-zinc-200)}.bg-zinc-500{background-color:var(--color-zinc-500)}.bg-zinc-800{background-color:var(--color-zinc-800)}.bg-zinc-900{background-color:var(--color-zinc-900)}.p-0{padding:calc(var(--spacing)*0)}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-5{padding:calc(var(--spacing)*5)}.p-6{padding:calc(var(--spacing)*6)}.p-8{padding:calc(var(--spacing)*8)}.p-10{padding:calc(var(--spacing)*10)}.p-12{padding:calc(var(--spacing)*12)}.px-0{padding-inline:calc(var(--spacing)*0)}.px-1{padding-inline:calc(var(--spacing)*1)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-2\\.5{padding-inline:calc(var(--spacing)*2.5)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-6{padding-inline:calc(var(--spacing)*6)}.px-8{padding-inline:calc(var(--spacing)*8)}.px-16{padding-inline:calc(var(--spacing)*16)}.px-\\[0\\.3rem\\]{padding-inline:.3rem}.px-\\[var\\(--cell-size\\)\\]{padding-inline:var(--cell-size)}.py-0{padding-block:calc(var(--spacing)*0)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.py-4{padding-block:calc(var(--spacing)*4)}.py-6{padding-block:calc(var(--spacing)*6)}.py-8{padding-block:calc(var(--spacing)*8)}.py-12{padding-block:calc(var(--spacing)*12)}.py-\\[0\\.2rem\\]{padding-block:.2rem}.pt-3{padding-top:calc(var(--spacing)*3)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.pb-3{padding-bottom:calc(var(--spacing)*3)}.pl-6{padding-left:calc(var(--spacing)*6)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.font-mono{font-family:var(--font-mono)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[0\\.8rem\\]{font-size:.8rem}.leading-7{--tw-leading:calc(var(--spacing)*7);line-height:calc(var(--spacing)*7)}.leading-loose{--tw-leading:var(--leading-loose);line-height:var(--leading-loose)}.leading-none{--tw-leading:1;line-height:1}.leading-normal{--tw-leading:var(--leading-normal);line-height:var(--leading-normal)}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.leading-snug{--tw-leading:var(--leading-snug);line-height:var(--leading-snug)}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-extrabold{--tw-font-weight:var(--font-weight-extrabold);font-weight:var(--font-weight-extrabold)}.font-light{--tw-font-weight:var(--font-weight-light);font-weight:var(--font-weight-light)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.font-thin{--tw-font-weight:var(--font-weight-thin);font-weight:var(--font-weight-thin)}.tracking-normal{--tw-tracking:var(--tracking-normal);letter-spacing:var(--tracking-normal)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-tighter{--tw-tracking:var(--tracking-tighter);letter-spacing:var(--tracking-tighter)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.tracking-widest{--tw-tracking:var(--tracking-widest);letter-spacing:var(--tracking-widest)}.text-nowrap{text-wrap:nowrap}.text-wrap{text-wrap:wrap}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.whitespace-pre-wrap{white-space:pre-wrap}.text-accent-foreground{color:var(--accent-foreground)}.text-amber-500{color:var(--color-amber-500)}.text-black{color:var(--color-black)}.text-blue-500{color:var(--color-blue-500)}.text-blue-600{color:var(--color-blue-600)}.text-current{color:currentColor}.text-cyan-500{color:var(--color-cyan-500)}.text-destructive{color:var(--destructive)}.text-emerald-500{color:var(--color-emerald-500)}.text-emerald-600{color:var(--color-emerald-600)}.text-foreground{color:var(--foreground)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-green-500{color:var(--color-green-500)}.text-green-600{color:var(--color-green-600)}.text-indigo-500{color:var(--color-indigo-500)}.text-info{color:var(--info)}.text-muted-foreground,.text-muted-foreground\\/50{color:var(--muted-foreground)}@supports (color:color-mix(in lab,red,red)){.text-muted-foreground\\/50{color:color-mix(in oklab,var(--muted-foreground)50%,transparent)}}.text-orange-500{color:var(--color-orange-500)}.text-pink-500{color:var(--color-pink-500)}.text-primary{color:var(--primary)}.text-purple-500{color:var(--color-purple-500)}.text-red-500{color:var(--color-red-500)}.text-red-600{color:var(--color-red-600)}.text-red-700{color:var(--color-red-700)}.text-rose-500{color:var(--color-rose-500)}.text-secondary-foreground{color:var(--secondary-foreground)}.text-sky-500{color:var(--color-sky-500)}.text-slate-400{color:var(--color-slate-400)}.text-slate-500{color:var(--color-slate-500)}.text-slate-600{color:var(--color-slate-600)}.text-success{color:var(--success)}.text-teal-500{color:var(--color-teal-500)}.text-violet-500{color:var(--color-violet-500)}.text-warning{color:var(--warning)}.text-white{color:var(--color-white)}.text-yellow-500{color:var(--color-yellow-500)}.text-zinc-400{color:var(--color-zinc-400)}.text-zinc-500{color:var(--color-zinc-500)}.text-zinc-600{color:var(--color-zinc-600)}.capitalize{text-transform:capitalize}.lowercase{text-transform:lowercase}.normal-case{text-transform:none}.uppercase{text-transform:uppercase}.italic{font-style:italic}.not-italic{font-style:normal}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.line-through{text-decoration-line:line-through}.no-underline{text-decoration-line:none}.underline{text-decoration-line:underline}.underline-offset-4{text-underline-offset:4px}.accent-primary{accent-color:var(--primary)}.opacity-0{opacity:0}.opacity-25{opacity:.25}.opacity-50{opacity:.5}.opacity-70{opacity:.7}.opacity-75{opacity:.75}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xs{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-0{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-1{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-red-500\\/50{--tw-shadow-color:#fb2c3680}@supports (color:color-mix(in lab,red,red)){.shadow-red-500\\/50{--tw-shadow-color:color-mix(in oklab,color-mix(in oklab,var(--color-red-500)50%,transparent)var(--tw-shadow-alpha),transparent)}}.ring-primary{--tw-ring-color:var(--primary)}.ring-offset-0{--tw-ring-offset-width:0px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.ring-offset-background{--tw-ring-offset-color:var(--background)}.outline-hidden{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.outline-hidden{outline-offset:2px;outline:2px solid #0000}}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-shadow{transition-property:box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-none{transition-property:none}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.paused{animation-play-state:paused}.running{animation-play-state:running}.group-data-\\[disabled\\=true\\]\\:pointer-events-none:is(:where(.group)[data-disabled=true] *){pointer-events:none}.group-data-\\[focused\\=true\\]\\/day\\:relative:is(:where(.group\\/day)[data-focused=true] *){position:relative}.group-data-\\[focused\\=true\\]\\/day\\:z-10:is(:where(.group\\/day)[data-focused=true] *){z-index:10}.group-data-\\[focused\\=true\\]\\/day\\:border-ring:is(:where(.group\\/day)[data-focused=true] *){border-color:var(--ring)}.group-data-\\[focused\\=true\\]\\/day\\:ring-\\[3px\\]:is(:where(.group\\/day)[data-focused=true] *){--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.group-data-\\[focused\\=true\\]\\/day\\:ring-ring\\/50:is(:where(.group\\/day)[data-focused=true] *){--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){.group-data-\\[focused\\=true\\]\\/day\\:ring-ring\\/50:is(:where(.group\\/day)[data-focused=true] *){--tw-ring-color:color-mix(in oklab,var(--ring)50%,transparent)}}.peer-disabled\\:cursor-not-allowed:is(:where(.peer):disabled~*){cursor:not-allowed}.file\\:inline-flex::file-selector-button{display:inline-flex}.file\\:border-0::file-selector-button{border-style:var(--tw-border-style);border-width:0}.file\\:bg-transparent::file-selector-button{background-color:#0000}.file\\:text-foreground::file-selector-button{color:var(--foreground)}.placeholder\\:text-muted-foreground::placeholder{color:var(--muted-foreground)}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-inset-x-3:after{content:var(--tw-content);inset-inline:calc(var(--spacing)*-3)}.after\\:-inset-y-2:after{content:var(--tw-content);inset-block:calc(var(--spacing)*-2)}.first\\:mt-0:first-child{margin-top:calc(var(--spacing)*0)}@media(hover:hover){.hover\\:scale-105:hover{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x)var(--tw-scale-y)}.hover\\:border-muted-foreground\\/50:hover{border-color:var(--muted-foreground)}@supports (color:color-mix(in lab,red,red)){.hover\\:border-muted-foreground\\/50:hover{border-color:color-mix(in oklab,var(--muted-foreground)50%,transparent)}}.hover\\:bg-accent:hover{background-color:var(--accent)}.hover\\:bg-blue-500:hover{background-color:var(--color-blue-500)}.hover\\:text-accent-foreground:hover{color:var(--accent-foreground)}.hover\\:text-foreground:hover{color:var(--foreground)}.hover\\:opacity-100:hover{opacity:1}}.focus\\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\\:ring-ring:focus{--tw-ring-color:var(--ring)}.focus\\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.focus-visible\\:rounded-none:focus-visible{border-radius:0}.focus-visible\\:border-b:focus-visible{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.focus-visible\\:border-border:focus-visible{border-color:var(--border)}.focus-visible\\:border-ring:focus-visible{border-color:var(--ring)}.focus-visible\\:ring-0:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\\:ring-\\[3px\\]:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\\:ring-ring:focus-visible,.focus-visible\\:ring-ring\\/50:focus-visible{--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){.focus-visible\\:ring-ring\\/50:focus-visible{--tw-ring-color:color-mix(in oklab,var(--ring)50%,transparent)}}.focus-visible\\:ring-offset-0:focus-visible{--tw-ring-offset-width:0px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus-visible\\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-50:disabled{opacity:.5}.has-data-\\[slot\\=card-action\\]\\:grid-cols-\\[1fr_auto\\]:has([data-slot=card-action]){grid-template-columns:1fr auto}.has-data-\\[slot\\=card-description\\]\\:grid-rows-\\[auto_auto\\]:has([data-slot=card-description]){grid-template-rows:auto auto}.has-data-\\[slot\\=card-footer\\]\\:pb-0:has([data-slot=card-footer]){padding-bottom:calc(var(--spacing)*0)}.has-\\[\\>svg\\]\\:grid-cols-\\[auto_1fr\\]:has(>svg){grid-template-columns:auto 1fr}.aria-disabled\\:opacity-50[aria-disabled=true]{opacity:.5}.aria-invalid\\:border-destructive[aria-invalid=true]{border-color:var(--destructive)}.aria-invalid\\:ring-destructive\\/20[aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.aria-invalid\\:ring-destructive\\/20[aria-invalid=true]{--tw-ring-color:color-mix(in oklab,var(--destructive)20%,transparent)}}.aria-selected\\:text-muted-foreground[aria-selected=true]{color:var(--muted-foreground)}.data-\\[disabled\\]\\:pointer-events-none[data-disabled]{pointer-events:none}.data-\\[disabled\\]\\:opacity-50[data-disabled]{opacity:.5}.data-\\[range-end\\=true\\]\\:rounded-md[data-range-end=true]{border-radius:calc(var(--radius) - 2px)}.data-\\[range-end\\=true\\]\\:bg-primary[data-range-end=true]{background-color:var(--primary)}.data-\\[range-end\\=true\\]\\:text-primary-foreground[data-range-end=true]{color:var(--primary-foreground)}.data-\\[range-middle\\=true\\]\\:rounded-none[data-range-middle=true]{border-radius:0}.data-\\[range-middle\\=true\\]\\:bg-accent[data-range-middle=true]{background-color:var(--accent)}.data-\\[range-middle\\=true\\]\\:text-accent-foreground[data-range-middle=true]{color:var(--accent-foreground)}.data-\\[range-start\\=true\\]\\:rounded-md[data-range-start=true]{border-radius:calc(var(--radius) - 2px)}.data-\\[range-start\\=true\\]\\:bg-primary[data-range-start=true]{background-color:var(--primary)}.data-\\[range-start\\=true\\]\\:text-primary-foreground[data-range-start=true]{color:var(--primary-foreground)}.data-\\[selected-single\\=true\\]\\:bg-primary[data-selected-single=true]{background-color:var(--primary)}.data-\\[selected-single\\=true\\]\\:text-primary-foreground[data-selected-single=true]{color:var(--primary-foreground)}.data-\\[selected\\=true\\]\\:rounded-none[data-selected=true]{border-radius:0}.data-\\[side\\=bottom\\]\\:translate-y-1[data-side=bottom]{--tw-translate-y:calc(var(--spacing)*1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\\[side\\=left\\]\\:-translate-x-1[data-side=left]{--tw-translate-x:calc(var(--spacing)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\\[side\\=right\\]\\:translate-x-1[data-side=right]{--tw-translate-x:calc(var(--spacing)*1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\\[side\\=top\\]\\:-translate-y-1[data-side=top]{--tw-translate-y:calc(var(--spacing)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:line-clamp-1>*)[data-slot=select-value]{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:flex>*)[data-slot=select-value]{display:flex}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:items-center>*)[data-slot=select-value]{align-items:center}.data-\\[state\\=active\\]\\:bg-background[data-state=active]{background-color:var(--background)}.data-\\[state\\=active\\]\\:text-foreground[data-state=active]{color:var(--foreground)}.data-\\[state\\=active\\]\\:shadow-sm[data-state=active]{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.data-\\[state\\=open\\]\\:bg-accent[data-state=open]{background-color:var(--accent)}.data-\\[state\\=open\\]\\:text-muted-foreground[data-state=open]{color:var(--muted-foreground)}@media(min-width:40rem){.sm\\:block{display:block}.sm\\:hidden{display:none}.sm\\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.sm\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.sm\\:flex-row{flex-direction:row}.sm\\:justify-end{justify-content:flex-end}.sm\\:gap-2{gap:calc(var(--spacing)*2)}.sm\\:gap-4{gap:calc(var(--spacing)*4)}.sm\\:gap-6{gap:calc(var(--spacing)*6)}:where(.sm\\:space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*2)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-x-reverse)))}.sm\\:px-6{padding-inline:calc(var(--spacing)*6)}.sm\\:text-left{text-align:left}}@media(min-width:48rem){.md\\:block{display:block}.md\\:hidden{display:none}.md\\:w-auto{width:auto}.md\\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.md\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.md\\:flex-row{flex-direction:row}.md\\:gap-2{gap:calc(var(--spacing)*2)}.md\\:gap-4{gap:calc(var(--spacing)*4)}.md\\:gap-6{gap:calc(var(--spacing)*6)}.md\\:gap-8{gap:calc(var(--spacing)*8)}}@media(min-width:64rem){.lg\\:block{display:block}.lg\\:hidden{display:none}.lg\\:w-1\\/2{width:50%}.lg\\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.lg\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.lg\\:gap-4{gap:calc(var(--spacing)*4)}.lg\\:gap-6{gap:calc(var(--spacing)*6)}.lg\\:gap-8{gap:calc(var(--spacing)*8)}.lg\\:px-8{padding-inline:calc(var(--spacing)*8)}.lg\\:text-5xl{font-size:var(--text-5xl);line-height:var(--tw-leading,var(--text-5xl--line-height))}}@media(min-width:80rem){.xl\\:block{display:block}.xl\\:hidden{display:none}.xl\\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.xl\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.xl\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.xl\\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}}.dark\\:aria-invalid\\:ring-destructive\\/40:is(.dark *)[aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.dark\\:aria-invalid\\:ring-destructive\\/40:is(.dark *)[aria-invalid=true]{--tw-ring-color:color-mix(in oklab,var(--destructive)40%,transparent)}}.data-disabled\\:cursor-not-allowed:where([data-disabled=true]),.data-disabled\\:cursor-not-allowed:where([data-disabled]:not([data-disabled=false])){cursor:not-allowed}.data-disabled\\:opacity-50:where([data-disabled=true]),.data-disabled\\:opacity-50:where([data-disabled]:not([data-disabled=false])){opacity:.5}.data-horizontal\\:h-full:where([data-orientation=horizontal]){height:100%}.data-horizontal\\:w-full:where([data-orientation=horizontal]){width:100%}.data-vertical\\:h-full:where([data-orientation=vertical]){height:100%}.data-vertical\\:w-auto:where([data-orientation=vertical]){width:auto}.data-vertical\\:w-full:where([data-orientation=vertical]){width:100%}.data-vertical\\:flex-col:where([data-orientation=vertical]){flex-direction:column}.\\[\\&_\\.cm-editor\\]\\:h-full .cm-editor{height:100%}.\\[\\&_\\.cm-editor\\]\\:outline-none .cm-editor{--tw-outline-style:none;outline-style:none}.\\[\\&_\\.recharts-cartesian-axis-tick_text\\]\\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:var(--muted-foreground)}.\\[\\&_\\.recharts-curve\\.recharts-tooltip-cursor\\]\\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:var(--border)}.\\[\\&_\\.recharts-layer\\]\\:outline-none .recharts-layer{--tw-outline-style:none;outline-style:none}.\\[\\&_\\.recharts-radial-bar-background-sector\\]\\:fill-muted .recharts-radial-bar-background-sector,.\\[\\&_\\.recharts-rectangle\\.recharts-tooltip-cursor\\]\\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:var(--muted)}.\\[\\&_\\.recharts-sector\\]\\:outline-none .recharts-sector,.\\[\\&_\\.recharts-surface\\]\\:outline-none .recharts-surface{--tw-outline-style:none;outline-style:none}.\\[\\&_svg\\]\\:pointer-events-none svg{pointer-events:none}.\\[\\&_svg\\]\\:shrink-0 svg{flex-shrink:0}.\\[\\&\\:first-child\\[data-selected\\=true\\]_button\\]\\:rounded-l-md:first-child[data-selected=true] button{border-top-left-radius:calc(var(--radius) - 2px);border-bottom-left-radius:calc(var(--radius) - 2px)}:is(.rtl\\:\\*\\*\\:\\[\\.rdp-button\\\\_next\\>svg\\]\\:rotate-180:where(:dir(rtl),[dir=rtl],[dir=rtl] *) *):is(.rdp-button_next>svg),:is(.rtl\\:\\*\\*\\:\\[\\.rdp-button\\\\_previous\\>svg\\]\\:rotate-180:where(:dir(rtl),[dir=rtl],[dir=rtl] *) *):is(.rdp-button_previous>svg){rotate:180deg}.\\[\\&\\:last-child\\[data-selected\\=true\\]_button\\]\\:rounded-r-md:last-child[data-selected=true] button{border-top-right-radius:calc(var(--radius) - 2px);border-bottom-right-radius:calc(var(--radius) - 2px)}.\\[\\&\\:not\\(\\:first-child\\)\\]\\:mt-4:not(:first-child){margin-top:calc(var(--spacing)*4)}.\\[\\&\\>li\\]\\:mt-2>li{margin-top:calc(var(--spacing)*2)}.\\[\\&\\>span\\]\\:text-xs>span{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.\\[\\&\\>span\\]\\:opacity-70>span{opacity:.7}.\\[\\&\\>svg\\]\\:pointer-events-none>svg{pointer-events:none}.\\[\\&\\>svg\\]\\:size-3\\.5>svg{width:calc(var(--spacing)*3.5);height:calc(var(--spacing)*3.5)}.\\[\\&\\>svg\\]\\:h-2\\.5>svg{height:calc(var(--spacing)*2.5)}.\\[\\&\\>svg\\]\\:h-3>svg{height:calc(var(--spacing)*3)}.\\[\\&\\>svg\\]\\:w-2\\.5>svg{width:calc(var(--spacing)*2.5)}.\\[\\&\\>svg\\]\\:w-3>svg{width:calc(var(--spacing)*3)}.\\[\\&\\>svg\\]\\:text-muted-foreground>svg{color:var(--muted-foreground)}.\\[\\&\\[align\\=center\\]\\]\\:text-center[align=center]{text-align:center}.\\[\\&\\[align\\=right\\]\\]\\:text-right[align=right]{text-align:right}.\\[\\&\\[data-state\\=open\\]\\>svg\\]\\:rotate-180[data-state=open]>svg{rotate:180deg}[data-slot=card-content] .\\[\\[data-slot\\=card-content\\]_\\&\\]\\:bg-transparent,[data-slot=popover-content] .\\[\\[data-slot\\=popover-content\\]_\\&\\]\\:bg-transparent{background-color:#0000}}@keyframes accordion-down{0%{height:0}to{height:var(--radix-accordion-content-height,var(--bits-accordion-content-height,var(--reka-accordion-content-height,var(--kb-accordion-content-height,var(--ngp-accordion-content-height,auto)))))}}@keyframes accordion-up{0%{height:var(--radix-accordion-content-height,var(--bits-accordion-content-height,var(--reka-accordion-content-height,var(--kb-accordion-content-height,var(--ngp-accordion-content-height,auto)))))}to{height:0}}:root{--radius:.625rem;--background:oklch(100% 0 0);--foreground:oklch(14.5% 0 0);--card:oklch(100% 0 0);--card-foreground:oklch(14.5% 0 0);--popover:oklch(100% 0 0);--popover-foreground:oklch(14.5% 0 0);--primary:oklch(20.5% 0 0);--primary-foreground:oklch(98.5% 0 0);--secondary:oklch(97% 0 0);--secondary-foreground:oklch(20.5% 0 0);--muted:oklch(97% 0 0);--muted-foreground:oklch(55.6% 0 0);--accent:oklch(97% 0 0);--accent-foreground:oklch(20.5% 0 0);--destructive:oklch(57.7% .245 27.325);--success:oklch(56% .15 155);--warning:oklch(68% .16 75);--info:oklch(55% .15 260);--border:oklch(92.2% 0 0);--input:oklch(92.2% 0 0);--ring:oklch(70.8% 0 0);--chart-1:oklch(60% .15 250);--chart-2:oklch(60% .15 160);--chart-3:oklch(60% .15 340);--chart-4:oklch(65% .15 70);--chart-5:oklch(55% .15 295);--sidebar:oklch(98.5% 0 0);--sidebar-foreground:oklch(14.5% 0 0);--sidebar-primary:oklch(20.5% 0 0);--sidebar-primary-foreground:oklch(98.5% 0 0);--sidebar-accent:oklch(97% 0 0);--sidebar-accent-foreground:oklch(20.5% 0 0);--sidebar-border:oklch(92.2% 0 0);--sidebar-ring:oklch(70.8% 0 0)}.dark{--background:oklch(14.5% 0 0);--foreground:oklch(98.5% 0 0);--card:oklch(20.5% 0 0);--card-foreground:oklch(98.5% 0 0);--popover:oklch(20.5% 0 0);--popover-foreground:oklch(98.5% 0 0);--primary:oklch(92.2% 0 0);--primary-foreground:oklch(20.5% 0 0);--secondary:oklch(26.9% 0 0);--secondary-foreground:oklch(98.5% 0 0);--muted:oklch(26.9% 0 0);--muted-foreground:oklch(70.8% 0 0);--accent:oklch(37.1% 0 0);--accent-foreground:oklch(98.5% 0 0);--destructive:oklch(70.4% .191 22.216);--success:oklch(62% .17 155);--warning:oklch(75% .18 75);--info:oklch(62% .17 260);--border:oklch(100% 0 0/.1);--input:oklch(100% 0 0/.15);--ring:oklch(55.6% 0 0);--chart-1:oklch(70% .15 250);--chart-2:oklch(70% .15 160);--chart-3:oklch(70% .15 340);--chart-4:oklch(75% .15 70);--chart-5:oklch(65% .15 295);--sidebar:oklch(20.5% 0 0);--sidebar-foreground:oklch(98.5% 0 0);--sidebar-primary:oklch(48.8% .243 264.376);--sidebar-primary-foreground:oklch(98.5% 0 0);--sidebar-accent:oklch(26.9% 0 0);--sidebar-accent-foreground:oklch(98.5% 0 0);--sidebar-border:oklch(100% 0 0/.1);--sidebar-ring:oklch(55.6% 0 0)}.hljs-keyword,.hljs-selector-tag,.hljs-built_in,.hljs-literal{color:#4761e4}.hljs-string,.hljs-doctag,.hljs-template-variable{color:#00893d;color:oklch(55% .18 150)}.hljs-number,.hljs-regexp{color:#d84b00;color:oklch(60% .2 40)}.hljs-title,.hljs-title\\.class_,.hljs-title\\.function_{color:#396fc8}.hljs-comment{color:#717171;font-style:italic}.hljs-variable,.hljs-template-variable{color:#d64938}.hljs-attr,.hljs-attribute{color:#009298;color:oklch(60% .15 200)}.hljs-meta,.hljs-selector-class{color:#7163b2}.hljs-type,.hljs-params{color:#008287;color:oklch(55% .15 200)}.hljs-punctuation{color:#636363}.dark .hljs-keyword,.dark .hljs-selector-tag,.dark .hljs-built_in,.dark .hljs-literal{color:#8fa9ff;color:oklch(75% .18 270)}.dark .hljs-string,.dark .hljs-doctag,.dark .hljs-template-variable{color:#4ac06c}.dark .hljs-number,.dark .hljs-regexp{color:#ff885d;color:oklch(75% .18 40)}.dark .hljs-title,.dark .hljs-title\\.class_,.dark .hljs-title\\.function_{color:#7daeff;color:oklch(75% .13 260)}.dark .hljs-comment{color:#717171;font-style:italic}.dark .hljs-variable,.dark .hljs-template-variable{color:#ff8573;color:oklch(75% .16 30)}.dark .hljs-attr,.dark .hljs-attribute{color:#00bbc3;color:oklch(72% .13 200)}.dark .hljs-meta,.dark .hljs-selector-class{color:#9d94d9}.dark .hljs-type,.dark .hljs-params{color:#00bbc3;color:oklch(72% .13 200)}.dark .hljs-punctuation{color:#8f8f8f}@keyframes spin{to{transform:rotate(360deg)}}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0)scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1))rotate(var(--tw-enter-rotate,0));filter:blur(var(--tw-enter-blur,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0)scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1))rotate(var(--tw-exit-rotate,0));filter:blur(var(--tw-exit-blur,0))}}@keyframes caret-blink{0%,70%,to{opacity:1}20%,50%{opacity:0}}`, y9 = 'html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}html[dir=rtl],[data-sonner-toaster][dir=rtl]{--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999;transition:transform .4s ease}@media(hover:none)and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translate(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}[data-sonner-toast][data-y-position=top]{top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px #0006}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:#00000014}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:#ffffff4d}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]:before{content:"";position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]:before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]:before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]:after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y: translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y: translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]:before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y, 0px)) translate(var(--swipe-amount-x, 0px));transition:none}[data-sonner-toast][data-swiped=true]{-webkit-user-select:none;user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media(max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 87%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 93%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 84%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg: #000;--normal-bg-hover: hsl(0, 0%, 12%);--normal-border: hsl(0, 0%, 20%);--normal-border-hover: hsl(0, 0%, 25%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 43%, 17%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 9%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);--error-text: hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;top:0;right:0;bottom:0;left:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media(prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}', dk = x9.replace(/:root/g, ":host").replace(/\.dark\s*\{/g, ":host(.dark) {").replace(/\.dark\s+\./g, ":host(.dark) .").replace(/\.dark\s+:/g, ":host(.dark) :"), fk = `ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif`, S9 = dk + y9 + `
[data-prefab-mount] {
  position: relative;
  background: var(--background);
  color: var(--foreground);
  font-family: ${fk};
  margin: 0;
  padding: 4rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-synthesis-weight: none;
  text-rendering: optimizeLegibility;
}
`, k9 = dk + `
[data-prefab-portal] {
  font-family: ${fk};
  font-synthesis-weight: none;
  text-rendering: optimizeLegibility;
}
`;
function C9({
  tree: e,
  initialState: n,
  container: r
}) {
  const o = b9(n);
  return /* @__PURE__ */ b.jsxs(v_, { container: r, children: [
    /* @__PURE__ */ b.jsx(w.Suspense, { fallback: null, children: /* @__PURE__ */ b.jsx(m9, { tree: e, state: o, app: null }) }),
    /* @__PURE__ */ b.jsx(
      "div",
      {
        style: {
          position: "absolute",
          top: 0,
          left: 0,
          width: "100%",
          zIndex: 9999
        },
        children: /* @__PURE__ */ b.jsx(p_, {})
      }
    )
  ] });
}
function _9(e, n) {
  let r = document.getElementById(e), o;
  if (r)
    o = r.shadowRoot.querySelector("[data-prefab-portal]");
  else {
    r = document.createElement("div"), r.id = e, document.body.appendChild(r);
    const l = r.attachShadow({ mode: "open" }), s = document.createElement("style");
    s.textContent = k9, l.appendChild(s), o = document.createElement("div"), o.setAttribute("data-prefab-portal", ""), l.appendChild(o);
  }
  return r.classList.toggle("dark", n), o;
}
function R9(e, n, r) {
  const o = e.attachShadow({ mode: "open" }), l = document.createElement("style");
  l.textContent = S9, o.appendChild(l);
  const s = document.createElement("div");
  s.setAttribute("data-prefab-mount", ""), o.appendChild(s);
  const u = (r == null ? void 0 : r.dark) ?? !1;
  u && e.classList.add("dark");
  const f = `prefab-portal-${e.id || Math.random().toString(36).slice(2)}`, g = _9(f, u), p = JSON.parse(n), m = p.view ?? p, h = /* @__PURE__ */ new Set(["view", "state"]), S = {};
  for (const [k, R] of Object.entries(p))
    h.has(k) || (S[k] = R);
  const y = { ...S, ...p.state ?? {} };
  let C = BC.createRoot(s);
  return C.render(
    /* @__PURE__ */ b.jsx(
      C9,
      {
        tree: m,
        initialState: y,
        container: g
      }
    )
  ), {
    unmount() {
      var k;
      C == null || C.unmount(), C = null, (k = document.getElementById(f)) == null || k.remove();
    },
    setDark(k) {
      e.classList.toggle("dark", k);
      const R = document.getElementById(f);
      R && R.classList.toggle("dark", k);
    }
  };
}
window.__prefab = { mountPreview: R9 };
export {
  ys as B,
  j1 as P,
  ae as a,
  z4 as b,
  Qb as c,
  $1 as d,
  fp as e,
  b as j,
  R9 as m
};
