@minimalstuff/ui 0.0.25 → 0.0.26
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/index.d.ts +3 -4
- package/dist/index.es.js +209 -204
- package/dist/index.umd.js +15 -15
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import D from "@emotion/styled";
|
|
2
2
|
import * as re from "react";
|
|
3
|
-
import te, { useEffect as it, createContext as st, useContext as Er, useState as
|
|
3
|
+
import te, { useEffect as it, createContext as st, useContext as Er, useState as he, useRef as ct, Fragment as lt, forwardRef as sn } from "react";
|
|
4
4
|
import { keyframes as xr, useTheme as ut, ThemeProvider as cn, css as Ye, Global as ln } from "@emotion/react";
|
|
5
5
|
import { useHotkeys as un } from "react-hotkeys-hook";
|
|
6
6
|
import fn from "hex-rgb";
|
|
@@ -33,7 +33,7 @@ const ya = D.button(
|
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
35
|
);
|
|
36
|
-
var mr = { exports: {} },
|
|
36
|
+
var mr = { exports: {} }, Ce = {};
|
|
37
37
|
/**
|
|
38
38
|
* @license React
|
|
39
39
|
* react-jsx-runtime.production.min.js
|
|
@@ -45,19 +45,19 @@ var mr = { exports: {} }, Se = {};
|
|
|
45
45
|
*/
|
|
46
46
|
var zr;
|
|
47
47
|
function hn() {
|
|
48
|
-
if (zr) return
|
|
48
|
+
if (zr) return Ce;
|
|
49
49
|
zr = 1;
|
|
50
50
|
var e = te, r = Symbol.for("react.element"), t = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, a = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
51
51
|
function l(c, p, h) {
|
|
52
|
-
var d, b = {},
|
|
53
|
-
h !== void 0 && (
|
|
52
|
+
var d, b = {}, g = null, I = null;
|
|
53
|
+
h !== void 0 && (g = "" + h), p.key !== void 0 && (g = "" + p.key), p.ref !== void 0 && (I = p.ref);
|
|
54
54
|
for (d in p) o.call(p, d) && !i.hasOwnProperty(d) && (b[d] = p[d]);
|
|
55
55
|
if (c && c.defaultProps) for (d in p = c.defaultProps, p) b[d] === void 0 && (b[d] = p[d]);
|
|
56
|
-
return { $$typeof: r, type: c, key:
|
|
56
|
+
return { $$typeof: r, type: c, key: g, ref: I, props: b, _owner: a.current };
|
|
57
57
|
}
|
|
58
|
-
return
|
|
58
|
+
return Ce.Fragment = t, Ce.jsx = l, Ce.jsxs = l, Ce;
|
|
59
59
|
}
|
|
60
|
-
var
|
|
60
|
+
var Re = {};
|
|
61
61
|
/**
|
|
62
62
|
* @license React
|
|
63
63
|
* react-jsx-runtime.development.js
|
|
@@ -70,15 +70,15 @@ var Ce = {};
|
|
|
70
70
|
var Ur;
|
|
71
71
|
function vn() {
|
|
72
72
|
return Ur || (Ur = 1, process.env.NODE_ENV !== "production" && function() {
|
|
73
|
-
var e = te, r = Symbol.for("react.element"), t = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), c = Symbol.for("react.context"), p = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"),
|
|
73
|
+
var e = te, r = Symbol.for("react.element"), t = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), c = Symbol.for("react.context"), p = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), I = Symbol.for("react.offscreen"), $ = Symbol.iterator, x = "@@iterator";
|
|
74
74
|
function M(n) {
|
|
75
75
|
if (n === null || typeof n != "object")
|
|
76
76
|
return null;
|
|
77
|
-
var s = $ && n[$] || n[
|
|
77
|
+
var s = $ && n[$] || n[x];
|
|
78
78
|
return typeof s == "function" ? s : null;
|
|
79
79
|
}
|
|
80
80
|
var _ = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
81
|
-
function
|
|
81
|
+
function y(n) {
|
|
82
82
|
{
|
|
83
83
|
for (var s = arguments.length, f = new Array(s > 1 ? s - 1 : 0), v = 1; v < s; v++)
|
|
84
84
|
f[v - 1] = arguments[v];
|
|
@@ -95,10 +95,10 @@ function vn() {
|
|
|
95
95
|
N.unshift("Warning: " + s), Function.prototype.apply.call(console[n], console, N);
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var j = !1, u = !1, Y = !1, P = !1, rr = !1, $e;
|
|
99
99
|
$e = Symbol.for("react.module.reference");
|
|
100
100
|
function tr(n) {
|
|
101
|
-
return !!(typeof n == "string" || typeof n == "function" || n === o || n === i || rr || n === a || n === h || n === d || P || n ===
|
|
101
|
+
return !!(typeof n == "string" || typeof n == "function" || n === o || n === i || rr || n === a || n === h || n === d || P || n === I || j || u || Y || typeof n == "object" && n !== null && (n.$$typeof === g || n.$$typeof === b || n.$$typeof === l || n.$$typeof === c || n.$$typeof === p || // This needs to include all possible module reference object
|
|
102
102
|
// types supported by any Flight configuration anywhere since
|
|
103
103
|
// we don't know which Flight build this will end up being used
|
|
104
104
|
// with.
|
|
@@ -117,7 +117,7 @@ function vn() {
|
|
|
117
117
|
function K(n) {
|
|
118
118
|
if (n == null)
|
|
119
119
|
return null;
|
|
120
|
-
if (typeof n.tag == "number" &&
|
|
120
|
+
if (typeof n.tag == "number" && y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof n == "function")
|
|
121
121
|
return n.displayName || n.name || null;
|
|
122
122
|
if (typeof n == "string")
|
|
123
123
|
return n;
|
|
@@ -148,7 +148,7 @@ function vn() {
|
|
|
148
148
|
case b:
|
|
149
149
|
var v = n.displayName || null;
|
|
150
150
|
return v !== null ? v : K(n.type) || "Memo";
|
|
151
|
-
case
|
|
151
|
+
case g: {
|
|
152
152
|
var R = n, N = R._payload, w = R._init;
|
|
153
153
|
try {
|
|
154
154
|
return K(w(N));
|
|
@@ -159,14 +159,14 @@ function vn() {
|
|
|
159
159
|
}
|
|
160
160
|
return null;
|
|
161
161
|
}
|
|
162
|
-
var ee = Object.assign, oe = 0, Ie, je,
|
|
162
|
+
var ee = Object.assign, oe = 0, Ie, je, be, De, ge, Fe, Me;
|
|
163
163
|
function Le() {
|
|
164
164
|
}
|
|
165
165
|
Le.__reactDisabledLog = !0;
|
|
166
166
|
function or() {
|
|
167
167
|
{
|
|
168
168
|
if (oe === 0) {
|
|
169
|
-
Ie = console.log, je = console.info,
|
|
169
|
+
Ie = console.log, je = console.info, be = console.warn, De = console.error, ge = console.group, Fe = console.groupCollapsed, Me = console.groupEnd;
|
|
170
170
|
var n = {
|
|
171
171
|
configurable: !0,
|
|
172
172
|
enumerable: !0,
|
|
@@ -202,13 +202,13 @@ function vn() {
|
|
|
202
202
|
value: je
|
|
203
203
|
}),
|
|
204
204
|
warn: ee({}, n, {
|
|
205
|
-
value:
|
|
205
|
+
value: be
|
|
206
206
|
}),
|
|
207
207
|
error: ee({}, n, {
|
|
208
208
|
value: De
|
|
209
209
|
}),
|
|
210
210
|
group: ee({}, n, {
|
|
211
|
-
value:
|
|
211
|
+
value: ge
|
|
212
212
|
}),
|
|
213
213
|
groupCollapsed: ee({}, n, {
|
|
214
214
|
value: Fe
|
|
@@ -218,30 +218,30 @@ function vn() {
|
|
|
218
218
|
})
|
|
219
219
|
});
|
|
220
220
|
}
|
|
221
|
-
oe < 0 &&
|
|
221
|
+
oe < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
222
222
|
}
|
|
223
223
|
}
|
|
224
|
-
var
|
|
224
|
+
var ye = _.ReactCurrentDispatcher, Ee;
|
|
225
225
|
function se(n, s, f) {
|
|
226
226
|
{
|
|
227
|
-
if (
|
|
227
|
+
if (Ee === void 0)
|
|
228
228
|
try {
|
|
229
229
|
throw Error();
|
|
230
230
|
} catch (R) {
|
|
231
231
|
var v = R.stack.trim().match(/\n( *(at )?)/);
|
|
232
|
-
|
|
232
|
+
Ee = v && v[1] || "";
|
|
233
233
|
}
|
|
234
234
|
return `
|
|
235
|
-
` +
|
|
235
|
+
` + Ee + n;
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
|
-
var
|
|
238
|
+
var xe = !1, ce;
|
|
239
239
|
{
|
|
240
240
|
var ir = typeof WeakMap == "function" ? WeakMap : Map;
|
|
241
241
|
ce = new ir();
|
|
242
242
|
}
|
|
243
243
|
function m(n, s) {
|
|
244
|
-
if (!n ||
|
|
244
|
+
if (!n || xe)
|
|
245
245
|
return "";
|
|
246
246
|
{
|
|
247
247
|
var f = ce.get(n);
|
|
@@ -249,11 +249,11 @@ function vn() {
|
|
|
249
249
|
return f;
|
|
250
250
|
}
|
|
251
251
|
var v;
|
|
252
|
-
|
|
252
|
+
xe = !0;
|
|
253
253
|
var R = Error.prepareStackTrace;
|
|
254
254
|
Error.prepareStackTrace = void 0;
|
|
255
255
|
var N;
|
|
256
|
-
N =
|
|
256
|
+
N = ye.current, ye.current = null, or();
|
|
257
257
|
try {
|
|
258
258
|
if (s) {
|
|
259
259
|
var w = function() {
|
|
@@ -288,17 +288,17 @@ function vn() {
|
|
|
288
288
|
}
|
|
289
289
|
} catch (B) {
|
|
290
290
|
if (B && v && typeof B.stack == "string") {
|
|
291
|
-
for (var
|
|
291
|
+
for (var E = B.stack.split(`
|
|
292
292
|
`), U = v.stack.split(`
|
|
293
|
-
`), F =
|
|
293
|
+
`), F = E.length - 1, L = U.length - 1; F >= 1 && L >= 0 && E[F] !== U[L]; )
|
|
294
294
|
L--;
|
|
295
295
|
for (; F >= 1 && L >= 0; F--, L--)
|
|
296
|
-
if (
|
|
296
|
+
if (E[F] !== U[L]) {
|
|
297
297
|
if (F !== 1 || L !== 1)
|
|
298
298
|
do
|
|
299
|
-
if (F--, L--, L < 0 ||
|
|
299
|
+
if (F--, L--, L < 0 || E[F] !== U[L]) {
|
|
300
300
|
var H = `
|
|
301
|
-
` +
|
|
301
|
+
` + E[F].replace(" at new ", " at ");
|
|
302
302
|
return n.displayName && H.includes("<anonymous>") && (H = H.replace("<anonymous>", n.displayName)), typeof n == "function" && ce.set(n, H), H;
|
|
303
303
|
}
|
|
304
304
|
while (F >= 1 && L >= 0);
|
|
@@ -306,12 +306,12 @@ function vn() {
|
|
|
306
306
|
}
|
|
307
307
|
}
|
|
308
308
|
} finally {
|
|
309
|
-
|
|
309
|
+
xe = !1, ye.current = N, ar(), Error.prepareStackTrace = R;
|
|
310
310
|
}
|
|
311
311
|
var fe = n ? n.displayName || n.name : "", ie = fe ? se(fe) : "";
|
|
312
312
|
return typeof n == "function" && ce.set(n, ie), ie;
|
|
313
313
|
}
|
|
314
|
-
function
|
|
314
|
+
function we(n, s, f) {
|
|
315
315
|
return m(n, !1);
|
|
316
316
|
}
|
|
317
317
|
function le(n) {
|
|
@@ -334,10 +334,10 @@ function vn() {
|
|
|
334
334
|
if (typeof n == "object")
|
|
335
335
|
switch (n.$$typeof) {
|
|
336
336
|
case p:
|
|
337
|
-
return
|
|
337
|
+
return we(n.render);
|
|
338
338
|
case b:
|
|
339
339
|
return ae(n.type, s, f);
|
|
340
|
-
case
|
|
340
|
+
case g: {
|
|
341
341
|
var v = n, R = v._payload, N = v._init;
|
|
342
342
|
try {
|
|
343
343
|
return ae(N(R), s, f);
|
|
@@ -347,7 +347,7 @@ function vn() {
|
|
|
347
347
|
}
|
|
348
348
|
return "";
|
|
349
349
|
}
|
|
350
|
-
var
|
|
350
|
+
var _e = Object.prototype.hasOwnProperty, Pr = {}, Ar = _.ReactDebugCurrentFrame;
|
|
351
351
|
function Ve(n) {
|
|
352
352
|
if (n) {
|
|
353
353
|
var s = n._owner, f = ae(n.type, n._source, s ? s.type : null);
|
|
@@ -357,20 +357,20 @@ function vn() {
|
|
|
357
357
|
}
|
|
358
358
|
function Mt(n, s, f, v, R) {
|
|
359
359
|
{
|
|
360
|
-
var N = Function.call.bind(
|
|
360
|
+
var N = Function.call.bind(_e);
|
|
361
361
|
for (var w in n)
|
|
362
362
|
if (N(n, w)) {
|
|
363
|
-
var
|
|
363
|
+
var E = void 0;
|
|
364
364
|
try {
|
|
365
365
|
if (typeof n[w] != "function") {
|
|
366
366
|
var U = Error((v || "React class") + ": " + f + " type `" + w + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[w] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
367
367
|
throw U.name = "Invariant Violation", U;
|
|
368
368
|
}
|
|
369
|
-
|
|
369
|
+
E = n[w](s, w, v, f, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
370
370
|
} catch (F) {
|
|
371
|
-
|
|
371
|
+
E = F;
|
|
372
372
|
}
|
|
373
|
-
|
|
373
|
+
E && !(E instanceof Error) && (Ve(R), y("%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).", v || "React class", f, w, typeof E), Ve(null)), E instanceof Error && !(E.message in Pr) && (Pr[E.message] = !0, Ve(R), y("Failed %s type: %s", f, E.message), Ve(null));
|
|
374
374
|
}
|
|
375
375
|
}
|
|
376
376
|
}
|
|
@@ -396,9 +396,9 @@ function vn() {
|
|
|
396
396
|
}
|
|
397
397
|
function Nr(n) {
|
|
398
398
|
if (Yt(n))
|
|
399
|
-
return
|
|
399
|
+
return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Vt(n)), $r(n);
|
|
400
400
|
}
|
|
401
|
-
var
|
|
401
|
+
var Se = _.ReactCurrentOwner, Wt = {
|
|
402
402
|
key: !0,
|
|
403
403
|
ref: !0,
|
|
404
404
|
__self: !0,
|
|
@@ -406,7 +406,7 @@ function vn() {
|
|
|
406
406
|
}, Ir, jr, cr;
|
|
407
407
|
cr = {};
|
|
408
408
|
function zt(n) {
|
|
409
|
-
if (
|
|
409
|
+
if (_e.call(n, "ref")) {
|
|
410
410
|
var s = Object.getOwnPropertyDescriptor(n, "ref").get;
|
|
411
411
|
if (s && s.isReactWarning)
|
|
412
412
|
return !1;
|
|
@@ -414,7 +414,7 @@ function vn() {
|
|
|
414
414
|
return n.ref !== void 0;
|
|
415
415
|
}
|
|
416
416
|
function Ut(n) {
|
|
417
|
-
if (
|
|
417
|
+
if (_e.call(n, "key")) {
|
|
418
418
|
var s = Object.getOwnPropertyDescriptor(n, "key").get;
|
|
419
419
|
if (s && s.isReactWarning)
|
|
420
420
|
return !1;
|
|
@@ -422,15 +422,15 @@ function vn() {
|
|
|
422
422
|
return n.key !== void 0;
|
|
423
423
|
}
|
|
424
424
|
function Bt(n, s) {
|
|
425
|
-
if (typeof n.ref == "string" &&
|
|
426
|
-
var f = K(
|
|
427
|
-
cr[f] || (
|
|
425
|
+
if (typeof n.ref == "string" && Se.current && s && Se.current.stateNode !== s) {
|
|
426
|
+
var f = K(Se.current.type);
|
|
427
|
+
cr[f] || (y('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', K(Se.current.type), n.ref), cr[f] = !0);
|
|
428
428
|
}
|
|
429
429
|
}
|
|
430
430
|
function Gt(n, s) {
|
|
431
431
|
{
|
|
432
432
|
var f = function() {
|
|
433
|
-
Ir || (Ir = !0,
|
|
433
|
+
Ir || (Ir = !0, y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", s));
|
|
434
434
|
};
|
|
435
435
|
f.isReactWarning = !0, Object.defineProperty(n, "key", {
|
|
436
436
|
get: f,
|
|
@@ -441,7 +441,7 @@ function vn() {
|
|
|
441
441
|
function qt(n, s) {
|
|
442
442
|
{
|
|
443
443
|
var f = function() {
|
|
444
|
-
jr || (jr = !0,
|
|
444
|
+
jr || (jr = !0, y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", s));
|
|
445
445
|
};
|
|
446
446
|
f.isReactWarning = !0, Object.defineProperty(n, "ref", {
|
|
447
447
|
get: f,
|
|
@@ -450,7 +450,7 @@ function vn() {
|
|
|
450
450
|
}
|
|
451
451
|
}
|
|
452
452
|
var Kt = function(n, s, f, v, R, N, w) {
|
|
453
|
-
var
|
|
453
|
+
var E = {
|
|
454
454
|
// This tag allows us to uniquely identify this as a React Element
|
|
455
455
|
$$typeof: r,
|
|
456
456
|
// Built-in properties that belong on the element
|
|
@@ -461,39 +461,39 @@ function vn() {
|
|
|
461
461
|
// Record the component responsible for creating this element.
|
|
462
462
|
_owner: N
|
|
463
463
|
};
|
|
464
|
-
return
|
|
464
|
+
return E._store = {}, Object.defineProperty(E._store, "validated", {
|
|
465
465
|
configurable: !1,
|
|
466
466
|
enumerable: !1,
|
|
467
467
|
writable: !0,
|
|
468
468
|
value: !1
|
|
469
|
-
}), Object.defineProperty(
|
|
469
|
+
}), Object.defineProperty(E, "_self", {
|
|
470
470
|
configurable: !1,
|
|
471
471
|
enumerable: !1,
|
|
472
472
|
writable: !1,
|
|
473
473
|
value: v
|
|
474
|
-
}), Object.defineProperty(
|
|
474
|
+
}), Object.defineProperty(E, "_source", {
|
|
475
475
|
configurable: !1,
|
|
476
476
|
enumerable: !1,
|
|
477
477
|
writable: !1,
|
|
478
478
|
value: R
|
|
479
|
-
}), Object.freeze && (Object.freeze(
|
|
479
|
+
}), Object.freeze && (Object.freeze(E.props), Object.freeze(E)), E;
|
|
480
480
|
};
|
|
481
481
|
function Ht(n, s, f, v, R) {
|
|
482
482
|
{
|
|
483
|
-
var N, w = {},
|
|
484
|
-
f !== void 0 && (Nr(f),
|
|
483
|
+
var N, w = {}, E = null, U = null;
|
|
484
|
+
f !== void 0 && (Nr(f), E = "" + f), Ut(s) && (Nr(s.key), E = "" + s.key), zt(s) && (U = s.ref, Bt(s, R));
|
|
485
485
|
for (N in s)
|
|
486
|
-
|
|
486
|
+
_e.call(s, N) && !Wt.hasOwnProperty(N) && (w[N] = s[N]);
|
|
487
487
|
if (n && n.defaultProps) {
|
|
488
488
|
var F = n.defaultProps;
|
|
489
489
|
for (N in F)
|
|
490
490
|
w[N] === void 0 && (w[N] = F[N]);
|
|
491
491
|
}
|
|
492
|
-
if (
|
|
492
|
+
if (E || U) {
|
|
493
493
|
var L = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
|
|
494
|
-
|
|
494
|
+
E && Gt(w, L), U && qt(w, L);
|
|
495
495
|
}
|
|
496
|
-
return Kt(n,
|
|
496
|
+
return Kt(n, E, U, R, v, Se.current, w);
|
|
497
497
|
}
|
|
498
498
|
}
|
|
499
499
|
var lr = _.ReactCurrentOwner, Dr = _.ReactDebugCurrentFrame;
|
|
@@ -547,7 +547,7 @@ Check the top-level render call using <` + f + ">.");
|
|
|
547
547
|
return;
|
|
548
548
|
Mr[f] = !0;
|
|
549
549
|
var v = "";
|
|
550
|
-
n && n._owner && n._owner !== lr.current && (v = " It was passed a child from " + K(n._owner.type) + "."), ue(n),
|
|
550
|
+
n && n._owner && n._owner !== lr.current && (v = " It was passed a child from " + K(n._owner.type) + "."), ue(n), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', f, v), ue(null);
|
|
551
551
|
}
|
|
552
552
|
}
|
|
553
553
|
function Vr(n, s) {
|
|
@@ -589,9 +589,9 @@ Check the top-level render call using <` + f + ">.");
|
|
|
589
589
|
} else if (s.PropTypes !== void 0 && !ur) {
|
|
590
590
|
ur = !0;
|
|
591
591
|
var R = K(s);
|
|
592
|
-
|
|
592
|
+
y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", R || "Unknown");
|
|
593
593
|
}
|
|
594
|
-
typeof s.getDefaultProps == "function" && !s.getDefaultProps.isReactClassApproved &&
|
|
594
|
+
typeof s.getDefaultProps == "function" && !s.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
595
595
|
}
|
|
596
596
|
}
|
|
597
597
|
function Qt(n) {
|
|
@@ -599,11 +599,11 @@ Check the top-level render call using <` + f + ">.");
|
|
|
599
599
|
for (var s = Object.keys(n.props), f = 0; f < s.length; f++) {
|
|
600
600
|
var v = s[f];
|
|
601
601
|
if (v !== "children" && v !== "key") {
|
|
602
|
-
ue(n),
|
|
602
|
+
ue(n), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", v), ue(null);
|
|
603
603
|
break;
|
|
604
604
|
}
|
|
605
605
|
}
|
|
606
|
-
n.ref !== null && (ue(n),
|
|
606
|
+
n.ref !== null && (ue(n), y("Invalid attribute `ref` supplied to `React.Fragment`."), ue(null));
|
|
607
607
|
}
|
|
608
608
|
}
|
|
609
609
|
var Yr = {};
|
|
@@ -611,12 +611,12 @@ Check the top-level render call using <` + f + ">.");
|
|
|
611
611
|
{
|
|
612
612
|
var w = tr(n);
|
|
613
613
|
if (!w) {
|
|
614
|
-
var
|
|
615
|
-
(n === void 0 || typeof n == "object" && n !== null && Object.keys(n).length === 0) && (
|
|
614
|
+
var E = "";
|
|
615
|
+
(n === void 0 || typeof n == "object" && n !== null && Object.keys(n).length === 0) && (E += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
616
616
|
var U = Jt();
|
|
617
|
-
U ?
|
|
617
|
+
U ? E += U : E += Fr();
|
|
618
618
|
var F;
|
|
619
|
-
n === null ? F = "null" : sr(n) ? F = "array" : n !== void 0 && n.$$typeof === r ? (F = "<" + (K(n.type) || "Unknown") + " />",
|
|
619
|
+
n === null ? F = "null" : sr(n) ? F = "array" : n !== void 0 && n.$$typeof === r ? (F = "<" + (K(n.type) || "Unknown") + " />", E = " Did you accidentally export a JSX literal instead of a component?") : F = typeof n, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", F, E);
|
|
620
620
|
}
|
|
621
621
|
var L = Ht(n, s, f, R, N);
|
|
622
622
|
if (L == null)
|
|
@@ -630,17 +630,17 @@ Check the top-level render call using <` + f + ">.");
|
|
|
630
630
|
Vr(H[fe], n);
|
|
631
631
|
Object.freeze && Object.freeze(H);
|
|
632
632
|
} else
|
|
633
|
-
|
|
633
|
+
y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
634
634
|
else
|
|
635
635
|
Vr(H, n);
|
|
636
636
|
}
|
|
637
|
-
if (
|
|
637
|
+
if (_e.call(s, "key")) {
|
|
638
638
|
var ie = K(n), B = Object.keys(s).filter(function(an) {
|
|
639
639
|
return an !== "key";
|
|
640
640
|
}), dr = B.length > 0 ? "{key: someKey, " + B.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
641
641
|
if (!Yr[ie + dr]) {
|
|
642
642
|
var on = B.length > 0 ? "{" + B.join(": ..., ") + ": ...}" : "{}";
|
|
643
|
-
|
|
643
|
+
y(`A props object containing a "key" prop is being spread into JSX:
|
|
644
644
|
let props = %s;
|
|
645
645
|
<%s {...props} />
|
|
646
646
|
React keys must be passed directly to JSX without using spread:
|
|
@@ -658,8 +658,8 @@ React keys must be passed directly to JSX without using spread:
|
|
|
658
658
|
return Wr(n, s, f, !1);
|
|
659
659
|
}
|
|
660
660
|
var tn = rn, nn = en;
|
|
661
|
-
|
|
662
|
-
}()),
|
|
661
|
+
Re.Fragment = o, Re.jsx = tn, Re.jsxs = nn;
|
|
662
|
+
}()), Re;
|
|
663
663
|
}
|
|
664
664
|
process.env.NODE_ENV === "production" ? mr.exports = hn() : mr.exports = vn();
|
|
665
665
|
var k = mr.exports;
|
|
@@ -750,7 +750,7 @@ function mt(e, r, { enabled: t, disableGlobalCheck: o } = {
|
|
|
750
750
|
);
|
|
751
751
|
}
|
|
752
752
|
const Rn = (e = !1) => {
|
|
753
|
-
const [r, t] =
|
|
753
|
+
const [r, t] = he(e);
|
|
754
754
|
return {
|
|
755
755
|
isShowing: r,
|
|
756
756
|
toggle: () => t((l) => !l),
|
|
@@ -1105,7 +1105,7 @@ const Ca = D.img(({ theme: e, size: r = 48 }) => {
|
|
|
1105
1105
|
marginTop: "-1px"
|
|
1106
1106
|
}));
|
|
1107
1107
|
function Ra({ tabs: e }) {
|
|
1108
|
-
const [r, t] =
|
|
1108
|
+
const [r, t] = he(0), o = (a) => {
|
|
1109
1109
|
t(a);
|
|
1110
1110
|
};
|
|
1111
1111
|
return /* @__PURE__ */ k.jsxs("div", { children: [
|
|
@@ -1189,7 +1189,7 @@ function hr(e, r) {
|
|
|
1189
1189
|
function W(e, r) {
|
|
1190
1190
|
return e.charCodeAt(r) | 0;
|
|
1191
1191
|
}
|
|
1192
|
-
function
|
|
1192
|
+
function Oe(e, r, t) {
|
|
1193
1193
|
return e.slice(r, t);
|
|
1194
1194
|
}
|
|
1195
1195
|
function Z(e) {
|
|
@@ -1204,32 +1204,32 @@ function ze(e, r) {
|
|
|
1204
1204
|
function ro(e, r) {
|
|
1205
1205
|
return e.map(r).join("");
|
|
1206
1206
|
}
|
|
1207
|
-
var Xe = 1, me = 1, Et = 0, G = 0, V = 0,
|
|
1207
|
+
var Xe = 1, me = 1, Et = 0, G = 0, V = 0, ve = "";
|
|
1208
1208
|
function Qe(e, r, t, o, a, i, l) {
|
|
1209
1209
|
return { value: e, root: r, parent: t, type: o, props: a, children: i, line: Xe, column: me, length: l, return: "" };
|
|
1210
1210
|
}
|
|
1211
|
-
function
|
|
1211
|
+
function Te(e, r) {
|
|
1212
1212
|
return Xn(Qe("", null, null, "", null, null, 0), e, { length: -e.length }, r);
|
|
1213
1213
|
}
|
|
1214
1214
|
function to() {
|
|
1215
1215
|
return V;
|
|
1216
1216
|
}
|
|
1217
1217
|
function no() {
|
|
1218
|
-
return V = G > 0 ? W(
|
|
1218
|
+
return V = G > 0 ? W(ve, --G) : 0, me--, V === 10 && (me = 1, Xe--), V;
|
|
1219
1219
|
}
|
|
1220
1220
|
function q() {
|
|
1221
|
-
return V = G < Et ? W(
|
|
1221
|
+
return V = G < Et ? W(ve, G++) : 0, me++, V === 10 && (me = 1, Xe++), V;
|
|
1222
1222
|
}
|
|
1223
1223
|
function Q() {
|
|
1224
|
-
return W(
|
|
1224
|
+
return W(ve, G);
|
|
1225
1225
|
}
|
|
1226
1226
|
function Ue() {
|
|
1227
1227
|
return G;
|
|
1228
1228
|
}
|
|
1229
1229
|
function Ae(e, r) {
|
|
1230
|
-
return
|
|
1230
|
+
return Oe(ve, e, r);
|
|
1231
1231
|
}
|
|
1232
|
-
function
|
|
1232
|
+
function ke(e) {
|
|
1233
1233
|
switch (e) {
|
|
1234
1234
|
case 0:
|
|
1235
1235
|
case 9:
|
|
@@ -1262,10 +1262,10 @@ function Oe(e) {
|
|
|
1262
1262
|
return 0;
|
|
1263
1263
|
}
|
|
1264
1264
|
function xt(e) {
|
|
1265
|
-
return Xe = me = 1, Et = Z(
|
|
1265
|
+
return Xe = me = 1, Et = Z(ve = e), G = 0, [];
|
|
1266
1266
|
}
|
|
1267
1267
|
function wt(e) {
|
|
1268
|
-
return
|
|
1268
|
+
return ve = "", e;
|
|
1269
1269
|
}
|
|
1270
1270
|
function Be(e) {
|
|
1271
1271
|
return yt(Ae(G - 1, vr(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
@@ -1273,7 +1273,7 @@ function Be(e) {
|
|
|
1273
1273
|
function oo(e) {
|
|
1274
1274
|
for (; (V = Q()) && V < 33; )
|
|
1275
1275
|
q();
|
|
1276
|
-
return
|
|
1276
|
+
return ke(e) > 2 || ke(V) > 3 ? "" : " ";
|
|
1277
1277
|
}
|
|
1278
1278
|
function ao(e, r) {
|
|
1279
1279
|
for (; --r && q() && !(V < 48 || V > 102 || V > 57 && V < 65 || V > 70 && V < 97); )
|
|
@@ -1305,7 +1305,7 @@ function io(e, r) {
|
|
|
1305
1305
|
return "/*" + Ae(r, G - 1) + "*" + Ze(e === 47 ? e : q());
|
|
1306
1306
|
}
|
|
1307
1307
|
function so(e) {
|
|
1308
|
-
for (; !
|
|
1308
|
+
for (; !ke(Q()); )
|
|
1309
1309
|
q();
|
|
1310
1310
|
return Ae(e, G);
|
|
1311
1311
|
}
|
|
@@ -1313,17 +1313,17 @@ function co(e) {
|
|
|
1313
1313
|
return wt(Ge("", null, null, null, [""], e = xt(e), 0, [0], e));
|
|
1314
1314
|
}
|
|
1315
1315
|
function Ge(e, r, t, o, a, i, l, c, p) {
|
|
1316
|
-
for (var h = 0, d = 0, b = l,
|
|
1317
|
-
switch ($ =
|
|
1316
|
+
for (var h = 0, d = 0, b = l, g = 0, I = 0, $ = 0, x = 1, M = 1, _ = 1, y = 0, A = "", j = a, u = i, Y = o, P = A; M; )
|
|
1317
|
+
switch ($ = y, y = q()) {
|
|
1318
1318
|
case 40:
|
|
1319
1319
|
if ($ != 108 && W(P, b - 1) == 58) {
|
|
1320
|
-
hr(P += C(Be(
|
|
1320
|
+
hr(P += C(Be(y), "&", "&\f"), "&\f") != -1 && (_ = -1);
|
|
1321
1321
|
break;
|
|
1322
1322
|
}
|
|
1323
1323
|
case 34:
|
|
1324
1324
|
case 39:
|
|
1325
1325
|
case 91:
|
|
1326
|
-
P += Be(
|
|
1326
|
+
P += Be(y);
|
|
1327
1327
|
break;
|
|
1328
1328
|
case 9:
|
|
1329
1329
|
case 10:
|
|
@@ -1344,48 +1344,48 @@ function Ge(e, r, t, o, a, i, l, c, p) {
|
|
|
1344
1344
|
P += "/";
|
|
1345
1345
|
}
|
|
1346
1346
|
break;
|
|
1347
|
-
case 123 *
|
|
1347
|
+
case 123 * x:
|
|
1348
1348
|
c[h++] = Z(P) * _;
|
|
1349
|
-
case 125 *
|
|
1349
|
+
case 125 * x:
|
|
1350
1350
|
case 59:
|
|
1351
1351
|
case 0:
|
|
1352
|
-
switch (
|
|
1352
|
+
switch (y) {
|
|
1353
1353
|
case 0:
|
|
1354
1354
|
case 125:
|
|
1355
1355
|
M = 0;
|
|
1356
1356
|
case 59 + d:
|
|
1357
|
-
_ == -1 && (P = C(P, /\f/g, "")),
|
|
1357
|
+
_ == -1 && (P = C(P, /\f/g, "")), I > 0 && Z(P) - b && ze(I > 32 ? Kr(P + ";", o, t, b - 1) : Kr(C(P, " ", "") + ";", o, t, b - 2), p);
|
|
1358
1358
|
break;
|
|
1359
1359
|
case 59:
|
|
1360
1360
|
P += ";";
|
|
1361
1361
|
default:
|
|
1362
|
-
if (ze(Y = qr(P, r, t, h, d, a, c, A,
|
|
1362
|
+
if (ze(Y = qr(P, r, t, h, d, a, c, A, j = [], u = [], b), i), y === 123)
|
|
1363
1363
|
if (d === 0)
|
|
1364
|
-
Ge(P, r, Y, Y,
|
|
1364
|
+
Ge(P, r, Y, Y, j, i, b, c, u);
|
|
1365
1365
|
else
|
|
1366
|
-
switch (
|
|
1366
|
+
switch (g === 99 && W(P, 3) === 110 ? 100 : g) {
|
|
1367
1367
|
case 100:
|
|
1368
1368
|
case 108:
|
|
1369
1369
|
case 109:
|
|
1370
1370
|
case 115:
|
|
1371
|
-
Ge(e, Y, Y, o && ze(qr(e, Y, Y, 0, 0, a, c, A, a,
|
|
1371
|
+
Ge(e, Y, Y, o && ze(qr(e, Y, Y, 0, 0, a, c, A, a, j = [], b), u), a, u, b, c, o ? j : u);
|
|
1372
1372
|
break;
|
|
1373
1373
|
default:
|
|
1374
1374
|
Ge(P, Y, Y, Y, [""], u, 0, c, u);
|
|
1375
1375
|
}
|
|
1376
1376
|
}
|
|
1377
|
-
h = d =
|
|
1377
|
+
h = d = I = 0, x = _ = 1, A = P = "", b = l;
|
|
1378
1378
|
break;
|
|
1379
1379
|
case 58:
|
|
1380
|
-
b = 1 + Z(P),
|
|
1380
|
+
b = 1 + Z(P), I = $;
|
|
1381
1381
|
default:
|
|
1382
|
-
if (
|
|
1383
|
-
if (
|
|
1384
|
-
--
|
|
1385
|
-
else if (
|
|
1382
|
+
if (x < 1) {
|
|
1383
|
+
if (y == 123)
|
|
1384
|
+
--x;
|
|
1385
|
+
else if (y == 125 && x++ == 0 && no() == 125)
|
|
1386
1386
|
continue;
|
|
1387
1387
|
}
|
|
1388
|
-
switch (P += Ze(
|
|
1388
|
+
switch (P += Ze(y), y * x) {
|
|
1389
1389
|
case 38:
|
|
1390
1390
|
_ = d > 0 ? 1 : (P += "\f", -1);
|
|
1391
1391
|
break;
|
|
@@ -1393,25 +1393,25 @@ function Ge(e, r, t, o, a, i, l, c, p) {
|
|
|
1393
1393
|
c[h++] = (Z(P) - 1) * _, _ = 1;
|
|
1394
1394
|
break;
|
|
1395
1395
|
case 64:
|
|
1396
|
-
Q() === 45 && (P += Be(q())),
|
|
1396
|
+
Q() === 45 && (P += Be(q())), g = Q(), d = b = Z(A = P += so(Ue())), y++;
|
|
1397
1397
|
break;
|
|
1398
1398
|
case 45:
|
|
1399
|
-
$ === 45 && Z(P) == 2 && (
|
|
1399
|
+
$ === 45 && Z(P) == 2 && (x = 0);
|
|
1400
1400
|
}
|
|
1401
1401
|
}
|
|
1402
1402
|
return i;
|
|
1403
1403
|
}
|
|
1404
1404
|
function qr(e, r, t, o, a, i, l, c, p, h, d) {
|
|
1405
|
-
for (var b = a - 1,
|
|
1406
|
-
for (var _ = 0,
|
|
1407
|
-
(A = yt(
|
|
1405
|
+
for (var b = a - 1, g = a === 0 ? i : [""], I = Rr(g), $ = 0, x = 0, M = 0; $ < o; ++$)
|
|
1406
|
+
for (var _ = 0, y = Oe(e, b + 1, b = Zn(x = l[$])), A = e; _ < I; ++_)
|
|
1407
|
+
(A = yt(x > 0 ? g[_] + " " + y : C(y, /&\f/g, g[_]))) && (p[M++] = A);
|
|
1408
1408
|
return Qe(e, r, t, a === 0 ? Sr : c, p, h, d);
|
|
1409
1409
|
}
|
|
1410
1410
|
function lo(e, r, t) {
|
|
1411
|
-
return Qe(e, r, t, _r, Ze(to()),
|
|
1411
|
+
return Qe(e, r, t, _r, Ze(to()), Oe(e, 2, -2), 0);
|
|
1412
1412
|
}
|
|
1413
1413
|
function Kr(e, r, t, o) {
|
|
1414
|
-
return Qe(e, r, t, Cr,
|
|
1414
|
+
return Qe(e, r, t, Cr, Oe(e, 0, o), Oe(e, o + 1, -1), o);
|
|
1415
1415
|
}
|
|
1416
1416
|
function pe(e, r) {
|
|
1417
1417
|
for (var t = "", o = Rr(e), a = 0; a < o; a++)
|
|
@@ -1454,13 +1454,13 @@ function mo(e) {
|
|
|
1454
1454
|
};
|
|
1455
1455
|
}
|
|
1456
1456
|
var ho = function(r, t, o) {
|
|
1457
|
-
for (var a = 0, i = 0; a = i, i = Q(), a === 38 && i === 12 && (t[o] = 1), !
|
|
1457
|
+
for (var a = 0, i = 0; a = i, i = Q(), a === 38 && i === 12 && (t[o] = 1), !ke(i); )
|
|
1458
1458
|
q();
|
|
1459
1459
|
return Ae(r, G);
|
|
1460
1460
|
}, vo = function(r, t) {
|
|
1461
1461
|
var o = -1, a = 44;
|
|
1462
1462
|
do
|
|
1463
|
-
switch (
|
|
1463
|
+
switch (ke(a)) {
|
|
1464
1464
|
case 0:
|
|
1465
1465
|
a === 38 && Q() === 12 && (t[o] = 1), r[o] += ho(G - 1, t, o);
|
|
1466
1466
|
break;
|
|
@@ -1654,7 +1654,7 @@ var Co = function(r, t, o, a) {
|
|
|
1654
1654
|
r.return = St(r.value, r.length);
|
|
1655
1655
|
break;
|
|
1656
1656
|
case gt:
|
|
1657
|
-
return pe([
|
|
1657
|
+
return pe([Te(r, {
|
|
1658
1658
|
value: C(r.value, "@", "@" + S)
|
|
1659
1659
|
})], a);
|
|
1660
1660
|
case Sr:
|
|
@@ -1662,15 +1662,15 @@ var Co = function(r, t, o, a) {
|
|
|
1662
1662
|
switch (eo(i, /(::plac\w+|:read-\w+)/)) {
|
|
1663
1663
|
case ":read-only":
|
|
1664
1664
|
case ":read-write":
|
|
1665
|
-
return pe([
|
|
1665
|
+
return pe([Te(r, {
|
|
1666
1666
|
props: [C(i, /:(read-\w+)/, ":" + He + "$1")]
|
|
1667
1667
|
})], a);
|
|
1668
1668
|
case "::placeholder":
|
|
1669
|
-
return pe([
|
|
1669
|
+
return pe([Te(r, {
|
|
1670
1670
|
props: [C(i, /:(plac\w+)/, ":" + S + "input-$1")]
|
|
1671
|
-
}),
|
|
1671
|
+
}), Te(r, {
|
|
1672
1672
|
props: [C(i, /:(plac\w+)/, ":" + He + "$1")]
|
|
1673
|
-
}),
|
|
1673
|
+
}), Te(r, {
|
|
1674
1674
|
props: [C(i, /:(plac\w+)/, z + "input-$1")]
|
|
1675
1675
|
})], a);
|
|
1676
1676
|
}
|
|
@@ -1684,9 +1684,9 @@ var Co = function(r, t, o, a) {
|
|
|
1684
1684
|
If multiple caches share the same key they might "fight" for each other's style elements.`);
|
|
1685
1685
|
if (t === "css") {
|
|
1686
1686
|
var o = document.querySelectorAll("style[data-emotion]:not([data-s])");
|
|
1687
|
-
Array.prototype.forEach.call(o, function(
|
|
1688
|
-
var M =
|
|
1689
|
-
M.indexOf(" ") !== -1 && (document.head.appendChild(
|
|
1687
|
+
Array.prototype.forEach.call(o, function(x) {
|
|
1688
|
+
var M = x.getAttribute("data-emotion");
|
|
1689
|
+
M.indexOf(" ") !== -1 && (document.head.appendChild(x), x.setAttribute("data-s", ""));
|
|
1690
1690
|
});
|
|
1691
1691
|
}
|
|
1692
1692
|
var a = r.stylisPlugins || Ro;
|
|
@@ -1697,10 +1697,10 @@ If multiple caches share the same key they might "fight" for each other's style
|
|
|
1697
1697
|
// this means we will ignore elements which don't have a space in them which
|
|
1698
1698
|
// means that the style elements we're looking at are only Emotion 11 server-rendered style elements
|
|
1699
1699
|
document.querySelectorAll('style[data-emotion^="' + t + ' "]'),
|
|
1700
|
-
function(
|
|
1701
|
-
for (var M =
|
|
1700
|
+
function(x) {
|
|
1701
|
+
for (var M = x.getAttribute("data-emotion").split(" "), _ = 1; _ < M.length; _++)
|
|
1702
1702
|
i[M[_]] = !0;
|
|
1703
|
-
c.push(
|
|
1703
|
+
c.push(x);
|
|
1704
1704
|
}
|
|
1705
1705
|
);
|
|
1706
1706
|
var p, h = [go, yo];
|
|
@@ -1710,19 +1710,19 @@ If multiple caches share the same key they might "fight" for each other's style
|
|
|
1710
1710
|
}
|
|
1711
1711
|
}), So);
|
|
1712
1712
|
{
|
|
1713
|
-
var d, b = [uo, process.env.NODE_ENV !== "production" ? function(
|
|
1714
|
-
|
|
1715
|
-
} : po(function(
|
|
1716
|
-
d.insert(
|
|
1717
|
-
})],
|
|
1718
|
-
return pe(co(M),
|
|
1713
|
+
var d, b = [uo, process.env.NODE_ENV !== "production" ? function(x) {
|
|
1714
|
+
x.root || (x.return ? d.insert(x.return) : x.value && x.type !== _r && d.insert(x.value + "{}"));
|
|
1715
|
+
} : po(function(x) {
|
|
1716
|
+
d.insert(x);
|
|
1717
|
+
})], g = fo(h.concat(a, b)), I = function(M) {
|
|
1718
|
+
return pe(co(M), g);
|
|
1719
1719
|
};
|
|
1720
|
-
p = function(M, _,
|
|
1721
|
-
d =
|
|
1720
|
+
p = function(M, _, y, A) {
|
|
1721
|
+
d = y, process.env.NODE_ENV !== "production" && _.map !== void 0 && (d = {
|
|
1722
1722
|
insert: function(u) {
|
|
1723
|
-
|
|
1723
|
+
y.insert(u + _.map);
|
|
1724
1724
|
}
|
|
1725
|
-
}),
|
|
1725
|
+
}), I(M ? M + "{" + _.styles + "}" : _.styles), A && ($.inserted[_.name] = !0);
|
|
1726
1726
|
};
|
|
1727
1727
|
}
|
|
1728
1728
|
var $ = {
|
|
@@ -1754,7 +1754,7 @@ var Zr;
|
|
|
1754
1754
|
function Oo() {
|
|
1755
1755
|
if (Zr) return T;
|
|
1756
1756
|
Zr = 1;
|
|
1757
|
-
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, p = e ? Symbol.for("react.async_mode") : 60111, h = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, b = e ? Symbol.for("react.suspense") : 60113,
|
|
1757
|
+
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, p = e ? Symbol.for("react.async_mode") : 60111, h = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, b = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, I = e ? Symbol.for("react.memo") : 60115, $ = e ? Symbol.for("react.lazy") : 60116, x = e ? Symbol.for("react.block") : 60121, M = e ? Symbol.for("react.fundamental") : 60117, _ = e ? Symbol.for("react.responder") : 60118, y = e ? Symbol.for("react.scope") : 60119;
|
|
1758
1758
|
function A(u) {
|
|
1759
1759
|
if (typeof u == "object" && u !== null) {
|
|
1760
1760
|
var Y = u.$$typeof;
|
|
@@ -1773,7 +1773,7 @@ function Oo() {
|
|
|
1773
1773
|
case c:
|
|
1774
1774
|
case d:
|
|
1775
1775
|
case $:
|
|
1776
|
-
case
|
|
1776
|
+
case I:
|
|
1777
1777
|
case l:
|
|
1778
1778
|
return u;
|
|
1779
1779
|
default:
|
|
@@ -1785,12 +1785,12 @@ function Oo() {
|
|
|
1785
1785
|
}
|
|
1786
1786
|
}
|
|
1787
1787
|
}
|
|
1788
|
-
function
|
|
1788
|
+
function j(u) {
|
|
1789
1789
|
return A(u) === h;
|
|
1790
1790
|
}
|
|
1791
|
-
return T.AsyncMode = p, T.ConcurrentMode = h, T.ContextConsumer = c, T.ContextProvider = l, T.Element = r, T.ForwardRef = d, T.Fragment = o, T.Lazy = $, T.Memo =
|
|
1792
|
-
return
|
|
1793
|
-
}, T.isConcurrentMode =
|
|
1791
|
+
return T.AsyncMode = p, T.ConcurrentMode = h, T.ContextConsumer = c, T.ContextProvider = l, T.Element = r, T.ForwardRef = d, T.Fragment = o, T.Lazy = $, T.Memo = I, T.Portal = t, T.Profiler = i, T.StrictMode = a, T.Suspense = b, T.isAsyncMode = function(u) {
|
|
1792
|
+
return j(u) || A(u) === p;
|
|
1793
|
+
}, T.isConcurrentMode = j, T.isContextConsumer = function(u) {
|
|
1794
1794
|
return A(u) === c;
|
|
1795
1795
|
}, T.isContextProvider = function(u) {
|
|
1796
1796
|
return A(u) === l;
|
|
@@ -1803,7 +1803,7 @@ function Oo() {
|
|
|
1803
1803
|
}, T.isLazy = function(u) {
|
|
1804
1804
|
return A(u) === $;
|
|
1805
1805
|
}, T.isMemo = function(u) {
|
|
1806
|
-
return A(u) ===
|
|
1806
|
+
return A(u) === I;
|
|
1807
1807
|
}, T.isPortal = function(u) {
|
|
1808
1808
|
return A(u) === t;
|
|
1809
1809
|
}, T.isProfiler = function(u) {
|
|
@@ -1813,7 +1813,7 @@ function Oo() {
|
|
|
1813
1813
|
}, T.isSuspense = function(u) {
|
|
1814
1814
|
return A(u) === b;
|
|
1815
1815
|
}, T.isValidElementType = function(u) {
|
|
1816
|
-
return typeof u == "string" || typeof u == "function" || u === o || u === h || u === i || u === a || u === b || u ===
|
|
1816
|
+
return typeof u == "string" || typeof u == "function" || u === o || u === h || u === i || u === a || u === b || u === g || typeof u == "object" && u !== null && (u.$$typeof === $ || u.$$typeof === I || u.$$typeof === l || u.$$typeof === c || u.$$typeof === d || u.$$typeof === M || u.$$typeof === _ || u.$$typeof === y || u.$$typeof === x);
|
|
1817
1817
|
}, T.typeOf = A, T;
|
|
1818
1818
|
}
|
|
1819
1819
|
var O = {};
|
|
@@ -1828,15 +1828,15 @@ var O = {};
|
|
|
1828
1828
|
var Xr;
|
|
1829
1829
|
function ko() {
|
|
1830
1830
|
return Xr || (Xr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1831
|
-
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, p = e ? Symbol.for("react.async_mode") : 60111, h = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, b = e ? Symbol.for("react.suspense") : 60113,
|
|
1831
|
+
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, p = e ? Symbol.for("react.async_mode") : 60111, h = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, b = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, I = e ? Symbol.for("react.memo") : 60115, $ = e ? Symbol.for("react.lazy") : 60116, x = e ? Symbol.for("react.block") : 60121, M = e ? Symbol.for("react.fundamental") : 60117, _ = e ? Symbol.for("react.responder") : 60118, y = e ? Symbol.for("react.scope") : 60119;
|
|
1832
1832
|
function A(m) {
|
|
1833
1833
|
return typeof m == "string" || typeof m == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1834
|
-
m === o || m === h || m === i || m === a || m === b || m ===
|
|
1834
|
+
m === o || m === h || m === i || m === a || m === b || m === g || typeof m == "object" && m !== null && (m.$$typeof === $ || m.$$typeof === I || m.$$typeof === l || m.$$typeof === c || m.$$typeof === d || m.$$typeof === M || m.$$typeof === _ || m.$$typeof === y || m.$$typeof === x);
|
|
1835
1835
|
}
|
|
1836
|
-
function
|
|
1836
|
+
function j(m) {
|
|
1837
1837
|
if (typeof m == "object" && m !== null) {
|
|
1838
|
-
var
|
|
1839
|
-
switch (
|
|
1838
|
+
var we = m.$$typeof;
|
|
1839
|
+
switch (we) {
|
|
1840
1840
|
case r:
|
|
1841
1841
|
var le = m.type;
|
|
1842
1842
|
switch (le) {
|
|
@@ -1853,59 +1853,59 @@ function ko() {
|
|
|
1853
1853
|
case c:
|
|
1854
1854
|
case d:
|
|
1855
1855
|
case $:
|
|
1856
|
-
case
|
|
1856
|
+
case I:
|
|
1857
1857
|
case l:
|
|
1858
1858
|
return ae;
|
|
1859
1859
|
default:
|
|
1860
|
-
return
|
|
1860
|
+
return we;
|
|
1861
1861
|
}
|
|
1862
1862
|
}
|
|
1863
1863
|
case t:
|
|
1864
|
-
return
|
|
1864
|
+
return we;
|
|
1865
1865
|
}
|
|
1866
1866
|
}
|
|
1867
1867
|
}
|
|
1868
|
-
var u = p, Y = h, P = c, rr = l, $e = r, tr = d, nr = o, Ne = $, K =
|
|
1868
|
+
var u = p, Y = h, P = c, rr = l, $e = r, tr = d, nr = o, Ne = $, K = I, ee = t, oe = i, Ie = a, je = b, be = !1;
|
|
1869
1869
|
function De(m) {
|
|
1870
|
-
return
|
|
1870
|
+
return be || (be = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), ge(m) || j(m) === p;
|
|
1871
1871
|
}
|
|
1872
|
-
function
|
|
1873
|
-
return
|
|
1872
|
+
function ge(m) {
|
|
1873
|
+
return j(m) === h;
|
|
1874
1874
|
}
|
|
1875
1875
|
function Fe(m) {
|
|
1876
|
-
return
|
|
1876
|
+
return j(m) === c;
|
|
1877
1877
|
}
|
|
1878
1878
|
function Me(m) {
|
|
1879
|
-
return
|
|
1879
|
+
return j(m) === l;
|
|
1880
1880
|
}
|
|
1881
1881
|
function Le(m) {
|
|
1882
1882
|
return typeof m == "object" && m !== null && m.$$typeof === r;
|
|
1883
1883
|
}
|
|
1884
1884
|
function or(m) {
|
|
1885
|
-
return
|
|
1885
|
+
return j(m) === d;
|
|
1886
1886
|
}
|
|
1887
1887
|
function ar(m) {
|
|
1888
|
-
return
|
|
1889
|
-
}
|
|
1890
|
-
function ge(m) {
|
|
1891
|
-
return I(m) === $;
|
|
1888
|
+
return j(m) === o;
|
|
1892
1889
|
}
|
|
1893
1890
|
function ye(m) {
|
|
1894
|
-
return
|
|
1891
|
+
return j(m) === $;
|
|
1892
|
+
}
|
|
1893
|
+
function Ee(m) {
|
|
1894
|
+
return j(m) === I;
|
|
1895
1895
|
}
|
|
1896
1896
|
function se(m) {
|
|
1897
|
-
return
|
|
1897
|
+
return j(m) === t;
|
|
1898
1898
|
}
|
|
1899
|
-
function
|
|
1900
|
-
return
|
|
1899
|
+
function xe(m) {
|
|
1900
|
+
return j(m) === i;
|
|
1901
1901
|
}
|
|
1902
1902
|
function ce(m) {
|
|
1903
|
-
return
|
|
1903
|
+
return j(m) === a;
|
|
1904
1904
|
}
|
|
1905
1905
|
function ir(m) {
|
|
1906
|
-
return
|
|
1906
|
+
return j(m) === b;
|
|
1907
1907
|
}
|
|
1908
|
-
O.AsyncMode = u, O.ConcurrentMode = Y, O.ContextConsumer = P, O.ContextProvider = rr, O.Element = $e, O.ForwardRef = tr, O.Fragment = nr, O.Lazy = Ne, O.Memo = K, O.Portal = ee, O.Profiler = oe, O.StrictMode = Ie, O.Suspense = je, O.isAsyncMode = De, O.isConcurrentMode =
|
|
1908
|
+
O.AsyncMode = u, O.ConcurrentMode = Y, O.ContextConsumer = P, O.ContextProvider = rr, O.Element = $e, O.ForwardRef = tr, O.Fragment = nr, O.Lazy = Ne, O.Memo = K, O.Portal = ee, O.Profiler = oe, O.StrictMode = Ie, O.Suspense = je, O.isAsyncMode = De, O.isConcurrentMode = ge, O.isContextConsumer = Fe, O.isContextProvider = Me, O.isElement = Le, O.isForwardRef = or, O.isFragment = ar, O.isLazy = ye, O.isMemo = Ee, O.isPortal = se, O.isProfiler = xe, O.isStrictMode = ce, O.isSuspense = ir, O.isValidElementType = A, O.typeOf = j;
|
|
1909
1909
|
}()), O;
|
|
1910
1910
|
}
|
|
1911
1911
|
process.env.NODE_ENV === "production" ? br.exports = Oo() : br.exports = ko();
|
|
@@ -2057,7 +2057,7 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
2057
2057
|
};
|
|
2058
2058
|
}
|
|
2059
2059
|
var kt = "Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";
|
|
2060
|
-
function
|
|
2060
|
+
function Pe(e, r, t) {
|
|
2061
2061
|
if (t == null)
|
|
2062
2062
|
return "";
|
|
2063
2063
|
if (t.__emotion_styles !== void 0) {
|
|
@@ -2092,15 +2092,15 @@ function ke(e, r, t) {
|
|
|
2092
2092
|
case "function": {
|
|
2093
2093
|
if (e !== void 0) {
|
|
2094
2094
|
var i = J, l = t(e);
|
|
2095
|
-
return J = i,
|
|
2095
|
+
return J = i, Pe(e, r, l);
|
|
2096
2096
|
} else process.env.NODE_ENV !== "production" && console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");
|
|
2097
2097
|
break;
|
|
2098
2098
|
}
|
|
2099
2099
|
case "string":
|
|
2100
2100
|
if (process.env.NODE_ENV !== "production") {
|
|
2101
2101
|
var c = [], p = t.replace(Ot, function(h, d, b) {
|
|
2102
|
-
var
|
|
2103
|
-
return c.push("const " +
|
|
2102
|
+
var g = "animation" + c.length;
|
|
2103
|
+
return c.push("const " + g + " = keyframes`" + b.replace(/^@keyframes animation-\w+/, "") + "`"), "${" + g + "}";
|
|
2104
2104
|
});
|
|
2105
2105
|
c.length && console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n" + [].concat(c, ["`" + p + "`"]).join(`
|
|
2106
2106
|
`) + `
|
|
@@ -2117,7 +2117,7 @@ function Bo(e, r, t) {
|
|
|
2117
2117
|
var o = "";
|
|
2118
2118
|
if (Array.isArray(t))
|
|
2119
2119
|
for (var a = 0; a < t.length; a++)
|
|
2120
|
-
o +=
|
|
2120
|
+
o += Pe(e, r, t[a]) + ";";
|
|
2121
2121
|
else
|
|
2122
2122
|
for (var i in t) {
|
|
2123
2123
|
var l = t[i];
|
|
@@ -2130,7 +2130,7 @@ function Bo(e, r, t) {
|
|
|
2130
2130
|
for (var c = 0; c < l.length; c++)
|
|
2131
2131
|
et(l[c]) && (o += pr(i) + ":" + Je(i, l[c]) + ";");
|
|
2132
2132
|
else {
|
|
2133
|
-
var p =
|
|
2133
|
+
var p = Pe(e, r, l);
|
|
2134
2134
|
switch (i) {
|
|
2135
2135
|
case "animation":
|
|
2136
2136
|
case "animationName": {
|
|
@@ -2153,12 +2153,12 @@ var J, nt = function(r, t, o) {
|
|
|
2153
2153
|
var a = !0, i = "";
|
|
2154
2154
|
J = void 0;
|
|
2155
2155
|
var l = r[0];
|
|
2156
|
-
l == null || l.raw === void 0 ? (a = !1, i +=
|
|
2156
|
+
l == null || l.raw === void 0 ? (a = !1, i += Pe(o, t, l)) : (process.env.NODE_ENV !== "production" && l[0] === void 0 && console.error(Qr), i += l[0]);
|
|
2157
2157
|
for (var c = 1; c < r.length; c++)
|
|
2158
|
-
i +=
|
|
2158
|
+
i += Pe(o, t, r[c]), a && (process.env.NODE_ENV !== "production" && l[c] === void 0 && console.error(Qr), i += l[c]);
|
|
2159
2159
|
var p;
|
|
2160
|
-
process.env.NODE_ENV !== "production" && (i = i.replace(Pt, function(
|
|
2161
|
-
return p =
|
|
2160
|
+
process.env.NODE_ENV !== "production" && (i = i.replace(Pt, function(g) {
|
|
2161
|
+
return p = g, "";
|
|
2162
2162
|
})), tt.lastIndex = 0;
|
|
2163
2163
|
for (var h = "", d; (d = tt.exec(i)) !== null; )
|
|
2164
2164
|
h += "-" + // $FlowFixMe we know it's not null
|
|
@@ -2296,10 +2296,10 @@ function Ta({
|
|
|
2296
2296
|
inline: c,
|
|
2297
2297
|
...p
|
|
2298
2298
|
}) {
|
|
2299
|
-
const [h, d] =
|
|
2299
|
+
const [h, d] = he(t);
|
|
2300
2300
|
if (typeof window > "u") return /* @__PURE__ */ de(lt, {});
|
|
2301
|
-
function b({ target:
|
|
2302
|
-
d(
|
|
2301
|
+
function b({ target: g }) {
|
|
2302
|
+
d(g.checked), a && a(g.name, g.checked);
|
|
2303
2303
|
}
|
|
2304
2304
|
return /* @__PURE__ */ jt(kr, { inline: c, reverse: l, required: i, children: [
|
|
2305
2305
|
/* @__PURE__ */ de("label", { htmlFor: e, title: r, children: r }),
|
|
@@ -2315,7 +2315,7 @@ function Ta({
|
|
|
2315
2315
|
css: { width: "fit-content" }
|
|
2316
2316
|
}
|
|
2317
2317
|
),
|
|
2318
|
-
o.length > 0 && o.map((
|
|
2318
|
+
o.length > 0 && o.map((g) => /* @__PURE__ */ de(Dt, { children: g }, g))
|
|
2319
2319
|
] });
|
|
2320
2320
|
}
|
|
2321
2321
|
const Oa = D.form({
|
|
@@ -2352,7 +2352,7 @@ function ka({
|
|
|
2352
2352
|
required: i = !1,
|
|
2353
2353
|
...l
|
|
2354
2354
|
}) {
|
|
2355
|
-
const [c, p] =
|
|
2355
|
+
const [c, p] = he(t);
|
|
2356
2356
|
function h({ target: d }) {
|
|
2357
2357
|
p(d.value), a && a(d.name, d.value);
|
|
2358
2358
|
}
|
|
@@ -2374,26 +2374,31 @@ function ka({
|
|
|
2374
2374
|
function Pa({
|
|
2375
2375
|
name: e,
|
|
2376
2376
|
label: r,
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2377
|
+
value: t,
|
|
2378
|
+
options: o,
|
|
2379
|
+
onChangeCallback: a,
|
|
2380
|
+
formatOptionLabel: i,
|
|
2381
|
+
required: l = !1,
|
|
2382
|
+
...c
|
|
2382
2383
|
}) {
|
|
2383
|
-
const
|
|
2384
|
-
|
|
2384
|
+
const p = ut(), [h, d] = he(
|
|
2385
|
+
() => o.find((g) => g.value === t) ?? null
|
|
2386
|
+
), b = (g) => {
|
|
2387
|
+
a == null || a(g.value), d(g);
|
|
2388
|
+
};
|
|
2389
|
+
return /* @__PURE__ */ jt(kr, { required: l, children: [
|
|
2385
2390
|
r && /* @__PURE__ */ de("label", { htmlFor: e, title: `${e} field`, children: r }),
|
|
2386
2391
|
/* @__PURE__ */ de(
|
|
2387
2392
|
mn,
|
|
2388
2393
|
{
|
|
2389
|
-
onChange: (
|
|
2390
|
-
options:
|
|
2391
|
-
isDisabled:
|
|
2394
|
+
onChange: (g) => b(g),
|
|
2395
|
+
options: o,
|
|
2396
|
+
isDisabled: c.disabled,
|
|
2392
2397
|
menuPlacement: "auto",
|
|
2393
|
-
formatOptionLabel:
|
|
2394
|
-
css: { width: "100%", color:
|
|
2395
|
-
className:
|
|
2396
|
-
|
|
2398
|
+
formatOptionLabel: i ? (g, I) => i(g, I) : void 0,
|
|
2399
|
+
css: { width: "100%", color: p.colors.black },
|
|
2400
|
+
className: c.className,
|
|
2401
|
+
value: h
|
|
2397
2402
|
}
|
|
2398
2403
|
)
|
|
2399
2404
|
] });
|
|
@@ -2480,7 +2485,7 @@ function Aa({
|
|
|
2480
2485
|
children: e,
|
|
2481
2486
|
onPreferenceChange: r
|
|
2482
2487
|
}) {
|
|
2483
|
-
const [t, o] =
|
|
2488
|
+
const [t, o] = he(
|
|
2484
2489
|
() => localStorage.getItem(at) === "true"
|
|
2485
2490
|
), a = (i) => {
|
|
2486
2491
|
o(i), r == null || r(i), localStorage.setItem(at, String(i));
|