react-toolkits 0.8.41 → 0.8.43
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.
- package/CHANGELOG.md +12 -0
- package/lib/{index-BVYeiBj8.chunk.js → index-8tFoUnMO.chunk.js} +2 -2
- package/lib/{index-MBGG1TPx.chunk.js → index-BFa8FIAN.chunk.js} +1 -1
- package/lib/{index-uO67solD.chunk.js → index-TQRAm4V4.chunk.js} +3 -3
- package/lib/{index-hvR1Dou1.chunk.js → index-TorC7885.chunk.js} +580 -574
- package/lib/{index-bTCYGZIi.chunk.js → index-yKR2Vdvr.chunk.js} +3 -3
- package/lib/{index-rp0ek9RG.chunk.js → index-yg0rH23u.chunk.js} +2 -2
- package/lib/index.d.ts +10 -2
- package/lib/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
var kc = Object.defineProperty;
|
|
2
2
|
var $c = (e, t, r) => t in e ? kc(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
|
-
var
|
|
3
|
+
var hr = (e, t, r) => ($c(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
4
4
|
import * as Re from "react";
|
|
5
5
|
import Ce, { createContext as nn, useContext as an, useEffect as Pe, useState as Te, useRef as _e, useLayoutEffect as Vc, useMemo as Tt, useCallback as Me, useDebugValue as Wc, memo as Hc, Suspense as Yc, forwardRef as Qc, useImperativeHandle as qc, lazy as ot } from "react";
|
|
6
|
-
import * as
|
|
7
|
-
import { theme as qa, Space as nt, Input as rt, Tag as Ln, Button as ze, Select as sn, Typography as cn, Form as ge, Spin as on, Result as
|
|
6
|
+
import * as Xt from "antd";
|
|
7
|
+
import { theme as qa, Space as nt, Input as rt, Tag as Ln, Button as ze, Select as sn, Typography as cn, Form as ge, Spin as on, Result as er, Table as Ka, Menu as Kc, Card as Xa, Empty as zn, Dropdown as Xc, Divider as Za, Tooltip as Zc, Modal as Jc, Row as e2, Col as Lt, Alert as t2 } from "antd";
|
|
8
8
|
import r2, { flushSync as n2 } from "react-dom";
|
|
9
|
-
import { useLocation as Ja, Link as a2, useNavigate as es, useSearchParams as s2, Navigate as
|
|
9
|
+
import { useLocation as Ja, Link as a2, useNavigate as es, useSearchParams as s2, Navigate as jr, Routes as ts, Route as He } from "react-router-dom";
|
|
10
10
|
var c2 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
11
11
|
function ln(e) {
|
|
12
12
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
13
13
|
}
|
|
14
|
-
var
|
|
14
|
+
var Pr = { exports: {} }, vt = {};
|
|
15
15
|
/**
|
|
16
16
|
* @license React
|
|
17
17
|
* react-jsx-runtime.development.js
|
|
@@ -24,46 +24,46 @@ var jr = { exports: {} }, vt = {};
|
|
|
24
24
|
var Un;
|
|
25
25
|
function o2() {
|
|
26
26
|
return Un || (Un = 1, process.env.NODE_ENV !== "production" && function() {
|
|
27
|
-
var e = Ce, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), o = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), u = Symbol.for("react.memo"), A = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"),
|
|
27
|
+
var e = Ce, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), o = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), u = Symbol.for("react.memo"), A = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), _ = Symbol.iterator, g = "@@iterator";
|
|
28
28
|
function b(i) {
|
|
29
29
|
if (i === null || typeof i != "object")
|
|
30
30
|
return null;
|
|
31
|
-
var S =
|
|
31
|
+
var S = _ && i[_] || i[g];
|
|
32
32
|
return typeof S == "function" ? S : null;
|
|
33
33
|
}
|
|
34
|
-
var
|
|
35
|
-
function
|
|
34
|
+
var y = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
35
|
+
function m(i) {
|
|
36
36
|
{
|
|
37
|
-
for (var S = arguments.length,
|
|
38
|
-
|
|
39
|
-
|
|
37
|
+
for (var S = arguments.length, T = new Array(S > 1 ? S - 1 : 0), z = 1; z < S; z++)
|
|
38
|
+
T[z - 1] = arguments[z];
|
|
39
|
+
O("error", i, T);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function O(i, S, T) {
|
|
43
43
|
{
|
|
44
|
-
var z =
|
|
45
|
-
X !== "" && (S += "%s",
|
|
46
|
-
var Z =
|
|
44
|
+
var z = y.ReactDebugCurrentFrame, X = z.getStackAddendum();
|
|
45
|
+
X !== "" && (S += "%s", T = T.concat([X]));
|
|
46
|
+
var Z = T.map(function(Q) {
|
|
47
47
|
return String(Q);
|
|
48
48
|
});
|
|
49
49
|
Z.unshift("Warning: " + S), Function.prototype.apply.call(console[i], console, Z);
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
|
-
var
|
|
52
|
+
var R = !1, j = !1, D = !1, N = !1, P = !1, U;
|
|
53
53
|
U = Symbol.for("react.module.reference");
|
|
54
54
|
function I(i) {
|
|
55
|
-
return !!(typeof i == "string" || typeof i == "function" || i === n || i === s || P || i === a || i === f || i === p || N || i === h ||
|
|
55
|
+
return !!(typeof i == "string" || typeof i == "function" || i === n || i === s || P || i === a || i === f || i === p || N || i === h || R || j || D || typeof i == "object" && i !== null && (i.$$typeof === A || i.$$typeof === u || i.$$typeof === c || i.$$typeof === o || i.$$typeof === l || // This needs to include all possible module reference object
|
|
56
56
|
// types supported by any Flight configuration anywhere since
|
|
57
57
|
// we don't know which Flight build this will end up being used
|
|
58
58
|
// with.
|
|
59
59
|
i.$$typeof === U || i.getModuleId !== void 0));
|
|
60
60
|
}
|
|
61
|
-
function M(i, S,
|
|
61
|
+
function M(i, S, T) {
|
|
62
62
|
var z = i.displayName;
|
|
63
63
|
if (z)
|
|
64
64
|
return z;
|
|
65
65
|
var X = S.displayName || S.name || "";
|
|
66
|
-
return X !== "" ?
|
|
66
|
+
return X !== "" ? T + "(" + X + ")" : T;
|
|
67
67
|
}
|
|
68
68
|
function B(i) {
|
|
69
69
|
return i.displayName || "Context";
|
|
@@ -71,7 +71,7 @@ function o2() {
|
|
|
71
71
|
function $(i) {
|
|
72
72
|
if (i == null)
|
|
73
73
|
return null;
|
|
74
|
-
if (typeof i.tag == "number" &&
|
|
74
|
+
if (typeof i.tag == "number" && m("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof i == "function")
|
|
75
75
|
return i.displayName || i.name || null;
|
|
76
76
|
if (typeof i == "string")
|
|
77
77
|
return i;
|
|
@@ -95,8 +95,8 @@ function o2() {
|
|
|
95
95
|
var S = i;
|
|
96
96
|
return B(S) + ".Consumer";
|
|
97
97
|
case c:
|
|
98
|
-
var
|
|
99
|
-
return B(
|
|
98
|
+
var T = i;
|
|
99
|
+
return B(T._context) + ".Provider";
|
|
100
100
|
case l:
|
|
101
101
|
return M(i, i.render, "ForwardRef");
|
|
102
102
|
case u:
|
|
@@ -172,11 +172,11 @@ function o2() {
|
|
|
172
172
|
})
|
|
173
173
|
});
|
|
174
174
|
}
|
|
175
|
-
C < 0 &&
|
|
175
|
+
C < 0 && m("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
|
-
var ae =
|
|
179
|
-
function pe(i, S,
|
|
178
|
+
var ae = y.ReactCurrentDispatcher, ue;
|
|
179
|
+
function pe(i, S, T) {
|
|
180
180
|
{
|
|
181
181
|
if (ue === void 0)
|
|
182
182
|
try {
|
|
@@ -198,9 +198,9 @@ function o2() {
|
|
|
198
198
|
if (!i || fe)
|
|
199
199
|
return "";
|
|
200
200
|
{
|
|
201
|
-
var
|
|
202
|
-
if (
|
|
203
|
-
return
|
|
201
|
+
var T = ee.get(i);
|
|
202
|
+
if (T !== void 0)
|
|
203
|
+
return T;
|
|
204
204
|
}
|
|
205
205
|
var z;
|
|
206
206
|
fe = !0;
|
|
@@ -265,14 +265,14 @@ function o2() {
|
|
|
265
265
|
var pt = i ? i.displayName || i.name : "", Nn = pt ? pe(pt) : "";
|
|
266
266
|
return typeof i == "function" && ee.set(i, Nn), Nn;
|
|
267
267
|
}
|
|
268
|
-
function q(i, S,
|
|
268
|
+
function q(i, S, T) {
|
|
269
269
|
return Y(i, !1);
|
|
270
270
|
}
|
|
271
271
|
function le(i) {
|
|
272
272
|
var S = i.prototype;
|
|
273
273
|
return !!(S && S.isReactComponent);
|
|
274
274
|
}
|
|
275
|
-
function J(i, S,
|
|
275
|
+
function J(i, S, T) {
|
|
276
276
|
if (i == null)
|
|
277
277
|
return "";
|
|
278
278
|
if (typeof i == "function")
|
|
@@ -290,26 +290,26 @@ function o2() {
|
|
|
290
290
|
case l:
|
|
291
291
|
return q(i.render);
|
|
292
292
|
case u:
|
|
293
|
-
return J(i.type, S,
|
|
293
|
+
return J(i.type, S, T);
|
|
294
294
|
case A: {
|
|
295
295
|
var z = i, X = z._payload, Z = z._init;
|
|
296
296
|
try {
|
|
297
|
-
return J(Z(X), S,
|
|
297
|
+
return J(Z(X), S, T);
|
|
298
298
|
} catch {
|
|
299
299
|
}
|
|
300
300
|
}
|
|
301
301
|
}
|
|
302
302
|
return "";
|
|
303
303
|
}
|
|
304
|
-
var he = Object.prototype.hasOwnProperty, Be = {}, se =
|
|
304
|
+
var he = Object.prototype.hasOwnProperty, Be = {}, se = y.ReactDebugCurrentFrame;
|
|
305
305
|
function ce(i) {
|
|
306
306
|
if (i) {
|
|
307
|
-
var S = i._owner,
|
|
308
|
-
se.setExtraStackFrame(
|
|
307
|
+
var S = i._owner, T = J(i.type, i._source, S ? S.type : null);
|
|
308
|
+
se.setExtraStackFrame(T);
|
|
309
309
|
} else
|
|
310
310
|
se.setExtraStackFrame(null);
|
|
311
311
|
}
|
|
312
|
-
function Ee(i, S,
|
|
312
|
+
function Ee(i, S, T, z, X) {
|
|
313
313
|
{
|
|
314
314
|
var Z = Function.call.bind(he);
|
|
315
315
|
for (var Q in i)
|
|
@@ -317,14 +317,14 @@ function o2() {
|
|
|
317
317
|
var H = void 0;
|
|
318
318
|
try {
|
|
319
319
|
if (typeof i[Q] != "function") {
|
|
320
|
-
var Ae = Error((z || "React class") + ": " +
|
|
320
|
+
var Ae = Error((z || "React class") + ": " + T + " type `" + Q + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[Q] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
321
321
|
throw Ae.name = "Invariant Violation", Ae;
|
|
322
322
|
}
|
|
323
|
-
H = i[Q](S, Q, z,
|
|
323
|
+
H = i[Q](S, Q, z, T, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
324
324
|
} catch (ne) {
|
|
325
325
|
H = ne;
|
|
326
326
|
}
|
|
327
|
-
H && !(H instanceof Error) && (ce(X),
|
|
327
|
+
H && !(H instanceof Error) && (ce(X), m("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", z || "React class", T, Q, typeof H), ce(null)), H instanceof Error && !(H.message in Be) && (Be[H.message] = !0, ce(X), m("Failed %s type: %s", T, H.message), ce(null));
|
|
328
328
|
}
|
|
329
329
|
}
|
|
330
330
|
}
|
|
@@ -334,8 +334,8 @@ function o2() {
|
|
|
334
334
|
}
|
|
335
335
|
function Nt(i) {
|
|
336
336
|
{
|
|
337
|
-
var S = typeof Symbol == "function" && Symbol.toStringTag,
|
|
338
|
-
return
|
|
337
|
+
var S = typeof Symbol == "function" && Symbol.toStringTag, T = S && i[Symbol.toStringTag] || i.constructor.name || "Object";
|
|
338
|
+
return T;
|
|
339
339
|
}
|
|
340
340
|
}
|
|
341
341
|
function ye(i) {
|
|
@@ -350,15 +350,15 @@ function o2() {
|
|
|
350
350
|
}
|
|
351
351
|
function ft(i) {
|
|
352
352
|
if (ye(i))
|
|
353
|
-
return
|
|
353
|
+
return m("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Nt(i)), be(i);
|
|
354
354
|
}
|
|
355
|
-
var et =
|
|
355
|
+
var et = y.ReactCurrentOwner, mt = {
|
|
356
356
|
key: !0,
|
|
357
357
|
ref: !0,
|
|
358
358
|
__self: !0,
|
|
359
359
|
__source: !0
|
|
360
|
-
}, Dn, Mn,
|
|
361
|
-
|
|
360
|
+
}, Dn, Mn, ur;
|
|
361
|
+
ur = {};
|
|
362
362
|
function Oc(i) {
|
|
363
363
|
if (he.call(i, "ref")) {
|
|
364
364
|
var S = Object.getOwnPropertyDescriptor(i, "ref").get;
|
|
@@ -377,40 +377,40 @@ function o2() {
|
|
|
377
377
|
}
|
|
378
378
|
function Rc(i, S) {
|
|
379
379
|
if (typeof i.ref == "string" && et.current && S && et.current.stateNode !== S) {
|
|
380
|
-
var
|
|
381
|
-
|
|
380
|
+
var T = $(et.current.type);
|
|
381
|
+
ur[T] || (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', $(et.current.type), i.ref), ur[T] = !0);
|
|
382
382
|
}
|
|
383
383
|
}
|
|
384
384
|
function Dc(i, S) {
|
|
385
385
|
{
|
|
386
|
-
var
|
|
387
|
-
Dn || (Dn = !0,
|
|
386
|
+
var T = function() {
|
|
387
|
+
Dn || (Dn = !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)", S));
|
|
388
388
|
};
|
|
389
|
-
|
|
390
|
-
get:
|
|
389
|
+
T.isReactWarning = !0, Object.defineProperty(i, "key", {
|
|
390
|
+
get: T,
|
|
391
391
|
configurable: !0
|
|
392
392
|
});
|
|
393
393
|
}
|
|
394
394
|
}
|
|
395
395
|
function Mc(i, S) {
|
|
396
396
|
{
|
|
397
|
-
var
|
|
398
|
-
Mn || (Mn = !0,
|
|
397
|
+
var T = function() {
|
|
398
|
+
Mn || (Mn = !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)", S));
|
|
399
399
|
};
|
|
400
|
-
|
|
401
|
-
get:
|
|
400
|
+
T.isReactWarning = !0, Object.defineProperty(i, "ref", {
|
|
401
|
+
get: T,
|
|
402
402
|
configurable: !0
|
|
403
403
|
});
|
|
404
404
|
}
|
|
405
405
|
}
|
|
406
|
-
var Ic = function(i, S,
|
|
406
|
+
var Ic = function(i, S, T, z, X, Z, Q) {
|
|
407
407
|
var H = {
|
|
408
408
|
// This tag allows us to uniquely identify this as a React Element
|
|
409
409
|
$$typeof: t,
|
|
410
410
|
// Built-in properties that belong on the element
|
|
411
411
|
type: i,
|
|
412
412
|
key: S,
|
|
413
|
-
ref:
|
|
413
|
+
ref: T,
|
|
414
414
|
props: Q,
|
|
415
415
|
// Record the component responsible for creating this element.
|
|
416
416
|
_owner: Z
|
|
@@ -432,10 +432,10 @@ function o2() {
|
|
|
432
432
|
value: X
|
|
433
433
|
}), Object.freeze && (Object.freeze(H.props), Object.freeze(H)), H;
|
|
434
434
|
};
|
|
435
|
-
function jc(i, S,
|
|
435
|
+
function jc(i, S, T, z, X) {
|
|
436
436
|
{
|
|
437
437
|
var Z, Q = {}, H = null, Ae = null;
|
|
438
|
-
|
|
438
|
+
T !== void 0 && (ft(T), H = "" + T), Tc(S) && (ft(S.key), H = "" + S.key), Oc(S) && (Ae = S.ref, Rc(S, X));
|
|
439
439
|
for (Z in S)
|
|
440
440
|
he.call(S, Z) && !mt.hasOwnProperty(Z) && (Q[Z] = S[Z]);
|
|
441
441
|
if (i && i.defaultProps) {
|
|
@@ -450,23 +450,23 @@ function o2() {
|
|
|
450
450
|
return Ic(i, H, Ae, X, z, et.current, Q);
|
|
451
451
|
}
|
|
452
452
|
}
|
|
453
|
-
var
|
|
453
|
+
var fr = y.ReactCurrentOwner, In = y.ReactDebugCurrentFrame;
|
|
454
454
|
function dt(i) {
|
|
455
455
|
if (i) {
|
|
456
|
-
var S = i._owner,
|
|
457
|
-
In.setExtraStackFrame(
|
|
456
|
+
var S = i._owner, T = J(i.type, i._source, S ? S.type : null);
|
|
457
|
+
In.setExtraStackFrame(T);
|
|
458
458
|
} else
|
|
459
459
|
In.setExtraStackFrame(null);
|
|
460
460
|
}
|
|
461
|
-
var
|
|
462
|
-
|
|
463
|
-
function
|
|
461
|
+
var dr;
|
|
462
|
+
dr = !1;
|
|
463
|
+
function pr(i) {
|
|
464
464
|
return typeof i == "object" && i !== null && i.$$typeof === t;
|
|
465
465
|
}
|
|
466
466
|
function jn() {
|
|
467
467
|
{
|
|
468
|
-
if (
|
|
469
|
-
var i = $(
|
|
468
|
+
if (fr.current) {
|
|
469
|
+
var i = $(fr.current.type);
|
|
470
470
|
if (i)
|
|
471
471
|
return `
|
|
472
472
|
|
|
@@ -478,10 +478,10 @@ Check the render method of \`` + i + "`.";
|
|
|
478
478
|
function Pc(i) {
|
|
479
479
|
{
|
|
480
480
|
if (i !== void 0) {
|
|
481
|
-
var S = i.fileName.replace(/^.*[\\\/]/, ""),
|
|
481
|
+
var S = i.fileName.replace(/^.*[\\\/]/, ""), T = i.lineNumber;
|
|
482
482
|
return `
|
|
483
483
|
|
|
484
|
-
Check your code at ` + S + ":" +
|
|
484
|
+
Check your code at ` + S + ":" + T + ".";
|
|
485
485
|
}
|
|
486
486
|
return "";
|
|
487
487
|
}
|
|
@@ -491,10 +491,10 @@ Check your code at ` + S + ":" + O + ".";
|
|
|
491
491
|
{
|
|
492
492
|
var S = jn();
|
|
493
493
|
if (!S) {
|
|
494
|
-
var
|
|
495
|
-
|
|
494
|
+
var T = typeof i == "string" ? i : i.displayName || i.name;
|
|
495
|
+
T && (S = `
|
|
496
496
|
|
|
497
|
-
Check the top-level render call using <` +
|
|
497
|
+
Check the top-level render call using <` + T + ">.");
|
|
498
498
|
}
|
|
499
499
|
return S;
|
|
500
500
|
}
|
|
@@ -504,12 +504,12 @@ Check the top-level render call using <` + O + ">.");
|
|
|
504
504
|
if (!i._store || i._store.validated || i.key != null)
|
|
505
505
|
return;
|
|
506
506
|
i._store.validated = !0;
|
|
507
|
-
var
|
|
508
|
-
if (Pn[
|
|
507
|
+
var T = Fc(S);
|
|
508
|
+
if (Pn[T])
|
|
509
509
|
return;
|
|
510
|
-
Pn[
|
|
510
|
+
Pn[T] = !0;
|
|
511
511
|
var z = "";
|
|
512
|
-
i && i._owner && i._owner !==
|
|
512
|
+
i && i._owner && i._owner !== fr.current && (z = " It was passed a child from " + $(i._owner.type) + "."), dt(i), m('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', T, z), dt(null);
|
|
513
513
|
}
|
|
514
514
|
}
|
|
515
515
|
function Bn(i, S) {
|
|
@@ -517,17 +517,17 @@ Check the top-level render call using <` + O + ">.");
|
|
|
517
517
|
if (typeof i != "object")
|
|
518
518
|
return;
|
|
519
519
|
if (ut(i))
|
|
520
|
-
for (var
|
|
521
|
-
var z = i[
|
|
522
|
-
|
|
520
|
+
for (var T = 0; T < i.length; T++) {
|
|
521
|
+
var z = i[T];
|
|
522
|
+
pr(z) && Fn(z, S);
|
|
523
523
|
}
|
|
524
|
-
else if (
|
|
524
|
+
else if (pr(i))
|
|
525
525
|
i._store && (i._store.validated = !0);
|
|
526
526
|
else if (i) {
|
|
527
527
|
var X = b(i);
|
|
528
528
|
if (typeof X == "function" && X !== i.entries)
|
|
529
529
|
for (var Z = X.call(i), Q; !(Q = Z.next()).done; )
|
|
530
|
-
|
|
530
|
+
pr(Q.value) && Fn(Q.value, S);
|
|
531
531
|
}
|
|
532
532
|
}
|
|
533
533
|
}
|
|
@@ -536,39 +536,39 @@ Check the top-level render call using <` + O + ">.");
|
|
|
536
536
|
var S = i.type;
|
|
537
537
|
if (S == null || typeof S == "string")
|
|
538
538
|
return;
|
|
539
|
-
var
|
|
539
|
+
var T;
|
|
540
540
|
if (typeof S == "function")
|
|
541
|
-
|
|
541
|
+
T = S.propTypes;
|
|
542
542
|
else if (typeof S == "object" && (S.$$typeof === l || // Note: Memo only checks outer props here.
|
|
543
543
|
// Inner props are checked in the reconciler.
|
|
544
544
|
S.$$typeof === u))
|
|
545
|
-
|
|
545
|
+
T = S.propTypes;
|
|
546
546
|
else
|
|
547
547
|
return;
|
|
548
|
-
if (
|
|
548
|
+
if (T) {
|
|
549
549
|
var z = $(S);
|
|
550
|
-
Ee(
|
|
551
|
-
} else if (S.PropTypes !== void 0 && !
|
|
552
|
-
|
|
550
|
+
Ee(T, i.props, "prop", z, i);
|
|
551
|
+
} else if (S.PropTypes !== void 0 && !dr) {
|
|
552
|
+
dr = !0;
|
|
553
553
|
var X = $(S);
|
|
554
|
-
|
|
554
|
+
m("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", X || "Unknown");
|
|
555
555
|
}
|
|
556
|
-
typeof S.getDefaultProps == "function" && !S.getDefaultProps.isReactClassApproved &&
|
|
556
|
+
typeof S.getDefaultProps == "function" && !S.getDefaultProps.isReactClassApproved && m("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
557
557
|
}
|
|
558
558
|
}
|
|
559
559
|
function Gc(i) {
|
|
560
560
|
{
|
|
561
|
-
for (var S = Object.keys(i.props),
|
|
562
|
-
var z = S[
|
|
561
|
+
for (var S = Object.keys(i.props), T = 0; T < S.length; T++) {
|
|
562
|
+
var z = S[T];
|
|
563
563
|
if (z !== "children" && z !== "key") {
|
|
564
|
-
dt(i),
|
|
564
|
+
dt(i), m("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", z), dt(null);
|
|
565
565
|
break;
|
|
566
566
|
}
|
|
567
567
|
}
|
|
568
|
-
i.ref !== null && (dt(i),
|
|
568
|
+
i.ref !== null && (dt(i), m("Invalid attribute `ref` supplied to `React.Fragment`."), dt(null));
|
|
569
569
|
}
|
|
570
570
|
}
|
|
571
|
-
function Gn(i, S,
|
|
571
|
+
function Gn(i, S, T, z, X, Z) {
|
|
572
572
|
{
|
|
573
573
|
var Q = I(i);
|
|
574
574
|
if (!Q) {
|
|
@@ -577,9 +577,9 @@ Check the top-level render call using <` + O + ">.");
|
|
|
577
577
|
var Ae = Pc(X);
|
|
578
578
|
Ae ? H += Ae : H += jn();
|
|
579
579
|
var ne;
|
|
580
|
-
i === null ? ne = "null" : ut(i) ? ne = "array" : i !== void 0 && i.$$typeof === t ? (ne = "<" + ($(i.type) || "Unknown") + " />", H = " Did you accidentally export a JSX literal instead of a component?") : ne = typeof i,
|
|
580
|
+
i === null ? ne = "null" : ut(i) ? ne = "array" : i !== void 0 && i.$$typeof === t ? (ne = "<" + ($(i.type) || "Unknown") + " />", H = " Did you accidentally export a JSX literal instead of a component?") : ne = typeof i, m("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ne, H);
|
|
581
581
|
}
|
|
582
|
-
var oe = jc(i, S,
|
|
582
|
+
var oe = jc(i, S, T, X, Z);
|
|
583
583
|
if (oe == null)
|
|
584
584
|
return oe;
|
|
585
585
|
if (Q) {
|
|
@@ -591,18 +591,18 @@ Check the top-level render call using <` + O + ">.");
|
|
|
591
591
|
Bn(Se[pt], i);
|
|
592
592
|
Object.freeze && Object.freeze(Se);
|
|
593
593
|
} else
|
|
594
|
-
|
|
594
|
+
m("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
595
595
|
else
|
|
596
596
|
Bn(Se, i);
|
|
597
597
|
}
|
|
598
598
|
return i === n ? Gc(oe) : Bc(oe), oe;
|
|
599
599
|
}
|
|
600
600
|
}
|
|
601
|
-
function Nc(i, S,
|
|
602
|
-
return Gn(i, S,
|
|
601
|
+
function Nc(i, S, T) {
|
|
602
|
+
return Gn(i, S, T, !0);
|
|
603
603
|
}
|
|
604
|
-
function Lc(i, S,
|
|
605
|
-
return Gn(i, S,
|
|
604
|
+
function Lc(i, S, T) {
|
|
605
|
+
return Gn(i, S, T, !1);
|
|
606
606
|
}
|
|
607
607
|
var zc = Lc, Uc = Nc;
|
|
608
608
|
vt.Fragment = n, vt.jsx = zc, vt.jsxs = Uc;
|
|
@@ -636,8 +636,8 @@ function i2() {
|
|
|
636
636
|
}
|
|
637
637
|
return _t.Fragment = r, _t.jsx = c, _t.jsxs = c, _t;
|
|
638
638
|
}
|
|
639
|
-
process.env.NODE_ENV === "production" ?
|
|
640
|
-
var d =
|
|
639
|
+
process.env.NODE_ENV === "production" ? Pr.exports = i2() : Pr.exports = o2();
|
|
640
|
+
var d = Pr.exports, l2 = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
|
|
641
641
|
const $n = (e) => {
|
|
642
642
|
let t;
|
|
643
643
|
const r = /* @__PURE__ */ new Set(), n = (l, f) => {
|
|
@@ -653,7 +653,7 @@ const $n = (e) => {
|
|
|
653
653
|
} };
|
|
654
654
|
return t = e(n, a, o), o;
|
|
655
655
|
}, rs = (e) => e ? $n(e) : $n;
|
|
656
|
-
var
|
|
656
|
+
var Fr = { exports: {} }, Ar = {}, Br = { exports: {} }, gr = {};
|
|
657
657
|
/**
|
|
658
658
|
* @license React
|
|
659
659
|
* use-sync-external-store-shim.development.js
|
|
@@ -668,45 +668,45 @@ function u2() {
|
|
|
668
668
|
return Vn || (Vn = 1, process.env.NODE_ENV !== "production" && function() {
|
|
669
669
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
|
670
670
|
var e = Ce, t = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
671
|
-
function r(
|
|
671
|
+
function r(O) {
|
|
672
672
|
{
|
|
673
|
-
for (var
|
|
673
|
+
for (var R = arguments.length, j = new Array(R > 1 ? R - 1 : 0), D = 1; D < R; D++)
|
|
674
674
|
j[D - 1] = arguments[D];
|
|
675
|
-
n("error",
|
|
675
|
+
n("error", O, j);
|
|
676
676
|
}
|
|
677
677
|
}
|
|
678
|
-
function n(
|
|
678
|
+
function n(O, R, j) {
|
|
679
679
|
{
|
|
680
680
|
var D = t.ReactDebugCurrentFrame, N = D.getStackAddendum();
|
|
681
|
-
N !== "" && (
|
|
681
|
+
N !== "" && (R += "%s", j = j.concat([N]));
|
|
682
682
|
var P = j.map(function(U) {
|
|
683
683
|
return String(U);
|
|
684
684
|
});
|
|
685
|
-
P.unshift("Warning: " +
|
|
685
|
+
P.unshift("Warning: " + R), Function.prototype.apply.call(console[O], console, P);
|
|
686
686
|
}
|
|
687
687
|
}
|
|
688
|
-
function a(
|
|
689
|
-
return
|
|
688
|
+
function a(O, R) {
|
|
689
|
+
return O === R && (O !== 0 || 1 / O === 1 / R) || O !== O && R !== R;
|
|
690
690
|
}
|
|
691
691
|
var s = typeof Object.is == "function" ? Object.is : a, c = e.useState, o = e.useEffect, l = e.useLayoutEffect, f = e.useDebugValue, p = !1, u = !1;
|
|
692
|
-
function A(
|
|
692
|
+
function A(O, R, j) {
|
|
693
693
|
p || e.startTransition !== void 0 && (p = !0, r("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));
|
|
694
|
-
var D =
|
|
694
|
+
var D = R();
|
|
695
695
|
if (!u) {
|
|
696
|
-
var N =
|
|
696
|
+
var N = R();
|
|
697
697
|
s(D, N) || (r("The result of getSnapshot should be cached to avoid an infinite loop"), u = !0);
|
|
698
698
|
}
|
|
699
699
|
var P = c({
|
|
700
700
|
inst: {
|
|
701
701
|
value: D,
|
|
702
|
-
getSnapshot:
|
|
702
|
+
getSnapshot: R
|
|
703
703
|
}
|
|
704
704
|
}), U = P[0].inst, I = P[1];
|
|
705
705
|
return l(function() {
|
|
706
|
-
U.value = D, U.getSnapshot =
|
|
706
|
+
U.value = D, U.getSnapshot = R, h(U) && I({
|
|
707
707
|
inst: U
|
|
708
708
|
});
|
|
709
|
-
}, [
|
|
709
|
+
}, [O, D, R]), o(function() {
|
|
710
710
|
h(U) && I({
|
|
711
711
|
inst: U
|
|
712
712
|
});
|
|
@@ -715,26 +715,26 @@ function u2() {
|
|
|
715
715
|
inst: U
|
|
716
716
|
});
|
|
717
717
|
};
|
|
718
|
-
return
|
|
719
|
-
}, [
|
|
718
|
+
return O(M);
|
|
719
|
+
}, [O]), f(D), D;
|
|
720
720
|
}
|
|
721
|
-
function h(
|
|
722
|
-
var
|
|
721
|
+
function h(O) {
|
|
722
|
+
var R = O.getSnapshot, j = O.value;
|
|
723
723
|
try {
|
|
724
|
-
var D =
|
|
724
|
+
var D = R();
|
|
725
725
|
return !s(j, D);
|
|
726
726
|
} catch {
|
|
727
727
|
return !0;
|
|
728
728
|
}
|
|
729
729
|
}
|
|
730
|
-
function
|
|
731
|
-
return
|
|
730
|
+
function _(O, R, j) {
|
|
731
|
+
return R();
|
|
732
732
|
}
|
|
733
|
-
var
|
|
734
|
-
|
|
735
|
-
}()),
|
|
733
|
+
var g = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", b = !g, y = b ? _ : A, m = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : y;
|
|
734
|
+
gr.useSyncExternalStore = m, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
|
|
735
|
+
}()), gr;
|
|
736
736
|
}
|
|
737
|
-
var
|
|
737
|
+
var yr = {};
|
|
738
738
|
/**
|
|
739
739
|
* @license React
|
|
740
740
|
* use-sync-external-store-shim.production.min.js
|
|
@@ -747,7 +747,7 @@ var gr = {};
|
|
|
747
747
|
var Wn;
|
|
748
748
|
function f2() {
|
|
749
749
|
if (Wn)
|
|
750
|
-
return
|
|
750
|
+
return yr;
|
|
751
751
|
Wn = 1;
|
|
752
752
|
var e = Ce;
|
|
753
753
|
function t(u, A) {
|
|
@@ -755,12 +755,12 @@ function f2() {
|
|
|
755
755
|
}
|
|
756
756
|
var r = typeof Object.is == "function" ? Object.is : t, n = e.useState, a = e.useEffect, s = e.useLayoutEffect, c = e.useDebugValue;
|
|
757
757
|
function o(u, A) {
|
|
758
|
-
var h = A(),
|
|
758
|
+
var h = A(), _ = n({ inst: { value: h, getSnapshot: A } }), g = _[0].inst, b = _[1];
|
|
759
759
|
return s(function() {
|
|
760
|
-
|
|
760
|
+
g.value = h, g.getSnapshot = A, l(g) && b({ inst: g });
|
|
761
761
|
}, [u, h, A]), a(function() {
|
|
762
|
-
return l(
|
|
763
|
-
l(
|
|
762
|
+
return l(g) && b({ inst: g }), u(function() {
|
|
763
|
+
l(g) && b({ inst: g });
|
|
764
764
|
});
|
|
765
765
|
}, [u]), c(h), h;
|
|
766
766
|
}
|
|
@@ -778,10 +778,10 @@ function f2() {
|
|
|
778
778
|
return A();
|
|
779
779
|
}
|
|
780
780
|
var p = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? f : o;
|
|
781
|
-
return
|
|
781
|
+
return yr.useSyncExternalStore = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : p, yr;
|
|
782
782
|
}
|
|
783
|
-
process.env.NODE_ENV === "production" ?
|
|
784
|
-
var
|
|
783
|
+
process.env.NODE_ENV === "production" ? Br.exports = f2() : Br.exports = u2();
|
|
784
|
+
var tr = Br.exports;
|
|
785
785
|
/**
|
|
786
786
|
* @license React
|
|
787
787
|
* use-sync-external-store-shim/with-selector.development.js
|
|
@@ -795,25 +795,25 @@ var Hn;
|
|
|
795
795
|
function d2() {
|
|
796
796
|
return Hn || (Hn = 1, process.env.NODE_ENV !== "production" && function() {
|
|
797
797
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
|
798
|
-
var e = Ce, t =
|
|
798
|
+
var e = Ce, t = tr;
|
|
799
799
|
function r(p, u) {
|
|
800
800
|
return p === u && (p !== 0 || 1 / p === 1 / u) || p !== p && u !== u;
|
|
801
801
|
}
|
|
802
802
|
var n = typeof Object.is == "function" ? Object.is : r, a = t.useSyncExternalStore, s = e.useRef, c = e.useEffect, o = e.useMemo, l = e.useDebugValue;
|
|
803
|
-
function f(p, u, A, h,
|
|
804
|
-
var
|
|
805
|
-
|
|
803
|
+
function f(p, u, A, h, _) {
|
|
804
|
+
var g = s(null), b;
|
|
805
|
+
g.current === null ? (b = {
|
|
806
806
|
hasValue: !1,
|
|
807
807
|
value: null
|
|
808
|
-
},
|
|
809
|
-
var
|
|
808
|
+
}, g.current = b) : b = g.current;
|
|
809
|
+
var y = o(function() {
|
|
810
810
|
var j = !1, D, N, P = function(B) {
|
|
811
811
|
if (!j) {
|
|
812
812
|
j = !0, D = B;
|
|
813
813
|
var $ = h(B);
|
|
814
|
-
if (
|
|
814
|
+
if (_ !== void 0 && b.hasValue) {
|
|
815
815
|
var x = b.value;
|
|
816
|
-
if (
|
|
816
|
+
if (_(x, $))
|
|
817
817
|
return N = x, x;
|
|
818
818
|
}
|
|
819
819
|
return N = $, $;
|
|
@@ -822,22 +822,22 @@ function d2() {
|
|
|
822
822
|
if (n(C, B))
|
|
823
823
|
return v;
|
|
824
824
|
var E = h(B);
|
|
825
|
-
return
|
|
825
|
+
return _ !== void 0 && _(v, E) ? v : (D = B, N = E, E);
|
|
826
826
|
}, U = A === void 0 ? null : A, I = function() {
|
|
827
827
|
return P(u());
|
|
828
828
|
}, M = U === null ? void 0 : function() {
|
|
829
829
|
return P(U());
|
|
830
830
|
};
|
|
831
831
|
return [I, M];
|
|
832
|
-
}, [u, A, h,
|
|
832
|
+
}, [u, A, h, _]), m = y[0], O = y[1], R = a(p, m, O);
|
|
833
833
|
return c(function() {
|
|
834
|
-
b.hasValue = !0, b.value =
|
|
835
|
-
}, [
|
|
834
|
+
b.hasValue = !0, b.value = R;
|
|
835
|
+
}, [R]), l(R), R;
|
|
836
836
|
}
|
|
837
|
-
|
|
838
|
-
}()),
|
|
837
|
+
Ar.useSyncExternalStoreWithSelector = f, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
|
|
838
|
+
}()), Ar;
|
|
839
839
|
}
|
|
840
|
-
var
|
|
840
|
+
var mr = {};
|
|
841
841
|
/**
|
|
842
842
|
* @license React
|
|
843
843
|
* use-sync-external-store-shim/with-selector.production.min.js
|
|
@@ -850,50 +850,50 @@ var yr = {};
|
|
|
850
850
|
var Yn;
|
|
851
851
|
function p2() {
|
|
852
852
|
if (Yn)
|
|
853
|
-
return
|
|
853
|
+
return mr;
|
|
854
854
|
Yn = 1;
|
|
855
|
-
var e = Ce, t =
|
|
855
|
+
var e = Ce, t = tr;
|
|
856
856
|
function r(f, p) {
|
|
857
857
|
return f === p && (f !== 0 || 1 / f === 1 / p) || f !== f && p !== p;
|
|
858
858
|
}
|
|
859
859
|
var n = typeof Object.is == "function" ? Object.is : r, a = t.useSyncExternalStore, s = e.useRef, c = e.useEffect, o = e.useMemo, l = e.useDebugValue;
|
|
860
|
-
return
|
|
861
|
-
var
|
|
862
|
-
if (
|
|
863
|
-
var
|
|
864
|
-
|
|
860
|
+
return mr.useSyncExternalStoreWithSelector = function(f, p, u, A, h) {
|
|
861
|
+
var _ = s(null);
|
|
862
|
+
if (_.current === null) {
|
|
863
|
+
var g = { hasValue: !1, value: null };
|
|
864
|
+
_.current = g;
|
|
865
865
|
} else
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
function
|
|
869
|
-
if (!
|
|
870
|
-
if (
|
|
871
|
-
var N =
|
|
866
|
+
g = _.current;
|
|
867
|
+
_ = o(function() {
|
|
868
|
+
function y(D) {
|
|
869
|
+
if (!m) {
|
|
870
|
+
if (m = !0, O = D, D = A(D), h !== void 0 && g.hasValue) {
|
|
871
|
+
var N = g.value;
|
|
872
872
|
if (h(N, D))
|
|
873
|
-
return
|
|
873
|
+
return R = N;
|
|
874
874
|
}
|
|
875
|
-
return
|
|
875
|
+
return R = D;
|
|
876
876
|
}
|
|
877
|
-
if (N =
|
|
877
|
+
if (N = R, n(O, D))
|
|
878
878
|
return N;
|
|
879
879
|
var P = A(D);
|
|
880
|
-
return h !== void 0 && h(N, P) ? N : (
|
|
880
|
+
return h !== void 0 && h(N, P) ? N : (O = D, R = P);
|
|
881
881
|
}
|
|
882
|
-
var
|
|
882
|
+
var m = !1, O, R, j = u === void 0 ? null : u;
|
|
883
883
|
return [function() {
|
|
884
|
-
return
|
|
884
|
+
return y(p());
|
|
885
885
|
}, j === null ? void 0 : function() {
|
|
886
|
-
return
|
|
886
|
+
return y(j());
|
|
887
887
|
}];
|
|
888
888
|
}, [p, u, A, h]);
|
|
889
|
-
var b = a(f,
|
|
889
|
+
var b = a(f, _[0], _[1]);
|
|
890
890
|
return c(function() {
|
|
891
|
-
|
|
891
|
+
g.hasValue = !0, g.value = b;
|
|
892
892
|
}, [b]), l(b), b;
|
|
893
|
-
},
|
|
893
|
+
}, mr;
|
|
894
894
|
}
|
|
895
|
-
process.env.NODE_ENV === "production" ?
|
|
896
|
-
var h2 =
|
|
895
|
+
process.env.NODE_ENV === "production" ? Fr.exports = p2() : Fr.exports = d2();
|
|
896
|
+
var h2 = Fr.exports;
|
|
897
897
|
const A2 = /* @__PURE__ */ ln(h2);
|
|
898
898
|
var ns = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
|
|
899
899
|
const { useDebugValue: g2 } = Ce, { useSyncExternalStoreWithSelector: y2 } = A2;
|
|
@@ -924,7 +924,7 @@ const qn = (e) => {
|
|
|
924
924
|
usePermissionApiV2: !1,
|
|
925
925
|
idaasRedirectUrl: "",
|
|
926
926
|
isGlobal: !1
|
|
927
|
-
},
|
|
927
|
+
}, Qt = rs(() => as), ss = nn(as);
|
|
928
928
|
function De() {
|
|
929
929
|
return an(ss);
|
|
930
930
|
}
|
|
@@ -934,7 +934,7 @@ const cs = ({ children: e, ...t }) => {
|
|
|
934
934
|
...t,
|
|
935
935
|
isGlobal: t.isGlobal ?? !1
|
|
936
936
|
};
|
|
937
|
-
return
|
|
937
|
+
return Qt.setState(n), /* @__PURE__ */ d.jsx(ss.Provider, { value: n, children: e });
|
|
938
938
|
};
|
|
939
939
|
cs.displayName = "ToolkitsContextProvider";
|
|
940
940
|
const v2 = cs;
|
|
@@ -1110,7 +1110,7 @@ function I2(e) {
|
|
|
1110
1110
|
function zt(e) {
|
|
1111
1111
|
return e <= 1 ? "".concat(Number(e) * 100, "%") : e;
|
|
1112
1112
|
}
|
|
1113
|
-
function
|
|
1113
|
+
function vr(e) {
|
|
1114
1114
|
return e.length === 1 ? "0" + e : String(e);
|
|
1115
1115
|
}
|
|
1116
1116
|
function j2(e, t, r) {
|
|
@@ -1120,7 +1120,7 @@ function j2(e, t, r) {
|
|
|
1120
1120
|
b: xe(r, 255) * 255
|
|
1121
1121
|
};
|
|
1122
1122
|
}
|
|
1123
|
-
function
|
|
1123
|
+
function _r(e, t, r) {
|
|
1124
1124
|
return r < 0 && (r += 1), r > 1 && (r -= 1), r < 1 / 6 ? e + (t - e) * (6 * r) : r < 1 / 2 ? t : r < 2 / 3 ? e + (t - e) * (2 / 3 - r) * 6 : e;
|
|
1125
1125
|
}
|
|
1126
1126
|
function P2(e, t, r) {
|
|
@@ -1129,7 +1129,7 @@ function P2(e, t, r) {
|
|
|
1129
1129
|
a = r, s = r, n = r;
|
|
1130
1130
|
else {
|
|
1131
1131
|
var c = r < 0.5 ? r * (1 + t) : r + t - r * t, o = 2 * r - c;
|
|
1132
|
-
n =
|
|
1132
|
+
n = _r(o, c, e + 1 / 3), a = _r(o, c, e), s = _r(o, c, e - 1 / 3);
|
|
1133
1133
|
}
|
|
1134
1134
|
return { r: n * 255, g: a * 255, b: s * 255 };
|
|
1135
1135
|
}
|
|
@@ -1161,9 +1161,9 @@ function B2(e, t, r) {
|
|
|
1161
1161
|
}
|
|
1162
1162
|
function G2(e, t, r, n) {
|
|
1163
1163
|
var a = [
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1164
|
+
vr(Math.round(e).toString(16)),
|
|
1165
|
+
vr(Math.round(t).toString(16)),
|
|
1166
|
+
vr(Math.round(r).toString(16))
|
|
1167
1167
|
];
|
|
1168
1168
|
return n && a[0].startsWith(a[0].charAt(1)) && a[1].startsWith(a[1].charAt(1)) && a[2].startsWith(a[2].charAt(1)) ? a[0].charAt(0) + a[1].charAt(0) + a[2].charAt(0) : a.join("");
|
|
1169
1169
|
}
|
|
@@ -1334,14 +1334,14 @@ function bt(e) {
|
|
|
1334
1334
|
a: r
|
|
1335
1335
|
};
|
|
1336
1336
|
}
|
|
1337
|
-
var N2 = "[-\\+]?\\d+%?", L2 = "[-\\+]?\\d*\\.\\d+%?", Ye = "(?:".concat(L2, ")|(?:").concat(N2, ")"),
|
|
1337
|
+
var N2 = "[-\\+]?\\d+%?", L2 = "[-\\+]?\\d*\\.\\d+%?", Ye = "(?:".concat(L2, ")|(?:").concat(N2, ")"), br = "[\\s|\\(]+(".concat(Ye, ")[,|\\s]+(").concat(Ye, ")[,|\\s]+(").concat(Ye, ")\\s*\\)?"), Sr = "[\\s|\\(]+(".concat(Ye, ")[,|\\s]+(").concat(Ye, ")[,|\\s]+(").concat(Ye, ")[,|\\s]+(").concat(Ye, ")\\s*\\)?"), Oe = {
|
|
1338
1338
|
CSS_UNIT: new RegExp(Ye),
|
|
1339
|
-
rgb: new RegExp("rgb" +
|
|
1340
|
-
rgba: new RegExp("rgba" +
|
|
1341
|
-
hsl: new RegExp("hsl" +
|
|
1342
|
-
hsla: new RegExp("hsla" +
|
|
1343
|
-
hsv: new RegExp("hsv" +
|
|
1344
|
-
hsva: new RegExp("hsva" +
|
|
1339
|
+
rgb: new RegExp("rgb" + br),
|
|
1340
|
+
rgba: new RegExp("rgba" + Sr),
|
|
1341
|
+
hsl: new RegExp("hsl" + br),
|
|
1342
|
+
hsla: new RegExp("hsla" + Sr),
|
|
1343
|
+
hsv: new RegExp("hsv" + br),
|
|
1344
|
+
hsva: new RegExp("hsva" + Sr),
|
|
1345
1345
|
hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
|
|
1346
1346
|
hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,
|
|
1347
1347
|
hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
|
|
@@ -1471,7 +1471,7 @@ function Nr(e) {
|
|
|
1471
1471
|
return h;
|
|
1472
1472
|
}) : r;
|
|
1473
1473
|
}
|
|
1474
|
-
var
|
|
1474
|
+
var xr = {
|
|
1475
1475
|
red: "#F5222D",
|
|
1476
1476
|
volcano: "#FA541C",
|
|
1477
1477
|
orange: "#FA8C16",
|
|
@@ -1485,14 +1485,14 @@ var Sr = {
|
|
|
1485
1485
|
purple: "#722ED1",
|
|
1486
1486
|
magenta: "#EB2F96",
|
|
1487
1487
|
grey: "#666666"
|
|
1488
|
-
},
|
|
1489
|
-
Object.keys(
|
|
1490
|
-
|
|
1488
|
+
}, qt = {}, Cr = {};
|
|
1489
|
+
Object.keys(xr).forEach(function(e) {
|
|
1490
|
+
qt[e] = Nr(xr[e]), qt[e].primary = qt[e][5], Cr[e] = Nr(xr[e], {
|
|
1491
1491
|
theme: "dark",
|
|
1492
1492
|
backgroundColor: "#141414"
|
|
1493
|
-
}),
|
|
1493
|
+
}), Cr[e].primary = Cr[e][5];
|
|
1494
1494
|
});
|
|
1495
|
-
var H2 =
|
|
1495
|
+
var H2 = qt.blue;
|
|
1496
1496
|
function aa(e, t) {
|
|
1497
1497
|
var r = Object.keys(e);
|
|
1498
1498
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -1634,22 +1634,22 @@ function so() {
|
|
|
1634
1634
|
function ys(e, t, r) {
|
|
1635
1635
|
!t && !zr[r] && (e(!1, r), zr[r] = !0);
|
|
1636
1636
|
}
|
|
1637
|
-
function
|
|
1637
|
+
function rr(e, t) {
|
|
1638
1638
|
ys(no, e, t);
|
|
1639
1639
|
}
|
|
1640
1640
|
function co(e, t) {
|
|
1641
1641
|
ys(ao, e, t);
|
|
1642
1642
|
}
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1643
|
+
rr.preMessage = ro;
|
|
1644
|
+
rr.resetWarned = so;
|
|
1645
|
+
rr.noteOnce = co;
|
|
1646
1646
|
function oo(e) {
|
|
1647
1647
|
return e.replace(/-(.)/g, function(t, r) {
|
|
1648
1648
|
return r.toUpperCase();
|
|
1649
1649
|
});
|
|
1650
1650
|
}
|
|
1651
1651
|
function io(e, t) {
|
|
1652
|
-
|
|
1652
|
+
rr(e, "[@ant-design/icons] ".concat(t));
|
|
1653
1653
|
}
|
|
1654
1654
|
function oa(e) {
|
|
1655
1655
|
return at(e) === "object" && typeof e.name == "string" && typeof e.theme == "string" && (at(e.icon) === "object" || typeof e.icon == "function");
|
|
@@ -1761,7 +1761,7 @@ function po(e) {
|
|
|
1761
1761
|
function ho() {
|
|
1762
1762
|
return Qe({}, wt);
|
|
1763
1763
|
}
|
|
1764
|
-
var
|
|
1764
|
+
var nr = function(t) {
|
|
1765
1765
|
var r = t.icon, n = t.className, a = t.onClick, s = t.style, c = t.primaryColor, o = t.secondaryColor, l = ls(t, fo), f = Re.useRef(), p = wt;
|
|
1766
1766
|
if (c && (p = {
|
|
1767
1767
|
primaryColor: c,
|
|
@@ -1784,10 +1784,10 @@ var rr = function(t) {
|
|
|
1784
1784
|
ref: f
|
|
1785
1785
|
}));
|
|
1786
1786
|
};
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
const dn =
|
|
1787
|
+
nr.displayName = "IconReact";
|
|
1788
|
+
nr.getTwoToneColors = ho;
|
|
1789
|
+
nr.setTwoToneColors = po;
|
|
1790
|
+
const dn = nr;
|
|
1791
1791
|
function _s(e) {
|
|
1792
1792
|
var t = vs(e), r = is(t, 2), n = r[0], a = r[1];
|
|
1793
1793
|
return dn.setTwoToneColors({
|
|
@@ -1801,13 +1801,13 @@ function Ao() {
|
|
|
1801
1801
|
}
|
|
1802
1802
|
var go = ["className", "icon", "spin", "rotate", "tabIndex", "onClick", "twoToneColor"];
|
|
1803
1803
|
_s(H2.primary);
|
|
1804
|
-
var
|
|
1805
|
-
var r, n = e.className, a = e.icon, s = e.spin, c = e.rotate, o = e.tabIndex, l = e.onClick, f = e.twoToneColor, p = ls(e, go), u = Re.useContext(os), A = u.prefixCls, h = A === void 0 ? "anticon" : A,
|
|
1804
|
+
var ar = /* @__PURE__ */ Re.forwardRef(function(e, t) {
|
|
1805
|
+
var r, n = e.className, a = e.icon, s = e.spin, c = e.rotate, o = e.tabIndex, l = e.onClick, f = e.twoToneColor, p = ls(e, go), u = Re.useContext(os), A = u.prefixCls, h = A === void 0 ? "anticon" : A, _ = u.rootClassName, g = R2(_, h, (r = {}, Gr(r, "".concat(h, "-").concat(a.name), !!a.name), Gr(r, "".concat(h, "-spin"), !!s || a.name === "loading"), r), n), b = o;
|
|
1806
1806
|
b === void 0 && l && (b = -1);
|
|
1807
|
-
var
|
|
1807
|
+
var y = c ? {
|
|
1808
1808
|
msTransform: "rotate(".concat(c, "deg)"),
|
|
1809
1809
|
transform: "rotate(".concat(c, "deg)")
|
|
1810
|
-
} : void 0,
|
|
1810
|
+
} : void 0, m = vs(f), O = is(m, 2), R = O[0], j = O[1];
|
|
1811
1811
|
return /* @__PURE__ */ Re.createElement("span", ht({
|
|
1812
1812
|
role: "img",
|
|
1813
1813
|
"aria-label": a.name
|
|
@@ -1815,18 +1815,18 @@ var nr = /* @__PURE__ */ Re.forwardRef(function(e, t) {
|
|
|
1815
1815
|
ref: t,
|
|
1816
1816
|
tabIndex: b,
|
|
1817
1817
|
onClick: l,
|
|
1818
|
-
className:
|
|
1818
|
+
className: g
|
|
1819
1819
|
}), /* @__PURE__ */ Re.createElement(dn, {
|
|
1820
1820
|
icon: a,
|
|
1821
|
-
primaryColor:
|
|
1821
|
+
primaryColor: R,
|
|
1822
1822
|
secondaryColor: j,
|
|
1823
|
-
style:
|
|
1823
|
+
style: y
|
|
1824
1824
|
}));
|
|
1825
1825
|
});
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
const pn =
|
|
1826
|
+
ar.displayName = "AntdIcon";
|
|
1827
|
+
ar.getTwoToneColor = Ao;
|
|
1828
|
+
ar.setTwoToneColor = _s;
|
|
1829
|
+
const pn = ar;
|
|
1830
1830
|
var yo = { 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" };
|
|
1831
1831
|
const mo = yo;
|
|
1832
1832
|
var bs = function(t, r) {
|
|
@@ -1922,9 +1922,9 @@ function Rs(e) {
|
|
|
1922
1922
|
return t == ko || t == $o || t == Uo || t == Vo;
|
|
1923
1923
|
}
|
|
1924
1924
|
var Wo = ke["__core-js_shared__"];
|
|
1925
|
-
const
|
|
1925
|
+
const wr = Wo;
|
|
1926
1926
|
var da = function() {
|
|
1927
|
-
var e = /[^.]+$/.exec(
|
|
1927
|
+
var e = /[^.]+$/.exec(wr && wr.keys && wr.keys.IE_PROTO || "");
|
|
1928
1928
|
return e ? "Symbol(src)_1." + e : "";
|
|
1929
1929
|
}();
|
|
1930
1930
|
function Ho(e) {
|
|
@@ -2000,9 +2000,9 @@ var ui = function() {
|
|
|
2000
2000
|
} catch {
|
|
2001
2001
|
}
|
|
2002
2002
|
}();
|
|
2003
|
-
const
|
|
2004
|
-
var fi =
|
|
2005
|
-
return
|
|
2003
|
+
const Zt = ui;
|
|
2004
|
+
var fi = Zt ? function(e, t) {
|
|
2005
|
+
return Zt(e, "toString", {
|
|
2006
2006
|
configurable: !0,
|
|
2007
2007
|
enumerable: !1,
|
|
2008
2008
|
value: li(t),
|
|
@@ -2013,12 +2013,12 @@ const di = fi;
|
|
|
2013
2013
|
var pi = ii(di);
|
|
2014
2014
|
const Ms = pi;
|
|
2015
2015
|
var hi = 9007199254740991, Ai = /^(?:0|[1-9]\d*)$/;
|
|
2016
|
-
function
|
|
2016
|
+
function sr(e, t) {
|
|
2017
2017
|
var r = typeof e;
|
|
2018
2018
|
return t = t ?? hi, !!t && (r == "number" || r != "symbol" && Ai.test(e)) && e > -1 && e % 1 == 0 && e < t;
|
|
2019
2019
|
}
|
|
2020
2020
|
function Is(e, t, r) {
|
|
2021
|
-
t == "__proto__" &&
|
|
2021
|
+
t == "__proto__" && Zt ? Zt(e, t, {
|
|
2022
2022
|
configurable: !0,
|
|
2023
2023
|
enumerable: !0,
|
|
2024
2024
|
value: r,
|
|
@@ -2067,7 +2067,7 @@ function Bs(e, t, r) {
|
|
|
2067
2067
|
if (!At(r))
|
|
2068
2068
|
return !1;
|
|
2069
2069
|
var n = typeof t;
|
|
2070
|
-
return (n == "number" ? gn(r) &&
|
|
2070
|
+
return (n == "number" ? gn(r) && sr(t, r.length) : n == "string" && t in r) ? Ft(r[t], e) : !1;
|
|
2071
2071
|
}
|
|
2072
2072
|
function _i(e) {
|
|
2073
2073
|
return Fs(function(t, r) {
|
|
@@ -2115,10 +2115,10 @@ function r1(e) {
|
|
|
2115
2115
|
return e(t);
|
|
2116
2116
|
};
|
|
2117
2117
|
}
|
|
2118
|
-
var zs = typeof exports == "object" && exports && !exports.nodeType && exports, Et = zs && typeof module == "object" && module && !module.nodeType && module, n1 = Et && Et.exports === zs,
|
|
2118
|
+
var zs = typeof exports == "object" && exports && !exports.nodeType && exports, Et = zs && typeof module == "object" && module && !module.nodeType && module, n1 = Et && Et.exports === zs, Er = n1 && Cs.process, a1 = function() {
|
|
2119
2119
|
try {
|
|
2120
2120
|
var e = Et && Et.require && Et.require("util").types;
|
|
2121
|
-
return e ||
|
|
2121
|
+
return e || Er && Er.binding && Er.binding("util");
|
|
2122
2122
|
} catch {
|
|
2123
2123
|
}
|
|
2124
2124
|
}();
|
|
@@ -2133,7 +2133,7 @@ function ks(e, t) {
|
|
|
2133
2133
|
(f == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
2134
2134
|
a && (f == "offset" || f == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
2135
2135
|
s && (f == "buffer" || f == "byteLength" || f == "byteOffset") || // Skip index properties.
|
|
2136
|
-
|
|
2136
|
+
sr(f, l))) && o.push(f);
|
|
2137
2137
|
return o;
|
|
2138
2138
|
}
|
|
2139
2139
|
function $s(e, t) {
|
|
@@ -2228,7 +2228,7 @@ st.prototype.set = j1;
|
|
|
2228
2228
|
function P1() {
|
|
2229
2229
|
this.__data__ = [], this.size = 0;
|
|
2230
2230
|
}
|
|
2231
|
-
function
|
|
2231
|
+
function cr(e, t) {
|
|
2232
2232
|
for (var r = e.length; r--; )
|
|
2233
2233
|
if (Ft(e[r][0], t))
|
|
2234
2234
|
return r;
|
|
@@ -2236,21 +2236,21 @@ function sr(e, t) {
|
|
|
2236
2236
|
}
|
|
2237
2237
|
var F1 = Array.prototype, B1 = F1.splice;
|
|
2238
2238
|
function G1(e) {
|
|
2239
|
-
var t = this.__data__, r =
|
|
2239
|
+
var t = this.__data__, r = cr(t, e);
|
|
2240
2240
|
if (r < 0)
|
|
2241
2241
|
return !1;
|
|
2242
2242
|
var n = t.length - 1;
|
|
2243
2243
|
return r == n ? t.pop() : B1.call(t, r, 1), --this.size, !0;
|
|
2244
2244
|
}
|
|
2245
2245
|
function N1(e) {
|
|
2246
|
-
var t = this.__data__, r =
|
|
2246
|
+
var t = this.__data__, r = cr(t, e);
|
|
2247
2247
|
return r < 0 ? void 0 : t[r][1];
|
|
2248
2248
|
}
|
|
2249
2249
|
function L1(e) {
|
|
2250
|
-
return
|
|
2250
|
+
return cr(this.__data__, e) > -1;
|
|
2251
2251
|
}
|
|
2252
2252
|
function z1(e, t) {
|
|
2253
|
-
var r = this.__data__, n =
|
|
2253
|
+
var r = this.__data__, n = cr(r, e);
|
|
2254
2254
|
return n < 0 ? (++this.size, r.push([e, t])) : r[n][1] = t, this;
|
|
2255
2255
|
}
|
|
2256
2256
|
function $e(e) {
|
|
@@ -2278,22 +2278,22 @@ function $1(e) {
|
|
|
2278
2278
|
var t = typeof e;
|
|
2279
2279
|
return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
|
|
2280
2280
|
}
|
|
2281
|
-
function
|
|
2281
|
+
function or(e, t) {
|
|
2282
2282
|
var r = e.__data__;
|
|
2283
2283
|
return $1(t) ? r[typeof t == "string" ? "string" : "hash"] : r.map;
|
|
2284
2284
|
}
|
|
2285
2285
|
function V1(e) {
|
|
2286
|
-
var t =
|
|
2286
|
+
var t = or(this, e).delete(e);
|
|
2287
2287
|
return this.size -= t ? 1 : 0, t;
|
|
2288
2288
|
}
|
|
2289
2289
|
function W1(e) {
|
|
2290
|
-
return
|
|
2290
|
+
return or(this, e).get(e);
|
|
2291
2291
|
}
|
|
2292
2292
|
function H1(e) {
|
|
2293
|
-
return
|
|
2293
|
+
return or(this, e).has(e);
|
|
2294
2294
|
}
|
|
2295
2295
|
function Y1(e, t) {
|
|
2296
|
-
var r =
|
|
2296
|
+
var r = or(this, e), n = r.size;
|
|
2297
2297
|
return r.set(e, t), this.size += r.size == n ? 0 : 1, this;
|
|
2298
2298
|
}
|
|
2299
2299
|
function Ve(e) {
|
|
@@ -2339,7 +2339,7 @@ const e3 = J1;
|
|
|
2339
2339
|
function vn(e) {
|
|
2340
2340
|
return e == null ? "" : Os(e);
|
|
2341
2341
|
}
|
|
2342
|
-
function
|
|
2342
|
+
function ir(e, t) {
|
|
2343
2343
|
return Ue(e) ? e : b1(e, t) ? [e] : e3(vn(e));
|
|
2344
2344
|
}
|
|
2345
2345
|
var t3 = 1 / 0;
|
|
@@ -2350,7 +2350,7 @@ function _n(e) {
|
|
|
2350
2350
|
return t == "0" && 1 / e == -t3 ? "-0" : t;
|
|
2351
2351
|
}
|
|
2352
2352
|
function Ws(e, t) {
|
|
2353
|
-
t =
|
|
2353
|
+
t = ir(t, e);
|
|
2354
2354
|
for (var r = 0, n = t.length; e != null && r < n; )
|
|
2355
2355
|
e = e[_n(t[r++])];
|
|
2356
2356
|
return r && r == n ? e : void 0;
|
|
@@ -2505,13 +2505,13 @@ function $3(e) {
|
|
|
2505
2505
|
function V3(e) {
|
|
2506
2506
|
return this.__data__.has(e);
|
|
2507
2507
|
}
|
|
2508
|
-
function
|
|
2508
|
+
function Jt(e) {
|
|
2509
2509
|
var t = -1, r = e == null ? 0 : e.length;
|
|
2510
2510
|
for (this.__data__ = new Ve(); ++t < r; )
|
|
2511
2511
|
this.add(e[t]);
|
|
2512
2512
|
}
|
|
2513
|
-
|
|
2514
|
-
|
|
2513
|
+
Jt.prototype.add = Jt.prototype.push = $3;
|
|
2514
|
+
Jt.prototype.has = V3;
|
|
2515
2515
|
function W3(e, t) {
|
|
2516
2516
|
for (var r = -1, n = e == null ? 0 : e.length; ++r < n; )
|
|
2517
2517
|
if (t(e[r], r, e))
|
|
@@ -2529,11 +2529,11 @@ function Ks(e, t, r, n, a, s) {
|
|
|
2529
2529
|
var f = s.get(e), p = s.get(t);
|
|
2530
2530
|
if (f && p)
|
|
2531
2531
|
return f == t && p == e;
|
|
2532
|
-
var u = -1, A = !0, h = r & Q3 ? new
|
|
2532
|
+
var u = -1, A = !0, h = r & Q3 ? new Jt() : void 0;
|
|
2533
2533
|
for (s.set(e, t), s.set(t, e); ++u < o; ) {
|
|
2534
|
-
var
|
|
2534
|
+
var _ = e[u], g = t[u];
|
|
2535
2535
|
if (n)
|
|
2536
|
-
var b = c ? n(
|
|
2536
|
+
var b = c ? n(g, _, u, t, e, s) : n(_, g, u, e, t, s);
|
|
2537
2537
|
if (b !== void 0) {
|
|
2538
2538
|
if (b)
|
|
2539
2539
|
continue;
|
|
@@ -2541,14 +2541,14 @@ function Ks(e, t, r, n, a, s) {
|
|
|
2541
2541
|
break;
|
|
2542
2542
|
}
|
|
2543
2543
|
if (h) {
|
|
2544
|
-
if (!W3(t, function(
|
|
2545
|
-
if (!H3(h,
|
|
2546
|
-
return h.push(
|
|
2544
|
+
if (!W3(t, function(y, m) {
|
|
2545
|
+
if (!H3(h, m) && (_ === y || a(_, y, r, n, s)))
|
|
2546
|
+
return h.push(m);
|
|
2547
2547
|
})) {
|
|
2548
2548
|
A = !1;
|
|
2549
2549
|
break;
|
|
2550
2550
|
}
|
|
2551
|
-
} else if (!(
|
|
2551
|
+
} else if (!(_ === g || a(_, g, r, n, s))) {
|
|
2552
2552
|
A = !1;
|
|
2553
2553
|
break;
|
|
2554
2554
|
}
|
|
@@ -2567,7 +2567,7 @@ function K3(e) {
|
|
|
2567
2567
|
r[++t] = n;
|
|
2568
2568
|
}), r;
|
|
2569
2569
|
}
|
|
2570
|
-
var X3 = 1, Z3 = 2, J3 = "[object Boolean]", e0 = "[object Date]", t0 = "[object Error]", r0 = "[object Map]", n0 = "[object Number]", a0 = "[object RegExp]", s0 = "[object Set]", c0 = "[object String]", o0 = "[object Symbol]", i0 = "[object ArrayBuffer]", l0 = "[object DataView]", Da = Fe ? Fe.prototype : void 0,
|
|
2570
|
+
var X3 = 1, Z3 = 2, J3 = "[object Boolean]", e0 = "[object Date]", t0 = "[object Error]", r0 = "[object Map]", n0 = "[object Number]", a0 = "[object RegExp]", s0 = "[object Set]", c0 = "[object String]", o0 = "[object Symbol]", i0 = "[object ArrayBuffer]", l0 = "[object DataView]", Da = Fe ? Fe.prototype : void 0, Or = Da ? Da.valueOf : void 0;
|
|
2571
2571
|
function u0(e, t, r, n, a, s, c) {
|
|
2572
2572
|
switch (r) {
|
|
2573
2573
|
case l0:
|
|
@@ -2598,8 +2598,8 @@ function u0(e, t, r, n, a, s, c) {
|
|
|
2598
2598
|
var p = Ks(o(e), o(t), n, a, s, c);
|
|
2599
2599
|
return c.delete(e), p;
|
|
2600
2600
|
case o0:
|
|
2601
|
-
if (
|
|
2602
|
-
return
|
|
2601
|
+
if (Or)
|
|
2602
|
+
return Or.call(e) == Or.call(t);
|
|
2603
2603
|
}
|
|
2604
2604
|
return !1;
|
|
2605
2605
|
}
|
|
@@ -2613,27 +2613,27 @@ function h0(e, t, r, n, a, s) {
|
|
|
2613
2613
|
if (!(c ? A in t : p0.call(t, A)))
|
|
2614
2614
|
return !1;
|
|
2615
2615
|
}
|
|
2616
|
-
var h = s.get(e),
|
|
2617
|
-
if (h &&
|
|
2618
|
-
return h == t &&
|
|
2619
|
-
var
|
|
2616
|
+
var h = s.get(e), _ = s.get(t);
|
|
2617
|
+
if (h && _)
|
|
2618
|
+
return h == t && _ == e;
|
|
2619
|
+
var g = !0;
|
|
2620
2620
|
s.set(e, t), s.set(t, e);
|
|
2621
2621
|
for (var b = c; ++u < l; ) {
|
|
2622
2622
|
A = o[u];
|
|
2623
|
-
var
|
|
2623
|
+
var y = e[A], m = t[A];
|
|
2624
2624
|
if (n)
|
|
2625
|
-
var
|
|
2626
|
-
if (!(
|
|
2627
|
-
|
|
2625
|
+
var O = c ? n(m, y, A, t, e, s) : n(y, m, A, e, t, s);
|
|
2626
|
+
if (!(O === void 0 ? y === m || a(y, m, r, n, s) : O)) {
|
|
2627
|
+
g = !1;
|
|
2628
2628
|
break;
|
|
2629
2629
|
}
|
|
2630
2630
|
b || (b = A == "constructor");
|
|
2631
2631
|
}
|
|
2632
|
-
if (
|
|
2633
|
-
var
|
|
2634
|
-
|
|
2632
|
+
if (g && !b) {
|
|
2633
|
+
var R = e.constructor, j = t.constructor;
|
|
2634
|
+
R != j && "constructor" in e && "constructor" in t && !(typeof R == "function" && R instanceof R && typeof j == "function" && j instanceof j) && (g = !1);
|
|
2635
2635
|
}
|
|
2636
|
-
return s.delete(e), s.delete(t),
|
|
2636
|
+
return s.delete(e), s.delete(t), g;
|
|
2637
2637
|
}
|
|
2638
2638
|
var A0 = 1, Ma = "[object Arguments]", Ia = "[object Array]", $t = "[object Object]", g0 = Object.prototype, ja = g0.hasOwnProperty;
|
|
2639
2639
|
function y0(e, t, r, n, a, s) {
|
|
@@ -2648,10 +2648,10 @@ function y0(e, t, r, n, a, s) {
|
|
|
2648
2648
|
if (A && !p)
|
|
2649
2649
|
return s || (s = new Ke()), c || Us(e) ? Ks(e, t, r, n, a, s) : u0(e, t, l, r, n, a, s);
|
|
2650
2650
|
if (!(r & A0)) {
|
|
2651
|
-
var h = p && ja.call(e, "__wrapped__"),
|
|
2652
|
-
if (h ||
|
|
2653
|
-
var
|
|
2654
|
-
return s || (s = new Ke()), a(
|
|
2651
|
+
var h = p && ja.call(e, "__wrapped__"), _ = u && ja.call(t, "__wrapped__");
|
|
2652
|
+
if (h || _) {
|
|
2653
|
+
var g = h ? e.value() : e, b = _ ? t.value() : t;
|
|
2654
|
+
return s || (s = new Ke()), a(g, b, r, n, s);
|
|
2655
2655
|
}
|
|
2656
2656
|
}
|
|
2657
2657
|
return A ? (s || (s = new Ke()), h0(e, t, r, n, a, s)) : !1;
|
|
@@ -2663,14 +2663,14 @@ function m0(e, t) {
|
|
|
2663
2663
|
return e != null && t in Object(e);
|
|
2664
2664
|
}
|
|
2665
2665
|
function Zs(e, t, r) {
|
|
2666
|
-
t =
|
|
2666
|
+
t = ir(t, e);
|
|
2667
2667
|
for (var n = -1, a = t.length, s = !1; ++n < a; ) {
|
|
2668
2668
|
var c = _n(t[n]);
|
|
2669
2669
|
if (!(s = e != null && r(e, c)))
|
|
2670
2670
|
break;
|
|
2671
2671
|
e = e[c];
|
|
2672
2672
|
}
|
|
2673
|
-
return s || ++n != a ? s : (a = e == null ? 0 : e.length, !!a && An(a) &&
|
|
2673
|
+
return s || ++n != a ? s : (a = e == null ? 0 : e.length, !!a && An(a) && sr(c, a) && (Ue(e) || yn(e)));
|
|
2674
2674
|
}
|
|
2675
2675
|
function v0(e, t) {
|
|
2676
2676
|
return e != null && Zs(e, t, m0);
|
|
@@ -2705,14 +2705,14 @@ function D0(e, t) {
|
|
|
2705
2705
|
function M0(e, t, r, n) {
|
|
2706
2706
|
if (!At(e))
|
|
2707
2707
|
return e;
|
|
2708
|
-
t =
|
|
2708
|
+
t = ir(t, e);
|
|
2709
2709
|
for (var a = -1, s = t.length, c = s - 1, o = e; o != null && ++a < s; ) {
|
|
2710
2710
|
var l = _n(t[a]), f = r;
|
|
2711
2711
|
if (l === "__proto__" || l === "constructor" || l === "prototype")
|
|
2712
2712
|
return e;
|
|
2713
2713
|
if (a != c) {
|
|
2714
2714
|
var p = o[l];
|
|
2715
|
-
f = n ? n(p, l, o) : void 0, f === void 0 && (f = At(p) ? p :
|
|
2715
|
+
f = n ? n(p, l, o) : void 0, f === void 0 && (f = At(p) ? p : sr(t[a + 1]) ? [] : {});
|
|
2716
2716
|
}
|
|
2717
2717
|
js(o, l, f), o = o[l];
|
|
2718
2718
|
}
|
|
@@ -2721,7 +2721,7 @@ function M0(e, t, r, n) {
|
|
|
2721
2721
|
function I0(e, t, r) {
|
|
2722
2722
|
for (var n = -1, a = t.length, s = {}; ++n < a; ) {
|
|
2723
2723
|
var c = t[n], o = Ws(e, c);
|
|
2724
|
-
r(o, c) && M0(s,
|
|
2724
|
+
r(o, c) && M0(s, ir(c, e), o);
|
|
2725
2725
|
}
|
|
2726
2726
|
return s;
|
|
2727
2727
|
}
|
|
@@ -2810,37 +2810,37 @@ function J0(e, t, r) {
|
|
|
2810
2810
|
"g"
|
|
2811
2811
|
), h = Ba.call(t, "sourceURL") ? "//# sourceURL=" + (t.sourceURL + "").replace(/\s/g, " ") + `
|
|
2812
2812
|
` : "";
|
|
2813
|
-
e.replace(A, function(b,
|
|
2814
|
-
return
|
|
2815
|
-
__e(` +
|
|
2816
|
-
'`),
|
|
2817
|
-
` +
|
|
2818
|
-
__p += '`),
|
|
2819
|
-
((__t = (` +
|
|
2813
|
+
e.replace(A, function(b, y, m, O, R, j) {
|
|
2814
|
+
return m || (m = O), u += e.slice(f, j).replace(X0, N0), y && (o = !0, u += `' +
|
|
2815
|
+
__e(` + y + `) +
|
|
2816
|
+
'`), R && (l = !0, u += `';
|
|
2817
|
+
` + R + `;
|
|
2818
|
+
__p += '`), m && (u += `' +
|
|
2819
|
+
((__t = (` + m + `)) == null ? '' : __t) +
|
|
2820
2820
|
'`), f = j + b.length, b;
|
|
2821
2821
|
}), u += `';
|
|
2822
2822
|
`;
|
|
2823
|
-
var
|
|
2824
|
-
if (!
|
|
2823
|
+
var _ = Ba.call(t, "variable") && t.variable;
|
|
2824
|
+
if (!_)
|
|
2825
2825
|
u = `with (obj) {
|
|
2826
2826
|
` + u + `
|
|
2827
2827
|
}
|
|
2828
2828
|
`;
|
|
2829
|
-
else if (q0.test(
|
|
2829
|
+
else if (q0.test(_))
|
|
2830
2830
|
throw new Error(W0);
|
|
2831
|
-
u = (l ? u.replace(H0, "") : u).replace(Y0, "$1").replace(Q0, "$1;"), u = "function(" + (
|
|
2832
|
-
` + (
|
|
2831
|
+
u = (l ? u.replace(H0, "") : u).replace(Y0, "$1").replace(Q0, "$1;"), u = "function(" + (_ || "obj") + `) {
|
|
2832
|
+
` + (_ ? "" : `obj || (obj = {});
|
|
2833
2833
|
`) + "var __t, __p = ''" + (o ? ", __e = _.escape" : "") + (l ? `, __j = Array.prototype.join;
|
|
2834
2834
|
function print() { __p += __j.call(arguments, '') }
|
|
2835
2835
|
` : `;
|
|
2836
2836
|
`) + u + `return __p
|
|
2837
2837
|
}`;
|
|
2838
|
-
var
|
|
2838
|
+
var g = y3(function() {
|
|
2839
2839
|
return Function(s, h + "return " + u).apply(void 0, c);
|
|
2840
2840
|
});
|
|
2841
|
-
if (
|
|
2842
|
-
throw
|
|
2843
|
-
return
|
|
2841
|
+
if (g.source = u, qs(g))
|
|
2842
|
+
throw g;
|
|
2843
|
+
return g;
|
|
2844
2844
|
}
|
|
2845
2845
|
const el = {
|
|
2846
2846
|
global: {
|
|
@@ -2935,17 +2935,17 @@ function we() {
|
|
|
2935
2935
|
return (t, r) => T0(e, t) ? J0(r3(e, t))(r) : t;
|
|
2936
2936
|
}
|
|
2937
2937
|
const rl = (e) => {
|
|
2938
|
-
const { initialTags: t, addable: r, removable: n, addCallback: a, removeCallback: s } = e, c = we(), { token: o } = qa.useToken(), [l, f] = Te([]), [p, u] = Te(!1), [A, h] = Te(""), [
|
|
2938
|
+
const { initialTags: t, addable: r, removable: n, addCallback: a, removeCallback: s } = e, c = we(), { token: o } = qa.useToken(), [l, f] = Te([]), [p, u] = Te(!1), [A, h] = Te(""), [_, g] = Te(-1), [b, y] = Te(""), m = _e(null), O = _e(null);
|
|
2939
2939
|
Pe(() => {
|
|
2940
2940
|
f(t ?? []);
|
|
2941
2941
|
}, [t]), Pe(() => {
|
|
2942
2942
|
var B;
|
|
2943
|
-
p && ((B =
|
|
2943
|
+
p && ((B = m.current) == null || B.focus());
|
|
2944
2944
|
}, [p]), Pe(() => {
|
|
2945
2945
|
var B;
|
|
2946
|
-
(B =
|
|
2946
|
+
(B = O.current) == null || B.focus();
|
|
2947
2947
|
}, [A]);
|
|
2948
|
-
const
|
|
2948
|
+
const R = async (B) => {
|
|
2949
2949
|
if (await (s == null ? void 0 : s(B))) {
|
|
2950
2950
|
const x = l.filter((C) => C !== B);
|
|
2951
2951
|
f(x);
|
|
@@ -2957,10 +2957,10 @@ const rl = (e) => {
|
|
|
2957
2957
|
}, N = async () => {
|
|
2958
2958
|
A && l.indexOf(A) === -1 && await (a == null ? void 0 : a(A)) && f([...l, A]), u(!1), h("");
|
|
2959
2959
|
}, P = (B) => {
|
|
2960
|
-
|
|
2960
|
+
y(B.target.value);
|
|
2961
2961
|
}, U = () => {
|
|
2962
2962
|
const B = [...l];
|
|
2963
|
-
B[
|
|
2963
|
+
B[_] = b, f(B), g(-1), h("");
|
|
2964
2964
|
}, I = {
|
|
2965
2965
|
width: 78,
|
|
2966
2966
|
verticalAlign: "top"
|
|
@@ -2969,10 +2969,10 @@ const rl = (e) => {
|
|
|
2969
2969
|
borderStyle: "dashed"
|
|
2970
2970
|
};
|
|
2971
2971
|
return /* @__PURE__ */ d.jsxs(nt, { wrap: !0, size: [0, 8], children: [
|
|
2972
|
-
/* @__PURE__ */ d.jsx(nt, { wrap: !0, size: [0, 8], children: l.map((B, $) =>
|
|
2972
|
+
/* @__PURE__ */ d.jsx(nt, { wrap: !0, size: [0, 8], children: l.map((B, $) => _ === $ ? /* @__PURE__ */ d.jsx(
|
|
2973
2973
|
rt,
|
|
2974
2974
|
{
|
|
2975
|
-
ref:
|
|
2975
|
+
ref: O,
|
|
2976
2976
|
size: "small",
|
|
2977
2977
|
style: I,
|
|
2978
2978
|
value: b,
|
|
@@ -2987,13 +2987,13 @@ const rl = (e) => {
|
|
|
2987
2987
|
closable: n,
|
|
2988
2988
|
style: { userSelect: "none" },
|
|
2989
2989
|
onClose: async (x) => {
|
|
2990
|
-
x.preventDefault(), await
|
|
2990
|
+
x.preventDefault(), await R(B);
|
|
2991
2991
|
},
|
|
2992
2992
|
children: /* @__PURE__ */ d.jsx(
|
|
2993
2993
|
"span",
|
|
2994
2994
|
{
|
|
2995
2995
|
onDoubleClick: (x) => {
|
|
2996
|
-
$ !== 0 && (
|
|
2996
|
+
$ !== 0 && (g($), y(B), x.preventDefault());
|
|
2997
2997
|
},
|
|
2998
2998
|
children: B
|
|
2999
2999
|
}
|
|
@@ -3004,7 +3004,7 @@ const rl = (e) => {
|
|
|
3004
3004
|
r && (p ? /* @__PURE__ */ d.jsx(
|
|
3005
3005
|
rt,
|
|
3006
3006
|
{
|
|
3007
|
-
ref:
|
|
3007
|
+
ref: m,
|
|
3008
3008
|
type: "text",
|
|
3009
3009
|
size: "small",
|
|
3010
3010
|
style: I,
|
|
@@ -3042,7 +3042,7 @@ const rl = (e) => {
|
|
|
3042
3042
|
}, de = (
|
|
3043
3043
|
/*#__NOINLINE__*/
|
|
3044
3044
|
qe()
|
|
3045
|
-
),
|
|
3045
|
+
), Tr = Object, V = (e) => e === de, je = (e) => typeof e == "function", Ze = (e, t) => ({
|
|
3046
3046
|
...e,
|
|
3047
3047
|
...t
|
|
3048
3048
|
}), al = (e) => je(e.then), Wt = /* @__PURE__ */ new WeakMap();
|
|
@@ -3050,7 +3050,7 @@ let sl = 0;
|
|
|
3050
3050
|
const Mt = (e) => {
|
|
3051
3051
|
const t = typeof e, r = e && e.constructor, n = r == Date;
|
|
3052
3052
|
let a, s;
|
|
3053
|
-
if (
|
|
3053
|
+
if (Tr(e) === e && !n && r != RegExp) {
|
|
3054
3054
|
if (a = Wt.get(e), a)
|
|
3055
3055
|
return a;
|
|
3056
3056
|
if (a = ++sl + "~", Wt.set(e, a), r == Array) {
|
|
@@ -3058,9 +3058,9 @@ const Mt = (e) => {
|
|
|
3058
3058
|
a += Mt(e[s]) + ",";
|
|
3059
3059
|
Wt.set(e, a);
|
|
3060
3060
|
}
|
|
3061
|
-
if (r ==
|
|
3061
|
+
if (r == Tr) {
|
|
3062
3062
|
a = "#";
|
|
3063
|
-
const c =
|
|
3063
|
+
const c = Tr.keys(e).sort();
|
|
3064
3064
|
for (; !V(s = c.pop()); )
|
|
3065
3065
|
V(e[s]) || (a += s + ":" + Mt(e[s]) + ",");
|
|
3066
3066
|
Wt.set(e, a);
|
|
@@ -3068,26 +3068,26 @@ const Mt = (e) => {
|
|
|
3068
3068
|
} else
|
|
3069
3069
|
a = n ? e.toJSON() : t == "symbol" ? e.toString() : t == "string" ? JSON.stringify(e) : "" + e;
|
|
3070
3070
|
return a;
|
|
3071
|
-
}, Ie = /* @__PURE__ */ new WeakMap(),
|
|
3071
|
+
}, Ie = /* @__PURE__ */ new WeakMap(), Rr = {}, Ht = {}, bn = "undefined", lr = typeof window != bn, Yr = typeof document != bn, cl = () => lr && typeof window.requestAnimationFrame != bn, We = (e, t) => {
|
|
3072
3072
|
const r = Ie.get(e);
|
|
3073
3073
|
return [
|
|
3074
3074
|
// Getter
|
|
3075
|
-
() => !V(t) && e.get(t) ||
|
|
3075
|
+
() => !V(t) && e.get(t) || Rr,
|
|
3076
3076
|
// Setter
|
|
3077
3077
|
(n) => {
|
|
3078
3078
|
if (!V(t)) {
|
|
3079
3079
|
const a = e.get(t);
|
|
3080
|
-
t in Ht || (Ht[t] = a), r[5](t, Ze(a, n), a ||
|
|
3080
|
+
t in Ht || (Ht[t] = a), r[5](t, Ze(a, n), a || Rr);
|
|
3081
3081
|
}
|
|
3082
3082
|
},
|
|
3083
3083
|
// Subscriber
|
|
3084
3084
|
r[6],
|
|
3085
3085
|
// Get server cache snapshot
|
|
3086
|
-
() => !V(t) && t in Ht ? Ht[t] : !V(t) && e.get(t) ||
|
|
3086
|
+
() => !V(t) && t in Ht ? Ht[t] : !V(t) && e.get(t) || Rr
|
|
3087
3087
|
];
|
|
3088
3088
|
};
|
|
3089
3089
|
let Qr = !0;
|
|
3090
|
-
const ol = () => Qr, [qr, Kr] =
|
|
3090
|
+
const ol = () => Qr, [qr, Kr] = lr && window.addEventListener ? [
|
|
3091
3091
|
window.addEventListener.bind(window),
|
|
3092
3092
|
window.removeEventListener.bind(window)
|
|
3093
3093
|
] : [
|
|
@@ -3113,10 +3113,10 @@ const ol = () => Qr, [qr, Kr] = ir && window.addEventListener ? [
|
|
|
3113
3113
|
}, dl = {
|
|
3114
3114
|
initFocus: ll,
|
|
3115
3115
|
initReconnect: ul
|
|
3116
|
-
}, Ga = !Ce.useId, It = !
|
|
3116
|
+
}, Ga = !Ce.useId, It = !lr || "Deno" in window, pl = (e) => cl() ? window.requestAnimationFrame(e) : setTimeout(e, 1), Kt = It ? Pe : Vc, Dr = typeof navigator < "u" && navigator.connection, Na = !It && Dr && ([
|
|
3117
3117
|
"slow-2g",
|
|
3118
3118
|
"2g"
|
|
3119
|
-
].includes(
|
|
3119
|
+
].includes(Dr.effectiveType) || Dr.saveData), gt = (e) => {
|
|
3120
3120
|
if (je(e))
|
|
3121
3121
|
try {
|
|
3122
3122
|
e = e();
|
|
@@ -3150,30 +3150,30 @@ async function cc(...e) {
|
|
|
3150
3150
|
let l = s.optimisticData;
|
|
3151
3151
|
const f = s.revalidate !== !1, p = (h) => typeof o == "function" ? o(h) : o !== !1, u = s.throwOnError;
|
|
3152
3152
|
if (je(r)) {
|
|
3153
|
-
const h = r,
|
|
3154
|
-
for (const b of
|
|
3153
|
+
const h = r, _ = [], g = t.keys();
|
|
3154
|
+
for (const b of g)
|
|
3155
3155
|
// Skip the special useSWRInfinite and useSWRSubscription keys.
|
|
3156
|
-
!/^\$(inf|sub)\$/.test(b) && h(t.get(b)._k) &&
|
|
3157
|
-
return Promise.all(
|
|
3156
|
+
!/^\$(inf|sub)\$/.test(b) && h(t.get(b)._k) && _.push(b);
|
|
3157
|
+
return Promise.all(_.map(A));
|
|
3158
3158
|
}
|
|
3159
3159
|
return A(r);
|
|
3160
3160
|
async function A(h) {
|
|
3161
|
-
const [
|
|
3162
|
-
if (!
|
|
3161
|
+
const [_] = gt(h);
|
|
3162
|
+
if (!_)
|
|
3163
3163
|
return;
|
|
3164
|
-
const [
|
|
3165
|
-
const x =
|
|
3166
|
-
return f && (delete
|
|
3164
|
+
const [g, b] = We(t, _), [y, m, O, R] = Ie.get(t), j = () => {
|
|
3165
|
+
const x = y[_];
|
|
3166
|
+
return f && (delete O[_], delete R[_], x && x[0]) ? x[0](sc).then(() => g().data) : g().data;
|
|
3167
3167
|
};
|
|
3168
3168
|
if (e.length < 3)
|
|
3169
3169
|
return j();
|
|
3170
3170
|
let D = n, N;
|
|
3171
3171
|
const P = Xr();
|
|
3172
|
-
_
|
|
3172
|
+
m[_] = [
|
|
3173
3173
|
P,
|
|
3174
3174
|
0
|
|
3175
3175
|
];
|
|
3176
|
-
const U = !V(l), I =
|
|
3176
|
+
const U = !V(l), I = g(), M = I.data, B = I._c, $ = V(B) ? M : B;
|
|
3177
3177
|
if (U && (l = je(l) ? l($, M) : l, b({
|
|
3178
3178
|
data: l,
|
|
3179
3179
|
_c: $
|
|
@@ -3186,7 +3186,7 @@ async function cc(...e) {
|
|
|
3186
3186
|
if (D && al(D))
|
|
3187
3187
|
if (D = await D.catch((x) => {
|
|
3188
3188
|
N = x;
|
|
3189
|
-
}), P !== _
|
|
3189
|
+
}), P !== m[_][0]) {
|
|
3190
3190
|
if (N)
|
|
3191
3191
|
throw N;
|
|
3192
3192
|
return D;
|
|
@@ -3209,7 +3209,7 @@ async function cc(...e) {
|
|
|
3209
3209
|
error: de,
|
|
3210
3210
|
_c: de
|
|
3211
3211
|
});
|
|
3212
|
-
if (_
|
|
3212
|
+
if (m[_][1] = Xr(), Promise.resolve(j()).then(() => {
|
|
3213
3213
|
b({
|
|
3214
3214
|
_c: de
|
|
3215
3215
|
});
|
|
@@ -3235,8 +3235,8 @@ const La = (e, t) => {
|
|
|
3235
3235
|
e.set(p, u);
|
|
3236
3236
|
const h = c[p];
|
|
3237
3237
|
if (h)
|
|
3238
|
-
for (const
|
|
3239
|
-
|
|
3238
|
+
for (const _ of h)
|
|
3239
|
+
_(u, A);
|
|
3240
3240
|
}, f = () => {
|
|
3241
3241
|
if (!Ie.has(e) && (Ie.set(e, [
|
|
3242
3242
|
n,
|
|
@@ -3301,7 +3301,7 @@ const La = (e, t) => {
|
|
|
3301
3301
|
n && s && (r.use = n.concat(s)), a && c && (r.fallback = Ze(a, c));
|
|
3302
3302
|
}
|
|
3303
3303
|
return r;
|
|
3304
|
-
}, bl = nn({}), oc = "$inf$", ic =
|
|
3304
|
+
}, bl = nn({}), oc = "$inf$", ic = lr && window.__SWR_DEVTOOLS_USE__, Sl = ic ? window.__SWR_DEVTOOLS_USE__ : [], xl = () => {
|
|
3305
3305
|
ic && (window.__SWR_DEVTOOLS_REACT__ = Ce);
|
|
3306
3306
|
}, lc = (e) => je(e[1]) ? [
|
|
3307
3307
|
e[0],
|
|
@@ -3348,10 +3348,10 @@ const za = Ce.use || ((e) => {
|
|
|
3348
3348
|
}, (t) => {
|
|
3349
3349
|
e.status = "rejected", e.reason = t;
|
|
3350
3350
|
}), e);
|
|
3351
|
-
}),
|
|
3351
|
+
}), Mr = {
|
|
3352
3352
|
dedupe: !0
|
|
3353
3353
|
}, Tl = (e, t, r) => {
|
|
3354
|
-
const { cache: n, compare: a, suspense: s, fallbackData: c, revalidateOnMount: o, revalidateIfStale: l, refreshInterval: f, refreshWhenHidden: p, refreshWhenOffline: u, keepPreviousData: A } = r, [h,
|
|
3354
|
+
const { cache: n, compare: a, suspense: s, fallbackData: c, revalidateOnMount: o, revalidateIfStale: l, refreshInterval: f, refreshWhenHidden: p, refreshWhenOffline: u, keepPreviousData: A } = r, [h, _, g, b] = Ie.get(n), [y, m] = gt(e), O = _e(!1), R = _e(!1), j = _e(y), D = _e(t), N = _e(r), P = () => N.current, U = () => P().isVisible() && P().isOnline(), [I, M, B, $] = We(n, y), x = _e({}).current, C = V(c) ? r.fallback[y] : c, v = (Y, q) => {
|
|
3355
3355
|
for (const le in x) {
|
|
3356
3356
|
const J = le;
|
|
3357
3357
|
if (J === "data") {
|
|
@@ -3362,7 +3362,7 @@ const za = Ce.use || ((e) => {
|
|
|
3362
3362
|
}
|
|
3363
3363
|
return !0;
|
|
3364
3364
|
}, E = Tt(() => {
|
|
3365
|
-
const Y = !
|
|
3365
|
+
const Y = !y || !t ? !1 : V(o) ? P().isPaused() || s ? !1 : V(l) ? !0 : l : o, q = (ce) => {
|
|
3366
3366
|
const Ee = Ze(ce);
|
|
3367
3367
|
return delete Ee._k, Y ? {
|
|
3368
3368
|
isValidating: !0,
|
|
@@ -3380,56 +3380,56 @@ const za = Ce.use || ((e) => {
|
|
|
3380
3380
|
];
|
|
3381
3381
|
}, [
|
|
3382
3382
|
n,
|
|
3383
|
-
|
|
3384
|
-
]), w =
|
|
3385
|
-
(Y) => B(
|
|
3383
|
+
y
|
|
3384
|
+
]), w = tr.useSyncExternalStore(Me(
|
|
3385
|
+
(Y) => B(y, (q, le) => {
|
|
3386
3386
|
v(le, q) || Y();
|
|
3387
3387
|
}),
|
|
3388
3388
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
3389
3389
|
[
|
|
3390
3390
|
n,
|
|
3391
|
-
|
|
3391
|
+
y
|
|
3392
3392
|
]
|
|
3393
|
-
), E[0], E[1]), F = !
|
|
3393
|
+
), E[0], E[1]), F = !O.current, G = h[y] && h[y].length > 0, L = w.data, W = V(L) ? C : L, K = w.error, re = _e(W), k = A ? V(L) ? re.current : L : W, ae = G && !V(K) ? !1 : F && !V(o) ? o : P().isPaused() ? !1 : s ? V(W) ? !1 : l : V(W) || l, ue = !!(y && t && F && ae), pe = V(w.isValidating) ? ue : w.isValidating, fe = V(w.isLoading) ? ue : w.isLoading, ee = Me(
|
|
3394
3394
|
async (Y) => {
|
|
3395
3395
|
const q = D.current;
|
|
3396
|
-
if (!
|
|
3396
|
+
if (!y || !q || R.current || P().isPaused())
|
|
3397
3397
|
return !1;
|
|
3398
3398
|
let le, J, he = !0;
|
|
3399
|
-
const Be = Y || {}, se = !y
|
|
3399
|
+
const Be = Y || {}, se = !g[y] || !Be.dedupe, ce = () => Ga ? !R.current && y === j.current && O.current : y === j.current, Ee = {
|
|
3400
3400
|
isValidating: !1,
|
|
3401
3401
|
isLoading: !1
|
|
3402
3402
|
}, Gt = () => {
|
|
3403
3403
|
M(Ee);
|
|
3404
3404
|
}, ut = () => {
|
|
3405
|
-
const ye = y
|
|
3406
|
-
ye && ye[1] === J && delete y
|
|
3405
|
+
const ye = g[y];
|
|
3406
|
+
ye && ye[1] === J && delete g[y];
|
|
3407
3407
|
}, Nt = {
|
|
3408
3408
|
isValidating: !0
|
|
3409
3409
|
};
|
|
3410
3410
|
V(I().data) && (Nt.isLoading = !0);
|
|
3411
3411
|
try {
|
|
3412
3412
|
if (se && (M(Nt), r.loadingTimeout && V(I().data) && setTimeout(() => {
|
|
3413
|
-
he && ce() && P().onLoadingSlow(
|
|
3414
|
-
}, r.loadingTimeout), y
|
|
3415
|
-
q(
|
|
3413
|
+
he && ce() && P().onLoadingSlow(y, r);
|
|
3414
|
+
}, r.loadingTimeout), g[y] = [
|
|
3415
|
+
q(m),
|
|
3416
3416
|
Xr()
|
|
3417
|
-
]), [le, J] = y
|
|
3418
|
-
return se && ce() && P().onDiscarded(
|
|
3417
|
+
]), [le, J] = g[y], le = await le, se && setTimeout(ut, r.dedupingInterval), !g[y] || g[y][1] !== J)
|
|
3418
|
+
return se && ce() && P().onDiscarded(y), !1;
|
|
3419
3419
|
Ee.error = de;
|
|
3420
|
-
const ye =
|
|
3420
|
+
const ye = _[y];
|
|
3421
3421
|
if (!V(ye) && // case 1
|
|
3422
3422
|
(J <= ye[0] || // case 2
|
|
3423
3423
|
J <= ye[1] || // case 3
|
|
3424
3424
|
ye[1] === 0))
|
|
3425
|
-
return Gt(), se && ce() && P().onDiscarded(
|
|
3425
|
+
return Gt(), se && ce() && P().onDiscarded(y), !1;
|
|
3426
3426
|
const be = I().data;
|
|
3427
|
-
Ee.data = a(be, le) ? be : le, se && ce() && P().onSuccess(le,
|
|
3427
|
+
Ee.data = a(be, le) ? be : le, se && ce() && P().onSuccess(le, y, r);
|
|
3428
3428
|
} catch (ye) {
|
|
3429
3429
|
ut();
|
|
3430
3430
|
const be = P(), { shouldRetryOnError: ft } = be;
|
|
3431
|
-
be.isPaused() || (Ee.error = ye, se && ce() && (be.onError(ye,
|
|
3432
|
-
const mt = h[
|
|
3431
|
+
be.isPaused() || (Ee.error = ye, se && ce() && (be.onError(ye, y, be), (ft === !0 || je(ft) && ft(ye)) && U() && be.onErrorRetry(ye, y, be, (et) => {
|
|
3432
|
+
const mt = h[y];
|
|
3433
3433
|
mt && mt[0] && mt[0](xt.ERROR_REVALIDATE_EVENT, et);
|
|
3434
3434
|
}, {
|
|
3435
3435
|
retryCount: (Be.retryCount || 0) + 1,
|
|
@@ -3450,7 +3450,7 @@ const za = Ce.use || ((e) => {
|
|
|
3450
3450
|
// even though it might cause unexpected behaviors.
|
|
3451
3451
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
3452
3452
|
[
|
|
3453
|
-
|
|
3453
|
+
y,
|
|
3454
3454
|
n
|
|
3455
3455
|
]
|
|
3456
3456
|
), me = Me(
|
|
@@ -3459,14 +3459,14 @@ const za = Ce.use || ((e) => {
|
|
|
3459
3459
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
3460
3460
|
[]
|
|
3461
3461
|
);
|
|
3462
|
-
if (
|
|
3462
|
+
if (Kt(() => {
|
|
3463
3463
|
D.current = t, N.current = r, V(L) || (re.current = L);
|
|
3464
|
-
}),
|
|
3465
|
-
if (!
|
|
3464
|
+
}), Kt(() => {
|
|
3465
|
+
if (!y)
|
|
3466
3466
|
return;
|
|
3467
|
-
const Y = ee.bind(de,
|
|
3467
|
+
const Y = ee.bind(de, Mr);
|
|
3468
3468
|
let q = 0;
|
|
3469
|
-
const J = Ol(
|
|
3469
|
+
const J = Ol(y, h, (he, Be = {}) => {
|
|
3470
3470
|
if (he == xt.FOCUS_EVENT) {
|
|
3471
3471
|
const se = Date.now();
|
|
3472
3472
|
P().revalidateOnFocus && se > q && U() && (q = se + P().focusThrottleInterval, Y());
|
|
@@ -3479,21 +3479,21 @@ const za = Ce.use || ((e) => {
|
|
|
3479
3479
|
return ee(Be);
|
|
3480
3480
|
}
|
|
3481
3481
|
});
|
|
3482
|
-
return
|
|
3483
|
-
_k:
|
|
3482
|
+
return R.current = !1, j.current = y, O.current = !0, M({
|
|
3483
|
+
_k: m
|
|
3484
3484
|
}), ae && (V(W) || It ? Y() : pl(Y)), () => {
|
|
3485
|
-
|
|
3485
|
+
R.current = !0, J();
|
|
3486
3486
|
};
|
|
3487
3487
|
}, [
|
|
3488
|
-
|
|
3489
|
-
]),
|
|
3488
|
+
y
|
|
3489
|
+
]), Kt(() => {
|
|
3490
3490
|
let Y;
|
|
3491
3491
|
function q() {
|
|
3492
3492
|
const J = je(f) ? f(I().data) : f;
|
|
3493
3493
|
J && Y !== -1 && (Y = setTimeout(le, J));
|
|
3494
3494
|
}
|
|
3495
3495
|
function le() {
|
|
3496
|
-
!I().error && (p || P().isVisible()) && (u || P().isOnline()) ? ee(
|
|
3496
|
+
!I().error && (p || P().isVisible()) && (u || P().isOnline()) ? ee(Mr).then(q) : q();
|
|
3497
3497
|
}
|
|
3498
3498
|
return q(), () => {
|
|
3499
3499
|
Y && (clearTimeout(Y), Y = -1);
|
|
@@ -3502,18 +3502,18 @@ const za = Ce.use || ((e) => {
|
|
|
3502
3502
|
f,
|
|
3503
3503
|
p,
|
|
3504
3504
|
u,
|
|
3505
|
-
|
|
3506
|
-
]), Wc(k), s && V(W) &&
|
|
3505
|
+
y
|
|
3506
|
+
]), Wc(k), s && V(W) && y) {
|
|
3507
3507
|
if (!Ga && It)
|
|
3508
3508
|
throw new Error("Fallback data is required when using suspense in SSR.");
|
|
3509
|
-
D.current = t, N.current = r,
|
|
3510
|
-
const Y = b[
|
|
3509
|
+
D.current = t, N.current = r, R.current = !1;
|
|
3510
|
+
const Y = b[y];
|
|
3511
3511
|
if (!V(Y)) {
|
|
3512
3512
|
const q = me(Y);
|
|
3513
3513
|
za(q);
|
|
3514
3514
|
}
|
|
3515
3515
|
if (V(K)) {
|
|
3516
|
-
const q = ee(
|
|
3516
|
+
const q = ee(Mr);
|
|
3517
3517
|
V(k) || (q.status = "fulfilled", q.value = !0), za(q);
|
|
3518
3518
|
} else
|
|
3519
3519
|
throw K;
|
|
@@ -3583,8 +3583,8 @@ const jt = (e) => (t) => {
|
|
|
3583
3583
|
deserialize: JSON.parse,
|
|
3584
3584
|
partialize: (b) => b,
|
|
3585
3585
|
version: 0,
|
|
3586
|
-
merge: (b,
|
|
3587
|
-
...
|
|
3586
|
+
merge: (b, y) => ({
|
|
3587
|
+
...y,
|
|
3588
3588
|
...b
|
|
3589
3589
|
}),
|
|
3590
3590
|
...t
|
|
@@ -3607,18 +3607,18 @@ const jt = (e) => (t) => {
|
|
|
3607
3607
|
);
|
|
3608
3608
|
const p = jt(s.serialize), u = () => {
|
|
3609
3609
|
const b = s.partialize({ ...n() });
|
|
3610
|
-
let
|
|
3611
|
-
const
|
|
3612
|
-
(
|
|
3613
|
-
).catch((
|
|
3614
|
-
|
|
3610
|
+
let y;
|
|
3611
|
+
const m = p({ state: b, version: s.version }).then(
|
|
3612
|
+
(O) => f.setItem(s.name, O)
|
|
3613
|
+
).catch((O) => {
|
|
3614
|
+
y = O;
|
|
3615
3615
|
});
|
|
3616
|
-
if (
|
|
3617
|
-
throw
|
|
3618
|
-
return
|
|
3616
|
+
if (y)
|
|
3617
|
+
throw y;
|
|
3618
|
+
return m;
|
|
3619
3619
|
}, A = a.setState;
|
|
3620
|
-
a.setState = (b,
|
|
3621
|
-
A(b,
|
|
3620
|
+
a.setState = (b, y) => {
|
|
3621
|
+
A(b, y), u();
|
|
3622
3622
|
};
|
|
3623
3623
|
const h = e(
|
|
3624
3624
|
(...b) => {
|
|
@@ -3627,39 +3627,39 @@ const jt = (e) => (t) => {
|
|
|
3627
3627
|
n,
|
|
3628
3628
|
a
|
|
3629
3629
|
);
|
|
3630
|
-
let
|
|
3631
|
-
const
|
|
3630
|
+
let _;
|
|
3631
|
+
const g = () => {
|
|
3632
3632
|
var b;
|
|
3633
3633
|
if (!f)
|
|
3634
3634
|
return;
|
|
3635
|
-
c = !1, o.forEach((
|
|
3636
|
-
const
|
|
3637
|
-
return jt(f.getItem.bind(f))(s.name).then((
|
|
3638
|
-
if (
|
|
3639
|
-
return s.deserialize(
|
|
3640
|
-
}).then((
|
|
3641
|
-
if (
|
|
3642
|
-
if (typeof
|
|
3635
|
+
c = !1, o.forEach((m) => m(n()));
|
|
3636
|
+
const y = ((b = s.onRehydrateStorage) == null ? void 0 : b.call(s, n())) || void 0;
|
|
3637
|
+
return jt(f.getItem.bind(f))(s.name).then((m) => {
|
|
3638
|
+
if (m)
|
|
3639
|
+
return s.deserialize(m);
|
|
3640
|
+
}).then((m) => {
|
|
3641
|
+
if (m)
|
|
3642
|
+
if (typeof m.version == "number" && m.version !== s.version) {
|
|
3643
3643
|
if (s.migrate)
|
|
3644
3644
|
return s.migrate(
|
|
3645
|
-
|
|
3646
|
-
|
|
3645
|
+
m.state,
|
|
3646
|
+
m.version
|
|
3647
3647
|
);
|
|
3648
3648
|
console.error(
|
|
3649
3649
|
"State loaded from storage couldn't be migrated since no migrate function was provided"
|
|
3650
3650
|
);
|
|
3651
3651
|
} else
|
|
3652
|
-
return
|
|
3653
|
-
}).then((
|
|
3654
|
-
var
|
|
3655
|
-
return
|
|
3656
|
-
|
|
3657
|
-
(
|
|
3658
|
-
), r(
|
|
3652
|
+
return m.state;
|
|
3653
|
+
}).then((m) => {
|
|
3654
|
+
var O;
|
|
3655
|
+
return _ = s.merge(
|
|
3656
|
+
m,
|
|
3657
|
+
(O = n()) != null ? O : h
|
|
3658
|
+
), r(_, !0), u();
|
|
3659
3659
|
}).then(() => {
|
|
3660
|
-
|
|
3661
|
-
}).catch((
|
|
3662
|
-
|
|
3660
|
+
y == null || y(_, void 0), c = !0, l.forEach((m) => m(_));
|
|
3661
|
+
}).catch((m) => {
|
|
3662
|
+
y == null || y(void 0, m);
|
|
3663
3663
|
});
|
|
3664
3664
|
};
|
|
3665
3665
|
return a.persist = {
|
|
@@ -3673,7 +3673,7 @@ const jt = (e) => (t) => {
|
|
|
3673
3673
|
f == null || f.removeItem(s.name);
|
|
3674
3674
|
},
|
|
3675
3675
|
getOptions: () => s,
|
|
3676
|
-
rehydrate: () =>
|
|
3676
|
+
rehydrate: () => g(),
|
|
3677
3677
|
hasHydrated: () => c,
|
|
3678
3678
|
onHydrate: (b) => (o.add(b), () => {
|
|
3679
3679
|
o.delete(b);
|
|
@@ -3681,15 +3681,15 @@ const jt = (e) => (t) => {
|
|
|
3681
3681
|
onFinishHydration: (b) => (l.add(b), () => {
|
|
3682
3682
|
l.delete(b);
|
|
3683
3683
|
})
|
|
3684
|
-
},
|
|
3684
|
+
}, g(), _ || h;
|
|
3685
3685
|
}, Ml = (e, t) => (r, n, a) => {
|
|
3686
3686
|
let s = {
|
|
3687
3687
|
storage: xn(() => localStorage),
|
|
3688
|
-
partialize: (
|
|
3688
|
+
partialize: (g) => g,
|
|
3689
3689
|
version: 0,
|
|
3690
|
-
merge: (
|
|
3690
|
+
merge: (g, b) => ({
|
|
3691
3691
|
...b,
|
|
3692
|
-
...
|
|
3692
|
+
...g
|
|
3693
3693
|
}),
|
|
3694
3694
|
...t
|
|
3695
3695
|
}, c = !1;
|
|
@@ -3697,86 +3697,86 @@ const jt = (e) => (t) => {
|
|
|
3697
3697
|
let f = s.storage;
|
|
3698
3698
|
if (!f)
|
|
3699
3699
|
return e(
|
|
3700
|
-
(...
|
|
3700
|
+
(...g) => {
|
|
3701
3701
|
console.warn(
|
|
3702
3702
|
`[zustand persist middleware] Unable to update item '${s.name}', the given storage is currently unavailable.`
|
|
3703
|
-
), r(...
|
|
3703
|
+
), r(...g);
|
|
3704
3704
|
},
|
|
3705
3705
|
n,
|
|
3706
3706
|
a
|
|
3707
3707
|
);
|
|
3708
3708
|
const p = () => {
|
|
3709
|
-
const
|
|
3709
|
+
const g = s.partialize({ ...n() });
|
|
3710
3710
|
return f.setItem(s.name, {
|
|
3711
|
-
state:
|
|
3711
|
+
state: g,
|
|
3712
3712
|
version: s.version
|
|
3713
3713
|
});
|
|
3714
3714
|
}, u = a.setState;
|
|
3715
|
-
a.setState = (
|
|
3716
|
-
u(
|
|
3715
|
+
a.setState = (g, b) => {
|
|
3716
|
+
u(g, b), p();
|
|
3717
3717
|
};
|
|
3718
3718
|
const A = e(
|
|
3719
|
-
(...
|
|
3720
|
-
r(...
|
|
3719
|
+
(...g) => {
|
|
3720
|
+
r(...g), p();
|
|
3721
3721
|
},
|
|
3722
3722
|
n,
|
|
3723
3723
|
a
|
|
3724
3724
|
);
|
|
3725
3725
|
let h;
|
|
3726
|
-
const
|
|
3727
|
-
var
|
|
3726
|
+
const _ = () => {
|
|
3727
|
+
var g, b;
|
|
3728
3728
|
if (!f)
|
|
3729
3729
|
return;
|
|
3730
|
-
c = !1, o.forEach((
|
|
3731
|
-
var
|
|
3732
|
-
return
|
|
3730
|
+
c = !1, o.forEach((m) => {
|
|
3731
|
+
var O;
|
|
3732
|
+
return m((O = n()) != null ? O : A);
|
|
3733
3733
|
});
|
|
3734
|
-
const
|
|
3735
|
-
return jt(f.getItem.bind(f))(s.name).then((
|
|
3736
|
-
if (
|
|
3737
|
-
if (typeof
|
|
3734
|
+
const y = ((b = s.onRehydrateStorage) == null ? void 0 : b.call(s, (g = n()) != null ? g : A)) || void 0;
|
|
3735
|
+
return jt(f.getItem.bind(f))(s.name).then((m) => {
|
|
3736
|
+
if (m)
|
|
3737
|
+
if (typeof m.version == "number" && m.version !== s.version) {
|
|
3738
3738
|
if (s.migrate)
|
|
3739
3739
|
return s.migrate(
|
|
3740
|
-
|
|
3741
|
-
|
|
3740
|
+
m.state,
|
|
3741
|
+
m.version
|
|
3742
3742
|
);
|
|
3743
3743
|
console.error(
|
|
3744
3744
|
"State loaded from storage couldn't be migrated since no migrate function was provided"
|
|
3745
3745
|
);
|
|
3746
3746
|
} else
|
|
3747
|
-
return
|
|
3748
|
-
}).then((
|
|
3749
|
-
var
|
|
3747
|
+
return m.state;
|
|
3748
|
+
}).then((m) => {
|
|
3749
|
+
var O;
|
|
3750
3750
|
return h = s.merge(
|
|
3751
|
-
|
|
3752
|
-
(
|
|
3751
|
+
m,
|
|
3752
|
+
(O = n()) != null ? O : A
|
|
3753
3753
|
), r(h, !0), p();
|
|
3754
3754
|
}).then(() => {
|
|
3755
|
-
|
|
3756
|
-
}).catch((
|
|
3757
|
-
|
|
3755
|
+
y == null || y(h, void 0), h = n(), c = !0, l.forEach((m) => m(h));
|
|
3756
|
+
}).catch((m) => {
|
|
3757
|
+
y == null || y(void 0, m);
|
|
3758
3758
|
});
|
|
3759
3759
|
};
|
|
3760
3760
|
return a.persist = {
|
|
3761
|
-
setOptions: (
|
|
3761
|
+
setOptions: (g) => {
|
|
3762
3762
|
s = {
|
|
3763
3763
|
...s,
|
|
3764
|
-
...
|
|
3765
|
-
},
|
|
3764
|
+
...g
|
|
3765
|
+
}, g.storage && (f = g.storage);
|
|
3766
3766
|
},
|
|
3767
3767
|
clearStorage: () => {
|
|
3768
3768
|
f == null || f.removeItem(s.name);
|
|
3769
3769
|
},
|
|
3770
3770
|
getOptions: () => s,
|
|
3771
|
-
rehydrate: () =>
|
|
3771
|
+
rehydrate: () => _(),
|
|
3772
3772
|
hasHydrated: () => c,
|
|
3773
|
-
onHydrate: (
|
|
3774
|
-
o.delete(
|
|
3773
|
+
onHydrate: (g) => (o.add(g), () => {
|
|
3774
|
+
o.delete(g);
|
|
3775
3775
|
}),
|
|
3776
|
-
onFinishHydration: (
|
|
3777
|
-
l.delete(
|
|
3776
|
+
onFinishHydration: (g) => (l.add(g), () => {
|
|
3777
|
+
l.delete(g);
|
|
3778
3778
|
})
|
|
3779
|
-
}, s.skipHydration ||
|
|
3779
|
+
}, s.skipHydration || _(), h || A;
|
|
3780
3780
|
}, Il = (e, t) => "getStorage" in t || "serialize" in t || "deserialize" in t ? ((Rl ? "production" : void 0) !== "production" && console.warn(
|
|
3781
3781
|
"[DEPRECATED] `getStorage`, `serialize` and `deserialize` options are deprecated. Use `storage` option instead."
|
|
3782
3782
|
), Dl(e, t)) : Ml(e, t), Cn = Il, dc = "%[a-f0-9]{2}", Ua = new RegExp("(" + dc + ")|([^%]+?)", "gi"), ka = new RegExp("(" + dc + ")+", "gi");
|
|
@@ -4202,14 +4202,15 @@ function af(e = !1) {
|
|
|
4202
4202
|
class Va extends Error {
|
|
4203
4203
|
constructor(r) {
|
|
4204
4204
|
super(r == null ? void 0 : r.message);
|
|
4205
|
-
|
|
4206
|
-
|
|
4205
|
+
hr(this, "status");
|
|
4206
|
+
hr(this, "code");
|
|
4207
4207
|
this.status = r.status, this.code = r.code;
|
|
4208
4208
|
}
|
|
4209
4209
|
}
|
|
4210
|
-
async function ct(e, t) {
|
|
4211
|
-
var
|
|
4212
|
-
|
|
4210
|
+
async function ct(e, t = {}) {
|
|
4211
|
+
var y;
|
|
4212
|
+
t = Object.assign(t, { responseType: "json" });
|
|
4213
|
+
let { body: r, params: n, headers: a, responseType: s, isGlobal: c, ...o } = t;
|
|
4213
4214
|
const l = yt.parseUrl(e), f = Object.assign({}, l.query, n), p = {
|
|
4214
4215
|
skipNull: !0,
|
|
4215
4216
|
skipEmptyString: !0,
|
|
@@ -4217,42 +4218,47 @@ async function ct(e, t) {
|
|
|
4217
4218
|
encode: !0
|
|
4218
4219
|
}, u = yt.stringify(f, p);
|
|
4219
4220
|
e = u ? `${l.url}?${u}` : e, a = new Headers(a);
|
|
4220
|
-
const A = (
|
|
4221
|
-
if (A && a.set("Authorization", `Bearer ${A}`),
|
|
4222
|
-
if (c ||
|
|
4221
|
+
const A = (y = Ot == null ? void 0 : Ot.getState()) == null ? void 0 : y.token;
|
|
4222
|
+
if (A && a.set("Authorization", `Bearer ${A}`), Qt.getState().usePermissionApiV2)
|
|
4223
|
+
if (c || Qt.getState().isGlobal)
|
|
4223
4224
|
a.set("App-ID", "global");
|
|
4224
4225
|
else {
|
|
4225
|
-
const
|
|
4226
|
-
|
|
4226
|
+
const m = On.getState().game;
|
|
4227
|
+
m && a.set("App-ID", m.id);
|
|
4227
4228
|
}
|
|
4228
|
-
s === "blob" ? a.append("Accept", "application/octet-stream") : a.append("Accept", "application/json");
|
|
4229
|
+
s === "blob" ? a.append("Accept", "application/octet-stream") : s === "json" && a.append("Accept", "application/json");
|
|
4229
4230
|
const h = !!(r && typeof r == "object" && !(r instanceof FormData));
|
|
4230
4231
|
h && a.set("Content-Type", "application/json");
|
|
4231
|
-
const
|
|
4232
|
-
|
|
4233
|
-
|
|
4234
|
-
|
|
4235
|
-
|
|
4236
|
-
})
|
|
4237
|
-
);
|
|
4238
|
-
if (
|
|
4239
|
-
|
|
4240
|
-
|
|
4241
|
-
|
|
4242
|
-
|
|
4232
|
+
const _ = Object.assign(o, {
|
|
4233
|
+
headers: a,
|
|
4234
|
+
body: h ? JSON.stringify(r) : r
|
|
4235
|
+
}), g = await fetch(e, _);
|
|
4236
|
+
if (!g.ok)
|
|
4237
|
+
throw new Va({ status: g.status });
|
|
4238
|
+
const b = Qt.getState().responseInterceptor;
|
|
4239
|
+
if (typeof b == "function")
|
|
4240
|
+
return await b(g, t);
|
|
4241
|
+
{
|
|
4242
|
+
let m;
|
|
4243
|
+
if (s === "blob")
|
|
4244
|
+
m = await g.blob();
|
|
4245
|
+
else if (s === "json") {
|
|
4246
|
+
const O = await g.json();
|
|
4247
|
+
if (O.code === 0 || O.status === 0)
|
|
4248
|
+
m = O.data;
|
|
4249
|
+
else
|
|
4250
|
+
throw new Va({
|
|
4251
|
+
code: O.code,
|
|
4252
|
+
status: g.status,
|
|
4253
|
+
message: O.msg
|
|
4254
|
+
});
|
|
4255
|
+
} else
|
|
4256
|
+
m = await g.text();
|
|
4243
4257
|
return {
|
|
4244
|
-
...
|
|
4245
|
-
data:
|
|
4258
|
+
...F0(g, ["headers", "status", "statusText", "url"]),
|
|
4259
|
+
data: m
|
|
4246
4260
|
};
|
|
4247
4261
|
}
|
|
4248
|
-
const b = await m.json();
|
|
4249
|
-
if (b.code === 0 || b.status === 0)
|
|
4250
|
-
return { ...y, data: b.data };
|
|
4251
|
-
throw new Va({
|
|
4252
|
-
code: b.code,
|
|
4253
|
-
status: m.status,
|
|
4254
|
-
message: b.msg
|
|
4255
|
-
});
|
|
4256
4262
|
}
|
|
4257
4263
|
const Hl = {
|
|
4258
4264
|
getItem: (e) => sessionStorage.getItem(e) || localStorage.getItem(e),
|
|
@@ -4374,19 +4380,19 @@ const Zl = (e) => {
|
|
|
4374
4380
|
a(c.join(""));
|
|
4375
4381
|
});
|
|
4376
4382
|
}, [r, t]), /* @__PURE__ */ d.jsx("div", { dangerouslySetInnerHTML: { __html: n } });
|
|
4377
|
-
}, sf = Zl, Jl = (e) => gt(e ? e(0, null) : null)[0],
|
|
4383
|
+
}, sf = Zl, Jl = (e) => gt(e ? e(0, null) : null)[0], Ir = Promise.resolve(), eu = (e) => (t, r, n) => {
|
|
4378
4384
|
const a = _e(!1), { cache: s, initialSize: c = 1, revalidateAll: o = !1, persistSize: l = !1, revalidateFirstPage: f = !0, revalidateOnMount: p = !1, parallel: u = !1 } = n, [, , , A] = Ie.get(Sn);
|
|
4379
4385
|
let h;
|
|
4380
4386
|
try {
|
|
4381
4387
|
h = Jl(t), h && (h = oc + h);
|
|
4382
4388
|
} catch {
|
|
4383
4389
|
}
|
|
4384
|
-
const [
|
|
4390
|
+
const [_, g, b] = We(s, h), y = Me(() => V(_()._l) ? c : _()._l, [
|
|
4385
4391
|
s,
|
|
4386
4392
|
h,
|
|
4387
4393
|
c
|
|
4388
4394
|
]);
|
|
4389
|
-
|
|
4395
|
+
tr.useSyncExternalStore(Me(
|
|
4390
4396
|
(P) => h ? b(h, () => {
|
|
4391
4397
|
P();
|
|
4392
4398
|
}) : () => {
|
|
@@ -4396,28 +4402,28 @@ const Zl = (e) => {
|
|
|
4396
4402
|
s,
|
|
4397
4403
|
h
|
|
4398
4404
|
]
|
|
4399
|
-
),
|
|
4400
|
-
const
|
|
4401
|
-
const P =
|
|
4405
|
+
), y, y);
|
|
4406
|
+
const m = Me(() => {
|
|
4407
|
+
const P = _()._l;
|
|
4402
4408
|
return V(P) ? c : P;
|
|
4403
4409
|
}, [
|
|
4404
4410
|
h,
|
|
4405
4411
|
c
|
|
4406
|
-
]),
|
|
4407
|
-
|
|
4412
|
+
]), O = _e(m());
|
|
4413
|
+
Kt(() => {
|
|
4408
4414
|
if (!a.current) {
|
|
4409
4415
|
a.current = !0;
|
|
4410
4416
|
return;
|
|
4411
4417
|
}
|
|
4412
|
-
h &&
|
|
4413
|
-
_l: l ?
|
|
4418
|
+
h && g({
|
|
4419
|
+
_l: l ? O.current : m()
|
|
4414
4420
|
});
|
|
4415
4421
|
}, [
|
|
4416
4422
|
h,
|
|
4417
4423
|
s
|
|
4418
4424
|
]);
|
|
4419
|
-
const
|
|
4420
|
-
const U =
|
|
4425
|
+
const R = p && !a.current, j = e(h, async (P) => {
|
|
4426
|
+
const U = _()._i, I = [], M = m(), [B] = We(s, P), $ = B().data, x = [];
|
|
4421
4427
|
let C = null;
|
|
4422
4428
|
for (let v = 0; v < M; ++v) {
|
|
4423
4429
|
const [E, w] = gt(t(v, u ? null : C));
|
|
@@ -4425,7 +4431,7 @@ const Zl = (e) => {
|
|
|
4425
4431
|
break;
|
|
4426
4432
|
const [F, G] = We(s, E);
|
|
4427
4433
|
let L = F().data;
|
|
4428
|
-
const W = o || U || V(L) || f && !v && !V($) ||
|
|
4434
|
+
const W = o || U || V(L) || f && !v && !V($) || R || $ && !V($[v]) && !n.compare($[v], L);
|
|
4429
4435
|
if (r && W) {
|
|
4430
4436
|
const K = async () => {
|
|
4431
4437
|
if (!(E in A))
|
|
@@ -4444,7 +4450,7 @@ const Zl = (e) => {
|
|
|
4444
4450
|
I[v] = L;
|
|
4445
4451
|
u || (C = L);
|
|
4446
4452
|
}
|
|
4447
|
-
return u && await Promise.all(x.map((v) => v())),
|
|
4453
|
+
return u && await Promise.all(x.map((v) => v())), g({
|
|
4448
4454
|
_i: de
|
|
4449
4455
|
}), I;
|
|
4450
4456
|
}, n), D = Me(
|
|
@@ -4453,14 +4459,14 @@ const Zl = (e) => {
|
|
|
4453
4459
|
const I = typeof U == "boolean" ? {
|
|
4454
4460
|
revalidate: U
|
|
4455
4461
|
} : U || {}, M = I.revalidate !== !1;
|
|
4456
|
-
return h ? (M && (V(P) ?
|
|
4462
|
+
return h ? (M && (V(P) ? g({
|
|
4457
4463
|
_i: !0
|
|
4458
|
-
}) :
|
|
4464
|
+
}) : g({
|
|
4459
4465
|
_i: !1
|
|
4460
4466
|
})), arguments.length ? j.mutate(P, {
|
|
4461
4467
|
...I,
|
|
4462
4468
|
revalidate: M
|
|
4463
|
-
}) : j.mutate()) :
|
|
4469
|
+
}) : j.mutate()) : Ir;
|
|
4464
4470
|
},
|
|
4465
4471
|
// swr.mutate is always the same reference
|
|
4466
4472
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
@@ -4471,14 +4477,14 @@ const Zl = (e) => {
|
|
|
4471
4477
|
), N = Me(
|
|
4472
4478
|
(P) => {
|
|
4473
4479
|
if (!h)
|
|
4474
|
-
return
|
|
4480
|
+
return Ir;
|
|
4475
4481
|
const [, U] = We(s, h);
|
|
4476
4482
|
let I;
|
|
4477
|
-
if (je(P) ? I = P(
|
|
4478
|
-
return
|
|
4483
|
+
if (je(P) ? I = P(m()) : typeof P == "number" && (I = P), typeof I != "number")
|
|
4484
|
+
return Ir;
|
|
4479
4485
|
U({
|
|
4480
4486
|
_l: I
|
|
4481
|
-
}),
|
|
4487
|
+
}), O.current = I;
|
|
4482
4488
|
const M = [], [B] = We(s, h);
|
|
4483
4489
|
let $ = null;
|
|
4484
4490
|
for (let x = 0; x < I; ++x) {
|
|
@@ -4495,11 +4501,11 @@ const Zl = (e) => {
|
|
|
4495
4501
|
h,
|
|
4496
4502
|
s,
|
|
4497
4503
|
D,
|
|
4498
|
-
|
|
4504
|
+
m
|
|
4499
4505
|
]
|
|
4500
4506
|
);
|
|
4501
4507
|
return {
|
|
4502
|
-
size:
|
|
4508
|
+
size: m(),
|
|
4503
4509
|
setSize: N,
|
|
4504
4510
|
mutate: D,
|
|
4505
4511
|
get data() {
|
|
@@ -4570,10 +4576,10 @@ const ru = (e) => {
|
|
|
4570
4576
|
renderForm: f,
|
|
4571
4577
|
transformArg: p,
|
|
4572
4578
|
...u
|
|
4573
|
-
} = e, A = we(), [h] = ge.useForm(), { accessible:
|
|
4579
|
+
} = e, A = we(), [h] = ge.useForm(), { accessible: _, isLoading: g } = Rn(t), [b, y] = Te(!1), [m, O] = Te(), R = (v, E) => {
|
|
4574
4580
|
if (!b)
|
|
4575
4581
|
return null;
|
|
4576
|
-
const w = p(
|
|
4582
|
+
const w = p(m, v !== 0 ? c(E) : void 0);
|
|
4577
4583
|
return yt.stringify(w) ? `${r}?${yt.stringify(w)}` : r;
|
|
4578
4584
|
}, {
|
|
4579
4585
|
data: j,
|
|
@@ -4581,7 +4587,7 @@ const ru = (e) => {
|
|
|
4581
4587
|
setSize: N,
|
|
4582
4588
|
isValidating: P
|
|
4583
4589
|
} = tu(
|
|
4584
|
-
|
|
4590
|
+
R,
|
|
4585
4591
|
(v) => ct(v, {
|
|
4586
4592
|
headers: typeof a == "function" ? a(h) : a,
|
|
4587
4593
|
isGlobal: s
|
|
@@ -4593,11 +4599,11 @@ const ru = (e) => {
|
|
|
4593
4599
|
}
|
|
4594
4600
|
), U = o(j), I = P || D > 0 && j && typeof j[D - 1] > "u", M = typeof l < "u" ? !l(j) : !0, B = !U || U.length === 0, $ = async () => {
|
|
4595
4601
|
const v = await h.getFieldsValue();
|
|
4596
|
-
|
|
4602
|
+
O(v);
|
|
4597
4603
|
try {
|
|
4598
|
-
await h.validateFields(), N(1),
|
|
4604
|
+
await h.validateFields(), N(1), y(!0);
|
|
4599
4605
|
} catch {
|
|
4600
|
-
N(0),
|
|
4606
|
+
N(0), y(!1);
|
|
4601
4607
|
}
|
|
4602
4608
|
}, x = () => {
|
|
4603
4609
|
N(D + 1);
|
|
@@ -4609,12 +4615,12 @@ const ru = (e) => {
|
|
|
4609
4615
|
}
|
|
4610
4616
|
};
|
|
4611
4617
|
return Pe(() => {
|
|
4612
|
-
|
|
4613
|
-
|
|
4618
|
+
_ && h.validateFields({ validateOnly: !0 }).then((v) => {
|
|
4619
|
+
O(v), y(!0);
|
|
4614
4620
|
}).catch(() => {
|
|
4615
|
-
|
|
4621
|
+
y(!1);
|
|
4616
4622
|
});
|
|
4617
|
-
}, [
|
|
4623
|
+
}, [_]), g ? /* @__PURE__ */ d.jsx(
|
|
4618
4624
|
on,
|
|
4619
4625
|
{
|
|
4620
4626
|
style: {
|
|
@@ -4624,7 +4630,7 @@ const ru = (e) => {
|
|
|
4624
4630
|
height: 300
|
|
4625
4631
|
}
|
|
4626
4632
|
}
|
|
4627
|
-
) :
|
|
4633
|
+
) : _ ? /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
|
|
4628
4634
|
f ? /* @__PURE__ */ d.jsx(rc, { onReset: C, onConfirm: $, children: f(h) }) : /* @__PURE__ */ d.jsx(ge, { form: h }),
|
|
4629
4635
|
/* @__PURE__ */ d.jsx(Ka, { ...u, dataSource: U, loading: I, pagination: !1 }),
|
|
4630
4636
|
!B && /* @__PURE__ */ d.jsx(
|
|
@@ -4639,7 +4645,7 @@ const ru = (e) => {
|
|
|
4639
4645
|
children: A(I ? "InfiniteList.loadingText" : M ? "InfiniteList.reachEndText" : "InfiniteList.loadMoreText")
|
|
4640
4646
|
}
|
|
4641
4647
|
)
|
|
4642
|
-
] }) : /* @__PURE__ */ d.jsx(
|
|
4648
|
+
] }) : /* @__PURE__ */ d.jsx(er, { status: 403, subTitle: A("global.noEntitlement") });
|
|
4643
4649
|
}, cf = ru, rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAydpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDcuMS1jMDAwIDc5LmIwZjhiZTkwLCAyMDIxLzEyLzE1LTIxOjI1OjE1ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgMjMuMiAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG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W0aNcUQBCbp4apxXf50d9MrmnVpTPg3aQ0CwOisFKxZNX5amGrVZqXAkC5HXDM8oVhpc96jUYuqxh34FjYn/gV+qkfWAQAAGB2raAEACAAAgAAAAAgAAIAAAAAIAACAAAAACAAAgAAAAAgAAIAAAAAIAACAAAAACAAAgAAAAAgAAIAAAAAIAAAgAAAAAgAAIAAAAAIAACAAAAACAAAgAAAAAgAAIAAAAAIAACAAAAACAAAgAAAAAgAAIAAAAAIAALDEfwswAA5KTWf4M/tRAAAAAElFTkSuQmCC", nu = Pt()(
|
|
4644
4650
|
Cn(
|
|
4645
4651
|
(e) => ({
|
|
@@ -4696,14 +4702,14 @@ function xc(e, t = [], r = []) {
|
|
|
4696
4702
|
}
|
|
4697
4703
|
const Cc = Hc(function() {
|
|
4698
4704
|
const t = Ja(), { menuItems: r } = De(), n = Tt(() => xc(r ?? []), [r]), a = n.map((A) => A.code).filter(Boolean), { data: s } = Tn(a, !0, { suspense: !0 }), c = Tt(() => Sc(r ?? [], s), [r, s]), { openKeys: o, selectedKeys: l, setOpenKeys: f, setSelectedKeys: p } = nu(), u = (A) => {
|
|
4699
|
-
const h = A == null ? void 0 : A.find((
|
|
4700
|
-
f((
|
|
4705
|
+
const h = A == null ? void 0 : A.find((g) => (o == null ? void 0 : o.indexOf(g)) === -1), _ = n.find((g) => h === g.key);
|
|
4706
|
+
f((_ == null ? void 0 : _.keypath) ?? [h]);
|
|
4701
4707
|
};
|
|
4702
4708
|
return Pe(() => {
|
|
4703
4709
|
const A = n.find((h) => t.pathname === h.route);
|
|
4704
4710
|
if (A) {
|
|
4705
|
-
const h = A.key,
|
|
4706
|
-
p([h]), f(
|
|
4711
|
+
const h = A.key, _ = A.keypath;
|
|
4712
|
+
p([h]), f(_);
|
|
4707
4713
|
}
|
|
4708
4714
|
}, [n, t]), /* @__PURE__ */ d.jsx(
|
|
4709
4715
|
Kc,
|
|
@@ -4763,11 +4769,11 @@ const su = Cc, cu = (e) => {
|
|
|
4763
4769
|
)
|
|
4764
4770
|
}
|
|
4765
4771
|
) });
|
|
4766
|
-
}, lu = iu, { Spin: uu, theme: fu } =
|
|
4772
|
+
}, lu = iu, { Spin: uu, theme: fu } = Xt, { Header: du, Sider: pu, Content: hu } = Xt.Layout, Au = (e) => {
|
|
4767
4773
|
const { children: t } = e, {
|
|
4768
4774
|
token: { colorBgContainer: r, colorBorder: n }
|
|
4769
4775
|
} = fu.useToken(), { appTitle: a, usePermissionApiV2: s, hideGameSelect: c, localeDropdownMenu: o, layoutHeaderExtras: l } = De();
|
|
4770
|
-
return /* @__PURE__ */ d.jsxs(
|
|
4776
|
+
return /* @__PURE__ */ d.jsxs(Xt.Layout, { hasSider: !0, className: "h-screen", children: [
|
|
4771
4777
|
/* @__PURE__ */ d.jsxs(
|
|
4772
4778
|
pu,
|
|
4773
4779
|
{
|
|
@@ -4793,7 +4799,7 @@ const su = Cc, cu = (e) => {
|
|
|
4793
4799
|
]
|
|
4794
4800
|
}
|
|
4795
4801
|
),
|
|
4796
|
-
/* @__PURE__ */ d.jsxs(
|
|
4802
|
+
/* @__PURE__ */ d.jsxs(Xt.Layout, { className: "ml-64", children: [
|
|
4797
4803
|
/* @__PURE__ */ d.jsx(
|
|
4798
4804
|
du,
|
|
4799
4805
|
{
|
|
@@ -4849,7 +4855,7 @@ const su = Cc, cu = (e) => {
|
|
|
4849
4855
|
height: 200
|
|
4850
4856
|
}
|
|
4851
4857
|
}
|
|
4852
|
-
) : n ? /* @__PURE__ */ d.jsx(d.Fragment, { children: r }) : /* @__PURE__ */ d.jsx(
|
|
4858
|
+
) : n ? /* @__PURE__ */ d.jsx(d.Fragment, { children: r }) : /* @__PURE__ */ d.jsx(er, { status: "403", subTitle: s("global.noEntitlement") });
|
|
4853
4859
|
}, lf = mu, vu = Pt((e, t) => ({
|
|
4854
4860
|
keyMap: /* @__PURE__ */ new Map(),
|
|
4855
4861
|
paginationMap: /* @__PURE__ */ new Map(),
|
|
@@ -4906,12 +4912,12 @@ const bu = (e, t) => {
|
|
|
4906
4912
|
refreshInterval: u = 0,
|
|
4907
4913
|
extra: A,
|
|
4908
4914
|
renderForm: h,
|
|
4909
|
-
afterSuccess:
|
|
4910
|
-
getTotal:
|
|
4915
|
+
afterSuccess: _,
|
|
4916
|
+
getTotal: g = (k) => k.total,
|
|
4911
4917
|
getDataSource: b = (k) => k.list,
|
|
4912
|
-
onTableChange:
|
|
4913
|
-
...
|
|
4914
|
-
} = e,
|
|
4918
|
+
onTableChange: y,
|
|
4919
|
+
...m
|
|
4920
|
+
} = e, O = we(), [R] = ge.useForm(), { accessible: j, isLoading: D } = Rn(n, s), { payloadMap: N, keyMap: P, propsMap: U, setPayload: I } = vu();
|
|
4915
4921
|
U.set(r, e);
|
|
4916
4922
|
const M = N.get(r), B = _e(
|
|
4917
4923
|
"init"
|
|
@@ -4931,7 +4937,7 @@ const bu = (e, t) => {
|
|
|
4931
4937
|
});
|
|
4932
4938
|
return {
|
|
4933
4939
|
dataSource: b(fe.data),
|
|
4934
|
-
total:
|
|
4940
|
+
total: g(fe.data) ?? 0
|
|
4935
4941
|
};
|
|
4936
4942
|
},
|
|
4937
4943
|
{
|
|
@@ -4943,34 +4949,34 @@ const bu = (e, t) => {
|
|
|
4943
4949
|
revalidateOnFocus: !1,
|
|
4944
4950
|
refreshInterval: E.current ? u : 0,
|
|
4945
4951
|
onSuccess(k) {
|
|
4946
|
-
E.current = !0,
|
|
4952
|
+
E.current = !0, _ == null || _(B.current, k);
|
|
4947
4953
|
},
|
|
4948
4954
|
onError() {
|
|
4949
4955
|
E.current = !1;
|
|
4950
4956
|
}
|
|
4951
4957
|
}
|
|
4952
4958
|
), L = async () => {
|
|
4953
|
-
const k =
|
|
4959
|
+
const k = R.getFieldsValue();
|
|
4954
4960
|
D0(M, { ...M, page: 1, arg: k }) ? await G(void 0, { revalidate: !0 }) : x({ page: 1, arg: k });
|
|
4955
4961
|
}, W = async () => {
|
|
4956
|
-
await G(void 0, { revalidate: !1 }), x({ page: 1, arg:
|
|
4962
|
+
await G(void 0, { revalidate: !1 }), x({ page: 1, arg: R.getFieldsValue() });
|
|
4957
4963
|
}, K = async () => {
|
|
4958
4964
|
B.current = "confirm";
|
|
4959
4965
|
try {
|
|
4960
|
-
await
|
|
4966
|
+
await R.validateFields(), await L();
|
|
4961
4967
|
} catch {
|
|
4962
4968
|
await W();
|
|
4963
4969
|
}
|
|
4964
4970
|
}, re = async () => {
|
|
4965
|
-
B.current = "reset",
|
|
4971
|
+
B.current = "reset", R.resetFields();
|
|
4966
4972
|
try {
|
|
4967
|
-
await
|
|
4973
|
+
await R.validateFields({ validateOnly: !0 }), await L();
|
|
4968
4974
|
} catch {
|
|
4969
4975
|
await W();
|
|
4970
4976
|
}
|
|
4971
4977
|
};
|
|
4972
4978
|
return Pe(() => {
|
|
4973
|
-
j &&
|
|
4979
|
+
j && R.validateFields({ validateOnly: !0 }).then(() => {
|
|
4974
4980
|
const k = wc(r, M, f, c, p);
|
|
4975
4981
|
v(k), P.set(r, k);
|
|
4976
4982
|
}).catch(() => {
|
|
@@ -4978,7 +4984,7 @@ const bu = (e, t) => {
|
|
|
4978
4984
|
});
|
|
4979
4985
|
}, [j, N, f, r, c, p]), qc(t, () => ({
|
|
4980
4986
|
data: w,
|
|
4981
|
-
form:
|
|
4987
|
+
form: R
|
|
4982
4988
|
})), D ? /* @__PURE__ */ d.jsx(
|
|
4983
4989
|
on,
|
|
4984
4990
|
{
|
|
@@ -4990,15 +4996,15 @@ const bu = (e, t) => {
|
|
|
4990
4996
|
}
|
|
4991
4997
|
}
|
|
4992
4998
|
) : j ? /* @__PURE__ */ d.jsxs("div", { children: [
|
|
4993
|
-
h ? /* @__PURE__ */ d.jsx(rc, { isConfirming: F, onReset: re, onConfirm: K, children: h(
|
|
4999
|
+
h ? /* @__PURE__ */ d.jsx(rc, { isConfirming: F, onReset: re, onConfirm: K, children: h(R) }) : (
|
|
4994
5000
|
// 消除 Antd 的警告
|
|
4995
|
-
/* @__PURE__ */ d.jsx(ge, { form:
|
|
5001
|
+
/* @__PURE__ */ d.jsx(ge, { form: R })
|
|
4996
5002
|
),
|
|
4997
|
-
A && /* @__PURE__ */ d.jsx("div", { className: "mt-2 mb-4", children: A(
|
|
5003
|
+
A && /* @__PURE__ */ d.jsx("div", { className: "mt-2 mb-4", children: A(R) }),
|
|
4998
5004
|
/* @__PURE__ */ d.jsx(
|
|
4999
5005
|
Ka,
|
|
5000
5006
|
{
|
|
5001
|
-
...
|
|
5007
|
+
...m,
|
|
5002
5008
|
dataSource: w.dataSource,
|
|
5003
5009
|
loading: F,
|
|
5004
5010
|
pagination: c ? !1 : {
|
|
@@ -5014,10 +5020,10 @@ const bu = (e, t) => {
|
|
|
5014
5020
|
});
|
|
5015
5021
|
}
|
|
5016
5022
|
},
|
|
5017
|
-
onChange:
|
|
5023
|
+
onChange: y
|
|
5018
5024
|
}
|
|
5019
5025
|
)
|
|
5020
|
-
] }) : /* @__PURE__ */ d.jsx(
|
|
5026
|
+
] }) : /* @__PURE__ */ d.jsx(er, { status: 403, subTitle: O("global.noEntitlement") });
|
|
5021
5027
|
}, Su = Qc(bu), xu = Su, Cu = Pt((e, t) => ({
|
|
5022
5028
|
open: /* @__PURE__ */ new Map(),
|
|
5023
5029
|
getOpen: (r) => t().open.get(r) ?? !1,
|
|
@@ -5045,12 +5051,12 @@ function Eu(e) {
|
|
|
5045
5051
|
} finally {
|
|
5046
5052
|
l(!1);
|
|
5047
5053
|
}
|
|
5048
|
-
},
|
|
5054
|
+
}, _ = /* @__PURE__ */ d.jsx(Jc, { ...n, open: c, confirmLoading: o, onOk: h, onCancel: A, children: f ? t({ hide: u }) : t });
|
|
5049
5055
|
return {
|
|
5050
5056
|
uuid: a,
|
|
5051
5057
|
show: p,
|
|
5052
5058
|
hide: u,
|
|
5053
|
-
modal:
|
|
5059
|
+
modal: _
|
|
5054
5060
|
};
|
|
5055
5061
|
}
|
|
5056
5062
|
function uf(e) {
|
|
@@ -5058,32 +5064,32 @@ function uf(e) {
|
|
|
5058
5064
|
let [l] = ge.useForm();
|
|
5059
5065
|
l = r || l;
|
|
5060
5066
|
const f = typeof t == "function", p = async () => {
|
|
5061
|
-
const
|
|
5062
|
-
await (a == null ? void 0 : a(
|
|
5067
|
+
const y = await l.validateFields();
|
|
5068
|
+
await (a == null ? void 0 : a(y, c)), _();
|
|
5063
5069
|
}, u = () => {
|
|
5064
5070
|
l.resetFields();
|
|
5065
|
-
}, { uuid: A, show: h, hide:
|
|
5071
|
+
}, { uuid: A, show: h, hide: _, modal: g } = Eu({
|
|
5066
5072
|
...s,
|
|
5067
|
-
content: (
|
|
5073
|
+
content: (y) => /* @__PURE__ */ d.jsx(ge, { ...n, form: l, children: f ? t(c, y) : t }),
|
|
5068
5074
|
onConfirm: p,
|
|
5069
5075
|
afterClose: u
|
|
5070
5076
|
});
|
|
5071
5077
|
return {
|
|
5072
5078
|
uuid: A,
|
|
5073
5079
|
show: ({
|
|
5074
|
-
initialValues:
|
|
5075
|
-
extraValues:
|
|
5080
|
+
initialValues: y,
|
|
5081
|
+
extraValues: m
|
|
5076
5082
|
} = {}) => {
|
|
5077
|
-
|
|
5083
|
+
m && o(m), y && l.setFieldsValue(y), h();
|
|
5078
5084
|
},
|
|
5079
|
-
hide:
|
|
5080
|
-
modal:
|
|
5085
|
+
hide: _,
|
|
5086
|
+
modal: g
|
|
5081
5087
|
};
|
|
5082
5088
|
}
|
|
5083
5089
|
const Ou = () => {
|
|
5084
5090
|
const e = es(), t = we(), { notFoundRedirectUrl: r } = De();
|
|
5085
5091
|
return /* @__PURE__ */ d.jsx("div", { className: "h-screen flex justify-center items-center", children: /* @__PURE__ */ d.jsx(
|
|
5086
|
-
|
|
5092
|
+
er,
|
|
5087
5093
|
{
|
|
5088
5094
|
status: "404",
|
|
5089
5095
|
title: "404",
|
|
@@ -5109,15 +5115,15 @@ var Ec = { exports: {} };
|
|
|
5109
5115
|
(function(r, n) {
|
|
5110
5116
|
e.exports = n();
|
|
5111
5117
|
})(c2, function() {
|
|
5112
|
-
var r = 1e3, n = 6e4, a = 36e5, s = "millisecond", c = "second", o = "minute", l = "hour", f = "day", p = "week", u = "month", A = "quarter", h = "year",
|
|
5118
|
+
var r = 1e3, n = 6e4, a = 36e5, s = "millisecond", c = "second", o = "minute", l = "hour", f = "day", p = "week", u = "month", A = "quarter", h = "year", _ = "date", g = "Invalid Date", b = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, m = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(x) {
|
|
5113
5119
|
var C = ["th", "st", "nd", "rd"], v = x % 100;
|
|
5114
5120
|
return "[" + x + (C[(v - 20) % 10] || C[v] || C[0]) + "]";
|
|
5115
|
-
} },
|
|
5121
|
+
} }, O = function(x, C, v) {
|
|
5116
5122
|
var E = String(x);
|
|
5117
5123
|
return !E || E.length >= C ? x : "" + Array(C + 1 - E.length).join(v) + x;
|
|
5118
|
-
},
|
|
5124
|
+
}, R = { s: O, z: function(x) {
|
|
5119
5125
|
var C = -x.utcOffset(), v = Math.abs(C), E = Math.floor(v / 60), w = v % 60;
|
|
5120
|
-
return (C <= 0 ? "+" : "-") +
|
|
5126
|
+
return (C <= 0 ? "+" : "-") + O(E, 2, "0") + ":" + O(w, 2, "0");
|
|
5121
5127
|
}, m: function x(C, v) {
|
|
5122
5128
|
if (C.date() < v.date())
|
|
5123
5129
|
return -x(v, C);
|
|
@@ -5126,11 +5132,11 @@ var Ec = { exports: {} };
|
|
|
5126
5132
|
}, a: function(x) {
|
|
5127
5133
|
return x < 0 ? Math.ceil(x) || 0 : Math.floor(x);
|
|
5128
5134
|
}, p: function(x) {
|
|
5129
|
-
return { M: u, y: h, w: p, d: f, D:
|
|
5135
|
+
return { M: u, y: h, w: p, d: f, D: _, h: l, m: o, s: c, ms: s, Q: A }[x] || String(x || "").toLowerCase().replace(/s$/, "");
|
|
5130
5136
|
}, u: function(x) {
|
|
5131
5137
|
return x === void 0;
|
|
5132
5138
|
} }, j = "en", D = {};
|
|
5133
|
-
D[j] =
|
|
5139
|
+
D[j] = m;
|
|
5134
5140
|
var N = "$isDayjsObject", P = function(x) {
|
|
5135
5141
|
return x instanceof B || !(!x || !x[N]);
|
|
5136
5142
|
}, U = function x(C, v, E) {
|
|
@@ -5153,7 +5159,7 @@ var Ec = { exports: {} };
|
|
|
5153
5159
|
return x.clone();
|
|
5154
5160
|
var v = typeof C == "object" ? C : {};
|
|
5155
5161
|
return v.date = x, v.args = arguments, new B(v);
|
|
5156
|
-
}, M =
|
|
5162
|
+
}, M = R;
|
|
5157
5163
|
M.l = U, M.i = P, M.w = function(x, C) {
|
|
5158
5164
|
return I(x, { locale: C.$L, utc: C.$u, x: C.$x, $offset: C.$offset });
|
|
5159
5165
|
};
|
|
@@ -5186,7 +5192,7 @@ var Ec = { exports: {} };
|
|
|
5186
5192
|
}, C.$utils = function() {
|
|
5187
5193
|
return M;
|
|
5188
5194
|
}, C.isValid = function() {
|
|
5189
|
-
return this.$d.toString() !==
|
|
5195
|
+
return this.$d.toString() !== g;
|
|
5190
5196
|
}, C.isSame = function(v, E) {
|
|
5191
5197
|
var w = I(v);
|
|
5192
5198
|
return this.startOf(E) <= w && w <= this.endOf(E);
|
|
@@ -5216,7 +5222,7 @@ var Ec = { exports: {} };
|
|
|
5216
5222
|
var ue = this.$locale().weekStart || 0, pe = (K < ue ? K + 7 : K) - ue;
|
|
5217
5223
|
return L(F ? k - pe : k + (6 - pe), re);
|
|
5218
5224
|
case f:
|
|
5219
|
-
case
|
|
5225
|
+
case _:
|
|
5220
5226
|
return W(ae + "Hours", 0);
|
|
5221
5227
|
case l:
|
|
5222
5228
|
return W(ae + "Minutes", 1);
|
|
@@ -5230,10 +5236,10 @@ var Ec = { exports: {} };
|
|
|
5230
5236
|
}, C.endOf = function(v) {
|
|
5231
5237
|
return this.startOf(v, !1);
|
|
5232
5238
|
}, C.$set = function(v, E) {
|
|
5233
|
-
var w, F = M.p(v), G = "set" + (this.$u ? "UTC" : ""), L = (w = {}, w[f] = G + "Date", w[
|
|
5239
|
+
var w, F = M.p(v), G = "set" + (this.$u ? "UTC" : ""), L = (w = {}, w[f] = G + "Date", w[_] = G + "Date", w[u] = G + "Month", w[h] = G + "FullYear", w[l] = G + "Hours", w[o] = G + "Minutes", w[c] = G + "Seconds", w[s] = G + "Milliseconds", w)[F], W = F === f ? this.$D + (E - this.$W) : E;
|
|
5234
5240
|
if (F === u || F === h) {
|
|
5235
|
-
var K = this.clone().set(
|
|
5236
|
-
K.$d[L](W), K.init(), this.$d = K.set(
|
|
5241
|
+
var K = this.clone().set(_, 1);
|
|
5242
|
+
K.$d[L](W), K.init(), this.$d = K.set(_, Math.min(this.$D, K.daysInMonth())).$d;
|
|
5237
5243
|
} else
|
|
5238
5244
|
L && this.$d[L](W);
|
|
5239
5245
|
return this.init(), this;
|
|
@@ -5263,7 +5269,7 @@ var Ec = { exports: {} };
|
|
|
5263
5269
|
}, C.format = function(v) {
|
|
5264
5270
|
var E = this, w = this.$locale();
|
|
5265
5271
|
if (!this.isValid())
|
|
5266
|
-
return w.invalidDate ||
|
|
5272
|
+
return w.invalidDate || g;
|
|
5267
5273
|
var F = v || "YYYY-MM-DDTHH:mm:ssZ", G = M.z(this), L = this.$H, W = this.$m, K = this.$M, re = w.weekdays, k = w.months, ae = w.meridiem, ue = function(ee, me, Y, q) {
|
|
5268
5274
|
return ee && (ee[me] || ee(E, F)) || Y[me].slice(0, q);
|
|
5269
5275
|
}, pe = function(ee) {
|
|
@@ -5272,7 +5278,7 @@ var Ec = { exports: {} };
|
|
|
5272
5278
|
var q = ee < 12 ? "AM" : "PM";
|
|
5273
5279
|
return Y ? q.toLowerCase() : q;
|
|
5274
5280
|
};
|
|
5275
|
-
return F.replace(
|
|
5281
|
+
return F.replace(y, function(ee, me) {
|
|
5276
5282
|
return me || function(Y) {
|
|
5277
5283
|
switch (Y) {
|
|
5278
5284
|
case "YY":
|
|
@@ -5383,7 +5389,7 @@ var Ec = { exports: {} };
|
|
|
5383
5389
|
return this.$d.toUTCString();
|
|
5384
5390
|
}, x;
|
|
5385
5391
|
}(), $ = B.prototype;
|
|
5386
|
-
return I.prototype = $, [["$ms", s], ["$s", c], ["$m", o], ["$H", l], ["$W", f], ["$M", u], ["$y", h], ["$D",
|
|
5392
|
+
return I.prototype = $, [["$ms", s], ["$s", c], ["$m", o], ["$H", l], ["$W", f], ["$M", u], ["$y", h], ["$D", _]].forEach(function(x) {
|
|
5387
5393
|
$[x[1]] = function(C) {
|
|
5388
5394
|
return this.$g(C, x[0], x[1]);
|
|
5389
5395
|
};
|
|
@@ -5488,7 +5494,7 @@ const Mu = /* @__PURE__ */ ln(Du), { Option: Ha } = sn, { Paragraph: Ya } = cn,
|
|
|
5488
5494
|
n(p.data.token);
|
|
5489
5495
|
}
|
|
5490
5496
|
}
|
|
5491
|
-
), r ? o ? /* @__PURE__ */ d.jsx(
|
|
5497
|
+
), r ? o ? /* @__PURE__ */ d.jsx(jr, { replace: !0, to: o }) : /* @__PURE__ */ d.jsx(jr, { replace: !0, to: "/" }) : /* @__PURE__ */ d.jsxs("div", { className: "w-screen h-screen relative flex", children: [
|
|
5492
5498
|
c && /* @__PURE__ */ d.jsx("div", { className: "absolute top-16 right-16 z-10", children: c }),
|
|
5493
5499
|
/* @__PURE__ */ d.jsx("div", { className: "absolute left-14 top-6", children: /* @__PURE__ */ d.jsxs(nt, { align: "center", children: [
|
|
5494
5500
|
/* @__PURE__ */ d.jsx("img", { src: rn, className: "w-12", alt: "logo" }),
|
|
@@ -5513,8 +5519,8 @@ const Mu = /* @__PURE__ */ ln(Du), { Option: Ha } = sn, { Paragraph: Ya } = cn,
|
|
|
5513
5519
|
}, zu = Lu, Uu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5514
5520
|
__proto__: null,
|
|
5515
5521
|
default: zu
|
|
5516
|
-
}, Symbol.toStringTag, { value: "Module" })), ku = ot(() => import("./index-
|
|
5517
|
-
/* @__PURE__ */ d.jsx(He, { index: !0, element: /* @__PURE__ */ d.jsx(
|
|
5522
|
+
}, Symbol.toStringTag, { value: "Module" })), ku = ot(() => import("./index-8tFoUnMO.chunk.js")), $u = ot(() => import("./index-yKR2Vdvr.chunk.js")), Vu = ot(() => import("./index-TQRAm4V4.chunk.js")), Wu = () => /* @__PURE__ */ d.jsxs(ts, { children: [
|
|
5523
|
+
/* @__PURE__ */ d.jsx(He, { index: !0, element: /* @__PURE__ */ d.jsx(jr, { to: "user" }) }),
|
|
5518
5524
|
/* @__PURE__ */ d.jsx(He, { path: "user", element: /* @__PURE__ */ d.jsx(ku, {}) }),
|
|
5519
5525
|
/* @__PURE__ */ d.jsx(He, { path: "role", element: /* @__PURE__ */ d.jsx($u, {}) }),
|
|
5520
5526
|
/* @__PURE__ */ d.jsx(He, { path: "role/:name", element: /* @__PURE__ */ d.jsx(Vu, {}) })
|
|
@@ -5563,7 +5569,7 @@ export {
|
|
|
5563
5569
|
Bt as e,
|
|
5564
5570
|
uc as f,
|
|
5565
5571
|
Xr as g,
|
|
5566
|
-
|
|
5572
|
+
Kt as h,
|
|
5567
5573
|
cf as i,
|
|
5568
5574
|
d as j,
|
|
5569
5575
|
Tu as k,
|
|
@@ -5575,7 +5581,7 @@ export {
|
|
|
5575
5581
|
lu as q,
|
|
5576
5582
|
ct as r,
|
|
5577
5583
|
gt as s,
|
|
5578
|
-
|
|
5584
|
+
Qt as t,
|
|
5579
5585
|
vu as u,
|
|
5580
5586
|
Hl as v,
|
|
5581
5587
|
fc as w,
|