@js-smart/react-kit 5.14.0 → 5.16.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/index.js +19 -19
- package/index.mjs +918 -926
- package/lib/components/DismissibleAlert.d.ts +1 -0
- package/lib/components/NextLink.d.ts +1 -0
- package/lib/components/OpenInNewIconLink.d.ts +1 -0
- package/lib/components/buttons/CancelButton.d.ts +1 -0
- package/lib/components/buttons/DeleteButton.d.ts +1 -0
- package/lib/components/buttons/EditIconButton.d.ts +1 -0
- package/lib/components/buttons/ExcelButton.d.ts +1 -0
- package/lib/components/buttons/GoBackButton.d.ts +1 -0
- package/lib/components/buttons/HistoryButton.d.ts +1 -0
- package/lib/components/buttons/LoadingSuccessButton.d.ts +1 -0
- package/lib/components/buttons/ManageButton.d.ts +1 -0
- package/lib/components/buttons/SuccessButton.d.ts +1 -0
- package/package.json +2 -1
package/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as Ce, jsx as E, Fragment as Tr } from "react/jsx-runtime";
|
|
2
|
-
import { Button as be, Tooltip as xr, IconButton as ye, Snackbar as
|
|
2
|
+
import { Button as be, Tooltip as xr, IconButton as ye, Snackbar as Xe, Alert as je, Slide as Or, CircularProgress as Zr, Dialog as en, DialogTitle as tn, DialogContent as rn, DialogActions as nn, Link as wr, Icon as on, Box as $r, Typography as an } from "@mui/material";
|
|
3
3
|
import * as pe from "react";
|
|
4
|
-
import { useState as
|
|
4
|
+
import { useState as Me, useEffect as _r } from "react";
|
|
5
5
|
import sn from "@emotion/styled";
|
|
6
6
|
import { ThemeContext as cn } from "@emotion/react";
|
|
7
7
|
import { Link as Ar } from "react-router-dom";
|
|
@@ -32,7 +32,7 @@ function _e(e) {
|
|
|
32
32
|
function dn(e) {
|
|
33
33
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
34
34
|
}
|
|
35
|
-
var
|
|
35
|
+
var He = { exports: {} }, Ge = { exports: {} }, z = {};
|
|
36
36
|
/** @license React v16.13.1
|
|
37
37
|
* react-is.production.min.js
|
|
38
38
|
*
|
|
@@ -45,14 +45,14 @@ var jt;
|
|
|
45
45
|
function mn() {
|
|
46
46
|
if (jt) return z;
|
|
47
47
|
jt = 1;
|
|
48
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110,
|
|
49
|
-
function
|
|
48
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, v = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, l = e ? Symbol.for("react.block") : 60121, C = e ? Symbol.for("react.fundamental") : 60117, _ = e ? Symbol.for("react.responder") : 60118, M = e ? Symbol.for("react.scope") : 60119;
|
|
49
|
+
function D(b) {
|
|
50
50
|
if (typeof b == "object" && b !== null) {
|
|
51
|
-
var
|
|
52
|
-
switch (
|
|
51
|
+
var w = b.$$typeof;
|
|
52
|
+
switch (w) {
|
|
53
53
|
case t:
|
|
54
54
|
switch (b = b.type, b) {
|
|
55
|
-
case
|
|
55
|
+
case f:
|
|
56
56
|
case d:
|
|
57
57
|
case n:
|
|
58
58
|
case i:
|
|
@@ -63,49 +63,49 @@ function mn() {
|
|
|
63
63
|
switch (b = b && b.$$typeof, b) {
|
|
64
64
|
case c:
|
|
65
65
|
case m:
|
|
66
|
-
case
|
|
67
|
-
case
|
|
66
|
+
case y:
|
|
67
|
+
case v:
|
|
68
68
|
case s:
|
|
69
69
|
return b;
|
|
70
70
|
default:
|
|
71
|
-
return
|
|
71
|
+
return w;
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
case r:
|
|
75
|
-
return
|
|
75
|
+
return w;
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
|
-
function
|
|
80
|
-
return
|
|
79
|
+
function O(b) {
|
|
80
|
+
return D(b) === d;
|
|
81
81
|
}
|
|
82
|
-
return z.AsyncMode =
|
|
83
|
-
return
|
|
84
|
-
}, z.isConcurrentMode =
|
|
85
|
-
return
|
|
82
|
+
return z.AsyncMode = f, z.ConcurrentMode = d, z.ContextConsumer = c, z.ContextProvider = s, z.Element = t, z.ForwardRef = m, z.Fragment = n, z.Lazy = y, z.Memo = v, z.Portal = r, z.Profiler = i, z.StrictMode = o, z.Suspense = p, z.isAsyncMode = function(b) {
|
|
83
|
+
return O(b) || D(b) === f;
|
|
84
|
+
}, z.isConcurrentMode = O, z.isContextConsumer = function(b) {
|
|
85
|
+
return D(b) === c;
|
|
86
86
|
}, z.isContextProvider = function(b) {
|
|
87
|
-
return
|
|
87
|
+
return D(b) === s;
|
|
88
88
|
}, z.isElement = function(b) {
|
|
89
89
|
return typeof b == "object" && b !== null && b.$$typeof === t;
|
|
90
90
|
}, z.isForwardRef = function(b) {
|
|
91
|
-
return
|
|
91
|
+
return D(b) === m;
|
|
92
92
|
}, z.isFragment = function(b) {
|
|
93
|
-
return
|
|
93
|
+
return D(b) === n;
|
|
94
94
|
}, z.isLazy = function(b) {
|
|
95
|
-
return
|
|
95
|
+
return D(b) === y;
|
|
96
96
|
}, z.isMemo = function(b) {
|
|
97
|
-
return
|
|
97
|
+
return D(b) === v;
|
|
98
98
|
}, z.isPortal = function(b) {
|
|
99
|
-
return
|
|
99
|
+
return D(b) === r;
|
|
100
100
|
}, z.isProfiler = function(b) {
|
|
101
|
-
return
|
|
101
|
+
return D(b) === i;
|
|
102
102
|
}, z.isStrictMode = function(b) {
|
|
103
|
-
return
|
|
103
|
+
return D(b) === o;
|
|
104
104
|
}, z.isSuspense = function(b) {
|
|
105
|
-
return
|
|
105
|
+
return D(b) === p;
|
|
106
106
|
}, z.isValidElementType = function(b) {
|
|
107
|
-
return typeof b == "string" || typeof b == "function" || b === n || b === d || b === i || b === o || b === p || b === h || typeof b == "object" && b !== null && (b.$$typeof ===
|
|
108
|
-
}, z.typeOf =
|
|
107
|
+
return typeof b == "string" || typeof b == "function" || b === n || b === d || b === i || b === o || b === p || b === h || typeof b == "object" && b !== null && (b.$$typeof === y || b.$$typeof === v || b.$$typeof === s || b.$$typeof === c || b.$$typeof === m || b.$$typeof === C || b.$$typeof === _ || b.$$typeof === M || b.$$typeof === l);
|
|
108
|
+
}, z.typeOf = D, z;
|
|
109
109
|
}
|
|
110
110
|
var U = {};
|
|
111
111
|
/** @license React v16.13.1
|
|
@@ -119,32 +119,32 @@ var U = {};
|
|
|
119
119
|
var zt;
|
|
120
120
|
function pn() {
|
|
121
121
|
return zt || (zt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
122
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110,
|
|
123
|
-
function
|
|
122
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, v = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, l = e ? Symbol.for("react.block") : 60121, C = e ? Symbol.for("react.fundamental") : 60117, _ = e ? Symbol.for("react.responder") : 60118, M = e ? Symbol.for("react.scope") : 60119;
|
|
123
|
+
function D(T) {
|
|
124
124
|
return typeof T == "string" || typeof T == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
125
|
-
T === n || T === d || T === i || T === o || T === p || T === h || typeof T == "object" && T !== null && (T.$$typeof ===
|
|
125
|
+
T === n || T === d || T === i || T === o || T === p || T === h || typeof T == "object" && T !== null && (T.$$typeof === y || T.$$typeof === v || T.$$typeof === s || T.$$typeof === c || T.$$typeof === m || T.$$typeof === C || T.$$typeof === _ || T.$$typeof === M || T.$$typeof === l);
|
|
126
126
|
}
|
|
127
|
-
function
|
|
127
|
+
function O(T) {
|
|
128
128
|
if (typeof T == "object" && T !== null) {
|
|
129
129
|
var de = T.$$typeof;
|
|
130
130
|
switch (de) {
|
|
131
131
|
case t:
|
|
132
|
-
var
|
|
133
|
-
switch (
|
|
134
|
-
case
|
|
132
|
+
var We = T.type;
|
|
133
|
+
switch (We) {
|
|
134
|
+
case f:
|
|
135
135
|
case d:
|
|
136
136
|
case n:
|
|
137
137
|
case i:
|
|
138
138
|
case o:
|
|
139
139
|
case p:
|
|
140
|
-
return
|
|
140
|
+
return We;
|
|
141
141
|
default:
|
|
142
|
-
var Vt =
|
|
142
|
+
var Vt = We && We.$$typeof;
|
|
143
143
|
switch (Vt) {
|
|
144
144
|
case c:
|
|
145
145
|
case m:
|
|
146
|
-
case
|
|
147
|
-
case
|
|
146
|
+
case y:
|
|
147
|
+
case v:
|
|
148
148
|
case s:
|
|
149
149
|
return Vt;
|
|
150
150
|
default:
|
|
@@ -156,52 +156,52 @@ function pn() {
|
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
|
-
var b =
|
|
160
|
-
function
|
|
161
|
-
return
|
|
159
|
+
var b = f, w = d, Q = c, re = s, q = t, oe = m, J = n, a = y, $ = v, S = r, A = i, B = o, ne = p, fe = !1;
|
|
160
|
+
function ht(T) {
|
|
161
|
+
return fe || (fe = !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.")), g(T) || O(T) === f;
|
|
162
162
|
}
|
|
163
|
-
function
|
|
164
|
-
return
|
|
163
|
+
function g(T) {
|
|
164
|
+
return O(T) === d;
|
|
165
165
|
}
|
|
166
|
-
function
|
|
167
|
-
return
|
|
166
|
+
function x(T) {
|
|
167
|
+
return O(T) === c;
|
|
168
168
|
}
|
|
169
|
-
function
|
|
170
|
-
return
|
|
169
|
+
function N(T) {
|
|
170
|
+
return O(T) === s;
|
|
171
171
|
}
|
|
172
172
|
function P(T) {
|
|
173
173
|
return typeof T == "object" && T !== null && T.$$typeof === t;
|
|
174
174
|
}
|
|
175
175
|
function k(T) {
|
|
176
|
-
return
|
|
176
|
+
return O(T) === m;
|
|
177
177
|
}
|
|
178
178
|
function L(T) {
|
|
179
|
-
return
|
|
179
|
+
return O(T) === n;
|
|
180
180
|
}
|
|
181
|
-
function
|
|
182
|
-
return
|
|
181
|
+
function R(T) {
|
|
182
|
+
return O(T) === y;
|
|
183
183
|
}
|
|
184
|
-
function
|
|
185
|
-
return
|
|
184
|
+
function I(T) {
|
|
185
|
+
return O(T) === v;
|
|
186
186
|
}
|
|
187
187
|
function V(T) {
|
|
188
|
-
return
|
|
188
|
+
return O(T) === r;
|
|
189
189
|
}
|
|
190
190
|
function Y(T) {
|
|
191
|
-
return
|
|
191
|
+
return O(T) === i;
|
|
192
192
|
}
|
|
193
193
|
function F(T) {
|
|
194
|
-
return
|
|
194
|
+
return O(T) === o;
|
|
195
195
|
}
|
|
196
196
|
function ie(T) {
|
|
197
|
-
return
|
|
197
|
+
return O(T) === p;
|
|
198
198
|
}
|
|
199
|
-
U.AsyncMode = b, U.ConcurrentMode =
|
|
199
|
+
U.AsyncMode = b, U.ConcurrentMode = w, U.ContextConsumer = Q, U.ContextProvider = re, U.Element = q, U.ForwardRef = oe, U.Fragment = J, U.Lazy = a, U.Memo = $, U.Portal = S, U.Profiler = A, U.StrictMode = B, U.Suspense = ne, U.isAsyncMode = ht, U.isConcurrentMode = g, U.isContextConsumer = x, U.isContextProvider = N, U.isElement = P, U.isForwardRef = k, U.isFragment = L, U.isLazy = R, U.isMemo = I, U.isPortal = V, U.isProfiler = Y, U.isStrictMode = F, U.isSuspense = ie, U.isValidElementType = D, U.typeOf = O;
|
|
200
200
|
}()), U;
|
|
201
201
|
}
|
|
202
202
|
var Ut;
|
|
203
203
|
function Rr() {
|
|
204
|
-
return Ut || (Ut = 1, process.env.NODE_ENV === "production" ?
|
|
204
|
+
return Ut || (Ut = 1, process.env.NODE_ENV === "production" ? Ge.exports = mn() : Ge.exports = pn()), Ge.exports;
|
|
205
205
|
}
|
|
206
206
|
/*
|
|
207
207
|
object-assign
|
|
@@ -227,10 +227,10 @@ function hn() {
|
|
|
227
227
|
return !1;
|
|
228
228
|
for (var s = {}, c = 0; c < 10; c++)
|
|
229
229
|
s["_" + String.fromCharCode(c)] = c;
|
|
230
|
-
var
|
|
230
|
+
var f = Object.getOwnPropertyNames(s).map(function(m) {
|
|
231
231
|
return s[m];
|
|
232
232
|
});
|
|
233
|
-
if (
|
|
233
|
+
if (f.join("") !== "0123456789")
|
|
234
234
|
return !1;
|
|
235
235
|
var d = {};
|
|
236
236
|
return "abcdefghijklmnopqrst".split("").forEach(function(m) {
|
|
@@ -241,17 +241,17 @@ function hn() {
|
|
|
241
241
|
}
|
|
242
242
|
}
|
|
243
243
|
return gt = o() ? Object.assign : function(i, s) {
|
|
244
|
-
for (var c,
|
|
244
|
+
for (var c, f = n(i), d, m = 1; m < arguments.length; m++) {
|
|
245
245
|
c = Object(arguments[m]);
|
|
246
246
|
for (var p in c)
|
|
247
|
-
t.call(c, p) && (
|
|
247
|
+
t.call(c, p) && (f[p] = c[p]);
|
|
248
248
|
if (e) {
|
|
249
249
|
d = e(c);
|
|
250
250
|
for (var h = 0; h < d.length; h++)
|
|
251
|
-
r.call(c, d[h]) && (
|
|
251
|
+
r.call(c, d[h]) && (f[d[h]] = c[d[h]]);
|
|
252
252
|
}
|
|
253
253
|
}
|
|
254
|
-
return
|
|
254
|
+
return f;
|
|
255
255
|
}, gt;
|
|
256
256
|
}
|
|
257
257
|
var yt, Wt;
|
|
@@ -262,7 +262,7 @@ function kt() {
|
|
|
262
262
|
return yt = e, yt;
|
|
263
263
|
}
|
|
264
264
|
var bt, Ht;
|
|
265
|
-
function
|
|
265
|
+
function Pr() {
|
|
266
266
|
return Ht || (Ht = 1, bt = Function.call.bind(Object.prototype.hasOwnProperty)), bt;
|
|
267
267
|
}
|
|
268
268
|
var vt, Gt;
|
|
@@ -272,7 +272,7 @@ function gn() {
|
|
|
272
272
|
var e = function() {
|
|
273
273
|
};
|
|
274
274
|
if (process.env.NODE_ENV !== "production") {
|
|
275
|
-
var t = /* @__PURE__ */ kt(), r = {}, n = /* @__PURE__ */
|
|
275
|
+
var t = /* @__PURE__ */ kt(), r = {}, n = /* @__PURE__ */ Pr();
|
|
276
276
|
e = function(i) {
|
|
277
277
|
var s = "Warning: " + i;
|
|
278
278
|
typeof console < "u" && console.error(s);
|
|
@@ -282,7 +282,7 @@ function gn() {
|
|
|
282
282
|
}
|
|
283
283
|
};
|
|
284
284
|
}
|
|
285
|
-
function o(i, s, c,
|
|
285
|
+
function o(i, s, c, f, d) {
|
|
286
286
|
if (process.env.NODE_ENV !== "production") {
|
|
287
287
|
for (var m in i)
|
|
288
288
|
if (n(i, m)) {
|
|
@@ -290,21 +290,21 @@ function gn() {
|
|
|
290
290
|
try {
|
|
291
291
|
if (typeof i[m] != "function") {
|
|
292
292
|
var h = Error(
|
|
293
|
-
(
|
|
293
|
+
(f || "React class") + ": " + c + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
294
294
|
);
|
|
295
295
|
throw h.name = "Invariant Violation", h;
|
|
296
296
|
}
|
|
297
|
-
p = i[m](s, m,
|
|
298
|
-
} catch (
|
|
299
|
-
p =
|
|
297
|
+
p = i[m](s, m, f, c, null, t);
|
|
298
|
+
} catch (y) {
|
|
299
|
+
p = y;
|
|
300
300
|
}
|
|
301
301
|
if (p && !(p instanceof Error) && e(
|
|
302
|
-
(
|
|
302
|
+
(f || "React class") + ": type specification of " + c + " `" + m + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof p + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
303
303
|
), p instanceof Error && !(p.message in r)) {
|
|
304
304
|
r[p.message] = !0;
|
|
305
|
-
var
|
|
305
|
+
var v = d ? d() : "";
|
|
306
306
|
e(
|
|
307
|
-
"Failed " + c + " type: " + p.message + (
|
|
307
|
+
"Failed " + c + " type: " + p.message + (v ?? "")
|
|
308
308
|
);
|
|
309
309
|
}
|
|
310
310
|
}
|
|
@@ -318,27 +318,27 @@ var St, Kt;
|
|
|
318
318
|
function yn() {
|
|
319
319
|
if (Kt) return St;
|
|
320
320
|
Kt = 1;
|
|
321
|
-
var e = Rr(), t = hn(), r = /* @__PURE__ */ kt(), n = /* @__PURE__ */
|
|
321
|
+
var e = Rr(), t = hn(), r = /* @__PURE__ */ kt(), n = /* @__PURE__ */ Pr(), o = /* @__PURE__ */ gn(), i = function() {
|
|
322
322
|
};
|
|
323
323
|
process.env.NODE_ENV !== "production" && (i = function(c) {
|
|
324
|
-
var
|
|
325
|
-
typeof console < "u" && console.error(
|
|
324
|
+
var f = "Warning: " + c;
|
|
325
|
+
typeof console < "u" && console.error(f);
|
|
326
326
|
try {
|
|
327
|
-
throw new Error(
|
|
327
|
+
throw new Error(f);
|
|
328
328
|
} catch {
|
|
329
329
|
}
|
|
330
330
|
});
|
|
331
331
|
function s() {
|
|
332
332
|
return null;
|
|
333
333
|
}
|
|
334
|
-
return St = function(c,
|
|
334
|
+
return St = function(c, f) {
|
|
335
335
|
var d = typeof Symbol == "function" && Symbol.iterator, m = "@@iterator";
|
|
336
|
-
function p(
|
|
337
|
-
var
|
|
338
|
-
if (typeof
|
|
339
|
-
return
|
|
336
|
+
function p(g) {
|
|
337
|
+
var x = g && (d && g[d] || g[m]);
|
|
338
|
+
if (typeof x == "function")
|
|
339
|
+
return x;
|
|
340
340
|
}
|
|
341
|
-
var h = "<<anonymous>>",
|
|
341
|
+
var h = "<<anonymous>>", v = {
|
|
342
342
|
array: _("array"),
|
|
343
343
|
bigint: _("bigint"),
|
|
344
344
|
bool: _("boolean"),
|
|
@@ -347,246 +347,246 @@ function yn() {
|
|
|
347
347
|
object: _("object"),
|
|
348
348
|
string: _("string"),
|
|
349
349
|
symbol: _("symbol"),
|
|
350
|
-
any:
|
|
351
|
-
arrayOf:
|
|
352
|
-
element:
|
|
350
|
+
any: M(),
|
|
351
|
+
arrayOf: D,
|
|
352
|
+
element: O(),
|
|
353
353
|
elementType: b(),
|
|
354
|
-
instanceOf:
|
|
355
|
-
node:
|
|
356
|
-
objectOf:
|
|
357
|
-
oneOf:
|
|
358
|
-
oneOfType:
|
|
354
|
+
instanceOf: w,
|
|
355
|
+
node: oe(),
|
|
356
|
+
objectOf: re,
|
|
357
|
+
oneOf: Q,
|
|
358
|
+
oneOfType: q,
|
|
359
359
|
shape: a,
|
|
360
|
-
exact:
|
|
360
|
+
exact: $
|
|
361
361
|
};
|
|
362
|
-
function g
|
|
363
|
-
return
|
|
362
|
+
function y(g, x) {
|
|
363
|
+
return g === x ? g !== 0 || 1 / g === 1 / x : g !== g && x !== x;
|
|
364
364
|
}
|
|
365
|
-
function l(
|
|
366
|
-
this.message =
|
|
365
|
+
function l(g, x) {
|
|
366
|
+
this.message = g, this.data = x && typeof x == "object" ? x : {}, this.stack = "";
|
|
367
367
|
}
|
|
368
368
|
l.prototype = Error.prototype;
|
|
369
|
-
function C(
|
|
369
|
+
function C(g) {
|
|
370
370
|
if (process.env.NODE_ENV !== "production")
|
|
371
|
-
var
|
|
372
|
-
function P(L,
|
|
373
|
-
if (V = V || h, F = F ||
|
|
374
|
-
if (
|
|
371
|
+
var x = {}, N = 0;
|
|
372
|
+
function P(L, R, I, V, Y, F, ie) {
|
|
373
|
+
if (V = V || h, F = F || I, ie !== r) {
|
|
374
|
+
if (f) {
|
|
375
375
|
var T = new Error(
|
|
376
376
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
377
377
|
);
|
|
378
378
|
throw T.name = "Invariant Violation", T;
|
|
379
379
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
380
|
-
var de = V + ":" +
|
|
381
|
-
!
|
|
382
|
-
|
|
380
|
+
var de = V + ":" + I;
|
|
381
|
+
!x[de] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
382
|
+
N < 3 && (i(
|
|
383
383
|
"You are manually calling a React.PropTypes validation function for the `" + F + "` prop on `" + V + "`. 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."
|
|
384
|
-
),
|
|
384
|
+
), x[de] = !0, N++);
|
|
385
385
|
}
|
|
386
386
|
}
|
|
387
|
-
return I
|
|
387
|
+
return R[I] == null ? L ? R[I] === null ? new l("The " + Y + " `" + F + "` is marked as required " + ("in `" + V + "`, but its value is `null`.")) : new l("The " + Y + " `" + F + "` is marked as required in " + ("`" + V + "`, but its value is `undefined`.")) : null : g(R, I, V, Y, F);
|
|
388
388
|
}
|
|
389
389
|
var k = P.bind(null, !1);
|
|
390
390
|
return k.isRequired = P.bind(null, !0), k;
|
|
391
391
|
}
|
|
392
|
-
function _(
|
|
393
|
-
function
|
|
394
|
-
var V =
|
|
395
|
-
if (Y !==
|
|
396
|
-
var F =
|
|
392
|
+
function _(g) {
|
|
393
|
+
function x(N, P, k, L, R, I) {
|
|
394
|
+
var V = N[P], Y = B(V);
|
|
395
|
+
if (Y !== g) {
|
|
396
|
+
var F = ne(V);
|
|
397
397
|
return new l(
|
|
398
|
-
"Invalid " + L + " `" +
|
|
399
|
-
{ expectedType:
|
|
398
|
+
"Invalid " + L + " `" + R + "` of type " + ("`" + F + "` supplied to `" + k + "`, expected ") + ("`" + g + "`."),
|
|
399
|
+
{ expectedType: g }
|
|
400
400
|
);
|
|
401
401
|
}
|
|
402
402
|
return null;
|
|
403
403
|
}
|
|
404
|
-
return C(
|
|
404
|
+
return C(x);
|
|
405
405
|
}
|
|
406
|
-
function
|
|
406
|
+
function M() {
|
|
407
407
|
return C(s);
|
|
408
408
|
}
|
|
409
|
-
function
|
|
410
|
-
function
|
|
411
|
-
if (typeof
|
|
412
|
-
return new l("Property `" +
|
|
413
|
-
var
|
|
414
|
-
if (!Array.isArray(
|
|
415
|
-
var V =
|
|
416
|
-
return new l("Invalid " + L + " `" +
|
|
409
|
+
function D(g) {
|
|
410
|
+
function x(N, P, k, L, R) {
|
|
411
|
+
if (typeof g != "function")
|
|
412
|
+
return new l("Property `" + R + "` of component `" + k + "` has invalid PropType notation inside arrayOf.");
|
|
413
|
+
var I = N[P];
|
|
414
|
+
if (!Array.isArray(I)) {
|
|
415
|
+
var V = B(I);
|
|
416
|
+
return new l("Invalid " + L + " `" + R + "` of type " + ("`" + V + "` supplied to `" + k + "`, expected an array."));
|
|
417
417
|
}
|
|
418
|
-
for (var Y = 0; Y <
|
|
419
|
-
var F =
|
|
418
|
+
for (var Y = 0; Y < I.length; Y++) {
|
|
419
|
+
var F = g(I, Y, k, L, R + "[" + Y + "]", r);
|
|
420
420
|
if (F instanceof Error)
|
|
421
421
|
return F;
|
|
422
422
|
}
|
|
423
423
|
return null;
|
|
424
424
|
}
|
|
425
|
-
return C(
|
|
425
|
+
return C(x);
|
|
426
426
|
}
|
|
427
|
-
function
|
|
428
|
-
function
|
|
429
|
-
var
|
|
430
|
-
if (!c(
|
|
431
|
-
var
|
|
432
|
-
return new l("Invalid " + k + " `" + L + "` of type " + ("`" +
|
|
427
|
+
function O() {
|
|
428
|
+
function g(x, N, P, k, L) {
|
|
429
|
+
var R = x[N];
|
|
430
|
+
if (!c(R)) {
|
|
431
|
+
var I = B(R);
|
|
432
|
+
return new l("Invalid " + k + " `" + L + "` of type " + ("`" + I + "` supplied to `" + P + "`, expected a single ReactElement."));
|
|
433
433
|
}
|
|
434
434
|
return null;
|
|
435
435
|
}
|
|
436
|
-
return C(
|
|
436
|
+
return C(g);
|
|
437
437
|
}
|
|
438
438
|
function b() {
|
|
439
|
-
function
|
|
440
|
-
var
|
|
441
|
-
if (!e.isValidElementType(
|
|
442
|
-
var
|
|
443
|
-
return new l("Invalid " + k + " `" + L + "` of type " + ("`" +
|
|
439
|
+
function g(x, N, P, k, L) {
|
|
440
|
+
var R = x[N];
|
|
441
|
+
if (!e.isValidElementType(R)) {
|
|
442
|
+
var I = B(R);
|
|
443
|
+
return new l("Invalid " + k + " `" + L + "` of type " + ("`" + I + "` supplied to `" + P + "`, expected a single ReactElement type."));
|
|
444
444
|
}
|
|
445
445
|
return null;
|
|
446
446
|
}
|
|
447
|
-
return C(
|
|
447
|
+
return C(g);
|
|
448
448
|
}
|
|
449
|
-
function
|
|
450
|
-
function
|
|
451
|
-
if (!(
|
|
452
|
-
var
|
|
453
|
-
return new l("Invalid " + L + " `" +
|
|
449
|
+
function w(g) {
|
|
450
|
+
function x(N, P, k, L, R) {
|
|
451
|
+
if (!(N[P] instanceof g)) {
|
|
452
|
+
var I = g.name || h, V = ht(N[P]);
|
|
453
|
+
return new l("Invalid " + L + " `" + R + "` of type " + ("`" + V + "` supplied to `" + k + "`, expected ") + ("instance of `" + I + "`."));
|
|
454
454
|
}
|
|
455
455
|
return null;
|
|
456
456
|
}
|
|
457
|
-
return C(
|
|
457
|
+
return C(x);
|
|
458
458
|
}
|
|
459
|
-
function
|
|
460
|
-
if (!Array.isArray(
|
|
459
|
+
function Q(g) {
|
|
460
|
+
if (!Array.isArray(g))
|
|
461
461
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
462
462
|
"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])."
|
|
463
463
|
) : i("Invalid argument supplied to oneOf, expected an array.")), s;
|
|
464
|
-
function
|
|
465
|
-
for (var
|
|
466
|
-
if (
|
|
464
|
+
function x(N, P, k, L, R) {
|
|
465
|
+
for (var I = N[P], V = 0; V < g.length; V++)
|
|
466
|
+
if (y(I, g[V]))
|
|
467
467
|
return null;
|
|
468
|
-
var Y = JSON.stringify(
|
|
469
|
-
var de =
|
|
468
|
+
var Y = JSON.stringify(g, function(ie, T) {
|
|
469
|
+
var de = ne(T);
|
|
470
470
|
return de === "symbol" ? String(T) : T;
|
|
471
471
|
});
|
|
472
|
-
return new l("Invalid " + L + " `" +
|
|
472
|
+
return new l("Invalid " + L + " `" + R + "` of value `" + String(I) + "` " + ("supplied to `" + k + "`, expected one of " + Y + "."));
|
|
473
473
|
}
|
|
474
|
-
return C(
|
|
474
|
+
return C(x);
|
|
475
475
|
}
|
|
476
|
-
function
|
|
477
|
-
function
|
|
478
|
-
if (typeof
|
|
479
|
-
return new l("Property `" +
|
|
480
|
-
var
|
|
476
|
+
function re(g) {
|
|
477
|
+
function x(N, P, k, L, R) {
|
|
478
|
+
if (typeof g != "function")
|
|
479
|
+
return new l("Property `" + R + "` of component `" + k + "` has invalid PropType notation inside objectOf.");
|
|
480
|
+
var I = N[P], V = B(I);
|
|
481
481
|
if (V !== "object")
|
|
482
|
-
return new l("Invalid " + L + " `" +
|
|
483
|
-
for (var Y in
|
|
484
|
-
if (n(
|
|
485
|
-
var F =
|
|
482
|
+
return new l("Invalid " + L + " `" + R + "` of type " + ("`" + V + "` supplied to `" + k + "`, expected an object."));
|
|
483
|
+
for (var Y in I)
|
|
484
|
+
if (n(I, Y)) {
|
|
485
|
+
var F = g(I, Y, k, L, R + "." + Y, r);
|
|
486
486
|
if (F instanceof Error)
|
|
487
487
|
return F;
|
|
488
488
|
}
|
|
489
489
|
return null;
|
|
490
490
|
}
|
|
491
|
-
return C(
|
|
491
|
+
return C(x);
|
|
492
492
|
}
|
|
493
|
-
function
|
|
494
|
-
if (!Array.isArray(
|
|
493
|
+
function q(g) {
|
|
494
|
+
if (!Array.isArray(g))
|
|
495
495
|
return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), s;
|
|
496
|
-
for (var
|
|
497
|
-
var
|
|
498
|
-
if (typeof
|
|
496
|
+
for (var x = 0; x < g.length; x++) {
|
|
497
|
+
var N = g[x];
|
|
498
|
+
if (typeof N != "function")
|
|
499
499
|
return i(
|
|
500
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " +
|
|
500
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + fe(N) + " at index " + x + "."
|
|
501
501
|
), s;
|
|
502
502
|
}
|
|
503
|
-
function P(k, L,
|
|
504
|
-
for (var Y = [], F = 0; F <
|
|
505
|
-
var ie =
|
|
503
|
+
function P(k, L, R, I, V) {
|
|
504
|
+
for (var Y = [], F = 0; F < g.length; F++) {
|
|
505
|
+
var ie = g[F], T = ie(k, L, R, I, V, r);
|
|
506
506
|
if (T == null)
|
|
507
507
|
return null;
|
|
508
508
|
T.data && n(T.data, "expectedType") && Y.push(T.data.expectedType);
|
|
509
509
|
}
|
|
510
510
|
var de = Y.length > 0 ? ", expected one of type [" + Y.join(", ") + "]" : "";
|
|
511
|
-
return new l("Invalid " +
|
|
511
|
+
return new l("Invalid " + I + " `" + V + "` supplied to " + ("`" + R + "`" + de + "."));
|
|
512
512
|
}
|
|
513
513
|
return C(P);
|
|
514
514
|
}
|
|
515
|
-
function
|
|
516
|
-
function
|
|
517
|
-
return
|
|
515
|
+
function oe() {
|
|
516
|
+
function g(x, N, P, k, L) {
|
|
517
|
+
return S(x[N]) ? null : new l("Invalid " + k + " `" + L + "` supplied to " + ("`" + P + "`, expected a ReactNode."));
|
|
518
518
|
}
|
|
519
|
-
return C(
|
|
519
|
+
return C(g);
|
|
520
520
|
}
|
|
521
|
-
function
|
|
521
|
+
function J(g, x, N, P, k) {
|
|
522
522
|
return new l(
|
|
523
|
-
(
|
|
523
|
+
(g || "React class") + ": " + x + " type `" + N + "." + P + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + k + "`."
|
|
524
524
|
);
|
|
525
525
|
}
|
|
526
|
-
function a(
|
|
527
|
-
function
|
|
528
|
-
var
|
|
526
|
+
function a(g) {
|
|
527
|
+
function x(N, P, k, L, R) {
|
|
528
|
+
var I = N[P], V = B(I);
|
|
529
529
|
if (V !== "object")
|
|
530
|
-
return new l("Invalid " + L + " `" +
|
|
531
|
-
for (var Y in
|
|
532
|
-
var F =
|
|
530
|
+
return new l("Invalid " + L + " `" + R + "` of type `" + V + "` " + ("supplied to `" + k + "`, expected `object`."));
|
|
531
|
+
for (var Y in g) {
|
|
532
|
+
var F = g[Y];
|
|
533
533
|
if (typeof F != "function")
|
|
534
|
-
return
|
|
535
|
-
var ie = F(
|
|
534
|
+
return J(k, L, R, Y, ne(F));
|
|
535
|
+
var ie = F(I, Y, k, L, R + "." + Y, r);
|
|
536
536
|
if (ie)
|
|
537
537
|
return ie;
|
|
538
538
|
}
|
|
539
539
|
return null;
|
|
540
540
|
}
|
|
541
|
-
return C(
|
|
541
|
+
return C(x);
|
|
542
542
|
}
|
|
543
|
-
function
|
|
544
|
-
function
|
|
545
|
-
var
|
|
543
|
+
function $(g) {
|
|
544
|
+
function x(N, P, k, L, R) {
|
|
545
|
+
var I = N[P], V = B(I);
|
|
546
546
|
if (V !== "object")
|
|
547
|
-
return new l("Invalid " + L + " `" +
|
|
548
|
-
var Y = t({},
|
|
547
|
+
return new l("Invalid " + L + " `" + R + "` of type `" + V + "` " + ("supplied to `" + k + "`, expected `object`."));
|
|
548
|
+
var Y = t({}, N[P], g);
|
|
549
549
|
for (var F in Y) {
|
|
550
|
-
var ie =
|
|
551
|
-
if (n(
|
|
552
|
-
return
|
|
550
|
+
var ie = g[F];
|
|
551
|
+
if (n(g, F) && typeof ie != "function")
|
|
552
|
+
return J(k, L, R, F, ne(ie));
|
|
553
553
|
if (!ie)
|
|
554
554
|
return new l(
|
|
555
|
-
"Invalid " + L + " `" +
|
|
556
|
-
Valid keys: ` + JSON.stringify(Object.keys(
|
|
555
|
+
"Invalid " + L + " `" + R + "` key `" + F + "` supplied to `" + k + "`.\nBad object: " + JSON.stringify(N[P], null, " ") + `
|
|
556
|
+
Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
|
|
557
557
|
);
|
|
558
|
-
var T = ie(
|
|
558
|
+
var T = ie(I, F, k, L, R + "." + F, r);
|
|
559
559
|
if (T)
|
|
560
560
|
return T;
|
|
561
561
|
}
|
|
562
562
|
return null;
|
|
563
563
|
}
|
|
564
|
-
return C(
|
|
564
|
+
return C(x);
|
|
565
565
|
}
|
|
566
|
-
function
|
|
567
|
-
switch (typeof
|
|
566
|
+
function S(g) {
|
|
567
|
+
switch (typeof g) {
|
|
568
568
|
case "number":
|
|
569
569
|
case "string":
|
|
570
570
|
case "undefined":
|
|
571
571
|
return !0;
|
|
572
572
|
case "boolean":
|
|
573
|
-
return !
|
|
573
|
+
return !g;
|
|
574
574
|
case "object":
|
|
575
|
-
if (Array.isArray(
|
|
576
|
-
return
|
|
577
|
-
if (
|
|
575
|
+
if (Array.isArray(g))
|
|
576
|
+
return g.every(S);
|
|
577
|
+
if (g === null || c(g))
|
|
578
578
|
return !0;
|
|
579
|
-
var
|
|
580
|
-
if (
|
|
581
|
-
var
|
|
582
|
-
if (
|
|
583
|
-
for (; !(P =
|
|
584
|
-
if (!
|
|
579
|
+
var x = p(g);
|
|
580
|
+
if (x) {
|
|
581
|
+
var N = x.call(g), P;
|
|
582
|
+
if (x !== g.entries) {
|
|
583
|
+
for (; !(P = N.next()).done; )
|
|
584
|
+
if (!S(P.value))
|
|
585
585
|
return !1;
|
|
586
586
|
} else
|
|
587
|
-
for (; !(P =
|
|
587
|
+
for (; !(P = N.next()).done; ) {
|
|
588
588
|
var k = P.value;
|
|
589
|
-
if (k && !
|
|
589
|
+
if (k && !S(k[1]))
|
|
590
590
|
return !1;
|
|
591
591
|
}
|
|
592
592
|
} else
|
|
@@ -596,43 +596,43 @@ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
|
596
596
|
return !1;
|
|
597
597
|
}
|
|
598
598
|
}
|
|
599
|
-
function A(
|
|
600
|
-
return
|
|
599
|
+
function A(g, x) {
|
|
600
|
+
return g === "symbol" ? !0 : x ? x["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && x instanceof Symbol : !1;
|
|
601
601
|
}
|
|
602
|
-
function
|
|
603
|
-
var
|
|
604
|
-
return Array.isArray(
|
|
602
|
+
function B(g) {
|
|
603
|
+
var x = typeof g;
|
|
604
|
+
return Array.isArray(g) ? "array" : g instanceof RegExp ? "object" : A(x, g) ? "symbol" : x;
|
|
605
605
|
}
|
|
606
|
-
function
|
|
607
|
-
if (typeof
|
|
608
|
-
return "" +
|
|
609
|
-
var
|
|
610
|
-
if (
|
|
611
|
-
if (
|
|
606
|
+
function ne(g) {
|
|
607
|
+
if (typeof g > "u" || g === null)
|
|
608
|
+
return "" + g;
|
|
609
|
+
var x = B(g);
|
|
610
|
+
if (x === "object") {
|
|
611
|
+
if (g instanceof Date)
|
|
612
612
|
return "date";
|
|
613
|
-
if (
|
|
613
|
+
if (g instanceof RegExp)
|
|
614
614
|
return "regexp";
|
|
615
615
|
}
|
|
616
|
-
return
|
|
616
|
+
return x;
|
|
617
617
|
}
|
|
618
|
-
function
|
|
619
|
-
var
|
|
620
|
-
switch (
|
|
618
|
+
function fe(g) {
|
|
619
|
+
var x = ne(g);
|
|
620
|
+
switch (x) {
|
|
621
621
|
case "array":
|
|
622
622
|
case "object":
|
|
623
|
-
return "an " +
|
|
623
|
+
return "an " + x;
|
|
624
624
|
case "boolean":
|
|
625
625
|
case "date":
|
|
626
626
|
case "regexp":
|
|
627
|
-
return "a " +
|
|
627
|
+
return "a " + x;
|
|
628
628
|
default:
|
|
629
|
-
return
|
|
629
|
+
return x;
|
|
630
630
|
}
|
|
631
631
|
}
|
|
632
|
-
function
|
|
633
|
-
return !
|
|
632
|
+
function ht(g) {
|
|
633
|
+
return !g.constructor || !g.constructor.name ? h : g.constructor.name;
|
|
634
634
|
}
|
|
635
|
-
return
|
|
635
|
+
return v.checkPropTypes = o, v.resetWarningCache = o.resetWarningCache, v.PropTypes = v, v;
|
|
636
636
|
}, St;
|
|
637
637
|
}
|
|
638
638
|
var Ct, qt;
|
|
@@ -645,7 +645,7 @@ function bn() {
|
|
|
645
645
|
function r() {
|
|
646
646
|
}
|
|
647
647
|
return r.resetWarningCache = t, Ct = function() {
|
|
648
|
-
function n(s, c,
|
|
648
|
+
function n(s, c, f, d, m, p) {
|
|
649
649
|
if (p !== e) {
|
|
650
650
|
var h = new Error(
|
|
651
651
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
|
@@ -685,27 +685,27 @@ function bn() {
|
|
|
685
685
|
}
|
|
686
686
|
var Qt;
|
|
687
687
|
function vn() {
|
|
688
|
-
if (Qt) return
|
|
688
|
+
if (Qt) return He.exports;
|
|
689
689
|
if (Qt = 1, process.env.NODE_ENV !== "production") {
|
|
690
690
|
var e = Rr(), t = !0;
|
|
691
|
-
|
|
691
|
+
He.exports = /* @__PURE__ */ yn()(e.isElement, t);
|
|
692
692
|
} else
|
|
693
|
-
|
|
694
|
-
return
|
|
693
|
+
He.exports = /* @__PURE__ */ bn()();
|
|
694
|
+
return He.exports;
|
|
695
695
|
}
|
|
696
696
|
var Sn = /* @__PURE__ */ vn();
|
|
697
697
|
const j = /* @__PURE__ */ dn(Sn);
|
|
698
|
-
function
|
|
698
|
+
function Ir(e) {
|
|
699
699
|
var t, r, n = "";
|
|
700
700
|
if (typeof e == "string" || typeof e == "number") n += e;
|
|
701
701
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
702
702
|
var o = e.length;
|
|
703
|
-
for (t = 0; t < o; t++) e[t] && (r =
|
|
703
|
+
for (t = 0; t < o; t++) e[t] && (r = Ir(e[t])) && (n && (n += " "), n += r);
|
|
704
704
|
} else for (r in e) e[r] && (n && (n += " "), n += r);
|
|
705
705
|
return n;
|
|
706
706
|
}
|
|
707
707
|
function Mr() {
|
|
708
|
-
for (var e, t, r = 0, n = "", o = arguments.length; r < o; r++) (e = arguments[r]) && (t =
|
|
708
|
+
for (var e, t, r = 0, n = "", o = arguments.length; r < o; r++) (e = arguments[r]) && (t = Ir(e)) && (n && (n += " "), n += t);
|
|
709
709
|
return n;
|
|
710
710
|
}
|
|
711
711
|
function Cn(e, t, r = void 0) {
|
|
@@ -713,15 +713,15 @@ function Cn(e, t, r = void 0) {
|
|
|
713
713
|
for (const o in e) {
|
|
714
714
|
const i = e[o];
|
|
715
715
|
let s = "", c = !0;
|
|
716
|
-
for (let
|
|
717
|
-
const d = i[
|
|
716
|
+
for (let f = 0; f < i.length; f += 1) {
|
|
717
|
+
const d = i[f];
|
|
718
718
|
d && (s += (c === !0 ? "" : " ") + t(d), c = !1, r && r[d] && (s += " " + r[d]));
|
|
719
719
|
}
|
|
720
720
|
n[o] = s;
|
|
721
721
|
}
|
|
722
722
|
return n;
|
|
723
723
|
}
|
|
724
|
-
var
|
|
724
|
+
var Ke = { exports: {} }, G = {};
|
|
725
725
|
/**
|
|
726
726
|
* @license React
|
|
727
727
|
* react-is.production.js
|
|
@@ -735,8 +735,8 @@ var Xt;
|
|
|
735
735
|
function En() {
|
|
736
736
|
if (Xt) return G;
|
|
737
737
|
Xt = 1;
|
|
738
|
-
var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), i = Symbol.for("react.consumer"), s = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"),
|
|
739
|
-
function
|
|
738
|
+
var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), i = Symbol.for("react.consumer"), s = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), h = Symbol.for("react.view_transition"), v = Symbol.for("react.client.reference");
|
|
739
|
+
function y(l) {
|
|
740
740
|
if (typeof l == "object" && l !== null) {
|
|
741
741
|
var C = l.$$typeof;
|
|
742
742
|
switch (C) {
|
|
@@ -745,7 +745,7 @@ function En() {
|
|
|
745
745
|
case r:
|
|
746
746
|
case o:
|
|
747
747
|
case n:
|
|
748
|
-
case
|
|
748
|
+
case f:
|
|
749
749
|
case d:
|
|
750
750
|
case h:
|
|
751
751
|
return l;
|
|
@@ -767,33 +767,33 @@ function En() {
|
|
|
767
767
|
}
|
|
768
768
|
}
|
|
769
769
|
}
|
|
770
|
-
return G.ContextConsumer = i, G.ContextProvider = s, G.Element = e, G.ForwardRef = c, G.Fragment = r, G.Lazy = p, G.Memo = m, G.Portal = t, G.Profiler = o, G.StrictMode = n, G.Suspense =
|
|
771
|
-
return
|
|
770
|
+
return G.ContextConsumer = i, G.ContextProvider = s, G.Element = e, G.ForwardRef = c, G.Fragment = r, G.Lazy = p, G.Memo = m, G.Portal = t, G.Profiler = o, G.StrictMode = n, G.Suspense = f, G.SuspenseList = d, G.isContextConsumer = function(l) {
|
|
771
|
+
return y(l) === i;
|
|
772
772
|
}, G.isContextProvider = function(l) {
|
|
773
|
-
return
|
|
773
|
+
return y(l) === s;
|
|
774
774
|
}, G.isElement = function(l) {
|
|
775
775
|
return typeof l == "object" && l !== null && l.$$typeof === e;
|
|
776
776
|
}, G.isForwardRef = function(l) {
|
|
777
|
-
return
|
|
777
|
+
return y(l) === c;
|
|
778
778
|
}, G.isFragment = function(l) {
|
|
779
|
-
return
|
|
779
|
+
return y(l) === r;
|
|
780
780
|
}, G.isLazy = function(l) {
|
|
781
|
-
return
|
|
781
|
+
return y(l) === p;
|
|
782
782
|
}, G.isMemo = function(l) {
|
|
783
|
-
return
|
|
783
|
+
return y(l) === m;
|
|
784
784
|
}, G.isPortal = function(l) {
|
|
785
|
-
return
|
|
785
|
+
return y(l) === t;
|
|
786
786
|
}, G.isProfiler = function(l) {
|
|
787
|
-
return
|
|
787
|
+
return y(l) === o;
|
|
788
788
|
}, G.isStrictMode = function(l) {
|
|
789
|
-
return
|
|
789
|
+
return y(l) === n;
|
|
790
790
|
}, G.isSuspense = function(l) {
|
|
791
|
-
return
|
|
791
|
+
return y(l) === f;
|
|
792
792
|
}, G.isSuspenseList = function(l) {
|
|
793
|
-
return
|
|
793
|
+
return y(l) === d;
|
|
794
794
|
}, G.isValidElementType = function(l) {
|
|
795
|
-
return typeof l == "string" || typeof l == "function" || l === r || l === o || l === n || l ===
|
|
796
|
-
}, G.typeOf =
|
|
795
|
+
return typeof l == "string" || typeof l == "function" || l === r || l === o || l === n || l === f || l === d || typeof l == "object" && l !== null && (l.$$typeof === p || l.$$typeof === m || l.$$typeof === s || l.$$typeof === i || l.$$typeof === c || l.$$typeof === v || l.getModuleId !== void 0);
|
|
796
|
+
}, G.typeOf = y, G;
|
|
797
797
|
}
|
|
798
798
|
var K = {};
|
|
799
799
|
/**
|
|
@@ -819,12 +819,12 @@ function Tn() {
|
|
|
819
819
|
case o:
|
|
820
820
|
case d:
|
|
821
821
|
case m:
|
|
822
|
-
case
|
|
822
|
+
case v:
|
|
823
823
|
return l;
|
|
824
824
|
default:
|
|
825
825
|
switch (l = l && l.$$typeof, l) {
|
|
826
826
|
case c:
|
|
827
|
-
case
|
|
827
|
+
case f:
|
|
828
828
|
case h:
|
|
829
829
|
case p:
|
|
830
830
|
return l;
|
|
@@ -839,15 +839,15 @@ function Tn() {
|
|
|
839
839
|
}
|
|
840
840
|
}
|
|
841
841
|
}
|
|
842
|
-
var t = Symbol.for("react.transitional.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), s = Symbol.for("react.consumer"), c = Symbol.for("react.context"),
|
|
843
|
-
K.ContextConsumer = s, K.ContextProvider = c, K.Element = t, K.ForwardRef =
|
|
842
|
+
var t = Symbol.for("react.transitional.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), s = Symbol.for("react.consumer"), c = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), v = Symbol.for("react.view_transition"), y = Symbol.for("react.client.reference");
|
|
843
|
+
K.ContextConsumer = s, K.ContextProvider = c, K.Element = t, K.ForwardRef = f, K.Fragment = n, K.Lazy = h, K.Memo = p, K.Portal = r, K.Profiler = i, K.StrictMode = o, K.Suspense = d, K.SuspenseList = m, K.isContextConsumer = function(l) {
|
|
844
844
|
return e(l) === s;
|
|
845
845
|
}, K.isContextProvider = function(l) {
|
|
846
846
|
return e(l) === c;
|
|
847
847
|
}, K.isElement = function(l) {
|
|
848
848
|
return typeof l == "object" && l !== null && l.$$typeof === t;
|
|
849
849
|
}, K.isForwardRef = function(l) {
|
|
850
|
-
return e(l) ===
|
|
850
|
+
return e(l) === f;
|
|
851
851
|
}, K.isFragment = function(l) {
|
|
852
852
|
return e(l) === n;
|
|
853
853
|
}, K.isLazy = function(l) {
|
|
@@ -865,15 +865,15 @@ function Tn() {
|
|
|
865
865
|
}, K.isSuspenseList = function(l) {
|
|
866
866
|
return e(l) === m;
|
|
867
867
|
}, K.isValidElementType = function(l) {
|
|
868
|
-
return typeof l == "string" || typeof l == "function" || l === n || l === i || l === o || l === d || l === m || typeof l == "object" && l !== null && (l.$$typeof === h || l.$$typeof === p || l.$$typeof === c || l.$$typeof === s || l.$$typeof ===
|
|
868
|
+
return typeof l == "string" || typeof l == "function" || l === n || l === i || l === o || l === d || l === m || typeof l == "object" && l !== null && (l.$$typeof === h || l.$$typeof === p || l.$$typeof === c || l.$$typeof === s || l.$$typeof === f || l.$$typeof === y || l.getModuleId !== void 0);
|
|
869
869
|
}, K.typeOf = e;
|
|
870
870
|
}()), K;
|
|
871
871
|
}
|
|
872
872
|
var Zt;
|
|
873
873
|
function xn() {
|
|
874
|
-
return Zt || (Zt = 1, process.env.NODE_ENV === "production" ?
|
|
874
|
+
return Zt || (Zt = 1, process.env.NODE_ENV === "production" ? Ke.exports = /* @__PURE__ */ En() : Ke.exports = /* @__PURE__ */ Tn()), Ke.exports;
|
|
875
875
|
}
|
|
876
|
-
var
|
|
876
|
+
var Je = /* @__PURE__ */ xn();
|
|
877
877
|
function ge(e) {
|
|
878
878
|
if (typeof e != "object" || e === null)
|
|
879
879
|
return !1;
|
|
@@ -881,7 +881,7 @@ function ge(e) {
|
|
|
881
881
|
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
882
882
|
}
|
|
883
883
|
function Nr(e) {
|
|
884
|
-
if (/* @__PURE__ */ pe.isValidElement(e) ||
|
|
884
|
+
if (/* @__PURE__ */ pe.isValidElement(e) || Je.isValidElementType(e) || !ge(e))
|
|
885
885
|
return e;
|
|
886
886
|
const t = {};
|
|
887
887
|
return Object.keys(e).forEach((r) => {
|
|
@@ -895,11 +895,11 @@ function se(e, t, r = {
|
|
|
895
895
|
...e
|
|
896
896
|
} : e;
|
|
897
897
|
return ge(e) && ge(t) && Object.keys(t).forEach((o) => {
|
|
898
|
-
/* @__PURE__ */ pe.isValidElement(t[o]) ||
|
|
898
|
+
/* @__PURE__ */ pe.isValidElement(t[o]) || Je.isValidElementType(t[o]) ? n[o] = t[o] : ge(t[o]) && // Avoid prototype pollution
|
|
899
899
|
Object.prototype.hasOwnProperty.call(e, o) && ge(e[o]) ? n[o] = se(e[o], t[o], r) : r.clone ? n[o] = ge(t[o]) ? Nr(t[o]) : t[o] : n[o] = t[o];
|
|
900
900
|
}), n;
|
|
901
901
|
}
|
|
902
|
-
function
|
|
902
|
+
function Fe(e, t) {
|
|
903
903
|
return t ? se(e, t, {
|
|
904
904
|
clone: !1
|
|
905
905
|
// No need to clone deep, it's way faster.
|
|
@@ -910,9 +910,8 @@ function er(e, t) {
|
|
|
910
910
|
if (!e.containerQueries)
|
|
911
911
|
return t;
|
|
912
912
|
const r = Object.keys(t).filter((n) => n.startsWith("@container")).sort((n, o) => {
|
|
913
|
-
var s, c;
|
|
914
913
|
const i = /min-width:\s*([0-9.]+)/;
|
|
915
|
-
return +(
|
|
914
|
+
return +(n.match(i)?.[1] || 0) - +(o.match(i)?.[1] || 0);
|
|
916
915
|
});
|
|
917
916
|
return r.length ? r.reduce((n, o) => {
|
|
918
917
|
const i = t[o];
|
|
@@ -939,8 +938,8 @@ function $n(e) {
|
|
|
939
938
|
const t = (i, s) => i.replace("@media", s ? `@container ${s}` : "@container");
|
|
940
939
|
function r(i, s) {
|
|
941
940
|
i.up = (...c) => t(e.breakpoints.up(...c), s), i.down = (...c) => t(e.breakpoints.down(...c), s), i.between = (...c) => t(e.breakpoints.between(...c), s), i.only = (...c) => t(e.breakpoints.only(...c), s), i.not = (...c) => {
|
|
942
|
-
const
|
|
943
|
-
return
|
|
941
|
+
const f = t(e.breakpoints.not(...c), s);
|
|
942
|
+
return f.includes("not all and") ? f.replace("not all and ", "").replace("min-width:", "width<").replace("max-width:", "width>").replace("and", "or") : f;
|
|
944
943
|
};
|
|
945
944
|
}
|
|
946
945
|
const n = {}, o = (i) => (r(n, i), n);
|
|
@@ -949,7 +948,7 @@ function $n(e) {
|
|
|
949
948
|
containerQueries: o
|
|
950
949
|
};
|
|
951
950
|
}
|
|
952
|
-
const
|
|
951
|
+
const rt = {
|
|
953
952
|
xs: 0,
|
|
954
953
|
// phone
|
|
955
954
|
sm: 600,
|
|
@@ -964,11 +963,11 @@ const nt = {
|
|
|
964
963
|
// Sorted ASC by size. That's important.
|
|
965
964
|
// It can't be configured as it's used statically for propTypes.
|
|
966
965
|
keys: ["xs", "sm", "md", "lg", "xl"],
|
|
967
|
-
up: (e) => `@media (min-width:${
|
|
966
|
+
up: (e) => `@media (min-width:${rt[e]}px)`
|
|
968
967
|
}, _n = {
|
|
969
968
|
containerQueries: (e) => ({
|
|
970
969
|
up: (t) => {
|
|
971
|
-
let r = typeof t == "number" ? t :
|
|
970
|
+
let r = typeof t == "number" ? t : rt[t] || t;
|
|
972
971
|
return typeof r == "number" && (r = `${r}px`), e ? `@container ${e} (min-width:${r})` : `@container (min-width:${r})`;
|
|
973
972
|
}
|
|
974
973
|
})
|
|
@@ -977,20 +976,20 @@ function ve(e, t, r) {
|
|
|
977
976
|
const n = e.theme || {};
|
|
978
977
|
if (Array.isArray(t)) {
|
|
979
978
|
const i = n.breakpoints || tr;
|
|
980
|
-
return t.reduce((s, c,
|
|
979
|
+
return t.reduce((s, c, f) => (s[i.up(i.keys[f])] = r(t[f]), s), {});
|
|
981
980
|
}
|
|
982
981
|
if (typeof t == "object") {
|
|
983
982
|
const i = n.breakpoints || tr;
|
|
984
983
|
return Object.keys(t).reduce((s, c) => {
|
|
985
984
|
if (On(i.keys, c)) {
|
|
986
|
-
const
|
|
987
|
-
|
|
988
|
-
} else if (Object.keys(i.values ||
|
|
989
|
-
const
|
|
990
|
-
s[
|
|
985
|
+
const f = wn(n.containerQueries ? n : _n, c);
|
|
986
|
+
f && (s[f] = r(t[c], c));
|
|
987
|
+
} else if (Object.keys(i.values || rt).includes(c)) {
|
|
988
|
+
const f = i.up(c);
|
|
989
|
+
s[f] = r(t[c], c);
|
|
991
990
|
} else {
|
|
992
|
-
const
|
|
993
|
-
s[
|
|
991
|
+
const f = c;
|
|
992
|
+
s[f] = t[f];
|
|
994
993
|
}
|
|
995
994
|
return s;
|
|
996
995
|
}, {});
|
|
@@ -998,11 +997,10 @@ function ve(e, t, r) {
|
|
|
998
997
|
return r(t);
|
|
999
998
|
}
|
|
1000
999
|
function An(e = {}) {
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
}, {})) || {};
|
|
1000
|
+
return e.keys?.reduce((r, n) => {
|
|
1001
|
+
const o = e.up(n);
|
|
1002
|
+
return r[o] = {}, r;
|
|
1003
|
+
}, {}) || {};
|
|
1006
1004
|
}
|
|
1007
1005
|
function rr(e, t) {
|
|
1008
1006
|
return e.reduce((r, n) => {
|
|
@@ -1010,7 +1008,7 @@ function rr(e, t) {
|
|
|
1010
1008
|
return (!o || Object.keys(o).length === 0) && delete r[n], r;
|
|
1011
1009
|
}, t);
|
|
1012
1010
|
}
|
|
1013
|
-
function
|
|
1011
|
+
function nt(e, t, r = !0) {
|
|
1014
1012
|
if (!t || typeof t != "string")
|
|
1015
1013
|
return null;
|
|
1016
1014
|
if (e && e.vars && r) {
|
|
@@ -1020,11 +1018,11 @@ function ot(e, t, r = !0) {
|
|
|
1020
1018
|
}
|
|
1021
1019
|
return t.split(".").reduce((n, o) => n && n[o] != null ? n[o] : null, e);
|
|
1022
1020
|
}
|
|
1023
|
-
function
|
|
1021
|
+
function Ze(e, t, r, n = r) {
|
|
1024
1022
|
let o;
|
|
1025
|
-
return typeof e == "function" ? o = e(r) : Array.isArray(e) ? o = e[r] || n : o =
|
|
1023
|
+
return typeof e == "function" ? o = e(r) : Array.isArray(e) ? o = e[r] || n : o = nt(e, r) || n, t && (o = t(o, n, e)), o;
|
|
1026
1024
|
}
|
|
1027
|
-
function
|
|
1025
|
+
function te(e) {
|
|
1028
1026
|
const {
|
|
1029
1027
|
prop: t,
|
|
1030
1028
|
cssProperty: r = e.prop,
|
|
@@ -1033,10 +1031,10 @@ function ee(e) {
|
|
|
1033
1031
|
} = e, i = (s) => {
|
|
1034
1032
|
if (s[t] == null)
|
|
1035
1033
|
return null;
|
|
1036
|
-
const c = s[t],
|
|
1034
|
+
const c = s[t], f = s.theme, d = nt(f, n) || {};
|
|
1037
1035
|
return ve(s, c, (p) => {
|
|
1038
|
-
let h =
|
|
1039
|
-
return p === h && typeof p == "string" && (h =
|
|
1036
|
+
let h = Ze(d, o, p);
|
|
1037
|
+
return p === h && typeof p == "string" && (h = Ze(d, o, `${t}${p === "default" ? "" : _e(p)}`, p)), r === !1 ? h : {
|
|
1040
1038
|
[r]: h
|
|
1041
1039
|
};
|
|
1042
1040
|
});
|
|
@@ -1052,7 +1050,7 @@ function kn(e) {
|
|
|
1052
1050
|
const Rn = {
|
|
1053
1051
|
m: "margin",
|
|
1054
1052
|
p: "padding"
|
|
1055
|
-
},
|
|
1053
|
+
}, Pn = {
|
|
1056
1054
|
t: "Top",
|
|
1057
1055
|
r: "Right",
|
|
1058
1056
|
b: "Bottom",
|
|
@@ -1064,17 +1062,17 @@ const Rn = {
|
|
|
1064
1062
|
marginY: "my",
|
|
1065
1063
|
paddingX: "px",
|
|
1066
1064
|
paddingY: "py"
|
|
1067
|
-
},
|
|
1065
|
+
}, In = kn((e) => {
|
|
1068
1066
|
if (e.length > 2)
|
|
1069
1067
|
if (nr[e])
|
|
1070
1068
|
e = nr[e];
|
|
1071
1069
|
else
|
|
1072
1070
|
return [e];
|
|
1073
|
-
const [t, r] = e.split(""), n = Rn[t], o =
|
|
1071
|
+
const [t, r] = e.split(""), n = Rn[t], o = Pn[r] || "";
|
|
1074
1072
|
return Array.isArray(o) ? o.map((i) => n + i) : [n + o];
|
|
1075
|
-
}),
|
|
1076
|
-
function
|
|
1077
|
-
const o =
|
|
1073
|
+
}), ot = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], it = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], Mn = [...ot, ...it];
|
|
1074
|
+
function Ue(e, t, r, n) {
|
|
1075
|
+
const o = nt(e, t, !0) ?? r;
|
|
1078
1076
|
return typeof o == "number" || typeof o == "string" ? (i) => typeof i == "string" ? i : (process.env.NODE_ENV !== "production" && typeof i != "number" && console.error(`MUI: Expected ${n} argument to be a number or a string, got ${i}.`), typeof o == "string" ? o.startsWith("var(") && i === 0 ? 0 : o.startsWith("var(") && i === 1 ? o : `calc(${i} * ${o})` : o * i) : Array.isArray(o) ? (i) => {
|
|
1079
1077
|
if (typeof i == "string")
|
|
1080
1078
|
return i;
|
|
@@ -1089,154 +1087,153 @@ function Ye(e, t, r, n) {
|
|
|
1089
1087
|
});
|
|
1090
1088
|
}
|
|
1091
1089
|
function Rt(e) {
|
|
1092
|
-
return
|
|
1090
|
+
return Ue(e, "spacing", 8, "spacing");
|
|
1093
1091
|
}
|
|
1094
|
-
function
|
|
1092
|
+
function Ye(e, t) {
|
|
1095
1093
|
return typeof t == "string" || t == null ? t : e(t);
|
|
1096
1094
|
}
|
|
1097
1095
|
function Nn(e, t) {
|
|
1098
|
-
return (r) => e.reduce((n, o) => (n[o] =
|
|
1096
|
+
return (r) => e.reduce((n, o) => (n[o] = Ye(t, r), n), {});
|
|
1099
1097
|
}
|
|
1100
1098
|
function Dn(e, t, r, n) {
|
|
1101
1099
|
if (!t.includes(r))
|
|
1102
1100
|
return null;
|
|
1103
|
-
const o =
|
|
1101
|
+
const o = In(r), i = Nn(o, n), s = e[r];
|
|
1104
1102
|
return ve(e, s, i);
|
|
1105
1103
|
}
|
|
1106
1104
|
function Dr(e, t) {
|
|
1107
1105
|
const r = Rt(e.theme);
|
|
1108
|
-
return Object.keys(e).map((n) => Dn(e, t, n, r)).reduce(
|
|
1109
|
-
}
|
|
1110
|
-
function J(e) {
|
|
1111
|
-
return Dr(e, it);
|
|
1106
|
+
return Object.keys(e).map((n) => Dn(e, t, n, r)).reduce(Fe, {});
|
|
1112
1107
|
}
|
|
1113
|
-
J.propTypes = process.env.NODE_ENV !== "production" ? it.reduce((e, t) => (e[t] = xe, e), {}) : {};
|
|
1114
|
-
J.filterProps = it;
|
|
1115
1108
|
function Z(e) {
|
|
1116
|
-
return Dr(e,
|
|
1109
|
+
return Dr(e, ot);
|
|
1117
1110
|
}
|
|
1118
|
-
Z.propTypes = process.env.NODE_ENV !== "production" ?
|
|
1119
|
-
Z.filterProps =
|
|
1111
|
+
Z.propTypes = process.env.NODE_ENV !== "production" ? ot.reduce((e, t) => (e[t] = xe, e), {}) : {};
|
|
1112
|
+
Z.filterProps = ot;
|
|
1113
|
+
function ee(e) {
|
|
1114
|
+
return Dr(e, it);
|
|
1115
|
+
}
|
|
1116
|
+
ee.propTypes = process.env.NODE_ENV !== "production" ? it.reduce((e, t) => (e[t] = xe, e), {}) : {};
|
|
1117
|
+
ee.filterProps = it;
|
|
1120
1118
|
process.env.NODE_ENV !== "production" && Mn.reduce((e, t) => (e[t] = xe, e), {});
|
|
1121
|
-
function
|
|
1119
|
+
function at(...e) {
|
|
1122
1120
|
const t = e.reduce((n, o) => (o.filterProps.forEach((i) => {
|
|
1123
1121
|
n[i] = o;
|
|
1124
|
-
}), n), {}), r = (n) => Object.keys(n).reduce((o, i) => t[i] ?
|
|
1122
|
+
}), n), {}), r = (n) => Object.keys(n).reduce((o, i) => t[i] ? Fe(o, t[i](n)) : o, {});
|
|
1125
1123
|
return r.propTypes = process.env.NODE_ENV !== "production" ? e.reduce((n, o) => Object.assign(n, o.propTypes), {}) : {}, r.filterProps = e.reduce((n, o) => n.concat(o.filterProps), []), r;
|
|
1126
1124
|
}
|
|
1127
1125
|
function le(e) {
|
|
1128
1126
|
return typeof e != "number" ? e : `${e}px solid`;
|
|
1129
1127
|
}
|
|
1130
1128
|
function ue(e, t) {
|
|
1131
|
-
return
|
|
1129
|
+
return te({
|
|
1132
1130
|
prop: e,
|
|
1133
1131
|
themeKey: "borders",
|
|
1134
1132
|
transform: t
|
|
1135
1133
|
});
|
|
1136
1134
|
}
|
|
1137
|
-
const Bn = ue("border", le), Ln = ue("borderTop", le), Vn = ue("borderRight", le), Fn = ue("borderBottom", le), jn = ue("borderLeft", le), zn = ue("borderColor"), Un = ue("borderTopColor"), Yn = ue("borderRightColor"), Wn = ue("borderBottomColor"), Hn = ue("borderLeftColor"), Gn = ue("outline", le), Kn = ue("outlineColor"),
|
|
1135
|
+
const Bn = ue("border", le), Ln = ue("borderTop", le), Vn = ue("borderRight", le), Fn = ue("borderBottom", le), jn = ue("borderLeft", le), zn = ue("borderColor"), Un = ue("borderTopColor"), Yn = ue("borderRightColor"), Wn = ue("borderBottomColor"), Hn = ue("borderLeftColor"), Gn = ue("outline", le), Kn = ue("outlineColor"), st = (e) => {
|
|
1138
1136
|
if (e.borderRadius !== void 0 && e.borderRadius !== null) {
|
|
1139
|
-
const t =
|
|
1140
|
-
borderRadius:
|
|
1137
|
+
const t = Ue(e.theme, "shape.borderRadius", 4, "borderRadius"), r = (n) => ({
|
|
1138
|
+
borderRadius: Ye(t, n)
|
|
1141
1139
|
});
|
|
1142
1140
|
return ve(e, e.borderRadius, r);
|
|
1143
1141
|
}
|
|
1144
1142
|
return null;
|
|
1145
1143
|
};
|
|
1146
|
-
|
|
1144
|
+
st.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1147
1145
|
borderRadius: xe
|
|
1148
1146
|
} : {};
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
const
|
|
1147
|
+
st.filterProps = ["borderRadius"];
|
|
1148
|
+
at(Bn, Ln, Vn, Fn, jn, zn, Un, Yn, Wn, Hn, st, Gn, Kn);
|
|
1149
|
+
const ct = (e) => {
|
|
1152
1150
|
if (e.gap !== void 0 && e.gap !== null) {
|
|
1153
|
-
const t =
|
|
1154
|
-
gap:
|
|
1151
|
+
const t = Ue(e.theme, "spacing", 8, "gap"), r = (n) => ({
|
|
1152
|
+
gap: Ye(t, n)
|
|
1155
1153
|
});
|
|
1156
1154
|
return ve(e, e.gap, r);
|
|
1157
1155
|
}
|
|
1158
1156
|
return null;
|
|
1159
1157
|
};
|
|
1160
|
-
|
|
1158
|
+
ct.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1161
1159
|
gap: xe
|
|
1162
1160
|
} : {};
|
|
1163
|
-
|
|
1164
|
-
const
|
|
1161
|
+
ct.filterProps = ["gap"];
|
|
1162
|
+
const lt = (e) => {
|
|
1165
1163
|
if (e.columnGap !== void 0 && e.columnGap !== null) {
|
|
1166
|
-
const t =
|
|
1167
|
-
columnGap:
|
|
1164
|
+
const t = Ue(e.theme, "spacing", 8, "columnGap"), r = (n) => ({
|
|
1165
|
+
columnGap: Ye(t, n)
|
|
1168
1166
|
});
|
|
1169
1167
|
return ve(e, e.columnGap, r);
|
|
1170
1168
|
}
|
|
1171
1169
|
return null;
|
|
1172
1170
|
};
|
|
1173
|
-
|
|
1171
|
+
lt.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1174
1172
|
columnGap: xe
|
|
1175
1173
|
} : {};
|
|
1176
|
-
|
|
1177
|
-
const
|
|
1174
|
+
lt.filterProps = ["columnGap"];
|
|
1175
|
+
const ut = (e) => {
|
|
1178
1176
|
if (e.rowGap !== void 0 && e.rowGap !== null) {
|
|
1179
|
-
const t =
|
|
1180
|
-
rowGap:
|
|
1177
|
+
const t = Ue(e.theme, "spacing", 8, "rowGap"), r = (n) => ({
|
|
1178
|
+
rowGap: Ye(t, n)
|
|
1181
1179
|
});
|
|
1182
1180
|
return ve(e, e.rowGap, r);
|
|
1183
1181
|
}
|
|
1184
1182
|
return null;
|
|
1185
1183
|
};
|
|
1186
|
-
|
|
1184
|
+
ut.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1187
1185
|
rowGap: xe
|
|
1188
1186
|
} : {};
|
|
1189
|
-
|
|
1190
|
-
const qn =
|
|
1187
|
+
ut.filterProps = ["rowGap"];
|
|
1188
|
+
const qn = te({
|
|
1191
1189
|
prop: "gridColumn"
|
|
1192
|
-
}), Qn =
|
|
1190
|
+
}), Qn = te({
|
|
1193
1191
|
prop: "gridRow"
|
|
1194
|
-
}), Xn =
|
|
1192
|
+
}), Xn = te({
|
|
1195
1193
|
prop: "gridAutoFlow"
|
|
1196
|
-
}), Jn =
|
|
1194
|
+
}), Jn = te({
|
|
1197
1195
|
prop: "gridAutoColumns"
|
|
1198
|
-
}), Zn =
|
|
1196
|
+
}), Zn = te({
|
|
1199
1197
|
prop: "gridAutoRows"
|
|
1200
|
-
}), eo =
|
|
1198
|
+
}), eo = te({
|
|
1201
1199
|
prop: "gridTemplateColumns"
|
|
1202
|
-
}), to =
|
|
1200
|
+
}), to = te({
|
|
1203
1201
|
prop: "gridTemplateRows"
|
|
1204
|
-
}), ro =
|
|
1202
|
+
}), ro = te({
|
|
1205
1203
|
prop: "gridTemplateAreas"
|
|
1206
|
-
}), no =
|
|
1204
|
+
}), no = te({
|
|
1207
1205
|
prop: "gridArea"
|
|
1208
1206
|
});
|
|
1209
|
-
|
|
1210
|
-
function
|
|
1207
|
+
at(ct, lt, ut, qn, Qn, Xn, Jn, Zn, eo, to, ro, no);
|
|
1208
|
+
function Ne(e, t) {
|
|
1211
1209
|
return t === "grey" ? t : e;
|
|
1212
1210
|
}
|
|
1213
|
-
const oo =
|
|
1211
|
+
const oo = te({
|
|
1214
1212
|
prop: "color",
|
|
1215
1213
|
themeKey: "palette",
|
|
1216
|
-
transform:
|
|
1217
|
-
}), io =
|
|
1214
|
+
transform: Ne
|
|
1215
|
+
}), io = te({
|
|
1218
1216
|
prop: "bgcolor",
|
|
1219
1217
|
cssProperty: "backgroundColor",
|
|
1220
1218
|
themeKey: "palette",
|
|
1221
|
-
transform:
|
|
1222
|
-
}), ao =
|
|
1219
|
+
transform: Ne
|
|
1220
|
+
}), ao = te({
|
|
1223
1221
|
prop: "backgroundColor",
|
|
1224
1222
|
themeKey: "palette",
|
|
1225
|
-
transform:
|
|
1223
|
+
transform: Ne
|
|
1226
1224
|
});
|
|
1227
|
-
|
|
1225
|
+
at(oo, io, ao);
|
|
1228
1226
|
function ae(e) {
|
|
1229
1227
|
return e <= 1 && e !== 0 ? `${e * 100}%` : e;
|
|
1230
1228
|
}
|
|
1231
|
-
const so =
|
|
1229
|
+
const so = te({
|
|
1232
1230
|
prop: "width",
|
|
1233
1231
|
transform: ae
|
|
1234
|
-
}),
|
|
1232
|
+
}), Pt = (e) => {
|
|
1235
1233
|
if (e.maxWidth !== void 0 && e.maxWidth !== null) {
|
|
1236
1234
|
const t = (r) => {
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
return n ? ((u = (c = e.theme) == null ? void 0 : c.breakpoints) == null ? void 0 : u.unit) !== "px" ? {
|
|
1235
|
+
const n = e.theme?.breakpoints?.values?.[r] || rt[r];
|
|
1236
|
+
return n ? e.theme?.breakpoints?.unit !== "px" ? {
|
|
1240
1237
|
maxWidth: `${n}${e.theme.breakpoints.unit}`
|
|
1241
1238
|
} : {
|
|
1242
1239
|
maxWidth: n
|
|
@@ -1248,35 +1245,35 @@ const so = ee({
|
|
|
1248
1245
|
}
|
|
1249
1246
|
return null;
|
|
1250
1247
|
};
|
|
1251
|
-
|
|
1252
|
-
const co =
|
|
1248
|
+
Pt.filterProps = ["maxWidth"];
|
|
1249
|
+
const co = te({
|
|
1253
1250
|
prop: "minWidth",
|
|
1254
1251
|
transform: ae
|
|
1255
|
-
}), lo =
|
|
1252
|
+
}), lo = te({
|
|
1256
1253
|
prop: "height",
|
|
1257
1254
|
transform: ae
|
|
1258
|
-
}), uo =
|
|
1255
|
+
}), uo = te({
|
|
1259
1256
|
prop: "maxHeight",
|
|
1260
1257
|
transform: ae
|
|
1261
|
-
}), fo =
|
|
1258
|
+
}), fo = te({
|
|
1262
1259
|
prop: "minHeight",
|
|
1263
1260
|
transform: ae
|
|
1264
1261
|
});
|
|
1265
|
-
|
|
1262
|
+
te({
|
|
1266
1263
|
prop: "size",
|
|
1267
1264
|
cssProperty: "width",
|
|
1268
1265
|
transform: ae
|
|
1269
1266
|
});
|
|
1270
|
-
|
|
1267
|
+
te({
|
|
1271
1268
|
prop: "size",
|
|
1272
1269
|
cssProperty: "height",
|
|
1273
1270
|
transform: ae
|
|
1274
1271
|
});
|
|
1275
|
-
const mo =
|
|
1272
|
+
const mo = te({
|
|
1276
1273
|
prop: "boxSizing"
|
|
1277
1274
|
});
|
|
1278
|
-
|
|
1279
|
-
const
|
|
1275
|
+
at(so, Pt, co, lo, uo, fo, mo);
|
|
1276
|
+
const ft = {
|
|
1280
1277
|
// borders
|
|
1281
1278
|
border: {
|
|
1282
1279
|
themeKey: "borders",
|
|
@@ -1322,142 +1319,142 @@ const dt = {
|
|
|
1322
1319
|
},
|
|
1323
1320
|
borderRadius: {
|
|
1324
1321
|
themeKey: "shape.borderRadius",
|
|
1325
|
-
style:
|
|
1322
|
+
style: st
|
|
1326
1323
|
},
|
|
1327
1324
|
// palette
|
|
1328
1325
|
color: {
|
|
1329
1326
|
themeKey: "palette",
|
|
1330
|
-
transform:
|
|
1327
|
+
transform: Ne
|
|
1331
1328
|
},
|
|
1332
1329
|
bgcolor: {
|
|
1333
1330
|
themeKey: "palette",
|
|
1334
1331
|
cssProperty: "backgroundColor",
|
|
1335
|
-
transform:
|
|
1332
|
+
transform: Ne
|
|
1336
1333
|
},
|
|
1337
1334
|
backgroundColor: {
|
|
1338
1335
|
themeKey: "palette",
|
|
1339
|
-
transform:
|
|
1336
|
+
transform: Ne
|
|
1340
1337
|
},
|
|
1341
1338
|
// spacing
|
|
1342
1339
|
p: {
|
|
1343
|
-
style:
|
|
1340
|
+
style: ee
|
|
1344
1341
|
},
|
|
1345
1342
|
pt: {
|
|
1346
|
-
style:
|
|
1343
|
+
style: ee
|
|
1347
1344
|
},
|
|
1348
1345
|
pr: {
|
|
1349
|
-
style:
|
|
1346
|
+
style: ee
|
|
1350
1347
|
},
|
|
1351
1348
|
pb: {
|
|
1352
|
-
style:
|
|
1349
|
+
style: ee
|
|
1353
1350
|
},
|
|
1354
1351
|
pl: {
|
|
1355
|
-
style:
|
|
1352
|
+
style: ee
|
|
1356
1353
|
},
|
|
1357
1354
|
px: {
|
|
1358
|
-
style:
|
|
1355
|
+
style: ee
|
|
1359
1356
|
},
|
|
1360
1357
|
py: {
|
|
1361
|
-
style:
|
|
1358
|
+
style: ee
|
|
1362
1359
|
},
|
|
1363
1360
|
padding: {
|
|
1364
|
-
style:
|
|
1361
|
+
style: ee
|
|
1365
1362
|
},
|
|
1366
1363
|
paddingTop: {
|
|
1367
|
-
style:
|
|
1364
|
+
style: ee
|
|
1368
1365
|
},
|
|
1369
1366
|
paddingRight: {
|
|
1370
|
-
style:
|
|
1367
|
+
style: ee
|
|
1371
1368
|
},
|
|
1372
1369
|
paddingBottom: {
|
|
1373
|
-
style:
|
|
1370
|
+
style: ee
|
|
1374
1371
|
},
|
|
1375
1372
|
paddingLeft: {
|
|
1376
|
-
style:
|
|
1373
|
+
style: ee
|
|
1377
1374
|
},
|
|
1378
1375
|
paddingX: {
|
|
1379
|
-
style:
|
|
1376
|
+
style: ee
|
|
1380
1377
|
},
|
|
1381
1378
|
paddingY: {
|
|
1382
|
-
style:
|
|
1379
|
+
style: ee
|
|
1383
1380
|
},
|
|
1384
1381
|
paddingInline: {
|
|
1385
|
-
style:
|
|
1382
|
+
style: ee
|
|
1386
1383
|
},
|
|
1387
1384
|
paddingInlineStart: {
|
|
1388
|
-
style:
|
|
1385
|
+
style: ee
|
|
1389
1386
|
},
|
|
1390
1387
|
paddingInlineEnd: {
|
|
1391
|
-
style:
|
|
1388
|
+
style: ee
|
|
1392
1389
|
},
|
|
1393
1390
|
paddingBlock: {
|
|
1394
|
-
style:
|
|
1391
|
+
style: ee
|
|
1395
1392
|
},
|
|
1396
1393
|
paddingBlockStart: {
|
|
1397
|
-
style:
|
|
1394
|
+
style: ee
|
|
1398
1395
|
},
|
|
1399
1396
|
paddingBlockEnd: {
|
|
1400
|
-
style:
|
|
1397
|
+
style: ee
|
|
1401
1398
|
},
|
|
1402
1399
|
m: {
|
|
1403
|
-
style:
|
|
1400
|
+
style: Z
|
|
1404
1401
|
},
|
|
1405
1402
|
mt: {
|
|
1406
|
-
style:
|
|
1403
|
+
style: Z
|
|
1407
1404
|
},
|
|
1408
1405
|
mr: {
|
|
1409
|
-
style:
|
|
1406
|
+
style: Z
|
|
1410
1407
|
},
|
|
1411
1408
|
mb: {
|
|
1412
|
-
style:
|
|
1409
|
+
style: Z
|
|
1413
1410
|
},
|
|
1414
1411
|
ml: {
|
|
1415
|
-
style:
|
|
1412
|
+
style: Z
|
|
1416
1413
|
},
|
|
1417
1414
|
mx: {
|
|
1418
|
-
style:
|
|
1415
|
+
style: Z
|
|
1419
1416
|
},
|
|
1420
1417
|
my: {
|
|
1421
|
-
style:
|
|
1418
|
+
style: Z
|
|
1422
1419
|
},
|
|
1423
1420
|
margin: {
|
|
1424
|
-
style:
|
|
1421
|
+
style: Z
|
|
1425
1422
|
},
|
|
1426
1423
|
marginTop: {
|
|
1427
|
-
style:
|
|
1424
|
+
style: Z
|
|
1428
1425
|
},
|
|
1429
1426
|
marginRight: {
|
|
1430
|
-
style:
|
|
1427
|
+
style: Z
|
|
1431
1428
|
},
|
|
1432
1429
|
marginBottom: {
|
|
1433
|
-
style:
|
|
1430
|
+
style: Z
|
|
1434
1431
|
},
|
|
1435
1432
|
marginLeft: {
|
|
1436
|
-
style:
|
|
1433
|
+
style: Z
|
|
1437
1434
|
},
|
|
1438
1435
|
marginX: {
|
|
1439
|
-
style:
|
|
1436
|
+
style: Z
|
|
1440
1437
|
},
|
|
1441
1438
|
marginY: {
|
|
1442
|
-
style:
|
|
1439
|
+
style: Z
|
|
1443
1440
|
},
|
|
1444
1441
|
marginInline: {
|
|
1445
|
-
style:
|
|
1442
|
+
style: Z
|
|
1446
1443
|
},
|
|
1447
1444
|
marginInlineStart: {
|
|
1448
|
-
style:
|
|
1445
|
+
style: Z
|
|
1449
1446
|
},
|
|
1450
1447
|
marginInlineEnd: {
|
|
1451
|
-
style:
|
|
1448
|
+
style: Z
|
|
1452
1449
|
},
|
|
1453
1450
|
marginBlock: {
|
|
1454
|
-
style:
|
|
1451
|
+
style: Z
|
|
1455
1452
|
},
|
|
1456
1453
|
marginBlockStart: {
|
|
1457
|
-
style:
|
|
1454
|
+
style: Z
|
|
1458
1455
|
},
|
|
1459
1456
|
marginBlockEnd: {
|
|
1460
|
-
style:
|
|
1457
|
+
style: Z
|
|
1461
1458
|
},
|
|
1462
1459
|
// display
|
|
1463
1460
|
displayPrint: {
|
|
@@ -1489,13 +1486,13 @@ const dt = {
|
|
|
1489
1486
|
justifySelf: {},
|
|
1490
1487
|
// grid
|
|
1491
1488
|
gap: {
|
|
1492
|
-
style:
|
|
1489
|
+
style: ct
|
|
1493
1490
|
},
|
|
1494
1491
|
rowGap: {
|
|
1495
|
-
style:
|
|
1492
|
+
style: ut
|
|
1496
1493
|
},
|
|
1497
1494
|
columnGap: {
|
|
1498
|
-
style:
|
|
1495
|
+
style: lt
|
|
1499
1496
|
},
|
|
1500
1497
|
gridColumn: {},
|
|
1501
1498
|
gridRow: {},
|
|
@@ -1524,7 +1521,7 @@ const dt = {
|
|
|
1524
1521
|
transform: ae
|
|
1525
1522
|
},
|
|
1526
1523
|
maxWidth: {
|
|
1527
|
-
style:
|
|
1524
|
+
style: Pt
|
|
1528
1525
|
},
|
|
1529
1526
|
minWidth: {
|
|
1530
1527
|
transform: ae
|
|
@@ -1582,7 +1579,7 @@ function go() {
|
|
|
1582
1579
|
[r]: n
|
|
1583
1580
|
};
|
|
1584
1581
|
const {
|
|
1585
|
-
cssProperty:
|
|
1582
|
+
cssProperty: f = r,
|
|
1586
1583
|
themeKey: d,
|
|
1587
1584
|
transform: m,
|
|
1588
1585
|
style: p
|
|
@@ -1593,11 +1590,11 @@ function go() {
|
|
|
1593
1590
|
return {
|
|
1594
1591
|
[r]: n
|
|
1595
1592
|
};
|
|
1596
|
-
const h =
|
|
1597
|
-
return p ? p(s) : ve(s, n, (
|
|
1598
|
-
let l =
|
|
1599
|
-
return
|
|
1600
|
-
[
|
|
1593
|
+
const h = nt(o, d) || {};
|
|
1594
|
+
return p ? p(s) : ve(s, n, (y) => {
|
|
1595
|
+
let l = Ze(h, m, y);
|
|
1596
|
+
return y === l && typeof y == "string" && (l = Ze(h, m, `${r}${y === "default" ? "" : _e(y)}`, y)), f === !1 ? l : {
|
|
1597
|
+
[f]: l
|
|
1601
1598
|
};
|
|
1602
1599
|
});
|
|
1603
1600
|
}
|
|
@@ -1609,37 +1606,37 @@ function go() {
|
|
|
1609
1606
|
} = r || {};
|
|
1610
1607
|
if (!n)
|
|
1611
1608
|
return null;
|
|
1612
|
-
const s = o.unstable_sxConfig ??
|
|
1613
|
-
function c(
|
|
1614
|
-
let d =
|
|
1615
|
-
if (typeof
|
|
1616
|
-
d =
|
|
1617
|
-
else if (typeof
|
|
1618
|
-
return
|
|
1609
|
+
const s = o.unstable_sxConfig ?? ft;
|
|
1610
|
+
function c(f) {
|
|
1611
|
+
let d = f;
|
|
1612
|
+
if (typeof f == "function")
|
|
1613
|
+
d = f(o);
|
|
1614
|
+
else if (typeof f != "object")
|
|
1615
|
+
return f;
|
|
1619
1616
|
if (!d)
|
|
1620
1617
|
return null;
|
|
1621
1618
|
const m = An(o.breakpoints), p = Object.keys(m);
|
|
1622
1619
|
let h = m;
|
|
1623
|
-
return Object.keys(d).forEach((
|
|
1624
|
-
const
|
|
1625
|
-
if (
|
|
1626
|
-
if (typeof
|
|
1627
|
-
if (s[
|
|
1628
|
-
h =
|
|
1620
|
+
return Object.keys(d).forEach((v) => {
|
|
1621
|
+
const y = ho(d[v], o);
|
|
1622
|
+
if (y != null)
|
|
1623
|
+
if (typeof y == "object")
|
|
1624
|
+
if (s[v])
|
|
1625
|
+
h = Fe(h, e(v, y, o, s));
|
|
1629
1626
|
else {
|
|
1630
1627
|
const l = ve({
|
|
1631
1628
|
theme: o
|
|
1632
|
-
},
|
|
1633
|
-
[
|
|
1629
|
+
}, y, (C) => ({
|
|
1630
|
+
[v]: C
|
|
1634
1631
|
}));
|
|
1635
|
-
po(l,
|
|
1636
|
-
sx:
|
|
1632
|
+
po(l, y) ? h[v] = t({
|
|
1633
|
+
sx: y,
|
|
1637
1634
|
theme: o,
|
|
1638
1635
|
nested: !0
|
|
1639
|
-
}) : h =
|
|
1636
|
+
}) : h = Fe(h, l);
|
|
1640
1637
|
}
|
|
1641
1638
|
else
|
|
1642
|
-
h =
|
|
1639
|
+
h = Fe(h, e(v, y, o, s));
|
|
1643
1640
|
}), !i && o.modularCssLayers ? {
|
|
1644
1641
|
"@layer sx": er(o, rr(p, h))
|
|
1645
1642
|
} : er(o, rr(p, h));
|
|
@@ -1648,8 +1645,8 @@ function go() {
|
|
|
1648
1645
|
}
|
|
1649
1646
|
return t;
|
|
1650
1647
|
}
|
|
1651
|
-
const
|
|
1652
|
-
|
|
1648
|
+
const De = go();
|
|
1649
|
+
De.filterProps = ["sx"];
|
|
1653
1650
|
function yo(e) {
|
|
1654
1651
|
for (var t = 0, r, n = 0, o = e.length; o >= 4; ++n, o -= 4)
|
|
1655
1652
|
r = e.charCodeAt(n) & 255 | (e.charCodeAt(++n) & 255) << 8 | (e.charCodeAt(++n) & 255) << 16 | (e.charCodeAt(++n) & 255) << 24, r = /* Math.imul(k, m): */
|
|
@@ -1746,7 +1743,7 @@ var So = /[A-Z]|^ms/g, Co = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Br = function(t) {
|
|
|
1746
1743
|
}
|
|
1747
1744
|
return bo[t] !== 1 && !Br(t) && typeof r == "number" && r !== 0 ? r + "px" : r;
|
|
1748
1745
|
};
|
|
1749
|
-
function
|
|
1746
|
+
function et(e, t, r) {
|
|
1750
1747
|
if (r == null)
|
|
1751
1748
|
return "";
|
|
1752
1749
|
var n = r;
|
|
@@ -1779,14 +1776,14 @@ function tt(e, t, r) {
|
|
|
1779
1776
|
return Eo(e, t, r);
|
|
1780
1777
|
}
|
|
1781
1778
|
}
|
|
1782
|
-
var
|
|
1783
|
-
return
|
|
1779
|
+
var f = r;
|
|
1780
|
+
return f;
|
|
1784
1781
|
}
|
|
1785
1782
|
function Eo(e, t, r) {
|
|
1786
1783
|
var n = "";
|
|
1787
1784
|
if (Array.isArray(r))
|
|
1788
1785
|
for (var o = 0; o < r.length; o++)
|
|
1789
|
-
n +=
|
|
1786
|
+
n += et(e, t, r[o]) + ";";
|
|
1790
1787
|
else
|
|
1791
1788
|
for (var i in r) {
|
|
1792
1789
|
var s = r[i];
|
|
@@ -1794,10 +1791,10 @@ function Eo(e, t, r) {
|
|
|
1794
1791
|
var c = s;
|
|
1795
1792
|
or(c) && (n += Et(i) + ":" + ir(i, c) + ";");
|
|
1796
1793
|
} else if (Array.isArray(s) && typeof s[0] == "string" && t == null)
|
|
1797
|
-
for (var
|
|
1798
|
-
or(s[
|
|
1794
|
+
for (var f = 0; f < s.length; f++)
|
|
1795
|
+
or(s[f]) && (n += Et(i) + ":" + ir(i, s[f]) + ";");
|
|
1799
1796
|
else {
|
|
1800
|
-
var d =
|
|
1797
|
+
var d = et(e, t, s);
|
|
1801
1798
|
switch (i) {
|
|
1802
1799
|
case "animation":
|
|
1803
1800
|
case "animationName": {
|
|
@@ -1819,15 +1816,15 @@ function To(e, t, r) {
|
|
|
1819
1816
|
Se = void 0;
|
|
1820
1817
|
var i = e[0];
|
|
1821
1818
|
if (i == null || i.raw === void 0)
|
|
1822
|
-
n = !1, o +=
|
|
1819
|
+
n = !1, o += et(r, t, i);
|
|
1823
1820
|
else {
|
|
1824
1821
|
var s = i;
|
|
1825
1822
|
o += s[0];
|
|
1826
1823
|
}
|
|
1827
1824
|
for (var c = 1; c < e.length; c++)
|
|
1828
|
-
if (o +=
|
|
1829
|
-
var
|
|
1830
|
-
o +=
|
|
1825
|
+
if (o += et(r, t, e[c]), n) {
|
|
1826
|
+
var f = i;
|
|
1827
|
+
o += f[c];
|
|
1831
1828
|
}
|
|
1832
1829
|
ar.lastIndex = 0;
|
|
1833
1830
|
for (var d = "", m; (m = ar.exec(o)) !== null; )
|
|
@@ -1840,7 +1837,7 @@ function To(e, t, r) {
|
|
|
1840
1837
|
};
|
|
1841
1838
|
}
|
|
1842
1839
|
/**
|
|
1843
|
-
* @mui/styled-engine v7.3.
|
|
1840
|
+
* @mui/styled-engine v7.3.6
|
|
1844
1841
|
*
|
|
1845
1842
|
* @license MIT
|
|
1846
1843
|
* This source code is licensed under the MIT license found in the
|
|
@@ -1894,25 +1891,25 @@ function $o(e) {
|
|
|
1894
1891
|
function c(h) {
|
|
1895
1892
|
return `@media (min-width:${typeof t[h] == "number" ? t[h] : h}${r})`;
|
|
1896
1893
|
}
|
|
1897
|
-
function
|
|
1894
|
+
function f(h) {
|
|
1898
1895
|
return `@media (max-width:${(typeof t[h] == "number" ? t[h] : h) - n / 100}${r})`;
|
|
1899
1896
|
}
|
|
1900
|
-
function d(h,
|
|
1901
|
-
const
|
|
1902
|
-
return `@media (min-width:${typeof t[h] == "number" ? t[h] : h}${r}) and (max-width:${(
|
|
1897
|
+
function d(h, v) {
|
|
1898
|
+
const y = s.indexOf(v);
|
|
1899
|
+
return `@media (min-width:${typeof t[h] == "number" ? t[h] : h}${r}) and (max-width:${(y !== -1 && typeof t[s[y]] == "number" ? t[s[y]] : v) - n / 100}${r})`;
|
|
1903
1900
|
}
|
|
1904
1901
|
function m(h) {
|
|
1905
1902
|
return s.indexOf(h) + 1 < s.length ? d(h, s[s.indexOf(h) + 1]) : c(h);
|
|
1906
1903
|
}
|
|
1907
1904
|
function p(h) {
|
|
1908
|
-
const
|
|
1909
|
-
return
|
|
1905
|
+
const v = s.indexOf(h);
|
|
1906
|
+
return v === 0 ? c(s[1]) : v === s.length - 1 ? f(s[v]) : d(h, s[s.indexOf(h) + 1]).replace("@media", "@media not all and");
|
|
1910
1907
|
}
|
|
1911
1908
|
return {
|
|
1912
1909
|
keys: s,
|
|
1913
1910
|
values: i,
|
|
1914
1911
|
up: c,
|
|
1915
|
-
down:
|
|
1912
|
+
down: f,
|
|
1916
1913
|
between: d,
|
|
1917
1914
|
only: m,
|
|
1918
1915
|
not: p,
|
|
@@ -1935,26 +1932,25 @@ function Lr(e = 8, t = Rt({
|
|
|
1935
1932
|
return r.mui = !0, r;
|
|
1936
1933
|
}
|
|
1937
1934
|
function Ao(e, t) {
|
|
1938
|
-
var n;
|
|
1939
1935
|
const r = this;
|
|
1940
1936
|
if (r.vars) {
|
|
1941
|
-
if (!
|
|
1937
|
+
if (!r.colorSchemes?.[e] || typeof r.getColorSchemeSelector != "function")
|
|
1942
1938
|
return {};
|
|
1943
|
-
let
|
|
1944
|
-
return
|
|
1945
|
-
[
|
|
1939
|
+
let n = r.getColorSchemeSelector(e);
|
|
1940
|
+
return n === "&" ? t : ((n.includes("data-") || n.includes(".")) && (n = `*:where(${n.replace(/\s*&$/, "")}) &`), {
|
|
1941
|
+
[n]: t
|
|
1946
1942
|
});
|
|
1947
1943
|
}
|
|
1948
1944
|
return r.palette.mode === e ? t : {};
|
|
1949
1945
|
}
|
|
1950
|
-
function
|
|
1946
|
+
function It(e = {}, ...t) {
|
|
1951
1947
|
const {
|
|
1952
1948
|
breakpoints: r = {},
|
|
1953
1949
|
palette: n = {},
|
|
1954
1950
|
spacing: o,
|
|
1955
1951
|
shape: i = {},
|
|
1956
1952
|
...s
|
|
1957
|
-
} = e, c = $o(r),
|
|
1953
|
+
} = e, c = $o(r), f = Lr(o);
|
|
1958
1954
|
let d = se({
|
|
1959
1955
|
breakpoints: c,
|
|
1960
1956
|
direction: "ltr",
|
|
@@ -1964,17 +1960,17 @@ function Pt(e = {}, ...t) {
|
|
|
1964
1960
|
mode: "light",
|
|
1965
1961
|
...n
|
|
1966
1962
|
},
|
|
1967
|
-
spacing:
|
|
1963
|
+
spacing: f,
|
|
1968
1964
|
shape: {
|
|
1969
1965
|
..._o,
|
|
1970
1966
|
...i
|
|
1971
1967
|
}
|
|
1972
1968
|
}, s);
|
|
1973
1969
|
return d = $n(d), d.applyStyles = Ao, d = t.reduce((m, p) => se(m, p), d), d.unstable_sxConfig = {
|
|
1974
|
-
...
|
|
1975
|
-
...s
|
|
1970
|
+
...ft,
|
|
1971
|
+
...s?.unstable_sxConfig
|
|
1976
1972
|
}, d.unstable_sx = function(p) {
|
|
1977
|
-
return
|
|
1973
|
+
return De({
|
|
1978
1974
|
sx: p,
|
|
1979
1975
|
theme: this
|
|
1980
1976
|
});
|
|
@@ -1987,8 +1983,8 @@ function Ro(e = null) {
|
|
|
1987
1983
|
const t = pe.useContext(cn);
|
|
1988
1984
|
return !t || ko(t) ? e : t;
|
|
1989
1985
|
}
|
|
1990
|
-
const
|
|
1991
|
-
function
|
|
1986
|
+
const Po = It();
|
|
1987
|
+
function Io(e = Po) {
|
|
1992
1988
|
return Ro(e);
|
|
1993
1989
|
}
|
|
1994
1990
|
const Mo = {
|
|
@@ -2030,9 +2026,9 @@ function Do(e) {
|
|
|
2030
2026
|
return Vr(e, "Component");
|
|
2031
2027
|
if (typeof e == "object")
|
|
2032
2028
|
switch (e.$$typeof) {
|
|
2033
|
-
case
|
|
2029
|
+
case Je.ForwardRef:
|
|
2034
2030
|
return cr(e, e.render, "ForwardRef");
|
|
2035
|
-
case
|
|
2031
|
+
case Je.Memo:
|
|
2036
2032
|
return cr(e, e.type, "memo");
|
|
2037
2033
|
default:
|
|
2038
2034
|
return;
|
|
@@ -2052,7 +2048,7 @@ function Fr(e) {
|
|
|
2052
2048
|
typeof o.style != "function" && (o.style = $e(o.style));
|
|
2053
2049
|
}), n;
|
|
2054
2050
|
}
|
|
2055
|
-
const Bo =
|
|
2051
|
+
const Bo = It();
|
|
2056
2052
|
function Tt(e) {
|
|
2057
2053
|
return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
|
|
2058
2054
|
}
|
|
@@ -2065,11 +2061,11 @@ function Lo(e) {
|
|
|
2065
2061
|
function Vo(e, t, r) {
|
|
2066
2062
|
e.theme = Uo(e.theme) ? r : e.theme[t] || e.theme;
|
|
2067
2063
|
}
|
|
2068
|
-
function
|
|
2064
|
+
function Qe(e, t, r) {
|
|
2069
2065
|
const n = typeof t == "function" ? t(e) : t;
|
|
2070
2066
|
if (Array.isArray(n))
|
|
2071
|
-
return n.flatMap((o) =>
|
|
2072
|
-
if (Array.isArray(n
|
|
2067
|
+
return n.flatMap((o) => Qe(e, o, r));
|
|
2068
|
+
if (Array.isArray(n?.variants)) {
|
|
2073
2069
|
let o;
|
|
2074
2070
|
if (n.isProcessed)
|
|
2075
2071
|
o = r ? we(n.style, r) : n.style;
|
|
@@ -2082,29 +2078,28 @@ function Xe(e, t, r) {
|
|
|
2082
2078
|
}
|
|
2083
2079
|
return jr(e, n.variants, [o], r);
|
|
2084
2080
|
}
|
|
2085
|
-
return n
|
|
2081
|
+
return n?.isProcessed ? r ? we($e(n.style), r) : n.style : r ? we($e(n), r) : n;
|
|
2086
2082
|
}
|
|
2087
2083
|
function jr(e, t, r = [], n = void 0) {
|
|
2088
|
-
var i;
|
|
2089
2084
|
let o;
|
|
2090
|
-
e: for (let
|
|
2091
|
-
const
|
|
2092
|
-
if (typeof
|
|
2093
|
-
if (o
|
|
2085
|
+
e: for (let i = 0; i < t.length; i += 1) {
|
|
2086
|
+
const s = t[i];
|
|
2087
|
+
if (typeof s.props == "function") {
|
|
2088
|
+
if (o ??= {
|
|
2094
2089
|
...e,
|
|
2095
2090
|
...e.ownerState,
|
|
2096
2091
|
ownerState: e.ownerState
|
|
2097
|
-
}
|
|
2092
|
+
}, !s.props(o))
|
|
2098
2093
|
continue;
|
|
2099
2094
|
} else
|
|
2100
|
-
for (const
|
|
2101
|
-
if (e[
|
|
2095
|
+
for (const c in s.props)
|
|
2096
|
+
if (e[c] !== s.props[c] && e.ownerState?.[c] !== s.props[c])
|
|
2102
2097
|
continue e;
|
|
2103
|
-
typeof
|
|
2098
|
+
typeof s.style == "function" ? (o ??= {
|
|
2104
2099
|
...e,
|
|
2105
2100
|
...e.ownerState,
|
|
2106
2101
|
ownerState: e.ownerState
|
|
2107
|
-
}
|
|
2102
|
+
}, r.push(n ? we($e(s.style(o)), n) : s.style(o))) : r.push(n ? we($e(s.style), n) : s.style);
|
|
2108
2103
|
}
|
|
2109
2104
|
return r;
|
|
2110
2105
|
}
|
|
@@ -2118,8 +2113,8 @@ function Fo(e = {}) {
|
|
|
2118
2113
|
function i(c) {
|
|
2119
2114
|
Vo(c, t, r);
|
|
2120
2115
|
}
|
|
2121
|
-
return (c,
|
|
2122
|
-
Oo(c, (
|
|
2116
|
+
return (c, f = {}) => {
|
|
2117
|
+
Oo(c, (w) => w.filter((Q) => Q !== De));
|
|
2123
2118
|
const {
|
|
2124
2119
|
name: d,
|
|
2125
2120
|
slot: m,
|
|
@@ -2127,57 +2122,55 @@ function Fo(e = {}) {
|
|
|
2127
2122
|
skipSx: h,
|
|
2128
2123
|
// TODO v6: remove `lowercaseFirstLetter()` in the next major release
|
|
2129
2124
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
2130
|
-
overridesResolver:
|
|
2131
|
-
...
|
|
2132
|
-
} =
|
|
2125
|
+
overridesResolver: v = Lo(zr(m)),
|
|
2126
|
+
...y
|
|
2127
|
+
} = f, l = d && d.startsWith("Mui") || m ? "components" : "custom", C = p !== void 0 ? p : (
|
|
2133
2128
|
// TODO v6: remove `Root` in the next major release
|
|
2134
2129
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
2135
2130
|
m && m !== "Root" && m !== "root" || !1
|
|
2136
2131
|
), _ = h || !1;
|
|
2137
|
-
let
|
|
2138
|
-
m === "Root" || m === "root" ?
|
|
2139
|
-
const
|
|
2140
|
-
shouldForwardProp:
|
|
2132
|
+
let M = Tt;
|
|
2133
|
+
m === "Root" || m === "root" ? M = n : m ? M = o : Yo(c) && (M = void 0);
|
|
2134
|
+
const D = xo(c, {
|
|
2135
|
+
shouldForwardProp: M,
|
|
2141
2136
|
label: zo(d, m),
|
|
2142
|
-
...
|
|
2143
|
-
}),
|
|
2144
|
-
if (
|
|
2145
|
-
return
|
|
2146
|
-
if (typeof
|
|
2147
|
-
return function(
|
|
2148
|
-
return
|
|
2137
|
+
...y
|
|
2138
|
+
}), O = (w) => {
|
|
2139
|
+
if (w.__emotion_real === w)
|
|
2140
|
+
return w;
|
|
2141
|
+
if (typeof w == "function")
|
|
2142
|
+
return function(re) {
|
|
2143
|
+
return Qe(re, w, re.theme.modularCssLayers ? l : void 0);
|
|
2149
2144
|
};
|
|
2150
|
-
if (ge(
|
|
2151
|
-
const
|
|
2152
|
-
return function(
|
|
2153
|
-
return
|
|
2145
|
+
if (ge(w)) {
|
|
2146
|
+
const Q = Fr(w);
|
|
2147
|
+
return function(q) {
|
|
2148
|
+
return Q.variants ? Qe(q, Q, q.theme.modularCssLayers ? l : void 0) : q.theme.modularCssLayers ? we(Q.style, l) : Q.style;
|
|
2154
2149
|
};
|
|
2155
2150
|
}
|
|
2156
|
-
return
|
|
2157
|
-
}, b = (
|
|
2158
|
-
const
|
|
2159
|
-
if (
|
|
2160
|
-
|
|
2161
|
-
const A = (oe = (re = x.theme.components) == null ? void 0 : re[d]) == null ? void 0 : oe.styleOverrides;
|
|
2151
|
+
return w;
|
|
2152
|
+
}, b = (...w) => {
|
|
2153
|
+
const Q = [], re = w.map(O), q = [];
|
|
2154
|
+
if (Q.push(i), d && v && q.push(function($) {
|
|
2155
|
+
const A = $.theme.components?.[d]?.styleOverrides;
|
|
2162
2156
|
if (!A)
|
|
2163
2157
|
return null;
|
|
2164
|
-
const
|
|
2165
|
-
for (const
|
|
2166
|
-
|
|
2167
|
-
return
|
|
2168
|
-
}), d && !C &&
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
const a = te.shift(), x = new Array(q.length).fill(""), v = new Array(ne.length).fill("");
|
|
2158
|
+
const B = {};
|
|
2159
|
+
for (const ne in A)
|
|
2160
|
+
B[ne] = Qe($, A[ne], $.theme.modularCssLayers ? "theme" : void 0);
|
|
2161
|
+
return v($, B);
|
|
2162
|
+
}), d && !C && q.push(function($) {
|
|
2163
|
+
const A = $.theme?.components?.[d]?.variants;
|
|
2164
|
+
return A ? jr($, A, [], $.theme.modularCssLayers ? "theme" : void 0) : null;
|
|
2165
|
+
}), _ || q.push(De), Array.isArray(re[0])) {
|
|
2166
|
+
const a = re.shift(), $ = new Array(Q.length).fill(""), S = new Array(q.length).fill("");
|
|
2174
2167
|
let A;
|
|
2175
|
-
A = [
|
|
2168
|
+
A = [...$, ...a, ...S], A.raw = [...$, ...a.raw, ...S], Q.unshift(A);
|
|
2176
2169
|
}
|
|
2177
|
-
const
|
|
2178
|
-
return c.muiName && (
|
|
2170
|
+
const oe = [...Q, ...re, ...q], J = D(...oe);
|
|
2171
|
+
return c.muiName && (J.muiName = c.muiName), process.env.NODE_ENV !== "production" && (J.displayName = jo(d, m, c)), J;
|
|
2179
2172
|
};
|
|
2180
|
-
return
|
|
2173
|
+
return D.withConfig && (b.withConfig = D.withConfig), b;
|
|
2181
2174
|
};
|
|
2182
2175
|
}
|
|
2183
2176
|
function jo(e, t, r) {
|
|
@@ -2223,15 +2216,15 @@ function wt(e, t, r = !1) {
|
|
|
2223
2216
|
n[i] = {
|
|
2224
2217
|
...c
|
|
2225
2218
|
};
|
|
2226
|
-
for (const
|
|
2227
|
-
if (Object.prototype.hasOwnProperty.call(s,
|
|
2228
|
-
const d =
|
|
2219
|
+
for (const f in s)
|
|
2220
|
+
if (Object.prototype.hasOwnProperty.call(s, f)) {
|
|
2221
|
+
const d = f;
|
|
2229
2222
|
n[i][d] = wt(s[d], c[d], r);
|
|
2230
2223
|
}
|
|
2231
2224
|
}
|
|
2232
|
-
} else i === "className" && r && t.className ? n.className = Mr(e
|
|
2233
|
-
...e
|
|
2234
|
-
...t
|
|
2225
|
+
} else i === "className" && r && t.className ? n.className = Mr(e?.className, t?.className) : i === "style" && r && t.style ? n.style = {
|
|
2226
|
+
...e?.style,
|
|
2227
|
+
...t?.style
|
|
2235
2228
|
} : n[i] === void 0 && (n[i] = e[i]);
|
|
2236
2229
|
}
|
|
2237
2230
|
return n;
|
|
@@ -2273,14 +2266,14 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
2273
2266
|
const Go = (e) => {
|
|
2274
2267
|
const t = Te(e);
|
|
2275
2268
|
return t.values.slice(0, 3).map((r, n) => t.type.includes("hsl") && n !== 0 ? `${r}%` : r).join(" ");
|
|
2276
|
-
},
|
|
2269
|
+
}, Le = (e, t) => {
|
|
2277
2270
|
try {
|
|
2278
2271
|
return Go(e);
|
|
2279
2272
|
} catch {
|
|
2280
2273
|
return t && process.env.NODE_ENV !== "production" && console.warn(t), e;
|
|
2281
2274
|
}
|
|
2282
2275
|
};
|
|
2283
|
-
function
|
|
2276
|
+
function dt(e) {
|
|
2284
2277
|
const {
|
|
2285
2278
|
type: t,
|
|
2286
2279
|
colorSpace: r
|
|
@@ -2296,10 +2289,10 @@ function Ur(e) {
|
|
|
2296
2289
|
values: t
|
|
2297
2290
|
} = e, r = t[0], n = t[1] / 100, o = t[2] / 100, i = n * Math.min(o, 1 - o), s = (d, m = (d + r / 30) % 12) => o - i * Math.max(Math.min(m - 3, 9 - m, 1), -1);
|
|
2298
2291
|
let c = "rgb";
|
|
2299
|
-
const
|
|
2300
|
-
return e.type === "hsla" && (c += "a",
|
|
2292
|
+
const f = [Math.round(s(0) * 255), Math.round(s(8) * 255), Math.round(s(4) * 255)];
|
|
2293
|
+
return e.type === "hsla" && (c += "a", f.push(t[3])), dt({
|
|
2301
2294
|
type: c,
|
|
2302
|
-
values:
|
|
2295
|
+
values: f
|
|
2303
2296
|
});
|
|
2304
2297
|
}
|
|
2305
2298
|
function $t(e) {
|
|
@@ -2312,7 +2305,7 @@ function lr(e, t) {
|
|
|
2312
2305
|
return (Math.max(r, n) + 0.05) / (Math.min(r, n) + 0.05);
|
|
2313
2306
|
}
|
|
2314
2307
|
function Yr(e, t) {
|
|
2315
|
-
return e = Te(e), t = Nt(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t,
|
|
2308
|
+
return e = Te(e), t = Nt(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, dt(e);
|
|
2316
2309
|
}
|
|
2317
2310
|
function Oe(e, t, r) {
|
|
2318
2311
|
try {
|
|
@@ -2321,22 +2314,22 @@ function Oe(e, t, r) {
|
|
|
2321
2314
|
return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
|
|
2322
2315
|
}
|
|
2323
2316
|
}
|
|
2324
|
-
function
|
|
2317
|
+
function mt(e, t) {
|
|
2325
2318
|
if (e = Te(e), t = Nt(t), e.type.includes("hsl"))
|
|
2326
2319
|
e.values[2] *= 1 - t;
|
|
2327
2320
|
else if (e.type.includes("rgb") || e.type.includes("color"))
|
|
2328
2321
|
for (let r = 0; r < 3; r += 1)
|
|
2329
2322
|
e.values[r] *= 1 - t;
|
|
2330
|
-
return
|
|
2323
|
+
return dt(e);
|
|
2331
2324
|
}
|
|
2332
2325
|
function W(e, t, r) {
|
|
2333
2326
|
try {
|
|
2334
|
-
return
|
|
2327
|
+
return mt(e, t);
|
|
2335
2328
|
} catch {
|
|
2336
2329
|
return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
|
|
2337
2330
|
}
|
|
2338
2331
|
}
|
|
2339
|
-
function
|
|
2332
|
+
function pt(e, t) {
|
|
2340
2333
|
if (e = Te(e), t = Nt(t), e.type.includes("hsl"))
|
|
2341
2334
|
e.values[2] += (100 - e.values[2]) * t;
|
|
2342
2335
|
else if (e.type.includes("rgb"))
|
|
@@ -2345,19 +2338,19 @@ function ht(e, t) {
|
|
|
2345
2338
|
else if (e.type.includes("color"))
|
|
2346
2339
|
for (let r = 0; r < 3; r += 1)
|
|
2347
2340
|
e.values[r] += (1 - e.values[r]) * t;
|
|
2348
|
-
return
|
|
2341
|
+
return dt(e);
|
|
2349
2342
|
}
|
|
2350
2343
|
function H(e, t, r) {
|
|
2351
2344
|
try {
|
|
2352
|
-
return
|
|
2345
|
+
return pt(e, t);
|
|
2353
2346
|
} catch {
|
|
2354
2347
|
return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
|
|
2355
2348
|
}
|
|
2356
2349
|
}
|
|
2357
2350
|
function Ko(e, t = 0.15) {
|
|
2358
|
-
return $t(e) > 0.5 ?
|
|
2351
|
+
return $t(e) > 0.5 ? mt(e, t) : pt(e, t);
|
|
2359
2352
|
}
|
|
2360
|
-
function
|
|
2353
|
+
function qe(e, t, r) {
|
|
2361
2354
|
try {
|
|
2362
2355
|
return Ko(e, t);
|
|
2363
2356
|
} catch {
|
|
@@ -2416,8 +2409,8 @@ const fr = (e, t, r, n = []) => {
|
|
|
2416
2409
|
});
|
|
2417
2410
|
}, ei = (e, t, r) => {
|
|
2418
2411
|
function n(o, i = [], s = []) {
|
|
2419
|
-
Object.entries(o).forEach(([c,
|
|
2420
|
-
(!r || r && !r([...i, c])) &&
|
|
2412
|
+
Object.entries(o).forEach(([c, f]) => {
|
|
2413
|
+
(!r || r && !r([...i, c])) && f != null && (typeof f == "object" && Object.keys(f).length > 0 ? n(f, [...i, c], Array.isArray(f) ? [...s, c] : s) : t([...i, c], f, s));
|
|
2421
2414
|
});
|
|
2422
2415
|
}
|
|
2423
2416
|
n(e);
|
|
@@ -2429,9 +2422,9 @@ function xt(e, t) {
|
|
|
2429
2422
|
} = t || {}, o = {}, i = {}, s = {};
|
|
2430
2423
|
return ei(
|
|
2431
2424
|
e,
|
|
2432
|
-
(c,
|
|
2433
|
-
if ((typeof
|
|
2434
|
-
const m = `--${r ? `${r}-` : ""}${c.join("-")}`, p = ti(c,
|
|
2425
|
+
(c, f, d) => {
|
|
2426
|
+
if ((typeof f == "string" || typeof f == "number") && (!n || !n(c, f))) {
|
|
2427
|
+
const m = `--${r ? `${r}-` : ""}${c.join("-")}`, p = ti(c, f);
|
|
2435
2428
|
Object.assign(o, {
|
|
2436
2429
|
[m]: p
|
|
2437
2430
|
}), fr(i, c, `var(${m})`, d), fr(s, c, `var(${m}, ${p})`, d);
|
|
@@ -2454,110 +2447,107 @@ function ri(e, t = {}) {
|
|
|
2454
2447
|
} = t, {
|
|
2455
2448
|
colorSchemes: s = {},
|
|
2456
2449
|
components: c,
|
|
2457
|
-
defaultColorScheme:
|
|
2450
|
+
defaultColorScheme: f = "light",
|
|
2458
2451
|
...d
|
|
2459
2452
|
} = e, {
|
|
2460
2453
|
vars: m,
|
|
2461
2454
|
css: p,
|
|
2462
2455
|
varsWithDefaults: h
|
|
2463
2456
|
} = xt(d, t);
|
|
2464
|
-
let
|
|
2465
|
-
const
|
|
2466
|
-
[
|
|
2457
|
+
let v = h;
|
|
2458
|
+
const y = {}, {
|
|
2459
|
+
[f]: l,
|
|
2467
2460
|
...C
|
|
2468
2461
|
} = s;
|
|
2469
|
-
if (Object.entries(C || {}).forEach(([
|
|
2462
|
+
if (Object.entries(C || {}).forEach(([O, b]) => {
|
|
2470
2463
|
const {
|
|
2471
|
-
vars:
|
|
2472
|
-
css:
|
|
2473
|
-
varsWithDefaults:
|
|
2464
|
+
vars: w,
|
|
2465
|
+
css: Q,
|
|
2466
|
+
varsWithDefaults: re
|
|
2474
2467
|
} = xt(b, t);
|
|
2475
|
-
|
|
2476
|
-
css:
|
|
2477
|
-
vars:
|
|
2468
|
+
v = se(v, re), y[O] = {
|
|
2469
|
+
css: Q,
|
|
2470
|
+
vars: w
|
|
2478
2471
|
};
|
|
2479
2472
|
}), l) {
|
|
2480
2473
|
const {
|
|
2481
|
-
css:
|
|
2474
|
+
css: O,
|
|
2482
2475
|
vars: b,
|
|
2483
|
-
varsWithDefaults:
|
|
2476
|
+
varsWithDefaults: w
|
|
2484
2477
|
} = xt(l, t);
|
|
2485
|
-
|
|
2486
|
-
css:
|
|
2478
|
+
v = se(v, w), y[f] = {
|
|
2479
|
+
css: O,
|
|
2487
2480
|
vars: b
|
|
2488
2481
|
};
|
|
2489
2482
|
}
|
|
2490
|
-
function _(
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
[`@media (prefers-color-scheme: ${((te = (q = s[w]) == null ? void 0 : q.palette) == null ? void 0 : te.mode) || w})`]: {
|
|
2483
|
+
function _(O, b) {
|
|
2484
|
+
let w = o;
|
|
2485
|
+
if (o === "class" && (w = ".%s"), o === "data" && (w = "[data-%s]"), o?.startsWith("data-") && !o.includes("%s") && (w = `[${o}="%s"]`), O) {
|
|
2486
|
+
if (w === "media")
|
|
2487
|
+
return e.defaultColorScheme === O ? ":root" : {
|
|
2488
|
+
[`@media (prefers-color-scheme: ${s[O]?.palette?.mode || O})`]: {
|
|
2497
2489
|
":root": b
|
|
2498
2490
|
}
|
|
2499
2491
|
};
|
|
2500
|
-
if (
|
|
2501
|
-
return e.defaultColorScheme ===
|
|
2492
|
+
if (w)
|
|
2493
|
+
return e.defaultColorScheme === O ? `:root, ${w.replace("%s", String(O))}` : w.replace("%s", String(O));
|
|
2502
2494
|
}
|
|
2503
2495
|
return ":root";
|
|
2504
2496
|
}
|
|
2505
2497
|
return {
|
|
2506
|
-
vars:
|
|
2498
|
+
vars: v,
|
|
2507
2499
|
generateThemeVars: () => {
|
|
2508
|
-
let
|
|
2500
|
+
let O = {
|
|
2509
2501
|
...m
|
|
2510
2502
|
};
|
|
2511
|
-
return Object.entries(
|
|
2503
|
+
return Object.entries(y).forEach(([, {
|
|
2512
2504
|
vars: b
|
|
2513
2505
|
}]) => {
|
|
2514
|
-
|
|
2515
|
-
}),
|
|
2506
|
+
O = se(O, b);
|
|
2507
|
+
}), O;
|
|
2516
2508
|
},
|
|
2517
2509
|
generateStyleSheets: () => {
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
...a
|
|
2510
|
+
const O = [], b = e.defaultColorScheme || "light";
|
|
2511
|
+
function w(q, oe) {
|
|
2512
|
+
Object.keys(oe).length && O.push(typeof q == "string" ? {
|
|
2513
|
+
[q]: {
|
|
2514
|
+
...oe
|
|
2524
2515
|
}
|
|
2525
|
-
} :
|
|
2516
|
+
} : q);
|
|
2526
2517
|
}
|
|
2527
|
-
|
|
2518
|
+
w(r(void 0, {
|
|
2528
2519
|
...p
|
|
2529
2520
|
}), p);
|
|
2530
2521
|
const {
|
|
2531
|
-
[b]:
|
|
2532
|
-
...
|
|
2533
|
-
} =
|
|
2534
|
-
if (
|
|
2522
|
+
[b]: Q,
|
|
2523
|
+
...re
|
|
2524
|
+
} = y;
|
|
2525
|
+
if (Q) {
|
|
2535
2526
|
const {
|
|
2536
|
-
css:
|
|
2537
|
-
} =
|
|
2538
|
-
colorScheme:
|
|
2539
|
-
...
|
|
2527
|
+
css: q
|
|
2528
|
+
} = Q, oe = s[b]?.palette?.mode, J = !n && oe ? {
|
|
2529
|
+
colorScheme: oe,
|
|
2530
|
+
...q
|
|
2540
2531
|
} : {
|
|
2541
|
-
...
|
|
2532
|
+
...q
|
|
2542
2533
|
};
|
|
2543
|
-
|
|
2544
|
-
...
|
|
2545
|
-
}),
|
|
2534
|
+
w(r(b, {
|
|
2535
|
+
...J
|
|
2536
|
+
}), J);
|
|
2546
2537
|
}
|
|
2547
|
-
return Object.entries(
|
|
2548
|
-
css:
|
|
2538
|
+
return Object.entries(re).forEach(([q, {
|
|
2539
|
+
css: oe
|
|
2549
2540
|
}]) => {
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
...a
|
|
2541
|
+
const J = s[q]?.palette?.mode, a = !n && J ? {
|
|
2542
|
+
colorScheme: J,
|
|
2543
|
+
...oe
|
|
2554
2544
|
} : {
|
|
2555
|
-
...
|
|
2545
|
+
...oe
|
|
2556
2546
|
};
|
|
2557
|
-
|
|
2558
|
-
...
|
|
2559
|
-
}),
|
|
2560
|
-
}), i &&
|
|
2547
|
+
w(r(q, {
|
|
2548
|
+
...a
|
|
2549
|
+
}), a);
|
|
2550
|
+
}), i && O.push({
|
|
2561
2551
|
":root": {
|
|
2562
2552
|
// use double underscore to indicate that these are private variables
|
|
2563
2553
|
"--__l-threshold": "0.7",
|
|
@@ -2565,7 +2555,7 @@ function ri(e, t = {}) {
|
|
|
2565
2555
|
"--__a": "clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"
|
|
2566
2556
|
// 0.87 is the default alpha value for black text.
|
|
2567
2557
|
}
|
|
2568
|
-
}),
|
|
2558
|
+
}), O;
|
|
2569
2559
|
}
|
|
2570
2560
|
};
|
|
2571
2561
|
}
|
|
@@ -2574,7 +2564,7 @@ function ni(e) {
|
|
|
2574
2564
|
return e === "media" ? (process.env.NODE_ENV !== "production" && r !== "light" && r !== "dark" && console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${r}'.`), `@media (prefers-color-scheme: ${r})`) : e ? e.startsWith("data-") && !e.includes("%s") ? `[${e}="${r}"] &` : e === "class" ? `.${r} &` : e === "data" ? `[data-${r}] &` : `${e.replace("%s", r)} &` : "&";
|
|
2575
2565
|
};
|
|
2576
2566
|
}
|
|
2577
|
-
const
|
|
2567
|
+
const ze = {
|
|
2578
2568
|
black: "#000",
|
|
2579
2569
|
white: "#fff"
|
|
2580
2570
|
}, oi = {
|
|
@@ -2592,26 +2582,26 @@ const Ue = {
|
|
|
2592
2582
|
A200: "#eeeeee",
|
|
2593
2583
|
A400: "#bdbdbd",
|
|
2594
2584
|
A700: "#616161"
|
|
2595
|
-
},
|
|
2585
|
+
}, Ae = {
|
|
2596
2586
|
50: "#f3e5f5",
|
|
2597
2587
|
200: "#ce93d8",
|
|
2598
2588
|
300: "#ba68c8",
|
|
2599
2589
|
400: "#ab47bc",
|
|
2600
2590
|
500: "#9c27b0",
|
|
2601
2591
|
700: "#7b1fa2"
|
|
2602
|
-
},
|
|
2592
|
+
}, ke = {
|
|
2603
2593
|
300: "#e57373",
|
|
2604
2594
|
400: "#ef5350",
|
|
2605
2595
|
500: "#f44336",
|
|
2606
2596
|
700: "#d32f2f",
|
|
2607
2597
|
800: "#c62828"
|
|
2608
|
-
},
|
|
2598
|
+
}, Be = {
|
|
2609
2599
|
300: "#ffb74d",
|
|
2610
2600
|
400: "#ffa726",
|
|
2611
2601
|
500: "#ff9800",
|
|
2612
2602
|
700: "#f57c00",
|
|
2613
2603
|
900: "#e65100"
|
|
2614
|
-
},
|
|
2604
|
+
}, Re = {
|
|
2615
2605
|
50: "#e3f2fd",
|
|
2616
2606
|
200: "#90caf9",
|
|
2617
2607
|
400: "#42a5f5",
|
|
@@ -2623,7 +2613,7 @@ const Ue = {
|
|
|
2623
2613
|
500: "#03a9f4",
|
|
2624
2614
|
700: "#0288d1",
|
|
2625
2615
|
900: "#01579b"
|
|
2626
|
-
},
|
|
2616
|
+
}, Ie = {
|
|
2627
2617
|
300: "#81c784",
|
|
2628
2618
|
400: "#66bb6a",
|
|
2629
2619
|
500: "#4caf50",
|
|
@@ -2647,8 +2637,8 @@ function Wr() {
|
|
|
2647
2637
|
// The background colors used to style the surfaces.
|
|
2648
2638
|
// Consistency between these values is important.
|
|
2649
2639
|
background: {
|
|
2650
|
-
paper:
|
|
2651
|
-
default:
|
|
2640
|
+
paper: ze.white,
|
|
2641
|
+
default: ze.white
|
|
2652
2642
|
},
|
|
2653
2643
|
// The colors used to style the action elements.
|
|
2654
2644
|
action: {
|
|
@@ -2675,7 +2665,7 @@ const Hr = Wr();
|
|
|
2675
2665
|
function Gr() {
|
|
2676
2666
|
return {
|
|
2677
2667
|
text: {
|
|
2678
|
-
primary:
|
|
2668
|
+
primary: ze.white,
|
|
2679
2669
|
secondary: "rgba(255, 255, 255, 0.7)",
|
|
2680
2670
|
disabled: "rgba(255, 255, 255, 0.5)",
|
|
2681
2671
|
icon: "rgba(255, 255, 255, 0.5)"
|
|
@@ -2686,7 +2676,7 @@ function Gr() {
|
|
|
2686
2676
|
default: "#121212"
|
|
2687
2677
|
},
|
|
2688
2678
|
action: {
|
|
2689
|
-
active:
|
|
2679
|
+
active: ze.white,
|
|
2690
2680
|
hover: "rgba(255, 255, 255, 0.08)",
|
|
2691
2681
|
hoverOpacity: 0.08,
|
|
2692
2682
|
selected: "rgba(255, 255, 255, 0.16)",
|
|
@@ -2703,7 +2693,7 @@ function Gr() {
|
|
|
2703
2693
|
const _t = Gr();
|
|
2704
2694
|
function dr(e, t, r, n) {
|
|
2705
2695
|
const o = n.light || n, i = n.dark || n * 1.5;
|
|
2706
|
-
e[t] || (e.hasOwnProperty(r) ? e[t] = e[r] : t === "light" ? e.light =
|
|
2696
|
+
e[t] || (e.hasOwnProperty(r) ? e[t] = e[r] : t === "light" ? e.light = pt(e.main, o) : t === "dark" && (e.dark = mt(e.main, i)));
|
|
2707
2697
|
}
|
|
2708
2698
|
function mr(e, t, r, n, o) {
|
|
2709
2699
|
const i = o.light || o, s = o.dark || o * 1.5;
|
|
@@ -2711,35 +2701,35 @@ function mr(e, t, r, n, o) {
|
|
|
2711
2701
|
}
|
|
2712
2702
|
function ii(e = "light") {
|
|
2713
2703
|
return e === "dark" ? {
|
|
2714
|
-
main:
|
|
2715
|
-
light:
|
|
2716
|
-
dark:
|
|
2704
|
+
main: Re[200],
|
|
2705
|
+
light: Re[50],
|
|
2706
|
+
dark: Re[400]
|
|
2717
2707
|
} : {
|
|
2718
|
-
main:
|
|
2719
|
-
light:
|
|
2720
|
-
dark:
|
|
2708
|
+
main: Re[700],
|
|
2709
|
+
light: Re[400],
|
|
2710
|
+
dark: Re[800]
|
|
2721
2711
|
};
|
|
2722
2712
|
}
|
|
2723
2713
|
function ai(e = "light") {
|
|
2724
2714
|
return e === "dark" ? {
|
|
2725
|
-
main:
|
|
2726
|
-
light:
|
|
2727
|
-
dark:
|
|
2715
|
+
main: Ae[200],
|
|
2716
|
+
light: Ae[50],
|
|
2717
|
+
dark: Ae[400]
|
|
2728
2718
|
} : {
|
|
2729
|
-
main:
|
|
2730
|
-
light:
|
|
2731
|
-
dark:
|
|
2719
|
+
main: Ae[500],
|
|
2720
|
+
light: Ae[300],
|
|
2721
|
+
dark: Ae[700]
|
|
2732
2722
|
};
|
|
2733
2723
|
}
|
|
2734
2724
|
function si(e = "light") {
|
|
2735
2725
|
return e === "dark" ? {
|
|
2736
|
-
main:
|
|
2737
|
-
light:
|
|
2738
|
-
dark:
|
|
2726
|
+
main: ke[500],
|
|
2727
|
+
light: ke[300],
|
|
2728
|
+
dark: ke[700]
|
|
2739
2729
|
} : {
|
|
2740
|
-
main:
|
|
2741
|
-
light:
|
|
2742
|
-
dark:
|
|
2730
|
+
main: ke[700],
|
|
2731
|
+
light: ke[400],
|
|
2732
|
+
dark: ke[800]
|
|
2743
2733
|
};
|
|
2744
2734
|
}
|
|
2745
2735
|
function ci(e = "light") {
|
|
@@ -2755,25 +2745,25 @@ function ci(e = "light") {
|
|
|
2755
2745
|
}
|
|
2756
2746
|
function li(e = "light") {
|
|
2757
2747
|
return e === "dark" ? {
|
|
2758
|
-
main:
|
|
2759
|
-
light:
|
|
2760
|
-
dark:
|
|
2748
|
+
main: Ie[400],
|
|
2749
|
+
light: Ie[300],
|
|
2750
|
+
dark: Ie[700]
|
|
2761
2751
|
} : {
|
|
2762
|
-
main:
|
|
2763
|
-
light:
|
|
2764
|
-
dark:
|
|
2752
|
+
main: Ie[800],
|
|
2753
|
+
light: Ie[500],
|
|
2754
|
+
dark: Ie[900]
|
|
2765
2755
|
};
|
|
2766
2756
|
}
|
|
2767
2757
|
function ui(e = "light") {
|
|
2768
2758
|
return e === "dark" ? {
|
|
2769
|
-
main:
|
|
2770
|
-
light:
|
|
2771
|
-
dark:
|
|
2759
|
+
main: Be[400],
|
|
2760
|
+
light: Be[300],
|
|
2761
|
+
dark: Be[700]
|
|
2772
2762
|
} : {
|
|
2773
2763
|
main: "#ed6c02",
|
|
2774
2764
|
// closest to orange[800] that pass 3:1.
|
|
2775
|
-
light:
|
|
2776
|
-
dark:
|
|
2765
|
+
light: Be[500],
|
|
2766
|
+
dark: Be[900]
|
|
2777
2767
|
};
|
|
2778
2768
|
}
|
|
2779
2769
|
function fi(e) {
|
|
@@ -2786,30 +2776,30 @@ function Dt(e) {
|
|
|
2786
2776
|
tonalOffset: n = 0.2,
|
|
2787
2777
|
colorSpace: o,
|
|
2788
2778
|
...i
|
|
2789
|
-
} = e, s = e.primary || ii(t), c = e.secondary || ai(t),
|
|
2779
|
+
} = e, s = e.primary || ii(t), c = e.secondary || ai(t), f = e.error || si(t), d = e.info || ci(t), m = e.success || li(t), p = e.warning || ui(t);
|
|
2790
2780
|
function h(C) {
|
|
2791
2781
|
if (o)
|
|
2792
2782
|
return fi(C);
|
|
2793
2783
|
const _ = lr(C, _t.text.primary) >= r ? _t.text.primary : Hr.text.primary;
|
|
2794
2784
|
if (process.env.NODE_ENV !== "production") {
|
|
2795
|
-
const
|
|
2796
|
-
|
|
2785
|
+
const M = lr(C, _);
|
|
2786
|
+
M < 3 && console.error([`MUI: The contrast ratio of ${M}:1 for ${_} on ${C}`, "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(`
|
|
2797
2787
|
`));
|
|
2798
2788
|
}
|
|
2799
2789
|
return _;
|
|
2800
2790
|
}
|
|
2801
|
-
const
|
|
2791
|
+
const v = ({
|
|
2802
2792
|
color: C,
|
|
2803
2793
|
name: _,
|
|
2804
|
-
mainShade:
|
|
2805
|
-
lightShade:
|
|
2806
|
-
darkShade:
|
|
2794
|
+
mainShade: M = 500,
|
|
2795
|
+
lightShade: D = 300,
|
|
2796
|
+
darkShade: O = 700
|
|
2807
2797
|
}) => {
|
|
2808
2798
|
if (C = {
|
|
2809
2799
|
...C
|
|
2810
|
-
}, !C.main && C[
|
|
2800
|
+
}, !C.main && C[M] && (C.main = C[M]), !C.hasOwnProperty("main"))
|
|
2811
2801
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${_ ? ` (${_})` : ""} provided to augmentColor(color) is invalid.
|
|
2812
|
-
The color object needs to have a \`main\` property or a \`${
|
|
2802
|
+
The color object needs to have a \`main\` property or a \`${M}\` property.` : Ee(11, _ ? ` (${_})` : "", M));
|
|
2813
2803
|
if (typeof C.main != "string")
|
|
2814
2804
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${_ ? ` (${_})` : ""} provided to augmentColor(color) is invalid.
|
|
2815
2805
|
\`color.main\` should be a string, but \`${JSON.stringify(C.main)}\` was provided instead.
|
|
@@ -2825,24 +2815,24 @@ const theme1 = createTheme({ palette: {
|
|
|
2825
2815
|
const theme2 = createTheme({ palette: {
|
|
2826
2816
|
primary: { main: green[500] },
|
|
2827
2817
|
} });` : Ee(12, _ ? ` (${_})` : "", JSON.stringify(C.main)));
|
|
2828
|
-
return o ? (mr(o, C, "light",
|
|
2818
|
+
return o ? (mr(o, C, "light", D, n), mr(o, C, "dark", O, n)) : (dr(C, "light", D, n), dr(C, "dark", O, n)), C.contrastText || (C.contrastText = h(C.main)), C;
|
|
2829
2819
|
};
|
|
2830
|
-
let
|
|
2831
|
-
return t === "light" ?
|
|
2820
|
+
let y;
|
|
2821
|
+
return t === "light" ? y = Wr() : t === "dark" && (y = Gr()), process.env.NODE_ENV !== "production" && (y || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), se({
|
|
2832
2822
|
// A collection of common colors.
|
|
2833
2823
|
common: {
|
|
2834
|
-
...
|
|
2824
|
+
...ze
|
|
2835
2825
|
},
|
|
2836
2826
|
// prevent mutable object.
|
|
2837
2827
|
// The palette mode, can be light or dark.
|
|
2838
2828
|
mode: t,
|
|
2839
2829
|
// The colors used to represent primary interface elements for a user.
|
|
2840
|
-
primary:
|
|
2830
|
+
primary: v({
|
|
2841
2831
|
color: s,
|
|
2842
2832
|
name: "primary"
|
|
2843
2833
|
}),
|
|
2844
2834
|
// The colors used to represent secondary interface elements for a user.
|
|
2845
|
-
secondary:
|
|
2835
|
+
secondary: v({
|
|
2846
2836
|
color: c,
|
|
2847
2837
|
name: "secondary",
|
|
2848
2838
|
mainShade: "A400",
|
|
@@ -2850,22 +2840,22 @@ const theme2 = createTheme({ palette: {
|
|
|
2850
2840
|
darkShade: "A700"
|
|
2851
2841
|
}),
|
|
2852
2842
|
// The colors used to represent interface elements that the user should be made aware of.
|
|
2853
|
-
error:
|
|
2854
|
-
color:
|
|
2843
|
+
error: v({
|
|
2844
|
+
color: f,
|
|
2855
2845
|
name: "error"
|
|
2856
2846
|
}),
|
|
2857
2847
|
// The colors used to represent potentially dangerous actions or important messages.
|
|
2858
|
-
warning:
|
|
2848
|
+
warning: v({
|
|
2859
2849
|
color: p,
|
|
2860
2850
|
name: "warning"
|
|
2861
2851
|
}),
|
|
2862
2852
|
// The colors used to present information to the user that is neutral and not necessarily important.
|
|
2863
|
-
info:
|
|
2853
|
+
info: v({
|
|
2864
2854
|
color: d,
|
|
2865
2855
|
name: "info"
|
|
2866
2856
|
}),
|
|
2867
2857
|
// The colors used to indicate the successful completion of an action that user triggered.
|
|
2868
|
-
success:
|
|
2858
|
+
success: v({
|
|
2869
2859
|
color: m,
|
|
2870
2860
|
name: "success"
|
|
2871
2861
|
}),
|
|
@@ -2877,13 +2867,13 @@ const theme2 = createTheme({ palette: {
|
|
|
2877
2867
|
// Takes a background color and returns the text color that maximizes the contrast.
|
|
2878
2868
|
getContrastText: h,
|
|
2879
2869
|
// Generate a rich color object.
|
|
2880
|
-
augmentColor:
|
|
2870
|
+
augmentColor: v,
|
|
2881
2871
|
// Used by the functions below to shift a color's luminance by approximately
|
|
2882
2872
|
// two indexes within its tonal palette.
|
|
2883
2873
|
// E.g., shift from Red 500 to Red 300 or Red 700.
|
|
2884
2874
|
tonalOffset: n,
|
|
2885
2875
|
// The light and dark mode object.
|
|
2886
|
-
...
|
|
2876
|
+
...y
|
|
2887
2877
|
}, i);
|
|
2888
2878
|
}
|
|
2889
2879
|
function di(e) {
|
|
@@ -2927,40 +2917,40 @@ function hi(e, t) {
|
|
|
2927
2917
|
fontWeightBold: c = 700,
|
|
2928
2918
|
// Tell MUI what's the font-size on the html element.
|
|
2929
2919
|
// 16px is the default font-size used by browsers.
|
|
2930
|
-
htmlFontSize:
|
|
2920
|
+
htmlFontSize: f = 16,
|
|
2931
2921
|
// Apply the CSS properties to all the variants.
|
|
2932
2922
|
allVariants: d,
|
|
2933
2923
|
pxToRem: m,
|
|
2934
2924
|
...p
|
|
2935
2925
|
} = typeof t == "function" ? t(e) : t;
|
|
2936
|
-
process.env.NODE_ENV !== "production" && (typeof n != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof
|
|
2937
|
-
const h = n / 14,
|
|
2926
|
+
process.env.NODE_ENV !== "production" && (typeof n != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof f != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
|
|
2927
|
+
const h = n / 14, v = m || ((C) => `${C / f * h}rem`), y = (C, _, M, D, O) => ({
|
|
2938
2928
|
fontFamily: r,
|
|
2939
2929
|
fontWeight: C,
|
|
2940
|
-
fontSize:
|
|
2930
|
+
fontSize: v(_),
|
|
2941
2931
|
// Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
|
|
2942
|
-
lineHeight:
|
|
2932
|
+
lineHeight: M,
|
|
2943
2933
|
// The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
|
|
2944
2934
|
// across font-families can cause issues with the kerning.
|
|
2945
2935
|
...r === hr ? {
|
|
2946
|
-
letterSpacing: `${pi(
|
|
2936
|
+
letterSpacing: `${pi(D / _)}em`
|
|
2947
2937
|
} : {},
|
|
2948
|
-
...
|
|
2938
|
+
...O,
|
|
2949
2939
|
...d
|
|
2950
2940
|
}), l = {
|
|
2951
|
-
h1:
|
|
2952
|
-
h2:
|
|
2953
|
-
h3:
|
|
2954
|
-
h4:
|
|
2955
|
-
h5:
|
|
2956
|
-
h6:
|
|
2957
|
-
subtitle1:
|
|
2958
|
-
subtitle2:
|
|
2959
|
-
body1:
|
|
2960
|
-
body2:
|
|
2961
|
-
button:
|
|
2962
|
-
caption:
|
|
2963
|
-
overline:
|
|
2941
|
+
h1: y(o, 96, 1.167, -1.5),
|
|
2942
|
+
h2: y(o, 60, 1.2, -0.5),
|
|
2943
|
+
h3: y(i, 48, 1.167, 0),
|
|
2944
|
+
h4: y(i, 34, 1.235, 0.25),
|
|
2945
|
+
h5: y(i, 24, 1.334, 0),
|
|
2946
|
+
h6: y(s, 20, 1.6, 0.15),
|
|
2947
|
+
subtitle1: y(i, 16, 1.75, 0.15),
|
|
2948
|
+
subtitle2: y(s, 14, 1.57, 0.1),
|
|
2949
|
+
body1: y(i, 16, 1.5, 0.15),
|
|
2950
|
+
body2: y(i, 14, 1.43, 0.15),
|
|
2951
|
+
button: y(s, 14, 1.75, 0.4, pr),
|
|
2952
|
+
caption: y(i, 12, 1.66, 0.4),
|
|
2953
|
+
overline: y(i, 12, 2.66, 1, pr),
|
|
2964
2954
|
// TODO v6: Remove handling of 'inherit' variant from the theme as it is already handled in Material UI's Typography component. Also, remember to remove the associated types.
|
|
2965
2955
|
inherit: {
|
|
2966
2956
|
fontFamily: "inherit",
|
|
@@ -2971,8 +2961,8 @@ function hi(e, t) {
|
|
|
2971
2961
|
}
|
|
2972
2962
|
};
|
|
2973
2963
|
return se({
|
|
2974
|
-
htmlFontSize:
|
|
2975
|
-
pxToRem:
|
|
2964
|
+
htmlFontSize: f,
|
|
2965
|
+
pxToRem: v,
|
|
2976
2966
|
fontFamily: r,
|
|
2977
2967
|
fontSize: n,
|
|
2978
2968
|
fontWeightLight: o,
|
|
@@ -3035,15 +3025,15 @@ function Ti(e) {
|
|
|
3035
3025
|
const {
|
|
3036
3026
|
duration: s = r.standard,
|
|
3037
3027
|
easing: c = t.easeInOut,
|
|
3038
|
-
delay:
|
|
3028
|
+
delay: f = 0,
|
|
3039
3029
|
...d
|
|
3040
3030
|
} = i;
|
|
3041
3031
|
if (process.env.NODE_ENV !== "production") {
|
|
3042
3032
|
const m = (h) => typeof h == "string", p = (h) => !Number.isNaN(parseFloat(h));
|
|
3043
|
-
!m(o) && !Array.isArray(o) && console.error('MUI: Argument "props" must be a string or Array.'), !p(s) && !m(s) && console.error(`MUI: Argument "duration" must be a number or a string but found ${s}.`), m(c) || console.error('MUI: Argument "easing" must be a string.'), !p(
|
|
3033
|
+
!m(o) && !Array.isArray(o) && console.error('MUI: Argument "props" must be a string or Array.'), !p(s) && !m(s) && console.error(`MUI: Argument "duration" must be a number or a string but found ${s}.`), m(c) || console.error('MUI: Argument "easing" must be a string.'), !p(f) && !m(f) && 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(`
|
|
3044
3034
|
`)), Object.keys(d).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(d).join(",")}].`);
|
|
3045
3035
|
}
|
|
3046
|
-
return (Array.isArray(o) ? o : [o]).map((m) => `${m} ${typeof s == "string" ? s : gr(s)} ${c} ${typeof
|
|
3036
|
+
return (Array.isArray(o) ? o : [o]).map((m) => `${m} ${typeof s == "string" ? s : gr(s)} ${c} ${typeof f == "string" ? f : gr(f)}`).join(",");
|
|
3047
3037
|
},
|
|
3048
3038
|
...e,
|
|
3049
3039
|
easing: t,
|
|
@@ -3107,11 +3097,11 @@ function $i(e) {
|
|
|
3107
3097
|
},
|
|
3108
3098
|
lighten(t, r) {
|
|
3109
3099
|
const n = this || e;
|
|
3110
|
-
return n.colorSpace ? `color-mix(in ${n.colorSpace}, ${t}, #fff ${yr(r)})` :
|
|
3100
|
+
return n.colorSpace ? `color-mix(in ${n.colorSpace}, ${t}, #fff ${yr(r)})` : pt(t, r);
|
|
3111
3101
|
},
|
|
3112
3102
|
darken(t, r) {
|
|
3113
3103
|
const n = this || e;
|
|
3114
|
-
return n.colorSpace ? `color-mix(in ${n.colorSpace}, ${t}, #000 ${yr(r)})` :
|
|
3104
|
+
return n.colorSpace ? `color-mix(in ${n.colorSpace}, ${t}, #000 ${yr(r)})` : mt(t, r);
|
|
3115
3105
|
}
|
|
3116
3106
|
});
|
|
3117
3107
|
}
|
|
@@ -3123,7 +3113,7 @@ function At(e = {}, ...t) {
|
|
|
3123
3113
|
palette: i = {},
|
|
3124
3114
|
transitions: s = {},
|
|
3125
3115
|
typography: c = {},
|
|
3126
|
-
shape:
|
|
3116
|
+
shape: f,
|
|
3127
3117
|
colorSpace: d,
|
|
3128
3118
|
...m
|
|
3129
3119
|
} = e;
|
|
@@ -3134,8 +3124,8 @@ function At(e = {}, ...t) {
|
|
|
3134
3124
|
const p = Dt({
|
|
3135
3125
|
...i,
|
|
3136
3126
|
colorSpace: d
|
|
3137
|
-
}), h =
|
|
3138
|
-
let
|
|
3127
|
+
}), h = It(e);
|
|
3128
|
+
let v = se(h, {
|
|
3139
3129
|
mixins: mi(h.breakpoints, n),
|
|
3140
3130
|
palette: p,
|
|
3141
3131
|
// Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
|
|
@@ -3146,39 +3136,39 @@ function At(e = {}, ...t) {
|
|
|
3146
3136
|
...xi
|
|
3147
3137
|
}
|
|
3148
3138
|
});
|
|
3149
|
-
if (
|
|
3150
|
-
const
|
|
3151
|
-
let
|
|
3152
|
-
for (
|
|
3153
|
-
const
|
|
3154
|
-
if (
|
|
3139
|
+
if (v = se(v, m), v = t.reduce((y, l) => se(y, l), v), process.env.NODE_ENV !== "production") {
|
|
3140
|
+
const y = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], l = (C, _) => {
|
|
3141
|
+
let M;
|
|
3142
|
+
for (M in C) {
|
|
3143
|
+
const D = C[M];
|
|
3144
|
+
if (y.includes(M) && Object.keys(D).length > 0) {
|
|
3155
3145
|
if (process.env.NODE_ENV !== "production") {
|
|
3156
|
-
const
|
|
3157
|
-
console.error([`MUI: The \`${_}\` component increases the CSS specificity of the \`${
|
|
3146
|
+
const O = Mt("", M);
|
|
3147
|
+
console.error([`MUI: The \`${_}\` component increases the CSS specificity of the \`${M}\` internal state.`, "You can not override it like this: ", JSON.stringify(C, null, 2), "", `Instead, you need to use the '&.${O}' syntax:`, JSON.stringify({
|
|
3158
3148
|
root: {
|
|
3159
|
-
[`&.${
|
|
3149
|
+
[`&.${O}`]: D
|
|
3160
3150
|
}
|
|
3161
3151
|
}, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
|
|
3162
3152
|
`));
|
|
3163
3153
|
}
|
|
3164
|
-
C[
|
|
3154
|
+
C[M] = {};
|
|
3165
3155
|
}
|
|
3166
3156
|
}
|
|
3167
3157
|
};
|
|
3168
|
-
Object.keys(
|
|
3169
|
-
const _ =
|
|
3158
|
+
Object.keys(v.components).forEach((C) => {
|
|
3159
|
+
const _ = v.components[C].styleOverrides;
|
|
3170
3160
|
_ && C.startsWith("Mui") && l(_, C);
|
|
3171
3161
|
});
|
|
3172
3162
|
}
|
|
3173
|
-
return
|
|
3174
|
-
...
|
|
3175
|
-
...m
|
|
3176
|
-
},
|
|
3177
|
-
return
|
|
3163
|
+
return v.unstable_sxConfig = {
|
|
3164
|
+
...ft,
|
|
3165
|
+
...m?.unstable_sxConfig
|
|
3166
|
+
}, v.unstable_sx = function(l) {
|
|
3167
|
+
return De({
|
|
3178
3168
|
sx: l,
|
|
3179
3169
|
theme: this
|
|
3180
3170
|
});
|
|
3181
|
-
},
|
|
3171
|
+
}, v.toRuntimeSource = Kr, $i(v), v;
|
|
3182
3172
|
}
|
|
3183
3173
|
function _i(e) {
|
|
3184
3174
|
let t;
|
|
@@ -3226,17 +3216,16 @@ function ki(e) {
|
|
|
3226
3216
|
};
|
|
3227
3217
|
}
|
|
3228
3218
|
function Ri(e) {
|
|
3229
|
-
var t;
|
|
3230
3219
|
return !!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/) || !!e[0].match(/sxConfig$/) || // ends with sxConfig
|
|
3231
|
-
e[0] === "palette" && !!
|
|
3220
|
+
e[0] === "palette" && !!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/);
|
|
3232
3221
|
}
|
|
3233
|
-
const
|
|
3222
|
+
const Pi = (e) => [...[...Array(25)].map((t, r) => `--${e ? `${e}-` : ""}overlays-${r}`), `--${e ? `${e}-` : ""}palette-AppBar-darkBg`, `--${e ? `${e}-` : ""}palette-AppBar-darkColor`], Ii = (e) => (t, r) => {
|
|
3234
3223
|
const n = e.rootSelector || ":root", o = e.colorSchemeSelector;
|
|
3235
3224
|
let i = o;
|
|
3236
|
-
if (o === "class" && (i = ".%s"), o === "data" && (i = "[data-%s]"), o
|
|
3225
|
+
if (o === "class" && (i = ".%s"), o === "data" && (i = "[data-%s]"), o?.startsWith("data-") && !o.includes("%s") && (i = `[${o}="%s"]`), e.defaultColorScheme === t) {
|
|
3237
3226
|
if (t === "dark") {
|
|
3238
3227
|
const s = {};
|
|
3239
|
-
return
|
|
3228
|
+
return Pi(e.cssVarPrefix).forEach((c) => {
|
|
3240
3229
|
s[c] = r[c], delete r[c];
|
|
3241
3230
|
}), i === "media" ? {
|
|
3242
3231
|
[n]: r,
|
|
@@ -3272,14 +3261,14 @@ function Mi(e, t) {
|
|
|
3272
3261
|
e[r] || (e[r] = {});
|
|
3273
3262
|
});
|
|
3274
3263
|
}
|
|
3275
|
-
function
|
|
3264
|
+
function u(e, t, r) {
|
|
3276
3265
|
!e[t] && r && (e[t] = r);
|
|
3277
3266
|
}
|
|
3278
|
-
function
|
|
3267
|
+
function Ve(e) {
|
|
3279
3268
|
return typeof e != "string" || !e.startsWith("hsl") ? e : Ur(e);
|
|
3280
3269
|
}
|
|
3281
3270
|
function he(e, t) {
|
|
3282
|
-
`${t}Channel` in e || (e[`${t}Channel`] = Ve(
|
|
3271
|
+
`${t}Channel` in e || (e[`${t}Channel`] = Le(Ve(e[t]), `MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
|
|
3283
3272
|
To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`));
|
|
3284
3273
|
}
|
|
3285
3274
|
function Ni(e) {
|
|
@@ -3301,7 +3290,7 @@ function Ot(e, t, r, n, o) {
|
|
|
3301
3290
|
...r,
|
|
3302
3291
|
palette: {
|
|
3303
3292
|
mode: i,
|
|
3304
|
-
...r
|
|
3293
|
+
...r?.palette
|
|
3305
3294
|
},
|
|
3306
3295
|
colorSpace: e
|
|
3307
3296
|
});
|
|
@@ -3314,7 +3303,7 @@ function Ot(e, t, r, n, o) {
|
|
|
3314
3303
|
...n,
|
|
3315
3304
|
palette: {
|
|
3316
3305
|
mode: i,
|
|
3317
|
-
...r
|
|
3306
|
+
...r?.palette
|
|
3318
3307
|
},
|
|
3319
3308
|
colorSpace: e
|
|
3320
3309
|
});
|
|
@@ -3323,9 +3312,9 @@ function Ot(e, t, r, n, o) {
|
|
|
3323
3312
|
palette: s,
|
|
3324
3313
|
opacity: {
|
|
3325
3314
|
...qr(i),
|
|
3326
|
-
...r
|
|
3315
|
+
...r?.opacity
|
|
3327
3316
|
},
|
|
3328
|
-
overlays:
|
|
3317
|
+
overlays: r?.overlays || Qr(i)
|
|
3329
3318
|
}, c;
|
|
3330
3319
|
}
|
|
3331
3320
|
function Bi(e = {}, ...t) {
|
|
@@ -3338,90 +3327,90 @@ function Bi(e = {}, ...t) {
|
|
|
3338
3327
|
cssVarPrefix: i = "mui",
|
|
3339
3328
|
nativeColor: s = !1,
|
|
3340
3329
|
shouldSkipGeneratingVar: c = Ri,
|
|
3341
|
-
colorSchemeSelector:
|
|
3330
|
+
colorSchemeSelector: f = r.light && r.dark ? "media" : void 0,
|
|
3342
3331
|
rootSelector: d = ":root",
|
|
3343
3332
|
...m
|
|
3344
|
-
} = e, p = Object.keys(r)[0], h = n || (r.light && p !== "light" ? "light" : p),
|
|
3345
|
-
[h]:
|
|
3333
|
+
} = e, p = Object.keys(r)[0], h = n || (r.light && p !== "light" ? "light" : p), v = Di(i), {
|
|
3334
|
+
[h]: y,
|
|
3346
3335
|
light: l,
|
|
3347
3336
|
dark: C,
|
|
3348
3337
|
..._
|
|
3349
|
-
} = r,
|
|
3338
|
+
} = r, M = {
|
|
3350
3339
|
..._
|
|
3351
3340
|
};
|
|
3352
|
-
let
|
|
3353
|
-
if ((h === "dark" && !("dark" in r) || h === "light" && !("light" in r)) && (
|
|
3341
|
+
let D = y;
|
|
3342
|
+
if ((h === "dark" && !("dark" in r) || h === "light" && !("light" in r)) && (D = !0), !D)
|
|
3354
3343
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${h}\` option is either missing or invalid.` : Ee(21, h));
|
|
3355
|
-
let
|
|
3356
|
-
s && (
|
|
3357
|
-
const b = Ot(
|
|
3358
|
-
l && !
|
|
3359
|
-
let
|
|
3344
|
+
let O;
|
|
3345
|
+
s && (O = "oklch");
|
|
3346
|
+
const b = Ot(O, M, D, m, h);
|
|
3347
|
+
l && !M.light && Ot(O, M, l, void 0, "light"), C && !M.dark && Ot(O, M, C, void 0, "dark");
|
|
3348
|
+
let w = {
|
|
3360
3349
|
defaultColorScheme: h,
|
|
3361
3350
|
...b,
|
|
3362
3351
|
cssVarPrefix: i,
|
|
3363
|
-
colorSchemeSelector:
|
|
3352
|
+
colorSchemeSelector: f,
|
|
3364
3353
|
rootSelector: d,
|
|
3365
|
-
getCssVar:
|
|
3366
|
-
colorSchemes:
|
|
3354
|
+
getCssVar: v,
|
|
3355
|
+
colorSchemes: M,
|
|
3367
3356
|
font: {
|
|
3368
3357
|
...di(b.typography),
|
|
3369
3358
|
...b.font
|
|
3370
3359
|
},
|
|
3371
3360
|
spacing: Ni(m.spacing)
|
|
3372
3361
|
};
|
|
3373
|
-
Object.keys(
|
|
3374
|
-
const a =
|
|
3375
|
-
const
|
|
3376
|
-
return
|
|
3362
|
+
Object.keys(w.colorSchemes).forEach((J) => {
|
|
3363
|
+
const a = w.colorSchemes[J].palette, $ = (A) => {
|
|
3364
|
+
const B = A.split("-"), ne = B[1], fe = B[2];
|
|
3365
|
+
return v(A, a[ne][fe]);
|
|
3377
3366
|
};
|
|
3378
|
-
a.mode === "light" && (
|
|
3379
|
-
function
|
|
3380
|
-
if (
|
|
3381
|
-
let
|
|
3382
|
-
return A === Oe && (
|
|
3367
|
+
a.mode === "light" && (u(a.common, "background", "#fff"), u(a.common, "onBackground", "#000")), a.mode === "dark" && (u(a.common, "background", "#000"), u(a.common, "onBackground", "#fff"));
|
|
3368
|
+
function S(A, B, ne) {
|
|
3369
|
+
if (O) {
|
|
3370
|
+
let fe;
|
|
3371
|
+
return A === Oe && (fe = `transparent ${((1 - ne) * 100).toFixed(0)}%`), A === W && (fe = `#000 ${(ne * 100).toFixed(0)}%`), A === H && (fe = `#fff ${(ne * 100).toFixed(0)}%`), `color-mix(in ${O}, ${B}, ${fe})`;
|
|
3383
3372
|
}
|
|
3384
|
-
return A(
|
|
3373
|
+
return A(B, ne);
|
|
3385
3374
|
}
|
|
3386
3375
|
if (Mi(a, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), a.mode === "light") {
|
|
3387
|
-
|
|
3388
|
-
const A =
|
|
3389
|
-
|
|
3376
|
+
u(a.Alert, "errorColor", S(W, a.error.light, 0.6)), u(a.Alert, "infoColor", S(W, a.info.light, 0.6)), u(a.Alert, "successColor", S(W, a.success.light, 0.6)), u(a.Alert, "warningColor", S(W, a.warning.light, 0.6)), u(a.Alert, "errorFilledBg", $("palette-error-main")), u(a.Alert, "infoFilledBg", $("palette-info-main")), u(a.Alert, "successFilledBg", $("palette-success-main")), u(a.Alert, "warningFilledBg", $("palette-warning-main")), u(a.Alert, "errorFilledColor", me(() => a.getContrastText(a.error.main))), u(a.Alert, "infoFilledColor", me(() => a.getContrastText(a.info.main))), u(a.Alert, "successFilledColor", me(() => a.getContrastText(a.success.main))), u(a.Alert, "warningFilledColor", me(() => a.getContrastText(a.warning.main))), u(a.Alert, "errorStandardBg", S(H, a.error.light, 0.9)), u(a.Alert, "infoStandardBg", S(H, a.info.light, 0.9)), u(a.Alert, "successStandardBg", S(H, a.success.light, 0.9)), u(a.Alert, "warningStandardBg", S(H, a.warning.light, 0.9)), u(a.Alert, "errorIconColor", $("palette-error-main")), u(a.Alert, "infoIconColor", $("palette-info-main")), u(a.Alert, "successIconColor", $("palette-success-main")), u(a.Alert, "warningIconColor", $("palette-warning-main")), u(a.AppBar, "defaultBg", $("palette-grey-100")), u(a.Avatar, "defaultBg", $("palette-grey-400")), u(a.Button, "inheritContainedBg", $("palette-grey-300")), u(a.Button, "inheritContainedHoverBg", $("palette-grey-A100")), u(a.Chip, "defaultBorder", $("palette-grey-400")), u(a.Chip, "defaultAvatarColor", $("palette-grey-700")), u(a.Chip, "defaultIconColor", $("palette-grey-700")), u(a.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), u(a.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), u(a.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), u(a.LinearProgress, "primaryBg", S(H, a.primary.main, 0.62)), u(a.LinearProgress, "secondaryBg", S(H, a.secondary.main, 0.62)), u(a.LinearProgress, "errorBg", S(H, a.error.main, 0.62)), u(a.LinearProgress, "infoBg", S(H, a.info.main, 0.62)), u(a.LinearProgress, "successBg", S(H, a.success.main, 0.62)), u(a.LinearProgress, "warningBg", S(H, a.warning.main, 0.62)), u(a.Skeleton, "bg", O ? S(Oe, a.text.primary, 0.11) : `rgba(${$("palette-text-primaryChannel")} / 0.11)`), u(a.Slider, "primaryTrack", S(H, a.primary.main, 0.62)), u(a.Slider, "secondaryTrack", S(H, a.secondary.main, 0.62)), u(a.Slider, "errorTrack", S(H, a.error.main, 0.62)), u(a.Slider, "infoTrack", S(H, a.info.main, 0.62)), u(a.Slider, "successTrack", S(H, a.success.main, 0.62)), u(a.Slider, "warningTrack", S(H, a.warning.main, 0.62));
|
|
3377
|
+
const A = O ? S(W, a.background.default, 0.6825) : qe(a.background.default, 0.8);
|
|
3378
|
+
u(a.SnackbarContent, "bg", A), u(a.SnackbarContent, "color", me(() => O ? _t.text.primary : a.getContrastText(A))), u(a.SpeedDialAction, "fabHoverBg", qe(a.background.paper, 0.15)), u(a.StepConnector, "border", $("palette-grey-400")), u(a.StepContent, "border", $("palette-grey-400")), u(a.Switch, "defaultColor", $("palette-common-white")), u(a.Switch, "defaultDisabledColor", $("palette-grey-100")), u(a.Switch, "primaryDisabledColor", S(H, a.primary.main, 0.62)), u(a.Switch, "secondaryDisabledColor", S(H, a.secondary.main, 0.62)), u(a.Switch, "errorDisabledColor", S(H, a.error.main, 0.62)), u(a.Switch, "infoDisabledColor", S(H, a.info.main, 0.62)), u(a.Switch, "successDisabledColor", S(H, a.success.main, 0.62)), u(a.Switch, "warningDisabledColor", S(H, a.warning.main, 0.62)), u(a.TableCell, "border", S(H, S(Oe, a.divider, 1), 0.88)), u(a.Tooltip, "bg", S(Oe, a.grey[700], 0.92));
|
|
3390
3379
|
}
|
|
3391
3380
|
if (a.mode === "dark") {
|
|
3392
|
-
|
|
3393
|
-
const A =
|
|
3394
|
-
|
|
3381
|
+
u(a.Alert, "errorColor", S(H, a.error.light, 0.6)), u(a.Alert, "infoColor", S(H, a.info.light, 0.6)), u(a.Alert, "successColor", S(H, a.success.light, 0.6)), u(a.Alert, "warningColor", S(H, a.warning.light, 0.6)), u(a.Alert, "errorFilledBg", $("palette-error-dark")), u(a.Alert, "infoFilledBg", $("palette-info-dark")), u(a.Alert, "successFilledBg", $("palette-success-dark")), u(a.Alert, "warningFilledBg", $("palette-warning-dark")), u(a.Alert, "errorFilledColor", me(() => a.getContrastText(a.error.dark))), u(a.Alert, "infoFilledColor", me(() => a.getContrastText(a.info.dark))), u(a.Alert, "successFilledColor", me(() => a.getContrastText(a.success.dark))), u(a.Alert, "warningFilledColor", me(() => a.getContrastText(a.warning.dark))), u(a.Alert, "errorStandardBg", S(W, a.error.light, 0.9)), u(a.Alert, "infoStandardBg", S(W, a.info.light, 0.9)), u(a.Alert, "successStandardBg", S(W, a.success.light, 0.9)), u(a.Alert, "warningStandardBg", S(W, a.warning.light, 0.9)), u(a.Alert, "errorIconColor", $("palette-error-main")), u(a.Alert, "infoIconColor", $("palette-info-main")), u(a.Alert, "successIconColor", $("palette-success-main")), u(a.Alert, "warningIconColor", $("palette-warning-main")), u(a.AppBar, "defaultBg", $("palette-grey-900")), u(a.AppBar, "darkBg", $("palette-background-paper")), u(a.AppBar, "darkColor", $("palette-text-primary")), u(a.Avatar, "defaultBg", $("palette-grey-600")), u(a.Button, "inheritContainedBg", $("palette-grey-800")), u(a.Button, "inheritContainedHoverBg", $("palette-grey-700")), u(a.Chip, "defaultBorder", $("palette-grey-700")), u(a.Chip, "defaultAvatarColor", $("palette-grey-300")), u(a.Chip, "defaultIconColor", $("palette-grey-300")), u(a.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), u(a.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), u(a.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), u(a.LinearProgress, "primaryBg", S(W, a.primary.main, 0.5)), u(a.LinearProgress, "secondaryBg", S(W, a.secondary.main, 0.5)), u(a.LinearProgress, "errorBg", S(W, a.error.main, 0.5)), u(a.LinearProgress, "infoBg", S(W, a.info.main, 0.5)), u(a.LinearProgress, "successBg", S(W, a.success.main, 0.5)), u(a.LinearProgress, "warningBg", S(W, a.warning.main, 0.5)), u(a.Skeleton, "bg", O ? S(Oe, a.text.primary, 0.13) : `rgba(${$("palette-text-primaryChannel")} / 0.13)`), u(a.Slider, "primaryTrack", S(W, a.primary.main, 0.5)), u(a.Slider, "secondaryTrack", S(W, a.secondary.main, 0.5)), u(a.Slider, "errorTrack", S(W, a.error.main, 0.5)), u(a.Slider, "infoTrack", S(W, a.info.main, 0.5)), u(a.Slider, "successTrack", S(W, a.success.main, 0.5)), u(a.Slider, "warningTrack", S(W, a.warning.main, 0.5));
|
|
3382
|
+
const A = O ? S(H, a.background.default, 0.985) : qe(a.background.default, 0.98);
|
|
3383
|
+
u(a.SnackbarContent, "bg", A), u(a.SnackbarContent, "color", me(() => O ? Hr.text.primary : a.getContrastText(A))), u(a.SpeedDialAction, "fabHoverBg", qe(a.background.paper, 0.15)), u(a.StepConnector, "border", $("palette-grey-600")), u(a.StepContent, "border", $("palette-grey-600")), u(a.Switch, "defaultColor", $("palette-grey-300")), u(a.Switch, "defaultDisabledColor", $("palette-grey-600")), u(a.Switch, "primaryDisabledColor", S(W, a.primary.main, 0.55)), u(a.Switch, "secondaryDisabledColor", S(W, a.secondary.main, 0.55)), u(a.Switch, "errorDisabledColor", S(W, a.error.main, 0.55)), u(a.Switch, "infoDisabledColor", S(W, a.info.main, 0.55)), u(a.Switch, "successDisabledColor", S(W, a.success.main, 0.55)), u(a.Switch, "warningDisabledColor", S(W, a.warning.main, 0.55)), u(a.TableCell, "border", S(W, S(Oe, a.divider, 1), 0.68)), u(a.Tooltip, "bg", S(Oe, a.grey[700], 0.92));
|
|
3395
3384
|
}
|
|
3396
3385
|
he(a.background, "default"), he(a.background, "paper"), he(a.common, "background"), he(a.common, "onBackground"), he(a, "divider"), Object.keys(a).forEach((A) => {
|
|
3397
|
-
const
|
|
3398
|
-
A !== "tonalOffset" &&
|
|
3386
|
+
const B = a[A];
|
|
3387
|
+
A !== "tonalOffset" && B && typeof B == "object" && (B.main && u(a[A], "mainChannel", Le(Ve(B.main))), B.light && u(a[A], "lightChannel", Le(Ve(B.light))), B.dark && u(a[A], "darkChannel", Le(Ve(B.dark))), B.contrastText && u(a[A], "contrastTextChannel", Le(Ve(B.contrastText))), A === "text" && (he(a[A], "primary"), he(a[A], "secondary")), A === "action" && (B.active && he(a[A], "active"), B.selected && he(a[A], "selected")));
|
|
3399
3388
|
});
|
|
3400
|
-
}),
|
|
3401
|
-
const
|
|
3389
|
+
}), w = t.reduce((J, a) => se(J, a), w);
|
|
3390
|
+
const Q = {
|
|
3402
3391
|
prefix: i,
|
|
3403
3392
|
disableCssColorScheme: o,
|
|
3404
3393
|
shouldSkipGeneratingVar: c,
|
|
3405
|
-
getSelector:
|
|
3394
|
+
getSelector: Ii(w),
|
|
3406
3395
|
enableContrastVars: s
|
|
3407
3396
|
}, {
|
|
3408
|
-
vars:
|
|
3409
|
-
generateThemeVars:
|
|
3410
|
-
generateStyleSheets:
|
|
3411
|
-
} = ri(
|
|
3412
|
-
return
|
|
3413
|
-
|
|
3414
|
-
}),
|
|
3397
|
+
vars: re,
|
|
3398
|
+
generateThemeVars: q,
|
|
3399
|
+
generateStyleSheets: oe
|
|
3400
|
+
} = ri(w, Q);
|
|
3401
|
+
return w.vars = re, Object.entries(w.colorSchemes[w.defaultColorScheme]).forEach(([J, a]) => {
|
|
3402
|
+
w[J] = a;
|
|
3403
|
+
}), w.generateThemeVars = q, w.generateStyleSheets = oe, w.generateSpacing = function() {
|
|
3415
3404
|
return Lr(m.spacing, Rt(this));
|
|
3416
|
-
},
|
|
3417
|
-
...
|
|
3418
|
-
...m
|
|
3419
|
-
},
|
|
3420
|
-
return
|
|
3405
|
+
}, w.getColorSchemeSelector = ni(f), w.spacing = w.generateSpacing(), w.shouldSkipGeneratingVar = c, w.unstable_sxConfig = {
|
|
3406
|
+
...ft,
|
|
3407
|
+
...m?.unstable_sxConfig
|
|
3408
|
+
}, w.unstable_sx = function(a) {
|
|
3409
|
+
return De({
|
|
3421
3410
|
sx: a,
|
|
3422
3411
|
theme: this
|
|
3423
3412
|
});
|
|
3424
|
-
},
|
|
3413
|
+
}, w.toRuntimeSource = Kr, w;
|
|
3425
3414
|
}
|
|
3426
3415
|
function br(e, t, r) {
|
|
3427
3416
|
e.colorSchemes && r && (e.colorSchemes[t] = {
|
|
@@ -3440,13 +3429,13 @@ function Li(e = {}, ...t) {
|
|
|
3440
3429
|
colorSchemes: o = r ? void 0 : {
|
|
3441
3430
|
light: !0
|
|
3442
3431
|
},
|
|
3443
|
-
defaultColorScheme: i = r
|
|
3432
|
+
defaultColorScheme: i = r?.mode,
|
|
3444
3433
|
...s
|
|
3445
|
-
} = e, c = i || "light",
|
|
3434
|
+
} = e, c = i || "light", f = o?.[c], d = {
|
|
3446
3435
|
...o,
|
|
3447
3436
|
...r ? {
|
|
3448
3437
|
[c]: {
|
|
3449
|
-
...typeof
|
|
3438
|
+
...typeof f != "boolean" && f,
|
|
3450
3439
|
palette: r
|
|
3451
3440
|
}
|
|
3452
3441
|
} : void 0
|
|
@@ -3479,7 +3468,7 @@ function Li(e = {}, ...t) {
|
|
|
3479
3468
|
}
|
|
3480
3469
|
const Xr = Li(), Jr = "$$material";
|
|
3481
3470
|
function Vi() {
|
|
3482
|
-
const e =
|
|
3471
|
+
const e = Io(Xr);
|
|
3483
3472
|
return process.env.NODE_ENV !== "production" && pe.useDebugValue(e), e[Jr] || e;
|
|
3484
3473
|
}
|
|
3485
3474
|
function Fi(e) {
|
|
@@ -3518,97 +3507,91 @@ const Hi = (e) => {
|
|
|
3518
3507
|
}
|
|
3519
3508
|
})(Ui(({
|
|
3520
3509
|
theme: e
|
|
3521
|
-
}) => {
|
|
3522
|
-
|
|
3523
|
-
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
{
|
|
3534
|
-
|
|
3535
|
-
|
|
3536
|
-
|
|
3537
|
-
|
|
3538
|
-
|
|
3539
|
-
|
|
3510
|
+
}) => ({
|
|
3511
|
+
userSelect: "none",
|
|
3512
|
+
width: "1em",
|
|
3513
|
+
height: "1em",
|
|
3514
|
+
display: "inline-block",
|
|
3515
|
+
flexShrink: 0,
|
|
3516
|
+
transition: e.transitions?.create?.("fill", {
|
|
3517
|
+
duration: (e.vars ?? e).transitions?.duration?.shorter
|
|
3518
|
+
}),
|
|
3519
|
+
variants: [
|
|
3520
|
+
{
|
|
3521
|
+
props: (t) => !t.hasSvgAsChild,
|
|
3522
|
+
style: {
|
|
3523
|
+
// the <svg> will define the property that has `currentColor`
|
|
3524
|
+
// for example heroicons uses fill="none" and stroke="currentColor"
|
|
3525
|
+
fill: "currentColor"
|
|
3526
|
+
}
|
|
3527
|
+
},
|
|
3528
|
+
{
|
|
3529
|
+
props: {
|
|
3530
|
+
fontSize: "inherit"
|
|
3540
3531
|
},
|
|
3541
|
-
{
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
3532
|
+
style: {
|
|
3533
|
+
fontSize: "inherit"
|
|
3534
|
+
}
|
|
3535
|
+
},
|
|
3536
|
+
{
|
|
3537
|
+
props: {
|
|
3538
|
+
fontSize: "small"
|
|
3548
3539
|
},
|
|
3549
|
-
{
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
-
|
|
3540
|
+
style: {
|
|
3541
|
+
fontSize: e.typography?.pxToRem?.(20) || "1.25rem"
|
|
3542
|
+
}
|
|
3543
|
+
},
|
|
3544
|
+
{
|
|
3545
|
+
props: {
|
|
3546
|
+
fontSize: "medium"
|
|
3556
3547
|
},
|
|
3557
|
-
{
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
|
|
3563
|
-
|
|
3548
|
+
style: {
|
|
3549
|
+
fontSize: e.typography?.pxToRem?.(24) || "1.5rem"
|
|
3550
|
+
}
|
|
3551
|
+
},
|
|
3552
|
+
{
|
|
3553
|
+
props: {
|
|
3554
|
+
fontSize: "large"
|
|
3564
3555
|
},
|
|
3565
|
-
{
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
|
|
3571
|
-
|
|
3556
|
+
style: {
|
|
3557
|
+
fontSize: e.typography?.pxToRem?.(35) || "2.1875rem"
|
|
3558
|
+
}
|
|
3559
|
+
},
|
|
3560
|
+
// TODO v5 deprecate color prop, v6 remove for sx
|
|
3561
|
+
...Object.entries((e.vars ?? e).palette).filter(([, t]) => t && t.main).map(([t]) => ({
|
|
3562
|
+
props: {
|
|
3563
|
+
color: t
|
|
3572
3564
|
},
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
|
|
3578
|
-
|
|
3579
|
-
|
|
3580
|
-
style: {
|
|
3581
|
-
color: (_ = (C = (e.vars ?? e).palette) == null ? void 0 : C[l]) == null ? void 0 : _.main
|
|
3582
|
-
}
|
|
3583
|
-
};
|
|
3584
|
-
}),
|
|
3585
|
-
{
|
|
3586
|
-
props: {
|
|
3587
|
-
color: "action"
|
|
3588
|
-
},
|
|
3589
|
-
style: {
|
|
3590
|
-
color: (h = (p = (e.vars ?? e).palette) == null ? void 0 : p.action) == null ? void 0 : h.active
|
|
3591
|
-
}
|
|
3565
|
+
style: {
|
|
3566
|
+
color: (e.vars ?? e).palette?.[t]?.main
|
|
3567
|
+
}
|
|
3568
|
+
})),
|
|
3569
|
+
{
|
|
3570
|
+
props: {
|
|
3571
|
+
color: "action"
|
|
3592
3572
|
},
|
|
3593
|
-
{
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
|
|
3573
|
+
style: {
|
|
3574
|
+
color: (e.vars ?? e).palette?.action?.active
|
|
3575
|
+
}
|
|
3576
|
+
},
|
|
3577
|
+
{
|
|
3578
|
+
props: {
|
|
3579
|
+
color: "disabled"
|
|
3600
3580
|
},
|
|
3601
|
-
{
|
|
3602
|
-
|
|
3603
|
-
color: "inherit"
|
|
3604
|
-
},
|
|
3605
|
-
style: {
|
|
3606
|
-
color: void 0
|
|
3607
|
-
}
|
|
3581
|
+
style: {
|
|
3582
|
+
color: (e.vars ?? e).palette?.action?.disabled
|
|
3608
3583
|
}
|
|
3609
|
-
|
|
3610
|
-
|
|
3611
|
-
|
|
3584
|
+
},
|
|
3585
|
+
{
|
|
3586
|
+
props: {
|
|
3587
|
+
color: "inherit"
|
|
3588
|
+
},
|
|
3589
|
+
style: {
|
|
3590
|
+
color: void 0
|
|
3591
|
+
}
|
|
3592
|
+
}
|
|
3593
|
+
]
|
|
3594
|
+
}))), tt = /* @__PURE__ */ pe.forwardRef(function(t, r) {
|
|
3612
3595
|
const n = Yi({
|
|
3613
3596
|
props: t,
|
|
3614
3597
|
name: "MuiSvgIcon"
|
|
@@ -3617,21 +3600,21 @@ const Hi = (e) => {
|
|
|
3617
3600
|
className: i,
|
|
3618
3601
|
color: s = "inherit",
|
|
3619
3602
|
component: c = "svg",
|
|
3620
|
-
fontSize:
|
|
3603
|
+
fontSize: f = "medium",
|
|
3621
3604
|
htmlColor: d,
|
|
3622
3605
|
inheritViewBox: m = !1,
|
|
3623
3606
|
titleAccess: p,
|
|
3624
3607
|
viewBox: h = "0 0 24 24",
|
|
3625
|
-
...
|
|
3626
|
-
} = n,
|
|
3608
|
+
...v
|
|
3609
|
+
} = n, y = /* @__PURE__ */ pe.isValidElement(o) && o.type === "svg", l = {
|
|
3627
3610
|
...n,
|
|
3628
3611
|
color: s,
|
|
3629
3612
|
component: c,
|
|
3630
|
-
fontSize:
|
|
3613
|
+
fontSize: f,
|
|
3631
3614
|
instanceFontSize: t.fontSize,
|
|
3632
3615
|
inheritViewBox: m,
|
|
3633
3616
|
viewBox: h,
|
|
3634
|
-
hasSvgAsChild:
|
|
3617
|
+
hasSvgAsChild: y
|
|
3635
3618
|
}, C = {};
|
|
3636
3619
|
m || (C.viewBox = h);
|
|
3637
3620
|
const _ = Hi(l);
|
|
@@ -3644,15 +3627,15 @@ const Hi = (e) => {
|
|
|
3644
3627
|
role: p ? "img" : void 0,
|
|
3645
3628
|
ref: r,
|
|
3646
3629
|
...C,
|
|
3647
|
-
...
|
|
3648
|
-
...
|
|
3630
|
+
...v,
|
|
3631
|
+
...y && o.props,
|
|
3649
3632
|
ownerState: l,
|
|
3650
|
-
children: [
|
|
3633
|
+
children: [y ? o.props.children : o, p ? /* @__PURE__ */ E("title", {
|
|
3651
3634
|
children: p
|
|
3652
3635
|
}) : null]
|
|
3653
3636
|
});
|
|
3654
3637
|
});
|
|
3655
|
-
process.env.NODE_ENV !== "production" && (
|
|
3638
|
+
process.env.NODE_ENV !== "production" && (tt.propTypes = {
|
|
3656
3639
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
3657
3640
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
3658
3641
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -3724,17 +3707,17 @@ process.env.NODE_ENV !== "production" && (rt.propTypes = {
|
|
|
3724
3707
|
*/
|
|
3725
3708
|
viewBox: j.string
|
|
3726
3709
|
});
|
|
3727
|
-
|
|
3710
|
+
tt.muiName = "SvgIcon";
|
|
3728
3711
|
function ce(e, t) {
|
|
3729
3712
|
function r(n, o) {
|
|
3730
|
-
return /* @__PURE__ */ E(
|
|
3713
|
+
return /* @__PURE__ */ E(tt, {
|
|
3731
3714
|
"data-testid": process.env.NODE_ENV !== "production" ? `${t}Icon` : void 0,
|
|
3732
3715
|
ref: o,
|
|
3733
3716
|
...n,
|
|
3734
3717
|
children: e
|
|
3735
3718
|
});
|
|
3736
3719
|
}
|
|
3737
|
-
return process.env.NODE_ENV !== "production" && (r.displayName = `${t}Icon`), r.muiName =
|
|
3720
|
+
return process.env.NODE_ENV !== "production" && (r.displayName = `${t}Icon`), r.muiName = tt.muiName, /* @__PURE__ */ pe.memo(/* @__PURE__ */ pe.forwardRef(r));
|
|
3738
3721
|
}
|
|
3739
3722
|
const Ki = ce(/* @__PURE__ */ E("path", {
|
|
3740
3723
|
d: "M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8"
|
|
@@ -3752,6 +3735,7 @@ function ua(e) {
|
|
|
3752
3735
|
color: e.color ?? "secondary",
|
|
3753
3736
|
type: e.type ?? "button",
|
|
3754
3737
|
onClick: () => e.onClick(),
|
|
3738
|
+
"aria-label": e.ariaLabel ?? e.name ?? "Cancel",
|
|
3755
3739
|
children: e.children ?? e.name
|
|
3756
3740
|
}
|
|
3757
3741
|
);
|
|
@@ -3772,6 +3756,7 @@ function fa(e) {
|
|
|
3772
3756
|
color: e.color ?? "error",
|
|
3773
3757
|
sx: { m: 1 },
|
|
3774
3758
|
type: e.type ?? "button",
|
|
3759
|
+
"aria-label": e.ariaLabel ?? e.name ?? "Delete",
|
|
3775
3760
|
onClick: e.onClick,
|
|
3776
3761
|
children: e.label ? e.label : "Delete"
|
|
3777
3762
|
}
|
|
@@ -3781,7 +3766,7 @@ const Qi = ce(/* @__PURE__ */ E("path", {
|
|
|
3781
3766
|
d: "M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"
|
|
3782
3767
|
}), "Edit");
|
|
3783
3768
|
function da(e) {
|
|
3784
|
-
return /* @__PURE__ */ E(xr, { title: e.tooltipTitle, children: /* @__PURE__ */ E(
|
|
3769
|
+
return /* @__PURE__ */ E(xr, { title: e.tooltipTitle, "aria-label": e.ariaLabel ?? "Edit", children: /* @__PURE__ */ E(
|
|
3785
3770
|
ye,
|
|
3786
3771
|
{
|
|
3787
3772
|
sx: { pt: 0, pb: 0 },
|
|
@@ -3805,6 +3790,7 @@ function ma(e) {
|
|
|
3805
3790
|
variant: "contained",
|
|
3806
3791
|
color: "success",
|
|
3807
3792
|
type: e.type ?? "button",
|
|
3793
|
+
"aria-label": e.ariaLabel ?? e.name ?? "Excel",
|
|
3808
3794
|
onClick: () => e.onClick(),
|
|
3809
3795
|
children: e.children ?? e.name
|
|
3810
3796
|
}
|
|
@@ -3814,7 +3800,7 @@ const Xi = ce(/* @__PURE__ */ E("path", {
|
|
|
3814
3800
|
d: "M11.67 3.87 9.9 2.1 0 12l9.9 9.9 1.77-1.77L3.54 12z"
|
|
3815
3801
|
}), "ArrowBackIos");
|
|
3816
3802
|
function pa(e) {
|
|
3817
|
-
return /* @__PURE__ */ E(xr, { title: "Go Back to Previous Page", children: /* @__PURE__ */ Ce(ye, { name: e.name, color: e.color ?? "primary", onClick: () => e.navigate(-1), children: [
|
|
3803
|
+
return /* @__PURE__ */ E(xr, { title: "Go Back to Previous Page", "aria-label": e.ariaLabel ?? "Go Back", children: /* @__PURE__ */ Ce(ye, { name: e.name, color: e.color ?? "primary", onClick: () => e.navigate(-1), children: [
|
|
3818
3804
|
/* @__PURE__ */ E(Xi, {}),
|
|
3819
3805
|
e.children
|
|
3820
3806
|
] }) });
|
|
@@ -3834,6 +3820,7 @@ function ha(e) {
|
|
|
3834
3820
|
variant: e.variant ?? "contained",
|
|
3835
3821
|
color: e.color ?? "primary",
|
|
3836
3822
|
type: e.type ?? "button",
|
|
3823
|
+
"aria-label": e.ariaLabel ?? e.name ?? "History",
|
|
3837
3824
|
onClick: () => e.onClick(),
|
|
3838
3825
|
children: e.children ?? e.name
|
|
3839
3826
|
}
|
|
@@ -3860,6 +3847,7 @@ function ga(e) {
|
|
|
3860
3847
|
type: e.type ?? "button",
|
|
3861
3848
|
style: ea,
|
|
3862
3849
|
sx: e.sx,
|
|
3850
|
+
"aria-label": e.ariaLabel ?? e.name ?? "Save",
|
|
3863
3851
|
onClick: e.onClick,
|
|
3864
3852
|
children: e.children ?? e.name
|
|
3865
3853
|
}
|
|
@@ -3879,6 +3867,7 @@ function ya(e) {
|
|
|
3879
3867
|
variant: e.variant ?? "contained",
|
|
3880
3868
|
color: e.color ?? "primary",
|
|
3881
3869
|
size: e.size ?? "large",
|
|
3870
|
+
"aria-label": e.ariaLabel ?? e.name ?? "Manage",
|
|
3882
3871
|
startIcon: e.startIcon ?? /* @__PURE__ */ E(ta, {}),
|
|
3883
3872
|
children: e.children ? e.children : "Manage"
|
|
3884
3873
|
}
|
|
@@ -3896,6 +3885,7 @@ function ba(e) {
|
|
|
3896
3885
|
variant: e.variant ?? "contained",
|
|
3897
3886
|
color: e.color ?? "success",
|
|
3898
3887
|
type: e.type ?? "button",
|
|
3888
|
+
"aria-label": e.ariaLabel ?? e.name ?? "Save",
|
|
3899
3889
|
onClick: () => e.onClick(),
|
|
3900
3890
|
children: e.children ?? e.name
|
|
3901
3891
|
}
|
|
@@ -3904,66 +3894,66 @@ function ba(e) {
|
|
|
3904
3894
|
const Bt = ce(/* @__PURE__ */ E("path", {
|
|
3905
3895
|
d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
|
|
3906
3896
|
}), "Close"), va = (e) => {
|
|
3907
|
-
const [t, r] =
|
|
3897
|
+
const [t, r] = Me(!1);
|
|
3908
3898
|
_r(() => {
|
|
3909
3899
|
r(e.open);
|
|
3910
3900
|
}, [e.open, e.progressState]);
|
|
3911
3901
|
const n = /* @__PURE__ */ E(ye, { size: "small", "aria-label": "close", color: "inherit", onClick: () => r(!1), children: /* @__PURE__ */ E(Bt, { fontSize: "small" }) });
|
|
3912
3902
|
return /* @__PURE__ */ Ce(Tr, { children: [
|
|
3913
3903
|
/* @__PURE__ */ E(
|
|
3914
|
-
|
|
3904
|
+
Xe,
|
|
3915
3905
|
{
|
|
3916
3906
|
anchorOrigin: { vertical: "bottom", horizontal: "center" },
|
|
3917
3907
|
open: t && e.progressState.isSuccess,
|
|
3918
3908
|
autoHideDuration: e.autoHideDuration ?? 3e3,
|
|
3919
3909
|
onClose: () => r(!1),
|
|
3920
|
-
children: /* @__PURE__ */ E(
|
|
3910
|
+
children: /* @__PURE__ */ E(je, { variant: "filled", severity: "success", sx: { width: "100%" }, action: n, children: e.progressState.message })
|
|
3921
3911
|
}
|
|
3922
3912
|
),
|
|
3923
3913
|
/* @__PURE__ */ E(
|
|
3924
|
-
|
|
3914
|
+
Xe,
|
|
3925
3915
|
{
|
|
3926
3916
|
anchorOrigin: { vertical: "bottom", horizontal: "center" },
|
|
3927
3917
|
open: t && e.progressState.isError,
|
|
3928
3918
|
TransitionComponent: Or,
|
|
3929
3919
|
autoHideDuration: e.autoHideDuration ?? 3e3,
|
|
3930
3920
|
onClose: () => r(!1),
|
|
3931
|
-
children: /* @__PURE__ */ E(
|
|
3921
|
+
children: /* @__PURE__ */ E(je, { variant: "filled", sx: { width: "100%" }, severity: "error", action: n, children: e.progressState.message })
|
|
3932
3922
|
}
|
|
3933
3923
|
)
|
|
3934
3924
|
] });
|
|
3935
3925
|
}, Sa = (e) => {
|
|
3936
|
-
const [t, r] =
|
|
3926
|
+
const [t, r] = Me(!1);
|
|
3937
3927
|
_r(() => {
|
|
3938
3928
|
r(e.open);
|
|
3939
3929
|
}, [e.open, e]);
|
|
3940
3930
|
const n = /* @__PURE__ */ E(ye, { size: "small", "aria-label": "close", color: "inherit", onClick: () => r(!1), children: /* @__PURE__ */ E(Bt, { fontSize: "small" }) });
|
|
3941
3931
|
return /* @__PURE__ */ Ce(Tr, { children: [
|
|
3942
3932
|
/* @__PURE__ */ E(
|
|
3943
|
-
|
|
3933
|
+
Xe,
|
|
3944
3934
|
{
|
|
3945
3935
|
anchorOrigin: { vertical: "bottom", horizontal: "center" },
|
|
3946
3936
|
open: t && e.isSuccess,
|
|
3947
3937
|
autoHideDuration: e.autoHideDuration ?? 3e3,
|
|
3948
3938
|
onClose: () => r(!1),
|
|
3949
|
-
children: /* @__PURE__ */ E(
|
|
3939
|
+
children: /* @__PURE__ */ E(je, { variant: "filled", severity: "success", sx: { width: "100%" }, action: n, children: e.message })
|
|
3950
3940
|
}
|
|
3951
3941
|
),
|
|
3952
3942
|
/* @__PURE__ */ E(
|
|
3953
|
-
|
|
3943
|
+
Xe,
|
|
3954
3944
|
{
|
|
3955
3945
|
anchorOrigin: { vertical: "bottom", horizontal: "center" },
|
|
3956
3946
|
open: t && e.isError,
|
|
3957
3947
|
TransitionComponent: Or,
|
|
3958
3948
|
autoHideDuration: e.autoHideDuration ?? 3e3,
|
|
3959
3949
|
onClose: () => r(!1),
|
|
3960
|
-
children: /* @__PURE__ */ E(
|
|
3950
|
+
children: /* @__PURE__ */ E(je, { variant: "filled", sx: { width: "100%" }, severity: "error", action: n, children: e.message })
|
|
3961
3951
|
}
|
|
3962
3952
|
)
|
|
3963
3953
|
] });
|
|
3964
3954
|
};
|
|
3965
3955
|
function Ca() {
|
|
3966
|
-
return /* @__PURE__ */ E("div", { style: { margin: "1.5rem" }, className: "app-flex-justify-center", children: /* @__PURE__ */ E(Zr, {}) });
|
|
3956
|
+
return /* @__PURE__ */ E("div", { style: { margin: "1.5rem" }, className: "app-flex-justify-center", "aria-label": "Loading...", children: /* @__PURE__ */ E(Zr, {}) });
|
|
3967
3957
|
}
|
|
3968
3958
|
function Ea(e) {
|
|
3969
3959
|
const { onClose: t, title: r, message: n, open: o, ...i } = e;
|
|
@@ -3971,17 +3961,17 @@ function Ea(e) {
|
|
|
3971
3961
|
/* @__PURE__ */ E(tn, { children: r ?? "Confirm" }),
|
|
3972
3962
|
/* @__PURE__ */ E(rn, { dividers: !0, children: n }),
|
|
3973
3963
|
/* @__PURE__ */ Ce(nn, { children: [
|
|
3974
|
-
/* @__PURE__ */ E(be, { autoFocus: !0, onClick: () => t("No"), children: "Cancel" }),
|
|
3975
|
-
/* @__PURE__ */ E(be, { onClick: () => t("Yes"), children: "Yes" })
|
|
3964
|
+
/* @__PURE__ */ E(be, { autoFocus: !0, onClick: () => t("No"), "aria-label": "Cancel", children: "Cancel" }),
|
|
3965
|
+
/* @__PURE__ */ E(be, { onClick: () => t("Yes"), "aria-label": "Yes", children: "Yes" })
|
|
3976
3966
|
] })
|
|
3977
3967
|
] });
|
|
3978
3968
|
}
|
|
3979
3969
|
function Ta(e) {
|
|
3980
|
-
const [t, r] =
|
|
3970
|
+
const [t, r] = Me(!0), [n] = Me(e.dismissible ?? !0), [o] = Me(e.dismissOnTimeOut ?? !0), [i] = Me(e.dismissTimeOut ?? 5e3);
|
|
3981
3971
|
return setTimeout(() => {
|
|
3982
3972
|
r(o ? !1 : t);
|
|
3983
3973
|
}, i), /* @__PURE__ */ E("span", { children: t && /* @__PURE__ */ E(
|
|
3984
|
-
|
|
3974
|
+
je,
|
|
3985
3975
|
{
|
|
3986
3976
|
action: n ? /* @__PURE__ */ E(
|
|
3987
3977
|
ye,
|
|
@@ -3996,13 +3986,14 @@ function Ta(e) {
|
|
|
3996
3986
|
}
|
|
3997
3987
|
) : null,
|
|
3998
3988
|
style: { margin: "20px" },
|
|
3989
|
+
"aria-label": e.ariaLabel ?? "Dismissible Alert",
|
|
3999
3990
|
...e,
|
|
4000
3991
|
children: e.message
|
|
4001
3992
|
}
|
|
4002
3993
|
) });
|
|
4003
3994
|
}
|
|
4004
3995
|
function xa(e) {
|
|
4005
|
-
return /* @__PURE__ */ E(wr, { component: Ar, to: e.href, className: "next-btn-link", underline: "hover", children: e.linkText ?? e.children });
|
|
3996
|
+
return /* @__PURE__ */ E(wr, { component: Ar, to: e.href, className: "next-btn-link", underline: "hover", "aria-label": e.ariaLabel, children: e.linkText ?? e.children });
|
|
4006
3997
|
}
|
|
4007
3998
|
const ra = ce(/* @__PURE__ */ E("path", {
|
|
4008
3999
|
d: "M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3z"
|
|
@@ -4016,6 +4007,7 @@ function Oa(e) {
|
|
|
4016
4007
|
target: e.target || "_blank",
|
|
4017
4008
|
rel: "noreferrer",
|
|
4018
4009
|
className: "next-btn-link",
|
|
4010
|
+
"aria-label": e.ariaLabel ?? "Open in new tab",
|
|
4019
4011
|
underline: "hover",
|
|
4020
4012
|
children: [
|
|
4021
4013
|
e.linkText ?? e.children,
|
|
@@ -4053,7 +4045,7 @@ function $a(e) {
|
|
|
4053
4045
|
i(m, 0);
|
|
4054
4046
|
}, c = (m) => {
|
|
4055
4047
|
i(m, n - 1);
|
|
4056
|
-
},
|
|
4048
|
+
}, f = (m) => {
|
|
4057
4049
|
i(m, n + 1);
|
|
4058
4050
|
}, d = (m) => {
|
|
4059
4051
|
i(m, Math.max(0, Math.ceil(r / o) - 1));
|
|
@@ -4061,7 +4053,7 @@ function $a(e) {
|
|
|
4061
4053
|
return /* @__PURE__ */ Ce($r, { sx: { flexShrink: 0, ml: 2.5 }, children: [
|
|
4062
4054
|
/* @__PURE__ */ E(ye, { onClick: s, disabled: n === 0, "aria-label": "first page", children: t.direction === "rtl" ? /* @__PURE__ */ E(Er, {}) : /* @__PURE__ */ E(vr, {}) }),
|
|
4063
4055
|
/* @__PURE__ */ E(ye, { onClick: c, disabled: n === 0, "aria-label": "previous page", children: t.direction === "rtl" ? /* @__PURE__ */ E(Cr, {}) : /* @__PURE__ */ E(Sr, {}) }),
|
|
4064
|
-
/* @__PURE__ */ E(ye, { onClick:
|
|
4056
|
+
/* @__PURE__ */ E(ye, { onClick: f, disabled: n >= Math.ceil(r / o) - 1, "aria-label": "next page", children: t.direction === "rtl" ? /* @__PURE__ */ E(Sr, {}) : /* @__PURE__ */ E(Cr, {}) }),
|
|
4065
4057
|
/* @__PURE__ */ E(ye, { onClick: d, disabled: n >= Math.ceil(r / o) - 1, "aria-label": "last page", children: t.direction === "rtl" ? /* @__PURE__ */ E(vr, {}) : /* @__PURE__ */ E(Er, {}) })
|
|
4066
4058
|
] });
|
|
4067
4059
|
}
|
|
@@ -4082,10 +4074,10 @@ function Ra(e) {
|
|
|
4082
4074
|
return getComputedStyle(document.documentElement).getPropertyValue(e).trim();
|
|
4083
4075
|
}
|
|
4084
4076
|
var Lt = /* @__PURE__ */ ((e) => (e.SYSTEM_TIME_ZONE = "America/New_York", e.SYSTEM_LOCALE = "en-US", e.SYSTEM_DATE_FORMAT = "MM/dd/yyyy", e.SYSTEM_DATE_TIME_FORMAT = "MM/dd/yyyy hh:mm:ss a", e.ISO_DATE_FORMAT = "yyyy-MM-dd", e[e.SYSTEM_COOKIE_TIMEOUT_HOURS = 24] = "SYSTEM_COOKIE_TIMEOUT_HOURS", e[e.SYSTEM_COOKIE_TIMEOUT_MILLI_SECONDS = 36e5] = "SYSTEM_COOKIE_TIMEOUT_MILLI_SECONDS", e))(Lt || {});
|
|
4085
|
-
const
|
|
4077
|
+
const Pa = () => {
|
|
4086
4078
|
const e = +/* @__PURE__ */ new Date();
|
|
4087
4079
|
return new Date(e + Lt.SYSTEM_COOKIE_TIMEOUT_MILLI_SECONDS);
|
|
4088
|
-
},
|
|
4080
|
+
}, Ia = (e) => kr(new Date(e), Lt.ISO_DATE_FORMAT), Ma = (e, t) => e ? kr(ln(e), t) : "";
|
|
4089
4081
|
function Na(e) {
|
|
4090
4082
|
if (typeof e == "string")
|
|
4091
4083
|
return Number.parseInt(e, 10);
|
|
@@ -4148,7 +4140,7 @@ export {
|
|
|
4148
4140
|
_a as TabPanel,
|
|
4149
4141
|
$a as TablePaginationActions,
|
|
4150
4142
|
Aa as a11yProps,
|
|
4151
|
-
|
|
4143
|
+
Ia as convertToIsoDate,
|
|
4152
4144
|
Ma as formatDate,
|
|
4153
4145
|
Ra as getCssVariable,
|
|
4154
4146
|
Da as initializeState,
|
|
@@ -4159,5 +4151,5 @@ export {
|
|
|
4159
4151
|
La as markSuccess,
|
|
4160
4152
|
ka as parseBoolean,
|
|
4161
4153
|
Na as parseNumber,
|
|
4162
|
-
|
|
4154
|
+
Pa as setCookieExpirationDate
|
|
4163
4155
|
};
|