@justeattakeaway/pie-button 0.16.0 → 0.16.1
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/.turbo/turbo-build.log +5 -5
- package/CHANGELOG.md +6 -0
- package/README.md +52 -44
- package/dist/react.js +209 -223
- package/dist/types/packages/components/pie-button/src/defs.d.ts +25 -3
- package/dist/types/packages/components/pie-button/src/defs.d.ts.map +1 -1
- package/dist/types/packages/components/pie-button/src/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/defs.ts +25 -3
- package/src/index.ts +0 -1
- package/test/accessibility/pie-button.spec.ts +7 -8
- package/test/component/pie-button.spec.ts +7 -4
- package/vite.config.js +1 -1
package/dist/react.js
CHANGED
|
@@ -1,34 +1,27 @@
|
|
|
1
|
-
import { PieButton as
|
|
1
|
+
import { PieButton as Nr } from "./index.js";
|
|
2
2
|
import "lit";
|
|
3
3
|
import "lit/decorators.js";
|
|
4
4
|
import "lit/decorators/property.js";
|
|
5
|
-
function
|
|
5
|
+
function Fr(g, c) {
|
|
6
6
|
for (var U = 0; U < c.length; U++) {
|
|
7
7
|
const T = c[U];
|
|
8
8
|
if (typeof T != "string" && !Array.isArray(T)) {
|
|
9
9
|
for (const A in T)
|
|
10
|
-
if (A !== "default" && !(A in
|
|
10
|
+
if (A !== "default" && !(A in g)) {
|
|
11
11
|
const k = Object.getOwnPropertyDescriptor(T, A);
|
|
12
|
-
k && Object.defineProperty(
|
|
12
|
+
k && Object.defineProperty(g, A, k.get ? k : {
|
|
13
13
|
enumerable: !0,
|
|
14
14
|
get: () => T[A]
|
|
15
15
|
});
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
-
return Object.freeze(Object.defineProperty(
|
|
19
|
+
return Object.freeze(Object.defineProperty(g, Symbol.toStringTag, { value: "Module" }));
|
|
20
20
|
}
|
|
21
|
-
function
|
|
22
|
-
return
|
|
21
|
+
function Lr(g) {
|
|
22
|
+
return g && g.__esModule && Object.prototype.hasOwnProperty.call(g, "default") ? g.default : g;
|
|
23
23
|
}
|
|
24
|
-
var
|
|
25
|
-
get exports() {
|
|
26
|
-
return Te;
|
|
27
|
-
},
|
|
28
|
-
set exports(h) {
|
|
29
|
-
Te = h;
|
|
30
|
-
}
|
|
31
|
-
}, p = {};
|
|
24
|
+
var Ve = { exports: {} }, p = {};
|
|
32
25
|
/**
|
|
33
26
|
* @license React
|
|
34
27
|
* react.production.min.js
|
|
@@ -43,7 +36,7 @@ function Mr() {
|
|
|
43
36
|
if (Ct)
|
|
44
37
|
return p;
|
|
45
38
|
Ct = 1;
|
|
46
|
-
var
|
|
39
|
+
var g = Symbol.for("react.element"), c = Symbol.for("react.portal"), U = Symbol.for("react.fragment"), T = Symbol.for("react.strict_mode"), A = Symbol.for("react.profiler"), k = Symbol.for("react.provider"), V = Symbol.for("react.context"), I = Symbol.for("react.forward_ref"), z = Symbol.for("react.suspense"), F = Symbol.for("react.memo"), N = Symbol.for("react.lazy"), H = Symbol.iterator;
|
|
47
40
|
function J(r) {
|
|
48
41
|
return r === null || typeof r != "object" ? null : (r = H && r[H] || r["@@iterator"], typeof r == "function" ? r : null);
|
|
49
42
|
}
|
|
@@ -73,10 +66,10 @@ function Mr() {
|
|
|
73
66
|
K.constructor = W, P(K, Y.prototype), K.isPureReactComponent = !0;
|
|
74
67
|
var Q = Array.isArray, j = Object.prototype.hasOwnProperty, B = { current: null }, X = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
75
68
|
function te(r, u, d) {
|
|
76
|
-
var
|
|
69
|
+
var h, v = {}, _ = null, S = null;
|
|
77
70
|
if (u != null)
|
|
78
|
-
for (
|
|
79
|
-
j.call(u,
|
|
71
|
+
for (h in u.ref !== void 0 && (S = u.ref), u.key !== void 0 && (_ = "" + u.key), u)
|
|
72
|
+
j.call(u, h) && !X.hasOwnProperty(h) && (v[h] = u[h]);
|
|
80
73
|
var b = arguments.length - 2;
|
|
81
74
|
if (b === 1)
|
|
82
75
|
v.children = d;
|
|
@@ -86,17 +79,17 @@ function Mr() {
|
|
|
86
79
|
v.children = E;
|
|
87
80
|
}
|
|
88
81
|
if (r && r.defaultProps)
|
|
89
|
-
for (
|
|
90
|
-
v[
|
|
91
|
-
return { $$typeof:
|
|
82
|
+
for (h in b = r.defaultProps, b)
|
|
83
|
+
v[h] === void 0 && (v[h] = b[h]);
|
|
84
|
+
return { $$typeof: g, type: r, key: _, ref: S, props: v, _owner: B.current };
|
|
92
85
|
}
|
|
93
86
|
function pe(r, u) {
|
|
94
|
-
return { $$typeof:
|
|
87
|
+
return { $$typeof: g, type: r.type, key: u, ref: r.ref, props: r.props, _owner: r._owner };
|
|
95
88
|
}
|
|
96
89
|
function ie(r) {
|
|
97
|
-
return typeof r == "object" && r !== null && r.$$typeof ===
|
|
90
|
+
return typeof r == "object" && r !== null && r.$$typeof === g;
|
|
98
91
|
}
|
|
99
|
-
function
|
|
92
|
+
function Te(r) {
|
|
100
93
|
var u = { "=": "=0", ":": "=2" };
|
|
101
94
|
return "$" + r.replace(/[=:]/g, function(d) {
|
|
102
95
|
return u[d];
|
|
@@ -104,9 +97,9 @@ function Mr() {
|
|
|
104
97
|
}
|
|
105
98
|
var ve = /\/+/g;
|
|
106
99
|
function se(r, u) {
|
|
107
|
-
return typeof r == "object" && r !== null && r.key != null ?
|
|
100
|
+
return typeof r == "object" && r !== null && r.key != null ? Te("" + r.key) : u.toString(36);
|
|
108
101
|
}
|
|
109
|
-
function ne(r, u, d,
|
|
102
|
+
function ne(r, u, d, h, v) {
|
|
110
103
|
var _ = typeof r;
|
|
111
104
|
(_ === "undefined" || _ === "boolean") && (r = null);
|
|
112
105
|
var S = !1;
|
|
@@ -120,24 +113,24 @@ function Mr() {
|
|
|
120
113
|
break;
|
|
121
114
|
case "object":
|
|
122
115
|
switch (r.$$typeof) {
|
|
123
|
-
case
|
|
116
|
+
case g:
|
|
124
117
|
case c:
|
|
125
118
|
S = !0;
|
|
126
119
|
}
|
|
127
120
|
}
|
|
128
121
|
if (S)
|
|
129
|
-
return S = r, v = v(S), r =
|
|
122
|
+
return S = r, v = v(S), r = h === "" ? "." + se(S, 0) : h, Q(v) ? (d = "", r != null && (d = r.replace(ve, "$&/") + "/"), ne(v, u, d, "", function(M) {
|
|
130
123
|
return M;
|
|
131
124
|
})) : v != null && (ie(v) && (v = pe(v, d + (!v.key || S && S.key === v.key ? "" : ("" + v.key).replace(ve, "$&/") + "/") + r)), u.push(v)), 1;
|
|
132
|
-
if (S = 0,
|
|
125
|
+
if (S = 0, h = h === "" ? "." : h + ":", Q(r))
|
|
133
126
|
for (var b = 0; b < r.length; b++) {
|
|
134
127
|
_ = r[b];
|
|
135
|
-
var E =
|
|
128
|
+
var E = h + se(_, b);
|
|
136
129
|
S += ne(_, u, d, E, v);
|
|
137
130
|
}
|
|
138
131
|
else if (E = J(r), typeof E == "function")
|
|
139
132
|
for (r = E.call(r), b = 0; !(_ = r.next()).done; )
|
|
140
|
-
_ = _.value, E =
|
|
133
|
+
_ = _.value, E = h + se(_, b++), S += ne(_, u, d, E, v);
|
|
141
134
|
else if (_ === "object")
|
|
142
135
|
throw u = String(r), Error("Objects are not valid as a React child (found: " + (u === "[object Object]" ? "object with keys {" + Object.keys(r).join(", ") + "}" : u) + "). If you meant to render a collection of children, use an array instead.");
|
|
143
136
|
return S;
|
|
@@ -145,10 +138,10 @@ function Mr() {
|
|
|
145
138
|
function q(r, u, d) {
|
|
146
139
|
if (r == null)
|
|
147
140
|
return r;
|
|
148
|
-
var
|
|
149
|
-
return ne(r,
|
|
141
|
+
var h = [], v = 0;
|
|
142
|
+
return ne(r, h, "", "", function(_) {
|
|
150
143
|
return u.call(d, _, v++);
|
|
151
|
-
}),
|
|
144
|
+
}), h;
|
|
152
145
|
}
|
|
153
146
|
function Z(r) {
|
|
154
147
|
if (r._status === -1) {
|
|
@@ -184,23 +177,23 @@ function Mr() {
|
|
|
184
177
|
} }, p.Component = Y, p.Fragment = U, p.Profiler = A, p.PureComponent = W, p.StrictMode = T, p.Suspense = z, p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ye, p.cloneElement = function(r, u, d) {
|
|
185
178
|
if (r == null)
|
|
186
179
|
throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + r + ".");
|
|
187
|
-
var
|
|
180
|
+
var h = P({}, r.props), v = r.key, _ = r.ref, S = r._owner;
|
|
188
181
|
if (u != null) {
|
|
189
182
|
if (u.ref !== void 0 && (_ = u.ref, S = B.current), u.key !== void 0 && (v = "" + u.key), r.type && r.type.defaultProps)
|
|
190
183
|
var b = r.type.defaultProps;
|
|
191
184
|
for (E in u)
|
|
192
|
-
j.call(u, E) && !X.hasOwnProperty(E) && (
|
|
185
|
+
j.call(u, E) && !X.hasOwnProperty(E) && (h[E] = u[E] === void 0 && b !== void 0 ? b[E] : u[E]);
|
|
193
186
|
}
|
|
194
187
|
var E = arguments.length - 2;
|
|
195
188
|
if (E === 1)
|
|
196
|
-
|
|
189
|
+
h.children = d;
|
|
197
190
|
else if (1 < E) {
|
|
198
191
|
b = Array(E);
|
|
199
192
|
for (var M = 0; M < E; M++)
|
|
200
193
|
b[M] = arguments[M + 2];
|
|
201
|
-
|
|
194
|
+
h.children = b;
|
|
202
195
|
}
|
|
203
|
-
return { $$typeof:
|
|
196
|
+
return { $$typeof: g, type: r.type, key: v, ref: _, props: h, _owner: S };
|
|
204
197
|
}, p.createContext = function(r) {
|
|
205
198
|
return r = { $$typeof: V, _currentValue: r, _currentValue2: r, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, r.Provider = { $$typeof: k, _context: r }, r.Consumer = r;
|
|
206
199
|
}, p.createElement = te, p.createFactory = function(r) {
|
|
@@ -255,14 +248,7 @@ function Mr() {
|
|
|
255
248
|
return f.current.useTransition();
|
|
256
249
|
}, p.version = "18.2.0", p;
|
|
257
250
|
}
|
|
258
|
-
var de = {
|
|
259
|
-
get exports() {
|
|
260
|
-
return de;
|
|
261
|
-
},
|
|
262
|
-
set exports(h) {
|
|
263
|
-
de = h;
|
|
264
|
-
}
|
|
265
|
-
};
|
|
251
|
+
var de = { exports: {} };
|
|
266
252
|
/**
|
|
267
253
|
* @license React
|
|
268
254
|
* react.development.js
|
|
@@ -272,9 +258,10 @@ var de = {}, xr = {
|
|
|
272
258
|
* This source code is licensed under the MIT license found in the
|
|
273
259
|
* LICENSE file in the root directory of this source tree.
|
|
274
260
|
*/
|
|
261
|
+
de.exports;
|
|
275
262
|
var St;
|
|
276
|
-
function
|
|
277
|
-
return St || (St = 1, function(
|
|
263
|
+
function xr() {
|
|
264
|
+
return St || (St = 1, function(g, c) {
|
|
278
265
|
process.env.NODE_ENV !== "production" && function() {
|
|
279
266
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
|
280
267
|
var U = "18.2.0", T = Symbol.for("react.element"), A = Symbol.for("react.portal"), k = Symbol.for("react.fragment"), V = Symbol.for("react.strict_mode"), I = Symbol.for("react.profiler"), z = Symbol.for("react.provider"), F = Symbol.for("react.context"), N = Symbol.for("react.forward_ref"), H = Symbol.for("react.suspense"), J = Symbol.for("react.suspense_list"), D = Symbol.for("react.memo"), P = Symbol.for("react.lazy"), G = Symbol.for("react.offscreen"), Y = Symbol.iterator, L = "@@iterator";
|
|
@@ -315,7 +302,7 @@ function Ur() {
|
|
|
315
302
|
var t = X.getCurrentStack;
|
|
316
303
|
return t && (e += t() || ""), e;
|
|
317
304
|
};
|
|
318
|
-
var ie = !1,
|
|
305
|
+
var ie = !1, Te = !1, ve = !1, se = !1, ne = !1, q = {
|
|
319
306
|
ReactCurrentDispatcher: K,
|
|
320
307
|
ReactCurrentBatchConfig: Q,
|
|
321
308
|
ReactCurrentOwner: B
|
|
@@ -414,10 +401,10 @@ function Ur() {
|
|
|
414
401
|
enqueueSetState: function(e, t, n, a) {
|
|
415
402
|
r(e, "setState");
|
|
416
403
|
}
|
|
417
|
-
}, d = Object.assign,
|
|
418
|
-
Object.freeze(
|
|
404
|
+
}, d = Object.assign, h = {};
|
|
405
|
+
Object.freeze(h);
|
|
419
406
|
function v(e, t, n) {
|
|
420
|
-
this.props = e, this.context = t, this.refs =
|
|
407
|
+
this.props = e, this.context = t, this.refs = h, this.updater = n || u;
|
|
421
408
|
}
|
|
422
409
|
v.prototype.isReactComponent = {}, v.prototype.setState = function(e, t) {
|
|
423
410
|
if (typeof e != "object" && typeof e != "function" && e != null)
|
|
@@ -444,27 +431,27 @@ function Ur() {
|
|
|
444
431
|
}
|
|
445
432
|
E.prototype = v.prototype;
|
|
446
433
|
function M(e, t, n) {
|
|
447
|
-
this.props = e, this.context = t, this.refs =
|
|
434
|
+
this.props = e, this.context = t, this.refs = h, this.updater = n || u;
|
|
448
435
|
}
|
|
449
|
-
var
|
|
450
|
-
|
|
451
|
-
function
|
|
436
|
+
var ke = M.prototype = new E();
|
|
437
|
+
ke.constructor = M, d(ke, v.prototype), ke.isPureReactComponent = !0;
|
|
438
|
+
function kt() {
|
|
452
439
|
var e = {
|
|
453
440
|
current: null
|
|
454
441
|
};
|
|
455
442
|
return Object.seal(e), e;
|
|
456
443
|
}
|
|
457
|
-
var
|
|
444
|
+
var Pt = Array.isArray;
|
|
458
445
|
function he(e) {
|
|
459
|
-
return
|
|
446
|
+
return Pt(e);
|
|
460
447
|
}
|
|
461
|
-
function
|
|
448
|
+
function jt(e) {
|
|
462
449
|
{
|
|
463
450
|
var t = typeof Symbol == "function" && Symbol.toStringTag, n = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
464
451
|
return n;
|
|
465
452
|
}
|
|
466
453
|
}
|
|
467
|
-
function
|
|
454
|
+
function At(e) {
|
|
468
455
|
try {
|
|
469
456
|
return We(e), !1;
|
|
470
457
|
} catch {
|
|
@@ -475,10 +462,10 @@ function Ur() {
|
|
|
475
462
|
return "" + e;
|
|
476
463
|
}
|
|
477
464
|
function me(e) {
|
|
478
|
-
if (
|
|
479
|
-
return f("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
465
|
+
if (At(e))
|
|
466
|
+
return f("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", jt(e)), We(e);
|
|
480
467
|
}
|
|
481
|
-
function
|
|
468
|
+
function Dt(e, t, n) {
|
|
482
469
|
var a = e.displayName;
|
|
483
470
|
if (a)
|
|
484
471
|
return a;
|
|
@@ -518,7 +505,7 @@ function Ur() {
|
|
|
518
505
|
var n = e;
|
|
519
506
|
return Ye(n._context) + ".Provider";
|
|
520
507
|
case N:
|
|
521
|
-
return
|
|
508
|
+
return Dt(e, e.render, "ForwardRef");
|
|
522
509
|
case D:
|
|
523
510
|
var a = e.displayName || null;
|
|
524
511
|
return a !== null ? a : ee(e.type) || "Memo";
|
|
@@ -538,8 +525,8 @@ function Ur() {
|
|
|
538
525
|
ref: !0,
|
|
539
526
|
__self: !0,
|
|
540
527
|
__source: !0
|
|
541
|
-
}, ze, He,
|
|
542
|
-
|
|
528
|
+
}, ze, He, Pe;
|
|
529
|
+
Pe = {};
|
|
543
530
|
function qe(e) {
|
|
544
531
|
if (ce.call(e, "ref")) {
|
|
545
532
|
var t = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
@@ -556,7 +543,7 @@ function Ur() {
|
|
|
556
543
|
}
|
|
557
544
|
return e.key !== void 0;
|
|
558
545
|
}
|
|
559
|
-
function
|
|
546
|
+
function $t(e, t) {
|
|
560
547
|
var n = function() {
|
|
561
548
|
ze || (ze = !0, f("%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)", t));
|
|
562
549
|
};
|
|
@@ -565,7 +552,7 @@ function Ur() {
|
|
|
565
552
|
configurable: !0
|
|
566
553
|
});
|
|
567
554
|
}
|
|
568
|
-
function
|
|
555
|
+
function It(e, t) {
|
|
569
556
|
var n = function() {
|
|
570
557
|
He || (He = !0, f("%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)", t));
|
|
571
558
|
};
|
|
@@ -574,13 +561,13 @@ function Ur() {
|
|
|
574
561
|
configurable: !0
|
|
575
562
|
});
|
|
576
563
|
}
|
|
577
|
-
function
|
|
564
|
+
function Nt(e) {
|
|
578
565
|
if (typeof e.ref == "string" && B.current && e.__self && B.current.stateNode !== e.__self) {
|
|
579
566
|
var t = ee(B.current.type);
|
|
580
|
-
|
|
567
|
+
Pe[t] || (f('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', t, e.ref), Pe[t] = !0);
|
|
581
568
|
}
|
|
582
569
|
}
|
|
583
|
-
var
|
|
570
|
+
var je = function(e, t, n, a, o, s, i) {
|
|
584
571
|
var l = {
|
|
585
572
|
// This tag allows us to uniquely identify this as a React Element
|
|
586
573
|
$$typeof: T,
|
|
@@ -609,18 +596,18 @@ function Ur() {
|
|
|
609
596
|
value: o
|
|
610
597
|
}), Object.freeze && (Object.freeze(l.props), Object.freeze(l)), l;
|
|
611
598
|
};
|
|
612
|
-
function
|
|
599
|
+
function Ft(e, t, n) {
|
|
613
600
|
var a, o = {}, s = null, i = null, l = null, y = null;
|
|
614
601
|
if (t != null) {
|
|
615
|
-
qe(t) && (i = t.ref,
|
|
602
|
+
qe(t) && (i = t.ref, Nt(t)), Ge(t) && (me(t.key), s = "" + t.key), l = t.__self === void 0 ? null : t.__self, y = t.__source === void 0 ? null : t.__source;
|
|
616
603
|
for (a in t)
|
|
617
604
|
ce.call(t, a) && !Be.hasOwnProperty(a) && (o[a] = t[a]);
|
|
618
605
|
}
|
|
619
|
-
var
|
|
620
|
-
if (
|
|
606
|
+
var m = arguments.length - 2;
|
|
607
|
+
if (m === 1)
|
|
621
608
|
o.children = n;
|
|
622
|
-
else if (
|
|
623
|
-
for (var R = Array(
|
|
609
|
+
else if (m > 1) {
|
|
610
|
+
for (var R = Array(m), w = 0; w < m; w++)
|
|
624
611
|
R[w] = arguments[w + 2];
|
|
625
612
|
Object.freeze && Object.freeze(R), o.children = R;
|
|
626
613
|
}
|
|
@@ -631,20 +618,20 @@ function Ur() {
|
|
|
631
618
|
}
|
|
632
619
|
if (s || i) {
|
|
633
620
|
var O = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
634
|
-
s &&
|
|
621
|
+
s && $t(o, O), i && It(o, O);
|
|
635
622
|
}
|
|
636
|
-
return
|
|
623
|
+
return je(e, s, i, l, y, B.current, o);
|
|
637
624
|
}
|
|
638
|
-
function
|
|
639
|
-
var n =
|
|
625
|
+
function Lt(e, t) {
|
|
626
|
+
var n = je(e.type, t, e.ref, e._self, e._source, e._owner, e.props);
|
|
640
627
|
return n;
|
|
641
628
|
}
|
|
642
|
-
function
|
|
629
|
+
function Mt(e, t, n) {
|
|
643
630
|
if (e == null)
|
|
644
631
|
throw new Error("React.cloneElement(...): The argument must be a React element, but you passed " + e + ".");
|
|
645
|
-
var a, o = d({}, e.props), s = e.key, i = e.ref, l = e._self, y = e._source,
|
|
632
|
+
var a, o = d({}, e.props), s = e.key, i = e.ref, l = e._self, y = e._source, m = e._owner;
|
|
646
633
|
if (t != null) {
|
|
647
|
-
qe(t) && (i = t.ref,
|
|
634
|
+
qe(t) && (i = t.ref, m = B.current), Ge(t) && (me(t.key), s = "" + t.key);
|
|
648
635
|
var R;
|
|
649
636
|
e.type && e.type.defaultProps && (R = e.type.defaultProps);
|
|
650
637
|
for (a in t)
|
|
@@ -658,13 +645,13 @@ function Ur() {
|
|
|
658
645
|
C[O] = arguments[O + 2];
|
|
659
646
|
o.children = C;
|
|
660
647
|
}
|
|
661
|
-
return
|
|
648
|
+
return je(e.type, s, i, l, y, m, o);
|
|
662
649
|
}
|
|
663
650
|
function ae(e) {
|
|
664
651
|
return typeof e == "object" && e !== null && e.$$typeof === T;
|
|
665
652
|
}
|
|
666
|
-
var Ke = ".",
|
|
667
|
-
function
|
|
653
|
+
var Ke = ".", xt = ":";
|
|
654
|
+
function Ut(e) {
|
|
668
655
|
var t = /[=:]/g, n = {
|
|
669
656
|
"=": "=0",
|
|
670
657
|
":": "=2"
|
|
@@ -673,12 +660,12 @@ function Ur() {
|
|
|
673
660
|
});
|
|
674
661
|
return "$" + a;
|
|
675
662
|
}
|
|
676
|
-
var Qe = !1,
|
|
663
|
+
var Qe = !1, Vt = /\/+/g;
|
|
677
664
|
function Je(e) {
|
|
678
|
-
return e.replace(
|
|
665
|
+
return e.replace(Vt, "$&/");
|
|
679
666
|
}
|
|
680
|
-
function
|
|
681
|
-
return typeof e == "object" && e !== null && e.key != null ? (me(e.key),
|
|
667
|
+
function Ae(e, t) {
|
|
668
|
+
return typeof e == "object" && e !== null && e.key != null ? (me(e.key), Ut("" + e.key)) : t.toString(36);
|
|
682
669
|
}
|
|
683
670
|
function ge(e, t, n, a, o) {
|
|
684
671
|
var s = typeof e;
|
|
@@ -700,14 +687,14 @@ function Ur() {
|
|
|
700
687
|
}
|
|
701
688
|
}
|
|
702
689
|
if (i) {
|
|
703
|
-
var l = e, y = o(l),
|
|
690
|
+
var l = e, y = o(l), m = a === "" ? Ke + Ae(l, 0) : a;
|
|
704
691
|
if (he(y)) {
|
|
705
692
|
var R = "";
|
|
706
|
-
|
|
707
|
-
return
|
|
693
|
+
m != null && (R = Je(m) + "/"), ge(y, t, R, "", function(Ir) {
|
|
694
|
+
return Ir;
|
|
708
695
|
});
|
|
709
696
|
} else
|
|
710
|
-
y != null && (ae(y) && (y.key && (!l || l.key !== y.key) && me(y.key), y =
|
|
697
|
+
y != null && (ae(y) && (y.key && (!l || l.key !== y.key) && me(y.key), y = Lt(
|
|
711
698
|
y,
|
|
712
699
|
// Keep both the (mapped) and old keys if they differ, just as
|
|
713
700
|
// traverseAllChildren used to do for objects as children
|
|
@@ -716,21 +703,21 @@ function Ur() {
|
|
|
716
703
|
// $FlowFixMe Flow incorrectly thinks existing element's key can be a number
|
|
717
704
|
// eslint-disable-next-line react-internal/safe-string-coercion
|
|
718
705
|
Je("" + y.key) + "/"
|
|
719
|
-
) : "") +
|
|
706
|
+
) : "") + m
|
|
720
707
|
)), t.push(y));
|
|
721
708
|
return 1;
|
|
722
709
|
}
|
|
723
|
-
var w, C, O = 0, $ = a === "" ? Ke : a +
|
|
710
|
+
var w, C, O = 0, $ = a === "" ? Ke : a + xt;
|
|
724
711
|
if (he(e))
|
|
725
712
|
for (var Oe = 0; Oe < e.length; Oe++)
|
|
726
|
-
w = e[Oe], C = $ +
|
|
713
|
+
w = e[Oe], C = $ + Ae(w, Oe), O += ge(w, t, n, C, o);
|
|
727
714
|
else {
|
|
728
|
-
var
|
|
729
|
-
if (typeof
|
|
715
|
+
var Ue = W(e);
|
|
716
|
+
if (typeof Ue == "function") {
|
|
730
717
|
var Et = e;
|
|
731
|
-
|
|
732
|
-
for (var
|
|
733
|
-
w = Rt.value, C = $ +
|
|
718
|
+
Ue === Et.entries && (Qe || Z("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), Qe = !0);
|
|
719
|
+
for (var Dr = Ue.call(Et), Rt, $r = 0; !(Rt = Dr.next()).done; )
|
|
720
|
+
w = Rt.value, C = $ + Ae(w, $r++), O += ge(w, t, n, C, o);
|
|
734
721
|
} else if (s === "object") {
|
|
735
722
|
var wt = String(e);
|
|
736
723
|
throw new Error("Objects are not valid as a React child (found: " + (wt === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : wt) + "). If you meant to render a collection of children, use an array instead.");
|
|
@@ -746,28 +733,28 @@ function Ur() {
|
|
|
746
733
|
return t.call(n, s, o++);
|
|
747
734
|
}), a;
|
|
748
735
|
}
|
|
749
|
-
function
|
|
736
|
+
function Wt(e) {
|
|
750
737
|
var t = 0;
|
|
751
738
|
return _e(e, function() {
|
|
752
739
|
t++;
|
|
753
740
|
}), t;
|
|
754
741
|
}
|
|
755
|
-
function
|
|
742
|
+
function Yt(e, t, n) {
|
|
756
743
|
_e(e, function() {
|
|
757
744
|
t.apply(this, arguments);
|
|
758
745
|
}, n);
|
|
759
746
|
}
|
|
760
|
-
function
|
|
747
|
+
function Bt(e) {
|
|
761
748
|
return _e(e, function(t) {
|
|
762
749
|
return t;
|
|
763
750
|
}) || [];
|
|
764
751
|
}
|
|
765
|
-
function
|
|
752
|
+
function zt(e) {
|
|
766
753
|
if (!ae(e))
|
|
767
754
|
throw new Error("React.Children.only expected to receive a single React element child.");
|
|
768
755
|
return e;
|
|
769
756
|
}
|
|
770
|
-
function
|
|
757
|
+
function Ht(e) {
|
|
771
758
|
var t = {
|
|
772
759
|
$$typeof: F,
|
|
773
760
|
// As a workaround to support multiple concurrent renderers, we categorize
|
|
@@ -847,23 +834,23 @@ function Ur() {
|
|
|
847
834
|
}
|
|
848
835
|
return t._currentRenderer = null, t._currentRenderer2 = null, t;
|
|
849
836
|
}
|
|
850
|
-
var fe = -1,
|
|
851
|
-
function
|
|
837
|
+
var fe = -1, De = 0, Xe = 1, qt = 2;
|
|
838
|
+
function Gt(e) {
|
|
852
839
|
if (e._status === fe) {
|
|
853
840
|
var t = e._result, n = t();
|
|
854
841
|
if (n.then(function(s) {
|
|
855
|
-
if (e._status ===
|
|
842
|
+
if (e._status === De || e._status === fe) {
|
|
856
843
|
var i = e;
|
|
857
844
|
i._status = Xe, i._result = s;
|
|
858
845
|
}
|
|
859
846
|
}, function(s) {
|
|
860
|
-
if (e._status ===
|
|
847
|
+
if (e._status === De || e._status === fe) {
|
|
861
848
|
var i = e;
|
|
862
|
-
i._status =
|
|
849
|
+
i._status = qt, i._result = s;
|
|
863
850
|
}
|
|
864
851
|
}), e._status === fe) {
|
|
865
852
|
var a = e;
|
|
866
|
-
a._status =
|
|
853
|
+
a._status = De, a._result = n;
|
|
867
854
|
}
|
|
868
855
|
}
|
|
869
856
|
if (e._status === Xe) {
|
|
@@ -880,7 +867,7 @@ Your code should look like:
|
|
|
880
867
|
} else
|
|
881
868
|
throw e._result;
|
|
882
869
|
}
|
|
883
|
-
function
|
|
870
|
+
function Kt(e) {
|
|
884
871
|
var t = {
|
|
885
872
|
// We use these fields to store the result.
|
|
886
873
|
_status: fe,
|
|
@@ -888,7 +875,7 @@ Your code should look like:
|
|
|
888
875
|
}, n = {
|
|
889
876
|
$$typeof: P,
|
|
890
877
|
_payload: t,
|
|
891
|
-
_init:
|
|
878
|
+
_init: Gt
|
|
892
879
|
};
|
|
893
880
|
{
|
|
894
881
|
var a, o;
|
|
@@ -919,7 +906,7 @@ Your code should look like:
|
|
|
919
906
|
}
|
|
920
907
|
return n;
|
|
921
908
|
}
|
|
922
|
-
function
|
|
909
|
+
function Qt(e) {
|
|
923
910
|
e != null && e.$$typeof === D ? f("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).") : typeof e != "function" ? f("forwardRef requires a render function but was given %s.", e === null ? "null" : typeof e) : e.length !== 0 && e.length !== 2 && f("forwardRef render functions accept exactly two parameters: props and ref. %s", e.length === 1 ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined."), e != null && (e.defaultProps != null || e.propTypes != null) && f("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");
|
|
924
911
|
var t = {
|
|
925
912
|
$$typeof: N,
|
|
@@ -943,13 +930,13 @@ Your code should look like:
|
|
|
943
930
|
var Ze;
|
|
944
931
|
Ze = Symbol.for("react.module.reference");
|
|
945
932
|
function et(e) {
|
|
946
|
-
return !!(typeof e == "string" || typeof e == "function" || e === k || e === I || ne || e === V || e === H || e === J || se || e === G || ie ||
|
|
933
|
+
return !!(typeof e == "string" || typeof e == "function" || e === k || e === I || ne || e === V || e === H || e === J || se || e === G || ie || Te || ve || typeof e == "object" && e !== null && (e.$$typeof === P || e.$$typeof === D || e.$$typeof === z || e.$$typeof === F || e.$$typeof === N || // This needs to include all possible module reference object
|
|
947
934
|
// types supported by any Flight configuration anywhere since
|
|
948
935
|
// we don't know which Flight build this will end up being used
|
|
949
936
|
// with.
|
|
950
937
|
e.$$typeof === Ze || e.getModuleId !== void 0));
|
|
951
938
|
}
|
|
952
|
-
function
|
|
939
|
+
function Jt(e, t) {
|
|
953
940
|
et(e) || f("memo: The first argument must be a component. Instead received: %s", e === null ? "null" : typeof e);
|
|
954
941
|
var n = {
|
|
955
942
|
$$typeof: D,
|
|
@@ -979,7 +966,7 @@ Your code should look like:
|
|
|
979
966
|
3. You might have more than one copy of React in the same app
|
|
980
967
|
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`), e;
|
|
981
968
|
}
|
|
982
|
-
function
|
|
969
|
+
function Xt(e) {
|
|
983
970
|
var t = x();
|
|
984
971
|
if (e._context !== void 0) {
|
|
985
972
|
var n = e._context;
|
|
@@ -987,61 +974,61 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
987
974
|
}
|
|
988
975
|
return t.useContext(e);
|
|
989
976
|
}
|
|
990
|
-
function
|
|
977
|
+
function Zt(e) {
|
|
991
978
|
var t = x();
|
|
992
979
|
return t.useState(e);
|
|
993
980
|
}
|
|
994
|
-
function
|
|
981
|
+
function er(e, t, n) {
|
|
995
982
|
var a = x();
|
|
996
983
|
return a.useReducer(e, t, n);
|
|
997
984
|
}
|
|
998
|
-
function
|
|
985
|
+
function tr(e) {
|
|
999
986
|
var t = x();
|
|
1000
987
|
return t.useRef(e);
|
|
1001
988
|
}
|
|
1002
|
-
function
|
|
989
|
+
function rr(e, t) {
|
|
1003
990
|
var n = x();
|
|
1004
991
|
return n.useEffect(e, t);
|
|
1005
992
|
}
|
|
1006
|
-
function
|
|
993
|
+
function nr(e, t) {
|
|
1007
994
|
var n = x();
|
|
1008
995
|
return n.useInsertionEffect(e, t);
|
|
1009
996
|
}
|
|
1010
|
-
function
|
|
997
|
+
function ar(e, t) {
|
|
1011
998
|
var n = x();
|
|
1012
999
|
return n.useLayoutEffect(e, t);
|
|
1013
1000
|
}
|
|
1014
|
-
function
|
|
1001
|
+
function or(e, t) {
|
|
1015
1002
|
var n = x();
|
|
1016
1003
|
return n.useCallback(e, t);
|
|
1017
1004
|
}
|
|
1018
|
-
function
|
|
1005
|
+
function ur(e, t) {
|
|
1019
1006
|
var n = x();
|
|
1020
1007
|
return n.useMemo(e, t);
|
|
1021
1008
|
}
|
|
1022
|
-
function
|
|
1009
|
+
function ir(e, t, n) {
|
|
1023
1010
|
var a = x();
|
|
1024
1011
|
return a.useImperativeHandle(e, t, n);
|
|
1025
1012
|
}
|
|
1026
|
-
function
|
|
1013
|
+
function sr(e, t) {
|
|
1027
1014
|
{
|
|
1028
1015
|
var n = x();
|
|
1029
1016
|
return n.useDebugValue(e, t);
|
|
1030
1017
|
}
|
|
1031
1018
|
}
|
|
1032
|
-
function
|
|
1019
|
+
function cr() {
|
|
1033
1020
|
var e = x();
|
|
1034
1021
|
return e.useTransition();
|
|
1035
1022
|
}
|
|
1036
|
-
function
|
|
1023
|
+
function fr(e) {
|
|
1037
1024
|
var t = x();
|
|
1038
1025
|
return t.useDeferredValue(e);
|
|
1039
1026
|
}
|
|
1040
|
-
function
|
|
1027
|
+
function lr() {
|
|
1041
1028
|
var e = x();
|
|
1042
1029
|
return e.useId();
|
|
1043
1030
|
}
|
|
1044
|
-
function
|
|
1031
|
+
function dr(e, t, n) {
|
|
1045
1032
|
var a = x();
|
|
1046
1033
|
return a.useSyncExternalStore(e, t, n);
|
|
1047
1034
|
}
|
|
@@ -1049,7 +1036,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1049
1036
|
function st() {
|
|
1050
1037
|
}
|
|
1051
1038
|
st.__reactDisabledLog = !0;
|
|
1052
|
-
function
|
|
1039
|
+
function pr() {
|
|
1053
1040
|
{
|
|
1054
1041
|
if (le === 0) {
|
|
1055
1042
|
tt = console.log, rt = console.info, nt = console.warn, at = console.error, ot = console.group, ut = console.groupCollapsed, it = console.groupEnd;
|
|
@@ -1072,7 +1059,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1072
1059
|
le++;
|
|
1073
1060
|
}
|
|
1074
1061
|
}
|
|
1075
|
-
function
|
|
1062
|
+
function vr() {
|
|
1076
1063
|
{
|
|
1077
1064
|
if (le--, le === 0) {
|
|
1078
1065
|
var e = {
|
|
@@ -1107,27 +1094,27 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1107
1094
|
le < 0 && f("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
1108
1095
|
}
|
|
1109
1096
|
}
|
|
1110
|
-
var
|
|
1097
|
+
var $e = q.ReactCurrentDispatcher, Ie;
|
|
1111
1098
|
function be(e, t, n) {
|
|
1112
1099
|
{
|
|
1113
|
-
if (
|
|
1100
|
+
if (Ie === void 0)
|
|
1114
1101
|
try {
|
|
1115
1102
|
throw Error();
|
|
1116
1103
|
} catch (o) {
|
|
1117
1104
|
var a = o.stack.trim().match(/\n( *(at )?)/);
|
|
1118
|
-
|
|
1105
|
+
Ie = a && a[1] || "";
|
|
1119
1106
|
}
|
|
1120
1107
|
return `
|
|
1121
|
-
` +
|
|
1108
|
+
` + Ie + e;
|
|
1122
1109
|
}
|
|
1123
1110
|
}
|
|
1124
|
-
var
|
|
1111
|
+
var Ne = !1, Ee;
|
|
1125
1112
|
{
|
|
1126
|
-
var
|
|
1127
|
-
Ee = new
|
|
1113
|
+
var yr = typeof WeakMap == "function" ? WeakMap : Map;
|
|
1114
|
+
Ee = new yr();
|
|
1128
1115
|
}
|
|
1129
1116
|
function ct(e, t) {
|
|
1130
|
-
if (!e ||
|
|
1117
|
+
if (!e || Ne)
|
|
1131
1118
|
return "";
|
|
1132
1119
|
{
|
|
1133
1120
|
var n = Ee.get(e);
|
|
@@ -1135,11 +1122,11 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1135
1122
|
return n;
|
|
1136
1123
|
}
|
|
1137
1124
|
var a;
|
|
1138
|
-
|
|
1125
|
+
Ne = !0;
|
|
1139
1126
|
var o = Error.prepareStackTrace;
|
|
1140
1127
|
Error.prepareStackTrace = void 0;
|
|
1141
1128
|
var s;
|
|
1142
|
-
s =
|
|
1129
|
+
s = $e.current, $e.current = null, pr();
|
|
1143
1130
|
try {
|
|
1144
1131
|
if (t) {
|
|
1145
1132
|
var i = function() {
|
|
@@ -1176,31 +1163,31 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1176
1163
|
if ($ && a && typeof $.stack == "string") {
|
|
1177
1164
|
for (var l = $.stack.split(`
|
|
1178
1165
|
`), y = a.stack.split(`
|
|
1179
|
-
`),
|
|
1166
|
+
`), m = l.length - 1, R = y.length - 1; m >= 1 && R >= 0 && l[m] !== y[R]; )
|
|
1180
1167
|
R--;
|
|
1181
|
-
for (;
|
|
1182
|
-
if (l[
|
|
1183
|
-
if (
|
|
1168
|
+
for (; m >= 1 && R >= 0; m--, R--)
|
|
1169
|
+
if (l[m] !== y[R]) {
|
|
1170
|
+
if (m !== 1 || R !== 1)
|
|
1184
1171
|
do
|
|
1185
|
-
if (
|
|
1172
|
+
if (m--, R--, R < 0 || l[m] !== y[R]) {
|
|
1186
1173
|
var w = `
|
|
1187
|
-
` + l[
|
|
1174
|
+
` + l[m].replace(" at new ", " at ");
|
|
1188
1175
|
return e.displayName && w.includes("<anonymous>") && (w = w.replace("<anonymous>", e.displayName)), typeof e == "function" && Ee.set(e, w), w;
|
|
1189
1176
|
}
|
|
1190
|
-
while (
|
|
1177
|
+
while (m >= 1 && R >= 0);
|
|
1191
1178
|
break;
|
|
1192
1179
|
}
|
|
1193
1180
|
}
|
|
1194
1181
|
} finally {
|
|
1195
|
-
|
|
1182
|
+
Ne = !1, $e.current = s, vr(), Error.prepareStackTrace = o;
|
|
1196
1183
|
}
|
|
1197
1184
|
var C = e ? e.displayName || e.name : "", O = C ? be(C) : "";
|
|
1198
1185
|
return typeof e == "function" && Ee.set(e, O), O;
|
|
1199
1186
|
}
|
|
1200
|
-
function
|
|
1187
|
+
function hr(e, t, n) {
|
|
1201
1188
|
return ct(e, !1);
|
|
1202
1189
|
}
|
|
1203
|
-
function
|
|
1190
|
+
function mr(e) {
|
|
1204
1191
|
var t = e.prototype;
|
|
1205
1192
|
return !!(t && t.isReactComponent);
|
|
1206
1193
|
}
|
|
@@ -1208,7 +1195,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1208
1195
|
if (e == null)
|
|
1209
1196
|
return "";
|
|
1210
1197
|
if (typeof e == "function")
|
|
1211
|
-
return ct(e,
|
|
1198
|
+
return ct(e, mr(e));
|
|
1212
1199
|
if (typeof e == "string")
|
|
1213
1200
|
return be(e);
|
|
1214
1201
|
switch (e) {
|
|
@@ -1220,7 +1207,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1220
1207
|
if (typeof e == "object")
|
|
1221
1208
|
switch (e.$$typeof) {
|
|
1222
1209
|
case N:
|
|
1223
|
-
return
|
|
1210
|
+
return hr(e.render);
|
|
1224
1211
|
case D:
|
|
1225
1212
|
return Re(e.type, t, n);
|
|
1226
1213
|
case P: {
|
|
@@ -1241,7 +1228,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1241
1228
|
} else
|
|
1242
1229
|
lt.setExtraStackFrame(null);
|
|
1243
1230
|
}
|
|
1244
|
-
function
|
|
1231
|
+
function gr(e, t, n, a, o) {
|
|
1245
1232
|
{
|
|
1246
1233
|
var s = Function.call.bind(ce);
|
|
1247
1234
|
for (var i in e)
|
|
@@ -1253,8 +1240,8 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1253
1240
|
throw y.name = "Invariant Violation", y;
|
|
1254
1241
|
}
|
|
1255
1242
|
l = e[i](t, i, a, n, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1256
|
-
} catch (
|
|
1257
|
-
l =
|
|
1243
|
+
} catch (m) {
|
|
1244
|
+
l = m;
|
|
1258
1245
|
}
|
|
1259
1246
|
l && !(l instanceof Error) && (we(o), f("%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).", a || "React class", n, i, typeof l), we(null)), l instanceof Error && !(l.message in ft) && (ft[l.message] = !0, we(o), f("Failed %s type: %s", n, l.message), we(null));
|
|
1260
1247
|
}
|
|
@@ -1267,8 +1254,8 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1267
1254
|
} else
|
|
1268
1255
|
pe(null);
|
|
1269
1256
|
}
|
|
1270
|
-
var
|
|
1271
|
-
|
|
1257
|
+
var Fe;
|
|
1258
|
+
Fe = !1;
|
|
1272
1259
|
function dt() {
|
|
1273
1260
|
if (B.current) {
|
|
1274
1261
|
var e = ee(B.current.type);
|
|
@@ -1279,7 +1266,7 @@ Check the render method of \`` + e + "`.";
|
|
|
1279
1266
|
}
|
|
1280
1267
|
return "";
|
|
1281
1268
|
}
|
|
1282
|
-
function
|
|
1269
|
+
function _r(e) {
|
|
1283
1270
|
if (e !== void 0) {
|
|
1284
1271
|
var t = e.fileName.replace(/^.*[\\\/]/, ""), n = e.lineNumber;
|
|
1285
1272
|
return `
|
|
@@ -1288,11 +1275,11 @@ Check your code at ` + t + ":" + n + ".";
|
|
|
1288
1275
|
}
|
|
1289
1276
|
return "";
|
|
1290
1277
|
}
|
|
1291
|
-
function
|
|
1292
|
-
return e != null ?
|
|
1278
|
+
function br(e) {
|
|
1279
|
+
return e != null ? _r(e.__source) : "";
|
|
1293
1280
|
}
|
|
1294
1281
|
var pt = {};
|
|
1295
|
-
function
|
|
1282
|
+
function Er(e) {
|
|
1296
1283
|
var t = dt();
|
|
1297
1284
|
if (!t) {
|
|
1298
1285
|
var n = typeof e == "string" ? e : e.displayName || e.name;
|
|
@@ -1305,7 +1292,7 @@ Check the top-level render call using <` + n + ">.");
|
|
|
1305
1292
|
function vt(e, t) {
|
|
1306
1293
|
if (!(!e._store || e._store.validated || e.key != null)) {
|
|
1307
1294
|
e._store.validated = !0;
|
|
1308
|
-
var n =
|
|
1295
|
+
var n = Er(t);
|
|
1309
1296
|
if (!pt[n]) {
|
|
1310
1297
|
pt[n] = !0;
|
|
1311
1298
|
var a = "";
|
|
@@ -1346,16 +1333,16 @@ Check the top-level render call using <` + n + ">.");
|
|
|
1346
1333
|
return;
|
|
1347
1334
|
if (n) {
|
|
1348
1335
|
var a = ee(t);
|
|
1349
|
-
|
|
1350
|
-
} else if (t.PropTypes !== void 0 && !
|
|
1351
|
-
|
|
1336
|
+
gr(n, e.props, "prop", a, e);
|
|
1337
|
+
} else if (t.PropTypes !== void 0 && !Fe) {
|
|
1338
|
+
Fe = !0;
|
|
1352
1339
|
var o = ee(t);
|
|
1353
1340
|
f("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", o || "Unknown");
|
|
1354
1341
|
}
|
|
1355
1342
|
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && f("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
1356
1343
|
}
|
|
1357
1344
|
}
|
|
1358
|
-
function
|
|
1345
|
+
function Rr(e) {
|
|
1359
1346
|
{
|
|
1360
1347
|
for (var t = Object.keys(e.props), n = 0; n < t.length; n++) {
|
|
1361
1348
|
var a = t[n];
|
|
@@ -1372,21 +1359,21 @@ Check the top-level render call using <` + n + ">.");
|
|
|
1372
1359
|
if (!a) {
|
|
1373
1360
|
var o = "";
|
|
1374
1361
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (o += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1375
|
-
var s =
|
|
1362
|
+
var s = br(t);
|
|
1376
1363
|
s ? o += s : o += dt();
|
|
1377
1364
|
var i;
|
|
1378
1365
|
e === null ? i = "null" : he(e) ? i = "array" : e !== void 0 && e.$$typeof === T ? (i = "<" + (ee(e.type) || "Unknown") + " />", o = " Did you accidentally export a JSX literal instead of a component?") : i = typeof e, f("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", i, o);
|
|
1379
1366
|
}
|
|
1380
|
-
var l =
|
|
1367
|
+
var l = Ft.apply(this, arguments);
|
|
1381
1368
|
if (l == null)
|
|
1382
1369
|
return l;
|
|
1383
1370
|
if (a)
|
|
1384
1371
|
for (var y = 2; y < arguments.length; y++)
|
|
1385
1372
|
yt(arguments[y], e);
|
|
1386
|
-
return e === k ?
|
|
1373
|
+
return e === k ? Rr(l) : ht(l), l;
|
|
1387
1374
|
}
|
|
1388
1375
|
var gt = !1;
|
|
1389
|
-
function
|
|
1376
|
+
function wr(e) {
|
|
1390
1377
|
var t = mt.bind(null, e);
|
|
1391
1378
|
return t.type = e, gt || (gt = !0, Z("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")), Object.defineProperty(t, "type", {
|
|
1392
1379
|
enumerable: !1,
|
|
@@ -1397,12 +1384,12 @@ Check the top-level render call using <` + n + ">.");
|
|
|
1397
1384
|
}
|
|
1398
1385
|
}), t;
|
|
1399
1386
|
}
|
|
1400
|
-
function
|
|
1401
|
-
for (var a =
|
|
1387
|
+
function Cr(e, t, n) {
|
|
1388
|
+
for (var a = Mt.apply(this, arguments), o = 2; o < arguments.length; o++)
|
|
1402
1389
|
yt(arguments[o], a.type);
|
|
1403
1390
|
return ht(a), a;
|
|
1404
1391
|
}
|
|
1405
|
-
function
|
|
1392
|
+
function Sr(e, t) {
|
|
1406
1393
|
var n = Q.transition;
|
|
1407
1394
|
Q.transition = {};
|
|
1408
1395
|
var a = Q.transition;
|
|
@@ -1417,11 +1404,11 @@ Check the top-level render call using <` + n + ">.");
|
|
|
1417
1404
|
}
|
|
1418
1405
|
}
|
|
1419
1406
|
var _t = !1, Ce = null;
|
|
1420
|
-
function
|
|
1407
|
+
function Or(e) {
|
|
1421
1408
|
if (Ce === null)
|
|
1422
1409
|
try {
|
|
1423
|
-
var t = ("require" + Math.random()).slice(0, 7), n =
|
|
1424
|
-
Ce = n.call(
|
|
1410
|
+
var t = ("require" + Math.random()).slice(0, 7), n = g && g[t];
|
|
1411
|
+
Ce = n.call(g, "timers").setImmediate;
|
|
1425
1412
|
} catch {
|
|
1426
1413
|
Ce = function(o) {
|
|
1427
1414
|
_t === !1 && (_t = !0, typeof MessageChannel > "u" && f("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));
|
|
@@ -1432,7 +1419,7 @@ Check the top-level render call using <` + n + ">.");
|
|
|
1432
1419
|
return Ce(e);
|
|
1433
1420
|
}
|
|
1434
1421
|
var ue = 0, bt = !1;
|
|
1435
|
-
function
|
|
1422
|
+
function Tr(e) {
|
|
1436
1423
|
{
|
|
1437
1424
|
var t = ue;
|
|
1438
1425
|
ue++, j.current === null && (j.current = []);
|
|
@@ -1440,7 +1427,7 @@ Check the top-level render call using <` + n + ">.");
|
|
|
1440
1427
|
try {
|
|
1441
1428
|
if (j.isBatchingLegacy = !0, a = e(), !n && j.didScheduleLegacyUpdate) {
|
|
1442
1429
|
var o = j.current;
|
|
1443
|
-
o !== null && (j.didScheduleLegacyUpdate = !1,
|
|
1430
|
+
o !== null && (j.didScheduleLegacyUpdate = !1, xe(o));
|
|
1444
1431
|
}
|
|
1445
1432
|
} catch (C) {
|
|
1446
1433
|
throw Se(t), C;
|
|
@@ -1451,7 +1438,7 @@ Check the top-level render call using <` + n + ">.");
|
|
|
1451
1438
|
var s = a, i = !1, l = {
|
|
1452
1439
|
then: function(C, O) {
|
|
1453
1440
|
i = !0, s.then(function($) {
|
|
1454
|
-
Se(t), ue === 0 ?
|
|
1441
|
+
Se(t), ue === 0 ? Le($, C, O) : C($);
|
|
1455
1442
|
}, function($) {
|
|
1456
1443
|
Se(t), O($);
|
|
1457
1444
|
});
|
|
@@ -1464,11 +1451,11 @@ Check the top-level render call using <` + n + ">.");
|
|
|
1464
1451
|
} else {
|
|
1465
1452
|
var y = a;
|
|
1466
1453
|
if (Se(t), ue === 0) {
|
|
1467
|
-
var
|
|
1468
|
-
|
|
1454
|
+
var m = j.current;
|
|
1455
|
+
m !== null && (xe(m), j.current = null);
|
|
1469
1456
|
var R = {
|
|
1470
1457
|
then: function(C, O) {
|
|
1471
|
-
j.current === null ? (j.current = [],
|
|
1458
|
+
j.current === null ? (j.current = [], Le(y, C, O)) : C(y);
|
|
1472
1459
|
}
|
|
1473
1460
|
};
|
|
1474
1461
|
return R;
|
|
@@ -1486,13 +1473,13 @@ Check the top-level render call using <` + n + ">.");
|
|
|
1486
1473
|
function Se(e) {
|
|
1487
1474
|
e !== ue - 1 && f("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "), ue = e;
|
|
1488
1475
|
}
|
|
1489
|
-
function
|
|
1476
|
+
function Le(e, t, n) {
|
|
1490
1477
|
{
|
|
1491
1478
|
var a = j.current;
|
|
1492
1479
|
if (a !== null)
|
|
1493
1480
|
try {
|
|
1494
|
-
|
|
1495
|
-
a.length === 0 ? (j.current = null, t(e)) :
|
|
1481
|
+
xe(a), Or(function() {
|
|
1482
|
+
a.length === 0 ? (j.current = null, t(e)) : Le(e, t, n);
|
|
1496
1483
|
});
|
|
1497
1484
|
} catch (o) {
|
|
1498
1485
|
n(o);
|
|
@@ -1501,10 +1488,10 @@ Check the top-level render call using <` + n + ">.");
|
|
|
1501
1488
|
t(e);
|
|
1502
1489
|
}
|
|
1503
1490
|
}
|
|
1504
|
-
var
|
|
1505
|
-
function
|
|
1506
|
-
if (!
|
|
1507
|
-
|
|
1491
|
+
var Me = !1;
|
|
1492
|
+
function xe(e) {
|
|
1493
|
+
if (!Me) {
|
|
1494
|
+
Me = !0;
|
|
1508
1495
|
var t = 0;
|
|
1509
1496
|
try {
|
|
1510
1497
|
for (; t < e.length; t++) {
|
|
@@ -1517,49 +1504,48 @@ Check the top-level render call using <` + n + ">.");
|
|
|
1517
1504
|
} catch (a) {
|
|
1518
1505
|
throw e = e.slice(t + 1), a;
|
|
1519
1506
|
} finally {
|
|
1520
|
-
|
|
1507
|
+
Me = !1;
|
|
1521
1508
|
}
|
|
1522
1509
|
}
|
|
1523
1510
|
}
|
|
1524
|
-
var
|
|
1511
|
+
var kr = mt, Pr = Cr, jr = wr, Ar = {
|
|
1525
1512
|
map: _e,
|
|
1526
|
-
forEach:
|
|
1527
|
-
count:
|
|
1528
|
-
toArray:
|
|
1529
|
-
only:
|
|
1513
|
+
forEach: Yt,
|
|
1514
|
+
count: Wt,
|
|
1515
|
+
toArray: Bt,
|
|
1516
|
+
only: zt
|
|
1530
1517
|
};
|
|
1531
|
-
c.Children =
|
|
1518
|
+
c.Children = Ar, c.Component = v, c.Fragment = k, c.Profiler = I, c.PureComponent = M, c.StrictMode = V, c.Suspense = H, c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = q, c.cloneElement = Pr, c.createContext = Ht, c.createElement = kr, c.createFactory = jr, c.createRef = kt, c.forwardRef = Qt, c.isValidElement = ae, c.lazy = Kt, c.memo = Jt, c.startTransition = Sr, c.unstable_act = Tr, c.useCallback = or, c.useContext = Xt, c.useDebugValue = sr, c.useDeferredValue = fr, c.useEffect = rr, c.useId = lr, c.useImperativeHandle = ir, c.useInsertionEffect = nr, c.useLayoutEffect = ar, c.useMemo = ur, c.useReducer = er, c.useRef = tr, c.useState = Zt, c.useSyncExternalStore = dr, c.useTransition = cr, c.version = U, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
|
|
1532
1519
|
}();
|
|
1533
|
-
}(
|
|
1520
|
+
}(de, de.exports)), de.exports;
|
|
1534
1521
|
}
|
|
1535
|
-
(
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
const Vr = /* @__PURE__ */ Fr(Te), Wr = /* @__PURE__ */ Nr({
|
|
1522
|
+
process.env.NODE_ENV === "production" ? Ve.exports = Mr() : Ve.exports = xr();
|
|
1523
|
+
var Tt = Ve.exports;
|
|
1524
|
+
const Ur = /* @__PURE__ */ Lr(Tt), Vr = /* @__PURE__ */ Fr({
|
|
1539
1525
|
__proto__: null,
|
|
1540
|
-
default:
|
|
1541
|
-
}, [
|
|
1526
|
+
default: Ur
|
|
1527
|
+
}, [Tt]);
|
|
1542
1528
|
/**
|
|
1543
1529
|
* @license
|
|
1544
1530
|
* Copyright 2018 Google LLC
|
|
1545
1531
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1546
1532
|
*/
|
|
1547
|
-
const
|
|
1533
|
+
const Wr = /* @__PURE__ */ new Set(["children", "localName", "ref", "style", "className"]), Ot = /* @__PURE__ */ new WeakMap(), Yr = (g, c, U, T, A) => {
|
|
1548
1534
|
const k = A == null ? void 0 : A[c];
|
|
1549
|
-
k === void 0 || U === T ? U == null && c in HTMLElement.prototype ?
|
|
1535
|
+
k === void 0 || U === T ? U == null && c in HTMLElement.prototype ? g.removeAttribute(c) : g[c] = U : ((V, I, z) => {
|
|
1550
1536
|
let F = Ot.get(V);
|
|
1551
1537
|
F === void 0 && Ot.set(V, F = /* @__PURE__ */ new Map());
|
|
1552
1538
|
let N = F.get(I);
|
|
1553
1539
|
z !== void 0 ? N === void 0 ? (F.set(I, N = { handleEvent: z }), V.addEventListener(I, N)) : N.handleEvent = z : N !== void 0 && (F.delete(I), V.removeEventListener(I, N));
|
|
1554
|
-
})(
|
|
1540
|
+
})(g, k, U);
|
|
1555
1541
|
};
|
|
1556
|
-
function
|
|
1542
|
+
function Br(g = window.React, c, U, T, A) {
|
|
1557
1543
|
let k, V, I;
|
|
1558
1544
|
if (c === void 0) {
|
|
1559
|
-
const D =
|
|
1545
|
+
const D = g;
|
|
1560
1546
|
({ tagName: V, elementClass: I, events: T, displayName: A } = D), k = D.react;
|
|
1561
1547
|
} else
|
|
1562
|
-
k =
|
|
1548
|
+
k = g, I = U, V = c;
|
|
1563
1549
|
const z = k.Component, F = k.createElement, N = new Set(Object.keys(T ?? {}));
|
|
1564
1550
|
class H extends z {
|
|
1565
1551
|
constructor() {
|
|
@@ -1568,7 +1554,7 @@ function zr(h = window.React, c, U, T, A) {
|
|
|
1568
1554
|
t(P) {
|
|
1569
1555
|
if (this.o !== null)
|
|
1570
1556
|
for (const G in this.i)
|
|
1571
|
-
|
|
1557
|
+
Yr(this.o, G, this.props[G], P ? P[G] : void 0, T);
|
|
1572
1558
|
}
|
|
1573
1559
|
componentDidMount() {
|
|
1574
1560
|
this.t();
|
|
@@ -1585,7 +1571,7 @@ function zr(h = window.React, c, U, T, A) {
|
|
|
1585
1571
|
}), this.i = {};
|
|
1586
1572
|
const Y = { ref: this.u };
|
|
1587
1573
|
for (const [L, W] of Object.entries(G))
|
|
1588
|
-
|
|
1574
|
+
Wr.has(L) ? Y[L === "className" ? "class" : L] = W : N.has(L) || L in I.prototype ? this.i[L] = W : Y[L] = W;
|
|
1589
1575
|
return F(V, Y);
|
|
1590
1576
|
}
|
|
1591
1577
|
}
|
|
@@ -1593,13 +1579,13 @@ function zr(h = window.React, c, U, T, A) {
|
|
|
1593
1579
|
const J = k.forwardRef((D, P) => F(H, { ...D, _$Gl: P }, D == null ? void 0 : D.children));
|
|
1594
1580
|
return J.displayName = H.displayName, J;
|
|
1595
1581
|
}
|
|
1596
|
-
const
|
|
1582
|
+
const Kr = Br({
|
|
1597
1583
|
displayName: "PieButton",
|
|
1598
|
-
elementClass:
|
|
1599
|
-
react:
|
|
1584
|
+
elementClass: Nr,
|
|
1585
|
+
react: Vr,
|
|
1600
1586
|
tagName: "pie-button",
|
|
1601
1587
|
events: {}
|
|
1602
1588
|
});
|
|
1603
1589
|
export {
|
|
1604
|
-
|
|
1590
|
+
Kr as PieButton
|
|
1605
1591
|
};
|