react-toolkits 0.8.1 → 0.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,14 +1,14 @@
1
- var Ii = Object.defineProperty;
2
- var Pi = (e, t, r) => t in e ? Ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
- var fr = (e, t, r) => (Pi(e, typeof t != "symbol" ? t + "" : t, r), r);
1
+ var Pi = Object.defineProperty;
2
+ var Di = (e, t, r) => t in e ? Pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
+ var fr = (e, t, r) => (Di(e, typeof t != "symbol" ? t + "" : t, r), r);
4
4
  import * as we from "react";
5
- import ye, { createContext as Zr, useContext as Jr, useEffect as _e, useState as Fe, useRef as fe, useLayoutEffect as Di, useMemo as Yt, useCallback as Ce, useDebugValue as ji, memo as Fi, Suspense as Ni, forwardRef as Bi, useImperativeHandle as Li, lazy as gt } from "react";
5
+ import ye, { createContext as Zr, useContext as Jr, useEffect as _e, useState as Fe, useRef as fe, useLayoutEffect as ji, useMemo as Yt, useCallback as Ce, useDebugValue as Fi, memo as Ni, Suspense as Bi, forwardRef as Li, useImperativeHandle as Mi, lazy as gt } from "react";
6
6
  import * as zt from "antd";
7
- import { theme as Ua, Space as ut, Input as In, Tag as Pn, Button as ct, Select as Mi, Typography as Ui, Form as Ot, Spin as en, Result as tn, Table as Ga, Menu as Gi, Card as Vi, Empty as Dn, Dropdown as ki, Divider as Wi, Tooltip as Hi, Modal as Qi } from "antd";
8
- import Yi, { flushSync as zi } from "react-dom";
9
- import { useLocation as $i, Link as Va, useNavigate as Ki, Routes as ka, Route as ke, Navigate as qi } from "react-router-dom";
7
+ import { theme as Ua, Space as ut, Input as In, Tag as Pn, Button as ct, Select as Ui, Typography as Gi, Form as Ot, Spin as en, Result as tn, Table as Ga, Menu as Vi, Card as ki, Empty as Dn, Dropdown as Wi, Divider as Hi, Tooltip as Qi, Modal as Yi } from "antd";
8
+ import { useLocation as Va, Link as ka, useNavigate as zi, Routes as Wa, Route as ke, Navigate as $i } from "react-router-dom";
9
+ import Ki, { flushSync as qi } from "react-dom";
10
10
  var xg = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
