this.gui 0.0.7 → 0.0.8
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/style.css +1 -1
- package/dist/this-gui.es.js +595 -559
- package/dist/this-gui.umd.js +14 -14
- package/package.json +1 -1
package/dist/this-gui.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
function
|
|
1
|
+
import ln, { useState as An, useEffect as Bn } from "react";
|
|
2
|
+
function In(r) {
|
|
3
3
|
return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
|
|
4
4
|
}
|
|
5
|
-
var
|
|
5
|
+
var Ne = { exports: {} }, Te = {};
|
|
6
6
|
/**
|
|
7
7
|
* @license React
|
|
8
8
|
* react-jsx-runtime.production.min.js
|
|
@@ -13,22 +13,22 @@ var ze = { exports: {} }, Te = {};
|
|
|
13
13
|
* LICENSE file in the root directory of this source tree.
|
|
14
14
|
*/
|
|
15
15
|
var Kr;
|
|
16
|
-
function
|
|
16
|
+
function Nn() {
|
|
17
17
|
if (Kr)
|
|
18
18
|
return Te;
|
|
19
19
|
Kr = 1;
|
|
20
|
-
var r =
|
|
20
|
+
var r = ln, s = Symbol.for("react.element"), a = Symbol.for("react.fragment"), t = Object.prototype.hasOwnProperty, i = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, u = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
21
21
|
function R(y, h, w) {
|
|
22
|
-
var b, _ = {},
|
|
23
|
-
w !== void 0 && (
|
|
22
|
+
var b, _ = {}, N = null, q = null;
|
|
23
|
+
w !== void 0 && (N = "" + w), h.key !== void 0 && (N = "" + h.key), h.ref !== void 0 && (q = h.ref);
|
|
24
24
|
for (b in h)
|
|
25
|
-
t.call(h, b) && !
|
|
25
|
+
t.call(h, b) && !u.hasOwnProperty(b) && (_[b] = h[b]);
|
|
26
26
|
if (y && y.defaultProps)
|
|
27
27
|
for (b in h = y.defaultProps, h)
|
|
28
28
|
_[b] === void 0 && (_[b] = h[b]);
|
|
29
|
-
return { $$typeof:
|
|
29
|
+
return { $$typeof: s, type: y, key: N, ref: q, props: _, _owner: i.current };
|
|
30
30
|
}
|
|
31
|
-
return Te.Fragment =
|
|
31
|
+
return Te.Fragment = a, Te.jsx = R, Te.jsxs = R, Te;
|
|
32
32
|
}
|
|
33
33
|
var Re = {};
|
|
34
34
|
/**
|
|
@@ -41,17 +41,17 @@ var Re = {};
|
|
|
41
41
|
* LICENSE file in the root directory of this source tree.
|
|
42
42
|
*/
|
|
43
43
|
var Xr;
|
|
44
|
-
function
|
|
44
|
+
function zn() {
|
|
45
45
|
return Xr || (Xr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
46
|
-
var r =
|
|
47
|
-
function
|
|
46
|
+
var r = ln, s = Symbol.for("react.element"), a = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), u = Symbol.for("react.profiler"), R = Symbol.for("react.provider"), y = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), b = Symbol.for("react.suspense_list"), _ = Symbol.for("react.memo"), N = Symbol.for("react.lazy"), q = Symbol.for("react.offscreen"), V = Symbol.iterator, M = "@@iterator";
|
|
47
|
+
function H(e) {
|
|
48
48
|
if (e === null || typeof e != "object")
|
|
49
49
|
return null;
|
|
50
|
-
var o =
|
|
50
|
+
var o = V && e[V] || e[M];
|
|
51
51
|
return typeof o == "function" ? o : null;
|
|
52
52
|
}
|
|
53
53
|
var L = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
54
|
-
function
|
|
54
|
+
function D(e) {
|
|
55
55
|
{
|
|
56
56
|
for (var o = arguments.length, c = new Array(o > 1 ? o - 1 : 0), v = 1; v < o; v++)
|
|
57
57
|
c[v - 1] = arguments[v];
|
|
@@ -62,22 +62,22 @@ function In() {
|
|
|
62
62
|
{
|
|
63
63
|
var v = L.ReactDebugCurrentFrame, A = v.getStackAddendum();
|
|
64
64
|
A !== "" && (o += "%s", c = c.concat([A]));
|
|
65
|
-
var
|
|
65
|
+
var z = c.map(function($) {
|
|
66
66
|
return String($);
|
|
67
67
|
});
|
|
68
|
-
|
|
68
|
+
z.unshift("Warning: " + o), Function.prototype.apply.call(console[e], console, z);
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
|
-
var W = !1, f = !1, te = !1, ye = !1, ve = !1,
|
|
72
|
-
|
|
71
|
+
var W = !1, f = !1, te = !1, ye = !1, ve = !1, le;
|
|
72
|
+
le = Symbol.for("react.module.reference");
|
|
73
73
|
function be(e) {
|
|
74
|
-
return !!(typeof e == "string" || typeof e == "function" || e === t || e ===
|
|
74
|
+
return !!(typeof e == "string" || typeof e == "function" || e === t || e === u || ve || e === i || e === w || e === b || ye || e === q || W || f || te || typeof e == "object" && e !== null && (e.$$typeof === N || e.$$typeof === _ || e.$$typeof === R || e.$$typeof === y || e.$$typeof === h || // This needs to include all possible module reference object
|
|
75
75
|
// types supported by any Flight configuration anywhere since
|
|
76
76
|
// we don't know which Flight build this will end up being used
|
|
77
77
|
// with.
|
|
78
|
-
e.$$typeof ===
|
|
78
|
+
e.$$typeof === le || e.getModuleId !== void 0));
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function ue(e, o, c) {
|
|
81
81
|
var v = e.displayName;
|
|
82
82
|
if (v)
|
|
83
83
|
return v;
|
|
@@ -90,18 +90,18 @@ function In() {
|
|
|
90
90
|
function K(e) {
|
|
91
91
|
if (e == null)
|
|
92
92
|
return null;
|
|
93
|
-
if (typeof e.tag == "number" &&
|
|
93
|
+
if (typeof e.tag == "number" && D("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
94
94
|
return e.displayName || e.name || null;
|
|
95
95
|
if (typeof e == "string")
|
|
96
96
|
return e;
|
|
97
97
|
switch (e) {
|
|
98
98
|
case t:
|
|
99
99
|
return "Fragment";
|
|
100
|
-
case
|
|
100
|
+
case a:
|
|
101
101
|
return "Portal";
|
|
102
|
-
case
|
|
102
|
+
case u:
|
|
103
103
|
return "Profiler";
|
|
104
|
-
case
|
|
104
|
+
case i:
|
|
105
105
|
return "StrictMode";
|
|
106
106
|
case w:
|
|
107
107
|
return "Suspense";
|
|
@@ -117,14 +117,14 @@ function In() {
|
|
|
117
117
|
var c = e;
|
|
118
118
|
return ce(c._context) + ".Provider";
|
|
119
119
|
case h:
|
|
120
|
-
return
|
|
120
|
+
return ue(e, e.render, "ForwardRef");
|
|
121
121
|
case _:
|
|
122
122
|
var v = e.displayName || null;
|
|
123
123
|
return v !== null ? v : K(e.type) || "Memo";
|
|
124
|
-
case
|
|
125
|
-
var A = e,
|
|
124
|
+
case N: {
|
|
125
|
+
var A = e, z = A._payload, $ = A._init;
|
|
126
126
|
try {
|
|
127
|
-
return K($(
|
|
127
|
+
return K($(z));
|
|
128
128
|
} catch {
|
|
129
129
|
return null;
|
|
130
130
|
}
|
|
@@ -132,18 +132,18 @@ function In() {
|
|
|
132
132
|
}
|
|
133
133
|
return null;
|
|
134
134
|
}
|
|
135
|
-
var X = Object.assign, oe = 0, Q, ne, ae, de,
|
|
136
|
-
function
|
|
135
|
+
var X = Object.assign, oe = 0, Q, ne, ae, de, l, p, P;
|
|
136
|
+
function x() {
|
|
137
137
|
}
|
|
138
|
-
|
|
138
|
+
x.__reactDisabledLog = !0;
|
|
139
139
|
function g() {
|
|
140
140
|
{
|
|
141
141
|
if (oe === 0) {
|
|
142
|
-
Q = console.log, ne = console.info, ae = console.warn, de = console.error,
|
|
142
|
+
Q = console.log, ne = console.info, ae = console.warn, de = console.error, l = console.group, p = console.groupCollapsed, P = console.groupEnd;
|
|
143
143
|
var e = {
|
|
144
144
|
configurable: !0,
|
|
145
145
|
enumerable: !0,
|
|
146
|
-
value:
|
|
146
|
+
value: x,
|
|
147
147
|
writable: !0
|
|
148
148
|
};
|
|
149
149
|
Object.defineProperties(console, {
|
|
@@ -181,17 +181,17 @@ function In() {
|
|
|
181
181
|
value: de
|
|
182
182
|
}),
|
|
183
183
|
group: X({}, e, {
|
|
184
|
-
value:
|
|
184
|
+
value: l
|
|
185
185
|
}),
|
|
186
186
|
groupCollapsed: X({}, e, {
|
|
187
187
|
value: p
|
|
188
188
|
}),
|
|
189
189
|
groupEnd: X({}, e, {
|
|
190
|
-
value:
|
|
190
|
+
value: P
|
|
191
191
|
})
|
|
192
192
|
});
|
|
193
193
|
}
|
|
194
|
-
oe < 0 &&
|
|
194
|
+
oe < 0 && D("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
197
|
var T = L.ReactCurrentDispatcher, E;
|
|
@@ -208,16 +208,16 @@ function In() {
|
|
|
208
208
|
` + E + e;
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
|
-
var k = !1,
|
|
211
|
+
var k = !1, S;
|
|
212
212
|
{
|
|
213
213
|
var G = typeof WeakMap == "function" ? WeakMap : Map;
|
|
214
|
-
|
|
214
|
+
S = new G();
|
|
215
215
|
}
|
|
216
216
|
function d(e, o) {
|
|
217
217
|
if (!e || k)
|
|
218
218
|
return "";
|
|
219
219
|
{
|
|
220
|
-
var c =
|
|
220
|
+
var c = S.get(e);
|
|
221
221
|
if (c !== void 0)
|
|
222
222
|
return c;
|
|
223
223
|
}
|
|
@@ -225,8 +225,8 @@ function In() {
|
|
|
225
225
|
k = !0;
|
|
226
226
|
var A = Error.prepareStackTrace;
|
|
227
227
|
Error.prepareStackTrace = void 0;
|
|
228
|
-
var
|
|
229
|
-
|
|
228
|
+
var z;
|
|
229
|
+
z = T.current, T.current = null, g();
|
|
230
230
|
try {
|
|
231
231
|
if (o) {
|
|
232
232
|
var $ = function() {
|
|
@@ -261,28 +261,28 @@ function In() {
|
|
|
261
261
|
}
|
|
262
262
|
} catch (Z) {
|
|
263
263
|
if (Z && v && typeof Z.stack == "string") {
|
|
264
|
-
for (var
|
|
264
|
+
for (var O = Z.stack.split(`
|
|
265
265
|
`), J = v.stack.split(`
|
|
266
|
-
`), F =
|
|
266
|
+
`), F = O.length - 1, Y = J.length - 1; F >= 1 && Y >= 0 && O[F] !== J[Y]; )
|
|
267
267
|
Y--;
|
|
268
268
|
for (; F >= 1 && Y >= 0; F--, Y--)
|
|
269
|
-
if (
|
|
269
|
+
if (O[F] !== J[Y]) {
|
|
270
270
|
if (F !== 1 || Y !== 1)
|
|
271
271
|
do
|
|
272
|
-
if (F--, Y--, Y < 0 ||
|
|
272
|
+
if (F--, Y--, Y < 0 || O[F] !== J[Y]) {
|
|
273
273
|
var re = `
|
|
274
|
-
` +
|
|
275
|
-
return e.displayName && re.includes("<anonymous>") && (re = re.replace("<anonymous>", e.displayName)), typeof e == "function" &&
|
|
274
|
+
` + O[F].replace(" at new ", " at ");
|
|
275
|
+
return e.displayName && re.includes("<anonymous>") && (re = re.replace("<anonymous>", e.displayName)), typeof e == "function" && S.set(e, re), re;
|
|
276
276
|
}
|
|
277
277
|
while (F >= 1 && Y >= 0);
|
|
278
278
|
break;
|
|
279
279
|
}
|
|
280
280
|
}
|
|
281
281
|
} finally {
|
|
282
|
-
k = !1, T.current =
|
|
282
|
+
k = !1, T.current = z, C(), Error.prepareStackTrace = A;
|
|
283
283
|
}
|
|
284
284
|
var me = e ? e.displayName || e.name : "", se = me ? j(me) : "";
|
|
285
|
-
return typeof e == "function" &&
|
|
285
|
+
return typeof e == "function" && S.set(e, se), se;
|
|
286
286
|
}
|
|
287
287
|
function ee(e, o, c) {
|
|
288
288
|
return d(e, !1);
|
|
@@ -310,17 +310,17 @@ function In() {
|
|
|
310
310
|
return ee(e.render);
|
|
311
311
|
case _:
|
|
312
312
|
return ie(e.type, o, c);
|
|
313
|
-
case
|
|
314
|
-
var v = e, A = v._payload,
|
|
313
|
+
case N: {
|
|
314
|
+
var v = e, A = v._payload, z = v._init;
|
|
315
315
|
try {
|
|
316
|
-
return ie(
|
|
316
|
+
return ie(z(A), o, c);
|
|
317
317
|
} catch {
|
|
318
318
|
}
|
|
319
319
|
}
|
|
320
320
|
}
|
|
321
321
|
return "";
|
|
322
322
|
}
|
|
323
|
-
var ge = Object.prototype.hasOwnProperty,
|
|
323
|
+
var ge = Object.prototype.hasOwnProperty, zr = {}, Mr = L.ReactDebugCurrentFrame;
|
|
324
324
|
function Ee(e) {
|
|
325
325
|
if (e) {
|
|
326
326
|
var o = e._owner, c = ie(e.type, e._source, o ? o.type : null);
|
|
@@ -330,25 +330,25 @@ function In() {
|
|
|
330
330
|
}
|
|
331
331
|
function dn(e, o, c, v, A) {
|
|
332
332
|
{
|
|
333
|
-
var
|
|
333
|
+
var z = Function.call.bind(ge);
|
|
334
334
|
for (var $ in e)
|
|
335
|
-
if (
|
|
336
|
-
var
|
|
335
|
+
if (z(e, $)) {
|
|
336
|
+
var O = void 0;
|
|
337
337
|
try {
|
|
338
338
|
if (typeof e[$] != "function") {
|
|
339
339
|
var J = Error((v || "React class") + ": " + c + " type `" + $ + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[$] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
340
340
|
throw J.name = "Invariant Violation", J;
|
|
341
341
|
}
|
|
342
|
-
|
|
342
|
+
O = e[$](o, $, v, c, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
343
343
|
} catch (F) {
|
|
344
|
-
|
|
344
|
+
O = F;
|
|
345
345
|
}
|
|
346
|
-
|
|
346
|
+
O && !(O instanceof Error) && (Ee(A), D("%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", c, $, typeof O), Ee(null)), O instanceof Error && !(O.message in zr) && (zr[O.message] = !0, Ee(A), D("Failed %s type: %s", c, O.message), Ee(null));
|
|
347
347
|
}
|
|
348
348
|
}
|
|
349
349
|
}
|
|
350
350
|
var fn = Array.isArray;
|
|
351
|
-
function
|
|
351
|
+
function Pe(e) {
|
|
352
352
|
return fn(e);
|
|
353
353
|
}
|
|
354
354
|
function pn(e) {
|
|
@@ -359,17 +359,17 @@ function In() {
|
|
|
359
359
|
}
|
|
360
360
|
function mn(e) {
|
|
361
361
|
try {
|
|
362
|
-
return
|
|
362
|
+
return qr(e), !1;
|
|
363
363
|
} catch {
|
|
364
364
|
return !0;
|
|
365
365
|
}
|
|
366
366
|
}
|
|
367
|
-
function
|
|
367
|
+
function qr(e) {
|
|
368
368
|
return "" + e;
|
|
369
369
|
}
|
|
370
|
-
function
|
|
370
|
+
function Dr(e) {
|
|
371
371
|
if (mn(e))
|
|
372
|
-
return
|
|
372
|
+
return D("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", pn(e)), qr(e);
|
|
373
373
|
}
|
|
374
374
|
var he = L.ReactCurrentOwner, yn = {
|
|
375
375
|
key: !0,
|
|
@@ -397,13 +397,13 @@ function In() {
|
|
|
397
397
|
function gn(e, o) {
|
|
398
398
|
if (typeof e.ref == "string" && he.current && o && he.current.stateNode !== o) {
|
|
399
399
|
var c = K(he.current.type);
|
|
400
|
-
_e[c] || (
|
|
400
|
+
_e[c] || (D('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(he.current.type), e.ref), _e[c] = !0);
|
|
401
401
|
}
|
|
402
402
|
}
|
|
403
403
|
function hn(e, o) {
|
|
404
404
|
{
|
|
405
405
|
var c = function() {
|
|
406
|
-
Fr || (Fr = !0,
|
|
406
|
+
Fr || (Fr = !0, D("%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)", o));
|
|
407
407
|
};
|
|
408
408
|
c.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
409
409
|
get: c,
|
|
@@ -414,7 +414,7 @@ function In() {
|
|
|
414
414
|
function Tn(e, o) {
|
|
415
415
|
{
|
|
416
416
|
var c = function() {
|
|
417
|
-
Wr || (Wr = !0,
|
|
417
|
+
Wr || (Wr = !0, D("%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)", o));
|
|
418
418
|
};
|
|
419
419
|
c.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
420
420
|
get: c,
|
|
@@ -422,51 +422,51 @@ function In() {
|
|
|
422
422
|
});
|
|
423
423
|
}
|
|
424
424
|
}
|
|
425
|
-
var Rn = function(e, o, c, v, A,
|
|
426
|
-
var
|
|
425
|
+
var Rn = function(e, o, c, v, A, z, $) {
|
|
426
|
+
var O = {
|
|
427
427
|
// This tag allows us to uniquely identify this as a React Element
|
|
428
|
-
$$typeof:
|
|
428
|
+
$$typeof: s,
|
|
429
429
|
// Built-in properties that belong on the element
|
|
430
430
|
type: e,
|
|
431
431
|
key: o,
|
|
432
432
|
ref: c,
|
|
433
433
|
props: $,
|
|
434
434
|
// Record the component responsible for creating this element.
|
|
435
|
-
_owner:
|
|
435
|
+
_owner: z
|
|
436
436
|
};
|
|
437
|
-
return
|
|
437
|
+
return O._store = {}, Object.defineProperty(O._store, "validated", {
|
|
438
438
|
configurable: !1,
|
|
439
439
|
enumerable: !1,
|
|
440
440
|
writable: !0,
|
|
441
441
|
value: !1
|
|
442
|
-
}), Object.defineProperty(
|
|
442
|
+
}), Object.defineProperty(O, "_self", {
|
|
443
443
|
configurable: !1,
|
|
444
444
|
enumerable: !1,
|
|
445
445
|
writable: !1,
|
|
446
446
|
value: v
|
|
447
|
-
}), Object.defineProperty(
|
|
447
|
+
}), Object.defineProperty(O, "_source", {
|
|
448
448
|
configurable: !1,
|
|
449
449
|
enumerable: !1,
|
|
450
450
|
writable: !1,
|
|
451
451
|
value: A
|
|
452
|
-
}), Object.freeze && (Object.freeze(
|
|
452
|
+
}), Object.freeze && (Object.freeze(O.props), Object.freeze(O)), O;
|
|
453
453
|
};
|
|
454
454
|
function En(e, o, c, v, A) {
|
|
455
455
|
{
|
|
456
|
-
var
|
|
457
|
-
c !== void 0 && (
|
|
458
|
-
for (
|
|
459
|
-
ge.call(o,
|
|
456
|
+
var z, $ = {}, O = null, J = null;
|
|
457
|
+
c !== void 0 && (Dr(c), O = "" + c), bn(o) && (Dr(o.key), O = "" + o.key), vn(o) && (J = o.ref, gn(o, A));
|
|
458
|
+
for (z in o)
|
|
459
|
+
ge.call(o, z) && !yn.hasOwnProperty(z) && ($[z] = o[z]);
|
|
460
460
|
if (e && e.defaultProps) {
|
|
461
461
|
var F = e.defaultProps;
|
|
462
|
-
for (
|
|
463
|
-
$[
|
|
462
|
+
for (z in F)
|
|
463
|
+
$[z] === void 0 && ($[z] = F[z]);
|
|
464
464
|
}
|
|
465
|
-
if (
|
|
465
|
+
if (O || J) {
|
|
466
466
|
var Y = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
467
|
-
|
|
467
|
+
O && hn($, Y), J && Tn($, Y);
|
|
468
468
|
}
|
|
469
|
-
return Rn(e,
|
|
469
|
+
return Rn(e, O, J, A, v, he.current, $);
|
|
470
470
|
}
|
|
471
471
|
}
|
|
472
472
|
var je = L.ReactCurrentOwner, Yr = L.ReactDebugCurrentFrame;
|
|
@@ -477,10 +477,10 @@ function In() {
|
|
|
477
477
|
} else
|
|
478
478
|
Yr.setExtraStackFrame(null);
|
|
479
479
|
}
|
|
480
|
-
var
|
|
481
|
-
|
|
482
|
-
function
|
|
483
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
480
|
+
var Se;
|
|
481
|
+
Se = !1;
|
|
482
|
+
function Oe(e) {
|
|
483
|
+
return typeof e == "object" && e !== null && e.$$typeof === s;
|
|
484
484
|
}
|
|
485
485
|
function Lr() {
|
|
486
486
|
{
|
|
@@ -494,7 +494,7 @@ Check the render method of \`` + e + "`.";
|
|
|
494
494
|
return "";
|
|
495
495
|
}
|
|
496
496
|
}
|
|
497
|
-
function
|
|
497
|
+
function xn(e) {
|
|
498
498
|
{
|
|
499
499
|
if (e !== void 0) {
|
|
500
500
|
var o = e.fileName.replace(/^.*[\\\/]/, ""), c = e.lineNumber;
|
|
@@ -506,7 +506,7 @@ Check your code at ` + o + ":" + c + ".";
|
|
|
506
506
|
}
|
|
507
507
|
}
|
|
508
508
|
var Ur = {};
|
|
509
|
-
function
|
|
509
|
+
function Pn(e) {
|
|
510
510
|
{
|
|
511
511
|
var o = Lr();
|
|
512
512
|
if (!o) {
|
|
@@ -518,35 +518,35 @@ Check the top-level render call using <` + c + ">.");
|
|
|
518
518
|
return o;
|
|
519
519
|
}
|
|
520
520
|
}
|
|
521
|
-
function
|
|
521
|
+
function Hr(e, o) {
|
|
522
522
|
{
|
|
523
523
|
if (!e._store || e._store.validated || e.key != null)
|
|
524
524
|
return;
|
|
525
525
|
e._store.validated = !0;
|
|
526
|
-
var c =
|
|
526
|
+
var c = Pn(o);
|
|
527
527
|
if (Ur[c])
|
|
528
528
|
return;
|
|
529
529
|
Ur[c] = !0;
|
|
530
530
|
var v = "";
|
|
531
|
-
e && e._owner && e._owner !== je.current && (v = " It was passed a child from " + K(e._owner.type) + "."), pe(e),
|
|
531
|
+
e && e._owner && e._owner !== je.current && (v = " It was passed a child from " + K(e._owner.type) + "."), pe(e), D('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', c, v), pe(null);
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
|
-
function
|
|
534
|
+
function Vr(e, o) {
|
|
535
535
|
{
|
|
536
536
|
if (typeof e != "object")
|
|
537
537
|
return;
|
|
538
|
-
if (
|
|
538
|
+
if (Pe(e))
|
|
539
539
|
for (var c = 0; c < e.length; c++) {
|
|
540
540
|
var v = e[c];
|
|
541
|
-
|
|
541
|
+
Oe(v) && Hr(v, o);
|
|
542
542
|
}
|
|
543
|
-
else if (
|
|
543
|
+
else if (Oe(e))
|
|
544
544
|
e._store && (e._store.validated = !0);
|
|
545
545
|
else if (e) {
|
|
546
|
-
var A =
|
|
546
|
+
var A = H(e);
|
|
547
547
|
if (typeof A == "function" && A !== e.entries)
|
|
548
|
-
for (var
|
|
549
|
-
|
|
548
|
+
for (var z = A.call(e), $; !($ = z.next()).done; )
|
|
549
|
+
Oe($.value) && Hr($.value, o);
|
|
550
550
|
}
|
|
551
551
|
}
|
|
552
552
|
}
|
|
@@ -567,12 +567,12 @@ Check the top-level render call using <` + c + ">.");
|
|
|
567
567
|
if (c) {
|
|
568
568
|
var v = K(o);
|
|
569
569
|
dn(c, e.props, "prop", v, e);
|
|
570
|
-
} else if (o.PropTypes !== void 0 && !
|
|
571
|
-
|
|
570
|
+
} else if (o.PropTypes !== void 0 && !Se) {
|
|
571
|
+
Se = !0;
|
|
572
572
|
var A = K(o);
|
|
573
|
-
|
|
573
|
+
D("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", A || "Unknown");
|
|
574
574
|
}
|
|
575
|
-
typeof o.getDefaultProps == "function" && !o.getDefaultProps.isReactClassApproved &&
|
|
575
|
+
typeof o.getDefaultProps == "function" && !o.getDefaultProps.isReactClassApproved && D("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
576
576
|
}
|
|
577
577
|
}
|
|
578
578
|
function jn(e) {
|
|
@@ -580,40 +580,40 @@ Check the top-level render call using <` + c + ">.");
|
|
|
580
580
|
for (var o = Object.keys(e.props), c = 0; c < o.length; c++) {
|
|
581
581
|
var v = o[c];
|
|
582
582
|
if (v !== "children" && v !== "key") {
|
|
583
|
-
pe(e),
|
|
583
|
+
pe(e), D("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", v), pe(null);
|
|
584
584
|
break;
|
|
585
585
|
}
|
|
586
586
|
}
|
|
587
|
-
e.ref !== null && (pe(e),
|
|
587
|
+
e.ref !== null && (pe(e), D("Invalid attribute `ref` supplied to `React.Fragment`."), pe(null));
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
590
|
var Gr = {};
|
|
591
|
-
function Jr(e, o, c, v, A,
|
|
591
|
+
function Jr(e, o, c, v, A, z) {
|
|
592
592
|
{
|
|
593
593
|
var $ = be(e);
|
|
594
594
|
if (!$) {
|
|
595
|
-
var
|
|
596
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
597
|
-
var J =
|
|
598
|
-
J ?
|
|
595
|
+
var O = "";
|
|
596
|
+
(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.");
|
|
597
|
+
var J = xn(A);
|
|
598
|
+
J ? O += J : O += Lr();
|
|
599
599
|
var F;
|
|
600
|
-
e === null ? F = "null" :
|
|
600
|
+
e === null ? F = "null" : Pe(e) ? F = "array" : e !== void 0 && e.$$typeof === s ? (F = "<" + (K(e.type) || "Unknown") + " />", O = " Did you accidentally export a JSX literal instead of a component?") : F = typeof e, D("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", F, O);
|
|
601
601
|
}
|
|
602
|
-
var Y = En(e, o, c, A,
|
|
602
|
+
var Y = En(e, o, c, A, z);
|
|
603
603
|
if (Y == null)
|
|
604
604
|
return Y;
|
|
605
605
|
if ($) {
|
|
606
606
|
var re = o.children;
|
|
607
607
|
if (re !== void 0)
|
|
608
608
|
if (v)
|
|
609
|
-
if (
|
|
609
|
+
if (Pe(re)) {
|
|
610
610
|
for (var me = 0; me < re.length; me++)
|
|
611
|
-
|
|
611
|
+
Vr(re[me], e);
|
|
612
612
|
Object.freeze && Object.freeze(re);
|
|
613
613
|
} else
|
|
614
|
-
|
|
614
|
+
D("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
615
615
|
else
|
|
616
|
-
|
|
616
|
+
Vr(re, e);
|
|
617
617
|
}
|
|
618
618
|
if (ge.call(o, "key")) {
|
|
619
619
|
var se = K(e), Z = Object.keys(o).filter(function(kn) {
|
|
@@ -621,7 +621,7 @@ Check the top-level render call using <` + c + ">.");
|
|
|
621
621
|
}), Ce = Z.length > 0 ? "{key: someKey, " + Z.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
622
622
|
if (!Gr[se + Ce]) {
|
|
623
623
|
var wn = Z.length > 0 ? "{" + Z.join(": ..., ") + ": ...}" : "{}";
|
|
624
|
-
|
|
624
|
+
D(`A props object containing a "key" prop is being spread into JSX:
|
|
625
625
|
let props = %s;
|
|
626
626
|
<%s {...props} />
|
|
627
627
|
React keys must be passed directly to JSX without using spread:
|
|
@@ -632,18 +632,18 @@ React keys must be passed directly to JSX without using spread:
|
|
|
632
632
|
return e === t ? jn(Y) : _n(Y), Y;
|
|
633
633
|
}
|
|
634
634
|
}
|
|
635
|
-
function
|
|
635
|
+
function Sn(e, o, c) {
|
|
636
636
|
return Jr(e, o, c, !0);
|
|
637
637
|
}
|
|
638
|
-
function
|
|
638
|
+
function On(e, o, c) {
|
|
639
639
|
return Jr(e, o, c, !1);
|
|
640
640
|
}
|
|
641
|
-
var Cn =
|
|
641
|
+
var Cn = On, $n = Sn;
|
|
642
642
|
Re.Fragment = t, Re.jsx = Cn, Re.jsxs = $n;
|
|
643
643
|
}()), Re;
|
|
644
644
|
}
|
|
645
|
-
process.env.NODE_ENV === "production" ?
|
|
646
|
-
var m =
|
|
645
|
+
process.env.NODE_ENV === "production" ? Ne.exports = Nn() : Ne.exports = zn();
|
|
646
|
+
var m = Ne.exports, ze = { exports: {} }, xe = { exports: {} }, B = {};
|
|
647
647
|
/** @license React v16.13.1
|
|
648
648
|
* react-is.production.min.js
|
|
649
649
|
*
|
|
@@ -653,37 +653,37 @@ var m = ze.exports, Ne = { exports: {} }, Pe = { exports: {} }, B = {};
|
|
|
653
653
|
* LICENSE file in the root directory of this source tree.
|
|
654
654
|
*/
|
|
655
655
|
var Zr;
|
|
656
|
-
function
|
|
656
|
+
function Mn() {
|
|
657
657
|
if (Zr)
|
|
658
658
|
return B;
|
|
659
659
|
Zr = 1;
|
|
660
|
-
var r = typeof Symbol == "function" && Symbol.for,
|
|
660
|
+
var r = typeof Symbol == "function" && Symbol.for, s = r ? Symbol.for("react.element") : 60103, a = r ? Symbol.for("react.portal") : 60106, t = r ? Symbol.for("react.fragment") : 60107, i = r ? Symbol.for("react.strict_mode") : 60108, u = r ? Symbol.for("react.profiler") : 60114, R = r ? Symbol.for("react.provider") : 60109, y = r ? Symbol.for("react.context") : 60110, h = r ? Symbol.for("react.async_mode") : 60111, w = r ? Symbol.for("react.concurrent_mode") : 60111, b = r ? Symbol.for("react.forward_ref") : 60112, _ = r ? Symbol.for("react.suspense") : 60113, N = r ? Symbol.for("react.suspense_list") : 60120, q = r ? Symbol.for("react.memo") : 60115, V = r ? Symbol.for("react.lazy") : 60116, M = r ? Symbol.for("react.block") : 60121, H = r ? Symbol.for("react.fundamental") : 60117, L = r ? Symbol.for("react.responder") : 60118, D = r ? Symbol.for("react.scope") : 60119;
|
|
661
661
|
function U(f) {
|
|
662
662
|
if (typeof f == "object" && f !== null) {
|
|
663
663
|
var te = f.$$typeof;
|
|
664
664
|
switch (te) {
|
|
665
|
-
case
|
|
665
|
+
case s:
|
|
666
666
|
switch (f = f.type, f) {
|
|
667
667
|
case h:
|
|
668
668
|
case w:
|
|
669
669
|
case t:
|
|
670
|
-
case
|
|
671
|
-
case
|
|
670
|
+
case u:
|
|
671
|
+
case i:
|
|
672
672
|
case _:
|
|
673
673
|
return f;
|
|
674
674
|
default:
|
|
675
675
|
switch (f = f && f.$$typeof, f) {
|
|
676
676
|
case y:
|
|
677
677
|
case b:
|
|
678
|
-
case
|
|
679
|
-
case
|
|
678
|
+
case V:
|
|
679
|
+
case q:
|
|
680
680
|
case R:
|
|
681
681
|
return f;
|
|
682
682
|
default:
|
|
683
683
|
return te;
|
|
684
684
|
}
|
|
685
685
|
}
|
|
686
|
-
case
|
|
686
|
+
case a:
|
|
687
687
|
return te;
|
|
688
688
|
}
|
|
689
689
|
}
|
|
@@ -691,32 +691,32 @@ function zn() {
|
|
|
691
691
|
function W(f) {
|
|
692
692
|
return U(f) === w;
|
|
693
693
|
}
|
|
694
|
-
return B.AsyncMode = h, B.ConcurrentMode = w, B.ContextConsumer = y, B.ContextProvider = R, B.Element =
|
|
694
|
+
return B.AsyncMode = h, B.ConcurrentMode = w, B.ContextConsumer = y, B.ContextProvider = R, B.Element = s, B.ForwardRef = b, B.Fragment = t, B.Lazy = V, B.Memo = q, B.Portal = a, B.Profiler = u, B.StrictMode = i, B.Suspense = _, B.isAsyncMode = function(f) {
|
|
695
695
|
return W(f) || U(f) === h;
|
|
696
696
|
}, B.isConcurrentMode = W, B.isContextConsumer = function(f) {
|
|
697
697
|
return U(f) === y;
|
|
698
698
|
}, B.isContextProvider = function(f) {
|
|
699
699
|
return U(f) === R;
|
|
700
700
|
}, B.isElement = function(f) {
|
|
701
|
-
return typeof f == "object" && f !== null && f.$$typeof ===
|
|
701
|
+
return typeof f == "object" && f !== null && f.$$typeof === s;
|
|
702
702
|
}, B.isForwardRef = function(f) {
|
|
703
703
|
return U(f) === b;
|
|
704
704
|
}, B.isFragment = function(f) {
|
|
705
705
|
return U(f) === t;
|
|
706
706
|
}, B.isLazy = function(f) {
|
|
707
|
-
return U(f) ===
|
|
707
|
+
return U(f) === V;
|
|
708
708
|
}, B.isMemo = function(f) {
|
|
709
|
-
return U(f) ===
|
|
709
|
+
return U(f) === q;
|
|
710
710
|
}, B.isPortal = function(f) {
|
|
711
|
-
return U(f) ===
|
|
711
|
+
return U(f) === a;
|
|
712
712
|
}, B.isProfiler = function(f) {
|
|
713
|
-
return U(f) ===
|
|
713
|
+
return U(f) === u;
|
|
714
714
|
}, B.isStrictMode = function(f) {
|
|
715
|
-
return U(f) ===
|
|
715
|
+
return U(f) === i;
|
|
716
716
|
}, B.isSuspense = function(f) {
|
|
717
717
|
return U(f) === _;
|
|
718
718
|
}, B.isValidElementType = function(f) {
|
|
719
|
-
return typeof f == "string" || typeof f == "function" || f === t || f === w || f ===
|
|
719
|
+
return typeof f == "string" || typeof f == "function" || f === t || f === w || f === u || f === i || f === _ || f === N || typeof f == "object" && f !== null && (f.$$typeof === V || f.$$typeof === q || f.$$typeof === R || f.$$typeof === y || f.$$typeof === b || f.$$typeof === H || f.$$typeof === L || f.$$typeof === D || f.$$typeof === M);
|
|
720
720
|
}, B.typeOf = U, B;
|
|
721
721
|
}
|
|
722
722
|
var I = {};
|
|
@@ -729,25 +729,25 @@ var I = {};
|
|
|
729
729
|
* LICENSE file in the root directory of this source tree.
|
|
730
730
|
*/
|
|
731
731
|
var Qr;
|
|
732
|
-
function
|
|
732
|
+
function qn() {
|
|
733
733
|
return Qr || (Qr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
734
|
-
var r = typeof Symbol == "function" && Symbol.for,
|
|
734
|
+
var r = typeof Symbol == "function" && Symbol.for, s = r ? Symbol.for("react.element") : 60103, a = r ? Symbol.for("react.portal") : 60106, t = r ? Symbol.for("react.fragment") : 60107, i = r ? Symbol.for("react.strict_mode") : 60108, u = r ? Symbol.for("react.profiler") : 60114, R = r ? Symbol.for("react.provider") : 60109, y = r ? Symbol.for("react.context") : 60110, h = r ? Symbol.for("react.async_mode") : 60111, w = r ? Symbol.for("react.concurrent_mode") : 60111, b = r ? Symbol.for("react.forward_ref") : 60112, _ = r ? Symbol.for("react.suspense") : 60113, N = r ? Symbol.for("react.suspense_list") : 60120, q = r ? Symbol.for("react.memo") : 60115, V = r ? Symbol.for("react.lazy") : 60116, M = r ? Symbol.for("react.block") : 60121, H = r ? Symbol.for("react.fundamental") : 60117, L = r ? Symbol.for("react.responder") : 60118, D = r ? Symbol.for("react.scope") : 60119;
|
|
735
735
|
function U(d) {
|
|
736
736
|
return typeof d == "string" || typeof d == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
737
|
-
d === t || d === w || d ===
|
|
737
|
+
d === t || d === w || d === u || d === i || d === _ || d === N || typeof d == "object" && d !== null && (d.$$typeof === V || d.$$typeof === q || d.$$typeof === R || d.$$typeof === y || d.$$typeof === b || d.$$typeof === H || d.$$typeof === L || d.$$typeof === D || d.$$typeof === M);
|
|
738
738
|
}
|
|
739
739
|
function W(d) {
|
|
740
740
|
if (typeof d == "object" && d !== null) {
|
|
741
741
|
var ee = d.$$typeof;
|
|
742
742
|
switch (ee) {
|
|
743
|
-
case
|
|
743
|
+
case s:
|
|
744
744
|
var fe = d.type;
|
|
745
745
|
switch (fe) {
|
|
746
746
|
case h:
|
|
747
747
|
case w:
|
|
748
748
|
case t:
|
|
749
|
-
case
|
|
750
|
-
case
|
|
749
|
+
case u:
|
|
750
|
+
case i:
|
|
751
751
|
case _:
|
|
752
752
|
return fe;
|
|
753
753
|
default:
|
|
@@ -755,34 +755,34 @@ function Nn() {
|
|
|
755
755
|
switch (ie) {
|
|
756
756
|
case y:
|
|
757
757
|
case b:
|
|
758
|
-
case
|
|
759
|
-
case
|
|
758
|
+
case V:
|
|
759
|
+
case q:
|
|
760
760
|
case R:
|
|
761
761
|
return ie;
|
|
762
762
|
default:
|
|
763
763
|
return ee;
|
|
764
764
|
}
|
|
765
765
|
}
|
|
766
|
-
case
|
|
766
|
+
case a:
|
|
767
767
|
return ee;
|
|
768
768
|
}
|
|
769
769
|
}
|
|
770
770
|
}
|
|
771
|
-
var f = h, te = w, ye = y, ve = R,
|
|
771
|
+
var f = h, te = w, ye = y, ve = R, le = s, be = b, ue = t, ce = V, K = q, X = a, oe = u, Q = i, ne = _, ae = !1;
|
|
772
772
|
function de(d) {
|
|
773
|
-
return ae || (ae = !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.")),
|
|
773
|
+
return ae || (ae = !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.")), l(d) || W(d) === h;
|
|
774
774
|
}
|
|
775
|
-
function
|
|
775
|
+
function l(d) {
|
|
776
776
|
return W(d) === w;
|
|
777
777
|
}
|
|
778
778
|
function p(d) {
|
|
779
779
|
return W(d) === y;
|
|
780
780
|
}
|
|
781
|
-
function
|
|
781
|
+
function P(d) {
|
|
782
782
|
return W(d) === R;
|
|
783
783
|
}
|
|
784
|
-
function
|
|
785
|
-
return typeof d == "object" && d !== null && d.$$typeof ===
|
|
784
|
+
function x(d) {
|
|
785
|
+
return typeof d == "object" && d !== null && d.$$typeof === s;
|
|
786
786
|
}
|
|
787
787
|
function g(d) {
|
|
788
788
|
return W(d) === b;
|
|
@@ -791,29 +791,29 @@ function Nn() {
|
|
|
791
791
|
return W(d) === t;
|
|
792
792
|
}
|
|
793
793
|
function T(d) {
|
|
794
|
-
return W(d) ===
|
|
794
|
+
return W(d) === V;
|
|
795
795
|
}
|
|
796
796
|
function E(d) {
|
|
797
|
-
return W(d) ===
|
|
797
|
+
return W(d) === q;
|
|
798
798
|
}
|
|
799
799
|
function j(d) {
|
|
800
|
-
return W(d) ===
|
|
800
|
+
return W(d) === a;
|
|
801
801
|
}
|
|
802
802
|
function k(d) {
|
|
803
|
-
return W(d) ===
|
|
803
|
+
return W(d) === u;
|
|
804
804
|
}
|
|
805
|
-
function
|
|
806
|
-
return W(d) ===
|
|
805
|
+
function S(d) {
|
|
806
|
+
return W(d) === i;
|
|
807
807
|
}
|
|
808
808
|
function G(d) {
|
|
809
809
|
return W(d) === _;
|
|
810
810
|
}
|
|
811
|
-
I.AsyncMode = f, I.ConcurrentMode = te, I.ContextConsumer = ye, I.ContextProvider = ve, I.Element =
|
|
811
|
+
I.AsyncMode = f, I.ConcurrentMode = te, I.ContextConsumer = ye, I.ContextProvider = ve, I.Element = le, I.ForwardRef = be, I.Fragment = ue, I.Lazy = ce, I.Memo = K, I.Portal = X, I.Profiler = oe, I.StrictMode = Q, I.Suspense = ne, I.isAsyncMode = de, I.isConcurrentMode = l, I.isContextConsumer = p, I.isContextProvider = P, I.isElement = x, I.isForwardRef = g, I.isFragment = C, I.isLazy = T, I.isMemo = E, I.isPortal = j, I.isProfiler = k, I.isStrictMode = S, I.isSuspense = G, I.isValidElementType = U, I.typeOf = W;
|
|
812
812
|
}()), I;
|
|
813
813
|
}
|
|
814
814
|
var en;
|
|
815
|
-
function
|
|
816
|
-
return en || (en = 1, process.env.NODE_ENV === "production" ?
|
|
815
|
+
function un() {
|
|
816
|
+
return en || (en = 1, process.env.NODE_ENV === "production" ? xe.exports = Mn() : xe.exports = qn()), xe.exports;
|
|
817
817
|
}
|
|
818
818
|
/*
|
|
819
819
|
object-assign
|
|
@@ -821,22 +821,22 @@ object-assign
|
|
|
821
821
|
@license MIT
|
|
822
822
|
*/
|
|
823
823
|
var $e, rn;
|
|
824
|
-
function
|
|
824
|
+
function Dn() {
|
|
825
825
|
if (rn)
|
|
826
826
|
return $e;
|
|
827
827
|
rn = 1;
|
|
828
|
-
var r = Object.getOwnPropertySymbols,
|
|
829
|
-
function t(
|
|
830
|
-
if (
|
|
828
|
+
var r = Object.getOwnPropertySymbols, s = Object.prototype.hasOwnProperty, a = Object.prototype.propertyIsEnumerable;
|
|
829
|
+
function t(u) {
|
|
830
|
+
if (u == null)
|
|
831
831
|
throw new TypeError("Object.assign cannot be called with null or undefined");
|
|
832
|
-
return Object(
|
|
832
|
+
return Object(u);
|
|
833
833
|
}
|
|
834
|
-
function
|
|
834
|
+
function i() {
|
|
835
835
|
try {
|
|
836
836
|
if (!Object.assign)
|
|
837
837
|
return !1;
|
|
838
|
-
var
|
|
839
|
-
if (
|
|
838
|
+
var u = new String("abc");
|
|
839
|
+
if (u[5] = "de", Object.getOwnPropertyNames(u)[0] === "5")
|
|
840
840
|
return !1;
|
|
841
841
|
for (var R = {}, y = 0; y < 10; y++)
|
|
842
842
|
R["_" + String.fromCharCode(y)] = y;
|
|
@@ -853,15 +853,15 @@ function Mn() {
|
|
|
853
853
|
return !1;
|
|
854
854
|
}
|
|
855
855
|
}
|
|
856
|
-
return $e =
|
|
857
|
-
for (var y, h = t(
|
|
856
|
+
return $e = i() ? Object.assign : function(u, R) {
|
|
857
|
+
for (var y, h = t(u), w, b = 1; b < arguments.length; b++) {
|
|
858
858
|
y = Object(arguments[b]);
|
|
859
859
|
for (var _ in y)
|
|
860
|
-
|
|
860
|
+
s.call(y, _) && (h[_] = y[_]);
|
|
861
861
|
if (r) {
|
|
862
862
|
w = r(y);
|
|
863
|
-
for (var
|
|
864
|
-
|
|
863
|
+
for (var N = 0; N < w.length; N++)
|
|
864
|
+
a.call(y, w[N]) && (h[w[N]] = y[w[N]]);
|
|
865
865
|
}
|
|
866
866
|
}
|
|
867
867
|
return h;
|
|
@@ -880,16 +880,16 @@ function cn() {
|
|
|
880
880
|
return tn || (tn = 1, ke = Function.call.bind(Object.prototype.hasOwnProperty)), ke;
|
|
881
881
|
}
|
|
882
882
|
var Ae, on;
|
|
883
|
-
function
|
|
883
|
+
function Fn() {
|
|
884
884
|
if (on)
|
|
885
885
|
return Ae;
|
|
886
886
|
on = 1;
|
|
887
887
|
var r = function() {
|
|
888
888
|
};
|
|
889
889
|
if (process.env.NODE_ENV !== "production") {
|
|
890
|
-
var
|
|
891
|
-
r = function(
|
|
892
|
-
var R = "Warning: " +
|
|
890
|
+
var s = Me(), a = {}, t = cn();
|
|
891
|
+
r = function(u) {
|
|
892
|
+
var R = "Warning: " + u;
|
|
893
893
|
typeof console < "u" && console.error(R);
|
|
894
894
|
try {
|
|
895
895
|
throw new Error(R);
|
|
@@ -897,46 +897,46 @@ function Dn() {
|
|
|
897
897
|
}
|
|
898
898
|
};
|
|
899
899
|
}
|
|
900
|
-
function
|
|
900
|
+
function i(u, R, y, h, w) {
|
|
901
901
|
if (process.env.NODE_ENV !== "production") {
|
|
902
|
-
for (var b in
|
|
903
|
-
if (t(
|
|
902
|
+
for (var b in u)
|
|
903
|
+
if (t(u, b)) {
|
|
904
904
|
var _;
|
|
905
905
|
try {
|
|
906
|
-
if (typeof
|
|
907
|
-
var
|
|
908
|
-
(h || "React class") + ": " + y + " type `" + b + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof
|
|
906
|
+
if (typeof u[b] != "function") {
|
|
907
|
+
var N = Error(
|
|
908
|
+
(h || "React class") + ": " + y + " type `" + b + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof u[b] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
909
909
|
);
|
|
910
|
-
throw
|
|
910
|
+
throw N.name = "Invariant Violation", N;
|
|
911
911
|
}
|
|
912
|
-
_ =
|
|
913
|
-
} catch (
|
|
914
|
-
_ =
|
|
912
|
+
_ = u[b](R, b, h, y, null, s);
|
|
913
|
+
} catch (V) {
|
|
914
|
+
_ = V;
|
|
915
915
|
}
|
|
916
916
|
if (_ && !(_ instanceof Error) && r(
|
|
917
917
|
(h || "React class") + ": type specification of " + y + " `" + b + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof _ + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
918
|
-
), _ instanceof Error && !(_.message in
|
|
919
|
-
|
|
920
|
-
var
|
|
918
|
+
), _ instanceof Error && !(_.message in a)) {
|
|
919
|
+
a[_.message] = !0;
|
|
920
|
+
var q = w ? w() : "";
|
|
921
921
|
r(
|
|
922
|
-
"Failed " + y + " type: " + _.message + (
|
|
922
|
+
"Failed " + y + " type: " + _.message + (q ?? "")
|
|
923
923
|
);
|
|
924
924
|
}
|
|
925
925
|
}
|
|
926
926
|
}
|
|
927
927
|
}
|
|
928
|
-
return
|
|
929
|
-
process.env.NODE_ENV !== "production" && (
|
|
930
|
-
}, Ae =
|
|
928
|
+
return i.resetWarningCache = function() {
|
|
929
|
+
process.env.NODE_ENV !== "production" && (a = {});
|
|
930
|
+
}, Ae = i, Ae;
|
|
931
931
|
}
|
|
932
932
|
var Be, an;
|
|
933
|
-
function
|
|
933
|
+
function Wn() {
|
|
934
934
|
if (an)
|
|
935
935
|
return Be;
|
|
936
936
|
an = 1;
|
|
937
|
-
var r =
|
|
937
|
+
var r = un(), s = Dn(), a = Me(), t = cn(), i = Fn(), u = function() {
|
|
938
938
|
};
|
|
939
|
-
process.env.NODE_ENV !== "production" && (
|
|
939
|
+
process.env.NODE_ENV !== "production" && (u = function(y) {
|
|
940
940
|
var h = "Warning: " + y;
|
|
941
941
|
typeof console < "u" && console.error(h);
|
|
942
942
|
try {
|
|
@@ -949,12 +949,12 @@ function qn() {
|
|
|
949
949
|
}
|
|
950
950
|
return Be = function(y, h) {
|
|
951
951
|
var w = typeof Symbol == "function" && Symbol.iterator, b = "@@iterator";
|
|
952
|
-
function _(
|
|
953
|
-
var p =
|
|
952
|
+
function _(l) {
|
|
953
|
+
var p = l && (w && l[w] || l[b]);
|
|
954
954
|
if (typeof p == "function")
|
|
955
955
|
return p;
|
|
956
956
|
}
|
|
957
|
-
var
|
|
957
|
+
var N = "<<anonymous>>", q = {
|
|
958
958
|
array: L("array"),
|
|
959
959
|
bigint: L("bigint"),
|
|
960
960
|
bool: L("boolean"),
|
|
@@ -963,7 +963,7 @@ function qn() {
|
|
|
963
963
|
object: L("object"),
|
|
964
964
|
string: L("string"),
|
|
965
965
|
symbol: L("symbol"),
|
|
966
|
-
any:
|
|
966
|
+
any: D(),
|
|
967
967
|
arrayOf: U,
|
|
968
968
|
element: W(),
|
|
969
969
|
elementType: f(),
|
|
@@ -971,22 +971,22 @@ function qn() {
|
|
|
971
971
|
node: be(),
|
|
972
972
|
objectOf: ve,
|
|
973
973
|
oneOf: ye,
|
|
974
|
-
oneOfType:
|
|
974
|
+
oneOfType: le,
|
|
975
975
|
shape: ce,
|
|
976
976
|
exact: K
|
|
977
977
|
};
|
|
978
|
-
function
|
|
979
|
-
return
|
|
978
|
+
function V(l, p) {
|
|
979
|
+
return l === p ? l !== 0 || 1 / l === 1 / p : l !== l && p !== p;
|
|
980
980
|
}
|
|
981
|
-
function M(
|
|
982
|
-
this.message =
|
|
981
|
+
function M(l, p) {
|
|
982
|
+
this.message = l, this.data = p && typeof p == "object" ? p : {}, this.stack = "";
|
|
983
983
|
}
|
|
984
984
|
M.prototype = Error.prototype;
|
|
985
|
-
function
|
|
985
|
+
function H(l) {
|
|
986
986
|
if (process.env.NODE_ENV !== "production")
|
|
987
|
-
var p = {},
|
|
988
|
-
function
|
|
989
|
-
if (j = j ||
|
|
987
|
+
var p = {}, P = 0;
|
|
988
|
+
function x(C, T, E, j, k, S, G) {
|
|
989
|
+
if (j = j || N, S = S || E, G !== a) {
|
|
990
990
|
if (h) {
|
|
991
991
|
var d = new Error(
|
|
992
992
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
@@ -995,130 +995,130 @@ function qn() {
|
|
|
995
995
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
996
996
|
var ee = j + ":" + E;
|
|
997
997
|
!p[ee] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
998
|
-
|
|
999
|
-
"You are manually calling a React.PropTypes validation function for the `" +
|
|
1000
|
-
), p[ee] = !0,
|
|
998
|
+
P < 3 && (u(
|
|
999
|
+
"You are manually calling a React.PropTypes validation function for the `" + S + "` prop on `" + j + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
1000
|
+
), p[ee] = !0, P++);
|
|
1001
1001
|
}
|
|
1002
1002
|
}
|
|
1003
|
-
return T[E] == null ? C ? T[E] === null ? new M("The " + k + " `" +
|
|
1003
|
+
return T[E] == null ? C ? T[E] === null ? new M("The " + k + " `" + S + "` is marked as required " + ("in `" + j + "`, but its value is `null`.")) : new M("The " + k + " `" + S + "` is marked as required in " + ("`" + j + "`, but its value is `undefined`.")) : null : l(T, E, j, k, S);
|
|
1004
1004
|
}
|
|
1005
|
-
var g =
|
|
1006
|
-
return g.isRequired =
|
|
1007
|
-
}
|
|
1008
|
-
function L(
|
|
1009
|
-
function p(
|
|
1010
|
-
var j = x
|
|
1011
|
-
if (k !==
|
|
1012
|
-
var
|
|
1005
|
+
var g = x.bind(null, !1);
|
|
1006
|
+
return g.isRequired = x.bind(null, !0), g;
|
|
1007
|
+
}
|
|
1008
|
+
function L(l) {
|
|
1009
|
+
function p(P, x, g, C, T, E) {
|
|
1010
|
+
var j = P[x], k = Q(j);
|
|
1011
|
+
if (k !== l) {
|
|
1012
|
+
var S = ne(j);
|
|
1013
1013
|
return new M(
|
|
1014
|
-
"Invalid " + C + " `" + T + "` of type " + ("`" +
|
|
1015
|
-
{ expectedType:
|
|
1014
|
+
"Invalid " + C + " `" + T + "` of type " + ("`" + S + "` supplied to `" + g + "`, expected ") + ("`" + l + "`."),
|
|
1015
|
+
{ expectedType: l }
|
|
1016
1016
|
);
|
|
1017
1017
|
}
|
|
1018
1018
|
return null;
|
|
1019
1019
|
}
|
|
1020
|
-
return
|
|
1020
|
+
return H(p);
|
|
1021
1021
|
}
|
|
1022
|
-
function
|
|
1023
|
-
return
|
|
1022
|
+
function D() {
|
|
1023
|
+
return H(R);
|
|
1024
1024
|
}
|
|
1025
|
-
function U(
|
|
1026
|
-
function p(
|
|
1027
|
-
if (typeof
|
|
1025
|
+
function U(l) {
|
|
1026
|
+
function p(P, x, g, C, T) {
|
|
1027
|
+
if (typeof l != "function")
|
|
1028
1028
|
return new M("Property `" + T + "` of component `" + g + "` has invalid PropType notation inside arrayOf.");
|
|
1029
|
-
var E = x
|
|
1029
|
+
var E = P[x];
|
|
1030
1030
|
if (!Array.isArray(E)) {
|
|
1031
1031
|
var j = Q(E);
|
|
1032
1032
|
return new M("Invalid " + C + " `" + T + "` of type " + ("`" + j + "` supplied to `" + g + "`, expected an array."));
|
|
1033
1033
|
}
|
|
1034
1034
|
for (var k = 0; k < E.length; k++) {
|
|
1035
|
-
var
|
|
1036
|
-
if (
|
|
1037
|
-
return
|
|
1035
|
+
var S = l(E, k, g, C, T + "[" + k + "]", a);
|
|
1036
|
+
if (S instanceof Error)
|
|
1037
|
+
return S;
|
|
1038
1038
|
}
|
|
1039
1039
|
return null;
|
|
1040
1040
|
}
|
|
1041
|
-
return
|
|
1041
|
+
return H(p);
|
|
1042
1042
|
}
|
|
1043
1043
|
function W() {
|
|
1044
|
-
function
|
|
1045
|
-
var T = p[
|
|
1044
|
+
function l(p, P, x, g, C) {
|
|
1045
|
+
var T = p[P];
|
|
1046
1046
|
if (!y(T)) {
|
|
1047
1047
|
var E = Q(T);
|
|
1048
|
-
return new M("Invalid " + g + " `" + C + "` of type " + ("`" + E + "` supplied to `" +
|
|
1048
|
+
return new M("Invalid " + g + " `" + C + "` of type " + ("`" + E + "` supplied to `" + x + "`, expected a single ReactElement."));
|
|
1049
1049
|
}
|
|
1050
1050
|
return null;
|
|
1051
1051
|
}
|
|
1052
|
-
return
|
|
1052
|
+
return H(l);
|
|
1053
1053
|
}
|
|
1054
1054
|
function f() {
|
|
1055
|
-
function
|
|
1056
|
-
var T = p[
|
|
1055
|
+
function l(p, P, x, g, C) {
|
|
1056
|
+
var T = p[P];
|
|
1057
1057
|
if (!r.isValidElementType(T)) {
|
|
1058
1058
|
var E = Q(T);
|
|
1059
|
-
return new M("Invalid " + g + " `" + C + "` of type " + ("`" + E + "` supplied to `" +
|
|
1059
|
+
return new M("Invalid " + g + " `" + C + "` of type " + ("`" + E + "` supplied to `" + x + "`, expected a single ReactElement type."));
|
|
1060
1060
|
}
|
|
1061
1061
|
return null;
|
|
1062
1062
|
}
|
|
1063
|
-
return
|
|
1063
|
+
return H(l);
|
|
1064
1064
|
}
|
|
1065
|
-
function te(
|
|
1066
|
-
function p(
|
|
1067
|
-
if (!(x
|
|
1068
|
-
var E =
|
|
1065
|
+
function te(l) {
|
|
1066
|
+
function p(P, x, g, C, T) {
|
|
1067
|
+
if (!(P[x] instanceof l)) {
|
|
1068
|
+
var E = l.name || N, j = de(P[x]);
|
|
1069
1069
|
return new M("Invalid " + C + " `" + T + "` of type " + ("`" + j + "` supplied to `" + g + "`, expected ") + ("instance of `" + E + "`."));
|
|
1070
1070
|
}
|
|
1071
1071
|
return null;
|
|
1072
1072
|
}
|
|
1073
|
-
return
|
|
1073
|
+
return H(p);
|
|
1074
1074
|
}
|
|
1075
|
-
function ye(
|
|
1076
|
-
if (!Array.isArray(
|
|
1077
|
-
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ?
|
|
1075
|
+
function ye(l) {
|
|
1076
|
+
if (!Array.isArray(l))
|
|
1077
|
+
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? u(
|
|
1078
1078
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
1079
|
-
) :
|
|
1080
|
-
function p(
|
|
1081
|
-
for (var E = x
|
|
1082
|
-
if (
|
|
1079
|
+
) : u("Invalid argument supplied to oneOf, expected an array.")), R;
|
|
1080
|
+
function p(P, x, g, C, T) {
|
|
1081
|
+
for (var E = P[x], j = 0; j < l.length; j++)
|
|
1082
|
+
if (V(E, l[j]))
|
|
1083
1083
|
return null;
|
|
1084
|
-
var k = JSON.stringify(
|
|
1084
|
+
var k = JSON.stringify(l, function(G, d) {
|
|
1085
1085
|
var ee = ne(d);
|
|
1086
1086
|
return ee === "symbol" ? String(d) : d;
|
|
1087
1087
|
});
|
|
1088
1088
|
return new M("Invalid " + C + " `" + T + "` of value `" + String(E) + "` " + ("supplied to `" + g + "`, expected one of " + k + "."));
|
|
1089
1089
|
}
|
|
1090
|
-
return
|
|
1090
|
+
return H(p);
|
|
1091
1091
|
}
|
|
1092
|
-
function ve(
|
|
1093
|
-
function p(
|
|
1094
|
-
if (typeof
|
|
1092
|
+
function ve(l) {
|
|
1093
|
+
function p(P, x, g, C, T) {
|
|
1094
|
+
if (typeof l != "function")
|
|
1095
1095
|
return new M("Property `" + T + "` of component `" + g + "` has invalid PropType notation inside objectOf.");
|
|
1096
|
-
var E = x
|
|
1096
|
+
var E = P[x], j = Q(E);
|
|
1097
1097
|
if (j !== "object")
|
|
1098
1098
|
return new M("Invalid " + C + " `" + T + "` of type " + ("`" + j + "` supplied to `" + g + "`, expected an object."));
|
|
1099
1099
|
for (var k in E)
|
|
1100
1100
|
if (t(E, k)) {
|
|
1101
|
-
var
|
|
1102
|
-
if (
|
|
1103
|
-
return
|
|
1101
|
+
var S = l(E, k, g, C, T + "." + k, a);
|
|
1102
|
+
if (S instanceof Error)
|
|
1103
|
+
return S;
|
|
1104
1104
|
}
|
|
1105
1105
|
return null;
|
|
1106
1106
|
}
|
|
1107
|
-
return
|
|
1108
|
-
}
|
|
1109
|
-
function
|
|
1110
|
-
if (!Array.isArray(
|
|
1111
|
-
return process.env.NODE_ENV !== "production" &&
|
|
1112
|
-
for (var p = 0; p <
|
|
1113
|
-
var
|
|
1114
|
-
if (typeof
|
|
1115
|
-
return
|
|
1116
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ae(
|
|
1107
|
+
return H(p);
|
|
1108
|
+
}
|
|
1109
|
+
function le(l) {
|
|
1110
|
+
if (!Array.isArray(l))
|
|
1111
|
+
return process.env.NODE_ENV !== "production" && u("Invalid argument supplied to oneOfType, expected an instance of array."), R;
|
|
1112
|
+
for (var p = 0; p < l.length; p++) {
|
|
1113
|
+
var P = l[p];
|
|
1114
|
+
if (typeof P != "function")
|
|
1115
|
+
return u(
|
|
1116
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ae(P) + " at index " + p + "."
|
|
1117
1117
|
), R;
|
|
1118
1118
|
}
|
|
1119
|
-
function
|
|
1120
|
-
for (var k = [],
|
|
1121
|
-
var G =
|
|
1119
|
+
function x(g, C, T, E, j) {
|
|
1120
|
+
for (var k = [], S = 0; S < l.length; S++) {
|
|
1121
|
+
var G = l[S], d = G(g, C, T, E, j, a);
|
|
1122
1122
|
if (d == null)
|
|
1123
1123
|
return null;
|
|
1124
1124
|
d.data && t(d.data, "expectedType") && k.push(d.data.expectedType);
|
|
@@ -1126,82 +1126,82 @@ function qn() {
|
|
|
1126
1126
|
var ee = k.length > 0 ? ", expected one of type [" + k.join(", ") + "]" : "";
|
|
1127
1127
|
return new M("Invalid " + E + " `" + j + "` supplied to " + ("`" + T + "`" + ee + "."));
|
|
1128
1128
|
}
|
|
1129
|
-
return
|
|
1129
|
+
return H(x);
|
|
1130
1130
|
}
|
|
1131
1131
|
function be() {
|
|
1132
|
-
function
|
|
1133
|
-
return X(p[
|
|
1132
|
+
function l(p, P, x, g, C) {
|
|
1133
|
+
return X(p[P]) ? null : new M("Invalid " + g + " `" + C + "` supplied to " + ("`" + x + "`, expected a ReactNode."));
|
|
1134
1134
|
}
|
|
1135
|
-
return
|
|
1135
|
+
return H(l);
|
|
1136
1136
|
}
|
|
1137
|
-
function
|
|
1137
|
+
function ue(l, p, P, x, g) {
|
|
1138
1138
|
return new M(
|
|
1139
|
-
(
|
|
1139
|
+
(l || "React class") + ": " + p + " type `" + P + "." + x + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + g + "`."
|
|
1140
1140
|
);
|
|
1141
1141
|
}
|
|
1142
|
-
function ce(
|
|
1143
|
-
function p(
|
|
1144
|
-
var E = x
|
|
1142
|
+
function ce(l) {
|
|
1143
|
+
function p(P, x, g, C, T) {
|
|
1144
|
+
var E = P[x], j = Q(E);
|
|
1145
1145
|
if (j !== "object")
|
|
1146
1146
|
return new M("Invalid " + C + " `" + T + "` of type `" + j + "` " + ("supplied to `" + g + "`, expected `object`."));
|
|
1147
|
-
for (var k in
|
|
1148
|
-
var
|
|
1149
|
-
if (typeof
|
|
1150
|
-
return
|
|
1151
|
-
var G =
|
|
1147
|
+
for (var k in l) {
|
|
1148
|
+
var S = l[k];
|
|
1149
|
+
if (typeof S != "function")
|
|
1150
|
+
return ue(g, C, T, k, ne(S));
|
|
1151
|
+
var G = S(E, k, g, C, T + "." + k, a);
|
|
1152
1152
|
if (G)
|
|
1153
1153
|
return G;
|
|
1154
1154
|
}
|
|
1155
1155
|
return null;
|
|
1156
1156
|
}
|
|
1157
|
-
return
|
|
1157
|
+
return H(p);
|
|
1158
1158
|
}
|
|
1159
|
-
function K(
|
|
1160
|
-
function p(
|
|
1161
|
-
var E = x
|
|
1159
|
+
function K(l) {
|
|
1160
|
+
function p(P, x, g, C, T) {
|
|
1161
|
+
var E = P[x], j = Q(E);
|
|
1162
1162
|
if (j !== "object")
|
|
1163
1163
|
return new M("Invalid " + C + " `" + T + "` of type `" + j + "` " + ("supplied to `" + g + "`, expected `object`."));
|
|
1164
|
-
var k =
|
|
1165
|
-
for (var
|
|
1166
|
-
var G =
|
|
1167
|
-
if (t(
|
|
1168
|
-
return
|
|
1164
|
+
var k = s({}, P[x], l);
|
|
1165
|
+
for (var S in k) {
|
|
1166
|
+
var G = l[S];
|
|
1167
|
+
if (t(l, S) && typeof G != "function")
|
|
1168
|
+
return ue(g, C, T, S, ne(G));
|
|
1169
1169
|
if (!G)
|
|
1170
1170
|
return new M(
|
|
1171
|
-
"Invalid " + C + " `" + T + "` key `" +
|
|
1172
|
-
Valid keys: ` + JSON.stringify(Object.keys(
|
|
1171
|
+
"Invalid " + C + " `" + T + "` key `" + S + "` supplied to `" + g + "`.\nBad object: " + JSON.stringify(P[x], null, " ") + `
|
|
1172
|
+
Valid keys: ` + JSON.stringify(Object.keys(l), null, " ")
|
|
1173
1173
|
);
|
|
1174
|
-
var d = G(E,
|
|
1174
|
+
var d = G(E, S, g, C, T + "." + S, a);
|
|
1175
1175
|
if (d)
|
|
1176
1176
|
return d;
|
|
1177
1177
|
}
|
|
1178
1178
|
return null;
|
|
1179
1179
|
}
|
|
1180
|
-
return
|
|
1180
|
+
return H(p);
|
|
1181
1181
|
}
|
|
1182
|
-
function X(
|
|
1183
|
-
switch (typeof
|
|
1182
|
+
function X(l) {
|
|
1183
|
+
switch (typeof l) {
|
|
1184
1184
|
case "number":
|
|
1185
1185
|
case "string":
|
|
1186
1186
|
case "undefined":
|
|
1187
1187
|
return !0;
|
|
1188
1188
|
case "boolean":
|
|
1189
|
-
return !
|
|
1189
|
+
return !l;
|
|
1190
1190
|
case "object":
|
|
1191
|
-
if (Array.isArray(
|
|
1192
|
-
return
|
|
1193
|
-
if (
|
|
1191
|
+
if (Array.isArray(l))
|
|
1192
|
+
return l.every(X);
|
|
1193
|
+
if (l === null || y(l))
|
|
1194
1194
|
return !0;
|
|
1195
|
-
var p = _(
|
|
1195
|
+
var p = _(l);
|
|
1196
1196
|
if (p) {
|
|
1197
|
-
var
|
|
1198
|
-
if (p !==
|
|
1199
|
-
for (; !(
|
|
1200
|
-
if (!X(
|
|
1197
|
+
var P = p.call(l), x;
|
|
1198
|
+
if (p !== l.entries) {
|
|
1199
|
+
for (; !(x = P.next()).done; )
|
|
1200
|
+
if (!X(x.value))
|
|
1201
1201
|
return !1;
|
|
1202
1202
|
} else
|
|
1203
|
-
for (; !(
|
|
1204
|
-
var g =
|
|
1203
|
+
for (; !(x = P.next()).done; ) {
|
|
1204
|
+
var g = x.value;
|
|
1205
1205
|
if (g && !X(g[1]))
|
|
1206
1206
|
return !1;
|
|
1207
1207
|
}
|
|
@@ -1212,27 +1212,27 @@ Valid keys: ` + JSON.stringify(Object.keys(i), null, " ")
|
|
|
1212
1212
|
return !1;
|
|
1213
1213
|
}
|
|
1214
1214
|
}
|
|
1215
|
-
function oe(
|
|
1216
|
-
return
|
|
1215
|
+
function oe(l, p) {
|
|
1216
|
+
return l === "symbol" ? !0 : p ? p["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && p instanceof Symbol : !1;
|
|
1217
1217
|
}
|
|
1218
|
-
function Q(
|
|
1219
|
-
var p = typeof
|
|
1220
|
-
return Array.isArray(
|
|
1218
|
+
function Q(l) {
|
|
1219
|
+
var p = typeof l;
|
|
1220
|
+
return Array.isArray(l) ? "array" : l instanceof RegExp ? "object" : oe(p, l) ? "symbol" : p;
|
|
1221
1221
|
}
|
|
1222
|
-
function ne(
|
|
1223
|
-
if (typeof
|
|
1224
|
-
return "" +
|
|
1225
|
-
var p = Q(
|
|
1222
|
+
function ne(l) {
|
|
1223
|
+
if (typeof l > "u" || l === null)
|
|
1224
|
+
return "" + l;
|
|
1225
|
+
var p = Q(l);
|
|
1226
1226
|
if (p === "object") {
|
|
1227
|
-
if (
|
|
1227
|
+
if (l instanceof Date)
|
|
1228
1228
|
return "date";
|
|
1229
|
-
if (
|
|
1229
|
+
if (l instanceof RegExp)
|
|
1230
1230
|
return "regexp";
|
|
1231
1231
|
}
|
|
1232
1232
|
return p;
|
|
1233
1233
|
}
|
|
1234
|
-
function ae(
|
|
1235
|
-
var p = ne(
|
|
1234
|
+
function ae(l) {
|
|
1235
|
+
var p = ne(l);
|
|
1236
1236
|
switch (p) {
|
|
1237
1237
|
case "array":
|
|
1238
1238
|
case "object":
|
|
@@ -1245,36 +1245,36 @@ Valid keys: ` + JSON.stringify(Object.keys(i), null, " ")
|
|
|
1245
1245
|
return p;
|
|
1246
1246
|
}
|
|
1247
1247
|
}
|
|
1248
|
-
function de(
|
|
1249
|
-
return !
|
|
1248
|
+
function de(l) {
|
|
1249
|
+
return !l.constructor || !l.constructor.name ? N : l.constructor.name;
|
|
1250
1250
|
}
|
|
1251
|
-
return
|
|
1251
|
+
return q.checkPropTypes = i, q.resetWarningCache = i.resetWarningCache, q.PropTypes = q, q;
|
|
1252
1252
|
}, Be;
|
|
1253
1253
|
}
|
|
1254
1254
|
var Ie, sn;
|
|
1255
|
-
function
|
|
1255
|
+
function Yn() {
|
|
1256
1256
|
if (sn)
|
|
1257
1257
|
return Ie;
|
|
1258
1258
|
sn = 1;
|
|
1259
1259
|
var r = Me();
|
|
1260
|
-
function u() {
|
|
1261
|
-
}
|
|
1262
1260
|
function s() {
|
|
1263
1261
|
}
|
|
1264
|
-
|
|
1262
|
+
function a() {
|
|
1263
|
+
}
|
|
1264
|
+
return a.resetWarningCache = s, Ie = function() {
|
|
1265
1265
|
function t(R, y, h, w, b, _) {
|
|
1266
1266
|
if (_ !== r) {
|
|
1267
|
-
var
|
|
1267
|
+
var N = new Error(
|
|
1268
1268
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
|
1269
1269
|
);
|
|
1270
|
-
throw
|
|
1270
|
+
throw N.name = "Invariant Violation", N;
|
|
1271
1271
|
}
|
|
1272
1272
|
}
|
|
1273
1273
|
t.isRequired = t;
|
|
1274
|
-
function
|
|
1274
|
+
function i() {
|
|
1275
1275
|
return t;
|
|
1276
1276
|
}
|
|
1277
|
-
var
|
|
1277
|
+
var u = {
|
|
1278
1278
|
array: t,
|
|
1279
1279
|
bigint: t,
|
|
1280
1280
|
bool: t,
|
|
@@ -1284,41 +1284,41 @@ function Fn() {
|
|
|
1284
1284
|
string: t,
|
|
1285
1285
|
symbol: t,
|
|
1286
1286
|
any: t,
|
|
1287
|
-
arrayOf:
|
|
1287
|
+
arrayOf: i,
|
|
1288
1288
|
element: t,
|
|
1289
1289
|
elementType: t,
|
|
1290
|
-
instanceOf:
|
|
1290
|
+
instanceOf: i,
|
|
1291
1291
|
node: t,
|
|
1292
|
-
objectOf:
|
|
1293
|
-
oneOf:
|
|
1294
|
-
oneOfType:
|
|
1295
|
-
shape:
|
|
1296
|
-
exact:
|
|
1297
|
-
checkPropTypes:
|
|
1298
|
-
resetWarningCache:
|
|
1292
|
+
objectOf: i,
|
|
1293
|
+
oneOf: i,
|
|
1294
|
+
oneOfType: i,
|
|
1295
|
+
shape: i,
|
|
1296
|
+
exact: i,
|
|
1297
|
+
checkPropTypes: a,
|
|
1298
|
+
resetWarningCache: s
|
|
1299
1299
|
};
|
|
1300
|
-
return
|
|
1300
|
+
return u.PropTypes = u, u;
|
|
1301
1301
|
}, Ie;
|
|
1302
1302
|
}
|
|
1303
1303
|
if (process.env.NODE_ENV !== "production") {
|
|
1304
|
-
var
|
|
1305
|
-
|
|
1304
|
+
var Ln = un(), Un = !0;
|
|
1305
|
+
ze.exports = Wn()(Ln.isElement, Un);
|
|
1306
1306
|
} else
|
|
1307
|
-
|
|
1308
|
-
var
|
|
1309
|
-
const n = /* @__PURE__ */
|
|
1310
|
-
const
|
|
1311
|
-
const
|
|
1307
|
+
ze.exports = Yn()();
|
|
1308
|
+
var Hn = ze.exports;
|
|
1309
|
+
const n = /* @__PURE__ */ In(Hn);
|
|
1310
|
+
const qe = ({ primary: r, size: s, children: a, ...t }) => {
|
|
1311
|
+
const i = r ? "heading--primary" : "heading--secondary";
|
|
1312
1312
|
return /* @__PURE__ */ m.jsx(
|
|
1313
1313
|
"div",
|
|
1314
1314
|
{
|
|
1315
|
-
className: ["heading", `heading--${
|
|
1315
|
+
className: ["heading", `heading--${s}`, i].join(" "),
|
|
1316
1316
|
...t,
|
|
1317
|
-
children:
|
|
1317
|
+
children: a
|
|
1318
1318
|
}
|
|
1319
1319
|
);
|
|
1320
1320
|
};
|
|
1321
|
-
|
|
1321
|
+
qe.propTypes = {
|
|
1322
1322
|
/**
|
|
1323
1323
|
* Is this the primary style for the component?
|
|
1324
1324
|
*/
|
|
@@ -1332,22 +1332,22 @@ De.propTypes = {
|
|
|
1332
1332
|
*/
|
|
1333
1333
|
children: n.node.isRequired
|
|
1334
1334
|
};
|
|
1335
|
-
|
|
1335
|
+
qe.defaultProps = {
|
|
1336
1336
|
primary: !1,
|
|
1337
1337
|
size: "medium"
|
|
1338
1338
|
};
|
|
1339
|
-
const
|
|
1340
|
-
const
|
|
1339
|
+
const De = ({ primary: r, size: s, children: a, ...t }) => {
|
|
1340
|
+
const i = r ? "paragraph--primary" : "paragraph--secondary";
|
|
1341
1341
|
return /* @__PURE__ */ m.jsx(
|
|
1342
1342
|
"div",
|
|
1343
1343
|
{
|
|
1344
|
-
className: ["paragraph", `paragraph--${
|
|
1344
|
+
className: ["paragraph", `paragraph--${s}`, i].join(" "),
|
|
1345
1345
|
...t,
|
|
1346
|
-
children:
|
|
1346
|
+
children: a
|
|
1347
1347
|
}
|
|
1348
1348
|
);
|
|
1349
1349
|
};
|
|
1350
|
-
|
|
1350
|
+
De.propTypes = {
|
|
1351
1351
|
/**
|
|
1352
1352
|
* Is this the primary style for the component?
|
|
1353
1353
|
*/
|
|
@@ -1361,18 +1361,18 @@ qe.propTypes = {
|
|
|
1361
1361
|
*/
|
|
1362
1362
|
children: n.node.isRequired
|
|
1363
1363
|
};
|
|
1364
|
-
|
|
1364
|
+
De.defaultProps = {
|
|
1365
1365
|
primary: !1,
|
|
1366
1366
|
size: "medium"
|
|
1367
1367
|
};
|
|
1368
|
-
const Fe = ({ primary: r, size:
|
|
1369
|
-
const
|
|
1368
|
+
const Fe = ({ primary: r, size: s, children: a, ...t }) => {
|
|
1369
|
+
const i = r ? "label--primary" : "label--secondary";
|
|
1370
1370
|
return /* @__PURE__ */ m.jsx(
|
|
1371
1371
|
"div",
|
|
1372
1372
|
{
|
|
1373
|
-
className: ["label", `label--${
|
|
1373
|
+
className: ["label", `label--${s}`, i].join(" "),
|
|
1374
1374
|
...t,
|
|
1375
|
-
children:
|
|
1375
|
+
children: a
|
|
1376
1376
|
}
|
|
1377
1377
|
);
|
|
1378
1378
|
};
|
|
@@ -1394,14 +1394,14 @@ Fe.defaultProps = {
|
|
|
1394
1394
|
primary: !1,
|
|
1395
1395
|
size: "medium"
|
|
1396
1396
|
};
|
|
1397
|
-
const We = ({ primary: r, size:
|
|
1398
|
-
const
|
|
1397
|
+
const We = ({ primary: r, size: s, children: a, ...t }) => {
|
|
1398
|
+
const i = r ? "caption--primary" : "caption--secondary";
|
|
1399
1399
|
return /* @__PURE__ */ m.jsx(
|
|
1400
1400
|
"div",
|
|
1401
1401
|
{
|
|
1402
|
-
className: ["caption", `caption--${
|
|
1402
|
+
className: ["caption", `caption--${s}`, i].join(" "),
|
|
1403
1403
|
...t,
|
|
1404
|
-
children:
|
|
1404
|
+
children: a
|
|
1405
1405
|
}
|
|
1406
1406
|
);
|
|
1407
1407
|
};
|
|
@@ -1423,14 +1423,14 @@ We.defaultProps = {
|
|
|
1423
1423
|
primary: !1,
|
|
1424
1424
|
size: "medium"
|
|
1425
1425
|
};
|
|
1426
|
-
const Ye = ({ primary: r, size:
|
|
1427
|
-
const
|
|
1426
|
+
const Ye = ({ primary: r, size: s, children: a, ...t }) => {
|
|
1427
|
+
const i = r ? "container--primary" : "container--secondary";
|
|
1428
1428
|
return /* @__PURE__ */ m.jsx(
|
|
1429
1429
|
"div",
|
|
1430
1430
|
{
|
|
1431
|
-
className: ["container", `container--${
|
|
1431
|
+
className: ["container", `container--${s}`, i].join(" "),
|
|
1432
1432
|
...t,
|
|
1433
|
-
children:
|
|
1433
|
+
children: a
|
|
1434
1434
|
}
|
|
1435
1435
|
);
|
|
1436
1436
|
};
|
|
@@ -1452,47 +1452,47 @@ Ye.defaultProps = {
|
|
|
1452
1452
|
primary: !1,
|
|
1453
1453
|
size: "medium"
|
|
1454
1454
|
};
|
|
1455
|
-
const Le = ({ primary: r, size:
|
|
1456
|
-
const R = r ? "button--primary" : "button--secondary", y =
|
|
1455
|
+
const Le = ({ primary: r, size: s, label: a, noBorder: t, children: i, ...u }) => {
|
|
1456
|
+
const R = r ? "button--primary" : "button--secondary", y = s === "small" ? "button--small" : s === "large" ? "button--large" : "button--medium", h = t ? "button--no-border" : "";
|
|
1457
1457
|
return /* @__PURE__ */ m.jsx(
|
|
1458
1458
|
"button",
|
|
1459
1459
|
{
|
|
1460
1460
|
type: "button",
|
|
1461
1461
|
className: `button ${R} ${y} ${h}`,
|
|
1462
1462
|
style: {
|
|
1463
|
-
"--button-padding":
|
|
1464
|
-
"--button-border-radius":
|
|
1465
|
-
"--button-font-family":
|
|
1466
|
-
"--button-font-size":
|
|
1467
|
-
"--button-box-shadow":
|
|
1468
|
-
"--button-primary-bg-color":
|
|
1469
|
-
"--button-primary-text-color":
|
|
1470
|
-
"--button-primary-border-color":
|
|
1471
|
-
"--button-primary-hover-bg-color":
|
|
1472
|
-
"--button-primary-hover-box-shadow":
|
|
1473
|
-
"--button-secondary-bg-color":
|
|
1474
|
-
"--button-secondary-text-color":
|
|
1475
|
-
"--button-secondary-border-color":
|
|
1476
|
-
"--button-secondary-hover-bg-color":
|
|
1477
|
-
"--button-secondary-hover-box-shadow":
|
|
1478
|
-
"--button-small-font-size":
|
|
1479
|
-
"--button-small-padding":
|
|
1480
|
-
"--button-medium-font-size":
|
|
1481
|
-
"--button-medium-padding":
|
|
1482
|
-
"--button-large-font-size":
|
|
1483
|
-
"--button-large-padding":
|
|
1484
|
-
"--button-no-border-bg-color":
|
|
1485
|
-
"--button-no-border-text-color":
|
|
1486
|
-
"--button-no-border-border":
|
|
1487
|
-
"--button-no-border-border-bottom":
|
|
1488
|
-
"--button-no-border-border-radius":
|
|
1489
|
-
"--button-no-border-padding":
|
|
1490
|
-
"--button-no-border-hover-border-bottom":
|
|
1491
|
-
"--button-no-border-hover-bg-color":
|
|
1492
|
-
"--button-no-border-hover-box-shadow":
|
|
1463
|
+
"--button-padding": u.padding || null,
|
|
1464
|
+
"--button-border-radius": u.borderRadius || null,
|
|
1465
|
+
"--button-font-family": u.fontFamily || null,
|
|
1466
|
+
"--button-font-size": u.fontSize || null,
|
|
1467
|
+
"--button-box-shadow": u.boxShadow || null,
|
|
1468
|
+
"--button-primary-bg-color": u.primaryBgColor || null,
|
|
1469
|
+
"--button-primary-text-color": u.primaryTextColor || null,
|
|
1470
|
+
"--button-primary-border-color": u.primaryBorderColor || null,
|
|
1471
|
+
"--button-primary-hover-bg-color": u.primaryHoverBgColor || null,
|
|
1472
|
+
"--button-primary-hover-box-shadow": u.primaryHoverBoxShadow || null,
|
|
1473
|
+
"--button-secondary-bg-color": u.secondaryBgColor || null,
|
|
1474
|
+
"--button-secondary-text-color": u.secondaryTextColor || null,
|
|
1475
|
+
"--button-secondary-border-color": u.secondaryBorderColor || null,
|
|
1476
|
+
"--button-secondary-hover-bg-color": u.secondaryHoverBgColor || null,
|
|
1477
|
+
"--button-secondary-hover-box-shadow": u.secondaryHoverBoxShadow || null,
|
|
1478
|
+
"--button-small-font-size": u.smallFontSize || null,
|
|
1479
|
+
"--button-small-padding": u.smallPadding || null,
|
|
1480
|
+
"--button-medium-font-size": u.mediumFontSize || null,
|
|
1481
|
+
"--button-medium-padding": u.mediumPadding || null,
|
|
1482
|
+
"--button-large-font-size": u.largeFontSize || null,
|
|
1483
|
+
"--button-large-padding": u.largePadding || null,
|
|
1484
|
+
"--button-no-border-bg-color": u.noBorderBgColor || null,
|
|
1485
|
+
"--button-no-border-text-color": u.noBorderTextColor || null,
|
|
1486
|
+
"--button-no-border-border": u.noBorderBorder || null,
|
|
1487
|
+
"--button-no-border-border-bottom": u.noBorderBorderBottom || null,
|
|
1488
|
+
"--button-no-border-border-radius": u.noBorderBorderRadius || null,
|
|
1489
|
+
"--button-no-border-padding": u.noBorderPadding || null,
|
|
1490
|
+
"--button-no-border-hover-border-bottom": u.noBorderHoverBorderBottom || null,
|
|
1491
|
+
"--button-no-border-hover-bg-color": u.noBorderHoverBgColor || null,
|
|
1492
|
+
"--button-no-border-hover-box-shadow": u.noBorderHoverBoxShadow || null
|
|
1493
1493
|
},
|
|
1494
|
-
...
|
|
1495
|
-
children:
|
|
1494
|
+
...u,
|
|
1495
|
+
children: i || a
|
|
1496
1496
|
}
|
|
1497
1497
|
);
|
|
1498
1498
|
};
|
|
@@ -1539,14 +1539,14 @@ Le.defaultProps = {
|
|
|
1539
1539
|
label: "",
|
|
1540
1540
|
noBorder: !1
|
|
1541
1541
|
};
|
|
1542
|
-
const Ue = ({ primary: r, size:
|
|
1543
|
-
const
|
|
1542
|
+
const Ue = ({ primary: r, size: s, children: a, ...t }) => {
|
|
1543
|
+
const i = r ? "link--primary" : "link--secondary";
|
|
1544
1544
|
return /* @__PURE__ */ m.jsx(
|
|
1545
1545
|
"div",
|
|
1546
1546
|
{
|
|
1547
|
-
className: ["link", `link--${
|
|
1547
|
+
className: ["link", `link--${s}`, i].join(" "),
|
|
1548
1548
|
...t,
|
|
1549
|
-
children:
|
|
1549
|
+
children: a
|
|
1550
1550
|
}
|
|
1551
1551
|
);
|
|
1552
1552
|
};
|
|
@@ -1568,18 +1568,18 @@ Ue.defaultProps = {
|
|
|
1568
1568
|
primary: !1,
|
|
1569
1569
|
size: "medium"
|
|
1570
1570
|
};
|
|
1571
|
-
const
|
|
1572
|
-
const
|
|
1571
|
+
const He = ({ name: r, size: s, color: a, ...t }) => {
|
|
1572
|
+
const i = s ? `icon--${s}` : "", u = a ? `icon--${a}` : "";
|
|
1573
1573
|
return /* @__PURE__ */ m.jsx(
|
|
1574
1574
|
"svg",
|
|
1575
1575
|
{
|
|
1576
|
-
className: ["icon",
|
|
1576
|
+
className: ["icon", i, u].join(" ").trim(),
|
|
1577
1577
|
...t,
|
|
1578
1578
|
children: /* @__PURE__ */ m.jsx("use", { xlinkHref: `#icon-${r}` })
|
|
1579
1579
|
}
|
|
1580
1580
|
);
|
|
1581
1581
|
};
|
|
1582
|
-
|
|
1582
|
+
He.propTypes = {
|
|
1583
1583
|
/**
|
|
1584
1584
|
* Name of the icon (should correspond to an existing SVG symbol)
|
|
1585
1585
|
*/
|
|
@@ -1600,22 +1600,22 @@ Ve.propTypes = {
|
|
|
1600
1600
|
"info"
|
|
1601
1601
|
])
|
|
1602
1602
|
};
|
|
1603
|
-
|
|
1603
|
+
He.defaultProps = {
|
|
1604
1604
|
size: "medium",
|
|
1605
1605
|
color: "primary"
|
|
1606
1606
|
};
|
|
1607
|
-
const
|
|
1608
|
-
const
|
|
1607
|
+
const Ve = ({ primary: r, size: s, children: a, ...t }) => {
|
|
1608
|
+
const i = r ? "checkbox--primary" : "checkbox--secondary";
|
|
1609
1609
|
return /* @__PURE__ */ m.jsx(
|
|
1610
1610
|
"div",
|
|
1611
1611
|
{
|
|
1612
|
-
className: ["checkbox", `checkbox--${
|
|
1612
|
+
className: ["checkbox", `checkbox--${s}`, i].join(" "),
|
|
1613
1613
|
...t,
|
|
1614
|
-
children:
|
|
1614
|
+
children: a
|
|
1615
1615
|
}
|
|
1616
1616
|
);
|
|
1617
1617
|
};
|
|
1618
|
-
|
|
1618
|
+
Ve.propTypes = {
|
|
1619
1619
|
/**
|
|
1620
1620
|
* Is this the primary style for the component?
|
|
1621
1621
|
*/
|
|
@@ -1629,18 +1629,18 @@ He.propTypes = {
|
|
|
1629
1629
|
*/
|
|
1630
1630
|
children: n.node.isRequired
|
|
1631
1631
|
};
|
|
1632
|
-
|
|
1632
|
+
Ve.defaultProps = {
|
|
1633
1633
|
primary: !1,
|
|
1634
1634
|
size: "medium"
|
|
1635
1635
|
};
|
|
1636
|
-
const Ge = ({ primary: r, size:
|
|
1637
|
-
const
|
|
1636
|
+
const Ge = ({ primary: r, size: s, children: a, ...t }) => {
|
|
1637
|
+
const i = r ? "radiobutton--primary" : "radiobutton--secondary";
|
|
1638
1638
|
return /* @__PURE__ */ m.jsx(
|
|
1639
1639
|
"div",
|
|
1640
1640
|
{
|
|
1641
|
-
className: ["radiobutton", `radiobutton--${
|
|
1641
|
+
className: ["radiobutton", `radiobutton--${s}`, i].join(" "),
|
|
1642
1642
|
...t,
|
|
1643
|
-
children:
|
|
1643
|
+
children: a
|
|
1644
1644
|
}
|
|
1645
1645
|
);
|
|
1646
1646
|
};
|
|
@@ -1662,14 +1662,14 @@ Ge.defaultProps = {
|
|
|
1662
1662
|
primary: !1,
|
|
1663
1663
|
size: "medium"
|
|
1664
1664
|
};
|
|
1665
|
-
const Je = ({ primary: r, size:
|
|
1666
|
-
const
|
|
1665
|
+
const Je = ({ primary: r, size: s, children: a, ...t }) => {
|
|
1666
|
+
const i = r ? "toggle--primary" : "toggle--secondary";
|
|
1667
1667
|
return /* @__PURE__ */ m.jsx(
|
|
1668
1668
|
"div",
|
|
1669
1669
|
{
|
|
1670
|
-
className: ["toggle", `toggle--${
|
|
1670
|
+
className: ["toggle", `toggle--${s}`, i].join(" "),
|
|
1671
1671
|
...t,
|
|
1672
|
-
children:
|
|
1672
|
+
children: a
|
|
1673
1673
|
}
|
|
1674
1674
|
);
|
|
1675
1675
|
};
|
|
@@ -1691,14 +1691,14 @@ Je.defaultProps = {
|
|
|
1691
1691
|
primary: !1,
|
|
1692
1692
|
size: "medium"
|
|
1693
1693
|
};
|
|
1694
|
-
const Ke = ({ primary: r, size:
|
|
1695
|
-
const
|
|
1694
|
+
const Ke = ({ primary: r, size: s, children: a, ...t }) => {
|
|
1695
|
+
const i = r ? "textinput--primary" : "textinput--secondary";
|
|
1696
1696
|
return /* @__PURE__ */ m.jsx(
|
|
1697
1697
|
"div",
|
|
1698
1698
|
{
|
|
1699
|
-
className: ["textinput", `textinput--${
|
|
1699
|
+
className: ["textinput", `textinput--${s}`, i].join(" "),
|
|
1700
1700
|
...t,
|
|
1701
|
-
children:
|
|
1701
|
+
children: a
|
|
1702
1702
|
}
|
|
1703
1703
|
);
|
|
1704
1704
|
};
|
|
@@ -1720,14 +1720,14 @@ Ke.defaultProps = {
|
|
|
1720
1720
|
primary: !1,
|
|
1721
1721
|
size: "medium"
|
|
1722
1722
|
};
|
|
1723
|
-
const Xe = ({ primary: r, size:
|
|
1724
|
-
const
|
|
1723
|
+
const Xe = ({ primary: r, size: s, children: a, ...t }) => {
|
|
1724
|
+
const i = r ? "textarea--primary" : "textarea--secondary";
|
|
1725
1725
|
return /* @__PURE__ */ m.jsx(
|
|
1726
1726
|
"div",
|
|
1727
1727
|
{
|
|
1728
|
-
className: ["textarea", `textarea--${
|
|
1728
|
+
className: ["textarea", `textarea--${s}`, i].join(" "),
|
|
1729
1729
|
...t,
|
|
1730
|
-
children:
|
|
1730
|
+
children: a
|
|
1731
1731
|
}
|
|
1732
1732
|
);
|
|
1733
1733
|
};
|
|
@@ -1749,14 +1749,14 @@ Xe.defaultProps = {
|
|
|
1749
1749
|
primary: !1,
|
|
1750
1750
|
size: "medium"
|
|
1751
1751
|
};
|
|
1752
|
-
const Ze = ({ primary: r, size:
|
|
1753
|
-
const
|
|
1752
|
+
const Ze = ({ primary: r, size: s, children: a, ...t }) => {
|
|
1753
|
+
const i = r ? "select--primary" : "select--secondary";
|
|
1754
1754
|
return /* @__PURE__ */ m.jsx(
|
|
1755
1755
|
"div",
|
|
1756
1756
|
{
|
|
1757
|
-
className: ["select", `select--${
|
|
1757
|
+
className: ["select", `select--${s}`, i].join(" "),
|
|
1758
1758
|
...t,
|
|
1759
|
-
children:
|
|
1759
|
+
children: a
|
|
1760
1760
|
}
|
|
1761
1761
|
);
|
|
1762
1762
|
};
|
|
@@ -1778,14 +1778,14 @@ Ze.defaultProps = {
|
|
|
1778
1778
|
primary: !1,
|
|
1779
1779
|
size: "medium"
|
|
1780
1780
|
};
|
|
1781
|
-
const Qe = ({ primary: r, size:
|
|
1782
|
-
const
|
|
1781
|
+
const Qe = ({ primary: r, size: s, children: a, ...t }) => {
|
|
1782
|
+
const i = r ? "slider--primary" : "slider--secondary";
|
|
1783
1783
|
return /* @__PURE__ */ m.jsx(
|
|
1784
1784
|
"div",
|
|
1785
1785
|
{
|
|
1786
|
-
className: ["slider", `slider--${
|
|
1786
|
+
className: ["slider", `slider--${s}`, i].join(" "),
|
|
1787
1787
|
...t,
|
|
1788
|
-
children:
|
|
1788
|
+
children: a
|
|
1789
1789
|
}
|
|
1790
1790
|
);
|
|
1791
1791
|
};
|
|
@@ -1807,14 +1807,14 @@ Qe.defaultProps = {
|
|
|
1807
1807
|
primary: !1,
|
|
1808
1808
|
size: "medium"
|
|
1809
1809
|
};
|
|
1810
|
-
const er = ({ primary: r, size:
|
|
1811
|
-
const
|
|
1810
|
+
const er = ({ primary: r, size: s, children: a, ...t }) => {
|
|
1811
|
+
const i = r ? "rangeinput--primary" : "rangeinput--secondary";
|
|
1812
1812
|
return /* @__PURE__ */ m.jsx(
|
|
1813
1813
|
"div",
|
|
1814
1814
|
{
|
|
1815
|
-
className: ["rangeinput", `rangeinput--${
|
|
1815
|
+
className: ["rangeinput", `rangeinput--${s}`, i].join(" "),
|
|
1816
1816
|
...t,
|
|
1817
|
-
children:
|
|
1817
|
+
children: a
|
|
1818
1818
|
}
|
|
1819
1819
|
);
|
|
1820
1820
|
};
|
|
@@ -1836,14 +1836,14 @@ er.defaultProps = {
|
|
|
1836
1836
|
primary: !1,
|
|
1837
1837
|
size: "medium"
|
|
1838
1838
|
};
|
|
1839
|
-
const rr = ({ primary: r, size:
|
|
1840
|
-
const
|
|
1839
|
+
const rr = ({ primary: r, size: s, children: a, ...t }) => {
|
|
1840
|
+
const i = r ? "image--primary" : "image--secondary";
|
|
1841
1841
|
return /* @__PURE__ */ m.jsx(
|
|
1842
1842
|
"div",
|
|
1843
1843
|
{
|
|
1844
|
-
className: ["image", `image--${
|
|
1844
|
+
className: ["image", `image--${s}`, i].join(" "),
|
|
1845
1845
|
...t,
|
|
1846
|
-
children:
|
|
1846
|
+
children: a
|
|
1847
1847
|
}
|
|
1848
1848
|
);
|
|
1849
1849
|
};
|
|
@@ -1865,14 +1865,14 @@ rr.defaultProps = {
|
|
|
1865
1865
|
primary: !1,
|
|
1866
1866
|
size: "medium"
|
|
1867
1867
|
};
|
|
1868
|
-
const nr = ({ primary: r, size:
|
|
1869
|
-
const
|
|
1868
|
+
const nr = ({ primary: r, size: s, children: a, ...t }) => {
|
|
1869
|
+
const i = r ? "video--primary" : "video--secondary";
|
|
1870
1870
|
return /* @__PURE__ */ m.jsx(
|
|
1871
1871
|
"div",
|
|
1872
1872
|
{
|
|
1873
|
-
className: ["video", `video--${
|
|
1873
|
+
className: ["video", `video--${s}`, i].join(" "),
|
|
1874
1874
|
...t,
|
|
1875
|
-
children:
|
|
1875
|
+
children: a
|
|
1876
1876
|
}
|
|
1877
1877
|
);
|
|
1878
1878
|
};
|
|
@@ -1894,14 +1894,14 @@ nr.defaultProps = {
|
|
|
1894
1894
|
primary: !1,
|
|
1895
1895
|
size: "medium"
|
|
1896
1896
|
};
|
|
1897
|
-
const tr = ({ primary: r, size:
|
|
1898
|
-
const
|
|
1897
|
+
const tr = ({ primary: r, size: s, children: a, ...t }) => {
|
|
1898
|
+
const i = r ? "audio--primary" : "audio--secondary";
|
|
1899
1899
|
return /* @__PURE__ */ m.jsx(
|
|
1900
1900
|
"div",
|
|
1901
1901
|
{
|
|
1902
|
-
className: ["audio", `audio--${
|
|
1902
|
+
className: ["audio", `audio--${s}`, i].join(" "),
|
|
1903
1903
|
...t,
|
|
1904
|
-
children:
|
|
1904
|
+
children: a
|
|
1905
1905
|
}
|
|
1906
1906
|
);
|
|
1907
1907
|
};
|
|
@@ -1923,14 +1923,14 @@ tr.defaultProps = {
|
|
|
1923
1923
|
primary: !1,
|
|
1924
1924
|
size: "medium"
|
|
1925
1925
|
};
|
|
1926
|
-
const or = ({ primary: r, size:
|
|
1927
|
-
const
|
|
1926
|
+
const or = ({ primary: r, size: s, children: a, ...t }) => {
|
|
1927
|
+
const i = r ? "divider--primary" : "divider--secondary";
|
|
1928
1928
|
return /* @__PURE__ */ m.jsx(
|
|
1929
1929
|
"div",
|
|
1930
1930
|
{
|
|
1931
|
-
className: ["divider", `divider--${
|
|
1931
|
+
className: ["divider", `divider--${s}`, i].join(" "),
|
|
1932
1932
|
...t,
|
|
1933
|
-
children:
|
|
1933
|
+
children: a
|
|
1934
1934
|
}
|
|
1935
1935
|
);
|
|
1936
1936
|
};
|
|
@@ -1952,14 +1952,14 @@ or.defaultProps = {
|
|
|
1952
1952
|
primary: !1,
|
|
1953
1953
|
size: "medium"
|
|
1954
1954
|
};
|
|
1955
|
-
const ar = ({ primary: r, size:
|
|
1956
|
-
const
|
|
1955
|
+
const ar = ({ primary: r, size: s, children: a, ...t }) => {
|
|
1956
|
+
const i = r ? "spacer--primary" : "spacer--secondary";
|
|
1957
1957
|
return /* @__PURE__ */ m.jsx(
|
|
1958
1958
|
"div",
|
|
1959
1959
|
{
|
|
1960
|
-
className: ["spacer", `spacer--${
|
|
1960
|
+
className: ["spacer", `spacer--${s}`, i].join(" "),
|
|
1961
1961
|
...t,
|
|
1962
|
-
children:
|
|
1962
|
+
children: a
|
|
1963
1963
|
}
|
|
1964
1964
|
);
|
|
1965
1965
|
};
|
|
@@ -1981,14 +1981,14 @@ ar.defaultProps = {
|
|
|
1981
1981
|
primary: !1,
|
|
1982
1982
|
size: "medium"
|
|
1983
1983
|
};
|
|
1984
|
-
const ir = ({ primary: r, size:
|
|
1985
|
-
const
|
|
1984
|
+
const ir = ({ primary: r, size: s, children: a, ...t }) => {
|
|
1985
|
+
const i = r ? "tooltip--primary" : "tooltip--secondary";
|
|
1986
1986
|
return /* @__PURE__ */ m.jsx(
|
|
1987
1987
|
"div",
|
|
1988
1988
|
{
|
|
1989
|
-
className: ["tooltip", `tooltip--${
|
|
1989
|
+
className: ["tooltip", `tooltip--${s}`, i].join(" "),
|
|
1990
1990
|
...t,
|
|
1991
|
-
children:
|
|
1991
|
+
children: a
|
|
1992
1992
|
}
|
|
1993
1993
|
);
|
|
1994
1994
|
};
|
|
@@ -2010,14 +2010,14 @@ ir.defaultProps = {
|
|
|
2010
2010
|
primary: !1,
|
|
2011
2011
|
size: "medium"
|
|
2012
2012
|
};
|
|
2013
|
-
const sr = ({ primary: r, size:
|
|
2014
|
-
const
|
|
2013
|
+
const sr = ({ primary: r, size: s, children: a, ...t }) => {
|
|
2014
|
+
const i = r ? "badge--primary" : "badge--secondary";
|
|
2015
2015
|
return /* @__PURE__ */ m.jsx(
|
|
2016
2016
|
"div",
|
|
2017
2017
|
{
|
|
2018
|
-
className: ["badge", `badge--${
|
|
2018
|
+
className: ["badge", `badge--${s}`, i].join(" "),
|
|
2019
2019
|
...t,
|
|
2020
|
-
children:
|
|
2020
|
+
children: a
|
|
2021
2021
|
}
|
|
2022
2022
|
);
|
|
2023
2023
|
};
|
|
@@ -2039,18 +2039,18 @@ sr.defaultProps = {
|
|
|
2039
2039
|
primary: !1,
|
|
2040
2040
|
size: "medium"
|
|
2041
2041
|
};
|
|
2042
|
-
const
|
|
2043
|
-
const
|
|
2042
|
+
const lr = ({ primary: r, size: s, children: a, ...t }) => {
|
|
2043
|
+
const i = r ? "tag--primary" : "tag--secondary";
|
|
2044
2044
|
return /* @__PURE__ */ m.jsx(
|
|
2045
2045
|
"div",
|
|
2046
2046
|
{
|
|
2047
|
-
className: ["tag", `tag--${
|
|
2047
|
+
className: ["tag", `tag--${s}`, i].join(" "),
|
|
2048
2048
|
...t,
|
|
2049
|
-
children:
|
|
2049
|
+
children: a
|
|
2050
2050
|
}
|
|
2051
2051
|
);
|
|
2052
2052
|
};
|
|
2053
|
-
|
|
2053
|
+
lr.propTypes = {
|
|
2054
2054
|
/**
|
|
2055
2055
|
* Is this the primary style for the component?
|
|
2056
2056
|
*/
|
|
@@ -2064,22 +2064,22 @@ ur.propTypes = {
|
|
|
2064
2064
|
*/
|
|
2065
2065
|
children: n.node.isRequired
|
|
2066
2066
|
};
|
|
2067
|
-
|
|
2067
|
+
lr.defaultProps = {
|
|
2068
2068
|
primary: !1,
|
|
2069
2069
|
size: "medium"
|
|
2070
2070
|
};
|
|
2071
|
-
const
|
|
2072
|
-
const
|
|
2071
|
+
const ur = ({ primary: r, size: s, children: a, ...t }) => {
|
|
2072
|
+
const i = r ? "loader--primary" : "loader--secondary";
|
|
2073
2073
|
return /* @__PURE__ */ m.jsx(
|
|
2074
2074
|
"div",
|
|
2075
2075
|
{
|
|
2076
|
-
className: ["loader", `loader--${
|
|
2076
|
+
className: ["loader", `loader--${s}`, i].join(" "),
|
|
2077
2077
|
...t,
|
|
2078
|
-
children:
|
|
2078
|
+
children: a
|
|
2079
2079
|
}
|
|
2080
2080
|
);
|
|
2081
2081
|
};
|
|
2082
|
-
|
|
2082
|
+
ur.propTypes = {
|
|
2083
2083
|
/**
|
|
2084
2084
|
* Is this the primary style for the component?
|
|
2085
2085
|
*/
|
|
@@ -2093,18 +2093,18 @@ lr.propTypes = {
|
|
|
2093
2093
|
*/
|
|
2094
2094
|
children: n.node.isRequired
|
|
2095
2095
|
};
|
|
2096
|
-
|
|
2096
|
+
ur.defaultProps = {
|
|
2097
2097
|
primary: !1,
|
|
2098
2098
|
size: "medium"
|
|
2099
2099
|
};
|
|
2100
|
-
const cr = ({ primary: r, size:
|
|
2101
|
-
const
|
|
2100
|
+
const cr = ({ primary: r, size: s, children: a, ...t }) => {
|
|
2101
|
+
const i = r ? "spinner--primary" : "spinner--secondary";
|
|
2102
2102
|
return /* @__PURE__ */ m.jsx(
|
|
2103
2103
|
"div",
|
|
2104
2104
|
{
|
|
2105
|
-
className: ["spinner", `spinner--${
|
|
2105
|
+
className: ["spinner", `spinner--${s}`, i].join(" "),
|
|
2106
2106
|
...t,
|
|
2107
|
-
children:
|
|
2107
|
+
children: a
|
|
2108
2108
|
}
|
|
2109
2109
|
);
|
|
2110
2110
|
};
|
|
@@ -2126,14 +2126,14 @@ cr.defaultProps = {
|
|
|
2126
2126
|
primary: !1,
|
|
2127
2127
|
size: "medium"
|
|
2128
2128
|
};
|
|
2129
|
-
const dr = ({ primary: r, size:
|
|
2130
|
-
const
|
|
2129
|
+
const dr = ({ primary: r, size: s, children: a, ...t }) => {
|
|
2130
|
+
const i = r ? "progressbar--primary" : "progressbar--secondary";
|
|
2131
2131
|
return /* @__PURE__ */ m.jsx(
|
|
2132
2132
|
"div",
|
|
2133
2133
|
{
|
|
2134
|
-
className: ["progressbar", `progressbar--${
|
|
2134
|
+
className: ["progressbar", `progressbar--${s}`, i].join(" "),
|
|
2135
2135
|
...t,
|
|
2136
|
-
children:
|
|
2136
|
+
children: a
|
|
2137
2137
|
}
|
|
2138
2138
|
);
|
|
2139
2139
|
};
|
|
@@ -2155,14 +2155,14 @@ dr.defaultProps = {
|
|
|
2155
2155
|
primary: !1,
|
|
2156
2156
|
size: "medium"
|
|
2157
2157
|
};
|
|
2158
|
-
const fr = ({ primary: r, size:
|
|
2159
|
-
const
|
|
2158
|
+
const fr = ({ primary: r, size: s, children: a, ...t }) => {
|
|
2159
|
+
const i = r ? "alert--primary" : "alert--secondary";
|
|
2160
2160
|
return /* @__PURE__ */ m.jsx(
|
|
2161
2161
|
"div",
|
|
2162
2162
|
{
|
|
2163
|
-
className: ["alert", `alert--${
|
|
2163
|
+
className: ["alert", `alert--${s}`, i].join(" "),
|
|
2164
2164
|
...t,
|
|
2165
|
-
children:
|
|
2165
|
+
children: a
|
|
2166
2166
|
}
|
|
2167
2167
|
);
|
|
2168
2168
|
};
|
|
@@ -2184,14 +2184,14 @@ fr.defaultProps = {
|
|
|
2184
2184
|
primary: !1,
|
|
2185
2185
|
size: "medium"
|
|
2186
2186
|
};
|
|
2187
|
-
const pr = ({ primary: r, size:
|
|
2188
|
-
const
|
|
2187
|
+
const pr = ({ primary: r, size: s, children: a, ...t }) => {
|
|
2188
|
+
const i = r ? "snackbar--primary" : "snackbar--secondary";
|
|
2189
2189
|
return /* @__PURE__ */ m.jsx(
|
|
2190
2190
|
"div",
|
|
2191
2191
|
{
|
|
2192
|
-
className: ["snackbar", `snackbar--${
|
|
2192
|
+
className: ["snackbar", `snackbar--${s}`, i].join(" "),
|
|
2193
2193
|
...t,
|
|
2194
|
-
children:
|
|
2194
|
+
children: a
|
|
2195
2195
|
}
|
|
2196
2196
|
);
|
|
2197
2197
|
};
|
|
@@ -2213,16 +2213,16 @@ pr.defaultProps = {
|
|
|
2213
2213
|
primary: !1,
|
|
2214
2214
|
size: "medium"
|
|
2215
2215
|
};
|
|
2216
|
-
const
|
|
2217
|
-
Heading:
|
|
2218
|
-
Paragraph:
|
|
2216
|
+
const Vn = {
|
|
2217
|
+
Heading: qe,
|
|
2218
|
+
Paragraph: De,
|
|
2219
2219
|
Label: Fe,
|
|
2220
2220
|
Caption: We,
|
|
2221
2221
|
Container: Ye,
|
|
2222
2222
|
Button: Le,
|
|
2223
2223
|
Link: Ue,
|
|
2224
|
-
Icon:
|
|
2225
|
-
Checkbox:
|
|
2224
|
+
Icon: He,
|
|
2225
|
+
Checkbox: Ve,
|
|
2226
2226
|
RadioButton: Ge,
|
|
2227
2227
|
Toggle: Je,
|
|
2228
2228
|
TextInput: Ke,
|
|
@@ -2237,8 +2237,8 @@ const Un = {
|
|
|
2237
2237
|
Spacer: ar,
|
|
2238
2238
|
Tooltip: ir,
|
|
2239
2239
|
Badge: sr,
|
|
2240
|
-
Tag:
|
|
2241
|
-
Loader:
|
|
2240
|
+
Tag: lr,
|
|
2241
|
+
Loader: ur,
|
|
2242
2242
|
Spinner: cr,
|
|
2243
2243
|
ProgressBar: dr,
|
|
2244
2244
|
Alert: fr,
|
|
@@ -2246,11 +2246,11 @@ const Un = {
|
|
|
2246
2246
|
};
|
|
2247
2247
|
const mr = ({
|
|
2248
2248
|
links: r,
|
|
2249
|
-
logo:
|
|
2250
|
-
userControls:
|
|
2249
|
+
logo: s,
|
|
2250
|
+
userControls: a,
|
|
2251
2251
|
styleOverrides: t = {}
|
|
2252
2252
|
}) => {
|
|
2253
|
-
const
|
|
2253
|
+
const i = {}, u = {
|
|
2254
2254
|
navbarBackgroundColor: "--navbar-background-color",
|
|
2255
2255
|
navbarBorderColor: "--navbar-border-color",
|
|
2256
2256
|
navbarPadding: "--navbar-padding",
|
|
@@ -2269,10 +2269,10 @@ const mr = ({
|
|
|
2269
2269
|
buttonHoverBackgroundColor: "--button-hover-background-color"
|
|
2270
2270
|
};
|
|
2271
2271
|
return Object.keys(t).forEach((R) => {
|
|
2272
|
-
const y =
|
|
2273
|
-
y && (
|
|
2274
|
-
}), /* @__PURE__ */ m.jsxs("nav", { className: "navbar", style:
|
|
2275
|
-
/* @__PURE__ */ m.jsx("div", { className: "navbar__logo", children:
|
|
2272
|
+
const y = u[R];
|
|
2273
|
+
y && (i[y] = t[R]);
|
|
2274
|
+
}), /* @__PURE__ */ m.jsxs("nav", { className: "navbar", style: i, children: [
|
|
2275
|
+
/* @__PURE__ */ m.jsx("div", { className: "navbar__logo", children: s }),
|
|
2276
2276
|
/* @__PURE__ */ m.jsx("ul", { className: "navbar__links", children: r.map((R, y) => /* @__PURE__ */ m.jsx("li", { className: "navbar__item", children: /* @__PURE__ */ m.jsx(
|
|
2277
2277
|
"a",
|
|
2278
2278
|
{
|
|
@@ -2281,7 +2281,7 @@ const mr = ({
|
|
|
2281
2281
|
children: R.label
|
|
2282
2282
|
}
|
|
2283
2283
|
) }, y)) }),
|
|
2284
|
-
/* @__PURE__ */ m.jsx("div", { className: "navbar__controls", children:
|
|
2284
|
+
/* @__PURE__ */ m.jsx("div", { className: "navbar__controls", children: a })
|
|
2285
2285
|
] });
|
|
2286
2286
|
};
|
|
2287
2287
|
mr.propTypes = {
|
|
@@ -2357,18 +2357,18 @@ Er.propTypes = {
|
|
|
2357
2357
|
Er.defaultProps = {
|
|
2358
2358
|
// Define default props here
|
|
2359
2359
|
};
|
|
2360
|
-
const
|
|
2361
|
-
|
|
2360
|
+
const xr = (r) => /* @__PURE__ */ m.jsx("div", { className: "buttongroup", ...r });
|
|
2361
|
+
xr.propTypes = {
|
|
2362
2362
|
// Define prop types here
|
|
2363
2363
|
};
|
|
2364
|
-
|
|
2364
|
+
xr.defaultProps = {
|
|
2365
2365
|
// Define default props here
|
|
2366
2366
|
};
|
|
2367
|
-
const
|
|
2368
|
-
|
|
2367
|
+
const Pr = (r) => /* @__PURE__ */ m.jsx("div", { className: "imagewithcaption", ...r });
|
|
2368
|
+
Pr.propTypes = {
|
|
2369
2369
|
// Define prop types here
|
|
2370
2370
|
};
|
|
2371
|
-
|
|
2371
|
+
Pr.defaultProps = {
|
|
2372
2372
|
// Define default props here
|
|
2373
2373
|
};
|
|
2374
2374
|
const _r = (r) => /* @__PURE__ */ m.jsx("div", { className: "videowithdescription", ...r });
|
|
@@ -2385,18 +2385,18 @@ jr.propTypes = {
|
|
|
2385
2385
|
jr.defaultProps = {
|
|
2386
2386
|
// Define default props here
|
|
2387
2387
|
};
|
|
2388
|
-
const
|
|
2389
|
-
|
|
2388
|
+
const Sr = (r) => /* @__PURE__ */ m.jsx("div", { className: "audioplayer", ...r });
|
|
2389
|
+
Sr.propTypes = {
|
|
2390
2390
|
// Define prop types here
|
|
2391
2391
|
};
|
|
2392
|
-
|
|
2392
|
+
Sr.defaultProps = {
|
|
2393
2393
|
// Define default props here
|
|
2394
2394
|
};
|
|
2395
|
-
const
|
|
2396
|
-
|
|
2395
|
+
const Or = (r) => /* @__PURE__ */ m.jsx("div", { className: "card", ...r });
|
|
2396
|
+
Or.propTypes = {
|
|
2397
2397
|
// Define prop types here
|
|
2398
2398
|
};
|
|
2399
|
-
|
|
2399
|
+
Or.defaultProps = {
|
|
2400
2400
|
// Define default props here
|
|
2401
2401
|
};
|
|
2402
2402
|
const Cr = (r) => /* @__PURE__ */ m.jsx("div", { className: "mediacard", ...r });
|
|
@@ -2448,29 +2448,65 @@ Ir.propTypes = {
|
|
|
2448
2448
|
Ir.defaultProps = {
|
|
2449
2449
|
// Define default props here
|
|
2450
2450
|
};
|
|
2451
|
-
const
|
|
2452
|
-
|
|
2451
|
+
const Nr = (r) => /* @__PURE__ */ m.jsx("div", { className: "comparisontable", ...r });
|
|
2452
|
+
Nr.propTypes = {
|
|
2453
2453
|
// Define prop types here
|
|
2454
2454
|
};
|
|
2455
|
-
|
|
2455
|
+
Nr.defaultProps = {
|
|
2456
2456
|
// Define default props here
|
|
2457
2457
|
};
|
|
2458
|
-
const
|
|
2458
|
+
const Gn = (r, s) => {
|
|
2459
|
+
const a = r[s];
|
|
2460
|
+
return a ? typeof a == "function" ? a() : Promise.resolve(a) : new Promise((t, i) => {
|
|
2461
|
+
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(i.bind(null, new Error("Unknown variable dynamic import: " + s)));
|
|
2462
|
+
});
|
|
2463
|
+
};
|
|
2464
|
+
const Jn = [
|
|
2465
|
+
{ label: "GitHub", value: "github" },
|
|
2466
|
+
{ label: "Gothic", value: "gothic" },
|
|
2467
|
+
{ label: "Newsprint", value: "newsprint" },
|
|
2468
|
+
{ label: "Night", value: "night" },
|
|
2469
|
+
{ label: "Pixyll", value: "pixyll" },
|
|
2470
|
+
{ label: "Whitey", value: "whitey" }
|
|
2471
|
+
], Kn = () => {
|
|
2472
|
+
const [r, s] = An("github");
|
|
2473
|
+
Bn(() => {
|
|
2474
|
+
Gn(/* @__PURE__ */ Object.assign({}), `../../themes/typ/${r}.css`).then(() => {
|
|
2475
|
+
console.log(`${r} theme loaded`);
|
|
2476
|
+
});
|
|
2477
|
+
}, [r]);
|
|
2478
|
+
const a = (t) => {
|
|
2479
|
+
s(t.target.value);
|
|
2480
|
+
};
|
|
2481
|
+
return /* @__PURE__ */ m.jsxs("div", { className: "select-theme-container", children: [
|
|
2482
|
+
/* @__PURE__ */ m.jsx("span", { className: "select-theme-label", children: "Select Theme:" }),
|
|
2483
|
+
/* @__PURE__ */ m.jsx(
|
|
2484
|
+
"select",
|
|
2485
|
+
{
|
|
2486
|
+
className: "select-theme-dropdown",
|
|
2487
|
+
value: r,
|
|
2488
|
+
onChange: a,
|
|
2489
|
+
children: Jn.map((t) => /* @__PURE__ */ m.jsx("option", { value: t.value, children: t.label }, t.value))
|
|
2490
|
+
}
|
|
2491
|
+
)
|
|
2492
|
+
] });
|
|
2493
|
+
}, Xn = {
|
|
2459
2494
|
Navbar: mr,
|
|
2460
2495
|
Sidebar: yr,
|
|
2461
2496
|
Breadcrumbs: vr,
|
|
2462
2497
|
InputGroup: br,
|
|
2463
2498
|
InputWithLabel: gr,
|
|
2464
2499
|
SearchBar: hr,
|
|
2500
|
+
SelectTheme: Kn,
|
|
2465
2501
|
FileUpload: Tr,
|
|
2466
2502
|
FormField: Rr,
|
|
2467
2503
|
IconButton: Er,
|
|
2468
|
-
ButtonGroup:
|
|
2469
|
-
ImageWithCaption:
|
|
2504
|
+
ButtonGroup: xr,
|
|
2505
|
+
ImageWithCaption: Pr,
|
|
2470
2506
|
VideoWithDescription: _r,
|
|
2471
2507
|
AvatarWithName: jr,
|
|
2472
|
-
AudioPlayer:
|
|
2473
|
-
Card:
|
|
2508
|
+
AudioPlayer: Sr,
|
|
2509
|
+
Card: Or,
|
|
2474
2510
|
MediaCard: Cr,
|
|
2475
2511
|
List: $r,
|
|
2476
2512
|
Accordion: wr,
|
|
@@ -2478,13 +2514,13 @@ const Vn = {
|
|
|
2478
2514
|
Modal: Ar,
|
|
2479
2515
|
DataTable: Br,
|
|
2480
2516
|
PricingTable: Ir,
|
|
2481
|
-
ComparisonTable:
|
|
2482
|
-
},
|
|
2483
|
-
Atoms:
|
|
2484
|
-
Molecules:
|
|
2517
|
+
ComparisonTable: Nr
|
|
2518
|
+
}, Qn = {
|
|
2519
|
+
Atoms: Vn,
|
|
2520
|
+
Molecules: Xn
|
|
2485
2521
|
// ... other categories
|
|
2486
2522
|
};
|
|
2487
2523
|
export {
|
|
2488
|
-
|
|
2489
|
-
|
|
2524
|
+
Qn as GUI,
|
|
2525
|
+
Qn as default
|
|
2490
2526
|
};
|