@movable/ui 0.15.1 → 0.15.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/index.d.ts +1 -0
- package/lib/index.mjs +297 -280
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import yt, { useState as Gt } from "react";
|
|
2
|
-
import { Typography as Xe, Stack as Fe, Icon as mt, Breadcrumbs as
|
|
3
|
-
function
|
|
2
|
+
import { Typography as Xe, styled as Vt, Stack as Fe, Icon as mt, Breadcrumbs as Kt, Link as qt, Box as Ht, Button as vr, Menu as Jt, MenuItem as Xt } from "@mui/material";
|
|
3
|
+
function Zt(e) {
|
|
4
4
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
5
5
|
}
|
|
6
|
-
var
|
|
6
|
+
var wr = { exports: {} }, Ke = {};
|
|
7
7
|
/**
|
|
8
8
|
* @license React
|
|
9
9
|
* react-jsx-runtime.production.min.js
|
|
@@ -14,7 +14,7 @@ var Rr = { exports: {} }, Ke = {};
|
|
|
14
14
|
* LICENSE file in the root directory of this source tree.
|
|
15
15
|
*/
|
|
16
16
|
var Kr;
|
|
17
|
-
function
|
|
17
|
+
function Qt() {
|
|
18
18
|
if (Kr)
|
|
19
19
|
return Ke;
|
|
20
20
|
Kr = 1;
|
|
@@ -42,10 +42,10 @@ var qe = {};
|
|
|
42
42
|
* LICENSE file in the root directory of this source tree.
|
|
43
43
|
*/
|
|
44
44
|
var qr;
|
|
45
|
-
function
|
|
45
|
+
function en() {
|
|
46
46
|
return qr || (qr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
47
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"), E = Symbol.for("react.offscreen"), A = Symbol.iterator, b = "@@iterator";
|
|
48
|
-
function
|
|
48
|
+
function R(t) {
|
|
49
49
|
if (t === null || typeof t != "object")
|
|
50
50
|
return null;
|
|
51
51
|
var u = A && t[A] || t[b];
|
|
@@ -133,18 +133,18 @@ function Qt() {
|
|
|
133
133
|
}
|
|
134
134
|
return null;
|
|
135
135
|
}
|
|
136
|
-
var fe = Object.assign, Te = 0, ye, ve,
|
|
137
|
-
function
|
|
136
|
+
var fe = Object.assign, Te = 0, ye, ve, Re, Me, c, x, S;
|
|
137
|
+
function w() {
|
|
138
138
|
}
|
|
139
|
-
|
|
139
|
+
w.__reactDisabledLog = !0;
|
|
140
140
|
function O() {
|
|
141
141
|
{
|
|
142
142
|
if (Te === 0) {
|
|
143
|
-
ye = console.log, ve = console.info,
|
|
143
|
+
ye = console.log, ve = console.info, Re = console.warn, Me = console.error, c = console.group, x = console.groupCollapsed, S = console.groupEnd;
|
|
144
144
|
var t = {
|
|
145
145
|
configurable: !0,
|
|
146
146
|
enumerable: !0,
|
|
147
|
-
value:
|
|
147
|
+
value: w,
|
|
148
148
|
writable: !0
|
|
149
149
|
};
|
|
150
150
|
Object.defineProperties(console, {
|
|
@@ -176,7 +176,7 @@ function Qt() {
|
|
|
176
176
|
value: ve
|
|
177
177
|
}),
|
|
178
178
|
warn: fe({}, t, {
|
|
179
|
-
value:
|
|
179
|
+
value: Re
|
|
180
180
|
}),
|
|
181
181
|
error: fe({}, t, {
|
|
182
182
|
value: Me
|
|
@@ -352,13 +352,13 @@ function Qt() {
|
|
|
352
352
|
function gr(t) {
|
|
353
353
|
return _t(t);
|
|
354
354
|
}
|
|
355
|
-
function
|
|
355
|
+
function wt(t) {
|
|
356
356
|
{
|
|
357
357
|
var u = typeof Symbol == "function" && Symbol.toStringTag, y = u && t[Symbol.toStringTag] || t.constructor.name || "Object";
|
|
358
358
|
return y;
|
|
359
359
|
}
|
|
360
360
|
}
|
|
361
|
-
function
|
|
361
|
+
function Rt(t) {
|
|
362
362
|
try {
|
|
363
363
|
return Dr(t), !1;
|
|
364
364
|
} catch {
|
|
@@ -369,8 +369,8 @@ function Qt() {
|
|
|
369
369
|
return "" + t;
|
|
370
370
|
}
|
|
371
371
|
function Br(t) {
|
|
372
|
-
if (
|
|
373
|
-
return G("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
372
|
+
if (Rt(t))
|
|
373
|
+
return G("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", wt(t)), Dr(t);
|
|
374
374
|
}
|
|
375
375
|
var Ve = N.ReactCurrentOwner, St = {
|
|
376
376
|
key: !0,
|
|
@@ -483,7 +483,7 @@ function Qt() {
|
|
|
483
483
|
function br(t) {
|
|
484
484
|
return typeof t == "object" && t !== null && t.$$typeof === r;
|
|
485
485
|
}
|
|
486
|
-
function
|
|
486
|
+
function Lr() {
|
|
487
487
|
{
|
|
488
488
|
if (mr.current) {
|
|
489
489
|
var t = ge(mr.current.type);
|
|
@@ -506,10 +506,10 @@ Check your code at ` + u + ":" + y + ".";
|
|
|
506
506
|
return "";
|
|
507
507
|
}
|
|
508
508
|
}
|
|
509
|
-
var
|
|
509
|
+
var Ur = {};
|
|
510
510
|
function Nt(t) {
|
|
511
511
|
{
|
|
512
|
-
var u =
|
|
512
|
+
var u = Lr();
|
|
513
513
|
if (!u) {
|
|
514
514
|
var y = typeof t == "string" ? t : t.displayName || t.name;
|
|
515
515
|
y && (u = `
|
|
@@ -525,9 +525,9 @@ Check the top-level render call using <` + y + ">.");
|
|
|
525
525
|
return;
|
|
526
526
|
t._store.validated = !0;
|
|
527
527
|
var y = Nt(u);
|
|
528
|
-
if (
|
|
528
|
+
if (Ur[y])
|
|
529
529
|
return;
|
|
530
|
-
|
|
530
|
+
Ur[y] = !0;
|
|
531
531
|
var T = "";
|
|
532
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
|
}
|
|
@@ -544,7 +544,7 @@ Check the top-level render call using <` + y + ">.");
|
|
|
544
544
|
else if (br(t))
|
|
545
545
|
t._store && (t._store.validated = !0);
|
|
546
546
|
else if (t) {
|
|
547
|
-
var F =
|
|
547
|
+
var F = R(t);
|
|
548
548
|
if (typeof F == "function" && F !== t.entries)
|
|
549
549
|
for (var z = F.call(t), I; !(I = z.next()).done; )
|
|
550
550
|
br(I.value) && Yr(I.value, u);
|
|
@@ -595,7 +595,7 @@ Check the top-level render call using <` + y + ">.");
|
|
|
595
595
|
var k = "";
|
|
596
596
|
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (k += " 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
597
|
var le = Bt(F);
|
|
598
|
-
le ? k += le : k +=
|
|
598
|
+
le ? k += le : k += Lr();
|
|
599
599
|
var ee;
|
|
600
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
|
}
|
|
@@ -618,25 +618,42 @@ Check the top-level render call using <` + y + ">.");
|
|
|
618
618
|
return t === n ? Wt(te) : Ft(te), te;
|
|
619
619
|
}
|
|
620
620
|
}
|
|
621
|
-
function
|
|
621
|
+
function Lt(t, u, y) {
|
|
622
622
|
return Gr(t, u, y, !0);
|
|
623
623
|
}
|
|
624
|
-
function
|
|
624
|
+
function Ut(t, u, y) {
|
|
625
625
|
return Gr(t, u, y, !1);
|
|
626
626
|
}
|
|
627
|
-
var Yt =
|
|
627
|
+
var Yt = Ut, zt = Lt;
|
|
628
628
|
qe.Fragment = n, qe.jsx = Yt, qe.jsxs = zt;
|
|
629
629
|
}()), qe;
|
|
630
630
|
}
|
|
631
|
-
process.env.NODE_ENV === "production" ?
|
|
632
|
-
var V =
|
|
633
|
-
function
|
|
631
|
+
process.env.NODE_ENV === "production" ? wr.exports = Qt() : wr.exports = en();
|
|
632
|
+
var V = wr.exports;
|
|
633
|
+
function ua({ stringToDisplay: e }) {
|
|
634
634
|
return V.jsxs(Xe, { children: ["stringToDisplay prop is:", " ", V.jsx("span", { "data-test-string-to-display": !0, children: e })] });
|
|
635
635
|
}
|
|
636
|
-
|
|
636
|
+
const rn = 280;
|
|
637
|
+
Vt("main", { shouldForwardProp: (e) => e !== "open" })(({ theme: e, open: r }) => ({
|
|
638
|
+
flexGrow: 1,
|
|
639
|
+
overflowX: "scroll",
|
|
640
|
+
transition: e.transitions.create("margin", {
|
|
641
|
+
easing: e.transitions.easing.sharp,
|
|
642
|
+
duration: e.transitions.duration.leavingScreen
|
|
643
|
+
}),
|
|
644
|
+
marginLeft: `-${rn}px`,
|
|
645
|
+
...r && {
|
|
646
|
+
transition: e.transitions.create("margin", {
|
|
647
|
+
easing: e.transitions.easing.easeOut,
|
|
648
|
+
duration: e.transitions.duration.enteringScreen
|
|
649
|
+
}),
|
|
650
|
+
marginLeft: 0
|
|
651
|
+
}
|
|
652
|
+
}));
|
|
653
|
+
function la({ metadata: e }) {
|
|
637
654
|
return V.jsx(Fe, { direction: "row", spacing: 2, children: e.map(({ icon: r, label: o, value: n }) => V.jsxs(Fe, { direction: "row", spacing: 0.5, children: [V.jsx(mt, { fontSize: "small", sx: { color: "neutral600" }, children: r }), V.jsx(Xe, { variant: "body2", color: "text.secondary", children: o }), V.jsx(Xe, { variant: "body2", children: n })] }, o)) });
|
|
638
655
|
}
|
|
639
|
-
function
|
|
656
|
+
function ca({ Breadcrumbs: e, Subtitle: r, Metadata: o, Chips: n, ButtonGroup: a, Tabs: i }) {
|
|
640
657
|
return V.jsx("header", { children: V.jsxs(Fe, { direction: "column", spacing: 2, sx: {
|
|
641
658
|
borderBottom: 1,
|
|
642
659
|
borderColor: "divider",
|
|
@@ -645,23 +662,23 @@ function ua({ Breadcrumbs: e, Subtitle: r, Metadata: o, Chips: n, ButtonGroup: a
|
|
|
645
662
|
...i && { pb: -3 }
|
|
646
663
|
}, children: [V.jsxs(Fe, { direction: "row", spacing: 2, justifyContent: "space-between", alignItems: "center", children: [V.jsxs(Fe, { direction: "row", spacing: 1, alignItems: "center", children: [e, n] }), a] }), o, r, i] }) });
|
|
647
664
|
}
|
|
648
|
-
function
|
|
665
|
+
function tn({ label: e }) {
|
|
649
666
|
return V.jsx(Xe, { "data-cy": "page-title", variant: "h5", component: "h1", sx: { wordBreak: "break-word", fontWeight: "600", color: "text.primary" }, children: e });
|
|
650
667
|
}
|
|
651
|
-
function
|
|
652
|
-
return V.jsx(
|
|
668
|
+
function nn({ breadcrumb: e, i: r }) {
|
|
669
|
+
return V.jsx(qt, { underline: "hover", href: e.path, "data-cy": `breadcrumb-${r}`, variant: "h5", color: "text.disabled", children: e.label });
|
|
653
670
|
}
|
|
654
|
-
function
|
|
655
|
-
return V.jsx(
|
|
671
|
+
function fa({ breadcrumbs: e }) {
|
|
672
|
+
return V.jsx(Kt, { children: e == null ? void 0 : e.map((r, o) => o === e.length - 1 ? V.jsx(tn, { label: r.label }, `breadcrumb-${o}`) : V.jsx(nn, { breadcrumb: r, i: o }, `breadcrumb-${o}`)) });
|
|
656
673
|
}
|
|
657
|
-
function
|
|
674
|
+
function da({ primaryAction: e, secondaryAction: r, dropdownAction: o }) {
|
|
658
675
|
var d;
|
|
659
676
|
const [n, a] = Gt(null), i = !!n, s = (p) => {
|
|
660
677
|
a(p.currentTarget);
|
|
661
678
|
}, f = () => {
|
|
662
679
|
a(null);
|
|
663
680
|
};
|
|
664
|
-
return V.jsxs(Fe, { direction: "row", spacing: 1, children: [o && V.jsxs(
|
|
681
|
+
return V.jsxs(Fe, { direction: "row", spacing: 1, children: [o && V.jsxs(Ht, { 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(Jt, { id: "action-menu", anchorEl: n, open: i, onClose: f, MenuListProps: {
|
|
665
682
|
"aria-labelledby": "action-dd"
|
|
666
683
|
}, anchorOrigin: {
|
|
667
684
|
vertical: "bottom",
|
|
@@ -669,11 +686,11 @@ function ca({ primaryAction: e, secondaryAction: r, dropdownAction: o }) {
|
|
|
669
686
|
}, transformOrigin: {
|
|
670
687
|
vertical: "top",
|
|
671
688
|
horizontal: "right"
|
|
672
|
-
}, ...o.menuProps, children: (d = o.menuOptions) == null ? void 0 : d.map(({ label: p, onClick: g, menuItemProps: m }, l) => V.jsx(
|
|
689
|
+
}, ...o.menuProps, children: (d = o.menuOptions) == null ? void 0 : d.map(({ label: p, onClick: g, menuItemProps: m }, l) => V.jsx(Xt, { onClick: () => {
|
|
673
690
|
g(), f();
|
|
674
691
|
}, ...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
692
|
}
|
|
676
|
-
function
|
|
693
|
+
function pa({ subtitle: e }) {
|
|
677
694
|
return V.jsx(Xe, { variant: "body2", color: "text.secondary", children: e });
|
|
678
695
|
}
|
|
679
696
|
function ie() {
|
|
@@ -705,7 +722,7 @@ function Ce(e, r, o = {
|
|
|
705
722
|
a !== "__proto__" && (Ne(r[a]) && a in e && Ne(e[a]) ? n[a] = Ce(e[a], r[a], o) : o.clone ? n[a] = Ne(r[a]) ? ht(r[a]) : r[a] : n[a] = r[a]);
|
|
706
723
|
}), n;
|
|
707
724
|
}
|
|
708
|
-
var
|
|
725
|
+
var Rr = { exports: {} }, nr = { exports: {} }, W = {};
|
|
709
726
|
/** @license React v16.13.1
|
|
710
727
|
* react-is.production.min.js
|
|
711
728
|
*
|
|
@@ -715,11 +732,11 @@ var wr = { exports: {} }, nr = { exports: {} }, W = {};
|
|
|
715
732
|
* LICENSE file in the root directory of this source tree.
|
|
716
733
|
*/
|
|
717
734
|
var Hr;
|
|
718
|
-
function
|
|
735
|
+
function on() {
|
|
719
736
|
if (Hr)
|
|
720
737
|
return W;
|
|
721
738
|
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, 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, E = e ? Symbol.for("react.memo") : 60115, A = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121,
|
|
739
|
+
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, E = e ? Symbol.for("react.memo") : 60115, A = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, R = e ? Symbol.for("react.fundamental") : 60117, N = e ? Symbol.for("react.responder") : 60118, G = e ? Symbol.for("react.scope") : 60119;
|
|
723
740
|
function H(v) {
|
|
724
741
|
if (typeof v == "object" && v !== null) {
|
|
725
742
|
var Ae = v.$$typeof;
|
|
@@ -778,10 +795,10 @@ function tn() {
|
|
|
778
795
|
}, W.isSuspense = function(v) {
|
|
779
796
|
return H(v) === m;
|
|
780
797
|
}, W.isValidElementType = function(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 === E || v.$$typeof === s || v.$$typeof === f || v.$$typeof === g || v.$$typeof ===
|
|
798
|
+
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 === E || v.$$typeof === s || v.$$typeof === f || v.$$typeof === g || v.$$typeof === R || v.$$typeof === N || v.$$typeof === G || v.$$typeof === b);
|
|
782
799
|
}, W.typeOf = H, W;
|
|
783
800
|
}
|
|
784
|
-
var
|
|
801
|
+
var L = {};
|
|
785
802
|
/** @license React v16.13.1
|
|
786
803
|
* react-is.development.js
|
|
787
804
|
*
|
|
@@ -791,12 +808,12 @@ var U = {};
|
|
|
791
808
|
* LICENSE file in the root directory of this source tree.
|
|
792
809
|
*/
|
|
793
810
|
var Jr;
|
|
794
|
-
function
|
|
811
|
+
function an() {
|
|
795
812
|
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, 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, E = e ? Symbol.for("react.memo") : 60115, A = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121,
|
|
813
|
+
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, E = e ? Symbol.for("react.memo") : 60115, A = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, R = e ? Symbol.for("react.fundamental") : 60117, N = e ? Symbol.for("react.responder") : 60118, G = e ? Symbol.for("react.scope") : 60119;
|
|
797
814
|
function H(h) {
|
|
798
815
|
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 === p || h === i || h === a || h === m || h === l || typeof h == "object" && h !== null && (h.$$typeof === A || h.$$typeof === E || h.$$typeof === s || h.$$typeof === f || h.$$typeof === g || h.$$typeof ===
|
|
816
|
+
h === n || h === p || h === i || h === a || h === m || h === l || typeof h == "object" && h !== null && (h.$$typeof === A || h.$$typeof === E || h.$$typeof === s || h.$$typeof === f || h.$$typeof === g || h.$$typeof === R || h.$$typeof === N || h.$$typeof === G || h.$$typeof === b);
|
|
800
817
|
}
|
|
801
818
|
function X(h) {
|
|
802
819
|
if (typeof h == "object" && h !== null) {
|
|
@@ -830,9 +847,9 @@ function nn() {
|
|
|
830
847
|
}
|
|
831
848
|
}
|
|
832
849
|
}
|
|
833
|
-
var v = d, Ae = p, Ye = f, ze = s, $e = r, Ge = g, ke = n, je = A, ge = E, fe = o, Te = i, ye = a, ve = m,
|
|
850
|
+
var v = d, Ae = p, Ye = f, ze = s, $e = r, Ge = g, ke = n, je = A, ge = E, fe = o, Te = i, ye = a, ve = m, Re = !1;
|
|
834
851
|
function Me(h) {
|
|
835
|
-
return
|
|
852
|
+
return Re || (Re = !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
853
|
}
|
|
837
854
|
function c(h) {
|
|
838
855
|
return X(h) === p;
|
|
@@ -843,7 +860,7 @@ function nn() {
|
|
|
843
860
|
function S(h) {
|
|
844
861
|
return X(h) === s;
|
|
845
862
|
}
|
|
846
|
-
function
|
|
863
|
+
function w(h) {
|
|
847
864
|
return typeof h == "object" && h !== null && h.$$typeof === r;
|
|
848
865
|
}
|
|
849
866
|
function O(h) {
|
|
@@ -870,12 +887,12 @@ function nn() {
|
|
|
870
887
|
function se(h) {
|
|
871
888
|
return X(h) === m;
|
|
872
889
|
}
|
|
873
|
-
|
|
874
|
-
}()),
|
|
890
|
+
L.AsyncMode = v, L.ConcurrentMode = Ae, L.ContextConsumer = Ye, L.ContextProvider = ze, L.Element = $e, L.ForwardRef = Ge, L.Fragment = ke, L.Lazy = je, L.Memo = ge, L.Portal = fe, L.Profiler = Te, L.StrictMode = ye, L.Suspense = ve, L.isAsyncMode = Me, L.isConcurrentMode = c, L.isContextConsumer = x, L.isContextProvider = S, L.isElement = w, L.isForwardRef = O, L.isFragment = M, L.isLazy = C, L.isMemo = _, L.isPortal = P, L.isProfiler = B, L.isStrictMode = $, L.isSuspense = se, L.isValidElementType = H, L.typeOf = X;
|
|
891
|
+
}()), L;
|
|
875
892
|
}
|
|
876
893
|
var Xr;
|
|
877
894
|
function bt() {
|
|
878
|
-
return Xr || (Xr = 1, process.env.NODE_ENV === "production" ? nr.exports =
|
|
895
|
+
return Xr || (Xr = 1, process.env.NODE_ENV === "production" ? nr.exports = on() : nr.exports = an()), nr.exports;
|
|
879
896
|
}
|
|
880
897
|
/*
|
|
881
898
|
object-assign
|
|
@@ -883,7 +900,7 @@ object-assign
|
|
|
883
900
|
@license MIT
|
|
884
901
|
*/
|
|
885
902
|
var xr, Zr;
|
|
886
|
-
function
|
|
903
|
+
function sn() {
|
|
887
904
|
if (Zr)
|
|
888
905
|
return xr;
|
|
889
906
|
Zr = 1;
|
|
@@ -942,7 +959,7 @@ function vt() {
|
|
|
942
959
|
return et || (et = 1, Ar = Function.call.bind(Object.prototype.hasOwnProperty)), Ar;
|
|
943
960
|
}
|
|
944
961
|
var Tr, rt;
|
|
945
|
-
function
|
|
962
|
+
function un() {
|
|
946
963
|
if (rt)
|
|
947
964
|
return Tr;
|
|
948
965
|
rt = 1;
|
|
@@ -992,11 +1009,11 @@ function an() {
|
|
|
992
1009
|
}, Tr = a, Tr;
|
|
993
1010
|
}
|
|
994
1011
|
var Or, tt;
|
|
995
|
-
function
|
|
1012
|
+
function ln() {
|
|
996
1013
|
if (tt)
|
|
997
1014
|
return Or;
|
|
998
1015
|
tt = 1;
|
|
999
|
-
var e = bt(), r =
|
|
1016
|
+
var e = bt(), r = sn(), o = Sr(), n = vt(), a = un(), i = function() {
|
|
1000
1017
|
};
|
|
1001
1018
|
process.env.NODE_ENV !== "production" && (i = function(f) {
|
|
1002
1019
|
var d = "Warning: " + f;
|
|
@@ -1044,10 +1061,10 @@ function sn() {
|
|
|
1044
1061
|
this.message = c, this.data = x && typeof x == "object" ? x : {}, this.stack = "";
|
|
1045
1062
|
}
|
|
1046
1063
|
b.prototype = Error.prototype;
|
|
1047
|
-
function
|
|
1064
|
+
function R(c) {
|
|
1048
1065
|
if (process.env.NODE_ENV !== "production")
|
|
1049
1066
|
var x = {}, S = 0;
|
|
1050
|
-
function
|
|
1067
|
+
function w(M, C, _, P, B, $, se) {
|
|
1051
1068
|
if (P = P || l, $ = $ || _, se !== o) {
|
|
1052
1069
|
if (d) {
|
|
1053
1070
|
var h = new Error(
|
|
@@ -1064,12 +1081,12 @@ function sn() {
|
|
|
1064
1081
|
}
|
|
1065
1082
|
return C[_] == null ? M ? C[_] === null ? new b("The " + B + " `" + $ + "` is marked as required " + ("in `" + P + "`, but its value is `null`.")) : new b("The " + B + " `" + $ + "` is marked as required in " + ("`" + P + "`, but its value is `undefined`.")) : null : c(C, _, P, B, $);
|
|
1066
1083
|
}
|
|
1067
|
-
var O =
|
|
1068
|
-
return O.isRequired =
|
|
1084
|
+
var O = w.bind(null, !1);
|
|
1085
|
+
return O.isRequired = w.bind(null, !0), O;
|
|
1069
1086
|
}
|
|
1070
1087
|
function N(c) {
|
|
1071
|
-
function x(S,
|
|
1072
|
-
var P = S[
|
|
1088
|
+
function x(S, w, O, M, C, _) {
|
|
1089
|
+
var P = S[w], B = ye(P);
|
|
1073
1090
|
if (B !== c) {
|
|
1074
1091
|
var $ = ve(P);
|
|
1075
1092
|
return new b(
|
|
@@ -1079,16 +1096,16 @@ function sn() {
|
|
|
1079
1096
|
}
|
|
1080
1097
|
return null;
|
|
1081
1098
|
}
|
|
1082
|
-
return
|
|
1099
|
+
return R(x);
|
|
1083
1100
|
}
|
|
1084
1101
|
function G() {
|
|
1085
|
-
return
|
|
1102
|
+
return R(s);
|
|
1086
1103
|
}
|
|
1087
1104
|
function H(c) {
|
|
1088
|
-
function x(S,
|
|
1105
|
+
function x(S, w, O, M, C) {
|
|
1089
1106
|
if (typeof c != "function")
|
|
1090
1107
|
return new b("Property `" + C + "` of component `" + O + "` has invalid PropType notation inside arrayOf.");
|
|
1091
|
-
var _ = S[
|
|
1108
|
+
var _ = S[w];
|
|
1092
1109
|
if (!Array.isArray(_)) {
|
|
1093
1110
|
var P = ye(_);
|
|
1094
1111
|
return new b("Invalid " + M + " `" + C + "` of type " + ("`" + P + "` supplied to `" + O + "`, expected an array."));
|
|
@@ -1100,47 +1117,47 @@ function sn() {
|
|
|
1100
1117
|
}
|
|
1101
1118
|
return null;
|
|
1102
1119
|
}
|
|
1103
|
-
return
|
|
1120
|
+
return R(x);
|
|
1104
1121
|
}
|
|
1105
1122
|
function X() {
|
|
1106
|
-
function c(x, S,
|
|
1123
|
+
function c(x, S, w, O, M) {
|
|
1107
1124
|
var C = x[S];
|
|
1108
1125
|
if (!f(C)) {
|
|
1109
1126
|
var _ = ye(C);
|
|
1110
|
-
return new b("Invalid " + O + " `" + M + "` of type " + ("`" + _ + "` supplied to `" +
|
|
1127
|
+
return new b("Invalid " + O + " `" + M + "` of type " + ("`" + _ + "` supplied to `" + w + "`, expected a single ReactElement."));
|
|
1111
1128
|
}
|
|
1112
1129
|
return null;
|
|
1113
1130
|
}
|
|
1114
|
-
return
|
|
1131
|
+
return R(c);
|
|
1115
1132
|
}
|
|
1116
1133
|
function v() {
|
|
1117
|
-
function c(x, S,
|
|
1134
|
+
function c(x, S, w, O, M) {
|
|
1118
1135
|
var C = x[S];
|
|
1119
1136
|
if (!e.isValidElementType(C)) {
|
|
1120
1137
|
var _ = ye(C);
|
|
1121
|
-
return new b("Invalid " + O + " `" + M + "` of type " + ("`" + _ + "` supplied to `" +
|
|
1138
|
+
return new b("Invalid " + O + " `" + M + "` of type " + ("`" + _ + "` supplied to `" + w + "`, expected a single ReactElement type."));
|
|
1122
1139
|
}
|
|
1123
1140
|
return null;
|
|
1124
1141
|
}
|
|
1125
|
-
return
|
|
1142
|
+
return R(c);
|
|
1126
1143
|
}
|
|
1127
1144
|
function Ae(c) {
|
|
1128
|
-
function x(S,
|
|
1129
|
-
if (!(S[
|
|
1130
|
-
var _ = c.name || l, P = Me(S[
|
|
1145
|
+
function x(S, w, O, M, C) {
|
|
1146
|
+
if (!(S[w] instanceof c)) {
|
|
1147
|
+
var _ = c.name || l, P = Me(S[w]);
|
|
1131
1148
|
return new b("Invalid " + M + " `" + C + "` of type " + ("`" + P + "` supplied to `" + O + "`, expected ") + ("instance of `" + _ + "`."));
|
|
1132
1149
|
}
|
|
1133
1150
|
return null;
|
|
1134
1151
|
}
|
|
1135
|
-
return
|
|
1152
|
+
return R(x);
|
|
1136
1153
|
}
|
|
1137
1154
|
function Ye(c) {
|
|
1138
1155
|
if (!Array.isArray(c))
|
|
1139
1156
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
1140
1157
|
"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
1158
|
) : i("Invalid argument supplied to oneOf, expected an array.")), s;
|
|
1142
|
-
function x(S,
|
|
1143
|
-
for (var _ = S[
|
|
1159
|
+
function x(S, w, O, M, C) {
|
|
1160
|
+
for (var _ = S[w], P = 0; P < c.length; P++)
|
|
1144
1161
|
if (A(_, c[P]))
|
|
1145
1162
|
return null;
|
|
1146
1163
|
var B = JSON.stringify(c, function(se, h) {
|
|
@@ -1149,13 +1166,13 @@ function sn() {
|
|
|
1149
1166
|
});
|
|
1150
1167
|
return new b("Invalid " + M + " `" + C + "` of value `" + String(_) + "` " + ("supplied to `" + O + "`, expected one of " + B + "."));
|
|
1151
1168
|
}
|
|
1152
|
-
return
|
|
1169
|
+
return R(x);
|
|
1153
1170
|
}
|
|
1154
1171
|
function ze(c) {
|
|
1155
|
-
function x(S,
|
|
1172
|
+
function x(S, w, O, M, C) {
|
|
1156
1173
|
if (typeof c != "function")
|
|
1157
1174
|
return new b("Property `" + C + "` of component `" + O + "` has invalid PropType notation inside objectOf.");
|
|
1158
|
-
var _ = S[
|
|
1175
|
+
var _ = S[w], P = ye(_);
|
|
1159
1176
|
if (P !== "object")
|
|
1160
1177
|
return new b("Invalid " + M + " `" + C + "` of type " + ("`" + P + "` supplied to `" + O + "`, expected an object."));
|
|
1161
1178
|
for (var B in _)
|
|
@@ -1166,7 +1183,7 @@ function sn() {
|
|
|
1166
1183
|
}
|
|
1167
1184
|
return null;
|
|
1168
1185
|
}
|
|
1169
|
-
return
|
|
1186
|
+
return R(x);
|
|
1170
1187
|
}
|
|
1171
1188
|
function $e(c) {
|
|
1172
1189
|
if (!Array.isArray(c))
|
|
@@ -1175,10 +1192,10 @@ function sn() {
|
|
|
1175
1192
|
var S = c[x];
|
|
1176
1193
|
if (typeof S != "function")
|
|
1177
1194
|
return i(
|
|
1178
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " +
|
|
1195
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + Re(S) + " at index " + x + "."
|
|
1179
1196
|
), s;
|
|
1180
1197
|
}
|
|
1181
|
-
function
|
|
1198
|
+
function w(O, M, C, _, P) {
|
|
1182
1199
|
for (var B = [], $ = 0; $ < c.length; $++) {
|
|
1183
1200
|
var se = c[$], h = se(O, M, C, _, P, o);
|
|
1184
1201
|
if (h == null)
|
|
@@ -1188,22 +1205,22 @@ function sn() {
|
|
|
1188
1205
|
var he = B.length > 0 ? ", expected one of type [" + B.join(", ") + "]" : "";
|
|
1189
1206
|
return new b("Invalid " + _ + " `" + P + "` supplied to " + ("`" + C + "`" + he + "."));
|
|
1190
1207
|
}
|
|
1191
|
-
return w
|
|
1208
|
+
return R(w);
|
|
1192
1209
|
}
|
|
1193
1210
|
function Ge() {
|
|
1194
|
-
function c(x, S,
|
|
1195
|
-
return fe(x[S]) ? null : new b("Invalid " + O + " `" + M + "` supplied to " + ("`" +
|
|
1211
|
+
function c(x, S, w, O, M) {
|
|
1212
|
+
return fe(x[S]) ? null : new b("Invalid " + O + " `" + M + "` supplied to " + ("`" + w + "`, expected a ReactNode."));
|
|
1196
1213
|
}
|
|
1197
|
-
return
|
|
1214
|
+
return R(c);
|
|
1198
1215
|
}
|
|
1199
|
-
function ke(c, x, S,
|
|
1216
|
+
function ke(c, x, S, w, O) {
|
|
1200
1217
|
return new b(
|
|
1201
|
-
(c || "React class") + ": " + x + " type `" + S + "." +
|
|
1218
|
+
(c || "React class") + ": " + x + " type `" + S + "." + w + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + O + "`."
|
|
1202
1219
|
);
|
|
1203
1220
|
}
|
|
1204
1221
|
function je(c) {
|
|
1205
|
-
function x(S,
|
|
1206
|
-
var _ = S[
|
|
1222
|
+
function x(S, w, O, M, C) {
|
|
1223
|
+
var _ = S[w], P = ye(_);
|
|
1207
1224
|
if (P !== "object")
|
|
1208
1225
|
return new b("Invalid " + M + " `" + C + "` of type `" + P + "` " + ("supplied to `" + O + "`, expected `object`."));
|
|
1209
1226
|
for (var B in c) {
|
|
@@ -1216,21 +1233,21 @@ function sn() {
|
|
|
1216
1233
|
}
|
|
1217
1234
|
return null;
|
|
1218
1235
|
}
|
|
1219
|
-
return
|
|
1236
|
+
return R(x);
|
|
1220
1237
|
}
|
|
1221
1238
|
function ge(c) {
|
|
1222
|
-
function x(S,
|
|
1223
|
-
var _ = S[
|
|
1239
|
+
function x(S, w, O, M, C) {
|
|
1240
|
+
var _ = S[w], P = ye(_);
|
|
1224
1241
|
if (P !== "object")
|
|
1225
1242
|
return new b("Invalid " + M + " `" + C + "` of type `" + P + "` " + ("supplied to `" + O + "`, expected `object`."));
|
|
1226
|
-
var B = r({}, S[
|
|
1243
|
+
var B = r({}, S[w], c);
|
|
1227
1244
|
for (var $ in B) {
|
|
1228
1245
|
var se = c[$];
|
|
1229
1246
|
if (n(c, $) && typeof se != "function")
|
|
1230
1247
|
return ke(O, M, C, $, ve(se));
|
|
1231
1248
|
if (!se)
|
|
1232
1249
|
return new b(
|
|
1233
|
-
"Invalid " + M + " `" + C + "` key `" + $ + "` supplied to `" + O + "`.\nBad object: " + JSON.stringify(S[
|
|
1250
|
+
"Invalid " + M + " `" + C + "` key `" + $ + "` supplied to `" + O + "`.\nBad object: " + JSON.stringify(S[w], null, " ") + `
|
|
1234
1251
|
Valid keys: ` + JSON.stringify(Object.keys(c), null, " ")
|
|
1235
1252
|
);
|
|
1236
1253
|
var h = se(_, $, O, M, C + "." + $, o);
|
|
@@ -1239,7 +1256,7 @@ Valid keys: ` + JSON.stringify(Object.keys(c), null, " ")
|
|
|
1239
1256
|
}
|
|
1240
1257
|
return null;
|
|
1241
1258
|
}
|
|
1242
|
-
return
|
|
1259
|
+
return R(x);
|
|
1243
1260
|
}
|
|
1244
1261
|
function fe(c) {
|
|
1245
1262
|
switch (typeof c) {
|
|
@@ -1256,14 +1273,14 @@ Valid keys: ` + JSON.stringify(Object.keys(c), null, " ")
|
|
|
1256
1273
|
return !0;
|
|
1257
1274
|
var x = m(c);
|
|
1258
1275
|
if (x) {
|
|
1259
|
-
var S = x.call(c),
|
|
1276
|
+
var S = x.call(c), w;
|
|
1260
1277
|
if (x !== c.entries) {
|
|
1261
|
-
for (; !(
|
|
1262
|
-
if (!fe(
|
|
1278
|
+
for (; !(w = S.next()).done; )
|
|
1279
|
+
if (!fe(w.value))
|
|
1263
1280
|
return !1;
|
|
1264
1281
|
} else
|
|
1265
|
-
for (; !(
|
|
1266
|
-
var O =
|
|
1282
|
+
for (; !(w = S.next()).done; ) {
|
|
1283
|
+
var O = w.value;
|
|
1267
1284
|
if (O && !fe(O[1]))
|
|
1268
1285
|
return !1;
|
|
1269
1286
|
}
|
|
@@ -1293,7 +1310,7 @@ Valid keys: ` + JSON.stringify(Object.keys(c), null, " ")
|
|
|
1293
1310
|
}
|
|
1294
1311
|
return x;
|
|
1295
1312
|
}
|
|
1296
|
-
function
|
|
1313
|
+
function Re(c) {
|
|
1297
1314
|
var x = ve(c);
|
|
1298
1315
|
switch (x) {
|
|
1299
1316
|
case "array":
|
|
@@ -1314,7 +1331,7 @@ Valid keys: ` + JSON.stringify(Object.keys(c), null, " ")
|
|
|
1314
1331
|
}, Or;
|
|
1315
1332
|
}
|
|
1316
1333
|
var Cr, nt;
|
|
1317
|
-
function
|
|
1334
|
+
function cn() {
|
|
1318
1335
|
if (nt)
|
|
1319
1336
|
return Cr;
|
|
1320
1337
|
nt = 1;
|
|
@@ -1363,13 +1380,13 @@ function un() {
|
|
|
1363
1380
|
}, Cr;
|
|
1364
1381
|
}
|
|
1365
1382
|
if (process.env.NODE_ENV !== "production") {
|
|
1366
|
-
var
|
|
1367
|
-
|
|
1383
|
+
var fn = bt(), dn = !0;
|
|
1384
|
+
Rr.exports = ln()(fn.isElement, dn);
|
|
1368
1385
|
} else
|
|
1369
|
-
|
|
1370
|
-
var
|
|
1371
|
-
const He = /* @__PURE__ */
|
|
1372
|
-
function
|
|
1386
|
+
Rr.exports = cn()();
|
|
1387
|
+
var pn = Rr.exports;
|
|
1388
|
+
const He = /* @__PURE__ */ Zt(pn);
|
|
1389
|
+
function Le(e) {
|
|
1373
1390
|
let r = "https://mui.com/production-error/?code=" + e;
|
|
1374
1391
|
for (let o = 1; o < arguments.length; o += 1)
|
|
1375
1392
|
r += "&args[]=" + encodeURIComponent(arguments[o]);
|
|
@@ -1377,10 +1394,10 @@ function Ue(e) {
|
|
|
1377
1394
|
}
|
|
1378
1395
|
function xt(e) {
|
|
1379
1396
|
if (typeof e != "string")
|
|
1380
|
-
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." :
|
|
1397
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : Le(7));
|
|
1381
1398
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
1382
1399
|
}
|
|
1383
|
-
const ot = (e) => e,
|
|
1400
|
+
const ot = (e) => e, gn = () => {
|
|
1384
1401
|
let e = ot;
|
|
1385
1402
|
return {
|
|
1386
1403
|
configure(r) {
|
|
@@ -1393,7 +1410,7 @@ const ot = (e) => e, dn = () => {
|
|
|
1393
1410
|
e = ot;
|
|
1394
1411
|
}
|
|
1395
1412
|
};
|
|
1396
|
-
},
|
|
1413
|
+
}, yn = gn(), mn = yn, hn = {
|
|
1397
1414
|
active: "active",
|
|
1398
1415
|
checked: "checked",
|
|
1399
1416
|
completed: "completed",
|
|
@@ -1407,11 +1424,11 @@ const ot = (e) => e, dn = () => {
|
|
|
1407
1424
|
required: "required",
|
|
1408
1425
|
selected: "selected"
|
|
1409
1426
|
};
|
|
1410
|
-
function
|
|
1411
|
-
const n =
|
|
1412
|
-
return n ? `${o}-${n}` : `${
|
|
1427
|
+
function bn(e, r, o = "Mui") {
|
|
1428
|
+
const n = hn[r];
|
|
1429
|
+
return n ? `${o}-${n}` : `${mn.generate(e)}-${r}`;
|
|
1413
1430
|
}
|
|
1414
|
-
function
|
|
1431
|
+
function Ue(e, r) {
|
|
1415
1432
|
if (e == null)
|
|
1416
1433
|
return {};
|
|
1417
1434
|
var o = {}, n = Object.keys(e), a, i;
|
|
@@ -1419,7 +1436,7 @@ function Le(e, r) {
|
|
|
1419
1436
|
a = n[i], !(r.indexOf(a) >= 0) && (o[a] = e[a]);
|
|
1420
1437
|
return o;
|
|
1421
1438
|
}
|
|
1422
|
-
const
|
|
1439
|
+
const vn = ["values", "unit", "step"], xn = (e) => {
|
|
1423
1440
|
const r = Object.keys(e).map((o) => ({
|
|
1424
1441
|
key: o,
|
|
1425
1442
|
val: e[o]
|
|
@@ -1428,7 +1445,7 @@ const hn = ["values", "unit", "step"], bn = (e) => {
|
|
|
1428
1445
|
[n.key]: n.val
|
|
1429
1446
|
}), {});
|
|
1430
1447
|
};
|
|
1431
|
-
function
|
|
1448
|
+
function En(e) {
|
|
1432
1449
|
const {
|
|
1433
1450
|
// The breakpoint **start** at this value.
|
|
1434
1451
|
// For instance with the first breakpoint xs: [xs, sm).
|
|
@@ -1446,7 +1463,7 @@ function vn(e) {
|
|
|
1446
1463
|
},
|
|
1447
1464
|
unit: o = "px",
|
|
1448
1465
|
step: n = 5
|
|
1449
|
-
} = e, a =
|
|
1466
|
+
} = e, a = Ue(e, vn), i = xn(r), s = Object.keys(i);
|
|
1450
1467
|
function f(l) {
|
|
1451
1468
|
return `@media (min-width:${typeof r[l] == "number" ? r[l] : l}${o})`;
|
|
1452
1469
|
}
|
|
@@ -1475,9 +1492,9 @@ function vn(e) {
|
|
|
1475
1492
|
unit: o
|
|
1476
1493
|
}, a);
|
|
1477
1494
|
}
|
|
1478
|
-
const
|
|
1495
|
+
const An = {
|
|
1479
1496
|
borderRadius: 4
|
|
1480
|
-
},
|
|
1497
|
+
}, Tn = An, On = process.env.NODE_ENV !== "production" ? He.oneOfType([He.number, He.string, He.object, He.array]) : {}, we = On;
|
|
1481
1498
|
function Je(e, r) {
|
|
1482
1499
|
return r ? Ce(e, r, {
|
|
1483
1500
|
clone: !1
|
|
@@ -1522,14 +1539,14 @@ function _e(e, r, o) {
|
|
|
1522
1539
|
}
|
|
1523
1540
|
return o(r);
|
|
1524
1541
|
}
|
|
1525
|
-
function
|
|
1542
|
+
function Cn(e = {}) {
|
|
1526
1543
|
var r;
|
|
1527
1544
|
return ((r = e.keys) == null ? void 0 : r.reduce((n, a) => {
|
|
1528
1545
|
const i = e.up(a);
|
|
1529
1546
|
return n[i] = {}, n;
|
|
1530
1547
|
}, {})) || {};
|
|
1531
1548
|
}
|
|
1532
|
-
function
|
|
1549
|
+
function _n(e, r) {
|
|
1533
1550
|
return e.reduce((o, n) => {
|
|
1534
1551
|
const a = o[n];
|
|
1535
1552
|
return (!a || Object.keys(a).length === 0) && delete o[n], o;
|
|
@@ -1549,7 +1566,7 @@ function or(e, r, o, n = o) {
|
|
|
1549
1566
|
let a;
|
|
1550
1567
|
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
1568
|
}
|
|
1552
|
-
function
|
|
1569
|
+
function U(e) {
|
|
1553
1570
|
const {
|
|
1554
1571
|
prop: r,
|
|
1555
1572
|
cssProperty: o = e.prop,
|
|
@@ -1567,17 +1584,17 @@ function L(e) {
|
|
|
1567
1584
|
});
|
|
1568
1585
|
};
|
|
1569
1586
|
return i.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1570
|
-
[r]:
|
|
1587
|
+
[r]: we
|
|
1571
1588
|
} : {}, i.filterProps = [r], i;
|
|
1572
1589
|
}
|
|
1573
|
-
function
|
|
1590
|
+
function wn(e) {
|
|
1574
1591
|
const r = {};
|
|
1575
1592
|
return (o) => (r[o] === void 0 && (r[o] = e(o)), r[o]);
|
|
1576
1593
|
}
|
|
1577
|
-
const
|
|
1594
|
+
const Rn = {
|
|
1578
1595
|
m: "margin",
|
|
1579
1596
|
p: "padding"
|
|
1580
|
-
},
|
|
1597
|
+
}, Sn = {
|
|
1581
1598
|
t: "Top",
|
|
1582
1599
|
r: "Right",
|
|
1583
1600
|
b: "Bottom",
|
|
@@ -1589,15 +1606,15 @@ const _n = {
|
|
|
1589
1606
|
marginY: "my",
|
|
1590
1607
|
paddingX: "px",
|
|
1591
1608
|
paddingY: "py"
|
|
1592
|
-
},
|
|
1609
|
+
}, Pn = wn((e) => {
|
|
1593
1610
|
if (e.length > 2)
|
|
1594
1611
|
if (it[e])
|
|
1595
1612
|
e = it[e];
|
|
1596
1613
|
else
|
|
1597
1614
|
return [e];
|
|
1598
|
-
const [r, o] = e.split(""), n =
|
|
1615
|
+
const [r, o] = e.split(""), n = Rn[r], a = Sn[o] || "";
|
|
1599
1616
|
return Array.isArray(a) ? a.map((i) => n + i) : [n + a];
|
|
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"],
|
|
1617
|
+
}), 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"], $n = [...ir, ...sr];
|
|
1601
1618
|
function Qe(e, r, o, n) {
|
|
1602
1619
|
var a;
|
|
1603
1620
|
const i = (a = ar(e, r, !1)) != null ? a : o;
|
|
@@ -1616,31 +1633,31 @@ function er(e, r) {
|
|
|
1616
1633
|
const o = Math.abs(r), n = e(o);
|
|
1617
1634
|
return r >= 0 ? n : typeof n == "number" ? -n : `-${n}`;
|
|
1618
1635
|
}
|
|
1619
|
-
function
|
|
1636
|
+
function kn(e, r) {
|
|
1620
1637
|
return (o) => e.reduce((n, a) => (n[a] = er(r, o), n), {});
|
|
1621
1638
|
}
|
|
1622
|
-
function
|
|
1639
|
+
function jn(e, r, o, n) {
|
|
1623
1640
|
if (r.indexOf(o) === -1)
|
|
1624
1641
|
return null;
|
|
1625
|
-
const a =
|
|
1642
|
+
const a = Pn(o), i = kn(a, n), s = e[o];
|
|
1626
1643
|
return _e(e, s, i);
|
|
1627
1644
|
}
|
|
1628
1645
|
function At(e, r) {
|
|
1629
1646
|
const o = Et(e.theme);
|
|
1630
|
-
return Object.keys(e).map((n) =>
|
|
1647
|
+
return Object.keys(e).map((n) => jn(e, r, n, o)).reduce(Je, {});
|
|
1631
1648
|
}
|
|
1632
1649
|
function Z(e) {
|
|
1633
1650
|
return At(e, ir);
|
|
1634
1651
|
}
|
|
1635
|
-
Z.propTypes = process.env.NODE_ENV !== "production" ? ir.reduce((e, r) => (e[r] =
|
|
1652
|
+
Z.propTypes = process.env.NODE_ENV !== "production" ? ir.reduce((e, r) => (e[r] = we, e), {}) : {};
|
|
1636
1653
|
Z.filterProps = ir;
|
|
1637
1654
|
function Q(e) {
|
|
1638
1655
|
return At(e, sr);
|
|
1639
1656
|
}
|
|
1640
|
-
Q.propTypes = process.env.NODE_ENV !== "production" ? sr.reduce((e, r) => (e[r] =
|
|
1657
|
+
Q.propTypes = process.env.NODE_ENV !== "production" ? sr.reduce((e, r) => (e[r] = we, e), {}) : {};
|
|
1641
1658
|
Q.filterProps = sr;
|
|
1642
|
-
process.env.NODE_ENV !== "production" &&
|
|
1643
|
-
function
|
|
1659
|
+
process.env.NODE_ENV !== "production" && $n.reduce((e, r) => (e[r] = we, e), {});
|
|
1660
|
+
function Mn(e = 8) {
|
|
1644
1661
|
if (e.mui)
|
|
1645
1662
|
return e;
|
|
1646
1663
|
const r = Et({
|
|
@@ -1660,39 +1677,39 @@ function ur(...e) {
|
|
|
1660
1677
|
function Ee(e) {
|
|
1661
1678
|
return typeof e != "number" ? e : `${e}px solid`;
|
|
1662
1679
|
}
|
|
1663
|
-
const
|
|
1680
|
+
const In = U({
|
|
1664
1681
|
prop: "border",
|
|
1665
1682
|
themeKey: "borders",
|
|
1666
1683
|
transform: Ee
|
|
1667
|
-
}),
|
|
1684
|
+
}), Dn = U({
|
|
1668
1685
|
prop: "borderTop",
|
|
1669
1686
|
themeKey: "borders",
|
|
1670
1687
|
transform: Ee
|
|
1671
|
-
}),
|
|
1688
|
+
}), Bn = U({
|
|
1672
1689
|
prop: "borderRight",
|
|
1673
1690
|
themeKey: "borders",
|
|
1674
1691
|
transform: Ee
|
|
1675
|
-
}),
|
|
1692
|
+
}), Nn = U({
|
|
1676
1693
|
prop: "borderBottom",
|
|
1677
1694
|
themeKey: "borders",
|
|
1678
1695
|
transform: Ee
|
|
1679
|
-
}),
|
|
1696
|
+
}), Fn = U({
|
|
1680
1697
|
prop: "borderLeft",
|
|
1681
1698
|
themeKey: "borders",
|
|
1682
1699
|
transform: Ee
|
|
1683
|
-
}),
|
|
1700
|
+
}), Wn = U({
|
|
1684
1701
|
prop: "borderColor",
|
|
1685
1702
|
themeKey: "palette"
|
|
1686
|
-
}),
|
|
1703
|
+
}), Ln = U({
|
|
1687
1704
|
prop: "borderTopColor",
|
|
1688
1705
|
themeKey: "palette"
|
|
1689
|
-
}),
|
|
1706
|
+
}), Un = U({
|
|
1690
1707
|
prop: "borderRightColor",
|
|
1691
1708
|
themeKey: "palette"
|
|
1692
|
-
}),
|
|
1709
|
+
}), Yn = U({
|
|
1693
1710
|
prop: "borderBottomColor",
|
|
1694
1711
|
themeKey: "palette"
|
|
1695
|
-
}),
|
|
1712
|
+
}), zn = U({
|
|
1696
1713
|
prop: "borderLeftColor",
|
|
1697
1714
|
themeKey: "palette"
|
|
1698
1715
|
}), lr = (e) => {
|
|
@@ -1705,10 +1722,10 @@ const jn = L({
|
|
|
1705
1722
|
return null;
|
|
1706
1723
|
};
|
|
1707
1724
|
lr.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1708
|
-
borderRadius:
|
|
1725
|
+
borderRadius: we
|
|
1709
1726
|
} : {};
|
|
1710
1727
|
lr.filterProps = ["borderRadius"];
|
|
1711
|
-
ur(
|
|
1728
|
+
ur(In, Dn, Bn, Nn, Fn, Wn, Ln, Un, Yn, zn, lr);
|
|
1712
1729
|
const cr = (e) => {
|
|
1713
1730
|
if (e.gap !== void 0 && e.gap !== null) {
|
|
1714
1731
|
const r = Qe(e.theme, "spacing", 8, "gap"), o = (n) => ({
|
|
@@ -1719,7 +1736,7 @@ const cr = (e) => {
|
|
|
1719
1736
|
return null;
|
|
1720
1737
|
};
|
|
1721
1738
|
cr.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1722
|
-
gap:
|
|
1739
|
+
gap: we
|
|
1723
1740
|
} : {};
|
|
1724
1741
|
cr.filterProps = ["gap"];
|
|
1725
1742
|
const fr = (e) => {
|
|
@@ -1732,7 +1749,7 @@ const fr = (e) => {
|
|
|
1732
1749
|
return null;
|
|
1733
1750
|
};
|
|
1734
1751
|
fr.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1735
|
-
columnGap:
|
|
1752
|
+
columnGap: we
|
|
1736
1753
|
} : {};
|
|
1737
1754
|
fr.filterProps = ["columnGap"];
|
|
1738
1755
|
const dr = (e) => {
|
|
@@ -1745,51 +1762,51 @@ const dr = (e) => {
|
|
|
1745
1762
|
return null;
|
|
1746
1763
|
};
|
|
1747
1764
|
dr.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1748
|
-
rowGap:
|
|
1765
|
+
rowGap: we
|
|
1749
1766
|
} : {};
|
|
1750
1767
|
dr.filterProps = ["rowGap"];
|
|
1751
|
-
const
|
|
1768
|
+
const Gn = U({
|
|
1752
1769
|
prop: "gridColumn"
|
|
1753
|
-
}),
|
|
1770
|
+
}), Vn = U({
|
|
1754
1771
|
prop: "gridRow"
|
|
1755
|
-
}),
|
|
1772
|
+
}), Kn = U({
|
|
1756
1773
|
prop: "gridAutoFlow"
|
|
1757
|
-
}),
|
|
1774
|
+
}), qn = U({
|
|
1758
1775
|
prop: "gridAutoColumns"
|
|
1759
|
-
}),
|
|
1776
|
+
}), Hn = U({
|
|
1760
1777
|
prop: "gridAutoRows"
|
|
1761
|
-
}),
|
|
1778
|
+
}), Jn = U({
|
|
1762
1779
|
prop: "gridTemplateColumns"
|
|
1763
|
-
}),
|
|
1780
|
+
}), Xn = U({
|
|
1764
1781
|
prop: "gridTemplateRows"
|
|
1765
|
-
}),
|
|
1782
|
+
}), Zn = U({
|
|
1766
1783
|
prop: "gridTemplateAreas"
|
|
1767
|
-
}),
|
|
1784
|
+
}), Qn = U({
|
|
1768
1785
|
prop: "gridArea"
|
|
1769
1786
|
});
|
|
1770
|
-
ur(cr, fr, dr,
|
|
1787
|
+
ur(cr, fr, dr, Gn, Vn, Kn, qn, Hn, Jn, Xn, Zn, Qn);
|
|
1771
1788
|
function We(e, r) {
|
|
1772
1789
|
return r === "grey" ? r : e;
|
|
1773
1790
|
}
|
|
1774
|
-
const
|
|
1791
|
+
const eo = U({
|
|
1775
1792
|
prop: "color",
|
|
1776
1793
|
themeKey: "palette",
|
|
1777
1794
|
transform: We
|
|
1778
|
-
}),
|
|
1795
|
+
}), ro = U({
|
|
1779
1796
|
prop: "bgcolor",
|
|
1780
1797
|
cssProperty: "backgroundColor",
|
|
1781
1798
|
themeKey: "palette",
|
|
1782
1799
|
transform: We
|
|
1783
|
-
}),
|
|
1800
|
+
}), to = U({
|
|
1784
1801
|
prop: "backgroundColor",
|
|
1785
1802
|
themeKey: "palette",
|
|
1786
1803
|
transform: We
|
|
1787
1804
|
});
|
|
1788
|
-
ur(
|
|
1805
|
+
ur(eo, ro, to);
|
|
1789
1806
|
function me(e) {
|
|
1790
1807
|
return e <= 1 && e !== 0 ? `${e * 100}%` : e;
|
|
1791
1808
|
}
|
|
1792
|
-
const
|
|
1809
|
+
const no = U({
|
|
1793
1810
|
prop: "width",
|
|
1794
1811
|
transform: me
|
|
1795
1812
|
}), $r = (e) => {
|
|
@@ -1810,34 +1827,34 @@ const ro = L({
|
|
|
1810
1827
|
return null;
|
|
1811
1828
|
};
|
|
1812
1829
|
$r.filterProps = ["maxWidth"];
|
|
1813
|
-
const
|
|
1830
|
+
const oo = U({
|
|
1814
1831
|
prop: "minWidth",
|
|
1815
1832
|
transform: me
|
|
1816
|
-
}),
|
|
1833
|
+
}), ao = U({
|
|
1817
1834
|
prop: "height",
|
|
1818
1835
|
transform: me
|
|
1819
|
-
}),
|
|
1836
|
+
}), io = U({
|
|
1820
1837
|
prop: "maxHeight",
|
|
1821
1838
|
transform: me
|
|
1822
|
-
}),
|
|
1839
|
+
}), so = U({
|
|
1823
1840
|
prop: "minHeight",
|
|
1824
1841
|
transform: me
|
|
1825
1842
|
});
|
|
1826
|
-
|
|
1843
|
+
U({
|
|
1827
1844
|
prop: "size",
|
|
1828
1845
|
cssProperty: "width",
|
|
1829
1846
|
transform: me
|
|
1830
1847
|
});
|
|
1831
|
-
|
|
1848
|
+
U({
|
|
1832
1849
|
prop: "size",
|
|
1833
1850
|
cssProperty: "height",
|
|
1834
1851
|
transform: me
|
|
1835
1852
|
});
|
|
1836
|
-
const
|
|
1853
|
+
const uo = U({
|
|
1837
1854
|
prop: "boxSizing"
|
|
1838
1855
|
});
|
|
1839
|
-
ur(
|
|
1840
|
-
const
|
|
1856
|
+
ur(no, $r, oo, ao, io, so, uo);
|
|
1857
|
+
const lo = {
|
|
1841
1858
|
// borders
|
|
1842
1859
|
border: {
|
|
1843
1860
|
themeKey: "borders",
|
|
@@ -2114,15 +2131,15 @@ const so = {
|
|
|
2114
2131
|
cssProperty: !1,
|
|
2115
2132
|
themeKey: "typography"
|
|
2116
2133
|
}
|
|
2117
|
-
}, kr =
|
|
2118
|
-
function
|
|
2134
|
+
}, kr = lo;
|
|
2135
|
+
function co(...e) {
|
|
2119
2136
|
const r = e.reduce((n, a) => n.concat(Object.keys(a)), []), o = new Set(r);
|
|
2120
2137
|
return e.every((n) => o.size === Object.keys(n).length);
|
|
2121
2138
|
}
|
|
2122
|
-
function
|
|
2139
|
+
function fo(e, r) {
|
|
2123
2140
|
return typeof e == "function" ? e(r) : e;
|
|
2124
2141
|
}
|
|
2125
|
-
function
|
|
2142
|
+
function po() {
|
|
2126
2143
|
function e(o, n, a, i) {
|
|
2127
2144
|
const s = {
|
|
2128
2145
|
[o]: n,
|
|
@@ -2169,10 +2186,10 @@ function co() {
|
|
|
2169
2186
|
return d;
|
|
2170
2187
|
if (!p)
|
|
2171
2188
|
return null;
|
|
2172
|
-
const g =
|
|
2189
|
+
const g = Cn(i.breakpoints), m = Object.keys(g);
|
|
2173
2190
|
let l = g;
|
|
2174
2191
|
return Object.keys(p).forEach((E) => {
|
|
2175
|
-
const A =
|
|
2192
|
+
const A = fo(p[E], i);
|
|
2176
2193
|
if (A != null)
|
|
2177
2194
|
if (typeof A == "object")
|
|
2178
2195
|
if (s[E])
|
|
@@ -2180,32 +2197,32 @@ function co() {
|
|
|
2180
2197
|
else {
|
|
2181
2198
|
const b = _e({
|
|
2182
2199
|
theme: i
|
|
2183
|
-
}, A, (
|
|
2184
|
-
[E]:
|
|
2200
|
+
}, A, (R) => ({
|
|
2201
|
+
[E]: R
|
|
2185
2202
|
}));
|
|
2186
|
-
|
|
2203
|
+
co(b, A) ? l[E] = r({
|
|
2187
2204
|
sx: A,
|
|
2188
2205
|
theme: i
|
|
2189
2206
|
}) : l = Je(l, b);
|
|
2190
2207
|
}
|
|
2191
2208
|
else
|
|
2192
2209
|
l = Je(l, e(E, A, i, s));
|
|
2193
|
-
}),
|
|
2210
|
+
}), _n(m, l);
|
|
2194
2211
|
}
|
|
2195
2212
|
return Array.isArray(a) ? a.map(f) : f(a);
|
|
2196
2213
|
}
|
|
2197
2214
|
return r;
|
|
2198
2215
|
}
|
|
2199
|
-
const Tt =
|
|
2216
|
+
const Tt = po();
|
|
2200
2217
|
Tt.filterProps = ["sx"];
|
|
2201
|
-
const Ot = Tt,
|
|
2202
|
-
function
|
|
2218
|
+
const Ot = Tt, go = ["breakpoints", "palette", "spacing", "shape"];
|
|
2219
|
+
function yo(e = {}, ...r) {
|
|
2203
2220
|
const {
|
|
2204
2221
|
breakpoints: o = {},
|
|
2205
2222
|
palette: n = {},
|
|
2206
2223
|
spacing: a,
|
|
2207
2224
|
shape: i = {}
|
|
2208
|
-
} = e, s =
|
|
2225
|
+
} = e, s = Ue(e, go), f = En(o), d = Mn(a);
|
|
2209
2226
|
let p = Ce({
|
|
2210
2227
|
breakpoints: f,
|
|
2211
2228
|
direction: "ltr",
|
|
@@ -2215,7 +2232,7 @@ function po(e = {}, ...r) {
|
|
|
2215
2232
|
mode: "light"
|
|
2216
2233
|
}, n),
|
|
2217
2234
|
spacing: d,
|
|
2218
|
-
shape: ie({},
|
|
2235
|
+
shape: ie({}, Tn, i)
|
|
2219
2236
|
}, s);
|
|
2220
2237
|
return p = r.reduce((g, m) => Ce(g, m), p), p.unstable_sxConfig = ie({}, kr, s == null ? void 0 : s.unstable_sxConfig), p.unstable_sx = function(m) {
|
|
2221
2238
|
return Ot({
|
|
@@ -2227,7 +2244,7 @@ function po(e = {}, ...r) {
|
|
|
2227
2244
|
function jr(e, r = 0, o = 1) {
|
|
2228
2245
|
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);
|
|
2229
2246
|
}
|
|
2230
|
-
function
|
|
2247
|
+
function mo(e) {
|
|
2231
2248
|
e = e.slice(1);
|
|
2232
2249
|
const r = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g");
|
|
2233
2250
|
let o = e.match(r);
|
|
@@ -2237,16 +2254,16 @@ function Pe(e) {
|
|
|
2237
2254
|
if (e.type)
|
|
2238
2255
|
return e;
|
|
2239
2256
|
if (e.charAt(0) === "#")
|
|
2240
|
-
return Pe(
|
|
2257
|
+
return Pe(mo(e));
|
|
2241
2258
|
const r = e.indexOf("("), o = e.substring(0, r);
|
|
2242
2259
|
if (["rgb", "rgba", "hsl", "hsla", "color"].indexOf(o) === -1)
|
|
2243
2260
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
|
|
2244
|
-
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` :
|
|
2261
|
+
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : Le(9, e));
|
|
2245
2262
|
let n = e.substring(r + 1, e.length - 1), a;
|
|
2246
2263
|
if (o === "color") {
|
|
2247
2264
|
if (n = n.split(" "), a = n.shift(), n.length === 4 && n[3].charAt(0) === "/" && (n[3] = n[3].slice(1)), ["srgb", "display-p3", "a98-rgb", "prophoto-rgb", "rec-2020"].indexOf(a) === -1)
|
|
2248
2265
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${a}\` color space.
|
|
2249
|
-
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` :
|
|
2266
|
+
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : Le(10, a));
|
|
2250
2267
|
} else
|
|
2251
2268
|
n = n.split(",");
|
|
2252
2269
|
return n = n.map((i) => parseFloat(i)), {
|
|
@@ -2265,7 +2282,7 @@ function pr(e) {
|
|
|
2265
2282
|
} = e;
|
|
2266
2283
|
return r.indexOf("rgb") !== -1 ? n = n.map((a, i) => i < 3 ? parseInt(a, 10) : a) : r.indexOf("hsl") !== -1 && (n[1] = `${n[1]}%`, n[2] = `${n[2]}%`), r.indexOf("color") !== -1 ? n = `${o} ${n.join(" ")}` : n = `${n.join(", ")}`, `${r}(${n})`;
|
|
2267
2284
|
}
|
|
2268
|
-
function
|
|
2285
|
+
function ho(e) {
|
|
2269
2286
|
e = Pe(e);
|
|
2270
2287
|
const {
|
|
2271
2288
|
values: r
|
|
@@ -2279,7 +2296,7 @@ function yo(e) {
|
|
|
2279
2296
|
}
|
|
2280
2297
|
function st(e) {
|
|
2281
2298
|
e = Pe(e);
|
|
2282
|
-
let r = e.type === "hsl" || e.type === "hsla" ? Pe(
|
|
2299
|
+
let r = e.type === "hsl" || e.type === "hsla" ? Pe(ho(e)).values : e.values;
|
|
2283
2300
|
return r = r.map((o) => (e.type !== "color" && (o /= 255), o <= 0.03928 ? o / 12.92 : ((o + 0.055) / 1.055) ** 2.4)), Number((0.2126 * r[0] + 0.7152 * r[1] + 0.0722 * r[2]).toFixed(3));
|
|
2284
2301
|
}
|
|
2285
2302
|
function ut(e, r) {
|
|
@@ -2289,7 +2306,7 @@ function ut(e, r) {
|
|
|
2289
2306
|
function pe(e, r) {
|
|
2290
2307
|
return e = Pe(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
2308
|
}
|
|
2292
|
-
function
|
|
2309
|
+
function bo(e, r) {
|
|
2293
2310
|
if (e = Pe(e), r = jr(r), e.type.indexOf("hsl") !== -1)
|
|
2294
2311
|
e.values[2] *= 1 - r;
|
|
2295
2312
|
else if (e.type.indexOf("rgb") !== -1 || e.type.indexOf("color") !== -1)
|
|
@@ -2297,7 +2314,7 @@ function mo(e, r) {
|
|
|
2297
2314
|
e.values[o] *= 1 - r;
|
|
2298
2315
|
return pr(e);
|
|
2299
2316
|
}
|
|
2300
|
-
function
|
|
2317
|
+
function vo(e, r) {
|
|
2301
2318
|
if (e = Pe(e), r = jr(r), e.type.indexOf("hsl") !== -1)
|
|
2302
2319
|
e.values[2] += (100 - e.values[2]) * r;
|
|
2303
2320
|
else if (e.type.indexOf("rgb") !== -1)
|
|
@@ -2308,7 +2325,7 @@ function ho(e, r) {
|
|
|
2308
2325
|
e.values[o] += (1 - e.values[o]) * r;
|
|
2309
2326
|
return pr(e);
|
|
2310
2327
|
}
|
|
2311
|
-
function
|
|
2328
|
+
function xo(e, r) {
|
|
2312
2329
|
return ie({
|
|
2313
2330
|
toolbar: {
|
|
2314
2331
|
minHeight: 56,
|
|
@@ -2323,10 +2340,10 @@ function bo(e, r) {
|
|
|
2323
2340
|
}
|
|
2324
2341
|
}, r);
|
|
2325
2342
|
}
|
|
2326
|
-
const
|
|
2343
|
+
const Eo = {
|
|
2327
2344
|
black: "#000",
|
|
2328
2345
|
white: "#fff"
|
|
2329
|
-
}, Ze =
|
|
2346
|
+
}, Ze = Eo, Ao = {
|
|
2330
2347
|
50: "#fafafa",
|
|
2331
2348
|
100: "#f5f5f5",
|
|
2332
2349
|
200: "#eeeeee",
|
|
@@ -2341,7 +2358,7 @@ const vo = {
|
|
|
2341
2358
|
A200: "#eeeeee",
|
|
2342
2359
|
A400: "#bdbdbd",
|
|
2343
2360
|
A700: "#616161"
|
|
2344
|
-
}, ne =
|
|
2361
|
+
}, ne = Ao, To = {
|
|
2345
2362
|
50: "#f3e5f5",
|
|
2346
2363
|
100: "#e1bee7",
|
|
2347
2364
|
200: "#ce93d8",
|
|
@@ -2356,7 +2373,7 @@ const vo = {
|
|
|
2356
2373
|
A200: "#e040fb",
|
|
2357
2374
|
A400: "#d500f9",
|
|
2358
2375
|
A700: "#aa00ff"
|
|
2359
|
-
}, Y =
|
|
2376
|
+
}, Y = To, Oo = {
|
|
2360
2377
|
50: "#ffebee",
|
|
2361
2378
|
100: "#ffcdd2",
|
|
2362
2379
|
200: "#ef9a9a",
|
|
@@ -2371,7 +2388,7 @@ const vo = {
|
|
|
2371
2388
|
A200: "#ff5252",
|
|
2372
2389
|
A400: "#ff1744",
|
|
2373
2390
|
A700: "#d50000"
|
|
2374
|
-
}, q =
|
|
2391
|
+
}, q = Oo, Co = {
|
|
2375
2392
|
50: "#fff3e0",
|
|
2376
2393
|
100: "#ffe0b2",
|
|
2377
2394
|
200: "#ffcc80",
|
|
@@ -2386,7 +2403,7 @@ const vo = {
|
|
|
2386
2403
|
A200: "#ffab40",
|
|
2387
2404
|
A400: "#ff9100",
|
|
2388
2405
|
A700: "#ff6d00"
|
|
2389
|
-
}, ae =
|
|
2406
|
+
}, ae = Co, _o = {
|
|
2390
2407
|
50: "#e3f2fd",
|
|
2391
2408
|
100: "#bbdefb",
|
|
2392
2409
|
200: "#90caf9",
|
|
@@ -2401,7 +2418,7 @@ const vo = {
|
|
|
2401
2418
|
A200: "#448aff",
|
|
2402
2419
|
A400: "#2979ff",
|
|
2403
2420
|
A700: "#2962ff"
|
|
2404
|
-
}, re =
|
|
2421
|
+
}, re = _o, wo = {
|
|
2405
2422
|
50: "#e1f5fe",
|
|
2406
2423
|
100: "#b3e5fc",
|
|
2407
2424
|
200: "#81d4fa",
|
|
@@ -2416,7 +2433,7 @@ const vo = {
|
|
|
2416
2433
|
A200: "#40c4ff",
|
|
2417
2434
|
A400: "#00b0ff",
|
|
2418
2435
|
A700: "#0091ea"
|
|
2419
|
-
}, J =
|
|
2436
|
+
}, J = wo, Ro = {
|
|
2420
2437
|
50: "#e8f5e9",
|
|
2421
2438
|
100: "#c8e6c9",
|
|
2422
2439
|
200: "#a5d6a7",
|
|
@@ -2431,7 +2448,7 @@ const vo = {
|
|
|
2431
2448
|
A200: "#69f0ae",
|
|
2432
2449
|
A400: "#00e676",
|
|
2433
2450
|
A700: "#00c853"
|
|
2434
|
-
}, oe =
|
|
2451
|
+
}, oe = Ro, So = ["mode", "contrastThreshold", "tonalOffset"], lt = {
|
|
2435
2452
|
// The colors used to style the text.
|
|
2436
2453
|
text: {
|
|
2437
2454
|
// The most important text.
|
|
@@ -2496,9 +2513,9 @@ const vo = {
|
|
|
2496
2513
|
};
|
|
2497
2514
|
function ct(e, r, o, n) {
|
|
2498
2515
|
const a = n.light || n, i = n.dark || n * 1.5;
|
|
2499
|
-
e[r] || (e.hasOwnProperty(o) ? e[r] = e[o] : r === "light" ? e.light =
|
|
2516
|
+
e[r] || (e.hasOwnProperty(o) ? e[r] = e[o] : r === "light" ? e.light = vo(e.main, a) : r === "dark" && (e.dark = bo(e.main, i)));
|
|
2500
2517
|
}
|
|
2501
|
-
function
|
|
2518
|
+
function Po(e = "light") {
|
|
2502
2519
|
return e === "dark" ? {
|
|
2503
2520
|
main: re[200],
|
|
2504
2521
|
light: re[50],
|
|
@@ -2509,7 +2526,7 @@ function wo(e = "light") {
|
|
|
2509
2526
|
dark: re[800]
|
|
2510
2527
|
};
|
|
2511
2528
|
}
|
|
2512
|
-
function
|
|
2529
|
+
function $o(e = "light") {
|
|
2513
2530
|
return e === "dark" ? {
|
|
2514
2531
|
main: Y[200],
|
|
2515
2532
|
light: Y[50],
|
|
@@ -2520,7 +2537,7 @@ function So(e = "light") {
|
|
|
2520
2537
|
dark: Y[700]
|
|
2521
2538
|
};
|
|
2522
2539
|
}
|
|
2523
|
-
function
|
|
2540
|
+
function ko(e = "light") {
|
|
2524
2541
|
return e === "dark" ? {
|
|
2525
2542
|
main: q[500],
|
|
2526
2543
|
light: q[300],
|
|
@@ -2531,7 +2548,7 @@ function Po(e = "light") {
|
|
|
2531
2548
|
dark: q[800]
|
|
2532
2549
|
};
|
|
2533
2550
|
}
|
|
2534
|
-
function
|
|
2551
|
+
function jo(e = "light") {
|
|
2535
2552
|
return e === "dark" ? {
|
|
2536
2553
|
main: J[400],
|
|
2537
2554
|
light: J[300],
|
|
@@ -2542,7 +2559,7 @@ function $o(e = "light") {
|
|
|
2542
2559
|
dark: J[900]
|
|
2543
2560
|
};
|
|
2544
2561
|
}
|
|
2545
|
-
function
|
|
2562
|
+
function Mo(e = "light") {
|
|
2546
2563
|
return e === "dark" ? {
|
|
2547
2564
|
main: oe[400],
|
|
2548
2565
|
light: oe[300],
|
|
@@ -2553,7 +2570,7 @@ function ko(e = "light") {
|
|
|
2553
2570
|
dark: oe[900]
|
|
2554
2571
|
};
|
|
2555
2572
|
}
|
|
2556
|
-
function
|
|
2573
|
+
function Io(e = "light") {
|
|
2557
2574
|
return e === "dark" ? {
|
|
2558
2575
|
main: ae[400],
|
|
2559
2576
|
light: ae[300],
|
|
@@ -2565,33 +2582,33 @@ function jo(e = "light") {
|
|
|
2565
2582
|
dark: ae[900]
|
|
2566
2583
|
};
|
|
2567
2584
|
}
|
|
2568
|
-
function
|
|
2585
|
+
function Do(e) {
|
|
2569
2586
|
const {
|
|
2570
2587
|
mode: r = "light",
|
|
2571
2588
|
contrastThreshold: o = 3,
|
|
2572
2589
|
tonalOffset: n = 0.2
|
|
2573
|
-
} = e, a =
|
|
2590
|
+
} = e, a = Ue(e, So), i = e.primary || Po(r), s = e.secondary || $o(r), f = e.error || ko(r), d = e.info || jo(r), p = e.success || Mo(r), g = e.warning || Io(r);
|
|
2574
2591
|
function m(b) {
|
|
2575
|
-
const
|
|
2592
|
+
const R = ut(b, _r.text.primary) >= o ? _r.text.primary : lt.text.primary;
|
|
2576
2593
|
if (process.env.NODE_ENV !== "production") {
|
|
2577
|
-
const N = ut(b,
|
|
2578
|
-
N < 3 && console.error([`MUI: The contrast ratio of ${N}:1 for ${
|
|
2594
|
+
const N = ut(b, R);
|
|
2595
|
+
N < 3 && console.error([`MUI: The contrast ratio of ${N}:1 for ${R} on ${b}`, "falls below the WCAG recommended absolute minimum contrast ratio of 3:1.", "https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
|
|
2579
2596
|
`));
|
|
2580
2597
|
}
|
|
2581
|
-
return
|
|
2598
|
+
return R;
|
|
2582
2599
|
}
|
|
2583
2600
|
const l = ({
|
|
2584
2601
|
color: b,
|
|
2585
|
-
name:
|
|
2602
|
+
name: R,
|
|
2586
2603
|
mainShade: N = 500,
|
|
2587
2604
|
lightShade: G = 300,
|
|
2588
2605
|
darkShade: H = 700
|
|
2589
2606
|
}) => {
|
|
2590
2607
|
if (b = ie({}, b), !b.main && b[N] && (b.main = b[N]), !b.hasOwnProperty("main"))
|
|
2591
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${
|
|
2592
|
-
The color object needs to have a \`main\` property or a \`${N}\` property.` :
|
|
2608
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${R ? ` (${R})` : ""} provided to augmentColor(color) is invalid.
|
|
2609
|
+
The color object needs to have a \`main\` property or a \`${N}\` property.` : Le(11, R ? ` (${R})` : "", N));
|
|
2593
2610
|
if (typeof b.main != "string")
|
|
2594
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${
|
|
2611
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${R ? ` (${R})` : ""} provided to augmentColor(color) is invalid.
|
|
2595
2612
|
\`color.main\` should be a string, but \`${JSON.stringify(b.main)}\` was provided instead.
|
|
2596
2613
|
|
|
2597
2614
|
Did you intend to use one of the following approaches?
|
|
@@ -2604,7 +2621,7 @@ const theme1 = createTheme({ palette: {
|
|
|
2604
2621
|
|
|
2605
2622
|
const theme2 = createTheme({ palette: {
|
|
2606
2623
|
primary: { main: green[500] },
|
|
2607
|
-
} });` :
|
|
2624
|
+
} });` : Le(12, R ? ` (${R})` : "", JSON.stringify(b.main)));
|
|
2608
2625
|
return ct(b, "light", G, n), ct(b, "dark", H, n), b.contrastText || (b.contrastText = m(b.main)), b;
|
|
2609
2626
|
}, E = {
|
|
2610
2627
|
dark: _r,
|
|
@@ -2664,14 +2681,14 @@ const theme2 = createTheme({ palette: {
|
|
|
2664
2681
|
tonalOffset: n
|
|
2665
2682
|
}, E[r]), a);
|
|
2666
2683
|
}
|
|
2667
|
-
const
|
|
2668
|
-
function
|
|
2684
|
+
const Bo = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
|
|
2685
|
+
function No(e) {
|
|
2669
2686
|
return Math.round(e * 1e5) / 1e5;
|
|
2670
2687
|
}
|
|
2671
2688
|
const ft = {
|
|
2672
2689
|
textTransform: "uppercase"
|
|
2673
2690
|
}, dt = '"Roboto", "Helvetica", "Arial", sans-serif';
|
|
2674
|
-
function
|
|
2691
|
+
function Fo(e, r) {
|
|
2675
2692
|
const o = typeof r == "function" ? r(e) : r, {
|
|
2676
2693
|
fontFamily: n = dt,
|
|
2677
2694
|
// The default font size of the Material Specification.
|
|
@@ -2687,7 +2704,7 @@ function Bo(e, r) {
|
|
|
2687
2704
|
// Apply the CSS properties to all the variants.
|
|
2688
2705
|
allVariants: g,
|
|
2689
2706
|
pxToRem: m
|
|
2690
|
-
} = o, l =
|
|
2707
|
+
} = o, l = Ue(o, Bo);
|
|
2691
2708
|
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
2709
|
const E = a / 14, A = m || ((N) => `${N / p * E}rem`), b = (N, G, H, X, v) => ie({
|
|
2693
2710
|
fontFamily: n,
|
|
@@ -2696,8 +2713,8 @@ function Bo(e, r) {
|
|
|
2696
2713
|
// Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
|
|
2697
2714
|
lineHeight: H
|
|
2698
2715
|
}, n === dt ? {
|
|
2699
|
-
letterSpacing: `${
|
|
2700
|
-
} : {}, v, g),
|
|
2716
|
+
letterSpacing: `${No(X / G)}em`
|
|
2717
|
+
} : {}, v, g), R = {
|
|
2701
2718
|
h1: b(i, 96, 1.167, -1.5),
|
|
2702
2719
|
h2: b(i, 60, 1.2, -0.5),
|
|
2703
2720
|
h3: b(s, 48, 1.167, 0),
|
|
@@ -2729,16 +2746,16 @@ function Bo(e, r) {
|
|
|
2729
2746
|
fontWeightRegular: s,
|
|
2730
2747
|
fontWeightMedium: f,
|
|
2731
2748
|
fontWeightBold: d
|
|
2732
|
-
},
|
|
2749
|
+
}, R), l, {
|
|
2733
2750
|
clone: !1
|
|
2734
2751
|
// No need to clone deep
|
|
2735
2752
|
});
|
|
2736
2753
|
}
|
|
2737
|
-
const
|
|
2754
|
+
const Wo = 0.2, Lo = 0.14, Uo = 0.12;
|
|
2738
2755
|
function K(...e) {
|
|
2739
|
-
return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${
|
|
2756
|
+
return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Wo})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Lo})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Uo})`].join(",");
|
|
2740
2757
|
}
|
|
2741
|
-
const
|
|
2758
|
+
const Yo = ["none", K(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), K(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), K(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), K(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), K(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), K(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), K(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), K(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), K(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), K(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), K(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), K(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), K(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), K(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), K(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), K(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), K(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), K(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), K(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), K(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), K(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), K(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), K(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), K(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], zo = Yo, Go = ["duration", "easing", "delay"], Vo = {
|
|
2742
2759
|
// This is the most common easing curve.
|
|
2743
2760
|
easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
2744
2761
|
// Objects enter the screen at full velocity from off-screen and
|
|
@@ -2748,7 +2765,7 @@ const Uo = ["none", K(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), K(0, 3, 1, -2, 0, 2,
|
|
|
2748
2765
|
easeIn: "cubic-bezier(0.4, 0, 1, 1)",
|
|
2749
2766
|
// The sharp curve is used by objects that may return to the screen at any time.
|
|
2750
2767
|
sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
|
|
2751
|
-
},
|
|
2768
|
+
}, Ko = {
|
|
2752
2769
|
shortest: 150,
|
|
2753
2770
|
shorter: 200,
|
|
2754
2771
|
short: 250,
|
|
@@ -2764,22 +2781,22 @@ const Uo = ["none", K(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), K(0, 3, 1, -2, 0, 2,
|
|
|
2764
2781
|
function pt(e) {
|
|
2765
2782
|
return `${Math.round(e)}ms`;
|
|
2766
2783
|
}
|
|
2767
|
-
function
|
|
2784
|
+
function qo(e) {
|
|
2768
2785
|
if (!e)
|
|
2769
2786
|
return 0;
|
|
2770
2787
|
const r = e / 36;
|
|
2771
2788
|
return Math.round((4 + 15 * r ** 0.25 + r / 5) * 10);
|
|
2772
2789
|
}
|
|
2773
|
-
function
|
|
2774
|
-
const r = ie({},
|
|
2790
|
+
function Ho(e) {
|
|
2791
|
+
const r = ie({}, Vo, e.easing), o = ie({}, Ko, e.duration);
|
|
2775
2792
|
return ie({
|
|
2776
|
-
getAutoHeightDuration:
|
|
2793
|
+
getAutoHeightDuration: qo,
|
|
2777
2794
|
create: (a = ["all"], i = {}) => {
|
|
2778
2795
|
const {
|
|
2779
2796
|
duration: s = o.standard,
|
|
2780
2797
|
easing: f = r.easeInOut,
|
|
2781
2798
|
delay: d = 0
|
|
2782
|
-
} = i, p =
|
|
2799
|
+
} = i, p = Ue(i, Go);
|
|
2783
2800
|
if (process.env.NODE_ENV !== "production") {
|
|
2784
2801
|
const g = (l) => typeof l == "string", m = (l) => !isNaN(parseFloat(l));
|
|
2785
2802
|
!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(`
|
|
@@ -2792,7 +2809,7 @@ function Ko(e) {
|
|
|
2792
2809
|
duration: o
|
|
2793
2810
|
});
|
|
2794
2811
|
}
|
|
2795
|
-
const
|
|
2812
|
+
const Jo = {
|
|
2796
2813
|
mobileStepper: 1e3,
|
|
2797
2814
|
fab: 1050,
|
|
2798
2815
|
speedDial: 1050,
|
|
@@ -2801,25 +2818,25 @@ const qo = {
|
|
|
2801
2818
|
modal: 1300,
|
|
2802
2819
|
snackbar: 1400,
|
|
2803
2820
|
tooltip: 1500
|
|
2804
|
-
},
|
|
2805
|
-
function
|
|
2821
|
+
}, Xo = Jo, Zo = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
|
|
2822
|
+
function Qo(e = {}, ...r) {
|
|
2806
2823
|
const {
|
|
2807
2824
|
mixins: o = {},
|
|
2808
2825
|
palette: n = {},
|
|
2809
2826
|
transitions: a = {},
|
|
2810
2827
|
typography: i = {}
|
|
2811
|
-
} = e, s =
|
|
2828
|
+
} = e, s = Ue(e, Zo);
|
|
2812
2829
|
if (e.vars)
|
|
2813
|
-
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name." :
|
|
2814
|
-
const f =
|
|
2830
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name." : Le(18));
|
|
2831
|
+
const f = Do(n), d = yo(e);
|
|
2815
2832
|
let p = Ce(d, {
|
|
2816
|
-
mixins:
|
|
2833
|
+
mixins: xo(d.breakpoints, o),
|
|
2817
2834
|
palette: f,
|
|
2818
2835
|
// Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
|
|
2819
|
-
shadows:
|
|
2820
|
-
typography:
|
|
2821
|
-
transitions:
|
|
2822
|
-
zIndex: ie({},
|
|
2836
|
+
shadows: zo.slice(),
|
|
2837
|
+
typography: Fo(f, i),
|
|
2838
|
+
transitions: Ho(a),
|
|
2839
|
+
zIndex: ie({}, Xo)
|
|
2823
2840
|
});
|
|
2824
2841
|
if (p = Ce(p, s), p = r.reduce((g, m) => Ce(g, m), p), process.env.NODE_ENV !== "production") {
|
|
2825
2842
|
const g = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], m = (l, E) => {
|
|
@@ -2828,10 +2845,10 @@ function Xo(e = {}, ...r) {
|
|
|
2828
2845
|
const b = l[A];
|
|
2829
2846
|
if (g.indexOf(A) !== -1 && Object.keys(b).length > 0) {
|
|
2830
2847
|
if (process.env.NODE_ENV !== "production") {
|
|
2831
|
-
const
|
|
2832
|
-
console.error([`MUI: The \`${E}\` 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 '&.${
|
|
2848
|
+
const R = bn("", A);
|
|
2849
|
+
console.error([`MUI: The \`${E}\` 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 '&.${R}' syntax:`, JSON.stringify({
|
|
2833
2850
|
root: {
|
|
2834
|
-
[`&.${
|
|
2851
|
+
[`&.${R}`]: b
|
|
2835
2852
|
}
|
|
2836
2853
|
}, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
|
|
2837
2854
|
`));
|
|
@@ -2852,7 +2869,7 @@ function Xo(e = {}, ...r) {
|
|
|
2852
2869
|
});
|
|
2853
2870
|
}, p;
|
|
2854
2871
|
}
|
|
2855
|
-
const
|
|
2872
|
+
const ea = {
|
|
2856
2873
|
MuiStepper: {
|
|
2857
2874
|
styleOverrides: {
|
|
2858
2875
|
root: {
|
|
@@ -2917,7 +2934,7 @@ const Zo = {
|
|
|
2917
2934
|
})
|
|
2918
2935
|
}
|
|
2919
2936
|
}
|
|
2920
|
-
},
|
|
2937
|
+
}, ra = {
|
|
2921
2938
|
50: "#ede7f6",
|
|
2922
2939
|
100: "#d1c4e9",
|
|
2923
2940
|
200: "#b39ddb",
|
|
@@ -2932,7 +2949,7 @@ const Zo = {
|
|
|
2932
2949
|
A200: "#7c4dff",
|
|
2933
2950
|
A400: "#651fff",
|
|
2934
2951
|
A700: "#6200ea"
|
|
2935
|
-
}, ce =
|
|
2952
|
+
}, ce = ra, ta = {
|
|
2936
2953
|
50: "#e0f7fa",
|
|
2937
2954
|
100: "#b2ebf2",
|
|
2938
2955
|
200: "#80deea",
|
|
@@ -2947,7 +2964,7 @@ const Zo = {
|
|
|
2947
2964
|
A200: "#18ffff",
|
|
2948
2965
|
A400: "#00e5ff",
|
|
2949
2966
|
A700: "#00b8d4"
|
|
2950
|
-
}, de =
|
|
2967
|
+
}, de = ta, na = {
|
|
2951
2968
|
50: "#f1f8e9",
|
|
2952
2969
|
100: "#dcedc8",
|
|
2953
2970
|
200: "#c5e1a5",
|
|
@@ -2962,7 +2979,7 @@ const Zo = {
|
|
|
2962
2979
|
A200: "#b2ff59",
|
|
2963
2980
|
A400: "#76ff03",
|
|
2964
2981
|
A700: "#64dd17"
|
|
2965
|
-
}, xe =
|
|
2982
|
+
}, xe = na, oa = {
|
|
2966
2983
|
50: "#fffde7",
|
|
2967
2984
|
100: "#fff9c4",
|
|
2968
2985
|
200: "#fff59d",
|
|
@@ -2977,7 +2994,7 @@ const Zo = {
|
|
|
2977
2994
|
A200: "#ffff00",
|
|
2978
2995
|
A400: "#ffea00",
|
|
2979
2996
|
A700: "#ffd600"
|
|
2980
|
-
}, ue =
|
|
2997
|
+
}, ue = oa, j = {
|
|
2981
2998
|
blue600: "#1389F6",
|
|
2982
2999
|
blue700: "#287DFD",
|
|
2983
3000
|
blue800: "#285AE6",
|
|
@@ -3228,12 +3245,12 @@ const Zo = {
|
|
|
3228
3245
|
disabledBackground: ne[200],
|
|
3229
3246
|
disabled: ne[700]
|
|
3230
3247
|
}
|
|
3231
|
-
}, gt = "0.15px",
|
|
3248
|
+
}, gt = "0.15px", aa = "5.5px", ga = Qo({
|
|
3232
3249
|
typography: {
|
|
3233
3250
|
fontFamily: ["Inter", "sans-serif"].join(",")
|
|
3234
3251
|
},
|
|
3235
3252
|
components: {
|
|
3236
|
-
...
|
|
3253
|
+
...ea,
|
|
3237
3254
|
MuiAutocomplete: {
|
|
3238
3255
|
defaultProps: {
|
|
3239
3256
|
ChipProps: {
|
|
@@ -3442,7 +3459,7 @@ const Zo = {
|
|
|
3442
3459
|
MuiFormControl: {
|
|
3443
3460
|
styleOverrides: {
|
|
3444
3461
|
root: {
|
|
3445
|
-
gap:
|
|
3462
|
+
gap: aa
|
|
3446
3463
|
}
|
|
3447
3464
|
}
|
|
3448
3465
|
},
|
|
@@ -3513,12 +3530,12 @@ const Zo = {
|
|
|
3513
3530
|
palette: D
|
|
3514
3531
|
});
|
|
3515
3532
|
export {
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
|
|
3533
|
+
ua as DemoComponent,
|
|
3534
|
+
la as HeaderMetadata,
|
|
3535
|
+
pa as HeaderSubtitle,
|
|
3536
|
+
ca as InkPageHeader,
|
|
3537
|
+
fa as LinkBreadcrumbs,
|
|
3538
|
+
ga as MovableUITheme,
|
|
3539
|
+
da as PageHeaderActionButtons
|
|
3523
3540
|
};
|
|
3524
3541
|
//# sourceMappingURL=index.mjs.map
|