11
- function Wa(e) {
11
+ function Ha(e) {
12
12
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
13
13
  }
14
14
  var Ir = { exports: {} }, ht = {};
@@ -359,7 +359,7 @@ function Xi() {
359
359
  __source: !0
360
360
  }, En, Sn, sr;
361
361
  sr = {};
362
- function pi(s) {
362
+ function hi(s) {
363
363
  if (oe.call(s, "ref")) {
364
364
  var b = Object.getOwnPropertyDescriptor(s, "ref").get;
365
365
  if (b && b.isReactWarning)
@@ -367,7 +367,7 @@ function Xi() {
367
367
  }
368
368
  return s.ref !== void 0;
369
369
  }
370
- function hi(s) {
370
+ function mi(s) {
371
371
  if (oe.call(s, "key")) {
372
372
  var b = Object.getOwnPropertyDescriptor(s, "key").get;
373
373
  if (b && b.isReactWarning)
@@ -375,13 +375,13 @@ function Xi() {
375
375
  }
376
376
  return s.key !== void 0;
377
377
  }
378
- function mi(s, b) {
378
+ function vi(s, b) {
379
379
  if (typeof s.ref == "string" && Ze.current && b && Ze.current.stateNode !== b) {
380
380
  var S = F(Ze.current.type);
381
381
  sr[S] || (m('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', F(Ze.current.type), s.ref), sr[S] = !0);
382
382
  }
383
383
  }
384
- function vi(s, b) {
384
+ function yi(s, b) {
385
385
  {
386
386
  var S = function() {
387
387
  En || (En = !0, m("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", b));
@@ -392,7 +392,7 @@ function Xi() {
392
392
  });
393
393
  }
394
394
  }
395
- function yi(s, b) {
395
+ function bi(s, b) {
396
396
  {
397
397
  var S = function() {
398
398
  Sn || (Sn = !0, m("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", b));
@@ -403,7 +403,7 @@ function Xi() {
403
403
  });
404
404
  }
405
405
  }
406
- var bi = function(s, b, S, I, U, H, M) {
406
+ var Ei = function(s, b, S, I, U, H, M) {
407
407
  var B = {
408
408
  // This tag allows us to uniquely identify this as a React Element
409
409
  $$typeof: t,
@@ -432,10 +432,10 @@ function Xi() {
432
432
  value: U
433
433
  }), Object.freeze && (Object.freeze(B.props), Object.freeze(B)), B;
434
434
  };
435
- function Ei(s, b, S, I, U) {
435
+ function Si(s, b, S, I, U) {
436
436
  {
437
437
  var H, M = {}, B = null, ie = null;
438
- S !== void 0 && (ot(S), B = "" + S), hi(b) && (ot(b.key), B = "" + b.key), pi(b) && (ie = b.ref, mi(b, U));
438
+ S !== void 0 && (ot(S), B = "" + S), mi(b) && (ot(b.key), B = "" + b.key), hi(b) && (ie = b.ref, vi(b, U));
439
439
  for (H in b)
440
440
  oe.call(b, H) && !pt.hasOwnProperty(H) && (M[H] = b[H]);
441
441
  if (s && s.defaultProps) {
@@ -445,9 +445,9 @@ function Xi() {
445
445
  }
446
446
  if (B || ie) {
447
447
  var J = typeof s == "function" ? s.displayName || s.name || "Unknown" : s;
448
- B && vi(M, J), ie && yi(M, J);
448
+ B && yi(M, J), ie && bi(M, J);
449
449
  }
450
- return bi(s, B, ie, U, I, Ze.current, M);
450
+ return Ei(s, B, ie, U, I, Ze.current, M);
451
451
  }
452
452
  }
453
453
  var cr = h.ReactCurrentOwner, wn = h.ReactDebugCurrentFrame;
@@ -475,7 +475,7 @@ Check the render method of \`` + s + "`.";
475
475
  return "";
476
476
  }
477
477
  }
478
- function Si(s) {
478
+ function wi(s) {
479
479
  {
480
480
  if (s !== void 0) {
481
481
  var b = s.fileName.replace(/^.*[\\\/]/, ""), S = s.lineNumber;
@@ -487,7 +487,7 @@ Check your code at ` + b + ":" + S + ".";
487
487
  }
488
488
  }
489
489
  var On = {};
490
- function wi(s) {
490
+ function Ci(s) {
491
491
  {
492
492
  var b = Cn();
493
493
  if (!b) {
@@ -504,7 +504,7 @@ Check the top-level render call using <` + S + ">.");
504
504
  if (!s._store || s._store.validated || s.key != null)
505
505
  return;
506
506
  s._store.validated = !0;
507
- var S = wi(b);
507
+ var S = Ci(b);
508
508
  if (On[S])
509
509
  return;
510
510
  On[S] = !0;
@@ -531,7 +531,7 @@ Check the top-level render call using <` + S + ">.");
531
531
  }
532
532
  }
533
533
  }
534
- function Ci(s) {
534
+ function Oi(s) {
535
535
  {
536
536
  var b = s.type;
537
537
  if (b == null || typeof b == "string")
@@ -556,7 +556,7 @@ Check the top-level render call using <` + S + ">.");
556
556
  typeof b.getDefaultProps == "function" && !b.getDefaultProps.isReactClassApproved && m("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
557
557
  }
558
558
  }
559
- function Oi(s) {
559
+ function Ri(s) {
560
560
  {
561
561
  for (var b = Object.keys(s.props), S = 0; S < b.length; S++) {
562
562
  var I = b[S];
@@ -574,12 +574,12 @@ Check the top-level render call using <` + S + ">.");
574
574
  if (!M) {
575
575
  var B = "";
576
576
  (s === void 0 || typeof s == "object" && s !== null && Object.keys(s).length === 0) && (B += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
577
- var ie = Si(U);
577
+ var ie = wi(U);
578
578
  ie ? B += ie : B += Cn();
579
579
  var q;
580
580
  s === null ? q = "null" : at(s) ? q = "array" : s !== void 0 && s.$$typeof === t ? (q = "<" + (F(s.type) || "Unknown") + " />", B = " Did you accidentally export a JSX literal instead of a component?") : q = typeof s, m("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", q, B);
581
581
  }
582
- var J = Ei(s, b, S, U, H);
582
+ var J = Si(s, b, S, U, H);
583
583
  if (J == null)
584
584
  return J;
585
585
  if (M) {
@@ -595,17 +595,17 @@ Check the top-level render call using <` + S + ">.");
595
595
  else
596
596
  _n(me, s);
597
597
  }
598
- return s === n ? Oi(J) : Ci(J), J;
598
+ return s === n ? Ri(J) : Oi(J), J;
599
599
  }
600
600
  }
601
- function Ri(s, b, S) {
601
+ function _i(s, b, S) {
602
602
  return Tn(s, b, S, !0);
603
603
  }
604
- function _i(s, b, S) {
604
+ function Ti(s, b, S) {
605
605
  return Tn(s, b, S, !1);
606
606
  }
607
- var Ti = _i, xi = Ri;
608
- ht.Fragment = n, ht.jsx = Ti, ht.jsxs = xi;
607
+ var xi = Ti, Ii = _i;
608
+ ht.Fragment = n, ht.jsx = xi, ht.jsxs = Ii;
609
609
  }()), ht;
610
610
  }
611
611
  var mt = {};
@@ -652,7 +652,7 @@ const Nn = (e) => {
652
652
  ), r.clear();
653
653
  } };
654
654
  return t = e(n, a, c), c;
655
- }, Ha = (e) => e ? Nn(e) : Nn;
655
+ }, Qa = (e) => e ? Nn(e) : Nn;
656
656
  var Pr = { exports: {} }, dr = {}, Dr = { exports: {} }, Ar = {};
657
657
  /**
658
658
  * @license React
@@ -894,12 +894,12 @@ function ns() {
894
894
  }
895
895
  process.env.NODE_ENV === "production" ? Pr.exports = ns() : Pr.exports = rs();
896
896
  var as = Pr.exports;
897
- const os = /* @__PURE__ */ Wa(as);
898
- var Qa = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
897
+ const os = /* @__PURE__ */ Ha(as);
898
+ var Ya = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
899
899
  const { useDebugValue: is } = ye, { useSyncExternalStoreWithSelector: ss } = os;
900
900
  let Gn = !1;
901
901
  function cs(e, t = e.getState, r) {
902
- (Qa ? "production" : void 0) !== "production" && r && !Gn && (console.warn(
902
+ (Ya ? "production" : void 0) !== "production" && r && !Gn && (console.warn(
903
903
  "[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"
904
904
  ), Gn = !0);
905
905
  const n = ss(
@@ -912,31 +912,31 @@ function cs(e, t = e.getState, r) {
912
912
  return is(n), n;
913
913
  }
914
914
  const Vn = (e) => {
915
- (Qa ? "production" : void 0) !== "production" && typeof e != "function" && console.warn(
915
+ (Ya ? "production" : void 0) !== "production" && typeof e != "function" && console.warn(
916
916
  "[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`."
917
917
  );
918
- const t = typeof e == "function" ? Ha(e) : e, r = (n, a) => cs(t, n, a);
918
+ const t = typeof e == "function" ? Qa(e) : e, r = (n, a) => cs(t, n, a);
919
919
  return Object.assign(r, t), r;
920
- }, Xt = (e) => e ? Vn(e) : Vn, Ya = {
920
+ }, Xt = (e) => e ? Vn(e) : Vn, za = {
921
921
  appTitle: "",
922
922
  menuItems: [],
923
923
  hideGameSelect: !1,
924
924
  usePermissionApiV2: !1
925
- }, jr = Ha(() => Ya), za = Zr(Ya);
925
+ }, jr = Qa(() => za), $a = Zr(za);
926
926
  function Be() {
927
- return Jr(za);
927
+ return Jr($a);
928
928
  }
929
- const $a = ({ children: e, ...t }) => {
929
+ const Ka = ({ children: e, ...t }) => {
930
930
  const n = {
931
931
  ...Be(),
932
932
  ...t
933
933
  };
934
- return jr.setState(n), /* @__PURE__ */ E.jsx(za.Provider, { value: n, children: e });
934
+ return jr.setState(n), /* @__PURE__ */ E.jsx($a.Provider, { value: n, children: e });
935
935
  };
936
- $a.displayName = "ToolkitsContextProvider";
937
- const us = $a;
936
+ Ka.displayName = "ToolkitsContextProvider";
937
+ const us = Ka;
938
938
  var ls = /* @__PURE__ */ Zr({});
939
- const Ka = ls;
939
+ const qa = ls;
940
940
  function lt() {
941
941
  return lt = Object.assign ? Object.assign.bind() : function(e) {
942
942
  for (var t = 1; t < arguments.length; t++) {
@@ -998,7 +998,7 @@ function gs() {
998
998
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
999
999
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1000
1000
  }
1001
- function qa(e, t) {
1001
+ function Xa(e, t) {
1002
1002
  return fs(e) || ds(e, t) || As(e, t) || gs();
1003
1003
  }
1004
1004
  function et(e) {
@@ -1041,7 +1041,7 @@ function ms(e, t) {
1041
1041
  a = n[o], !(t.indexOf(a) >= 0) && (r[a] = e[a]);
1042
1042
  return r;
1043
1043
  }
1044
- function Xa(e, t) {
1044
+ function Za(e, t) {
1045
1045
  if (e == null)
1046
1046
  return {};
1047
1047
  var r = ms(e, t), n, a;
@@ -1052,7 +1052,7 @@ function Xa(e, t) {
1052
1052
  }
1053
1053
  return r;
1054
1054
  }
1055
- var Za = { exports: {} };
1055
+ var Ja = { exports: {} };
1056
1056
  /*!
1057
1057
  Copyright (c) 2018 Jed Watson.
1058
1058
  Licensed under the MIT License (MIT), see
@@ -1087,9 +1087,9 @@ var Za = { exports: {} };
1087
1087
  }
1088
1088
  e.exports ? (r.default = r, e.exports = r) : window.classNames = r;
1089
1089
  })();
1090
- })(Za);
1091
- var vs = Za.exports;
1092
- const ys = /* @__PURE__ */ Wa(vs);
1090
+ })(Ja);
1091
+ var vs = Ja.exports;
1092
+ const ys = /* @__PURE__ */ Ha(vs);
1093
1093
  function ve(e, t) {
1094
1094
  bs(e) && (e = "100%");
1095
1095
  var r = Es(e);
@@ -1380,7 +1380,7 @@ function Is(e) {
1380
1380
  function De(e) {
1381
1381
  return !!Se.CSS_UNIT.exec(String(e));
1382
1382
  }
1383
- var Lt = 2, Qn = 0.16, Ps = 0.05, Ds = 0.05, js = 0.15, Ja = 5, eo = 4, Fs = [{
1383
+ var Lt = 2, Qn = 0.16, Ps = 0.05, Ds = 0.05, js = 0.15, eo = 5, to = 4, Fs = [{
1384
1384
  index: 7,
1385
1385
  opacity: 0.15
1386
1386
  }, {
@@ -1439,14 +1439,14 @@ function $n(e, t, r) {
1439
1439
  if (e.h === 0 && e.s === 0)
1440
1440
  return e.s;
1441
1441
  var n;
1442
- return r ? n = e.s - Qn * t : t === eo ? n = e.s + Qn : n = e.s + Ps * t, n > 1 && (n = 1), r && t === Ja && n > 0.1 && (n = 0.1), n < 0.06 && (n = 0.06), Number(n.toFixed(2));
1442
+ return r ? n = e.s - Qn * t : t === to ? n = e.s + Qn : n = e.s + Ps * t, n > 1 && (n = 1), r && t === eo && n > 0.1 && (n = 0.1), n < 0.06 && (n = 0.06), Number(n.toFixed(2));
1443
1443
  }
1444
1444
  function Kn(e, t, r) {
1445
1445
  var n;
1446
1446
  return r ? n = e.v + Ds * t : n = e.v - js * t, n > 1 && (n = 1), Number(n.toFixed(2));
1447
1447
  }
1448
1448
  function Nr(e) {
1449
- for (var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = [], n = vt(e), a = Ja; a > 0; a -= 1) {
1449
+ for (var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = [], n = vt(e), a = eo; a > 0; a -= 1) {
1450
1450
  var o = Yn(n), i = Mt(vt({
1451
1451
  h: zn(o, a, !0),
1452
1452
  s: $n(o, a, !0),
@@ -1455,7 +1455,7 @@ function Nr(e) {
1455
1455
  r.push(i);
1456
1456
  }
1457
1457
  r.push(Mt(n));
1458
- for (var c = 1; c <= eo; c += 1) {
1458
+ for (var c = 1; c <= to; c += 1) {
1459
1459
  var u = Yn(n), f = Mt(vt({
1460
1460
  h: zn(u, c),
1461
1461
  s: $n(u, c),
@@ -1527,7 +1527,7 @@ function Ms(e, t) {
1527
1527
  return !1;
1528
1528
  }
1529
1529
  var Xn = "data-rc-order", Zn = "data-rc-priority", Us = "rc-util-key", Br = /* @__PURE__ */ new Map();
1530
- function to() {
1530
+ function ro() {
1531
1531
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.mark;
1532
1532
  return t ? t.startsWith("data-") ? t : "data-".concat(t) : Us;
1533
1533
  }
@@ -1540,12 +1540,12 @@ function rn(e) {
1540
1540
  function Gs(e) {
1541
1541
  return e === "queue" ? "prependQueue" : e ? "prepend" : "append";
1542
1542
  }
1543
- function ro(e) {
1543
+ function no(e) {
1544
1544
  return Array.from((Br.get(e) || e).children).filter(function(t) {
1545
1545
  return t.tagName === "STYLE";
1546
1546
  });
1547
1547
  }
1548
- function no(e) {
1548
+ function ao(e) {
1549
1549
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
1550
1550
  if (!Ls())
1551
1551
  return null;
@@ -1554,7 +1554,7 @@ function no(e) {
1554
1554
  var f = rn(t), d = f.firstChild;
1555
1555
  if (n) {
1556
1556
  if (c) {
1557
- var l = ro(f).filter(function(A) {
1557
+ var l = no(f).filter(function(A) {
1558
1558
  if (!["prepend", "prependQueue"].includes(A.getAttribute(Xn)))
1559
1559
  return !1;
1560
1560
  var g = Number(A.getAttribute(Zn) || 0);
@@ -1570,14 +1570,14 @@ function no(e) {
1570
1570
  }
1571
1571
  function Vs(e) {
1572
1572
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = rn(t);
1573
- return ro(r).find(function(n) {
1574
- return n.getAttribute(to(t)) === e;
1573
+ return no(r).find(function(n) {
1574
+ return n.getAttribute(ro(t)) === e;
1575
1575
  });
1576
1576
  }
1577
1577
  function ks(e, t) {
1578
1578
  var r = Br.get(e);
1579
1579
  if (!r || !Ms(document, r)) {
1580
- var n = no("", t), a = n.parentNode;
1580
+ var n = ao("", t), a = n.parentNode;
1581
1581
  Br.set(e, a), e.removeChild(n);
1582
1582
  }
1583
1583
  }
@@ -1593,18 +1593,18 @@ function Ws(e, t) {
1593
1593
  }
1594
1594
  return a.innerHTML !== e && (a.innerHTML = e), a;
1595
1595
  }
1596
- var u = no(e, r);
1597
- return u.setAttribute(to(r), t), u;
1596
+ var u = ao(e, r);
1597
+ return u.setAttribute(ro(r), t), u;
1598
1598
  }
1599
- function ao(e) {
1599
+ function oo(e) {
1600
1600
  var t;
1601
1601
  return e == null || (t = e.getRootNode) === null || t === void 0 ? void 0 : t.call(e);
1602
1602
  }
1603
1603
  function Hs(e) {
1604
- return ao(e) instanceof ShadowRoot;
1604
+ return oo(e) instanceof ShadowRoot;
1605
1605
  }
1606
1606
  function Qs(e) {
1607
- return Hs(e) ? ao(e) : null;
1607
+ return Hs(e) ? oo(e) : null;
1608
1608
  }
1609
1609
  var Lr = {}, nn = [], Ys = function(t) {
1610
1610
  nn.push(t);
@@ -1628,14 +1628,14 @@ function $s(e, t) {
1628
1628
  function Ks() {
1629
1629
  Lr = {};
1630
1630
  }
1631
- function oo(e, t, r) {
1631
+ function io(e, t, r) {
1632
1632
  !t && !Lr[r] && (e(!1, r), Lr[r] = !0);
1633
1633
  }
1634
1634
  function Zt(e, t) {
1635
- oo(zs, e, t);
1635
+ io(zs, e, t);
1636
1636
  }
1637
1637
  function qs(e, t) {
1638
- oo($s, e, t);
1638
+ io($s, e, t);
1639
1639
  }
1640
1640
  Zt.preMessage = Ys;
1641
1641
  Zt.resetWarned = Ks;
@@ -1676,10 +1676,10 @@ function Mr(e, t, r) {
1676
1676
  return Mr(n, "".concat(t, "-").concat(e.tag, "-").concat(a));
1677
1677
  }));
1678
1678
  }
1679
- function io(e) {
1679
+ function so(e) {
1680
1680
  return Nr(e)[0];
1681
1681
  }
1682
- function so(e) {
1682
+ function co(e) {
1683
1683
  return e ? Array.isArray(e) ? e : [e] : [];
1684
1684
  }
1685
1685
  var Js = `
@@ -1737,7 +1737,7 @@ var Js = `
1737
1737
  }
1738
1738
  }
1739
1739
  `, ec = function(t) {
1740
- var r = Jr(Ka), n = r.csp, a = r.prefixCls, o = Js;
1740
+ var r = Jr(qa), n = r.csp, a = r.prefixCls, o = Js;
1741
1741
  a && (o = o.replace(/anticon/g, a)), _e(function() {
1742
1742
  var i = t.current, c = Qs(i);
1743
1743
  Ws(o, "@ant-design-icons", {
@@ -1753,16 +1753,16 @@ var Js = `
1753
1753
  };
1754
1754
  function rc(e) {
1755
1755
  var t = e.primaryColor, r = e.secondaryColor;
1756
- St.primaryColor = t, St.secondaryColor = r || io(t), St.calculated = !!r;
1756
+ St.primaryColor = t, St.secondaryColor = r || so(t), St.calculated = !!r;
1757
1757
  }
1758
1758
  function nc() {
1759
1759
  return He({}, St);
1760
1760
  }
1761
1761
  var Jt = function(t) {
1762
- var r = t.icon, n = t.className, a = t.onClick, o = t.style, i = t.primaryColor, c = t.secondaryColor, u = Xa(t, tc), f = we.useRef(), d = St;
1762
+ var r = t.icon, n = t.className, a = t.onClick, o = t.style, i = t.primaryColor, c = t.secondaryColor, u = Za(t, tc), f = we.useRef(), d = St;
1763
1763
  if (i && (d = {
1764
1764
  primaryColor: i,
1765
- secondaryColor: c || io(i)
1765
+ secondaryColor: c || so(i)
1766
1766
  }), ec(f), Zs(Jn(r), "icon should be icon definiton, but got ".concat(r)), !Jn(r))
1767
1767
  return null;
1768
1768
  var l = r;
@@ -1785,8 +1785,8 @@ Jt.displayName = "IconReact";
1785
1785
  Jt.getTwoToneColors = nc;
1786
1786
  Jt.setTwoToneColors = rc;
1787
1787
  const an = Jt;
1788
- function co(e) {
1789
- var t = so(e), r = qa(t, 2), n = r[0], a = r[1];
1788
+ function uo(e) {
1789
+ var t = co(e), r = Xa(t, 2), n = r[0], a = r[1];
1790
1790
  return an.setTwoToneColors({
1791
1791
  primaryColor: n,
1792
1792
  secondaryColor: a
@@ -1797,14 +1797,14 @@ function ac() {
1797
1797
  return e.calculated ? [e.primaryColor, e.secondaryColor] : e.primaryColor;
1798
1798
  }
1799
1799
  var oc = ["className", "icon", "spin", "rotate", "tabIndex", "onClick", "twoToneColor"];
1800
- co(Bs.primary);
1800
+ uo(Bs.primary);
1801
1801
  var er = /* @__PURE__ */ we.forwardRef(function(e, t) {
1802
- var r, n = e.className, a = e.icon, o = e.spin, i = e.rotate, c = e.tabIndex, u = e.onClick, f = e.twoToneColor, d = Xa(e, oc), l = we.useContext(Ka), A = l.prefixCls, g = A === void 0 ? "anticon" : A, v = l.rootClassName, p = ys(v, g, (r = {}, Fr(r, "".concat(g, "-").concat(a.name), !!a.name), Fr(r, "".concat(g, "-spin"), !!o || a.name === "loading"), r), n), y = c;
1802
+ var r, n = e.className, a = e.icon, o = e.spin, i = e.rotate, c = e.tabIndex, u = e.onClick, f = e.twoToneColor, d = Za(e, oc), l = we.useContext(qa), A = l.prefixCls, g = A === void 0 ? "anticon" : A, v = l.rootClassName, p = ys(v, g, (r = {}, Fr(r, "".concat(g, "-").concat(a.name), !!a.name), Fr(r, "".concat(g, "-spin"), !!o || a.name === "loading"), r), n), y = c;
1803
1803
  y === void 0 && u && (y = -1);
1804
1804
  var h = i ? {
1805
1805
  msTransform: "rotate(".concat(i, "deg)"),
1806
1806
  transform: "rotate(".concat(i, "deg)")
1807
- } : void 0, m = so(f), C = qa(m, 2), w = C[0], _ = C[1];
1807
+ } : void 0, m = co(f), C = Xa(m, 2), w = C[0], _ = C[1];
1808
1808
  return /* @__PURE__ */ we.createElement("span", lt({
1809
1809
  role: "img",
1810
1810
  "aria-label": a.name
@@ -1822,45 +1822,45 @@ var er = /* @__PURE__ */ we.forwardRef(function(e, t) {
1822
1822
  });
1823
1823
  er.displayName = "AntdIcon";
1824
1824
  er.getTwoToneColor = ac;
1825
- er.setTwoToneColor = co;
1825
+ er.setTwoToneColor = uo;
1826
1826
  const on = er;
1827
1827
  var ic = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M868 732h-70.3c-4.8 0-9.3 2.1-12.3 5.8-7 8.5-14.5 16.7-22.4 24.5a353.84 353.84 0 01-112.7 75.9A352.8 352.8 0 01512.4 866c-47.9 0-94.3-9.4-137.9-27.8a353.84 353.84 0 01-112.7-75.9 353.28 353.28 0 01-76-112.5C167.3 606.2 158 559.9 158 512s9.4-94.2 27.8-137.8c17.8-42.1 43.4-80 76-112.5s70.5-58.1 112.7-75.9c43.6-18.4 90-27.8 137.9-27.8 47.9 0 94.3 9.3 137.9 27.8 42.2 17.8 80.1 43.4 112.7 75.9 7.9 7.9 15.3 16.1 22.4 24.5 3 3.7 7.6 5.8 12.3 5.8H868c6.3 0 10.2-7 6.7-12.3C798 160.5 663.8 81.6 511.3 82 271.7 82.6 79.6 277.1 82 516.4 84.4 751.9 276.2 942 512.4 942c152.1 0 285.7-78.8 362.3-197.7 3.4-5.3-.4-12.3-6.7-12.3zm88.9-226.3L815 393.7c-5.3-4.2-13-.4-13 6.3v76H488c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h314v76c0 6.7 7.8 10.5 13 6.3l141.9-112a8 8 0 000-12.6z" } }] }, name: "logout", theme: "outlined" };
1828
1828
  const sc = ic;
1829
- var uo = function(t, r) {
1829
+ var lo = function(t, r) {
1830
1830
  return /* @__PURE__ */ we.createElement(on, lt({}, t, {
1831
1831
  ref: r,
1832
1832
  icon: sc
1833
1833
  }));
1834
1834
  };
1835
- process.env.NODE_ENV !== "production" && (uo.displayName = "LogoutOutlined");
1836
- const cc = /* @__PURE__ */ we.forwardRef(uo);
1835
+ process.env.NODE_ENV !== "production" && (lo.displayName = "LogoutOutlined");
1836
+ const cc = /* @__PURE__ */ we.forwardRef(lo);
1837
1837
  var uc = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" } }, { tag: "path", attrs: { d: "M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z" } }] }, name: "plus", theme: "outlined" };
1838
1838
  const lc = uc;
1839
- var lo = function(t, r) {
1839
+ var fo = function(t, r) {
1840
1840
  return /* @__PURE__ */ we.createElement(on, lt({}, t, {
1841
1841
  ref: r,
1842
1842
  icon: lc
1843
1843
  }));
1844
1844
  };
1845
- process.env.NODE_ENV !== "production" && (lo.displayName = "PlusOutlined");
1846
- const fc = /* @__PURE__ */ we.forwardRef(lo);
1845
+ process.env.NODE_ENV !== "production" && (fo.displayName = "PlusOutlined");
1846
+ const fc = /* @__PURE__ */ we.forwardRef(fo);
1847
1847
  var dc = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z" } }] }, name: "user", theme: "outlined" };
1848
1848
  const Ac = dc;
1849
- var fo = function(t, r) {
1849
+ var Ao = function(t, r) {
1850
1850
  return /* @__PURE__ */ we.createElement(on, lt({}, t, {
1851
1851
  ref: r,
1852
1852
  icon: Ac
1853
1853
  }));
1854
1854
  };
1855
- process.env.NODE_ENV !== "production" && (fo.displayName = "UserOutlined");
1856
- const gc = /* @__PURE__ */ we.forwardRef(fo);
1855
+ process.env.NODE_ENV !== "production" && (Ao.displayName = "UserOutlined");
1856
+ const gc = /* @__PURE__ */ we.forwardRef(Ao);
1857
1857
  var pc = typeof global == "object" && global && global.Object === Object && global;
1858
- const Ao = pc;
1859
- var hc = typeof self == "object" && self && self.Object === Object && self, mc = Ao || hc || Function("return this")();
1858
+ const go = pc;
1859
+ var hc = typeof self == "object" && self && self.Object === Object && self, mc = go || hc || Function("return this")();
1860
1860
  const Le = mc;
1861
1861
  var vc = Le.Symbol;
1862
1862
  const Te = vc;
1863
- var go = Object.prototype, yc = go.hasOwnProperty, bc = go.toString, yt = Te ? Te.toStringTag : void 0;
1863
+ var po = Object.prototype, yc = po.hasOwnProperty, bc = po.toString, yt = Te ? Te.toStringTag : void 0;
1864
1864
  function Ec(e) {
1865
1865
  var t = yc.call(e, yt), r = e[yt];
1866
1866
  try {
@@ -1886,7 +1886,7 @@ var _c = "[object Symbol]";
1886
1886
  function sn(e) {
1887
1887
  return typeof e == "symbol" || ze(e) && Ke(e) == _c;
1888
1888
  }
1889
- function po(e, t) {
1889
+ function ho(e, t) {
1890
1890
  for (var r = -1, n = e == null ? 0 : e.length, a = Array(n); ++r < n; )
1891
1891
  a[r] = t(e[r], r, e);
1892
1892
  return a;
@@ -1894,11 +1894,11 @@ function po(e, t) {
1894
1894
  var Tc = Array.isArray;
1895
1895
  const Ne = Tc;
1896
1896
  var xc = 1 / 0, ra = Te ? Te.prototype : void 0, na = ra ? ra.toString : void 0;
1897
- function ho(e) {
1897
+ function mo(e) {
1898
1898
  if (typeof e == "string")
1899
1899
  return e;
1900
1900
  if (Ne(e))
1901
- return po(e, ho) + "";
1901
+ return ho(e, mo) + "";
1902
1902
  if (sn(e))
1903
1903
  return na ? na.call(e) : "";
1904
1904
  var t = e + "";
@@ -1908,11 +1908,11 @@ function ft(e) {
1908
1908
  var t = typeof e;
1909
1909
  return e != null && (t == "object" || t == "function");
1910
1910
  }
1911
- function mo(e) {
1911
+ function vo(e) {
1912
1912
  return e;
1913
1913
  }
1914
1914
  var Ic = "[object AsyncFunction]", Pc = "[object Function]", Dc = "[object GeneratorFunction]", jc = "[object Proxy]";
1915
- function vo(e) {
1915
+ function yo(e) {
1916
1916
  if (!ft(e))
1917
1917
  return !1;
1918
1918
  var t = Ke(e);
@@ -1947,7 +1947,7 @@ var Mc = /[\\^$.*+?()[\]{}|]/g, Uc = /^\[object .+?Constructor\]$/, Gc = Functio
1947
1947
  function Qc(e) {
1948
1948
  if (!ft(e) || Nc(e))
1949
1949
  return !1;
1950
- var t = vo(e) ? Hc : Uc;
1950
+ var t = yo(e) ? Hc : Uc;
1951
1951
  return t.test(rt(e));
1952
1952
  }
1953
1953
  function Yc(e, t) {
@@ -1959,7 +1959,7 @@ function nt(e, t) {
1959
1959
  }
1960
1960
  var zc = nt(Le, "WeakMap");
1961
1961
  const Ur = zc;
1962
- function yo(e, t, r) {
1962
+ function bo(e, t, r) {
1963
1963
  switch (r.length) {
1964
1964
  case 0:
1965
1965
  return e.call(t);
@@ -2005,16 +2005,16 @@ var eu = $t ? function(e, t) {
2005
2005
  value: Zc(t),
2006
2006
  writable: !0
2007
2007
  });
2008
- } : mo;
2008
+ } : vo;
2009
2009
  const tu = eu;
2010
2010
  var ru = Xc(tu);
2011
- const bo = ru;
2011
+ const Eo = ru;
2012
2012
  var nu = 9007199254740991, au = /^(?:0|[1-9]\d*)$/;
2013
2013
  function tr(e, t) {
2014
2014
  var r = typeof e;
2015
2015
  return t = t ?? nu, !!t && (r == "number" || r != "symbol" && au.test(e)) && e > -1 && e % 1 == 0 && e < t;
2016
2016
  }
2017
- function Eo(e, t, r) {
2017
+ function So(e, t, r) {
2018
2018
  t == "__proto__" && $t ? $t(e, t, {
2019
2019
  configurable: !0,
2020
2020
  enumerable: !0,
@@ -2026,50 +2026,50 @@ function Pt(e, t) {
2026
2026
  return e === t || e !== e && t !== t;
2027
2027
  }
2028
2028
  var ou = Object.prototype, iu = ou.hasOwnProperty;
2029
- function So(e, t, r) {
2029
+ function wo(e, t, r) {
2030
2030
  var n = e[t];
2031
- (!(iu.call(e, t) && Pt(n, r)) || r === void 0 && !(t in e)) && Eo(e, t, r);
2031
+ (!(iu.call(e, t) && Pt(n, r)) || r === void 0 && !(t in e)) && So(e, t, r);
2032
2032
  }
2033
2033
  function su(e, t, r, n) {
2034
2034
  var a = !r;
2035
2035
  r || (r = {});
2036
2036
  for (var o = -1, i = t.length; ++o < i; ) {
2037
2037
  var c = t[o], u = n ? n(r[c], e[c], c, r, e) : void 0;
2038
- u === void 0 && (u = e[c]), a ? Eo(r, c, u) : So(r, c, u);
2038
+ u === void 0 && (u = e[c]), a ? So(r, c, u) : wo(r, c, u);
2039
2039
  }
2040
2040
  return r;
2041
2041
  }
2042
2042
  var oa = Math.max;
2043
- function wo(e, t, r) {
2043
+ function Co(e, t, r) {
2044
2044
  return t = oa(t === void 0 ? e.length - 1 : t, 0), function() {
2045
2045
  for (var n = arguments, a = -1, o = oa(n.length - t, 0), i = Array(o); ++a < o; )
2046
2046
  i[a] = n[t + a];
2047
2047
  a = -1;
2048
2048
  for (var c = Array(t + 1); ++a < t; )
2049
2049
  c[a] = n[a];
2050
- return c[t] = r(i), yo(e, this, c);
2050
+ return c[t] = r(i), bo(e, this, c);
2051
2051
  };
2052
2052
  }
2053
- function Co(e, t) {
2054
- return bo(wo(e, t, mo), e + "");
2053
+ function Oo(e, t) {
2054
+ return Eo(Co(e, t, vo), e + "");
2055
2055
  }
2056
2056
  var cu = 9007199254740991;
2057
2057
  function cn(e) {
2058
2058
  return typeof e == "number" && e > -1 && e % 1 == 0 && e <= cu;
2059
2059
  }
2060
2060
  function un(e) {
2061
- return e != null && cn(e.length) && !vo(e);
2061
+ return e != null && cn(e.length) && !yo(e);
2062
2062
  }
2063
- function Oo(e, t, r) {
2063
+ function Ro(e, t, r) {
2064
2064
  if (!ft(r))
2065
2065
  return !1;
2066
2066
  var n = typeof t;
2067
2067
  return (n == "number" ? un(r) && tr(t, r.length) : n == "string" && t in r) ? Pt(r[t], e) : !1;
2068
2068
  }
2069
2069
  function uu(e) {
2070
- return Co(function(t, r) {
2070
+ return Oo(function(t, r) {
2071
2071
  var n = -1, a = r.length, o = a > 1 ? r[a - 1] : void 0, i = a > 2 ? r[2] : void 0;
2072
- for (o = e.length > 3 && typeof o == "function" ? (a--, o) : void 0, i && Oo(r[0], r[1], i) && (o = a < 3 ? void 0 : o, a = 1), t = Object(t); ++n < a; ) {
2072
+ for (o = e.length > 3 && typeof o == "function" ? (a--, o) : void 0, i && Ro(r[0], r[1], i) && (o = a < 3 ? void 0 : o, a = 1), t = Object(t); ++n < a; ) {
2073
2073
  var c = r[n];
2074
2074
  c && e(t, c, n, o);
2075
2075
  }
@@ -2077,7 +2077,7 @@ function uu(e) {
2077
2077
  });
2078
2078
  }
2079
2079
  var lu = Object.prototype;
2080
- function Ro(e) {
2080
+ function _o(e) {
2081
2081
  var t = e && e.constructor, r = typeof t == "function" && t.prototype || lu;
2082
2082
  return e === r;
2083
2083
  }
@@ -2090,7 +2090,7 @@ var du = "[object Arguments]";
2090
2090
  function ia(e) {
2091
2091
  return ze(e) && Ke(e) == du;
2092
2092
  }
2093
- var _o = Object.prototype, Au = _o.hasOwnProperty, gu = _o.propertyIsEnumerable, pu = ia(/* @__PURE__ */ function() {
2093
+ var To = Object.prototype, Au = To.hasOwnProperty, gu = To.propertyIsEnumerable, pu = ia(/* @__PURE__ */ function() {
2094
2094
  return arguments;
2095
2095
  }()) ? ia : function(e) {
2096
2096
  return ze(e) && Au.call(e, "callee") && !gu.call(e, "callee");
@@ -2099,7 +2099,7 @@ const ln = pu;
2099
2099
  function hu() {
2100
2100
  return !1;
2101
2101
  }
2102
- var To = typeof exports == "object" && exports && !exports.nodeType && exports, sa = To && typeof module == "object" && module && !module.nodeType && module, mu = sa && sa.exports === To, ca = mu ? Le.Buffer : void 0, vu = ca ? ca.isBuffer : void 0, yu = vu || hu;
2102
+ var xo = typeof exports == "object" && exports && !exports.nodeType && exports, sa = xo && typeof module == "object" && module && !module.nodeType && module, mu = sa && sa.exports === xo, ca = mu ? Le.Buffer : void 0, vu = ca ? ca.isBuffer : void 0, yu = vu || hu;
2103
2103
  const Gr = yu;
2104
2104
  var bu = "[object Arguments]", Eu = "[object Array]", Su = "[object Boolean]", wu = "[object Date]", Cu = "[object Error]", Ou = "[object Function]", Ru = "[object Map]", _u = "[object Number]", Tu = "[object Object]", xu = "[object RegExp]", Iu = "[object Set]", Pu = "[object String]", Du = "[object WeakMap]", ju = "[object ArrayBuffer]", Fu = "[object DataView]", Nu = "[object Float32Array]", Bu = "[object Float64Array]", Lu = "[object Int8Array]", Mu = "[object Int16Array]", Uu = "[object Int32Array]", Gu = "[object Uint8Array]", Vu = "[object Uint8ClampedArray]", ku = "[object Uint16Array]", Wu = "[object Uint32Array]", z = {};
2105
2105
  z[Nu] = z[Bu] = z[Lu] = z[Mu] = z[Uu] = z[Gu] = z[Vu] = z[ku] = z[Wu] = !0;
@@ -2112,7 +2112,7 @@ function Qu(e) {
2112
2112
  return e(t);
2113
2113
  };
2114
2114
  }
2115
- var xo = typeof exports == "object" && exports && !exports.nodeType && exports, wt = xo && typeof module == "object" && module && !module.nodeType && module, Yu = wt && wt.exports === xo, wr = Yu && Ao.process, zu = function() {
2115
+ var Io = typeof exports == "object" && exports && !exports.nodeType && exports, wt = Io && typeof module == "object" && module && !module.nodeType && module, Yu = wt && wt.exports === Io, wr = Yu && go.process, zu = function() {
2116
2116
  try {
2117
2117
  var e = wt && wt.require && wt.require("util").types;
2118
2118
  return e || wr && wr.binding && wr.binding("util");
@@ -2121,10 +2121,10 @@ var xo = typeof exports == "object" && exports && !exports.nodeType && exports,
2121
2121
  }();
2122
2122
  const ua = zu;
2123
2123
  var la = ua && ua.isTypedArray, $u = la ? Qu(la) : Hu;
2124
- const Io = $u;
2124
+ const Po = $u;
2125
2125
  var Ku = Object.prototype, qu = Ku.hasOwnProperty;
2126
- function Po(e, t) {
2127
- var r = Ne(e), n = !r && ln(e), a = !r && !n && Gr(e), o = !r && !n && !a && Io(e), i = r || n || a || o, c = i ? fu(e.length, String) : [], u = c.length;
2126
+ function Do(e, t) {
2127
+ var r = Ne(e), n = !r && ln(e), a = !r && !n && Gr(e), o = !r && !n && !a && Po(e), i = r || n || a || o, c = i ? fu(e.length, String) : [], u = c.length;
2128
2128
  for (var f in e)
2129
2129
  (t || qu.call(e, f)) && !(i && // Safari 9 has enumerable `arguments.length` in strict mode.
2130
2130
  (f == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
@@ -2133,24 +2133,24 @@ function Po(e, t) {
2133
2133
  tr(f, u))) && c.push(f);
2134
2134
  return c;
2135
2135
  }
2136
- function Do(e, t) {
2136
+ function jo(e, t) {
2137
2137
  return function(r) {
2138
2138
  return e(t(r));
2139
2139
  };
2140
2140
  }
2141
- var Xu = Do(Object.keys, Object);
2141
+ var Xu = jo(Object.keys, Object);
2142
2142
  const Zu = Xu;
2143
2143
  var Ju = Object.prototype, el = Ju.hasOwnProperty;
2144
2144
  function tl(e) {
2145
- if (!Ro(e))
2145
+ if (!_o(e))
2146
2146
  return Zu(e);
2147
2147
  var t = [];
2148
2148
  for (var r in Object(e))
2149
2149
  el.call(e, r) && r != "constructor" && t.push(r);
2150
2150
  return t;
2151
2151
  }
2152
- function jo(e) {
2153
- return un(e) ? Po(e) : tl(e);
2152
+ function Fo(e) {
2153
+ return un(e) ? Do(e) : tl(e);
2154
2154
  }
2155
2155
  function rl(e) {
2156
2156
  var t = [];
@@ -2163,13 +2163,13 @@ var nl = Object.prototype, al = nl.hasOwnProperty;
2163
2163
  function ol(e) {
2164
2164
  if (!ft(e))
2165
2165
  return rl(e);
2166
- var t = Ro(e), r = [];
2166
+ var t = _o(e), r = [];
2167
2167
  for (var n in e)
2168
2168
  n == "constructor" && (t || !al.call(e, n)) || r.push(n);
2169
2169
  return r;
2170
2170
  }
2171
2171
  function il(e) {
2172
- return un(e) ? Po(e, !0) : ol(e);
2172
+ return un(e) ? Do(e, !0) : ol(e);
2173
2173
  }
2174
2174
  var sl = uu(function(e, t, r, n) {
2175
2175
  su(t, il(t), e, n);
@@ -2334,7 +2334,7 @@ var Gl = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=
2334
2334
  });
2335
2335
  const Wl = kl;
2336
2336
  function dn(e) {
2337
- return e == null ? "" : ho(e);
2337
+ return e == null ? "" : mo(e);
2338
2338
  }
2339
2339
  function ar(e, t) {
2340
2340
  return Ne(e) ? e : ll(e, t) ? [e] : Wl(dn(e));
@@ -2346,17 +2346,17 @@ function An(e) {
2346
2346
  var t = e + "";
2347
2347
  return t == "0" && 1 / e == -Hl ? "-0" : t;
2348
2348
  }
2349
- function Fo(e, t) {
2349
+ function No(e, t) {
2350
2350
  t = ar(t, e);
2351
2351
  for (var r = 0, n = t.length; e != null && r < n; )
2352
2352
  e = e[An(t[r++])];
2353
2353
  return r && r == n ? e : void 0;
2354
2354
  }
2355
2355
  function Ql(e, t, r) {
2356
- var n = e == null ? void 0 : Fo(e, t);
2356
+ var n = e == null ? void 0 : No(e, t);
2357
2357
  return n === void 0 ? r : n;
2358
2358
  }
2359
- function No(e, t) {
2359
+ function Bo(e, t) {
2360
2360
  for (var r = -1, n = t.length, a = e.length; ++r < n; )
2361
2361
  e[a + r] = t[r];
2362
2362
  return e;
@@ -2365,24 +2365,24 @@ var da = Te ? Te.isConcatSpreadable : void 0;
2365
2365
  function Yl(e) {
2366
2366
  return Ne(e) || ln(e) || !!(da && e && e[da]);
2367
2367
  }
2368
- function Bo(e, t, r, n, a) {
2368
+ function Lo(e, t, r, n, a) {
2369
2369
  var o = -1, i = e.length;
2370
2370
  for (r || (r = Yl), a || (a = []); ++o < i; ) {
2371
2371
  var c = e[o];
2372
- t > 0 && r(c) ? t > 1 ? Bo(c, t - 1, r, n, a) : No(a, c) : n || (a[a.length] = c);
2372
+ t > 0 && r(c) ? t > 1 ? Lo(c, t - 1, r, n, a) : Bo(a, c) : n || (a[a.length] = c);
2373
2373
  }
2374
2374
  return a;
2375
2375
  }
2376
2376
  function zl(e) {
2377
2377
  var t = e == null ? 0 : e.length;
2378
- return t ? Bo(e, 1) : [];
2378
+ return t ? Lo(e, 1) : [];
2379
2379
  }
2380
2380
  function $l(e) {
2381
- return bo(wo(e, void 0, zl), e + "");
2381
+ return Eo(Co(e, void 0, zl), e + "");
2382
2382
  }
2383
- var Kl = Do(Object.getPrototypeOf, Object);
2383
+ var Kl = jo(Object.getPrototypeOf, Object);
2384
2384
  const ql = Kl;
2385
- var Xl = "[object Object]", Zl = Function.prototype, Jl = Object.prototype, Lo = Zl.toString, ef = Jl.hasOwnProperty, tf = Lo.call(Object);
2385
+ var Xl = "[object Object]", Zl = Function.prototype, Jl = Object.prototype, Mo = Zl.toString, ef = Jl.hasOwnProperty, tf = Mo.call(Object);
2386
2386
  function rf(e) {
2387
2387
  if (!ze(e) || Ke(e) != Xl)
2388
2388
  return !1;
@@ -2390,20 +2390,20 @@ function rf(e) {
2390
2390
  if (t === null)
2391
2391
  return !0;
2392
2392
  var r = ef.call(t, "constructor") && t.constructor;
2393
- return typeof r == "function" && r instanceof r && Lo.call(r) == tf;
2393
+ return typeof r == "function" && r instanceof r && Mo.call(r) == tf;
2394
2394
  }
2395
2395
  var nf = "[object DOMException]", af = "[object Error]";
2396
- function Mo(e) {
2396
+ function Uo(e) {
2397
2397
  if (!ze(e))
2398
2398
  return !1;
2399
2399
  var t = Ke(e);
2400
2400
  return t == af || t == nf || typeof e.message == "string" && typeof e.name == "string" && !rf(e);
2401
2401
  }
2402
- var of = Co(function(e, t) {
2402
+ var of = Oo(function(e, t) {
2403
2403
  try {
2404
- return yo(e, void 0, t);
2404
+ return bo(e, void 0, t);
2405
2405
  } catch (r) {
2406
- return Mo(r) ? r : new Error(r);
2406
+ return Uo(r) ? r : new Error(r);
2407
2407
  }
2408
2408
  });
2409
2409
  const sf = of;
@@ -2463,10 +2463,10 @@ var mf = Object.prototype, vf = mf.propertyIsEnumerable, Aa = Object.getOwnPrope
2463
2463
  const bf = yf;
2464
2464
  function Ef(e, t, r) {
2465
2465
  var n = t(e);
2466
- return Ne(e) ? n : No(n, r(e));
2466
+ return Ne(e) ? n : Bo(n, r(e));
2467
2467
  }
2468
2468
  function ga(e) {
2469
- return Ef(e, jo, bf);
2469
+ return Ef(e, Fo, bf);
2470
2470
  }
2471
2471
  var Sf = nt(Le, "DataView");
2472
2472
  const Vr = Sf;
@@ -2519,7 +2519,7 @@ function Bf(e, t) {
2519
2519
  return e.has(t);
2520
2520
  }
2521
2521
  var Lf = 1, Mf = 2;
2522
- function Uo(e, t, r, n, a, o) {
2522
+ function Go(e, t, r, n, a, o) {
2523
2523
  var i = r & Lf, c = e.length, u = t.length;
2524
2524
  if (c != u && !(i && u > c))
2525
2525
  return !1;
@@ -2592,7 +2592,7 @@ function ed(e, t, r, n, a, o, i) {
2592
2592
  if (f)
2593
2593
  return f == t;
2594
2594
  n |= kf, i.set(e, t);
2595
- var d = Uo(c(e), c(t), n, a, o, i);
2595
+ var d = Go(c(e), c(t), n, a, o, i);
2596
2596
  return i.delete(e), d;
2597
2597
  case Xf:
2598
2598
  if (Cr)
@@ -2643,7 +2643,7 @@ function sd(e, t, r, n, a, o) {
2643
2643
  i = !0, d = !1;
2644
2644
  }
2645
2645
  if (A && !d)
2646
- return o || (o = new Ye()), i || Io(e) ? Uo(e, t, r, n, a, o) : ed(e, t, u, r, n, a, o);
2646
+ return o || (o = new Ye()), i || Po(e) ? Go(e, t, r, n, a, o) : ed(e, t, u, r, n, a, o);
2647
2647
  if (!(r & od)) {
2648
2648
  var g = d && Oa.call(e, "__wrapped__"), v = l && Oa.call(t, "__wrapped__");
2649
2649
  if (g || v) {
@@ -2653,13 +2653,13 @@ function sd(e, t, r, n, a, o) {
2653
2653
  }
2654
2654
  return A ? (o || (o = new Ye()), ad(e, t, r, n, a, o)) : !1;
2655
2655
  }
2656
- function Go(e, t, r, n, a) {
2657
- return e === t ? !0 : e == null || t == null || !ze(e) && !ze(t) ? e !== e && t !== t : sd(e, t, r, n, Go, a);
2656
+ function Vo(e, t, r, n, a) {
2657
+ return e === t ? !0 : e == null || t == null || !ze(e) && !ze(t) ? e !== e && t !== t : sd(e, t, r, n, Vo, a);
2658
2658
  }
2659
2659
  function cd(e, t) {
2660
2660
  return e != null && t in Object(e);
2661
2661
  }
2662
- function Vo(e, t, r) {
2662
+ function ko(e, t, r) {
2663
2663
  t = ar(t, e);
2664
2664
  for (var n = -1, a = t.length, o = !1; ++n < a; ) {
2665
2665
  var i = An(t[n]);
@@ -2670,7 +2670,7 @@ function Vo(e, t, r) {
2670
2670
  return o || ++n != a ? o : (a = e == null ? 0 : e.length, !!a && cn(a) && tr(i, a) && (Ne(e) || ln(e)));
2671
2671
  }
2672
2672
  function ud(e, t) {
2673
- return e != null && Vo(e, t, cd);
2673
+ return e != null && ko(e, t, cd);
2674
2674
  }
2675
2675
  var ld = {
2676
2676
  "&": "&amp;",
@@ -2680,24 +2680,24 @@ var ld = {
2680
2680
  "'": "&#39;"
2681
2681
  }, fd = cf(ld);
2682
2682
  const dd = fd;
2683
- var ko = /[&<>"']/g, Ad = RegExp(ko.source);
2683
+ var Wo = /[&<>"']/g, Ad = RegExp(Wo.source);
2684
2684
  function gd(e) {
2685
- return e = dn(e), e && Ad.test(e) ? e.replace(ko, dd) : e;
2685
+ return e = dn(e), e && Ad.test(e) ? e.replace(Wo, dd) : e;
2686
2686
  }
2687
2687
  var pd = Object.prototype, hd = pd.hasOwnProperty;
2688
2688
  function md(e, t) {
2689
2689
  return e != null && hd.call(e, t);
2690
2690
  }
2691
2691
  function vd(e, t) {
2692
- return e != null && Vo(e, t, md);
2692
+ return e != null && ko(e, t, md);
2693
2693
  }
2694
2694
  function yd(e, t) {
2695
- return po(t, function(r) {
2695
+ return ho(t, function(r) {
2696
2696
  return e[r];
2697
2697
  });
2698
2698
  }
2699
2699
  function bd(e, t) {
2700
- return Go(e, t);
2700
+ return Vo(e, t);
2701
2701
  }
2702
2702
  function Ed(e, t, r, n) {
2703
2703
  if (!ft(e))
@@ -2711,13 +2711,13 @@ function Ed(e, t, r, n) {
2711
2711
  var d = c[u];
2712
2712
  f = n ? n(d, u, c) : void 0, f === void 0 && (f = ft(d) ? d : tr(t[a + 1]) ? [] : {});
2713
2713
  }
2714
- So(c, u, f), c = c[u];
2714
+ wo(c, u, f), c = c[u];
2715
2715
  }
2716
2716
  return e;
2717
2717
  }
2718
2718
  function Sd(e, t, r) {
2719
2719
  for (var n = -1, a = t.length, o = {}; ++n < a; ) {
2720
- var i = t[n], c = Fo(e, i);
2720
+ var i = t[n], c = No(e, i);
2721
2721
  r(c, i) && Ed(o, ar(i, e), c);
2722
2722
  }
2723
2723
  return o;
@@ -2731,9 +2731,9 @@ var Cd = $l(function(e, t) {
2731
2731
  return e == null ? {} : wd(e, t);
2732
2732
  });
2733
2733
  const Od = Cd;
2734
- var Wo = Object.prototype, Rd = Wo.hasOwnProperty;
2734
+ var Ho = Object.prototype, Rd = Ho.hasOwnProperty;
2735
2735
  function Ra(e, t, r, n) {
2736
- return e === void 0 || Pt(e, Wo[r]) && !Rd.call(n, r) ? t : e;
2736
+ return e === void 0 || Pt(e, Ho[r]) && !Rd.call(n, r) ? t : e;
2737
2737
  }
2738
2738
  var _d = {
2739
2739
  "\\": "\\",
@@ -2747,7 +2747,7 @@ function Td(e) {
2747
2747
  return "\\" + _d[e];
2748
2748
  }
2749
2749
  var xd = /<%=([\s\S]+?)%>/g;
2750
- const Ho = xd;
2750
+ const Qo = xd;
2751
2751
  var Id = /<%-([\s\S]+?)%>/g;
2752
2752
  const Pd = Id;
2753
2753
  var Dd = /<%([\s\S]+?)%>/g;
@@ -2773,7 +2773,7 @@ var Fd = {
2773
2773
  * @memberOf _.templateSettings
2774
2774
  * @type {RegExp}
2775
2775
  */
2776
- interpolate: Ho,
2776
+ interpolate: Qo,
2777
2777
  /**
2778
2778
  * Used to reference the data object in the template text.
2779
2779
  *
@@ -2801,9 +2801,9 @@ const _a = Fd;
2801
2801
  var Nd = "Invalid `variable` option passed into `_.template`", Bd = /\b__p \+= '';/g, Ld = /\b(__p \+=) '' \+/g, Md = /(__e\(.*?\)|\b__t\)) \+\n'';/g, Ud = /[()=,{}\[\]\/\s]/, Gd = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, Gt = /($^)/, Vd = /['\n\r\u2028\u2029\\]/g, kd = Object.prototype, Ta = kd.hasOwnProperty;
2802
2802
  function Wd(e, t, r) {
2803
2803
  var n = _a.imports._.templateSettings || _a;
2804
- r && Oo(e, t, r) && (t = void 0), e = dn(e), t = fa({}, t, n, Ra);
2805
- var a = fa({}, t.imports, n.imports, Ra), o = jo(a), i = yd(a, o), c, u, f = 0, d = t.interpolate || Gt, l = "__p += '", A = RegExp(
2806
- (t.escape || Gt).source + "|" + d.source + "|" + (d === Ho ? Gd : Gt).source + "|" + (t.evaluate || Gt).source + "|$",
2804
+ r && Ro(e, t, r) && (t = void 0), e = dn(e), t = fa({}, t, n, Ra);
2805
+ var a = fa({}, t.imports, n.imports, Ra), o = Fo(a), i = yd(a, o), c, u, f = 0, d = t.interpolate || Gt, l = "__p += '", A = RegExp(
2806
+ (t.escape || Gt).source + "|" + d.source + "|" + (d === Qo ? Gd : Gt).source + "|" + (t.evaluate || Gt).source + "|$",
2807
2807
  "g"
2808
2808
  ), g = Ta.call(t, "sourceURL") ? "//# sourceURL=" + (t.sourceURL + "").replace(/\s/g, " ") + `
2809
2809
  ` : "";
@@ -2835,7 +2835,7 @@ function print() { __p += __j.call(arguments, '') }
2835
2835
  var p = sf(function() {
2836
2836
  return Function(o, g + "return " + l).apply(void 0, i);
2837
2837
  });
2838
- if (p.source = l, Mo(p))
2838
+ if (p.source = l, Uo(p))
2839
2839
  throw p;
2840
2840
  return p;
2841
2841
  }
@@ -3035,7 +3035,7 @@ const Yd = (e) => {
3035
3035
  t == null ? void 0 : t.map((f) => /* @__PURE__ */ E.jsx("span", { children: f.children }, f.key))
3036
3036
  ] }) })
3037
3037
  ] }) });
3038
- }, Qo = zd, Qe = () => {
3038
+ }, Yo = zd, Qe = () => {
3039
3039
  }, ae = (
3040
3040
  /*#__NOINLINE__*/
3041
3041
  Qe()
@@ -3110,7 +3110,7 @@ const Xd = () => Qr, [Yr, zr] = or && window.addEventListener ? [
3110
3110
  }, rA = {
3111
3111
  initFocus: Jd,
3112
3112
  initReconnect: eA
3113
- }, xa = !ye.useId, xt = !or || "Deno" in window, nA = (e) => qd() ? window.requestAnimationFrame(e) : setTimeout(e, 1), Qt = xt ? _e : Di, _r = typeof navigator < "u" && navigator.connection, Ia = !xt && _r && ([
3113
+ }, xa = !ye.useId, xt = !or || "Deno" in window, nA = (e) => qd() ? window.requestAnimationFrame(e) : setTimeout(e, 1), Qt = xt ? _e : ji, _r = typeof navigator < "u" && navigator.connection, Ia = !xt && _r && ([
3114
3114
  "slow-2g",
3115
3115
  "2g"
3116
3116
  ].includes(_r.effectiveType) || _r.saveData), dt = (e) => {
@@ -3127,15 +3127,15 @@ const Xd = () => Qr, [Yr, zr] = or && window.addEventListener ? [
3127
3127
  ];
3128
3128
  };
3129
3129
  let aA = 0;
3130
- const $r = () => ++aA, Yo = 0, zo = 1, $o = 2, oA = 3;
3130
+ const $r = () => ++aA, zo = 0, $o = 1, Ko = 2, oA = 3;
3131
3131
  var bt = {
3132
3132
  __proto__: null,
3133
3133
  ERROR_REVALIDATE_EVENT: oA,
3134
- FOCUS_EVENT: Yo,
3135
- MUTATE_EVENT: $o,
3136
- RECONNECT_EVENT: zo
3134
+ FOCUS_EVENT: zo,
3135
+ MUTATE_EVENT: Ko,
3136
+ RECONNECT_EVENT: $o
3137
3137
  };
3138
- async function Ko(...e) {
3138
+ async function qo(...e) {
3139
3139
  const [t, r, n, a] = e, o = $e({
3140
3140
  populateCache: !0,
3141
3141
  throwOnError: !0
@@ -3160,7 +3160,7 @@ async function Ko(...e) {
3160
3160
  return;
3161
3161
  const [p, y] = Ve(t, v), [h, m, C, w] = Oe.get(t), _ = () => {
3162
3162
  const P = h[v];
3163
- return f && (delete C[v], delete w[v], P && P[0]) ? P[0]($o).then(() => p().data) : p().data;
3163
+ return f && (delete C[v], delete w[v], P && P[0]) ? P[0](Ko).then(() => p().data) : p().data;
3164
3164
  };
3165
3165
  if (e.length < 3)
3166
3166
  return _();
@@ -3223,7 +3223,7 @@ const Pa = (e, t) => {
3223
3223
  e[r][0] && e[r][0](t);
3224
3224
  }, iA = (e, t) => {
3225
3225
  if (!Oe.has(e)) {
3226
- const r = $e(rA, t), n = {}, a = Ko.bind(ae, e);
3226
+ const r = $e(rA, t), n = {}, a = qo.bind(ae, e);
3227
3227
  let o = Qe;
3228
3228
  const i = {}, c = (d, l) => {
3229
3229
  const A = i[d] || [];
@@ -3244,7 +3244,7 @@ const Pa = (e, t) => {
3244
3244
  u,
3245
3245
  c
3246
3246
  ]), !xt)) {
3247
- const d = r.initFocus(setTimeout.bind(ae, Pa.bind(ae, n, Yo))), l = r.initReconnect(setTimeout.bind(ae, Pa.bind(ae, n, zo)));
3247
+ const d = r.initFocus(setTimeout.bind(ae, Pa.bind(ae, n, zo))), l = r.initReconnect(setTimeout.bind(ae, Pa.bind(ae, n, $o)));
3248
3248
  o = () => {
3249
3249
  d && d(), l && l(), Oe.delete(e);
3250
3250
  };
@@ -3264,7 +3264,7 @@ const Pa = (e, t) => {
3264
3264
  }, sA = (e, t, r, n, a) => {
3265
3265
  const o = r.errorRetryCount, i = a.retryCount, c = ~~((Math.random() + 0.5) * (1 << (i < 8 ? i : 8))) * r.errorRetryInterval;
3266
3266
  !N(o) && i > o || setTimeout(n, c, a);
3267
- }, cA = (e, t) => Tt(e) == Tt(t), [pn, qo] = iA(/* @__PURE__ */ new Map()), uA = $e(
3267
+ }, cA = (e, t) => Tt(e) == Tt(t), [pn, Xo] = iA(/* @__PURE__ */ new Map()), uA = $e(
3268
3268
  {
3269
3269
  // events
3270
3270
  onLoadingSlow: Qe,
@@ -3286,7 +3286,7 @@ const Pa = (e, t) => {
3286
3286
  compare: cA,
3287
3287
  isPaused: () => !1,
3288
3288
  cache: pn,
3289
- mutate: qo,
3289
+ mutate: Xo,
3290
3290
  fallback: {}
3291
3291
  },
3292
3292
  // use web preset by default
@@ -3298,9 +3298,9 @@ const Pa = (e, t) => {
3298
3298
  n && o && (r.use = n.concat(o)), a && i && (r.fallback = $e(a, i));
3299
3299
  }
3300
3300
  return r;
3301
- }, fA = Zr({}), Xo = "$inf$", Zo = or && window.__SWR_DEVTOOLS_USE__, dA = Zo ? window.__SWR_DEVTOOLS_USE__ : [], AA = () => {
3302
- Zo && (window.__SWR_DEVTOOLS_REACT__ = ye);
3303
- }, Jo = (e) => Re(e[1]) ? [
3301
+ }, fA = Zr({}), Zo = "$inf$", Jo = or && window.__SWR_DEVTOOLS_USE__, dA = Jo ? window.__SWR_DEVTOOLS_USE__ : [], AA = () => {
3302
+ Jo && (window.__SWR_DEVTOOLS_REACT__ = ye);
3303
+ }, ei = (e) => Re(e[1]) ? [
3304
3304
  e[0],
3305
3305
  e[1],
3306
3306
  e[2] || {}
@@ -3308,14 +3308,14 @@ const Pa = (e, t) => {
3308
3308
  e[0],
3309
3309
  null,
3310
3310
  (e[1] === null ? e[2] : e[1]) || {}
3311
- ], ei = () => $e(uA, Jr(fA)), gA = (e) => (t, r, n) => e(t, r && ((...o) => {
3311
+ ], ti = () => $e(uA, Jr(fA)), gA = (e) => (t, r, n) => e(t, r && ((...o) => {
3312
3312
  const [i] = dt(t), [, , , c] = Oe.get(pn);
3313
- if (i.startsWith(Xo))
3313
+ if (i.startsWith(Zo))
3314
3314
  return r(...o);
3315
3315
  const u = c[i];
3316
3316
  return N(u) ? r(...o) : (delete c[i], u);
3317
3317
  }), n), pA = dA.concat(gA), hA = (e) => function(...r) {
3318
- const n = ei(), [a, o, i] = Jo(r), c = lA(n, i);
3318
+ const n = ti(), [a, o, i] = ei(r), c = lA(n, i);
3319
3319
  let u = e;
3320
3320
  const { use: f } = c, d = (f || []).concat(pA);
3321
3321
  for (let l = d.length; l--; )
@@ -3327,8 +3327,8 @@ const Pa = (e, t) => {
3327
3327
  const a = n.indexOf(r);
3328
3328
  a >= 0 && (n[a] = n[n.length - 1], n.pop());
3329
3329
  };
3330
- }, ti = (e, t) => (...r) => {
3331
- const [n, a, o] = Jo(r), i = (o.use || []).concat(t);
3330
+ }, ri = (e, t) => (...r) => {
3331
+ const [n, a, o] = ei(r), i = (o.use || []).concat(t);
3332
3332
  return e(n, a, {
3333
3333
  ...o,
3334
3334
  use: i
@@ -3452,7 +3452,7 @@ const Da = ye.use || ((e) => {
3452
3452
  ]
3453
3453
  ), Xe = Ce(
3454
3454
  // Use callback to make sure `keyRef.current` returns latest result every time
3455
- (...k) => Ko(n, _.current, ...k),
3455
+ (...k) => qo(n, _.current, ...k),
3456
3456
  // eslint-disable-next-line react-hooks/exhaustive-deps
3457
3457
  []
3458
3458
  );
@@ -3500,7 +3500,7 @@ const Da = ye.use || ((e) => {
3500
3500
  d,
3501
3501
  l,
3502
3502
  h
3503
- ]), ji(ne), o && N(ce) && h) {
3503
+ ]), Fi(ne), o && N(ce) && h) {
3504
3504
  if (!xa && xt)
3505
3505
  throw new Error("Fallback data is required when using suspense in SSR.");
3506
3506
  O.current = t, x.current = r, w.current = !1;
@@ -3530,7 +3530,7 @@ const Da = ye.use || ((e) => {
3530
3530
  return P.isLoading = !0, qe;
3531
3531
  }
3532
3532
  };
3533
- }, Dt = hA(vA), yA = (e) => (t, r, n) => (n.revalidateOnFocus = !1, n.revalidateIfStale = !1, n.revalidateOnReconnect = !1, e(t, r, n)), bA = ti(Dt, yA);
3533
+ }, Dt = hA(vA), yA = (e) => (t, r, n) => (n.revalidateOnFocus = !1, n.revalidateIfStale = !1, n.revalidateOnReconnect = !1, e(t, r, n)), bA = ri(Dt, yA);
3534
3534
  var EA = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
3535
3535
  function hn(e, t) {
3536
3536
  let r;
@@ -3825,7 +3825,7 @@ function _A(e, t) {
3825
3825
  throw new Et(`Invalid token specified: invalid json for part #${r + 1} (${o.message})`);
3826
3826
  }
3827
3827
  }
3828
- const ri = "%[a-f0-9]{2}", ja = new RegExp("(" + ri + ")|([^%]+?)", "gi"), Fa = new RegExp("(" + ri + ")+", "gi");
3828
+ const ni = "%[a-f0-9]{2}", ja = new RegExp("(" + ni + ")|([^%]+?)", "gi"), Fa = new RegExp("(" + ni + ")+", "gi");
3829
3829
  function Kr(e, t) {
3830
3830
  try {
3831
3831
  return [decodeURIComponent(e.join(""))];
@@ -3877,7 +3877,7 @@ function IA(e) {
3877
3877
  return xA(e);
3878
3878
  }
3879
3879
  }
3880
- function ni(e, t) {
3880
+ function ai(e, t) {
3881
3881
  if (!(typeof e == "string" && typeof t == "string"))
3882
3882
  throw new TypeError("Expected the arguments to be of type `string`");
3883
3883
  if (e === "" || t === "")
@@ -4018,7 +4018,7 @@ function NA(e) {
4018
4018
  };
4019
4019
  }
4020
4020
  }
4021
- function ai(e) {
4021
+ function oi(e) {
4022
4022
  if (typeof e != "string" || e.length !== 1)
4023
4023
  throw new TypeError("arrayFormatSeparator must be single character string");
4024
4024
  }
@@ -4028,10 +4028,10 @@ function ee(e, t) {
4028
4028
  function je(e, t) {
4029
4029
  return t.decode ? IA(e) : e;
4030
4030
  }
4031
- function oi(e) {
4032
- return Array.isArray(e) ? e.sort() : typeof e == "object" ? oi(Object.keys(e)).sort((t, r) => Number(t) - Number(r)).map((t) => e[t]) : e;
4033
- }
4034
4031
  function ii(e) {
4032
+ return Array.isArray(e) ? e.sort() : typeof e == "object" ? ii(Object.keys(e)).sort((t, r) => Number(t) - Number(r)).map((t) => e[t]) : e;
4033
+ }
4034
+ function si(e) {
4035
4035
  const t = e.indexOf("#");
4036
4036
  return t !== -1 && (e = e.slice(0, t)), e;
4037
4037
  }
@@ -4044,7 +4044,7 @@ function Na(e, t) {
4044
4044
  return t.parseNumbers && !Number.isNaN(Number(e)) && typeof e == "string" && e.trim() !== "" ? e = Number(e) : t.parseBooleans && e !== null && (e.toLowerCase() === "true" || e.toLowerCase() === "false") && (e = e.toLowerCase() === "true"), e;
4045
4045
  }
4046
4046
  function vn(e) {
4047
- e = ii(e);
4047
+ e = si(e);
4048
4048
  const t = e.indexOf("?");
4049
4049
  return t === -1 ? "" : e.slice(t + 1);
4050
4050
  }
@@ -4057,7 +4057,7 @@ function yn(e, t) {
4057
4057
  parseNumbers: !1,
4058
4058
  parseBooleans: !1,
4059
4059
  ...t
4060
- }, ai(t.arrayFormatSeparator);
4060
+ }, oi(t.arrayFormatSeparator);
4061
4061
  const r = NA(t), n = /* @__PURE__ */ Object.create(null);
4062
4062
  if (typeof e != "string" || (e = e.trim().replace(/^[?#&]/, ""), !e))
4063
4063
  return n;
@@ -4065,7 +4065,7 @@ function yn(e, t) {
4065
4065
  if (a === "")
4066
4066
  continue;
4067
4067
  const o = t.decode ? a.replace(/\+/g, " ") : a;
4068
- let [i, c] = ni(o, "=");
4068
+ let [i, c] = ai(o, "=");
4069
4069
  i === void 0 && (i = o), c = c === void 0 ? null : ["comma", "separator", "bracket-separator"].includes(t.arrayFormat) ? c : je(c, t), r(je(i, t), c, n);
4070
4070
  }
4071
4071
  for (const [a, o] of Object.entries(n))
@@ -4076,10 +4076,10 @@ function yn(e, t) {
4076
4076
  n[a] = Na(o, t);
4077
4077
  return t.sort === !1 ? n : (t.sort === !0 ? Object.keys(n).sort() : Object.keys(n).sort(t.sort)).reduce((a, o) => {
4078
4078
  const i = n[o];
4079
- return i && typeof i == "object" && !Array.isArray(i) ? a[o] = oi(i) : a[o] = i, a;
4079
+ return i && typeof i == "object" && !Array.isArray(i) ? a[o] = ii(i) : a[o] = i, a;
4080
4080
  }, /* @__PURE__ */ Object.create(null));
4081
4081
  }
4082
- function si(e, t) {
4082
+ function ci(e, t) {
4083
4083
  if (!e)
4084
4084
  return "";
4085
4085
  t = {
@@ -4088,7 +4088,7 @@ function si(e, t) {
4088
4088
  arrayFormat: "none",
4089
4089
  arrayFormatSeparator: ",",
4090
4090
  ...t
4091
- }, ai(t.arrayFormatSeparator);
4091
+ }, oi(t.arrayFormatSeparator);
4092
4092
  const r = (i) => t.skipNull && DA(e[i]) || t.skipEmptyString && e[i] === "", n = FA(t), a = {};
4093
4093
  for (const [i, c] of Object.entries(e))
4094
4094
  r(i) || (a[i] = c);
@@ -4098,31 +4098,31 @@ function si(e, t) {
4098
4098
  return c === void 0 ? "" : c === null ? ee(i, t) : Array.isArray(c) ? c.length === 0 && t.arrayFormat === "bracket-separator" ? ee(i, t) + "[]" : c.reduce(n(i), []).join("&") : ee(i, t) + "=" + ee(c, t);
4099
4099
  }).filter((i) => i.length > 0).join("&");
4100
4100
  }
4101
- function ci(e, t) {
4101
+ function ui(e, t) {
4102
4102
  var a;
4103
4103
  t = {
4104
4104
  decode: !0,
4105
4105
  ...t
4106
4106
  };
4107
- let [r, n] = ni(e, "#");
4107
+ let [r, n] = ai(e, "#");
4108
4108
  return r === void 0 && (r = e), {
4109
4109
  url: ((a = r == null ? void 0 : r.split("?")) == null ? void 0 : a[0]) ?? "",
4110
4110
  query: yn(vn(e), t),
4111
4111
  ...t && t.parseFragmentIdentifier && n ? { fragmentIdentifier: je(n, t) } : {}
4112
4112
  };
4113
4113
  }
4114
- function ui(e, t) {
4114
+ function li(e, t) {
4115
4115
  t = {
4116
4116
  encode: !0,
4117
4117
  strict: !0,
4118
4118
  [qr]: !0,
4119
4119
  ...t
4120
4120
  };
4121
- const r = ii(e.url).split("?")[0] || "", n = vn(e.url), a = {
4121
+ const r = si(e.url).split("?")[0] || "", n = vn(e.url), a = {
4122
4122
  ...yn(n, { sort: !1 }),
4123
4123
  ...e.query
4124
4124
  };
4125
- let o = si(a, t);
4125
+ let o = ci(a, t);
4126
4126
  o && (o = `?${o}`);
4127
4127
  let i = BA(e.url);
4128
4128
  if (e.fragmentIdentifier) {
@@ -4131,14 +4131,14 @@ function ui(e, t) {
4131
4131
  }
4132
4132
  return `${r}${o}${i}`;
4133
4133
  }
4134
- function li(e, t, r) {
4134
+ function fi(e, t, r) {
4135
4135
  r = {
4136
4136
  parseFragmentIdentifier: !0,
4137
4137
  [qr]: !1,
4138
4138
  ...r
4139
4139
  };
4140
- const { url: n, query: a, fragmentIdentifier: o } = ci(e, r);
4141
- return ui({
4140
+ const { url: n, query: a, fragmentIdentifier: o } = ui(e, r);
4141
+ return li({
4142
4142
  url: n,
4143
4143
  query: PA(a, t),
4144
4144
  fragmentIdentifier: o
@@ -4146,17 +4146,17 @@ function li(e, t, r) {
4146
4146
  }
4147
4147
  function LA(e, t, r) {
4148
4148
  const n = Array.isArray(t) ? (a) => !t.includes(a) : (a, o) => !t(a, o);
4149
- return li(e, n, r);
4149
+ return fi(e, n, r);
4150
4150
  }
4151
4151
  const At = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4152
4152
  __proto__: null,
4153
4153
  exclude: LA,
4154
4154
  extract: vn,
4155
4155
  parse: yn,
4156
- parseUrl: ci,
4157
- pick: li,
4158
- stringify: si,
4159
- stringifyUrl: ui
4156
+ parseUrl: ui,
4157
+ pick: fi,
4158
+ stringify: ci,
4159
+ stringifyUrl: li
4160
4160
  }, Symbol.toStringTag, { value: "Module" }));
4161
4161
  class Ba extends Error {
4162
4162
  constructor(r) {
@@ -4236,11 +4236,11 @@ const Ct = Xt()(
4236
4236
  }
4237
4237
  )
4238
4238
  );
4239
- function Pg(e) {
4240
- const { usePermissionApiV2: t } = Be();
4239
+ function Pg() {
4240
+ const t = Va().pathname === "/sign_in", { usePermissionApiV2: r } = Be();
4241
4241
  Dt(
4242
- e ? null : t ? "/api/usystem/user/checkV2" : "/api/usystem/user/check",
4243
- (r) => jt(r, {
4242
+ t ? null : r ? "/api/usystem/user/checkV2" : "/api/usystem/user/check",
4243
+ (n) => jt(n, {
4244
4244
  method: "POST",
4245
4245
  body: {
4246
4246
  permissions: ["100001"]
@@ -4260,7 +4260,7 @@ const MA = {
4260
4260
  removeItem: async (e) => {
4261
4261
  sessionStorage.removeItem(e), localStorage.removeItem(e);
4262
4262
  }
4263
- }, { Text: UA } = Ui, bn = Xt()(
4263
+ }, { Text: UA } = Gi, bn = Xt()(
4264
4264
  mn(
4265
4265
  (e) => ({
4266
4266
  game: null,
@@ -4274,17 +4274,14 @@ const MA = {
4274
4274
  )
4275
4275
  );
4276
4276
  function GA() {
4277
- const { usePermissionApiV2: e } = Be(), t = Ct((a) => a.getUser()), { data: r, isLoading: n } = bA(
4277
+ const { usePermissionApiV2: e } = Be(), t = Ct((r) => r.getUser());
4278
+ return bA(
4278
4279
  e && t ? `/api/usystem/game/all?user=${t.authorityId}` : null,
4279
- (a) => jt(a, { isGlobalNS: !0 }).then((o) => o.data)
4280
+ (r) => jt(r, { isGlobalNS: !0 }).then((n) => n.data)
4280
4281
  );
4281
- return {
4282
- games: r,
4283
- isLoading: n
4284
- };
4285
4282
  }
4286
4283
  const VA = () => {
4287
- const e = Ge(), { gameFilter: t } = Be(), { game: r, setGame: n } = bn(), { games: a, isLoading: o } = GA(), { mutate: i } = ei(), c = Yt(
4284
+ const e = Ge(), { gameFilter: t } = Be(), { game: r, setGame: n } = bn(), { data: a, isLoading: o } = GA(), { mutate: i } = ti(), c = Yt(
4288
4285
  () => {
4289
4286
  var d, l;
4290
4287
  return (l = (d = a ?? []) == null ? void 0 : d.filter((A) => !t || t(A))) == null ? void 0 : l.map((A) => ({
@@ -4300,14 +4297,14 @@ const VA = () => {
4300
4297
  const l = (a ?? []).find((A) => A.id === d);
4301
4298
  l && (n(l), u());
4302
4299
  },
4303
- [a, n, u]
4300
+ [a, u]
4304
4301
  );
4305
4302
  return _e(() => {
4306
4303
  !o && (c.length === 0 || !c.some((d) => d.value === (r == null ? void 0 : r.id))) && n(null);
4307
- }, [o, r, c, n]), /* @__PURE__ */ E.jsxs(ut, { children: [
4304
+ }, [o, r, c]), /* @__PURE__ */ E.jsxs(ut, { children: [
4308
4305
  /* @__PURE__ */ E.jsx(UA, { children: e("GameSelect.label") }),
4309
4306
  /* @__PURE__ */ E.jsx(
4310
- Mi,
4307
+ Ui,
4311
4308
  {
4312
4309
  showSearch: !0,
4313
4310
  optionFilterProp: "label",
@@ -4321,7 +4318,7 @@ const VA = () => {
4321
4318
  )
4322
4319
  ] });
4323
4320
  }, kA = VA;
4324
- var Xr, Wt = Yi;
4321
+ var Xr, Wt = Ki;
4325
4322
  if (process.env.NODE_ENV === "production")
4326
4323
  Xr = Wt.createRoot, Wt.hydrateRoot;
4327
4324
  else {
@@ -4343,7 +4340,7 @@ function HA(e) {
4343
4340
  const t = document.createElement("div"), r = Xr(t);
4344
4341
  return new Promise((n) => {
4345
4342
  setTimeout(() => {
4346
- zi(() => {
4343
+ qi(() => {
4347
4344
  r.render(e);
4348
4345
  }), n(t.innerHTML);
4349
4346
  });
@@ -4364,7 +4361,7 @@ const QA = (e) => {
4364
4361
  const a = fe(!1), { cache: o, initialSize: i = 1, revalidateAll: c = !1, persistSize: u = !1, revalidateFirstPage: f = !0, revalidateOnMount: d = !1, parallel: l = !1 } = n, [, , , A] = Oe.get(pn);
4365
4362
  let g;
4366
4363
  try {
4367
- g = YA(t), g && (g = Xo + g);
4364
+ g = YA(t), g && (g = Zo + g);
4368
4365
  } catch {
4369
4366
  }
4370
4367
  const [v, p, y] = Ve(o, g), h = Ce(() => N(v()._l) ? i : v()._l, [
@@ -4501,8 +4498,8 @@ const QA = (e) => {
4501
4498
  return _.isLoading;
4502
4499
  }
4503
4500
  };
4504
- }, $A = ti(Dt, zA);
4505
- function fi(e, t, r) {
4501
+ }, $A = ri(Dt, zA);
4502
+ function di(e, t, r) {
4506
4503
  const { usePermissionApiV2: n } = Be(), { data: a, isValidating: o, isLoading: i } = Dt(
4507
4504
  e.length > 0 ? [n ? "/api/usystem/user/checkV2" : "/api/usystem/user/check", e] : null,
4508
4505
  ([c]) => jt(c, {
@@ -4532,7 +4529,7 @@ function fi(e, t, r) {
4532
4529
  return { data: a, isValidating: o, isLoading: i };
4533
4530
  }
4534
4531
  function ir(e, t, r) {
4535
- const { data: n, isValidating: a, isLoading: o } = fi(e ? [e] : [], t, r);
4532
+ const { data: n, isValidating: a, isLoading: o } = di(e ? [e] : [], t, r);
4536
4533
  return e === void 0 ? {
4537
4534
  accessible: !0,
4538
4535
  isValidating: !1,
@@ -4611,7 +4608,7 @@ const KA = (e) => {
4611
4608
  }
4612
4609
  }
4613
4610
  ) : v ? /* @__PURE__ */ E.jsxs(E.Fragment, { children: [
4614
- f ? /* @__PURE__ */ E.jsx(Qo, { onReset: $, onConfirm: F, children: f(g) }) : /* @__PURE__ */ E.jsx(Ot, { form: g }),
4611
+ f ? /* @__PURE__ */ E.jsx(Yo, { onReset: $, onConfirm: F, children: f(g) }) : /* @__PURE__ */ E.jsx(Ot, { form: g }),
4615
4612
  /* @__PURE__ */ E.jsx(Ga, { ...l, dataSource: j, loading: T, pagination: !1 }),
4616
4613
  !D && /* @__PURE__ */ E.jsx(
4617
4614
  ct,
@@ -4643,8 +4640,8 @@ const KA = (e) => {
4643
4640
  })
4644
4641
  }
4645
4642
  )
4646
- ), ZA = (e, t) => t ? /* @__PURE__ */ E.jsx(Va, { to: t, children: e }) : e;
4647
- function di(e, t) {
4643
+ ), ZA = (e, t) => t ? /* @__PURE__ */ E.jsx(ka, { to: t, children: e }) : e;
4644
+ function Ai(e, t) {
4648
4645
  const r = [];
4649
4646
  for (let n = 0; n < e.length; n++)
4650
4647
  if (e[n] === null)
@@ -4655,7 +4652,7 @@ function di(e, t) {
4655
4652
  const { children: a, ...o } = e[n];
4656
4653
  r[n] = {
4657
4654
  ...o,
4658
- children: di(a ?? [], t)
4655
+ children: Ai(a ?? [], t)
4659
4656
  };
4660
4657
  } else {
4661
4658
  const { route: a, label: o, code: i, ...c } = e[n], u = !i || !t || t[i];
@@ -4666,19 +4663,19 @@ function di(e, t) {
4666
4663
  }
4667
4664
  return r;
4668
4665
  }
4669
- function Ai(e, t = [], r = []) {
4666
+ function gi(e, t = [], r = []) {
4670
4667
  for (const n of e) {
4671
4668
  const a = n.children;
4672
4669
  if (Array.isArray(a)) {
4673
4670
  const o = n.type !== "group" && n.key ? [...r, n.key] : r;
4674
- Ai(a, t, o);
4671
+ gi(a, t, o);
4675
4672
  } else
4676
4673
  t.push(Object.assign(n, { keypath: r }));
4677
4674
  }
4678
4675
  return t;
4679
4676
  }
4680
- const gi = Fi(function() {
4681
- const t = $i(), { menuItems: r } = Be(), n = Yt(() => Ai(r ?? []), [r]), a = n.map((A) => A.code).filter(Boolean), { data: o } = fi(a, !0, { suspense: !0 }), i = Yt(() => di(r ?? [], o), [r, o]), { openKeys: c, selectedKeys: u, setOpenKeys: f, setSelectedKeys: d } = XA(), l = (A) => {
4677
+ const pi = Ni(function() {
4678
+ const t = Va(), { menuItems: r } = Be(), n = Yt(() => gi(r ?? []), [r]), a = n.map((A) => A.code).filter(Boolean), { data: o } = di(a, !0, { suspense: !0 }), i = Yt(() => Ai(r ?? [], o), [r, o]), { openKeys: c, selectedKeys: u, setOpenKeys: f, setSelectedKeys: d } = XA(), l = (A) => {
4682
4679
  const g = A == null ? void 0 : A.find((p) => (c == null ? void 0 : c.indexOf(p)) === -1), v = n.find((p) => g === p.key);
4683
4680
  f((v == null ? void 0 : v.keypath) ?? [g]);
4684
4681
  };
@@ -4689,7 +4686,7 @@ const gi = Fi(function() {
4689
4686
  d([g]), f(v);
4690
4687
  }
4691
4688
  }, [n, t]), /* @__PURE__ */ E.jsx(
4692
- Gi,
4689
+ Vi,
4693
4690
  {
4694
4691
  style: { borderRight: "none" },
4695
4692
  items: i,
@@ -4700,12 +4697,12 @@ const gi = Fi(function() {
4700
4697
  }
4701
4698
  );
4702
4699
  });
4703
- process.env.NODE_ENV === "development" && (gi.displayName = "NavMenu");
4704
- const JA = gi, eg = (e) => {
4700
+ process.env.NODE_ENV === "development" && (pi.displayName = "NavMenu");
4701
+ const JA = pi, eg = (e) => {
4705
4702
  const { children: t } = e, { usePermissionApiV2: r, hideGameSelect: n } = Be(), { game: a } = bn(), o = Ge();
4706
- return r && !n ? a ? /* @__PURE__ */ E.jsx("div", { children: t }, a.id) : /* @__PURE__ */ E.jsx(Vi, { children: /* @__PURE__ */ E.jsx(Dn, { image: Dn.PRESENTED_IMAGE_SIMPLE, description: o("RequireGame.description") }) }) : t;
4703
+ return r && !n ? a ? /* @__PURE__ */ E.jsx("div", { children: t }, a.id) : /* @__PURE__ */ E.jsx(ki, { children: /* @__PURE__ */ E.jsx(Dn, { image: Dn.PRESENTED_IMAGE_SIMPLE, description: o("RequireGame.description") }) }) : t;
4707
4704
  }, tg = eg, rg = () => {
4708
- const e = Ki(), { clearToken: t, getUser: r } = Ct(), n = r(), a = Ge(), o = [
4705
+ const e = zi(), { clearToken: t, getUser: r } = Ct(), n = r(), a = Ge(), o = [
4709
4706
  {
4710
4707
  key: "1",
4711
4708
  label: (
@@ -4725,7 +4722,7 @@ const JA = gi, eg = (e) => {
4725
4722
  }
4726
4723
  ];
4727
4724
  return /* @__PURE__ */ E.jsx("div", { "data-cy": "user-widget", children: /* @__PURE__ */ E.jsx(
4728
- ki,
4725
+ Wi,
4729
4726
  {
4730
4727
  menu: {
4731
4728
  selectable: !0,
@@ -4770,7 +4767,7 @@ const JA = gi, eg = (e) => {
4770
4767
  children: [
4771
4768
  /* @__PURE__ */ E.jsxs("div", { className: "flex items-end px-6 py-4", children: [
4772
4769
  /* @__PURE__ */ E.jsx("img", { src: qA, alt: "logo", className: "w-8 h-8" }),
4773
- /* @__PURE__ */ E.jsx(Va, { className: "font-bold text-lg ml-2", to: "/", children: o })
4770
+ /* @__PURE__ */ E.jsx(ka, { className: "font-bold text-lg ml-2", to: "/", children: o })
4774
4771
  ] }),
4775
4772
  /* @__PURE__ */ E.jsx(JA, {})
4776
4773
  ]
@@ -4789,7 +4786,7 @@ const JA = gi, eg = (e) => {
4789
4786
  },
4790
4787
  children: /* @__PURE__ */ E.jsxs("div", { className: "flex justify-between items-center h-full", children: [
4791
4788
  /* @__PURE__ */ E.jsx("div", { children: i && !c && /* @__PURE__ */ E.jsx(kA, {}) }),
4792
- /* @__PURE__ */ E.jsxs(ut, { size: "small", split: /* @__PURE__ */ E.jsx(Wi, { type: "vertical" }), children: [
4789
+ /* @__PURE__ */ E.jsxs(ut, { size: "small", split: /* @__PURE__ */ E.jsx(Hi, { type: "vertical" }), children: [
4793
4790
  r == null ? void 0 : r.map((f) => /* @__PURE__ */ E.jsx("span", { children: f.children }, f.key)),
4794
4791
  u,
4795
4792
  /* @__PURE__ */ E.jsx(ng, {})
@@ -4798,7 +4795,7 @@ const JA = gi, eg = (e) => {
4798
4795
  }
4799
4796
  ),
4800
4797
  /* @__PURE__ */ E.jsx(cg, { className: "p-6 bg-gray-50", style: { overflow: "overlay" }, children: /* @__PURE__ */ E.jsx(
4801
- Ni,
4798
+ Bi,
4802
4799
  {
4803
4800
  fallback: /* @__PURE__ */ E.jsx(
4804
4801
  ag,
@@ -4818,7 +4815,7 @@ const JA = gi, eg = (e) => {
4818
4815
  ] });
4819
4816
  }, lg = ug, fg = (e) => {
4820
4817
  const { children: t, code: r, showLoading: n, isGlobalNS: a, ...o } = e, { accessible: i, isLoading: c } = ir(r, a), u = Ge();
4821
- return c ? /* @__PURE__ */ E.jsx(ct, { loading: n, disabled: !n, ...o, children: t }) : i ? /* @__PURE__ */ E.jsx(ct, { ...o, children: t }) : /* @__PURE__ */ E.jsx(Hi, { defaultOpen: !1, title: u("global.noEntitlement"), children: /* @__PURE__ */ E.jsx(ct, { disabled: !0, ...o, children: t }) });
4818
+ return c ? /* @__PURE__ */ E.jsx(ct, { loading: n, disabled: !n, ...o, children: t }) : i ? /* @__PURE__ */ E.jsx(ct, { ...o, children: t }) : /* @__PURE__ */ E.jsx(Qi, { defaultOpen: !1, title: u("global.noEntitlement"), children: /* @__PURE__ */ E.jsx(ct, { disabled: !0, ...o, children: t }) });
4822
4819
  }, Fg = fg, dg = (e) => {
4823
4820
  const { code: t, children: r } = e, { accessible: n, isValidating: a } = ir(t), o = Ge();
4824
4821
  return a ? /* @__PURE__ */ E.jsx(
@@ -4851,7 +4848,7 @@ const JA = gi, eg = (e) => {
4851
4848
  },
4852
4849
  mutate: (r, n, a) => {
4853
4850
  const { keyMap: o } = t(), i = o.get(r);
4854
- qo(i, n, a);
4851
+ Xo(i, n, a);
4855
4852
  }
4856
4853
  }));
4857
4854
  var gg = /* @__PURE__ */ ((e) => (e.Confirm = "confirm", e.Reset = "reset", e.Jump = "jump", e.Init = "init", e))(gg || {});
@@ -4944,7 +4941,7 @@ const pg = (e, t) => {
4944
4941
  }).catch(() => {
4945
4942
  $(null), R.set(r, null);
4946
4943
  });
4947
- }, [_, x]), Li(t, () => ({
4944
+ }, [_, x]), Mi(t, () => ({
4948
4945
  data: V,
4949
4946
  form: w
4950
4947
  })), O ? /* @__PURE__ */ E.jsx(
@@ -4958,7 +4955,7 @@ const pg = (e, t) => {
4958
4955
  }
4959
4956
  }
4960
4957
  ) : _ ? /* @__PURE__ */ E.jsxs("div", { children: [
4961
- g ? /* @__PURE__ */ E.jsx(Qo, { isConfirming: te, onReset: de, onConfirm: ce, children: g(w) }) : (
4958
+ g ? /* @__PURE__ */ E.jsx(Yo, { isConfirming: te, onReset: de, onConfirm: ce, children: g(w) }) : (
4962
4959
  // 消除 Antd 的警告
4963
4960
  /* @__PURE__ */ E.jsx(Ot, { form: w })
4964
4961
  ),
@@ -4986,9 +4983,9 @@ const pg = (e, t) => {
4986
4983
  }
4987
4984
  )
4988
4985
  ] }) : /* @__PURE__ */ E.jsx(tn, { status: 403, subTitle: C("global.noEntitlement") });
4989
- }, hg = Bi(pg), Bg = hg;
4986
+ }, hg = Li(pg), Bg = hg;
4990
4987
  function Lg(e) {
4991
- const { onConfirm: t, content: r, onCancel: n, ...a } = e, [o, i] = Qi.useModal(), [c] = Ot.useForm(), u = {
4988
+ const { onConfirm: t, content: r, onCancel: n, ...a } = e, [o, i] = Yi.useModal(), [c] = Ot.useForm(), u = {
4992
4989
  ...a,
4993
4990
  icon: null,
4994
4991
  className: "toolkits-modal",
@@ -5016,8 +5013,8 @@ function Lg(e) {
5016
5013
  contextHolder: /* @__PURE__ */ E.jsx("div", { children: i })
5017
5014
  };
5018
5015
  }
5019
- const mg = gt(() => import("./index-gwEnohlC.chunk.js")), vg = gt(() => import("./index-FoGmJTbt.chunk.js")), yg = gt(() => import("./index-eatlLTJL.chunk.js")), bg = gt(() => import("./index-BlEj3_VH.chunk.js")), Eg = gt(() => import("./index-p7w-DDEg.chunk.js")), Sg = gt(() => import("./index-IsFpMW3Y.chunk.js")), Ma = (e, t) => () => /* @__PURE__ */ E.jsx(us, { ...t, children: /* @__PURE__ */ E.jsx(lg, { children: /* @__PURE__ */ E.jsx(e, {}) }) }), wg = () => /* @__PURE__ */ E.jsxs(ka, { children: [
5020
- /* @__PURE__ */ E.jsx(ke, { index: !0, element: /* @__PURE__ */ E.jsx(qi, { to: "user" }) }),
5016
+ const mg = gt(() => import("./index-u01VQTOW.chunk.js")), vg = gt(() => import("./index-4_4APzFW.chunk.js")), yg = gt(() => import("./index-Q4NZDrIv.chunk.js")), bg = gt(() => import("./index-hj-9r_Ue.chunk.js")), Eg = gt(() => import("./index-dtMpbyiE.chunk.js")), Sg = gt(() => import("./index-cAeQo9EH.chunk.js")), Ma = (e, t) => () => /* @__PURE__ */ E.jsx(us, { ...t, children: /* @__PURE__ */ E.jsx(lg, { children: /* @__PURE__ */ E.jsx(e, {}) }) }), wg = () => /* @__PURE__ */ E.jsxs(Wa, { children: [
5017
+ /* @__PURE__ */ E.jsx(ke, { index: !0, element: /* @__PURE__ */ E.jsx($i, { to: "user" }) }),
5021
5018
  /* @__PURE__ */ E.jsx(ke, { path: "user", element: /* @__PURE__ */ E.jsx(Sg, {}) }),
5022
5019
  /* @__PURE__ */ E.jsx(ke, { path: "role", element: /* @__PURE__ */ E.jsx(Eg, {}) }),
5023
5020
  /* @__PURE__ */ E.jsx(ke, { path: "role/:name", element: /* @__PURE__ */ E.jsx(bg, {}) })
@@ -5025,7 +5022,7 @@ const mg = gt(() => import("./index-gwEnohlC.chunk.js")), vg = gt(() => import("
5025
5022
  function Mg(e, t) {
5026
5023
  return () => {
5027
5024
  const n = Object.assign({}, t, { hideGameSelect: !0 });
5028
- return /* @__PURE__ */ E.jsxs(ka, { children: [
5025
+ return /* @__PURE__ */ E.jsxs(Wa, { children: [
5029
5026
  e,
5030
5027
  /* @__PURE__ */ E.jsx(ke, { path: "/operation_log", Component: Ma(vg, n) }),
5031
5028
  /* @__PURE__ */ E.jsx(ke, { path: "/permission/*", Component: Ma(wg, n) }),
@@ -5039,8 +5036,8 @@ export {
5039
5036
  bn as B,
5040
5037
  us as C,
5041
5038
  Ig as D,
5042
- fi as E,
5043
- Qo as F,
5039
+ di as E,
5040
+ Yo as F,
5044
5041
  kA as G,
5045
5042
  Dg as H,
5046
5043
  xa as I,
@@ -5059,11 +5056,11 @@ export {
5059
5056
  bA as d,
5060
5057
  ir as e,
5061
5058
  Ag as f,
5062
- Wa as g,
5059
+ Ha as g,
5063
5060
  Lg as h,
5064
5061
  Dt as i,
5065
5062
  E as j,
5066
- ei as k,
5063
+ ti as k,
5067
5064
  qA as l,
5068
5065
  $e as m,
5069
5066
  $r as n,
@@ -5075,7 +5072,7 @@ export {
5075
5072
  gg as t,
5076
5073
  Ge as u,
5077
5074
  tg as v,
5078
- ti as w,
5075
+ ri as w,
5079
5076
  ng as x,
5080
5077
  jr as y,
5081
5078
  MA as z