szld-libs 0.1.9 → 0.2.0
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/dist/szld-components.es.js +638 -632
- package/dist/szld-components.umd.js +37 -37
- package/es/components/SearchTable/index.d.ts +2 -0
- package/es/components/SearchTable/index.js +8 -2
- package/es/index.js +96 -3
- package/lib/components/SearchTable/index.d.ts +2 -0
- package/lib/components/SearchTable/index.js +8 -2
- package/lib/index.js +94 -1
- package/package.json +1 -1
|
@@ -13,57 +13,57 @@ function j_() {
|
|
|
13
13
|
return Hp;
|
|
14
14
|
jT = 1;
|
|
15
15
|
var v = cu, g = Symbol.for("react.element"), p = Symbol.for("react.fragment"), R = Object.prototype.hasOwnProperty, _ = v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, A = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
16
|
-
function
|
|
16
|
+
function S(Q, H, j) {
|
|
17
17
|
var K, G = {}, ie = null, ae = null;
|
|
18
18
|
j !== void 0 && (ie = "" + j), H.key !== void 0 && (ie = "" + H.key), H.ref !== void 0 && (ae = H.ref);
|
|
19
19
|
for (K in H)
|
|
20
20
|
R.call(H, K) && !A.hasOwnProperty(K) && (G[K] = H[K]);
|
|
21
|
-
if (
|
|
22
|
-
for (K in H =
|
|
21
|
+
if (Q && Q.defaultProps)
|
|
22
|
+
for (K in H = Q.defaultProps, H)
|
|
23
23
|
G[K] === void 0 && (G[K] = H[K]);
|
|
24
|
-
return { $$typeof: g, type:
|
|
24
|
+
return { $$typeof: g, type: Q, key: ie, ref: ae, props: G, _owner: _.current };
|
|
25
25
|
}
|
|
26
|
-
return Hp.Fragment = p, Hp.jsx =
|
|
26
|
+
return Hp.Fragment = p, Hp.jsx = S, Hp.jsxs = S, Hp;
|
|
27
27
|
}
|
|
28
28
|
var jp = {};
|
|
29
29
|
var VT;
|
|
30
30
|
function V_() {
|
|
31
31
|
return VT || (VT = 1, process.env.NODE_ENV !== "production" && function() {
|
|
32
|
-
var v = cu, g = Symbol.for("react.element"), p = Symbol.for("react.portal"), R = Symbol.for("react.fragment"), _ = Symbol.for("react.strict_mode"), A = Symbol.for("react.profiler"),
|
|
32
|
+
var v = cu, g = Symbol.for("react.element"), p = Symbol.for("react.portal"), R = Symbol.for("react.fragment"), _ = Symbol.for("react.strict_mode"), A = Symbol.for("react.profiler"), S = Symbol.for("react.provider"), Q = Symbol.for("react.context"), H = Symbol.for("react.forward_ref"), j = Symbol.for("react.suspense"), K = Symbol.for("react.suspense_list"), G = Symbol.for("react.memo"), ie = Symbol.for("react.lazy"), ae = Symbol.for("react.offscreen"), Ue = Symbol.iterator, Ze = "@@iterator";
|
|
33
33
|
function Ge(w) {
|
|
34
34
|
if (w === null || typeof w != "object")
|
|
35
35
|
return null;
|
|
36
|
-
var
|
|
37
|
-
return typeof
|
|
36
|
+
var W = Ue && w[Ue] || w[Ze];
|
|
37
|
+
return typeof W == "function" ? W : null;
|
|
38
38
|
}
|
|
39
39
|
var Bt = v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
40
40
|
function Se(w) {
|
|
41
41
|
{
|
|
42
|
-
for (var
|
|
42
|
+
for (var W = arguments.length, re = new Array(W > 1 ? W - 1 : 0), be = 1; be < W; be++)
|
|
43
43
|
re[be - 1] = arguments[be];
|
|
44
44
|
ze("error", w, re);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
function ze(w,
|
|
47
|
+
function ze(w, W, re) {
|
|
48
48
|
{
|
|
49
49
|
var be = Bt.ReactDebugCurrentFrame, $e = be.getStackAddendum();
|
|
50
|
-
$e !== "" && (
|
|
50
|
+
$e !== "" && (W += "%s", re = re.concat([$e]));
|
|
51
51
|
var at = re.map(function(Ye) {
|
|
52
52
|
return String(Ye);
|
|
53
53
|
});
|
|
54
|
-
at.unshift("Warning: " +
|
|
54
|
+
at.unshift("Warning: " + W), Function.prototype.apply.call(console[w], console, at);
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
var rt = !1, Be = !1, Ct = !1, Ie = !1, vn = !1, Bn;
|
|
58
58
|
Bn = Symbol.for("react.module.reference");
|
|
59
59
|
function It(w) {
|
|
60
|
-
return !!(typeof w == "string" || typeof w == "function" || w === R || w === A || vn || w === _ || w === j || w === K || Ie || w === ae || rt || Be || Ct || typeof w == "object" && w !== null && (w.$$typeof === ie || w.$$typeof === G || w.$$typeof ===
|
|
60
|
+
return !!(typeof w == "string" || typeof w == "function" || w === R || w === A || vn || w === _ || w === j || w === K || Ie || w === ae || rt || Be || Ct || typeof w == "object" && w !== null && (w.$$typeof === ie || w.$$typeof === G || w.$$typeof === S || w.$$typeof === Q || w.$$typeof === H || w.$$typeof === Bn || w.getModuleId !== void 0));
|
|
61
61
|
}
|
|
62
|
-
function mt(w,
|
|
62
|
+
function mt(w, W, re) {
|
|
63
63
|
var be = w.displayName;
|
|
64
64
|
if (be)
|
|
65
65
|
return be;
|
|
66
|
-
var $e =
|
|
66
|
+
var $e = W.displayName || W.name || "";
|
|
67
67
|
return $e !== "" ? re + "(" + $e + ")" : re;
|
|
68
68
|
}
|
|
69
69
|
function kn(w) {
|
|
@@ -92,10 +92,10 @@ function V_() {
|
|
|
92
92
|
}
|
|
93
93
|
if (typeof w == "object")
|
|
94
94
|
switch (w.$$typeof) {
|
|
95
|
-
case
|
|
96
|
-
var
|
|
97
|
-
return kn(
|
|
98
|
-
case
|
|
95
|
+
case Q:
|
|
96
|
+
var W = w;
|
|
97
|
+
return kn(W) + ".Consumer";
|
|
98
|
+
case S:
|
|
99
99
|
var re = w;
|
|
100
100
|
return kn(re._context) + ".Provider";
|
|
101
101
|
case H:
|
|
@@ -177,7 +177,7 @@ function V_() {
|
|
|
177
177
|
}
|
|
178
178
|
}
|
|
179
179
|
var rn = Bt.ReactCurrentDispatcher, qr;
|
|
180
|
-
function In(w,
|
|
180
|
+
function In(w, W, re) {
|
|
181
181
|
{
|
|
182
182
|
if (qr === void 0)
|
|
183
183
|
try {
|
|
@@ -195,7 +195,7 @@ function V_() {
|
|
|
195
195
|
var hr = typeof WeakMap == "function" ? WeakMap : Map;
|
|
196
196
|
Ha = new hr();
|
|
197
197
|
}
|
|
198
|
-
function Xr(w,
|
|
198
|
+
function Xr(w, W) {
|
|
199
199
|
if (!w || vr)
|
|
200
200
|
return "";
|
|
201
201
|
{
|
|
@@ -210,7 +210,7 @@ function V_() {
|
|
|
210
210
|
var at;
|
|
211
211
|
at = rn.current, rn.current = null, nr();
|
|
212
212
|
try {
|
|
213
|
-
if (
|
|
213
|
+
if (W) {
|
|
214
214
|
var Ye = function() {
|
|
215
215
|
throw Error();
|
|
216
216
|
};
|
|
@@ -266,14 +266,14 @@ function V_() {
|
|
|
266
266
|
var Ai = w ? w.displayName || w.name : "", bs = Ai ? In(Ai) : "";
|
|
267
267
|
return typeof w == "function" && Ha.set(w, bs), bs;
|
|
268
268
|
}
|
|
269
|
-
function mn(w,
|
|
269
|
+
function mn(w, W, re) {
|
|
270
270
|
return Xr(w, !1);
|
|
271
271
|
}
|
|
272
272
|
function $n(w) {
|
|
273
|
-
var
|
|
274
|
-
return !!(
|
|
273
|
+
var W = w.prototype;
|
|
274
|
+
return !!(W && W.isReactComponent);
|
|
275
275
|
}
|
|
276
|
-
function _n(w,
|
|
276
|
+
function _n(w, W, re) {
|
|
277
277
|
if (w == null)
|
|
278
278
|
return "";
|
|
279
279
|
if (typeof w == "function")
|
|
@@ -291,11 +291,11 @@ function V_() {
|
|
|
291
291
|
case H:
|
|
292
292
|
return mn(w.render);
|
|
293
293
|
case G:
|
|
294
|
-
return _n(w.type,
|
|
294
|
+
return _n(w.type, W, re);
|
|
295
295
|
case ie: {
|
|
296
296
|
var be = w, $e = be._payload, at = be._init;
|
|
297
297
|
try {
|
|
298
|
-
return _n(at($e),
|
|
298
|
+
return _n(at($e), W, re);
|
|
299
299
|
} catch {
|
|
300
300
|
}
|
|
301
301
|
}
|
|
@@ -305,12 +305,12 @@ function V_() {
|
|
|
305
305
|
var Yn = Object.prototype.hasOwnProperty, Qn = {}, Kr = Bt.ReactDebugCurrentFrame;
|
|
306
306
|
function Ca(w) {
|
|
307
307
|
if (w) {
|
|
308
|
-
var
|
|
308
|
+
var W = w._owner, re = _n(w.type, w._source, W ? W.type : null);
|
|
309
309
|
Kr.setExtraStackFrame(re);
|
|
310
310
|
} else
|
|
311
311
|
Kr.setExtraStackFrame(null);
|
|
312
312
|
}
|
|
313
|
-
function ri(w,
|
|
313
|
+
function ri(w, W, re, be, $e) {
|
|
314
314
|
{
|
|
315
315
|
var at = Function.call.bind(Yn);
|
|
316
316
|
for (var Ye in w)
|
|
@@ -321,7 +321,7 @@ function V_() {
|
|
|
321
321
|
var gn = Error((be || "React class") + ": " + re + " type `" + Ye + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof w[Ye] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
322
322
|
throw gn.name = "Invariant Violation", gn;
|
|
323
323
|
}
|
|
324
|
-
De = w[Ye](
|
|
324
|
+
De = w[Ye](W, Ye, be, re, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
325
325
|
} catch (Lt) {
|
|
326
326
|
De = Lt;
|
|
327
327
|
}
|
|
@@ -335,7 +335,7 @@ function V_() {
|
|
|
335
335
|
}
|
|
336
336
|
function Mr(w) {
|
|
337
337
|
{
|
|
338
|
-
var
|
|
338
|
+
var W = typeof Symbol == "function" && Symbol.toStringTag, re = W && w[Symbol.toStringTag] || w.constructor.name || "Object";
|
|
339
339
|
return re;
|
|
340
340
|
}
|
|
341
341
|
}
|
|
@@ -362,30 +362,30 @@ function V_() {
|
|
|
362
362
|
ne = {};
|
|
363
363
|
function Te(w) {
|
|
364
364
|
if (Yn.call(w, "ref")) {
|
|
365
|
-
var
|
|
366
|
-
if (
|
|
365
|
+
var W = Object.getOwnPropertyDescriptor(w, "ref").get;
|
|
366
|
+
if (W && W.isReactWarning)
|
|
367
367
|
return !1;
|
|
368
368
|
}
|
|
369
369
|
return w.ref !== void 0;
|
|
370
370
|
}
|
|
371
371
|
function Qe(w) {
|
|
372
372
|
if (Yn.call(w, "key")) {
|
|
373
|
-
var
|
|
374
|
-
if (
|
|
373
|
+
var W = Object.getOwnPropertyDescriptor(w, "key").get;
|
|
374
|
+
if (W && W.isReactWarning)
|
|
375
375
|
return !1;
|
|
376
376
|
}
|
|
377
377
|
return w.key !== void 0;
|
|
378
378
|
}
|
|
379
|
-
function vt(w,
|
|
380
|
-
if (typeof w.ref == "string" && Kt.current &&
|
|
379
|
+
function vt(w, W) {
|
|
380
|
+
if (typeof w.ref == "string" && Kt.current && W && Kt.current.stateNode !== W) {
|
|
381
381
|
var re = Fe(Kt.current.type);
|
|
382
382
|
ne[re] || (Se('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', Fe(Kt.current.type), w.ref), ne[re] = !0);
|
|
383
383
|
}
|
|
384
384
|
}
|
|
385
|
-
function Ft(w,
|
|
385
|
+
function Ft(w, W) {
|
|
386
386
|
{
|
|
387
387
|
var re = function() {
|
|
388
|
-
Li || (Li = !0, Se("%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)",
|
|
388
|
+
Li || (Li = !0, Se("%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)", W));
|
|
389
389
|
};
|
|
390
390
|
re.isReactWarning = !0, Object.defineProperty(w, "key", {
|
|
391
391
|
get: re,
|
|
@@ -393,10 +393,10 @@ function V_() {
|
|
|
393
393
|
});
|
|
394
394
|
}
|
|
395
395
|
}
|
|
396
|
-
function yn(w,
|
|
396
|
+
function yn(w, W) {
|
|
397
397
|
{
|
|
398
398
|
var re = function() {
|
|
399
|
-
wa || (wa = !0, Se("%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)",
|
|
399
|
+
wa || (wa = !0, Se("%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)", W));
|
|
400
400
|
};
|
|
401
401
|
re.isReactWarning = !0, Object.defineProperty(w, "ref", {
|
|
402
402
|
get: re,
|
|
@@ -404,11 +404,11 @@ function V_() {
|
|
|
404
404
|
});
|
|
405
405
|
}
|
|
406
406
|
}
|
|
407
|
-
var Wt = function(w,
|
|
407
|
+
var Wt = function(w, W, re, be, $e, at, Ye) {
|
|
408
408
|
var De = {
|
|
409
409
|
$$typeof: g,
|
|
410
410
|
type: w,
|
|
411
|
-
key:
|
|
411
|
+
key: W,
|
|
412
412
|
ref: re,
|
|
413
413
|
props: Ye,
|
|
414
414
|
_owner: at
|
|
@@ -430,12 +430,12 @@ function V_() {
|
|
|
430
430
|
value: $e
|
|
431
431
|
}), Object.freeze && (Object.freeze(De.props), Object.freeze(De)), De;
|
|
432
432
|
};
|
|
433
|
-
function mr(w,
|
|
433
|
+
function mr(w, W, re, be, $e) {
|
|
434
434
|
{
|
|
435
435
|
var at, Ye = {}, De = null, gn = null;
|
|
436
|
-
re !== void 0 && (Ta(re), De = "" + re), Qe(
|
|
437
|
-
for (at in
|
|
438
|
-
Yn.call(
|
|
436
|
+
re !== void 0 && (Ta(re), De = "" + re), Qe(W) && (Ta(W.key), De = "" + W.key), Te(W) && (gn = W.ref, vt(W, $e));
|
|
437
|
+
for (at in W)
|
|
438
|
+
Yn.call(W, at) && !zr.hasOwnProperty(at) && (Ye[at] = W[at]);
|
|
439
439
|
if (w && w.defaultProps) {
|
|
440
440
|
var Lt = w.defaultProps;
|
|
441
441
|
for (at in Lt)
|
|
@@ -451,7 +451,7 @@ function V_() {
|
|
|
451
451
|
var xt = Bt.ReactCurrentOwner, Ur = Bt.ReactDebugCurrentFrame;
|
|
452
452
|
function Et(w) {
|
|
453
453
|
if (w) {
|
|
454
|
-
var
|
|
454
|
+
var W = w._owner, re = _n(w.type, w._source, W ? W.type : null);
|
|
455
455
|
Ur.setExtraStackFrame(re);
|
|
456
456
|
} else
|
|
457
457
|
Ur.setExtraStackFrame(null);
|
|
@@ -476,10 +476,10 @@ Check the render method of \`` + w + "`.";
|
|
|
476
476
|
function du(w) {
|
|
477
477
|
{
|
|
478
478
|
if (w !== void 0) {
|
|
479
|
-
var
|
|
479
|
+
var W = w.fileName.replace(/^.*[\\\/]/, ""), re = w.lineNumber;
|
|
480
480
|
return `
|
|
481
481
|
|
|
482
|
-
Check your code at ` +
|
|
482
|
+
Check your code at ` + W + ":" + re + ".";
|
|
483
483
|
}
|
|
484
484
|
return "";
|
|
485
485
|
}
|
|
@@ -487,22 +487,22 @@ Check your code at ` + Q + ":" + re + ".";
|
|
|
487
487
|
var ho = {};
|
|
488
488
|
function xs(w) {
|
|
489
489
|
{
|
|
490
|
-
var
|
|
491
|
-
if (!
|
|
490
|
+
var W = yl();
|
|
491
|
+
if (!W) {
|
|
492
492
|
var re = typeof w == "string" ? w : w.displayName || w.name;
|
|
493
|
-
re && (
|
|
493
|
+
re && (W = `
|
|
494
494
|
|
|
495
495
|
Check the top-level render call using <` + re + ">.");
|
|
496
496
|
}
|
|
497
|
-
return
|
|
497
|
+
return W;
|
|
498
498
|
}
|
|
499
499
|
}
|
|
500
|
-
function gl(w,
|
|
500
|
+
function gl(w, W) {
|
|
501
501
|
{
|
|
502
502
|
if (!w._store || w._store.validated || w.key != null)
|
|
503
503
|
return;
|
|
504
504
|
w._store.validated = !0;
|
|
505
|
-
var re = xs(
|
|
505
|
+
var re = xs(W);
|
|
506
506
|
if (ho[re])
|
|
507
507
|
return;
|
|
508
508
|
ho[re] = !0;
|
|
@@ -510,14 +510,14 @@ Check the top-level render call using <` + re + ">.");
|
|
|
510
510
|
w && w._owner && w._owner !== xt.current && (be = " It was passed a child from " + Fe(w._owner.type) + "."), Et(w), Se('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', re, be), Et(null);
|
|
511
511
|
}
|
|
512
512
|
}
|
|
513
|
-
function pu(w,
|
|
513
|
+
function pu(w, W) {
|
|
514
514
|
{
|
|
515
515
|
if (typeof w != "object")
|
|
516
516
|
return;
|
|
517
517
|
if (Ea(w))
|
|
518
518
|
for (var re = 0; re < w.length; re++) {
|
|
519
519
|
var be = w[re];
|
|
520
|
-
fu(be) && gl(be,
|
|
520
|
+
fu(be) && gl(be, W);
|
|
521
521
|
}
|
|
522
522
|
else if (fu(w))
|
|
523
523
|
w._store && (w._store.validated = !0);
|
|
@@ -525,37 +525,37 @@ Check the top-level render call using <` + re + ">.");
|
|
|
525
525
|
var $e = Ge(w);
|
|
526
526
|
if (typeof $e == "function" && $e !== w.entries)
|
|
527
527
|
for (var at = $e.call(w), Ye; !(Ye = at.next()).done; )
|
|
528
|
-
fu(Ye.value) && gl(Ye.value,
|
|
528
|
+
fu(Ye.value) && gl(Ye.value, W);
|
|
529
529
|
}
|
|
530
530
|
}
|
|
531
531
|
}
|
|
532
532
|
function Sl(w) {
|
|
533
533
|
{
|
|
534
|
-
var
|
|
535
|
-
if (
|
|
534
|
+
var W = w.type;
|
|
535
|
+
if (W == null || typeof W == "string")
|
|
536
536
|
return;
|
|
537
537
|
var re;
|
|
538
|
-
if (typeof
|
|
539
|
-
re =
|
|
540
|
-
else if (typeof
|
|
541
|
-
re =
|
|
538
|
+
if (typeof W == "function")
|
|
539
|
+
re = W.propTypes;
|
|
540
|
+
else if (typeof W == "object" && (W.$$typeof === H || W.$$typeof === G))
|
|
541
|
+
re = W.propTypes;
|
|
542
542
|
else
|
|
543
543
|
return;
|
|
544
544
|
if (re) {
|
|
545
|
-
var be = Fe(
|
|
545
|
+
var be = Fe(W);
|
|
546
546
|
ri(re, w.props, "prop", be, w);
|
|
547
|
-
} else if (
|
|
547
|
+
} else if (W.PropTypes !== void 0 && !bt) {
|
|
548
548
|
bt = !0;
|
|
549
|
-
var $e = Fe(
|
|
549
|
+
var $e = Fe(W);
|
|
550
550
|
Se("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", $e || "Unknown");
|
|
551
551
|
}
|
|
552
|
-
typeof
|
|
552
|
+
typeof W.getDefaultProps == "function" && !W.getDefaultProps.isReactClassApproved && Se("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
553
553
|
}
|
|
554
554
|
}
|
|
555
555
|
function vu(w) {
|
|
556
556
|
{
|
|
557
|
-
for (var
|
|
558
|
-
var be =
|
|
557
|
+
for (var W = Object.keys(w.props), re = 0; re < W.length; re++) {
|
|
558
|
+
var be = W[re];
|
|
559
559
|
if (be !== "children" && be !== "key") {
|
|
560
560
|
Et(w), Se("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", be), Et(null);
|
|
561
561
|
break;
|
|
@@ -564,7 +564,7 @@ Check the top-level render call using <` + re + ">.");
|
|
|
564
564
|
w.ref !== null && (Et(w), Se("Invalid attribute `ref` supplied to `React.Fragment`."), Et(null));
|
|
565
565
|
}
|
|
566
566
|
}
|
|
567
|
-
function Pa(w,
|
|
567
|
+
function Pa(w, W, re, be, $e, at) {
|
|
568
568
|
{
|
|
569
569
|
var Ye = It(w);
|
|
570
570
|
if (!Ye) {
|
|
@@ -575,11 +575,11 @@ Check the top-level render call using <` + re + ">.");
|
|
|
575
575
|
var Lt;
|
|
576
576
|
w === null ? Lt = "null" : Ea(w) ? Lt = "array" : w !== void 0 && w.$$typeof === g ? (Lt = "<" + (Fe(w.type) || "Unknown") + " />", De = " Did you accidentally export a JSX literal instead of a component?") : Lt = typeof w, Se("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Lt, De);
|
|
577
577
|
}
|
|
578
|
-
var zt = mr(w,
|
|
578
|
+
var zt = mr(w, W, re, $e, at);
|
|
579
579
|
if (zt == null)
|
|
580
580
|
return zt;
|
|
581
581
|
if (Ye) {
|
|
582
|
-
var rr =
|
|
582
|
+
var rr = W.children;
|
|
583
583
|
if (rr !== void 0)
|
|
584
584
|
if (be)
|
|
585
585
|
if (Ea(rr)) {
|
|
@@ -594,11 +594,11 @@ Check the top-level render call using <` + re + ">.");
|
|
|
594
594
|
return w === R ? vu(zt) : Sl(zt), zt;
|
|
595
595
|
}
|
|
596
596
|
}
|
|
597
|
-
function zi(w,
|
|
598
|
-
return Pa(w,
|
|
597
|
+
function zi(w, W, re) {
|
|
598
|
+
return Pa(w, W, re, !0);
|
|
599
599
|
}
|
|
600
|
-
function Ar(w,
|
|
601
|
-
return Pa(w,
|
|
600
|
+
function Ar(w, W, re) {
|
|
601
|
+
return Pa(w, W, re, !1);
|
|
602
602
|
}
|
|
603
603
|
var Ra = Ar, Ui = zi;
|
|
604
604
|
jp.Fragment = R, jp.jsx = Ra, jp.jsxs = Ui;
|
|
@@ -669,27 +669,27 @@ function $_(v) {
|
|
|
669
669
|
function Y_(v, g) {
|
|
670
670
|
var p = v == null ? null : typeof Symbol < "u" && v[Symbol.iterator] || v["@@iterator"];
|
|
671
671
|
if (p != null) {
|
|
672
|
-
var R, _, A,
|
|
672
|
+
var R, _, A, S, Q = [], H = !0, j = !1;
|
|
673
673
|
try {
|
|
674
674
|
if (A = (p = p.call(v)).next, g === 0) {
|
|
675
675
|
if (Object(p) !== p)
|
|
676
676
|
return;
|
|
677
677
|
H = !1;
|
|
678
678
|
} else
|
|
679
|
-
for (; !(H = (R = A.call(p)).done) && (
|
|
679
|
+
for (; !(H = (R = A.call(p)).done) && (Q.push(R.value), Q.length !== g); H = !0)
|
|
680
680
|
;
|
|
681
681
|
} catch (K) {
|
|
682
682
|
j = !0, _ = K;
|
|
683
683
|
} finally {
|
|
684
684
|
try {
|
|
685
|
-
if (!H && p.return != null && (
|
|
685
|
+
if (!H && p.return != null && (S = p.return(), Object(S) !== S))
|
|
686
686
|
return;
|
|
687
687
|
} finally {
|
|
688
688
|
if (j)
|
|
689
689
|
throw _;
|
|
690
690
|
}
|
|
691
691
|
}
|
|
692
|
-
return
|
|
692
|
+
return Q;
|
|
693
693
|
}
|
|
694
694
|
}
|
|
695
695
|
function BT(v, g) {
|
|
@@ -743,15 +743,15 @@ var vw = { exports: {} };
|
|
|
743
743
|
for (var R = [], _ = 0; _ < arguments.length; _++) {
|
|
744
744
|
var A = arguments[_];
|
|
745
745
|
if (A) {
|
|
746
|
-
var
|
|
747
|
-
if (
|
|
746
|
+
var S = typeof A;
|
|
747
|
+
if (S === "string" || S === "number")
|
|
748
748
|
R.push(A);
|
|
749
749
|
else if (Array.isArray(A)) {
|
|
750
750
|
if (A.length) {
|
|
751
|
-
var
|
|
752
|
-
|
|
751
|
+
var Q = p.apply(null, A);
|
|
752
|
+
Q && R.push(Q);
|
|
753
753
|
}
|
|
754
|
-
} else if (
|
|
754
|
+
} else if (S === "object") {
|
|
755
755
|
if (A.toString !== Object.prototype.toString && !A.toString.toString().includes("[native code]")) {
|
|
756
756
|
R.push(A.toString());
|
|
757
757
|
continue;
|
|
@@ -802,35 +802,35 @@ function J_(v, g, p) {
|
|
|
802
802
|
if (v = ni(v, 360), g = ni(g, 100), p = ni(p, 100), g === 0)
|
|
803
803
|
_ = p, A = p, R = p;
|
|
804
804
|
else {
|
|
805
|
-
var
|
|
806
|
-
R = LS(
|
|
805
|
+
var S = p < 0.5 ? p * (1 + g) : p + g - p * g, Q = 2 * p - S;
|
|
806
|
+
R = LS(Q, S, v + 1 / 3), _ = LS(Q, S, v), A = LS(Q, S, v - 1 / 3);
|
|
807
807
|
}
|
|
808
808
|
return { r: R * 255, g: _ * 255, b: A * 255 };
|
|
809
809
|
}
|
|
810
810
|
function eO(v, g, p) {
|
|
811
811
|
v = ni(v, 255), g = ni(g, 255), p = ni(p, 255);
|
|
812
|
-
var R = Math.max(v, g, p), _ = Math.min(v, g, p), A = 0,
|
|
812
|
+
var R = Math.max(v, g, p), _ = Math.min(v, g, p), A = 0, S = R, Q = R - _, H = R === 0 ? 0 : Q / R;
|
|
813
813
|
if (R === _)
|
|
814
814
|
A = 0;
|
|
815
815
|
else {
|
|
816
816
|
switch (R) {
|
|
817
817
|
case v:
|
|
818
|
-
A = (g - p) /
|
|
818
|
+
A = (g - p) / Q + (g < p ? 6 : 0);
|
|
819
819
|
break;
|
|
820
820
|
case g:
|
|
821
|
-
A = (p - v) /
|
|
821
|
+
A = (p - v) / Q + 2;
|
|
822
822
|
break;
|
|
823
823
|
case p:
|
|
824
|
-
A = (v - g) /
|
|
824
|
+
A = (v - g) / Q + 4;
|
|
825
825
|
break;
|
|
826
826
|
}
|
|
827
827
|
A /= 6;
|
|
828
828
|
}
|
|
829
|
-
return { h: A, s: H, v:
|
|
829
|
+
return { h: A, s: H, v: S };
|
|
830
830
|
}
|
|
831
831
|
function tO(v, g, p) {
|
|
832
832
|
v = ni(v, 360) * 6, g = ni(g, 100), p = ni(p, 100);
|
|
833
|
-
var R = Math.floor(v), _ = v - R, A = p * (1 - g),
|
|
833
|
+
var R = Math.floor(v), _ = v - R, A = p * (1 - g), S = p * (1 - _ * g), Q = p * (1 - (1 - _) * g), H = R % 6, j = [p, S, A, A, Q, p][H], K = [Q, p, p, S, A, A][H], G = [A, A, Q, p, p, S][H];
|
|
834
834
|
return { r: j * 255, g: K * 255, b: G * 255 };
|
|
835
835
|
}
|
|
836
836
|
function nO(v, g, p, R) {
|
|
@@ -998,10 +998,10 @@ var $T = {
|
|
|
998
998
|
yellowgreen: "#9acd32"
|
|
999
999
|
};
|
|
1000
1000
|
function Vp(v) {
|
|
1001
|
-
var g = { r: 0, g: 0, b: 0 }, p = 1, R = null, _ = null, A = null,
|
|
1002
|
-
return typeof v == "string" && (v = iO(v)), typeof v == "object" && (su(v.r) && su(v.g) && su(v.b) ? (g = Z_(v.r, v.g, v.b),
|
|
1003
|
-
ok:
|
|
1004
|
-
format: v.format ||
|
|
1001
|
+
var g = { r: 0, g: 0, b: 0 }, p = 1, R = null, _ = null, A = null, S = !1, Q = !1;
|
|
1002
|
+
return typeof v == "string" && (v = iO(v)), typeof v == "object" && (su(v.r) && su(v.g) && su(v.b) ? (g = Z_(v.r, v.g, v.b), S = !0, Q = String(v.r).substr(-1) === "%" ? "prgb" : "rgb") : su(v.h) && su(v.s) && su(v.v) ? (R = $m(v.s), _ = $m(v.v), g = tO(v.h, R, _), S = !0, Q = "hsv") : su(v.h) && su(v.s) && su(v.l) && (R = $m(v.s), A = $m(v.l), g = J_(v.h, R, A), S = !0, Q = "hsl"), Object.prototype.hasOwnProperty.call(v, "a") && (p = v.a)), p = K_(p), {
|
|
1003
|
+
ok: S,
|
|
1004
|
+
format: v.format || Q,
|
|
1005
1005
|
r: Math.min(255, Math.max(g.r, 0)),
|
|
1006
1006
|
g: Math.min(255, Math.max(g.g, 0)),
|
|
1007
1007
|
b: Math.min(255, Math.max(g.b, 0)),
|
|
@@ -1124,19 +1124,19 @@ function qT(v, g, p) {
|
|
|
1124
1124
|
}
|
|
1125
1125
|
function YS(v) {
|
|
1126
1126
|
for (var g = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, p = [], R = Vp(v), _ = hw; _ > 0; _ -= 1) {
|
|
1127
|
-
var A = QT(R),
|
|
1127
|
+
var A = QT(R), S = Qm(Vp({
|
|
1128
1128
|
h: WT(A, _, !0),
|
|
1129
1129
|
s: GT(A, _, !0),
|
|
1130
1130
|
v: qT(A, _, !0)
|
|
1131
1131
|
}));
|
|
1132
|
-
p.push(
|
|
1132
|
+
p.push(S);
|
|
1133
1133
|
}
|
|
1134
1134
|
p.push(Qm(R));
|
|
1135
|
-
for (var
|
|
1135
|
+
for (var Q = 1; Q <= mw; Q += 1) {
|
|
1136
1136
|
var H = QT(R), j = Qm(Vp({
|
|
1137
|
-
h: WT(H,
|
|
1138
|
-
s: GT(H,
|
|
1139
|
-
v: qT(H,
|
|
1137
|
+
h: WT(H, Q),
|
|
1138
|
+
s: GT(H, Q),
|
|
1139
|
+
v: qT(H, Q)
|
|
1140
1140
|
}));
|
|
1141
1141
|
p.push(j);
|
|
1142
1142
|
}
|
|
@@ -1216,16 +1216,16 @@ function Sw(v) {
|
|
|
1216
1216
|
return null;
|
|
1217
1217
|
var p = g.csp, R = g.prepend, _ = document.createElement("style");
|
|
1218
1218
|
_.setAttribute(KT, yO(R)), p != null && p.nonce && (_.nonce = p == null ? void 0 : p.nonce), _.innerHTML = v;
|
|
1219
|
-
var A = KS(g),
|
|
1219
|
+
var A = KS(g), S = A.firstChild;
|
|
1220
1220
|
if (R) {
|
|
1221
1221
|
if (R === "queue") {
|
|
1222
|
-
var
|
|
1222
|
+
var Q = gw(A).filter(function(H) {
|
|
1223
1223
|
return ["prepend", "prependQueue"].includes(H.getAttribute(KT));
|
|
1224
1224
|
});
|
|
1225
|
-
if (
|
|
1226
|
-
return A.insertBefore(_,
|
|
1225
|
+
if (Q.length)
|
|
1226
|
+
return A.insertBefore(_, Q[Q.length - 1].nextSibling), _;
|
|
1227
1227
|
}
|
|
1228
|
-
A.insertBefore(_,
|
|
1228
|
+
A.insertBefore(_, S);
|
|
1229
1229
|
} else
|
|
1230
1230
|
A.appendChild(_);
|
|
1231
1231
|
return _;
|
|
@@ -1248,10 +1248,10 @@ function CO(v, g) {
|
|
|
1248
1248
|
SO(R, p);
|
|
1249
1249
|
var _ = gO(g, p);
|
|
1250
1250
|
if (_) {
|
|
1251
|
-
var A,
|
|
1252
|
-
if ((A = p.csp) !== null && A !== void 0 && A.nonce && _.nonce !== ((
|
|
1253
|
-
var
|
|
1254
|
-
_.nonce = (
|
|
1251
|
+
var A, S;
|
|
1252
|
+
if ((A = p.csp) !== null && A !== void 0 && A.nonce && _.nonce !== ((S = p.csp) === null || S === void 0 ? void 0 : S.nonce)) {
|
|
1253
|
+
var Q;
|
|
1254
|
+
_.nonce = (Q = p.csp) === null || Q === void 0 ? void 0 : Q.nonce;
|
|
1255
1255
|
}
|
|
1256
1256
|
return _.innerHTML !== v && (_.innerHTML = v), _;
|
|
1257
1257
|
}
|
|
@@ -1370,10 +1370,10 @@ function bO() {
|
|
|
1370
1370
|
return pn({}, Bp);
|
|
1371
1371
|
}
|
|
1372
1372
|
var Zm = function(g) {
|
|
1373
|
-
var p = g.icon, R = g.className, _ = g.onClick, A = g.style,
|
|
1374
|
-
if (
|
|
1375
|
-
primaryColor:
|
|
1376
|
-
secondaryColor:
|
|
1373
|
+
var p = g.icon, R = g.className, _ = g.onClick, A = g.style, S = g.primaryColor, Q = g.secondaryColor, H = pw(g, RO), j = Bp;
|
|
1374
|
+
if (S && (j = {
|
|
1375
|
+
primaryColor: S,
|
|
1376
|
+
secondaryColor: Q || Cw(S)
|
|
1377
1377
|
}), wO(), EO(ZT(p), "icon should be icon definiton, but got ".concat(p)), !ZT(p))
|
|
1378
1378
|
return null;
|
|
1379
1379
|
var K = p;
|
|
@@ -1408,11 +1408,11 @@ function kO() {
|
|
|
1408
1408
|
var DO = ["className", "icon", "spin", "rotate", "tabIndex", "onClick", "twoToneColor"];
|
|
1409
1409
|
Tw("#1890ff");
|
|
1410
1410
|
var Jm = /* @__PURE__ */ Nr.forwardRef(function(v, g) {
|
|
1411
|
-
var p, R = v.className, _ = v.icon, A = v.spin,
|
|
1411
|
+
var p, R = v.className, _ = v.icon, A = v.spin, S = v.rotate, Q = v.tabIndex, H = v.onClick, j = v.twoToneColor, K = pw(v, DO), G = Nr.useContext(fw), ie = G.prefixCls, ae = ie === void 0 ? "anticon" : ie, Ue = G.rootClassName, Ze = $p(Ue, ae, (p = {}, $S(p, "".concat(ae, "-").concat(_.name), !!_.name), $S(p, "".concat(ae, "-spin"), !!A || _.name === "loading"), p), R), Ge = Q;
|
|
1412
1412
|
Ge === void 0 && H && (Ge = -1);
|
|
1413
|
-
var Bt =
|
|
1414
|
-
msTransform: "rotate(".concat(
|
|
1415
|
-
transform: "rotate(".concat(
|
|
1413
|
+
var Bt = S ? {
|
|
1414
|
+
msTransform: "rotate(".concat(S, "deg)"),
|
|
1415
|
+
transform: "rotate(".concat(S, "deg)")
|
|
1416
1416
|
} : void 0, Se = Ew(j), ze = dw(Se, 2), rt = ze[0], Be = ze[1];
|
|
1417
1417
|
return /* @__PURE__ */ Nr.createElement("span", pn(pn({
|
|
1418
1418
|
role: "img",
|
|
@@ -1503,16 +1503,16 @@ const QO = /* @__PURE__ */ Nr.forwardRef(Dw), WO = "backheader-module_main_cac53
|
|
|
1503
1503
|
extra: R,
|
|
1504
1504
|
subTitle: _ = null,
|
|
1505
1505
|
className: A,
|
|
1506
|
-
style:
|
|
1507
|
-
titleStyle:
|
|
1506
|
+
style: S,
|
|
1507
|
+
titleStyle: Q,
|
|
1508
1508
|
level: H = 2
|
|
1509
1509
|
} = v, j = H_(), K = () => typeof _ == "string" ? /* @__PURE__ */ Ce(KO, { className: jS.sub, children: _ }) : _, G = () => {
|
|
1510
1510
|
j(-1);
|
|
1511
1511
|
};
|
|
1512
|
-
return /* @__PURE__ */ dn("div", { className: $p(jS.main, A), style:
|
|
1512
|
+
return /* @__PURE__ */ dn("div", { className: $p(jS.main, A), style: S, children: [
|
|
1513
1513
|
/* @__PURE__ */ dn(ow, { children: [
|
|
1514
1514
|
g && /* @__PURE__ */ Ce(NO, { style: { fontSize: 24 }, onClick: G }),
|
|
1515
|
-
/* @__PURE__ */ dn(XO, { level: H, className: jS.title, style:
|
|
1515
|
+
/* @__PURE__ */ dn(XO, { level: H, className: jS.title, style: Q, children: [
|
|
1516
1516
|
p,
|
|
1517
1517
|
K()
|
|
1518
1518
|
] })
|
|
@@ -1653,9 +1653,9 @@ function oN() {
|
|
|
1653
1653
|
return A.now();
|
|
1654
1654
|
};
|
|
1655
1655
|
} else {
|
|
1656
|
-
var
|
|
1656
|
+
var S = Date, Q = S.now();
|
|
1657
1657
|
v.unstable_now = function() {
|
|
1658
|
-
return
|
|
1658
|
+
return S.now() - Q;
|
|
1659
1659
|
};
|
|
1660
1660
|
}
|
|
1661
1661
|
var H = [], j = [], K = 1, G = null, ie = 3, ae = !1, Ue = !1, Ze = !1, Ge = typeof setTimeout == "function" ? setTimeout : null, Bt = typeof clearTimeout == "function" ? clearTimeout : null, Se = typeof setImmediate < "u" ? setImmediate : null;
|
|
@@ -1833,18 +1833,18 @@ function sN() {
|
|
|
1833
1833
|
var g = !1, p = !1, R = 5;
|
|
1834
1834
|
function _(ne, Te) {
|
|
1835
1835
|
var Qe = ne.length;
|
|
1836
|
-
ne.push(Te),
|
|
1836
|
+
ne.push(Te), Q(ne, Te, Qe);
|
|
1837
1837
|
}
|
|
1838
1838
|
function A(ne) {
|
|
1839
1839
|
return ne.length === 0 ? null : ne[0];
|
|
1840
1840
|
}
|
|
1841
|
-
function
|
|
1841
|
+
function S(ne) {
|
|
1842
1842
|
if (ne.length === 0)
|
|
1843
1843
|
return null;
|
|
1844
1844
|
var Te = ne[0], Qe = ne.pop();
|
|
1845
1845
|
return Qe !== Te && (ne[0] = Qe, H(ne, Qe, 0)), Te;
|
|
1846
1846
|
}
|
|
1847
|
-
function
|
|
1847
|
+
function Q(ne, Te, Qe) {
|
|
1848
1848
|
for (var vt = Qe; vt > 0; ) {
|
|
1849
1849
|
var Ft = vt - 1 >>> 1, yn = ne[Ft];
|
|
1850
1850
|
if (j(yn, Te) > 0)
|
|
@@ -1888,9 +1888,9 @@ function sN() {
|
|
|
1888
1888
|
function lt(ne) {
|
|
1889
1889
|
for (var Te = A(mt); Te !== null; ) {
|
|
1890
1890
|
if (Te.callback === null)
|
|
1891
|
-
|
|
1891
|
+
S(mt);
|
|
1892
1892
|
else if (Te.startTime <= ne)
|
|
1893
|
-
|
|
1893
|
+
S(mt), Te.sortIndex = Te.expirationTime, _(It, Te);
|
|
1894
1894
|
else
|
|
1895
1895
|
return;
|
|
1896
1896
|
Te = A(mt);
|
|
@@ -1923,9 +1923,9 @@ function sN() {
|
|
|
1923
1923
|
if (typeof vt == "function") {
|
|
1924
1924
|
Fe.callback = null, Je = Fe.priorityLevel;
|
|
1925
1925
|
var Ft = Fe.expirationTime <= Qe, yn = vt(Ft);
|
|
1926
|
-
Qe = v.unstable_now(), typeof yn == "function" ? Fe.callback = yn : Fe === A(It) &&
|
|
1926
|
+
Qe = v.unstable_now(), typeof yn == "function" ? Fe.callback = yn : Fe === A(It) && S(It), lt(Qe);
|
|
1927
1927
|
} else
|
|
1928
|
-
|
|
1928
|
+
S(It);
|
|
1929
1929
|
Fe = A(It);
|
|
1930
1930
|
}
|
|
1931
1931
|
if (Fe !== null)
|
|
@@ -2109,13 +2109,13 @@ function cN() {
|
|
|
2109
2109
|
}
|
|
2110
2110
|
var R = /* @__PURE__ */ new Set(), _ = {};
|
|
2111
2111
|
function A(n, r) {
|
|
2112
|
-
|
|
2112
|
+
S(n, r), S(n + "Capture", r);
|
|
2113
2113
|
}
|
|
2114
|
-
function
|
|
2114
|
+
function S(n, r) {
|
|
2115
2115
|
for (_[n] = r, n = 0; n < r.length; n++)
|
|
2116
2116
|
R.add(r[n]);
|
|
2117
2117
|
}
|
|
2118
|
-
var
|
|
2118
|
+
var Q = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"), H = Object.prototype.hasOwnProperty, j = /^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/, K = {}, G = {};
|
|
2119
2119
|
function ie(n) {
|
|
2120
2120
|
return H.call(G, n) ? !0 : H.call(K, n) ? !1 : j.test(n) ? G[n] = !0 : (K[n] = !0, !1);
|
|
2121
2121
|
}
|
|
@@ -2733,7 +2733,7 @@ function cN() {
|
|
|
2733
2733
|
return l;
|
|
2734
2734
|
}
|
|
2735
2735
|
var vu = !1;
|
|
2736
|
-
if (
|
|
2736
|
+
if (Q)
|
|
2737
2737
|
try {
|
|
2738
2738
|
var Pa = {};
|
|
2739
2739
|
Object.defineProperty(Pa, "passive", { get: function() {
|
|
@@ -2750,11 +2750,11 @@ function cN() {
|
|
|
2750
2750
|
this.onError(Y);
|
|
2751
2751
|
}
|
|
2752
2752
|
}
|
|
2753
|
-
var Ar = !1, Ra = null, Ui = !1, w = null,
|
|
2753
|
+
var Ar = !1, Ra = null, Ui = !1, w = null, W = { onError: function(n) {
|
|
2754
2754
|
Ar = !0, Ra = n;
|
|
2755
2755
|
} };
|
|
2756
2756
|
function re(n, r, l, o, c, d, y, T, x) {
|
|
2757
|
-
Ar = !1, Ra = null, zi.apply(
|
|
2757
|
+
Ar = !1, Ra = null, zi.apply(W, arguments);
|
|
2758
2758
|
}
|
|
2759
2759
|
function be(n, r, l, o, c, d, y, T, x) {
|
|
2760
2760
|
if (re.apply(this, arguments), Ar) {
|
|
@@ -3413,9 +3413,9 @@ function cN() {
|
|
|
3413
3413
|
},
|
|
3414
3414
|
deltaZ: 0,
|
|
3415
3415
|
deltaMode: 0
|
|
3416
|
-
}), ui = Fr(yr), Jt = [9, 13, 27, 32], Da =
|
|
3417
|
-
|
|
3418
|
-
var js =
|
|
3416
|
+
}), ui = Fr(yr), Jt = [9, 13, 27, 32], Da = Q && "CompositionEvent" in window, wl = null;
|
|
3417
|
+
Q && "documentMode" in document && (wl = document.documentMode);
|
|
3418
|
+
var js = Q && "TextEvent" in window && !wl, sv = Q && (!Da || wl && 8 < wl && 11 >= wl), Cu = String.fromCharCode(32), cv = !1;
|
|
3419
3419
|
function fv(n, r) {
|
|
3420
3420
|
switch (n) {
|
|
3421
3421
|
case "keyup":
|
|
@@ -3488,9 +3488,9 @@ function cN() {
|
|
|
3488
3488
|
return r;
|
|
3489
3489
|
}
|
|
3490
3490
|
var Hf = !1;
|
|
3491
|
-
if (
|
|
3491
|
+
if (Q) {
|
|
3492
3492
|
var jf;
|
|
3493
|
-
if (
|
|
3493
|
+
if (Q) {
|
|
3494
3494
|
var Vf = "oninput" in document;
|
|
3495
3495
|
if (!Vf) {
|
|
3496
3496
|
var mv = document.createElement("div");
|
|
@@ -3616,7 +3616,7 @@ function cN() {
|
|
|
3616
3616
|
n = r[l], n.element.scrollLeft = n.left, n.element.scrollTop = n.top;
|
|
3617
3617
|
}
|
|
3618
3618
|
}
|
|
3619
|
-
var wv =
|
|
3619
|
+
var wv = Q && "documentMode" in document && 11 >= document.documentMode, _a = null, Pf = null, _o = null, Bf = !1;
|
|
3620
3620
|
function Rv(n, r, l) {
|
|
3621
3621
|
var o = l.window === l ? l.document : l.nodeType === 9 ? l : l.ownerDocument;
|
|
3622
3622
|
Bf || _a == null || _a !== mn(o) || (o = _a, "selectionStart" in o && oi(o) ? o = { start: o.selectionStart, end: o.selectionEnd } : (o = (o.ownerDocument && o.ownerDocument.defaultView || window).getSelection(), o = { anchorNode: o.anchorNode, anchorOffset: o.anchorOffset, focusNode: o.focusNode, focusOffset: o.focusOffset }), _o && Do(_o, o) || (_o = o, o = zo(Pf, "onSelect"), 0 < o.length && (r = new zs("onSelect", "select", null, r, l), n.push({ event: r, listeners: o }), r.target = _a)));
|
|
@@ -3626,7 +3626,7 @@ function cN() {
|
|
|
3626
3626
|
return l[n.toLowerCase()] = r.toLowerCase(), l["Webkit" + n] = "webkit" + r, l["Moz" + n] = "moz" + r, l;
|
|
3627
3627
|
}
|
|
3628
3628
|
var Rl = { animationend: Is("Animation", "AnimationEnd"), animationiteration: Is("Animation", "AnimationIteration"), animationstart: Is("Animation", "AnimationStart"), transitionend: Is("Transition", "TransitionEnd") }, If = {}, $f = {};
|
|
3629
|
-
|
|
3629
|
+
Q && ($f = document.createElement("div").style, "AnimationEvent" in window || (delete Rl.animationend.animation, delete Rl.animationiteration.animation, delete Rl.animationstart.animation), "TransitionEvent" in window || delete Rl.transitionend.transition);
|
|
3630
3630
|
function Cn(n) {
|
|
3631
3631
|
if (If[n])
|
|
3632
3632
|
return If[n];
|
|
@@ -3646,7 +3646,7 @@ function cN() {
|
|
|
3646
3646
|
var xl = _v[Oo], my = xl.toLowerCase(), No = xl[0].toUpperCase() + xl.slice(1);
|
|
3647
3647
|
si(my, "on" + No);
|
|
3648
3648
|
}
|
|
3649
|
-
si(Yf, "onAnimationEnd"), si(xv, "onAnimationIteration"), si(bv, "onAnimationStart"), si("dblclick", "onDoubleClick"), si("focusin", "onFocus"), si("focusout", "onBlur"), si(kv, "onTransitionEnd"),
|
|
3649
|
+
si(Yf, "onAnimationEnd"), si(xv, "onAnimationIteration"), si(bv, "onAnimationStart"), si("dblclick", "onDoubleClick"), si("focusin", "onFocus"), si("focusout", "onBlur"), si(kv, "onTransitionEnd"), S("onMouseEnter", ["mouseout", "mouseover"]), S("onMouseLeave", ["mouseout", "mouseover"]), S("onPointerEnter", ["pointerout", "pointerover"]), S("onPointerLeave", ["pointerout", "pointerover"]), A("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ")), A("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")), A("onBeforeInput", ["compositionend", "keypress", "textInput", "paste"]), A("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")), A("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")), A("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" "));
|
|
3650
3650
|
var Mo = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "), yy = new Set("cancel close invalid load scroll toggle".split(" ").concat(Mo));
|
|
3651
3651
|
function Ov(n, r, l) {
|
|
3652
3652
|
var o = n.type || "unknown-event";
|
|
@@ -7735,17 +7735,17 @@ function fN() {
|
|
|
7735
7735
|
if (!R) {
|
|
7736
7736
|
for (var t = arguments.length, a = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++)
|
|
7737
7737
|
a[i - 1] = arguments[i];
|
|
7738
|
-
|
|
7738
|
+
Q("warn", e, a);
|
|
7739
7739
|
}
|
|
7740
7740
|
}
|
|
7741
|
-
function
|
|
7741
|
+
function S(e) {
|
|
7742
7742
|
if (!R) {
|
|
7743
7743
|
for (var t = arguments.length, a = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++)
|
|
7744
7744
|
a[i - 1] = arguments[i];
|
|
7745
|
-
|
|
7745
|
+
Q("error", e, a);
|
|
7746
7746
|
}
|
|
7747
7747
|
}
|
|
7748
|
-
function
|
|
7748
|
+
function Q(e, t, a) {
|
|
7749
7749
|
{
|
|
7750
7750
|
var i = p.ReactDebugCurrentFrame, u = i.getStackAddendum();
|
|
7751
7751
|
u !== "" && (t += "%s", a = a.concat([u]));
|
|
@@ -7760,7 +7760,7 @@ function fN() {
|
|
|
7760
7760
|
Xr(e, t), Xr(e + "Capture", t);
|
|
7761
7761
|
}
|
|
7762
7762
|
function Xr(e, t) {
|
|
7763
|
-
vr[e] &&
|
|
7763
|
+
vr[e] && S("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.", e), vr[e] = t;
|
|
7764
7764
|
{
|
|
7765
7765
|
var a = e.toLowerCase();
|
|
7766
7766
|
Ha[a] = e, e === "onDoubleClick" && (Ha.ondblclick = e);
|
|
@@ -7787,31 +7787,31 @@ function fN() {
|
|
|
7787
7787
|
}
|
|
7788
7788
|
function Kr(e, t) {
|
|
7789
7789
|
if (Yn(e))
|
|
7790
|
-
return
|
|
7790
|
+
return S("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.", t, _n(e)), Qn(e);
|
|
7791
7791
|
}
|
|
7792
7792
|
function Ca(e) {
|
|
7793
7793
|
if (Yn(e))
|
|
7794
|
-
return
|
|
7794
|
+
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", _n(e)), Qn(e);
|
|
7795
7795
|
}
|
|
7796
7796
|
function ri(e, t) {
|
|
7797
7797
|
if (Yn(e))
|
|
7798
|
-
return
|
|
7798
|
+
return S("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.", t, _n(e)), Qn(e);
|
|
7799
7799
|
}
|
|
7800
7800
|
function ja(e, t) {
|
|
7801
7801
|
if (Yn(e))
|
|
7802
|
-
return
|
|
7802
|
+
return S("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.", t, _n(e)), Qn(e);
|
|
7803
7803
|
}
|
|
7804
7804
|
function Ea(e) {
|
|
7805
7805
|
if (Yn(e))
|
|
7806
|
-
return
|
|
7806
|
+
return S("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.", _n(e)), Qn(e);
|
|
7807
7807
|
}
|
|
7808
7808
|
function Mr(e) {
|
|
7809
7809
|
if (Yn(e))
|
|
7810
|
-
return
|
|
7810
|
+
return S("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.", _n(e)), Qn(e);
|
|
7811
7811
|
}
|
|
7812
7812
|
var Va = 0, Lr = 1, Ta = 2, Kt = 3, zr = 4, Li = 5, wa = 6, ne = ":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD", Te = ne + "\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040", Qe = new RegExp("^[" + ne + "][" + Te + "]*$"), vt = {}, Ft = {};
|
|
7813
7813
|
function yn(e) {
|
|
7814
|
-
return $n.call(Ft, e) ? !0 : $n.call(vt, e) ? !1 : Qe.test(e) ? (Ft[e] = !0, !0) : (vt[e] = !0,
|
|
7814
|
+
return $n.call(Ft, e) ? !0 : $n.call(vt, e) ? !1 : Qe.test(e) ? (Ft[e] = !0, !0) : (vt[e] = !0, S("Invalid attribute name: `%s`", e), !1);
|
|
7815
7815
|
}
|
|
7816
7816
|
function Wt(e, t, a) {
|
|
7817
7817
|
return t !== null ? t.type === Va : a ? !1 : e.length > 2 && (e[0] === "o" || e[0] === "O") && (e[1] === "n" || e[1] === "N");
|
|
@@ -8152,7 +8152,7 @@ function fN() {
|
|
|
8152
8152
|
});
|
|
8153
8153
|
var xs = /^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i, gl = !1;
|
|
8154
8154
|
function pu(e) {
|
|
8155
|
-
!gl && xs.test(e) && (gl = !0,
|
|
8155
|
+
!gl && xs.test(e) && (gl = !0, S("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.", JSON.stringify(e)));
|
|
8156
8156
|
}
|
|
8157
8157
|
function Sl(e, t, a, i) {
|
|
8158
8158
|
if (i.mustUseProperty) {
|
|
@@ -8206,16 +8206,16 @@ function fN() {
|
|
|
8206
8206
|
e[h] = a;
|
|
8207
8207
|
return;
|
|
8208
8208
|
}
|
|
8209
|
-
var
|
|
8209
|
+
var C = u.attributeName, E = u.attributeNamespace;
|
|
8210
8210
|
if (a === null)
|
|
8211
|
-
e.removeAttribute(
|
|
8211
|
+
e.removeAttribute(C);
|
|
8212
8212
|
else {
|
|
8213
8213
|
var D = u.type, b;
|
|
8214
|
-
D === Kt || D === zr && a === !0 ? b = "" : (Kr(a,
|
|
8214
|
+
D === Kt || D === zr && a === !0 ? b = "" : (Kr(a, C), b = "" + a, u.sanitizeURL && pu(b.toString())), E ? e.setAttributeNS(E, C, b) : e.setAttribute(C, b);
|
|
8215
8215
|
}
|
|
8216
8216
|
}
|
|
8217
8217
|
}
|
|
8218
|
-
var zi = Symbol.for("react.element"), Ar = Symbol.for("react.portal"), Ra = Symbol.for("react.fragment"), Ui = Symbol.for("react.strict_mode"), w = Symbol.for("react.profiler"),
|
|
8218
|
+
var zi = Symbol.for("react.element"), Ar = Symbol.for("react.portal"), Ra = Symbol.for("react.fragment"), Ui = Symbol.for("react.strict_mode"), w = Symbol.for("react.profiler"), W = Symbol.for("react.provider"), re = Symbol.for("react.context"), be = Symbol.for("react.forward_ref"), $e = Symbol.for("react.suspense"), at = Symbol.for("react.suspense_list"), Ye = Symbol.for("react.memo"), De = Symbol.for("react.lazy"), gn = Symbol.for("react.scope"), Lt = Symbol.for("react.debug_trace_mode"), zt = Symbol.for("react.offscreen"), rr = Symbol.for("react.legacy_hidden"), Ai = Symbol.for("react.cache"), bs = Symbol.for("react.tracing_marker"), ut = Symbol.iterator, ey = "@@iterator";
|
|
8219
8219
|
function ai(e) {
|
|
8220
8220
|
if (e === null || typeof e != "object")
|
|
8221
8221
|
return null;
|
|
@@ -8281,7 +8281,7 @@ function fN() {
|
|
|
8281
8281
|
})
|
|
8282
8282
|
});
|
|
8283
8283
|
}
|
|
8284
|
-
Fi < 0 &&
|
|
8284
|
+
Fi < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
8285
8285
|
}
|
|
8286
8286
|
}
|
|
8287
8287
|
var hu = p.ReactCurrentDispatcher, Cl;
|
|
@@ -8353,18 +8353,18 @@ function fN() {
|
|
|
8353
8353
|
if (U && i && typeof U.stack == "string") {
|
|
8354
8354
|
for (var h = U.stack.split(`
|
|
8355
8355
|
`), m = i.stack.split(`
|
|
8356
|
-
`),
|
|
8356
|
+
`), C = h.length - 1, E = m.length - 1; C >= 1 && E >= 0 && h[C] !== m[E]; )
|
|
8357
8357
|
E--;
|
|
8358
|
-
for (;
|
|
8359
|
-
if (h[
|
|
8360
|
-
if (
|
|
8358
|
+
for (; C >= 1 && E >= 0; C--, E--)
|
|
8359
|
+
if (h[C] !== m[E]) {
|
|
8360
|
+
if (C !== 1 || E !== 1)
|
|
8361
8361
|
do
|
|
8362
|
-
if (
|
|
8362
|
+
if (C--, E--, E < 0 || h[C] !== m[E]) {
|
|
8363
8363
|
var D = `
|
|
8364
|
-
` + h[
|
|
8364
|
+
` + h[C].replace(" at new ", " at ");
|
|
8365
8365
|
return e.displayName && D.includes("<anonymous>") && (D = D.replace("<anonymous>", e.displayName)), typeof e == "function" && Ds.set(e, D), D;
|
|
8366
8366
|
}
|
|
8367
|
-
while (
|
|
8367
|
+
while (C >= 1 && E >= 0);
|
|
8368
8368
|
break;
|
|
8369
8369
|
}
|
|
8370
8370
|
}
|
|
@@ -8461,7 +8461,7 @@ Error generating stack: ` + i.message + `
|
|
|
8461
8461
|
function Tt(e) {
|
|
8462
8462
|
if (e == null)
|
|
8463
8463
|
return null;
|
|
8464
|
-
if (typeof e.tag == "number" &&
|
|
8464
|
+
if (typeof e.tag == "number" && S("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
8465
8465
|
return e.displayName || e.name || null;
|
|
8466
8466
|
if (typeof e == "string")
|
|
8467
8467
|
return e;
|
|
@@ -8484,7 +8484,7 @@ Error generating stack: ` + i.message + `
|
|
|
8484
8484
|
case re:
|
|
8485
8485
|
var t = e;
|
|
8486
8486
|
return Os(t) + ".Consumer";
|
|
8487
|
-
case
|
|
8487
|
+
case W:
|
|
8488
8488
|
var a = e;
|
|
8489
8489
|
return Os(a._context) + ".Provider";
|
|
8490
8490
|
case be:
|
|
@@ -8617,7 +8617,7 @@ Error generating stack: ` + i.message + `
|
|
|
8617
8617
|
submit: !0
|
|
8618
8618
|
};
|
|
8619
8619
|
function mu(e, t) {
|
|
8620
|
-
Kp[t.type] || t.onChange || t.onInput || t.readOnly || t.disabled || t.value == null ||
|
|
8620
|
+
Kp[t.type] || t.onChange || t.onInput || t.readOnly || t.disabled || t.value == null || S("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."), t.onChange || t.readOnly || t.disabled || t.checked == null || S("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.");
|
|
8621
8621
|
}
|
|
8622
8622
|
function Df(e) {
|
|
8623
8623
|
var t = e.type, a = e.nodeName;
|
|
@@ -8700,7 +8700,7 @@ Error generating stack: ` + i.message + `
|
|
|
8700
8700
|
return u;
|
|
8701
8701
|
}
|
|
8702
8702
|
function Ro(e, t) {
|
|
8703
|
-
mu("input", t), t.checked !== void 0 && t.defaultChecked !== void 0 && !To && (
|
|
8703
|
+
mu("input", t), t.checked !== void 0 && t.defaultChecked !== void 0 && !To && (S("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components", ea() || "A component", t.type), To = !0), t.value !== void 0 && t.defaultValue !== void 0 && !Ms && (S("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components", ea() || "A component", t.type), Ms = !0);
|
|
8704
8704
|
var a = e, i = t.defaultValue == null ? "" : t.defaultValue;
|
|
8705
8705
|
a._wrapperState = {
|
|
8706
8706
|
initialChecked: t.checked != null ? t.checked : t.defaultChecked,
|
|
@@ -8716,7 +8716,7 @@ Error generating stack: ` + i.message + `
|
|
|
8716
8716
|
var a = e;
|
|
8717
8717
|
{
|
|
8718
8718
|
var i = ii(t);
|
|
8719
|
-
!a._wrapperState.controlled && i && !_f && (
|
|
8719
|
+
!a._wrapperState.controlled && i && !_f && (S("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"), _f = !0), a._wrapperState.controlled && !i && !Ls && (S("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"), Ls = !0);
|
|
8720
8720
|
}
|
|
8721
8721
|
Of(e, t);
|
|
8722
8722
|
var u = Hi(t.value), s = t.type;
|
|
@@ -8767,8 +8767,8 @@ Error generating stack: ` + i.message + `
|
|
|
8767
8767
|
var zs = !1, Su = !1, tv = !1;
|
|
8768
8768
|
function Us(e, t) {
|
|
8769
8769
|
t.value == null && (typeof t.children == "object" && t.children !== null ? v.Children.forEach(t.children, function(a) {
|
|
8770
|
-
a != null && (typeof a == "string" || typeof a == "number" || Su || (Su = !0,
|
|
8771
|
-
}) : t.dangerouslySetInnerHTML != null && (tv || (tv = !0,
|
|
8770
|
+
a != null && (typeof a == "string" || typeof a == "number" || Su || (Su = !0, S("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")));
|
|
8771
|
+
}) : t.dangerouslySetInnerHTML != null && (tv || (tv = !0, S("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))), t.selected != null && !zs && (S("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."), zs = !0);
|
|
8772
8772
|
}
|
|
8773
8773
|
function Nf(e, t) {
|
|
8774
8774
|
t.value != null && e.setAttribute("value", Wn(Hi(t.value)));
|
|
@@ -8793,7 +8793,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
8793
8793
|
var a = rv[t];
|
|
8794
8794
|
if (e[a] != null) {
|
|
8795
8795
|
var i = Sn(e[a]);
|
|
8796
|
-
e.multiple && !i ?
|
|
8796
|
+
e.multiple && !i ? S("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s", a, nv()) : !e.multiple && i && S("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s", a, nv());
|
|
8797
8797
|
}
|
|
8798
8798
|
}
|
|
8799
8799
|
}
|
|
@@ -8804,8 +8804,8 @@ Check the render method of \`` + e + "`." : "";
|
|
|
8804
8804
|
for (var s = a, f = {}, h = 0; h < s.length; h++)
|
|
8805
8805
|
f["$" + s[h]] = !0;
|
|
8806
8806
|
for (var m = 0; m < u.length; m++) {
|
|
8807
|
-
var
|
|
8808
|
-
u[m].selected !==
|
|
8807
|
+
var C = f.hasOwnProperty("$" + u[m].value);
|
|
8808
|
+
u[m].selected !== C && (u[m].selected = C), C && i && (u[m].defaultSelected = !0);
|
|
8809
8809
|
}
|
|
8810
8810
|
} else {
|
|
8811
8811
|
for (var E = Wn(Hi(a)), D = null, b = 0; b < u.length; b++) {
|
|
@@ -8827,7 +8827,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
8827
8827
|
var a = e;
|
|
8828
8828
|
ay(t), a._wrapperState = {
|
|
8829
8829
|
wasMultiple: !!t.multiple
|
|
8830
|
-
}, t.value !== void 0 && t.defaultValue !== void 0 && !As && (
|
|
8830
|
+
}, t.value !== void 0 && t.defaultValue !== void 0 && !As && (S("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"), As = !0);
|
|
8831
8831
|
}
|
|
8832
8832
|
function iy(e, t) {
|
|
8833
8833
|
var a = e;
|
|
@@ -8859,12 +8859,12 @@ Check the render method of \`` + e + "`." : "";
|
|
|
8859
8859
|
}
|
|
8860
8860
|
function iv(e, t) {
|
|
8861
8861
|
var a = e;
|
|
8862
|
-
mu("textarea", t), t.value !== void 0 && t.defaultValue !== void 0 && !Lf && (
|
|
8862
|
+
mu("textarea", t), t.value !== void 0 && t.defaultValue !== void 0 && !Lf && (S("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components", ea() || "A component"), Lf = !0);
|
|
8863
8863
|
var i = t.value;
|
|
8864
8864
|
if (i == null) {
|
|
8865
8865
|
var u = t.children, s = t.defaultValue;
|
|
8866
8866
|
if (u != null) {
|
|
8867
|
-
|
|
8867
|
+
S("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");
|
|
8868
8868
|
{
|
|
8869
8869
|
if (s != null)
|
|
8870
8870
|
throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");
|
|
@@ -9054,19 +9054,19 @@ Check the render method of \`` + e + "`." : "";
|
|
|
9054
9054
|
return a.toUpperCase();
|
|
9055
9055
|
});
|
|
9056
9056
|
}, Vf = function(e) {
|
|
9057
|
-
wu.hasOwnProperty(e) && wu[e] || (wu[e] = !0,
|
|
9057
|
+
wu.hasOwnProperty(e) && wu[e] || (wu[e] = !0, S(
|
|
9058
9058
|
"Unsupported style property %s. Did you mean %s?",
|
|
9059
9059
|
e,
|
|
9060
9060
|
jf(e.replace(vv, "ms-"))
|
|
9061
9061
|
));
|
|
9062
9062
|
}, mv = function(e) {
|
|
9063
|
-
wu.hasOwnProperty(e) && wu[e] || (wu[e] = !0,
|
|
9063
|
+
wu.hasOwnProperty(e) && wu[e] || (wu[e] = !0, S("Unsupported vendor-prefixed style property %s. Did you mean %s?", e, e.charAt(0).toUpperCase() + e.slice(1)));
|
|
9064
9064
|
}, yv = function(e, t) {
|
|
9065
|
-
Ru.hasOwnProperty(t) && Ru[t] || (Ru[t] = !0,
|
|
9065
|
+
Ru.hasOwnProperty(t) && Ru[t] || (Ru[t] = !0, S(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`, e, t.replace(Tu, "")));
|
|
9066
9066
|
}, gv = function(e, t) {
|
|
9067
|
-
hv || (hv = !0,
|
|
9067
|
+
hv || (hv = !0, S("`NaN` is an invalid value for the `%s` css style property.", e));
|
|
9068
9068
|
}, dy = function(e, t) {
|
|
9069
|
-
Hf || (Hf = !0,
|
|
9069
|
+
Hf || (Hf = !0, S("`Infinity` is an invalid value for the `%s` css style property.", e));
|
|
9070
9070
|
};
|
|
9071
9071
|
dv = function(e, t) {
|
|
9072
9072
|
e.indexOf("-") > -1 ? Vf(e) : pv.test(e) ? mv(e) : Tu.test(t) && yv(e, t), typeof t == "number" && (isNaN(t) ? gv(e, t) : isFinite(t) || dy(e, t));
|
|
@@ -9118,7 +9118,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
9118
9118
|
var m = f + "," + h;
|
|
9119
9119
|
if (u[m])
|
|
9120
9120
|
continue;
|
|
9121
|
-
u[m] = !0,
|
|
9121
|
+
u[m] = !0, S("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.", hy(e[f]) ? "Removing" : "Updating", f, h);
|
|
9122
9122
|
}
|
|
9123
9123
|
}
|
|
9124
9124
|
}
|
|
@@ -9152,7 +9152,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
9152
9152
|
if (typeof t.dangerouslySetInnerHTML != "object" || !(Tv in t.dangerouslySetInnerHTML))
|
|
9153
9153
|
throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");
|
|
9154
9154
|
}
|
|
9155
|
-
if (!t.suppressContentEditableWarning && t.contentEditable && t.children != null &&
|
|
9155
|
+
if (!t.suppressContentEditableWarning && t.contentEditable && t.children != null && S("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."), t.style != null && typeof t.style != "object")
|
|
9156
9156
|
throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");
|
|
9157
9157
|
}
|
|
9158
9158
|
}
|
|
@@ -9717,16 +9717,16 @@ Check the render method of \`` + e + "`." : "";
|
|
|
9717
9717
|
if (_o.test(t)) {
|
|
9718
9718
|
var a = "aria-" + t.slice(4).toLowerCase(), i = wv.hasOwnProperty(a) ? a : null;
|
|
9719
9719
|
if (i == null)
|
|
9720
|
-
return
|
|
9720
|
+
return S("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.", t), _a[t] = !0, !0;
|
|
9721
9721
|
if (t !== i)
|
|
9722
|
-
return
|
|
9722
|
+
return S("Invalid ARIA attribute `%s`. Did you mean `%s`?", t, i), _a[t] = !0, !0;
|
|
9723
9723
|
}
|
|
9724
9724
|
if (Pf.test(t)) {
|
|
9725
9725
|
var u = t.toLowerCase(), s = wv.hasOwnProperty(u) ? u : null;
|
|
9726
9726
|
if (s == null)
|
|
9727
9727
|
return _a[t] = !0, !1;
|
|
9728
9728
|
if (t !== s)
|
|
9729
|
-
return
|
|
9729
|
+
return S("Unknown ARIA attribute `%s`. Did you mean `%s`?", t, s), _a[t] = !0, !0;
|
|
9730
9730
|
}
|
|
9731
9731
|
}
|
|
9732
9732
|
return !0;
|
|
@@ -9741,7 +9741,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
9741
9741
|
var s = a.map(function(f) {
|
|
9742
9742
|
return "`" + f + "`";
|
|
9743
9743
|
}).join(", ");
|
|
9744
|
-
a.length === 1 ?
|
|
9744
|
+
a.length === 1 ? S("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props", s, e) : a.length > 1 && S("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props", s, e);
|
|
9745
9745
|
}
|
|
9746
9746
|
}
|
|
9747
9747
|
function Is(e, t) {
|
|
@@ -9752,7 +9752,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
9752
9752
|
{
|
|
9753
9753
|
if (e !== "input" && e !== "textarea" && e !== "select")
|
|
9754
9754
|
return;
|
|
9755
|
-
t != null && t.value === null && !Rl && (Rl = !0, e === "select" && t.multiple ?
|
|
9755
|
+
t != null && t.value === null && !Rl && (Rl = !0, e === "select" && t.multiple ? S("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.", e) : S("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.", e));
|
|
9756
9756
|
}
|
|
9757
9757
|
}
|
|
9758
9758
|
var $f = function() {
|
|
@@ -9764,36 +9764,36 @@ Check the render method of \`` + e + "`." : "";
|
|
|
9764
9764
|
return !0;
|
|
9765
9765
|
var u = t.toLowerCase();
|
|
9766
9766
|
if (u === "onfocusin" || u === "onfocusout")
|
|
9767
|
-
return
|
|
9767
|
+
return S("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."), Cn[t] = !0, !0;
|
|
9768
9768
|
if (i != null) {
|
|
9769
9769
|
var s = i.registrationNameDependencies, f = i.possibleRegistrationNames;
|
|
9770
9770
|
if (s.hasOwnProperty(t))
|
|
9771
9771
|
return !0;
|
|
9772
9772
|
var h = f.hasOwnProperty(u) ? f[u] : null;
|
|
9773
9773
|
if (h != null)
|
|
9774
|
-
return
|
|
9774
|
+
return S("Invalid event handler property `%s`. Did you mean `%s`?", t, h), Cn[t] = !0, !0;
|
|
9775
9775
|
if (Yf.test(t))
|
|
9776
|
-
return
|
|
9776
|
+
return S("Unknown event handler property `%s`. It will be ignored.", t), Cn[t] = !0, !0;
|
|
9777
9777
|
} else if (Yf.test(t))
|
|
9778
|
-
return xv.test(t) &&
|
|
9778
|
+
return xv.test(t) && S("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.", t), Cn[t] = !0, !0;
|
|
9779
9779
|
if (bv.test(t) || kv.test(t))
|
|
9780
9780
|
return !0;
|
|
9781
9781
|
if (u === "innerhtml")
|
|
9782
|
-
return
|
|
9782
|
+
return S("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."), Cn[t] = !0, !0;
|
|
9783
9783
|
if (u === "aria")
|
|
9784
|
-
return
|
|
9784
|
+
return S("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."), Cn[t] = !0, !0;
|
|
9785
9785
|
if (u === "is" && a !== null && a !== void 0 && typeof a != "string")
|
|
9786
|
-
return
|
|
9786
|
+
return S("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.", typeof a), Cn[t] = !0, !0;
|
|
9787
9787
|
if (typeof a == "number" && isNaN(a))
|
|
9788
|
-
return
|
|
9789
|
-
var m = Ur(t),
|
|
9788
|
+
return S("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.", t), Cn[t] = !0, !0;
|
|
9789
|
+
var m = Ur(t), C = m !== null && m.type === Va;
|
|
9790
9790
|
if (Bs.hasOwnProperty(u)) {
|
|
9791
9791
|
var E = Bs[u];
|
|
9792
9792
|
if (E !== t)
|
|
9793
|
-
return
|
|
9794
|
-
} else if (!
|
|
9795
|
-
return
|
|
9796
|
-
return typeof a == "boolean" && mr(t, a, m, !1) ? (a ?
|
|
9793
|
+
return S("Invalid DOM property `%s`. Did you mean `%s`?", t, E), Cn[t] = !0, !0;
|
|
9794
|
+
} else if (!C && t !== u)
|
|
9795
|
+
return S("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.", t, u), Cn[t] = !0, !0;
|
|
9796
|
+
return typeof a == "boolean" && mr(t, a, m, !1) ? (a ? S('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.', a, t, t, a, t) : S('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.', a, t, t, a, t, t, t), Cn[t] = !0, !0) : C ? !0 : mr(t, a, m, !1) ? (Cn[t] = !0, !1) : ((a === "false" || a === "true") && m !== null && m.type === Kt && (S("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?", a, t, a === "false" ? "The browser will interpret it as a truthy value." : 'Although this works, it will not work as expected if you pass the string "false".', t, a), Cn[t] = !0), !0);
|
|
9797
9797
|
};
|
|
9798
9798
|
}
|
|
9799
9799
|
var Dv = function(e, t, a) {
|
|
@@ -9806,7 +9806,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
9806
9806
|
var f = i.map(function(h) {
|
|
9807
9807
|
return "`" + h + "`";
|
|
9808
9808
|
}).join(", ");
|
|
9809
|
-
i.length === 1 ?
|
|
9809
|
+
i.length === 1 ? S("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ", f, e) : i.length > 1 && S("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ", f, e);
|
|
9810
9810
|
}
|
|
9811
9811
|
};
|
|
9812
9812
|
function _v(e, t, a) {
|
|
@@ -9814,10 +9814,10 @@ Check the render method of \`` + e + "`." : "";
|
|
|
9814
9814
|
}
|
|
9815
9815
|
var si = 1, Oo = 1 << 1, xl = 1 << 2, my = si | Oo | xl, No = null;
|
|
9816
9816
|
function Mo(e) {
|
|
9817
|
-
No !== null &&
|
|
9817
|
+
No !== null && S("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."), No = e;
|
|
9818
9818
|
}
|
|
9819
9819
|
function yy() {
|
|
9820
|
-
No === null &&
|
|
9820
|
+
No === null && S("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."), No = null;
|
|
9821
9821
|
}
|
|
9822
9822
|
function Ov(e) {
|
|
9823
9823
|
return e === No;
|
|
@@ -9925,9 +9925,9 @@ Check the render method of \`` + e + "`." : "";
|
|
|
9925
9925
|
Uo = !1;
|
|
9926
9926
|
}
|
|
9927
9927
|
function Mv(e, t, a, i, u, s, f, h, m) {
|
|
9928
|
-
var
|
|
9928
|
+
var C = Array.prototype.slice.call(arguments, 3);
|
|
9929
9929
|
try {
|
|
9930
|
-
t.apply(a,
|
|
9930
|
+
t.apply(a, C);
|
|
9931
9931
|
} catch (E) {
|
|
9932
9932
|
this.onError(E);
|
|
9933
9933
|
}
|
|
@@ -9935,7 +9935,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
9935
9935
|
var Xf = Mv;
|
|
9936
9936
|
if (typeof window < "u" && typeof window.dispatchEvent == "function" && typeof document < "u" && typeof document.createEvent == "function") {
|
|
9937
9937
|
var Kf = document.createElement("react");
|
|
9938
|
-
Xf = function(t, a, i, u, s, f, h, m,
|
|
9938
|
+
Xf = function(t, a, i, u, s, f, h, m, C) {
|
|
9939
9939
|
if (typeof document > "u" || document === null)
|
|
9940
9940
|
throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");
|
|
9941
9941
|
var E = document.createEvent("Event"), D = !1, b = !0, z = window.event, U = Object.getOwnPropertyDescriptor(window, "event");
|
|
@@ -9969,8 +9969,8 @@ Check the render method of \`` + e + "`." : "";
|
|
|
9969
9969
|
}
|
|
9970
9970
|
function fi(e, t, a, i, u, s, f, h, m) {
|
|
9971
9971
|
if (_l.apply(this, arguments), Bi) {
|
|
9972
|
-
var
|
|
9973
|
-
Ao || (Ao = !0, Ii =
|
|
9972
|
+
var C = Jf();
|
|
9973
|
+
Ao || (Ao = !0, Ii = C);
|
|
9974
9974
|
}
|
|
9975
9975
|
}
|
|
9976
9976
|
function Zf() {
|
|
@@ -10035,7 +10035,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
10035
10035
|
var t = di.current;
|
|
10036
10036
|
if (t !== null && t.tag === j) {
|
|
10037
10037
|
var a = t, i = a.stateNode;
|
|
10038
|
-
i._warnedAboutRefsInRender ||
|
|
10038
|
+
i._warnedAboutRefsInRender || S("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.", je(a) || "A component"), i._warnedAboutRefsInRender = !0;
|
|
10039
10039
|
}
|
|
10040
10040
|
}
|
|
10041
10041
|
var u = na(e);
|
|
@@ -10079,30 +10079,30 @@ Check the render method of \`` + e + "`." : "";
|
|
|
10079
10079
|
if (i.return !== u.return)
|
|
10080
10080
|
i = s, u = f;
|
|
10081
10081
|
else {
|
|
10082
|
-
for (var
|
|
10082
|
+
for (var C = !1, E = s.child; E; ) {
|
|
10083
10083
|
if (E === i) {
|
|
10084
|
-
|
|
10084
|
+
C = !0, i = s, u = f;
|
|
10085
10085
|
break;
|
|
10086
10086
|
}
|
|
10087
10087
|
if (E === u) {
|
|
10088
|
-
|
|
10088
|
+
C = !0, u = s, i = f;
|
|
10089
10089
|
break;
|
|
10090
10090
|
}
|
|
10091
10091
|
E = E.sibling;
|
|
10092
10092
|
}
|
|
10093
|
-
if (!
|
|
10093
|
+
if (!C) {
|
|
10094
10094
|
for (E = f.child; E; ) {
|
|
10095
10095
|
if (E === i) {
|
|
10096
|
-
|
|
10096
|
+
C = !0, i = f, u = s;
|
|
10097
10097
|
break;
|
|
10098
10098
|
}
|
|
10099
10099
|
if (E === u) {
|
|
10100
|
-
|
|
10100
|
+
C = !0, u = f, i = s;
|
|
10101
10101
|
break;
|
|
10102
10102
|
}
|
|
10103
10103
|
E = E.sibling;
|
|
10104
10104
|
}
|
|
10105
|
-
if (!
|
|
10105
|
+
if (!C)
|
|
10106
10106
|
throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.");
|
|
10107
10107
|
}
|
|
10108
10108
|
}
|
|
@@ -10153,14 +10153,14 @@ Check the render method of \`` + e + "`." : "";
|
|
|
10153
10153
|
if (t.isDisabled)
|
|
10154
10154
|
return !0;
|
|
10155
10155
|
if (!t.supportsFiber)
|
|
10156
|
-
return
|
|
10156
|
+
return S("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"), !0;
|
|
10157
10157
|
try {
|
|
10158
10158
|
Fa && (e = qe({}, e, {
|
|
10159
10159
|
getLaneLabelMap: Xi,
|
|
10160
10160
|
injectProfilingHooks: vi
|
|
10161
10161
|
})), Gi = t.inject(e), Tn = t;
|
|
10162
10162
|
} catch (a) {
|
|
10163
|
-
|
|
10163
|
+
S("React instrumentation encountered an error: %s.", a);
|
|
10164
10164
|
}
|
|
10165
10165
|
return !!t.checkDCE;
|
|
10166
10166
|
}
|
|
@@ -10169,7 +10169,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
10169
10169
|
try {
|
|
10170
10170
|
Tn.onScheduleFiberRoot(Gi, e, t);
|
|
10171
10171
|
} catch (a) {
|
|
10172
|
-
Gt || (Gt = !0,
|
|
10172
|
+
Gt || (Gt = !0, S("React instrumentation encountered an error: %s", a));
|
|
10173
10173
|
}
|
|
10174
10174
|
}
|
|
10175
10175
|
function pi(e, t) {
|
|
@@ -10198,7 +10198,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
10198
10198
|
Tn.onCommitFiberRoot(Gi, e, i, a);
|
|
10199
10199
|
}
|
|
10200
10200
|
} catch (u) {
|
|
10201
|
-
Gt || (Gt = !0,
|
|
10201
|
+
Gt || (Gt = !0, S("React instrumentation encountered an error: %s", u));
|
|
10202
10202
|
}
|
|
10203
10203
|
}
|
|
10204
10204
|
function qi(e) {
|
|
@@ -10206,7 +10206,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
10206
10206
|
try {
|
|
10207
10207
|
Tn.onPostCommitFiberRoot(Gi, e);
|
|
10208
10208
|
} catch (t) {
|
|
10209
|
-
Gt || (Gt = !0,
|
|
10209
|
+
Gt || (Gt = !0, S("React instrumentation encountered an error: %s", t));
|
|
10210
10210
|
}
|
|
10211
10211
|
}
|
|
10212
10212
|
function sd(e) {
|
|
@@ -10214,7 +10214,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
10214
10214
|
try {
|
|
10215
10215
|
Tn.onCommitFiberUnmount(Gi, e);
|
|
10216
10216
|
} catch (t) {
|
|
10217
|
-
Gt || (Gt = !0,
|
|
10217
|
+
Gt || (Gt = !0, S("React instrumentation encountered an error: %s", t));
|
|
10218
10218
|
}
|
|
10219
10219
|
}
|
|
10220
10220
|
function ln(e) {
|
|
@@ -10222,7 +10222,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
10222
10222
|
try {
|
|
10223
10223
|
Tn.setStrictMode(Gi, e);
|
|
10224
10224
|
} catch (t) {
|
|
10225
|
-
Gt || (Gt = !0,
|
|
10225
|
+
Gt || (Gt = !0, S("React instrumentation encountered an error: %s", t));
|
|
10226
10226
|
}
|
|
10227
10227
|
}
|
|
10228
10228
|
function vi(e) {
|
|
@@ -10390,7 +10390,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
10390
10390
|
case Rr:
|
|
10391
10391
|
return Rr;
|
|
10392
10392
|
default:
|
|
10393
|
-
return
|
|
10393
|
+
return S("Should have found matching lanes. This is a bug in React."), e;
|
|
10394
10394
|
}
|
|
10395
10395
|
}
|
|
10396
10396
|
function Yo(e, t) {
|
|
@@ -10407,8 +10407,8 @@ Check the render method of \`` + e + "`." : "";
|
|
|
10407
10407
|
m !== B && (i = Lu(m));
|
|
10408
10408
|
}
|
|
10409
10409
|
} else {
|
|
10410
|
-
var
|
|
10411
|
-
|
|
10410
|
+
var C = a & ~u;
|
|
10411
|
+
C !== B ? i = Lu(C) : s !== B && (i = Lu(s));
|
|
10412
10412
|
}
|
|
10413
10413
|
if (i === B)
|
|
10414
10414
|
return B;
|
|
@@ -10471,13 +10471,13 @@ Check the render method of \`` + e + "`." : "";
|
|
|
10471
10471
|
case Rr:
|
|
10472
10472
|
return Rt;
|
|
10473
10473
|
default:
|
|
10474
|
-
return
|
|
10474
|
+
return S("Should have found matching lanes. This is a bug in React."), Rt;
|
|
10475
10475
|
}
|
|
10476
10476
|
}
|
|
10477
10477
|
function Ty(e, t) {
|
|
10478
10478
|
for (var a = e.pendingLanes, i = e.suspendedLanes, u = e.pingedLanes, s = e.expirationTimes, f = a; f > 0; ) {
|
|
10479
|
-
var h = tl(f), m = 1 << h,
|
|
10480
|
-
|
|
10479
|
+
var h = tl(f), m = 1 << h, C = s[h];
|
|
10480
|
+
C === Rt ? ((m & i) === B || (m & u) !== B) && (s[h] = Tc(m, t)) : C <= t && (e.expiredLanes |= m), f &= ~m;
|
|
10481
10481
|
}
|
|
10482
10482
|
}
|
|
10483
10483
|
function wy(e) {
|
|
@@ -10802,8 +10802,8 @@ Check the render method of \`` + e + "`." : "";
|
|
|
10802
10802
|
return wn = Vu(wn, e, t, a, i, h), !0;
|
|
10803
10803
|
}
|
|
10804
10804
|
case "pointerover": {
|
|
10805
|
-
var m = u,
|
|
10806
|
-
return ca.set(
|
|
10805
|
+
var m = u, C = m.pointerId;
|
|
10806
|
+
return ca.set(C, Vu(ca.get(C) || null, e, t, a, i, m)), !0;
|
|
10807
10807
|
}
|
|
10808
10808
|
case "gotpointercapture": {
|
|
10809
10809
|
var E = u, D = E.pointerId;
|
|
@@ -10979,8 +10979,8 @@ Check the render method of \`` + e + "`." : "";
|
|
|
10979
10979
|
return m;
|
|
10980
10980
|
s = null;
|
|
10981
10981
|
} else if (h === G) {
|
|
10982
|
-
var
|
|
10983
|
-
if (sn(
|
|
10982
|
+
var C = f.stateNode;
|
|
10983
|
+
if (sn(C))
|
|
10984
10984
|
return qs(f);
|
|
10985
10985
|
s = null;
|
|
10986
10986
|
} else
|
|
@@ -11140,8 +11140,8 @@ Check the render method of \`` + e + "`." : "";
|
|
|
11140
11140
|
var m = e[h];
|
|
11141
11141
|
m ? this[h] = m(s) : this[h] = s[h];
|
|
11142
11142
|
}
|
|
11143
|
-
var
|
|
11144
|
-
return
|
|
11143
|
+
var C = s.defaultPrevented != null ? s.defaultPrevented : s.returnValue === !1;
|
|
11144
|
+
return C ? this.isDefaultPrevented = Ql : this.isDefaultPrevented = Zn, this.isPropagationStopped = Zn, this;
|
|
11145
11145
|
}
|
|
11146
11146
|
return qe(t.prototype, {
|
|
11147
11147
|
preventDefault: function() {
|
|
@@ -11402,8 +11402,8 @@ Check the render method of \`` + e + "`." : "";
|
|
|
11402
11402
|
}), f)
|
|
11403
11403
|
m.data = f;
|
|
11404
11404
|
else {
|
|
11405
|
-
var
|
|
11406
|
-
|
|
11405
|
+
var C = jd(i);
|
|
11406
|
+
C !== null && (m.data = C);
|
|
11407
11407
|
}
|
|
11408
11408
|
}
|
|
11409
11409
|
}
|
|
@@ -11563,15 +11563,15 @@ Check the render method of \`` + e + "`." : "";
|
|
|
11563
11563
|
!t || !t.controlled || e.type !== "number" || ji(e, "number", e.value);
|
|
11564
11564
|
}
|
|
11565
11565
|
function k(e, t, a, i, u, s, f) {
|
|
11566
|
-
var h = a ? Gc(a) : window, m,
|
|
11567
|
-
if (o(h) ? m = T : Gu(h) ? x ? m = qt : (m = ue,
|
|
11566
|
+
var h = a ? Gc(a) : window, m, C;
|
|
11567
|
+
if (o(h) ? m = T : Gu(h) ? x ? m = qt : (m = ue, C = $) : pe(h) && (m = me), m) {
|
|
11568
11568
|
var E = m(t, a);
|
|
11569
11569
|
if (E) {
|
|
11570
11570
|
n(e, E, i, u);
|
|
11571
11571
|
return;
|
|
11572
11572
|
}
|
|
11573
11573
|
}
|
|
11574
|
-
|
|
11574
|
+
C && C(t, h, a), t === "focusout" && O(h);
|
|
11575
11575
|
}
|
|
11576
11576
|
function L() {
|
|
11577
11577
|
Xr("onMouseEnter", ["mouseout", "mouseover"]), Xr("onMouseLeave", ["mouseout", "mouseover"]), Xr("onPointerEnter", ["pointerout", "pointerover"]), Xr("onPointerLeave", ["pointerout", "pointerover"]);
|
|
@@ -11579,8 +11579,8 @@ Check the render method of \`` + e + "`." : "";
|
|
|
11579
11579
|
function Z(e, t, a, i, u, s, f) {
|
|
11580
11580
|
var h = t === "mouseover" || t === "pointerover", m = t === "mouseout" || t === "pointerout";
|
|
11581
11581
|
if (h && !Ov(i)) {
|
|
11582
|
-
var
|
|
11583
|
-
if (
|
|
11582
|
+
var C = i.relatedTarget || i.fromElement;
|
|
11583
|
+
if (C && (os(C) || ep(C)))
|
|
11584
11584
|
return;
|
|
11585
11585
|
}
|
|
11586
11586
|
if (!(!m && !h)) {
|
|
@@ -11671,7 +11671,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
11671
11671
|
return Vy(e, u, s, f, h);
|
|
11672
11672
|
}
|
|
11673
11673
|
function Vy(e, t, a, i, u) {
|
|
11674
|
-
var s = 0, f = -1, h = -1, m = 0,
|
|
11674
|
+
var s = 0, f = -1, h = -1, m = 0, C = 0, E = e, D = null;
|
|
11675
11675
|
e:
|
|
11676
11676
|
for (; ; ) {
|
|
11677
11677
|
for (var b = null; E === t && (a === 0 || E.nodeType === ui) && (f = s + a), E === i && (u === 0 || E.nodeType === ui) && (h = s + u), E.nodeType === ui && (s += E.nodeValue.length), (b = E.firstChild) !== null; )
|
|
@@ -11679,7 +11679,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
11679
11679
|
for (; ; ) {
|
|
11680
11680
|
if (E === e)
|
|
11681
11681
|
break e;
|
|
11682
|
-
if (D === t && ++m === a && (f = s), D === i && ++
|
|
11682
|
+
if (D === t && ++m === a && (f = s), D === i && ++C === u && (h = s), (b = E.nextSibling) !== null)
|
|
11683
11683
|
break;
|
|
11684
11684
|
E = D, D = E.parentNode;
|
|
11685
11685
|
}
|
|
@@ -11698,12 +11698,12 @@ Check the render method of \`` + e + "`." : "";
|
|
|
11698
11698
|
var m = h;
|
|
11699
11699
|
h = f, f = m;
|
|
11700
11700
|
}
|
|
11701
|
-
var
|
|
11702
|
-
if (
|
|
11703
|
-
if (u.rangeCount === 1 && u.anchorNode ===
|
|
11701
|
+
var C = it(e, f), E = it(e, h);
|
|
11702
|
+
if (C && E) {
|
|
11703
|
+
if (u.rangeCount === 1 && u.anchorNode === C.node && u.anchorOffset === C.offset && u.focusNode === E.node && u.focusOffset === E.offset)
|
|
11704
11704
|
return;
|
|
11705
11705
|
var D = a.createRange();
|
|
11706
|
-
D.setStart(
|
|
11706
|
+
D.setStart(C.node, C.offset), u.removeAllRanges(), f > h ? (u.addRange(D), u.extend(E.node, E.offset)) : (D.setEnd(E.node, E.offset), u.addRange(D));
|
|
11707
11707
|
}
|
|
11708
11708
|
}
|
|
11709
11709
|
}
|
|
@@ -11875,7 +11875,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
11875
11875
|
function Ww(e, t, a, i, u, s, f) {
|
|
11876
11876
|
var h = c1.get(t);
|
|
11877
11877
|
if (h !== void 0) {
|
|
11878
|
-
var m = er,
|
|
11878
|
+
var m = er, C = t;
|
|
11879
11879
|
switch (t) {
|
|
11880
11880
|
case "keypress":
|
|
11881
11881
|
if (Yl(i) === 0)
|
|
@@ -11885,10 +11885,10 @@ Check the render method of \`` + e + "`." : "";
|
|
|
11885
11885
|
m = Ly;
|
|
11886
11886
|
break;
|
|
11887
11887
|
case "focusin":
|
|
11888
|
-
|
|
11888
|
+
C = "focus", m = Lc;
|
|
11889
11889
|
break;
|
|
11890
11890
|
case "focusout":
|
|
11891
|
-
|
|
11891
|
+
C = "blur", m = Lc;
|
|
11892
11892
|
break;
|
|
11893
11893
|
case "beforeblur":
|
|
11894
11894
|
case "afterblur":
|
|
@@ -11957,7 +11957,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
11957
11957
|
{
|
|
11958
11958
|
var D = !E && t === "scroll", b = Kw(a, h, i.type, E, D);
|
|
11959
11959
|
if (b.length > 0) {
|
|
11960
|
-
var z = new m(h,
|
|
11960
|
+
var z = new m(h, C, null, i, u);
|
|
11961
11961
|
e.push({
|
|
11962
11962
|
event: z,
|
|
11963
11963
|
listeners: b
|
|
@@ -11987,8 +11987,8 @@ Check the render method of \`` + e + "`." : "";
|
|
|
11987
11987
|
d1(e, m, h), i = f;
|
|
11988
11988
|
}
|
|
11989
11989
|
else
|
|
11990
|
-
for (var
|
|
11991
|
-
var E = t[
|
|
11990
|
+
for (var C = 0; C < t.length; C++) {
|
|
11991
|
+
var E = t[C], D = E.instance, b = E.currentTarget, z = E.listener;
|
|
11992
11992
|
if (D !== i && e.isPropagationStopped())
|
|
11993
11993
|
return;
|
|
11994
11994
|
d1(e, z, b), i = D;
|
|
@@ -12006,12 +12006,12 @@ Check the render method of \`` + e + "`." : "";
|
|
|
12006
12006
|
Gw(f, e, i, a, s, t), p1(f, t);
|
|
12007
12007
|
}
|
|
12008
12008
|
function Pt(e, t) {
|
|
12009
|
-
Yy.has(e) ||
|
|
12009
|
+
Yy.has(e) || S('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.', e);
|
|
12010
12010
|
var a = !1, i = bx(t), u = eR(e, a);
|
|
12011
12011
|
i.has(u) || (v1(t, e, Oo, a), i.add(u));
|
|
12012
12012
|
}
|
|
12013
12013
|
function Qy(e, t, a) {
|
|
12014
|
-
Yy.has(e) && !t &&
|
|
12014
|
+
Yy.has(e) && !t && S('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.', e);
|
|
12015
12015
|
var i = 0;
|
|
12016
12016
|
t && (i |= xl), v1(a, e, i, t);
|
|
12017
12017
|
}
|
|
@@ -12044,8 +12044,8 @@ Check the render method of \`` + e + "`." : "";
|
|
|
12044
12044
|
return;
|
|
12045
12045
|
var m = h.tag;
|
|
12046
12046
|
if (m === G || m === ie) {
|
|
12047
|
-
var
|
|
12048
|
-
if (h1(
|
|
12047
|
+
var C = h.stateNode.containerInfo;
|
|
12048
|
+
if (h1(C, f))
|
|
12049
12049
|
break;
|
|
12050
12050
|
if (m === ie)
|
|
12051
12051
|
for (var E = h.return; E !== null; ) {
|
|
@@ -12057,8 +12057,8 @@ Check the render method of \`` + e + "`." : "";
|
|
|
12057
12057
|
}
|
|
12058
12058
|
E = E.return;
|
|
12059
12059
|
}
|
|
12060
|
-
for (;
|
|
12061
|
-
var z = os(
|
|
12060
|
+
for (; C !== null; ) {
|
|
12061
|
+
var z = os(C);
|
|
12062
12062
|
if (z === null)
|
|
12063
12063
|
return;
|
|
12064
12064
|
var U = z.tag;
|
|
@@ -12066,7 +12066,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
12066
12066
|
h = s = z;
|
|
12067
12067
|
continue e;
|
|
12068
12068
|
}
|
|
12069
|
-
|
|
12069
|
+
C = C.parentNode;
|
|
12070
12070
|
}
|
|
12071
12071
|
}
|
|
12072
12072
|
h = h.return;
|
|
@@ -12085,15 +12085,15 @@ Check the render method of \`` + e + "`." : "";
|
|
|
12085
12085
|
};
|
|
12086
12086
|
}
|
|
12087
12087
|
function Kw(e, t, a, i, u, s) {
|
|
12088
|
-
for (var f = t !== null ? t + "Capture" : null, h = i ? f : t, m = [],
|
|
12089
|
-
var D =
|
|
12088
|
+
for (var f = t !== null ? t + "Capture" : null, h = i ? f : t, m = [], C = e, E = null; C !== null; ) {
|
|
12089
|
+
var D = C, b = D.stateNode, z = D.tag;
|
|
12090
12090
|
if (z === ae && b !== null && (E = b, h !== null)) {
|
|
12091
|
-
var U = kl(
|
|
12092
|
-
U != null && m.push($d(
|
|
12091
|
+
var U = kl(C, h);
|
|
12092
|
+
U != null && m.push($d(C, U, E));
|
|
12093
12093
|
}
|
|
12094
12094
|
if (u)
|
|
12095
12095
|
break;
|
|
12096
|
-
|
|
12096
|
+
C = C.return;
|
|
12097
12097
|
}
|
|
12098
12098
|
return m;
|
|
12099
12099
|
}
|
|
@@ -12101,8 +12101,8 @@ Check the render method of \`` + e + "`." : "";
|
|
|
12101
12101
|
for (var a = t + "Capture", i = [], u = e; u !== null; ) {
|
|
12102
12102
|
var s = u, f = s.stateNode, h = s.tag;
|
|
12103
12103
|
if (h === ae && f !== null) {
|
|
12104
|
-
var m = f,
|
|
12105
|
-
|
|
12104
|
+
var m = f, C = kl(u, a);
|
|
12105
|
+
C != null && i.unshift($d(u, C, m));
|
|
12106
12106
|
var E = kl(u, t);
|
|
12107
12107
|
E != null && i.push($d(u, E, m));
|
|
12108
12108
|
}
|
|
@@ -12136,8 +12136,8 @@ Check the render method of \`` + e + "`." : "";
|
|
|
12136
12136
|
}
|
|
12137
12137
|
function m1(e, t, a, i, u) {
|
|
12138
12138
|
for (var s = t._reactName, f = [], h = a; h !== null && h !== i; ) {
|
|
12139
|
-
var m = h,
|
|
12140
|
-
if (
|
|
12139
|
+
var m = h, C = m.alternate, E = m.stateNode, D = m.tag;
|
|
12140
|
+
if (C !== null && C === i)
|
|
12141
12141
|
break;
|
|
12142
12142
|
if (D === ae && E !== null) {
|
|
12143
12143
|
var b = E;
|
|
@@ -12175,7 +12175,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
12175
12175
|
}, S1 = mn && !document.documentMode, Qd = function(e, t, a) {
|
|
12176
12176
|
if (!pa) {
|
|
12177
12177
|
var i = Th(a), u = Th(t);
|
|
12178
|
-
u !== i && (pa = !0,
|
|
12178
|
+
u !== i && (pa = !0, S("Prop `%s` did not match. Server: %s Client: %s", e, JSON.stringify(u), JSON.stringify(i)));
|
|
12179
12179
|
}
|
|
12180
12180
|
}, g1 = function(e) {
|
|
12181
12181
|
if (!pa) {
|
|
@@ -12183,10 +12183,10 @@ Check the render method of \`` + e + "`." : "";
|
|
|
12183
12183
|
var t = [];
|
|
12184
12184
|
e.forEach(function(a) {
|
|
12185
12185
|
t.push(a);
|
|
12186
|
-
}),
|
|
12186
|
+
}), S("Extra attributes from the server: %s", t);
|
|
12187
12187
|
}
|
|
12188
12188
|
}, Eh = function(e, t) {
|
|
12189
|
-
t === !1 ?
|
|
12189
|
+
t === !1 ? S("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.", e, e, e) : S("Expected `%s` listener to be a function, instead got a value of `%s` type.", e, typeof t);
|
|
12190
12190
|
}, C1 = function(e, t) {
|
|
12191
12191
|
var a = e.namespaceURI === li ? e.ownerDocument.createElement(e.tagName) : e.ownerDocument.createElementNS(e.namespaceURI, e.tagName);
|
|
12192
12192
|
return a.innerHTML = t, a.innerHTML;
|
|
@@ -12200,7 +12200,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
12200
12200
|
}
|
|
12201
12201
|
function wh(e, t, a, i) {
|
|
12202
12202
|
var u = Th(t), s = Th(e);
|
|
12203
|
-
if (s !== u && (i && (pa || (pa = !0,
|
|
12203
|
+
if (s !== u && (i && (pa || (pa = !0, S('Text content did not match. Server: "%s" Client: "%s"', s, u))), a && tr))
|
|
12204
12204
|
throw new Error("Text content does not match server-rendered HTML.");
|
|
12205
12205
|
}
|
|
12206
12206
|
function E1(e) {
|
|
@@ -12239,11 +12239,11 @@ Check the render method of \`` + e + "`." : "";
|
|
|
12239
12239
|
function lR(e, t, a, i) {
|
|
12240
12240
|
var u, s = E1(a), f, h = i;
|
|
12241
12241
|
if (h === li && (h = Fs(e)), h === li) {
|
|
12242
|
-
if (u = oi(e, t), !u && e !== e.toLowerCase() &&
|
|
12242
|
+
if (u = oi(e, t), !u && e !== e.toLowerCase() && S("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.", e), e === "script") {
|
|
12243
12243
|
var m = s.createElement("div");
|
|
12244
12244
|
m.innerHTML = "<script></script>";
|
|
12245
|
-
var
|
|
12246
|
-
f = m.removeChild(
|
|
12245
|
+
var C = m.firstChild;
|
|
12246
|
+
f = m.removeChild(C);
|
|
12247
12247
|
} else if (typeof t.is == "string")
|
|
12248
12248
|
f = s.createElement(e, {
|
|
12249
12249
|
is: t.is
|
|
@@ -12254,7 +12254,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
12254
12254
|
}
|
|
12255
12255
|
} else
|
|
12256
12256
|
f = s.createElementNS(h, e);
|
|
12257
|
-
return h === li && !u && Object.prototype.toString.call(f) === "[object HTMLUnknownElement]" && !$n.call(Gy, e) && (Gy[e] = !0,
|
|
12257
|
+
return h === li && !u && Object.prototype.toString.call(f) === "[object HTMLUnknownElement]" && !$n.call(Gy, e) && (Gy[e] = !0, S("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.", e)), f;
|
|
12258
12258
|
}
|
|
12259
12259
|
function uR(e, t) {
|
|
12260
12260
|
return E1(t).createTextNode(e);
|
|
@@ -12340,13 +12340,13 @@ Check the render method of \`` + e + "`." : "";
|
|
|
12340
12340
|
break;
|
|
12341
12341
|
}
|
|
12342
12342
|
Ps(t, h);
|
|
12343
|
-
var m,
|
|
12343
|
+
var m, C, E = null;
|
|
12344
12344
|
for (m in f)
|
|
12345
12345
|
if (!(h.hasOwnProperty(m) || !f.hasOwnProperty(m) || f[m] == null))
|
|
12346
12346
|
if (m === us) {
|
|
12347
12347
|
var D = f[m];
|
|
12348
|
-
for (
|
|
12349
|
-
D.hasOwnProperty(
|
|
12348
|
+
for (C in D)
|
|
12349
|
+
D.hasOwnProperty(C) && (E || (E = {}), E[C] = "");
|
|
12350
12350
|
} else
|
|
12351
12351
|
m === Yd || m === ls || m === gh || m === Xu || m === y1 || (vr.hasOwnProperty(m) ? s || (s = []) : (s = s || []).push(m, null));
|
|
12352
12352
|
for (m in h) {
|
|
@@ -12354,10 +12354,10 @@ Check the render method of \`` + e + "`." : "";
|
|
|
12354
12354
|
if (!(!h.hasOwnProperty(m) || b === z || b == null && z == null))
|
|
12355
12355
|
if (m === us)
|
|
12356
12356
|
if (b && Object.freeze(b), z) {
|
|
12357
|
-
for (
|
|
12358
|
-
z.hasOwnProperty(
|
|
12359
|
-
for (
|
|
12360
|
-
b.hasOwnProperty(
|
|
12357
|
+
for (C in z)
|
|
12358
|
+
z.hasOwnProperty(C) && (!b || !b.hasOwnProperty(C)) && (E || (E = {}), E[C] = "");
|
|
12359
|
+
for (C in b)
|
|
12360
|
+
b.hasOwnProperty(C) && z[C] !== b[C] && (E || (E = {}), E[C] = b[C]);
|
|
12361
12361
|
} else
|
|
12362
12362
|
E || (s || (s = []), s.push(m, E)), E = b;
|
|
12363
12363
|
else if (m === Yd) {
|
|
@@ -12402,8 +12402,8 @@ Check the render method of \`` + e + "`." : "";
|
|
|
12402
12402
|
break;
|
|
12403
12403
|
case "video":
|
|
12404
12404
|
case "audio":
|
|
12405
|
-
for (var
|
|
12406
|
-
Pt(Bd[
|
|
12405
|
+
for (var C = 0; C < Bd.length; C++)
|
|
12406
|
+
Pt(Bd[C], e);
|
|
12407
12407
|
break;
|
|
12408
12408
|
case "source":
|
|
12409
12409
|
Pt("error", e);
|
|
@@ -12516,28 +12516,28 @@ Check the render method of \`` + e + "`." : "";
|
|
|
12516
12516
|
{
|
|
12517
12517
|
if (pa)
|
|
12518
12518
|
return;
|
|
12519
|
-
pa = !0,
|
|
12519
|
+
pa = !0, S("Did not expect server HTML to contain a <%s> in <%s>.", t.nodeName.toLowerCase(), e.nodeName.toLowerCase());
|
|
12520
12520
|
}
|
|
12521
12521
|
}
|
|
12522
12522
|
function Xy(e, t) {
|
|
12523
12523
|
{
|
|
12524
12524
|
if (pa)
|
|
12525
12525
|
return;
|
|
12526
|
-
pa = !0,
|
|
12526
|
+
pa = !0, S('Did not expect server HTML to contain the text node "%s" in <%s>.', t.nodeValue, e.nodeName.toLowerCase());
|
|
12527
12527
|
}
|
|
12528
12528
|
}
|
|
12529
12529
|
function Ky(e, t, a) {
|
|
12530
12530
|
{
|
|
12531
12531
|
if (pa)
|
|
12532
12532
|
return;
|
|
12533
|
-
pa = !0,
|
|
12533
|
+
pa = !0, S("Expected server HTML to contain a matching <%s> in <%s>.", t, e.nodeName.toLowerCase());
|
|
12534
12534
|
}
|
|
12535
12535
|
}
|
|
12536
12536
|
function Zy(e, t) {
|
|
12537
12537
|
{
|
|
12538
12538
|
if (t === "" || pa)
|
|
12539
12539
|
return;
|
|
12540
|
-
pa = !0,
|
|
12540
|
+
pa = !0, S('Expected server HTML to contain a matching text node for "%s" in <%s>.', t, e.nodeName.toLowerCase());
|
|
12541
12541
|
}
|
|
12542
12542
|
}
|
|
12543
12543
|
function vR(e, t, a) {
|
|
@@ -12698,18 +12698,18 @@ Check the render method of \`` + e + "`." : "";
|
|
|
12698
12698
|
Wd = function(e, t, a) {
|
|
12699
12699
|
a = a || w1;
|
|
12700
12700
|
var i = a.current, u = i && i.tag;
|
|
12701
|
-
t != null && (e != null &&
|
|
12701
|
+
t != null && (e != null && S("validateDOMNesting: when childText is passed, childTag should be null"), e = "#text");
|
|
12702
12702
|
var s = gR(e, u) ? null : i, f = s ? null : SR(e, a), h = s || f;
|
|
12703
12703
|
if (h) {
|
|
12704
|
-
var m = h.tag,
|
|
12705
|
-
if (!R1[
|
|
12706
|
-
R1[
|
|
12704
|
+
var m = h.tag, C = !!s + "|" + e + "|" + m;
|
|
12705
|
+
if (!R1[C]) {
|
|
12706
|
+
R1[C] = !0;
|
|
12707
12707
|
var E = e, D = "";
|
|
12708
12708
|
if (e === "#text" ? /\S/.test(t) ? E = "Text nodes" : (E = "Whitespace text nodes", D = " Make sure you don't have any extra whitespace between tags on each line of your source code.") : E = "<" + e + ">", s) {
|
|
12709
12709
|
var b = "";
|
|
12710
|
-
m === "table" && e === "tr" && (b += " Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),
|
|
12710
|
+
m === "table" && e === "tr" && (b += " Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."), S("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s", E, m, D, b);
|
|
12711
12711
|
} else
|
|
12712
|
-
|
|
12712
|
+
S("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.", E, m);
|
|
12713
12713
|
}
|
|
12714
12714
|
}
|
|
12715
12715
|
};
|
|
@@ -12769,8 +12769,8 @@ Check the render method of \`` + e + "`." : "";
|
|
|
12769
12769
|
}
|
|
12770
12770
|
s = f.namespace;
|
|
12771
12771
|
}
|
|
12772
|
-
var
|
|
12773
|
-
return Jd(u,
|
|
12772
|
+
var C = lR(e, t, a, s);
|
|
12773
|
+
return Jd(u, C), og(C, t), C;
|
|
12774
12774
|
}
|
|
12775
12775
|
function bR(e, t) {
|
|
12776
12776
|
e.appendChild(t);
|
|
@@ -12966,8 +12966,8 @@ Check the render method of \`` + e + "`." : "";
|
|
|
12966
12966
|
var m = u;
|
|
12967
12967
|
h = m.namespace;
|
|
12968
12968
|
}
|
|
12969
|
-
var
|
|
12970
|
-
return dR(e, t, a, h, i,
|
|
12969
|
+
var C = (s.mode & We) !== ke;
|
|
12970
|
+
return dR(e, t, a, h, i, C, f);
|
|
12971
12971
|
}
|
|
12972
12972
|
function ax(e, t, a, i) {
|
|
12973
12973
|
return Jd(a, e), a.mode & We, pR(e, t);
|
|
@@ -13061,7 +13061,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
13061
13061
|
(u || t[xh] !== !0) && Zy(a, i);
|
|
13062
13062
|
}
|
|
13063
13063
|
function Ex(e) {
|
|
13064
|
-
|
|
13064
|
+
S("An error occurred during hydration. The server HTML was replaced with client content in <%s>.", e.nodeName.toLowerCase());
|
|
13065
13065
|
}
|
|
13066
13066
|
function Tx(e) {
|
|
13067
13067
|
Id(e);
|
|
@@ -13141,10 +13141,10 @@ Check the render method of \`` + e + "`." : "";
|
|
|
13141
13141
|
throw m.name = "Invariant Violation", m;
|
|
13142
13142
|
}
|
|
13143
13143
|
h = e[f](t, f, i, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
13144
|
-
} catch (
|
|
13145
|
-
h =
|
|
13144
|
+
} catch (C) {
|
|
13145
|
+
h = C;
|
|
13146
13146
|
}
|
|
13147
|
-
h && !(h instanceof Error) && (Nh(u),
|
|
13147
|
+
h && !(h instanceof Error) && (Nh(u), S("%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).", i || "React class", a, f, typeof h), Nh(null)), h instanceof Error && !(h.message in O1) && (O1[h.message] = !0, Nh(u), S("Failed %s type: %s", a, h.message), Nh(null));
|
|
13148
13148
|
}
|
|
13149
13149
|
}
|
|
13150
13150
|
}
|
|
@@ -13158,10 +13158,10 @@ Check the render method of \`` + e + "`." : "";
|
|
|
13158
13158
|
}
|
|
13159
13159
|
function br(e, t) {
|
|
13160
13160
|
if (Kl < 0) {
|
|
13161
|
-
|
|
13161
|
+
S("Unexpected pop.");
|
|
13162
13162
|
return;
|
|
13163
13163
|
}
|
|
13164
|
-
t !== Mh[Kl] &&
|
|
13164
|
+
t !== Mh[Kl] && S("Unexpected Fiber popped."), e.current = sg[Kl], sg[Kl] = null, Mh[Kl] = null, Kl--;
|
|
13165
13165
|
}
|
|
13166
13166
|
function kr(e, t, a) {
|
|
13167
13167
|
Kl++, sg[Kl] = e.current, Mh[Kl] = a, e.current = t;
|
|
@@ -13226,7 +13226,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
13226
13226
|
if (typeof i.getChildContext != "function") {
|
|
13227
13227
|
{
|
|
13228
13228
|
var s = je(e) || "Unknown";
|
|
13229
|
-
cg[s] || (cg[s] = !0,
|
|
13229
|
+
cg[s] || (cg[s] = !0, S("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.", s, s));
|
|
13230
13230
|
}
|
|
13231
13231
|
return a;
|
|
13232
13232
|
}
|
|
@@ -13329,7 +13329,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
13329
13329
|
fs(), qa[Xa++] = eu, qa[Xa++] = tu, qa[Xa++] = ss, ss = e;
|
|
13330
13330
|
var i = eu, u = tu, s = jh(i) - 1, f = i & ~(1 << s), h = a + 1, m = jh(t) + s;
|
|
13331
13331
|
if (m > 30) {
|
|
13332
|
-
var
|
|
13332
|
+
var C = s - s % 5, E = (1 << C) - 1, D = (f & E).toString(32), b = f >> C, z = s - C, U = jh(t) + z, V = h << z, ce = V | b, Re = D + u;
|
|
13333
13333
|
eu = 1 << U | ce, tu = Re;
|
|
13334
13334
|
} else {
|
|
13335
13335
|
var ge = h << s, nt = ge | f, Ke = u;
|
|
@@ -13366,11 +13366,11 @@ Check the render method of \`` + e + "`." : "";
|
|
|
13366
13366
|
fs(), qa[Xa++] = eu, qa[Xa++] = tu, qa[Xa++] = ss, eu = t.id, tu = t.overflow, ss = e;
|
|
13367
13367
|
}
|
|
13368
13368
|
function fs() {
|
|
13369
|
-
lr() ||
|
|
13369
|
+
lr() || S("Expected to be hydrating. This is a bug in React. Please file an issue.");
|
|
13370
13370
|
}
|
|
13371
13371
|
var ir = null, Ka = null, Ti = !1, ds = !1, to = null;
|
|
13372
13372
|
function Ux() {
|
|
13373
|
-
Ti &&
|
|
13373
|
+
Ti && S("We should not be hydrating here. This is a bug in React. Please file a bug.");
|
|
13374
13374
|
}
|
|
13375
13375
|
function j1() {
|
|
13376
13376
|
ds = !0;
|
|
@@ -13439,13 +13439,13 @@ Check the render method of \`` + e + "`." : "";
|
|
|
13439
13439
|
var s = e.type, f = e.memoizedProps, h = e.stateNode;
|
|
13440
13440
|
switch (t.tag) {
|
|
13441
13441
|
case ae: {
|
|
13442
|
-
var m = t.type,
|
|
13442
|
+
var m = t.type, C = t.pendingProps, E = (e.mode & We) !== ke;
|
|
13443
13443
|
Sx(
|
|
13444
13444
|
s,
|
|
13445
13445
|
f,
|
|
13446
13446
|
h,
|
|
13447
13447
|
m,
|
|
13448
|
-
|
|
13448
|
+
C,
|
|
13449
13449
|
E
|
|
13450
13450
|
);
|
|
13451
13451
|
break;
|
|
@@ -13563,11 +13563,11 @@ Check the render method of \`` + e + "`." : "";
|
|
|
13563
13563
|
break;
|
|
13564
13564
|
}
|
|
13565
13565
|
case ae: {
|
|
13566
|
-
var h = u.type, m = u.memoizedProps,
|
|
13566
|
+
var h = u.type, m = u.memoizedProps, C = u.stateNode, E = (u.mode & We) !== ke;
|
|
13567
13567
|
fx(
|
|
13568
13568
|
h,
|
|
13569
13569
|
m,
|
|
13570
|
-
|
|
13570
|
+
C,
|
|
13571
13571
|
t,
|
|
13572
13572
|
a,
|
|
13573
13573
|
E
|
|
@@ -13685,7 +13685,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
13685
13685
|
s.add(je(b) || "Component"), vs.add(b.type);
|
|
13686
13686
|
}), lp = []), t.size > 0) {
|
|
13687
13687
|
var f = ps(t);
|
|
13688
|
-
|
|
13688
|
+
S(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
13689
13689
|
|
|
13690
13690
|
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
13691
13691
|
|
|
@@ -13693,7 +13693,7 @@ Please update the following components: %s`, f);
|
|
|
13693
13693
|
}
|
|
13694
13694
|
if (i.size > 0) {
|
|
13695
13695
|
var h = ps(i);
|
|
13696
|
-
|
|
13696
|
+
S(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
13697
13697
|
|
|
13698
13698
|
* Move data fetching code or side effects to componentDidUpdate.
|
|
13699
13699
|
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
|
|
@@ -13702,20 +13702,20 @@ Please update the following components: %s`, h);
|
|
|
13702
13702
|
}
|
|
13703
13703
|
if (s.size > 0) {
|
|
13704
13704
|
var m = ps(s);
|
|
13705
|
-
|
|
13705
|
+
S(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
13706
13706
|
|
|
13707
13707
|
* Move data fetching code or side effects to componentDidUpdate.
|
|
13708
13708
|
|
|
13709
13709
|
Please update the following components: %s`, m);
|
|
13710
13710
|
}
|
|
13711
13711
|
if (e.size > 0) {
|
|
13712
|
-
var
|
|
13712
|
+
var C = ps(e);
|
|
13713
13713
|
A(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
13714
13714
|
|
|
13715
13715
|
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
13716
13716
|
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
13717
13717
|
|
|
13718
|
-
Please update the following components: %s`,
|
|
13718
|
+
Please update the following components: %s`, C);
|
|
13719
13719
|
}
|
|
13720
13720
|
if (a.size > 0) {
|
|
13721
13721
|
var E = ps(a);
|
|
@@ -13741,7 +13741,7 @@ Please update the following components: %s`, D);
|
|
|
13741
13741
|
wi.recordLegacyContextWarning = function(e, t) {
|
|
13742
13742
|
var a = Wx(e);
|
|
13743
13743
|
if (a === null) {
|
|
13744
|
-
|
|
13744
|
+
S("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.");
|
|
13745
13745
|
return;
|
|
13746
13746
|
}
|
|
13747
13747
|
if (!W1.has(e.type)) {
|
|
@@ -13757,7 +13757,7 @@ Please update the following components: %s`, D);
|
|
|
13757
13757
|
});
|
|
13758
13758
|
var u = ps(i);
|
|
13759
13759
|
try {
|
|
13760
|
-
yt(a),
|
|
13760
|
+
yt(a), S(`Legacy context API has been detected within a strict-mode tree.
|
|
13761
13761
|
|
|
13762
13762
|
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
13763
13763
|
|
|
@@ -13795,7 +13795,7 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, u)
|
|
|
13795
13795
|
Ih = !1;
|
|
13796
13796
|
}
|
|
13797
13797
|
function X1(e, t, a) {
|
|
13798
|
-
kr(Tg, t._currentValue, e), t._currentValue = a, t._currentRenderer !== void 0 && t._currentRenderer !== null && t._currentRenderer !== wg &&
|
|
13798
|
+
kr(Tg, t._currentValue, e), t._currentValue = a, t._currentRenderer !== void 0 && t._currentRenderer !== null && t._currentRenderer !== wg && S("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."), t._currentRenderer = wg;
|
|
13799
13799
|
}
|
|
13800
13800
|
function xg(e, t) {
|
|
13801
13801
|
var a = Tg.current;
|
|
@@ -13808,7 +13808,7 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, u)
|
|
|
13808
13808
|
break;
|
|
13809
13809
|
i = i.return;
|
|
13810
13810
|
}
|
|
13811
|
-
i !== a &&
|
|
13811
|
+
i !== a && S("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.");
|
|
13812
13812
|
}
|
|
13813
13813
|
function Gx(e, t, a) {
|
|
13814
13814
|
qx(e, t, a);
|
|
@@ -13824,9 +13824,9 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, u)
|
|
|
13824
13824
|
if (i.tag === j) {
|
|
13825
13825
|
var h = un(a), m = nu(Rt, h);
|
|
13826
13826
|
m.tag = Qh;
|
|
13827
|
-
var
|
|
13828
|
-
if (
|
|
13829
|
-
var E =
|
|
13827
|
+
var C = i.updateQueue;
|
|
13828
|
+
if (C !== null) {
|
|
13829
|
+
var E = C.shared, D = E.pending;
|
|
13830
13830
|
D === null ? m.next = m : (m.next = D.next, D.next = m), E.pending = m;
|
|
13831
13831
|
}
|
|
13832
13832
|
}
|
|
@@ -13875,7 +13875,7 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, u)
|
|
|
13875
13875
|
}
|
|
13876
13876
|
}
|
|
13877
13877
|
function bn(e) {
|
|
13878
|
-
Ih &&
|
|
13878
|
+
Ih && S("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");
|
|
13879
13879
|
var t = e._currentValue;
|
|
13880
13880
|
if (Rg !== e) {
|
|
13881
13881
|
var a = {
|
|
@@ -13989,7 +13989,7 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, u)
|
|
|
13989
13989
|
if (i === null)
|
|
13990
13990
|
return null;
|
|
13991
13991
|
var u = i.shared;
|
|
13992
|
-
if (Gh === u && !_g && (
|
|
13992
|
+
if (Gh === u && !_g && (S("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."), _g = !0), Jk()) {
|
|
13993
13993
|
var s = u.pending;
|
|
13994
13994
|
return s === null ? t.next = t : (t.next = s.next, s.next = t), u.pending = t, Jx(e, a);
|
|
13995
13995
|
} else
|
|
@@ -14016,7 +14016,7 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, u)
|
|
|
14016
14016
|
if (h !== null) {
|
|
14017
14017
|
var m = h;
|
|
14018
14018
|
do {
|
|
14019
|
-
var
|
|
14019
|
+
var C = {
|
|
14020
14020
|
eventTime: m.eventTime,
|
|
14021
14021
|
lane: m.lane,
|
|
14022
14022
|
tag: m.tag,
|
|
@@ -14024,7 +14024,7 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, u)
|
|
|
14024
14024
|
callback: m.callback,
|
|
14025
14025
|
next: null
|
|
14026
14026
|
};
|
|
14027
|
-
f === null ? s = f =
|
|
14027
|
+
f === null ? s = f = C : (f.next = C, f = C), m = m.next;
|
|
14028
14028
|
} while (m !== null);
|
|
14029
14029
|
f === null ? s = f = t : (f.next = t, f = t);
|
|
14030
14030
|
} else
|
|
@@ -14067,9 +14067,9 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, u)
|
|
|
14067
14067
|
case Dg:
|
|
14068
14068
|
e.flags = e.flags & ~En | Me;
|
|
14069
14069
|
case Z1: {
|
|
14070
|
-
var m = a.payload,
|
|
14070
|
+
var m = a.payload, C;
|
|
14071
14071
|
if (typeof m == "function") {
|
|
14072
|
-
G1(),
|
|
14072
|
+
G1(), C = m.call(s, i, u);
|
|
14073
14073
|
{
|
|
14074
14074
|
if (e.mode & jt) {
|
|
14075
14075
|
ln(!0);
|
|
@@ -14082,8 +14082,8 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, u)
|
|
|
14082
14082
|
q1();
|
|
14083
14083
|
}
|
|
14084
14084
|
} else
|
|
14085
|
-
|
|
14086
|
-
return
|
|
14085
|
+
C = m;
|
|
14086
|
+
return C == null ? i : qe({}, i, C);
|
|
14087
14087
|
}
|
|
14088
14088
|
case Qh:
|
|
14089
14089
|
return Wh = !0, i;
|
|
@@ -14096,12 +14096,12 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, u)
|
|
|
14096
14096
|
var s = u.firstBaseUpdate, f = u.lastBaseUpdate, h = u.shared.pending;
|
|
14097
14097
|
if (h !== null) {
|
|
14098
14098
|
u.shared.pending = null;
|
|
14099
|
-
var m = h,
|
|
14100
|
-
m.next = null, f === null ? s =
|
|
14099
|
+
var m = h, C = m.next;
|
|
14100
|
+
m.next = null, f === null ? s = C : f.next = C, f = m;
|
|
14101
14101
|
var E = e.alternate;
|
|
14102
14102
|
if (E !== null) {
|
|
14103
14103
|
var D = E.updateQueue, b = D.lastBaseUpdate;
|
|
14104
|
-
b !== f && (b === null ? D.firstBaseUpdate =
|
|
14104
|
+
b !== f && (b === null ? D.firstBaseUpdate = C : b.next = C, D.lastBaseUpdate = m);
|
|
14105
14105
|
}
|
|
14106
14106
|
}
|
|
14107
14107
|
if (s !== null) {
|
|
@@ -14184,12 +14184,12 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, u)
|
|
|
14184
14184
|
Zh = function(e, t) {
|
|
14185
14185
|
if (!(e === null || typeof e == "function")) {
|
|
14186
14186
|
var a = t + "_" + e;
|
|
14187
|
-
iC.has(a) || (iC.add(a),
|
|
14187
|
+
iC.has(a) || (iC.add(a), S("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.", t, e));
|
|
14188
14188
|
}
|
|
14189
14189
|
}, aC = function(e, t) {
|
|
14190
14190
|
if (t === void 0) {
|
|
14191
14191
|
var a = Tt(e) || "Component";
|
|
14192
|
-
Fg.has(a) || (Fg.add(a),
|
|
14192
|
+
Fg.has(a) || (Fg.add(a), S("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.", a));
|
|
14193
14193
|
}
|
|
14194
14194
|
}, Object.defineProperty(Mg, "_processChildContext", {
|
|
14195
14195
|
enumerable: !1,
|
|
@@ -14251,7 +14251,7 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, u)
|
|
|
14251
14251
|
ln(!1);
|
|
14252
14252
|
}
|
|
14253
14253
|
}
|
|
14254
|
-
m === void 0 &&
|
|
14254
|
+
m === void 0 && S("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.", Tt(t) || "Component");
|
|
14255
14255
|
}
|
|
14256
14256
|
return m;
|
|
14257
14257
|
}
|
|
@@ -14261,11 +14261,11 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, u)
|
|
|
14261
14261
|
var i = e.stateNode;
|
|
14262
14262
|
{
|
|
14263
14263
|
var u = Tt(t) || "Component", s = i.render;
|
|
14264
|
-
s || (t.prototype && typeof t.prototype.render == "function" ?
|
|
14264
|
+
s || (t.prototype && typeof t.prototype.render == "function" ? S("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?", u) : S("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.", u)), i.getInitialState && !i.getInitialState.isReactClassApproved && !i.state && S("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?", u), i.getDefaultProps && !i.getDefaultProps.isReactClassApproved && S("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.", u), i.propTypes && S("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.", u), i.contextType && S("contextType was defined as an instance property on %s. Use a static property to define contextType instead.", u), i.contextTypes && S("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.", u), t.contextType && t.contextTypes && !jg.has(t) && (jg.add(t), S("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.", u)), typeof i.componentShouldUpdate == "function" && S("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.", u), t.prototype && t.prototype.isPureReactComponent && typeof i.shouldComponentUpdate < "u" && S("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.", Tt(t) || "A pure component"), typeof i.componentDidUnmount == "function" && S("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?", u), typeof i.componentDidReceiveProps == "function" && S("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().", u), typeof i.componentWillRecieveProps == "function" && S("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?", u), typeof i.UNSAFE_componentWillRecieveProps == "function" && S("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?", u);
|
|
14265
14265
|
var f = i.props !== a;
|
|
14266
|
-
i.props !== void 0 && f &&
|
|
14266
|
+
i.props !== void 0 && f && S("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.", u, u), i.defaultProps && S("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.", u, u), typeof i.getSnapshotBeforeUpdate == "function" && typeof i.componentDidUpdate != "function" && !Ug.has(t) && (Ug.add(t), S("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.", Tt(t))), typeof i.getDerivedStateFromProps == "function" && S("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.", u), typeof i.getDerivedStateFromError == "function" && S("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.", u), typeof t.getSnapshotBeforeUpdate == "function" && S("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.", u);
|
|
14267
14267
|
var h = i.state;
|
|
14268
|
-
h && (typeof h != "object" || Sn(h)) &&
|
|
14268
|
+
h && (typeof h != "object" || Sn(h)) && S("%s.state: must be set to an object or null", u), typeof i.getChildContext == "function" && typeof t.childContextTypes != "object" && S("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().", u);
|
|
14269
14269
|
}
|
|
14270
14270
|
}
|
|
14271
14271
|
function uC(e, t) {
|
|
@@ -14278,15 +14278,15 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, u)
|
|
|
14278
14278
|
if (!h && !Vg.has(t)) {
|
|
14279
14279
|
Vg.add(t);
|
|
14280
14280
|
var m = "";
|
|
14281
|
-
f === void 0 ? m = " However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file." : typeof f != "object" ? m = " However, it is set to a " + typeof f + "." : f.$$typeof ===
|
|
14281
|
+
f === void 0 ? m = " However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file." : typeof f != "object" ? m = " However, it is set to a " + typeof f + "." : f.$$typeof === W ? m = " Did you accidentally pass the Context.Provider instead?" : f._context !== void 0 ? m = " Did you accidentally pass the Context.Consumer instead?" : m = " However, it is set to an object with keys {" + Object.keys(f).join(", ") + "}.", S("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s", Tt(t) || "Component", m);
|
|
14282
14282
|
}
|
|
14283
14283
|
}
|
|
14284
14284
|
if (typeof f == "object" && f !== null)
|
|
14285
14285
|
s = bn(f);
|
|
14286
14286
|
else {
|
|
14287
14287
|
u = qc(e, t, !0);
|
|
14288
|
-
var
|
|
14289
|
-
i =
|
|
14288
|
+
var C = t.contextTypes;
|
|
14289
|
+
i = C != null, s = i ? Xc(e, u) : La;
|
|
14290
14290
|
}
|
|
14291
14291
|
var E = new t(a, s);
|
|
14292
14292
|
if (e.mode & jt) {
|
|
@@ -14302,13 +14302,13 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, u)
|
|
|
14302
14302
|
{
|
|
14303
14303
|
if (typeof t.getDerivedStateFromProps == "function" && D === null) {
|
|
14304
14304
|
var b = Tt(t) || "Component";
|
|
14305
|
-
zg.has(b) || (zg.add(b),
|
|
14305
|
+
zg.has(b) || (zg.add(b), S("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.", b, E.state === null ? "null" : "undefined", b));
|
|
14306
14306
|
}
|
|
14307
14307
|
if (typeof t.getDerivedStateFromProps == "function" || typeof E.getSnapshotBeforeUpdate == "function") {
|
|
14308
14308
|
var z = null, U = null, V = null;
|
|
14309
14309
|
if (typeof E.componentWillMount == "function" && E.componentWillMount.__suppressDeprecationWarning !== !0 ? z = "componentWillMount" : typeof E.UNSAFE_componentWillMount == "function" && (z = "UNSAFE_componentWillMount"), typeof E.componentWillReceiveProps == "function" && E.componentWillReceiveProps.__suppressDeprecationWarning !== !0 ? U = "componentWillReceiveProps" : typeof E.UNSAFE_componentWillReceiveProps == "function" && (U = "UNSAFE_componentWillReceiveProps"), typeof E.componentWillUpdate == "function" && E.componentWillUpdate.__suppressDeprecationWarning !== !0 ? V = "componentWillUpdate" : typeof E.UNSAFE_componentWillUpdate == "function" && (V = "UNSAFE_componentWillUpdate"), z !== null || U !== null || V !== null) {
|
|
14310
14310
|
var ce = Tt(t) || "Component", Re = typeof t.getDerivedStateFromProps == "function" ? "getDerivedStateFromProps()" : "getSnapshotBeforeUpdate()";
|
|
14311
|
-
Ag.has(ce) || (Ag.add(ce),
|
|
14311
|
+
Ag.has(ce) || (Ag.add(ce), S(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
14312
14312
|
|
|
14313
14313
|
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
14314
14314
|
|
|
@@ -14324,14 +14324,14 @@ https://reactjs.org/link/unsafe-component-lifecycles`, ce, Re, z !== null ? `
|
|
|
14324
14324
|
}
|
|
14325
14325
|
function rb(e, t) {
|
|
14326
14326
|
var a = t.state;
|
|
14327
|
-
typeof t.componentWillMount == "function" && t.componentWillMount(), typeof t.UNSAFE_componentWillMount == "function" && t.UNSAFE_componentWillMount(), a !== t.state && (
|
|
14327
|
+
typeof t.componentWillMount == "function" && t.componentWillMount(), typeof t.UNSAFE_componentWillMount == "function" && t.UNSAFE_componentWillMount(), a !== t.state && (S("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.", je(e) || "Component"), Bg.enqueueReplaceState(t, t.state, null));
|
|
14328
14328
|
}
|
|
14329
14329
|
function sC(e, t, a, i) {
|
|
14330
14330
|
var u = t.state;
|
|
14331
14331
|
if (typeof t.componentWillReceiveProps == "function" && t.componentWillReceiveProps(a, i), typeof t.UNSAFE_componentWillReceiveProps == "function" && t.UNSAFE_componentWillReceiveProps(a, i), t.state !== u) {
|
|
14332
14332
|
{
|
|
14333
14333
|
var s = je(e) || "Component";
|
|
14334
|
-
Lg.has(s) || (Lg.add(s),
|
|
14334
|
+
Lg.has(s) || (Lg.add(s), S("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.", s));
|
|
14335
14335
|
}
|
|
14336
14336
|
Bg.enqueueReplaceState(t, t.state, null);
|
|
14337
14337
|
}
|
|
@@ -14350,15 +14350,15 @@ https://reactjs.org/link/unsafe-component-lifecycles`, ce, Re, z !== null ? `
|
|
|
14350
14350
|
{
|
|
14351
14351
|
if (u.state === a) {
|
|
14352
14352
|
var h = Tt(t) || "Component";
|
|
14353
|
-
Hg.has(h) || (Hg.add(h),
|
|
14353
|
+
Hg.has(h) || (Hg.add(h), S("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.", h));
|
|
14354
14354
|
}
|
|
14355
14355
|
e.mode & jt && wi.recordLegacyContextWarning(e, u), wi.recordUnsafeLifecycleWarnings(e, u);
|
|
14356
14356
|
}
|
|
14357
14357
|
u.state = e.memoizedState;
|
|
14358
14358
|
var m = t.getDerivedStateFromProps;
|
|
14359
14359
|
if (typeof m == "function" && (Pg(e, t, m, a), u.state = e.memoizedState), typeof t.getDerivedStateFromProps != "function" && typeof u.getSnapshotBeforeUpdate != "function" && (typeof u.UNSAFE_componentWillMount == "function" || typeof u.componentWillMount == "function") && (rb(e, u), Xh(e, a, u, i), u.state = e.memoizedState), typeof u.componentDidMount == "function") {
|
|
14360
|
-
var
|
|
14361
|
-
|
|
14360
|
+
var C = Ve;
|
|
14361
|
+
C |= Sr, (e.mode & ua) !== ke && (C |= Cr), e.flags |= C;
|
|
14362
14362
|
}
|
|
14363
14363
|
}
|
|
14364
14364
|
function ab(e, t, a, i) {
|
|
@@ -14368,8 +14368,8 @@ https://reactjs.org/link/unsafe-component-lifecycles`, ce, Re, z !== null ? `
|
|
|
14368
14368
|
if (typeof h == "object" && h !== null)
|
|
14369
14369
|
m = bn(h);
|
|
14370
14370
|
else {
|
|
14371
|
-
var
|
|
14372
|
-
m = Xc(e,
|
|
14371
|
+
var C = qc(e, t, !0);
|
|
14372
|
+
m = Xc(e, C);
|
|
14373
14373
|
}
|
|
14374
14374
|
var E = t.getDerivedStateFromProps, D = typeof E == "function" || typeof u.getSnapshotBeforeUpdate == "function";
|
|
14375
14375
|
!D && (typeof u.UNSAFE_componentWillReceiveProps == "function" || typeof u.componentWillReceiveProps == "function") && (s !== a || f !== m) && sC(e, u, a, m), tC();
|
|
@@ -14402,7 +14402,7 @@ https://reactjs.org/link/unsafe-component-lifecycles`, ce, Re, z !== null ? `
|
|
|
14402
14402
|
eC(e, t);
|
|
14403
14403
|
var f = t.memoizedProps, h = t.type === t.elementType ? f : Ri(t.type, f);
|
|
14404
14404
|
s.props = h;
|
|
14405
|
-
var m = t.pendingProps,
|
|
14405
|
+
var m = t.pendingProps, C = s.context, E = a.contextType, D = La;
|
|
14406
14406
|
if (typeof E == "object" && E !== null)
|
|
14407
14407
|
D = bn(E);
|
|
14408
14408
|
else {
|
|
@@ -14410,7 +14410,7 @@ https://reactjs.org/link/unsafe-component-lifecycles`, ce, Re, z !== null ? `
|
|
|
14410
14410
|
D = Xc(t, b);
|
|
14411
14411
|
}
|
|
14412
14412
|
var z = a.getDerivedStateFromProps, U = typeof z == "function" || typeof s.getSnapshotBeforeUpdate == "function";
|
|
14413
|
-
!U && (typeof s.UNSAFE_componentWillReceiveProps == "function" || typeof s.componentWillReceiveProps == "function") && (f !== m ||
|
|
14413
|
+
!U && (typeof s.UNSAFE_componentWillReceiveProps == "function" || typeof s.componentWillReceiveProps == "function") && (f !== m || C !== D) && sC(t, s, i, D), tC();
|
|
14414
14414
|
var V = t.memoizedState, ce = s.state = V;
|
|
14415
14415
|
if (Xh(t, i, s, u), ce = t.memoizedState, f === m && V === ce && !Lh() && !Kh() && !xe)
|
|
14416
14416
|
return typeof s.componentDidUpdate == "function" && (f !== e.memoizedProps || V !== e.memoizedState) && (t.flags |= Ve), typeof s.getSnapshotBeforeUpdate == "function" && (f !== e.memoizedProps || V !== e.memoizedState) && (t.flags |= ra), !1;
|
|
@@ -14426,7 +14426,7 @@ https://reactjs.org/link/unsafe-component-lifecycles`, ce, Re, z !== null ? `
|
|
|
14426
14426
|
throw new Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");
|
|
14427
14427
|
e._store.validated = !0;
|
|
14428
14428
|
var a = je(t) || "Component";
|
|
14429
|
-
Wg[a] || (Wg[a] = !0,
|
|
14429
|
+
Wg[a] || (Wg[a] = !0, S('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'));
|
|
14430
14430
|
}
|
|
14431
14431
|
};
|
|
14432
14432
|
function up(e, t, a) {
|
|
@@ -14434,7 +14434,7 @@ https://reactjs.org/link/unsafe-component-lifecycles`, ce, Re, z !== null ? `
|
|
|
14434
14434
|
if (i !== null && typeof i != "function" && typeof i != "object") {
|
|
14435
14435
|
if ((e.mode & jt || nr) && !(a._owner && a._self && a._owner.stateNode !== a._self)) {
|
|
14436
14436
|
var u = je(e) || "Component";
|
|
14437
|
-
Qg[u] || (
|
|
14437
|
+
Qg[u] || (S('A string ref, "%s", has been found within a strict mode tree. String refs are a source of potential bugs and should be avoided. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', i), Qg[u] = !0);
|
|
14438
14438
|
}
|
|
14439
14439
|
if (a._owner) {
|
|
14440
14440
|
var s = a._owner, f;
|
|
@@ -14448,14 +14448,14 @@ https://reactjs.org/link/unsafe-component-lifecycles`, ce, Re, z !== null ? `
|
|
|
14448
14448
|
throw new Error("Missing owner for string ref " + i + ". This error is likely caused by a bug in React. Please file an issue.");
|
|
14449
14449
|
var m = f;
|
|
14450
14450
|
ri(i, "ref");
|
|
14451
|
-
var
|
|
14452
|
-
if (t !== null && t.ref !== null && typeof t.ref == "function" && t.ref._stringRef ===
|
|
14451
|
+
var C = "" + i;
|
|
14452
|
+
if (t !== null && t.ref !== null && typeof t.ref == "function" && t.ref._stringRef === C)
|
|
14453
14453
|
return t.ref;
|
|
14454
14454
|
var E = function(D) {
|
|
14455
14455
|
var b = m.refs;
|
|
14456
|
-
b === rC && (b = m.refs = {}), D === null ? delete b[
|
|
14456
|
+
b === rC && (b = m.refs = {}), D === null ? delete b[C] : b[C] = D;
|
|
14457
14457
|
};
|
|
14458
|
-
return E._stringRef =
|
|
14458
|
+
return E._stringRef = C, E;
|
|
14459
14459
|
} else {
|
|
14460
14460
|
if (typeof i != "string")
|
|
14461
14461
|
throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");
|
|
@@ -14478,7 +14478,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
14478
14478
|
var t = je(e) || "Component";
|
|
14479
14479
|
if (Gg[t])
|
|
14480
14480
|
return;
|
|
14481
|
-
Gg[t] = !0,
|
|
14481
|
+
Gg[t] = !0, S("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.");
|
|
14482
14482
|
}
|
|
14483
14483
|
}
|
|
14484
14484
|
function fC(e) {
|
|
@@ -14541,7 +14541,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
14541
14541
|
var Ne = CS(M, N.mode, X);
|
|
14542
14542
|
return Ne.ref = up(N, P, M), Ne.return = N, Ne;
|
|
14543
14543
|
}
|
|
14544
|
-
function
|
|
14544
|
+
function C(N, P, M, X) {
|
|
14545
14545
|
if (P === null || P.tag !== ie || P.stateNode.containerInfo !== M.containerInfo || P.stateNode.implementation !== M.implementation) {
|
|
14546
14546
|
var fe = TS(M, N.mode, X);
|
|
14547
14547
|
return fe.return = N, fe;
|
|
@@ -14596,7 +14596,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
14596
14596
|
case zi:
|
|
14597
14597
|
return M.key === fe ? m(N, P, M, X) : null;
|
|
14598
14598
|
case Ar:
|
|
14599
|
-
return M.key === fe ?
|
|
14599
|
+
return M.key === fe ? C(N, P, M, X) : null;
|
|
14600
14600
|
case De: {
|
|
14601
14601
|
var le = M._payload, Ne = M._init;
|
|
14602
14602
|
return b(N, P, Ne(le), X);
|
|
@@ -14621,7 +14621,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
14621
14621
|
}
|
|
14622
14622
|
case Ar: {
|
|
14623
14623
|
var He = N.get(X.key === null ? M : X.key) || null;
|
|
14624
|
-
return
|
|
14624
|
+
return C(P, He, X, fe);
|
|
14625
14625
|
}
|
|
14626
14626
|
case De:
|
|
14627
14627
|
var St = X._payload, ot = X._init;
|
|
@@ -14654,7 +14654,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
14654
14654
|
P.add(X);
|
|
14655
14655
|
break;
|
|
14656
14656
|
}
|
|
14657
|
-
|
|
14657
|
+
S("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.", X);
|
|
14658
14658
|
break;
|
|
14659
14659
|
case De:
|
|
14660
14660
|
var fe = N._payload, le = N._init;
|
|
@@ -14713,7 +14713,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
14713
14713
|
if (typeof fe != "function")
|
|
14714
14714
|
throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");
|
|
14715
14715
|
{
|
|
14716
|
-
typeof Symbol == "function" && M[Symbol.toStringTag] === "Generator" && (Yg ||
|
|
14716
|
+
typeof Symbol == "function" && M[Symbol.toStringTag] === "Generator" && (Yg || S("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."), Yg = !0), M.entries === fe && ($g || S("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), $g = !0);
|
|
14717
14717
|
var le = fe.call(M);
|
|
14718
14718
|
if (le)
|
|
14719
14719
|
for (var Ne = null, He = le.next(); !He.done; He = le.next()) {
|
|
@@ -14966,7 +14966,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
14966
14966
|
}
|
|
14967
14967
|
}
|
|
14968
14968
|
function of(e) {
|
|
14969
|
-
e != null && !Sn(e) &&
|
|
14969
|
+
e != null && !Sn(e) && S("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.", I, typeof e);
|
|
14970
14970
|
}
|
|
14971
14971
|
function vb(e) {
|
|
14972
14972
|
{
|
|
@@ -14978,7 +14978,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
14978
14978
|
h += f + `
|
|
14979
14979
|
`, a += h;
|
|
14980
14980
|
}
|
|
14981
|
-
|
|
14981
|
+
S(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks
|
|
14982
14982
|
|
|
14983
14983
|
Previous render Next render
|
|
14984
14984
|
------------------------------------------------------
|
|
@@ -14998,8 +14998,8 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
14998
14998
|
if (r0)
|
|
14999
14999
|
return !1;
|
|
15000
15000
|
if (t === null)
|
|
15001
|
-
return
|
|
15002
|
-
e.length !== t.length &&
|
|
15001
|
+
return S("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.", I), !1;
|
|
15002
|
+
e.length !== t.length && S(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
15003
15003
|
|
|
15004
15004
|
Previous: %s
|
|
15005
15005
|
Incoming: %s`, I, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
@@ -15021,7 +15021,7 @@ Incoming: %s`, I, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
15021
15021
|
}
|
|
15022
15022
|
oe.current = ym, t._debugHookTypes = Za;
|
|
15023
15023
|
var m = Un !== null && Un.next !== null;
|
|
15024
|
-
if (ms = B, gt = null, Un = null, An = null, I = null, Za = null, io = -1, e !== null && (e.flags & On) !== (t.flags & On) && (e.mode & We) !== ke &&
|
|
15024
|
+
if (ms = B, gt = null, Un = null, An = null, I = null, Za = null, io = -1, e !== null && (e.flags & On) !== (t.flags & On) && (e.mode & We) !== ke && S("Internal React error: Expected static flag was missing. Please notify the React team."), am = !1, m)
|
|
15025
15025
|
throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");
|
|
15026
15026
|
return f;
|
|
15027
15027
|
}
|
|
@@ -15109,10 +15109,10 @@ Incoming: %s`, I, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
15109
15109
|
var s = Un, f = s.baseQueue, h = u.pending;
|
|
15110
15110
|
if (h !== null) {
|
|
15111
15111
|
if (f !== null) {
|
|
15112
|
-
var m = f.next,
|
|
15113
|
-
f.next =
|
|
15112
|
+
var m = f.next, C = h.next;
|
|
15113
|
+
f.next = C, h.next = m;
|
|
15114
15114
|
}
|
|
15115
|
-
s.baseQueue !== f &&
|
|
15115
|
+
s.baseQueue !== f && S("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."), s.baseQueue = f = h, u.pending = null;
|
|
15116
15116
|
}
|
|
15117
15117
|
if (f !== null) {
|
|
15118
15118
|
var E = f.next, D = s.baseState, b = null, z = null, U = null, V = E;
|
|
@@ -15169,11 +15169,11 @@ Incoming: %s`, I, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
15169
15169
|
var s = u.dispatch, f = u.pending, h = i.memoizedState;
|
|
15170
15170
|
if (f !== null) {
|
|
15171
15171
|
u.pending = null;
|
|
15172
|
-
var m = f.next,
|
|
15172
|
+
var m = f.next, C = m;
|
|
15173
15173
|
do {
|
|
15174
|
-
var E =
|
|
15175
|
-
h = e(h, E),
|
|
15176
|
-
} while (
|
|
15174
|
+
var E = C.action;
|
|
15175
|
+
h = e(h, E), C = C.next;
|
|
15176
|
+
} while (C !== m);
|
|
15177
15177
|
ve(h, i.memoizedState) || Cp(), i.memoizedState = h, i.baseQueue === null && (i.baseState = h), u.lastRenderedState = h;
|
|
15178
15178
|
}
|
|
15179
15179
|
return [h, s];
|
|
@@ -15187,11 +15187,11 @@ Incoming: %s`, I, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
15187
15187
|
if (f) {
|
|
15188
15188
|
if (a === void 0)
|
|
15189
15189
|
throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");
|
|
15190
|
-
s = a(), uf || s !== a() && (
|
|
15190
|
+
s = a(), uf || s !== a() && (S("The result of getServerSnapshot should be cached to avoid an infinite loop"), uf = !0);
|
|
15191
15191
|
} else {
|
|
15192
15192
|
if (s = t(), !uf) {
|
|
15193
15193
|
var h = t();
|
|
15194
|
-
ve(s, h) || (
|
|
15194
|
+
ve(s, h) || (S("The result of getSnapshot should be cached to avoid an infinite loop"), uf = !0);
|
|
15195
15195
|
}
|
|
15196
15196
|
var m = Um();
|
|
15197
15197
|
if (m === null)
|
|
@@ -15199,23 +15199,23 @@ Incoming: %s`, I, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
15199
15199
|
Wo(m, ms) || EC(i, t, s);
|
|
15200
15200
|
}
|
|
15201
15201
|
u.memoizedState = s;
|
|
15202
|
-
var
|
|
15202
|
+
var C = {
|
|
15203
15203
|
value: s,
|
|
15204
15204
|
getSnapshot: t
|
|
15205
15205
|
};
|
|
15206
|
-
return u.queue =
|
|
15206
|
+
return u.queue = C, sm(wC.bind(null, i, C, e), [e]), i.flags |= Ut, vp(Ln | ur, TC.bind(null, i, C, s, t), void 0, null), s;
|
|
15207
15207
|
}
|
|
15208
15208
|
function im(e, t, a) {
|
|
15209
15209
|
var i = gt, u = Ja(), s = t();
|
|
15210
15210
|
if (!uf) {
|
|
15211
15211
|
var f = t();
|
|
15212
|
-
ve(s, f) || (
|
|
15212
|
+
ve(s, f) || (S("The result of getSnapshot should be cached to avoid an infinite loop"), uf = !0);
|
|
15213
15213
|
}
|
|
15214
15214
|
var h = u.memoizedState, m = !ve(h, s);
|
|
15215
15215
|
m && (u.memoizedState = s, Cp());
|
|
15216
|
-
var
|
|
15217
|
-
if (mp(wC.bind(null, i,
|
|
15218
|
-
i.flags |= Ut, vp(Ln | ur, TC.bind(null, i,
|
|
15216
|
+
var C = u.queue;
|
|
15217
|
+
if (mp(wC.bind(null, i, C, e), [e]), C.getSnapshot !== t || m || An !== null && An.memoizedState.tag & Ln) {
|
|
15218
|
+
i.flags |= Ut, vp(Ln | ur, TC.bind(null, i, C, s, t), void 0, null);
|
|
15219
15219
|
var E = Um();
|
|
15220
15220
|
if (E === null)
|
|
15221
15221
|
throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");
|
|
@@ -15358,7 +15358,7 @@ Incoming: %s`, I, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
15358
15358
|
};
|
|
15359
15359
|
} else if (t != null) {
|
|
15360
15360
|
var u = t;
|
|
15361
|
-
u.hasOwnProperty("current") ||
|
|
15361
|
+
u.hasOwnProperty("current") || S("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.", "an object with keys {" + Object.keys(u).join(", ") + "}");
|
|
15362
15362
|
var s = e();
|
|
15363
15363
|
return u.current = s, function() {
|
|
15364
15364
|
u.current = null;
|
|
@@ -15366,12 +15366,12 @@ Incoming: %s`, I, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
15366
15366
|
}
|
|
15367
15367
|
}
|
|
15368
15368
|
function h0(e, t, a) {
|
|
15369
|
-
typeof t != "function" &&
|
|
15369
|
+
typeof t != "function" && S("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.", t !== null ? typeof t : "null");
|
|
15370
15370
|
var i = a != null ? a.concat([e]) : null, u = Ve;
|
|
15371
15371
|
return u |= Sr, (gt.mode & ua) !== ke && (u |= Cr), hp(u, zn, bC.bind(null, t, e), i);
|
|
15372
15372
|
}
|
|
15373
15373
|
function dm(e, t, a) {
|
|
15374
|
-
typeof t != "function" &&
|
|
15374
|
+
typeof t != "function" && S("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.", t !== null ? typeof t : "null");
|
|
15375
15375
|
var i = a != null ? a.concat([e]) : null;
|
|
15376
15376
|
return om(Ve, zn, bC.bind(null, t, e), i);
|
|
15377
15377
|
}
|
|
@@ -15481,7 +15481,7 @@ Incoming: %s`, I, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
15481
15481
|
return t;
|
|
15482
15482
|
}
|
|
15483
15483
|
function gb(e, t, a) {
|
|
15484
|
-
typeof arguments[3] == "function" &&
|
|
15484
|
+
typeof arguments[3] == "function" && S("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");
|
|
15485
15485
|
var i = co(e), u = {
|
|
15486
15486
|
lane: i,
|
|
15487
15487
|
action: a,
|
|
@@ -15501,7 +15501,7 @@ Incoming: %s`, I, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
15501
15501
|
AC(e, i);
|
|
15502
15502
|
}
|
|
15503
15503
|
function Sb(e, t, a) {
|
|
15504
|
-
typeof arguments[3] == "function" &&
|
|
15504
|
+
typeof arguments[3] == "function" && S("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");
|
|
15505
15505
|
var i = co(e), u = {
|
|
15506
15506
|
lane: i,
|
|
15507
15507
|
action: a,
|
|
@@ -15519,8 +15519,8 @@ Incoming: %s`, I, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
15519
15519
|
var h;
|
|
15520
15520
|
h = oe.current, oe.current = bi;
|
|
15521
15521
|
try {
|
|
15522
|
-
var m = t.lastRenderedState,
|
|
15523
|
-
if (u.hasEagerState = !0, u.eagerState =
|
|
15522
|
+
var m = t.lastRenderedState, C = f(m, a);
|
|
15523
|
+
if (u.hasEagerState = !0, u.eagerState = C, ve(C, m)) {
|
|
15524
15524
|
Kx(e, t, u, i);
|
|
15525
15525
|
return;
|
|
15526
15526
|
}
|
|
@@ -15580,9 +15580,9 @@ Incoming: %s`, I, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
15580
15580
|
}, FC = null, HC = null, jC = null, VC = null, fl = null, bi = null, gm = null;
|
|
15581
15581
|
{
|
|
15582
15582
|
var E0 = function() {
|
|
15583
|
-
|
|
15583
|
+
S("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");
|
|
15584
15584
|
}, Ae = function() {
|
|
15585
|
-
|
|
15585
|
+
S("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks");
|
|
15586
15586
|
};
|
|
15587
15587
|
FC = {
|
|
15588
15588
|
readContext: function(e) {
|
|
@@ -16213,18 +16213,18 @@ Incoming: %s`, I, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
16213
16213
|
return;
|
|
16214
16214
|
console.error(i);
|
|
16215
16215
|
}
|
|
16216
|
-
var h = u ? je(u) : null, m = h ? "The above error occurred in the <" + h + "> component:" : "The above error occurred in one of your React components:",
|
|
16216
|
+
var h = u ? je(u) : null, m = h ? "The above error occurred in the <" + h + "> component:" : "The above error occurred in one of your React components:", C;
|
|
16217
16217
|
if (e.tag === G)
|
|
16218
|
-
|
|
16218
|
+
C = `Consider adding an error boundary to your tree to customize error handling behavior.
|
|
16219
16219
|
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;
|
|
16220
16220
|
else {
|
|
16221
16221
|
var E = je(e) || "Anonymous";
|
|
16222
|
-
|
|
16222
|
+
C = "React will try to recreate this component tree from scratch " + ("using the error boundary you provided, " + E + ".");
|
|
16223
16223
|
}
|
|
16224
16224
|
var D = m + `
|
|
16225
16225
|
` + f + `
|
|
16226
16226
|
|
|
16227
|
-
` + ("" +
|
|
16227
|
+
` + ("" + C);
|
|
16228
16228
|
console.error(D);
|
|
16229
16229
|
} catch (b) {
|
|
16230
16230
|
setTimeout(function() {
|
|
@@ -16258,10 +16258,10 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
16258
16258
|
var f = e.stateNode;
|
|
16259
16259
|
return f !== null && typeof f.componentDidCatch == "function" && (i.callback = function() {
|
|
16260
16260
|
rT(e), D0(e, t), typeof u != "function" && vD(this);
|
|
16261
|
-
var m = t.value,
|
|
16261
|
+
var m = t.value, C = t.stack;
|
|
16262
16262
|
this.componentDidCatch(m, {
|
|
16263
|
-
componentStack:
|
|
16264
|
-
}), typeof u != "function" && (xr(e.lanes, Oe) ||
|
|
16263
|
+
componentStack: C !== null ? C : ""
|
|
16264
|
+
}), typeof u != "function" && (xr(e.lanes, Oe) || S("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.", je(e) || "Unknown"));
|
|
16265
16265
|
}), i;
|
|
16266
16266
|
}
|
|
16267
16267
|
function WC(e, t, a) {
|
|
@@ -16341,32 +16341,32 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
16341
16341
|
}
|
|
16342
16342
|
}
|
|
16343
16343
|
i = ys(i, a), lD(i);
|
|
16344
|
-
var
|
|
16344
|
+
var C = t;
|
|
16345
16345
|
do {
|
|
16346
|
-
switch (
|
|
16346
|
+
switch (C.tag) {
|
|
16347
16347
|
case G: {
|
|
16348
16348
|
var E = i;
|
|
16349
|
-
|
|
16349
|
+
C.flags |= En;
|
|
16350
16350
|
var D = un(u);
|
|
16351
|
-
|
|
16352
|
-
var b = QC(
|
|
16353
|
-
Ng(
|
|
16351
|
+
C.lanes = Pe(C.lanes, D);
|
|
16352
|
+
var b = QC(C, E, D);
|
|
16353
|
+
Ng(C, b);
|
|
16354
16354
|
return;
|
|
16355
16355
|
}
|
|
16356
16356
|
case j:
|
|
16357
|
-
var z = i, U =
|
|
16358
|
-
if ((
|
|
16359
|
-
|
|
16357
|
+
var z = i, U = C.type, V = C.stateNode;
|
|
16358
|
+
if ((C.flags & Me) === we && (typeof U.getDerivedStateFromError == "function" || V !== null && typeof V.componentDidCatch == "function" && !GE(V))) {
|
|
16359
|
+
C.flags |= En;
|
|
16360
16360
|
var ce = un(u);
|
|
16361
|
-
|
|
16362
|
-
var Re = _0(
|
|
16363
|
-
Ng(
|
|
16361
|
+
C.lanes = Pe(C.lanes, ce);
|
|
16362
|
+
var Re = _0(C, z, ce);
|
|
16363
|
+
Ng(C, Re);
|
|
16364
16364
|
return;
|
|
16365
16365
|
}
|
|
16366
16366
|
break;
|
|
16367
16367
|
}
|
|
16368
|
-
|
|
16369
|
-
} while (
|
|
16368
|
+
C = C.return;
|
|
16369
|
+
} while (C !== null);
|
|
16370
16370
|
}
|
|
16371
16371
|
function Db() {
|
|
16372
16372
|
return null;
|
|
@@ -16389,20 +16389,20 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
16389
16389
|
Tt(a)
|
|
16390
16390
|
);
|
|
16391
16391
|
}
|
|
16392
|
-
var f = a.render, h = t.ref, m,
|
|
16392
|
+
var f = a.render, h = t.ref, m, C;
|
|
16393
16393
|
tf(t, u), Ki(t);
|
|
16394
16394
|
{
|
|
16395
|
-
if (gp.current = t, ka(!0), m = sf(e, t, f, i, h, u),
|
|
16395
|
+
if (gp.current = t, ka(!0), m = sf(e, t, f, i, h, u), C = cf(), t.mode & jt) {
|
|
16396
16396
|
ln(!0);
|
|
16397
16397
|
try {
|
|
16398
|
-
m = sf(e, t, f, i, h, u),
|
|
16398
|
+
m = sf(e, t, f, i, h, u), C = cf();
|
|
16399
16399
|
} finally {
|
|
16400
16400
|
ln(!1);
|
|
16401
16401
|
}
|
|
16402
16402
|
}
|
|
16403
16403
|
ka(!1);
|
|
16404
16404
|
}
|
|
16405
|
-
return Nl(), e !== null && !ki ? (gC(e, t, u), ru(e, t, u)) : (lr() &&
|
|
16405
|
+
return Nl(), e !== null && !ki ? (gC(e, t, u), ru(e, t, u)) : (lr() && C && hg(t), t.flags |= $i, $r(e, t, m, u), t.child);
|
|
16406
16406
|
}
|
|
16407
16407
|
function KC(e, t, a, i, u) {
|
|
16408
16408
|
if (e === null) {
|
|
@@ -16424,12 +16424,12 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
16424
16424
|
return m.ref = t.ref, m.return = t, t.child = m, m;
|
|
16425
16425
|
}
|
|
16426
16426
|
{
|
|
16427
|
-
var
|
|
16427
|
+
var C = a.type, E = C.propTypes;
|
|
16428
16428
|
E && Ei(
|
|
16429
16429
|
E,
|
|
16430
16430
|
i,
|
|
16431
16431
|
"prop",
|
|
16432
|
-
Tt(
|
|
16432
|
+
Tt(C)
|
|
16433
16433
|
);
|
|
16434
16434
|
}
|
|
16435
16435
|
var D = e.child, b = I0(e, u);
|
|
@@ -16452,9 +16452,9 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
16452
16452
|
} catch {
|
|
16453
16453
|
s = null;
|
|
16454
16454
|
}
|
|
16455
|
-
var
|
|
16456
|
-
|
|
16457
|
-
|
|
16455
|
+
var C = s && s.propTypes;
|
|
16456
|
+
C && Ei(
|
|
16457
|
+
C,
|
|
16458
16458
|
i,
|
|
16459
16459
|
"prop",
|
|
16460
16460
|
Tt(s)
|
|
@@ -16493,8 +16493,8 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
16493
16493
|
} else {
|
|
16494
16494
|
var h = null, m;
|
|
16495
16495
|
if (s !== null) {
|
|
16496
|
-
var
|
|
16497
|
-
m = Pe(
|
|
16496
|
+
var C = s.baseLanes;
|
|
16497
|
+
m = Pe(C, a);
|
|
16498
16498
|
} else
|
|
16499
16499
|
m = a;
|
|
16500
16500
|
t.lanes = t.childLanes = Rr;
|
|
@@ -16549,20 +16549,20 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
16549
16549
|
var h = qc(t, a, !0);
|
|
16550
16550
|
f = Xc(t, h);
|
|
16551
16551
|
}
|
|
16552
|
-
var m,
|
|
16552
|
+
var m, C;
|
|
16553
16553
|
tf(t, u), Ki(t);
|
|
16554
16554
|
{
|
|
16555
|
-
if (gp.current = t, ka(!0), m = sf(e, t, a, i, f, u),
|
|
16555
|
+
if (gp.current = t, ka(!0), m = sf(e, t, a, i, f, u), C = cf(), t.mode & jt) {
|
|
16556
16556
|
ln(!0);
|
|
16557
16557
|
try {
|
|
16558
|
-
m = sf(e, t, a, i, f, u),
|
|
16558
|
+
m = sf(e, t, a, i, f, u), C = cf();
|
|
16559
16559
|
} finally {
|
|
16560
16560
|
ln(!1);
|
|
16561
16561
|
}
|
|
16562
16562
|
}
|
|
16563
16563
|
ka(!1);
|
|
16564
16564
|
}
|
|
16565
|
-
return Nl(), e !== null && !ki ? (gC(e, t, u), ru(e, t, u)) : (lr() &&
|
|
16565
|
+
return Nl(), e !== null && !ki ? (gC(e, t, u), ru(e, t, u)) : (lr() && C && hg(t), t.flags |= $i, $r(e, t, m, u), t.child);
|
|
16566
16566
|
}
|
|
16567
16567
|
function tE(e, t, a, i, u) {
|
|
16568
16568
|
{
|
|
@@ -16574,9 +16574,9 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
16574
16574
|
}
|
|
16575
16575
|
case !0: {
|
|
16576
16576
|
t.flags |= Me, t.flags |= En;
|
|
16577
|
-
var
|
|
16577
|
+
var C = new Error("Simulated error coming from DevTools"), E = un(u);
|
|
16578
16578
|
t.lanes = Pe(t.lanes, E);
|
|
16579
|
-
var D = _0(t, ys(
|
|
16579
|
+
var D = _0(t, ys(C, t), E);
|
|
16580
16580
|
Ng(t, D);
|
|
16581
16581
|
break;
|
|
16582
16582
|
}
|
|
@@ -16598,7 +16598,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
16598
16598
|
var ce = A0(e, t, a, V, z, u);
|
|
16599
16599
|
{
|
|
16600
16600
|
var Re = t.stateNode;
|
|
16601
|
-
V && Re.props !== i && (gs ||
|
|
16601
|
+
V && Re.props !== i && (gs || S("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.", je(t) || "a component"), gs = !0);
|
|
16602
16602
|
}
|
|
16603
16603
|
return ce;
|
|
16604
16604
|
}
|
|
@@ -16648,8 +16648,8 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
16648
16648
|
cache: f.cache,
|
|
16649
16649
|
pendingSuspenseBoundaries: f.pendingSuspenseBoundaries,
|
|
16650
16650
|
transitions: f.transitions
|
|
16651
|
-
},
|
|
16652
|
-
if (
|
|
16651
|
+
}, C = t.updateQueue;
|
|
16652
|
+
if (C.baseState = m, t.memoizedState = m, t.flags & $t) {
|
|
16653
16653
|
var E = ys(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."), t);
|
|
16654
16654
|
return rE(e, t, h, a, E);
|
|
16655
16655
|
} else if (h !== s) {
|
|
@@ -16684,8 +16684,8 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
16684
16684
|
xm(e, t);
|
|
16685
16685
|
var u = t.pendingProps, s = a, f = s._payload, h = s._init, m = h(f);
|
|
16686
16686
|
t.type = m;
|
|
16687
|
-
var
|
|
16688
|
-
switch (
|
|
16687
|
+
var C = t.tag = UD(m), E = Ri(m, u), D;
|
|
16688
|
+
switch (C) {
|
|
16689
16689
|
case H:
|
|
16690
16690
|
return F0(t, m), t.type = m = gf(m), D = U0(null, t, m, E, i), D;
|
|
16691
16691
|
case j:
|
|
@@ -16731,19 +16731,19 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
16731
16731
|
Ki(t);
|
|
16732
16732
|
{
|
|
16733
16733
|
if (a.prototype && typeof a.prototype.render == "function") {
|
|
16734
|
-
var
|
|
16735
|
-
O0[
|
|
16734
|
+
var C = Tt(a) || "Unknown";
|
|
16735
|
+
O0[C] || (S("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.", C, C), O0[C] = !0);
|
|
16736
16736
|
}
|
|
16737
16737
|
t.mode & jt && wi.recordLegacyContextWarning(t, null), ka(!0), gp.current = t, h = sf(null, t, a, u, s, i), m = cf(), ka(!1);
|
|
16738
16738
|
}
|
|
16739
16739
|
if (Nl(), t.flags |= $i, typeof h == "object" && h !== null && typeof h.render == "function" && h.$$typeof === void 0) {
|
|
16740
16740
|
var E = Tt(a) || "Unknown";
|
|
16741
|
-
Sp[E] || (
|
|
16741
|
+
Sp[E] || (S("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.", E, E, E), Sp[E] = !0);
|
|
16742
16742
|
}
|
|
16743
16743
|
if (typeof h == "object" && h !== null && typeof h.render == "function" && h.$$typeof === void 0) {
|
|
16744
16744
|
{
|
|
16745
16745
|
var D = Tt(a) || "Unknown";
|
|
16746
|
-
Sp[D] || (
|
|
16746
|
+
Sp[D] || (S("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.", D, D, D), Sp[D] = !0);
|
|
16747
16747
|
}
|
|
16748
16748
|
t.tag = j, t.memoizedState = null, t.updateQueue = null;
|
|
16749
16749
|
var b = !1;
|
|
@@ -16762,21 +16762,21 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
16762
16762
|
}
|
|
16763
16763
|
function F0(e, t) {
|
|
16764
16764
|
{
|
|
16765
|
-
if (t && t.childContextTypes &&
|
|
16765
|
+
if (t && t.childContextTypes && S("%s(...): childContextTypes cannot be defined on a function component.", t.displayName || t.name || "Component"), e.ref !== null) {
|
|
16766
16766
|
var a = "", i = ea();
|
|
16767
16767
|
i && (a += `
|
|
16768
16768
|
|
|
16769
16769
|
Check the render method of \`` + i + "`.");
|
|
16770
16770
|
var u = i || "", s = e._debugSource;
|
|
16771
|
-
s && (u = s.fileName + ":" + s.lineNumber), L0[u] || (L0[u] = !0,
|
|
16771
|
+
s && (u = s.fileName + ":" + s.lineNumber), L0[u] || (L0[u] = !0, S("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s", a));
|
|
16772
16772
|
}
|
|
16773
16773
|
if (typeof t.getDerivedStateFromProps == "function") {
|
|
16774
16774
|
var f = Tt(t) || "Unknown";
|
|
16775
|
-
M0[f] || (
|
|
16775
|
+
M0[f] || (S("%s: Function components do not support getDerivedStateFromProps.", f), M0[f] = !0);
|
|
16776
16776
|
}
|
|
16777
16777
|
if (typeof t.contextType == "object" && t.contextType !== null) {
|
|
16778
16778
|
var h = Tt(t) || "Unknown";
|
|
16779
|
-
N0[h] || (
|
|
16779
|
+
N0[h] || (S("%s: Function components do not support contextType.", h), N0[h] = !0);
|
|
16780
16780
|
}
|
|
16781
16781
|
}
|
|
16782
16782
|
}
|
|
@@ -16823,12 +16823,12 @@ Check the render method of \`` + i + "`.");
|
|
|
16823
16823
|
if (m !== null)
|
|
16824
16824
|
return Qb(t, m);
|
|
16825
16825
|
}
|
|
16826
|
-
var
|
|
16826
|
+
var C = i.children, E = i.fallback;
|
|
16827
16827
|
if (s) {
|
|
16828
|
-
var D = Bb(t,
|
|
16828
|
+
var D = Bb(t, C, E, a), b = t.child;
|
|
16829
16829
|
return b.memoizedState = j0(a), t.memoizedState = H0, D;
|
|
16830
16830
|
} else
|
|
16831
|
-
return V0(t,
|
|
16831
|
+
return V0(t, C);
|
|
16832
16832
|
} else {
|
|
16833
16833
|
var z = e.memoizedState;
|
|
16834
16834
|
if (z !== null) {
|
|
@@ -16880,14 +16880,14 @@ Check the render method of \`` + i + "`.");
|
|
|
16880
16880
|
var s = t.mode, f = e.child, h = f.sibling, m = {
|
|
16881
16881
|
mode: "hidden",
|
|
16882
16882
|
children: a
|
|
16883
|
-
},
|
|
16883
|
+
}, C;
|
|
16884
16884
|
if ((s & We) === ke && t.child !== f) {
|
|
16885
16885
|
var E = t.child;
|
|
16886
|
-
|
|
16886
|
+
C = E, C.childLanes = B, C.pendingProps = m, t.mode & _e && (C.actualDuration = 0, C.actualStartTime = -1, C.selfBaseDuration = f.selfBaseDuration, C.treeBaseDuration = f.treeBaseDuration), t.deletions = null;
|
|
16887
16887
|
} else
|
|
16888
|
-
|
|
16888
|
+
C = iE(f, m), C.subtreeFlags = f.subtreeFlags & On;
|
|
16889
16889
|
var D;
|
|
16890
|
-
return h !== null ? D = ws(h, i) : (D = po(i, s, u, null), D.flags |= Dt), D.return = t,
|
|
16890
|
+
return h !== null ? D = ws(h, i) : (D = po(i, s, u, null), D.flags |= Dt), D.return = t, C.return = t, C.sibling = D, t.child = C, D;
|
|
16891
16891
|
}
|
|
16892
16892
|
function Rm(e, t, a, i) {
|
|
16893
16893
|
i !== null && Eg(i), nf(t, e.child, null, a);
|
|
@@ -16902,7 +16902,7 @@ Check the render method of \`` + i + "`.");
|
|
|
16902
16902
|
return m.flags |= Dt, h.return = t, m.return = t, h.sibling = m, t.child = h, (t.mode & We) !== ke && nf(t, e.child, null, u), m;
|
|
16903
16903
|
}
|
|
16904
16904
|
function Qb(e, t, a) {
|
|
16905
|
-
return (e.mode & We) === ke ? (
|
|
16905
|
+
return (e.mode & We) === ke ? (S("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."), e.lanes = Oe) : ig(t) ? e.lanes = zl : e.lanes = Rr, null;
|
|
16906
16906
|
}
|
|
16907
16907
|
function Wb(e, t, a, i, u, s, f) {
|
|
16908
16908
|
if (a)
|
|
@@ -16925,14 +16925,14 @@ Check the render method of \`` + i + "`.");
|
|
|
16925
16925
|
null
|
|
16926
16926
|
);
|
|
16927
16927
|
if (ig(u)) {
|
|
16928
|
-
var h, m,
|
|
16928
|
+
var h, m, C;
|
|
16929
16929
|
{
|
|
16930
16930
|
var E = ZR(u);
|
|
16931
|
-
h = E.digest, m = E.message,
|
|
16931
|
+
h = E.digest, m = E.message, C = E.stack;
|
|
16932
16932
|
}
|
|
16933
16933
|
var D;
|
|
16934
16934
|
m ? D = new Error(m) : D = new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");
|
|
16935
|
-
var b = k0(D, h,
|
|
16935
|
+
var b = k0(D, h, C);
|
|
16936
16936
|
return Rm(e, t, f, b);
|
|
16937
16937
|
}
|
|
16938
16938
|
var z = xr(f, e.childLanes);
|
|
@@ -17000,30 +17000,30 @@ Check the render method of \`` + i + "`.");
|
|
|
17000
17000
|
case "together":
|
|
17001
17001
|
case "forwards":
|
|
17002
17002
|
case "backwards": {
|
|
17003
|
-
|
|
17003
|
+
S('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.', e, e.toLowerCase());
|
|
17004
17004
|
break;
|
|
17005
17005
|
}
|
|
17006
17006
|
case "forward":
|
|
17007
17007
|
case "backward": {
|
|
17008
|
-
|
|
17008
|
+
S('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.', e, e.toLowerCase());
|
|
17009
17009
|
break;
|
|
17010
17010
|
}
|
|
17011
17011
|
default:
|
|
17012
|
-
|
|
17012
|
+
S('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?', e);
|
|
17013
17013
|
break;
|
|
17014
17014
|
}
|
|
17015
17015
|
else
|
|
17016
|
-
|
|
17016
|
+
S('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?', e);
|
|
17017
17017
|
}
|
|
17018
17018
|
function Kb(e, t) {
|
|
17019
|
-
e !== void 0 && !wm[e] && (e !== "collapsed" && e !== "hidden" ? (wm[e] = !0,
|
|
17019
|
+
e !== void 0 && !wm[e] && (e !== "collapsed" && e !== "hidden" ? (wm[e] = !0, S('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?', e)) : t !== "forwards" && t !== "backwards" && (wm[e] = !0, S('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?', e)));
|
|
17020
17020
|
}
|
|
17021
17021
|
function uE(e, t) {
|
|
17022
17022
|
{
|
|
17023
17023
|
var a = Sn(e), i = !a && typeof ai(e) == "function";
|
|
17024
17024
|
if (a || i) {
|
|
17025
17025
|
var u = a ? "array" : "iterable";
|
|
17026
|
-
return
|
|
17026
|
+
return S("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>", u, t, u), !1;
|
|
17027
17027
|
}
|
|
17028
17028
|
}
|
|
17029
17029
|
return !0;
|
|
@@ -17045,7 +17045,7 @@ Check the render method of \`` + i + "`.");
|
|
|
17045
17045
|
f++;
|
|
17046
17046
|
}
|
|
17047
17047
|
} else
|
|
17048
|
-
|
|
17048
|
+
S('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?', t);
|
|
17049
17049
|
}
|
|
17050
17050
|
}
|
|
17051
17051
|
function B0(e, t, a, i, u) {
|
|
@@ -17066,8 +17066,8 @@ Check the render method of \`` + i + "`.");
|
|
|
17066
17066
|
if (m)
|
|
17067
17067
|
h = Jg(h, cp), t.flags |= Me;
|
|
17068
17068
|
else {
|
|
17069
|
-
var
|
|
17070
|
-
|
|
17069
|
+
var C = e !== null && (e.flags & Me) !== we;
|
|
17070
|
+
C && Gb(t, t.child, a), h = af(h);
|
|
17071
17071
|
}
|
|
17072
17072
|
if (ao(t, h), (t.mode & We) === ke)
|
|
17073
17073
|
t.memoizedState = null;
|
|
@@ -17128,13 +17128,13 @@ Check the render method of \`` + i + "`.");
|
|
|
17128
17128
|
function ek(e, t, a) {
|
|
17129
17129
|
var i = t.type, u = i._context, s = t.pendingProps, f = t.memoizedProps, h = s.value;
|
|
17130
17130
|
{
|
|
17131
|
-
"value" in s || sE || (sE = !0,
|
|
17131
|
+
"value" in s || sE || (sE = !0, S("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));
|
|
17132
17132
|
var m = t.type.propTypes;
|
|
17133
17133
|
m && Ei(m, s, "prop", "Context.Provider");
|
|
17134
17134
|
}
|
|
17135
17135
|
if (X1(t, u, h), f !== null) {
|
|
17136
|
-
var
|
|
17137
|
-
if (ve(
|
|
17136
|
+
var C = f.value;
|
|
17137
|
+
if (ve(C, h)) {
|
|
17138
17138
|
if (f.children === s.children && !Lh())
|
|
17139
17139
|
return ru(e, t, a);
|
|
17140
17140
|
} else
|
|
@@ -17146,9 +17146,9 @@ Check the render method of \`` + i + "`.");
|
|
|
17146
17146
|
var cE = !1;
|
|
17147
17147
|
function tk(e, t, a) {
|
|
17148
17148
|
var i = t.type;
|
|
17149
|
-
i._context === void 0 ? i !== i.Consumer && (cE || (cE = !0,
|
|
17149
|
+
i._context === void 0 ? i !== i.Consumer && (cE || (cE = !0, S("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))) : i = i._context;
|
|
17150
17150
|
var u = t.pendingProps, s = u.children;
|
|
17151
|
-
typeof s != "function" &&
|
|
17151
|
+
typeof s != "function" && S("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."), tf(t, a);
|
|
17152
17152
|
var f = bn(i);
|
|
17153
17153
|
Ki(t);
|
|
17154
17154
|
var h;
|
|
@@ -17223,7 +17223,7 @@ Check the render method of \`` + i + "`.");
|
|
|
17223
17223
|
if (m !== null) {
|
|
17224
17224
|
if (m.dehydrated !== null)
|
|
17225
17225
|
return ao(t, af(xi.current)), t.flags |= Me, null;
|
|
17226
|
-
var
|
|
17226
|
+
var C = t.child, E = C.childLanes;
|
|
17227
17227
|
if (xr(a, E))
|
|
17228
17228
|
return aE(e, t, a);
|
|
17229
17229
|
ao(t, af(xi.current));
|
|
@@ -17276,8 +17276,8 @@ Check the render method of \`` + i + "`.");
|
|
|
17276
17276
|
return Ab(e, t, m, a);
|
|
17277
17277
|
}
|
|
17278
17278
|
case H: {
|
|
17279
|
-
var
|
|
17280
|
-
return U0(e, t,
|
|
17279
|
+
var C = t.type, E = t.pendingProps, D = t.elementType === C ? E : Ri(C, E);
|
|
17280
|
+
return U0(e, t, C, D, a);
|
|
17281
17281
|
}
|
|
17282
17282
|
case j: {
|
|
17283
17283
|
var b = t.type, z = t.pendingProps, U = t.elementType === b ? z : Ri(b, z);
|
|
@@ -17392,8 +17392,8 @@ Check the render method of \`` + i + "`.");
|
|
|
17392
17392
|
var t = e.alternate !== null && e.alternate.child === e.child, a = B, i = we;
|
|
17393
17393
|
if (t) {
|
|
17394
17394
|
if ((e.mode & _e) !== ke) {
|
|
17395
|
-
for (var m = e.selfBaseDuration,
|
|
17396
|
-
a = Pe(a, Pe(
|
|
17395
|
+
for (var m = e.selfBaseDuration, C = e.child; C !== null; )
|
|
17396
|
+
a = Pe(a, Pe(C.lanes, C.childLanes)), i |= C.subtreeFlags & On, i |= C.flags & On, m += C.treeBaseDuration, C = C.sibling;
|
|
17397
17397
|
e.treeBaseDuration = m;
|
|
17398
17398
|
} else
|
|
17399
17399
|
for (var E = e.child; E !== null; )
|
|
@@ -17473,9 +17473,9 @@ Check the render method of \`` + i + "`.");
|
|
|
17473
17473
|
}
|
|
17474
17474
|
case ae: {
|
|
17475
17475
|
Kg(t);
|
|
17476
|
-
var m = vC(),
|
|
17476
|
+
var m = vC(), C = t.type;
|
|
17477
17477
|
if (e !== null && t.stateNode != null)
|
|
17478
|
-
vE(e, t,
|
|
17478
|
+
vE(e, t, C, i, m), e.ref !== t.ref && dE(t);
|
|
17479
17479
|
else {
|
|
17480
17480
|
if (!i) {
|
|
17481
17481
|
if (t.stateNode === null)
|
|
@@ -17486,8 +17486,8 @@ Check the render method of \`` + i + "`.");
|
|
|
17486
17486
|
if (D)
|
|
17487
17487
|
jx(t, m, E) && ff(t);
|
|
17488
17488
|
else {
|
|
17489
|
-
var b = xR(
|
|
17490
|
-
pE(b, t, !1, !1), t.stateNode = b, kR(b,
|
|
17489
|
+
var b = xR(C, i, m, E, t);
|
|
17490
|
+
pE(b, t, !1, !1), t.stateNode = b, kR(b, C, i, m) && ff(t);
|
|
17491
17491
|
}
|
|
17492
17492
|
t.ref !== null && dE(t);
|
|
17493
17493
|
}
|
|
@@ -17747,7 +17747,7 @@ Check the render method of \`` + i + "`.");
|
|
|
17747
17747
|
} catch (u) {
|
|
17748
17748
|
Mt(e, t, u);
|
|
17749
17749
|
}
|
|
17750
|
-
typeof i == "function" &&
|
|
17750
|
+
typeof i == "function" && S("Unexpected return value from a callback ref in %s. A callback ref should not return a function.", je(e));
|
|
17751
17751
|
} else
|
|
17752
17752
|
a.current = null;
|
|
17753
17753
|
}
|
|
@@ -17799,11 +17799,11 @@ Check the render method of \`` + i + "`.");
|
|
|
17799
17799
|
case j: {
|
|
17800
17800
|
if (t !== null) {
|
|
17801
17801
|
var i = t.memoizedProps, u = t.memoizedState, s = e.stateNode;
|
|
17802
|
-
e.type === e.elementType && !gs && (s.props !== e.memoizedProps &&
|
|
17802
|
+
e.type === e.elementType && !gs && (s.props !== e.memoizedProps && S("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.", je(e) || "instance"), s.state !== e.memoizedState && S("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.", je(e) || "instance"));
|
|
17803
17803
|
var f = s.getSnapshotBeforeUpdate(e.elementType === e.type ? i : Ri(e.type, i), u);
|
|
17804
17804
|
{
|
|
17805
17805
|
var h = gE;
|
|
17806
|
-
f === void 0 && !h.has(e.type) && (h.add(e.type),
|
|
17806
|
+
f === void 0 && !h.has(e.type) && (h.add(e.type), S("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.", je(e)));
|
|
17807
17807
|
}
|
|
17808
17808
|
s.__reactInternalSnapshotBeforeUpdate = f;
|
|
17809
17809
|
}
|
|
@@ -17854,8 +17854,8 @@ Check the render method of \`` + i + "`.");
|
|
|
17854
17854
|
if (h !== void 0 && typeof h != "function") {
|
|
17855
17855
|
var m = void 0;
|
|
17856
17856
|
(s.tag & zn) !== we ? m = "useLayoutEffect" : (s.tag & sl) !== we ? m = "useInsertionEffect" : m = "useEffect";
|
|
17857
|
-
var
|
|
17858
|
-
h === null ?
|
|
17857
|
+
var C = void 0;
|
|
17858
|
+
h === null ? C = " You returned null. If your effect does not require clean up, return undefined (or nothing)." : typeof h.then == "function" ? C = `
|
|
17859
17859
|
|
|
17860
17860
|
It looks like you wrote ` + m + `(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
17861
17861
|
|
|
@@ -17868,7 +17868,7 @@ It looks like you wrote ` + m + `(async () => ...) or returned a Promise. Instea
|
|
|
17868
17868
|
fetchData();
|
|
17869
17869
|
}, [someId]); // Or [] if effect doesn't need props or state
|
|
17870
17870
|
|
|
17871
|
-
Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching` :
|
|
17871
|
+
Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching` : C = " You returned: " + h, S("%s must not return anything besides a function, which is used for clean-up.%s", m, C);
|
|
17872
17872
|
}
|
|
17873
17873
|
}
|
|
17874
17874
|
}
|
|
@@ -17887,8 +17887,8 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
17887
17887
|
for (; m !== null; ) {
|
|
17888
17888
|
switch (m.tag) {
|
|
17889
17889
|
case G:
|
|
17890
|
-
var
|
|
17891
|
-
|
|
17890
|
+
var C = m.stateNode;
|
|
17891
|
+
C.passiveEffectDuration += a;
|
|
17892
17892
|
break e;
|
|
17893
17893
|
case rt:
|
|
17894
17894
|
var E = m.stateNode;
|
|
@@ -17922,7 +17922,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
17922
17922
|
var u = a.stateNode;
|
|
17923
17923
|
if (a.flags & Ve && !sr)
|
|
17924
17924
|
if (t === null)
|
|
17925
|
-
if (a.type === a.elementType && !gs && (u.props !== a.memoizedProps &&
|
|
17925
|
+
if (a.type === a.elementType && !gs && (u.props !== a.memoizedProps && S("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.", je(a) || "instance"), u.state !== a.memoizedState && S("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.", je(a) || "instance")), a.mode & _e)
|
|
17926
17926
|
try {
|
|
17927
17927
|
pl(), u.componentDidMount();
|
|
17928
17928
|
} finally {
|
|
@@ -17932,7 +17932,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
17932
17932
|
u.componentDidMount();
|
|
17933
17933
|
else {
|
|
17934
17934
|
var s = a.elementType === a.type ? t.memoizedProps : Ri(a.type, t.memoizedProps), f = t.memoizedState;
|
|
17935
|
-
if (a.type === a.elementType && !gs && (u.props !== a.memoizedProps &&
|
|
17935
|
+
if (a.type === a.elementType && !gs && (u.props !== a.memoizedProps && S("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.", je(a) || "instance"), u.state !== a.memoizedState && S("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.", je(a) || "instance")), a.mode & _e)
|
|
17936
17936
|
try {
|
|
17937
17937
|
pl(), u.componentDidUpdate(s, f, u.__reactInternalSnapshotBeforeUpdate);
|
|
17938
17938
|
} finally {
|
|
@@ -17942,23 +17942,23 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
17942
17942
|
u.componentDidUpdate(s, f, u.__reactInternalSnapshotBeforeUpdate);
|
|
17943
17943
|
}
|
|
17944
17944
|
var h = a.updateQueue;
|
|
17945
|
-
h !== null && (a.type === a.elementType && !gs && (u.props !== a.memoizedProps &&
|
|
17945
|
+
h !== null && (a.type === a.elementType && !gs && (u.props !== a.memoizedProps && S("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.", je(a) || "instance"), u.state !== a.memoizedState && S("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.", je(a) || "instance")), nC(a, h, u));
|
|
17946
17946
|
break;
|
|
17947
17947
|
}
|
|
17948
17948
|
case G: {
|
|
17949
17949
|
var m = a.updateQueue;
|
|
17950
17950
|
if (m !== null) {
|
|
17951
|
-
var
|
|
17951
|
+
var C = null;
|
|
17952
17952
|
if (a.child !== null)
|
|
17953
17953
|
switch (a.child.tag) {
|
|
17954
17954
|
case ae:
|
|
17955
|
-
|
|
17955
|
+
C = a.child.stateNode;
|
|
17956
17956
|
break;
|
|
17957
17957
|
case j:
|
|
17958
|
-
|
|
17958
|
+
C = a.child.stateNode;
|
|
17959
17959
|
break;
|
|
17960
17960
|
}
|
|
17961
|
-
nC(a, m,
|
|
17961
|
+
nC(a, m, C);
|
|
17962
17962
|
}
|
|
17963
17963
|
break;
|
|
17964
17964
|
}
|
|
@@ -18098,9 +18098,9 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
18098
18098
|
}
|
|
18099
18099
|
else
|
|
18100
18100
|
u = t(i);
|
|
18101
|
-
typeof u == "function" &&
|
|
18101
|
+
typeof u == "function" && S("Unexpected return value from a callback ref in %s. A callback ref should not return a function.", je(e));
|
|
18102
18102
|
} else
|
|
18103
|
-
t.hasOwnProperty("current") ||
|
|
18103
|
+
t.hasOwnProperty("current") || S("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().", je(e)), t.current = i;
|
|
18104
18104
|
}
|
|
18105
18105
|
}
|
|
18106
18106
|
function gk(e) {
|
|
@@ -18258,11 +18258,11 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
18258
18258
|
if (h !== null) {
|
|
18259
18259
|
var m = h.lastEffect;
|
|
18260
18260
|
if (m !== null) {
|
|
18261
|
-
var
|
|
18261
|
+
var C = m.next, E = C;
|
|
18262
18262
|
do {
|
|
18263
18263
|
var D = E, b = D.destroy, z = D.tag;
|
|
18264
18264
|
b !== void 0 && ((z & sl) !== ha ? km(a, t, b) : (z & zn) !== ha && (rc(a), a.mode & _e ? (pl(), km(a, t, b), dl(a)) : km(a, t, b), Du())), E = E.next;
|
|
18265
|
-
} while (E !==
|
|
18265
|
+
} while (E !== C);
|
|
18266
18266
|
}
|
|
18267
18267
|
}
|
|
18268
18268
|
}
|
|
@@ -18397,10 +18397,10 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
18397
18397
|
if (u & Ve) {
|
|
18398
18398
|
var f = e.stateNode;
|
|
18399
18399
|
if (f != null) {
|
|
18400
|
-
var h = e.memoizedProps, m = i !== null ? i.memoizedProps : h,
|
|
18400
|
+
var h = e.memoizedProps, m = i !== null ? i.memoizedProps : h, C = e.type, E = e.updateQueue;
|
|
18401
18401
|
if (e.updateQueue = null, E !== null)
|
|
18402
18402
|
try {
|
|
18403
|
-
UR(f, E,
|
|
18403
|
+
UR(f, E, C, m, h, e);
|
|
18404
18404
|
} catch (Ne) {
|
|
18405
18405
|
Mt(e, e.return, Ne);
|
|
18406
18406
|
}
|
|
@@ -18512,7 +18512,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
18512
18512
|
G0(e, t, a);
|
|
18513
18513
|
continue;
|
|
18514
18514
|
} else {
|
|
18515
|
-
var m = u.alternate,
|
|
18515
|
+
var m = u.alternate, C = m !== null && m.memoizedState !== null, E = C || sr, D = bm, b = sr;
|
|
18516
18516
|
bm = h, sr = E, sr && !b && (he = u, kk(u));
|
|
18517
18517
|
for (var z = s; z !== null; )
|
|
18518
18518
|
he = z, _E(
|
|
@@ -18866,7 +18866,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
18866
18866
|
function ME() {
|
|
18867
18867
|
{
|
|
18868
18868
|
var e = typeof IS_REACT_ACT_ENVIRONMENT < "u" ? IS_REACT_ACT_ENVIRONMENT : void 0;
|
|
18869
|
-
return !e && Yk.current !== null &&
|
|
18869
|
+
return !e && Yk.current !== null && S("The current testing environment is not configured to support act(...)"), e;
|
|
18870
18870
|
}
|
|
18871
18871
|
}
|
|
18872
18872
|
var Wk = Math.ceil, q0 = p.ReactCurrentDispatcher, X0 = p.ReactCurrentOwner, fr = p.ReactCurrentBatchConfig, Ni = p.ReactCurrentActQueue, Fn = 0, LE = 1, dr = 2, ei = 4, au = 0, wp = 1, Ss = 2, Dm = 3, Rp = 4, zE = 5, K0 = 6, tt = Fn, Yr = null, Xt = null, Hn = B, hl = B, Z0 = Zu(B), jn = au, xp = null, _m = B, bp = B, Om = B, kp = null, ma = null, J0 = 0, UE = 500, AE = 1 / 0, Gk = 500, iu = null;
|
|
@@ -18908,7 +18908,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
18908
18908
|
return (t & We) === ke ? Oe : xy();
|
|
18909
18909
|
}
|
|
18910
18910
|
function Vn(e, t, a, i) {
|
|
18911
|
-
ED(), HE &&
|
|
18911
|
+
ED(), HE && S("useInsertionEffect must not schedule updates."), aS && (Mm = !0), Pl(e, a, i), (tt & dr) !== B && e === Yr ? RD(t) : (Nn && Td(e, t, a), xD(t), e === Yr && ((tt & dr) === Fn && (bp = Pe(bp, a)), jn === Rp && fo(e, Hn)), ya(e, i), a === Oe && tt === Fn && (t.mode & We) === ke && !Ni.isBatchingLegacy && (Dp(), F1()));
|
|
18912
18912
|
}
|
|
18913
18913
|
function Zk(e, t, a) {
|
|
18914
18914
|
var i = e.current;
|
|
@@ -18927,7 +18927,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
18927
18927
|
}
|
|
18928
18928
|
var u = en(i), s = e.callbackPriority;
|
|
18929
18929
|
if (s === u && !(Ni.current !== null && a !== fS)) {
|
|
18930
|
-
a == null && s !== Oe &&
|
|
18930
|
+
a == null && s !== Oe && S("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");
|
|
18931
18931
|
return;
|
|
18932
18932
|
}
|
|
18933
18933
|
a != null && eT(a);
|
|
@@ -18981,8 +18981,8 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
18981
18981
|
if (f === K0)
|
|
18982
18982
|
fo(e, u);
|
|
18983
18983
|
else {
|
|
18984
|
-
var
|
|
18985
|
-
if (
|
|
18984
|
+
var C = !Wo(e, u), E = e.current.alternate;
|
|
18985
|
+
if (C && !tD(E)) {
|
|
18986
18986
|
if (f = Fm(e, u), f === Ss) {
|
|
18987
18987
|
var D = hd(e);
|
|
18988
18988
|
D !== B && (u = D, f = iS(e, D));
|
|
@@ -19045,9 +19045,9 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
19045
19045
|
if (fo(e, a), Qv(a))
|
|
19046
19046
|
break;
|
|
19047
19047
|
if (!tT()) {
|
|
19048
|
-
var f = Yv(e, a), h = f, m = Ht() - h,
|
|
19049
|
-
if (
|
|
19050
|
-
e.timeoutHandle = ng(Ts.bind(null, e, ma, iu),
|
|
19048
|
+
var f = Yv(e, a), h = f, m = Ht() - h, C = CD(m) - m;
|
|
19049
|
+
if (C > 10) {
|
|
19050
|
+
e.timeoutHandle = ng(Ts.bind(null, e, ma, iu), C);
|
|
19051
19051
|
break;
|
|
19052
19052
|
}
|
|
19053
19053
|
}
|
|
@@ -19336,7 +19336,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
19336
19336
|
var u = e.finishedWork, s = e.finishedLanes;
|
|
19337
19337
|
if (tc(s), u === null)
|
|
19338
19338
|
return cd(), null;
|
|
19339
|
-
if (s === B &&
|
|
19339
|
+
if (s === B && S("root.finishedLanes should not be empty during a commit. This is a bug in React."), e.finishedWork = null, e.finishedLanes = B, u === e.current)
|
|
19340
19340
|
throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");
|
|
19341
19341
|
e.callbackNode = null, e.callbackPriority = et;
|
|
19342
19342
|
var f = Pe(u.lanes, u.childLanes);
|
|
@@ -19345,12 +19345,12 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
19345
19345
|
})));
|
|
19346
19346
|
var h = (u.subtreeFlags & (ku | Er | Gn | ia)) !== we, m = (u.flags & (ku | Er | Gn | ia)) !== we;
|
|
19347
19347
|
if (h || m) {
|
|
19348
|
-
var
|
|
19348
|
+
var C = fr.transition;
|
|
19349
19349
|
fr.transition = null;
|
|
19350
19350
|
var E = sa();
|
|
19351
19351
|
on(qn);
|
|
19352
19352
|
var D = tt;
|
|
19353
|
-
tt |= ei, X0.current = null, ck(e, u), $C(), Rk(e, u, s), RR(e.containerInfo), e.current = u, Iv(s), xk(u, e, s), _u(), Av(), tt = D, on(E), fr.transition =
|
|
19353
|
+
tt |= ei, X0.current = null, ck(e, u), $C(), Rk(e, u, s), RR(e.containerInfo), e.current = u, Iv(s), xk(u, e, s), _u(), Av(), tt = D, on(E), fr.transition = C;
|
|
19354
19354
|
} else
|
|
19355
19355
|
e.current = u, $C();
|
|
19356
19356
|
var b = Cs;
|
|
@@ -19438,14 +19438,14 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
19438
19438
|
} else if (i.tag === j) {
|
|
19439
19439
|
var u = i.type, s = i.stateNode;
|
|
19440
19440
|
if (typeof u.getDerivedStateFromError == "function" || typeof s.componentDidCatch == "function" && !GE(s)) {
|
|
19441
|
-
var f = ys(a, e), h = _0(i, f, Oe), m = no(i, h, Oe),
|
|
19442
|
-
m !== null && (Pl(m, Oe,
|
|
19441
|
+
var f = ys(a, e), h = _0(i, f, Oe), m = no(i, h, Oe), C = Qr();
|
|
19442
|
+
m !== null && (Pl(m, Oe, C), ya(m, C));
|
|
19443
19443
|
return;
|
|
19444
19444
|
}
|
|
19445
19445
|
}
|
|
19446
19446
|
i = i.return;
|
|
19447
19447
|
}
|
|
19448
|
-
|
|
19448
|
+
S(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
19449
19449
|
|
|
19450
19450
|
Error message:
|
|
19451
19451
|
|
|
@@ -19488,7 +19488,7 @@ Error message:
|
|
|
19488
19488
|
function ED() {
|
|
19489
19489
|
if (Op > qk)
|
|
19490
19490
|
throw Op = 0, rS = null, new Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");
|
|
19491
|
-
mf > Xk && (mf = 0, Lm = null,
|
|
19491
|
+
mf > Xk && (mf = 0, Lm = null, S("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."));
|
|
19492
19492
|
}
|
|
19493
19493
|
function TD() {
|
|
19494
19494
|
wi.flushLegacyContextWarning(), wi.flushPendingUnsafeLifecycleWarnings();
|
|
@@ -19519,7 +19519,7 @@ Error message:
|
|
|
19519
19519
|
jm = /* @__PURE__ */ new Set([a]);
|
|
19520
19520
|
var i = Zt;
|
|
19521
19521
|
try {
|
|
19522
|
-
yt(e),
|
|
19522
|
+
yt(e), S("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.");
|
|
19523
19523
|
} finally {
|
|
19524
19524
|
i ? yt(e) : an();
|
|
19525
19525
|
}
|
|
@@ -19555,12 +19555,12 @@ Error message:
|
|
|
19555
19555
|
if (!cS.has(a)) {
|
|
19556
19556
|
cS.add(a);
|
|
19557
19557
|
var i = je(e) || "Unknown";
|
|
19558
|
-
|
|
19558
|
+
S("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render", i, t, t);
|
|
19559
19559
|
}
|
|
19560
19560
|
break;
|
|
19561
19561
|
}
|
|
19562
19562
|
case j: {
|
|
19563
|
-
JE || (
|
|
19563
|
+
JE || (S("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."), JE = !0);
|
|
19564
19564
|
break;
|
|
19565
19565
|
}
|
|
19566
19566
|
}
|
|
@@ -19597,7 +19597,7 @@ Error message:
|
|
|
19597
19597
|
if (Ni.current === null) {
|
|
19598
19598
|
var t = Zt;
|
|
19599
19599
|
try {
|
|
19600
|
-
yt(e),
|
|
19600
|
+
yt(e), S(`An update to %s inside a test was not wrapped in act(...).
|
|
19601
19601
|
|
|
19602
19602
|
When testing, code that causes React state updates should be wrapped into act(...):
|
|
19603
19603
|
|
|
@@ -19614,7 +19614,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
19614
19614
|
}
|
|
19615
19615
|
}
|
|
19616
19616
|
function bD(e) {
|
|
19617
|
-
e.tag !== Ju && ME() && Ni.current === null &&
|
|
19617
|
+
e.tag !== Ju && ME() && Ni.current === null && S(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
19618
19618
|
|
|
19619
19619
|
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
19620
19620
|
|
|
@@ -19737,12 +19737,12 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
19737
19737
|
}
|
|
19738
19738
|
if (ti === null)
|
|
19739
19739
|
throw new Error("Expected resolveFamily to be set during hot reload.");
|
|
19740
|
-
var
|
|
19740
|
+
var C = !1, E = !1;
|
|
19741
19741
|
if (m !== null) {
|
|
19742
19742
|
var D = ti(m);
|
|
19743
|
-
D !== void 0 && (a.has(D) ? E = !0 : t.has(D) && (f === j ? E = !0 :
|
|
19743
|
+
D !== void 0 && (a.has(D) ? E = !0 : t.has(D) && (f === j ? E = !0 : C = !0));
|
|
19744
19744
|
}
|
|
19745
|
-
if (yf !== null && (yf.has(e) || i !== null && yf.has(i)) && (E = !0), E && (e._debugNeedsRemount = !0), E ||
|
|
19745
|
+
if (yf !== null && (yf.has(e) || i !== null && yf.has(i)) && (E = !0), E && (e._debugNeedsRemount = !0), E || C) {
|
|
19746
19746
|
var b = va(e, Oe);
|
|
19747
19747
|
b !== null && Vn(b, e, Oe, Rt);
|
|
19748
19748
|
}
|
|
@@ -19921,7 +19921,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
19921
19921
|
default: {
|
|
19922
19922
|
if (typeof e == "object" && e !== null)
|
|
19923
19923
|
switch (e.$$typeof) {
|
|
19924
|
-
case
|
|
19924
|
+
case W:
|
|
19925
19925
|
f = Se;
|
|
19926
19926
|
break e;
|
|
19927
19927
|
case re:
|
|
@@ -19940,10 +19940,10 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
19940
19940
|
var m = "";
|
|
19941
19941
|
{
|
|
19942
19942
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (m += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
19943
|
-
var
|
|
19944
|
-
|
|
19943
|
+
var C = i ? je(i) : null;
|
|
19944
|
+
C && (m += `
|
|
19945
19945
|
|
|
19946
|
-
Check the render method of \`` +
|
|
19946
|
+
Check the render method of \`` + C + "`.");
|
|
19947
19947
|
}
|
|
19948
19948
|
throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) " + ("but got: " + (e == null ? e : typeof e) + "." + m));
|
|
19949
19949
|
}
|
|
@@ -19963,7 +19963,7 @@ Check the render method of \`` + S + "`.");
|
|
|
19963
19963
|
return u.lanes = a, u;
|
|
19964
19964
|
}
|
|
19965
19965
|
function HD(e, t, a, i) {
|
|
19966
|
-
typeof e.id != "string" &&
|
|
19966
|
+
typeof e.id != "string" && S('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.', typeof e.id);
|
|
19967
19967
|
var u = za(rt, e, i, t | _e);
|
|
19968
19968
|
return u.elementType = w, u.lanes = a, u.stateNode = {
|
|
19969
19969
|
effectDuration: 0,
|
|
@@ -20025,7 +20025,7 @@ Check the render method of \`` + S + "`.");
|
|
|
20025
20025
|
break;
|
|
20026
20026
|
}
|
|
20027
20027
|
}
|
|
20028
|
-
function uT(e, t, a, i, u, s, f, h, m,
|
|
20028
|
+
function uT(e, t, a, i, u, s, f, h, m, C) {
|
|
20029
20029
|
var E = new ID(e, t, a, h, m), D = FD(t, s);
|
|
20030
20030
|
E.current = D, D.stateNode = E;
|
|
20031
20031
|
{
|
|
@@ -20082,7 +20082,7 @@ Check the render method of \`` + S + "`.");
|
|
|
20082
20082
|
xS[s] = !0;
|
|
20083
20083
|
var f = Zt;
|
|
20084
20084
|
try {
|
|
20085
|
-
yt(u), a.mode & jt ?
|
|
20085
|
+
yt(u), a.mode & jt ? S("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node", t, t, s) : S("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node", t, t, s);
|
|
20086
20086
|
} finally {
|
|
20087
20087
|
f ? yt(f) : an();
|
|
20088
20088
|
}
|
|
@@ -20092,10 +20092,10 @@ Check the render method of \`` + S + "`.");
|
|
|
20092
20092
|
}
|
|
20093
20093
|
}
|
|
20094
20094
|
function sT(e, t, a, i, u, s, f, h) {
|
|
20095
|
-
var m = !1,
|
|
20096
|
-
return uT(e, t, m,
|
|
20095
|
+
var m = !1, C = null;
|
|
20096
|
+
return uT(e, t, m, C, a, i, u, s, f);
|
|
20097
20097
|
}
|
|
20098
|
-
function cT(e, t, a, i, u, s, f, h, m,
|
|
20098
|
+
function cT(e, t, a, i, u, s, f, h, m, C) {
|
|
20099
20099
|
var E = !0, D = uT(a, i, E, e, u, s, f, h, m);
|
|
20100
20100
|
D.context = oT(null);
|
|
20101
20101
|
var b = D.current, z = Qr(), U = co(b), V = nu(z, U);
|
|
@@ -20106,15 +20106,15 @@ Check the render method of \`` + S + "`.");
|
|
|
20106
20106
|
var u = t.current, s = Qr(), f = co(u);
|
|
20107
20107
|
Ml(f);
|
|
20108
20108
|
var h = oT(a);
|
|
20109
|
-
t.context === null ? t.context = h : t.pendingContext = h, Jr && Zt !== null && !RS && (RS = !0,
|
|
20109
|
+
t.context === null ? t.context = h : t.pendingContext = h, Jr && Zt !== null && !RS && (RS = !0, S(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
|
|
20110
20110
|
|
|
20111
20111
|
Check the render method of %s.`, je(Zt) || "Unknown"));
|
|
20112
20112
|
var m = nu(s, f);
|
|
20113
20113
|
m.payload = {
|
|
20114
20114
|
element: e
|
|
20115
|
-
}, i = i === void 0 ? null : i, i !== null && (typeof i != "function" &&
|
|
20116
|
-
var
|
|
20117
|
-
return
|
|
20115
|
+
}, i = i === void 0 ? null : i, i !== null && (typeof i != "function" && S("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.", i), m.callback = i);
|
|
20116
|
+
var C = no(u, m, f);
|
|
20117
|
+
return C !== null && (Vn(C, u, f, s), qh(C, u, f)), f;
|
|
20118
20118
|
}
|
|
20119
20119
|
function Vm(e) {
|
|
20120
20120
|
var t = e.current;
|
|
@@ -20332,21 +20332,21 @@ Check the render method of %s.`, je(Zt) || "Unknown"));
|
|
|
20332
20332
|
if (t === null)
|
|
20333
20333
|
throw new Error("Cannot update an unmounted root.");
|
|
20334
20334
|
{
|
|
20335
|
-
typeof arguments[1] == "function" ?
|
|
20335
|
+
typeof arguments[1] == "function" ? S("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().") : Bm(arguments[1]) ? S("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root.") : typeof arguments[1] < "u" && S("You passed a second argument to root.render(...) but it only accepts one argument.");
|
|
20336
20336
|
var a = t.containerInfo;
|
|
20337
20337
|
if (a.nodeType !== Jt) {
|
|
20338
20338
|
var i = dT(t.current);
|
|
20339
|
-
i && i.parentNode !== a &&
|
|
20339
|
+
i && i.parentNode !== a && S("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.");
|
|
20340
20340
|
}
|
|
20341
20341
|
}
|
|
20342
20342
|
Up(e, t, null, null);
|
|
20343
20343
|
}, Pm.prototype.unmount = DS.prototype.unmount = function() {
|
|
20344
|
-
typeof arguments[0] == "function" &&
|
|
20344
|
+
typeof arguments[0] == "function" && S("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");
|
|
20345
20345
|
var e = this._internalRoot;
|
|
20346
20346
|
if (e !== null) {
|
|
20347
20347
|
this._internalRoot = null;
|
|
20348
20348
|
var t = e.containerInfo;
|
|
20349
|
-
BE() &&
|
|
20349
|
+
BE() && S("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."), lu(function() {
|
|
20350
20350
|
Up(null, e, null, null);
|
|
20351
20351
|
}), _1(t);
|
|
20352
20352
|
}
|
|
@@ -20356,7 +20356,7 @@ Check the render method of %s.`, je(Zt) || "Unknown"));
|
|
|
20356
20356
|
throw new Error("createRoot(...): Target container is not a DOM element.");
|
|
20357
20357
|
NT(e);
|
|
20358
20358
|
var a = !1, i = !1, u = "", s = OT;
|
|
20359
|
-
t != null && (t.hydrate ? A("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead.") : typeof t == "object" && t !== null && t.$$typeof === zi &&
|
|
20359
|
+
t != null && (t.hydrate ? A("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead.") : typeof t == "object" && t !== null && t.$$typeof === zi && S(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
20360
20360
|
|
|
20361
20361
|
let root = createRoot(domContainer);
|
|
20362
20362
|
root.render(<App />);`), t.unstable_strictMode === !0 && (a = !0), t.identifierPrefix !== void 0 && (u = t.identifierPrefix), t.onRecoverableError !== void 0 && (s = t.onRecoverableError), t.transitionCallbacks !== void 0 && t.transitionCallbacks);
|
|
@@ -20375,16 +20375,16 @@ Check the render method of %s.`, je(Zt) || "Unknown"));
|
|
|
20375
20375
|
function r_(e, t, a) {
|
|
20376
20376
|
if (!Bm(e))
|
|
20377
20377
|
throw new Error("hydrateRoot(...): Target container is not a DOM element.");
|
|
20378
|
-
NT(e), t === void 0 &&
|
|
20378
|
+
NT(e), t === void 0 && S("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");
|
|
20379
20379
|
var i = a ?? null, u = a != null && a.hydratedSources || null, s = !1, f = !1, h = "", m = OT;
|
|
20380
20380
|
a != null && (a.unstable_strictMode === !0 && (s = !0), a.identifierPrefix !== void 0 && (h = a.identifierPrefix), a.onRecoverableError !== void 0 && (m = a.onRecoverableError));
|
|
20381
|
-
var
|
|
20382
|
-
if (_h(
|
|
20381
|
+
var C = cT(t, null, e, Ah, i, s, f, h, m);
|
|
20382
|
+
if (_h(C.current, e), Id(e), u)
|
|
20383
20383
|
for (var E = 0; E < u.length; E++) {
|
|
20384
20384
|
var D = u[E];
|
|
20385
|
-
fb(
|
|
20385
|
+
fb(C, D);
|
|
20386
20386
|
}
|
|
20387
|
-
return new Pm(
|
|
20387
|
+
return new Pm(C);
|
|
20388
20388
|
}
|
|
20389
20389
|
function Bm(e) {
|
|
20390
20390
|
return !!(e && (e.nodeType === yr || e.nodeType === Da || e.nodeType === wl || !ct));
|
|
@@ -20393,16 +20393,16 @@ Check the render method of %s.`, je(Zt) || "Unknown"));
|
|
|
20393
20393
|
return !!(e && (e.nodeType === yr || e.nodeType === Da || e.nodeType === wl || e.nodeType === Jt && e.nodeValue === " react-mount-point-unstable "));
|
|
20394
20394
|
}
|
|
20395
20395
|
function NT(e) {
|
|
20396
|
-
e.nodeType === yr && e.tagName && e.tagName.toUpperCase() === "BODY" &&
|
|
20396
|
+
e.nodeType === yr && e.tagName && e.tagName.toUpperCase() === "BODY" && S("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."), ep(e) && (e._reactRootContainer ? S("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported.") : S("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."));
|
|
20397
20397
|
}
|
|
20398
20398
|
var a_ = p.ReactCurrentOwner, MT;
|
|
20399
20399
|
MT = function(e) {
|
|
20400
20400
|
if (e._reactRootContainer && e.nodeType !== Jt) {
|
|
20401
20401
|
var t = dT(e._reactRootContainer.current);
|
|
20402
|
-
t && t.parentNode !== e &&
|
|
20402
|
+
t && t.parentNode !== e && S("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.");
|
|
20403
20403
|
}
|
|
20404
20404
|
var a = !!e._reactRootContainer, i = _S(e), u = !!(i && Ku(i));
|
|
20405
|
-
u && !a &&
|
|
20405
|
+
u && !a && S("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."), e.nodeType === yr && e.tagName && e.tagName.toUpperCase() === "BODY" && S("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.");
|
|
20406
20406
|
};
|
|
20407
20407
|
function _S(e) {
|
|
20408
20408
|
return e ? e.nodeType === Da ? e.documentElement : e.firstChild : null;
|
|
@@ -20436,10 +20436,10 @@ Check the render method of %s.`, je(Zt) || "Unknown"));
|
|
|
20436
20436
|
for (var m; m = e.lastChild; )
|
|
20437
20437
|
e.removeChild(m);
|
|
20438
20438
|
if (typeof i == "function") {
|
|
20439
|
-
var
|
|
20439
|
+
var C = i;
|
|
20440
20440
|
i = function() {
|
|
20441
20441
|
var b = Vm(E);
|
|
20442
|
-
|
|
20442
|
+
C.call(b);
|
|
20443
20443
|
};
|
|
20444
20444
|
}
|
|
20445
20445
|
var E = sT(
|
|
@@ -20459,7 +20459,7 @@ Check the render method of %s.`, je(Zt) || "Unknown"));
|
|
|
20459
20459
|
}
|
|
20460
20460
|
}
|
|
20461
20461
|
function l_(e, t) {
|
|
20462
|
-
e !== null && typeof e != "function" &&
|
|
20462
|
+
e !== null && typeof e != "function" && S("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.", t, e);
|
|
20463
20463
|
}
|
|
20464
20464
|
function Im(e, t, a, i, u) {
|
|
20465
20465
|
MT(a), l_(u === void 0 ? null : u, "render");
|
|
@@ -20483,31 +20483,31 @@ Check the render method of %s.`, je(Zt) || "Unknown"));
|
|
|
20483
20483
|
var t = a_.current;
|
|
20484
20484
|
if (t !== null && t.stateNode !== null) {
|
|
20485
20485
|
var a = t.stateNode._warnedAboutRefsInRender;
|
|
20486
|
-
a ||
|
|
20486
|
+
a || S("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.", Tt(t.type) || "A component"), t.stateNode._warnedAboutRefsInRender = !0;
|
|
20487
20487
|
}
|
|
20488
20488
|
}
|
|
20489
20489
|
return e == null ? null : e.nodeType === yr ? e : YD(e, "findDOMNode");
|
|
20490
20490
|
}
|
|
20491
20491
|
function o_(e, t, a) {
|
|
20492
|
-
if (
|
|
20492
|
+
if (S("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"), !Ap(t))
|
|
20493
20493
|
throw new Error("Target container is not a DOM element.");
|
|
20494
20494
|
{
|
|
20495
20495
|
var i = ep(t) && t._reactRootContainer === void 0;
|
|
20496
|
-
i &&
|
|
20496
|
+
i && S("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?");
|
|
20497
20497
|
}
|
|
20498
20498
|
return Im(null, e, t, !0, a);
|
|
20499
20499
|
}
|
|
20500
20500
|
function s_(e, t, a) {
|
|
20501
|
-
if (
|
|
20501
|
+
if (S("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"), !Ap(t))
|
|
20502
20502
|
throw new Error("Target container is not a DOM element.");
|
|
20503
20503
|
{
|
|
20504
20504
|
var i = ep(t) && t._reactRootContainer === void 0;
|
|
20505
|
-
i &&
|
|
20505
|
+
i && S("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?");
|
|
20506
20506
|
}
|
|
20507
20507
|
return Im(null, e, t, !1, a);
|
|
20508
20508
|
}
|
|
20509
20509
|
function c_(e, t, a, i) {
|
|
20510
|
-
if (
|
|
20510
|
+
if (S("ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported in React 18. Consider using a portal instead. Until you switch to the createRoot API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"), !Ap(a))
|
|
20511
20511
|
throw new Error("Target container is not a DOM element.");
|
|
20512
20512
|
if (e == null || !Fo(e))
|
|
20513
20513
|
throw new Error("parentComponent must be a valid React Component");
|
|
@@ -20518,12 +20518,12 @@ Check the render method of %s.`, je(Zt) || "Unknown"));
|
|
|
20518
20518
|
throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");
|
|
20519
20519
|
{
|
|
20520
20520
|
var t = ep(e) && e._reactRootContainer === void 0;
|
|
20521
|
-
t &&
|
|
20521
|
+
t && S("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?");
|
|
20522
20522
|
}
|
|
20523
20523
|
if (e._reactRootContainer) {
|
|
20524
20524
|
{
|
|
20525
20525
|
var a = _S(e), i = a && !Ku(a);
|
|
20526
|
-
i &&
|
|
20526
|
+
i && S("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.");
|
|
20527
20527
|
}
|
|
20528
20528
|
return lu(function() {
|
|
20529
20529
|
Im(null, null, e, !1, function() {
|
|
@@ -20533,12 +20533,12 @@ Check the render method of %s.`, je(Zt) || "Unknown"));
|
|
|
20533
20533
|
} else {
|
|
20534
20534
|
{
|
|
20535
20535
|
var u = _S(e), s = !!(u && Ku(u)), f = e.nodeType === yr && Ap(e.parentNode) && !!e.parentNode._reactRootContainer;
|
|
20536
|
-
s &&
|
|
20536
|
+
s && S("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s", f ? "You may have accidentally passed in a React root node instead of its container." : "Instead, have the parent component update its state and rerender in order to remove this component.");
|
|
20537
20537
|
}
|
|
20538
20538
|
return !1;
|
|
20539
20539
|
}
|
|
20540
20540
|
}
|
|
20541
|
-
de(QD), Kv(WD), Zo(GD), xd(sa), Jv(qo), (typeof Map != "function" || Map.prototype == null || typeof Map.prototype.forEach != "function" || typeof Set != "function" || Set.prototype == null || typeof Set.prototype.clear != "function" || typeof Set.prototype.forEach != "function") &&
|
|
20541
|
+
de(QD), Kv(WD), Zo(GD), xd(sa), Jv(qo), (typeof Map != "function" || Map.prototype == null || typeof Map.prototype.forEach != "function" || typeof Set != "function" || Set.prototype == null || typeof Set.prototype.clear != "function" || typeof Set.prototype.forEach != "function") && S("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"), Nv(vR), Qs(lS, rD, lu);
|
|
20542
20542
|
function d_(e, t) {
|
|
20543
20543
|
var a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : null;
|
|
20544
20544
|
if (!Bm(t))
|
|
@@ -20553,13 +20553,13 @@ Check the render method of %s.`, je(Zt) || "Unknown"));
|
|
|
20553
20553
|
Events: [Ku, Gc, Oh, Ys, zo, lS]
|
|
20554
20554
|
};
|
|
20555
20555
|
function v_(e, t) {
|
|
20556
|
-
return OS.usingClientEntryPoint ||
|
|
20556
|
+
return OS.usingClientEntryPoint || S('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'), t_(e, t);
|
|
20557
20557
|
}
|
|
20558
20558
|
function h_(e, t, a) {
|
|
20559
|
-
return OS.usingClientEntryPoint ||
|
|
20559
|
+
return OS.usingClientEntryPoint || S('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'), r_(e, t, a);
|
|
20560
20560
|
}
|
|
20561
20561
|
function m_(e) {
|
|
20562
|
-
return BE() &&
|
|
20562
|
+
return BE() && S("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."), lu(e);
|
|
20563
20563
|
}
|
|
20564
20564
|
var y_ = e_({
|
|
20565
20565
|
findFiberByHostInstance: os,
|
|
@@ -20599,17 +20599,17 @@ const dN = (v) => new Promise((g) => {
|
|
|
20599
20599
|
(R) => v.toBlob((_) => R(_), g, p)
|
|
20600
20600
|
), hN = (v) => {
|
|
20601
20601
|
const R = v.width, _ = v.height;
|
|
20602
|
-
let A = v.width,
|
|
20603
|
-
return (R > 1400 || _ > 1400) && (R / _ > 1400 / 1400 ? (A = 1400,
|
|
20602
|
+
let A = v.width, S = v.height;
|
|
20603
|
+
return (R > 1400 || _ > 1400) && (R / _ > 1400 / 1400 ? (A = 1400, S = Math.round(1400 * (_ / R))) : (S = 1400, A = Math.round(1400 * (R / _)))), {
|
|
20604
20604
|
width: A,
|
|
20605
|
-
height:
|
|
20605
|
+
height: S
|
|
20606
20606
|
};
|
|
20607
20607
|
}, mN = async (v, g = "image/jpeg", p = 0.5, R = 300) => {
|
|
20608
20608
|
const _ = v.name;
|
|
20609
20609
|
if (v.size / 1024 < R)
|
|
20610
20610
|
return v;
|
|
20611
|
-
const A = document.createElement("canvas"),
|
|
20612
|
-
A.width = j.width, A.height = j.height,
|
|
20611
|
+
const A = document.createElement("canvas"), S = A.getContext("2d"), Q = await dN(v), H = await pN(Q), j = hN(H);
|
|
20612
|
+
A.width = j.width, A.height = j.height, S.clearRect(0, 0, j.width, j.height), S.drawImage(H, 0, 0, j.width, j.height);
|
|
20613
20613
|
const K = await vN(A, g, p);
|
|
20614
20614
|
return new File([K], _, {
|
|
20615
20615
|
type: g
|
|
@@ -20621,18 +20621,18 @@ const dN = (v) => new Promise((g) => {
|
|
|
20621
20621
|
fileList: R = [],
|
|
20622
20622
|
maxSize: _ = 2,
|
|
20623
20623
|
accept: A = iw.join(","),
|
|
20624
|
-
uploadBtnName:
|
|
20625
|
-
uploadHint:
|
|
20624
|
+
uploadBtnName: S = "上传",
|
|
20625
|
+
uploadHint: Q = null,
|
|
20626
20626
|
compression: H
|
|
20627
20627
|
} = v, [j, K] = IS(!1), [G, ie] = IS(""), ae = () => p !== "text" ? /* @__PURE__ */ dn("div", { style: { position: "relative" }, children: [
|
|
20628
20628
|
/* @__PURE__ */ dn("div", { children: [
|
|
20629
20629
|
/* @__PURE__ */ Ce(VO, {}),
|
|
20630
|
-
/* @__PURE__ */ Ce("div", { style: { marginTop: 8 }, children:
|
|
20630
|
+
/* @__PURE__ */ Ce("div", { style: { marginTop: 8 }, children: S })
|
|
20631
20631
|
] }),
|
|
20632
|
-
|
|
20632
|
+
Q
|
|
20633
20633
|
] }) : /* @__PURE__ */ dn(Xm, { children: [
|
|
20634
|
-
/* @__PURE__ */ Ce(XS, { icon: /* @__PURE__ */ Ce(QO, {}), children:
|
|
20635
|
-
|
|
20634
|
+
/* @__PURE__ */ Ce(XS, { icon: /* @__PURE__ */ Ce(QO, {}), children: S }),
|
|
20635
|
+
Q
|
|
20636
20636
|
] }), Ue = (Se) => new Promise((rt, Be) => {
|
|
20637
20637
|
const Ct = A.split(","), Ie = Gm(Se.name) || "";
|
|
20638
20638
|
Ct.includes(Ie) || (FT.error(`只允许上传 ${A} 文件`), Be(!1)), Se.size / 1024 / 1024 < _ || (FT.error(`文件必须小于${_}MB`), Be(!1)), H && rt(
|
|
@@ -20720,7 +20720,7 @@ const dN = (v) => new Promise((g) => {
|
|
|
20720
20720
|
formProps: R,
|
|
20721
20721
|
readonly: _ = !1,
|
|
20722
20722
|
hiddenTitle: A = !1
|
|
20723
|
-
} = v,
|
|
20723
|
+
} = v, S = (j, K) => {
|
|
20724
20724
|
var G, ie;
|
|
20725
20725
|
if (K.btnType === "submit") {
|
|
20726
20726
|
(G = R == null ? void 0 : R.form) == null || G.validateFields().then((ae) => {
|
|
@@ -20733,7 +20733,7 @@ const dN = (v) => new Promise((g) => {
|
|
|
20733
20733
|
return;
|
|
20734
20734
|
}
|
|
20735
20735
|
K.btnType === "cancel" && K.onClick && K.onClick(j);
|
|
20736
|
-
},
|
|
20736
|
+
}, Q = (j) => Array.isArray(j) ? j : j && j.fileList, H = (j) => {
|
|
20737
20737
|
var G;
|
|
20738
20738
|
const K = R == null ? void 0 : R.initialValues;
|
|
20739
20739
|
return j.dataIndex ? ((G = j.render) == null ? void 0 : G.call(j, K == null ? void 0 : K[j.dataIndex], K)) || j.value || (K == null ? void 0 : K[j.dataIndex]) : "";
|
|
@@ -20753,7 +20753,7 @@ const dN = (v) => new Promise((g) => {
|
|
|
20753
20753
|
Ip.Item,
|
|
20754
20754
|
{
|
|
20755
20755
|
...j.valueType === "upload" ? {
|
|
20756
|
-
getValueFromEvent:
|
|
20756
|
+
getValueFromEvent: Q
|
|
20757
20757
|
} : {},
|
|
20758
20758
|
label: A ? "" : j.title,
|
|
20759
20759
|
name: j.valueType === "btns" ? void 0 : j.dataIndex,
|
|
@@ -20766,7 +20766,7 @@ const dN = (v) => new Promise((g) => {
|
|
|
20766
20766
|
return (ie = j == null ? void 0 : j.onChange) == null ? void 0 : ie.call(j, G);
|
|
20767
20767
|
},
|
|
20768
20768
|
valueType: j.valueType,
|
|
20769
|
-
onBtnClick:
|
|
20769
|
+
onBtnClick: S,
|
|
20770
20770
|
valueProps: j.valueProps
|
|
20771
20771
|
}
|
|
20772
20772
|
)
|
|
@@ -20778,7 +20778,7 @@ const dN = (v) => new Promise((g) => {
|
|
|
20778
20778
|
}
|
|
20779
20779
|
);
|
|
20780
20780
|
}, Nw = (v) => {
|
|
20781
|
-
const { valueType: g, valueProps: p, value: R, onChange: _, onBtnClick: A, inputRef:
|
|
20781
|
+
const { valueType: g, valueProps: p, value: R, onChange: _, onBtnClick: A, inputRef: S } = v, Q = qm(() => {
|
|
20782
20782
|
let H = /* @__PURE__ */ Ce(NS, { placeholder: "请输入", ...p, allowClear: !0 });
|
|
20783
20783
|
switch (g) {
|
|
20784
20784
|
case "rate":
|
|
@@ -20893,21 +20893,21 @@ const dN = (v) => new Promise((g) => {
|
|
|
20893
20893
|
return cu.cloneElement(H.children, {
|
|
20894
20894
|
[lw(g || "input")]: R,
|
|
20895
20895
|
onChange: _,
|
|
20896
|
-
ref:
|
|
20896
|
+
ref: S
|
|
20897
20897
|
});
|
|
20898
20898
|
}
|
|
20899
|
-
return cu.cloneElement(
|
|
20899
|
+
return cu.cloneElement(Q, {
|
|
20900
20900
|
[lw(g || "input")]: R,
|
|
20901
20901
|
onChange: _,
|
|
20902
|
-
ref:
|
|
20902
|
+
ref: S
|
|
20903
20903
|
});
|
|
20904
20904
|
}, RN = (v) => {
|
|
20905
|
-
const { placeholder: g, labelKey: p, onToggle: R, value: _, onClear: A, className:
|
|
20905
|
+
const { placeholder: g, labelKey: p, onToggle: R, value: _, onClear: A, className: S, style: Q } = v;
|
|
20906
20906
|
return /* @__PURE__ */ dn(
|
|
20907
20907
|
"div",
|
|
20908
20908
|
{
|
|
20909
|
-
className: [Wm.fieldModal,
|
|
20910
|
-
style:
|
|
20909
|
+
className: [Wm.fieldModal, S].filter((H) => H).join(" "),
|
|
20910
|
+
style: Q,
|
|
20911
20911
|
children: [
|
|
20912
20912
|
/* @__PURE__ */ Ce("div", { className: Wm.content, onClick: () => R(!0), children: _ ? /* @__PURE__ */ Ce("span", { children: _[p] }) : /* @__PURE__ */ Ce("span", { className: Wm.placeholder, children: g }) }),
|
|
20913
20913
|
/* @__PURE__ */ Ce("span", { className: Wm.suffix, onClick: A, children: _ && /* @__PURE__ */ Ce(zO, {}) })
|
|
@@ -20918,21 +20918,27 @@ const dN = (v) => new Promise((g) => {
|
|
|
20918
20918
|
search: xN
|
|
20919
20919
|
};
|
|
20920
20920
|
function sM(v) {
|
|
20921
|
-
const { tableProps: g = {}, searchProps: p } = v, { columns: R = [],
|
|
20921
|
+
const { tableProps: g = {}, searchProps: p } = v, { columns: R = [], minColumnWidth: _ = 200, ...A } = g;
|
|
20922
20922
|
return /* @__PURE__ */ dn(Xm, { children: [
|
|
20923
20923
|
p && /* @__PURE__ */ Ce(wN, { hiddenTitle: !0, ...p, items: p.items }),
|
|
20924
20924
|
/* @__PURE__ */ Ce(
|
|
20925
20925
|
cw,
|
|
20926
20926
|
{
|
|
20927
|
-
columns: R.filter((
|
|
20928
|
-
|
|
20927
|
+
columns: R.filter((S) => !S.hidden).map((S) => ({ ...S, width: S.width || _ })),
|
|
20928
|
+
scroll: {
|
|
20929
|
+
x: R.filter((S) => !S.hidden).reduce(
|
|
20930
|
+
(S, Q) => S + (typeof Q.width == "number" ? Q.width : _),
|
|
20931
|
+
0
|
|
20932
|
+
)
|
|
20933
|
+
},
|
|
20934
|
+
...A,
|
|
20929
20935
|
className: $p(bN.table, g == null ? void 0 : g.className),
|
|
20930
20936
|
pagination: typeof (g == null ? void 0 : g.pagination) == "boolean" ? g.pagination : {
|
|
20931
20937
|
hideOnSinglePage: !0,
|
|
20932
20938
|
showPrevNextJumpers: !0,
|
|
20933
20939
|
showQuickJumper: !0,
|
|
20934
20940
|
showSizeChanger: !0,
|
|
20935
|
-
showTotal: (
|
|
20941
|
+
showTotal: (S) => `共 ${S} 条`,
|
|
20936
20942
|
...g == null ? void 0 : g.pagination
|
|
20937
20943
|
}
|
|
20938
20944
|
}
|
|
@@ -20953,15 +20959,15 @@ function ON(v) {
|
|
|
20953
20959
|
children: R,
|
|
20954
20960
|
dataIndex: _,
|
|
20955
20961
|
record: A,
|
|
20956
|
-
rules:
|
|
20957
|
-
onChange:
|
|
20962
|
+
rules: S,
|
|
20963
|
+
onChange: Q,
|
|
20958
20964
|
type: H = "input",
|
|
20959
20965
|
valueProps: j,
|
|
20960
20966
|
...K
|
|
20961
20967
|
} = v, G = x_(null), ie = uw(Mw), ae = async () => {
|
|
20962
20968
|
try {
|
|
20963
20969
|
const Ge = await ie.validateFields();
|
|
20964
|
-
|
|
20970
|
+
Q({ ...A, ...Ge });
|
|
20965
20971
|
} catch (Ge) {
|
|
20966
20972
|
console.log("Save failed:", Ge);
|
|
20967
20973
|
}
|
|
@@ -20984,7 +20990,7 @@ function ON(v) {
|
|
|
20984
20990
|
style: { margin: 0 },
|
|
20985
20991
|
initialValue: A[_],
|
|
20986
20992
|
name: _,
|
|
20987
|
-
rules:
|
|
20993
|
+
rules: S,
|
|
20988
20994
|
children: Ue()
|
|
20989
20995
|
}
|
|
20990
20996
|
)), /* @__PURE__ */ Ce("td", { children: Ze });
|
|
@@ -20995,14 +21001,14 @@ function cM(v) {
|
|
|
20995
21001
|
row: _N,
|
|
20996
21002
|
cell: ON
|
|
20997
21003
|
}
|
|
20998
|
-
}, A = g == null ? void 0 : g.map((
|
|
20999
|
-
...
|
|
21000
|
-
onCell: (
|
|
21001
|
-
...
|
|
21002
|
-
record:
|
|
21004
|
+
}, A = g == null ? void 0 : g.map((S) => S.editable ? {
|
|
21005
|
+
...S,
|
|
21006
|
+
onCell: (Q) => ({
|
|
21007
|
+
...S,
|
|
21008
|
+
record: Q,
|
|
21003
21009
|
onChange: p
|
|
21004
21010
|
})
|
|
21005
|
-
} :
|
|
21011
|
+
} : S);
|
|
21006
21012
|
return /* @__PURE__ */ Ce(
|
|
21007
21013
|
cw,
|
|
21008
21014
|
{
|
|
@@ -21034,17 +21040,17 @@ const NN = (v) => {
|
|
|
21034
21040
|
itemDone: IN,
|
|
21035
21041
|
itemUnDo: $N
|
|
21036
21042
|
}, YN = (v) => {
|
|
21037
|
-
const { data: g, current: p, rowKey: R, renderContent: _ } = v, [A,
|
|
21038
|
-
|
|
21043
|
+
const { data: g, current: p, rowKey: R, renderContent: _ } = v, [A, S] = IS(!1), Q = qm(() => v.currentIndex !== void 0 ? v.currentIndex : !p || g.length === 0 ? 0 : g.findIndex((G) => G.PNId === p), [p, g]), H = qm(() => Q > 1 ? A ? 0 : Q - 1 : 0, [Q, A]), j = () => {
|
|
21044
|
+
S(!0);
|
|
21039
21045
|
};
|
|
21040
21046
|
return /* @__PURE__ */ dn("ul", { className: Pn.main, children: [
|
|
21041
|
-
|
|
21047
|
+
Q > 1 && !A && /* @__PURE__ */ dn("li", { className: $p(Pn.item, Pn.itemDone), children: [
|
|
21042
21048
|
/* @__PURE__ */ Ce("div", { className: Pn.tail }),
|
|
21043
21049
|
/* @__PURE__ */ Ce("div", { className: Pn.node }),
|
|
21044
21050
|
/* @__PURE__ */ Ce("div", { className: Pn.content, children: /* @__PURE__ */ dn("div", { className: Pn.collpase, children: [
|
|
21045
21051
|
/* @__PURE__ */ dn("div", { children: [
|
|
21046
21052
|
"已收起",
|
|
21047
|
-
/* @__PURE__ */ Ce("span", { children:
|
|
21053
|
+
/* @__PURE__ */ Ce("span", { children: Q - 1 }),
|
|
21048
21054
|
"个节点"
|
|
21049
21055
|
] }),
|
|
21050
21056
|
/* @__PURE__ */ dn("a", { className: Pn.btn, onClick: j, children: [
|
|
@@ -21058,13 +21064,13 @@ const NN = (v) => {
|
|
|
21058
21064
|
{
|
|
21059
21065
|
className: $p(
|
|
21060
21066
|
Pn.item,
|
|
21061
|
-
|
|
21067
|
+
Q === G + H ? Pn.itemActive : Q > G + H ? Pn.itemDone : Pn.itemUnDo
|
|
21062
21068
|
),
|
|
21063
21069
|
children: [
|
|
21064
21070
|
/* @__PURE__ */ Ce("div", { className: Pn.tail }),
|
|
21065
21071
|
/* @__PURE__ */ Ce("div", { className: Pn.node }),
|
|
21066
21072
|
/* @__PURE__ */ dn("div", { className: Pn.content, children: [
|
|
21067
|
-
_ ? _(K, G, A ?
|
|
21073
|
+
_ ? _(K, G, A ? Q : Q - H) : /* @__PURE__ */ dn(Xm, { children: [
|
|
21068
21074
|
/* @__PURE__ */ Ce("div", { className: Pn.title, children: K.PNName }),
|
|
21069
21075
|
/* @__PURE__ */ dn("div", { className: Pn.dateWrapper, children: [
|
|
21070
21076
|
K.PlanFinishDate && /* @__PURE__ */ dn("span", { children: [
|
|
@@ -21078,7 +21084,7 @@ const NN = (v) => {
|
|
|
21078
21084
|
] }),
|
|
21079
21085
|
K.Remark && /* @__PURE__ */ Ce("div", { className: Pn.remark, children: K.Remark })
|
|
21080
21086
|
] }),
|
|
21081
|
-
A &&
|
|
21087
|
+
A && Q - 1 === G && /* @__PURE__ */ dn("a", { className: Pn.btn, onClick: () => S(!1), children: [
|
|
21082
21088
|
"收起节点 ",
|
|
21083
21089
|
/* @__PURE__ */ Ce(IO, {})
|
|
21084
21090
|
] })
|
|
@@ -21089,7 +21095,7 @@ const NN = (v) => {
|
|
|
21089
21095
|
))
|
|
21090
21096
|
] });
|
|
21091
21097
|
}, dM = (v) => {
|
|
21092
|
-
const { current: g, data: p, rowKey: R, renderContent: _, currentIndex: A, ...
|
|
21098
|
+
const { current: g, data: p, rowKey: R, renderContent: _, currentIndex: A, ...S } = v;
|
|
21093
21099
|
return (() => {
|
|
21094
21100
|
sw.info({
|
|
21095
21101
|
icon: null,
|
|
@@ -21108,7 +21114,7 @@ const NN = (v) => {
|
|
|
21108
21114
|
closable: !0,
|
|
21109
21115
|
footer: null,
|
|
21110
21116
|
maskClosable: !0,
|
|
21111
|
-
...
|
|
21117
|
+
...S
|
|
21112
21118
|
});
|
|
21113
21119
|
})(), null;
|
|
21114
21120
|
}, QN = (v, g) => {
|
|
@@ -21186,8 +21192,8 @@ class KN {
|
|
|
21186
21192
|
for (let _ = 1; _ <= 4; _++) {
|
|
21187
21193
|
const A = R[this.randomNum(0, R.length)];
|
|
21188
21194
|
this.options.code += A, p.font = "20px SimHei", p.fillStyle = this.randomColor(50, 160), p.shadowBlur = this.randomNum(-3, 3), p.shadowColor = "rgba(0, 0, 0, 0.3)";
|
|
21189
|
-
const
|
|
21190
|
-
p.translate(
|
|
21195
|
+
const S = Number(this.options.width) / 5 * _, Q = Number(this.options.height) / 2, H = this.randomNum(-30, 30);
|
|
21196
|
+
p.translate(S, Q), p.rotate(H * Math.PI / 180), p.fillText(A, 0, 0), p.rotate(-H * Math.PI / 180), p.translate(-S, -Q);
|
|
21191
21197
|
}
|
|
21192
21198
|
for (let _ = 0; _ < 2; _++)
|
|
21193
21199
|
p.strokeStyle = this.randomColor(40, 180), p.beginPath(), p.moveTo(this.randomNum(0, Number(this.options.width) / 2), this.randomNum(0, Number(this.options.height) / 2)), p.lineTo(this.randomNum(0, Number(this.options.width) / 2), this.randomNum(0, Number(this.options.height))), p.stroke();
|