@movable/ui 0.13.0 → 0.14.0
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/index.mjs +142 -138
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.mjs
CHANGED
|
@@ -20,14 +20,14 @@ function Zt() {
|
|
|
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
22
|
function s(f, d, p) {
|
|
23
|
-
var g, m = {}, l = null,
|
|
24
|
-
p !== void 0 && (l = "" + p), d.key !== void 0 && (l = "" + d.key), d.ref !== void 0 && (
|
|
23
|
+
var g, m = {}, l = null, E = null;
|
|
24
|
+
p !== void 0 && (l = "" + p), d.key !== void 0 && (l = "" + d.key), d.ref !== void 0 && (E = d.ref);
|
|
25
25
|
for (g in d)
|
|
26
26
|
n.call(d, g) && !i.hasOwnProperty(g) && (m[g] = d[g]);
|
|
27
27
|
if (f && f.defaultProps)
|
|
28
28
|
for (g in d = f.defaultProps, d)
|
|
29
29
|
m[g] === void 0 && (m[g] = d[g]);
|
|
30
|
-
return { $$typeof: r, type: f, key: l, ref:
|
|
30
|
+
return { $$typeof: r, type: f, key: l, ref: E, 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"), 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"),
|
|
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
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 === p || t === g || Ye || t ===
|
|
75
|
+
return !!(typeof t == "string" || typeof t == "function" || t === n || t === i || ze || t === a || t === p || t === g || Ye || t === E || 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.
|
|
@@ -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, x, 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, x = 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: x
|
|
189
189
|
}),
|
|
190
190
|
groupEnd: fe({}, t, {
|
|
191
191
|
value: P
|
|
@@ -719,7 +719,7 @@ 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, 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,
|
|
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, 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;
|
|
@@ -738,7 +738,7 @@ function tn() {
|
|
|
738
738
|
case f:
|
|
739
739
|
case g:
|
|
740
740
|
case A:
|
|
741
|
-
case
|
|
741
|
+
case E:
|
|
742
742
|
case s:
|
|
743
743
|
return v;
|
|
744
744
|
default:
|
|
@@ -753,7 +753,7 @@ function tn() {
|
|
|
753
753
|
function X(v) {
|
|
754
754
|
return H(v) === p;
|
|
755
755
|
}
|
|
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 =
|
|
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 = E, W.Portal = o, W.Profiler = i, W.StrictMode = a, W.Suspense = m, W.isAsyncMode = function(v) {
|
|
757
757
|
return X(v) || H(v) === d;
|
|
758
758
|
}, W.isConcurrentMode = X, W.isContextConsumer = function(v) {
|
|
759
759
|
return H(v) === f;
|
|
@@ -768,7 +768,7 @@ function tn() {
|
|
|
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) === E;
|
|
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 === p || v === i || v === a || v === m || v === l || typeof v == "object" && v !== null && (v.$$typeof === A || v.$$typeof ===
|
|
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 === 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, 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,
|
|
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, 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 === p || h === i || h === a || h === m || h === l || typeof h == "object" && h !== null && (h.$$typeof === A || h.$$typeof ===
|
|
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 === 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) {
|
|
@@ -818,7 +818,7 @@ function nn() {
|
|
|
818
818
|
case f:
|
|
819
819
|
case g:
|
|
820
820
|
case A:
|
|
821
|
-
case
|
|
821
|
+
case E:
|
|
822
822
|
case s:
|
|
823
823
|
return Pe;
|
|
824
824
|
default:
|
|
@@ -830,14 +830,14 @@ function nn() {
|
|
|
830
830
|
}
|
|
831
831
|
}
|
|
832
832
|
}
|
|
833
|
-
var v = d, Ae = p, Ye = f, ze = s, $e = r, Ge = g, ke = n, je = A, ge =
|
|
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, we = !1;
|
|
834
834
|
function Ie(h) {
|
|
835
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
838
|
return X(h) === p;
|
|
839
839
|
}
|
|
840
|
-
function
|
|
840
|
+
function x(h) {
|
|
841
841
|
return X(h) === f;
|
|
842
842
|
}
|
|
843
843
|
function P(h) {
|
|
@@ -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) === E;
|
|
860
860
|
}
|
|
861
861
|
function S(h) {
|
|
862
862
|
return X(h) === o;
|
|
@@ -870,7 +870,7 @@ 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 = x, 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;
|
|
@@ -882,10 +882,10 @@ object-assign
|
|
|
882
882
|
(c) Sindre Sorhus
|
|
883
883
|
@license MIT
|
|
884
884
|
*/
|
|
885
|
-
var
|
|
885
|
+
var xr, Zr;
|
|
886
886
|
function on() {
|
|
887
887
|
if (Zr)
|
|
888
|
-
return
|
|
888
|
+
return xr;
|
|
889
889
|
Zr = 1;
|
|
890
890
|
var e = Object.getOwnPropertySymbols, r = Object.prototype.hasOwnProperty, o = Object.prototype.propertyIsEnumerable;
|
|
891
891
|
function n(i) {
|
|
@@ -915,7 +915,7 @@ function on() {
|
|
|
915
915
|
return !1;
|
|
916
916
|
}
|
|
917
917
|
}
|
|
918
|
-
return
|
|
918
|
+
return xr = a() ? Object.assign : function(i, s) {
|
|
919
919
|
for (var f, d = n(i), p, g = 1; g < arguments.length; g++) {
|
|
920
920
|
f = Object(arguments[g]);
|
|
921
921
|
for (var m in f)
|
|
@@ -927,15 +927,15 @@ function on() {
|
|
|
927
927
|
}
|
|
928
928
|
}
|
|
929
929
|
return d;
|
|
930
|
-
},
|
|
930
|
+
}, xr;
|
|
931
931
|
}
|
|
932
|
-
var
|
|
932
|
+
var Er, Qr;
|
|
933
933
|
function Pr() {
|
|
934
934
|
if (Qr)
|
|
935
|
-
return
|
|
935
|
+
return Er;
|
|
936
936
|
Qr = 1;
|
|
937
937
|
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
938
|
-
return
|
|
938
|
+
return Er = e, Er;
|
|
939
939
|
}
|
|
940
940
|
var Ar, et;
|
|
941
941
|
function vt() {
|
|
@@ -979,9 +979,9 @@ function an() {
|
|
|
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 E = p ? p() : "";
|
|
983
983
|
e(
|
|
984
|
-
"Failed " + f + " type: " + m.message + (
|
|
984
|
+
"Failed " + f + " type: " + m.message + (E ?? "")
|
|
985
985
|
);
|
|
986
986
|
}
|
|
987
987
|
}
|
|
@@ -1012,11 +1012,11 @@ function sn() {
|
|
|
1012
1012
|
return Or = function(f, d) {
|
|
1013
1013
|
var p = typeof Symbol == "function" && Symbol.iterator, g = "@@iterator";
|
|
1014
1014
|
function m(c) {
|
|
1015
|
-
var
|
|
1016
|
-
if (typeof
|
|
1017
|
-
return
|
|
1015
|
+
var x = c && (p && c[p] || c[g]);
|
|
1016
|
+
if (typeof x == "function")
|
|
1017
|
+
return x;
|
|
1018
1018
|
}
|
|
1019
|
-
var l = "<<anonymous>>",
|
|
1019
|
+
var l = "<<anonymous>>", E = {
|
|
1020
1020
|
array: N("array"),
|
|
1021
1021
|
bigint: N("bigint"),
|
|
1022
1022
|
bool: N("boolean"),
|
|
@@ -1037,16 +1037,16 @@ function sn() {
|
|
|
1037
1037
|
shape: je,
|
|
1038
1038
|
exact: ge
|
|
1039
1039
|
};
|
|
1040
|
-
function A(c,
|
|
1041
|
-
return c ===
|
|
1040
|
+
function A(c, x) {
|
|
1041
|
+
return c === x ? c !== 0 || 1 / c === 1 / x : c !== c && x !== x;
|
|
1042
1042
|
}
|
|
1043
|
-
function b(c,
|
|
1044
|
-
this.message = c, this.data =
|
|
1043
|
+
function b(c, x) {
|
|
1044
|
+
this.message = c, this.data = x && typeof x == "object" ? x : {}, 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 x = {}, P = 0;
|
|
1050
1050
|
function R(I, _, C, S, B, $, se) {
|
|
1051
1051
|
if (S = S || l, $ = $ || C, se !== o) {
|
|
1052
1052
|
if (d) {
|
|
@@ -1056,10 +1056,10 @@ function sn() {
|
|
|
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
|
+
!x[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
|
+
), x[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 x(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(x);
|
|
1083
1083
|
}
|
|
1084
1084
|
function G() {
|
|
1085
1085
|
return w(s);
|
|
1086
1086
|
}
|
|
1087
1087
|
function H(c) {
|
|
1088
|
-
function
|
|
1088
|
+
function x(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,11 +1100,11 @@ function sn() {
|
|
|
1100
1100
|
}
|
|
1101
1101
|
return null;
|
|
1102
1102
|
}
|
|
1103
|
-
return w(
|
|
1103
|
+
return w(x);
|
|
1104
1104
|
}
|
|
1105
1105
|
function X() {
|
|
1106
|
-
function c(
|
|
1107
|
-
var _ =
|
|
1106
|
+
function c(x, P, R, O, I) {
|
|
1107
|
+
var _ = x[P];
|
|
1108
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."));
|
|
@@ -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(x, P, R, O, I) {
|
|
1118
|
+
var _ = x[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 x(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(x);
|
|
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 x(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(x);
|
|
1153
1153
|
}
|
|
1154
1154
|
function ze(c) {
|
|
1155
|
-
function
|
|
1155
|
+
function x(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(x);
|
|
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 x = 0; x < c.length; x++) {
|
|
1175
|
+
var P = c[x];
|
|
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 " + x + "."
|
|
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(x, P, R, O, I) {
|
|
1195
|
+
return fe(x[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, x, P, R, O) {
|
|
1200
1200
|
return new b(
|
|
1201
|
-
(c || "React class") + ": " +
|
|
1201
|
+
(c || "React class") + ": " + x + " 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 x(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(x);
|
|
1220
1220
|
}
|
|
1221
1221
|
function ge(c) {
|
|
1222
|
-
function
|
|
1222
|
+
function x(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(x);
|
|
1243
1243
|
}
|
|
1244
1244
|
function fe(c) {
|
|
1245
1245
|
switch (typeof c) {
|
|
@@ -1254,10 +1254,10 @@ Valid keys: ` + JSON.stringify(Object.keys(c), null, " ")
|
|
|
1254
1254
|
return c.every(fe);
|
|
1255
1255
|
if (c === null || f(c))
|
|
1256
1256
|
return !0;
|
|
1257
|
-
var
|
|
1258
|
-
if (
|
|
1259
|
-
var P =
|
|
1260
|
-
if (
|
|
1257
|
+
var x = m(c);
|
|
1258
|
+
if (x) {
|
|
1259
|
+
var P = x.call(c), R;
|
|
1260
|
+
if (x !== 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, x) {
|
|
1278
|
+
return c === "symbol" ? !0 : x ? x["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && x 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 x = typeof c;
|
|
1282
|
+
return Array.isArray(c) ? "array" : c instanceof RegExp ? "object" : Te(x, c) ? "symbol" : x;
|
|
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 x = ye(c);
|
|
1288
|
+
if (x === "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 x;
|
|
1295
1295
|
}
|
|
1296
1296
|
function we(c) {
|
|
1297
|
-
var
|
|
1298
|
-
switch (
|
|
1297
|
+
var x = ve(c);
|
|
1298
|
+
switch (x) {
|
|
1299
1299
|
case "array":
|
|
1300
1300
|
case "object":
|
|
1301
|
-
return "an " +
|
|
1301
|
+
return "an " + x;
|
|
1302
1302
|
case "boolean":
|
|
1303
1303
|
case "date":
|
|
1304
1304
|
case "regexp":
|
|
1305
|
-
return "a " +
|
|
1305
|
+
return "a " + x;
|
|
1306
1306
|
default:
|
|
1307
|
-
return
|
|
1307
|
+
return x;
|
|
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 E.checkPropTypes = a, E.resetWarningCache = a.resetWarningCache, E.PropTypes = E, E;
|
|
1314
1314
|
}, Or;
|
|
1315
1315
|
}
|
|
1316
1316
|
var _r, nt;
|
|
@@ -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 xt(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);
|
|
@@ -1453,16 +1453,16 @@ function vn(e) {
|
|
|
1453
1453
|
function d(l) {
|
|
1454
1454
|
return `@media (max-width:${(typeof r[l] == "number" ? r[l] : l) - n / 100}${o})`;
|
|
1455
1455
|
}
|
|
1456
|
-
function p(l,
|
|
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, E) {
|
|
1457
|
+
const A = s.indexOf(E);
|
|
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]] : E) - n / 100}${o})`;
|
|
1459
1459
|
}
|
|
1460
1460
|
function g(l) {
|
|
1461
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 E = s.indexOf(l);
|
|
1465
|
+
return E === 0 ? f(s[1]) : E === s.length - 1 ? d(s[E]) : p(l, s[s.indexOf(l) + 1]).replace("@media", "@media not all and");
|
|
1466
1466
|
}
|
|
1467
1467
|
return ie({
|
|
1468
1468
|
keys: s,
|
|
@@ -1475,9 +1475,9 @@ function vn(e) {
|
|
|
1475
1475
|
unit: o
|
|
1476
1476
|
}, a);
|
|
1477
1477
|
}
|
|
1478
|
-
const
|
|
1478
|
+
const xn = {
|
|
1479
1479
|
borderRadius: 4
|
|
1480
|
-
},
|
|
1480
|
+
}, En = xn, 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
|
|
@@ -1561,7 +1561,7 @@ function L(e) {
|
|
|
1561
1561
|
const f = s[r], d = s.theme, p = ar(d, n) || {};
|
|
1562
1562
|
return Ce(s, f, (m) => {
|
|
1563
1563
|
let l = or(p, a, m);
|
|
1564
|
-
return m === l && typeof m == "string" && (l = or(p, a, `${r}${m === "default" ? "" :
|
|
1564
|
+
return m === l && typeof m == "string" && (l = or(p, a, `${r}${m === "default" ? "" : xt(m)}`, m)), o === !1 ? l : {
|
|
1565
1565
|
[o]: l
|
|
1566
1566
|
};
|
|
1567
1567
|
});
|
|
@@ -1607,7 +1607,7 @@ function Qe(e, r, o, n) {
|
|
|
1607
1607
|
`)), () => {
|
|
1608
1608
|
});
|
|
1609
1609
|
}
|
|
1610
|
-
function
|
|
1610
|
+
function Et(e) {
|
|
1611
1611
|
return Qe(e, "spacing", 8, "spacing");
|
|
1612
1612
|
}
|
|
1613
1613
|
function er(e, r) {
|
|
@@ -1626,7 +1626,7 @@ 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 = Et(e.theme);
|
|
1630
1630
|
return Object.keys(e).map((n) => $n(e, r, n, o)).reduce(Je, {});
|
|
1631
1631
|
}
|
|
1632
1632
|
function Z(e) {
|
|
@@ -1643,7 +1643,7 @@ 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 = Et({
|
|
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);
|
|
@@ -1657,29 +1657,29 @@ function ur(...e) {
|
|
|
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 Ee(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: Ee
|
|
1667
1667
|
}), In = L({
|
|
1668
1668
|
prop: "borderTop",
|
|
1669
1669
|
themeKey: "borders",
|
|
1670
|
-
transform:
|
|
1670
|
+
transform: Ee
|
|
1671
1671
|
}), Mn = L({
|
|
1672
1672
|
prop: "borderRight",
|
|
1673
1673
|
themeKey: "borders",
|
|
1674
|
-
transform:
|
|
1674
|
+
transform: Ee
|
|
1675
1675
|
}), Dn = L({
|
|
1676
1676
|
prop: "borderBottom",
|
|
1677
1677
|
themeKey: "borders",
|
|
1678
|
-
transform:
|
|
1678
|
+
transform: Ee
|
|
1679
1679
|
}), Bn = L({
|
|
1680
1680
|
prop: "borderLeft",
|
|
1681
1681
|
themeKey: "borders",
|
|
1682
|
-
transform:
|
|
1682
|
+
transform: Ee
|
|
1683
1683
|
}), Nn = L({
|
|
1684
1684
|
prop: "borderColor",
|
|
1685
1685
|
themeKey: "palette"
|
|
@@ -1841,23 +1841,23 @@ const so = {
|
|
|
1841
1841
|
// borders
|
|
1842
1842
|
border: {
|
|
1843
1843
|
themeKey: "borders",
|
|
1844
|
-
transform:
|
|
1844
|
+
transform: Ee
|
|
1845
1845
|
},
|
|
1846
1846
|
borderTop: {
|
|
1847
1847
|
themeKey: "borders",
|
|
1848
|
-
transform:
|
|
1848
|
+
transform: Ee
|
|
1849
1849
|
},
|
|
1850
1850
|
borderRight: {
|
|
1851
1851
|
themeKey: "borders",
|
|
1852
|
-
transform:
|
|
1852
|
+
transform: Ee
|
|
1853
1853
|
},
|
|
1854
1854
|
borderBottom: {
|
|
1855
1855
|
themeKey: "borders",
|
|
1856
|
-
transform:
|
|
1856
|
+
transform: Ee
|
|
1857
1857
|
},
|
|
1858
1858
|
borderLeft: {
|
|
1859
1859
|
themeKey: "borders",
|
|
1860
|
-
transform:
|
|
1860
|
+
transform: Ee
|
|
1861
1861
|
},
|
|
1862
1862
|
borderColor: {
|
|
1863
1863
|
themeKey: "palette"
|
|
@@ -2147,7 +2147,7 @@ function co() {
|
|
|
2147
2147
|
const l = ar(a, p) || {};
|
|
2148
2148
|
return m ? m(s) : Ce(s, n, (A) => {
|
|
2149
2149
|
let b = or(l, g, A);
|
|
2150
|
-
return A === b && typeof A == "string" && (b = or(l, g, `${o}${A === "default" ? "" :
|
|
2150
|
+
return A === b && typeof A == "string" && (b = or(l, g, `${o}${A === "default" ? "" : xt(A)}`, A)), d === !1 ? b : {
|
|
2151
2151
|
[d]: b
|
|
2152
2152
|
};
|
|
2153
2153
|
});
|
|
@@ -2171,25 +2171,25 @@ function co() {
|
|
|
2171
2171
|
return null;
|
|
2172
2172
|
const g = Tn(i.breakpoints), m = Object.keys(g);
|
|
2173
2173
|
let l = g;
|
|
2174
|
-
return Object.keys(p).forEach((
|
|
2175
|
-
const A = lo(p[
|
|
2174
|
+
return Object.keys(p).forEach((E) => {
|
|
2175
|
+
const A = lo(p[E], i);
|
|
2176
2176
|
if (A != null)
|
|
2177
2177
|
if (typeof A == "object")
|
|
2178
|
-
if (s[
|
|
2179
|
-
l = Je(l, e(
|
|
2178
|
+
if (s[E])
|
|
2179
|
+
l = Je(l, e(E, A, i, s));
|
|
2180
2180
|
else {
|
|
2181
2181
|
const b = Ce({
|
|
2182
2182
|
theme: i
|
|
2183
2183
|
}, A, (w) => ({
|
|
2184
|
-
[
|
|
2184
|
+
[E]: w
|
|
2185
2185
|
}));
|
|
2186
|
-
uo(b, A) ? l[
|
|
2186
|
+
uo(b, A) ? l[E] = 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(E, A, i, s));
|
|
2193
2193
|
}), On(m, l);
|
|
2194
2194
|
}
|
|
2195
2195
|
return Array.isArray(a) ? a.map(f) : f(a);
|
|
@@ -2215,7 +2215,7 @@ function po(e = {}, ...r) {
|
|
|
2215
2215
|
mode: "light"
|
|
2216
2216
|
}, n),
|
|
2217
2217
|
spacing: d,
|
|
2218
|
-
shape: ie({},
|
|
2218
|
+
shape: ie({}, En, i)
|
|
2219
2219
|
}, s);
|
|
2220
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({
|
|
@@ -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, xo = {
|
|
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 = xo, Eo = {
|
|
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 = Eo, Ao = {
|
|
2360
2360
|
50: "#ffebee",
|
|
2361
2361
|
100: "#ffcdd2",
|
|
2362
2362
|
200: "#ef9a9a",
|
|
@@ -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
|
+
}, E = {
|
|
2610
2610
|
dark: Cr,
|
|
2611
2611
|
light: lt
|
|
2612
2612
|
};
|
|
2613
|
-
return process.env.NODE_ENV !== "production" && (
|
|
2613
|
+
return process.env.NODE_ENV !== "production" && (E[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.
|
|
@@ -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
|
+
}, E[r]), a);
|
|
2666
2666
|
}
|
|
2667
2667
|
const Mo = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
|
|
2668
2668
|
function Do(e) {
|
|
@@ -2689,7 +2689,7 @@ function Bo(e, r) {
|
|
|
2689
2689
|
pxToRem: m
|
|
2690
2690
|
} = o, l = Le(o, Mo);
|
|
2691
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
|
|
2692
|
+
const E = a / 14, A = m || ((N) => `${N / p * E}rem`), b = (N, G, H, X, v) => ie({
|
|
2693
2693
|
fontFamily: n,
|
|
2694
2694
|
fontWeight: N,
|
|
2695
2695
|
fontSize: A(G),
|
|
@@ -2822,14 +2822,14 @@ function Xo(e = {}, ...r) {
|
|
|
2822
2822
|
zIndex: ie({}, Ho)
|
|
2823
2823
|
});
|
|
2824
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,
|
|
2825
|
+
const g = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], m = (l, E) => {
|
|
2826
2826
|
let A;
|
|
2827
2827
|
for (A in l) {
|
|
2828
2828
|
const b = l[A];
|
|
2829
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 \`${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 '&.${w}' syntax:`, JSON.stringify({
|
|
2833
2833
|
root: {
|
|
2834
2834
|
[`&.${w}`]: b
|
|
2835
2835
|
}
|
|
@@ -2841,8 +2841,8 @@ function Xo(e = {}, ...r) {
|
|
|
2841
2841
|
}
|
|
2842
2842
|
};
|
|
2843
2843
|
Object.keys(p.components).forEach((l) => {
|
|
2844
|
-
const
|
|
2845
|
-
|
|
2844
|
+
const E = p.components[l].styleOverrides;
|
|
2845
|
+
E && l.indexOf("Mui") === 0 && m(E, l);
|
|
2846
2846
|
});
|
|
2847
2847
|
}
|
|
2848
2848
|
return p.unstable_sxConfig = ie({}, kr, s == null ? void 0 : s.unstable_sxConfig), p.unstable_sx = function(m) {
|
|
@@ -2897,7 +2897,7 @@ const Zo = {
|
|
|
2897
2897
|
A200: "#b2ff59",
|
|
2898
2898
|
A400: "#76ff03",
|
|
2899
2899
|
A700: "#64dd17"
|
|
2900
|
-
},
|
|
2900
|
+
}, xe = 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: xe[50],
|
|
2991
|
+
lightGreen100: xe[100],
|
|
2992
|
+
lightGreen200: xe[200],
|
|
2993
|
+
lightGreen300: xe[300],
|
|
2994
|
+
lightGreen400: xe[400],
|
|
2995
|
+
lightGreen500: xe[500],
|
|
2996
|
+
lightGreen600: xe[600],
|
|
2997
|
+
lightGreen700: xe[700],
|
|
2998
|
+
lightGreen800: xe[800],
|
|
2999
|
+
lightGreen900: xe[900],
|
|
3000
3000
|
neutral00: j.neutral00,
|
|
3001
3001
|
neutral50: ne[50],
|
|
3002
3002
|
neutral100: ne[100],
|
|
@@ -3207,8 +3207,8 @@ const Zo = {
|
|
|
3207
3207
|
letterSpacing: "0.46px",
|
|
3208
3208
|
minWidth: "unset",
|
|
3209
3209
|
borderRadius: e.spacing(1),
|
|
3210
|
-
"&:active": {
|
|
3211
|
-
|
|
3210
|
+
"&:active,&.Mui-focusVisible,&:focus,&:focus-visible": {
|
|
3211
|
+
outline: `1px solid ${D.primary.light}`
|
|
3212
3212
|
},
|
|
3213
3213
|
"&.Mui-disabled": {
|
|
3214
3214
|
backgroundColor: D.neutral200,
|
|
@@ -3423,6 +3423,10 @@ const Zo = {
|
|
|
3423
3423
|
border: `1px solid ${e.palette.error.main}`,
|
|
3424
3424
|
backgroundColor: "transparent"
|
|
3425
3425
|
},
|
|
3426
|
+
"&.Mui-readOnly": {
|
|
3427
|
+
border: `1px solid ${e.palette.neutral200}`,
|
|
3428
|
+
backgroundColor: "inherit"
|
|
3429
|
+
},
|
|
3426
3430
|
"&": {
|
|
3427
3431
|
padding: e.spacing(1, 1.5),
|
|
3428
3432
|
...r.size === "small" && {
|