@movable/ui 0.11.1 → 0.11.2
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/lib/components/Header/PageHeaderActionButtons.d.ts +1 -2
- package/lib/index.mjs +351 -351
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import yt, { useState as Gt } from "react";
|
|
2
|
-
import { Typography as Xe, Stack as Fe, Icon as mt, Breadcrumbs as Vt, Link as Kt, Box as qt, Button as
|
|
2
|
+
import { Typography as Xe, Stack as Fe, Icon as mt, Breadcrumbs as Vt, Link as Kt, Box as qt, Button as vr, Menu as Ht, MenuItem as Jt } from "@mui/material";
|
|
3
3
|
function Xt(e) {
|
|
4
4
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
5
5
|
}
|
|
@@ -19,15 +19,15 @@ function Zt() {
|
|
|
19
19
|
return Ke;
|
|
20
20
|
Kr = 1;
|
|
21
21
|
var e = yt, r = Symbol.for("react.element"), o = Symbol.for("react.fragment"), n = 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 };
|
|
22
|
-
function s(
|
|
23
|
-
var
|
|
24
|
-
|
|
25
|
-
for (
|
|
26
|
-
n.call(
|
|
27
|
-
if (
|
|
28
|
-
for (
|
|
29
|
-
m[
|
|
30
|
-
return { $$typeof: r, type:
|
|
22
|
+
function s(f, d, p) {
|
|
23
|
+
var g, m = {}, l = null, x = null;
|
|
24
|
+
p !== void 0 && (l = "" + p), d.key !== void 0 && (l = "" + d.key), d.ref !== void 0 && (x = d.ref);
|
|
25
|
+
for (g in d)
|
|
26
|
+
n.call(d, g) && !i.hasOwnProperty(g) && (m[g] = d[g]);
|
|
27
|
+
if (f && f.defaultProps)
|
|
28
|
+
for (g in d = f.defaultProps, d)
|
|
29
|
+
m[g] === void 0 && (m[g] = d[g]);
|
|
30
|
+
return { $$typeof: r, type: f, key: l, ref: x, props: m, _owner: a.current };
|
|
31
31
|
}
|
|
32
32
|
return Ke.Fragment = o, Ke.jsx = s, Ke.jsxs = s, Ke;
|
|
33
33
|
}
|
|
@@ -44,7 +44,7 @@ var qe = {};
|
|
|
44
44
|
var qr;
|
|
45
45
|
function Qt() {
|
|
46
46
|
return qr || (qr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
47
|
-
var e = yt, r = Symbol.for("react.element"), o = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), s = Symbol.for("react.provider"),
|
|
47
|
+
var e = yt, r = Symbol.for("react.element"), o = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), f = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), l = Symbol.for("react.lazy"), x = Symbol.for("react.offscreen"), A = Symbol.iterator, b = "@@iterator";
|
|
48
48
|
function w(t) {
|
|
49
49
|
if (t === null || typeof t != "object")
|
|
50
50
|
return null;
|
|
@@ -72,7 +72,7 @@ function Qt() {
|
|
|
72
72
|
var X = !1, v = !1, Ae = !1, Ye = !1, ze = !1, $e;
|
|
73
73
|
$e = Symbol.for("react.module.reference");
|
|
74
74
|
function Ge(t) {
|
|
75
|
-
return !!(typeof t == "string" || typeof t == "function" || t === n || t === i || ze || t === a || t ===
|
|
75
|
+
return !!(typeof t == "string" || typeof t == "function" || t === n || t === i || ze || t === a || t === p || t === g || Ye || t === x || X || v || Ae || typeof t == "object" && t !== null && (t.$$typeof === l || t.$$typeof === m || t.$$typeof === s || t.$$typeof === f || t.$$typeof === d || // This needs to include all possible module reference object
|
|
76
76
|
// types supported by any Flight configuration anywhere since
|
|
77
77
|
// we don't know which Flight build this will end up being used
|
|
78
78
|
// with.
|
|
@@ -104,20 +104,20 @@ function Qt() {
|
|
|
104
104
|
return "Profiler";
|
|
105
105
|
case a:
|
|
106
106
|
return "StrictMode";
|
|
107
|
-
case g:
|
|
108
|
-
return "Suspense";
|
|
109
107
|
case p:
|
|
108
|
+
return "Suspense";
|
|
109
|
+
case g:
|
|
110
110
|
return "SuspenseList";
|
|
111
111
|
}
|
|
112
112
|
if (typeof t == "object")
|
|
113
113
|
switch (t.$$typeof) {
|
|
114
|
-
case
|
|
114
|
+
case f:
|
|
115
115
|
var u = t;
|
|
116
116
|
return je(u) + ".Consumer";
|
|
117
117
|
case s:
|
|
118
118
|
var y = t;
|
|
119
119
|
return je(y._context) + ".Provider";
|
|
120
|
-
case
|
|
120
|
+
case d:
|
|
121
121
|
return ke(t, t.render, "ForwardRef");
|
|
122
122
|
case m:
|
|
123
123
|
var T = t.displayName || null;
|
|
@@ -133,14 +133,14 @@ function Qt() {
|
|
|
133
133
|
}
|
|
134
134
|
return null;
|
|
135
135
|
}
|
|
136
|
-
var fe = Object.assign, Te = 0, ye, ve, we, Ie, c,
|
|
136
|
+
var fe = Object.assign, Te = 0, ye, ve, we, Ie, c, E, P;
|
|
137
137
|
function R() {
|
|
138
138
|
}
|
|
139
139
|
R.__reactDisabledLog = !0;
|
|
140
140
|
function O() {
|
|
141
141
|
{
|
|
142
142
|
if (Te === 0) {
|
|
143
|
-
ye = console.log, ve = console.info, we = console.warn, Ie = console.error, c = console.group,
|
|
143
|
+
ye = console.log, ve = console.info, we = console.warn, Ie = console.error, c = console.group, E = console.groupCollapsed, P = console.groupEnd;
|
|
144
144
|
var t = {
|
|
145
145
|
configurable: !0,
|
|
146
146
|
enumerable: !0,
|
|
@@ -185,7 +185,7 @@ function Qt() {
|
|
|
185
185
|
value: c
|
|
186
186
|
}),
|
|
187
187
|
groupCollapsed: fe({}, t, {
|
|
188
|
-
value:
|
|
188
|
+
value: E
|
|
189
189
|
}),
|
|
190
190
|
groupEnd: fe({}, t, {
|
|
191
191
|
value: P
|
|
@@ -300,14 +300,14 @@ function Qt() {
|
|
|
300
300
|
if (typeof t == "string")
|
|
301
301
|
return S(t);
|
|
302
302
|
switch (t) {
|
|
303
|
-
case g:
|
|
304
|
-
return S("Suspense");
|
|
305
303
|
case p:
|
|
304
|
+
return S("Suspense");
|
|
305
|
+
case g:
|
|
306
306
|
return S("SuspenseList");
|
|
307
307
|
}
|
|
308
308
|
if (typeof t == "object")
|
|
309
309
|
switch (t.$$typeof) {
|
|
310
|
-
case
|
|
310
|
+
case d:
|
|
311
311
|
return he(t.render);
|
|
312
312
|
case m:
|
|
313
313
|
return Pe(t.type, u, y);
|
|
@@ -349,7 +349,7 @@ function Qt() {
|
|
|
349
349
|
}
|
|
350
350
|
}
|
|
351
351
|
var Ct = Array.isArray;
|
|
352
|
-
function
|
|
352
|
+
function gr(t) {
|
|
353
353
|
return Ct(t);
|
|
354
354
|
}
|
|
355
355
|
function Rt(t) {
|
|
@@ -377,8 +377,8 @@ function Qt() {
|
|
|
377
377
|
ref: !0,
|
|
378
378
|
__self: !0,
|
|
379
379
|
__source: !0
|
|
380
|
-
}, Nr, Fr,
|
|
381
|
-
|
|
380
|
+
}, Nr, Fr, yr;
|
|
381
|
+
yr = {};
|
|
382
382
|
function St(t) {
|
|
383
383
|
if (rr.call(t, "ref")) {
|
|
384
384
|
var u = Object.getOwnPropertyDescriptor(t, "ref").get;
|
|
@@ -398,7 +398,7 @@ function Qt() {
|
|
|
398
398
|
function kt(t, u) {
|
|
399
399
|
if (typeof t.ref == "string" && Ve.current && u && Ve.current.stateNode !== u) {
|
|
400
400
|
var y = ge(Ve.current.type);
|
|
401
|
-
|
|
401
|
+
yr[y] || (G('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', ge(Ve.current.type), t.ref), yr[y] = !0);
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
404
|
function jt(t, u) {
|
|
@@ -470,7 +470,7 @@ function Qt() {
|
|
|
470
470
|
return Mt(t, k, le, F, T, Ve.current, M);
|
|
471
471
|
}
|
|
472
472
|
}
|
|
473
|
-
var
|
|
473
|
+
var mr = N.ReactCurrentOwner, Wr = N.ReactDebugCurrentFrame;
|
|
474
474
|
function De(t) {
|
|
475
475
|
if (t) {
|
|
476
476
|
var u = t._owner, y = Pe(t.type, t._source, u ? u.type : null);
|
|
@@ -478,15 +478,15 @@ function Qt() {
|
|
|
478
478
|
} else
|
|
479
479
|
Wr.setExtraStackFrame(null);
|
|
480
480
|
}
|
|
481
|
-
var
|
|
482
|
-
|
|
483
|
-
function
|
|
481
|
+
var hr;
|
|
482
|
+
hr = !1;
|
|
483
|
+
function br(t) {
|
|
484
484
|
return typeof t == "object" && t !== null && t.$$typeof === r;
|
|
485
485
|
}
|
|
486
486
|
function Ur() {
|
|
487
487
|
{
|
|
488
|
-
if (
|
|
489
|
-
var t = ge(
|
|
488
|
+
if (mr.current) {
|
|
489
|
+
var t = ge(mr.current.type);
|
|
490
490
|
if (t)
|
|
491
491
|
return `
|
|
492
492
|
|
|
@@ -529,25 +529,25 @@ Check the top-level render call using <` + y + ">.");
|
|
|
529
529
|
return;
|
|
530
530
|
Lr[y] = !0;
|
|
531
531
|
var T = "";
|
|
532
|
-
t && t._owner && t._owner !==
|
|
532
|
+
t && t._owner && t._owner !== mr.current && (T = " It was passed a child from " + ge(t._owner.type) + "."), De(t), G('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', y, T), De(null);
|
|
533
533
|
}
|
|
534
534
|
}
|
|
535
535
|
function zr(t, u) {
|
|
536
536
|
{
|
|
537
537
|
if (typeof t != "object")
|
|
538
538
|
return;
|
|
539
|
-
if (
|
|
539
|
+
if (gr(t))
|
|
540
540
|
for (var y = 0; y < t.length; y++) {
|
|
541
541
|
var T = t[y];
|
|
542
|
-
|
|
542
|
+
br(T) && Yr(T, u);
|
|
543
543
|
}
|
|
544
|
-
else if (
|
|
544
|
+
else if (br(t))
|
|
545
545
|
t._store && (t._store.validated = !0);
|
|
546
546
|
else if (t) {
|
|
547
547
|
var F = w(t);
|
|
548
548
|
if (typeof F == "function" && F !== t.entries)
|
|
549
549
|
for (var z = F.call(t), M; !(M = z.next()).done; )
|
|
550
|
-
|
|
550
|
+
br(M.value) && Yr(M.value, u);
|
|
551
551
|
}
|
|
552
552
|
}
|
|
553
553
|
}
|
|
@@ -559,7 +559,7 @@ Check the top-level render call using <` + y + ">.");
|
|
|
559
559
|
var y;
|
|
560
560
|
if (typeof u == "function")
|
|
561
561
|
y = u.propTypes;
|
|
562
|
-
else if (typeof u == "object" && (u.$$typeof ===
|
|
562
|
+
else if (typeof u == "object" && (u.$$typeof === d || // Note: Memo only checks outer props here.
|
|
563
563
|
// Inner props are checked in the reconciler.
|
|
564
564
|
u.$$typeof === m))
|
|
565
565
|
y = u.propTypes;
|
|
@@ -568,8 +568,8 @@ Check the top-level render call using <` + y + ">.");
|
|
|
568
568
|
if (y) {
|
|
569
569
|
var T = ge(u);
|
|
570
570
|
_t(y, t.props, "prop", T, t);
|
|
571
|
-
} else if (u.PropTypes !== void 0 && !
|
|
572
|
-
|
|
571
|
+
} else if (u.PropTypes !== void 0 && !hr) {
|
|
572
|
+
hr = !0;
|
|
573
573
|
var F = ge(u);
|
|
574
574
|
G("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", F || "Unknown");
|
|
575
575
|
}
|
|
@@ -597,7 +597,7 @@ Check the top-level render call using <` + y + ">.");
|
|
|
597
597
|
var le = Bt(F);
|
|
598
598
|
le ? k += le : k += Ur();
|
|
599
599
|
var ee;
|
|
600
|
-
t === null ? ee = "null" :
|
|
600
|
+
t === null ? ee = "null" : gr(t) ? ee = "array" : t !== void 0 && t.$$typeof === r ? (ee = "<" + (ge(t.type) || "Unknown") + " />", k = " Did you accidentally export a JSX literal instead of a component?") : ee = typeof t, G("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ee, k);
|
|
601
601
|
}
|
|
602
602
|
var te = Dt(t, u, y, F, z);
|
|
603
603
|
if (te == null)
|
|
@@ -606,7 +606,7 @@ Check the top-level render call using <` + y + ">.");
|
|
|
606
606
|
var be = u.children;
|
|
607
607
|
if (be !== void 0)
|
|
608
608
|
if (T)
|
|
609
|
-
if (
|
|
609
|
+
if (gr(be)) {
|
|
610
610
|
for (var Be = 0; Be < be.length; Be++)
|
|
611
611
|
zr(be[Be], t);
|
|
612
612
|
Object.freeze && Object.freeze(be);
|
|
@@ -654,14 +654,14 @@ function rn({ breadcrumb: e, i: r }) {
|
|
|
654
654
|
function ua({ breadcrumbs: e }) {
|
|
655
655
|
return V.jsx(Vt, { children: e == null ? void 0 : e.map((r, o) => o === e.length - 1 ? V.jsx(en, { label: r.label }, `breadcrumb-${o}`) : V.jsx(rn, { breadcrumb: r, i: o }, `breadcrumb-${o}`)) });
|
|
656
656
|
}
|
|
657
|
-
function la({ primaryAction: e, secondaryAction: r,
|
|
658
|
-
var
|
|
659
|
-
const [
|
|
660
|
-
|
|
657
|
+
function la({ primaryAction: e, secondaryAction: r, dropdownAction: o }) {
|
|
658
|
+
var d;
|
|
659
|
+
const [n, a] = Gt(null), i = !!n, s = (p) => {
|
|
660
|
+
a(p.currentTarget);
|
|
661
661
|
}, f = () => {
|
|
662
|
-
|
|
662
|
+
a(null);
|
|
663
663
|
};
|
|
664
|
-
return V.jsxs(Fe, { direction: "row", spacing: 1, children: [
|
|
664
|
+
return V.jsxs(Fe, { direction: "row", spacing: 1, children: [o && V.jsxs(qt, { children: [V.jsx(vr, { id: "action-dd", "aria-controls": i ? "action-menu" : void 0, "aria-haspopup": "true", "aria-expanded": i ? "true" : void 0, onClick: s, variant: "contained", color: "inherit", endIcon: V.jsx(mt, { children: "arrow_drop_down" }), children: o.label }), V.jsx(Ht, { id: "action-menu", anchorEl: n, open: i, onClose: f, MenuListProps: {
|
|
665
665
|
"aria-labelledby": "action-dd"
|
|
666
666
|
}, anchorOrigin: {
|
|
667
667
|
vertical: "bottom",
|
|
@@ -669,9 +669,9 @@ function la({ primaryAction: e, secondaryAction: r, tertiaryAction: o, dropdownA
|
|
|
669
669
|
}, transformOrigin: {
|
|
670
670
|
vertical: "top",
|
|
671
671
|
horizontal: "right"
|
|
672
|
-
}, ...
|
|
673
|
-
|
|
674
|
-
}, ...
|
|
672
|
+
}, ...o.menuProps, children: (d = o.menuOptions) == null ? void 0 : d.map(({ label: p, onClick: g, menuItemProps: m }, l) => V.jsx(Jt, { onClick: () => {
|
|
673
|
+
g(), f();
|
|
674
|
+
}, ...m, children: p }, l)) })] }), r && V.jsx(vr, { variant: "contained", color: "inherit", ...r, children: r.label }), e && V.jsx(vr, { variant: "contained", ...e, sx: { whiteSpace: "nowrap" }, children: e.label })] });
|
|
675
675
|
}
|
|
676
676
|
function ca({ subtitle: e }) {
|
|
677
677
|
return V.jsx(Xe, { variant: "body2", color: "text.secondary", children: e });
|
|
@@ -705,7 +705,7 @@ function _e(e, r, o = {
|
|
|
705
705
|
a !== "__proto__" && (Ne(r[a]) && a in e && Ne(e[a]) ? n[a] = _e(e[a], r[a], o) : o.clone ? n[a] = Ne(r[a]) ? ht(r[a]) : r[a] : n[a] = r[a]);
|
|
706
706
|
}), n;
|
|
707
707
|
}
|
|
708
|
-
var wr = { exports: {} },
|
|
708
|
+
var wr = { exports: {} }, nr = { exports: {} }, W = {};
|
|
709
709
|
/** @license React v16.13.1
|
|
710
710
|
* react-is.production.min.js
|
|
711
711
|
*
|
|
@@ -719,15 +719,15 @@ function tn() {
|
|
|
719
719
|
if (Hr)
|
|
720
720
|
return W;
|
|
721
721
|
Hr = 1;
|
|
722
|
-
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109,
|
|
722
|
+
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, f = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, g = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, l = e ? Symbol.for("react.suspense_list") : 60120, x = e ? Symbol.for("react.memo") : 60115, A = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117, N = e ? Symbol.for("react.responder") : 60118, G = e ? Symbol.for("react.scope") : 60119;
|
|
723
723
|
function H(v) {
|
|
724
724
|
if (typeof v == "object" && v !== null) {
|
|
725
725
|
var Ae = v.$$typeof;
|
|
726
726
|
switch (Ae) {
|
|
727
727
|
case r:
|
|
728
728
|
switch (v = v.type, v) {
|
|
729
|
-
case
|
|
730
|
-
case
|
|
729
|
+
case d:
|
|
730
|
+
case p:
|
|
731
731
|
case n:
|
|
732
732
|
case i:
|
|
733
733
|
case a:
|
|
@@ -735,10 +735,10 @@ function tn() {
|
|
|
735
735
|
return v;
|
|
736
736
|
default:
|
|
737
737
|
switch (v = v && v.$$typeof, v) {
|
|
738
|
-
case
|
|
739
|
-
case
|
|
738
|
+
case f:
|
|
739
|
+
case g:
|
|
740
740
|
case A:
|
|
741
|
-
case
|
|
741
|
+
case x:
|
|
742
742
|
case s:
|
|
743
743
|
return v;
|
|
744
744
|
default:
|
|
@@ -751,24 +751,24 @@ function tn() {
|
|
|
751
751
|
}
|
|
752
752
|
}
|
|
753
753
|
function X(v) {
|
|
754
|
-
return H(v) ===
|
|
754
|
+
return H(v) === p;
|
|
755
755
|
}
|
|
756
|
-
return W.AsyncMode =
|
|
757
|
-
return X(v) || H(v) ===
|
|
756
|
+
return W.AsyncMode = d, W.ConcurrentMode = p, W.ContextConsumer = f, W.ContextProvider = s, W.Element = r, W.ForwardRef = g, W.Fragment = n, W.Lazy = A, W.Memo = x, W.Portal = o, W.Profiler = i, W.StrictMode = a, W.Suspense = m, W.isAsyncMode = function(v) {
|
|
757
|
+
return X(v) || H(v) === d;
|
|
758
758
|
}, W.isConcurrentMode = X, W.isContextConsumer = function(v) {
|
|
759
|
-
return H(v) ===
|
|
759
|
+
return H(v) === f;
|
|
760
760
|
}, W.isContextProvider = function(v) {
|
|
761
761
|
return H(v) === s;
|
|
762
762
|
}, W.isElement = function(v) {
|
|
763
763
|
return typeof v == "object" && v !== null && v.$$typeof === r;
|
|
764
764
|
}, W.isForwardRef = function(v) {
|
|
765
|
-
return H(v) ===
|
|
765
|
+
return H(v) === g;
|
|
766
766
|
}, W.isFragment = function(v) {
|
|
767
767
|
return H(v) === n;
|
|
768
768
|
}, W.isLazy = function(v) {
|
|
769
769
|
return H(v) === A;
|
|
770
770
|
}, W.isMemo = function(v) {
|
|
771
|
-
return H(v) ===
|
|
771
|
+
return H(v) === x;
|
|
772
772
|
}, W.isPortal = function(v) {
|
|
773
773
|
return H(v) === o;
|
|
774
774
|
}, W.isProfiler = function(v) {
|
|
@@ -778,7 +778,7 @@ function tn() {
|
|
|
778
778
|
}, W.isSuspense = function(v) {
|
|
779
779
|
return H(v) === m;
|
|
780
780
|
}, W.isValidElementType = function(v) {
|
|
781
|
-
return typeof v == "string" || typeof v == "function" || v === n || v ===
|
|
781
|
+
return typeof v == "string" || typeof v == "function" || v === n || v === p || v === i || v === a || v === m || v === l || typeof v == "object" && v !== null && (v.$$typeof === A || v.$$typeof === x || v.$$typeof === s || v.$$typeof === f || v.$$typeof === g || v.$$typeof === w || v.$$typeof === N || v.$$typeof === G || v.$$typeof === b);
|
|
782
782
|
}, W.typeOf = H, W;
|
|
783
783
|
}
|
|
784
784
|
var U = {};
|
|
@@ -793,10 +793,10 @@ var U = {};
|
|
|
793
793
|
var Jr;
|
|
794
794
|
function nn() {
|
|
795
795
|
return Jr || (Jr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
796
|
-
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109,
|
|
796
|
+
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, f = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, g = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, l = e ? Symbol.for("react.suspense_list") : 60120, x = e ? Symbol.for("react.memo") : 60115, A = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117, N = e ? Symbol.for("react.responder") : 60118, G = e ? Symbol.for("react.scope") : 60119;
|
|
797
797
|
function H(h) {
|
|
798
798
|
return typeof h == "string" || typeof h == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
799
|
-
h === n || h ===
|
|
799
|
+
h === n || h === p || h === i || h === a || h === m || h === l || typeof h == "object" && h !== null && (h.$$typeof === A || h.$$typeof === x || h.$$typeof === s || h.$$typeof === f || h.$$typeof === g || h.$$typeof === w || h.$$typeof === N || h.$$typeof === G || h.$$typeof === b);
|
|
800
800
|
}
|
|
801
801
|
function X(h) {
|
|
802
802
|
if (typeof h == "object" && h !== null) {
|
|
@@ -805,8 +805,8 @@ function nn() {
|
|
|
805
805
|
case r:
|
|
806
806
|
var Me = h.type;
|
|
807
807
|
switch (Me) {
|
|
808
|
-
case
|
|
809
|
-
case
|
|
808
|
+
case d:
|
|
809
|
+
case p:
|
|
810
810
|
case n:
|
|
811
811
|
case i:
|
|
812
812
|
case a:
|
|
@@ -815,10 +815,10 @@ function nn() {
|
|
|
815
815
|
default:
|
|
816
816
|
var Pe = Me && Me.$$typeof;
|
|
817
817
|
switch (Pe) {
|
|
818
|
-
case
|
|
819
|
-
case
|
|
818
|
+
case f:
|
|
819
|
+
case g:
|
|
820
820
|
case A:
|
|
821
|
-
case
|
|
821
|
+
case x:
|
|
822
822
|
case s:
|
|
823
823
|
return Pe;
|
|
824
824
|
default:
|
|
@@ -830,15 +830,15 @@ function nn() {
|
|
|
830
830
|
}
|
|
831
831
|
}
|
|
832
832
|
}
|
|
833
|
-
var v =
|
|
833
|
+
var v = d, Ae = p, Ye = f, ze = s, $e = r, Ge = g, ke = n, je = A, ge = x, fe = o, Te = i, ye = a, ve = m, we = !1;
|
|
834
834
|
function Ie(h) {
|
|
835
|
-
return we || (we = !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.")), c(h) || X(h) ===
|
|
835
|
+
return we || (we = !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.")), c(h) || X(h) === d;
|
|
836
836
|
}
|
|
837
837
|
function c(h) {
|
|
838
|
-
return X(h) ===
|
|
838
|
+
return X(h) === p;
|
|
839
839
|
}
|
|
840
|
-
function
|
|
841
|
-
return X(h) ===
|
|
840
|
+
function E(h) {
|
|
841
|
+
return X(h) === f;
|
|
842
842
|
}
|
|
843
843
|
function P(h) {
|
|
844
844
|
return X(h) === s;
|
|
@@ -847,7 +847,7 @@ function nn() {
|
|
|
847
847
|
return typeof h == "object" && h !== null && h.$$typeof === r;
|
|
848
848
|
}
|
|
849
849
|
function O(h) {
|
|
850
|
-
return X(h) ===
|
|
850
|
+
return X(h) === g;
|
|
851
851
|
}
|
|
852
852
|
function I(h) {
|
|
853
853
|
return X(h) === n;
|
|
@@ -856,7 +856,7 @@ function nn() {
|
|
|
856
856
|
return X(h) === A;
|
|
857
857
|
}
|
|
858
858
|
function C(h) {
|
|
859
|
-
return X(h) ===
|
|
859
|
+
return X(h) === x;
|
|
860
860
|
}
|
|
861
861
|
function S(h) {
|
|
862
862
|
return X(h) === o;
|
|
@@ -870,22 +870,22 @@ function nn() {
|
|
|
870
870
|
function se(h) {
|
|
871
871
|
return X(h) === m;
|
|
872
872
|
}
|
|
873
|
-
U.AsyncMode = v, U.ConcurrentMode = Ae, U.ContextConsumer = Ye, U.ContextProvider = ze, U.Element = $e, U.ForwardRef = Ge, U.Fragment = ke, U.Lazy = je, U.Memo = ge, U.Portal = fe, U.Profiler = Te, U.StrictMode = ye, U.Suspense = ve, U.isAsyncMode = Ie, U.isConcurrentMode = c, U.isContextConsumer =
|
|
873
|
+
U.AsyncMode = v, U.ConcurrentMode = Ae, U.ContextConsumer = Ye, U.ContextProvider = ze, U.Element = $e, U.ForwardRef = Ge, U.Fragment = ke, U.Lazy = je, U.Memo = ge, U.Portal = fe, U.Profiler = Te, U.StrictMode = ye, U.Suspense = ve, U.isAsyncMode = Ie, U.isConcurrentMode = c, U.isContextConsumer = E, U.isContextProvider = P, U.isElement = R, U.isForwardRef = O, U.isFragment = I, U.isLazy = _, U.isMemo = C, U.isPortal = S, U.isProfiler = B, U.isStrictMode = $, U.isSuspense = se, U.isValidElementType = H, U.typeOf = X;
|
|
874
874
|
}()), U;
|
|
875
875
|
}
|
|
876
876
|
var Xr;
|
|
877
877
|
function bt() {
|
|
878
|
-
return Xr || (Xr = 1, process.env.NODE_ENV === "production" ?
|
|
878
|
+
return Xr || (Xr = 1, process.env.NODE_ENV === "production" ? nr.exports = tn() : nr.exports = nn()), nr.exports;
|
|
879
879
|
}
|
|
880
880
|
/*
|
|
881
881
|
object-assign
|
|
882
882
|
(c) Sindre Sorhus
|
|
883
883
|
@license MIT
|
|
884
884
|
*/
|
|
885
|
-
var
|
|
885
|
+
var Er, Zr;
|
|
886
886
|
function on() {
|
|
887
887
|
if (Zr)
|
|
888
|
-
return
|
|
888
|
+
return Er;
|
|
889
889
|
Zr = 1;
|
|
890
890
|
var e = Object.getOwnPropertySymbols, r = Object.prototype.hasOwnProperty, o = Object.prototype.propertyIsEnumerable;
|
|
891
891
|
function n(i) {
|
|
@@ -900,42 +900,42 @@ function on() {
|
|
|
900
900
|
var i = new String("abc");
|
|
901
901
|
if (i[5] = "de", Object.getOwnPropertyNames(i)[0] === "5")
|
|
902
902
|
return !1;
|
|
903
|
-
for (var s = {},
|
|
904
|
-
s["_" + String.fromCharCode(
|
|
905
|
-
var
|
|
906
|
-
return s[
|
|
903
|
+
for (var s = {}, f = 0; f < 10; f++)
|
|
904
|
+
s["_" + String.fromCharCode(f)] = f;
|
|
905
|
+
var d = Object.getOwnPropertyNames(s).map(function(g) {
|
|
906
|
+
return s[g];
|
|
907
907
|
});
|
|
908
|
-
if (
|
|
908
|
+
if (d.join("") !== "0123456789")
|
|
909
909
|
return !1;
|
|
910
|
-
var
|
|
911
|
-
return "abcdefghijklmnopqrst".split("").forEach(function(
|
|
912
|
-
g
|
|
913
|
-
}), Object.keys(Object.assign({},
|
|
910
|
+
var p = {};
|
|
911
|
+
return "abcdefghijklmnopqrst".split("").forEach(function(g) {
|
|
912
|
+
p[g] = g;
|
|
913
|
+
}), Object.keys(Object.assign({}, p)).join("") === "abcdefghijklmnopqrst";
|
|
914
914
|
} catch {
|
|
915
915
|
return !1;
|
|
916
916
|
}
|
|
917
917
|
}
|
|
918
|
-
return
|
|
919
|
-
for (var
|
|
920
|
-
|
|
921
|
-
for (var m in
|
|
922
|
-
r.call(
|
|
918
|
+
return Er = a() ? Object.assign : function(i, s) {
|
|
919
|
+
for (var f, d = n(i), p, g = 1; g < arguments.length; g++) {
|
|
920
|
+
f = Object(arguments[g]);
|
|
921
|
+
for (var m in f)
|
|
922
|
+
r.call(f, m) && (d[m] = f[m]);
|
|
923
923
|
if (e) {
|
|
924
|
-
|
|
925
|
-
for (var l = 0; l <
|
|
926
|
-
o.call(
|
|
924
|
+
p = e(f);
|
|
925
|
+
for (var l = 0; l < p.length; l++)
|
|
926
|
+
o.call(f, p[l]) && (d[p[l]] = f[p[l]]);
|
|
927
927
|
}
|
|
928
928
|
}
|
|
929
|
-
return
|
|
930
|
-
},
|
|
929
|
+
return d;
|
|
930
|
+
}, Er;
|
|
931
931
|
}
|
|
932
|
-
var
|
|
932
|
+
var xr, Qr;
|
|
933
933
|
function Pr() {
|
|
934
934
|
if (Qr)
|
|
935
|
-
return
|
|
935
|
+
return xr;
|
|
936
936
|
Qr = 1;
|
|
937
937
|
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
938
|
-
return
|
|
938
|
+
return xr = e, xr;
|
|
939
939
|
}
|
|
940
940
|
var Ar, et;
|
|
941
941
|
function vt() {
|
|
@@ -959,29 +959,29 @@ function an() {
|
|
|
959
959
|
}
|
|
960
960
|
};
|
|
961
961
|
}
|
|
962
|
-
function a(i, s,
|
|
962
|
+
function a(i, s, f, d, p) {
|
|
963
963
|
if (process.env.NODE_ENV !== "production") {
|
|
964
|
-
for (var
|
|
965
|
-
if (n(i,
|
|
964
|
+
for (var g in i)
|
|
965
|
+
if (n(i, g)) {
|
|
966
966
|
var m;
|
|
967
967
|
try {
|
|
968
|
-
if (typeof i[
|
|
968
|
+
if (typeof i[g] != "function") {
|
|
969
969
|
var l = Error(
|
|
970
|
-
(
|
|
970
|
+
(d || "React class") + ": " + f + " type `" + g + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[g] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
971
971
|
);
|
|
972
972
|
throw l.name = "Invariant Violation", l;
|
|
973
973
|
}
|
|
974
|
-
m = i[
|
|
974
|
+
m = i[g](s, g, d, f, null, r);
|
|
975
975
|
} catch (A) {
|
|
976
976
|
m = A;
|
|
977
977
|
}
|
|
978
978
|
if (m && !(m instanceof Error) && e(
|
|
979
|
-
(
|
|
979
|
+
(d || "React class") + ": type specification of " + f + " `" + g + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof m + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
980
980
|
), m instanceof Error && !(m.message in o)) {
|
|
981
981
|
o[m.message] = !0;
|
|
982
|
-
var
|
|
982
|
+
var x = p ? p() : "";
|
|
983
983
|
e(
|
|
984
|
-
"Failed " +
|
|
984
|
+
"Failed " + f + " type: " + m.message + (x ?? "")
|
|
985
985
|
);
|
|
986
986
|
}
|
|
987
987
|
}
|
|
@@ -998,25 +998,25 @@ function sn() {
|
|
|
998
998
|
tt = 1;
|
|
999
999
|
var e = bt(), r = on(), o = Pr(), n = vt(), a = an(), i = function() {
|
|
1000
1000
|
};
|
|
1001
|
-
process.env.NODE_ENV !== "production" && (i = function(
|
|
1002
|
-
var
|
|
1003
|
-
typeof console < "u" && console.error(
|
|
1001
|
+
process.env.NODE_ENV !== "production" && (i = function(f) {
|
|
1002
|
+
var d = "Warning: " + f;
|
|
1003
|
+
typeof console < "u" && console.error(d);
|
|
1004
1004
|
try {
|
|
1005
|
-
throw new Error(
|
|
1005
|
+
throw new Error(d);
|
|
1006
1006
|
} catch {
|
|
1007
1007
|
}
|
|
1008
1008
|
});
|
|
1009
1009
|
function s() {
|
|
1010
1010
|
return null;
|
|
1011
1011
|
}
|
|
1012
|
-
return Or = function(
|
|
1013
|
-
var
|
|
1012
|
+
return Or = function(f, d) {
|
|
1013
|
+
var p = typeof Symbol == "function" && Symbol.iterator, g = "@@iterator";
|
|
1014
1014
|
function m(c) {
|
|
1015
|
-
var
|
|
1016
|
-
if (typeof
|
|
1017
|
-
return
|
|
1015
|
+
var E = c && (p && c[p] || c[g]);
|
|
1016
|
+
if (typeof E == "function")
|
|
1017
|
+
return E;
|
|
1018
1018
|
}
|
|
1019
|
-
var l = "<<anonymous>>",
|
|
1019
|
+
var l = "<<anonymous>>", x = {
|
|
1020
1020
|
array: N("array"),
|
|
1021
1021
|
bigint: N("bigint"),
|
|
1022
1022
|
bool: N("boolean"),
|
|
@@ -1037,29 +1037,29 @@ function sn() {
|
|
|
1037
1037
|
shape: je,
|
|
1038
1038
|
exact: ge
|
|
1039
1039
|
};
|
|
1040
|
-
function A(c,
|
|
1041
|
-
return c ===
|
|
1040
|
+
function A(c, E) {
|
|
1041
|
+
return c === E ? c !== 0 || 1 / c === 1 / E : c !== c && E !== E;
|
|
1042
1042
|
}
|
|
1043
|
-
function b(c,
|
|
1044
|
-
this.message = c, this.data =
|
|
1043
|
+
function b(c, E) {
|
|
1044
|
+
this.message = c, this.data = E && typeof E == "object" ? E : {}, this.stack = "";
|
|
1045
1045
|
}
|
|
1046
1046
|
b.prototype = Error.prototype;
|
|
1047
1047
|
function w(c) {
|
|
1048
1048
|
if (process.env.NODE_ENV !== "production")
|
|
1049
|
-
var
|
|
1049
|
+
var E = {}, P = 0;
|
|
1050
1050
|
function R(I, _, C, S, B, $, se) {
|
|
1051
1051
|
if (S = S || l, $ = $ || C, se !== o) {
|
|
1052
|
-
if (
|
|
1052
|
+
if (d) {
|
|
1053
1053
|
var h = new Error(
|
|
1054
1054
|
"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"
|
|
1055
1055
|
);
|
|
1056
1056
|
throw h.name = "Invariant Violation", h;
|
|
1057
1057
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
1058
1058
|
var he = S + ":" + C;
|
|
1059
|
-
!
|
|
1059
|
+
!E[he] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
1060
1060
|
P < 3 && (i(
|
|
1061
1061
|
"You are manually calling a React.PropTypes validation function for the `" + $ + "` prop on `" + S + "`. 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."
|
|
1062
|
-
),
|
|
1062
|
+
), E[he] = !0, P++);
|
|
1063
1063
|
}
|
|
1064
1064
|
}
|
|
1065
1065
|
return _[C] == null ? I ? _[C] === null ? new b("The " + B + " `" + $ + "` is marked as required " + ("in `" + S + "`, but its value is `null`.")) : new b("The " + B + " `" + $ + "` is marked as required in " + ("`" + S + "`, but its value is `undefined`.")) : null : c(_, C, S, B, $);
|
|
@@ -1068,7 +1068,7 @@ function sn() {
|
|
|
1068
1068
|
return O.isRequired = R.bind(null, !0), O;
|
|
1069
1069
|
}
|
|
1070
1070
|
function N(c) {
|
|
1071
|
-
function
|
|
1071
|
+
function E(P, R, O, I, _, C) {
|
|
1072
1072
|
var S = P[R], B = ye(S);
|
|
1073
1073
|
if (B !== c) {
|
|
1074
1074
|
var $ = ve(S);
|
|
@@ -1079,13 +1079,13 @@ function sn() {
|
|
|
1079
1079
|
}
|
|
1080
1080
|
return null;
|
|
1081
1081
|
}
|
|
1082
|
-
return w(
|
|
1082
|
+
return w(E);
|
|
1083
1083
|
}
|
|
1084
1084
|
function G() {
|
|
1085
1085
|
return w(s);
|
|
1086
1086
|
}
|
|
1087
1087
|
function H(c) {
|
|
1088
|
-
function
|
|
1088
|
+
function E(P, R, O, I, _) {
|
|
1089
1089
|
if (typeof c != "function")
|
|
1090
1090
|
return new b("Property `" + _ + "` of component `" + O + "` has invalid PropType notation inside arrayOf.");
|
|
1091
1091
|
var C = P[R];
|
|
@@ -1100,12 +1100,12 @@ function sn() {
|
|
|
1100
1100
|
}
|
|
1101
1101
|
return null;
|
|
1102
1102
|
}
|
|
1103
|
-
return w(
|
|
1103
|
+
return w(E);
|
|
1104
1104
|
}
|
|
1105
1105
|
function X() {
|
|
1106
|
-
function c(
|
|
1107
|
-
var _ =
|
|
1108
|
-
if (!
|
|
1106
|
+
function c(E, P, R, O, I) {
|
|
1107
|
+
var _ = E[P];
|
|
1108
|
+
if (!f(_)) {
|
|
1109
1109
|
var C = ye(_);
|
|
1110
1110
|
return new b("Invalid " + O + " `" + I + "` of type " + ("`" + C + "` supplied to `" + R + "`, expected a single ReactElement."));
|
|
1111
1111
|
}
|
|
@@ -1114,8 +1114,8 @@ function sn() {
|
|
|
1114
1114
|
return w(c);
|
|
1115
1115
|
}
|
|
1116
1116
|
function v() {
|
|
1117
|
-
function c(
|
|
1118
|
-
var _ =
|
|
1117
|
+
function c(E, P, R, O, I) {
|
|
1118
|
+
var _ = E[P];
|
|
1119
1119
|
if (!e.isValidElementType(_)) {
|
|
1120
1120
|
var C = ye(_);
|
|
1121
1121
|
return new b("Invalid " + O + " `" + I + "` of type " + ("`" + C + "` supplied to `" + R + "`, expected a single ReactElement type."));
|
|
@@ -1125,21 +1125,21 @@ function sn() {
|
|
|
1125
1125
|
return w(c);
|
|
1126
1126
|
}
|
|
1127
1127
|
function Ae(c) {
|
|
1128
|
-
function
|
|
1128
|
+
function E(P, R, O, I, _) {
|
|
1129
1129
|
if (!(P[R] instanceof c)) {
|
|
1130
1130
|
var C = c.name || l, S = Ie(P[R]);
|
|
1131
1131
|
return new b("Invalid " + I + " `" + _ + "` of type " + ("`" + S + "` supplied to `" + O + "`, expected ") + ("instance of `" + C + "`."));
|
|
1132
1132
|
}
|
|
1133
1133
|
return null;
|
|
1134
1134
|
}
|
|
1135
|
-
return w(
|
|
1135
|
+
return w(E);
|
|
1136
1136
|
}
|
|
1137
1137
|
function Ye(c) {
|
|
1138
1138
|
if (!Array.isArray(c))
|
|
1139
1139
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
1140
1140
|
"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])."
|
|
1141
1141
|
) : i("Invalid argument supplied to oneOf, expected an array.")), s;
|
|
1142
|
-
function
|
|
1142
|
+
function E(P, R, O, I, _) {
|
|
1143
1143
|
for (var C = P[R], S = 0; S < c.length; S++)
|
|
1144
1144
|
if (A(C, c[S]))
|
|
1145
1145
|
return null;
|
|
@@ -1149,10 +1149,10 @@ function sn() {
|
|
|
1149
1149
|
});
|
|
1150
1150
|
return new b("Invalid " + I + " `" + _ + "` of value `" + String(C) + "` " + ("supplied to `" + O + "`, expected one of " + B + "."));
|
|
1151
1151
|
}
|
|
1152
|
-
return w(
|
|
1152
|
+
return w(E);
|
|
1153
1153
|
}
|
|
1154
1154
|
function ze(c) {
|
|
1155
|
-
function
|
|
1155
|
+
function E(P, R, O, I, _) {
|
|
1156
1156
|
if (typeof c != "function")
|
|
1157
1157
|
return new b("Property `" + _ + "` of component `" + O + "` has invalid PropType notation inside objectOf.");
|
|
1158
1158
|
var C = P[R], S = ye(C);
|
|
@@ -1166,16 +1166,16 @@ function sn() {
|
|
|
1166
1166
|
}
|
|
1167
1167
|
return null;
|
|
1168
1168
|
}
|
|
1169
|
-
return w(
|
|
1169
|
+
return w(E);
|
|
1170
1170
|
}
|
|
1171
1171
|
function $e(c) {
|
|
1172
1172
|
if (!Array.isArray(c))
|
|
1173
1173
|
return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), s;
|
|
1174
|
-
for (var
|
|
1175
|
-
var P = c[
|
|
1174
|
+
for (var E = 0; E < c.length; E++) {
|
|
1175
|
+
var P = c[E];
|
|
1176
1176
|
if (typeof P != "function")
|
|
1177
1177
|
return i(
|
|
1178
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + we(P) + " at index " +
|
|
1178
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + we(P) + " at index " + E + "."
|
|
1179
1179
|
), s;
|
|
1180
1180
|
}
|
|
1181
1181
|
function R(O, I, _, C, S) {
|
|
@@ -1191,18 +1191,18 @@ function sn() {
|
|
|
1191
1191
|
return w(R);
|
|
1192
1192
|
}
|
|
1193
1193
|
function Ge() {
|
|
1194
|
-
function c(
|
|
1195
|
-
return fe(
|
|
1194
|
+
function c(E, P, R, O, I) {
|
|
1195
|
+
return fe(E[P]) ? null : new b("Invalid " + O + " `" + I + "` supplied to " + ("`" + R + "`, expected a ReactNode."));
|
|
1196
1196
|
}
|
|
1197
1197
|
return w(c);
|
|
1198
1198
|
}
|
|
1199
|
-
function ke(c,
|
|
1199
|
+
function ke(c, E, P, R, O) {
|
|
1200
1200
|
return new b(
|
|
1201
|
-
(c || "React class") + ": " +
|
|
1201
|
+
(c || "React class") + ": " + E + " type `" + P + "." + R + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + O + "`."
|
|
1202
1202
|
);
|
|
1203
1203
|
}
|
|
1204
1204
|
function je(c) {
|
|
1205
|
-
function
|
|
1205
|
+
function E(P, R, O, I, _) {
|
|
1206
1206
|
var C = P[R], S = ye(C);
|
|
1207
1207
|
if (S !== "object")
|
|
1208
1208
|
return new b("Invalid " + I + " `" + _ + "` of type `" + S + "` " + ("supplied to `" + O + "`, expected `object`."));
|
|
@@ -1216,10 +1216,10 @@ function sn() {
|
|
|
1216
1216
|
}
|
|
1217
1217
|
return null;
|
|
1218
1218
|
}
|
|
1219
|
-
return w(
|
|
1219
|
+
return w(E);
|
|
1220
1220
|
}
|
|
1221
1221
|
function ge(c) {
|
|
1222
|
-
function
|
|
1222
|
+
function E(P, R, O, I, _) {
|
|
1223
1223
|
var C = P[R], S = ye(C);
|
|
1224
1224
|
if (S !== "object")
|
|
1225
1225
|
return new b("Invalid " + I + " `" + _ + "` of type `" + S + "` " + ("supplied to `" + O + "`, expected `object`."));
|
|
@@ -1239,7 +1239,7 @@ Valid keys: ` + JSON.stringify(Object.keys(c), null, " ")
|
|
|
1239
1239
|
}
|
|
1240
1240
|
return null;
|
|
1241
1241
|
}
|
|
1242
|
-
return w(
|
|
1242
|
+
return w(E);
|
|
1243
1243
|
}
|
|
1244
1244
|
function fe(c) {
|
|
1245
1245
|
switch (typeof c) {
|
|
@@ -1252,12 +1252,12 @@ Valid keys: ` + JSON.stringify(Object.keys(c), null, " ")
|
|
|
1252
1252
|
case "object":
|
|
1253
1253
|
if (Array.isArray(c))
|
|
1254
1254
|
return c.every(fe);
|
|
1255
|
-
if (c === null ||
|
|
1255
|
+
if (c === null || f(c))
|
|
1256
1256
|
return !0;
|
|
1257
|
-
var
|
|
1258
|
-
if (
|
|
1259
|
-
var P =
|
|
1260
|
-
if (
|
|
1257
|
+
var E = m(c);
|
|
1258
|
+
if (E) {
|
|
1259
|
+
var P = E.call(c), R;
|
|
1260
|
+
if (E !== c.entries) {
|
|
1261
1261
|
for (; !(R = P.next()).done; )
|
|
1262
1262
|
if (!fe(R.value))
|
|
1263
1263
|
return !1;
|
|
@@ -1274,43 +1274,43 @@ Valid keys: ` + JSON.stringify(Object.keys(c), null, " ")
|
|
|
1274
1274
|
return !1;
|
|
1275
1275
|
}
|
|
1276
1276
|
}
|
|
1277
|
-
function Te(c,
|
|
1278
|
-
return c === "symbol" ? !0 :
|
|
1277
|
+
function Te(c, E) {
|
|
1278
|
+
return c === "symbol" ? !0 : E ? E["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && E instanceof Symbol : !1;
|
|
1279
1279
|
}
|
|
1280
1280
|
function ye(c) {
|
|
1281
|
-
var
|
|
1282
|
-
return Array.isArray(c) ? "array" : c instanceof RegExp ? "object" : Te(
|
|
1281
|
+
var E = typeof c;
|
|
1282
|
+
return Array.isArray(c) ? "array" : c instanceof RegExp ? "object" : Te(E, c) ? "symbol" : E;
|
|
1283
1283
|
}
|
|
1284
1284
|
function ve(c) {
|
|
1285
1285
|
if (typeof c > "u" || c === null)
|
|
1286
1286
|
return "" + c;
|
|
1287
|
-
var
|
|
1288
|
-
if (
|
|
1287
|
+
var E = ye(c);
|
|
1288
|
+
if (E === "object") {
|
|
1289
1289
|
if (c instanceof Date)
|
|
1290
1290
|
return "date";
|
|
1291
1291
|
if (c instanceof RegExp)
|
|
1292
1292
|
return "regexp";
|
|
1293
1293
|
}
|
|
1294
|
-
return
|
|
1294
|
+
return E;
|
|
1295
1295
|
}
|
|
1296
1296
|
function we(c) {
|
|
1297
|
-
var
|
|
1298
|
-
switch (
|
|
1297
|
+
var E = ve(c);
|
|
1298
|
+
switch (E) {
|
|
1299
1299
|
case "array":
|
|
1300
1300
|
case "object":
|
|
1301
|
-
return "an " +
|
|
1301
|
+
return "an " + E;
|
|
1302
1302
|
case "boolean":
|
|
1303
1303
|
case "date":
|
|
1304
1304
|
case "regexp":
|
|
1305
|
-
return "a " +
|
|
1305
|
+
return "a " + E;
|
|
1306
1306
|
default:
|
|
1307
|
-
return
|
|
1307
|
+
return E;
|
|
1308
1308
|
}
|
|
1309
1309
|
}
|
|
1310
1310
|
function Ie(c) {
|
|
1311
1311
|
return !c.constructor || !c.constructor.name ? l : c.constructor.name;
|
|
1312
1312
|
}
|
|
1313
|
-
return
|
|
1313
|
+
return x.checkPropTypes = a, x.resetWarningCache = a.resetWarningCache, x.PropTypes = x, x;
|
|
1314
1314
|
}, Or;
|
|
1315
1315
|
}
|
|
1316
1316
|
var _r, nt;
|
|
@@ -1324,7 +1324,7 @@ function un() {
|
|
|
1324
1324
|
function o() {
|
|
1325
1325
|
}
|
|
1326
1326
|
return o.resetWarningCache = r, _r = function() {
|
|
1327
|
-
function n(s, d,
|
|
1327
|
+
function n(s, f, d, p, g, m) {
|
|
1328
1328
|
if (m !== e) {
|
|
1329
1329
|
var l = new Error(
|
|
1330
1330
|
"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"
|
|
@@ -1375,7 +1375,7 @@ function Ue(e) {
|
|
|
1375
1375
|
r += "&args[]=" + encodeURIComponent(arguments[o]);
|
|
1376
1376
|
return "Minified MUI error #" + e + "; visit " + r + " for the full message.";
|
|
1377
1377
|
}
|
|
1378
|
-
function
|
|
1378
|
+
function Et(e) {
|
|
1379
1379
|
if (typeof e != "string")
|
|
1380
1380
|
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : Ue(7));
|
|
1381
1381
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
@@ -1447,37 +1447,37 @@ function vn(e) {
|
|
|
1447
1447
|
unit: o = "px",
|
|
1448
1448
|
step: n = 5
|
|
1449
1449
|
} = e, a = Le(e, hn), i = bn(r), s = Object.keys(i);
|
|
1450
|
-
function
|
|
1450
|
+
function f(l) {
|
|
1451
1451
|
return `@media (min-width:${typeof r[l] == "number" ? r[l] : l}${o})`;
|
|
1452
1452
|
}
|
|
1453
|
-
function
|
|
1453
|
+
function d(l) {
|
|
1454
1454
|
return `@media (max-width:${(typeof r[l] == "number" ? r[l] : l) - n / 100}${o})`;
|
|
1455
1455
|
}
|
|
1456
|
-
function
|
|
1457
|
-
const A = s.indexOf(
|
|
1458
|
-
return `@media (min-width:${typeof r[l] == "number" ? r[l] : l}${o}) and (max-width:${(A !== -1 && typeof r[s[A]] == "number" ? r[s[A]] :
|
|
1456
|
+
function p(l, x) {
|
|
1457
|
+
const A = s.indexOf(x);
|
|
1458
|
+
return `@media (min-width:${typeof r[l] == "number" ? r[l] : l}${o}) and (max-width:${(A !== -1 && typeof r[s[A]] == "number" ? r[s[A]] : x) - n / 100}${o})`;
|
|
1459
1459
|
}
|
|
1460
|
-
function
|
|
1461
|
-
return s.indexOf(l) + 1 < s.length ?
|
|
1460
|
+
function g(l) {
|
|
1461
|
+
return s.indexOf(l) + 1 < s.length ? p(l, s[s.indexOf(l) + 1]) : f(l);
|
|
1462
1462
|
}
|
|
1463
1463
|
function m(l) {
|
|
1464
|
-
const
|
|
1465
|
-
return
|
|
1464
|
+
const x = s.indexOf(l);
|
|
1465
|
+
return x === 0 ? f(s[1]) : x === s.length - 1 ? d(s[x]) : p(l, s[s.indexOf(l) + 1]).replace("@media", "@media not all and");
|
|
1466
1466
|
}
|
|
1467
1467
|
return ie({
|
|
1468
1468
|
keys: s,
|
|
1469
1469
|
values: i,
|
|
1470
|
-
up:
|
|
1471
|
-
down:
|
|
1472
|
-
between:
|
|
1473
|
-
only:
|
|
1470
|
+
up: f,
|
|
1471
|
+
down: d,
|
|
1472
|
+
between: p,
|
|
1473
|
+
only: g,
|
|
1474
1474
|
not: m,
|
|
1475
1475
|
unit: o
|
|
1476
1476
|
}, a);
|
|
1477
1477
|
}
|
|
1478
|
-
const
|
|
1478
|
+
const En = {
|
|
1479
1479
|
borderRadius: 4
|
|
1480
|
-
},
|
|
1480
|
+
}, xn = En, An = process.env.NODE_ENV !== "production" ? He.oneOfType([He.number, He.string, He.object, He.array]) : {}, Re = An;
|
|
1481
1481
|
function Je(e, r) {
|
|
1482
1482
|
return r ? _e(e, r, {
|
|
1483
1483
|
clone: !1
|
|
@@ -1505,17 +1505,17 @@ function Ce(e, r, o) {
|
|
|
1505
1505
|
const n = e.theme || {};
|
|
1506
1506
|
if (Array.isArray(r)) {
|
|
1507
1507
|
const i = n.breakpoints || at;
|
|
1508
|
-
return r.reduce((s,
|
|
1508
|
+
return r.reduce((s, f, d) => (s[i.up(i.keys[d])] = o(r[d]), s), {});
|
|
1509
1509
|
}
|
|
1510
1510
|
if (typeof r == "object") {
|
|
1511
1511
|
const i = n.breakpoints || at;
|
|
1512
|
-
return Object.keys(r).reduce((s,
|
|
1513
|
-
if (Object.keys(i.values || Sr).indexOf(
|
|
1514
|
-
const
|
|
1515
|
-
s[
|
|
1512
|
+
return Object.keys(r).reduce((s, f) => {
|
|
1513
|
+
if (Object.keys(i.values || Sr).indexOf(f) !== -1) {
|
|
1514
|
+
const d = i.up(f);
|
|
1515
|
+
s[d] = o(r[f], f);
|
|
1516
1516
|
} else {
|
|
1517
|
-
const
|
|
1518
|
-
s[
|
|
1517
|
+
const d = f;
|
|
1518
|
+
s[d] = r[d];
|
|
1519
1519
|
}
|
|
1520
1520
|
return s;
|
|
1521
1521
|
}, {});
|
|
@@ -1535,7 +1535,7 @@ function On(e, r) {
|
|
|
1535
1535
|
return (!a || Object.keys(a).length === 0) && delete o[n], o;
|
|
1536
1536
|
}, r);
|
|
1537
1537
|
}
|
|
1538
|
-
function
|
|
1538
|
+
function ar(e, r, o = !0) {
|
|
1539
1539
|
if (!r || typeof r != "string")
|
|
1540
1540
|
return null;
|
|
1541
1541
|
if (e && e.vars && o) {
|
|
@@ -1545,9 +1545,9 @@ function ir(e, r, o = !0) {
|
|
|
1545
1545
|
}
|
|
1546
1546
|
return r.split(".").reduce((n, a) => n && n[a] != null ? n[a] : null, e);
|
|
1547
1547
|
}
|
|
1548
|
-
function
|
|
1548
|
+
function or(e, r, o, n = o) {
|
|
1549
1549
|
let a;
|
|
1550
|
-
return typeof e == "function" ? a = e(o) : Array.isArray(e) ? a = e[o] || n : a =
|
|
1550
|
+
return typeof e == "function" ? a = e(o) : Array.isArray(e) ? a = e[o] || n : a = ar(e, o) || n, r && (a = r(a, n, e)), a;
|
|
1551
1551
|
}
|
|
1552
1552
|
function L(e) {
|
|
1553
1553
|
const {
|
|
@@ -1558,10 +1558,10 @@ function L(e) {
|
|
|
1558
1558
|
} = e, i = (s) => {
|
|
1559
1559
|
if (s[r] == null)
|
|
1560
1560
|
return null;
|
|
1561
|
-
const
|
|
1562
|
-
return Ce(s,
|
|
1563
|
-
let l =
|
|
1564
|
-
return m === l && typeof m == "string" && (l =
|
|
1561
|
+
const f = s[r], d = s.theme, p = ar(d, n) || {};
|
|
1562
|
+
return Ce(s, f, (m) => {
|
|
1563
|
+
let l = or(p, a, m);
|
|
1564
|
+
return m === l && typeof m == "string" && (l = or(p, a, `${r}${m === "default" ? "" : Et(m)}`, m)), o === !1 ? l : {
|
|
1565
1565
|
[o]: l
|
|
1566
1566
|
};
|
|
1567
1567
|
});
|
|
@@ -1597,17 +1597,17 @@ const Cn = {
|
|
|
1597
1597
|
return [e];
|
|
1598
1598
|
const [r, o] = e.split(""), n = Cn[r], a = Rn[o] || "";
|
|
1599
1599
|
return Array.isArray(a) ? a.map((i) => n + i) : [n + a];
|
|
1600
|
-
}),
|
|
1600
|
+
}), ir = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], sr = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], Pn = [...ir, ...sr];
|
|
1601
1601
|
function Qe(e, r, o, n) {
|
|
1602
1602
|
var a;
|
|
1603
|
-
const i = (a =
|
|
1603
|
+
const i = (a = ar(e, r, !1)) != null ? a : o;
|
|
1604
1604
|
return typeof i == "number" ? (s) => typeof s == "string" ? s : (process.env.NODE_ENV !== "production" && typeof s != "number" && console.error(`MUI: Expected ${n} argument to be a number or a string, got ${s}.`), i * s) : Array.isArray(i) ? (s) => typeof s == "string" ? s : (process.env.NODE_ENV !== "production" && (Number.isInteger(s) ? s > i.length - 1 && console.error([`MUI: The value provided (${s}) overflows.`, `The supported values are: ${JSON.stringify(i)}.`, `${s} > ${i.length - 1}, you need to add the missing values.`].join(`
|
|
1605
1605
|
`)) : console.error([`MUI: The \`theme.${r}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${r}\` as a number.`].join(`
|
|
1606
1606
|
`))), i[s]) : typeof i == "function" ? i : (process.env.NODE_ENV !== "production" && console.error([`MUI: The \`theme.${r}\` value (${i}) is invalid.`, "It should be a number, an array or a function."].join(`
|
|
1607
1607
|
`)), () => {
|
|
1608
1608
|
});
|
|
1609
1609
|
}
|
|
1610
|
-
function
|
|
1610
|
+
function xt(e) {
|
|
1611
1611
|
return Qe(e, "spacing", 8, "spacing");
|
|
1612
1612
|
}
|
|
1613
1613
|
function er(e, r) {
|
|
@@ -1626,24 +1626,24 @@ function $n(e, r, o, n) {
|
|
|
1626
1626
|
return Ce(e, s, i);
|
|
1627
1627
|
}
|
|
1628
1628
|
function At(e, r) {
|
|
1629
|
-
const o =
|
|
1629
|
+
const o = xt(e.theme);
|
|
1630
1630
|
return Object.keys(e).map((n) => $n(e, r, n, o)).reduce(Je, {});
|
|
1631
1631
|
}
|
|
1632
1632
|
function Z(e) {
|
|
1633
|
-
return At(e,
|
|
1633
|
+
return At(e, ir);
|
|
1634
1634
|
}
|
|
1635
|
-
Z.propTypes = process.env.NODE_ENV !== "production" ?
|
|
1636
|
-
Z.filterProps =
|
|
1635
|
+
Z.propTypes = process.env.NODE_ENV !== "production" ? ir.reduce((e, r) => (e[r] = Re, e), {}) : {};
|
|
1636
|
+
Z.filterProps = ir;
|
|
1637
1637
|
function Q(e) {
|
|
1638
|
-
return At(e,
|
|
1638
|
+
return At(e, sr);
|
|
1639
1639
|
}
|
|
1640
|
-
Q.propTypes = process.env.NODE_ENV !== "production" ?
|
|
1641
|
-
Q.filterProps =
|
|
1640
|
+
Q.propTypes = process.env.NODE_ENV !== "production" ? sr.reduce((e, r) => (e[r] = Re, e), {}) : {};
|
|
1641
|
+
Q.filterProps = sr;
|
|
1642
1642
|
process.env.NODE_ENV !== "production" && Pn.reduce((e, r) => (e[r] = Re, e), {});
|
|
1643
1643
|
function kn(e = 8) {
|
|
1644
1644
|
if (e.mui)
|
|
1645
1645
|
return e;
|
|
1646
|
-
const r =
|
|
1646
|
+
const r = xt({
|
|
1647
1647
|
spacing: e
|
|
1648
1648
|
}), o = (...n) => (process.env.NODE_ENV !== "production" && (n.length <= 4 || console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)), (n.length === 0 ? [1] : n).map((i) => {
|
|
1649
1649
|
const s = r(i);
|
|
@@ -1651,35 +1651,35 @@ function kn(e = 8) {
|
|
|
1651
1651
|
}).join(" "));
|
|
1652
1652
|
return o.mui = !0, o;
|
|
1653
1653
|
}
|
|
1654
|
-
function
|
|
1654
|
+
function ur(...e) {
|
|
1655
1655
|
const r = e.reduce((n, a) => (a.filterProps.forEach((i) => {
|
|
1656
1656
|
n[i] = a;
|
|
1657
1657
|
}), n), {}), o = (n) => Object.keys(n).reduce((a, i) => r[i] ? Je(a, r[i](n)) : a, {});
|
|
1658
1658
|
return o.propTypes = process.env.NODE_ENV !== "production" ? e.reduce((n, a) => Object.assign(n, a.propTypes), {}) : {}, o.filterProps = e.reduce((n, a) => n.concat(a.filterProps), []), o;
|
|
1659
1659
|
}
|
|
1660
|
-
function
|
|
1660
|
+
function xe(e) {
|
|
1661
1661
|
return typeof e != "number" ? e : `${e}px solid`;
|
|
1662
1662
|
}
|
|
1663
1663
|
const jn = L({
|
|
1664
1664
|
prop: "border",
|
|
1665
1665
|
themeKey: "borders",
|
|
1666
|
-
transform:
|
|
1666
|
+
transform: xe
|
|
1667
1667
|
}), In = L({
|
|
1668
1668
|
prop: "borderTop",
|
|
1669
1669
|
themeKey: "borders",
|
|
1670
|
-
transform:
|
|
1670
|
+
transform: xe
|
|
1671
1671
|
}), Mn = L({
|
|
1672
1672
|
prop: "borderRight",
|
|
1673
1673
|
themeKey: "borders",
|
|
1674
|
-
transform:
|
|
1674
|
+
transform: xe
|
|
1675
1675
|
}), Dn = L({
|
|
1676
1676
|
prop: "borderBottom",
|
|
1677
1677
|
themeKey: "borders",
|
|
1678
|
-
transform:
|
|
1678
|
+
transform: xe
|
|
1679
1679
|
}), Bn = L({
|
|
1680
1680
|
prop: "borderLeft",
|
|
1681
1681
|
themeKey: "borders",
|
|
1682
|
-
transform:
|
|
1682
|
+
transform: xe
|
|
1683
1683
|
}), Nn = L({
|
|
1684
1684
|
prop: "borderColor",
|
|
1685
1685
|
themeKey: "palette"
|
|
@@ -1695,7 +1695,7 @@ const jn = L({
|
|
|
1695
1695
|
}), Ln = L({
|
|
1696
1696
|
prop: "borderLeftColor",
|
|
1697
1697
|
themeKey: "palette"
|
|
1698
|
-
}),
|
|
1698
|
+
}), lr = (e) => {
|
|
1699
1699
|
if (e.borderRadius !== void 0 && e.borderRadius !== null) {
|
|
1700
1700
|
const r = Qe(e.theme, "shape.borderRadius", 4, "borderRadius"), o = (n) => ({
|
|
1701
1701
|
borderRadius: er(r, n)
|
|
@@ -1704,12 +1704,12 @@ const jn = L({
|
|
|
1704
1704
|
}
|
|
1705
1705
|
return null;
|
|
1706
1706
|
};
|
|
1707
|
-
|
|
1707
|
+
lr.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1708
1708
|
borderRadius: Re
|
|
1709
1709
|
} : {};
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
const
|
|
1710
|
+
lr.filterProps = ["borderRadius"];
|
|
1711
|
+
ur(jn, In, Mn, Dn, Bn, Nn, Fn, Wn, Un, Ln, lr);
|
|
1712
|
+
const cr = (e) => {
|
|
1713
1713
|
if (e.gap !== void 0 && e.gap !== null) {
|
|
1714
1714
|
const r = Qe(e.theme, "spacing", 8, "gap"), o = (n) => ({
|
|
1715
1715
|
gap: er(r, n)
|
|
@@ -1718,11 +1718,11 @@ const fr = (e) => {
|
|
|
1718
1718
|
}
|
|
1719
1719
|
return null;
|
|
1720
1720
|
};
|
|
1721
|
-
|
|
1721
|
+
cr.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1722
1722
|
gap: Re
|
|
1723
1723
|
} : {};
|
|
1724
|
-
|
|
1725
|
-
const
|
|
1724
|
+
cr.filterProps = ["gap"];
|
|
1725
|
+
const fr = (e) => {
|
|
1726
1726
|
if (e.columnGap !== void 0 && e.columnGap !== null) {
|
|
1727
1727
|
const r = Qe(e.theme, "spacing", 8, "columnGap"), o = (n) => ({
|
|
1728
1728
|
columnGap: er(r, n)
|
|
@@ -1731,11 +1731,11 @@ const dr = (e) => {
|
|
|
1731
1731
|
}
|
|
1732
1732
|
return null;
|
|
1733
1733
|
};
|
|
1734
|
-
|
|
1734
|
+
fr.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1735
1735
|
columnGap: Re
|
|
1736
1736
|
} : {};
|
|
1737
|
-
|
|
1738
|
-
const
|
|
1737
|
+
fr.filterProps = ["columnGap"];
|
|
1738
|
+
const dr = (e) => {
|
|
1739
1739
|
if (e.rowGap !== void 0 && e.rowGap !== null) {
|
|
1740
1740
|
const r = Qe(e.theme, "spacing", 8, "rowGap"), o = (n) => ({
|
|
1741
1741
|
rowGap: er(r, n)
|
|
@@ -1744,10 +1744,10 @@ const pr = (e) => {
|
|
|
1744
1744
|
}
|
|
1745
1745
|
return null;
|
|
1746
1746
|
};
|
|
1747
|
-
|
|
1747
|
+
dr.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1748
1748
|
rowGap: Re
|
|
1749
1749
|
} : {};
|
|
1750
|
-
|
|
1750
|
+
dr.filterProps = ["rowGap"];
|
|
1751
1751
|
const Yn = L({
|
|
1752
1752
|
prop: "gridColumn"
|
|
1753
1753
|
}), zn = L({
|
|
@@ -1767,7 +1767,7 @@ const Yn = L({
|
|
|
1767
1767
|
}), Xn = L({
|
|
1768
1768
|
prop: "gridArea"
|
|
1769
1769
|
});
|
|
1770
|
-
|
|
1770
|
+
ur(cr, fr, dr, Yn, zn, Gn, Vn, Kn, qn, Hn, Jn, Xn);
|
|
1771
1771
|
function We(e, r) {
|
|
1772
1772
|
return r === "grey" ? r : e;
|
|
1773
1773
|
}
|
|
@@ -1785,7 +1785,7 @@ const Zn = L({
|
|
|
1785
1785
|
themeKey: "palette",
|
|
1786
1786
|
transform: We
|
|
1787
1787
|
});
|
|
1788
|
-
|
|
1788
|
+
ur(Zn, Qn, eo);
|
|
1789
1789
|
function me(e) {
|
|
1790
1790
|
return e <= 1 && e !== 0 ? `${e * 100}%` : e;
|
|
1791
1791
|
}
|
|
@@ -1836,28 +1836,28 @@ L({
|
|
|
1836
1836
|
const io = L({
|
|
1837
1837
|
prop: "boxSizing"
|
|
1838
1838
|
});
|
|
1839
|
-
|
|
1839
|
+
ur(ro, $r, to, no, oo, ao, io);
|
|
1840
1840
|
const so = {
|
|
1841
1841
|
// borders
|
|
1842
1842
|
border: {
|
|
1843
1843
|
themeKey: "borders",
|
|
1844
|
-
transform:
|
|
1844
|
+
transform: xe
|
|
1845
1845
|
},
|
|
1846
1846
|
borderTop: {
|
|
1847
1847
|
themeKey: "borders",
|
|
1848
|
-
transform:
|
|
1848
|
+
transform: xe
|
|
1849
1849
|
},
|
|
1850
1850
|
borderRight: {
|
|
1851
1851
|
themeKey: "borders",
|
|
1852
|
-
transform:
|
|
1852
|
+
transform: xe
|
|
1853
1853
|
},
|
|
1854
1854
|
borderBottom: {
|
|
1855
1855
|
themeKey: "borders",
|
|
1856
|
-
transform:
|
|
1856
|
+
transform: xe
|
|
1857
1857
|
},
|
|
1858
1858
|
borderLeft: {
|
|
1859
1859
|
themeKey: "borders",
|
|
1860
|
-
transform:
|
|
1860
|
+
transform: xe
|
|
1861
1861
|
},
|
|
1862
1862
|
borderColor: {
|
|
1863
1863
|
themeKey: "palette"
|
|
@@ -1876,7 +1876,7 @@ const so = {
|
|
|
1876
1876
|
},
|
|
1877
1877
|
borderRadius: {
|
|
1878
1878
|
themeKey: "shape.borderRadius",
|
|
1879
|
-
style:
|
|
1879
|
+
style: lr
|
|
1880
1880
|
},
|
|
1881
1881
|
// palette
|
|
1882
1882
|
color: {
|
|
@@ -2043,13 +2043,13 @@ const so = {
|
|
|
2043
2043
|
justifySelf: {},
|
|
2044
2044
|
// grid
|
|
2045
2045
|
gap: {
|
|
2046
|
-
style:
|
|
2046
|
+
style: cr
|
|
2047
2047
|
},
|
|
2048
2048
|
rowGap: {
|
|
2049
|
-
style:
|
|
2049
|
+
style: dr
|
|
2050
2050
|
},
|
|
2051
2051
|
columnGap: {
|
|
2052
|
-
style:
|
|
2052
|
+
style: fr
|
|
2053
2053
|
},
|
|
2054
2054
|
gridColumn: {},
|
|
2055
2055
|
gridRow: {},
|
|
@@ -2127,28 +2127,28 @@ function co() {
|
|
|
2127
2127
|
const s = {
|
|
2128
2128
|
[o]: n,
|
|
2129
2129
|
theme: a
|
|
2130
|
-
},
|
|
2131
|
-
if (!
|
|
2130
|
+
}, f = i[o];
|
|
2131
|
+
if (!f)
|
|
2132
2132
|
return {
|
|
2133
2133
|
[o]: n
|
|
2134
2134
|
};
|
|
2135
2135
|
const {
|
|
2136
|
-
cssProperty:
|
|
2137
|
-
themeKey:
|
|
2138
|
-
transform:
|
|
2136
|
+
cssProperty: d = o,
|
|
2137
|
+
themeKey: p,
|
|
2138
|
+
transform: g,
|
|
2139
2139
|
style: m
|
|
2140
|
-
} =
|
|
2140
|
+
} = f;
|
|
2141
2141
|
if (n == null)
|
|
2142
2142
|
return null;
|
|
2143
|
-
if (
|
|
2143
|
+
if (p === "typography" && n === "inherit")
|
|
2144
2144
|
return {
|
|
2145
2145
|
[o]: n
|
|
2146
2146
|
};
|
|
2147
|
-
const l =
|
|
2147
|
+
const l = ar(a, p) || {};
|
|
2148
2148
|
return m ? m(s) : Ce(s, n, (A) => {
|
|
2149
|
-
let b =
|
|
2150
|
-
return A === b && typeof A == "string" && (b =
|
|
2151
|
-
[
|
|
2149
|
+
let b = or(l, g, A);
|
|
2150
|
+
return A === b && typeof A == "string" && (b = or(l, g, `${o}${A === "default" ? "" : Et(A)}`, A)), d === !1 ? b : {
|
|
2151
|
+
[d]: b
|
|
2152
2152
|
};
|
|
2153
2153
|
});
|
|
2154
2154
|
}
|
|
@@ -2161,38 +2161,38 @@ function co() {
|
|
|
2161
2161
|
if (!a)
|
|
2162
2162
|
return null;
|
|
2163
2163
|
const s = (n = i.unstable_sxConfig) != null ? n : kr;
|
|
2164
|
-
function d
|
|
2165
|
-
let
|
|
2166
|
-
if (typeof
|
|
2167
|
-
|
|
2168
|
-
else if (typeof
|
|
2169
|
-
return
|
|
2170
|
-
if (!
|
|
2164
|
+
function f(d) {
|
|
2165
|
+
let p = d;
|
|
2166
|
+
if (typeof d == "function")
|
|
2167
|
+
p = d(i);
|
|
2168
|
+
else if (typeof d != "object")
|
|
2169
|
+
return d;
|
|
2170
|
+
if (!p)
|
|
2171
2171
|
return null;
|
|
2172
|
-
const
|
|
2173
|
-
let l =
|
|
2174
|
-
return Object.keys(
|
|
2175
|
-
const A = lo(
|
|
2172
|
+
const g = Tn(i.breakpoints), m = Object.keys(g);
|
|
2173
|
+
let l = g;
|
|
2174
|
+
return Object.keys(p).forEach((x) => {
|
|
2175
|
+
const A = lo(p[x], i);
|
|
2176
2176
|
if (A != null)
|
|
2177
2177
|
if (typeof A == "object")
|
|
2178
|
-
if (s[
|
|
2179
|
-
l = Je(l, e(
|
|
2178
|
+
if (s[x])
|
|
2179
|
+
l = Je(l, e(x, A, i, s));
|
|
2180
2180
|
else {
|
|
2181
2181
|
const b = Ce({
|
|
2182
2182
|
theme: i
|
|
2183
2183
|
}, A, (w) => ({
|
|
2184
|
-
[
|
|
2184
|
+
[x]: w
|
|
2185
2185
|
}));
|
|
2186
|
-
uo(b, A) ? l[
|
|
2186
|
+
uo(b, A) ? l[x] = r({
|
|
2187
2187
|
sx: A,
|
|
2188
2188
|
theme: i
|
|
2189
2189
|
}) : l = Je(l, b);
|
|
2190
2190
|
}
|
|
2191
2191
|
else
|
|
2192
|
-
l = Je(l, e(
|
|
2192
|
+
l = Je(l, e(x, A, i, s));
|
|
2193
2193
|
}), On(m, l);
|
|
2194
2194
|
}
|
|
2195
|
-
return Array.isArray(a) ? a.map(
|
|
2195
|
+
return Array.isArray(a) ? a.map(f) : f(a);
|
|
2196
2196
|
}
|
|
2197
2197
|
return r;
|
|
2198
2198
|
}
|
|
@@ -2205,24 +2205,24 @@ function po(e = {}, ...r) {
|
|
|
2205
2205
|
palette: n = {},
|
|
2206
2206
|
spacing: a,
|
|
2207
2207
|
shape: i = {}
|
|
2208
|
-
} = e, s = Le(e, fo),
|
|
2209
|
-
let
|
|
2210
|
-
breakpoints:
|
|
2208
|
+
} = e, s = Le(e, fo), f = vn(o), d = kn(a);
|
|
2209
|
+
let p = _e({
|
|
2210
|
+
breakpoints: f,
|
|
2211
2211
|
direction: "ltr",
|
|
2212
2212
|
components: {},
|
|
2213
2213
|
// Inject component definitions.
|
|
2214
2214
|
palette: ie({
|
|
2215
2215
|
mode: "light"
|
|
2216
2216
|
}, n),
|
|
2217
|
-
spacing:
|
|
2218
|
-
shape: ie({},
|
|
2217
|
+
spacing: d,
|
|
2218
|
+
shape: ie({}, xn, i)
|
|
2219
2219
|
}, s);
|
|
2220
|
-
return
|
|
2220
|
+
return p = r.reduce((g, m) => _e(g, m), p), p.unstable_sxConfig = ie({}, kr, s == null ? void 0 : s.unstable_sxConfig), p.unstable_sx = function(m) {
|
|
2221
2221
|
return Ot({
|
|
2222
2222
|
sx: m,
|
|
2223
2223
|
theme: this
|
|
2224
2224
|
});
|
|
2225
|
-
},
|
|
2225
|
+
}, p;
|
|
2226
2226
|
}
|
|
2227
2227
|
function jr(e, r = 0, o = 1) {
|
|
2228
2228
|
return process.env.NODE_ENV !== "production" && (e < r || e > o) && console.error(`MUI: The value provided ${e} is out of range [${r}, ${o}].`), Math.min(Math.max(r, e), o);
|
|
@@ -2255,7 +2255,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
2255
2255
|
colorSpace: a
|
|
2256
2256
|
};
|
|
2257
2257
|
}
|
|
2258
|
-
function
|
|
2258
|
+
function pr(e) {
|
|
2259
2259
|
const {
|
|
2260
2260
|
type: r,
|
|
2261
2261
|
colorSpace: o
|
|
@@ -2269,12 +2269,12 @@ function yo(e) {
|
|
|
2269
2269
|
e = Se(e);
|
|
2270
2270
|
const {
|
|
2271
2271
|
values: r
|
|
2272
|
-
} = e, o = r[0], n = r[1] / 100, a = r[2] / 100, i = n * Math.min(a, 1 - a), s = (
|
|
2273
|
-
let
|
|
2274
|
-
const
|
|
2275
|
-
return e.type === "hsla" && (
|
|
2276
|
-
type:
|
|
2277
|
-
values:
|
|
2272
|
+
} = e, o = r[0], n = r[1] / 100, a = r[2] / 100, i = n * Math.min(a, 1 - a), s = (p, g = (p + o / 30) % 12) => a - i * Math.max(Math.min(g - 3, 9 - g, 1), -1);
|
|
2273
|
+
let f = "rgb";
|
|
2274
|
+
const d = [Math.round(s(0) * 255), Math.round(s(8) * 255), Math.round(s(4) * 255)];
|
|
2275
|
+
return e.type === "hsla" && (f += "a", d.push(r[3])), pr({
|
|
2276
|
+
type: f,
|
|
2277
|
+
values: d
|
|
2278
2278
|
});
|
|
2279
2279
|
}
|
|
2280
2280
|
function st(e) {
|
|
@@ -2287,7 +2287,7 @@ function ut(e, r) {
|
|
|
2287
2287
|
return (Math.max(o, n) + 0.05) / (Math.min(o, n) + 0.05);
|
|
2288
2288
|
}
|
|
2289
2289
|
function pe(e, r) {
|
|
2290
|
-
return e = Se(e), r = jr(r), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${r}` : e.values[3] = r,
|
|
2290
|
+
return e = Se(e), r = jr(r), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${r}` : e.values[3] = r, pr(e);
|
|
2291
2291
|
}
|
|
2292
2292
|
function mo(e, r) {
|
|
2293
2293
|
if (e = Se(e), r = jr(r), e.type.indexOf("hsl") !== -1)
|
|
@@ -2295,7 +2295,7 @@ function mo(e, r) {
|
|
|
2295
2295
|
else if (e.type.indexOf("rgb") !== -1 || e.type.indexOf("color") !== -1)
|
|
2296
2296
|
for (let o = 0; o < 3; o += 1)
|
|
2297
2297
|
e.values[o] *= 1 - r;
|
|
2298
|
-
return
|
|
2298
|
+
return pr(e);
|
|
2299
2299
|
}
|
|
2300
2300
|
function ho(e, r) {
|
|
2301
2301
|
if (e = Se(e), r = jr(r), e.type.indexOf("hsl") !== -1)
|
|
@@ -2306,7 +2306,7 @@ function ho(e, r) {
|
|
|
2306
2306
|
else if (e.type.indexOf("color") !== -1)
|
|
2307
2307
|
for (let o = 0; o < 3; o += 1)
|
|
2308
2308
|
e.values[o] += (1 - e.values[o]) * r;
|
|
2309
|
-
return
|
|
2309
|
+
return pr(e);
|
|
2310
2310
|
}
|
|
2311
2311
|
function bo(e, r) {
|
|
2312
2312
|
return ie({
|
|
@@ -2326,7 +2326,7 @@ function bo(e, r) {
|
|
|
2326
2326
|
const vo = {
|
|
2327
2327
|
black: "#000",
|
|
2328
2328
|
white: "#fff"
|
|
2329
|
-
}, Ze = vo,
|
|
2329
|
+
}, Ze = vo, Eo = {
|
|
2330
2330
|
50: "#fafafa",
|
|
2331
2331
|
100: "#f5f5f5",
|
|
2332
2332
|
200: "#eeeeee",
|
|
@@ -2341,7 +2341,7 @@ const vo = {
|
|
|
2341
2341
|
A200: "#eeeeee",
|
|
2342
2342
|
A400: "#bdbdbd",
|
|
2343
2343
|
A700: "#616161"
|
|
2344
|
-
}, ne =
|
|
2344
|
+
}, ne = Eo, xo = {
|
|
2345
2345
|
50: "#f3e5f5",
|
|
2346
2346
|
100: "#e1bee7",
|
|
2347
2347
|
200: "#ce93d8",
|
|
@@ -2356,7 +2356,7 @@ const vo = {
|
|
|
2356
2356
|
A200: "#e040fb",
|
|
2357
2357
|
A400: "#d500f9",
|
|
2358
2358
|
A700: "#aa00ff"
|
|
2359
|
-
}, Y =
|
|
2359
|
+
}, Y = xo, Ao = {
|
|
2360
2360
|
50: "#ffebee",
|
|
2361
2361
|
100: "#ffcdd2",
|
|
2362
2362
|
200: "#ef9a9a",
|
|
@@ -2570,7 +2570,7 @@ function Io(e) {
|
|
|
2570
2570
|
mode: r = "light",
|
|
2571
2571
|
contrastThreshold: o = 3,
|
|
2572
2572
|
tonalOffset: n = 0.2
|
|
2573
|
-
} = e, a = Le(e, Ro), i = e.primary || wo(r), s = e.secondary || Po(r),
|
|
2573
|
+
} = e, a = Le(e, Ro), i = e.primary || wo(r), s = e.secondary || Po(r), f = e.error || So(r), d = e.info || $o(r), p = e.success || ko(r), g = e.warning || jo(r);
|
|
2574
2574
|
function m(b) {
|
|
2575
2575
|
const w = ut(b, Cr.text.primary) >= o ? Cr.text.primary : lt.text.primary;
|
|
2576
2576
|
if (process.env.NODE_ENV !== "production") {
|
|
@@ -2606,11 +2606,11 @@ const theme2 = createTheme({ palette: {
|
|
|
2606
2606
|
primary: { main: green[500] },
|
|
2607
2607
|
} });` : Ue(12, w ? ` (${w})` : "", JSON.stringify(b.main)));
|
|
2608
2608
|
return ct(b, "light", G, n), ct(b, "dark", H, n), b.contrastText || (b.contrastText = m(b.main)), b;
|
|
2609
|
-
},
|
|
2609
|
+
}, x = {
|
|
2610
2610
|
dark: Cr,
|
|
2611
2611
|
light: lt
|
|
2612
2612
|
};
|
|
2613
|
-
return process.env.NODE_ENV !== "production" && (
|
|
2613
|
+
return process.env.NODE_ENV !== "production" && (x[r] || console.error(`MUI: The palette mode \`${r}\` is not supported.`)), _e(ie({
|
|
2614
2614
|
// A collection of common colors.
|
|
2615
2615
|
common: ie({}, Ze),
|
|
2616
2616
|
// prevent mutable object.
|
|
@@ -2631,22 +2631,22 @@ const theme2 = createTheme({ palette: {
|
|
|
2631
2631
|
}),
|
|
2632
2632
|
// The colors used to represent interface elements that the user should be made aware of.
|
|
2633
2633
|
error: l({
|
|
2634
|
-
color:
|
|
2634
|
+
color: f,
|
|
2635
2635
|
name: "error"
|
|
2636
2636
|
}),
|
|
2637
2637
|
// The colors used to represent potentially dangerous actions or important messages.
|
|
2638
2638
|
warning: l({
|
|
2639
|
-
color:
|
|
2639
|
+
color: g,
|
|
2640
2640
|
name: "warning"
|
|
2641
2641
|
}),
|
|
2642
2642
|
// The colors used to present information to the user that is neutral and not necessarily important.
|
|
2643
2643
|
info: l({
|
|
2644
|
-
color:
|
|
2644
|
+
color: d,
|
|
2645
2645
|
name: "info"
|
|
2646
2646
|
}),
|
|
2647
2647
|
// The colors used to indicate the successful completion of an action that user triggered.
|
|
2648
2648
|
success: l({
|
|
2649
|
-
color:
|
|
2649
|
+
color: p,
|
|
2650
2650
|
name: "success"
|
|
2651
2651
|
}),
|
|
2652
2652
|
// The grey colors.
|
|
@@ -2662,7 +2662,7 @@ const theme2 = createTheme({ palette: {
|
|
|
2662
2662
|
// two indexes within its tonal palette.
|
|
2663
2663
|
// E.g., shift from Red 500 to Red 300 or Red 700.
|
|
2664
2664
|
tonalOffset: n
|
|
2665
|
-
},
|
|
2665
|
+
}, x[r]), a);
|
|
2666
2666
|
}
|
|
2667
2667
|
const Mo = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
|
|
2668
2668
|
function Do(e) {
|
|
@@ -2679,17 +2679,17 @@ function Bo(e, r) {
|
|
|
2679
2679
|
// px
|
|
2680
2680
|
fontWeightLight: i = 300,
|
|
2681
2681
|
fontWeightRegular: s = 400,
|
|
2682
|
-
fontWeightMedium:
|
|
2683
|
-
fontWeightBold:
|
|
2682
|
+
fontWeightMedium: f = 500,
|
|
2683
|
+
fontWeightBold: d = 700,
|
|
2684
2684
|
// Tell MUI what's the font-size on the html element.
|
|
2685
2685
|
// 16px is the default font-size used by browsers.
|
|
2686
|
-
htmlFontSize:
|
|
2686
|
+
htmlFontSize: p = 16,
|
|
2687
2687
|
// Apply the CSS properties to all the variants.
|
|
2688
|
-
allVariants:
|
|
2688
|
+
allVariants: g,
|
|
2689
2689
|
pxToRem: m
|
|
2690
2690
|
} = o, l = Le(o, Mo);
|
|
2691
|
-
process.env.NODE_ENV !== "production" && (typeof a != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof
|
|
2692
|
-
const
|
|
2691
|
+
process.env.NODE_ENV !== "production" && (typeof a != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof p != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
|
|
2692
|
+
const x = a / 14, A = m || ((N) => `${N / p * x}rem`), b = (N, G, H, X, v) => ie({
|
|
2693
2693
|
fontFamily: n,
|
|
2694
2694
|
fontWeight: N,
|
|
2695
2695
|
fontSize: A(G),
|
|
@@ -2697,18 +2697,18 @@ function Bo(e, r) {
|
|
|
2697
2697
|
lineHeight: H
|
|
2698
2698
|
}, n === dt ? {
|
|
2699
2699
|
letterSpacing: `${Do(X / G)}em`
|
|
2700
|
-
} : {}, v,
|
|
2700
|
+
} : {}, v, g), w = {
|
|
2701
2701
|
h1: b(i, 96, 1.167, -1.5),
|
|
2702
2702
|
h2: b(i, 60, 1.2, -0.5),
|
|
2703
2703
|
h3: b(s, 48, 1.167, 0),
|
|
2704
2704
|
h4: b(s, 34, 1.235, 0.25),
|
|
2705
2705
|
h5: b(s, 24, 1.334, 0),
|
|
2706
|
-
h6: b(
|
|
2706
|
+
h6: b(f, 20, 1.6, 0.15),
|
|
2707
2707
|
subtitle1: b(s, 16, 1.75, 0.15),
|
|
2708
|
-
subtitle2: b(
|
|
2708
|
+
subtitle2: b(f, 14, 1.57, 0.1),
|
|
2709
2709
|
body1: b(s, 16, 1.5, 0.15),
|
|
2710
2710
|
body2: b(s, 14, 1.43, 0.15),
|
|
2711
|
-
button: b(
|
|
2711
|
+
button: b(f, 14, 1.75, 0.4, ft),
|
|
2712
2712
|
caption: b(s, 12, 1.66, 0.4),
|
|
2713
2713
|
overline: b(s, 12, 2.66, 1, ft),
|
|
2714
2714
|
// TODO v6: Remove handling of 'inherit' variant from the theme as it is already handled in Material UI's Typography component. Also, remember to remove the associated types.
|
|
@@ -2721,14 +2721,14 @@ function Bo(e, r) {
|
|
|
2721
2721
|
}
|
|
2722
2722
|
};
|
|
2723
2723
|
return _e(ie({
|
|
2724
|
-
htmlFontSize:
|
|
2724
|
+
htmlFontSize: p,
|
|
2725
2725
|
pxToRem: A,
|
|
2726
2726
|
fontFamily: n,
|
|
2727
2727
|
fontSize: a,
|
|
2728
2728
|
fontWeightLight: i,
|
|
2729
2729
|
fontWeightRegular: s,
|
|
2730
|
-
fontWeightMedium:
|
|
2731
|
-
fontWeightBold:
|
|
2730
|
+
fontWeightMedium: f,
|
|
2731
|
+
fontWeightBold: d
|
|
2732
2732
|
}, w), l, {
|
|
2733
2733
|
clone: !1
|
|
2734
2734
|
// No need to clone deep
|
|
@@ -2777,15 +2777,15 @@ function Ko(e) {
|
|
|
2777
2777
|
create: (a = ["all"], i = {}) => {
|
|
2778
2778
|
const {
|
|
2779
2779
|
duration: s = o.standard,
|
|
2780
|
-
easing:
|
|
2781
|
-
delay:
|
|
2782
|
-
} = i,
|
|
2780
|
+
easing: f = r.easeInOut,
|
|
2781
|
+
delay: d = 0
|
|
2782
|
+
} = i, p = Le(i, Yo);
|
|
2783
2783
|
if (process.env.NODE_ENV !== "production") {
|
|
2784
|
-
const
|
|
2785
|
-
!
|
|
2786
|
-
`)), Object.keys(
|
|
2784
|
+
const g = (l) => typeof l == "string", m = (l) => !isNaN(parseFloat(l));
|
|
2785
|
+
!g(a) && !Array.isArray(a) && console.error('MUI: Argument "props" must be a string or Array.'), !m(s) && !g(s) && console.error(`MUI: Argument "duration" must be a number or a string but found ${s}.`), g(f) || console.error('MUI: Argument "easing" must be a string.'), !m(d) && !g(d) && console.error('MUI: Argument "delay" must be a number or a string.'), typeof i != "object" && console.error(["MUI: Secong argument of transition.create must be an object.", "Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
|
|
2786
|
+
`)), Object.keys(p).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(p).join(",")}].`);
|
|
2787
2787
|
}
|
|
2788
|
-
return (Array.isArray(a) ? a : [a]).map((
|
|
2788
|
+
return (Array.isArray(a) ? a : [a]).map((g) => `${g} ${typeof s == "string" ? s : pt(s)} ${f} ${typeof d == "string" ? d : pt(d)}`).join(",");
|
|
2789
2789
|
}
|
|
2790
2790
|
}, e, {
|
|
2791
2791
|
easing: r,
|
|
@@ -2811,25 +2811,25 @@ function Xo(e = {}, ...r) {
|
|
|
2811
2811
|
} = e, s = Le(e, Jo);
|
|
2812
2812
|
if (e.vars)
|
|
2813
2813
|
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name." : Ue(18));
|
|
2814
|
-
const
|
|
2815
|
-
let
|
|
2816
|
-
mixins: bo(
|
|
2817
|
-
palette:
|
|
2814
|
+
const f = Io(n), d = po(e);
|
|
2815
|
+
let p = _e(d, {
|
|
2816
|
+
mixins: bo(d.breakpoints, o),
|
|
2817
|
+
palette: f,
|
|
2818
2818
|
// Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
|
|
2819
2819
|
shadows: Lo.slice(),
|
|
2820
|
-
typography: Bo(
|
|
2820
|
+
typography: Bo(f, i),
|
|
2821
2821
|
transitions: Ko(a),
|
|
2822
2822
|
zIndex: ie({}, Ho)
|
|
2823
2823
|
});
|
|
2824
|
-
if (
|
|
2825
|
-
const
|
|
2824
|
+
if (p = _e(p, s), p = r.reduce((g, m) => _e(g, m), p), process.env.NODE_ENV !== "production") {
|
|
2825
|
+
const g = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], m = (l, x) => {
|
|
2826
2826
|
let A;
|
|
2827
2827
|
for (A in l) {
|
|
2828
2828
|
const b = l[A];
|
|
2829
|
-
if (
|
|
2829
|
+
if (g.indexOf(A) !== -1 && Object.keys(b).length > 0) {
|
|
2830
2830
|
if (process.env.NODE_ENV !== "production") {
|
|
2831
2831
|
const w = mn("", A);
|
|
2832
|
-
console.error([`MUI: The \`${
|
|
2832
|
+
console.error([`MUI: The \`${x}\` component increases the CSS specificity of the \`${A}\` internal state.`, "You can not override it like this: ", JSON.stringify(l, null, 2), "", `Instead, you need to use the '&.${w}' syntax:`, JSON.stringify({
|
|
2833
2833
|
root: {
|
|
2834
2834
|
[`&.${w}`]: b
|
|
2835
2835
|
}
|
|
@@ -2840,17 +2840,17 @@ function Xo(e = {}, ...r) {
|
|
|
2840
2840
|
}
|
|
2841
2841
|
}
|
|
2842
2842
|
};
|
|
2843
|
-
Object.keys(
|
|
2844
|
-
const
|
|
2845
|
-
|
|
2843
|
+
Object.keys(p.components).forEach((l) => {
|
|
2844
|
+
const x = p.components[l].styleOverrides;
|
|
2845
|
+
x && l.indexOf("Mui") === 0 && m(x, l);
|
|
2846
2846
|
});
|
|
2847
2847
|
}
|
|
2848
|
-
return
|
|
2848
|
+
return p.unstable_sxConfig = ie({}, kr, s == null ? void 0 : s.unstable_sxConfig), p.unstable_sx = function(m) {
|
|
2849
2849
|
return Ot({
|
|
2850
2850
|
sx: m,
|
|
2851
2851
|
theme: this
|
|
2852
2852
|
});
|
|
2853
|
-
},
|
|
2853
|
+
}, p;
|
|
2854
2854
|
}
|
|
2855
2855
|
const Zo = {
|
|
2856
2856
|
50: "#ede7f6",
|
|
@@ -2897,7 +2897,7 @@ const Zo = {
|
|
|
2897
2897
|
A200: "#b2ff59",
|
|
2898
2898
|
A400: "#76ff03",
|
|
2899
2899
|
A700: "#64dd17"
|
|
2900
|
-
},
|
|
2900
|
+
}, Ee = ea, ra = {
|
|
2901
2901
|
50: "#fffde7",
|
|
2902
2902
|
100: "#fff9c4",
|
|
2903
2903
|
200: "#fff59d",
|
|
@@ -2987,16 +2987,16 @@ const Zo = {
|
|
|
2987
2987
|
lightBlueA200: J.A200,
|
|
2988
2988
|
lightBlueA400: J.A400,
|
|
2989
2989
|
lightBlueA700: J.A700,
|
|
2990
|
-
lightGreen50:
|
|
2991
|
-
lightGreen100:
|
|
2992
|
-
lightGreen200:
|
|
2993
|
-
lightGreen300:
|
|
2994
|
-
lightGreen400:
|
|
2995
|
-
lightGreen500:
|
|
2996
|
-
lightGreen600:
|
|
2997
|
-
lightGreen700:
|
|
2998
|
-
lightGreen800:
|
|
2999
|
-
lightGreen900:
|
|
2990
|
+
lightGreen50: Ee[50],
|
|
2991
|
+
lightGreen100: Ee[100],
|
|
2992
|
+
lightGreen200: Ee[200],
|
|
2993
|
+
lightGreen300: Ee[300],
|
|
2994
|
+
lightGreen400: Ee[400],
|
|
2995
|
+
lightGreen500: Ee[500],
|
|
2996
|
+
lightGreen600: Ee[600],
|
|
2997
|
+
lightGreen700: Ee[700],
|
|
2998
|
+
lightGreen800: Ee[800],
|
|
2999
|
+
lightGreen900: Ee[900],
|
|
3000
3000
|
neutral00: j.neutral00,
|
|
3001
3001
|
neutral50: ne[50],
|
|
3002
3002
|
neutral100: ne[100],
|